1 2015-08-24 Michael Meissner <meissner@linux.vnet.ibm.com>
4 * config/rs6000/rs6000-cpus.def (ISA_2_7_MASKS_SERVER): Set
5 -mefficient-unaligned-vsx on ISA 2.7.
7 * config/rs6000/rs6000.opt (-mefficient-unaligned-vsx): Convert
8 option to a masked option.
10 * config/rs6000/rs6000.c (rs6000_option_override_internal): Rework
11 logic for -mefficient-unaligned-vsx so that it is set via an arch
12 ISA option, instead of being set if -mtune=power8 is set. Move
13 -mefficient-unaligned-vsx and -mallow-movmisalign handling to be
14 near other default option handling.
16 2015-08-24 Richard Sandiford <richard.sandiford@arm.com>
18 * genflags.c (gen_macro): Delete.
19 (gen_proto): Don't create GEN.*CALL.* macros.
20 * gensupport.h (get_file_location): Declare.
21 * gensupport.c (rtx_locs): New variable.
22 (read_md_rtx): Record rtx locations.
23 (get_file_location): New function.
24 * target-insns.def (call, call_pop, call_value, call_value_pop)
25 (sibcall, sibcall_value): New patterns.
26 * gentarget-def.c (parse_argument): New function.
27 (def_target_insn): Use it. Handle optional operands. Raise an
28 error if an .md pattern has the wrong number of operands for the
29 pattern name. Remove the names of unused operands from the prototype.
30 * builtins.c (expand_builtin_apply): Use targetm functions
31 instead of HAVE_call_value and GEN_CALL_VALUE.
32 * calls.c (emit_call_1): Likewise. Remove support for sibcall_pop
33 and sibcall_value_pop.
34 * config/aarch64/aarch64.md (untyped_call): Use gen_call instead
36 * config/alpha/alpha.md (untyped_call): Likewise.
37 * config/iq2000/iq2000.md (untyped_call): Likewise.
38 * config/m68k/m68k.md (untyped_call): Likewise.
39 * config/mips/mips.md (untyped_call): Likewise.
40 * config/pa/pa.md (untyped_call): Likewise.
41 * config/rs6000/rs6000.md (untyped_call): Likewise.
42 * config/sparc/sparc.md (untyped_call): Likewise.
43 * config/tilegx/tilegx.md (untyped_call): Likewise.
44 * config/tilepro/tilepro.md (untyped_call): Likewise.
45 * config/visium/visium.md (untyped_call): Likewise.
46 * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Use
47 gen_call_value instead of GEN_CALL_VALUE.
48 * config/arm/arm.md (untyped_call): Likewise.
49 * config/cr16/cr16.c (cr16_function_arg): Remove reference to
52 2015-08-24 Richard Sandiford <richard.sandiford@arm.com>
54 * ifcvt.c (HAVE_incscc, HAVE_decscc, HAVE_cbranchcc4): Delete.
55 (have_cbranchcc4): New variable.
56 (cc_in_cond, noce_emit_cmove, noce_get_alt_condition)
57 (noce_get_condition): Use it instead of HAVE_cbranchcc4.
58 (if_convert): Initialize have_cbranchcc4.
60 2015-08-24 Richard Sandiford <richard.sandiford@arm.com>
62 * builtins.c (expand_cmpstrn): Rename to...
63 (expand_cmpstrn_or_cmpmem): ...this.
64 (expand_builtin_strcmp, expand_builtin_strncmp): Update accordingly.
65 (expand_builtin_memcmp): Use optabs instead of HAVE_cmpmem/gen_cmpmem.
67 (expand_builtin): Update accordingly.
69 2015-08-24 Richard Sandiford <richard.sandiford@arm.com>
71 * builtins.c (expand_cmpstr, expand_cmpstrn): New functions.
72 (expand_builtin_strcmp, expand_builtin_strncmp): Use them. Remove
73 references to HAVE_cmpstr{,n}si and CODE_FOR_cmpstr{,n}si.
74 * config/m32c/blkmov.md (cmpstrsi): Fix predicates of operands 1 and 2.
75 Add predicates for operands 0 and 3.
76 * config/rx/rx.md (cmpstrnsi): Remove force_operand for the length
78 * config/sh/sh.md (cmpstrnsi): Change the length predicate from
79 immediate_operand to nonmemory_operand.
81 2015-08-24 Richard Sandiford <richard.sandiford@arm.com>
83 * df-scan.c (df_insn_info_init_fields): New function, split out
85 (df_insn_create_insn_record): ...here.
86 (df_insn_info_free_fields): New function, split out from...
87 (df_insn_info_delete): ...here.
88 (df_insn_rescan): Use the new functions instead of freeing and
89 reallocating the df_insn_info.
91 2015-08-24 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
93 * doc/install.texi (Binaries): Remove links no longer valid.
95 2015-08-24 Nathan Sidwell <nathan@codesourcery.com>
97 * config/nvptx/mkoffload.c (process): Replace
98 GOMP_offload_{,un}register with GOMP_offload_{,un}register_ver.
100 2015-08-24 H.J. Lu <hongjiu.lu@intel.com>
103 * config/i386/i386.c (iamcu_cost): Set MOVE_RATIO cost to 9.
105 2015-08-24 Renlin Li <renlin.li@arm.com>
107 * config/arm/arm-protos.h (arm_valid_symbolic_address_p): Declare.
108 * config/arm/arm.c (arm_valid_symbolic_address_p): Define.
109 * config/arm/arm.md (arm_movt): Use arm_valid_symbolic_address_p.
110 * config/arm/constraints.md ("j"): Add check for high code.
112 2015-08-24 Tom de Vries <tom@codesourcery.com>
114 PR tree-optimization/65468
115 * omp-low.c (expand_omp_for_static_chunk): Remove inner loop if
118 2015-08-24 Nathan Sidwell <nathan@acm.org>
120 * config/nvptx/nvptx.c (walk_args_for_param): Revert previous
121 change to nvptx_type_from_mode call. Use arg_promotion for both
122 split and non-split args.
124 2015-08-24 Richard Sandiford <richard.sandiford@arm.com>
126 * target-insns.def (movstr): New pattern.
127 * builtins.c (HAVE_movstr, CODE_FOR_movstr): Delete.
128 (expand_movstr): Use targetm rather than HAVE_movstr/
131 2015-08-24 Richard Sandiford <richard.sandiford@arm.com>
133 * config/microblaze/microblaze.c (microblaze_classify_unspec): Fix
136 2015-08-24 Andrew Pinski <apinski@cavium.com>
138 * config/aarch64/aarch64-tuning-flags.def: Remove all index to
139 AARCH64_EXTRA_TUNING_OPTION.
140 * config/aarch64/aarch64-protos.h (aarch64_extra_tuning_flags_index): New enum.
141 (aarch64_extra_tuning_flags): Base the shifted value on the index instead
142 of the argument to AARCH64_EXTRA_TUNING_OPTION.
143 * config/aarch64/aarch64.c: Remove the last argument to
144 AARCH64_EXTRA_TUNING_OPTION.
146 2015-08-23 Nathan Sidwell <nathan@acm.org>
148 * config/nvptx/nvptx.c (walk_args_for_param): Promote arg reg
150 (nvptx_declare_function_name): Insert formatting tabs for
153 2015-08-23 Tom de Vries <tom@codesourcery.com>
155 * omp-low.c (expand_omp_taskreg): If in ssa, set rhs of parcopy stmt to
156 parm_decl, rather than generating a dummy default def in cfun.
157 * tree-cfg.c (replace_ssa_name): Assume no default defs. Make sure
158 ssa_name from cfun and child_fn do not share a stmt as def stmt.
159 (move_stmt_op): Handle PARM_DECl.
160 (gather_ssa_name_hash_map_from): New function.
161 (move_sese_region_to_fn): Add default defs for function params, and add
162 them to vars_map. Release copied ssa names.
163 * tree-cfg.h (gather_ssa_name_hash_map_from): Declare.
165 2015-08-23 Tom de Vries <tom@codesourcery.com>
167 * doc/sourcebuild.texi: Rename vect_no_int_max with
168 vect_no_int_min_max. Update description.
170 2015-08-22 Andrew Pinski <apinski@cavium.com>
172 * aarch64-fusion-pairs.def: Remove all index to AARCH64_FUSION_PAIR.
173 * config/aarch64/aarch64-protos.h
174 (aarch64_fusion_pairs_index): New enum.
175 (aarch64_fusion_pairs): Base the shifted value on the index instead
176 Rewrite AARCH64_FUSE_ALL to be based on the end index.
177 of the argument to AARCH64_FUSION_PAIR.
178 * config/aarch64/aarch64.c: Remove the last argument to
181 2015-08-22 Mikhail Maltsev <maltsevm@gmail.com>
183 * dominance.c (new_zero_array): Define.
184 (dom_info): Redefine as class with proper encapsulation.
185 (dom_info::m_n_basic_blocks, m_reverse, m_start_block, m_end_block):
187 (dom_info::dom_info, ~dom_info): Define. Use new/delete for memory
188 allocations/deallocations. Pass function as parameter (instead of
190 (dom_info::get_idom): Define accessor method.
191 (dom_info::calc_dfs_tree_nonrec, calc_dfs_tree, compress, eval,
192 link_roots, calc_idoms): Redefine as class members. Do not use cfun.
193 (calculate_dominance_info): Adjust to use dom_info class.
194 (verify_dominators): Likewise.
196 2015-08-21 Alexandre Oliva <aoliva@redhat.com>
198 * print-rtl.c (print_rtx): Check the correct range for
199 flag_dump_unnumbered_links to behave as documented.
201 PR rtl-optimization/67227
202 PR rtl-optimization/64164
203 * alias.c (memrefs_conflict_p): Handle VALUEs in PLUS better.
204 (nonoverlapping_memrefs_p): Test offsets and sizes when given
205 identical gimple_reg exprs.
207 2015-08-21 Nathan Sidwell <nathan@acm.org>
209 * config/nvptx/nvptx.md (allocate_stack): Emit sorry during
211 * config/nvptx/nvptx.c (nvptx_declare_function_name): Look at
212 crtl->stack_alignment_needed to determine alignment.
213 (nvptx_get_drap_rtx): New.
214 (TARGET_GET_DRAP_RTX): Override.
215 * config/nvptx/nvptx.h (MAX_STACK_ALIGNMENT): Set.
217 2015-08-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
219 * config.build: Remove case for m68000-hp-hpux* | m68k-hp-hpux*.
221 2015-08-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
223 * configure.ac: Remove uwin* cases.
224 * config.build: Remove cases for i370-*-opened*, i370-*-mvs*,
225 i[34567]86-*-sco3.2v5*, i[34567]86-sequent-ptx4*,
226 i[34567]86-sequent-sysv4*, i[34567]86-*-sysv4*,
227 i[34567]86-*-udk*, i[34567]86-*-uwin*, i386-*-vsta.
228 * config.host: Remove cases for i370-*-opened*, i370-*-mvs*,
229 i[34567]86-*-uwin*, powerpc-*-beos*.
231 2015-08-21 Richard Sandiford <richard.sandiford@arm.com>
233 * gencodes.c (gencodes): Print the comma for the preceding
234 enum value rather than the current one. Use aliased enum values
235 rather than #defines for compiled-out patterns.
236 (main): Update accordingly. Replace LAST_INSN_CODE with
238 * lra.c (insn_code_data): Update accordingly.
239 (finish_insn_code_data_once, get_static_insn_data): Likewise.
240 * recog.h (target_recog): Likewise.
241 (preprocess_insn_constraints): Change parameter to unsigned int.
242 * recog.c (preprocess_insn_constraints): Likewise.
243 (recog_init): Replace LAST_INSN_CODE with NUM_INSN_CODES.
244 * tree-vect-stmts.c (vectorizable_operation): Simplify.
246 2015-08-21 Markus Trippelsdorf <markus@trippelsdorf.de>
248 PR rtl-optimization/61657
249 * loop-iv.c (iv_number_of_iterations): Declare up and down as
250 unsigned. Remove superflous uint64_t cast.
252 2014-08-21 Felix Yang <felix.yang@huawei.com>
253 Jiji Jiang <jiangjiji@huawei.com>
255 * value-prof.c (interesting_stringop_to_profile_p): Removed FNDECL argument
256 and get builtin function code directly from CALL.
257 (gimple_stringop_fixed_value): Modified accordingly.
258 (gimple_stringops_transform, gimple_stringops_values_to_profile): Modified
259 accordingly and only accept BUILT_IN_NORMAL string operations.
261 2015-08-21 Dominik Vogt <vogt@linux.vnet.ibm.com>
263 * config/s390/s390-builtins.def: Fix value range of vec_load_bndry.
265 2015-08-21 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
267 * fold-const.c (fold_binary_loc) : Move sqrt(x)*sqrt(x) as x
269 Move Optimize pow(x,y)*pow(z,y) as pow(x*z,y)to match.pd.
270 Move Optimize tan(x)*cos(x) as sin(x) to match.pd.
271 Move Optimize x*pow(x,c) as pow(x,c+1) to match.pd.
272 Move Optimize pow(x,c)*x as pow(x,c+1) to match.pd.
273 Move Optimize sin(x)/cos(x) as tan(x) to match.pd.
274 Move Optimize cos(x)/sin(x) as 1.0/tan(x) to match.pd.
275 Move Optimize sin(x)/tan(x) as cos(x) to match.pd.
276 Move Optimize tan(x)/sin(x) as 1.0/cos(x) to match.pd.
277 Move Optimize pow(x,c)/x as pow(x,c-1) to match.pd.
278 Move Optimize x/pow(y,z) into x*pow(y,-z) to match.pd.
280 * match.pd (SIN ) : New Operator.
281 (TAN) : New Operator.
282 (mult (SQRT@1 @0) @1) : New simplifier.
283 (mult (POW:s @0 @1) (POW:s @2 @1)) : New simplifier.
284 (mult:c (TAN:s @0) (COS:s @0)) : New simplifier.
285 (mult:c (TAN:s @0) (COS:s @0)) : New simplifier.
286 (rdiv (SIN:s @0) (COS:s @0)) : New simplifier.
287 (rdiv (COS:s @0) (SIN:s @0)) : New simplifier.
288 (rdiv (SIN:s @0) (TAN:s @0)) : New simplifier.
289 (rdiv (TAN:s @0) (SIN:s @0)) : New simplifier.
290 (rdiv (POW:s @0 REAL_CST@1) @0) : New simplifier.
291 (rdiv @0 (SQRT:s (rdiv:s @1 @2))) : New simplifier.
292 (rdiv @0 (POW:s @1 @2)) : New simplifier.
294 2015-08-21 Bin Cheng <bin.cheng@arm.com>
296 * tree-ssa-loop-niter.c (simplify_using_initial_conditions): Break
297 loop if EXPR is simplified to const value.
299 2015-08-21 Yury Gribov <y.gribov@samsung.com>
301 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_NONNULL_ARG,
302 BUILT_IN_UBSAN_HANDLE_NONNULL_ARG): Fix builtin types.
304 2015-08-21 Richard Biener <rguenther@suse.de>
307 * gimple-fold.c (replace_stmt_with_simplification): Assert
308 seq is empty when replacing a call with itself but different
310 * gimple-match-head.c (maybe_push_res_to_seq): When pushing
311 a call require that it is const.
313 2015-08-20 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
315 * defaults.h (CONSTANT_ALIGNMENT): New macro definition.
316 * builtins.c (get_object_alignment_2): Adjust.
317 * varasm.c (align_variable): Likewise.
318 (get_variable_align): Likewise.
319 (build_constant_desc): Likewise.
320 (force_const_mem): Likewise.
321 * doc/tm.texi.in: Likewise.
322 * doc/tm.texi: Regenerate.
324 2015-08-20 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
326 * genconfig.c (main): Always define HAVE_cc0.
327 * recog.c (rest_of_handle_peephole2): Adjust.
329 2015-08-20 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
331 * reorg.c (relax_delay_slots): Don't use #if to check value of
334 2015-08-20 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
336 * genconfig.c (main): Always define HAVE_CONDITIONAL_EXECUTION.
337 * targhooks.c (default_have_conditional_execution): Adjust.
339 2015-08-20 Richard Sandiford <richard.sandiford@arm.com>
341 * rtl.h (rtvec_all_equal_p): Declare.
342 (const_vec_duplicate_p, unwrap_const_vec_duplicate): New functions.
343 * rtl.c (rtvec_all_equal_p): New function.
344 * expmed.c (expand_mult): Use unwrap_const_vec_duplicate.
345 * config/aarch64/aarch64.c (aarch64_vect_float_const_representable_p)
346 (aarch64_simd_dup_constant): Use const_vec_duplicate_p.
347 * config/arm/arm.c (neon_vdup_constant): Likewise.
348 * config/s390/s390.c (s390_contiguous_bitmask_vector_p): Likewise.
349 * config/tilegx/constraints.md (W, Y): Likewise.
350 * config/tilepro/constraints.md (W, Y): Likewise.
351 * config/spu/spu.c (spu_legitimate_constant_p): Likewise.
352 (classify_immediate): Use unwrap_const_vec_duplicate.
353 * config/tilepro/predicates.md (reg_or_v4s8bit_operand): Likewise.
354 (reg_or_v2s8bit_operand): Likewise.
355 * config/tilegx/predicates.md (reg_or_v8s8bit_operand): Likewise.
356 (reg_or_v4s8bit_operand): Likewise.
358 2015-08-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
360 * config/rs6000/altivec.h (vec_pmsum_be): New #define.
361 (vec_shasigma_be): New #define.
362 * config/rs6000/rs6000-builtin.def (VPMSUMB): New BU_P8V_AV2_2.
366 (VPMSUM): New BU_P8V_OVERLOAD_2.
367 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): New
368 entries for VEC_MADD and VEC_VPMSUM.
370 2015-08-20 Georg-Johann Lay <avr@gjlay.de>
372 * config/avr/avr.c (avr_insert_attributes): In diagnostic essage:
373 Multiply argument avr_n_flash by 64 to match unit of "KiB".
374 (avr_pgm_check_var_decl): Same.
376 2015-08-20 Alan Lawrence <alan.lawrence@arm.com>
378 * config/arm/arm-builtins.c (arm_init_simd_builtin_types): Move
379 initialization of HFmode scalar type (float16_t) to...
380 (arm_init_fp16_builtins): ... Here. Combine with __fp16 initialization
383 (arm_init_builtins): Call arm_init_fp16_builtins earlier and always.
385 * config/arm/arm_neon.h (vcvt_f16_f32, vcvt_f32_f16): Condition on
386 having an -mfp16-format.
388 2015-08-20 Richard Sandiford <richard.sandiford@arm.com>
390 * config/i386/predicates.md (vector_all_ones_operand): Use
391 CONSTM1_RTX to simplify definition.
393 2015-08-20 Richard Biener <rguenther@suse.de>
395 * toplev.c (compile_file): Remove loop calling late_global_decl
397 * varpool.c (varpool_node::assemble_decl): Call late_global_decl
398 on decls we assembled.
400 2015-08-20 James Greenhalgh <james.greenhalgh@arm.com>
402 * common/config/aarch64/aarch64-common.c
403 (AARCH64_CPU_NAME_LENGTH): Delete.
404 (aarch64_option_extension): New.
405 (all_extensions): Likewise.
406 (processor_name_to_arch): Likewise.
407 (arch_to_arch_name): Likewise.
409 (all_architectures): Likewise.
410 (aarch64_get_extension_string_for_isa_flags): Likewise.
411 (aarch64_rewrite_selected_cpu): Change to rewrite CPU names to
413 * config/aarch64/aarch64-protos.h
414 (aarch64_get_extension_string_for_isa_flags): New.
415 * config/aarch64/aarch64.c (aarch64_print_extension): Delete.
416 (aarch64_option_print): Get the string to print from
417 aarch64_get_extension_string_for_isa_flags.
418 (aarch64_declare_function_name): Likewise.
419 * config/aarch64/aarch64.h (BIG_LITTLE_SPEC): Rename to...
420 (MCPU_TO_MARCH_SPEC): This.
421 (ASM_CPU_SPEC): Use it.
422 (BIG_LITTLE_SPEC_FUNCTIONS): Rename to...
423 (MCPU_TO_MARCH_SPEC_FUNCTIONS): ...This.
424 (EXTRA_SPEC_FUNCTIONS): Use it.
426 2015-08-20 Simon Dardis <simon.dardis@imgtec.com>
428 * config/mips/mips.c (mips_expand_block_move): Enable inline memcpy
429 expansion when !ISA_HAS_LWL_LWR.
430 (mips_block_move_straight): Update the size of elements copied to
431 account for alignment when !ISA_HAS_LWL_LWR.
432 * config/mips/mips.h (MIPS_MIN_MOVE_MEM_ALIGN): New macro.
434 2015-08-19 Jiong Wang <jiong.wang@arm.com>
436 * expr.c (expand_expr_real_2): Check gimple statement during
439 2015-08-19 Magnus Granberg <zorry@gentoo.org>
441 * common.opt (fstack-protector): Initialize to -1.
442 (fstack-protector-all): Likewise.
443 (fstack-protector-strong): Likewise.
444 (fstack-protector-explicit): Likewise.
445 * configure.ac: Add --enable-default-ssp.
446 * defaults.h (DEFAULT_FLAG_SSP): New. Default SSP to strong.
447 * opts.c (finish_options): Update opts->x_flag_stack_protect if it is
449 * doc/install.texi: Document --enable-default-ssp.
450 * config.in: Regenerated.
451 * configure: Likewise.
453 2015-08-19 Alexandre Oliva <aoliva@redhat.com>
455 PR rtl-optimization/64164
456 * cfgexpand.c (parm_maybe_byref_p): Renamed to...
457 (parm_in_stack_slot_p): ... this. Disregard mode, what
458 matters is whether the parm will live in a pseudo or a stack
460 (expand_one_ssa_partition): Deal with params without a default
462 * cfgexpand.h: Renamed function declaration.
463 * tree-ssa-coalesce.c: Adjust.
464 * function.c (split_complex_args): Allocate stack slot for
465 unassigned parms before splitting.
466 (parm_in_unassigned_mem_p): New. Use it instead of
467 parm_maybe_byref_p throughout this file.
468 (assign_parm_setup_block): Use it. Accept pseudos in the
470 (assign_parm_setup_reg): Drop BLKmode requirement.
471 (assign_parm_setup_stack): Allocate and fill in the address of
472 unassigned MEM parms.
474 2015-08-19 David Sherwood <david.sherwood@arm.com>
476 * genmodes.c (emit_mode_unit_size_inline): New function.
477 (emit_mode_unit_precision_inline): New function.
478 (emit_insn_modes_h): Emit new #define. Emit new functions.
479 (emit_mode_unit_size): New function.
480 (emit_mode_unit_precision): New function.
481 (emit_mode_adjustments): Add mode_unit_size adjustments.
482 (emit_insn_modes_c): Emit new arrays.
483 * machmode.h (GET_MODE_UNIT_SIZE, GET_MODE_UNIT_PRECISION): Update to
484 use new inline methods.
486 2015-08-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
488 * config/aarch64/aarch64.c (bit_count): Delete prototype
490 (aarch64_print_operand): Use popcount_hwi instead of the above.
492 2015-08-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
494 * config/aarch64/aarch64-option-extensions.def: Delete obsolete
497 2015-08-19 Marek Polacek <polacek@redhat.com>
500 * gimple-ssa-isolate-paths.c
501 (insert_trap_and_remove_trailing_statements): Rename to ...
502 (insert_trap): ... this. Don't remove trailing statements; split
504 (find_explicit_erroneous_behaviour): Don't remove all outgoing edges.
506 2015-08-19 Mikael Morin <mikael@gcc.gnu.org>
509 * hwint.h (sext_hwi): Switch to unsigned for the left shift, and
510 conditionalize the whole on __GNUC__. Add fallback code
511 depending neither on undefined nor implementation-defined behaviour.
513 2015-08-19 Jiong Wang <jiong.wang@arm.com>
515 * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Replace
516 whitespaces with tab.
518 2015-08-19 Florian Weimer <fweimer@redhat.com>
520 * prj.adb (For_Every_Project_Imported_Context.Recursive_Check_Context):
521 Move Name_Id_Set instantiation to the Prj package, to avoid trampolines.
522 * prj-proc.adb (Process.Process_Expression_Variable_Decl):
523 Move Name_Ids instantiation to the Prj.Proc package, to avoid
526 2015-08-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
528 * config/arm/arm.c (bounds_check): Use %wd print format
529 for HOST_WIDE_INT arguments.
531 2015-08-18 Trevor Saunders <tbsaunde@tbsaunde.org>
533 * bb-reorder.c, cfgloop.h, collect2.c, combine.c, dse.c,
534 dwarf2cfi.c, gcse-common.h, genopinit.c, ggc-page.c, machmode.h,
535 mcf.c, modulo-sched.c, omp-low.c, read-rtl.c, sched-rgn.c,
536 signop.h, tree-call-cdce.c, tree-dfa.c, tree-diagnostic.c,
537 tree-inline.h, tree-scalar-evolution.c, tree-ssa-address.c,
538 tree-ssa-loop-niter.c, tree-ssa-loop.h, tree-ssa-pre.c,
539 tree-ssa-reassoc.c, tree-ssa-sccvn.h, tree-ssa-structalias.c,
540 tree-ssa-uninit.c, tree-ssa.h, tree-vect-loop-manip.c,
541 tree-vectorizer.h, tree-vrp.c, var-tracking.c: Remove useless
544 2015-08-18 trevor Saunders <tbsaunde@tbsaunde.org>
546 * bt-load.c, cgraph.h, dwarf2out.c, dwarf2out.h, final.c,
547 function.c, graphite-scop-detection.c, haifa-sched.c,
548 ipa-devirt.c, ipa-split.c, recog.c, ree.c, stmt.c,
549 tree-data-ref.c, tree-ssa-dom.c, tree-ssa-loop-ivopts.c,
550 varasm.c: Remove typedefs of structs.
552 2015-08-18 Bill Schmidt <wschmidt@vnet.linux.ibm.com>
554 * config/rs6000/altivec.h (vec_adde): New define.
555 (vec_addec): Likewise.
556 (vec_double): Likewise.
557 (vec_bperm): Likewise.
559 * config/rs6000/rs6000-builtin.def (ADDE): New
560 BU_ALTIVEC_OVERLOAD_3.
562 (DOUBLE): New BU_VSX_OVERLOAD_1.
563 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add new
564 entries for ALTIVEC_BUILTIN_VEC_ADDC, ALTIVEC_BUILTIN_VEC_ADDE,
565 ALTIVEC_BUILTIN_VEC_ADDEC, ALTIVEC_BUILTIN_VEC_ANDC,
566 VSX_BUILTIN_VEC_DOUBLE, ALTIVEC_BUILTIN_VEC_MERGEH,
567 ALTIVEC_BUILTIN_VEC_MERGEL, ALTIVEC_BUILTIN_VEC_NOR,
568 ALTIVEC_BUILTIN_VEC_OR, ALTIVEC_BUILTIN_VEC_XOR,
569 ALTIVEC_BUILTIN_VEC_PERM, ALTIVEC_BUILTIN_VEC_SEL,
570 P8V_BUILTIN_VEC_EQV, P8V_BUILTIN_VEC_NAND, P8V_BUILTIN_VEC_ORC,
571 and P8V_BUILTIN_VEC_VBPERMQ.
573 2015-08-18 Jason Merrill <jason@redhat.com>
575 * print-tree.c (print_node): Handle TREE_BINFO.
577 2015-08-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
580 * builtins.c (expand_builtin_signbit): Add asserts to make sure
581 we can expand BUILT_IN_SIGNBIT inline.
582 * builtins.def (BUILT_IN_SIGNBIT): Make type-generic.
583 * doc/extend.texi: Document the type-generic __builtin_signbit.
585 2015-08-18 Richard Sandiford <richard.sandiford@arm.com>
587 PR rtl-optimization/67218
588 * simplify-rtx.c (exact_int_to_float_conversion_p): New function.
589 (simplify_unary_operation_1): Use it.
591 2015-08-18 Marek Polacek <polacek@redhat.com>
594 * gimple-low.c (lower_stmt): Don't lower BUILT_IN_POSIX_MEMALIGN
595 if the call isn't valid.
596 * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Check builtins using
597 gimple_call_builtin_p.
598 (call_may_clobber_ref_p_1): Likewise.
599 (stmt_kills_ref_p): Likewise.
601 2015-08-18 Robert Suchanek <robert.suchanek@imgtec.com>
603 * config/mips/mips-protos.h (mips_hard_regno_rename_ok): New prototype.
604 * config/mips/mips.c (mips_hard_regno_rename_ok): New function.
605 (mips_hard_regno_scratch_ok): Likewise.
606 (TARGET_HARD_REGNO_SCRATCH_OK): Define macro.
607 * config/mips/mips.h (HARD_REGNO_RENAME_OK): New.
609 2015-08-18 Bin Cheng <bin.cheng@arm.com>
611 * tree-ssa-loop-niter.c (refine_value_range_using_guard): New.
612 (determine_value_range): Call refine_value_range_using_guard for
613 each loop initial condition to improve value range.
615 2015-08-17 Aldy Hernandez <aldyh@redhat.com>
617 * config/i386/i386.c: Remove include of fibheap.h.
619 2015-08-17 Richard Biener <rguenther@suse.de>
621 PR tree-optimization/67221
622 * tree-ssa-sccvn.c (visit_phi): Keep all-TOP args TOP.
623 (sccvn_dom_walker::before_dom_children): Mark backedges of
624 non-executable blocks as not executable.
626 2015-08-17 David Sherwood <david.sherwood@arm.com>
628 * config/arm/arm.c (neon_element_bits): Replace call to
629 GET_MODE_BITSIZE (GET_MODE_INNER (m)) with GET_MODE_UNIT_BITSIZE (m).
630 * config/arm/neon.md (neon_vget_lane<mode>): Likewise.
631 (neon_vget_laneu<mode>, neon_vset_lane<mode>): Likewise
632 (neon_vdup_lane<mode>): Likewise.
633 * config/i386/i386.c (ix86_expand_int_vcond): Likewise.
634 (ix86_expand_multi_arg_builtin, ix86_expand_reduc): Likewise.
635 (expand_vec_perm_palignr, ix86_expand_sse2_abs): Likewise.
636 * config/rs6000/rs6000.c (rs6000_do_expand_vec_perm): Likewise.
637 * config/spu/spu.c (arith_immediate_p): Likewise.
638 * expmed.c (store_bit_field_1, extract_bit_field_1): Likewise.
639 * expr.c (expand_expr_real_2): Likewise.
640 * optabs.c (shift_amt_for_vec_perm_mask): Likewise.
641 * simplify-rtx.c (simplify_immed_subreg): Likewise.
642 * tree-cfg.c (verify_gimple_assign_ternary): Likewise.
643 * tree-vect-patterns.c (vect_recog_mixed_size_cond_pattern): Likewise.
645 * fold-const.c (fold_binary_loc): Replace call to
646 GET_MODE_PRECISION (GET_MODE_INNER (m)) with
647 GET_MODE_UNIT_PRECISION (m).
649 2015-08-17 Mike Stump <mikestump@comcast.net>
651 * config/arm/arm.c (arm_block_move_unaligned_straight):
652 Emit normal move instead of unaligned load when source or destination
653 are appropriately aligned.
655 2015-08-17 Richard Biener <rguenther@suse.de>
656 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
659 * match.pd (div (coss (op @0) : New simplifier.
661 2015-08-14 Alexandre Oliva <aoliva@redhat.com>
663 PR rtl-optimization/64164
666 PR rtl-optimization/67000
669 * Makefile.in (OBJS): Drop tree-ssa-copyrename.o.
670 * tree-ssa-copyrename.c: Removed.
671 * opts.c (default_options_table): Drop -ftree-copyrename. Add
672 -ftree-coalesce-vars.
673 * passes.def: Drop all occurrences of pass_rename_ssa_copies.
674 * common.opt (ftree-copyrename): Ignore.
675 (ftree-coalesce-inlined-vars): Likewise.
676 * doc/invoke.texi: Remove the ignored options above.
677 * gimple-expr.h (gimple_can_coalesce_p): Move declaration
678 * tree-ssa-coalesce.h: ... here.
679 * tree-ssa-uncprop.c: Include tree-ssa-coalesce.h and other
680 headers required by it.
681 * gimple-expr.c (gimple_can_coalesce_p): Allow coalescing
682 across variables when flag_tree_coalesce_vars. Check register
683 use and promoted modes to allow coalescing. Do not coalesce
684 maybe-byref parms with SSA_NAMEs of other variables, or
685 anonymous SSA_NAMEs. Moved to tree-ssa-coalesce.c.
686 * tree-ssa-live.c (struct tree_int_map_hasher): Move along
687 with its member functions to tree-ssa-coalesce.c.
688 (var_map_base_init): Likewise. Renamed to
689 compute_samebase_partition_bases.
690 (partition_view_normal): Drop want_bases parameter.
691 (partition_view_bitmap): Likewise.
692 * tree-ssa-live.h: Adjust declarations.
693 * tree-ssa-coalesce.c: Include explow.h and cfgexpand.h.
694 (build_ssa_conflict_graph): Process PARM_ and RESULT_DECLs's
695 default defs at the entry point.
696 (dump_part_var_map): New.
697 (compute_optimized_partition_bases): New, called by...
698 (coalesce_ssa_name): ... when flag_tree_coalesce_vars, instead
699 of compute_samebase_partition_bases. Adjust.
700 * alias.c (nonoverlapping_memrefs_p): Disregard gimple-regs.
701 * cfgexpand.c (leader_merge, parm_maybe_byref_p): New.
702 (ssa_default_def_partition): New.
703 (get_rtl_for_parm_ssa_default_def): New.
704 (align_local_variable, add_stack_var): Support anonymous SSA
706 (defer_stack_allocation): Likewise. Declare earlier.
707 (set_rtl): Merge exprs and attrs, even for MEMs and non-SSA
708 vars. Update DECL_RTL for PARM_DECLs and RESULT_DECLs too.
709 Do no record deferred-allocation marker in
710 SA.partition_to_pseudo.
711 (expand_stack_vars): Adjust check for the marker in it.
712 (expand_one_stack_var_at): Handle anonymous SSA_NAMEs. Drop
713 redundant MEM attr setting.
714 (expand_one_stack_var_1): Handle anonymous SSA_NAMEs. Renamed
716 (expand_one_stack_var): ... this. New wrapper to check and
717 skip already expanded SSA partitions.
718 (record_alignment_for_reg_var): New, factored out of...
719 (expand_one_var): ... this.
720 (expand_one_ssa_partition): New.
721 (adjust_one_expanded_partition_var): New.
722 (expand_one_register_var): Check and skip already expanded SSA
724 (expand_used_vars): Don't create DECLs for anonymous SSA
725 names. Expand all SSA partitions, then adjust all SSA names.
726 (pass::execute): Replace the loops that set
727 SA.partition_to_pseudo from partition leaders and cleared
728 DECL_RTL for multi-location variables, and that which used to
729 rename vars and set attrs, with one that clears DECL_RTL and
730 checks that PARMs and RESULTs default_defs match DECL_RTL.
731 * cfgexpand.h (get_rtl_for_parm_ssa_default_def): Declare.
732 * emit-rtl.c: Include stor-layout.h.
733 (set_reg_attrs_for_parm): Handle NULL decl.
734 (set_reg_attrs_for_decl_rtl): Take mode from expression if
736 * stmt.c (emit_case_decision_tree): Pass it the SSA_NAME
737 rather than its possibly-NULL DECL.
738 * explow.c (promote_ssa_mode): New.
739 * explow.h (promote_ssa_mode): Declare.
740 * expr.c (expand_expr_real_1): Handle anonymous SSA_NAMEs.
741 (read_complex_part): Export.
742 * expr.h (read_complex_part): Declare.
743 * cfgexpand.h (parm_maybe_byref_p): Declare.
744 * function.c: Include cfgexpand.h.
745 (use_register_for_decl): Handle SSA_NAMEs, anonymous or not.
746 (use_register_for_parm_decl): Wrapper for the above to
747 special-case the result_ptr.
748 (rtl_for_parm): Ditto for get_rtl_for_parm_ssa_default_def.
749 (split_complex_args): Take assign_parm_data_all argument.
750 Pass it to rtl_for_parm. Set up rtl and context for split
751 args. Reset complex parm before fetching its default decl
753 (assign_parms_unsplit_complex): Use the default-def complex
754 parm rtl if it matches the components.
755 (assign_parms_augmented_arg_list): Adjust.
756 (maybe_reset_rtl_for_parm): Reset DECL_RTL of parms with
757 multiple locations. Recognize split complex args.
758 (assign_parm_adjust_stack_rtl): Add all and parm arguments,
759 for rtl_for_parm. For SSA-assigned parms, zero stack_parm.
760 (assign_parm_setup_block): Prefer SSA-assigned location, and
761 fill in its address if the memory location of a maybe-byref
762 parm was not assigned by cfgexpand.
763 (assign_parm_setup_reg): Likewise. Adjust its mode as
764 needed. Use entry_parm for equiv if stack_parm is NULL. Make
765 sure passed_pointer parms don't need conversion. Copy address
767 (assign_parm_setup_stack): Prefer SSA-assigned location.
768 (assign_parms): Maybe reset DECL_RTL of params. Adjust stack
769 rtl before testing for pointer bounds. Special-case result_ptr.
770 (expand_function_start): Maybe reset DECL_RTL of result.
771 Prefer SSA-assigned location for result and static chain.
772 Factor out DECL_RESULT and SET_DECL_RTL. Convert static chain
773 to Pmode if needed, from H.J. Lu <hongjiu.lu@intel.com>.
774 * tree-outof-ssa.c (insert_value_copy_on_edge): Handle
775 anonymous SSA names. Use promote_ssa_mode.
776 (get_temp_reg): Likewise.
777 (remove_ssa_form): Adjust.
778 * stor-layout.c (layout_decl): Don't set mem attributes of
780 * var-tracking.c (dataflow_set_clear_at_call): Take call_insn
781 and get its reg_usage for reg invalidation.
782 (compute_bb_dataflow): Pass it insn.
783 (emit_notes_in_bb): Likewise.
785 2015-08-14 Marek Polacek <polacek@redhat.com>
787 * tree-core.h (tree_base): Fix typo.
789 2015-08-14 Marek Polacek <polacek@redhat.com>
792 * gimple.c (infer_nonnull_range_by_attribute): Check that the
793 nonnull argument position is not outside function arguments.
795 2015-08-14 Matthew Wahab <matthew.wahab@arm.com>
798 * config/aarch64/atomics.md (atomic_<optab><mode>): Replace
799 'lconst_atomic' with 'const_atomic'.
800 (atomic_fetch_<optab><mode>): Likewise.
801 (atomic_<optab>_fetch<mode>): Likewise.
802 * config/aarch64/iterators.md (lconst-atomic): Move below
806 2015-08-14 Thomas Schwinge <thomas@codesourcery.com>
807 Bernd Schmidt <bernds@codesourcery.com>
809 * config/nvptx/nvptx.c (nvptx_option_override): Don't override
811 * config/nvptx/nvptx.h (DWARF2_LINENO_DEBUGGING_INFO): Define.
812 (DWARF2_DEBUGGING_INFO): Don't define.
813 * debug.h (dwarf2_lineno_debug_hooks): Declare.
814 * toplev.c (process_options): Add a case for it.
815 * dwarf2out.c (dwarf2_lineno_debug_hooks): New variable.
816 (dwarf2out_init): Skip most initializations if
817 DWARF2_LINENO_DEBUGGING_INFO, but set cur_line_info_table in that
819 * defaults.h (PREFERRED_DEBUGGING_TYPE): Also use DWARF2_DEBUG if
820 DWARF2_LINENO_DEBUGGING_INFO.
821 * opts.c (set_debug_level): Likewise.
823 2015-08-14 James Greenhalgh <james.greenhalgh@arm.com>
825 * config/arm/types.md (is_neon_type): Add missing types.
827 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
829 * config/i386/driver-i386.c (host_detect_local_cpu): Add support
831 * config/i386/i386.c (PTA_SKYLAKE): New macros.
832 (processor_alias_table): Add skylake description.
833 (enum processor_model): Add skylake processor.
834 (arch_names_table): Add skylake record.
835 * doc/invoke.texi: Add skylake item.
837 2015-08-13 Andrew MacLeod <amacleod@redhat.com>
839 * ira-int.h: Include recog.h.
840 * ira-build.c: Don't include recog.h.
841 * ira-color.c: Likewise.
842 * ira-conflicts.c: Likewise.
843 * ira-costs.c: Likewise.
844 * ira-emit.c: Likewise.
845 * ira-lives.c: Likewise.
847 * sched-deps.c: Likewise.
848 * sel-sched.c: Likewise.
849 * target-globals.c: Likewise.
851 2015-08-13 Richard Sandiford <richard.sandiford@arm.com>
854 * reload1.c (elimination_costs_in_insn): Make it obvious to the
855 compiler that the n_dups and n_operands loop bounds are invariant.
857 2015-08-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
859 * ifcvt.c (noce_try_store_flag_constants): Handle PLUS-immediate
860 expressions in A and B.
862 2015-08-13 Richard Biener <rguenther@suse.de>
864 * tree.c (nonnull_arg_p): Move from ...
865 * tree-vrp.c (nonnull_arg_p): ... here.
866 * tree.h (nonnull_arg_p): Declare.
867 * tree-ssa-sccvn.c (init_scc_vn): Perform all lattice init
868 here, register ptr != 0 for nonnull_arg_p pointer arguments.
869 Properly initialize static chain and by-reference result pointer.
870 (run_scc_vn): Adjust.
872 2015-08-13 Robert Suchanek <robert.suchanek@imgtec.com>
874 * config/mips/mips.h (ENABLE_LD_ST_PAIRS): Enable load/store pairs for
877 2015-08-13 Matthew Wahab <matthew.wahab@arm.com>
879 * config/aarch64/aarch64-protos.h
880 (aarch64_gen_atomic_cas): Declare.
881 * config/aarch64/aarch64.c (aarch64_expand_compare_and_swap):
882 Choose appropriate instruction pattern for the target.
883 (aarch64_gen_atomic_cas): New.
884 * config/aarch64/atomics.md (UNSPECV_ATOMIC_CAS): New.
885 (atomic_compare_and_swap<mode>_1): Rename to
886 aarch64_compare_and_swap<mode>. Fix some indentation.
887 (aarch64_compare_and_swap<mode>_lse): New.
888 (aarch64_atomic_cas<mode>): New.
890 2015-08-13 Matthew Wahab <matthew.wahab@arm.com>
892 * config/aarch64/aarch64.h (AARCH64_ISA_LSE): New.
895 2015-08-13 Richard Biener <rguenther@suse.de>
897 PR tree-optimization/67191
898 * tree-ssa-sccvn.c (sccvn_dom_walker::before_dom_children): Remove
899 assert we value-numbered last stmts operand because it can validly
900 trigger for unreachable code.
902 2015-08-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
904 PR rtl-optimization/67103
905 * ifcvt.c (noce_try_store_flag_constants): Move
906 x = (-(test != 0) & (b - a)) + a transformation to...
907 (noce_try_cmove): ... Here. Try it if normal conditional
910 2015-08-13 Robert Suchanek <robert.suchanek@imgtec.com>
912 * config/mips/mips.c (mips_rtx_cost_data): Remove costs for W32 and W64
914 * config/mips/mips.md (processor): Remove w32 and w64.
916 2015-08-13 Richard Biener <rguenther@suse.de>
918 PR tree-optimization/66502
919 PR tree-optimization/67167
920 * tree-ssa-sccvn.c (vn_phi_compute_hash): Do not include
922 (vn_phi_lookup): Adjust.
923 (vn_phi_insert): Likewise.
924 (visit_phi): Prefer to value-number to another PHI node
925 over value-numbering to a PHI argument.
926 (init_scc_vn): Mark DFS back edges.
928 2015-08-13 Richard Biener <rguenther@suse.de>
930 * gimple.h (gcall::code_): New constant static member.
931 (gcond::code_): Likewise.
932 * gimple.c (gcall::code_): Define.
933 (gcond::code_): Likewise.
934 (is_a_helper <const gcond *>): Add.
935 (gimple_call_lhs): Use GIMPLE_CHECK2 in the gimple overload
936 and forward to a new gcall overload with less checking and a
937 cheaper way to access the operand.
938 (gimple_call_lhs_ptr): Likewise.
939 (gimple_call_set_lhs): Likewise.
940 (gimple_call_internal_p): Likewise.
941 (gimple_call_with_bounds_p): Likewise.
942 (gimple_call_set_with_bounds): Likewise.
943 (gimple_call_internal_fn): Likewise.
944 (gimple_call_set_ctrl_altering): Likewise.
945 (gimple_call_ctrl_altering_p): Likewise.
946 (gimple_call_fntype): Likewise.
947 (gimple_call_fn): Likewise.
948 (gimple_call_fn_ptr): Likewise.
949 (gimple_call_set_fndecl): Likewise.
950 (gimple_call_fndecl): Likewise.
951 (gimple_call_chain): Likewise.
952 (gimple_call_num_args): Likewise.
953 (gimple_call_arg): Likewise.
954 (gimple_call_arg_ptr): Likewise.
955 (gimple_call_set_arg): Likewise.
956 (gimple_call_noreturn_p): Likewise.
957 (gimple_cond_code): Likewise.
958 (gimple_cond_lhs): Likewise.
959 (gimple_cond_rhs): Likewise.
960 (gimple_has_lhs): Reduce checking.
962 2015-08-13 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
965 * match.pd (div (mult @0 @1) @1) : New simplifier.
967 2015-08-12 Michael Meissner <meissner@linux.vnet.ibm.com>
970 * config/rs6000/predicates.md (easy_vector_constant_vsldoi): New
971 predicate to allow construction of vector constants using the
972 VSLDOI vector shift instruction.
974 * config/rs6000/rs6000-protos.h (vspltis_shifted): Add
977 * config/rs6000/rs6000.c (vspltis_shifted): New function to return
978 the number of bytes to be shifted left and filled in with either
979 all zero or all one bits.
980 (gen_easy_altivec_constant): Call vsplitis_shifted if no other
982 (output_vec_const_move): On power8, generate XXLORC to generate
983 a vector constant with all 1's. Do a split if we need to use a
986 * config/rs6000/rs6000.h (EASY_VECTOR_MSB): Use mode mask to
987 properly test for the MSB.
989 * config/rs6000/altivec.md (VSLDOI splitter): Add splitter for
990 vector constants that can be created with VSLDOI.
992 2015-08-11 Trevor Saunders <tbsaunde@tbsaunde.org>
995 * compare-elim.c, dce.c, dse.c, gimple-ssa-isolate-paths.c,
996 gimple-ssa-strength-reduction.c, graphite.c, init-regs.c,
997 ipa-pure-const.c, ipa-visibility.c, ipa.c, mode-switching.c,
998 omp-low.c, reorg.c, sanopt.c, trans-mem.c, tree-eh.c,
999 tree-if-conv.c, tree-ssa-copyrename.c, tree-ssa-dce.c,
1000 tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
1001 tree-ssa-sink.c, tree-ssanames.c, tree-stdarg.c, tree-tailcall.c,
1002 tree-vect-generic.c, tree.c, ubsan.c, var-tracking.c,
1003 vtable-verify.c, web.c: Use GCC_FINAL instead of the anonymous
1005 2015-08-12 Max Filippov <jcmvbkbc@gmail.com>
1007 * config/xtensa/constraints.md (define_constraint "Y"): New
1009 * config/xtensa/elf.h (ASM_SPEC): Add m(no-)auto-litpools.
1010 * config/xtensa/linux.h (ASM_SPEC): Likewise.
1011 * config/xtensa/predicates.md (move_operand): Match constants
1012 and symbols in the presence of TARGET_AUTO_LITPOOLS.
1013 * config/xtensa/xtensa.c (xtensa_valid_move): Don't allow
1014 immediate references to TLS data.
1015 (xtensa_emit_move_sequence): Don't force constants to memory in
1016 the presence of TARGET_AUTO_LITPOOLS.
1017 (print_operand): Add 'y' format, same as default, but capable of
1018 printing SF mode constants as well.
1019 * config/xtensa/xtensa.md (movsi_internal, movhi_internal)
1020 (movsf_internal): Add movi pattern that loads literal.
1021 (movsf, movdf): Don't force constants to memory in the presence
1022 of TARGET_AUTO_LITPOOLS.
1023 (movdf_internal): Add 'Y' constraint.
1024 * config/xtensa/xtensa.opt (mauto-litpools): New option.
1025 * doc/invoke.text (Xtensa options): Document -mauto-litpools.
1027 2015-08-12 Matthew Wahab <matthew.wahab@arm.com>
1029 * config/arm/arm-fpus.def: Replace booleans with feature flags.
1031 * config/arm/arm.c (ARM_FPU): Update macro.
1032 * config/arm/arm.h (TARGET_NEON_FP16): Update feature test.
1033 (TARGET_FP16): Likewise.
1034 (TARGET_CRYPTO): Likewise.
1035 (TARGET_NEON): Likewise.
1036 (struct arm_fpu_desc): Remove fields neon, fp16 and crypto. Add
1039 2015-08-12 Tom de Vries <tom@codesourcery.com>
1043 * doc/install.texi: Remove --with_host_libstdcxx item. Update
1044 --with-stage1-libs, --with-boot-ldflags and --with-boot-libs items
1045 accordingly. Mention default for --with-stage1-ldflags.
1047 2015-08-12 Matthew Wahab <matthew.wahab@arm.com>
1049 * config/arm/arm.h (arm_fpu_feature_set): New.
1050 (ARM_FPU_FSET_HAS): New.
1054 (FPU_FL_CRYPTO): New.
1056 2015-08-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1058 * config/aarch64/aarch64.c (initialize_aarch64_code_model): Break
1059 after -mcmodel=large -fPIC sorry.
1061 2015-08-12 Richard Biener <rguenther@suse.de>
1063 * tree-ssa-sccvn.c (vn_nary_op_compute_hash): Also canonicalize
1064 comparison operand order and commutative ternary op operand order.
1065 (sccvn_dom_walker::cond_stack): New state to track temporary
1067 (sccvn_dom_walker::after_dom_children): Remove tempoary expressions
1069 (sccvn_dom_walker::record_cond): Add a single temporary conditional
1071 (sccvn_dom_walker::record_conds): Add a temporary conditional
1072 expressions and all related expressions also true/false.
1073 (sccvn_dom_walker::before_dom_children): Record temporary
1074 expressions based on the controlling condition of a single
1075 predecessor. When trying to simplify a conditional statement
1076 lookup expressions we might have inserted earlier.
1078 2015-08-12 Yvan Roux <yvan.roux@linaro.org>
1081 * config/arm/arm.md (movdi): Restrict illegitimate ldrd/strd checking
1082 to ARM core registers.
1084 2015-08-12 Nathan Sidwell <nathan@acm.org>
1086 * tree-vrp.c (simplify_min_or_max_using_ranges): New.
1087 (simplify_stmt_using_ranges): Simplify MIN and MAX exprs.
1089 2015-08-12 Simon Dardis <simon.dardis@imgtec.com>
1091 * config/mips/mips.c (mips_store_data_bypass_p): Bring code into
1093 * config/mips/sb1.md: Update usage of mips_store_data_bypass_p.
1095 2015-08-12 Richard Biener <rguenther@suse.de>
1097 * gimple.h (remove_pointer): New trait.
1098 (GIMPLE_CHECK2): New inline template function.
1099 (gassign::code_): New constant static member.
1100 (is_a_helper<const gassign *>): Add.
1101 (gimple_assign_lhs): Use GIMPLE_CHECK2 in the gimple overload
1102 and forward to a new gassign overload with less checking and a
1103 cheaper way to access the operand.
1104 (gimple_assign_lhs_ptr): Likewise.
1105 (gimple_assign_set_lhs): Likewise.
1106 (gimple_assign_rhs1, gimple_assign_rhs1_ptr, gimple_assign_set_rhs1):
1108 (gimple_assign_rhs2, gimple_assign_rhs2_ptr, gimple_assign_set_rhs2):
1110 (gimple_assign_rhs3, gimple_assign_rhs3_ptr, gimple_assign_set_rhs3):
1112 (gimple_assign_rhs_code): Likewise.
1113 * gimple.c (gassign::code_): Define.
1115 2015-08-12 Richard Biener <rguenther@suse.de>
1117 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
1118 Eliminate edges marked as not executable by SCCVN.
1119 * tree-ssa-sccvn.c: Include gimple-iterator.h.
1120 (cond_dom_walker): Rename to sccvn_dom_walker.
1121 (sccvn_dom_walker::before_dom_children): Value-number defs
1123 (run_scc_vn): Remove loop value-numbering all SSA names.
1124 Drop not visited SSA names to varying.
1126 2015-08-11 Trevor Saunders <tbsaunde@tbsaunde.org>
1128 * compare-elim.c, dce.c, dse.c, gimple-ssa-isolate-paths.c,
1129 gimple-ssa-strength-reduction.c, graphite.c, init-regs.c,
1130 ipa-pure-const.c, ipa-visibility.c, ipa.c, mode-switching.c,
1131 omp-low.c, reorg.c, sanopt.c, trans-mem.c, tree-eh.c,
1132 tree-if-conv.c, tree-ssa-copyrename.c, tree-ssa-dce.c,
1133 tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
1134 tree-ssa-sink.c, tree-ssanames.c, tree-stdarg.c, tree-tailcall.c,
1135 tree-vect-generic.c, tree.c, ubsan.c, var-tracking.c,
1136 vtable-verify.c, web.c: Use GCC_FINAL instead of the anonymous
1138 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
1141 * config/i386/i386.c (get_builtin_code_for_version): Add P_PCLMUL
1142 to enum feature_priority and feature_list.
1143 (fold_builtin_cpu): Add F_PCLMUL to enum processor_features
1144 and isa_names_table.
1146 2015-08-11 Yuri Rumyantsev <ysrumyan@gmail.com>
1148 * tree-vect-stmts.c (vectorizable_shift): Add missed test on
1151 2015-08-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
1155 * diagnostic.c (diagnostic_classify_diagnostic): Take -Werror into
1156 account when deciding what was the command-line status.
1158 2015-08-11 Nathan Sidwell <nathan@acm.org>
1160 * tree-vrp.c (simplify_abs_using_ranges): Simplify.
1162 * tree-ssa-phiopt.c (minmax_replacement): Create new ssa name if
1163 we're not the only contributor to target phi.
1165 2015-08-11 Jiong Wang <jiong.wang@arm.com>
1167 * config/aarch64/aarch64.h (REG_CLASS_NAMES): Add the missing ',' after
1170 2015-08-11 Tom de Vries <tom@codesourcery.com>
1172 * tree-cfg.c (move_sese_region_to_fn): Add todo comment.
1174 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
1176 * config/i386/i386.c (processor_alias_table): Replace CPU_KNL
1178 * config/i386/i386.md (cpu): Remove knl.
1180 2015-08-10 Thomas Schwinge <thomas@codesourcery.com>
1184 * builtins.c (expand_builtin_acc_on_device) [ACCEL_COMPILER]: Emit
1185 open-coded sequence.
1186 * omp-low.c (oacc_process_reduction_data): Remove handline of
1187 GOMP_DEVICE_HOST_NONSHM.
1189 * lto-streamer-in.c (lto_input_mode_table): Adjust to
1190 GET_MODE_INNER changes.
1192 2015-08-10 Thomas Schwinge <thomas@codesourcery.com>
1193 Ilya Verbin <ilya.verbin@intel.com>
1195 * lto-streamer-in.c (lto_input_mode_table): Correctly advance
1198 2015-08-09 Manuel López-Ibáñez <manu@gcc.gnu.org>
1200 * doc/options.texi (EnabledBy): Document that the argument must be
1202 * doc/invoke.texi (Wnull-dereference): Move after Wnonnull.
1203 Not enabled by -Wall.
1204 * optc-gen.awk: Give nicer error messages. Detect if the argument
1205 of EnabledBy is not a Common option.
1206 * common.opt (Wnull-dereference): Not enabled by -Wall.
1207 * opt-functions.awk (lang_enabled_by): Nicer error messages.
1209 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
1211 * config/i386/driver-i386.c (host_detect_local_cpu): Treat
1212 model == 0x4f as Broadwell.
1214 2015-08-08 Segher Boessenkool <segher@kernel.crashing.org>
1216 PR rtl-optimization/67028
1217 * combine.c (simplify_comparison): Fix comment. Rearrange code.
1218 Add test to see if a const_int fits in the new mode.
1220 2015-08-07 DJ Delorie <dj@redhat.com>
1222 * config/rx/rx.c (rx_mode_dependent_address_p): Remove unneeded asserts.
1224 2015-08-07 H.J. Lu <hongjiu.lu@intel.com>
1226 PR rtl-optimization/67029
1227 * ira-color.c: Include "recog.h" before including "ira-int.h".
1228 * target-globals.c: Likewise.
1229 * ira-lives.c (ira_implicitly_set_insn_hard_regs): Add an
1230 adds an alternative_mask argument and use it instead of
1231 preferred_alternatives.
1232 * ira.h (ira_implicitly_set_insn_hard_regs): Moved to ...
1233 * ira-int.h (ira_implicitly_set_insn_hard_regs): Here.
1234 * sched-deps.c: Include "ira-int.h" after including "ira.h".
1235 (sched_analyze_insn): Update call to
1236 ira_implicitly_set_insn_hard_regs.
1237 * sel-sched.c: Include "ira-int.h" after including "ira.h".
1238 (implicit_clobber_conflict_p): Update call to
1239 ira_implicitly_set_insn_hard_regs.
1241 2015-08-06 Uros Bizjak <ubizjak@gmail.com>
1243 * Makefile.in (.INTERMEDIATE): Add gpl.pod.
1245 2015-08-07 Kaz Kojima <kkojima@gcc.gnu.org>
1248 * config/sh/sh.c (sh_recog_treg_set_expr): Return false when
1249 currently_expanding_to_rtl is set.
1251 2015-08-06 Yaakov Selkowitz <yselkowi@redhat.com>
1253 * configure.ac: Define LIBICONV_DEP with in-tree libiconv.
1254 * configure: Regenerate.
1256 2015-08-06 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1257 Jiong Wang <jiong.wang@arm.com>
1259 * config/aarch64/aarch64.d (tlsdesc_small_pseudo_<mode>): New pattern.
1260 * config/aarch64/aarch64.h (reg_class): New enumeration FIXED_REG0.
1261 (REG_CLASS_NAMES): Likewise.
1262 (REG_CLASS_CONTENTS): Likewise.
1263 * config/aarch64/aarch64.c (aarch64_class_max_nregs): Likewise.
1264 (aarch64_register_move_cost): Likewise.
1265 (aarch64_load_symref_appropriately): Invoke the new added pattern if
1267 * config/aarch64/constraints.md (Uc0): New constraint.
1269 2015-08-06 Jiong Wang <jiong.wang@arm.com>
1271 * config/aarch64/constraints.md (Usf): Add the test of
1272 aarch64_is_noplt_call_p.
1274 2015-08-06 Jiong Wang <jiong.wang@arm.com>
1276 * config/aarch64/aarch64-protos.h (aarch64_is_noplt_call_p): New
1278 * config/aarch64/aarch64.c (aarch64_is_noplt_call_p): New function.
1279 * config/aarch64/aarch64.md (call_value_symbol): Check noplt scenarios.
1280 (call_symbol): Likewise.
1282 2015-08-06 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1284 * tree-vect-patterns.c (vect_recog_mult_pattern): New function
1285 for vectorizing multiplication patterns.
1286 * tree-vectorizer.h: Adjust the number of patterns.
1288 2015-08-06 Uros Bizjak <ubizjak@gmail.com>
1290 * config/i386/sse.md (*vec_concatv2df): Declare added
1291 alternatives as sselog type.
1293 2015-08-06 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1295 * config/s390/s390.c (s390_dwarf_frame_reg_mode): Return Pmode for
1298 2015-08-06 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1300 * config/s390/s390.c (s390_expand_tbegin): Expand either
1301 tbegin_1_z13 or tbegin_1 depending on VX flag.
1302 * config/s390/s390.md ("tbegin_1_z13"): New expander.
1304 2015-08-06 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1306 * config/s390/s390.opt: Clarify description for -mzvector
1307 * doc/invoke.texi: Add documentation for -mhtm, -mvx, and
1310 2015-08-06 Richard Biener <rguenther@suse.de>
1312 * gimple.h (gimple_call_set_fn): Access op member directly.
1313 (gimple_call_chain_ptr): Likewise.
1314 (gimple_call_set_chain): Likewise.
1315 (gimple_cond_lhs_ptr): Likewise.
1316 (gimple_cond_set_lhs): Likewise.
1317 (gimple_cond_rhs_ptr): Likewise.
1318 (gimple_cond_set_rhs): Likewise.
1319 (gimple_cond_true_label): Likewise.
1320 (gimple_cond_set_true_label): Likewise.
1321 (gimple_cond_set_false_label): Likewise.
1322 (gimple_cond_false_label): Likewise.
1323 (gimple_label_label): Likewise.
1324 (gimple_label_set_label): Likewise.
1325 (gimple_goto_set_dest): Likewise.
1326 (gimple_asm_input_op): Likewise.
1327 (gimple_asm_input_op_ptr): Likewise.
1328 (gimple_asm_set_input_op): Likewise.
1329 (gimple_asm_output_op): Likewise.
1330 (gimple_asm_output_op_ptr): Likewise.
1331 (gimple_asm_set_output_op): Likewise.
1332 (gimple_asm_clobber_op): Likewise.
1333 (gimple_asm_set_clobber_op): Likewise.
1334 (gimple_asm_label_op): Likewise.
1335 (gimple_asm_set_label_op): Likewise.
1336 (gimple_switch_index): Likewise.
1337 (gimple_switch_index_ptr): Likewise.
1338 (gimple_return_retval_ptr): Likewise.
1339 (gimple_return_retval): Likewise.
1340 (gimple_return_set_retval): Likewise.
1341 (gimple_switch_set_index): Likewise. Remove superfluous GIMPLE_CHECK.
1342 (gimple_switch_label): Likewise.
1343 (gimple_switch_set_label): Likewise.
1345 2015-08-06 Richard Biener <rguenther@suse.de>
1347 * gimple-fold.c (gimple_fold_stmt_to_constant_1): Simplify
1348 bool comparison canonicalization and restrict to integers.
1350 2015-08-05 Andrew MacLeod <amacleod@redhat.com>
1352 * coretypes.h (enum symbol_visibility): Relocate here.
1353 * flag-types.h (enum symbol_visibility): Remove.
1354 * tree-core.h (enum symbol_visibility): Remove.
1356 2015-08-05 Lynn Boger <laboger@linux.vnet.ibm.com>
1359 * gcc/config/rs6000/rs6000.c (rs6000_emit_prologue): Check
1360 for no_split_stack function attribute along with
1362 (rs6000_expand_split_stack_prologue): Likewise.
1364 2015-08-05 Manuel López-Ibáñez <manu@gcc.gnu.org>
1365 Jeff Law <law@redhat.com>
1368 * doc/invoke.texi (Wnull-dereference): New.
1369 * tree-vrp.c (infer_value_range): Update call to infer_nonnull_range.
1370 * gimple-ssa-isolate-paths.c (find_implicit_erroneous_behaviour):
1371 Warn for potential NULL dereferences.
1372 (find_explicit_erroneous_behaviour): Warn for NULL dereferences.
1373 * ubsan.c (instrument_nonnull_arg): Call
1374 infer_nonnull_range_by_attribute.
1375 (instrument_nonnull_return): Likewise.
1376 * common.opt (Wnull-dereference); New.
1377 * gimple.c (infer_nonnull_range): Remove bool arguments.
1378 (infer_nonnull_range_by_dereference): New.
1379 (infer_nonnull_range_by_attribute): New.
1380 * gimple.h: Update declarations.
1382 2015-08-05 Richard Sandiford <richard.sandiford@arm.com>
1384 * gensupport.c (sequence_num): Replace with...
1385 (insn_sequence_num, split_sequence_num, peephole2_sequence_num):
1386 ...these new variables.
1387 (init_rtx_reader_args_cb): Update accordingly.
1388 (get_num_code_insns): Likewise.
1389 (read_md_rtx): Rework to use a while loop and get_c_test.
1390 Use the new counters. Remove redundant DEFINE_SUBST case.
1391 * genoutput.c (gen_split): Delete.
1392 (main): Don't call it.
1394 2015-08-05 Richard Sandiford <richard.sandiford@arm.com>
1396 * gensupport.h (get_c_test): Declare.
1397 * gensupport.c (get_c_test): New function.
1398 * genconditions.c (main): Use it.
1399 * genrecog.c (validate_pattern): Likewise.
1400 (match_pattern_1): Likewise. Remove c_test argument.
1401 (match_pattern): Update accordingly and remove c_test argument.
1402 (main): Update accordingly.
1404 2015-08-05 Richard Sandiford <richard.sandiford@arm.com>
1406 * gensupport.h (get_num_insn_codes): Declare.
1407 * gensupport.c (get_num_insn_codes): New function.
1408 * genattrtab.c (optimize_attrs): Rename max_insn_code to
1410 (main): Likewise. Use get_num_insn_codes.
1411 * gencodes.c (main): Remove "last" and use get_num_insn_codes.
1413 2015-08-05 Richard Sandiford <richard.sandiford@arm.com>
1416 * wide-int.cc (wi::from_mpz): Make sure that absolute mpz value
1417 is zero- rather than sign-extended.
1419 2015-08-05 Richard Sandiford <richard.sandiford@arm.com>
1421 * target-insns.def (can_extend): Delete.
1423 2015-08-05 Richard Biener <rguenther@suse.de>
1425 PR tree-optimization/67121
1426 * tree-if-conv.c (combine_blocks): Clear range-info produced
1427 by stmts no longer executed conditionally.
1429 2015-08-05 Nick Clifton <nickc@redhat.com>
1431 * config/rl78/rl78.c (rl78_force_nonfar_3): Remove optimization
1432 to allow identical far pointers to remain.
1434 2015-08-05 Richard Biener <rguenther@suse.de>
1437 * match.pd: Compare address bases with == if they are decls
1438 or SSA names, not operand_equal_p. Otherwise fail.
1440 2015-08-05 Richard Biener <rguenther@suse.de>
1442 PR tree-optimization/67055
1443 * tree-ssa-ccp.c (fold_builtin_alloca_with_align): Handle
1446 * g++.dg/torture/pr67055.C: New testcase.
1448 2015-08-05 Kirill Yukhin <kirill.yukhin@intel.com>
1450 * config/i386/i386.md (define_attr "isa"): Addd avx512vl and
1452 (define_attr "enabled"): Handle avx521vl and noavx512vl.
1453 * config/i386/sse.md (define_insn "vec_dupv2df<mask_name>"): Split
1454 AVX-512 alternative out of SSE.
1455 (define_insn "*vec_concatv2df"): Ditto.
1457 2015-08-05 Kirill Yukhin <kirill.yukhin@intel.com>
1459 * config/i386/i386.c (bdesc_args): Rename CODE_FOR_sse4_1_ptest into
1460 CODE_FOR_sse4_1_ptestv2di and CODE_FOR_avx_vtestps256 into
1461 CODE_FOR_avx_ptestv4di.
1462 * config/i386/sse.md (define_mode_iterator V_AVX): New.
1463 (define_mode_attr sse4_1): Extend to other 128/256-bit modes.
1464 (define_insn "avx_ptest256"): Merge this ...
1465 (define_insn "sse4_1_ptest"): And this ...
1466 (define_insn "<sse4_1>_ptest<mode>"): Into this. Use V_AVX iterator.
1468 2015-08-05 Richard Biener <rguenther@suse.de>
1470 PR tree-optimization/67109
1471 * tree-vect-data-refs.c (vect_analyze_group_access_1): Check
1472 against too big groups. Print whether this is a load or store
1473 group. Rename from ...
1474 (vect_analyze_group_access): ... this which is now a wrapper
1475 dissolving an invalid group.
1476 (vect_analyze_data_ref_accesses): Print whether this is a load
1479 2015-08-05 Richard Biener <rguenther@suse.de>
1482 * match.pd: Guard const_binop result checking against NULL_TREE
1485 2015-08-05 Kugan Vivekanandarajah <kuganv@linaro.org>
1487 * cse.c (cse_insn): Restoring old behaviour for src_eqv
1488 when dest and value in the REG_EQUAL are same and dest
1491 2015-08-04 Anatoly Sokolov <aesok@post.ru>
1493 * config/moxie/moxie.h (PRINT_OPERAND,
1494 PRINT_OPERAND_ADDRESS): Remove macros.
1495 * config/moxie/moxie-protos.h (moxie_print_operand,
1496 moxie_print_operand_address): Remove declaration.
1497 * config/moxie/moxie.c (TARGET_PRINT_OPERAND,
1498 TARGET_PRINT_OPERAND_ADDRESS): Define.
1499 (moxie_print_operand, moxie_print_operand_address): Make static.
1501 2015-08-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1504 * config/aarch64/aarch64.c (aarch64_rtx_costs): Fix NEG cost for FNMUL.
1505 (aarch64_rtx_mult_cost): Fix MULT cost with -frounding-math.
1507 2015-08-04 Richard Biener <rguenther@suse.de>
1509 * genmatch.c (dt_node::gen_kids_1): Use gassign and gcall in
1511 (dt_operand::gen_gimple_expr): Adjust.
1513 2015-08-04 Richard Biener <rguenther@suse.de>
1515 * gimple-fold.c (gimple_fold_stmt_to_constant_1): Canonicalize
1516 bool compares on RHS.
1517 * match.pd: Add X ==/!= !X is false/true pattern.
1519 2015-08-04 Pawel Kupidura <pawel.kupidura@arm.com>
1521 * config/aarch64/aarch64.c: Change inner loop statement cost
1522 to be consistent with other targets.
1524 2015-08-04 Christophe Lyon <christophe.lyon@linaro.org>
1526 * config/arm/neon.md (neon_vget_lanev2di): Handle big-endian
1529 2015-08-04 Nathan Sidwell <nathan@codesourcery.com>
1531 * config/nvptx/nvptx.h (struct nvptx_pseudo_info): Delete.
1532 (machine_function): Remove pseudos field.
1534 2015-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1536 * config/aarch64/aarch64.c (aarch64_option_valid_attribute_p):
1537 Exit early and use target_option_current_node if processing current
1540 2015-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1542 * doc/extend.texi (AArch64 Function Attributes): New node.
1543 (AArch64 Pragmas): Likewise.
1545 2015-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1547 * config/aarch64/aarch64.c (aarch64_option_valid_attribute_p):
1548 Initialize simd builtins if TARGET_SIMD.
1549 * config/aarch64/aarch64-builtins.c (aarch64_init_simd_builtins):
1550 Make sure that the builtins are initialized only once no matter how
1551 many times the function is called.
1552 (aarch64_init_builtins): Unconditionally initialize crc builtins.
1553 (aarch64_relayout_simd_param): New function.
1554 (aarch64_simd_expand_args): Use above during argument expansion.
1555 * config/aarch64/aarch64-c.c (aarch64_pragma_target_parse): Initialize
1556 simd builtins if TARGET_SIMD.
1557 * config/aarch64/aarch64-protos.h (aarch64_init_simd_builtins): New
1559 (aarch64_relayout_simd_types): Likewise.
1561 2015-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1563 * config.gcc (aarch64*-*-*): Specify c_target_objs and cxx_target_objs.
1564 * config/aarch64/aarch64.h (REGISTER_TARGET_PRAGMAS): Define.
1565 (TARGET_CPU_CPP_BUILTINS): Redefine to call aarch64_cpu_cpp_builtins.
1566 * config/aarch64/aarch64.c (aarch64_override_options_internal): Remove
1568 (aarch64_reset_previous_fndecl): New function.
1569 (aarch64_handle_attr_isa_flags): Handle "+nothing" in the beginning of
1571 * config/aarch64/aarch64-c.c: New file.
1572 * config/aarch64/arm_acle.h: Add pragma +crc+nofp at the top.
1573 Push and pop options at beginning and end. Remove ifdef
1574 __ARM_FEATURE_CRC32.
1575 * config/aarch64/arm_neon.h: Remove #ifdef check on __ARM_NEON.
1576 Add pragma +nothing+simd and +nothing+crypto where appropriate.
1577 * config/aarch64/t-aarch64 (aarch64-c.o): New rule.
1578 * config/aarch64/aarch64-protos.h (aarch64_cpu_cpp_builtins):
1580 (aarch64_register_pragmas): Likewise.
1581 (aarch64_reset_previous_fndecl): Likewise.
1582 (aarch64_process_target_attr): Likewise.
1583 (aarch64_override_options_internal): Likewise.
1585 2015-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1587 * config/aarch64/aarch64.c (aarch64_tribools_ok_for_inlining_p):
1589 (aarch64_can_inline_p): Likewise.
1590 (TARGET_CAN_INLINE_P): Define.
1592 2015-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1594 * common/config/aarch64/aarch64-common.c (aarch64_handle_option):
1595 Remove static. Handle OPT_mgeneral_regs_only,
1596 OPT_mfix_cortex_a53_835769, OPT_mstrict_align,
1597 OPT_momit_leaf_frame_pointer.
1598 * config/aarch64/aarch64.c: Include opts.h and diagnostic.h
1599 (aarch64_attr_opt_type): New enum.
1600 (aarch64_attribute_info): New struct.
1601 (aarch64_handle_attr_arch): New function.
1602 (aarch64_handle_attr_cpu): Likewise.
1603 (aarch64_handle_attr_tune): Likewise.
1604 (aarch64_handle_attr_isa_flags): Likewise.
1605 (aarch64_attributes): New table.
1606 (aarch64_process_one_target_attr): New function.
1607 (num_occurences_in_str): Likewise.
1608 (aarch64_process_target_attr): Likewise.
1609 (aarch64_option_valid_attribute_p): Likewise.
1610 (TARGET_OPTION_VALID_ATTRIBUTE_P): Define.
1611 * config/aarch64/aarch64-protos.h: Include input.h
1612 (aarch64_handle_option): Declare prototype.
1614 2015-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1616 * config/aarch64/aarch64.h (SWITCHABLE_TARGET): Define.
1617 * config/aarch64/aarch64.c: Include target-globals.h
1618 (aarch64_previous_fndecl): New variable.
1619 (aarch64_set_current_function): New function.
1620 (TARGET_SET_CURRENT_FUNCTION): Define.
1622 2015-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1624 * config/aarch64/aarch64.opt (explicit_tune_core): New TargetVariable.
1625 (explicit_arch): Likewise.
1626 (x_aarch64_isa_flags): Likewise.
1627 (mgeneral-regs-only): Mark as Save.
1628 (mfix-cortex-a53-835769): Likewise.
1629 (mcmodel=): Likewise.
1630 (mstrict-align): Likewise.
1631 (momit-leaf-frame-pointer): Likewise.
1632 (mtls-dialect): Likewise.
1633 (master=): Likewise.
1634 * config/aarch64/aarch64.h (ASM_DECLARE_FUNCTION_NAME): Define.
1635 (aarch64_isa_flags): Remove extern declaration.
1636 * config/aarch64/aarch64.c (aarch64_validate_mcpu): Return a bool
1637 to indicate success or failure.
1638 (aarch64_validate_march): Likewise.
1639 (aarch64_validate_mtune): Likewise.
1640 (aarch64_isa_flags): Delete.
1641 (aarch64_override_options_internal): Access opts->x_aarch64_isa_flags
1642 instead of aarch64_isa_flags.
1643 (aarch64_get_tune_cpu): New function.
1644 (aarch64_get_arch): Likewise.
1645 (aarch64_override_options): Use above and set up explicit_tune_core
1647 (aarch64_print_extension): Move earlier in file. Add isa_flags
1648 argument and use that instead of the global aarch64_isa_flags.
1649 (aarch64_option_save): New function.
1650 (aarch64_option_restore): Likewise.
1651 (aarch64_option_print): Likewise.
1652 (aarch64_declare_function_name): Likewise.
1653 (aarch64_start_file): Delete.
1654 (TARGET_ASM_FILE_START): Do not define.
1655 (TARGET_OPTION_RESTORE, TARGET_OPTION_PRINT): Define.
1656 * config/aarch64/aarch64-protos.h (aarch64_declare_function_name):
1659 2015-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1661 * config/aarch64/aarch64.opt (momit-leaf-frame-pointer): Initialize
1662 flag_omit_leaf_frame_pointer to 2.
1664 2015-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1666 * config/aarch64/aarch64.h (TARGET_FIX_ERR_A53_835769_DEFAULT): Always
1668 (TARGET_FIX_ERR_A53_835769): New macro.
1669 * config/aarch64/aarch64.c (aarch64_override_options_internal): Remove
1670 handling of opts->x_aarch64_fix_a53_err835769.
1671 (aarch64_madd_needs_nop): Check for TARGET_FIX_ERR_A53_835769 rather
1672 than aarch64_fix_a53_err835769.
1673 * config/aarch64/aarch64-elf-raw.h: Update for above changes.
1674 * config/aarch64/aarch64-linux.h: Likewise.
1676 2015-08-04 Uros Bizjak <ubizjak@gmail.com>
1678 * config/i386/i386.c (ix86_expand_int_movcc): Check result of
1679 ix86_expand_int_movcc as boolean.
1681 2015-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1683 * config/aarch64/aarch64.opt (aarch64_arch_string): Delete.
1684 (aarch64_cpu_string): Likewise.
1685 (aarch64_tune_string): Likewise.
1686 * config/aarch64/aarch64.c (aarch64_parse_opt_result): New enum.
1687 (aarch64_parse_extension): Return aarch64_parse_opt_result.
1688 Add extra argument to put result into.
1689 (aarch64_parse_arch): Likewise. Do not set selected_cpu.
1690 (aarch64_parse_cpu): Add arguments to put results into. Return
1691 aarch64_parse_opt_result.
1692 (aarch64_parse_tune): Likewise.
1693 (aarch64_override_options_after_change_1): New function.
1694 (aarch64_override_options_internal): New function.
1695 (aarch64_validate_mcpu): Likewise.
1696 (aarch64_validate_march): Likewise.
1697 (aarch64_validate_mtune): Likewise.
1698 (aarch64_override_options): Update to reflect above changes.
1699 Move some logic into aarch64_override_options_internal.
1700 Initialize target_option_default_node and target_option_current_node.
1701 (aarch64_override_options_after_change): Move logic into
1702 aarch64_override_options_after_change_1 and call it with global_options.
1703 (initialize_aarch64_code_model): Take a gcc_options pointer and use the
1704 flag values from that.
1706 2015-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1708 * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define
1709 __ARM_ARCH_8A directly rather than with cpp_define_formatted.
1710 * config/aarch64/aarch64.c (struct processor): Add arch field.
1711 (all_architectures): Handle above, move above all_cores.
1712 (all_cores): Handle above.
1713 (aarch64_parse_arch): Handle above changes.
1714 * config/aarch64/aarch64-arches.def (armv8-a): Extend according to
1715 above. Update comments.
1716 (armv8.1-a): Likewise.
1717 * config/aarch64/aarch64-cores.def: Update according to above.
1718 * config/aarch64/aarch64-opts.h (aarch64_arch): New enum.
1719 * config/aarch64/driver-aarch64.c (struct aarch64_arch): Rename to
1720 aarch64_arch_driver_info.
1722 2015-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1724 * config/aarch64/aarch64.c (struct processor): Add ident field.
1725 Rename core sched_core.
1726 (all_cores): Handle above changes.
1727 (all_architectures): Likewise.
1728 (aarch64_parse_arch): Likewise.
1729 (aarch64_override_options): Likewise.
1731 2015-08-04 Richard Biener <rguenther@suse.de>
1733 * gimple-fold.c (gimple_fold_stmt_to_constant_1): Remove
1734 dispatching to fold_binary for GIMPLE_BINARY_RHS and for
1735 comparisons embedded in [VEC_]COND_EXPRs.
1737 2015-08-03 Abe Skolnik <a.skolnik@samsung.com>
1739 * tree-if-conv.c: Fix various typos in comments.
1740 * tree-vect-stmts.c: Likewise.
1742 2015-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
1744 PR tree-optimization/67043
1745 * loop-invariant.c (move_invariant_reg): Recompute luids in loop
1746 preheader after hoisting invariant in it.
1747 (find_defs): Force recomputation of all luids.
1749 2015-08-03 Peter Bergner <bergner@vnet.ibm.com>
1751 * config/rs6000/htm.md (tabort.): Restrict the source operand to
1752 using a base register.
1754 2015-08-03 David Malcolm <dmalcolm@redhat.com>
1756 * main.c (main): Pass in NULL for toplev's external_timer.
1757 * timevar.c: Include coretypes.h.
1758 (class timer::named_items): New.
1759 (timer::named_items::named_items): New.
1760 (timer::named_items::~named_items): New.
1761 (timer::named_items::push): New.
1762 (timer::named_items::pop): New.
1763 (timer::named_items::print): New.
1764 (timer::timer): Initialize field "m_jit_client_items".
1765 (timer::~timer): New.
1766 (timer::push): Move bulk of implementation to...
1767 (timer::push_internal): ...here. New function.
1768 (timer::pop): Move bulk of implementation to...
1769 (timer::pop_internal): ...here. New function.
1770 (timer::push_client_item): New.
1771 (timer::pop_client_item): New.
1772 (timer::print_row): New function, taken from timer::print.
1773 (timer::print): Print "GCC items" header if we also have client
1774 items. Move row-printing to timer::print_row. Print any client
1776 (timer::get_topmost_item_name): New method.
1777 * timevar.def (TV_JIT_ACQUIRING_MUTEX): New.
1778 (TV_JIT_CLIENT_CODE): New.
1779 * timevar.h (timer::push_client_item): New declaration.
1780 (timer::pop_client_item): New declaration.
1781 (timer::get_topmost_item_name): New method.
1782 (timer::push_internal): New declaration.
1783 (timer::pop_internal): New declaration.
1784 (timer::print_row): New declaration.
1785 (timer::named_items): New declaration.
1786 (timer::m_jit_client_items): New field.
1787 (timer): Add friend class named_items.
1788 (auto_timevar::auto_timevar): Add timer param.
1789 (auto_timevar::~auto_timevar): Use field "m_timer".
1790 (auto_timevar::m_timer): New field.
1791 * toplev.c (initialize_rtl): Add g_timer as param when
1792 constructing auto_timevar instance.
1793 (toplev::toplev): Add "external_timer" param, and use it to
1794 initialize the "g_timer" global if non-NULL.
1795 (toplev::~toplev): If this created "g_timer", delete it.
1796 * toplev.h (toplev::toplev): Replace "use_TV_TOTAL" bool param
1797 with "external_timer" timer *.
1799 2015-08-03 Alexander Basov <coohpt@gmail.com>
1804 * cfgexpand.c (expand_one_var): Add check if stack is going to
1805 be used in naked function.
1806 * expr.c (expand_expr_addr_expr_1): Remove excess checking
1807 whether expression should not reside in MEM.
1808 * function.c (use_register_for_decl): Do not use registers for
1809 non-register things (volatile, float, BLKMode) in naked functions.
1811 2015-08-03 John David Anglin <danglin@gcc.gnu.org>
1814 * config/pa/pa.md (call_reg_64bit): Remove reg:DI 1 clobber.
1815 Adjust splits to match new pattern.
1817 2015-08-03 Michael Meissner <meissner@linux.vnet.ibm.com>
1819 * config/rs6000/vector.md (VEC_L): Add KFmode and TFmode.
1822 (mov<mode>, VEC_M iterator): Add support for IEEE 128-bit floating
1823 point in VSX registers.
1825 * config/rs6000/constraints.md (wb constraint): Document unused
1827 (we constraint): Likewise.
1828 (wo constraint): Likewise.
1829 (wp constraint): New constraint for IEEE 128-bit floating point in
1831 (wq constraint): Likewise.
1833 * config/rs6000/predicates.md (easy_fp_constant): Add support for
1834 IEEE 128-bit floating point in VSX registers.
1835 (easy_scalar_constant): Likewise.
1837 * config/rs6000/rs6000.c (rs6000_debug_reg_global): Add new
1838 constraints (wp, wq) for IEEE 128-bit floating point in VSX
1840 (rs6000_init_hard_regno_mode_ok): Likewise.
1842 * config/rs6000/vsx.md (VSX_LE_128): Add support for IEEE 128-bit
1843 floating point in VSX registers.
1852 (vsx_le_permute_<mode>): Add support to properly swap bytes for
1853 IEEE 128-bit floating point in VSX registers on little endian.
1854 (vsx_le_undo_permute_<mode>): Likewise.
1855 (vsx_le_perm_load_<mode>): Likewise.
1856 (vsx_le_perm_store_<mode>): Likewise.
1857 (splitters for IEEE 128-bit fp moves): Likewise.
1859 * config/rs6000/rs6000.h (enum r6000_reg_class_enum): Add wp and
1862 * config/rs6000/altivec.md (VM): Add support for IEEE 128-bit
1863 floating point in VSX registers.
1866 * doc/md.text (Machine Constraints): Document wp and wq
1867 constraints on PowerPC.
1869 2015-08-03 Jeff Law <law@redhat.com>
1872 PR gcov-profile/66899
1873 * tree-ssa-threadupdate.c (mark_threaded_blocks): Correctly
1874 iterate over the jump threading paths when an element in the
1875 jump threading paths array is eliminated.
1877 2015-08-03 Segher Boessenkool <segher@kernel.crashing.org>
1879 * Makefile.in (OBJS): Put gimple-match.o and generic-match.o first.
1881 2015-08-03 Patrick Palka <ppalka@gcc.gnu.org>
1883 * tree-ssa-uninit.c (find_uninit_use): Declare and pass to
1884 is_use_properly_guarded the variable def_preds. Free its
1885 contents before returning.
1886 (prune_uninit_phi_opnds_in_unrealizable_paths): Same.
1887 (is_use_properly_guarded): Replace local variable def_preds with
1888 a parameter. Adjust accordingly. Only update *def_preds if it's
1891 2015-08-03 Richard Biener <rguenther@suse.de>
1893 * genmatch.c (simplify::for_subst_vec): New member.
1894 (binary_ok): New helper for for lowering.
1895 (lower_for): Delay substituting operators into result expressions
1896 if we can merge the results eventually again.
1897 (capture_info::walk_result): Adjust for user_id appearing as
1898 result expression operator.
1899 (expr::gen_transform): Likewise.
1900 (dt_simplify::gen_1): Likewise.
1901 (dt_simplify::gen): Pass not substituted operators to tail
1902 functions or initialize local variable with it.
1903 (decision_tree::gen): Adjust function signature.
1904 * match.pd: Fix tests against global code and add default
1905 cases to switch stmts.
1907 2015-08-03 Richard Biener <rguenther@suse.de>
1909 * genmatch.c (dt_simplify::gen): Create captures array
1910 with an initializer.
1912 2015-08-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1914 * configure.ac: Set aliasing_flags to -fno-strict-aliasing if
1915 the host compiler is affected by placement new aliasing bug.
1916 * configure: Regenerate.
1917 * Makefile.in (ALIASING_FLAGS): New variable.
1918 (ALL_CXXFLAGS): Add $(ALIASING_FLAGS).
1920 2015-08-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1923 * config/arm/vfp.md (negmuldf3_vfp): Add new pattern.
1924 (negmulsf3_vfp): Likewise.
1925 (muldf3negdf_vfp): Disable for -frounding-math.
1926 (mulsf3negsf_vfp): Likewise.
1927 * config/arm/arm.c (arm_new_rtx_costs): Fix NEG cost for VNMUL,
1928 fix MULT cost with -frounding-math.
1930 2015-08-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1932 * ifcvt.c (noce_try_store_flag_constants): Make logic of the case
1933 when diff == STORE_FLAG_VALUE or diff == -STORE_FLAG_VALUE more
1934 explicit. Prefer to add the flag whenever possible.
1935 (noce_process_if_block): Try noce_try_store_flag_constants before
1938 2015-08-03 Richard Biener <rguenther@suse.de>
1940 * genmatch.c (struct sinfo, struct sinfo_hashmap_traits, sinfo_map_t):
1941 New hash-map to record equivalent transforms.
1942 (dt_node::analyze): Populate the equivalent transforms hash-map.
1943 (dt_simplify::info): Add reference to hash-map entry.
1944 (dt_simplify::gen): If we have split out a function for the
1945 transform, generate a call to it.
1946 (sinfo_hashmap_traits::hash): New function.
1947 (compare_op): New helper function for ...
1948 (sinfo_hashmap_traits::equal_keys): ... this new function.
1949 (decision_tree::gen): Split out common equivalent transforms
1952 2015-08-03 Richard Biener <rguenther@suse.de>
1954 * gimple-fold.c (fold_gimple_assign): Remove folding of
1955 the comparison in COND_EXPRs.
1957 2015-08-03 Richard Biener <rguenther@suse.de>
1959 * gimple-match-head.c (gimple_simplify): For [VEC_]COND_EXPRs
1960 on the rhs of assignments first simplify the embedded
1963 2015-08-03 Richard Biener <rguenther@suse.de>
1965 PR tree-optimization/66917
1966 * tree-vectorizer.h (struct dataref_aux): Add base_element_aligned
1968 (DR_VECT_AUX): New macro.
1969 (set_dr_misalignment): Adjust.
1970 (dr_misalignment): Likewise.
1971 * tree-vect-data-refs.c (vect_compute_data_ref_alignment):
1972 Compute whether the base is at least element aligned.
1973 * tree-vect-stmts.c (ensure_base_align): Adjust.
1974 (vectorizable_store): If the base is not element aligned
1975 preserve alignment of the original access if misalignment is unknown.
1976 (vectorizable_load): Likewise.
1978 2015-08-02 Martin Sebor <msebor@redhat.com>
1980 * c-family/c.opt (-Wframe-address): New warning option.
1981 * doc/invoke.texi (Wframe-address): Document it.
1982 * doc/extend.texi (__builtin_frame_address, __builtin_return_address):
1983 Clarify possible effects of calling the functions with non-zero
1984 arguments and mention -Wframe-address.
1985 * builtins.c (expand_builtin_frame_address): Handle -Wframe-address.
1987 2015-08-01 Michael Collison <michael.collison@linaro.org
1988 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
1990 * gcc/config/arm/arm.md (*arm_smin_cmp): New pattern.
1991 (*arm_umin_cmp): Likewise.
1993 2015-08-01 Caroline Tice <cmtice@google.com>
1996 * vtable-verify.c (vtbl_mangled_name_types, vtbl_mangled_name_ids): New
1998 (vtbl_find_mangled_name): New function.
1999 (vtbl_register_mangled_name): New function.
2000 (vtbl_map_get_node): If DECL_ASSEMBLER_NAME is "<anon>", look up
2001 mangled name in mangled name vectors.
2002 (find_or_create_vtbl_map_node): Ditto.
2003 (var_is_used_for_virtual_call_p): Add recursion_depth parameter;
2004 update recursion_depth on function entry; pass it to every recursive
2005 call; automatically exit if depth > 25 (give up looking at that point).
2006 (verify_bb_vtables): Initialize recursion_depth and pass it to
2007 var_is_used_for_virtual_call_p.
2008 * vtable-verify.h (vtbl_mangbled_name_types, vtbl_mangled_name_ids): New
2009 global variable decls.
2010 (vtbl_register_mangled_name): New extern function decl.
2012 2015-08-01 Tom de Vries <tom@codesourcery.com>
2014 * tree.c (operation_can_overflow, operation_no_trapping_overflow): New
2016 * tree.h (operation_can_overflow, operation_no_trapping_overflow):
2018 * tree-vect-loop.c (vect_is_simple_reduction_1): Use
2019 operation_no_trapping_overflow. Allow non-overflow operations.
2020 * graphite-sese-to-poly.c (is_reduction_operation_p): Allow non-overflow
2023 2015-07-31 Kaz Kojima <kkojima@gcc.gnu.org>
2026 * config/sh/sh.md (GOTaddr2picreg): Fix typo.
2028 2015-07-31 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2030 * config/arm/arm.md (*if_neg_move): Convert to insn_and_split.
2031 Enable for TARGET_32BIT.
2032 (*if_move_neg): Likewise.
2034 2015-07-31 Nick Clifton <nickc@redhat.com>
2036 * config/m32r/m32r.c (m32r_attribute_identifier): New function.
2037 Returns true for __model__.
2038 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Define.
2040 2015-07-31 Alan Modra <amodra@gmail.com>
2043 * config/rs6000/rs6000.c (machine_function): Add split_stack_argp_used.
2044 (rs6000_emit_prologue): Set it.
2045 (rs6000_set_up_by_prologue): Specify r12 when split_stack_argp_used.
2047 2015-07-31 Richard Biener <rguenther@suse.de>
2049 * fold-const.c (fold_binary_loc): Remove X ^ C1 == C2
2050 -> X == (C1 ^ C2) which is already implemented in match.pd.
2051 Remove redundant dispatching to fold_relational_const.
2052 Move unordered self and NaN compares ...
2053 * match.pd: ... as patterns here. Remove some stray captures
2056 2015-07-31 Petr Murzin <petr.murzin@intel.com>
2058 * config/i386/i386.c
2059 (bdesc_special_args): Convert mask type from signed to unsigned for
2061 (ix86_expand_args_builtin): Do not handle UINT_FTYPE_V2DF,
2062 UINT64_FTYPE_V2DF, UINT64_FTYPE_V4SF, V16QI_FTYPE_V8DI,
2063 V16HI_FTYPE_V16SI, V16SI_FTYPE_V16SI, V16SF_FTYPE_FLOAT,
2064 V8HI_FTYPE_V8DI, V8UHI_FTYPE_V8UHI, V8SI_FTYPE_V8DI, V8SF_FTYPE_V8DF,
2065 V8DI_FTYPE_INT64, V8DI_FTYPE_V4DI, V8DI_FTYPE_V8DI, V8DF_FTYPE_DOUBLE,
2066 V8DF_FTYPE_V8SI, V16SI_FTYPE_V16SI_V16SI, V16SF_FTYPE_V16SF_V16SI,
2067 V8DI_FTYPE_V8DI_V8DI, V8DF_FTYPE_V8DF_V8DI, V4SI_FTYPE_V4SF_V4SF,
2068 V4SF_FTYPE_V4SF_UINT64, V2UDI_FTYPE_V4USI_V4USI, V2DI_FTYPE_V2DF_V2DF,
2069 V2DF_FTYPE_V2DF_UINT64, V4UDI_FTYPE_V8USI_V8USI, QI_FTYPE_V8DI_V8DI,
2070 HI_FTYPE_V16SI_V16SI, HI_FTYPE_HI_INT, V16SF_FTYPE_V16SF_V16SF_V16SF,
2071 V16SF_FTYPE_V16SF_V16SI_V16SF, V16SF_FTYPE_V16SI_V16SF_HI,
2072 V16SF_FTYPE_V16SI_V16SF_V16SF, V16SI_FTYPE_V16SF_V16SI_HI,
2073 V8DI_FTYPE_V8SF_V8DI_QI, V8SF_FTYPE_V8DI_V8SF_QI, V8DI_FTYPE_PV4DI,
2074 V8DF_FTYPE_V8DI_V8DF_QI, V16SI_FTYPE_V16SI_V16SI_V16SI,
2075 V2DI_FTYPE_V2DI_V2DI_V2DI, V8DI_FTYPE_V8DF_V8DI_QI, V8DF_FTYPE_PV4DF,
2076 V8SI_FTYPE_V8SI_V8SI_V8SI, V8DF_FTYPE_V8DF_V8DF_V8DF, UINT_FTYPE_V4SF,
2077 V8DF_FTYPE_V8DF_V8DI_V8DF, V8DF_FTYPE_V8DI_V8DF_V8DF,
2078 V8DF_FTYPE_V8SF_V8DF_QI, V8DI_FTYPE_V8DI_V8DI_V8DI, V16SF_FTYPE_PV4SF,
2079 V8SF_FTYPE_V8DF_V8SF_QI, V8SI_FTYPE_V8DF_V8SI_QI, V16SI_FTYPE_PV4SI,
2080 V2DF_FTYPE_V2DF_V4SF_V2DF_QI, V4SF_FTYPE_V4SF_V2DF_V4SF_QI,
2081 V8DI_FTYPE_V8DI_SI_V8DI_V8DI, QI_FTYPE_V8DF_V8DF_INT_QI,
2082 HI_FTYPE_V16SF_V16SF_INT_HI, V16SF_FTYPE_V16SF_V16SF_V16SI_INT_HI,
2083 VOID_FTYPE_PDOUBLE_V2DF_QI, VOID_FTYPE_PFLOAT_V4SF_QI,
2084 V2DF_FTYPE_PCDOUBLE_V2DF_QI, V4SF_FTYPE_PCFLOAT_V4SF_QI.
2085 * config/i386/i386-builtin-types.def
2086 (V16QI_FTYPE_V16SI): Remove.
2087 (V8DF_FTYPE_V8SI): Ditto.
2088 (V8HI_FTYPE_V8DI): Ditto.
2089 (V8SI_FTYPE_V8DI): Ditto.
2090 (V8SF_FTYPE_V8DF): Ditto.
2091 (V8SF_FTYPE_V8DF_V8SF_QI): Ditto.
2092 (V16HI_FTYPE_V16SI): Ditto.
2093 (V16SF_FTYPE_V16HI): Ditto.
2094 (V16SF_FTYPE_V16HI_V16SF_HI): Ditto.
2095 (V16SF_FTYPE_V16SI): Ditto.
2096 (V4DI_FTYPE_V4DI): Ditto.
2097 (V16SI_FTYPE_V16SF): Ditto.
2098 (V16SF_FTYPE_FLOAT): Ditto.
2099 (V8DF_FTYPE_DOUBLE): Ditto.
2100 (V8DI_FTYPE_INT64): Ditto.
2101 (V8DI_FTYPE_V4DI): Ditto.
2102 (V16QI_FTYPE_V8DI): Ditto.
2103 (UINT_FTYPE_V4SF): Ditto.
2104 (UINT64_FTYPE_V4SF): Ditto.
2105 (UINT_FTYPE_V2DF): Ditto.
2106 (UINT64_FTYPE_V2DF): Ditto.
2107 (V16SI_FTYPE_V16SI): Ditto.
2108 (V8DI_FTYPE_V8DI): Ditto.
2109 (V16SI_FTYPE_PV4SI): Ditto.
2110 (V16SF_FTYPE_PV4SF): Ditto.
2111 (V8DI_FTYPE_PV2DI): Ditto.
2112 (V8DF_FTYPE_PV2DF): Ditto.
2113 (V4DI_FTYPE_PV2DI): Ditto.
2114 (V4DF_FTYPE_PV2DF): Ditto.
2115 (V16SI_FTYPE_PV2SI): Ditto.
2116 (V16SF_FTYPE_PV2SF): Ditto.
2117 (V8DI_FTYPE_PV4DI): Ditto.
2118 (V8DF_FTYPE_PV4DF): Ditto.
2119 (V8SF_FTYPE_FLOAT): Ditto.
2120 (V4SF_FTYPE_FLOAT): Ditto.
2121 (V4DF_FTYPE_DOUBLE): Ditto.
2122 (V8SF_FTYPE_PV4SF): Ditto.
2123 (V8SI_FTYPE_PV4SI): Ditto.
2124 (V4SI_FTYPE_PV2SI): Ditto.
2125 (V8SF_FTYPE_PV2SF): Ditto.
2126 (V8SI_FTYPE_PV2SI): Ditto.
2127 (V16SF_FTYPE_PV8SF): Ditto.
2128 (V16SI_FTYPE_PV8SI): Ditto.
2129 (V8DI_FTYPE_V8SF): Ditto.
2130 (V4DI_FTYPE_V4SF): Ditto.
2131 (V2DI_FTYPE_V4SF): Ditto.
2132 (V64QI_FTYPE_QI): Ditto.
2133 (V32HI_FTYPE_HI): Ditto.
2134 (V8UHI_FTYPE_V8UHI): Ditto.
2135 (V16UHI_FTYPE_V16UHI): Ditto.
2136 (V32UHI_FTYPE_V32UHI): Ditto.
2137 (V2UDI_FTYPE_V2UDI): Ditto.
2138 (V4UDI_FTYPE_V4UDI): Ditto.
2139 (V8UDI_FTYPE_V8UDI): Ditto.
2140 (V4USI_FTYPE_V4USI): Ditto.
2141 (V8USI_FTYPE_V8USI): Ditto.
2142 (V16USI_FTYPE_V16USI): Ditto.
2143 (V2DF_FTYPE_V2DF_UINT64): Ditto.
2144 (V2DI_FTYPE_V2DF_V2DF): Ditto.
2145 (V2UDI_FTYPE_V4USI_V4USI): Ditto.
2146 (V8DF_FTYPE_V8DF_V8DI): Ditto.
2147 (V4SF_FTYPE_V4SF_UINT64): Ditto.
2148 (V4SI_FTYPE_V4SF_V4SF): Ditto.
2149 (V16SF_FTYPE_V16SF_V16SI): Ditto.
2150 (V64QI_FTYPE_V32HI_V32HI): Ditto.
2151 (V32HI_FTYPE_V16SI_V16SI): Ditto.
2152 (V8DF_FTYPE_V8DF_V8DF_V8DI_INT_QI): Ditto.
2153 (V16SF_FTYPE_V16SF_V16SF_V16SI_INT_HI): Ditto.
2154 (V32HI_FTYPE_V64QI_V64QI): Ditto.
2155 (V32HI_FTYPE_V32HI_V32HI): Ditto.
2156 (V16HI_FTYPE_V16HI_V16HI_INT_V16HI_HI): Ditto.
2157 (V16SI_FTYPE_V16SI_V4SI): Ditto.
2158 (V16SI_FTYPE_V16SI_V16SI): Ditto.
2159 (V16SI_FTYPE_V32HI_V32HI): Ditto.
2160 (V16SI_FTYPE_V16SI_SI): Ditto.
2161 (V8DI_FTYPE_V8DI_V8DI): Ditto.
2162 (V4UDI_FTYPE_V8USI_V8USI): Ditto.
2163 (V8DI_FTYPE_V16SI_V16SI): Ditto.
2164 (V8DI_FTYPE_V8DI_V2DI): Ditto.
2165 (QI_FTYPE_QI): Ditto.
2166 (SI_FTYPE_SI): Ditto.
2167 (DI_FTYPE_DI): Ditto.
2168 (QI_FTYPE_QI_QI): Ditto.
2169 (QI_FTYPE_QI_INT): Ditto.
2170 (HI_FTYPE_HI_INT): Ditto.
2171 (SI_FTYPE_SI_INT): Ditto.
2172 (DI_FTYPE_DI_INT): Ditto.
2173 (HI_FTYPE_V16QI_V16QI): Ditto.
2174 (SI_FTYPE_V32QI_V32QI): Ditto.
2175 (DI_FTYPE_V64QI_V64QI): Ditto.
2176 (QI_FTYPE_V8HI_V8HI): Ditto.
2177 (HI_FTYPE_V16HI_V16HI): Ditto.
2178 (SI_FTYPE_V32HI_V32HI): Ditto.
2179 (QI_FTYPE_V4SI_V4SI): Ditto.
2180 (QI_FTYPE_V8SI_V8SI): Ditto.
2181 (QI_FTYPE_V2DI_V2DI): Ditto.
2182 (QI_FTYPE_V4DI_V4DI): Ditto.
2183 (QI_FTYPE_V8DI_V8DI): Ditto.
2184 (HI_FTYPE_V16SI_V16SI): Ditto.
2185 (HI_FTYPE_V16SI_V16SI_INT_HI): Ditto.
2186 (QI_FTYPE_V8DF_V8DF_INT_QI): Ditto.
2187 (HI_FTYPE_V16SF_V16SF_INT_HI): Ditto.
2188 (V32HI_FTYPE_V32HI_V32HI_V32HI): Ditto.
2189 (V4SF_FTYPE_V4SF_V2DF_V4SF_QI): Ditto.
2190 (V8DF_FTYPE_V8DF_V8DF_V8DF): Ditto.
2191 (V16SF_FTYPE_V16SF_V16SF_V16SF): Ditto.
2192 (V8DF_FTYPE_V8SF_V8DF_QI): Ditto.
2193 (V8DI_FTYPE_V8DF_V8DI_QI): Ditto.
2194 (V8DF_FTYPE_V8DI_V8DF_V8DF): Ditto.
2195 (V2DF_FTYPE_V2DF_V4SF_V2DF_QI): Ditto.
2196 (V16SF_FTYPE_V16SI_V16SF_HI): Ditto.
2197 (V16SF_FTYPE_V16SI_V16SF_V16SF): Ditto.
2198 (V8SI_FTYPE_V8DF_V8SI_QI): Ditto.
2199 (V8DI_FTYPE_PCCHAR_V8DI_QI): Ditto.
2200 (V8SF_FTYPE_PCFLOAT_V8SF_QI): Ditto.
2201 (V4SF_FTYPE_PCFLOAT_V4SF_QI): Ditto.
2202 (V4DF_FTYPE_PCDOUBLE_V4DF_QI): Ditto.
2203 (V2DF_FTYPE_PCDOUBLE_V2DF_QI): Ditto.
2204 (V8SI_FTYPE_PCCHAR_V8SI_QI): Ditto.
2205 (V4SI_FTYPE_PCCHAR_V4SI_QI): Ditto.
2206 (V4DI_FTYPE_PCCHAR_V4DI_QI): Ditto.
2207 (V2DI_FTYPE_PCCHAR_V2DI_QI): Ditto.
2208 (V16SF_FTYPE_PCV8SF_V16SF_HI): Ditto.
2209 (V16SI_FTYPE_PCV8SI_V16SI_HI): Ditto.
2210 (V8DF_FTYPE_PCV2DF_V8DF_QI): Ditto.
2211 (V8SF_FTYPE_PCV4SF_V8SF_QI): Ditto.
2212 (V8DI_FTYPE_PCV2DI_V8DI_QI): Ditto.
2213 (V8SI_FTYPE_PCV4SI_V8SI_QI): Ditto.
2214 (V4DF_FTYPE_PCV2DF_V4DF_QI): Ditto.
2215 (V4DI_FTYPE_PCV2DI_V4DI_QI): Ditto.
2216 (VOID_FTYPE_PDOUBLE_V2DF_QI): Ditto.
2217 (VOID_FTYPE_PFLOAT_V4SF_QI): Ditto.
2218 (V16SI_FTYPE_V16SF_V16SI_HI): Ditto.
2219 (V8DI_FTYPE_V8SF_V8DI_QI): Ditto.
2220 (V8SF_FTYPE_V8DI_V8SF_QI): Ditto.
2221 (V8DF_FTYPE_V8DI_V8DF_QI): Ditto.
2222 (V2DF_FTYPE_V2DF_V2DF_V2DI): Ditto.
2223 (V4SF_FTYPE_V4SF_V4SF_V4SI): Ditto.
2224 (V2UDI_FTYPE_V2UDI_V2UDI_V2UDI): Ditto.
2225 (V4USI_FTYPE_V4USI_V4USI_V4USI): Ditto.
2226 (V8UHI_FTYPE_V8UHI_V8UHI_V8UHI): Ditto.
2227 (V16UQI_FTYPE_V16UQI_V16UQI_V16UQI): Ditto.
2228 (V4DF_FTYPE_V4DF_V4DF_V4DI): Ditto.
2229 (V8SF_FTYPE_V8SF_V8SF_V8SI): Ditto.
2230 (V8DI_FTYPE_V8DI_V8DI_V8DI): Ditto.
2231 (V16SI_FTYPE_V16SI_V16SI_V16SI): Ditto.
2232 (V2DF_FTYPE_V2DF_V2DI_V2DF): Ditto.
2233 (V4DF_FTYPE_V4DF_V4DI_V4DF): Ditto.
2234 (V8DF_FTYPE_V8DF_V8DI_V8DF): Ditto.
2235 (V4SF_FTYPE_V4SF_V4SI_V4SF): Ditto.
2236 (V8SF_FTYPE_V8SF_V8SI_V8SF): Ditto.
2237 (V16SF_FTYPE_V16SF_V16SI_V16SF): Ditto.
2238 (V8DI_FTYPE_V8DI_SI_V8DI_V8DI): Ditto.
2239 (PVOID_FTYPE_PVOID_PVOID_ULONG): Ditto.
2240 (V4SF_FTYPE_V2DF_V4SF_QI): Convert mask type from signed to unsigned.
2241 (V4SF_FTYPE_V4DF_V4SF_QI): Ditto.
2242 (V4SF_FTYPE_V8HI_V4SF_QI): Ditto.
2243 (V8SF_FTYPE_V8HI_V8SF_QI): Ditto.
2244 (V16SI_FTYPE_V16SI_V16SI_HI): Ditto.
2245 (V8DI_FTYPE_V8DI_V8DI_QI): Ditto.
2246 (V2DF_FTYPE_V4DF_INT_V2DF_QI): Ditto.
2247 (V2DF_FTYPE_V8DF_INT_V2DF_QI): Ditto.
2248 (V2DI_FTYPE_V2DI_INT_V2DI_QI): Ditto.
2249 (V4DF_FTYPE_V8DF_INT_V4DF_QI): Ditto.
2250 (V4SF_FTYPE_V8SF_INT_V4SF_QI): Ditto.
2251 (V4SI_FTYPE_V2DF_V4SI_QI): Ditto.
2252 (V4SI_FTYPE_V4SI_INT_V4SI_QI): Ditto.
2253 (V4SI_FTYPE_V8HI_V8HI_V4SI_QI): Ditto.
2254 (V4SI_FTYPE_V8SI_INT_V4SI_QI): Ditto.
2255 (V8HI_FTYPE_V16QI_V16QI_V8HI_QI): Ditto.
2256 (V8HI_FTYPE_V8SF_INT_V8HI_QI): Ditto.
2257 (V8HI_FTYPE_V4SF_INT_V8HI_QI): Ditto.
2258 (V8SF_FTYPE_V16SF_INT_V8SF_QI): Ditto.
2259 (V4SF_FTYPE_V16SF_INT_V4SF_QI): Ditto.
2260 (V8DF_FTYPE_V8DF_V2DF_INT_V8DF_QI): Ditto.
2261 (V8DF_FTYPE_V8DF_V4DF_INT_V8DF_QI): Ditto.
2262 (V8DF_FTYPE_V8DF_V8DF_INT_V8DF_QI): Ditto.
2263 (V8DF_FTYPE_V8DF_INT_V8DF_QI): Ditto.
2264 (V4DF_FTYPE_V4DF_V4DF_V4DI_INT_QI): Ditto.
2265 (V2DF_FTYPE_V2DF_V2DF_V2DI_INT_QI): Ditto.
2266 (V16SF_FTYPE_V16SF_V16SF_INT_V16SF_HI): Ditto.
2267 (V16SF_FTYPE_V16SF_INT_V16SF_HI): Ditto.
2268 (V16SI_FTYPE_V16SI_V4SI_INT_V16SI_HI): Ditto.
2269 (V8SF_FTYPE_V8SF_V8SF_V8SI_INT_QI): Ditto.
2270 (V4SF_FTYPE_V4SF_V4SF_V4SI_INT_QI): Ditto.
2271 (V16SF_FTYPE_V16SF_V4SF_INT_V16SF_HI): Ditto.
2272 (V16SF_FTYPE_V16SF_V8SF_INT_V16SF_HI): Ditto.
2273 (V16HI_FTYPE_V32QI_V32QI_V16HI_HI): Ditto.
2274 (V32HI_FTYPE_V64QI_V64QI_V32HI_SI): Ditto.
2275 (V16HI_FTYPE_V16SF_INT_V16HI_HI): Ditto.
2276 (V16SI_FTYPE_V16SI_V8SI_INT_V16SI_HI): Ditto.
2277 (V4SI_FTYPE_V16SI_INT_V4SI_QI): Ditto.
2278 (V16SI_FTYPE_V16SI_V16SI_INT_V16SI_HI): Ditto.
2279 (V8SI_FTYPE_V16HI_V16HI_V8SI_QI): Ditto.
2280 (V16SI_FTYPE_V32HI_V32HI_V16SI_HI): Ditto.
2281 (V8SI_FTYPE_V8SI_INT_V8SI_QI): Ditto.
2282 (V8SI_FTYPE_V16SI_INT_V8SI_QI): Ditto.
2283 (V16SI_FTYPE_V16SI_V4SI_V16SI_HI): Ditto.
2284 (V16SI_FTYPE_V16SI_INT_V16SI_HI): Ditto.
2285 (V8DI_FTYPE_V8DI_V8DI_INT_V8DI_QI): Ditto.
2286 (V8DI_FTYPE_V8DI_V8DI_INT_V8DI_DI): Ditto.
2287 (V4DI_FTYPE_V4DI_V4DI_INT_V4DI_SI): Ditto.
2288 (V2DI_FTYPE_V2DI_V2DI_INT_V2DI_HI): Ditto.
2289 (V8DI_FTYPE_V8DI_V2DI_INT_V8DI_QI): Ditto.
2290 (V8DI_FTYPE_V8DI_V4DI_INT_V8DI_QI): Ditto.
2291 (V4DI_FTYPE_V8DI_INT_V4DI_QI): Ditto.
2292 (V8DI_FTYPE_V8DI_V2DI_V8DI_QI): Ditto.
2293 (V8DI_FTYPE_V8DI_INT_V8DI_QI): Ditto.
2294 (V4DI_FTYPE_V4DI_INT_V4DI_QI): Ditto.
2295 (V2DI_FTYPE_V4DI_INT_V2DI_QI): Ditto.
2296 (V2DI_FTYPE_V8DI_INT_V2DI_QI): Ditto.
2297 (HI_FTYPE_HI): Ditto.
2298 (HI_FTYPE_V16QI): Ditto.
2299 (SI_FTYPE_V32QI): Ditto.
2300 (DI_FTYPE_V64QI): Ditto.
2301 (QI_FTYPE_V8HI): Ditto.
2302 (HI_FTYPE_V16HI): Ditto.
2303 (SI_FTYPE_V32HI): Ditto.
2304 (QI_FTYPE_V4SI): Ditto.
2305 (QI_FTYPE_V8SI): Ditto.
2306 (HI_FTYPE_V16SI): Ditto.
2307 (QI_FTYPE_V2DI): Ditto.
2308 (QI_FTYPE_V4DI): Ditto.
2309 (QI_FTYPE_V8DI): Ditto.
2310 (V16QI_FTYPE_HI): Ditto.
2311 (V32QI_FTYPE_SI): Ditto.
2312 (V64QI_FTYPE_DI): Ditto.
2313 (V8HI_FTYPE_QI): Ditto.
2314 (V16HI_FTYPE_HI): Ditto.
2315 (V32HI_FTYPE_SI): Ditto.
2316 (V4SI_FTYPE_QI): Ditto.
2317 (V4SI_FTYPE_HI): Ditto.
2318 (V8SI_FTYPE_QI): Ditto.
2319 (V8SI_FTYPE_HI): Ditto.
2320 (V2DI_FTYPE_QI): Ditto.
2321 (V4DI_FTYPE_QI): Ditto.
2322 (HI_FTYPE_HI_HI): Ditto.
2323 (SI_FTYPE_SI_SI): Ditto.
2324 (DI_FTYPE_DI_DI): Ditto.
2325 (HI_FTYPE_V16QI_V16QI_HI): Ditto.
2326 (HI_FTYPE_V16QI_V16QI_INT_HI): Ditto.
2327 (SI_FTYPE_V32QI_V32QI_SI): Ditto.
2328 (SI_FTYPE_V32QI_V32QI_INT_SI): Ditto.
2329 (DI_FTYPE_V64QI_V64QI_DI): Ditto.
2330 (DI_FTYPE_V64QI_V64QI_INT_DI): Ditto.
2331 (QI_FTYPE_V8HI_V8HI_QI): Ditto.
2332 (QI_FTYPE_V8HI_V8HI_INT_QI): Ditto.
2333 (HI_FTYPE_V16HI_V16HI_HI): Ditto.
2334 (HI_FTYPE_V16HI_V16HI_INT_HI): Ditto.
2335 (SI_FTYPE_V32HI_V32HI_SI): Ditto.
2336 (SI_FTYPE_V32HI_V32HI_INT_SI): Ditto.
2337 (QI_FTYPE_V4SI_V4SI_QI): Ditto.
2338 (QI_FTYPE_V4SI_V4SI_INT_QI): Ditto.
2339 (QI_FTYPE_V8SI_V8SI_QI): Ditto.
2340 (QI_FTYPE_V8SI_V8SI_INT_QI): Ditto.
2341 (QI_FTYPE_V2DI_V2DI_QI): Ditto.
2342 (QI_FTYPE_V2DI_V2DI_INT_QI): Ditto.
2343 (QI_FTYPE_V4DI_V4DI_QI): Ditto.
2344 (QI_FTYPE_V4DI_V4DI_INT_QI): Ditto.
2345 (QI_FTYPE_V8DI_V8DI_QI): Ditto.
2346 (HI_FTYPE_V16SI_V16SI_HI): Ditto.
2347 (QI_FTYPE_V8DI_V8DI_INT): Ditto.
2348 (QI_FTYPE_V8DI_V8DI_INT_QI): Ditto.
2349 (HI_FTYPE_V16SI_V16SI_INT): Ditto.
2350 (HI_FTYPE_V16SI_V16SI_INT _HI): Ditto.
2351 (QI_FTYPE_V8DF_V8DF_INT): Ditto.
2352 (QI_FTYPE_V8DF_V8DF_INT_QI_INT): Ditto.
2353 (HI_FTYPE_V16SF_V16SF_INT): Ditto.
2354 (HI_FTYPE_V16SF_V16SF_INT_HI_INT): Ditto.
2355 (QI_FTYPE_V2DF_V2DF_INT): Ditto.
2356 (QI_FTYPE_V2DF_V2DF_INT_QI): Ditto.
2357 (QI_FTYPE_V2DF_V2DF_INT_QI_INT): Ditto.
2358 (QI_FTYPE_V4SF_V4SF_INT): Ditto.
2359 (QI_FTYPE_V4SF_V4SF_INT_QI): Ditto.
2360 (QI_FTYPE_V4SF_V4SF_INT_QI_INT): Ditto.
2361 (V16SI_FTYPE_HI): Ditto.
2362 (V8DI_FTYPE_QI): Ditto.
2363 (V2DF_FTYPE_V2DI_V2DF_V2DF_QI): Ditto.
2364 (V2DF_FTYPE_V2DF_V2DI_V2DF_QI): Ditto.
2365 (V4DF_FTYPE_V4DF_V2DF_INT_V4DF_QI): Ditto.
2366 (V4SF_FTYPE_V4SI_V4SF_V4SF_QI): Ditto.
2367 (V4SF_FTYPE_V4SF_V4SI_V4SF_QI): Ditto.
2368 (V4SF_FTYPE_V4SF_V4SF_V4SF_QI): Ditto.
2369 (V8SF_FTYPE_V8SF_V4SF_INT_V8SF_QI): Ditto.
2370 (V8SI_FTYPE_V8SI_V4SI_INT_V8SI_QI): Ditto.
2371 (V4DI_FTYPE_V4DI_V2DI_INT_V4DI_QI): Ditto.
2372 (V2DF_FTYPE_V2DF_V2DF_QI): Ditto.
2373 (V2DF_FTYPE_V4SF_V2DF_QI): Ditto.
2374 (V2DF_FTYPE_V4SI_V2DF_QI): Ditto.
2375 (V4DF_FTYPE_V4DF_V4DF_QI): Ditto.
2376 (V4DF_FTYPE_V4SF_V4DF_QI): Ditto.
2377 (V4DF_FTYPE_V4SI_V4DF_QI): Ditto.
2378 (V8DF_FTYPE_V8DF_V8DF_QI): Ditto.
2379 (V8DF_FTYPE_V8SI_V8DF_QI): Ditto.
2380 (V2DI_FTYPE_V4SI_V2DI_QI): Ditto.
2381 (V2DI_FTYPE_V8HI_V2DI_QI): Ditto.
2382 (V4DI_FTYPE_V4DF_V4DI_QI): Ditto.
2383 (V2DI_FTYPE_V2DF_V2DI_QI): Ditto.
2384 (V2DI_FTYPE_V2DI_V2DI_V2DI_QI): Ditto.
2385 (V2DI_FTYPE_V2DI_V2DI_INT_V2DI_QI): Ditto.
2386 (V4DI_FTYPE_V4DI_V4DI_V4DI_QI): Ditto.
2387 (V4DI_FTYPE_V4DI_V4DI_INT_V4DI_QI): Ditto.
2388 (V8DI_FTYPE_V8SI_V8DI_QI): Ditto.
2389 (V8DI_FTYPE_V8HI_V8DI_QI): Ditto.
2390 (V8DI_FTYPE_V16QI_V8DI_QI): Ditto.
2391 (V2DI_FTYPE_V16QI_V2DI_QI): Ditto.
2392 (V4DI_FTYPE_V16QI_V4DI_QI): Ditto.
2393 (V4DI_FTYPE_V4DI_V4DI_QI): Ditto.
2394 (V4DI_FTYPE_V4SI_V4DI_QI): Ditto.
2395 (V4DI_FTYPE_V8HI_V4DI_QI): Ditto.
2396 (V8DI_FTYPE_V8DI_V8DI_V8DI_QI): Ditto.
2397 (V8DF_FTYPE_V8DI_V8DF_V8DF_QI): Ditto.
2398 (V8DF_FTYPE_V8DF_V8DI_V8DF_QI): Ditto.
2399 (V4DF_FTYPE_V4DI_V4DF_V4DF_QI): Ditto.
2400 (V4DF_FTYPE_V4DF_V4DI_V4DF_QI): Ditto.
2401 (V4DF_FTYPE_V4DF_V4DF_V4DF_QI): Ditto.
2402 (V8DF_FTYPE_V8DF_V8DF_V8DF_QI): Ditto.
2403 (V16QI_FTYPE_V16QI_V16QI_V16QI_HI): Ditto.
2404 (V16HI_FTYPE_V16HI_V16HI_V16HI_HI): Ditto.
2405 (V16SI_FTYPE_V16SI_V16SI_V16SI_HI): Ditto.
2406 (V2DF_FTYPE_V2DF_V2DF_V2DF_QI): Ditto.
2407 (V32HI_FTYPE_V32HI_V32HI_V32HI_SI): Ditto.
2408 (V64QI_FTYPE_V64QI_V64QI_V64QI_DI): Ditto.
2409 (V32QI_FTYPE_V32QI_V32QI_V32QI_SI): Ditto.
2410 (V8HI_FTYPE_V8HI_V8HI_V8HI_QI): Ditto.
2411 (V4SF_FTYPE_V4SF_V4SF_QI): Ditto.
2412 (V4SF_FTYPE_V4SI_V4SF_QI): Ditto.
2413 (V8SF_FTYPE_V8SF_V8SF_QI): Ditto.
2414 (V8SF_FTYPE_V8SI_V8SF_QI): Ditto.
2415 (V16SF_FTYPE_V16SF_V16SF_HI): Ditto.
2416 (V4SI_FTYPE_V16QI_V4SI_QI): Ditto.
2417 (V4SI_FTYPE_V8HI_V4SI_QI): Ditto.
2418 (V8SI_FTYPE_V8SI_V8SI_QI): Ditto.
2419 (V8SI_FTYPE_V8HI_V8SI_QI): Ditto.
2420 (V8SI_FTYPE_V16QI_V8SI_QI): Ditto.
2421 (V4SI_FTYPE_V4SI_V4SI_V4SI_QI): Ditto.
2422 (V4SI_FTYPE_V4SI_V4SI_INT_V4SI_QI): Ditto.
2423 (V8SF_FTYPE_V8SF_V8SF_V8SF_QI): Ditto.
2424 (V8SF_FTYPE_V8SI_V8SF_V8SF_QI): Ditto.
2425 (V8SF_FTYPE_V8SF_V8SI_V8SF_QI): Ditto.
2426 (V8SI_FTYPE_V8SI_V8SI_V8SI_QI): Ditto.
2427 (V8SI_FTYPE_V8SI_V8SI_INT_V8SI_QI): Ditto.
2428 (V16SF_FTYPE_V16SF_V16SF_V16SF_HI): Ditto.
2429 (V16SF_FTYPE_V16SI_V16SF_V16SF_HI): Ditto.
2430 (V16SF_FTYPE_V16SF_V16SI_V16SF_HI): Ditto.
2431 (V16SF_FTYPE_V8SF_V16SF_HI): Ditto.
2432 (V16SF_FTYPE_V4SF_V16SF_HI): Ditto.
2433 (V8DF_FTYPE_V4DF_V8DF_QI): Ditto.
2434 (V8DF_FTYPE_V2DF_V8DF_QI): Ditto.
2435 (V16SI_FTYPE_V8SI_V16SI_HI): Ditto.
2436 (V16SI_FTYPE_V4SI_V16SI_HI): Ditto.
2437 (V16SI_FTYPE_SI_V16SI_HI): Ditto.
2438 (V16SI_FTYPE_V16HI_V16SI_HI): Ditto.
2439 (V16SI_FTYPE_V16QI_V16SI_HI): Ditto.
2440 (V8DI_FTYPE_V4DI_V8DI_QI): Ditto.
2441 (V4SI_FTYPE_V4DF_V4SI_QI): Ditto.
2442 (V8DI_FTYPE_V2DI_V8DI_QI): Ditto.
2443 (V8DI_FTYPE_DI_V8DI_QI): Ditto.
2444 (V16QI_FTYPE_V16SI_V16QI_HI): Ditto.
2445 (V16QI_FTYPE_V8DI_V16QI_QI): Ditto.
2446 (V32HI_FTYPE_V32HI_V32HI_SI): Ditto.
2447 (V32HI_FTYPE_V32QI_V32HI_SI): Ditto.
2448 (V16HI_FTYPE_V16HI_V16HI_HI): Ditto.
2449 (V16HI_FTYPE_V16QI_V16HI_HI): Ditto.
2450 (V8HI_FTYPE_V16QI_V8HI_QI): Ditto.
2451 (V8SF_FTYPE_V4SF_V8SF_QI): Ditto.
2452 (V4DF_FTYPE_V2DF_V4DF_QI): Ditto.
2453 (V8SI_FTYPE_V4SI_V8SI_QI): Ditto.
2454 (V8SI_FTYPE_SI_V8SI_QI): Ditto.
2455 (V4SI_FTYPE_V4SI_V4SI_QI): Ditto.
2456 (V4SI_FTYPE_SI_V4SI_QI): Ditto.
2457 (V4DI_FTYPE_V2DI_V4DI_QI): Ditto.
2458 (V4DI_FTYPE_DI_V4DI_QI): Ditto.
2459 (V2DI_FTYPE_V2DI_V2DI_QI): Ditto.
2460 (V2DI_FTYPE_DI_V2DI_QI): Ditto.
2461 (V64QI_FTYPE_V64QI_V64QI_DI): Ditto.
2462 (V64QI_FTYPE_V16QI_V64QI_DI): Ditto.
2463 (V64QI_FTYPE_QI_V64QI_DI): Ditto.
2464 (V32QI_FTYPE_V32QI_V32QI_SI): Ditto.
2465 (V32QI_FTYPE_V16QI_V32QI_SI): Ditto.
2466 (V32QI_FTYPE_QI_V32QI_SI): Ditto.
2467 (V16QI_FTYPE_V16QI_V16QI_HI): Ditto.
2468 (V16QI_FTYPE_QI_V16QI_HI): Ditto.
2469 (V32HI_FTYPE_V8HI_V32HI_SI): Ditto.
2470 (V32HI_FTYPE_HI_V32HI_SI): Ditto.
2471 (V16HI_FTYPE_V8HI_V16HI_HI): Ditto.
2472 (V16HI_FTYPE_HI_V16HI_HI): Ditto.
2473 (V8HI_FTYPE_V8HI_V8HI_QI): Ditto.
2474 (V8HI_FTYPE_HI_V8HI_QI): Ditto.
2475 (V64QI_FTYPE_PCV64QI_V64QI_DI): Ditto.
2476 (V32HI_FTYPE_PCV32HI_V32HI_SI): Ditto.
2477 (V32QI_FTYPE_PCV32QI_V32QI_SI): Ditto.
2478 (V16SF_FTYPE_PCV16SF_V16SF_HI): Ditto.
2479 (V8DF_FTYPE_PCV8DF_V8DF_QI): Ditto.
2480 (V16SI_FTYPE_PCV16SI_V16SI_HI): Ditto.
2481 (V16HI_FTYPE_PCV16HI_V16HI_HI): Ditto.
2482 (V16QI_FTYPE_PCV16QI_V16QI_HI): Ditto.
2483 (V8SF_FTYPE_PCV8SF_V8SF_QI): Ditto.
2484 (V8DI_FTYPE_PCV8DI_V8DI_QI): Ditto.
2485 (V8SI_FTYPE_PCV8SI_V8SI_QI): Ditto.
2486 (V8HI_FTYPE_PCV8HI_V8HI_QI): Ditto.
2487 (V4DF_FTYPE_PCV4DF_V4DF_QI): Ditto.
2488 (V4SF_FTYPE_PCV4SF_V4SF_QI): Ditto.
2489 (V4DI_FTYPE_PCV4DI_V4DI_QI): Ditto.
2490 (V4SI_FTYPE_PCV4SI_V4SI_QI): Ditto.
2491 (V2DF_FTYPE_PCV2DF_V2DF_QI): Ditto.
2492 (V2DI_FTYPE_PCV2DI_V2DI_QI): Ditto.
2493 (V16HI_FTYPE_V16SI_V16HI_HI): Ditto.
2494 (V8SI_FTYPE_V8DI_V8SI_QI): Ditto.
2495 (V8HI_FTYPE_V8DI_V8HI_QI): Ditto.
2496 (V16QI_FTYPE_V8HI_V16QI_QI): Ditto.
2497 (V16QI_FTYPE_V16HI_V16QI_HI): Ditto.
2498 (V16QI_FTYPE_V4SI_V16QI_QI): Ditto.
2499 (V16QI_FTYPE_V8SI_V16QI_QI): Ditto.
2500 (V8HI_FTYPE_V4SI_V8HI_QI): Ditto.
2501 (V8HI_FTYPE_V8SI_V8HI_QI): Ditto.
2502 (V16QI_FTYPE_V2DI_V16QI_QI): Ditto.
2503 (V16QI_FTYPE_V4DI_V16QI_QI): Ditto.
2504 (V8HI_FTYPE_V2DI_V8HI_QI): Ditto.
2505 (V8HI_FTYPE_V4DI_V8HI_QI): Ditto.
2506 (V4SI_FTYPE_V2DI_V4SI_QI): Ditto.
2507 (V4SI_FTYPE_V4DI_V4SI_QI): Ditto.
2508 (V32QI_FTYPE_V32HI_V32QI_SI): Ditto.
2509 (V2DF_FTYPE_V2DF_INT_V2DF_QI): Ditto.
2510 (V4DF_FTYPE_V4DF_INT_V4DF_QI): Ditto.
2511 (V4SF_FTYPE_V4SF_INT_V4SF_QI): Ditto.
2512 (V8SF_FTYPE_V8SF_INT_V8SF_QI): Ditto.
2513 (V4DF_FTYPE_V4DF_V4DF_INT_V4DF_QI): Ditto.
2514 (V2DF_FTYPE_V2DF_V2DF_INT_V2DF_QI): Ditto.
2515 (V8SF_FTYPE_V8SF_V8SF_INT_V8SF_QI): Ditto.
2516 (V4SF_FTYPE_V4SF_V4SF_INT_V4SF_QI): Ditto.
2517 (VOID_FTYPE_PV8DF_V8DF_QI): Ditto.
2518 (VOID_FTYPE_PV8SI_V8DI_QI): Ditto.
2519 (VOID_FTYPE_PV8HI_V8DI_QI): Ditto.
2520 (VOID_FTYPE_PV8HI_V4DI_QI): Ditto.
2521 (VOID_FTYPE_PV8HI_V2DI_QI): Ditto.
2522 (VOID_FTYPE_PV4SI_V4DI_QI): Ditto.
2523 (VOID_FTYPE_PV4SI_V2DI_QI): Ditto.
2524 (VOID_FTYPE_PV8HI_V8SI_QI): Ditto.
2525 (VOID_FTYPE_PV8HI_V4SI_QI): Ditto.
2526 (VOID_FTYPE_PV4DF_V4DF_QI): Ditto.
2527 (VOID_FTYPE_PV2DF_V2DF_QI): Ditto.
2528 (VOID_FTYPE_PV16SF_V16SF_HI): Ditto.
2529 (VOID_FTYPE_PV8SF_V8SF_QI): Ditto.
2530 (VOID_FTYPE_PV4SF_V4SF_QI): Ditto.
2531 (VOID_FTYPE_PV8DI_V8DI_QI): Ditto.
2532 (VOID_FTYPE_PV4DI_V4DI_QI): Ditto.
2533 (VOID_FTYPE_PV2DI_V2DI_QI): Ditto.
2534 (VOID_FTYPE_PV16SI_V16SI_HI): Ditto.
2535 (VOID_FTYPE_PV16HI_V16SI_HI): Ditto.
2536 (VOID_FTYPE_PV16QI_V16SI_HI): Ditto.
2537 (VOID_FTYPE_PV16QI_V8SI_QI): Ditto.
2538 (VOID_FTYPE_PV16QI_V4SI_QI): Ditto.
2539 (VOID_FTYPE_PV16QI_V8DI_QI): Ditto.
2540 (VOID_FTYPE_PV16QI_V4DI_QI): Ditto.
2541 (VOID_FTYPE_PV16QI_V2DI_QI): Ditto.
2542 (VOID_FTYPE_PV8SI_V8SI_QI): Ditto.
2543 (VOID_FTYPE_PV4SI_V4SI_QI): Ditto.
2544 (VOID_FTYPE_PV32HI_V32HI_SI): Ditto.
2545 (VOID_FTYPE_PV16HI_V16HI_HI): Ditto.
2546 (VOID_FTYPE_PV8HI_V8HI_QI): Ditto.
2547 (VOID_FTYPE_PV64QI_V64QI_DI): Ditto.
2548 (VOID_FTYPE_PV32QI_V32QI_SI): Ditto.
2549 (VOID_FTYPE_PV16QI_V16QI_HI): Ditto.
2550 (V8DI_FTYPE_V8DI_V8DI_V8DI_INT_QI): Ditto.
2551 (V8SI_FTYPE_V8SF_V8SI_QI): Ditto.
2552 (V4SI_FTYPE_V4SF_V4SI_QI): Ditto.
2553 (V4DI_FTYPE_V4SF_V4DI_QI): Ditto.
2554 (V2DI_FTYPE_V4SF_V2DI_QI): Ditto.
2555 (V4SF_FTYPE_V4DI_V4SF_QI): Ditto.
2556 (V4SF_FTYPE_V2DI_V4SF_QI): Ditto.
2557 (V4DF_FTYPE_V4DI_V4DF_QI): Ditto.
2558 (V2DF_FTYPE_V2DI_V2DF_QI): Ditto.
2559 (V32HI_FTYPE_V32HI_INT_V32HI_SI): Ditto.
2560 (V32HI_FTYPE_V32HI_V8HI_V32HI_SI): Ditto.
2561 (V16HI_FTYPE_V16HI_INT_V16HI_HI): Ditto.
2562 (V16HI_FTYPE_V16HI_V8HI_V16HI_HI): Ditto.
2563 (V8HI_FTYPE_V8HI_INT_V8HI_QI): Ditto.
2564 (V32HI_FTYPE_V64QI_V64QI_INT_V32HI_SI): Ditto.
2565 (V16HI_FTYPE_V32QI_V32QI_INT_V16HI_HI): Ditto.
2566 (V8HI_FTYPE_V16QI_V16QI_INT_V8HI_QI): Ditto.
2567 (V64QI_FTYPE_V32HI_V32HI_V64QI_DI): Ditto.
2568 (V32QI_FTYPE_V16HI_V16HI_V32QI_SI): Ditto.
2569 (V16QI_FTYPE_V8HI_V8HI_V16QI_HI): Ditto.
2570 (V32HI_FTYPE_V16SI_V16SI_V32HI_SI): Ditto.
2571 (V16HI_FTYPE_V8SI_V8SI_V16HI_HI): Ditto.
2572 (V8HI_FTYPE_V4SI_V4SI_V8HI_QI): Ditto.
2573 (V8DI_FTYPE_V16SI_V16SI_V8DI_QI): Ditto.
2574 (V4DI_FTYPE_V8SI_V8SI_V4DI_QI): Ditto.
2575 (V2DI_FTYPE_V4SI_V4SI_V2DI_QI): Ditto.
2576 (V16SI_FTYPE_V16SI_V16SI_V16SI_INT_HI): Ditto.
2577 (V8SI_FTYPE_V8SI_V8SI_V8SI_INT_QI): Ditto.
2578 (V4DI_FTYPE_V4DI_V4DI_V4DI_INT_QI): Ditto.
2579 (V4SI_FTYPE_V4SI_V4SI_V4SI_INT_QI): Ditto.
2580 (V2DI_FTYPE_V2DI_V2DI_V2DI_INT_QI): Ditto.
2581 (V8SI_FTYPE_V8SI_V4SI_V8SI_QI): Ditto.
2582 (V4DI_FTYPE_V4DI_V2DI_V4DI_QI): Ditto.
2583 (QI_FTYPE_V4DF_V4DF_INT_QI): Ditto.
2584 (QI_FTYPE_V8SF_V8SF_INT_QI): Ditto.
2585 (QI_FTYPE_V8DF_INT_QI): Ditto.
2586 (QI_FTYPE_V4DF_INT_QI): Ditto.
2587 (QI_FTYPE_V2DF_INT_QI): Ditto.
2588 (HI_FTYPE_V16SF_INT_HI): Ditto.
2589 (QI_FTYPE_V8SF_INT_QI): Ditto.
2590 (QI_FTYPE_V4SF_INT_QI): Ditto.
2591 (V8DF_FTYPE_V8DF_V8DF_V8DF_QI_INT): Ditto.
2593 2015-07-31 Richard Biener <rguenther@suse.de>
2595 * gimple-fold.c (fold_gimple_assign): Remove folding of
2598 2015-07-31 Tom de Vries <tom@codesourcery.com>
2600 PR tree-optimization/66846
2601 * omp-low.c (expand_omp_taskreg) [ENABLE_CHECKING]: Call
2602 verify_loop_structure for child_cfun if !LOOPS_NEED_FIXUP.
2603 (expand_omp_target) [ENABLE_CHECKING]: Same.
2604 (execute_expand_omp) [ENABLE_CHECKING]: Call verify_loop_structure for
2605 cfun if !LOOPS_NEED_FIXUP.
2606 (expand_omp_for_static_nochunk): Handle simple latch bb. Handle case
2607 that omp_for already has its own loop struct.
2608 * tree-parloops.c (create_phi_for_local_result)
2609 (create_call_for_reduction): Handle simple latch bb.
2610 (create_parallel_loop): Add simple latch bb to preserve
2611 LOOPS_HAVE_SIMPLE_LATCHES. Record new exit. Handle simple latch bb.
2612 (gen_parallel_loop): Remove call to cancel_loop_tree.
2613 (parallelize_loops): Skip loops that are inner loops of parallelized
2615 (pass_parallelize_loops::execute) [ENABLE_CHECKING]: Call
2616 verify_loop_structure.
2618 2015-07-30 Anatoly Sokolov <aesok@post.ru>
2620 * config/v850/v850.h (LIBCALL_VALUE): Remove macros.
2621 * config/v850/v850.md (RV_REGNUM): New constants.
2622 * config/v850/v850.c (v850_libcall_value): New functions.
2623 (v850_function_value_regno_p, v850_function_value): Use RV_REGNUM.
2624 (TARGET_LIBCALL_VALUE): Define.
2626 2015-07-30 Anatoly Sokolov <aesok@post.ru>
2628 * rtl.h (lowpart_subreg): Move in file.
2629 * loop-iv.c (lowpart_subreg): Move to...
2630 * simplify-rtx.c (lowpart_subreg): ...here.
2631 (simplify_binary_operation_1): Use lowpart_subreg instead of
2632 simplify_gen_subreg.
2633 * expr.c (expand_expr_real_2): Ditto.
2634 * emit-rtl.c (gen_lowpart_common): Ditto.
2635 * combine.c (gen_lowpart_for_combine): Ditto.
2636 * cfgexpand.c (convert_debug_memory_address, expand_debug_expr,
2637 expand_debug_source_expr): Ditto.
2639 2015-07-30 Richard Sandiford <richard.sandiford@arm.com>
2641 * builtins.c (HAVE_atomic_clear, gen_atomic_clear): Delete.
2642 (expand_builtin_atomic_clear): Remove support for atomic_clear
2645 2015-07-30 Richard Biener <rguenther@suse.de>
2647 * gimple-fold.c (fold_gimple_assign): Only fold !tcc_comparison
2648 binaries. Move X == 0, X == 1, X != 0, and X != 1 canonicalization ...
2649 (fold_stmt_1): ... here and work on GIMPLE directly. Remove
2650 redundant operand canonicalization.
2652 2015-07-30 David Sherwood <david.sherwood@arm.com>
2654 * config/aarch64/aarch64-simd.md (aarch64_ext<mode>): Replace call to
2655 GET_MODE_SIZE (GET_MODE_INNER (m)) with GET_MODE_UNIT_SIZE (m).
2656 * config/aarch64/aarch64.c (aarch64_simd_valid_immediate): Likewise.
2657 * config/arm/arm.c (neon_valid_immediate): Likewise.
2658 * config/i386/i386.c (classify_argument, ix86_expand_int_vcond)
2659 (expand_vec_perm_blend, expand_vec_perm_pshufb): Likewise.
2660 (expand_vec_perm_pshufb2, expand_vec_perm_vpshufb2_vpermq): Likewise.
2661 (expand_vec_perm_vpshufb2_vpermq): Likewise.
2662 (expand_vec_perm_vpshufb2_vpermq_even_odd): Likewise.
2663 (expand_vec_perm_vpshufb4_vpermq2): Likewise.
2664 * config/i386/sse.md
2665 (<extract_type>_vinsert<shuffletype><extract_suf>_mask): Likewise.
2666 (*ssse3_palignr<mode>_perm): Likewise.
2667 * config/rs6000/rs6000.c (rs6000_complex_function_value): Likewise.
2668 * config/spu/spu.c (arith_immediate_p): Likewise.
2669 * simplify-rtx.c (simplify_const_unary_operation): Likewise.
2670 (simplify_binary_operation_1, simplify_ternary_operation): Likewise.
2672 2015-07-30 Richard Biener <rguenther@suse.de>
2674 * genmatch.c (decision_tree::gen_gimple): Merge with ...
2675 (decision_tree::gen_generic): ... this into ...
2676 (decision_tree::gen): ... this.
2677 (main): Adjust callers.
2679 2015-07-30 Richard Biener <rguenther@suse.de>
2681 * genmatch.c (verbose): New global.
2682 (warning_at): Add overload with source_location.
2683 (capture_info::capture_info): Add bool whether generating gimple
2684 or generic. Add gimple member.
2685 (capture_info::cinfo): Add capture member.
2686 (capture_info::walk_match): Record capture. Warn on
2688 (capture_info::walk_c_expr): Add more fragments captures cannot
2689 escape through. Warn on escaped captures.
2690 (dt_simplify::gen_1): Warn on operands we force to have no
2692 (main): Initialize verbose.
2693 * match.pd: Add integer_nonzerop and HONOR_NANS predicates.
2695 2015-07-30 Richard Biener <rguenther@suse.de>
2698 * match.pd: Allow both operands to independently have conversion
2699 when simplifying compares of addresses.
2701 2015-07-29 Segher Boessenkool <segher@kernel.crashing.org>
2705 * config/rs6000/rs6000.md (and<mode>3): Put a CONST_INT_P check
2706 around those cases that need one.
2708 2015-07-29 Aditya Kumar <hiraditya@msn.com>
2710 * params.def (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS): Default to 3.
2712 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
2714 * config/i386/iamcu.h (TARGET_ASM_FILE_START_FILE_DIRECTIVE):
2715 New. Copied from config/i386/gnu-user.h.
2716 (ASM_COMMENT_START): Likewise.
2717 (DBX_REGISTER_NUMBER): Likewise.
2719 2015-07-29 Richard Biener <rguenther@suse.de>
2721 * gimple-fold.c (fold_gimple_cond): Remove.
2722 (fold_stmt_1): Do not call it.
2724 2015-07-29 Alan Lawrence <alan.lawrence@arm.com>
2726 * config/aarch64/aarch64-builtins.c (aarch64_fp16_type_node): New.
2727 (aarch64_init_builtins): Make aarch64_fp16_type_node, use for __fp16.
2729 * config/aarch64/aarch64-modes.def: Add HFmode.
2731 * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define
2732 __ARM_FP16_FORMAT_IEEE and __ARM_FP16_ARGS. Set bit 1 of __ARM_FP.
2734 * config/aarch64/aarch64.c (aarch64_init_libfuncs,
2735 aarch64_promoted_type): New.
2737 (aarch64_float_const_representable_p): Disable HFmode.
2738 (aarch64_mangle_type): Mangle half-precision floats to "Dh".
2739 (TARGET_PROMOTED_TYPE): Define to aarch64_promoted_type.
2740 (TARGET_INIT_LIBFUNCS): Define to aarch64_init_libfuncs.
2742 * config/aarch64/aarch64.md (mov<mode>): Include HFmode using GPF_F16.
2743 (movhf_aarch64, extendhfsf2, extendhfdf2, truncsfhf2, truncdfhf2): New.
2745 * config/aarch64/iterators.md (GPF_F16): New.
2747 2015-07-29 Richard Biener <rguenther@suse.de>
2749 * match.pd: Merge address comparison patterns and make them
2750 handle some more cases.
2752 2015-07-29 Richard Biener <rguenther@suse.de>
2754 * genmatch.c (c_expr::gen_transform): Error on unknown captures.
2755 (parser::parse_capture): Add bool argument on whether to reject
2757 (parser::parse_expr): Adjust.
2758 (parser::parse_op): Likewise.
2759 (parser::parse_pattern): Likewise.
2761 2015-07-29 Richard Biener <rguenther@suse.de>
2763 * gimple-fold.c (has_use_on_stmt): New function.
2764 (replace_stmt_with_simplification): Use it to allow
2765 abnormals originally referenced in the stmt.
2766 (fold_stmt_1): Canonicalize operand order.
2768 2015-07-28 David Sherwood <david.sherwood@arm.com>
2770 * config/arm/arm.c (neon_element_bits, neon_valid_immediate): Call
2771 GET_MODE_INNER unconditionally.
2772 * config/spu/spu.c (arith_immediate_p): Likewise.
2773 * config/i386/i386.c (ix86_build_signbit_mask): Likewise.
2774 * expmed.c (synth_mult): Remove check for VOIDmode result from
2776 (expand_mult_const): Likewise.
2777 * fold-const.c (fold_binary_loc): Replace call to element_precision
2778 with call to GET_MODE_PRECISION.
2779 * genmodes.c (emit_mode_inner_inline): Replace void_mode->name with
2781 (emit_mode_inner): Likewise.
2782 * lto-streamer-out.c (lto_write_mode_table): Update GET_MODE_INNER
2784 * machmode.h (GET_MODE_UNIT_SIZE): Simplify.
2785 (GET_MODE_UNIT_PRECISION): Likewise.
2786 * rtlanal.c (subreg_get_info): Call GET_MODE_INNER unconditionally.
2787 * simplify-rtx.c (simplify_immed_subreg): Likewise.
2788 * stor-layout.c (bitwise_type_for_mode): Update assert.
2789 (element_precision): Remove.
2791 2015-07-28 Richard Sandiford <richard.sandiford@arm.com>
2793 * target-insns.def (reload_load_address): New targetm instruction
2795 * reload1.c (gen_reload): Use it instead of HAVE_*/gen_* interface.
2797 2015-07-28 Richard Sandiford <richard.sandiford@arm.com>
2799 * target-insns.def (atomic_test_and_set): New targetm instruction
2801 * optabs.c (maybe_emit_atomic_test_and_set): Use it instead of
2802 HAVE_*/gen_* interface.
2804 2015-07-28 Richard Sandiford <richard.sandiford@arm.com>
2806 * target-insns.def (can_extend, ptr_extend): New targetm instruction
2808 * optabs.c (can_extend_p): Use them instead of HAVE_*/gen_* interface.
2809 * simplify-rtx.c (simplify_unary_operation_1): Likewise.
2810 * emit-rtl.c (set_reg_attrs_from_value): Likewise.
2811 * rtlanal.c (nonzero_bits1): Likewise.
2812 (num_sign_bit_copies1): Likewise.
2814 2015-07-28 Richard Sandiford <richard.sandiford@arm.com>
2816 * target-insns.def (eh_return): New targetm instruction pattern.
2817 * except.c (expand_eh_return): Use it instead of HAVE_*/gen_*
2819 * function.c (thread_prologue_and_epilogue_insns): Remove
2820 preprocessor condition.
2822 2015-07-28 Richard Sandiford <richard.sandiford@arm.com>
2824 * target-insns.def (indirect_jump): New targetm instruction pattern.
2825 * optabs.c (emit_indirect_jump): Use it instead of HAVE_*/gen_*
2828 2015-07-28 Richard Sandiford <richard.sandiford@arm.com>
2830 * config/fr30/fr30.md (indirect_jump): Use pmode_register_operand
2831 instead of nonimmediate_operand. Remove C condiition.
2833 2015-07-28 Richard Biener <rguenther@suse.de>
2835 * match.pd: Add more simplification of address comparisons.
2837 2015-07-28 Richard Biener <rguenther@suse.de>
2839 * match.pd: Re-order two cases in comparison with max/min
2840 value simplification to make it apply for bools.
2842 2015-07-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2844 * config/aarch64/aarch64.c (aarch64_rtx_arith_op_extract_p):
2845 Handle simple SIGN_EXTEND or ZERO_EXTEND.
2846 (aarch64_rtx_costs): Properly strip extend or extract before
2847 passing down to rtx costs again.
2849 2015-07-28 Nick Clifton <nickc@redhat.com>
2851 * config/rl78/rl78.c (rl78_addsi3_internal): New function.
2852 Optimizes the case where -mes0 is active and a constant symbolic
2854 * config/rl78/rl78-protos.h: Prototype the new function.
2855 * config/rl78/rl78.md (addsi3_internal_real): Call new function.
2857 2015-07-28 Tom de Vries <tom@codesourcery.com>
2859 * tree-parloops.c (reduc_stmt_res): New function.
2860 (initialize_reductions, add_field_for_reduction)
2861 (create_phi_for_local_result, create_loads_for_reductions)
2862 (create_stores_for_reduction, build_new_reduction): Handle case that
2863 reduc_stmt is a phi.
2864 (gather_scalar_reductions): Allow double_reduc reductions.
2866 2015-07-28 Richard Biener <rguenther@suse.de>
2868 * fold-const.c (fold_comparison): Remove equality folding
2869 of decl addresses ...
2870 * match.pd: ... here and merge with existing pattern.
2872 2015-07-28 Thomas Preud'homme <thomas.preudhomme@arm.com>
2874 PR tree-optimization/66828
2875 * tree-ssa-math-opts.c (perform_symbolic_merge): Change type of inc
2876 from int64_t to uint64_t.
2878 2015-07-28 Dominik Vogt <vogt@linux.vnet.ibm.com>
2880 * opts-common.c (read_cmdline_option): List DriverOnly enum values
2881 as valid only in the error message of the driver, not in the
2882 messages of the language compilers.
2884 2015-07-27 Tom de Vries <tom@codesourcery.com>
2886 * tree-parloops.c (gather_scalar_reductions): Simplify function
2889 2015-07-27 Marek Polacek <polacek@redhat.com>
2891 * ipa-devirt.c (types_same_for_odr): Fix typo.
2893 2015-07-27 Jason Merrill <jason@redhat.com>
2896 * dwarf2out.c (gen_inlined_subroutine_die): Check
2897 cgraph_function_possibly_inlined_p.
2899 2015-07-27 Wilco Dijkstra <wdijkstr@arm.com>
2901 * gcc/config/aarch64/aarch64.md (aarch64_lshr_sisd_or_int_<mode>3):
2902 Place integer variant first.
2903 (aarch64_ashr_sisd_or_int_<mode>3): Likewise.
2905 2015-07-27 Alan Lawrence <alan.lawrence@arm.com>
2908 * config/arm/arm-builtins.c (enum arm_builtins):
2909 Add ARM_BUILTIN_NEON_BASE and ARM_BUILTIN_NEON_LANE_CHECK.
2910 (ARM_BUILTIN_NEON_BASE): Rename macro to....
2911 (ARM_BUILTIN_NEON_PATTERN_START): ...this.
2912 (arm_init_neon_builtins): Register __builtin_arm_lane_check.
2913 (arm_expand_neon_builtin): Handle ARM_BUILTIN_NEON_LANE_CHECK.
2915 2015-07-27 Alan Lawrence <alan.lawrence@arm.com>
2918 * config/arm/arm-builtins.c (enum arm_type_qualifiers):
2919 Add qualifier_lane_index.
2920 (arm_binop_imm_qualifiers, BINOP_IMM_QUALIFIERS): New.
2921 (arm_getlane_qualifiers): Use qualifier_lane_index.
2922 (arm_lanemac_qualifiers): Rename to...
2923 (arm_mac_n_qualifiers): ...this.
2924 (LANEMAC_QUALIFIERS): Rename to...
2925 (MAC_N_QUALIFIERS): ...this.
2926 (arm_mac_lane_qualifiers, MAC_LANE_QUALIFIERS): New.
2927 (arm_setlane_qualifiers): Use qualifier_lane_index.
2928 (arm_ternop_imm_qualifiers, TERNOP_IMM_QUALIFIERS): New.
2929 (enum builtin_arg): Add NEON_ARG_LANE_INDEX.
2930 (arm_expand_neon_args): Handle NEON_ARG_LANE_INDEX.
2931 (arm_expand_neon_builtin): Handle qualifier_lane_index.
2933 * config/arm/arm-protos.h (neon_lane_bounds): Add const_tree parameter.
2934 * config/arm/arm.c (bounds_check): Likewise, improve error message.
2935 (neon_lane_bounds, neon_const_bounds): Add arguments to bounds_check.
2936 * config/arm/arm_neon_builtins.def (vshrs_n, vshru_n, vrshrs_n,
2937 vrshru_n, vshrn_n, vrshrn_n, vqshrns_n, vqshrnu_n, vqrshrns_n,
2938 vqrshrnu_n, vqshrun_n, vqrshrun_n, vshl_n, vqshl_s_n, vqshl_u_n,
2939 vqshlu_n, vshlls_n, vshllu_n): Change qualifiers to BINOP_IMM.
2940 (vsras_n, vsrau_n, vrsras_n, vrsrau_n, vsri_n, vsli_n): Change
2941 qualifiers to TERNOP_IMM.
2942 (vdup_lane): Change qualifiers to GETLANE.
2943 (vmla_lane, vmlals_lane, vmlalu_lane, vqdmlal_lane, vmls_lane,
2944 vmlsls_lane, vmlslu_lane, vqdmlsl_lane): Change qualifiers to MAC_LANE.
2945 (vmla_n, vmlals_n, vmlalu_n, vqdmlal_n, vmls_n, vmlsls_n, vmlslu_n,
2946 vqdmlsl_n): Change qualifiers to MAC_N.
2948 * config/arm/neon.md (neon_vget_lane<mode>, neon_vget_laneu<mode>,
2949 neon_vget_lanedi, neon_vget_lanev2di, neon_vset_lane<mode>,
2950 neon_vset_lanedi, neon_vdup_lane<mode>, neon_vdup_lanedi,
2951 neon_vdup_lanev2di, neon_vmul_lane<mode>, neon_vmul_lane<mode>,
2952 neon_vmull<sup>_lane<mode>, neon_vqdmull_lane<mode>,
2953 neon_vq<r>dmulh_lane<mode>, neon_vq<r>dmulh_lane<mode>,
2954 neon_vmla_lane<mode>, neon_vmla_lane<mode>, neon_vmlal<sup>_lane<mode>,
2955 neon_vqdmlal_lane<mode>, neon_vmls_lane<mode>, neon_vmls_lane<mode>,
2956 neon_vmlsl<sup>_lane<mode>, neon_vqdmlsl_lane<mode>):
2957 Remove call to neon_lane_bounds.
2959 2015-07-27 Wilco Dijkstra <wdijkstr@arm.com>
2961 * config/aarch64/aarch64.md (aarch64_ashl_sisd_or_int_<mode>3):
2962 Place integer variant first.
2964 2015-07-27 Matthew Wahab <matthew.wahab@arm.com>
2966 * config/arm/arm-arches.def: Add "armv6kz". Replace 6ZK with 6KZ
2967 and FL_FOR_ARCH6ZK with FL_FOR_ARCH6KZ.
2968 * config/arm/arm-c.c (arm_cpu_builtins): Emit "__ARM_ARCH_6ZK__"
2969 for armv6kz targets.
2970 * config/arm/arm-cores.def: Replace 6ZK with 6KZ.
2971 * config/arm/arm-protos.h (FL_ARCH6KZ): New.
2972 (FL_FOR_ARCH6ZK): Remove.
2973 (FL_FOR_ARCH6KZ): New.
2974 (arm_arch6zk): New declaration.
2975 * config/arm/arm-tables.opt: Regenerate.
2976 * config/arm/arm.c (arm_arch6kz): New.
2977 (arm_option_override): Set arm_arch6kz.
2978 * config/arm/arm.h (BASE_ARCH_6ZK): Rename to BASE_ARCH_6KZ.
2979 * config/arm/driver-arm.c: Add comment to "armv6zk" entry.
2980 * doc/invoke.texi: Replace "armv6zk" with "armv6kz".
2982 2015-07-27 Marek Polacek <polacek@redhat.com>
2986 * doc/invoke.texi: Document -Wtautological-compare.
2988 2015-07-27 Richard Biener <rguenther@suse.de>
2990 * genmatch.c (decision_tree::gen_gimple): Split out large
2991 subtrees into separate functions.
2992 (decision_tree::gen_generic): Likewise.
2994 2015-07-26 Uros Bizjak <ubizjak@gmail.com>
2996 * config/alpha/alpha.c: Use SUBREG_P predicate.
2997 * config/alpha/predicates.md: Ditto.
2999 2015-07-25 Dominik Vogt <vogt@linux.vnet.ibm.com>
3001 * config.host (s390*-*-*): Include driver-native.c only when
3002 building with s390* as host *and* target.
3004 2015-07-25 Oleg Endo <olegendo@gcc.gnu.org>
3007 * config/sh/sh.c (sh_split_movrt_negc_to_movt_xor): Add missing
3008 T bit register modified_between_p check.
3010 2015-07-25 Uros Bizjak <ubizjak@gmail.com>
3012 * config/i386/i386.c: Use SUBREG_P predicate.
3013 * config/i386/i386.md: Ditto.
3014 * config/i386/sse.md: Ditto.
3015 * config/i386/predicates.md: Ditto.
3017 2015-07-25 Uros Bizjak <ubizjak@gmail.com>
3020 * config/i386/i386.h (ADJUST_INSN_LENGTH): Use NONDEBUG_INSN_P (INSN)
3021 predicate and INSN_CODE (INSN) >= 0 to check for valid instruction.
3023 2015-07-25 Sebastian Pop <s.pop@samsung.com>
3025 * Makefile.in: Remove use of TREEBROWSER.
3026 * config.in: Regenerated.
3027 * configure: Regenerated.
3028 * configure.ac: Remove definition of TREEBROWSER.
3029 * tree-browser.c: Removed.
3030 * tree-browser.def: Removed.
3032 2015-07-25 Sebastian Pop <s.pop@samsung.com>
3034 * graphite-scop-detection.c: Include gimple-pretty-print.h.
3035 (stmt_simple_for_scop_p): Print when a stmt is not handled in
3037 (scopdet_basic_block_info): Print when a loop or bb cannot be
3038 represented in Graphite.
3040 2015-07-25 Uros Bizjak <ubizjak@gmail.com>
3043 * config/i386/i386.c (ix86_expand_set_or_movmem): Emit main loop
3044 execution guard when min_size is less than size_needed.
3046 2015-07-25 Sebastian Pop <s.pop@samsung.com>
3048 * doc/install.texi: Document supported versions of ISL.
3050 2015-07-25 Jeff Law <law@redhat.com>
3054 * tree-ssa-threadedge.c (simplify_conrol_stmt_condition): If we are
3055 unable to find X NE 0 in the tables, return X as the simplified
3057 (fsm_find_control_statement_thread_paths): If nodes in NEXT_PATH are
3058 in VISISTED_BBS, then return failure. Else add nodes from NEXT_PATH
3060 * tree-ssa-threadupdate.c (duplicate_thread_path): Fix up edge flags
3061 after removing the control flow statement and unnecessary edges.
3063 2015-07-25 David Edelsohn <dje.gcc@gmail.com>
3066 2015-07-23 Alexandre Oliva <aoliva@redhat.com>
3068 PR rtl-optimization/64164
3069 * Makefile.in (OBJS): Drop tree-ssa-copyrename.o.
3070 * tree-ssa-copyrename.c: Removed.
3071 * opts.c (default_options_table): Drop -ftree-copyrename. Add
3072 -ftree-coalesce-vars.
3073 * passes.def: Drop all occurrences of pass_rename_ssa_copies.
3074 * common.opt (ftree-copyrename): Ignore.
3075 (ftree-coalesce-inlined-vars): Likewise.
3076 * doc/invoke.texi: Remove the ignored options above.
3077 * gimple-expr.h (gimple_can_coalesce_p): Move declaration
3078 * tree-ssa-coalesce.h: ... here.
3079 * tree-ssa-uncprop.c: Include tree-ssa-coalesce.h and other
3080 headers required by it.
3081 * gimple-expr.c (gimple_can_coalesce_p): Allow coalescing
3082 across variables when flag_tree_coalesce_vars. Check register
3083 use and promoted modes to allow coalescing. Moved to
3084 tree-ssa-coalesce.c.
3085 * tree-ssa-live.c (struct tree_int_map_hasher): Move along
3086 with its member functions to tree-ssa-coalesce.c.
3087 (var_map_base_init): Likewise. Renamed to
3088 compute_samebase_partition_bases.
3089 (partition_view_normal): Drop want_bases parameter.
3090 (partition_view_bitmap): Likewise.
3091 * tree-ssa-live.h: Adjust declarations.
3092 * tree-ssa-coalesce.c: Include explow.h.
3093 (build_ssa_conflict_graph): Process PARM_ and RESULT_DECLs's
3094 default defs at the entry point.
3095 (dump_part_var_map): New.
3096 (compute_optimized_partition_bases): New, called by...
3097 (coalesce_ssa_name): ... when flag_tree_coalesce_vars, instead
3098 of compute_samebase_partition_bases. Adjust.
3099 * alias.c (nonoverlapping_memrefs_p): Disregard gimple-regs.
3100 * cfgexpand.c (leader_merge): New.
3101 (get_rtl_for_parm_ssa_default_def): New.
3102 (set_rtl): Merge exprs and attrs, even for MEMs and non-SSA
3103 vars. Update DECL_RTL for PARM_DECLs and RESULT_DECLs too.
3104 (expand_one_stack_var_at): Handle anonymous SSA_NAMEs. Drop
3105 redundant MEM attr setting.
3106 (expand_one_stack_var_1): Handle anonymous SSA_NAMEs. Renamed
3108 (expand_one_stack_var): ... this. New wrapper to check and
3109 skip already expanded SSA partitions.
3110 (record_alignment_for_reg_var): New, factored out of...
3111 (expand_one_var): ... this.
3112 (expand_one_ssa_partition): New.
3113 (adjust_one_expanded_partition_var): New.
3114 (expand_one_register_var): Check and skip already expanded SSA
3116 (expand_used_vars): Don't create DECLs for anonymous SSA
3117 names. Expand all SSA partitions, then adjust all SSA names.
3118 (pass::execute): Replace the loops that set
3119 SA.partition_to_pseudo from partition leaders and cleared
3120 DECL_RTL for multi-location variables, and that which used to
3121 rename vars and set attrs, with one that clears DECL_RTL and
3122 checks that PARMs and RESULTs default_defs match DECL_RTL.
3123 * cfgexpand.h (get_rtl_for_parm_ssa_default_def): Declare.
3124 * emit-rtl.c (set_reg_attrs_for_parm): Handle NULL decl.
3125 * explow.c (promote_ssa_mode): New.
3126 * explow.h (promote_ssa_mode): Declare.
3127 * expr.c (expand_expr_real_1): Handle anonymous SSA_NAMEs.
3128 * function.c: Include cfgexpand.h.
3129 (use_register_for_decl): Handle SSA_NAMEs, anonymous or not.
3130 (use_register_for_parm_decl): Wrapper for the above to
3131 special-case the result_ptr.
3132 (rtl_for_parm): Ditto for get_rtl_for_parm_ssa_default_def.
3133 (split_complex_args): Take assign_parm_data_all argument.
3134 Pass it to rtl_for_parm. Set up rtl and context for split
3136 (assign_parms_augmented_arg_list): Adjust.
3137 (maybe_reset_rtl_for_parm): Reset DECL_RTL of parms with
3138 multiple locations. Recognize split complex args.
3139 (assign_parm_adjust_stack_rtl): Add all and parm arguments,
3140 for rtl_for_parm. For SSA-assigned parms, zero stack_parm.
3141 (assign_parm_setup_block): Prefer SSA-assigned location.
3142 (assign_parm_setup_reg): Likewise. Use entry_parm for equiv
3143 if stack_parm is NULL.
3144 (assign_parm_setup_stack): Prefer SSA-assigned location.
3145 (assign_parms): Maybe reset DECL_RTL of params. Adjust stack
3146 rtl before testing for pointer bounds. Special-case result_ptr.
3147 (expand_function_start): Maybe reset DECL_RTL of result.
3148 Prefer SSA-assigned location for result and static chain.
3149 Factor out DECL_RESULT and SET_DECL_RTL.
3150 * tree-outof-ssa.c (insert_value_copy_on_edge): Handle
3151 anonymous SSA names. Use promote_ssa_mode.
3152 (get_temp_reg): Likewise.
3153 (remove_ssa_form): Adjust.
3154 * stor-layout.c (layout_decl): Don't set mem attributes of
3156 * var-tracking.c (dataflow_set_clear_at_call): Take call_insn
3157 and get its reg_usage for reg invalidation.
3158 (compute_bb_dataflow): Pass it insn.
3159 (emit_notes_in_bb): Likewise.
3161 2015-07-25 Uros Bizjak <ubizjak@gmail.com>
3163 * config/i386/i386.c (ix86_va_start): Remove
3164 unneeded !TARGET_64BIT check.
3165 (ix86_gimplify_va_arg): Ditto.
3167 2015-07-24 Tom de Vries <tom@codesourcery.com>
3169 * graphite-sese-to-poly.c (build_poly_scop): Always call
3170 rewrite_commutative_reductions_out_of_ssa.
3172 2015-07-24 Tom de Vries <tom@codesourcery.com>
3174 * graphite-sese-to-poly.c (is_reduction_operation_p): Limit
3175 flag_associative_math to FLOAT_TYPE_P. Honour
3176 TYPE_OVERFLOW_WRAPS for INTEGRAL_TYPE_P. Don't allow any other types.
3178 2015-07-24 Manuel López-Ibáñez <manu@gcc.gnu.org>
3181 * toplev.c (check_global_declaration): Use DECL_SOURCE_LOCATION
3182 and "%qD" in warning_at instead of "%q+D" in warning.
3184 2015-07-24 Uros Bizjak <ubizjak@gmail.com>
3186 * config/i386/i386.c (ix86_call_abi_override): Call ix86_function_abi.
3187 (ix86_function_abi): Cleanup.
3189 2015-07-24 Michael Darling <darlingm@gmail.com>
3192 * acinclude.m4: Reflects renaming of configure.in to configure.ac
3193 * configure: Likewise
3194 * configure.ac: Likewise
3195 * doc/install.texi: Likewise
3196 * doc/tm.texi: Likewise
3197 * doc/tm.texi.in: Likewise
3199 2015-07-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3201 * alias.c (nonoverlapping_memrefs_p): Use std::swap instead of
3202 manually swapping values.
3203 * cse.c (fold_rtx): Likewise.
3204 * lra-eliminations.c (form_sum): Likewise.
3206 2015-07-24 Uros Bizjak <ubizjak@gmail.com>
3209 * config/i386/i386.h (ADJUST_INSN_LENGTH): New define.
3210 * config/i386/i386.md (maybe_prefix_bnd): New attribute.
3211 (*jcc_1, *jcc_2, jump, simple_return_internal)
3212 (simple_return_pop_internal): Set attribute maybe_prefix_bnd.
3213 Set length_nobnd attribute instead of length attribute.
3214 (indirect_jump, *tablejump_1): Set attribute maybe_prefix_bnd.
3215 (length_nobnd): Remove attribute.
3216 (length): Remove length_nobnd processing.
3218 2015-07-24 Nathan Sidwell <nathan@codesourcery.com>
3220 * gimplify.c (omp_default_clause): New function. Reorganize flow
3221 for clarity. Broken out of ...
3222 (omp_notice_variable): ... here.
3224 2015-07-24 Gary Funck <gary@intrepid.com>
3227 * fold-const.c (fold_binary_loc): Call fold_convert on arguments to
3228 fold_build2 for CEIL_DIV_EXPR and FLOOR_DIV_EXPR optimization.
3230 2015-07-24 Tom de Vries <tom@codesourcery.com>
3232 * tree-parloops.c (gen_parallel_loop): Add debug print for alternative
3233 exit-first loop transform.
3235 2015-07-24 Cesar Philippidis <cesar@codesourcery.com>
3238 * tree-cfg.c (struct replace_decls_d): New struct.
3239 (replace_block_vars_by_duplicates_1): New function.
3240 (replace_block_vars_by_duplicates): Use it to replace the decls
3241 in the value exprs by duplicates.
3243 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3245 * config/aarch64/aarch64-elf-raw.h (LINK_SPEC): Handle -h, -static,
3246 -shared, -symbolic, -rdynamic.
3248 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3251 * config/aarch64/aarch64-linux.h (LINUX_TARGET_LINK_SPEC): Move
3252 -dynamic-linker within %{!static %{!shared, and -rdynamic within
3255 2015-07-24 Ilya Enkovich <enkovich.gnu@gmail.com>
3258 * ipa-inline-analysis.c (estimate_calls_size_and_time): Check
3259 edge summary is available.
3261 2015-07-24 Richard Biener <rguenther@suse.de>
3263 * genmatch.c (struct dt_node): Add statistic fields.
3264 (dt_node::analyze): New method.
3265 (decision_tree::gen_gimple): Call analyze on the root node
3266 and print statistics to stderr.
3267 (decision_tree::gen_generic): Likewise.
3269 2015-07-24 Richard Biener <rguenther@suse.de>
3271 * fold-const.c (fold_binary_loc): Move simplifying of comparisons
3272 against the highest or lowest possible integer ...
3273 * match.pd: ... as patterns here.
3275 2015-07-24 Richard Biener <rguenther@suse.de>
3277 * genmatch.c (struct capture_info): Add same_as field.
3278 (capture_info::capture_info): Initialize same_as.
3279 (capture_info::walk_match): Compute same_as.
3280 (capture_info::walk_result): Compute stuff for the leader.
3281 (capture_info::walk_c_expr): Likewise.
3282 (dt_simplify::gen_1): Only look at leaders when deciding
3283 to force no side-effects or emit side-effects of omitted operands.
3285 2015-07-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
3287 * config/s390/s390.c (s390_save_gprs_to_fprs): Add CFA_REGISTER
3288 reg note to the GPR -> FPR save instructions.
3290 2015-07-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
3292 * config/s390/s390.c (s390_rtx_costs): Make risbg patterns
3294 (s390_expand_insv): Don't generate risbg pattern for constant zero
3296 * config/s390/s390.md ("*insv<mode>_zEC12_appendbitsleft")
3297 ("*insv<mode>_z10_appendbitsleft"): New pattern definitions. New
3300 2015-07-24 Dominik Vogt <vogt@linux.vnet.ibm.com>
3302 * config/s390/s390.c (s390_reorg): Clean up handling of processors
3305 (s390_issue_rate): Likewise.
3306 (s390_sched_reorder): Likewise.
3307 (s390_sched_variable_issue): Likewise.
3308 (s390_loop_unroll_adjust): Likewise.
3309 (s390_option_override): Likewise.
3311 2015-07-24 Dominik Vogt <vogt@linux.vnet.ibm.com>
3313 * config/s390/driver-native.c (s390_host_detect_local_cpu): Handle
3314 processor capabilities with -march=native.
3315 * config/s390/s390.h (MARCH_MTUNE_NATIVE_SPECS): Likewise.
3316 (DRIVER_SELF_SPECS): Likewise. Join specs for 31 and 64 bit.
3317 (S390_TARGET_BITS_STRING): Macro to simplify specs.
3319 2015-07-24 Dominik Vogt <vogt@linux.vnet.ibm.com>
3321 * config/s390/s390.c (s390_issue_rate): Handle
3322 PROCESSOR_2094_Z9_EC.
3323 (s390_option_override): Likewise.
3324 (s390_adjust_priority): Likewise.
3326 2015-07-24 Dominik Vogt <vogt@linux.vnet.ibm.com>
3328 * config/s390/s390.h: S390: Do not define EXTRA_SPEC_FUNCTIONS
3329 when cross compiling.
3331 2015-07-24 Richard Biener <rguenther@suse.de>
3333 * fold-const.c (maybe_canonicalize_comparison_1): Move
3334 A code CST canonicalization ...
3335 * match.pd: ... to a pattern here.
3337 2015-07-24 Jiong Wang <jiong.wang@arm.com>
3340 2015-07-22 Jiong Wang <jiong.wang@arm.com>
3342 * config/aarch64/aarch64.h (REG_ALLOC_ORDER): Define.
3343 (HONOR_REG_ALLOC_ORDER): Define.
3345 2015-07-24 Richard Biener <rguenther@suse.de>
3347 * genmatch.c (add_operator): Allow SSA_NAME as predicate.
3348 * fold-const.c (fold_comparison): Move parameter does not
3349 alias &local simplification ...
3350 * match.pd: ... as a pattern here.
3352 2015-07-24 Richard Biener <rguenther@suse.de>
3354 * gimple-fold.c (replace_stmt_with_simplification): Special-case
3355 valueizing call operands.
3356 * gimple-match-head.c (maybe_push_res_to_seq): Take
3357 number of call arguments from ops array.
3358 (do_valueize): New function.
3359 (gimple_simplify): Return true if valueization changed
3360 any operand even if the result didn't simplify further.
3362 2015-07-24 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
3365 * match.pd (mult (trunc_div @0 integer_pow2p@1) @1) : New simplifier.
3367 2015-07-24 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
3370 * match.pd (trunc_div (mult @0 integer_pow2p@1) @1) : New simplifier.
3372 2015-07-23 Kugan Vivekanandarajah <kuganv@linaro.org>
3374 * config/arm/arm.c (arm_emit_movpair): Add REG_EQUAL notes to
3377 2015-07-23 Kugan Vivekanandarajah <kuganv@linaro.org>
3379 * cse.c (cse_insn): Fix missing check for STRICT_LOW_PART and minor
3382 2015-07-23 Uros Bizjak <ubizjak@gmail.com>
3384 * config/i386/i386.c (ix86_build_builtin_va_list_64): Rename
3385 from ix86_build_builtin_va_list_abi. Handle only 64bit non-MS_ABI
3387 (ix86_build_builtin_va_list): Rewrite sysv_va_list_type_node and
3388 ms_va_list_type_node initialization.
3390 2015-07-23 Jeff Law <law@redhat.com>
3393 * tree-ssa-threadedge.c (simplify_conrol_stmt_condition): If we are
3394 unable to find X NE 0 in the tables, return X as the simplified
3396 (fsm_find_control_statement_thread_paths): If nodes in NEXT_PATH are
3397 in VISISTED_BBS, then return failure. Else add nodes from NEXT_PATH
3399 * tree-ssa-threadupdate.c (duplicate_thread_path): Fix up edge flags
3400 after removing the control flow statement and unnecessary edges.
3402 2015-07-23 Bernd Edlinger <bernd.edlinger@hotmail.de>
3404 * tree-pass.h (get_current_pass_name): Removed.
3406 2015-07-23 Alexandre Oliva <aoliva@redhat.com>
3408 PR rtl-optimization/64164
3409 * Makefile.in (OBJS): Drop tree-ssa-copyrename.o.
3410 * tree-ssa-copyrename.c: Removed.
3411 * opts.c (default_options_table): Drop -ftree-copyrename. Add
3412 -ftree-coalesce-vars.
3413 * passes.def: Drop all occurrences of pass_rename_ssa_copies.
3414 * common.opt (ftree-copyrename): Ignore.
3415 (ftree-coalesce-inlined-vars): Likewise.
3416 * doc/invoke.texi: Remove the ignored options above.
3417 * gimple-expr.h (gimple_can_coalesce_p): Move declaration
3418 * tree-ssa-coalesce.h: ... here.
3419 * tree-ssa-uncprop.c: Include tree-ssa-coalesce.h and other
3420 headers required by it.
3421 * gimple-expr.c (gimple_can_coalesce_p): Allow coalescing
3422 across variables when flag_tree_coalesce_vars. Check register
3423 use and promoted modes to allow coalescing. Moved to
3424 tree-ssa-coalesce.c.
3425 * tree-ssa-live.c (struct tree_int_map_hasher): Move along
3426 with its member functions to tree-ssa-coalesce.c.
3427 (var_map_base_init): Likewise. Renamed to
3428 compute_samebase_partition_bases.
3429 (partition_view_normal): Drop want_bases parameter.
3430 (partition_view_bitmap): Likewise.
3431 * tree-ssa-live.h: Adjust declarations.
3432 * tree-ssa-coalesce.c: Include explow.h.
3433 (build_ssa_conflict_graph): Process PARM_ and RESULT_DECLs's
3434 default defs at the entry point.
3435 (dump_part_var_map): New.
3436 (compute_optimized_partition_bases): New, called by...
3437 (coalesce_ssa_name): ... when flag_tree_coalesce_vars, instead
3438 of compute_samebase_partition_bases. Adjust.
3439 * alias.c (nonoverlapping_memrefs_p): Disregard gimple-regs.
3440 * cfgexpand.c (leader_merge): New.
3441 (get_rtl_for_parm_ssa_default_def): New.
3442 (set_rtl): Merge exprs and attrs, even for MEMs and non-SSA
3443 vars. Update DECL_RTL for PARM_DECLs and RESULT_DECLs too.
3444 (expand_one_stack_var_at): Handle anonymous SSA_NAMEs. Drop
3445 redundant MEM attr setting.
3446 (expand_one_stack_var_1): Handle anonymous SSA_NAMEs. Renamed
3448 (expand_one_stack_var): ... this. New wrapper to check and
3449 skip already expanded SSA partitions.
3450 (record_alignment_for_reg_var): New, factored out of...
3451 (expand_one_var): ... this.
3452 (expand_one_ssa_partition): New.
3453 (adjust_one_expanded_partition_var): New.
3454 (expand_one_register_var): Check and skip already expanded SSA
3456 (expand_used_vars): Don't create DECLs for anonymous SSA
3457 names. Expand all SSA partitions, then adjust all SSA names.
3458 (pass::execute): Replace the loops that set
3459 SA.partition_to_pseudo from partition leaders and cleared
3460 DECL_RTL for multi-location variables, and that which used to
3461 rename vars and set attrs, with one that clears DECL_RTL and
3462 checks that PARMs and RESULTs default_defs match DECL_RTL.
3463 * cfgexpand.h (get_rtl_for_parm_ssa_default_def): Declare.
3464 * emit-rtl.c (set_reg_attrs_for_parm): Handle NULL decl.
3465 * explow.c (promote_ssa_mode): New.
3466 * explow.h (promote_ssa_mode): Declare.
3467 * expr.c (expand_expr_real_1): Handle anonymous SSA_NAMEs.
3468 * function.c: Include cfgexpand.h.
3469 (use_register_for_decl): Handle SSA_NAMEs, anonymous or not.
3470 (use_register_for_parm_decl): Wrapper for the above to
3471 special-case the result_ptr.
3472 (rtl_for_parm): Ditto for get_rtl_for_parm_ssa_default_def.
3473 (split_complex_args): Take assign_parm_data_all argument.
3474 Pass it to rtl_for_parm. Set up rtl and context for split
3476 (assign_parms_augmented_arg_list): Adjust.
3477 (maybe_reset_rtl_for_parm): Reset DECL_RTL of parms with
3478 multiple locations. Recognize split complex args.
3479 (assign_parm_adjust_stack_rtl): Add all and parm arguments,
3480 for rtl_for_parm. For SSA-assigned parms, zero stack_parm.
3481 (assign_parm_setup_block): Prefer SSA-assigned location.
3482 (assign_parm_setup_reg): Likewise. Use entry_parm for equiv
3483 if stack_parm is NULL.
3484 (assign_parm_setup_stack): Prefer SSA-assigned location.
3485 (assign_parms): Maybe reset DECL_RTL of params. Adjust stack
3486 rtl before testing for pointer bounds. Special-case result_ptr.
3487 (expand_function_start): Maybe reset DECL_RTL of result.
3488 Prefer SSA-assigned location for result and static chain.
3489 Factor out DECL_RESULT and SET_DECL_RTL.
3490 * tree-outof-ssa.c (insert_value_copy_on_edge): Handle
3491 anonymous SSA names. Use promote_ssa_mode.
3492 (get_temp_reg): Likewise.
3493 (remove_ssa_form): Adjust.
3494 * stor-layout.c (layout_decl): Don't set mem attributes of
3496 * var-tracking.c (dataflow_set_clear_at_call): Take call_insn
3497 and get its reg_usage for reg invalidation.
3498 (compute_bb_dataflow): Pass it insn.
3499 (emit_notes_in_bb): Likewise.
3501 2015-07-23 Segher Boessenkool <segher@kernel.crashing.org>
3504 * config/rs6000/rs6000-protos.h (rs6000_emit_2insn_and): Change
3506 * config/rs6000/rs6000.c (rs6000_emit_dot_insn): New function.
3507 (rs6000_emit_2insn_and): Handle dot forms.
3508 * config/rs6000/rs6000.md (and<mode>3): Adjust.
3509 (*and<mode>3_2insn): Remove TODO. Adjust. Add "type" attr.
3510 (*and<mode>3_2insn_dot, *and<mode>3_2insn_dot2): New.
3512 2015-07-23 Richard Biener <rguenther@suse.de>
3514 * generic-match-head.c: Include cgraph.h.
3515 * gimple-match-head.c: Likewise.
3516 * tree-ssa-sccvn.c (free_scc_vn): Guard against newly created
3518 * fold-const.c (fold_binary_loc): Move &A ==/!= &B simplification...
3519 * match.pd: ...to a pattern here. Add &A ==/!= 0 simplification
3522 2015-07-23 Richard Biener <rguenther@suse.de>
3524 * gimple-fold.c (fold_gimple_cond): Do not require folding
3525 results to pass valid_gimple_rhs_p.
3526 * tree-cfg.h (fold_cond_expr_cond): Remove.
3527 * tree-cfg.c (fold_cond_expr_cond): Likewise.
3528 (make_edges): Do not call it.
3529 * tree-inline.c (tree_function_versioning): Likewise.
3531 2015-07-23 Tom de Vries <tom@codesourcery.com>
3533 * tree-parloops.c (gather_scalar_reductions): Add arg to call to
3534 vect_force_simple_reduction.
3535 * tree-vect-loop.c (vect_analyze_scalar_cycles_1): Same.
3536 (vect_is_simple_reduction_1): Add and handle
3537 need_wrapping_integral_overflow parameter.
3538 (vect_is_simple_reduction, vect_force_simple_reduction): Add and pass
3539 need_wrapping_integral_overflow parameter.
3540 (vectorizable_reduction): Add arg to call to vect_is_simple_reduction.
3541 * tree-vectorizer.h (vect_force_simple_reduction): Add parameter to
3544 2015-07-23 Yuri Rumyantsev <ysrumyan@gmail.com>
3546 PR tree-optimization/66926,66951
3547 * tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): Delete
3548 INNER_LOOP and fix up condition for renaming virtual operands.
3550 2015-07-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3552 * combine.c (try_combine): Use std::swap instead of manually
3555 2015-07-23 Prachi Godbole <prachi.godbole@imgtec.com>
3557 * config/mips/i6400.md: New file.
3558 * config/mips/mips-cpus.def (mips32r6): Change to PROCESSOR_I6400.
3559 (mips64r6): Likewise.
3561 * config/mips/mips-tables.opt: Regenerate.
3562 * config/mips/mips.c (mips_rtx_cost_data): Add I6400 processor.
3563 (mips_issue_rate): Add support for i6400.
3564 (mips_multipass_dfa_lookahead): Likewise.
3565 * config/mips/mips.h (TUNE_I6400): Define.
3566 * config/mips/mips.md: Include i6400.md.
3567 (processor): Add i6400.
3568 * doc/invoke.texi (-march=@var{arch}): Add i6400.
3570 2015-07-23 Richard Biener <rguenther@suse.de>
3573 * match.pd: Guard widen and sign-change comparison simplification
3576 2015-07-23 Richard Biener <rguenther@suse.de>
3578 PR tree-optimization/66945
3579 * tree-ssa-propagate.c (substitute_and_fold_dom_walker
3580 ::before_dom_children): Force the propagators idea of
3581 non-executable edges to materialize, not what the folder
3584 2015-07-23 Richard Biener <rguenther@suse.de>
3586 * gimple.h (gimple_cond_make_false): Use 0 != 0.
3587 (gimple_cond_make_true): Use 1 != 0.
3589 2015-07-22 DJ Delorie <dj@redhat.com>
3591 * config/msp430/t-msp430 (MULTILIB_DIRNAMES): Remove trailing
3594 * config/msp430/msp430.md (ashlhi3): Optimize shifts of subregs.
3595 (ashrhi3): Likewise.
3596 (lshrhi3): Likewise.
3597 (movhi): Take advantage of zero-extend to load small constants.
3599 (and<mode>3): Likewise.
3600 (zero_extendqihi2): Likewise.
3601 (zero_extendqisi2): New.
3602 * config/msp430/constraints.md (N,O): New.
3603 * config/msp430/msp430.h (WORD_REGISTER_OPERATIONS): Define.
3605 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
3608 * config/i386/i386.c (get_builtin_code_for_version): Add P_AES
3609 to enum feature_priority and feature_list.
3610 (fold_builtin_cpu): Add F_AES to enum processor_features
3611 and isa_names_table.
3613 2015-07-22 Ilya Enkovich <enkovich.gnu@gmail.com>
3616 * config/i386/linux-common.h (MPX_SPEC): Use linker option
3617 for 64bit target only.
3619 2015-07-22 Bernd Schmidt <bernds@codesourcery.com>
3621 * config/nvptx/nvptx.c: Expand some comments.
3623 2015-07-22 James Greenhalgh <james.greenhalgh@arm.com>
3625 * config/arm/cortex-a53 (cortex_53_advsimd): Rename to...
3626 (cortex_a53_advsimd): ...This.
3628 2015-07-22 Richard Biener <rguenther@suse.de>
3630 * genmatch.c (expr::gen_transform): Clarify error message
3631 and display location.
3633 2015-07-22 Richard Biener <rguenther@suse.de>
3635 * genmatch.c (struct operand): Add location member.
3636 (predicate, expr, c_expr, capture, if_expr, with_expr): Adjust
3638 (struct simplify): Remove match_location and result_location
3640 (elsehwere): Adjust.
3642 2015-07-22 Prachi Godbole <prachi.godbole@imgtec.com>
3644 * config/mips/m5100.md: New file.
3645 * config/mips/mips-cpus.def (m5100, m5101): Define.
3646 * config/mips/mips-tables.opt: Regenerate.
3647 * config/mips/mips.c (mips_rtx_cost_data): Add costs for m5100.
3648 * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Map -march=m5100 and
3649 -march=m5101 to -mips32r5.
3650 (MIPS_ARCH_FLOAT_SPEC): Map -m5101 to -msoft-float.
3651 (MIPS_ISA_NAN2008_SPEC): Map -march=m51* to -mnan=2008 if
3653 * config/mips/mips.md: Include m5100.md.
3654 (processor): Add m5100.
3655 * doc/invoke.texi (-march=@var{arch}): Add m5100, m5101.
3657 2015-07-22 Robert Suchanek <robert.suchanek@imgtec.com>
3659 * config/mips/mips-cpus.def (interaptiv): Define.
3660 * config/mips/mips-tables.opt: Regenerate.
3661 * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Map -march=interaptiv to
3663 (BASE_DRIVER_SELF_SPECS): Likewise but map to -mdsp.
3664 * doc/invoke.texi (-march=@var{arch}): Add interaptiv.
3666 2015-07-22 Jiong Wang <jiong.wang@arm.com>
3669 * config/aarch64/aarch64.h (REG_ALLOC_ORDER): Define.
3670 (HONOR_REG_ALLOC_ORDER): Define.
3672 2015-07-22 Richard Biener <rguenther@suse.de>
3674 PR tree-optimization/66952
3675 * tree-ssa-ifcombine.c (pass_tree_ifcombine::execute): For
3676 blocks we end up executing unconditionally reset all SSA
3677 info such as range and alignment.
3678 * tree-ssanames.h (reset_flow_sensitive_info): Declare.
3679 * tree-ssanames.c (reset_flow_sensitive_info): New function.
3681 2015-07-22 Charles Baylis <charles.baylis@linaro.org>
3683 * config/aarch64/aarch64-simd.md (vec_store_lanesoi_lane<mode>): Fix
3686 2015-07-22 Richard Biener <rguenther@suse.de>
3688 * genmatch.c (parser::parse_result): Properly handle
3689 match with result operands and conditions.
3691 2015-07-22 Charles Baylis <charles.baylis@linaro.org>
3694 * config/aarch64/aarch64-builtins.c (enum aarch64_type_qualifiers):
3695 Add qualifier_struct_load_store_lane_index.
3696 (aarch64_types_loadstruct_lane_qualifiers): Use
3697 qualifier_struct_load_store_lane_index for lane index argument for
3699 (aarch64_types_storestruct_lane_qualifiers): Ditto.
3700 (builtin_simd_arg): Add SIMD_ARG_STRUCT_LOAD_STORE_LANE_INDEX.
3701 (aarch64_simd_expand_args): Add new argument describing mode of
3702 builtin. Check lane bounds for arguments with
3703 SIMD_ARG_STRUCT_LOAD_STORE_LANE_INDEX.
3704 (aarch64_simd_expand_builtin): Emit error for incorrect lane indices
3705 if marked with SIMD_ARG_STRUCT_LOAD_STORE_LANE_INDEX.
3706 (aarch64_simd_expand_builtin): Handle arguments with
3707 qualifier_struct_load_store_lane_index. Pass machine mode of builtin to
3708 aarch64_simd_expand_args.
3709 * config/aarch64/aarch64-simd-builtins.def: Declare ld[234]_lane and
3710 vst[234]_lane with BUILTIN_VALLDIF.
3711 * config/aarch64/aarch64-simd.md:
3712 (aarch64_vec_load_lanesoi_lane<mode>): Use VALLDIF iterator. Perform
3713 endianness reversal on lane index.
3714 (aarch64_vec_load_lanesci_lane<mode>): Ditto.
3715 (aarch64_vec_load_lanesxi_lane<mode>): Ditto.
3716 (vec_store_lanesoi_lane<mode>): Use VALLDIF iterator.
3717 (vec_store_lanesci_lane<mode>): Ditto.
3718 (vec_store_lanesxi_lane<mode>): Ditto.
3719 (aarch64_ld2_lane<mode>): Use VALLDIF iterator. Remove endianness
3720 reversal of lane index.
3721 (aarch64_ld3_lane<mode>): Ditto.
3722 (aarch64_ld4_lane<mode>): Ditto.
3723 (aarch64_st2_lane<mode>): Ditto.
3724 (aarch64_st3_lane<mode>): Ditto.
3725 (aarch64_st4_lane<mode>): Ditto.
3726 * config/aarch64/arm_neon.h (__LD2_LANE_FUNC): Rename mode parameter
3727 to qmode. Add new mode parameter. Update uses.
3728 (__LD3_LANE_FUNC): Ditto.
3729 (__LD4_LANE_FUNC): Ditto.
3730 (__ST2_LANE_FUNC): Ditto.
3731 (__ST3_LANE_FUNC): Ditto.
3732 (__ST4_LANE_FUNC): Ditto.
3734 2015-07-22 Jonathan Wakely <jwakely@redhat.com>
3736 * doc/invoke.texi (Language Independent Options): Rename node to
3737 Diagnostic Message Formatting Options.
3739 2015-07-21 Vladimir Makarov <vmakarov@redhat.com>
3742 * lra-remat.c (operand_to_remat): Prevent using insns with input
3743 subregs processed separately by IRA.
3745 2015-07-21 Andrew MacLeod <amacleod@redhat.com>
3747 * ssa-iterators.h (has_zero_uses, has_single_use): Implement as
3749 (single_imm_use): Check for iterator node.
3750 (num_imm_uses): Likewise.
3751 * tree-ssa-operands.c (has_zero_uses_1): Delete.
3752 (single_imm_use_1): Check for iterator node.
3754 2015-07-21 Mike Frysinger <vapier@gentoo.org>
3755 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3757 * configure.ac: Add check for new options in isl-0.15.
3758 * config.in, configure: Rebuilt.
3759 * graphite-blocking.c: Include <isl/constraint.h>
3760 * graphite-interchange.c, graphite-poly.c: Likewise.
3761 * graphhite-scop-detection.c, graphite-sese-to-poly.c: Likewise.
3762 * graphite.c: Likewise.
3763 * graphite-isl-ast-to-gimple.c: Include <isl/constraint.h> and
3765 * graphite-dependences.c: Include <isl/constraint.h>.
3766 (max_number_of_out_dimensions): Returns isl_stat.
3767 (extend_schedule_1): Likewise
3768 (extend_schedule): Corresponding changes.
3769 * graphite-optimize-isl.c: Include <isl/constraint.h> and
3771 (getSingleMap): Change return type of isl_stat.
3772 (optimize_isl): Conditionally use
3773 isl_options_set_schedule_serialize_sccs.
3774 * graphite-poly.h (isl_stat, isl_stat_ok): Define fallbacks
3775 if not HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS.
3777 2015-07-21 Georg-Johann Lay <avr@gjlay.de>
3780 * config/avr/avr-dimode.md (<extend_u>mulsidi3_insn)
3781 (<extend_u>mulsidi3): Don't use if !AVR_HAVE_MUL.
3783 2015-07-21 Richard Biener <rguenther@suse.de>
3785 PR tree-optimization/66948
3786 * genmatch.c (capture_info::walk_match): Also recurse to
3787 captures. Properly compute expr state from captures of
3789 * match.pd: Add single-use guards to
3790 (X & C2) >> C1 into (X >> C1) & (C2 >> C1) transform.
3792 2015-07-21 Nathan Sidwell <nathan@codesourcery.com>
3794 * config/nvptx/mkoffload.c (process): Add static destructor call.
3796 2015-07-21 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3799 * match.pd (A - B -> A + (-B)): Don't allow folding
3800 when type if a fixed-point type.
3802 2015-07-20 DJ Delorie <dj@redhat.com>
3804 * config/rl78/rl78-real.md (andqi3_real): Expand operands for clr1.
3805 (iorqi3_real): Likewise for set1.
3807 2015-07-20 Uros Bizjak <ubizjak@gmail.com>
3809 * config/i386/i386.c (ix86_md_asm_adjust): Handle DImode dest_mode
3812 2015-07-20 Aditya Kumar <hiraditya@msn.com>
3814 * graphite-isl-ast-to-gimple.c:
3815 Refactor so that each function can access 'region'. This will help
3816 maintain a parameter rename_map within a region.
3818 2015-07-20 Segher Boessenkool <segher@kernel.crashing.org>
3820 * config/rs6000/rs6000.md (*lt0_disi): New.
3822 2015-07-20 Segher Boessenkool <segher@kernel.crashing.org>
3825 * config/rs6000/constraints.md ("S", "T", "t"): Delete. Update
3826 "available letters" comment.
3827 * config/rs6000/predicates.md (mask_operand, mask_operand_wrap,
3828 mask64_operand, mask64_2_operand, any_mask_operand, and64_2_operand,
3829 and_2rld_operand): Delete.
3830 (and_operand): Adjust.
3831 (rotate_mask_operator): New.
3832 * config/rs6000/rs6000-protos.h (build_mask64_2_operands,
3833 includes_lshift_p, includes_rshift_p, includes_rldic_lshift_p,
3834 includes_rldicr_lshift_p, insvdi_rshift_rlwimi_p, extract_MB,
3835 extract_ME): Delete.
3836 (rs6000_is_valid_mask, rs6000_is_valid_and_mask,
3837 rs6000_is_valid_shift_mask, rs6000_is_valid_insert_mask,
3838 rs6000_insn_for_and_mask, rs6000_insn_for_shift_mask,
3839 rs6000_insn_for_insert_mask, rs6000_is_valid_2insn_and,
3840 rs6000_emit_2insn_and): New.
3841 * config/rs6000/rs6000.c (num_insns_constant): Adjust.
3842 (build_mask64_2_operands, includes_lshift_p, includes_rshift_p,
3843 includes_rldic_lshift_p, includes_rldicr_lshift_p,
3844 insvdi_rshift_rlwimi_p, extract_MB, extract_ME): Delete.
3845 (rs6000_is_valid_mask, rs6000_is_valid_and_mask,
3846 rs6000_insn_for_and_mask, rs6000_is_valid_shift_mask,
3847 s6000_insn_for_shift_mask, rs6000_is_valid_insert_mask,
3848 rs6000_insn_for_insert_mask, rs6000_is_valid_2insn_and,
3849 rs6000_emit_2insn_and): New.
3850 (print_operand) <'b', 'B', 'm', 'M', 's', 'S', 'W'>: Delete.
3851 (rs6000_rtx_costs) <CONST_INT>: Delete mask_operand and mask64_operand
3853 <NOT>: Don't fall through to next case.
3854 <AND>: Handle the various rotate-and-mask cases directly.
3855 <IOR>: Always cost as one insn.
3856 * config/rs6000/rs6000.md (splitter for bswap:SI): Adjust.
3857 (and<mode>3): Adjust expander for the new patterns.
3858 (and<mode>3_imm, and<mode>3_imm_dot, and<mode>3_imm_dot2,
3859 and<mode>3_imm_mask_dot, and<mode>3_imm_mask_dot2): Adjust condition.
3860 (*and<mode>3_imm_dot_shifted): New.
3861 (*and<mode>3_mask): Delete, rewrite as ...
3862 (and<mode>3_mask): ... New.
3863 (*and<mode>3_mask_dot, *and<mode>3_mask_dot): Rewrite.
3864 (andsi3_internal0_nomc): Delete.
3865 (*andsi3_internal6): Delete.
3866 (*and<mode>3_2insn): New.
3867 (insv, insvsi_internal, *insvsi_internal1, *insvsi_internal2,
3868 *insvsi_internal3, *insvsi_internal4, *insvsi_internal5,
3869 *insvsi_internal6, insvdi_internal, *insvdi_internal2,
3870 *insvdi_internal3): Delete.
3871 (*rotl<mode>3_mask, *rotl<mode>3_mask_dot, *rotl<mode>3_mask_dot2,
3872 *rotl<mode>3_insert, *rotl<mode>3_insert_2, *rotl<mode>3_insert_3,
3873 *rotl<mode>3_insert_4, two splitters for multi-precision shifts,
3874 *ior<mode>_mask): New.
3875 (extzv, extzvdi_internal, *extzvdi_internal1, *extzvdi_internal2,
3876 *rotlsi3_mask, *rotlsi3_mask_dot, *rotlsi3_mask_dot2,
3877 *ashlsi3_imm_mask, *ashlsi3_imm_mask_dot, *ashlsi3_imm_mask_dot2,
3878 *lshrsi3_imm_mask, *lshrsi3_imm_mask_dot, *lshrsi3_imm_mask_dot2):
3880 (ashr<mode>3): Delete expander.
3881 (*ashr<mode>3): Rename to ...
3882 (ashr<mode>3): ... This.
3883 (ashrdi3_no_power, *ashrdisi3_noppc64be): Delete.
3884 (*rotldi3_internal4, *rotldi3_internal5 and split,
3885 *rotldi3_internal6 and split, *ashldi3_internal4, ashldi3_internal5
3886 and split, *ashldi3_internal6 and split, *ashldi3_internal7,
3887 ashldi3_internal8 and split, *ashldi3_internal9 and split): Delete.
3888 (*anddi3_2rld, *anddi3_2rld_dot, *anddi3_2rld_dot2): Delete.
3889 (splitter for loading a mask): Adjust.
3890 * doc/md.texi (Machine Constraints): Remove q, S, T, t constraints.
3892 2015-07-20 Marek Polacek <polacek@redhat.com>
3894 * genemit.c (print_code, gen_exp, gen_insn, gen_expand, gen_split,
3895 output_add_clobbers, output_added_clobbers_hard_reg_p,
3896 gen_rtx_scratch): Remove declarations.
3898 2015-07-20 Marek Polacek <polacek@redhat.com>
3901 * doc/invoke.texi: Document -Wshift-overflow and -Wshift-overflow=.
3903 2015-07-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3905 * simplify-rtx.c (simplify_unary_operation_1, NEG case):
3906 (neg (x ? (neg y) : y)) -> !x ? (neg y) : y.
3908 2015-07-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3910 * combine.c (combine_simplify_rtx): Move simplification step
3911 before various transformations/substitutions.
3913 2015-07-20 Mikhail Maltsev <maltsevm@gmail.com>
3915 * wide-int.h (struct binary_traits): Fix partial specialization syntax.
3916 (struct int_traits): Likewise.
3918 2015-07-18 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3920 * vmsdbgout.c (vmsdbgout_decl): Change name of prototyped
3921 function to vmsdbgout_function_decl.
3923 2015-07-18 Uros Bizjak <ubizjak@gmail.com>
3926 * config/i386/i386.c (ix86_expand_pextr): Reject extractions
3927 from misaligned positions.
3928 (ix86_expand_pinsr): Reject insertions to misaligned positions.
3930 2015-07-18 Sebastian Pop <s.pop@samsung.com>
3934 * Makefile.in: Removed omega.o.
3935 * common.opt: Document flag fcheck-data-deps as deprecated.
3936 * doc/invoke.texi: Remove documentation for fcheck-data-deps and
3937 its associated params: omega-max-vars, omega-max-geqs,
3938 omega-max-eqs, omega-max-wild-cards, omega-hash-table-size,
3939 omega-max-keys, omega-eliminate-redundant-constraints.
3940 * doc/loop.texi: Remove all the section on Omega.
3941 * graphite-blocking.c: Include missing params.h: it used to be
3942 included through tree-data-ref.h and omega.h.
3943 * graphite-isl-ast-to-gimple.c: Same.
3944 * graphite-optimize-isl.c: Same.
3945 * graphite-sese-to-poly.c: Same.
3949 * params.def: Removed PARAM_OMEGA_MAX_VARS, PARAM_OMEGA_MAX_GEQS,
3950 PARAM_OMEGA_MAX_EQS, PARAM_OMEGA_MAX_WILD_CARDS,
3951 PARAM_OMEGA_HASH_TABLE_SIZE, PARAM_OMEGA_MAX_KEYS, and
3952 PARAM_OMEGA_ELIMINATE_REDUNDANT_CONSTRAINTS.
3953 * passes.def: Remove pass_check_data_deps.
3954 * tree-data-ref.c (dump_affine_function): Declare DEBUG_FUNCTION.
3955 (dump_conflict_function): Same.
3956 (dump_subscript): Same.
3957 (print_direction_vector): Same.
3958 (print_dir_vectors): Same.
3959 (print_lambda_vector): Same.
3960 (print_dist_vectors): Same.
3961 (dump_data_dependence_relation): Same.
3962 (dump_data_dependence_relations): Same.
3963 (dump_dist_dir_vectors): Same.
3965 (init_omega_eq_with_af): Removed.
3966 (omega_extract_distance_vectors): Removed.
3967 (omega_setup_subscript): Removed.
3968 (init_omega_for_ddr_1): Removed.
3969 (init_omega_for_ddr): Removed.
3970 (ddr_consistent_p): Removed.
3971 (compute_affine_dependence): Do not use omega to check data
3973 (compute_data_dependences_for_bb): Removed.
3974 (analyze_all_data_dependences): Removed.
3975 (tree_check_data_deps): Removed.
3976 * tree-data-ref.h: Do not include omega.h.
3977 (compute_data_dependences_for_bb): Removed.
3978 (tree_check_data_deps): Removed.
3979 * tree-ssa-loop.c (pass_check_data_deps): Removed.
3980 (make_pass_check_data_deps): Removed.
3981 * tree-ssa-phiopt.c: Include params.h.
3982 * tree-vect-data-refs.c: Same.
3983 * tree-vect-slp.c: Same.
3985 2015-07-18 Uros Bizjak <ubizjak@gmail.com>
3987 * config/i386/i386.md (pushsf splitter): Pass curr_insn to
3988 find_constant_src. FAIL if find_constant_src returns NULL_RTX.
3989 (mem->fpreg splitters): Ditto.
3990 (general_operand->nonimmediate_operand splitter): Use explicit modes.
3991 Disable DFmode for TARGET_64BIT.
3993 2015-07-17 H.J. Lu <hongjiu.lu@intel.com>
3996 * config/i386/i386.c (ix86_expand_prologue): Replicate static
3999 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4001 * config/nvptx/mkoffload.c (process): Constify host data.
4002 * config/i386/intelmic-mkoffload.c (generate_target_descr_file):
4004 (generate_host_descr_file): Likewise.
4006 2015-07-17 Aditya Kumar <aditya.k7@samsung.com>
4007 Sebastian Pop <s.pop@samsung.com>
4010 * graphite-dependences.c (add_pdr_constraints): Renamed
4011 pdr->extent to pdr->subscript_sizes.
4012 * graphite-interchange.c (build_linearized_memory_access): Add
4013 back all gcc_assert's that the "isl_int to isl_val conversion"
4014 patch has removed. Refactored.
4015 (pdr_stride_in_loop): Renamed pdr->extent to pdr->subscript_sizes.
4016 * graphite-poly.c (new_poly_dr): Same.
4017 (free_poly_dr): Same.
4018 * graphite-poly.h (struct poly_dr): Same.
4019 * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Ignore
4020 all data references other than ARRAY_REF, MEM_REF, and COMPONENT_REF.
4021 * graphite-scop-detection.h: Fix space.
4022 * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Add
4023 back all gcc_assert's removed by a previous patch.
4024 (wrap): Remove the_isl_ctx global variable that the same patch has
4026 (build_loop_iteration_domains): Same.
4027 (add_param_constraints): Same.
4028 (pdr_add_data_dimensions): Same. Refactored.
4029 (build_poly_dr): Renamed extent to subscript_sizes.
4031 2015-07-17 Marek Polacek <polacek@redhat.com>
4033 * fold-const.c (fold_binary_loc): Move A - (A & B) into ~B & A ...
4034 * match.pd: ... here.
4036 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4038 * config/nvptx/mkoffload.c (process): Constify target data.
4039 * config/i386/intelmic-mkoffload.c (generate_target_descr_file):
4040 Constify target data.
4041 (generate_target_offloadend_file): Likewise.
4043 2015-07-17 Yuri Rumyantsev <ysrumyan@gmail.com>
4045 * tree-vect-loop-manip.c (rename_variables_in_bb): Add argument
4046 to allow renaming of PHI arguments on edges incoming from outer
4047 loop header, add corresponding check before start PHI iterator.
4048 (slpeel_tree_duplicate_loop_to_edge_cfg): Introduce new bool
4049 variable DUPLICATE_OUTER_LOOP and set it to true for outer loops
4050 with true force_vectorize. Set-up dominator for outer loop too.
4051 Pass DUPLICATE_OUTER_LOOP as argument to rename_variables_in_bb.
4052 (slpeel_can_duplicate_loop_p): Allow duplicate of outer loop if it
4053 was marked with force_vectorize and has restricted cfg.
4054 (slpeel_tree_peel_loop_to_edge): Do not rename exit PHI uses in
4056 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Do not
4057 do peeling for outer loops.
4059 2015-07-17 Yvan Roux <yvan.roux@linaro.org>
4060 Matthias Klose <doko@ubuntu.com>
4062 * configure.ac: Move AC_ARG_WITH checks for native-system-header-dir,
4063 build-sysroot, sysroot from the `Miscenalleous configure options' to
4064 the `Directories' section and strip trailing `/' from with_sysroot.
4065 (gcc_gxx_include_dir): Don't strip a `/' sysroot value.
4066 * configure: Regenerated.
4068 2015-07-17 Uros Bizjak <ubizjak@gmail.com>
4071 * config/i386/i386.h (TARGET_HARD_SF_REGS): New define.
4072 (TARGET_HARD_DF_REGS): Ditto.
4073 (TARGET_HARD_XF_REGS): Ditto.
4074 * config/i386/i386.md (*movxf_internal): Add alternatives 9 and 10.
4075 Enable alternatives 9 and 10 only for !TARGET_HARD_XF_REG target.
4076 (*movdf_internal): Add alternatives 22, 23, 24 and 25. Enable
4077 alternatives 22, 23, 24 and 25 only for !TARGET_HARD_DF_REG target.
4078 (*movsf_internal): Add alternatives 16 and 17. Enable
4079 alternatives 16 and 17 only for !TARGET_HARD_SF_REG target.
4081 2015-07-17 Uros Bizjak <ubizjak@gmail.com>
4083 PR rtl-optimization/66891
4084 * calls.c (expand_call): Wrap precompute_register_parameters with
4085 NO_DEFER_POP/OK_DEFER_POP to prevent deferred pops.
4087 2015-07-16 Nathan Sidwell <nathan@codesourcery.com>
4089 * config/nvptx/mkoffload.c (process): Constify mapping variables.
4090 Define target data struct and initialize it.
4092 2015-07-16 Vladimir Makarov <vmakarov@redhat.com>
4094 PR rtl-optimization/66626
4095 * ira.h (emit-rtl.h): Include.
4096 (non_spilled_static_chain_regno_p): New.
4097 * ira-color.c (setup_profitable_hard_regs): Clear profitable regs
4098 unless it is non spilled static chain pseudo.
4099 (assign_hard_rego): Spill memory profitable allocno unless it is
4100 non spilled static chain pseudo.
4101 (allocno_spill_priority_compare): Put non spilled static chain
4102 pseudo at the end of sorted array.
4103 (improve_allocation): Do nothing if we have static chain and
4105 (allocno__priority_compare_func): Put non spilled static chain
4106 pseudo at the beginning of sorted array.
4107 (move_spill_restore): Ignore non spilled static chain pseudo.
4108 * ira-costs.c (find_costs_and_classes): Don't assign class NO_REGS
4109 to non spilled static chain pseudo.
4110 * lra-assigns.c (pseudo_compare_func): Put non spilled static chain
4111 pseudo at the beginning of sorted array.
4112 (spill_for): Spill non spilled static chain pseudo last.
4113 * lra-constraints.c (lra_constraints): Remove static chain pseudo
4114 check for equivalence.
4116 2015-07-16 Martin Liska <mliska@suse.cz>
4119 * ipa-prop.c (update_jump_functions_after_inlining): Create properly
4120 dst_ctx if it does not exist.
4122 2015-07-16 Martin Liska <mliska@suse.cz>
4124 * hash-set.h (remove): New function.
4125 (iterator): New iteration class for hash_set.
4127 2015-07-16 Richard Sandiford <richard.sandiford@arm.com>
4129 * genattrtab.c (make_canonical): Add a file_location parameter.
4130 Use fatal_at rather than fatal.
4131 (get_attr_value): Likewise. Update call to make_canonical.
4132 (fill_attr, make_length_attrs, optimize_attrs, gen_attr)
4133 (make_internal_attr): Update calls accordingly.
4135 2015-07-16 Richard Sandiford <richard.sandiford@arm.com>
4137 * read-md.h (message_with_line, error_with_line): Delete.
4138 * read-md.c (message_with_line, error_with_line): Delete.
4139 * gensupport.h: Include read-md.h.
4140 (md_rtx_info): New structure.
4141 (read_md_rtx): Use it. Return a bool success value.
4142 * gensupport.c (read_md_rtx): Likewise.
4143 * genattr-common.c (gen_attr): Take an md_rtx_info rather than an rtx.
4144 (main): Update after interface changes.
4145 * genattr.c (gen_attr): Take an md_rtx_info rather than an rtx.
4146 (main): Update after interface changes.
4147 * genattrtab.c (insn_code_number): Delete.
4148 (optimize_attrs): Add a max_insn_code parameter and use it instead
4149 of insn_code_number.
4150 (gen_attr): Take an md_rtx_info rather than an rtx and lineno.
4151 Use *_at rather than *_with_line functions.
4152 (gen_insn): Likewise.
4153 (gen_delay): Likewise.
4154 (gen_insn_reserv): Likewise.
4155 (gen_bypass): Take an md_rtx_info rather than an rtx.
4156 (main): Update after interface changes. Use a local max_insn_code
4157 variable instead of insn_code_number.
4158 * genautomata.c (gen_cpu_unit): Take an md_rtx_info rather than
4159 an rtx. Use fatal_at rather than fatal.
4160 (gen_query_cpu_unit, gen_bypass, gen_excl_set)
4161 (gen_presence_absence_set, gen_presence_set, gen_final_presence_set)
4162 (gen_absence_set, gen_final_absence_set, gen_automaton)
4163 (gen_automata_option, gen_reserv, gen_insn_reserv): Likewise.
4164 (main): Update after interface changes.
4165 * gencodes.c (gen_insn): Take an md_rtx_info rather than an rtx
4167 (main): Update after interface changes.
4168 * genconditions.c (main): Use new read_md_rtx interface.
4169 * genconfig.c (gen_insn): Take an md_rtx_info rather than an rtx.
4170 (gen_expand, gen_split, gen_peephole, gen_peephole2): Likewise.
4171 (main): Update after interface changes.
4172 * genemit.c (insn_code_number, insn_index_number): Delete.
4173 (gen_insn): Take an md_rtx_info rather than an rtx and lineno.
4174 Use fatal_at rather than fatal.
4175 (gen_expand): Take an md_rtx_info rather than an rtx. Use fatal_at
4177 (gen_split): Likewise.
4178 (main): Update after interface changes.
4179 * genextract.c (line_no): Delete.
4180 (gen_insn): Take an md_rtx_info rather than an rtx and lineno.
4181 Update call to walk_rtx.
4182 (VEC_safe_set_locstr): Add an md_rtx_info argument. Use message_at
4183 rather than message_with_line.
4184 (walk_rtx): Add an md_rtx_info argument. Update call to
4185 VEC_safe_set_locstr.
4186 (main): Update after interface changes.
4187 * genflags.c (gen_insn): Take an md_rtx_info rather than an rtx
4188 and lineno. Use error_at rather than separate message_with_line
4189 calls and have_error assignments.
4190 (main): Update after interface changes.
4191 * genmddump.c (main): Use new read_md_rtx interface.
4192 * genopinit.c (insn): Take an md_rtx_info rather than an rtx.
4193 (main): Update after interface changes.
4194 * genoutput.c (next_code_number): Delete.
4195 (gen_insn): Take an md_rtx_info rather than an rtx and lineno.
4196 (gen_peephole, gen_expand, gen_split): Likewise.
4197 (note_constraint): Likewise. Use *_at rather than *_with_line
4199 (main): Update after interface changes.
4200 * genpeep.c (gen_peephole): Take an md_rtx_info rather than an
4202 (main): Update after interface changes.
4203 * genpreds.c (process_define_predicate): Take an md_rtx_info rather
4204 than an rtx and lineno.
4205 (process_define_constraint): Likewise.
4206 (process_define_register_constraint): Likewise.
4207 (main): Update after interface changes.
4208 * genrecog.c (next_insn_code, pattern_lineno): Delete.
4209 (validate_pattern): Replace top-level rtx with an md_rtx_info.
4210 Use *_at rather than *_with_line functions.
4211 (match_pattern_2): Likewise.
4212 (match_pattern_1, match_pattern): Add an md_rtx_info parameter.
4213 (get_peephole2_pattern): Take an md_rtx_info rather than an rtvec.
4214 Use *_at rather than *_with_line functions.
4215 * gentarget-def.c (add_insn): New function.
4216 (main): Use it. Use new read_md_rtx interface.
4218 2015-07-16 Richard Sandiford <richard.sandiford@arm.com>
4220 * gensupport.h (compute_test_codes): Take a file_location rather
4222 * gensupport.c (compute_test_codes): Likewise. Use *_at functions
4223 rather than *_with_line functions.
4224 (process_define_predicate): Update call to compute_test_codes.
4225 * genpreds.c (validate_exp): Take a file_location rather than a
4226 line number. Use *_at functions rather than *_with_line functions.
4227 (process_define_predicate): Update call to validate_exp.
4228 (constraint_data): Replace lineno field with a file_location.
4229 (add_constraint): Take a file_location rather than a line number.
4230 Use *_at functions rather than *_with_line functions. Fix error
4231 message for address constraints. Update after changes to
4232 validate_exp, constraint_data and compute_test_codes.
4233 (process_define_constraint): Update accordingly.
4234 (process_define_register_constraint): Likewise.
4236 2015-07-16 Richard Sandiford <richard.sandiford@arm.com>
4238 * genoutput.c (data): Use a file_location to record the source
4241 (idata, idata_end): Remove initialization.
4242 (constraint_data): Replace lineno with a file_location.
4243 (output_insn_data): Update after changes to data.
4244 (gen_insn, gen_peephole, gen_expand, gen_split): Likewise.
4245 (scan_operands): Likewise, using *_at rather than *_with_line
4247 (process_template): Likewise.
4248 (validate_insn_alternatives): Likewise.
4249 (validate_insn_operands): Likewise.
4250 (validate_optab_operands): Likewise.
4251 (init_insn_for_nothing): Initialize idata and idata_end.
4252 (note_constraint): Update after changes to constraint_data,
4253 using at rather than with_line functions.
4254 (mdep_constraint_len): Take a file_location rather than a
4255 line number. Use at rather than with_line functions.
4257 2015-07-16 Richard Sandiford <richard.sandiford@arm.com>
4259 * read-md.h (fatal_at): Declare.
4260 * read-md.c (fatal_at): New function.
4261 * genattrtab.c (insn_def, attr_desc, delay_desc): Use a file_location
4262 to record the source position.
4263 (check_attr_test): Take a file_location instead of a line number.
4264 Use fatal_at instead of fatal.
4265 (check_attr_value): Update after above changes, using "at"
4266 rather than "with_line" reporting functions.
4267 (convert_set_attr_alternative): Likewise.
4268 (gen_attr): Likewise.
4269 (check_defs): Likewise. Don't assign to read_md_filename.
4270 (gen_insn): Update initialization after above changes.
4271 (gen_delay): Likewise.
4272 (write_insn_cases): Print the filename for a define_peephole.
4273 (gen_insn_reserv): Take a line number as argument and update
4274 the call to check_attr_test.
4275 (main): Pass a line number to gen_insn_reserv.
4277 2015-07-16 Richard Sandiford <richard.sandiford@arm.com>
4279 * read-md.h (file_location): New structure.
4280 (directive_handler_t): Take a file_location rather than a line number.
4281 (message_at, error_at): Declare.
4282 (read_skip_construct): Delete.
4283 * read-md.c (message_with_line_1): Replace with...
4284 (message_at_1): ...this new function.
4285 (message_at, error_at): New functions.
4286 (message_with_line, error_with_line): Update to use message_at_1.
4287 (handle_enum): Take a file_location rather than a line number
4288 and use error_at for error reporting.
4289 (handle_include): Likewise.
4290 (read_skip_construct): Likewise. Make static.
4291 (handle_file): Update after above changes. Pass a file_location
4292 rather than a line number to handle_directive.
4293 * gensupport.c (queue_elem): Replace separate filename and lineno
4294 with a file_location.
4295 (queue_pattern): Replace filename and lineno arguments with a
4296 file_location. Update after change to queue_elem.
4297 (process_define_predicate): Replace lineno argument with a
4298 file_location and use error_at for error reporting. Update
4299 after above changes.
4300 (process_rtx): Likewise.
4301 (subst_pattern_match): Likewise.
4302 (get_alternatives_number): Likewise.
4303 (alter_predicate_for_insn): Likewise.
4304 (rtx_handle_directive): Likewise.
4305 (is_predicable): Update after above changes, using error_at rather
4306 than error_with_line.
4307 (has_subst_attribute): Likewise.
4308 (identify_predicable_attribute): Likewise.
4309 (alter_attrs_for_subst_insn): Likewise.
4310 (process_one_cond_exec): Likewise.
4311 (process_substs_on_one_elem): Likewise.
4312 (process_define_subst): Likewise.
4313 (check_define_attr_duplicates): Likewise.
4314 (read_md_rtx): Update after change to queue_elem.
4316 2015-07-16 Richard Sandiford <richard.sandiford@arm.com>
4318 * genoutput.c (next_index_number): Delete.
4319 (data): Remove index_number.
4320 (gen_insn, gen_peephole, gen_expand, gen_split): Update accordingly.
4321 (main): Remove manipulation of next_index_number.
4323 2015-07-16 Richard Sandiford <richard.sandiford@arm.com>
4325 * genattrtab.c (check_attr_value): Remove handling of null attrs.
4326 (make_canonical): Likewise.
4328 2015-07-16 Eric Botcazou <ebotcazou@adacore.com>
4330 * config/sparc/sparc.md (save_stack_nonlocal): Use adjust_address
4331 instead of adjust_address_nv.
4332 (restore_stack_nonlocal): Likewise.
4333 (nonlocal_goto): Likewise.
4335 2015-07-16 Tom de Vries <tom@codesourcery.com>
4337 * tree-parloops.c (create_parallel_loop): Handle case that exit phi does
4338 not have a corresponding loop header phi.
4340 2015-07-16 Tom de Vries <tom@codesourcery.com>
4342 * tree-parloops.c (create_loads_for_reductions): Handle case that
4343 reduction is unused.
4345 2015-07-16 Richard Biener <rguenther@suse.de>
4347 PR tree-optimization/66894
4348 * tree-vrp.c (register_edge_assert_for_2): Fix bad assumption
4349 about deriving NE_EXPR from truncated values.
4351 2015-07-16 Martin Liska <mliska@suse.cz>
4354 (object_allocator): Add new class.
4355 (pool_allocator::initialize): Use the underlying class.
4356 (pool_allocator::allocate): Likewise.
4357 (pool_allocator::remove): Likewise.
4358 (operator new): A new generic allocator.
4359 * asan.c (struct asan_mem_ref): Remove unused members.
4360 (asan_mem_ref_new): Replace new operator with
4361 object_allocator::allocate.
4362 (free_mem_ref_resources): Change deallocation.
4363 * cfg.c (initialize_original_copy_tables): Replace pool_allocator
4364 with object_allocator.
4365 * config/sh/sh.c (add_constant): Replace new operator with
4366 object_allocator::allocate.
4367 (sh_reorg): Change call to a release method.
4368 * cselib.c (struct elt_list): Remove unused members.
4369 (new_elt_list): Replace new operator with
4370 object_allocator::allocate.
4371 (new_elt_loc_list): Likewise.
4372 (new_cselib_val): Likewise.
4373 (unchain_one_elt_list): Change delete operator with remove method.
4374 (unchain_one_elt_loc_list): Likewise.
4375 (unchain_one_value): Likewise.
4376 (cselib_finish): Release newly added static allocators.
4377 * cselib.h (struct cselib_val): Remove unused members.
4378 (struct elt_loc_list): Likewise.
4379 * df-problems.c (df_chain_alloc): Replace pool_allocator with
4381 * df-scan.c (struct df_scan_problem_data): Likewise.
4382 (df_scan_alloc): Likewise.
4383 * df.h (struct dataflow): Likewise.
4384 * dse.c (struct read_info_type): Likewise.
4385 (struct insn_info_type): Likewise.
4386 (struct dse_bb_info_type): Likewise.
4387 (struct group_info): Likewise.
4388 (struct deferred_change): Likewise.
4389 (get_group_info): Likewise.
4390 (delete_dead_store_insn): Likewise.
4391 (free_read_records): Likewise.
4392 (replace_read): Likewise.
4393 (check_mem_read_rtx): Likewise.
4394 (scan_insn): Likewise.
4395 (dse_step1): Likewise.
4396 (dse_step7): Likewise.
4397 * et-forest.c (struct et_occ): Remove unused members.
4398 (et_new_occ): Use allocate instead of new operator.
4399 (et_new_tree): Likewise.
4400 (et_free_tree): Call release method explicitly.
4401 (et_free_tree_force): Likewise.
4402 (et_free_pools): Likewise.
4403 (et_split): Use remove instead of delete operator.
4404 * et-forest.h (struct et_node): Remove unused members.
4405 * ipa-cp.c: Change pool_allocator to object_allocator.
4406 * ipa-inline-analysis.c: Likewise.
4407 * ipa-profile.c: Likewise.
4408 * ipa-prop.c: Likewise.
4409 * ipa-prop.h: Likewise.
4410 * ira-build.c (initiate_cost_vectors): Cast return value.
4411 (ira_allocate_cost_vector): Likewise.
4412 * ira-color.c (struct update_cost_record): Remove unused members.
4413 * lra-int.h (struct lra_live_range): Likewise.
4414 (struct lra_copy): Likewise.
4415 (struct lra_insn_reg): Likewise.
4416 * lra-lives.c (lra_live_ranges_finish): Release new static allocator.
4417 * lra.c (new_insn_reg): Replace new operator with allocate method.
4418 (free_insn_regs): Same for operator delete.
4419 (finish_insn_regs): Release new static allocator.
4420 (finish_insn_recog_data): Likewise.
4421 (lra_free_copies): Replace delete operator with remove method.
4422 (lra_create_copy): Replace operator new with allocate method.
4423 (invalidate_insn_data_regno_info): Same for remove method.
4424 * regcprop.c (struct queued_debug_insn_change): Remove unused members.
4425 (free_debug_insn_changes): Replace delete operator with remove method.
4426 (replace_oldest_value_reg): Replace operator new with allocate method.
4427 (pass_cprop_hardreg::execute): Release new static variable.
4428 * sched-deps.c (sched_deps_init): Change pool_allocator to
4430 * sel-sched-ir.c: Likewise.
4431 * sel-sched-ir.h: Likewise.
4432 * stmt.c (expand_case): Likewise.
4433 (expand_sjlj_dispatch_table): Likewise.
4434 * tree-sra.c (struct access): Remove unused members.
4435 (struct assign_link): Likewise.
4436 (sra_deinitialize): Release newly added static pools.
4437 (create_access_1):Replace operator new with allocate method.
4438 (build_accesses_from_assign): Likewise.
4439 (create_artificial_child_access): Likewise.
4440 * tree-ssa-math-opts.c (pass_cse_reciprocals::execute): Change
4441 pool_allocator to object_allocator.
4442 * tree-ssa-pre.c: Likewise.
4443 * tree-ssa-reassoc.c: Likewise.
4444 * tree-ssa-sccvn.c (allocate_vn_table): Likewise.
4445 * tree-ssa-strlen.c: Likewise.
4446 * tree-ssa-structalias.c: Likewise.
4447 * var-tracking.c (onepart_pool_allocate): New function.
4448 (unshare_variable): Use the newly added function.
4449 (variable_merge_over_cur): Likewise.
4450 (variable_from_dropped): Likewise.
4451 (variable_was_changed): Likewise.
4452 (set_slot_part): Likewise.
4453 (emit_notes_for_differences_1): Likewise.
4454 (vt_finalize): Release newly added static pools.
4456 2015-07-16 Martin Jambor <mjambor@suse.cz>
4458 * ipa-prop.h (param_aa_status): Rename to ipa_param_aa_status. Adjust
4459 all uses. Fix two typos in its general comment.
4460 (func_body_info): Rename to ipa_func_body_info. Adjust all uses.
4462 2015-07-16 Ilya Enkovich <enkovich.gnu@gmail.com>
4464 * config/i386/linux-common.h (LINK_MPX): New.
4465 (MPX_SPEC): Use LINK_MPX instead of %(link_mpx).
4466 * configure.ac: Add HAVE_LD_BNDPLT_SUPPORT macro
4467 indicating '-z bndplt' support by linker.
4468 * configure: Regenerate.
4469 * config.in: Regenerate.
4471 2015-07-16 Richard Biener <rguenther@suse.de>
4473 * fold-const.c (fold_widened_comparison): Remove.
4474 (fold_sign_changed_comparison): Likewise.
4475 (fold_comparison): Move widened and sign-changed comparison
4477 * match.pd: ... to patterns here.
4478 * generic-match-head.c: Include target.h.
4479 * gimple-match-head.c: Likewise.
4481 2015-07-16 Richard Biener <rguenther@suse.de>
4483 * tree-ssa-dom.c (dom_valueize): New function.
4484 (record_temporary_equivalences): Also record equivalences
4485 for dominating stmts that have uses of equivalences we are
4488 2015-07-16 Bin Cheng <bin.cheng@arm.com>
4490 * tree-ssa-loop-ivopts.c (add_candidate): Remove call to
4491 add_autoinc_candidates.
4492 (add_iv_candidate_for_biv): Rename to add_iv_candidate_for_biv.
4493 (add_iv_candidate_for_biv): Rename from add_iv_candidate_for_biv.
4494 (add_old_ivs_candidates): Rename to add_iv_candidate_for_bivs.
4495 (add_iv_candidate_for_bivs): Rename from add_old_ivs_candidates.
4497 (add_iv_value_candidates): Rename to add_iv_candidate_for_use.
4498 (add_iv_candidate_for_use): Rename from add_iv_value_candidates.
4499 Remove parameter struct iv*. Call add_autoinc_candidates here.
4500 (add_derived_ivs_candidates): Rename to add_iv_candidate_for_uses.
4501 (add_iv_candidate_for_uses): Rename from add_derived_ivs_candidates.
4503 (find_iv_candidates): Call new functions.
4505 2015-07-16 Sandra Loosemore <sandra@codesourcery.com>
4507 * config/nios2/nios2.c (nios2_emit_stack_limit_check): Fix
4508 uninitialized-variable warning.
4510 2015-07-16 Kaz Kojima <kkojima@gcc.gnu.org>
4513 * config/sh/sh.md (movdi): Split simple reg move to two movsi
4514 when the destination is R0.
4516 2015-07-16 Uros Bizjak <ubizjak@gmail.com>
4519 * config/i386/i386-protos.h (ix86_expand_pextr): New prototype.
4520 * config/i386/i386.c (ix86_expand_pextr): New function.
4521 (ix86_expand_pinsr): Handle V1TI and TI modes. Call ix86_expand_pextr
4522 for non-lowpart subregs.
4523 * config/i386/i386.md (extzv<mode>): Expand with ix86_expand_pextr.
4524 (insv<mode>): Use SWI248 mode iterator.
4525 (insv<mode>_1): Ditto.
4527 2015-07-15 Aditya Kumar <aditya.k7@samsung.com>
4528 Sebastian Pop <s.pop@samsung.com>
4530 * graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps): Point
4531 iterator to use_stmt.
4533 2015-07-15 Aditya Kumar <aditya.k7@samsung.com>
4534 Sebastian Pop <s.pop@samsung.com>
4536 * graphite-scop-detection.c (build_scops_1): Discard scops for
4539 2015-07-15 Aditya Kumar <aditya.k7@samsung.com>
4540 Sebastian Pop <s.pop@samsung.com>
4542 * graphite-scop-detection.c (stmt_simple_for_scop_p): Bail out in
4543 case of a return statement in scop.
4545 2015-07-15 Aditya Kumar <aditya.k7@samsung.com>
4546 Sebastian Pop <s.pop@samsung.com>
4548 * graphite-sese-to-poly.c (parameter_index_in_region): Only handle
4549 INTEGER_TYPE parameters.
4550 (scan_tree_for_params): Handle REAL_CST, COMPLEX_CST, and
4551 VECTOR_CST in scan_tree_for_params.
4552 (add_conditions_to_domain): Only constrain on INTEGER_TYPE.
4554 2015-07-15 Andrew MacLeod <amacleod@redhat.com>
4556 * gimple-pretty-print.h: Don't include pretty-print.h.
4557 * tree-streamer.h: Don't include lto-streamer.h.
4558 * gimple-streamer.h: Include tree-streamer.h rather than lto-streamer.h.
4559 * gimple-streamer-in.c: Remove redundant includes.
4560 * gimple-streamer-out.c: Likewise.
4561 * ipa-devirt.c: Likewise.
4562 * ipa-icf.c: Likewise.
4563 * ipa-inline-analysis.c: Likewise.
4564 * ipa-polymorphic-call.c: Likewise.
4565 * ipa-profile.c: Likewise.
4566 * ipa-prop.c: Likewise.
4567 * ipa-pure-const.c: Likewise.
4568 * lto-cgraph.c: Likewise.
4569 * lto-streamer-in.c: Likewise.
4570 * lto-streamer-out.c: Likewise.
4571 * lto-streamer.c: Likewise.
4572 * tree-streamer-in.c: Likewise.
4573 * tree-streamer-out.c: Likewise.
4574 * tree-streamer.c: Likewise.
4576 2015-07-15 Andrew MacLeod <amacleod@redhat.com>
4578 * opth-gen.awk: Check for UNKNOWN_LOCATION rather than GCC_TM_H, don't
4580 * opts.c: Remove multiline #include comment.
4582 2015-07-15 Nathan Sidwell <nathan@codesourcery.com>
4584 * config/nvptx/mkoffload.c (process): Add C++ protection to
4587 2015-07-14 Michael Meissner <meissner@linux.vnet.ibm.com>
4590 * config/rs6000/rs6000.c (rs6000_pass_by_reference): Move test for
4591 null before IEEE 128-bit floating point support patch.
4593 2015-07-15 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4595 * simplify-rtx.c (simplify_ternary_operation): Add simplification
4596 for (!c) != {0,...,0} ? a : b for vector modes.
4598 2015-07-15 Paolo Bonzini <bonzini@gnu.org>
4599 Martin Jambor <mjambor@suse.cz>
4601 * ipa-inline-analysis.c (unmodified_parm_or_parm_agg_item): Accept
4602 struct func_body_info* instead of struct ipa_node_params*, expecting
4603 fbi->info to be filled in. Replace throughout. Adjust call to
4604 ipa_load_from_parm_agg.
4605 (set_cond_stmt_execution_predicate): Accept struct func_body_info*
4606 instead of struct ipa_node_params*. Adjust calls to other functions
4607 so that they pass either fbi or fbi->info.
4608 (set_switch_stmt_execution_predicate): Likewise.
4609 (will_be_nonconstant_predicate): Likewise.
4610 (compute_bb_predicates): Likewise.
4611 (estimate_function_body_sizes): Move asserts earlier. Fill in
4612 struct func_body_info, replace parms_info with fbi.info. Adjust
4613 calls to functions that now accept struct func_body_info.
4614 * ipa-prop.c (param_aa_status, struct ipa_bb_info): Move to ipa-prop.h.
4615 (struct func_body_info): Likewise.
4616 (ipa_load_from_parm_agg_1): Rename to ipa_load_from_parm_agg,
4617 remove static. Adjust callers.
4618 (ipa_load_from_parm_agg): Remove.
4619 * ipa-prop.h (param_aa_status, ipa_bb_info): Move from ipa-prop.c.
4620 (func_body_info): Likewise.
4621 (ipa_load_from_parm_agg): Adjust prototype.
4623 2015-07-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4625 * gensupport.c (rtx_handle_directive): Adjust.
4626 * read-rtl.c (apply_iterators): Take vector to add rtxs to
4627 instead of expr list rtx.
4628 (add_define_attr_for_define_subst): Likewise.
4629 (add_define_subst_attr): Likewise.
4630 (read_subst_mapping): Likewise.
4631 (read_rtx): Likewise.
4632 * rtl.h (read_rtx): Adjust.
4634 2015-07-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4636 * config/aarch64/aarch64.md (*csinc2<mode>_insn): Use cinc mnemonic.
4638 2015-07-15 Uros Bizjak <ubizjak@gmail.com>
4641 * config/i386/i386.md (*tls_global_dynamic_64_<mode>): Depend on SP_REG.
4642 (*tls_local_dynamic_base_64_<mode>): Ditto.
4643 (*tls_local_dynamic_base_64_largepic): Ditto.
4644 (tls_global_dynamic_64_<mode>): Update expander pattern.
4645 (tls_local_dynamic_base_64_<mode>): Ditto.
4647 2015-07-15 Richard Biener <rguenther@suse.de>
4649 * fold-const.c (fold_binary_loc): Move bool_var != 0 -> bool_var
4650 and bool_var == 1 -> bool_var simplifications ...
4651 * match.pd: ... to patterns here. Factor out negate_expr_p
4652 cases from the A - B -> A + (-B) patterns as negate_expr_p
4653 predicate and add a -(A + B) -> (-B) - A pattern.
4655 2015-07-15 Robert Suchanek <robert.suchanek@imgtec.com>
4657 * config/mips/mips.c (mips_emit_save_slot_move): Fix typo.
4659 2015-07-15 Matthew Fortune <matthew.fortune@imgtec.com>
4660 Robert Suchanek <robert.suchanek@imgtec.com>
4662 * config/mips/mips.c (mips_int_mask): New enum.
4663 (mips_shadow_set): Likewise.
4664 (int_mask): New variable.
4665 (use_shadow_register_set_p): Change type to enum mips_shadow_set.
4666 (machine_function): Add int_mask and use_shadow_register_set.
4667 (mips_attribute_table): Add attribute handlers for interrupt and
4668 use_shadow_register_set.
4669 (mips_interrupt_mask): New static function.
4670 (mips_handle_interrupt_attr): Likewise.
4671 (mips_handle_use_shadow_register_set_attr): Likewise.
4672 (mips_use_shadow_register_set): Change return type to enum
4673 mips_shadow_set. Add argument handling for use_shadow_register_set
4675 (mips_interrupt_extra_called_saved_reg_p): Update the conditional to
4676 compare with mips_shadow_set enum.
4677 (mips_compute_frame_info): Add interrupt mask and
4678 use_shadow_register_set to per-function information structure.
4679 Add a stack slot for EPC unconditionally.
4680 (mips_expand_prologue): Compare use_shadow_register_set value
4681 with mips_shadow_set enum. Save EPC always in K1, clobber only K1 for
4682 masked interrupt register but in EIC mode use K0 and save Cause in K0.
4683 EPC saved and restored unconditionally. Use PMODE_INSN macro when
4684 copying the stack pointer from the shadow register set.
4685 * config/mips/mips.h (SR_IM0): New define.
4686 * config/mips/mips.md (mips_rdpgpr): Rename to...
4687 (mips_rdpgpr_<mode>): ...this. Use the Pmode iterator.
4688 * doc/extend.texi (Declaring Attributes of Functions): Document
4689 optional arguments for interrupt and use_shadow_register_set
4692 2015-07-15 Robert Suchanek <robert.suchanek@imgtec.com>
4694 * config/mips/mips.c (mips_compute_frame_info): Allow -mhard-float in
4695 interrupt attribute.
4696 (mips_expand_prologue): Disable the floating point unit in an ISR.
4697 * config/mips/mips.h (SR_COP1): New define.
4699 2015-07-15 Richard Biener <rguenther@suse.de>
4701 * genmatch.c (parser::peek, parser::peek_ident): Add argument
4702 to tell how many tokens to peek ahead (default 1).
4703 (parser::eat_token, parser::eat_ident): Return token consumed.
4704 (parser::parse_result): Parse new switch statement.
4705 * match.pd: Use case statements where appropriate.
4707 2015-07-15 Uros Bizjak <ubizjak@gmail.com>
4709 PR rtl-optimization/58066
4710 * calls.c (expand_call): Precompute register parameters before stack
4711 alignment is performed.
4713 2015-07-15 Uros Bizjak <ubizjak@gmail.com>
4715 PR rtl-optimization/66838
4716 * postreload.c (reload_cse_move2add): Also process
4717 CALL_INSN_FUNCTION_USAGE when resetting information of
4718 call-clobbered registers.
4720 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4721 Cesar Philippidis <cesar@codesourcery.com>
4722 Chung-Lin Tang <cltang@codesourcery.com>
4724 * config/nios2/constraints.md (U, v): New constraints.
4725 * config/nios2/predicates.md (rdprs_dcache_operand): New.
4726 (ldstex_memory_operand): New.
4727 * config/nios2/sync.md: New file.
4728 * config/nios2/nios2.md (unspecv): Add new builtin function
4730 (rdprs, flushd, flushda, wrpie, eni): New patterns.
4731 (top-level): Include sync.md.
4732 * config/nios2/nios2.c (N2_FTYPES): Add function types for
4734 (N2_BUILTINS): Add arch field setting, add new builtins.
4735 (enum nios2_builtin_code,nios2_builtins): Update N2_BUILTIN_DEF
4737 (nios2_expand_ldst_builtin): Rename from nios2_expand_ldstio_builtin.
4738 Also handle ldex/stex/ldsex/stsex builtins.
4739 (nios2_expand_rdprs_builtin): New function.
4740 (nios2_expand_cache_builtin): New function.
4741 (nios2_expand_wrpie_builtin): New function.
4742 (nios2_expand_eni_builtin): New function.
4743 (nios2_expand_builtin): Add arch field handling and new builtin
4745 * doc/extend.texi (Altera Nios II Built-in Functions): Document
4747 * doc/md.texi (Machine Constraints): Document U and v constraints.
4749 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4750 Cesar Philippidis <cesar@codesourcery.com>
4751 Chung-Lin Tang <cltang@codesourcery.com>
4753 * config/nios2/nios2-protos.h (nios2_expand_return): Declare.
4754 * config/nios2/nios2.c (struct GTY (()) machine_function): Add
4755 callee_save_reg_size and uses_anonymous_args fields.
4756 (nios2_compute_frame_layout): Update for CDX push.n/pop.n usage.
4757 (nios2_create_cfa_notes): New function.
4758 (nios2_adjust_stack): New function for adjusting stack.
4759 (nios2_expand_prologue): Update for CDX push.n/pop.n usage.
4760 Use nios2_adjust_stack.
4761 (nios2_expand_epilogue): Likewise.
4762 (nios2_expand_return): New function.
4763 (nios2_can_use_return_insn): Update for CDX pop.n usage.
4764 (nios2_setup_incoming_varargs): Set uses_anonymous_args flag.
4765 If TARGET_HAS_CDX, defer pushing regs to nios2_expand_prologue.
4766 * config/nios2/nios2.md (return): Use nios2_expand_return.
4768 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4769 Cesar Philippidis <cesar@codesourcery.com>
4770 Chung-Lin Tang <cltang@codesourcery.com>
4772 * config/nios2/predicates.md (pop_operation): New.
4773 (ldwm_operation, stwm_operation): New.
4774 (nios2_hard_register_operand): New.
4775 * config/nios2/nios2-protos.h (pop_operation_p): Declare.
4776 (ldstwm_operation_p): Declare.
4777 (gen_ldstwm_peep): Declare.
4778 * config/nios2/nios2.c: (nios2_ldst_parallel): Declare.
4779 (base_reg_adjustment_p): New.
4780 (pop_operation_p): New.
4781 (CDX_LDSTWM_VALID_REGS_0, CDX_LDSTWM_VALID_REGS_1): Define.
4782 (nios2_ldstwm_regset_p): New.
4783 (ldstwm_operation_p): New.
4785 (nios2_ldst_parallel): New.
4786 (struct ldswm_operand): Declare.
4787 (compare_ldstwm_operands): New.
4788 (can_use_cdx_ldstw): New.
4789 (gen_ldstwm_peep): New.
4790 * config/nios2/nios2-ldstwm.sml: New.
4791 * config/nios2/nios2.md: Include ldstwm.md.
4792 * config/nios2/ldstwm.md: Generated.
4794 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4795 Cesar Philippidis <cesar@codesourcery.com>
4796 Chung-Lin Tang <cltang@codesourcery.com>
4798 * config/nios2/nios2.h (LABEL_ALIGN): Define.
4799 (REG_ALLOC_ORDER): Define.
4800 (ADJUST_REG_ALLOC_ORDER): Define.
4801 (HONOR_REG_ALLOC_ORDER): Define.
4802 (CDX_REG_P): Define.
4803 (ANDCLEAR_INT): Define.
4804 * config/nios2/nios2-protos.h (nios2_add_insn_asm): Declare.
4805 (nios2_label_align): Declare.
4806 (nios2_cdx_narrow_form_p): Declare.
4807 (nios2_adjust_reg_alloc_order): Declare.
4808 * config/nios2/nios2.c (nios2_rtx_costs): Adjust for BMX zero-extract
4810 (nios2_large_unspec_reloc_p): New function, split from...
4811 (nios2_legitimate_pic_operand_p): ...here.
4812 (nios2_emit_move_sequence): Add *high/*lo_sum constant expand code.
4813 (nios2_print_operand_punct_valid_p): New.
4814 (nios2_print_operand): Add %., %!, %x, %y, %A. Remove %U.
4815 (split_mem_address): New.
4816 (split_alu_insn): New.
4818 (cdx_add_immed, cdx_and_immed, cdx_mov_immed, cdx_shift_immed): New.
4819 (enum nios2_add_insn_kind): New.
4820 (nios2_add_insn_names, nios2_add_insn_narrow): New.
4821 (nios2_add_insn_classify): New.
4822 (nios2_add_insn_asm): New.
4823 (nios2_cdx_narrow_form_p): New.
4824 (label_align, min_labelno, max_labelno): New.
4826 (nios2_label_align): New.
4827 (nios2_adjust_reg_alloc_order): New.
4828 (TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define.
4829 (TARGET_MACHINE_DEPENDENT_REORG): Define.
4830 * config/nios2/constraints.md (P): New constraint.
4831 * config/nios2/predicates.md (const_and_operand): New.
4833 (stack_memory_operand): New.
4834 * config/nios2/nios2.md (SP_REGNO): Define stack pointer regno.
4835 (length): Update to use nios2_cdx_narrow_form_p().
4836 (type): Add new insn type values.
4837 (control, alu, st, ld, shift): Update insn reservations with
4838 new insn type values.
4839 (*high, *lo_sum): Define new insn patterns for constant generation.
4840 (movqi_internal, movhi_internal, movsi_internal): Reduce
4841 alternatives, update asm template to handle CDX variants, update
4843 (zero_extendhisi2, zero_extendqi<mode>2): Add CDX variants to asm
4844 template, update type attributes.
4845 (extendhisi2, extendqi<mode>2): Likewise.
4846 (addsi3): Change to use function for asm string.
4847 (subsi3): Add CDX notation to asm template, update type attributes.
4848 (negsi3, one_cmplsi3): Likewise.
4849 (andsi3): New pattern, specialized from logical patterns.
4850 (<code>si3): Remove and case, combine alternatives, update asm
4852 (<shift_op>si3): Add CDX notation, update type attributes.
4853 (rotrsi3): Update type attribute.
4854 (*merge, extzv, insv): New insn patterns.
4855 (return): Change to define_expand.
4856 (simple_return): Add CDX notation, update type attributes.
4857 (indirect_jump): Add CDX notation.
4858 (jump): Update asm cases, update length attribute expression.
4859 (*call, *call_value, *sibcall, *sibcall_value): Add CDX variant.
4860 (nios2_cbranch): Update asm cases and length attribute expression
4861 to handle CDX variants.
4862 (nios2_cmp<code>): Update asm template.
4863 (nop): Add CDX notation, update type attributes.
4864 (trap): Add CDX notation.
4865 (ctrapsi4): Update asm cases and length attribute expression to
4867 * doc/md.texi (Machine Constraints): Document P constraint.
4869 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4870 Cesar Philippidis <cesar@codesourcery.com>
4871 Chung-Lin Tang <cltang@codesourcery.com>
4873 * config/nios2/nios2.h (SMALL_INT12): New macro.
4874 * config/nios2/nios2.c (nios2_valid_addr_offset_p): New function.
4875 (nios2_valid_addr_expr_p): Use it.
4876 (nios2_symbol_ref_in_small_data_p): Disallow GP-relative addressing
4877 with implicit "io" instructions on R2.
4878 * config/nios2/constraints.md (w): New constraint.
4879 * config/nios2/predicates.md (ldstio_memory_operand): New.
4880 * config/nios2/nios2.md (ld<bhw_uns>io, ld<bh>io): Update memory
4881 operand predicate and constraint.
4882 (ld<bh>io_signed, st<bhw>io>): Likewise.
4883 * doc/md.texi (Machine Constraints): Document w constraint.
4885 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4886 Cesar Philippidis <cesar@codesourcery.com>
4887 Chung-Lin Tang <cltang@codesourcery.com>
4889 * config/nios2/nios2.opt (march, mbmx, mcdx): New options.
4890 * config/nios2/nios2-opts.h (enum nios2_arch_type): New enum for
4891 Nios II architecture level.
4892 * config/nios2/nios2.h (TARGET_ARCH_R2): New define.
4893 (TARGET_CPU_CPP_BUILTINS): Add definition of __nios2_arch__ symbol.
4894 (OPTION_DEFAULT_SPECS): Define.
4895 (ASM_SPEC): Add -march= spec strings.
4896 * config/nios2/nios2.c (nios2_option_override): Check for
4897 conflicts involving new options.
4898 * config.gcc (nios2*-*-*): Support --with-arch=.
4899 * doc/invoke.texi (Option Summary, Nios II Options): Document
4900 -march=, -mbmx, and -mcdx.
4902 2015-07-14 Vladimir Makarov <vmakarov@redhat.com>
4904 PR rtl-optimization/66626
4905 * lra-constraints.c (lra_constraints): Prevent equivalence
4906 substitution for static chain pseudo in functions with nonlocal
4909 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4911 * config/nios2/nios2.c (TEMP_REG_NUM): Move define up in file.
4912 (nios2_emit_stack_limit_check): Add size parameter. Handle
4913 -fstack-limit-symbol as well as -fstack-limit-register.
4914 (nios2_expand_prologue): Emit only a single stack limit check,
4915 even if multiple stack adjustments are required.
4916 (nios2_option_override): Diagnose unsupported combination of -fpic
4917 and -stack-limit-symbol.
4919 2015-07-14 H.J. Lu <hongjiu.lu@intel.com>
4921 * Makefile.in (top_srcdir): New.
4922 * configure.ac: Use AM_ZLIB.
4923 * configure: Regeneated.
4925 2015-07-14 Matthias Klose <doko@ubuntu.com>
4928 * config/rs6000/t-rs6000 (TM_H): Add rs6000-cpus.def.
4930 2015-07-14 Richard Biener <rguenther@suse.de>
4932 PR tree-optimization/66863
4933 * tree-vrp.c (register_edge_assert_for_2): Properly restrict
4934 what we record for conversion use stmt lhs inequalities.
4936 2015-07-14 Richard Biener <rguenther@suse.de>
4938 * genmatch.c (dt_node::gen_kids_1): Fix case label indenting.
4939 (decision_tree::gen_gimple): Likewise.
4941 2015-07-14 Tom de Vries <tom@codesourcery.com>
4943 * gcc.c (greater_than_spec_func): Declare forward.
4944 (LINK_COMMAND_SPEC, GOMP_SELF_SPECS): Use gt to ignore
4945 -ftree-parallelize-loops={0,1}.
4946 (static_spec_functions): Add greater_than_spec_func function with name
4948 (greater_than_spec_func): New function.
4950 2015-07-14 Richard Biener <rguenther@suse.de>
4952 * tree-ssa-dom.c (record_temporary_equivalences): Merge
4953 wideing type conversion case from record_equivalences_from_incoming_edge
4954 and use record_equality to record equivalences.
4955 (record_equivalences_from_incoming_edge): Call
4956 record_temporary_equivalences.
4958 2015-07-14 Richard Biener <rguenther@suse.de>
4960 * genmatch.c (struct operand): Add OP_IF and OP_WITH op_types.
4961 (struct if_expr): New.
4962 (struct with_expr): Likewise.
4963 (is_a_helper): Add helpers for if_expr and with_expr.
4964 (struct simplify): Add simplify_kind enum and member. Remove
4966 (simplify::simplify): Adjust.
4967 (lower_commutative): Adjust.
4968 (lower_opt_convert): Likewise.
4969 (lower_cond): Likewise.
4970 (replace_id): Handle with_expr and if_expr.
4971 (lower_for): Adjust.
4972 (dt_simplify::gen_1): New recursive worker, split out from ...
4973 (dt_simplify::gen): ... here. Deal with if and with expansion
4975 (capture_info::capture_info): Take context argument
4976 (capture_info::walk_result): Only analyze specific result.
4977 (parser::parse_result): New function.
4978 (parser::parse_simplify): Adjust to parse ifs with then end
4980 (parser::parse_if): Simplify.
4981 (parser::parse_pattern): Pass down simplify kind.
4982 * match.pd: Convert if structure to new syntax.
4984 2015-07-13 Marek Polacek <polacek@redhat.com>
4986 * rtl.c (rtx_equal_p_cb): Fix typo.
4988 2015-07-13 Andrew MacLeod <amacleod@redhat.com>
4990 * omega.h: Don't include config.h, don't include params.h again if
4991 omega.h has already been included.
4992 * graphite-poly.h: Include sese.h.
4993 * graphite.c: Don't include sese.h, remove needless includes and
4994 minimize includes outside #ifdef HAVE_isl block.
4995 * graphite-blocking.c: Don't include sese.h, remove needless includes,
4996 and wrap entire file in #ifdef HAVE_isl
4997 * graphite-dependences.c: Likewise.
4998 * graphite-interchange.c: Likewise.
4999 * graphite-isl-ast-to-gimple.c: Likewise.
5000 * graphite-optimize-isl.c: Likewise.
5001 * graphite-poly.c: Likewise.
5002 * graphite-scop-detection.c: Likewise.
5003 * graphite-sese-to-poly.c: Likewise.
5005 2015-07-13 Tom de Vries <tom@codesourcery.com>
5007 * omp-low.c (build_receiver_ref): Mark *.omp_data_i as non-trapping.
5009 2015-07-13 Renlin Li <renlin.li@arm.com>
5012 * simplify-rtx.c (simplify_const_relational_operation): Add
5013 side_effects_p checks.
5015 2015-07-12 Aldy Hernandez <aldyh@redhat.com>
5017 * bitmap.h: Fix double word typos.
5020 * cfgloopmanip.c: Same.
5023 * cgraphclones.c: Same.
5025 * config/aarch64/aarch64-protos.h: Same.
5026 * config/aarch64/aarch64.c: Same.
5027 * config/aarch64/aarch64.md: Same.
5028 * config/arm/arm.md: Same.
5029 * config/arm/arm1020e.md: Same.
5030 * config/arm/arm1026ejs.md: Same.
5031 * config/arm/arm926ejs.md: Same.
5032 * config/arm/fa526.md: Same.
5033 * config/arm/fa606te.md: Same.
5034 * config/arm/fa626te.md: Same.
5035 * config/arm/fa726te.md: Same.
5036 * config/arm/fmp626.md: Same.
5037 * config/darwin.c: Same.
5038 * config/epiphany/epiphany.c: Same.
5039 * config/frv/frv.c: Same.
5040 * config/ft32/ft32.c: Same.
5041 * config/gnu-user.h: Same.
5042 * config/h8300/constraints.md: Same.
5043 * config/i386/i386.c: Same.
5044 * config/i386/i386.md: Same.
5045 * config/iq2000/iq2000.md: Same.
5046 * config/mips/mips.c: Same.
5047 * config/mmix/mmix.md: Same.
5048 * config/moxie/moxie.c: Same.
5049 * config/nds32/nds32.md: Same.
5050 * config/pa/pa.h: Same.
5051 * config/rs6000/aix.h: Same.
5052 * config/rs6000/rs6000.h: Same.
5053 * config/sh/sh.c: Same.
5054 * config/tilegx/tilegx.md: Same.
5055 * config/tilepro/gen-mul-tables.cc: Same.
5058 * doc/invoke.texi: Same.
5060 * dwarf2out.c: Same.
5065 * hash-table.h: Same.
5066 * internal-fn.c: Same.
5068 * ipa-devirt.c: Same.
5071 * ipa-profile.c: Same.
5076 * reg-stack.c: Same.
5082 * tree-inline.c: Same.
5084 * tree-ssa-dom.c: Same.
5085 * tree-ssa-loop-ivopts.c: Same.
5086 * tree-ssa-structalias.c: Same.
5087 * tree-ssa-tail-merge.c: Same.
5088 * tree-ssa-ter.c: Same.
5089 * tree-ssa-threadupdate.c: Same.
5090 * tree-ssa-uninit.c: Same.
5091 * tree-ssanames.c: Same.
5092 * tree-vect-loop-manip.c: Same.
5098 2015-07-12 Kugan Vivekanandarajah <kuganv@linaro.org>
5101 * tree-ssa-phiopt.c(factor_out_conditional_conversion): New function.
5102 tree_ssa_phiopt_worker): Call it.
5104 2015-07-12 Kugan Vivekanandarajah <kuganv@linaro.org>
5106 * cse.c (cse_insn): Calculate src_eqv for ZERO_EXTRACT.
5107 * emit-rtl.c (set_for_reg_notes): Allow ZERO_EXTRACT to set
5110 2015-07-11 Marek Polacek <polacek@redhat.com>
5113 * basic-block.h (has_abnormal_call_or_eh_pred_edge_p): New function.
5114 * ira-lives.c (bb_has_abnormal_call_pred): Remove function.
5115 (process_bb_node_lives): Call has_abnormal_call_or_eh_pred_edge_p
5116 rather than bb_has_abnormal_call_pred.
5117 * lra-lives.c (bb_has_abnormal_call_pred): Remove function.
5118 (process_bb_lives): Call has_abnormal_call_or_eh_pred_edge_p
5119 rather than bb_has_abnormal_call_pred.
5121 2015-07-10 Anatoly Sokolov <aesok@post.ru>
5123 * config/v850/v850.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P,
5124 REG_OK_FOR_BASE_P_STRICT, REG_OK_FOR_INDEX_P_STRICT, STRICT,
5125 RTX_OK_FOR_BASE_P, GO_IF_LEGITIMATE_ADDRESS): Remove macros.
5126 * config/v850/v850.c (v850_reg_ok_for_base_, v850_rtx_ok_for_base_p,
5127 v850_legitimate_address_p): New functions.
5128 (TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): Define.
5130 2015-07-10 H.J. Lu <hongjiu.lu@intel.com>
5133 * config/i386/i386.c (ix86_function_ok_for_sibcall): Allow
5134 indirect sibcall with register arguments if register available
5135 for argument passing.
5136 (init_cumulative_args): Set cfun->machine->arg_reg_available
5137 to (cum->nregs > 0) or to true if function has a variable
5139 (function_arg_advance_32): Set cfun->machine->arg_reg_available
5140 to false if cum->nregs <= 0.
5141 * config/i386/i386.h (machine_function): Add arg_reg_available.
5143 2015-07-10 Uros Bizjak <ubizjak@gmail.com>
5145 * config/i386/sse.md (movdi_to_sse): Use gen_lowpart
5146 and gen_higpart instead of gen_rtx_SUBREG.
5147 * config/i386/i386.md
5148 (floatdi<X87MODEF:mode>2_i387_with_xmm splitter): Ditto.
5149 (read-modify peephole2): Use gen_lowpart instead of
5150 gen_rtx_SUBREG for operand 5.
5152 2015-07-10 Andrew MacLeod <amacleod@redhat.com>
5154 * config/tilepro/gen-mul-tables.cc (main): Change include list for
5156 * config/tilepro/mul-tables.c: Regenerate.
5157 * config/tilegx/mul-tables.c: Regenerate.
5159 2015-07-10 Richard Biener <rguenther@suse.de>
5161 * fold-const.c (distribute_bit_expr): Remove.
5162 (fold_binary_loc): Move simplifying (A & C1) + (B & C2)
5163 to (A & C1) | (B & C2), distributing (A & B) | (A & C)
5164 to A & (B | C) and simplifying A << C1 << C2 to ...
5165 * match.pd: ... patterns here.
5167 2015-07-10 Jiong Wang <jiong.wang@arm.com>
5169 * config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
5170 Mark mem as READONLY and NOTRAP for PIC symbol.
5172 2015-07-10 Andrew MacLeod <amacleod@redhat.com>
5174 * gimple-predict.h: New file.
5175 (gimple_predict_predictor, gimple_predict_set_predictor,
5176 gimple_predict_outcome, gimple_predict_set_outcome,
5177 gimple_build_predict): Relocate here.
5178 * gimple.h (gimple_predict_predictor, gimple_predict_set_predictor,
5179 gimple_predict_outcome, gimple_predict_set_outcome): Move to
5181 * gimple.c (gimple_build_predict): Move to gimple-predict.h
5182 * basic-block.h: Don't include cfghooks.h.
5183 * backend.h: Don't include predict.h.
5184 * cfghooks.h: Include predict.h.
5185 * gimple-pretty-print.c: Include gimple-predict.h.
5186 * gimplify.c: Likwise.
5187 * predict.c: Adjust includes.
5188 * tree-inline.c: Likewise.
5190 * auto-inc-dec.c: Likewise.
5191 * auto-profile.c: Likewise.
5192 * bb-reorder.c: Likewise.
5193 * builtins.c: Likewise.
5194 * caller-save.c: Likewise.
5195 * calls.c: Likewise.
5196 * cfganal.c: Likewise.
5197 * cfgbuild.c: Likewise.
5199 * cfgcleanup.c: Likewise.
5200 * cfgexpand.c: Likewise.
5201 * cfghooks.c: Likewise.
5202 * cfgloopanal.c: Likewise.
5203 * cfgloop.c: Likewise.
5204 * cfgloopmanip.c: Likewise.
5205 * cfgrtl.c: Likewise.
5206 * cgraph.c: Likewise.
5207 * cgraphunit.c: Likewise.
5208 * combine.c: Likewise.
5209 * cprop.c: Likewise.
5212 * dojump.c: Likewise.
5214 * except.c: Likewise.
5215 * expmed.c: Likewise.
5217 * final.c: Likewise.
5218 * fold-const.c: Likewise.
5219 * function.c: Likewise.
5220 * fwprop.c: Likewise.
5221 * gcc-plugin.h: Likewise.
5223 * genattrtab.c: Likewise.
5224 * genemit.c: Likewise.
5225 * gengtype.c: Likewise.
5226 * genopinit.c: Likewise.
5227 * genoutput.c: Likewise.
5228 * genpreds.c: Likewise.
5229 * genrecog.c: Likewise.
5230 * gimple-fold.c: Likewise.
5231 * gimple-iterator.c: Likewise.
5232 * gimple-ssa-isolate-paths.c: Likewise.
5233 * gimple-ssa-strength-reduction.c: Likewise.
5234 * graph.c: Likewise.
5235 * graphite-blocking.c: Likewise.
5236 * graphite.c: Likewise.
5237 * graphite-dependences.c: Likewise.
5238 * graphite-interchange.c: Likewise.
5239 * graphite-isl-ast-to-gimple.c: Likewise.
5240 * graphite-optimize-isl.c: Likewise.
5241 * graphite-poly.c: Likewise.
5242 * graphite-scop-detection.c: Likewise.
5243 * graphite-sese-to-poly.c: Likewise.
5244 * haifa-sched.c: Likewise.
5245 * ifcvt.c: Likewise.
5246 * internal-fn.c: Likewise.
5247 * ipa-cp.c: Likewise.
5248 * ipa-profile.c: Likewise.
5249 * ipa-split.c: Likewise.
5250 * ipa-utils.c: Likewise.
5251 * ira-build.c: Likewise.
5252 * ira-color.c: Likewise.
5253 * ira-conflicts.c: Likewise.
5254 * ira-costs.c: Likewise.
5255 * ira-emit.c: Likewise.
5256 * ira-lives.c: Likewise.
5258 * loop-doloop.c: Likewise.
5259 * loop-init.c: Likewise.
5260 * loop-invariant.c: Likewise.
5261 * loop-unroll.c: Likewise.
5262 * lower-subreg.c: Likewise.
5263 * lra-assigns.c: Likewise.
5265 * lra-coalesce.c: Likewise.
5266 * lra-constraints.c: Likewise.
5267 * lra-lives.c: Likewise.
5268 * lto-cgraph.c: Likewise.
5269 * lto-streamer-in.c: Likewise.
5270 * mode-switching.c: Likewise.
5271 * modulo-sched.c: Likewise.
5272 * omp-low.c: Likewise.
5273 * optabs.c: Likewise.
5274 * passes.c: Likewise.
5275 * postreload.c: Likewise.
5276 * postreload-gcse.c: Likewise.
5277 * profile.c: Likewise.
5278 * recog.c: Likewise.
5279 * regstat.c: Likewise.
5280 * reload1.c: Likewise.
5281 * reorg.c: Likewise.
5282 * rtlanal.c: Likewise.
5283 * sched-ebb.c: Likewise.
5284 * sel-sched-ir.c: Likewise.
5286 * shrink-wrap.c: Likewise.
5287 * simplify-rtx.c: Likewise.
5289 * store-motion.c: Likewise.
5290 * tracer.c: Likewise.
5291 * trans-mem.c: Likewise.
5292 * tree-call-cdce.c: Likewise.
5293 * tree-cfg.c: Likewise.
5294 * tree-cfgcleanup.c: Likewise.
5295 * tree-chkp.c: Likewise.
5296 * tree-complex.c: Likewise.
5297 * tree-eh.c: Likewise.
5298 * tree-if-conv.c: Likewise.
5299 * tree-loop-distribution.c: Likewise.
5300 * tree-outof-ssa.c: Likewise.
5301 * tree-parloops.c: Likewise.
5302 * tree-predcom.c: Likewise.
5303 * tree-pretty-print.c: Likewise.
5304 * tree-profile.c: Likewise.
5305 * tree-sra.c: Likewise.
5306 * tree-ssa.c: Likewise.
5307 * tree-ssa-coalesce.c: Likewise.
5308 * tree-ssa-dce.c: Likewise.
5309 * tree-ssa-dom.c: Likewise.
5310 * tree-ssa-forwprop.c: Likewise.
5311 * tree-ssa-ifcombine.c: Likewise.
5312 * tree-ssa-loop-ch.c: Likewise.
5313 * tree-ssa-loop-im.c: Likewise.
5314 * tree-ssa-loop-ivcanon.c: Likewise.
5315 * tree-ssa-loop-ivopts.c: Likewise.
5316 * tree-ssa-loop-manip.c: Likewise.
5317 * tree-ssa-loop-prefetch.c: Likewise.
5318 * tree-ssa-loop-unswitch.c: Likewise.
5319 * tree-ssa-math-opts.c: Likewise.
5320 * tree-ssa-phiopt.c: Likewise.
5321 * tree-ssa-pre.c: Likewise.
5322 * tree-ssa-reassoc.c: Likewise.
5323 * tree-ssa-sink.c: Likewise.
5324 * tree-ssa-tail-merge.c: Likewise.
5325 * tree-ssa-threadedge.c: Likewise.
5326 * tree-ssa-threadupdate.c: Likewise.
5327 * tree-switch-conversion.c: Likewise.
5328 * tree-tailcall.c: Likewise.
5329 * tree-vect-data-refs.c: Likewise.
5330 * tree-vect-loop.c: Likewise.
5331 * tree-vect-loop-manip.c: Likewise.
5332 * tree-vectorizer.c: Likewise.
5333 * tree-vrp.c: Likewise.
5334 * ubsan.c: Likewise.
5335 * value-prof.c: Likewise.
5336 * varasm.c: Likewise.
5337 * var-tracking.c: Likewise.
5338 * config/aarch64/aarch64-builtins.c: Likewise.
5339 * config/aarch64/aarch64.c: Likewise.
5340 * config/aarch64/cortex-a57-fma-steering.c: Likewise.
5341 * config/alpha/alpha.c: Likewise.
5342 * config/arc/arc.c: Likewise.
5343 * config/arm/arm.c: Likewise.
5344 * config/avr/avr.c: Likewise.
5345 * config/bfin/bfin.c: Likewise.
5346 * config/c6x/c6x.c: Likewise.
5347 * config/cr16/cr16.c: Likewise.
5348 * config/cris/cris.c: Likewise.
5349 * config/darwin.c: Likewise.
5350 * config/darwin-c.c: Likewise.
5351 * config/epiphany/epiphany.c: Likewise.
5352 * config/epiphany/mode-switch-use.c: Likewise.
5353 * config/epiphany/resolve-sw-modes.c: Likewise.
5354 * config/fr30/fr30.c: Likewise.
5355 * config/frv/frv.c: Likewise.
5356 * config/ft32/ft32.c: Likewise.
5357 * config/h8300/h8300.c: Likewise.
5358 * config/i386/i386.c: Likewise.
5359 * config/i386/winnt.c: Likewise.
5360 * config/ia64/ia64.c: Likewise.
5361 * config/iq2000/iq2000.c: Likewise.
5362 * config/lm32/lm32.c: Likewise.
5363 * config/m32c/m32c.c: Likewise.
5364 * config/m32r/m32r.c: Likewise.
5365 * config/m68k/m68k.c: Likewise.
5366 * config/mcore/mcore.c: Likewise.
5367 * config/mep/mep.c: Likewise.
5368 * config/microblaze/microblaze.c: Likewise.
5369 * config/mips/mips.c: Likewise.
5370 * config/mmix/mmix.c: Likewise.
5371 * config/mn10300/mn10300.c: Likewise.
5372 * config/moxie/moxie.c: Likewise.
5373 * config/msp430/msp430.c: Likewise.
5374 * config/nds32/nds32.c: Likewise.
5375 * config/nds32/nds32-cost.c: Likewise.
5376 * config/nds32/nds32-fp-as-gp.c: Likewise.
5377 * config/nds32/nds32-intrinsic.c: Likewise.
5378 * config/nds32/nds32-isr.c: Likewise.
5379 * config/nds32/nds32-md-auxiliary.c: Likewise.
5380 * config/nds32/nds32-memory-manipulation.c: Likewise.
5381 * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
5382 * config/nds32/nds32-predicates.c: Likewise.
5383 * config/nios2/nios2.c: Likewise.
5384 * config/nvptx/nvptx.c: Likewise.
5385 * config/pa/pa.c: Likewise.
5386 * config/pdp11/pdp11.c: Likewise.
5387 * config/rl78/rl78.c: Likewise.
5388 * config/rs6000/rs6000.c: Likewise.
5389 * config/rx/rx.c: Likewise.
5390 * config/s390/s390.c: Likewise.
5391 * config/sh/sh.c: Likewise.
5392 * config/sh/sh-mem.cc: Likewise.
5393 * config/sh/sh_optimize_sett_clrt.cc: Likewise.
5394 * config/sh/sh_treg_combine.cc: Likewise.
5395 * config/sparc/sparc.c: Likewise.
5396 * config/spu/spu.c: Likewise.
5397 * config/stormy16/stormy16.c: Likewise.
5398 * config/tilegx/tilegx.c: Likewise.
5399 * config/tilepro/tilepro.c: Likewise.
5400 * config/v850/v850.c: Likewise.
5401 * config/vax/vax.c: Likewise.
5402 * config/visium/visium.c: Likewise.
5403 * config/xtensa/xtensa.c: Likewise.
5405 2015-07-10 Richard Biener <rguenther@suse.de>
5407 * genmatch.c (dt_node::gen_kids_1): Fix indenting of case labels.
5408 (decision_tree::gen_gimple): Likewise.
5409 (decision_tree::gen_generic): Likewise.
5411 2015-07-10 Uros Bizjak <ubizjak@gmail.com>
5414 * config/i386/i386.c (ix86_md_asm_adjust): Emit movstrictqi
5415 sequence for TARGET_ZERO_EXTEND_WITH_AND targets.
5417 2015-07-10 Jakub Jelinek <jakub@redhat.com>
5420 * gimplify.c (maybe_fold_stmt): Don't fold in ORT_PARALLEL
5421 or ORT_TASK contexts.
5422 * omp-low.c (lower_omp): Call fold_stmt even if taskreg_nesting_level
5425 2015-07-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5427 * expr.c (expand_cond_expr_using_cmove): Fix typos in comment
5430 2015-07-10 Tom de Vries <tom@codesourcery.com>
5432 * tree-parloops.c (try_transform_to_exit_first_loop_alt): If not found,
5433 insert nit + 1 bound.
5435 2015-07-10 Richard Biener <rguenther@suse.de>
5437 * tree-if-conv.c (if_convertible_gimple_assign_stmt_p):
5438 Use ifcvt_could_trap_p also when not flag_tree_loop_if_convert_stores.
5439 (if_convertible_loop_p_1): For this always compute bb predicates.
5440 (if_convertible_loop_p): And free them.
5442 2015-07-10 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5444 * ipa-icf.c (sem_item_optimizer::do_congruence_step): Fix typo
5447 2015-07-10 Richard Biener <rguenther@suse.de>
5449 PR tree-optimization/66823
5450 * tree-if-conv.c (memrefs_read_or_written_unconditionally): Fix
5453 2015-07-09 Steve Ellcey <sellcey@imgtec.com>
5455 * config/mips/mti-linux.h (MIPS_SYSVERSION_SPEC): Update
5456 to handle mips[32|64]r3 and mips[32|64]r5.
5458 2015-07-09 Jakub Jelinek <jakub@redhat.com>
5461 * tree-nested.c (get_static_chain): Or in a flag into
5462 info->static_chain_added.
5463 (get_frame_field, get_nonlocal_debug_decl): Likewise.
5464 (convert_nonlocal_omp_clauses, convert_local_omp_clauses): Revert
5466 (convert_tramp_reference_stmt): If a frame_decl or chain_decl
5467 is needed newly inside of GIMPLE_OMP_{PARALLEL,TASK,TARGET} body,
5470 PR tree-optimization/66718
5471 * tree-vect-stmts.c (struct simd_call_arg_info): Add simd_lane_linear
5473 (vect_simd_lane_linear): New function.
5474 (vectorizable_simd_clone_call): Support using linear arguments for
5475 addresses of arrays elements indexed by GOMP_SIMD_LANE result.
5477 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
5480 * config/i386/i386.c (iamcu_cost): Adjust variable shift costs.
5482 2015-07-09 Michael Meissner <meissner@linux.vnet.ibm.com>
5484 * config/rs6000/rs6000-protos.h (rs6000_secondary_reload_memory):
5485 Use machine mode, not enum machine_mode in the prototype.
5487 * config/rs6000/rs6000.h (FLOAT128_IEEE_P): New helper macros to
5488 classify 128-bit floating point support.
5489 (FLOAT128_IBM_P): Likewise.
5490 (FLOAT128_VECTOR_P): Likewise.
5491 (FLOAT128_2REG_P): Likewise.
5492 (SCALAR_FLOAT_MODE_NOT_VECTOR_P): Likewise.
5493 (SLOW_UNALIGNED_ACCESS): Add IEEE 128-bit floating point support.
5494 (HARD_REGNO_CALLER_SAVE_MODE): Likewise.
5495 (HARD_REGNO_CALL_PART_CLOBBERED): Likewise.
5497 * config/rs6000/rs6000.c (rs6000_hard_regno_nregs_internal): Drop
5498 tests against TFmode/TDmode, since those modes do not use VSX
5500 (rs6000_hard_regno_mode_ok): Add IEEE 128-bit floating point
5502 (rs6000_init_hard_regno_mode_ok): Use new helper macros instead of
5503 tests against TFmode, etc.
5504 (invalid_e500_subreg): Add tests against IFmode/KFmode.
5505 (reg_offset_addressing_ok_p): Likewise.
5506 (rs6000_legitimate_offset_address_p): Likewise.
5507 (rs6000_legitimize_address): Likewise.
5508 (rs6000_legitimize_reload_address): Likewise.
5509 (rs6000_legitimate_address_p): Clean up tests against TFmode and
5510 TDmode to use the new helper macros, which will include IFmode and
5512 (rs6000_emit_move): Likewise.
5513 (rs6000_darwin64_record_arg_recurse): Likewise.
5514 (print_operand): Likewise.
5515 (rs6000_member_type_forces_blk): Treat IEEE 128-bit floating point
5516 that uses a single vector register as a vector and not as a
5517 floating point register in terms of the calling sequence.
5518 (rs6000_discover_homogeneous_aggregate): Likewise.
5519 (rs6000_return_in_memory): Likewise.
5520 (init_cumulative_args): Likewise.
5521 (rs6000_function_arg_boundary): Likewise.
5522 (rs6000_function_arg_advance_1): Likewise.
5523 (rs6000_function_arg): Likewise.
5524 (rs6000_pass_by_reference): Likewise.
5525 (rs6000_gimplify_va_arg): Likewise.
5526 (rs6000_secondary_reload_memory): Use machine_mode not enum
5528 (rs6000_split_multireg_move): Use new helper macros.
5529 (spe_func_has_64bit_regs_p): Likewise.
5530 (rs6000_output_function_epilogue): Add IFmode/KFmode support.
5531 (output_toc): Use new helper macros.
5532 (rs6000_register_move_cost): Likewise.
5533 (rs6000_function_value): Add IEEE 128-bit floating point calling
5535 (rs6000_libcall_value): Likewise.
5536 (rs6000_scalar_mode_supported_p): Add support for IEEE 128-bit
5537 floating point support.
5538 (rs6000_vector_mode_supported_p): Likewise.
5540 2015-07-09 Vladimir Makarov <vmakarov@redhat.com>
5542 PR rtl-optimization/66782
5543 * lra-int.h (struct lra_insn_recog_data): Add comment about
5544 clobbered hard regs for arg_hard_regs.
5545 * lra.c (lra_set_insn_recog_data): Add clobbered hard regs.
5546 * lra-lives.c (process_bb_lives): Process clobbered hard regs.
5547 Add condition for processing used hard regs.
5548 * lra-constraints.c (update_ebb_live_info, inherit_in_ebb):
5549 Process clobbered hard regs.
5551 2015-07-09 Michael Matz <matz@suse.de>
5553 * genmatch.c (fprintf_indent): New function.
5554 (operand::gen_transform): Add indent parameter.
5555 (expr::gen_transform, c_expr::gen_transform,
5556 capture::gen_transform): Ditto and use fprintf_indent.
5557 (dt_node::gen, dt_node::gen_kids, dt_node::gen_kids_1): Ditto.
5558 (dt_operand::gen, dt_operand::gen_predicate,
5559 dt_operand::gen_match_op, dt_operand::gen_gimple_expr,
5560 dt_operand::gen_generic_expr, dt_simplify::gen): Ditto.
5561 (decision_tree::gen_gimple): Adjust calls and indent generated
5563 (decision_tree::gen_generic): Ditto.
5564 (write_predicate): Ditto.
5566 2015-07-08 Uros Bizjak <ubizjak@gmail.com>
5569 * config/i386/predicates.md (nonimmediate_gr_operand): New predicate.
5570 * config/i386/i386.md (not peephole2): Use nonimmediate_gr_operand.
5571 (varous peephole2s): Use {GENERAL,SSE,MMX}_REGNO_P instead of
5572 {GENERAL,SSE,MMX}_REG_P where appropriate.
5574 2015-07-09 Andrew MacLeod <amacleod@redhat.com>
5576 * lto-streamer.h: Don't include target.h and alloc-pool.h.
5577 * builtins.c: Adjust includes.
5578 * gimple.c: Likewise.
5579 * ipa-icf.c: Likewise.
5580 * lto-opts.c: Likewise.
5581 * ipa-reference.c: Likewise.
5582 * lto-section-out.c: Likewise.
5583 * lto-streamer-in.c: Likewise.
5584 * lto-streamer-out.c: Likewise.
5585 * opts-global.c: Likewise.
5586 * symtab.c: Likewise.
5587 * tree-chkp.c: Likewise.
5588 * tree-ssa-live.c: Likewise.
5589 * tree-streamer-in.c: Likewise.
5590 * tree-streamer-out.c: Likewise.
5591 * config/darwin.c: Likewise.
5592 * config/i386/winnt.c: Likewise.
5594 2015-07-09 Richard Biener <rguenther@suse.de>
5596 * genmatch.c (struct expr): Add force_single_use flag.
5597 (expr::expr): Add copy constructor.
5598 (capture_info::walk_match): Gather force_single_use captures.
5599 (expr::gen_transform): Use possibly NULLified sequence.
5600 (dt_simplify::gen): Apply single-use restrictions by NULLifying
5601 seq if any constrained expr is not single-use.
5602 (parser::parse_expr): Refactor to allow multiple flags. Handle
5603 's' flag to force an expression have a single-use if the pattern
5604 simplifies to more than one statement.
5605 * match.pd: Convert most single_use conditionals to :s flags.
5607 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
5609 * config/i386/iamcu.h (ASM_OUTPUT_ALIGNED_BSS): New.
5610 (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
5611 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Likewise.
5613 2015-07-09 Andrew MacLeod <amacleod@redhat.com>
5615 * flags.h: Don't include flag-types.h or options.h.
5616 * opts-common.c: Adjust includes.
5617 * opts-global.c: Likewise.
5618 * common/config/epiphany/epiphany-common.c: Likewise.
5620 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
5623 * config/i386/i386.h (ATTRIBUTE_ALIGNED_VALUE): Defined to 32
5626 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
5629 * config/i386/i386.c (ix86_return_in_memory): Return true
5630 if int_size_in_bytes returns negative for IA MCU.
5632 2015-07-09 Marek Polacek <polacek@redhat.com>
5634 PR tree-optimization/66718
5635 * Makefile.in (OBJS): Add gimple-laddress.o.
5636 * passes.def: Schedule pass_laddress.
5637 * timevar.def (DEFTIMEVAR): Add TV_GIMPLE_LADDRESS.
5638 * tree-pass.h (make_pass_laddress): Declare.
5639 * gimple-laddress.c: New file.
5641 2015-07-09 Richard Biener <rguenther@suse.de>
5643 * toplev.c (compile_file): Reset maximum_field_alignment after parsing.
5645 2015-07-09 Richard Biener <rguenther@suse.de>
5647 PR tree-optimization/66807
5648 * tree-chkp-opt.c (chkp_opt_fini): Free post dominator info.
5650 2015-07-08 Kito Cheng <kito.cheng@gmail.com>
5652 * function.c (stack_protect_epilogue): Use if rather than switch for
5653 check targetm.have_stack_protect_test.
5655 2015-07-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5657 * defaults.h: Provide default for WORD_REGISTER_OPERATIONS.
5658 * config/alpha/alpha.h: Define WORD_REGISTER_OPERATIONS to 1.
5659 * config/arc/arc.h: Likewise.
5660 * config/arm/arm.h: Likewise.
5661 * config/bfin/bfin.h: Likewise.
5662 * config/epiphany/epiphany.h: Likewise.
5663 * config/frv/frv.h: Likewise.
5664 * config/ia64/ia64.h: Likewise.
5665 * config/iq2000/iq2000.h: Likewise.
5666 * config/lm32/lm32.h: Likewise.
5667 * config/m32r/m32r.h: Likewise.
5668 * config/mcore/mcore.h: Likewise.
5669 * config/mep/mep.h: Likewise.
5670 * config/microblaze/microblaze.h: Likewise.
5671 * config/mips/mips.h: Likewise.
5672 * config/mmix/mmix.h: Likewise.
5673 * config/mn10300/mn10300.h: Likewise.
5674 * config/nds32/nds32.h: Likewise.
5675 * config/nios2/nios2.h: Likewise.
5676 * config/pa/pa.h: Likewise.
5677 * config/rl78/rl78.h: Likewise.
5678 * config/sh/sh.h: Likewise.
5679 * config/sparc/sparc.h: Likewise.
5680 * config/stormy16/stormy16.h: Likewise.
5681 * config/tilegx/tilegx.h: Likewise.
5682 * config/tilepro/tilepro.h: Likewise.
5683 * config/v850/v850.h: Likewise.
5684 * config/xtensa/xtensa.h: Likewise.
5685 * doc/tm.texi: Regenerate.
5686 * doc/tm.texi.in: Adjust.
5687 * combine.c (simplify_set): Likewise.
5688 (simplify_comparison): Likewise.
5689 * expr.c (store_constructor): Likewise.
5690 * internal-fn.c (expand_arith_overflow): Likewise.
5691 * reload.c (push_reload): Likewise.
5692 (find_reloads): Likewise.
5693 (find_reloads_subreg_address): Likewise.
5694 * reload1.c (eliminate_regs_1): Likewise.
5695 * rtlanal.c (nonzero_bits1): Likewise.
5696 (num_sign_bit_copies1): Likewise.
5697 * simplify-rtx.c (simplify_truncation): Likewise.
5699 2015-07-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5701 * auto-inc-dec.c (pass_inc_dec::execute): Don't check the value
5702 of AUTO_INC_DEC with the preprocessor.
5703 * combine.c (combine_instructions): Likewise.
5704 (can_combine_p): Likewise.
5705 (try_combine): Likewise.
5706 * emit-rtl.c (try_split): Likewise.
5707 * loop-invariant.c (calculate_loop_reg_pressure): Likewise.
5708 * lower-subreg.c (resolve_simple_move): Likewise.
5709 * lra.c (update_inc_notes): Likewise.
5710 * recog.c (asm_operand_ok): Likewise.
5711 (constrain_operands): Likewise.
5712 * regrename.c (scan_rtx_address): Likewise.
5713 * reload.c (update_auto_inc_notes): Likewise.
5714 (reg_inc_found_and_valid_p): Likewise.
5715 * reload1.c (reload): Likewise.
5716 (emit_input_reload_insns): Likewise.
5717 (delete_output_reload): Likewise.
5718 * sched-deps.c (init_insn_reg_pressure_info): Likewise.
5719 * valtrack.c (cleanup_auto_inc_dec): Likewise.
5721 2015-07-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5723 * rtl.h: Always define AUTO_INC_DEC.
5724 * auto-inc-dec.c (pass_inc_dec::execute): Adjust.
5725 * combine.c (combine_instructions): Likewise.
5726 (can_combine_p): Likewise.
5727 (try_combine): Likewise.
5728 * emit-rtl.c (try_split): Likewise.
5729 * loop-invariant.c (calculate_loop_reg_pressure): Likewise.
5730 * lower-subreg.c (resolve_simple_move): Likewise.
5731 * lra.c (update_inc_notes): Likewise.
5732 * recog.c (asm_operand_ok): Likewise.
5733 (constrain_operands): Likewise.
5734 * regrename.c (scan_rtx_address): Likewise.
5735 * reload.c (update_auto_inc_notes): Likewise.
5736 (find_equiv_reg): Likewise.
5737 * reload1.c (reload): Likewise.
5738 (reload_as_needed): Likewise.
5739 (choose_reload_regs): Likewise.
5740 (emit_input_reload_insns): Likewise.
5741 (delete_output_reload): Likewise.
5742 * sched-deps.c (init_insn_reg_pressure_info): Likewise.
5743 * valtrack.c (cleanup_auto_inc_dec): Likewise.
5745 2015-07-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5747 * combine.c (can_combine_def_p): Don't check the value of
5748 HARD_FRAME_POINTER_IS_FRAME_POINTER with the preprocessor.
5749 (combinable_i3pat): Likewise.
5750 (mark_used_regs_combine): Likewise.
5751 * regrename.c (rename_chains): Likewise.
5752 * reload.c (find_reloads_address): Likewise.
5753 * sel-sched.c (mark_unavailable_hard_regs): Likewise.
5755 2015-07-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5757 * combine.c (update_rsp_from_reg_equal): Don't check if
5758 SHORT_IMMEDIATES_SIGN_EXTEND is defined.
5759 (reg_nonzero_bits_for_combine): Likewise.
5760 * config/alpha/alpha.h: Define SHORT_IMMEDIATES_SIGN_EXTEND to
5762 * config/frv/frv.h: Likewise.
5763 * config/lm32/lm32.h: Likewise.
5764 * config/mep/mep.h: Likewise.
5765 * config/mips/mips.h: Likewise.
5766 * config/rs6000/rs6000.h: Likewise.
5767 * config/sh/sh.h: Likewise.
5768 * config/tilegx/tilegx.h (enum reg_class): Likewise.
5769 * config/tilepro/tilepro.h: Likewise.
5770 * defaults.h: Add default for SHORT_IMMEDIATES_SIGN_EXTEND.
5771 * doc/tm.texi: Regenerate.
5772 * doc/tm.texi.in: Adjust.
5773 * rtlanal.c (nonzero_bits1): Likewise.
5775 2015-07-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5777 * combine.c (do_SUBST_MODE): Don't check the value of HAVE_cc0
5778 with the preprocessor.
5779 (combine_instructions): Likewise.
5780 (try_combine): Likewise.
5782 (distribute_notes): Likewise.
5784 2015-07-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5786 * combine.c (try_combine): Don't check if LOAD_EXTEND_OP is
5788 (simplify_set): Likewise.
5789 * cse.c (cse_insn): Likewise.
5790 * fold-const.c (fold_single_bit_test): Likewise.
5791 (fold_unary_loc): Likewise.
5792 * postreload.c (reload_cse_simplify_set): Likewise.
5793 (reload_cse_simplify_operands): Likewise.
5795 2015-07-08 Jiong Wang <jiong.wang@arm.com>
5797 * config/aarch64/aarch64.c (aarch64_unspec_may_trap_p): New function.
5798 (TARGET_UNSPEC_MAY_TRAP_P): Define as aarch64_unspec_may_trap_p.
5800 2015-07-08 H.J. Lu <hongjiu.lu@intel.com>
5803 * config/i386/x86intrin.h: Include <adxintrin.h> even if
5804 __iamcu__ is defined.
5806 2015-07-08 Uros Bizjak <ubizjak@gmail.com>
5808 * config/i386/predicates.md (general_reg_operand): Use GENERAL_REGNO_P.
5810 2015-07-08 Iain Sandoe <iain@codesourcery.com>
5813 * config/darwin.c (darwin_mark_decl_preserved): Exclude 'L' label
5814 names from preservation.
5816 2015-07-08 H.J. Lu <hongjiu.lu@intel.com>
5819 * config/i386/i386.c (type_natural_mode): Don't warn vector ABI
5821 (function_arg_advance_32): Don't pass vectors in registers for
5823 (function_arg_32): Likewise.
5824 (ix86_return_in_memory): Don't return vectors in registers for
5827 2015-07-08 Vladimir Makarov <vmakarov@redhat.com>
5830 * ira-lives.c (process_bb_node_lives): Make conflicts with PIC
5831 hard regno live at the start of BB with incoming abnormal edges.
5832 * lra-lives.c (process_bb_lives): Ditto.
5834 2015-07-08 Thomas Schwinge <thomas@codesourcery.com>
5837 * config/nvptx/mkoffload.c (main): Create an offload image only in
5838 64-bit configurations.
5840 2015-07-08 Martin Liska <mliska@suse.cz>
5843 * tree-sra.c (create_access_1): Call ctor without brackets.
5844 (create_artificial_child_access): Likewise.
5846 2015-07-08 Richard Biener <rguenther@suse.de>
5848 PR tree-optimization/66793
5849 * gimple-ssa-isolate-paths.c (insert_trap_and_remove_trailing_statemen):
5850 Properly split the block after stmts ending it.
5852 2015-07-08 Richard Biener <rguenther@suse.de>
5854 PR tree-optimization/66794
5855 * passes.c (execute_function_todo): Assert that post-dominators
5857 * gimple-ssa-isolate-paths.c (gimple_ssa_isolate_erroneous_paths):
5858 Free post-dominators.
5860 2015-07-08 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
5862 * config/s390/s390.c (s390_init_frame_layout): Replace assertion
5865 2015-07-08 Uros Bizjak <ubizjak@gmail.com>
5867 * config/i386/i386.md (*jcc_bt<mode>): Only allow const_int values
5868 more than or equal 8 and less than 32 when optimizing for size.
5870 2015-07-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5872 * config/arm/arm.c (arm_new_rtx_costs): Initialise cost to
5873 COSTS_N_INSNS (1) and increment it appropriately throughout the
5876 2015-07-08 Richard Biener <rguenther@suse.de>
5878 * fold-const.c (fold_widened_comparison): Fix inverted comparison.
5880 2015-07-08 Alan Modra <amodra@gmail.com>
5882 * target.def (rtx_costs): Remove "code" param, add "mode".
5883 * rtl.h (rtx_cost, get_full_rtx_cost): Update prototype.
5884 (set_src_cost, get_full_set_src_cost): Likewise. Move later in file.
5885 (set_rtx_cost, get_full_set_rtx_cost): Move later in file.
5886 * rtlanal.c (rtx_cost): Add "mode" parameter. Update targetm.rtx_costs
5887 call. Track mode when given in rtx.
5888 (get_full_rtx_cost): Add "mode" parameter. Update rtx_cost calls.
5889 (default_address_cost): Pass Pmode to rtx_cost.
5890 (insn_rtx_cost): Pass dest mode of set to set_src_cost.
5891 * cprop.c (try_replace_reg): Ensure set_rtx_cost is not called
5893 * cse.c (COST, COST_IN): Add MODE param. Update all uses.
5894 (notreg_cost): Add mode param. Use it.
5895 * gcse.c (want_to_gcse_p): Delete forward declaration. Add
5896 mode param and pass to set_src_cost. Update all calls.
5897 (hash_scan_set): Formatting.
5898 * hooks.c (hook_bool_rtx_int_int_int_intp_bool_false): Delete.
5899 (hook_bool_rtx_mode_int_int_intp_bool_false): New function.
5901 * expmed.c (init_expmed_one_conv, init_expmed_one_mode,
5902 init_expmed, expand_mult, mult_by_coeff_cost, expand_smod_pow2,
5903 emit_store_flag): Update set_src_cost and rtx_cost calls.
5904 * auto-inc-dec.c (attempt_change): Likewise.
5905 * calls.c (precompute_register_parameters): Likewise.
5906 * combine.c (expand_compound_operation, make_extraction,
5907 force_to_mode, distribute_and_simplify_rtx): Likewise.
5908 * dojump.c (prefer_and_bit_test): Likewise.
5909 * dse.c (find_shift_sequence): Likewise.
5910 * expr.c (compress_float_constant): Likewise.
5911 * fwprop.c (should_replace_address, try_fwprop_subst): Likewise.
5912 * ifcvt.c (noce_try_sign_mask): Likewise.
5913 * loop-doloop.c (doloop_optimize): Likewise.
5914 * loop-invariant.c (create_new_invariant): Likewise.
5915 * lower-subreg.c (shift_cost, compute_costs): Likewise.
5916 * optabs.c (avoid_expensive_constant, prepare_cmp_insn,
5917 lshift_cheap_p): Likewise.
5918 * postreload.c (reload_cse_simplify_set, reload_cse_simplify_operands,
5919 try_replace_in_use, reload_cse_move2add): Likewise.
5920 * reload1.c (calculate_elim_costs_all_insns, note_reg_elim_costly):
5922 * simplify-rtx.c (simplify_binary_operation_1): Likewise.
5923 * tree-ssa-loop-ivopts.c (computation_cost): Likewise.
5924 * tree-ssa-reassoc.c (optimize_range_tests_to_bit_test): Likewise.
5925 * tree-switch-conversion.c (emit_case_bit_tests): Likewise.
5926 * config/aarch64/aarch64.c (aarch64_rtx_costs): Delete "code" param,
5927 add "mode" param. Use "mode: in place of GET_MODE (x). Pass mode
5929 * config/alpha/alpha.c (alpha_rtx_costs): Likewise.
5930 * config/arc/arc.c (arc_rtx_costs): Likewise.
5931 * config/arm/arm.c (arm_rtx_costs): Likewise.
5932 * config/avr/avr.c (avr_rtx_costs, avr_rtx_costs_1): Likewise.
5933 * config/bfin/bfin.c (bfin_rtx_costs): Likewise.
5934 * config/c6x/c6x.c (c6x_rtx_costs): Likewise.
5935 * config/cris/cris.c (cris_rtx_costs): Likewise.
5936 * config/epiphany/epiphany.c (epiphany_rtx_costs): Likewise.
5937 * config/frv/frv.c (frv_rtx_costs): Likewise.
5938 * config/h8300/h8300.c (h8300_rtx_costs): Likewise.
5939 * config/i386/i386.c (ix86_rtx_costs): Likewise.
5940 * config/ia64/ia64.c (ia64_rtx_costs): Likewise.
5941 * config/iq2000/iq2000.c (iq2000_rtx_costs): Likewise.
5942 * config/lm32/lm32.c (lm32_rtx_costs): Likewise.
5943 * config/m32c/m32c.c (m32c_rtx_costs): Likewise.
5944 * config/m32r/m32r.c (m32r_rtx_costs): Likewise.
5945 * config/m68k/m68k.c (m68k_rtx_costs): Likewise.
5946 * config/mcore/mcore.c (mcore_rtx_costs): Likewise.
5947 * config/mep/mep.c (mep_rtx_cost): Likewise.
5948 * config/microblaze/microblaze.c (microblaze_rtx_costs): Likewise.
5949 * config/mips/mips.c (mips_rtx_costs): Likewise.
5950 * config/mmix/mmix.c (mmix_rtx_costs): Likewise.
5951 * config/mn10300/mn10300.c (mn10300_rtx_costs): Likewise.
5952 * config/msp430/msp430.c (msp430_rtx_costs): Likewise.
5953 * config/nds32/nds32-cost.c (nds32_rtx_costs_impl): Likewise.
5954 * config/nds32/nds32-protos.h (nds32_rtx_costs_impl): Likewise.
5955 * config/nds32/nds32.c (nds32_rtx_costs): Likewise.
5956 * config/nios2/nios2.c (nios2_rtx_costs): Likewise.
5957 * config/pa/pa.c (hppa_rtx_costs): Likewise.
5958 * config/pdp11/pdp11.c (pdp11_rtx_costs): Likewise.
5959 * config/rl78/rl78.c (rl78_rtx_costs): Likewise.
5960 * config/rs6000/rs6000.c (rs6000_rtx_costs): Likewise.
5961 * config/s390/s390.c (s390_rtx_costs): Likewise.
5962 * config/sh/sh.c (sh_rtx_costs): Likewise.
5963 * config/sparc/sparc.c (sparc_rtx_costs): Likewise.
5964 * config/spu/spu.c (spu_rtx_costs): Likewise.
5965 * config/stormy16/stormy16.c (xstormy16_rtx_costs): Likewise.
5966 * config/tilegx/tilegx.c (tilegx_rtx_costs): Likewise.
5967 * config/tilepro/tilepro.c (tilepro_rtx_costs): Likewise.
5968 * config/v850/v850.c (v850_rtx_costs): Likewise.
5969 * config/vax/vax.c (vax_rtx_costs): Likewise.
5970 * config/visium/visium.c (visium_rtx_costs): Likewise.
5971 * config/xtensa/xtensa.c (xtensa_rtx_costs): Likewise.
5972 * config/aarch64/aarch64.c (aarch64_rtx_mult_cost): Change type of
5973 "code" param, and pass as outer_code to first rtx_cost call. Pass
5974 mode to rtx_cost calls.
5975 (aarch64_address_cost, aarch64_if_then_else_costs): Update rtx_cost
5977 (aarch64_rtx_costs_wrapper): Update.
5978 * config/arm/arm.c (arm_rtx_costs_1, arm_size_rtx_costs,
5979 arm_unspec_cost, arm_new_rtx_costs, arm_slowmul_rtx_costs): Update
5981 * config/avr/avr.c (avr_final_prescan_insn): Update set_src_cost
5983 (avr_operand_rtx_cost): Similarly.
5984 (avr_rtx_costs_1): Correct mode passed to avr_operand_rtx_cost
5985 for subexpressions of ZERO_EXTEND, SIGN_EXTEND and COMPARE.
5986 * config/mips/mips.c (mips_stack_address_p): Comment typo.
5987 (mips_binary_cost): Update rtx_cost and set_src_cost calls.
5988 (mips_rtx_costs): Use GET_MODE (x) to detect const_int.
5989 * config/mn10300/mn10300.c (mn10300_address_cost): Pass Pmode to
5991 (mn10300_rtx_costs): Correct mode passed to mn10300_address_cost.
5992 * config/rs6000/rs6000.c (rs6000_debug_rtx_costs): Update.
5993 * config/sh/sh.c (and_xor_ior_costs): Update rtx_cost call.
5994 * doc/tm.texi: Regenerate.
5996 2015-07-07 Andrew MacLeod <amacleod@redhat.com>
5998 * tree-core.h: Include symtab.h.
5999 * rtl.h: Include hard-reg-set.h but not flags.h.
6000 (HARD_CONST): Remove condition compilation involving HARD_CONST since
6001 hard-reg-set.h is always included.
6002 * regs.h: Don't include hard-reg-set.h or rtl.h.
6003 * cfg.h: Include dominance.h.
6004 * gimple.h: Include tree-ssa-alias.h and gimple-expr.h.
6005 * backend.h: New. Aggregate commonly used backend header files.
6006 * gimple-ssa.h: Don't include tree-hasher.h.
6007 * ssa.h: New. Aggregate commonly used SSA header files.
6008 * regset.h: Remove bitmap.h and hard-reg-set.h #includes.
6009 * sel-sched-ir.h: Flatten includes.
6010 * lra-int.h: Flatten completely.
6011 * sel-sched-dump.h: Flatten includes.
6012 * ira-int.h: Flatten includes.
6013 * gimple-streamer.h: Remove all includes.
6014 * cfgloop.h: Remove all #includes except cfgloopmanip.h.
6015 * resource.h: Flatten hard-reg-set.h and df.h.
6016 * sched-int.h: Flatten insn-arrt.h and df.h.
6017 * valtrack.h: flatten bitmap.h, df.h, and rtl.h
6018 * df.h: Flatten includes, leaving regset.h, alloc-pool.h and timevar.h.
6019 * genattrtab.c (write_header): Adjust generated includes.
6020 * genautomata.c (main): Likewise.
6021 * genconditions.c (write-header): Likewise.
6022 * genemit.c (main): Likewise.
6023 * gengtype.c (open_base_files): Likewise.
6024 * genopinit.c (main): Likewise.
6025 * genoutput.c (output_prologue): Likewise.
6026 * genpeep.c (main): Likewise.
6027 * genpreds.c (write_insn_preds_c): Likewise.
6028 * genrecog.c (write_header): Likewise.
6029 * alias.c: Adjust includes.
6031 * attribs.c: Likewise.
6032 * auto-inc-dec.c: Likewise.
6033 * auto-profile.c: Likewise.
6034 * bb-reorder.c: Likewise.
6035 * bt-load.c: Likewise.
6036 * builtins.c: Likewise.
6037 * caller-save.c: Likewise.
6038 * calls.c: Likewise.
6041 * cfganal.c: Likewise.
6042 * cfgbuild.c: Likewise.
6043 * cfgcleanup.c: Likewise.
6044 * cfgexpand.c: Likewise.
6045 * cfghooks.c: Likewise.
6046 * cfgloop.c: Likewise.
6047 * cfgloopanal.c: Likewise.
6048 * cfgloopmanip.c: Likewise.
6049 * cfgrtl.c: Likewise.
6050 * cgraph.c: Likewise.
6051 * cgraphbuild.c: Likewise.
6052 * cgraphclones.c: Likewise.
6053 * cgraphunit.c: Likewise.
6054 * cilk-common.c: Likewise.
6055 * combine-stack-adj.c: Likewise.
6056 * combine.c: Likewise.
6057 * compare-elim.c: Likewise.
6058 * convert.c: Likewise.
6059 * coverage.c: Likewise.
6060 * cppbuiltin.c: Likewise.
6061 * cprop.c: Likewise.
6063 * cselib.c: Likewise.
6064 * data-streamer-in.c: Likewise.
6065 * data-streamer-out.c: Likewise.
6066 * data-streamer.c: Likewise.
6067 * dbxout.c: Likewise.
6070 * debug.c: Likewise.
6071 * df-core.c: Likewise.
6072 * df-problems.c: Likewise.
6073 * df-scan.c: Likewise.
6075 * dojump.c: Likewise.
6076 * dominance.c: Likewise.
6077 * domwalk.c: Likewise.
6078 * double-int.c: Likewise.
6080 * dumpfile.c: Likewise.
6081 * dwarf2asm.c: Likewise.
6082 * dwarf2cfi.c: Likewise.
6083 * dwarf2out.c: Likewise.
6084 * emit-rtl.c: Likewise.
6085 * et-forest.c: Likewise.
6086 * except.c: Likewise.
6087 * explow.c: Likewise.
6088 * expmed.c: Likewise.
6090 * final.c: Likewise.
6091 * fixed-value.c: Likewise.
6092 * fold-const.c: Likewise.
6093 * function.c: Likewise.
6094 * fwprop.c: Likewise.
6095 * gcc-plugin.h: Likewise.
6096 * gcse-common.c: Likewise.
6098 * generic-match-head.c: Likewise.
6099 * ggc-page.c: Likewise.
6100 * gimple-builder.c: Likewise.
6101 * gimple-expr.c: Likewise.
6102 * gimple-fold.c: Likewise.
6103 * gimple-iterator.c: Likewise.
6104 * gimple-low.c: Likewise.
6105 * gimple-match-head.c: Likewise.
6106 * gimple-pretty-print.c: Likewise.
6107 * gimple-ssa-isolate-paths.c: Likewise.
6108 * gimple-ssa-strength-reduction.c: Likewise.
6109 * gimple-streamer-in.c: Likewise.
6110 * gimple-streamer-out.c: Likewise.
6111 * gimple-walk.c: Likewise.
6112 * gimple.c: Likewise.
6113 * gimplify-me.c: Likewise.
6114 * gimplify.c: Likewise.
6115 * godump.c: Likewise.
6116 * graph.c: Likewise.
6117 * graphite-blocking.c: Likewise.
6118 * graphite-dependences.c: Likewise.
6119 * graphite-interchange.c: Likewise.
6120 * graphite-isl-ast-to-gimple.c: Likewise.
6121 * graphite-optimize-isl.c: Likewise.
6122 * graphite-poly.c: Likewise.
6123 * graphite-scop-detection.c: Likewise.
6124 * graphite-sese-to-poly.c: Likewise.
6125 * graphite.c: Likewise.
6126 * haifa-sched.c: Likewise.
6127 * hw-doloop.c: Likewise.
6128 * ifcvt.c: Likewise.
6129 * init-regs.c: Likewise.
6130 * internal-fn.c: Likewise.
6131 * ipa-chkp.c: Likewise.
6132 * ipa-comdats.c: Likewise.
6133 * ipa-cp.c: Likewise.
6134 * ipa-devirt.c: Likewise.
6135 * ipa-icf-gimple.c: Likewise.
6136 * ipa-icf.c: Likewise.
6137 * ipa-inline-analysis.c: Likewise.
6138 * ipa-inline-transform.c: Likewise.
6139 * ipa-inline.c: Likewise.
6140 * ipa-polymorphic-call.c: Likewise.
6141 * ipa-profile.c: Likewise.
6142 * ipa-prop.c: Likewise.
6143 * ipa-pure-const.c: Likewise.
6144 * ipa-ref.c: Likewise.
6145 * ipa-reference.c: Likewise.
6146 * ipa-split.c: Likewise.
6147 * ipa-utils.c: Likewise.
6148 * ipa-visibility.c: Likewise.
6150 * ira-build.c: Likewise.
6151 * ira-color.c: Likewise.
6152 * ira-conflicts.c: Likewise.
6153 * ira-costs.c: Likewise.
6154 * ira-emit.c: Likewise.
6155 * ira-lives.c: Likewise.
6158 * langhooks.c: Likewise.
6160 * loop-doloop.c: Likewise.
6161 * loop-init.c: Likewise.
6162 * loop-invariant.c: Likewise.
6163 * loop-iv.c: Likewise.
6164 * loop-unroll.c: Likewise.
6165 * lower-subreg.c: Likewise.
6166 * lra-assigns.c: Likewise.
6167 * lra-coalesce.c: Likewise.
6168 * lra-constraints.c: Likewise.
6169 * lra-eliminations.c: Likewise.
6170 * lra-lives.c: Likewise.
6171 * lra-remat.c: Likewise.
6172 * lra-spills.c: Likewise.
6174 * lto-cgraph.c: Likewise.
6175 * lto-compress.c: Likewise.
6176 * lto-opts.c: Likewise.
6177 * lto-section-in.c: Likewise.
6178 * lto-section-out.c: Likewise.
6179 * lto-streamer-in.c: Likewise.
6180 * lto-streamer-out.c: Likewise.
6181 * lto-streamer.c: Likewise.
6183 * mode-switching.c: Likewise.
6184 * modulo-sched.c: Likewise.
6185 * omega.c: Likewise.
6186 * omp-low.c: Likewise.
6187 * optabs.c: Likewise.
6188 * opts-global.c: Likewise.
6189 * passes.c: Likewise.
6190 * plugin.c: Likewise.
6191 * postreload-gcse.c: Likewise.
6192 * postreload.c: Likewise.
6193 * predict.c: Likewise.
6194 * print-rtl.c: Likewise.
6195 * print-tree.c: Likewise.
6196 * profile.c: Likewise.
6198 * realmpfr.c: Likewise.
6199 * recog.c: Likewise.
6201 * reg-stack.c: Likewise.
6202 * regcprop.c: Likewise.
6203 * reginfo.c: Likewise.
6204 * regrename.c: Likewise.
6205 * regstat.c: Likewise.
6206 * reload.c: Likewise.
6207 * reload1.c: Likewise.
6208 * reorg.c: Likewise.
6209 * resource.c: Likewise.
6210 * rtl-chkp.c: Likewise.
6211 * rtlanal.c: Likewise.
6212 * rtlhooks.c: Likewise.
6213 * sanopt.c: Likewise.
6214 * sched-deps.c: Likewise.
6215 * sched-ebb.c: Likewise.
6216 * sched-rgn.c: Likewise.
6217 * sched-vis.c: Likewise.
6218 * sdbout.c: Likewise.
6219 * sel-sched-dump.c: Likewise.
6220 * sel-sched-ir.c: Likewise.
6221 * sel-sched.c: Likewise.
6223 * shrink-wrap.c: Likewise.
6224 * simplify-rtx.c: Likewise.
6225 * stack-ptr-mod.c: Likewise.
6227 * stor-layout.c: Likewise.
6228 * store-motion.c: Likewise.
6229 * stringpool.c: Likewise.
6230 * symtab.c: Likewise.
6231 * target-globals.c: Likewise.
6232 * targhooks.c: Likewise.
6233 * toplev.c: Likewise.
6234 * tracer.c: Likewise.
6235 * trans-mem.c: Likewise.
6236 * tree-affine.c: Likewise.
6237 * tree-browser.c: Likewise.
6238 * tree-call-cdce.c: Likewise.
6239 * tree-cfg.c: Likewise.
6240 * tree-cfgcleanup.c: Likewise.
6241 * tree-chkp-opt.c: Likewise.
6242 * tree-chkp.c: Likewise.
6243 * tree-chrec.c: Likewise.
6244 * tree-complex.c: Likewise.
6245 * tree-data-ref.c: Likewise.
6246 * tree-dfa.c: Likewise.
6247 * tree-diagnostic.c: Likewise.
6248 * tree-dump.c: Likewise.
6249 * tree-eh.c: Likewise.
6250 * tree-emutls.c: Likewise.
6251 * tree-if-conv.c: Likewise.
6252 * tree-inline.c: Likewise.
6253 * tree-into-ssa.c: Likewise.
6254 * tree-iterator.c: Likewise.
6255 * tree-loop-distribution.c: Likewise.
6256 * tree-nested.c: Likewise.
6257 * tree-nrv.c: Likewise.
6258 * tree-object-size.c: Likewise.
6259 * tree-outof-ssa.c: Likewise.
6260 * tree-parloops.c: Likewise.
6261 * tree-phinodes.c: Likewise.
6262 * tree-predcom.c: Likewise.
6263 * tree-pretty-print.c: Likewise.
6264 * tree-profile.c: Likewise.
6265 * tree-scalar-evolution.c: Likewise.
6266 * tree-sra.c: Likewise.
6267 * tree-ssa-address.c: Likewise.
6268 * tree-ssa-alias.c: Likewise.
6269 * tree-ssa-ccp.c: Likewise.
6270 * tree-ssa-coalesce.c: Likewise.
6271 * tree-ssa-copy.c: Likewise.
6272 * tree-ssa-copyrename.c: Likewise.
6273 * tree-ssa-dce.c: Likewise.
6274 * tree-ssa-dom.c: Likewise.
6275 * tree-ssa-dse.c: Likewise.
6276 * tree-ssa-forwprop.c: Likewise.
6277 * tree-ssa-ifcombine.c: Likewise.
6278 * tree-ssa-live.c: Likewise.
6279 * tree-ssa-loop-ch.c: Likewise.
6280 * tree-ssa-loop-im.c: Likewise.
6281 * tree-ssa-loop-ivcanon.c: Likewise.
6282 * tree-ssa-loop-ivopts.c: Likewise.
6283 * tree-ssa-loop-manip.c: Likewise.
6284 * tree-ssa-loop-niter.c: Likewise.
6285 * tree-ssa-loop-prefetch.c: Likewise.
6286 * tree-ssa-loop-unswitch.c: Likewise.
6287 * tree-ssa-loop.c: Likewise.
6288 * tree-ssa-math-opts.c: Likewise.
6289 * tree-ssa-operands.c: Likewise.
6290 * tree-ssa-phiopt.c: Likewise.
6291 * tree-ssa-phiprop.c: Likewise.
6292 * tree-ssa-pre.c: Likewise.
6293 * tree-ssa-propagate.c: Likewise.
6294 * tree-ssa-reassoc.c: Likewise.
6295 * tree-ssa-sccvn.c: Likewise.
6296 * tree-ssa-scopedtables.c: Likewise.
6297 * tree-ssa-sink.c: Likewise.
6298 * tree-ssa-strlen.c: Likewise.
6299 * tree-ssa-structalias.c: Likewise.
6300 * tree-ssa-tail-merge.c: Likewise.
6301 * tree-ssa-ter.c: Likewise.
6302 * tree-ssa-threadedge.c: Likewise.
6303 * tree-ssa-threadupdate.c: Likewise.
6304 * tree-ssa-uncprop.c: Likewise.
6305 * tree-ssa-uninit.c: Likewise.
6306 * tree-ssa.c: Likewise.
6307 * tree-ssanames.c: Likewise.
6308 * tree-stdarg.c: Likewise.
6309 * tree-streamer-in.c: Likewise.
6310 * tree-streamer-out.c: Likewise.
6311 * tree-streamer.c: Likewise.
6312 * tree-switch-conversion.c: Likewise.
6313 * tree-tailcall.c: Likewise.
6314 * tree-vect-data-refs.c: Likewise.
6315 * tree-vect-generic.c: Likewise.
6316 * tree-vect-loop-manip.c: Likewise.
6317 * tree-vect-loop.c: Likewise.
6318 * tree-vect-patterns.c: Likewise.
6319 * tree-vect-slp.c: Likewise.
6320 * tree-vect-stmts.c: Likewise.
6321 * tree-vectorizer.c: Likewise.
6322 * tree-vrp.c: Likewise.
6325 * ubsan.c: Likewise.
6326 * valtrack.c: Likewise.
6327 * value-prof.c: Likewise.
6328 * var-tracking.c: Likewise.
6329 * varasm.c: Likewise.
6330 * varpool.c: Likewise.
6331 * vmsdbgout.c: Likewise.
6332 * vtable-verify.c: Likewise.
6334 * wide-int.cc: Likewise.
6335 * xcoffout.c: Likewise.
6336 * config/aarch64/aarch64-builtins.c: Likewise.
6337 * config/aarch64/aarch64.c: Likewise.
6338 * config/aarch64/cortex-a57-fma-steering.c: Likewise.
6339 * config/alpha/alpha.c: Likewise.
6340 * config/arc/arc.c: Likewise.
6341 * config/arm/aarch-common.c: Likewise.
6342 * config/arm/arm-builtins.c: Likewise.
6343 * config/arm/arm-c.c: Likewise.
6344 * config/arm/arm.c: Likewise.
6345 * config/avr/avr-c.c: Likewise.
6346 * config/avr/avr-log.c: Likewise.
6347 * config/avr/avr.c: Likewise.
6348 * config/bfin/bfin.c: Likewise.
6349 * config/c6x/c6x.c: Likewise.
6350 * config/cr16/cr16.c: Likewise.
6351 * config/cris/cris.c: Likewise.
6352 * config/darwin-c.c: Likewise.
6353 * config/darwin.c: Likewise.
6354 * config/epiphany/epiphany.c: Likewise.
6355 * config/epiphany/mode-switch-use.c: Likewise.
6356 * config/epiphany/resolve-sw-modes.c: Likewise.
6357 * config/fr30/fr30.c: Likewise.
6358 * config/frv/frv.c: Likewise.
6359 * config/ft32/ft32.c: Likewise.
6360 * config/h8300/h8300.c: Likewise.
6361 * config/i386/i386-c.c: Likewise.
6362 * config/i386/i386.c: Likewise.
6363 * config/i386/msformat-c.c: Likewise.
6364 * config/i386/winnt-cxx.c: Likewise.
6365 * config/i386/winnt-stubs.c: Likewise.
6366 * config/i386/winnt.c: Likewise.
6367 * config/ia64/ia64-c.c: Likewise.
6368 * config/ia64/ia64.c: Likewise.
6369 * config/iq2000/iq2000.c: Likewise.
6370 * config/lm32/lm32.c: Likewise.
6371 * config/m32c/m32c-pragma.c: Likewise.
6372 * config/m32c/m32c.c: Likewise.
6373 * config/m32r/m32r.c: Likewise.
6374 * config/m68k/m68k.c: Likewise.
6375 * config/mcore/mcore.c: Likewise.
6376 * config/mep/mep-pragma.c: Likewise.
6377 * config/mep/mep.c: Likewise.
6378 * config/microblaze/microblaze-c.c: Likewise.
6379 * config/microblaze/microblaze.c: Likewise.
6380 * config/mips/mips.c: Likewise.
6381 * config/mmix/mmix.c: Likewise.
6382 * config/mn10300/mn10300.c: Likewise.
6383 * config/moxie/moxie.c: Likewise.
6384 * config/msp430/msp430-c.c: Likewise.
6385 * config/msp430/msp430.c: Likewise.
6386 * config/nds32/nds32-cost.c: Likewise.
6387 * config/nds32/nds32-fp-as-gp.c: Likewise.
6388 * config/nds32/nds32-intrinsic.c: Likewise.
6389 * config/nds32/nds32-isr.c: Likewise.
6390 * config/nds32/nds32-md-auxiliary.c: Likewise.
6391 * config/nds32/nds32-memory-manipulation.c: Likewise.
6392 * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
6393 * config/nds32/nds32-predicates.c: Likewise.
6394 * config/nds32/nds32.c: Likewise.
6395 * config/nios2/nios2.c: Likewise.
6396 * config/nvptx/nvptx.c: Likewise.
6397 * config/pa/pa.c: Likewise.
6398 * config/pdp11/pdp11.c: Likewise.
6399 * config/rl78/rl78-c.c: Likewise.
6400 * config/rl78/rl78.c: Likewise.
6401 * config/rs6000/rs6000-c.c: Likewise.
6402 * config/rs6000/rs6000.c: Likewise.
6403 * config/rx/rx.c: Likewise.
6404 * config/s390/s390-c.c: Likewise.
6405 * config/s390/s390.c: Likewise.
6406 * config/sh/sh-c.c: Likewise.
6407 * config/sh/sh-mem.cc: Likewise.
6408 * config/sh/sh.c: Likewise.
6409 * config/sh/sh_optimize_sett_clrt.cc: Likewise.
6410 * config/sh/sh_treg_combine.cc: Likewise.
6411 * config/sol2-c.c: Likewise.
6412 * config/sol2-cxx.c: Likewise.
6413 * config/sol2-stubs.c: Likewise.
6414 * config/sol2.c: Likewise.
6415 * config/sparc/sparc-c.c: Likewise.
6416 * config/sparc/sparc.c: Likewise.
6417 * config/spu/spu-c.c: Likewise.
6418 * config/spu/spu.c: Likewise.
6419 * config/stormy16/stormy16.c: Likewise.
6420 * config/tilegx/mul-tables.c: Likewise.
6421 * config/tilegx/tilegx-c.c: Likewise.
6422 * config/tilegx/tilegx.c: Likewise.
6423 * config/tilepro/mul-tables.c: Likewise.
6424 * config/tilepro/tilepro-c.c: Likewise.
6425 * config/tilepro/tilepro.c: Likewise.
6426 * config/v850/v850-c.c: Likewise.
6427 * config/v850/v850.c: Likewise.
6428 * config/vax/vax.c: Likewise.
6429 * config/visium/visium.c: Likewise.
6430 * config/vms/vms-c.c: Likewise.
6431 * config/vms/vms.c: Likewise.
6432 * config/vxworks.c: Likewise.
6433 * config/xtensa/xtensa.c: Likewise.
6435 2015-07-07 Uros Bizjak <ubizjak@gmail.com>
6437 * config/i386/i386.md (*jcc_bt<mode>): Only split before reload.
6438 Remove operand constraints. Change operand 2 predicate to
6439 nonmemory operand. Limit const_int values to mode bitsize. Only
6440 allow const_int values less than 32 when optimizing for size.
6441 (*jcc_bt<mode>_1, *jcc_bt<mode>_mask): Only split before reload.
6442 Remove operand constraints.
6443 (*bt<mode>): Use SImode for const_int values less than 32.
6444 (regmode): Remove mode attribute.
6446 2015-07-07 Anatoly Sokolov <aesok@post.ru>
6448 * config/moxie/moxie.h (GO_IF_LEGITIMATE_ADDRESS): Remove macros.
6449 * config/moxie/moxie.c (moxie_reg_ok_for_base_p,
6450 moxie_legitimate_address_p): New functions.
6451 (TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): Define.
6453 2015-07-07 Tom de Vries <tom@codesourcery.com>
6455 PR tree-optimization/66642
6456 * tree-parloops.c (transform_to_exit_first_loop_alt): Update function
6457 header comment. Rename split_edge variable to edge_at_split. Split
6458 exit edge to create new loop exit bb. Insert loop exit phis in new
6461 2015-07-07 Tom de Vries <tom@codesourcery.com>
6463 * tree-cfg.c (get_virtual_phi): New function.
6464 * tree-cfg.h (get_virtual_phi): Declare.
6465 * tree-ssa-loop-manip.c (replace_uses_in_dominated_bbs)
6466 (rewrite_virtuals_into_loop_closed_ssa): New function.
6467 * tree-ssa-loop-manip.h (rewrite_virtuals_into_loop_closed_ssa):
6469 * tree-parloops.c (replace_uses_in_bbs_by): Remove.
6470 (transform_to_exit_first_loop_alt): Use
6471 rewrite_virtuals_into_loop_closed_ssa.
6473 2015-07-07 Richard Biener <rguenther@suse.de>
6475 * fold-const.c (fold_binary_loc): Move
6476 (X & C2) << C1 -> (X << C1) & (C2 << C1) simplification ...
6477 * match.pd: ... here.
6478 Add (X * C1) % C2 -> 0 simplification pattern derived from
6481 2015-07-07 Kaz Kojima <kkojima@gcc.gnu.org>
6484 * config/sh/sh.md (symGOT_load): Revert a part of 2015-03-03
6485 change for target/65249.
6487 2015-07-07 Paulo Matos <pmatos@broadcom.com>
6489 * symtab.c (address_matters_1): Fix typo in comment above.
6490 (can_increase_alignment_p): Likewise.
6492 2015-07-07 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
6494 * function.c (free_after_compilation): Clear PROP_cfg in
6497 2015-07-07 Richard Biener <rguenther@suse.de>
6499 * tree-ssa-propagate.c (add_ssa_edge): Dump what edge list we
6501 (add_control_edge): Remove excessive vertical space in dumping.
6502 (process_ssa_edge_worklist): Simulate at most one statement and
6503 return whether we did. Do not simulate PHIs if they are in a
6504 BB not yet simulated.
6505 (ssa_propagate): Adjust to always drain the BB worklist whenever
6506 a BB is available there, likewise the VARYING edges list before
6507 the interesting edge list.
6509 2015-07-07 Christian Bruel <christian.bruel@st.com>
6512 * config/arm/elf.h (TARGET_ASM_FILE_START_APP_OFF): Delete.
6514 2015-07-07 Richard Biener <rguenther@suse.de>
6517 * match.pd: Condition A - B ==/!= 0 -> A ==/!= B on single-use
6520 2015-07-06 Uros Bizjak <ubizjak@gmail.com>
6522 * config/i386/i386.md (insv<mode>): Rename from insv. Use SWI48
6523 modes for operands 0 and 3. Use SImode for operands 2 and 3.
6524 Copy operand 0 to a temporary if !ext_register_operand. Remove
6525 ancient extract_bit_field workaround.
6526 (insv<mode>_1): Rename from mov<mode>_insv_1.
6527 (*insvqi): Rename from *movqi_insv_2.
6528 * config/i386/i386.c (emit_i386_cw_initialization): Update calls
6529 for renamed insvsi_1.
6530 (promote_duplicated_reg): Ditto for renamed insv<mode>_1.
6532 2015-07-06 Nathan Sidwell <nathan@codesourcery.com>
6534 * config/nvptx/nvptx.c (nvptx_reorg): Remove unused vars. Fix
6535 call to nvptx_reorg_subreg.
6537 2015-07-06 Jim Wilson <jim.wilson@linaro.org>
6539 * graphite-blocking.c (HAVE_isl): Include <stddef.h>.
6540 * graphite-dependencies.c, graphite-interchange.c,
6541 graphite-isl-ast-to-gimple.c, graphite-optimize-isl.c, graphite-poly.c,
6542 graphite-scop-detection.c, graphite-sese-to-poly.c, graphite.c:
6545 2015-07-06 Marc Glisse <marc.glisse@inria.fr>
6547 * match.pd: Remove element_mode inside HONOR_*.
6548 (~ (-A) -> A - 1, ~ (A - 1) -> -A): Handle complex types.
6549 (~X | X -> -1, ~X ^ X -> -1): Merge.
6550 * tree.c (build_each_one_cst): New function.
6551 * tree.h (build_each_one_cst): Likewise.
6553 2015-07-06 H.J. Lu <hongjiu.lu@intel.com>
6555 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
6558 2015-07-06 Steve Ellcey <sellcey@imgtec.com>
6560 * config.gcc <mips*-*-*>: Add fused-madd.opt.
6561 * config/mips/mips.opt (mfused-madd): Remove.
6562 * config/mips/mips.c (mips_rtx_costs): Update cost calculations.
6563 * config/mips/mips.h (TARGET_MIPS8000): New.
6564 (ISA_HAS_FP_MADD4_MSUB4): Remove.
6565 (ISA_HAS_FP_MADDF_MSUBF): Remove.
6566 (ISA_HAS_FP_MADD3_MSUB3): Remove.
6567 (ISA_HAS_NMADD4_NMSUB4): Remove.
6568 (ISA_HAS_NMADD3_NMSUB3): Remove.
6569 (ISA_HAS_FUSED_MADD4): New.
6570 (ISA_HAS_UNFUSED_MADD4): New.
6571 (ISA_HAS_FUSED_MADDF): New.
6572 (ISA_HAS_FUSED_MADD3): New.
6573 * config/mips/mips.md: (fma<mode>4) Change from insn to expand.
6574 (*fma<mode>4_madd3) New.
6575 (*fma<mode>4_madd4) New.
6576 (*fma<mode>4_maddf) New.
6578 (*fms<mode>4_msub3) New.
6579 (*fms<mode>4_msub4) New.
6581 (*fnma<mode>4_nmadd3) New.
6582 (*fnma<mode>4_nmadd4) New.
6584 (*fnms<mode>4_nmsub3) New.
6585 (*fnms<mode>4_nmsub4) New.
6586 (*madd4<mode>) Modify to be unfused only.
6587 (*msub4<mode>) Modify to be unfused only.
6588 (*nmadd4<mode>) Modify to be unfused only.
6589 (*nmsub4<mode>) Modify to be unfused only.
6590 (*madd3<mode>) Remove.
6591 (*msub3<mode>) Remove.
6592 (*nmadd3<mode>) Remove.
6593 (*nmsub3<mode>) Remove.
6594 (*nmadd3<mode>_fastmath) Remove.
6595 (*nmsub3<mode>_fastmath) Remove.
6596 (*nmadd4<mode>_fastmath) Update condition.
6597 (*nmsub4<mode>_fastmath) Update condition.
6599 2015-07-06 Alan Lawrence <alan.lawrence@arm.com>
6602 * config/arm/arm.c (arm_needs_doubleword_align): Drop any outer
6603 alignment attribute, exploring one level down for records and arrays.
6605 2015-07-06 Uros Bizjak <ubizjak@gmail.com>
6607 * config/i386/i386.md (extv<mode>): Rename from extv. Use SWI24
6608 modes for operands 0 and 1. Use SImode for operands 2 and 3.
6609 Copy operand 1 to a temporary if !ext_register_operand. Remove
6610 ancient extract_bit_field workaround.
6611 (*extv<mode>): Rename from *mov<mode>_extv_1.
6612 (*extvqi): Rename from *movqi_extv_1.
6613 (extzv<mode>): Rename from extzv. Use SWI248 modes for
6614 operands 0 and 1. Use SImode for operands 2 and 3. Copy operand 1
6615 to a temporary if !ext_register_operand. Remove ancient
6616 extract_bit_field workaround.
6617 (*extzv<mode>): Rename from *mov<mode>_extzv_1.
6618 (*extzvqi): Rename from *movqi_extzv_2.
6619 (*testqi_ext_3): Remove modes from const_int_operand predicated
6620 operands. Add "n" constraint.
6621 (*btsq, *btrq, *btcq): Remove mode from const_0_to_63 predicated
6622 operand. Add "J" constraint.
6623 (*btsq, *btrq, *btcq peephole2s): Remove mode from
6624 const_0_to_63 predicated operand.
6625 (regmode): New insn attribute.
6626 (*bt<mode>): Use SImode for operand 1. Change operand 1 predicate
6627 to nonmemory_operand. Use regmode insn attribute.
6628 (*jcc_bt<mode>_1): Convert operand 2 to SImode.
6629 (*jcc_bt<mode>_mask): Remove mode from operand 3.
6630 (*jcc_btsi_1, *jcc_btsi_mask_1): Remove patterns.
6631 (tbm_bextri_<mode>): Remove modes from const_0_to_255 predicated
6632 operands. Use "N" constraint instead of "n".
6634 2015-07-06 Alan Lawrence <alan.lawrence@arm.com>
6636 * config/arm/arm.md (movdi): Avoid odd-number ldrd/strd in ARM state.
6638 2015-07-06 H.J. Lu <hongjiu.lu@intel.com>
6641 * config/i386/i386.c (iamcu_cost): New.
6642 (m_IAMCU): Likewise.
6643 (initial_ix86_arch_features): Disable X86_ARCH_CMOV for m_IAMCU.
6644 (processor_target_table): Add an entry for "iamcu".
6645 (processor_alias_table): Likewise.
6646 (ix86_issue_rate): Handle PROCESSOR_IAMCU.
6647 (ix86_adjust_cost): Likewise.
6648 (ia32_multipass_dfa_lookahead): Likewise.
6649 * config/i386/i386.h (processor_type): Add PROCESSOR_IAMCU.
6650 * config/i386/x86-tune.def: Updated for m_IAMCU.
6652 2015-07-06 Richard Biener <rguenther@suse.de>
6654 PR tree-optimization/66772
6655 * tree-ssa-ccp.c (ccp_visit_phi_node): Make sure that copy
6656 values are available in the PHI node BB when there are
6657 still unexecutable edges.
6659 2015-07-06 Richard Biener <rguenther@suse.de>
6661 PR tree-optimization/66767
6662 * tree-vect-loop-manip.c (vect_create_cond_for_align_checks):
6663 Make sure to build the alignment test on a SSA name without
6664 final alignment info valid only if the alignment test
6667 2015-07-06 Bernd Schmidt <bernds@codesourcery.com>
6670 * config/bfin/bfin.c (hwloop_optimize): Create new bb between jump and
6671 loop start when inserting LSETUP.
6673 2015-07-06 H.J. Lu <hongjiu.lu@intel.com>
6676 * config/i386/i386.c (ix86_option_override_internal): Allow
6677 -mincoming-stack-boundary=3 for 64-bit if SSE is disabled.
6679 2015-07-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6681 * read-md.c (decimal_string): Rename to ...
6682 (md_decimal_string): ... this.
6683 (handle_enum): Reflect this.
6685 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6688 * config/aarch64/aarch64.md (fnmul<mode>3): Handle -frounding-math.
6690 2015-07-06 Richard Biener <rguenther@suse.de>
6693 * match.pd: Add missing constraint of y to REAL_CST in
6694 REAL_CST - x CMP y to y - CST CMP x simplification.
6696 2015-07-06 Eric Botcazou <ebotcazou@adacore.com>
6698 PR tree-optimization/66757
6699 * match.pd: Add missing condition to ~X ^ C -> X ^ ~C.
6701 2015-07-05 Chung-Lin Tang <cltang@codesourcery.com>
6702 Sandra Loosemore <sandra@codesourcery.com>
6704 * config/nios2/nios2-protos.h (nios2_symbol_ref_in_small_data_p):
6705 Delete extern declaration.
6706 (gprel_constant_p): Add extern declaration.
6707 * config/nios2/constraints.md ("S"): Use gprel_constant_p
6708 instead of nios2_symbol_ref_in_small_data_p.
6709 * config/nios2/nios2.c (nios2_legitimate_address_p): Likewise.
6710 (nios2_symbol_ref_in_small_data_p): Make static.
6711 (gprel_constant_p): Make non-static.
6713 2015-07-05 Gerald Pfeifer <gerald@pfeifer.com>
6715 * doc/fragments.texi (Target Fragment): Convert debian.org
6717 * doc/install.texi (Configuration): Ditto.
6719 2015-07-05 Jakub Jelinek <jakub@redhat.com>
6721 PR tree-optimization/66718
6722 * tree-vect-stmts.c (vectorizable_call): Replace uses of
6723 GOMP_SIMD_LANE outside of loop with vf - 1 rather than 0.
6725 PR tree-optimization/66718
6726 * tree-vect-stmts.c (vectorizable_assignment, vectorizable_store,
6727 vectorizable_load, vectorizable_condition): Move vectype,
6728 nunits, ncopies computation after checking what kind of statement
6731 2015-07-05 Richard Sandiford <richard.sandiford@arm.com>
6733 * target-insns.def (extv, extzv, insv): New targetm instruction
6735 * optabs.c (get_extraction_insn): Use them instead of HAVE_*/gen_*
6737 * recog.c (simplify_while_replacing): Likewise.
6739 2015-07-05 Richard Sandiford <richard.sandiford@arm.com>
6741 * target-insns.def (doloop_begin, doloop_end): New targetm
6742 instruction patterns.
6743 * loop-init.c: Include target.h.
6744 (pass_loop2::gate): Use the new targetm patterns instead of
6745 HAVE_*/gen_* interface.
6746 (pass_rtl_doloop::gate): Likewise.
6747 (pass_rtl_doloop::execute): Remove preprocessor condition.
6748 * hw-doloop.c: Build unconditionally.
6749 * loop-doloop.c: Likewise.
6750 (doloop_optimize): Use the new targetm patterns instead of
6751 HAVE_*/gen_* interface.
6752 (doloop_modify): Likewise. Change type of doloop_seq to rtx_insn *.
6753 * modulo-sched.c (doloop_register_get): Likewise.
6755 2015-07-05 Richard Sandiford <richard.sandiford@arm.com>
6757 * target-insns.def (clear_cache): New targetm instruction pattern.
6758 * builtins.c (expand_builtin___clear_cache): Use it instead of
6759 HAVE_*/gen_* interface.
6761 2015-07-05 Richard Sandiford <richard.sandiford@arm.com>
6763 * target-insns.def (allocate_stack, check_stack, probe_stack)
6764 (probe_stack_address, split_stack_prologue, split_stack_space_check):
6765 New targetm instruction patterns.
6766 * explow.c (allocate_dynamic_stack_space): Use them instead of
6767 HAVE_*/gen_* interface.
6768 (emit_stack_probe): Likewise.
6769 (probe_stack_range): Likewise.
6770 * function.c (thread_prologue_and_epilogue_insns): Likewise.
6772 2015-07-05 Richard Sandiford <richard.sandiford@arm.com>
6774 * target-insns.def (stack_protect_set, stack_protect_test): New
6775 targetm instruction patterns.
6776 * cfgexpand.c (stack_protect_prologue): Use them instead of
6777 HAVE_*/gen_* interface.
6778 * function.c (stack_protect_epilogue): Likewise.
6780 2015-07-05 Richard Sandiford <richard.sandiford@arm.com>
6782 * expr.h (gen_move_insn_uncast): Delete.
6783 * expr.c (gen_move_insn_uncast): Delete.
6785 2015-07-05 Richard Sandiford <richard.sandiford@arm.com>
6787 * target-insns.def (restore_stack_block, restore_stack_function)
6788 (restore_stack_nonlocal, save_stack_block, save_stack_function)
6789 (save_stack_nonlocal): New targetm instruction patterns.
6790 * builtins.c (expand_builtin_apply): Use them instead of
6791 HAVE_*/gen_* interface.
6792 * explow.c (emit_stack_save, emit_stack_restore): Likewise.
6794 2015-07-05 Richard Sandiford <richard.sandiford@arm.com>
6796 * target-insns.def (trap): New targetm instruction pattern.
6797 * builtins.c (expand_builtin_trap): Use it instead of HAVE_*/gen_*
6799 * explow.c (allocate_dynamic_stack_space): Likewise.
6800 * ifcvt.c (find_if_header): Likewise.
6802 2015-07-05 Richard Sandiford <richard.sandiford@arm.com>
6804 * target-insns.def (prefetch): New targetm instruction pattern.
6805 * tree-ssa-loop-prefetch.c: Include targeth.
6806 (tree_ssa_prefetch_arrays): Use prefetch targetm pattern instead
6807 of HAVE_*/gen_* interface.
6808 * builtins.c (expand_builtin_prefetch): Likewise.
6809 * toplev.c (process_options): Likewise.
6811 2015-07-05 Richard Sandiford <richard.sandiford@arm.com>
6813 * target-insns.def (untyped_call, untyped_return): New targetm
6814 instruction patterns.
6815 * builtins.c (expand_builtin_apply): Use them instead of
6816 HAVE_*/gen_* interface.
6817 (result_vector): Define unconditionally.
6819 2015-07-05 Richard Sandiford <richard.sandiford@arm.com>
6821 * target-insns.def (builtin_longjmp, builtin_setjmp_receiver)
6822 (builtin_setjmp_setup, exception_receiver, nonlocal_goto)
6823 (nonlocal_goto_receiver): New targetm instruction patterns.
6824 * builtins.c (expand_builtin_setjmp_setup): Use them instead
6825 of HAVE_*/gen_* interface.
6826 (expand_builtin_setjmp_receiver): Likewise.
6827 (expand_builtin_longjmp, expand_builtin_nonlocal_goto): Likewise.
6828 * except.c (expand_dw2_landing_pad_for_region): Likewise.
6830 2015-07-05 Richard Sandiford <richard.sandiford@arm.com>
6832 * target.def: Add code_for_* hooks.
6833 * gentarget-def.c (def_target_insn): Add TARGET_CODE_FOR_* macros.
6834 * defaults.h (HAVE_tablejump, gen_tablejump): Delete.
6835 * target-insns.def (casesi, tablejump): New targetm instruction
6837 * expr.c (try_casesi): Use them instead of HAVE_*/gen_* interface.
6838 (do_tablejump): Likewise.
6839 * stmt.c (expand_switch_as_decision_tree_p): Likewise.
6840 (expand_sjlj_dispatch_table): Likewise.
6841 * targhooks.c (default_case_values_threshold): Likewise.
6843 2015-07-04 Sandra Loosemore <sandra@codesourcery.com>
6845 * config/nios2/nios2.c (save_reg, restore_reg): Use plus_constant.
6846 Use rtx_insn * instead of rtx.
6847 (nios2_emit_add_constant): Use rtx_insn * instead of rtx.
6848 (nios2_expand_prologue, nios2_expand_epilogue): Likewise.
6849 (nios2_call_tls_get_addr): Likewise.
6850 (nios2_emit_expensive_div): Likewise.
6851 (nios2_emit_move_sequence): Change return type to bool.
6852 * config/nios2/nios2-protos.h (nios2_emit_move_sequence):
6853 Change return type to bool.
6855 2015-07-04 Bernd Edlinger <bernd.edlinger@hotmail.de>
6858 * config/mips/mips.c (mips_find_gp_ref): Handle instruction sequences.
6860 2015-07-04 John David Anglin <danglin@gcc.gnu.org>
6863 * config/pa/pa.md (indirect_jump): Use pmode_register_operand instead
6864 of register_operand. Remove constraint.
6866 2015-07-04 Marc Glisse <marc.glisse@inria.fr>
6868 * tree-cfg.c (verify_gimple_assign_ternary) <VEC_COND_EXPR>: Check
6871 2015-07-03 Paolo Carlini <paolo.carlini@oracle.com>
6873 * attribs.c (decl_attributes): Guard inform with the return value
6874 of the preceding warning.
6876 2015-07-03 James Greenhalgh <james.greenhalgh@arm.com>
6878 * doc/invoke.texi (moverride): Move to correct section.
6880 2015-07-03 Richard Biener <rguenther@suse.de>
6882 * genmatch.c (commutative_tree_code, commutative_ternary_tree_code):
6884 (dt_operand::gen_gimple_expr): After valueizing operands
6885 re-canonicalize operand order for commutative tree codes.
6887 2015-07-03 H.J. Lu <hongjiu.lu@intel.com>
6890 * config/i386/ia32intrin.h (__crc32b): Don't define if __iamcu__
6892 (__crc32w): Likewise.
6893 (__crc32d): Likewise.
6894 (__rdpmc): Likewise.
6895 (__rdtscp): Likewise.
6897 (_rdtscp): Likewise.
6898 * config/i386/x86intrin.h: Only include ia32intrin.h if __iamcu__
6901 2015-07-03 Richard Biener <rguenther@suse.de>
6903 * fold-const.c (fold_mathfn_compare): Remove.
6904 (fold_inf_compare): Likewise.
6905 (fold_comparison): Move floating point comparison simplifications...
6906 * match.pd: ... to patterns here. Introduce simple_comparisons
6907 operator list and use it for patterns formerly in fold_comparison.
6909 2015-07-03 James Greenhalgh <james.greenhalgh@arm.com>
6911 PR tree-optimization/66119
6912 * toplev.c (process_options): Don't set up default values for
6913 the sra_max_scalarization_size_{speed,size} parameters.
6914 * tree-sra (analyze_all_variable_accesses): If no values
6915 have been set for the sra_max_scalarization_size_{speed,size}
6916 parameters, call get_move_ratio to get target defaults.
6918 2015-07-03 Richard Biener <rguenther@suse.de>
6920 * fold-const.c (fold_binary_loc): Move (T)ptr & CST folding...
6921 * match.pd: ... here.
6923 2015-07-03 Gerald Pfeifer <gerald@pfeifer.com>
6926 * doc/invoke.texi (i386 and x86-64 Options): -mno-fancy-math-387
6927 is not actually the default on FreeBSD.
6929 2015-07-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
6931 * config/rs6000/rs6000-builtin.def (CMPGE_16QI): New built-in
6933 (CMPGE_8HI): Likewise.
6934 (CMPGE_4SI): Likewise.
6935 (CMPGE_2DI): Likewise.
6936 (CMPGE_U16QI): Likewise.
6937 (CMPGE_U8HI): Likewise.
6938 (CMPGE_U4SI): Likewise.
6939 (CMPGE_U2DI): Likewise.
6940 (CMPLE_16QI): Likewise.
6941 (CMPLE_8HI): Likewise.
6942 (CMPLE_4SI): Likewise.
6943 (CMPLE_2DI): Likewise.
6944 (CMPLE_U16QI): Likewise.
6945 (CMPLE_U8HI): Likewise.
6946 (CMPLE_U4SI): Likewise.
6947 (CMPLE_U2DI): Likewise.
6948 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
6949 overloads for ALTIVEC_BUILTIN_VEC_CMPGE and
6950 ALTIVEC_BUILTIN_VEC_CMPLE.
6951 * config/rs6000/vector.md (vector_ge<mode>): Restrict to
6952 floating-point vector modes.
6953 (vector_nlt<mode>): New define_expand.
6954 (vector_nltu<mode>): Likewise.
6955 (vector_ngt<mode>): Likewise.
6956 (vector_ngtu<mode>): Likewise.
6958 2015-07-02 Segher Boessenkool <segher@kernel.crashing.org>
6960 PR rtl-optimization/66706
6961 * combine.c (make_compound_operation): If an AND of SUBREG of
6962 LSHIFTRT does not simplify, see if just the AND of SUBREG does.
6964 2015-07-02 Alan Lawrence <alan.lawrence@arm.com>
6966 * tree-pass.h (make_pass_ch_vect): New.
6967 * passes.def: Add pass_ch_vect just before pass_if_conversion.
6969 * tree-ssa-loop-ch.c (ch_base, pass_ch_vect, pass_data_ch_vect,
6970 pass_ch::process_loop_p, pass_ch_vect::process_loop_p,
6971 make_pass_ch_vect): New.
6972 (pass_ch): Extend ch_base.
6974 (pass_ch::execute): Move all but loop_optimizer_init/finalize to...
6975 (ch_base::copy_headers): ...here.
6977 2015-07-02 Richard Biener <rguenther@suse.de>
6979 * builtins.c (get_pointer_alignment_1): Handle POINTER_PLUS_EXPR.
6980 * fold-const.c (get_pointer_modulus_and_residue): Remove.
6981 (fold_binary_loc): Implement (T)ptr & CST in terms of
6982 get_pointer_alignment_1.
6983 * tree-vect-loop-manip.c (vect_gen_niters_for_prolog_loop):
6984 Make sure to build the alignment test on a SSA name without
6985 final alignment info valid only after the prologue.
6987 2015-07-02 Hans-Peter Nilsson <hp@axis.com>
6989 * config/cris/cris.md ("epilogue"): Remove condition.
6990 ("prologue"): Ditto.
6992 2015-07-02 Richard Biener <rguenther@suse.de>
6994 * tree-ssa-dom.c (build_and_record_new_cond): Add optional
6995 parameter to record a condition that is false.
6996 (record_conditions): When recording an extra NE_EXPR that is
6997 true also record a EQ_EXPR that is false.
6999 2015-07-02 Bin Cheng <bin.cheng@arm.com>
7001 * tree-ssa-loop-ivopts.c (struct ivopts_data): New field iv_obstack.
7002 (tree_ssa_iv_optimize_init): Initialize iv_obstack.
7003 (alloc_iv): New parameter. Allocate struct iv using obstack_alloc.
7004 (set_iv, find_interesting_uses_address, add_candidate_1): New
7005 argument to alloc_iv.
7006 (find_interesting_uses_op, find_interesting_uses_cond): Don't
7007 duplicate struct iv.
7008 (free_loop_data): Don't free struct iv explicitly.
7009 (tree_ssa_iv_optimize_finalize): Free iv_obstack.
7011 2015-07-01 DJ Delorie <dj@redhat.com>
7013 * config/s390/tpf.h (LIBSTDCXX): Change to CPP1.
7015 (SUPPORTS_DISCRIMINATOR): Define.
7017 2015-07-01 Richard Sandiford <richard.sandiford@arm.com>
7020 * rtl.c (classify_insn): Only return JUMP_INSN for parallel returns if
7021 there are no CALLs in the same pattern.
7023 2015-07-01 Bernd Edlinger <bernd.edlinger@hotmail.de>
7025 PR rtl-optimization/61047
7026 * rtlanal.c (get_initial_register_offset): New function.
7027 (rtx_addr_can_trap_p_1): Check offsets of stack references.
7029 2015-07-01 Richard Biener <rguenther@suse.de>
7031 * fold-const.c (fold_comparison): Move X - Y CMP 0 -> X CMP Y,
7032 X * C1 CMP 0 -> X CMP 0, X CMP X, ~X CMP ~Y -> Y CMP X and
7033 ~X CMP C -> X CMP' ~C to ...
7034 * match.pd: ... patterns here.
7036 2015-07-01 Nick Clifton <nickc@redhat.com>
7038 * config/msp430/msp430.md (zero_extendhipsi2): Use MOVX.A to store
7039 a 16-bit value into a 20-bit memory slot.
7041 2015-07-01 Jiong Wang <jiong.wang@arm.com>
7043 * doc/sourcebuild.texi (AArch64-specific attributes): Document
7044 "aarch64_tiny", "aarch64_small", "aarch64_large",
7045 "aarch64_little_endian", "aarch64_big_endian".
7047 2015-07-01 Jiong Wang <jiong.wang@arm.com>
7049 * doc/sourcebuild.texi (AArch64-specific attributes): New subsection.
7050 Document "aarch64_small_fpic".
7052 2015-07-01 Jiong Wang <jiong.wang@arm.com>
7054 * configure.ac: Add check for aarch64 assembler -fpic relocation
7056 * configure: Regenerate.
7057 * config.in: Regenerate.
7058 * config/aarch64/aarch64.c (initialize_aarch64_code_model): Fall back
7059 to -fPIC if not support of -fpic relocation modifier in assembler.
7061 2015-07-01 Richard Sandiford <richard.sandiford@arm.com>
7064 * rtl.c (classify_insn): Handle returns in PARALLELs.
7066 2015-07-01 Eric Botcazou <ebotcazou@adacore.com>
7069 * tree-nested.c (convert_nonlocal_omp_clauses): Initialize need_chain
7070 to true if the function is nested and if not optimizing.
7071 (convert_local_omp_clauses): Initialize need_frame to true if the
7072 function contains nested functions and if not optimizing.
7074 2015-07-01 Richard Biener <rguenther@suse.de>
7076 * fold-const.c (fold_binary_loc): Move ~X ^ X -> -1 and
7077 (X & Y) ^ Y -> ~X & Y transforms to ...
7078 * match.pd: ... here.
7080 2015-07-01 Richard Biener <rguenther@suse.de>
7082 * genmatch.c (expr::gen_transform): Shortcut re-simplifying
7083 of converts to avoid uninteresting noise from the conversion
7084 simplifying patterns.
7086 2015-06-30 Sandra Loosemore <sandra@codesourcery.com>
7088 * config/c6x/c6x.c (try_rename_operands): Do not depend on
7089 gcc_assert evaluating its argument for side-effect.
7091 2015-06-30 Kaz Kojima <kkojima@gcc.gnu.org>
7094 * config/sh/sh.md (casesi_worker_1): Set length to 8 when
7097 2015-06-30 Eric Botcazou <ebotcazou@adacore.com>
7099 * lto-streamer-out.c (class DFS): Adjust hash_scc method.
7100 (DFS::DFS): Pass this_ref_p and ref_p to hash_scc.
7101 (hash_scc): Add this_ref_p and ref_p parameters and pass them
7102 to the inner DFS walk.
7104 2015-06-30 Richard Sandiford <richard.sandiford@arm.com>
7106 * target-insns.def (jump): New targetm instruction pattern.
7107 * bb-reorder.c (get_uncond_jump_length): Use targetm.gen_jump
7108 instead of gen_jump.
7109 (fix_up_crossing_landing_pad): Likewise.
7110 (add_labels_and_missing_jumps): Likewise.
7111 (fix_crossing_conditional_branches): Likewise.
7112 * cfgrtl.c (try_redirect_by_replacing_jump): Likewise.
7113 (force_nonfallthru_and_redirect): Likewise.
7114 * cse.c (cse_insn): Likewise.
7115 * expmed.c (expand_divmod): Likewise.
7116 * expr.c (store_expr_with_bounds, expand_expr_real_2): Likewise.
7117 * haifa-sched.c (init_before_recovery): Likewise.
7118 (sched_create_recovery_edges): Likewise.
7119 * ifcvt.c (find_cond_trap): Likewise.
7120 * optabs.c (expand_doubleword_shift, expand_doubleword_clz): Likewise.
7121 (expand_float, expand_fix): Likewise.
7122 * stmt.c (emit_jump): Likewise.
7124 2015-06-30 Richard Sandiford <richard.sandiford@arm.com>
7126 * defaults.h (HAVE_load_multiple, gen_load_multiple)
7127 (HAVE_store_multiple, gen_store_multiple): Delete.
7128 * target-insns.def (load_multiple, store_multiple): New targetm
7129 instruction patterns.
7130 * expr.c (move_block_to_reg, move_block_from_reg): Use them instead
7131 of HAVE_*/gen_* interface.
7133 2015-06-30 Richard Sandiford <richard.sandiford@arm.com>
7135 * defaults.h (HAVE_mem_thread_fence, gen_mem_thread_fence)
7136 (HAVE_memory_barrier, gen_memory_barrier, HAVE_mem_signal_fence)
7137 (gen_mem_signal_fence): Delete.
7138 * target-insns.def (mem_signal_fence, mem_thread_fence)
7139 (memory_barrier): New targetm instruction patterns.
7140 * optabs.c (expand_mem_thread_fence): Use them instead of HAVE_*/gen_*
7142 (expand_mem_signal_fence): Likewise.
7144 2015-06-30 Richard Sandiford <richard.sandiford@arm.com>
7146 * defaults.h (HAVE_epilogue, gen_epilogue): Delete.
7147 * target-insns.def (epilogue, prologue, sibcall_prologue): New
7148 targetm instruction patterns.
7149 * alias.c (init_alias_analysis): Use them instead of HAVE_*/gen_*
7151 * calls.c (expand_call): Likewise.
7152 * cfgrtl.c (cfg_layout_finalize): Likewise.
7153 * df-scan.c (df_get_entry_block_def_set): Likewise.
7154 (df_get_exit_block_use_set): Likewise.
7155 * dwarf2cfi.c (pass_dwarf2_frame::gate): Likewise.
7156 * final.c (final_start_function): Likewise.
7157 * function.c (thread_prologue_and_epilogue_insns): Likewise.
7158 (reposition_prologue_and_epilogue_notes): Likewise.
7159 * reorg.c (find_end_label): Likewise.
7160 * toplev.c (process_options): Likewise.
7162 2015-06-30 David Malcolm <dmalcolm@redhat.com>
7164 * typed-splay-tree.h: New file.
7166 2015-06-30 Vladimir Makarov <vmakarov@redhat.com>
7169 * lra-int.h (lra_substitute_pseudo): Add a parameter.
7170 (lra_substitute_pseudo_within_insn): Ditto.
7171 * lra.c (lra_substitute_pseudo): Add a parameter. Simplify subreg
7173 (lra_substitute_pseudo_within_insn): Add a parameter. Transfer it
7174 to lra_substitute_pseudo.
7175 * lra-lives.c (process_bb_lives): Add an argument to
7176 lra_substitute_pseudo_within_insn call.
7177 * lra-constraints.c (inherit_reload_reg, split_reg): Add an
7178 argument to lra_substitute_pseudo and
7179 lra_substitute_pseudo_within_insn calls.
7180 (remove_inheritance_pseudos, undo_optional_reloads): Ditto.
7182 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
7184 * configure: Regenerated.
7186 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
7188 * config.gcc: Support i[34567]86-*-elfiamcu target.
7189 * config/i386/iamcu.h: New.
7190 * config/i386/i386.opt: Add -miamcu.
7191 * doc/invoke.texi: Document -miamcu.
7192 * common/config/i386/i386-common.c (ix86_handle_option): Turn
7193 off x87/MMX/SSE/AVX codegen for -miamcu.
7194 * config/i386/i386-c.c (ix86_target_macros_internal): Define
7195 __iamcu/__iamcu__ for -miamcu.
7196 * config/i386/i386.h (PREFERRED_STACK_BOUNDARY_DEFAULT): Set
7197 to MIN_STACK_BOUNDARY if TARGET_IAMCU is true.
7198 (BIGGEST_ALIGNMENT): Set to 32 if TARGET_IAMCU is true.
7199 * config/i386/i386.c (ix86_option_override_internal): Ignore and
7200 warn -mregparm for Intel MCU. Turn on -mregparm=3 for Intel
7201 MCU by default. Default long double to 64-bit for Intel MCU.
7202 Turn on -freg-struct-return for Intel MCU. Issue an error when
7203 -miamcu is used in 64-bit or x32 mode or if x87, MMX, SSE or
7205 (function_arg_advance_32): Pass value whose size is no larger
7206 than 8 bytes in registers for Intel MCU.
7207 (function_arg_32): Likewise.
7208 (ix86_return_in_memory): Return value whose size is no larger
7209 than 8 bytes in registers for Intel MCU.
7210 (iamcu_alignment): New function.
7211 (ix86_data_alignment): Call iamcu_alignment if TARGET_IAMCU is
7213 (ix86_local_alignment): Don't increase alignment for Intel MCU.
7214 (x86_field_alignment): Return iamcu_alignment if TARGET_IAMCU is
7217 2015-06-30 Marek Polacek <polacek@redhat.com>
7219 * match.pd (X - (X / Y) * Y): Use convert1 and convert2. Convert
7220 both operands of the resulting expression.
7222 * match.pd (~x | x): Don't use tree_nop_conversion_p. Build
7223 the final expression with the operand's type and then convert
7224 it to the type of the expression.
7226 2015-06-30 Richard Biener <rguenther@suse.de>
7228 * fold-const.c (fold_binary_loc): Move ~x & ~y -> ~(x | y) and
7229 ~x | ~y -> ~(x & y), (x & CST) ^ (x & CST2) -> (x & CST) | (x & CST2),
7230 (X | Y) ^ X -> Y & ~ X, ~X ^ ~Y to X ^ Y and ~X ^ C to X ^ ~C ...
7231 * match.pd: ... to patterns here.
7233 2015-06-30 Richard Biener <rguenther@suse.de>
7235 PR tree-optimization/66704
7236 * tree-vect-data-refs.c (vect_setup_realignment): Use
7237 make_ssa_name for non-SSA name source.
7239 2015-06-30 Jakub Jelinek <jakub@redhat.com>
7242 * omp-low.c (simd_clone_adjust): Handle addressable linear
7243 or uniform parameters or non-gimple type uniform parameters.
7245 2015-06-30 Richard Biener <rguenther@suse.de>
7247 * fold-const.c (fold_unary_loc): Move abs(abs(x)) -> abs(x),
7248 ~ (-A) to A - 1, ~ (A - 1) or ~ (A + -1) to -A and some cases of
7249 ~(X ^ Y) to ~X ^ Y or X ^ ~Y if ~X or ~Y simplify to ...
7250 * match.pd: ... here.
7251 Add a few cases of A - B -> A + (-B) when B "easily" negates.
7252 Move (x & y) | x -> x and friends before
7253 (x | CST1) & CST2 -> (x & CST2) | (CST1 & CST2).
7255 2015-06-30 Eric Botcazou <ebotcazou@adacore.com>
7257 * config/sparc/leon.md (leon_load): Enable for all LEON variants if
7258 -mfix-ut699 is not specified.
7259 (leon3_load): Rename into...
7260 (ut699_load): ...this. Enable for all LEON variants if -mfix-ut699
7263 2015-06-30 Marek Polacek <polacek@redhat.com>
7265 * fold-const.c (fold_binary_loc): Move ~X | X folding ...
7266 * match.pd: ... here.
7268 2015-06-30 Richard Biener <rguenther@suse.de>
7270 * target-insns.def (canonicalize_funcptr_for_compare): Add.
7271 * fold-const.c (build_range_check): Replace uses of
7272 HAVE_canonicalize_funcptr_for_compare.
7273 (fold_widened_comparison): Likewise.
7274 (fold_sign_changed_comparison): Likewise.
7275 * dojump.c: Include "target.h".
7276 (do_compare_and_jump): Replace uses of
7277 HAVE_canonicalize_funcptr_for_compare and
7278 gen_canonicalize_funcptr_for_compare.
7279 * expr.c (do_store_flag): Likewise.
7281 2015-06-30 Tom de Vries <tom@codesourcery.com>
7283 PR tree-optimization/66652
7284 * tree-parloops.c (try_transform_to_exit_first_loop_alt): Use
7285 max_loop_iterations to determine if nit + 1 overflows.
7287 2015-06-30 Richard Biener <rguenther@suse.de>
7289 * tree-vrp.c (register_edge_assert_for_2): Also register
7290 asserts for dominating conversion results.
7292 2015-06-30 Bin Cheng <bin.cheng@arm.com>
7294 * tree-ssa-loop-ivopts.c (record_sub_use): Don't reset ssa_name
7297 2015-06-29 Jack Howarth <howarth.at.gcc@gmail.com>
7300 * configure.ac: Fix filds and fildq test for 64-bit.
7301 * configure: Regenerated.
7303 2015-06-29 Nathan Sidwell <nathan@codesourcery.com>
7305 * config/nvptx/nvptx.md (nvptx_reorg_subreg): New fn, broken out of ...
7306 (nvptx_reorg): Here. Keep the non-subreg pieces.
7308 2015-06-29 H.J. Lu <hongjiu.lu@intel.com>
7310 * config/gnu-user.h (GNU_USER_TARGET_ENDFILE_SPEC): Use
7311 PIE_SPEC and NO_PIE_SPEC if HAVE_LD_PIE is defined.
7313 2015-06-29 Uros Bizjak <ubizjak@gmail.com>
7315 * config/i386/i386.md (*jcc_1): Use %! in asm template.
7316 Set attribute "length_nobnd" instead of "length".
7319 (*jcc_1_bnd, *jcc_2_bnd, jump_bnd): Remove insn patterns.
7321 2015-06-29 Sandra Loosemore <sandra@codesourcery.com>
7323 * config/nios2/nios2.c (nios2_delegitimize_address): Make
7324 assert less restrictive.
7326 2015-06-29 Manuel López-Ibáñez <manu@gcc.gnu.org>
7329 * cgraphunit.c (cgraph_node::finalize_function): Do not call
7330 do_warn_unused_parameter.
7331 * function.c (do_warn_unused_parameter): Move from here.
7332 * function.h (do_warn_unused_parameter): Do not declare.
7334 2015-06-29 Matthew Wahab <matthew.wahab@arm.com>
7337 * gcc.target/arm/armv-sync-comp-swap.c: New.
7338 * gcc.target/arm/armv-sync-op-acquire.c: New.
7339 * gcc.target/arm/armv-sync-op-full.c: New.
7340 * gcc.target/arm/armv-sync-op-release.c: New.
7342 2015-06-29 Matthew Wahab <matthew.wahab@arm.com>
7345 * config/armc/arm.c (arm_split_compare_and_swap): For ARMv8, replace an
7346 initial acquire barrier with final barrier.
7348 2015-06-29 Matthew Wahab <matthew.wahab@arm.com>
7351 * config/armc/arm.c (arm_split_atomic_op): For ARMv8, replace an
7352 initial acquire barrier with final barrier.
7354 2015-06-29 Richard Henderson <rth@redhat.com>
7356 * config/i386/constraints.md (Bf): New constraint.
7357 * config/i386/i386-c.c (ix86_target_macros): Define
7358 __GCC_ASM_FLAG_OUTPUTS__.
7359 * config/i386/i386.c (ix86_md_asm_adjust): Handle =@cc* constraints
7361 * doc/extend.texi (FlagOutputOperands): Document them.
7363 2015-06-29 Jiong Wang <jiong.wang@arm.com>
7365 * config/arch64/aarch64.md (UNSPEC_TLSLE): New enumeration.
7366 * config/arch64/aarch64.md (tlsle_small): Rename to tlsle and use new
7368 (tlsle_small_<mode>): Rename to tlsle_<mode> and use new unspec name.
7369 * config/arch64/aarch64-protos.h (arch64_symbol_type): Rename
7370 SYMBOL_SMALL_TPREL to SYMBOL_TLSLE.
7371 (aarch64_symbol_context): Ditto.
7372 * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Ditto
7373 and use new pattern name.
7374 (aarch64_expand_mov_immediate): Ditto.
7375 (aarch64_print_operand): Ditto.
7376 (aarch64_classify_tls_symbol): Ditto.
7378 2015-06-29 Marek Polacek <polacek@redhat.com>
7379 Marc Glisse <marc.glisse@inria.fr>
7381 * fold-const.c (fold_binary_loc): Move X - (X / Y) * Y -> X % Y to ...
7382 * match.pd: ... pattern here.
7384 2015-06-29 Tom de Vries <tom@codesourcery.com>
7386 * tree-parloops.c (try_transform_to_exit_first_loop_alt): Simplify
7389 2015-06-29 Matthew Wahab <matthew.wahab@arm.com>
7391 * doc/invoke.texi (Aarch64 Options, -march): Split out arch and
7392 feature description, split out the native option, add a link to
7393 the feature documentation, rearrange and slightly rewrite text.
7394 (Aarch64 options, -mcpu): Likewise.
7395 (Aarch64 options, Feature Modifiers): Add an anchor. Mention
7396 +rdma implies Adv. SIMD.
7398 2015-06-29 Marek Polacek <polacek@redhat.com>
7401 * function.c (stack_protect_epilogue): Remove a cast to int.
7402 * doc/invoke.texi: Update -Wswitch-bool description.
7404 2015-06-29 Richard Biener <rguenther@suse.de>
7406 * genmatch.c (add_operator): Treat ADDR_EXPR as atom.
7407 * fold-const.c (fold_binary_loc): Move &A - &B simplification
7408 via ptr_difference_const ...
7409 * match.pd: ... here.
7410 When matching (X ^ Y) == Y also match with swapped operands.
7412 2015-06-29 Richard Biener <rguenther@suse.de>
7414 * lto-streamer.h (LTO_major_version): Bump to 5.
7416 2015-06-29 Richard Biener <rguenther@suse.de>
7418 PR tree-optimization/66677
7419 * tree-vect-stmts.c (vect_transform_stmt): Make assert about
7420 STMT_VINFO_VEC_STMT clobbering less strict.
7422 2015-06-29 Kugan Vivekanandarajah <kuganv@linaro.org>
7425 * tree-vrp.c (extract_range_from_binary_expr_1): For unsigned
7426 division, compute max and min when value ranges for dividend and
7427 divisor are available.
7429 2015-06-28 Chung-Lin Tang <cltang@codesourcery.com>
7430 Sandra Loosemore <sandra@codesourcery.com>
7432 * regrename.h (regrename_do_replace): Change to return bool.
7433 * regrename.c (rename_chains): Check return value of
7435 (regrename_do_replace): Re-validate the modified insns and
7437 * config/aarch64/cortex-a57-fma-steering.c (rename_single_chain):
7438 Update to match rename_chains changes.
7439 * config/c6x/c6x.c (try_rename_operands): Assert that
7440 regrename_do_replace returns true.
7442 2015-06-28 Uros Bizjak <ubizjak@gmail.com>
7444 * config/i386/i386.md (<mode>_ldx): Do not zero-extend non-Pmode
7445 operand 2 here. Use copy_addr_to_reg to copy non-index
7446 register operand 2 to a temporary.
7447 (<mode>_stx): Ditto for operand 1.
7448 (*<mode>_ldx, *<mode>_stx): Remove enclosing parallel.
7449 * config/i386/i386.c (ix86_load_bounds): Zero-extend non-Pmode ptr here.
7450 (ix86_store_bounds): Ditto.
7452 2015-06-27 Patrick Palka <ppalka@gcc.gnu.org>
7454 * print-tree.c (print_node) [TREE_VEC]: Print its length.
7456 2015-06-26 Andrew MacLeod <amacleod@redhat.com>
7458 * gimple.c (gimple_call_set_fndecl): Remove.
7459 * gimple.h (gimple_call_set_fndecl): Relocate to gimple.h and call
7460 build1_loc directly instead of build_fold_addr_expr_loc.
7462 2015-06-26 Richard Sandiford <richard.sandiford@arm.com>
7464 * hash-map.h (hash_map::traverse): Use the definition of the
7465 Key typedef rather than the typedef itself.
7467 2015-06-26 Martin Jambor <mjambor@suse.cz>
7470 * tree-ssa-pre.c (before_dom_children): Check that dump_file is not
7471 NULL instead of calling dump_enabled_p.
7473 2015-06-26 James Greenhalgh <james.greenhalgh@arm.com>
7475 * config/aarch64/aarch64.opt: (override): New.
7476 * doc/invoke.texi (override): Document.
7477 * config/aarch64/aarch64.c (aarch64_flag_desc): New
7478 (aarch64_fusible_pairs): Likewise.
7479 (aarch64_tuning_flags): Likewise.
7480 (aarch64_tuning_override_function): Likewise.
7481 (aarch64_tuning_override_functions): Likewise.
7482 (aarch64_parse_one_option_token): Likewise.
7483 (aarch64_parse_boolean_options): Likewise.
7484 (aarch64_parse_fuse_string): Likewise.
7485 (aarch64_parse_tune_string): Likewise.
7486 (aarch64_parse_one_override_token): Likewise.
7487 (aarch64_parse_override_string): Likewise.
7488 (aarch64_override_options): Parse the -override string if it
7491 2015-06-26 James Greenhalgh <james.greenhalgh@arm.com>
7493 * config/aarch64/aarch64-protos.h (tune_params): Remove
7495 (aarch64_tune_params): Remove const, change to no longer be
7497 * config/aarch64/aarch64.c (aarch64_tune_params): Remove const,
7498 change to no longer be a pointer, initialize to generic_tunings.
7499 (aarch64_min_divisions_for_recip_mul): Change dereference of
7500 aarch64_tune_params to member access.
7501 (aarch64_reassociation_width): Likewise.
7502 (aarch64_rtx_mult_cost): Likewise.
7503 (aarch64_address_cost): Likewise.
7504 (aarch64_branch_cost): Likewise.
7505 (aarch64_rtx_costs): Likewise.
7506 (aarch64_register_move_cost): Likewise.
7507 (aarch64_memory_move_cost): Likewise.
7508 (aarch64_sched_issue_rate): Likewise.
7509 (aarch64_builtin_vectorization_cost): Likewise.
7510 (aarch64_override_options): Take a copy of the selected tuning
7511 struct in to aarch64_tune_params, rather than just setting
7512 a pointer, change dereferences of aarch64_tune_params to member
7514 (aarch64_override_options_after_change): Change dereferences of
7515 aarch64_tune_params to member access.
7516 (aarch64_macro_fusion_p): Likewise.
7517 (aarch_macro_fusion_pair_p): Likewise.
7518 * config/aarch64/cortex-a57-fma-steering.c (gate): Likewise.
7520 2015-06-26 James Greenhalgh <james.greenhalgh@arm.com>
7522 * config/aarch64/aarch64.h (AARCH64_FL_USE_FMA_STEERING_PASS): Delete.
7523 (aarch64_tune_flags): Likewise.
7524 (AARCH64_TUNE_FMA_STEERING): Likewise.
7525 * config/aarch64/aarch64-cores.def (cortex-a57): Remove reference
7526 to AARCH64_FL_USE_FMA_STEERING_PASS.
7527 (cortex-a57.cortex-a53): Likewise.
7528 (cortex-a72): Use cortexa72_tunings.
7529 (cortex-a72.cortex-a53): Likewise.
7530 (exynos-m1): Likewise.
7531 * config/aarch64/aarch64-protos.h (tune_params): Add
7532 a field: extra_tuning_flags.
7533 * config/aarch64/aarch64-tuning-flags.def: New.
7534 * config/aarch64/aarch64-protos.h (AARCH64_EXTRA_TUNING_OPTION): New.
7535 (aarch64_extra_tuning_flags): Likewise.
7536 (aarch64_tune_params): Declare here.
7537 * config/aarch64/aarch64.c (generic_tunings): Set extra_tuning_flags.
7538 (cortexa53_tunings): Likewise.
7539 (cortexa57_tunings): Likewise.
7540 (thunderx_tunings): Likewise.
7541 (xgene1_tunings): Likewise.
7542 (cortexa72_tunings): New.
7543 * config/aarch64/cortex-a57-fma-steering.c: Include aarch64-protos.h.
7544 (gate): Check against aarch64_tune_params.
7545 * config/aarch64/t-aarch64 (cortex-a57-fma-steering.o): Depend on
7548 2015-06-26 James Greenhalgh <james.greenhalgh@arm.com>
7550 * config/aarch64/aarch64-fusion-pairs.def: New.
7551 * config/aarch64/aarch64-protos.h (aarch64_fusion_pairs): New.
7552 * config/aarch64/aarch64.c (AARCH64_FUSE_NOTHING): Move to
7553 aarch64_fusion_pairs.
7554 (AARCH64_FUSE_MOV_MOVK): Likewise.
7555 (AARCH64_FUSE_ADRP_ADD): Likewise.
7556 (AARCH64_FUSE_MOVK_MOVK): Likewise.
7557 (AARCH64_FUSE_ADRP_LDR): Likewise.
7558 (AARCH64_FUSE_CMP_BRANCH): Likewise.
7560 2015-06-26 Jiong Wang <jiong.wang@arm.com>
7562 * config/aarch64/aarch64-protos.h (aarch64_symbol_type): New type
7563 SYMBOL_SMALL_GOT_28K.
7564 * config/aarch64/aarch64.md: (ldr_got_small_<mode>): Support new GOT
7565 relocation modifiers.
7566 (unspec): New enum "UNSPEC_GOTMALLPIC28K.
7567 (ldr_got_small_28k_<mode>): New.
7568 (ldr_got_small_28k_sidi): New.
7569 * config/aarch64/iterators.md (got_modifier): New mode iterator.
7570 * config/aarch64/aarch64-otps.h (aarch64_code_model): New model.
7571 * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Support
7572 SYMBOL_SMALL_GOT_28K.
7573 (aarch64_rtx_costs): Add costs for new instruction sequences.
7574 (initialize_aarch64_code_model): Initialize new model.
7575 (aarch64_classify_symbol): Recognize new model and new symbol classification.
7576 (aarch64_asm_preferred_eh_data_format): Support new model.
7577 (aarch64_load_symref_appropriately): Generate new instruction
7578 sequences for -fpic.
7579 (TARGET_USE_PSEUDO_PIC_REG): New definition.
7580 (aarch64_use_pseudo_pic_reg): New function.
7582 2015-06-26 Jiong Wang <jiong.wang@arm.com>
7584 * config/aarch64/aarch64-protos.h (aarch64_symbol_type): Rename
7585 SYMBOL_SMALL_GOT to SYMBOL_SMALL_GOT_4G.
7586 * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Ditto.
7587 (aarch64_expand_mov_immediate): Ditto.
7588 (aarch64_print_operand): Ditto.
7589 (aarch64_classify_symbol): Ditto.
7591 2015-06-26 Nathan Sidwell <nathan@codesourcery.com>
7593 * config/nvptx/nvptx.md (call_operation): Remove unused variables.
7595 2015-06-26 Bin Cheng <bin.cheng@arm.com>
7598 * tree-ssa-loop-niter.c (loop_exits_before_overflow): Skip if
7599 assertion failed. Remove assertion itself.
7601 2015-06-26 Richard Biener <rguenther@suse.de>
7603 * fold-const.c (fold_binary_loc): Remove -A CMP -B -> A CMP B
7604 and -A CMP CST -> A CMP -CST which is redundant with a pattern
7606 Move (A | C) == D where C & ~D != 0 -> 0, (X ^ Y) ==/!= 0 -> X ==/!= Y,
7607 (X ^ Y) ==/!= {Y,X} -> {X,Y} ==/!= 0 and
7608 (X ^ C1) op C2 -> X op (C1 ^ C2) to ...
7609 * match.pd: ... patterns here.
7611 2015-06-26 Marek Polacek <polacek@redhat.com>
7613 * match.pd ((x | y) & ~(x & y) -> x ^ y,
7614 (x | y) & (~x ^ y) -> x & y): New patterns.
7616 2015-06-26 Richard Sandiford <richard.sandiford@arm.com>
7618 * rtl.h (emit): Add an optional boolean parameter to control
7619 whether barriers are emitted.
7620 * emit-rtl.c (emit): Likewise.
7621 * gensupport.c (get_emit_function): Return null rather than "emit".
7622 * genemit.c (gen_emit_seq): Handle the null return value.
7623 Don't emit barriers after the final instruction in the sequence.
7624 * gentarget-def.c (main): Don't emit barriers after the instruction.
7626 2015-06-26 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7628 * config/arm/arm.c (arm_output_multireg_pop): Fix use of
7631 2015-06-26 Richard Biener <rguenther@suse.de>
7633 * match.pd: Allow associating FLOAT_TYPE_P when flag_associative_math.
7635 2015-06-26 Richard Biener <rguenther@suse.de>
7637 * match.pd: Allow (p +p off1) +p off2 to (p +p (off1 + off2))
7638 irrespective on whether the inner operation has a single use
7639 of both off are constant.
7641 2015-06-26 Uros Bizjak <ubizjak@gmail.com>
7642 Segher Boessenkool <segher@kernel.crashing.org>
7645 * config/i386/i386.md (various splitters): Use shallow_copy_rtx
7646 before doing PUT_MODE or PUT_CODE on operands to avoid
7647 in-place RTX modification.
7649 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
7651 * gentarget-def.c (def_target_insn): Cast return of strtol to
7654 2015-06-25 Andrew MacLeod <amacleod@redhat.com>
7656 * gimple.h (gimple_call_set_fn): Move inline function.
7657 * gimple.c (gimple_call_set_fn): Relocate here.
7659 2015-06-25 Oleg Endo <olegendo@gcc.gnu.org>
7663 * config/sh/sh.md (tstsi_t peephole2): Use insn_invalid_p to check if
7664 the replacement insn will work.
7666 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
7668 * gcc.c (driver_handle_option): Validate -pie if PIE is enabled
7671 2015-06-25 Andrew MacLeod <amacleod@redhat.com>
7673 * function.h (ipa_opt_pass, ipa_opt_pass_d): Move forward declarations.
7674 * cgraph.h: Include ipa-ref.h and plugin-api.h.
7675 (ipa_opt_pass, ipa_opt_pass_d)): Relocate forward declarations here.
7676 (symtab_node::address_can_be_compared_p): Move function.
7677 * cgraph.c (symtab_node::address_can_be_compared_p): Relocate function
7679 * asan.c: Remove ipa-ref.h and plugin-api.h from include list.
7680 * auto-profile.c: Likewise.
7681 * bb-reorder.c: Likewise.
7682 * builtins.c: Likewise.
7683 * calls.c: Likewise.
7684 * cfgexpand.c: Likewise.
7685 * cgraphbuild.c: Likewise.
7686 * cgraphclones.c: Likewise.
7687 * cgraphunit.c: Likewise.
7688 * combine.c: Likewise.
7689 * coverage.c: Likewise.
7690 * data-streamer-in.c: Likewise.
7691 * data-streamer-out.c: Likewise.
7692 * data-streamer.c: Likewise.
7693 * dbxout.c: Likewise.
7694 * dwarf2out.c: Likewise.
7695 * except.c: Likewise.
7697 * final.c: Likewise.
7698 * fold-const.c: Likewise.
7699 * ggc-page.c: Likewise.
7700 * gimple-fold.c: Likewise.
7701 * gimple-iterator.c: Likewise.
7702 * gimple-pretty-print.c: Likewise.
7703 * gimple-streamer-in.c: Likewise.
7704 * gimple-streamer-out.c: Likewise.
7705 * gimple.c: Likewise.
7706 * gimplify.c: Likewise.
7707 * ipa-chkp.c: Likewise.
7708 * ipa-comdats.c: Likewise.
7709 * ipa-cp.c: Likewise.
7710 * ipa-devirt.c: Likewise.
7711 * ipa-icf-gimple.c: Likewise.
7712 * ipa-icf.c: Likewise.
7713 * ipa-inline-analysis.c: Likewise.
7714 * ipa-inline-transform.c: Likewise.
7715 * ipa-inline.c: Likewise.
7716 * ipa-polymorphic-call.c: Likewise.
7717 * ipa-profile.c: Likewise.
7718 * ipa-prop.c: Likewise.
7719 * ipa-pure-const.c: Likewise.
7720 * ipa-ref.c: Likewise.
7721 * ipa-reference.c: Likewise.
7722 * ipa-split.c: Likewise.
7723 * ipa-utils.c: Likewise.
7724 * ipa-visibility.c: Likewise.
7726 * langhooks.c: Likewise.
7727 * lto-cgraph.c: Likewise.
7728 * lto-compress.c: Likewise.
7729 * lto-opts.c: Likewise.
7730 * lto-section-in.c: Likewise.
7731 * lto-section-out.c: Likewise.
7732 * lto-streamer-in.c: Likewise.
7733 * lto-streamer-out.c: Likewise.
7734 * lto-streamer.c: Likewise.
7735 * omp-low.c: Likewise.
7736 * opts-global.c: Likewise.
7737 * passes.c: Likewise.
7738 * predict.c: Likewise.
7739 * print-tree.c: Likewise.
7740 * profile.c: Likewise.
7742 * sanopt.c: Likewise.
7743 * stor-layout.c: Likewise.
7744 * symtab.c: Likewise.
7745 * toplev.c: Likewise.
7746 * trans-mem.c: Likewise.
7747 * tree-cfg.c: Likewise.
7748 * tree-chkp.c: Likewise.
7749 * tree-eh.c: Likewise.
7750 * tree-emutls.c: Likewise.
7751 * tree-inline.c: Likewise.
7752 * tree-nested.c: Likewise.
7753 * tree-parloops.c: Likewise.
7754 * tree-pretty-print.c: Likewise.
7755 * tree-profile.c: Likewise.
7756 * tree-sra.c: Likewise.
7757 * tree-ssa-alias.c: Likewise.
7758 * tree-ssa-live.c: Likewise.
7759 * tree-ssa-loop-ivcanon.c: Likewise.
7760 * tree-ssa-loop-ivopts.c: Likewise.
7761 * tree-ssa-pre.c: Likewise.
7762 * tree-ssa-sccvn.c: Likewise.
7763 * tree-ssa-strlen.c: Likewise.
7764 * tree-ssa-structalias.c: Likewise.
7765 * tree-streamer-in.c: Likewise.
7766 * tree-streamer-out.c: Likewise.
7767 * tree-streamer.c: Likewise.
7768 * tree-switch-conversion.c: Likewise.
7769 * tree-tailcall.c: Likewise.
7770 * tree-vect-data-refs.c: Likewise.
7771 * tree-vect-stmts.c: Likewise.
7772 * tree-vectorizer.c: Likewise.
7775 * ubsan.c: Likewise.
7776 * value-prof.c: Likewise.
7777 * varasm.c: Likewise.
7778 * varpool.c: Likewise.
7779 * config/arm/arm.c: Likewise.
7780 * config/bfin/bfin.c: Likewise.
7781 * config/c6x/c6x.c: Likewise.
7782 * config/cris/cris.c: Likewise.
7783 * config/darwin-c.c: Likewise.
7784 * config/darwin.c: Likewise.
7785 * config/i386/i386.c: Likewise.
7786 * config/i386/winnt.c: Likewise.
7787 * config/microblaze/microblaze.c: Likewise.
7788 * config/mips/mips.c: Likewise.
7789 * config/rs6000/rs6000.c: Likewise.
7790 * config/rx/rx.c: Likewise.
7791 * config/s390/s390.c: Likewise.
7792 * config/tilegx/mul-tables.c: Likewise.
7794 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
7796 * config/aarch64/aarch64.c, config/alpha/alpha.c,
7797 config/arm/arm.c, config/avr/avr.c, config/bfin/bfin.c,
7798 config/c6x/c6x.c, config/cr16/cr16.c, config/cris/cris.c,
7799 config/fr30/fr30.c, config/frv/frv.c, config/h8300/h8300.c,
7800 config/i386/i386.c, config/ia64/ia64.c, config/iq2000/iq2000.c,
7801 config/lm32/lm32.c, config/m32c/m32c.c, config/m32r/m32r.c,
7802 config/m68k/m68k.c, config/mcore/mcore.c, config/mep/mep.c,
7803 config/microblaze/microblaze.c, config/mips/mips.c,
7804 config/mmix/mmix.c, config/mn10300/mn10300.c,
7805 config/moxie/moxie.c, config/msp430/msp430.c,
7806 config/nds32/nds32.c, config/nios2/nios2.c, config/nvptx/nvptx.c,
7807 config/pa/pa.c, config/pdp11/pdp11.c, config/rl78/rl78.c,
7808 config/rs6000/rs6000.c, config/rx/rx.c, config/s390/s390.c,
7809 config/sh/sh.c, config/sparc/sparc.c, config/spu/spu.c,
7810 config/stormy16/stormy16.c, config/tilegx/tilegx.c,
7811 config/tilepro/tilepro.c, config/v850/v850.c, config/vax/vax.c,
7812 config/visium/visium.c, config/xtensa/xtensa.c: Add comment above
7813 target-def.h include.
7814 * config/ft32/ft32.c: Likewise. Fix misapplied hunk.
7816 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
7818 * Makefile.in (TARGET_DEF): Add target-insns.def.
7819 (.PRECIOUS, simple_rtl_generated_h): Add insn-target-def.h.
7820 (build/gentarget-def.o): New rule.
7821 (genprogrtl): Add target-def.
7822 * target-insns.def, gentarget-def.c: New files.
7823 * target.def: Add targetm.have_* and targetm.gen_* hooks,
7824 based on the contents of target-insns.def.
7825 * defaults.h (HAVE_simple_return, gen_simple_return): Delete.
7826 (HAVE_return, gen_return): Delete.
7827 * target-def.h: Include insn-target-def.h.
7828 * cfgrtl.c (force_nonfallthru_and_redirect): Use targetm interface
7829 instead of direct calls. Rely on them to do the appropriate assertions.
7830 * function.c (gen_return_pattern): Likewise. Return an rtx_insn *.
7831 (convert_jumps_to_returns): Use targetm interface instead of
7833 (thread_prologue_and_epilogue_insns): Likewise.
7834 * reorg.c (find_end_label, dbr_schedule): Likewise.
7835 * shrink-wrap.h (SHRINK_WRAPPING_ENABLED): Likewise.
7836 * shrink-wrap.c (convert_to_simple_return): Likewise.
7837 (try_shrink_wrapping): Use SHRINK_WRAPPING_ENABLED.
7839 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
7841 * config/aarch64/aarch64.c, config/alpha/alpha.c, config/arm/arm.c,
7842 config/avr/avr.c, config/bfin/bfin.c, config/c6x/c6x.c,
7843 config/cr16/cr16.c, config/cris/cris.c, config/fr30/fr30.c,
7844 config/frv/frv.c, config/ft32/ft32.c, config/h8300/h8300.c,
7845 config/i386/i386.c, config/ia64/ia64.c, config/iq2000/iq2000.c,
7846 config/lm32/lm32.c, config/m32c/m32c.c, config/m32r/m32r.c,
7847 config/m68k/m68k.c, config/mcore/mcore.c, config/mep/mep.c,
7848 config/microblaze/microblaze.c, config/mips/mips.c, config/mmix/mmix.c,
7849 config/mn10300/mn10300.c, config/moxie/moxie.c, config/msp430/msp430.c,
7850 config/nds32/nds32.c, config/nios2/nios2.c, config/nvptx/nvptx.c,
7851 config/pa/pa.c, config/pdp11/pdp11.c, config/rl78/rl78.c,
7852 config/rs6000/rs6000.c, config/rx/rx.c, config/s390/s390.c,
7853 config/sh/sh.c, config/sparc/sparc.c, config/spu/spu.c,
7854 config/stormy16/stormy16.c, config/tilegx/tilegx.c,
7855 config/tilepro/tilepro.c, config/v850/v850.c, config/vax/vax.c,
7856 config/visium/visium.c, config/xtensa/xtensa.c: Move target-def.h
7859 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
7861 * hash-map-traits.h (simple_hashmap_traits::key_type): New typedef.
7862 (unbounded_int_hashmap_traits::key_type): Likewise.
7863 * hash-map.h (hash_map): Get the key type from the traits.
7864 * hash-traits.h (default_hash_traits): By default, inherit from the
7866 * alias.c (alias_set_traits): Delete.
7867 (alias_set_entry_d::children): Use alias_set_hash as the first
7869 (record_alias_subset): Update accordingly.
7870 * except.c (tree_hash_traits): Delete.
7871 (type_to_runtime_map): Use tree_hash as the first template parameter.
7872 (init_eh): Update accordingly.
7873 * genmatch.c (capture_id_map_hasher): Delete.
7874 (cid_map_t): Use nofree_string_hash as first template parameter.
7875 * ipa-icf.h (symbol_compare_hashmap_traits): Delete.
7876 * ipa-icf.c (sem_item_optimizer::subdivide_classes_by_sensitive_refs):
7877 Use symbol_compare_hash as the first template parameter in
7879 * mem-stats.h (mem_usage_pair::mem_alloc_hashmap_traits): Delete.
7880 (mem_usage_pair::mem_map_t): Use mem_location_hash as the first
7882 * passes.c (pass_registry_hasher): Delete.
7883 (name_to_pass_map): Use nofree_string_hash as the first template
7885 (register_pass_name): Update accordingly.
7886 * sanopt.c (sanopt_tree_map_traits): Delete.
7887 (sanopt_tree_triplet_map_traits): Delete.
7888 (sanopt_ctx::asan_check_map): Use tree_operand_hash as the first
7890 (sanopt_ctx::vptr_check_map): Use sanopt_tree_triplet_hash as
7891 the first template parameter.
7892 * sese.c (rename_map_hasher): Delete.
7893 (rename_map_type): Use tree_ssa_name_hash as the first template
7895 * symbol-summary.h (function_summary::summary_hashmap_traits): Delete.
7896 (function_summary::m_map): Use map_hash as the first template
7898 (function_summary::release): Update accordingly.
7899 * tree-if-conv.c (phi_args_hash_traits): Delete.
7900 (predicate_scalar_phi): Use tree_operand_hash as the first template
7901 parameter to phi_arg_map.
7902 * tree-inline.h (dependence_hasher): Delete.
7903 (copy_body_data::dependence_map): Use dependence_hash as the first
7905 * tree-inline.c (remap_dependence_clique): Update accordingly.
7906 * tree-ssa-strlen.c (stridxlist_hash_traits): Delete.
7907 (decl_to_stridxlist_htab): Use tree_decl_hash as the first template
7909 (addr_stridxptr): Update accordingly.
7910 * value-prof.c (profile_id_traits): Delete.
7911 (cgraph_node_map): Use profile_id_hash as the first template
7913 (init_node_map): Update accordingly.
7914 * config/alpha/alpha.c (string_traits): Delete.
7915 (machine_function::links): Use nofree_string_hash as the first
7917 (alpha_use_linkage, alpha_write_linkage): Update accordingly.
7918 * config/m32c/m32c.c (pragma_traits): Delete.
7919 (pragma_htab): Use nofree_string_hash as the first template parameter.
7920 (m32c_note_pragma_address): Update accordingly.
7921 * config/mep/mep.c (pragma_traits): Delete.
7922 (pragma_htab): Use nofree_string_hash as the first template parameter.
7923 (mep_note_pragma_flag): Update accordingly.
7924 * config/mips/mips.c (mips16_flip_traits): Delete.
7925 (mflip_mips16_htab): Use nofree_string_hash as the first template
7927 (mflip_mips16_use_mips16_p): Update accordingly.
7928 (local_alias_traits): Delete.
7929 (mips16_local_aliases): Use nofree_string_hash as the first template
7931 (mips16_local_alias): Update accordingly.
7933 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
7935 * hash-map-traits.h (default_hashmap_traits): Delete.
7937 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
7939 * hash-map-traits.h (unbounded_hashmap_traits): New class.
7940 (unbounded_int_hashmap_traits): Likewise.
7941 * cfgexpand.c (part_traits): Use unbounded_int_hashmap_traits.
7943 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
7945 * ipa-icf.h (symbol_compare_hash): New class.
7946 (symbol_compare_hashmap_traits): Use it.
7947 * mem-stats.h (mem_alloc_description::mem_location_hash): New class.
7948 (mem_alloc_description::mem_alloc_hashmap_traits): Use it.
7949 (mem_alloc_description::reverse_mem_map_t): Remove redundant
7950 default_hashmap_traits.
7951 * sanopt.c (sanopt_tree_triplet_hash): New class.
7952 (sanopt_tree_triplet_map_traits): Use it.
7954 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
7956 * gengtype-parse.c (require_template_declaration): Allow '+' in
7957 template parameters. Consolidate cases.
7958 * hash-traits.h (int_hash): New class.
7959 * alias.c (alias_set_hash): New structure.
7960 (alias_set_traits): Use it.
7961 * symbol-summary.h (function_summary::map_hash): New class.
7962 (function_summary::summary_hashmap_traits): Use it.
7963 * tree-inline.h (dependence_hash): New class.
7964 (dependence_hasher): Use it.
7965 * tree-ssa-reassoc.c (oecount_hasher): Use int_hash.
7966 * value-prof.c (profile_id_hash): New class.
7967 (profile_id_traits): Use it.
7969 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
7971 * config/mips/mips.c (mips16_flip_traits): Use it.
7972 (local_alias_traits, mips16_local_aliases): Convert from a map of
7973 rtxes to a map of symbol names.
7974 (mips16_local_alias): Update accordingly.
7976 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
7978 * hash-traits.h (string_hash, nofree_string_hash): New classes.
7979 * genmatch.c (capture_id_map_hasher): Use nofree_string_hash.
7980 * passes.c (pass_registry_hasher): Likewise.
7981 * config/alpha/alpha.c (string_traits): Likewise.
7982 * config/i386/winnt.c (i386_find_on_wrapper_list): Likewise.
7983 * config/m32c/m32c.c (pragma_traits): Likewise.
7984 * config/mep/mep.c (pragma_traits): Likewise.
7986 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
7988 * tree-hash-traits.h (tree_hash): New class.
7989 * except.c: Include tree-hash-traits.h.
7990 (tree_hash_traits): Use tree_hash.
7992 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
7994 * tree-hash-traits.h (tree_ssa_name_hasher): New class.
7995 * sese.c: Include tree-hash-traits.h.
7996 (rename_map_hasher): Use tree_ssa_name_hasher.
7998 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
8000 * tree-hash-traits.h (tree_decl_hash): New class.
8001 * tree-ssa-strlen.c: Include tree-hash-traits.h.
8002 (stridxlist_hash_traits): Use tree_decl_hash.
8004 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
8006 * tree-hash-traits.h: New file.
8007 (tree_operand_hash): New class.
8008 * sanopt.c: Include tree-hash-traits.h.
8009 (sanopt_tree_map_traits): Use tree_operand_hash.
8010 * tree-if-conv.c: Include tree-hash-traits.h.
8011 (phi_args_hash_traits): Use tree_operand_hash.
8012 * tree-ssa-uncprop.c: Include tree-hash-traits.h.
8013 (val_ssa_equiv_hash_traits): Use tree_operand_hash.
8015 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
8017 * hash-map-traits.h: Include hash-traits.h.
8018 (simple_hashmap_traits): New class.
8019 * mem-stats.h (hash_map): Change the default traits to
8020 simple_hashmap_traits<default_hash_traits<Key> >.
8022 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
8024 * hash-table.h: Update comments.
8026 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
8028 * hash-traits.h (default_hash_traits): New structure.
8029 * hash-set.h (default_hashset_traits): Delete.
8030 (hash_set): Use default_hash_traits<Key> instead of
8031 default_hashset_traits. Delete hash_entry type and use Key directly.
8032 * ipa-devirt.c (pair_traits): Delete.
8033 (default_hash_traits <type_pair>): Override.
8034 (odr_subtypes_equivalent_p): Remove pair_types template parameter.
8035 (odr_types_equivalent_p, add_type_duplicate): Likewise.
8037 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
8039 * hash-traits.h (typed_noop_remove): Don't require a pointer type.
8041 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
8043 * hash-table.h (has_is_deleted, is_deleted_helper): Delete.
8044 (has_is_empty, is_empty_helper): Delete.
8045 (has_mark_deleted, mark_deleted_helper): Delete.
8046 (has_mark_empty, mark_empty_helper): Delete.
8047 (hash_table::is_deleted): Call the Descriptor unconditionally.
8048 (hash_table::is_empty): Likewise.
8049 (hash_table::mark_deleted): Likewise.
8050 (hash_table::mark_empty): Likewise.
8052 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
8054 * cgraph.h (asmname_hasher): Inherit from ggc_ptr_hash. Remove
8055 redundant typedefs and members.
8056 * coverage.c (counts_entry): Inherit from pointer_hash. Remove
8058 * dwarf2out.c (cu_hash_table_entry_hasher): Likewise.
8059 * ipa-devirt.c (odr_name_hasher): Likewise.
8060 (polymorphic_call_target_hasher): Likewise.
8061 * ira-costs.c (cost_classes_hasher): Likewise.
8062 * statistics.c (stats_counter_hasher): Likewise.
8063 * trans-mem.c (log_entry_hasher): Likewise.
8064 * tree-ssa-dom.c (expr_elt_hasher): Likewise.
8065 * tree-ssa-sccvn.c (vn_phi_hasher, vn_reference_hasher): Likewise.
8066 * tree-ssa-tail-merge.c (same_succ_def): Likewise.
8067 * var-tracking.c (variable_hasher): Likewise.
8068 * valtrack.h (dead_debug_hash_descr): Inherit from free_ptr_hash.
8069 Remove redundant typedefs and members.
8071 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
8073 * hash-traits.h (ggc_cache_hasher): Rename to...
8074 (ggc_cache_remove): ...this and remove typedefs.
8075 (ggc_cache_ptr_hash): New class.
8076 * hash-table.h: Update commentary.
8077 * emit-rtl.c (const_int_hasher): Inherit from ggc_cache_ptr_hash
8078 rather than ggc_cache_hasher.
8079 (const_wide_int_hasher, reg_attr_hasher): Likewise.
8080 (const_double_hasher, const_fixed_hasher): Likewise.
8081 * function.c (insn_cache_hasher): Likewise.
8082 * trans-mem.c (tm_wrapper_hasher): Likewise.
8083 * tree.h (tree_decl_map_cache_hasher): Likewise.
8084 * tree.c (type_cache_hasher, int_cst_hasher): Likewise.
8085 (cl_option_hasher, tree_vec_map_cache_hasher): Likewise.
8086 * ubsan.c (tree_type_map_cache_hasher): Likewise.
8087 * varasm.c (tm_clone_hasher): Likewise.
8088 * config/i386/i386.c (dllimport_hasher): Likewise.
8089 * config/nvptx/nvptx.c (declared_libfunc_hasher): Likewise.
8090 (tree_hasher): Likewise.
8092 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
8094 * hash-traits.h (ggc_hasher): Rename to...
8095 (ggc_remover): ...this and remove typedefs.
8096 (ggc_cache_hasher): Update accordingly. Add typedefs.
8097 (ggc_ptr_hash): New class.
8098 * hash-table.h: Update comment.
8099 * cfgloop.h (loop_exit_hasher): Inherit from ggc_ptr_hash rather than
8101 * cgraph.h (section_name_hasher, cgraph_edge_hasher): Likewise.
8102 (tree_descriptor_hasher): Likewise.
8103 * cgraph.c (function_version_hasher): Likewise.
8104 * dwarf2out.c (indirect_string_hasher, dwarf_file_hasher): Likewise.
8105 (decl_die_hasher, block_die_hasher, decl_loc_hasher): Likewise.
8106 (dw_loc_list_hasher, addr_hasher): Likewise.
8107 * function.h (used_type_hasher): Likewise.
8108 * function.c (temp_address_hasher): Likewise.
8109 * gimple-ssa.h (tm_restart_hasher, ssa_name_hasher): Likewise.
8110 * libfuncs.h (libfunc_hasher): Likewise.
8111 * lto-streamer.h (decl_state_hasher): Likewise.
8112 * optabs.c (libfunc_decl_hasher): Likewise.
8113 * tree-scalar-evolution.c (scev_info_hasher): Likewise.
8114 * varasm.c (section_hasher, object_block_hasher): Likewise.
8115 (const_rtx_desc_hasher): Likewise.
8116 * config/darwin.c (indirection_hasher, cfstring_hasher): Likewise.
8117 * config/rs6000/rs6000.c (toc_hasher, builtin_hasher): Likewise.
8119 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
8121 * hash-traits.h (free_ptr_hash): New class.
8122 * dwarf2out.c (decl_table_entry_hasher): Inherit from free_ptr_hash
8123 rather than typed_free_remove. Remove redudant typedefs.
8124 (external_ref_hasher): Likewise.
8125 * except.c (action_record_hasher, ttypes_filter_hasher): Likewise.
8126 (ehspec_hasher): Likewise.
8127 * ggc-common.c (saving_hasher): Likewise.
8128 * gimplify.c (gimplify_hasher): Likewise.
8129 * haifa-sched.c (delay_i2_hasher): Likewise.
8130 * loop-invariant.c (invariant_expr_hasher): Likewise.
8131 * loop-iv.c (biv_entry_hasher): Likewise.
8132 * loop-unroll.c (iv_split_hasher, var_expand_hasher): Likewise.
8133 * trans-mem.c (tm_mem_map_hasher, tm_memop_hasher): Likewise.
8134 * tree-cfg.c (locus_discrim_hasher): Likewise.
8135 * tree-eh.c (finally_tree_hasher): Likewise.
8136 * tree-into-ssa.c (var_info_hasher): Likewise.
8137 * tree-parloops.c (reduction_hasher, name_to_copy_hasher): Likewise.
8138 * tree-ssa-loop-ivopts.c (iv_inv_expr_hasher): Likewise.
8139 * tree-ssa-phiopt.c (ssa_names_hasher): Likewise.
8140 * tree-ssa-pre.c (expr_pred_trans_d): Likewise.
8141 * tree-ssa-sccvn.c (vn_constant_hasher): Likewise.
8142 * tree-ssa-structalias.c (equiv_class_hasher): Likewise.
8143 (shared_bitmap_hasher): Likewise.
8144 * tree-ssa-threadupdate.c (redirection_data): Likewise.
8145 * tree-vectorizer.h (peel_info_hasher): Likewise.
8146 * tree-vectorizer.c (simduid_to_vf, simd_array_to_simduid): Likewise.
8147 * config/mips/mips.c (mips_lo_sum_offset_hasher): Likewise.
8149 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
8151 * hash-table.h: Update comments.
8152 * hash-traits.h (pointer_hash): Don't inherit from typed_noop_remove.
8153 (nofree_ptr_hash): New class.
8154 * asan.c (asan_mem_ref_hasher): Inherit from nofree_ptr_hash rather
8155 than typed_noop_remove. Remove redudant typedefs.
8156 * attribs.c (attribute_hasher): Likewise.
8157 * cfg.c (bb_copy_hasher): Likewise.
8158 * cselib.c (cselib_hasher): Likewise.
8159 * dse.c (invariant_group_base_hasher): Likewise.
8160 * dwarf2cfi.c (trace_info_hasher): Likewise.
8161 * dwarf2out.c (macinfo_entry_hasher): Likewise.
8162 (comdat_type_hasher, loc_list_hasher): Likewise.
8163 * gcse.c (pre_ldst_expr_hasher): Likewise.
8164 * genmatch.c (id_base): Likewise.
8165 * genrecog.c (test_pattern_hasher): Likewise.
8166 * gimple-ssa-strength-reduction.c (cand_chain_hasher): Likewise.
8167 * haifa-sched.c (delay_i1_hasher): Likewise.
8168 * hard-reg-set.h (simplifiable_subregs_hasher): Likewise.
8169 * ipa-icf.h (congruence_class_group_hash): Likewise.
8170 * ipa-profile.c (histogram_hash): Likewise.
8171 * ira-color.c (allocno_hard_regs_hasher): Likewise.
8172 * lto-streamer.h (string_slot_hasher): Likewise.
8173 * lto-streamer.c (tree_entry_hasher): Likewise.
8174 * plugin.c (event_hasher): Likewise.
8175 * postreload-gcse.c (expr_hasher): Likewise.
8176 * store-motion.c (st_expr_hasher): Likewise.
8177 * tree-sra.c (uid_decl_hasher): Likewise.
8178 * tree-ssa-coalesce.c (coalesce_pair_hasher): Likewise.
8179 (ssa_name_var_hash): Likewise.
8180 * tree-ssa-live.c (tree_int_map_hasher): Likewise.
8181 * tree-ssa-loop-im.c (mem_ref_hasher): Likewise.
8182 * tree-ssa-pre.c (pre_expr_d): Likewise.
8183 * tree-ssa-sccvn.c (vn_nary_op_hasher): Likewise.
8184 * vtable-verify.h (registration_hasher): Likewise.
8185 * vtable-verify.c (vtbl_map_hasher): Likewise.
8186 * config/arm/arm.c (libcall_hasher): Likewise.
8187 * config/i386/winnt.c (wrapped_symbol_hasher): Likewise.
8188 * config/ia64/ia64.c (bundle_state_hasher): Likewise.
8189 * config/sol2.c (comdat_entry_hasher): Likewise.
8190 * fold-const.c (fold): Use nofree_ptr_hash instead of pointer_hash.
8191 (print_fold_checksum, fold_checksum_tree): Likewise.
8192 (debug_fold_checksum, fold_build1_stat_loc): Likewise.
8193 (fold_build2_stat_loc, fold_build3_stat_loc): Likewise.
8194 (fold_build_call_array_loc): Likewise.
8195 * tree-ssa-ccp.c (gimple_htab): Likewise.
8196 * tree-browser.c (tree_upper_hasher): Inherit from nofree_ptr_hash
8197 rather than pointer_type.
8199 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
8201 * hash-traits.h (pointer_hash::mark_deleted, pointer_hash::mark_empty)
8202 (pointer_hash::is_deleted, pointer_hash::is_empty): New functions.
8204 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
8206 * hash-traits.h (ggc_hasher::remove): Take a reference parameter.
8207 (ggc_hasher::ggc_mx): Likewise.
8208 (ggc_cache_hasher): Inherit from ggc_hasher. Remove definitions
8209 that duplicate ggc_hasher ones.
8211 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
8213 * hash-table.h (hash_table): Add gt_cleare_cache as a friend.
8214 (gt_cleare_cache): Check here for deleted and empty entries.
8215 Replace handle_cache_entry with a call to keep_cache_entry.
8216 * hash-traits.h (ggc_cache_hasher::handle_cache_entry): Delete.
8217 (ggc_cache_hasher::keep_cache_entry): New function.
8218 * trans-mem.c (tm_wrapper_hasher::handle_cache_entry): Delete.
8219 (tm_wrapper_hasher::keep_cache_entry): New function.
8220 * tree.h (tree_decl_map_cache_hasher::handle_cache_entry): Delete.
8221 (tree_vec_map_cache_hasher::keep_cache_entry): New function.
8222 * tree.c (type_cache_hasher::handle_cache_entry): Delete.
8223 (type_cache_hasher::keep_cache_entry): New function.
8224 (tree_vec_map_cache_hasher::handle_cache_entry): Delete.
8225 (tree_vec_map_cache_hasher::keep_cache_entry): New function.
8226 * ubsan.c (tree_type_map_cache_hasher::handle_cache_entry): Delete.
8227 (tree_type_map_cache_hasher::keep_cache_entry): New function.
8228 * varasm.c (tm_clone_hasher::handle_cache_entry): Delete.
8229 (tm_clone_hasher::keep_cache_entry): New function.
8230 * config/i386/i386.c (dllimport_hasher::handle_cache_entry): Delete.
8231 (dllimport_hasher::keep_cache_entry): New function.
8233 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
8235 * hash-table.h: Include hash-traits.h.
8236 (typed_free_remove, typed_noop_remove, pointer_hash, ggc_hasher)
8237 (ggc_cache_hasher): Move to...
8238 * hash-traits.h: ...this new file.
8240 2015-06-25 Andrew MacLeod <amacleod@redhat.com>
8242 * tree-core.h (struct tree_optimization_option): Make opts a pointer to
8243 struct cl_optimization.
8244 * tree.h (TREE_OPTIMIZATION): Return the pointer, not the address of it.
8245 * tree.c (make_node_stat): Allocate cl_optimization struct.
8246 (copy_node_stat): Allocate and copy cl_optimization struct.
8248 2015-06-25 Andrew MacLeod <amacleod@redhat.com>
8250 * function.h (struct incoming_args): Move struct.
8251 (pass_by_reference, reference_callee_copied): Remove prototypes.
8252 * emit-rtl.h (struct incoming_args): Relocate struct here.
8253 * calls.h (pass_by_reference, reference_callee_copied): Relocate
8255 * function.c (pass_by_reference, reference_callee_copied): Move.
8256 * calls.c (pass_by_reference, reference_callee_copied): Relocate here.
8257 * cfgloop.h: Don't include tm.h or hard-reg-set.h.
8258 * ipa-chkp.c: Include calls.h.
8260 2015-06-25 Andrew Macleod <amacleod@redhat.com>
8262 * alias.h (alias_set_type): Move typedef.
8263 * coretypes.h (alias_set_type): Relocate typedef here.
8264 * rtl.h: Don't include alias.h.
8266 2015-06-25 Andrew MacLeod <amacleod@redhat.com>
8268 * cgraph.h (cgraph_rtl_info): Move to rtl.h
8269 (cgraph_node): Maintain pointer to struct cgraph_rtl_info instead of
8271 * rtl.h (struct cgraph_rtl_info): Define when HARD_REG_SET available.
8272 * cgraph.c (cgraph_node::rtl_info): Allocate cgraph_rtl_info if one
8274 * calls.c: Include hard-reg-set.h before rtl.h.
8277 2015-06-25 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
8278 Vladimir Makarov <vmakarov@redhat.com>
8280 * ira-color.c (assign_hard_reg): Remove unecessary bitmap check.
8283 2015-06-25 Richard Biener <rguenther@suse.de>
8285 * fold-const.c (fold_binary_loc): Move simplification of
8286 (X <<>> C1) & C2 ...
8287 * match.pd: ... here.
8289 2015-06-25 Eric Botcazou <ebotcazou@adacore.com>
8291 * lto-streamer-out.c (DFS::hash_scc): Fix typos & formatting glitches.
8293 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
8295 * match.pd: Add patterns for vec_conds between 1 and 0.
8297 2015-06-25 Richard Biener <rguenther@suse.de>
8299 * tree-vect-stmts.c (vectorizable_conversion): Do not set
8300 STMT_VINFO_VEC_STMT for SLP.
8301 (vectorizable_store): Likewise.
8302 (vectorizable_load): Likewise.
8303 (vect_transform_stmt): Catch SLP vectorization clobbering
8304 STMT_VINFO_VEC_STMT.
8306 2015-06-25 Richard Biener <rguenther@suse.de>
8308 * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Improve debug
8310 (vect_create_mask_and_perm): Do not set STMT_VINFO_VEC_STMT and
8311 cleanup resulting dead code and parameters.
8312 (vect_transform_slp_perm_load): Adjust.
8314 2015-06-25 Nick Clifton <nickc@redhat.com>
8316 * config/bfin/bfin.c (bfin_expand_prologue): Set
8317 current_function_static_stack_size if flag_stack_usage_info is set.
8318 * config/ft32/ft32.c (ft32_expand_prologue): Likewise.
8319 * config/h8300/h8300.c (h8300_expand_prologue): Likewise.
8320 * config/iq2000/iq2000.c (iq2000_expand_prologue): Likewise.
8321 * config/m32c/m32c.c (m32c_emit_prologue): Likewise.
8323 2015-06-25 Tom de Vries <tom@codesourcery.com>
8325 * tree-ssa-loop-manip.c (canonicalize_loop_ivs): Don't claim in header
8326 comment that the generated IV is unsigned.
8328 2015-06-25 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8331 * config/arm/arm.c (arm_dbx_register_number): Return
8332 DWARF_FRAME_REGISTERS by default.
8334 2015-06-25 Tom de Vries <tom@codesourcery.com>
8336 * dominance.c (calculate_dominance_info): Fix verify_dominators call
8337 argument. Call verify_dominator when reusing dominator info.
8339 2015-06-24 Kaz Kojima <kkojima@gcc.gnu.org>
8342 * config/sh/sh.md (GOTaddr2picreg): Add a new operand for
8343 an additional element of the unspec vector. Modify indices
8345 (builtin_setjmp_receiver): Pass const0_rtx to gen_GOTaddr2picreg.
8346 * config/sh/sh.c (prepare_move_operands): Pass incremented
8347 const_int to gen_GOTaddr2picreg.
8348 (sh_expand_prologue): Pass const0_rtx to gen_GOTaddr2picreg.
8350 2015-06-24 Alan Lawrence <alan.lawrence@arm.com>
8352 * config/aarch64/aarch64.md (<optab><fcvt_target><GPF:mode>2):
8353 Condition on TARGET_FLOAT.
8355 2015-06-24 Alan Lawrence <alan.lawrence@arm.com>
8357 * doc/invoke.texi: Clarify AArch64 feature modifiers (no)fp, (no)simd
8360 2015-06-24 Alan Lawrence <alan.lawrence@arm.com>
8362 * config/aarch64/aarch64-protos.h (aarch64_err_no_fpadvsimd): New.
8364 * config/aarch64/aarch64.md (mov<mode>/GPF, movtf): Use
8365 aarch64_err_no_fpadvsimd.
8367 * config/aarch64/aarch64.c (aarch64_err_no_fpadvsimd): New.
8368 (aarch64_layout_arg, aarch64_init_cumulative_args): Use
8369 aarch64_err_no_fpadvsimd if !TARGET_FLOAT and we need FP regs.
8370 (aarch64_expand_builtin_va_start, aarch64_setup_incoming_varargs):
8371 Turn error into assert, test TARGET_FLOAT.
8372 (aarch64_gimplify_va_arg_expr): Use aarch64_err_no_fpadvsimd, test
8375 2015-06-24 Aldy Hernandez <aldyh@redhat.com>
8378 * dwarf2out.c (gen_formal_parameter_die): Remove assert.
8380 2015-06-24 Ilya Enkovich <enkovich.gnu@gmail.com>
8382 * tree-vect-slp.c (vect_build_slp_tree_1): Init vectype.
8384 2015-06-24 Renlin Li <renlin.li@arm.com>
8386 * config/aarch64/aarch64.h(TARGET_CPU_CPP_BUILTINS): Add
8387 __ARM_ALIGN_MAX_PWR, __ARM_ALIGN_MAX_STACK_PWR.
8389 2015-06-24 Richard Biener <rguenther@suse.de>
8391 * genmatch.c (enum tree_code): Add VIEW_CONVERT[012].
8393 (lower_opt_convert): Support lowering of conditional view_convert.
8394 (parser::parse_operation): Likewise.
8395 (parser::parse_for): Likewise.
8397 2015-06-24 Renlin Li <renlin.li@arm.com>
8399 * varasm.c (emit_local): Use unsigned int for align variable.
8401 2015-06-24 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8404 * config/arm/arm.c (vfp3_const_double_for_fract_bits): Disable
8405 for negative numbers.
8407 2015-06-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
8409 PR rtl-optimization/66306
8410 * reload.c (find_reloads): Swap the match_dup info for
8411 commutative operands.
8413 2015-06-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
8415 * config/s390/vx-builtins.md
8416 ("vec_scatter_element<mode>_<non_vec_int>")
8417 ("vec_scatter_element<V_HW_64:mode>_SI"): Replace gf mode
8418 attribute with bhfgq.
8420 2015-06-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
8422 * config/s390/s390-builtins.def: Fix vpopct instruction comments.
8424 2015-06-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
8426 * config/s390/s390-builtin-types.def: Add flag to indicate the
8427 options under which the function type is needed.
8428 * config/s390/s390-builtins.def: Add flag to indicate the options
8429 under which the builtin is enabled.
8430 * config/s390/s390-builtins.h: Add flags parameter to macro
8432 (bflags_for_builtin): New function.
8433 (flags_for_builtin): Renamed to ...
8434 (opflags_for_builtin): ... this.
8435 * config/s390/s390-c.c (s390_resolve_overloaded_builtin): Rename
8436 flags_for_builtin to bflags_for_builtin and
8437 flags_overloaded_builtin_var to opflags_overloaded_builtin_var.
8438 * config/s390/s390.c: Add initialization of bflags_builtin and
8439 opflags_builtin arrays.
8440 Remove code for flags_builtin.
8441 (s390_init_builtins): Only create builtin function types if one of
8442 their flags is active.
8443 Only create builtins if all of their flags are active.
8444 (s390_expand_builtin): Rename flags_for_builtin to
8445 opflags_for_builtin.
8447 2015-06-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
8449 * config/s390/vecintrin.h: Remove internal builtins.
8451 2015-06-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
8453 * config/s390/s390.c (s390_secondary_reload): Fix check for
8454 GENERAL_REGS register class.
8456 2015-06-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
8458 * config/s390/s390.c (s390_support_vector_misalignment): Call
8459 default implementation for !TARGET_VX.
8461 2015-06-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
8463 * config/s390/s390.c (s390_legitimate_constant_p): Add
8466 2015-06-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
8468 * config/s390/s390.c (s390_vector_abi): New variable definition.
8469 (s390_check_type_for_vector_abi): New function.
8470 (TARGET_ASM_FILE_END): New macro definition.
8471 (s390_asm_file_end): New function.
8472 (s390_function_arg): Call s390_check_type_for_vector_abi.
8473 (s390_gimplify_va_arg): Likewise.
8474 * configure: Regenerate.
8475 * configure.ac: Check for .gnu_attribute Binutils feature.
8477 2015-06-23 Chen Gang <gang.chen.5i5j@gmail.com>
8480 * config/bfin/bfin.c (hwloop_optimize): Initialize
8481 JUMP_LABEL for newly created jump.
8483 2015-06-23 Tristan Gingold <gingold@adacore.com>
8485 * collect-utils.c (collect_wait): Unlink the response file here
8488 (utils_cleanup): ...and here.
8490 2015-06-23 Richard Sandiford <richard.sandiford@arm.com>
8492 * df-scan.c: Don't include target-def.h.
8493 * targhooks.c: Likewise.
8494 * config/arm/arm-c.c: Likewise.
8495 * config/i386/i386-c.c: Likewise.
8496 * config/nds32/nds32-cost.c: Likewise.
8497 * config/nds32/nds32-fp-as-gp.c: Likewise.
8498 * config/nds32/nds32-intrinsic.c: Likewise.
8499 * config/nds32/nds32-isr.c: Likewise.
8500 * config/nds32/nds32-md-auxiliary.c: Likewise.
8501 * config/nds32/nds32-memory-manipulation.c: Likewise.
8502 * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
8503 * config/nds32/nds32-predicates.c: Likewise.
8505 2015-06-23 Richard Biener <rguenther@suse.de>
8507 PR tree-optimization/66636
8508 * tree-vect-stmts.c (vectorizable_store): Properly compute the
8509 def type for further defs for strided stores.
8511 2015-06-23 Nathan Sidwell <nathan@codesourcery.com>
8513 * config/nvptx/nvptx.md (sel_true<mode>, sel_false<mode>): New
8514 conditional selects.
8515 (setcc_int<mode>, setcc_float<mode>): Reformat.
8517 2015-06-23 Marek Polacek <polacek@redhat.com>
8519 * match.pd ((x + y) - (x | y) -> x & y,
8520 (x + y) - (x & y) -> x | y): New patterns.
8522 2015-06-23 Ludovic Courtès <ludo@gnu.org>
8525 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Move
8526 '-dynamic-linker' within %{!shared: ...}.
8528 2015-06-23 Uros Bizjak <ubizjak@gmail.com>
8531 * config/i386/predicates.md (addsub_vm_operator): New predicate.
8532 (addsub_vs_operator): Ditto.
8533 (addsub_vs_parallel): Ditto.
8534 * config/i386/sse.md (ssedoublemode): Add V4SF and V2DF modes.
8535 (avx_addsubv4df3, avx_addsubv8sf3, sse3_addsubv2df3, sse3_addsubv4sf3):
8536 Put minus RTX before plus and adjust vec_merge selector.
8537 (*avx_addsubv4df3_1, *avx_addsubv4df3_1s, *sse3_addsubv2df3_1)
8538 (*sse_addsubv2df3_1s, *avx_addsubv8sf3_1, *avx_addsubv8sf3_1s)
8539 (*sse3_addsubv4sf3_1, *sse_addsubv4sf3_1s): Remove insn patterns.
8540 (addsub vec_merge splitters): New combiner splitters.
8541 (addsub vec_select/vec_concat splitters): Ditto.
8543 2015-06-23 Bin Cheng <bin.cheng@arm.com>
8545 PR tree-optimization/66449
8546 * tree-ssa-loop-niter.c (loop_exits_before_overflow): Use
8547 POINTER_PLUS_EXPR for pointers.
8549 2015-06-23 Alan Modra <amodra@gmail.com>
8551 * rtlanal.c (commutative_operand_precedence): Correct comments.
8552 * simplify-rtx.c (simplify_plus_minus_op_data_cmp): Delete forward
8553 declaration. Return an int. Distinguish REG,REG return from
8555 (struct simplify_plus_minus_op_data): Make local to function.
8556 (simplify_plus_minus): Don't set canonicalized if merely sorting
8557 registers. Avoid packing ops if nothing changes. White space fixes.
8559 2015-06-22 Pierre-Marie de Rodat <derodat@adacore.com>
8561 * gcc.c (default_compilers): Pass "-o %g.s" to cc1 for headers even if
8562 -fdump-ada-spec is passed but not if -fsyntax-only is.
8564 2015-06-22 Vladimir Makarov <vmakarov@redhat.com>
8567 * lra-lives.c (process_bb_lives): Check insn copying the same
8568 reload pseudo and don't create a copy for it.
8570 2015-06-22 Tom de Vries <tom@codesourcery.com>
8572 * tree-parloops.c (transform_to_exit_first_loop_alt): Add update_stmt
8575 2015-06-22 Tom de Vries <tom@codesourcery.com>
8577 * builtins.def (DEF_GOMP_BUILTIN): Test
8578 'flag_tree_parallelize_loops > 1' instead of
8579 'flag_tree_parallelize_loops'. Test flag_cilkplus.
8581 2015-06-22 Tom de Vries <tom@codesourcery.com>
8583 * dominance.c (calculate_dominance_info): Verify dominators if
8586 2015-06-22 Marek Polacek <polacek@redhat.com>
8588 * match.pd ((x ^ y) ^ (x | y) -> x & y,
8589 (x & y) + (x ^ y) -> x | y, (x & y) | (x ^ y) -> x | y,
8590 (x & y) ^ (x ^ y) -> x | y, (x & y) + (x | y) -> x + y,
8591 (x | y) - (x ^ y) -> x & y, (x | y) - (x & y) -> x ^ y): New patterns.
8593 2015-06-22 Uros Bizjak <ubizjak@gmail.com>
8596 * config/i386/i386.c (ix86_rtx_costs) <case COMPARE>: Ignore the
8597 cost of embedded comparison.
8599 2015-06-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
8602 * config/rs6000/predicates.md (altivec_register_operand): Permit
8603 virtual stack registers.
8604 (vsx_register_operand): Likewise.
8605 (vfloat_operand): Likewise.
8606 (vint_operand): Likewise.
8607 (vlogical_operand): Likewise.
8609 2015-06-22 Richard Biener <rguenther@suse.de>
8611 * tree-vectorizer.h (_loop_vec_info): Add scalar_cost_vec
8612 and single_scalar_iteration_cost members.
8613 (LOOP_VINFO_SCALAR_ITERATION_COST): New.
8614 (LOOP_VINFO_SINGLE_SCALAR_ITERATION_COST): Likewise.
8615 (vect_get_single_scalar_iteration_cost): Remove.
8616 * tree-vect-data-refs.c (vect_peeling_hash_get_lowest_cost):
8617 Use LOOP_VINFO_SCALAR_ITERATION_COST.
8618 * tree-vect-loop.c (destroy_loop_vec_info): Free
8620 (vect_get_single_scalar_iteration_cost): Compute result into
8621 LOOP_VINFO_SINGLE_SCALAR_ITERATION_COST and
8622 LOOP_VINFO_SCALAR_ITERATION_COST. Make static.
8623 (vect_analyze_loop_2): Call vect_get_single_scalar_iteration_cost.
8624 (vect_estimate_min_profitable_iters): Use them.
8626 2015-06-22 Christian Bruel <christian.bruel@st.com>
8629 * config/arm/arm.c (add_attribute, arm_insert_attributes): New functions
8630 (TARGET_INSERT_ATTRIBUTES): Define.
8631 (thumb_flipper): New var.
8632 * config/arm/arm.opt (-mflip-thumb): New switch.
8634 2015-06-22 Jan Hubicka <hubicka@ucw.cz>
8635 Martin Liska <mliska@suse.cz>
8638 * ipa-icf.c (sem_item::target_supports_symbol_aliases): Remove
8639 construction of arg_types.
8640 (sem_function::sem_function): Likewise.
8641 (sem_function::~sem_function): Remove destruction of arg_types.
8642 (sem_function::compatible_parm_types_p): New function.
8643 (sem_function::equals_wpa): Reorg matching of return values
8644 and parameter types.
8645 (sem_function::equals_private): Reorg mathcing of argument types.
8646 (sem_function::parse_tree_args): Remove.
8647 * ipa-icf.h (init_wpa): Do not call it.
8648 (parse_tree_args): Remove.
8649 (compatible_parm_types_p): Declare.
8650 (result_type): Remove.
8651 (arg_types): Remove.
8653 2015-06-22 Jan Hubicka <hubicka@ucw.cz>
8656 * ipa-polymorphic-call.c
8657 (ipa_polymorphic_call_context::get_dynamic_type): Fix thinko when
8658 initializing alias oracle; fix formating; set base_alias_set if it
8661 2015-06-22 Mikhail Maltsev <maltsevm@gmail.com>
8663 * auto-inc-dec.c (reverse_mem, reverse_inc): Remove.
8664 (parse_add_or_inc): Use std::swap instead of reverse_{mem,inc}.
8665 (find_inc): Likewise.
8666 * combine.c (combine_simplify_rtx): Use std::swap instead of manually
8668 * df-core.c (df_worklist_dataflow_doublequeue): Likewise.
8669 * df-scan.c (df_swap_refs): Remove.
8670 (df_sort_and_compress_refs): Use std::swap instead of df_swap_refs.
8671 * dominance.c (link_roots): Use std::swap instead of manually swapping.
8672 * expr.c (expand_expr_real_2, do_store_flag): Likewise.
8673 * fold-const.c (fold_relational_const): Likewise.
8674 * genattrtab.c (simplify_test_exp): Likewise.
8675 * gimple-match-head.c (gimple_resimplify2, gimple_resimplify3,
8676 gimple_simplify): Likewise.
8677 * ifcvt.c (noce_try_abs, find_if_header): Likewise.
8678 * internal-fn.c (expand_addsub_overflow, expand_mul_overflow): Likewise.
8679 * ipa-devirt.c (add_type_duplicate): Likewise.
8680 * loop-iv.c (get_biv_step_1, iv_number_of_iterations): Likewise.
8681 * lra-lives.c (lra_setup_reload_pseudo_preferenced_hard_reg): Likewise.
8682 * lra.c (lra_create_copy): Likewise.
8683 * lto-streamer-out.c (DFS::DFS): Likewise.
8684 * modulo-sched.c (get_sched_window): Likewise.
8685 * omega.c (omega_pretty_print_problem): Likewise.
8686 * optabs.c (prepare_float_lib_cmp, expand_mult_highpart): Likewise.
8687 * reload1.c (reloads_unique_chain_p): Likewise.
8688 * sel-sched-ir.c (exchange_lv_sets, exchange_av_sets): Remove.
8689 (exchange_data_sets): Move logic from exchange_{av,lv}_sets here and
8691 * simplify-rtx.c (simplify_unary_operation_1): Use std::swap instead of
8693 * tree-if-conv.c (is_cond_scalar_reduction, predicate_scalar_phi,
8694 predicate_mem_writes): Likewise.
8695 * tree-loop-distribution.c (pg_add_dependence_edges): Likewise.
8696 * tree-predcom.c (combine_chains): Likewise.
8697 * tree-ssa-alias.c (nonoverlapping_component_refs_p,
8698 refs_may_alias_p_1): Likewise.
8699 * tree-ssa-ifcombine.c (recognize_if_then_else): Likewise.
8700 * tree-ssa-loop-ivopts.c (extract_cond_operands): Likewise.
8701 * tree-ssa-loop-niter.c (refine_bounds_using_guard,
8702 number_of_iterations_cond): Likewise.
8703 * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Likewise.
8704 * tree-ssa-sccvn.c (vn_nary_op_compute_hash): Likewise.
8705 * tree-vect-slp.c (vect_build_slp_tree): Likewise.
8706 * tree-vect-stmts.c (supportable_widening_operation): Likewise.
8707 * tree-vrp.c (extract_range_from_binary_expr_1,
8708 extract_range_from_unary_expr_1): Likewise.
8710 2015-06-20 Marek Polacek <polacek@redhat.com>
8712 * common.opt (fsanitize-undefined-trap-on-error): Add Driver.
8714 2015-06-19 Kaz Kojima <kkojima@gcc.gnu.org>
8717 * config/sh/sh.c (prepare_move_operands): Replace subreg
8718 index term with R0 for base and index addressing.
8720 2015-06-19 Jim Wilson <jim.wilson@linaro.org>
8722 * config/aarch64/aarch64.md (mov<mode>:GPF): Don't call force_reg if
8724 (movsf_aarch64): Change condition from register_operand to
8725 aarch64_reg_or_fp_zero for op1. Change type for alternative 6 to
8726 load1. Change type for alternative 7 to store1.
8727 (movdf_aarch64): Likewise.
8729 2015-06-19 James Greenhalgh <james.greenhalgh@arm.com>
8731 * config/vax/vax.md: Adjust sign/zero extend patterns to
8732 handle SUBREGs in operands[1].
8734 2015-06-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
8736 * config/i386/i386.c (ix86_function_versions): Use std::swap instead
8737 of manually swapping.
8738 (expand_vec_perm_interleave2): Likewise.
8740 2015-06-19 Ilya Enkovich <enkovich.gnu@gmail.com>
8742 * tree-chkp.c (chkp_compute_bounds_for_assignment): Don't
8743 reuse bounds created for abnormal ssa names.
8745 2015-06-19 Jakub Jelinek <jakub@redhat.com>
8747 * config/nvptx/nvptx.md (allocate_stack): Rename to...
8748 (allocate_stack_<mode>): ... this, and add :P on both
8749 match_operand and unspec.
8750 (allocate_stack): New expander.
8752 2015-06-19 Christian Bruel <christian.bruel@st.com>
8756 * config/arm/arm.c (arm_set_current_function): Handle
8757 explicit default options.
8759 2015-06-18 Uros Bizjak <ubizjak@gmail.com>
8761 * config/i386/i386.md (*movsicc_noc_zext): New insn.
8762 (zero-extended cmove with mem peephole2): New pattern.
8763 (cmove with mem peephole2): Merge patterns.
8765 2015-06-18 Segher Boessenkool <segher@kernel.crashing.org>
8767 * config/rs6000/rs6000.h (WORD_REGISTER_OPERATIONS): Delete.
8769 2015-06-18 Steve Ellcey <sellcey@imgtec.com>
8771 * config/mips/mips.c (mips_rtx_costs): Remove HONOR_NAN check.
8772 * config/mips/mips.md (*madd4<mode>): Ditto.
8773 (*nmadd3<mode>) Ditto.
8774 (*nmadd4<mode>_fastmath): Ditto.
8775 (*nmadd3<mode>_fastmath): Ditto.
8776 (*nmsub4<mode>): Ditto.
8777 (*nmsub3<mode>): Ditto.
8778 (*nmsub4<mode>_fastmath): Ditto.
8779 (*nmsub3<mode>_fastmath): Ditto.
8781 2015-06-18 Michael Matz <matz@suse.de>
8784 * tree-vect-stmts.c (vectorizable_store): Implement non-SLP
8785 grouped strided stores.
8786 (vectorizable_load): Don't use the DR from first_stmt in
8787 the non-SLP grouped strided case.
8789 2015-06-18 Ilya Enkovich <enkovich.gnu@gmail.com>
8792 * function.c (assign_bounds): Add arguments assign_regs,
8793 assign_special, assign_bt.
8794 (assign_parms): For vararg functions handle bounds in BT
8795 and special slots after incoming vararg bounds.
8797 2015-06-18 Ilya Enkovich <enkovich.gnu@gmail.com>
8800 * cfgexpand.c (expand_return): Handle missing bounds.
8801 (expand_gimple_stmt_1): Likewise.
8802 * tree-chkp.c (chkp_expand_zero_bounds): New.
8803 * tree-chkp.h (chkp_expand_zero_bounds): New.
8805 2015-06-18 Ilya Enkovich <enkovich.gnu@gmail.com>
8808 * ipa-chkp.c (chkp_maybe_create_clone): Require
8809 functions to be instrumentable.
8810 * tree-chkp.c (chkp_replace_function_pointer): Use
8811 chkp_instrumentable_p instead of attribute check.
8813 2015-06-18 Richard Biener <rguenther@suse.de>
8815 PR tree-optimization/66510
8816 * tree-vect-stmts.c (vectorizable_load): Properly compute the
8817 number of vector loads for SLP permuted loads.
8818 * tree-vect-data-refs.c (vect_compute_data_ref_alignment): Also
8819 check the stride for loop vectorization.
8820 (vect_enhance_data_refs_alignment): Deal with SLP adjusted
8821 vectorization factor.
8822 (vect_analyze_group_access): If the group size is not a power
8823 of two require a epilogue loop.
8824 * tree-vect-loop.c (vect_analyze_loop_2): Move alignment
8825 compute and optimizing and alias test pruning after final
8826 vectorization factor computation.
8827 * tree-vect-slp.c (vect_build_slp_tree_1): Remove check on
8829 (vect_transform_slp_perm_load): Properly compute the original
8830 number of vector load stmts.
8832 2015-06-18 Uros Bizjak <ubizjak@gmail.com>
8834 * doc/invoke.texi (-fsanitize-sections): Split @var to avoid
8835 "unlikely character , in @var" warning.
8837 2015-06-17 Uros Bizjak <ubizjak@gmail.com>
8839 * config/i386/i386.c (ix86_function_arg): Nest TARGET_64BIT code.
8840 (ix86_function_arg_advance): Ditto.
8841 (ix86_pass_by_reference): Ditto. Rewrite MS_ABI part.
8843 2015-06-17 Andrew MacLeod <amacleod@redhat.com>
8845 * function.h (struct rtl_data): Remove struct and accessor macros.
8846 * emit-rtl.h (struct rtl_data): Relocate to here.
8847 * Makefile.in (GTFILES): Add emit-rtl.h.
8848 * df-core.c: Include emit-rtl.h.
8849 * genattrtab.c: Likewise.
8850 * genconditions.c: Likewise.
8851 * genpreds.c: Likewise.
8852 * genrecog.c: Likewise.
8853 * regcprop.c: Likewise.
8854 * resource.c: Likewise.
8855 * sched-rgn.c: Likewise.
8856 * config/aarch64/cortex-a57-fma-steering.c: Likewise.
8857 * config/i386/winnt.c: Likewise.
8859 2015-06-17 Jakub Jelinek <jakub@redhat.com>
8862 * omp-low.c (expand_omp_taskreg, expand_omp_target): Use child_cfun
8863 instead of DECL_STRUCT_FUNCTION (child_fn). Or in has_simduid_loops
8864 and has_force_vectorize_loops flags from cfun into
8866 (expand_omp_simd): For broken loop, set cfun->has_simduid_loops
8867 if simduid is non-NULL.
8868 * tree-pass.h (make_pass_simduid_cleanup): New prototype.
8869 * passes.def (pass_simduid_cleanup): Add new pass after loop
8871 * tree-vectorizer.c (adjust_simduid_builtins): Remove one unnecessary
8872 indirection from htab argument's type.
8873 (shrink_simd_arrays): New function.
8874 (vectorize_loops): Use it. Adjust adjust_simduid_builtins caller.
8875 Don't call adjust_simduid_builtins if there are no loops.
8876 (pass_data_simduid_cleanup, pass_simduid_cleanup): New variables.
8877 (pass_simduid_cleanup::execute): New method.
8878 (make_pass_simduid_cleanup): New function.
8880 2017-06-17 Andrew MacLeod <amacleod@redhat.com>
8882 * tree-core.h (tree_target_option): Make opts field a pointer to a
8883 cl_target_option instead of an instance of the struct.
8884 * tree.h (TREE_TARGET_OPTION): Return the pointer, not an address of
8886 * tree.c (make_node_stat ): Allocate a cl_target_option struct for
8888 (copy_node_stat): Allocate and copy struct cl_target_option.
8890 2015-06-17 Andrew MacLeod <amacleod@redhat.com>
8892 * tree.h (merge_dllimport_decl_attributes, handle_dll_attribute):
8893 Remove conditional exposure of prototypes.
8894 (ANON_AGGRNAME_FORMAT, ANON_AGGRNAME_P): Delete.
8895 * tree.c (anon_aggrname_format, anon_aggrname_p): New. Replace macro
8896 definitions in tree.h with functions.
8897 * lto-streamer-out.c (DFS_write_tree_body, hash_tree): Use
8899 * tree-streamer-out.c (write_ts_decl_minimal_tree_pointers): Likewise.
8901 2015-06-17 Segher Boessenkool <segher@kernel.crashing.org>
8903 * config/rs6000/rs6000.md (*cmp<mode>_internal1): Rename to...
8904 (*cmp<mode>_signed): ... this.
8905 (*cmpsi_internal2, *cmpdi_internal2): Merge, rename to...
8906 (*cmp<mode>_unsigned): ... this. Remove %b.
8908 2015-06-17 Andrew MacLeod <amacleod@redhat.com>
8910 * coretypes.h: Include input.h and as-a.h.
8911 * rtl.h: Include input.h and as-a.h for generator files.
8912 * hwint.c: Include coretypes.h, don't include diagnostic-core.h.
8913 * vec.c: Don't include diagnostic-core.h.
8914 * alias.c: Do not include input.h, line-map.h or is-a.h.
8916 * attribs.c: Likewise.
8917 * auto-inc-dec.c: Likewise.
8918 * auto-profile.c: Likewise.
8919 * bb-reorder.c: Likewise.
8920 * bt-load.c: Likewise.
8921 * builtins.c: Likewise.
8922 * caller-save.c: Likewise.
8923 * calls.c: Likewise.
8926 * cfganal.c: Likewise.
8927 * cfgbuild.c: Likewise.
8928 * cfgcleanup.c: Likewise.
8929 * cfgexpand.c: Likewise.
8930 * cfghooks.c: Likewise.
8931 * cfgloop.c: Likewise.
8932 * cfgloop.h: Likewise.
8933 * cfgloopanal.c: Likewise.
8934 * cfgloopmanip.c: Likewise.
8935 * cfgrtl.c: Likewise.
8936 * cgraph.c: Likewise.
8937 * cgraphbuild.c: Likewise.
8938 * cgraphclones.c: Likewise.
8939 * cgraphunit.c: Likewise.
8940 * cilk-common.c: Likewise.
8941 * combine-stack-adj.c: Likewise.
8942 * combine.c: Likewise.
8943 * compare-elim.c: Likewise.
8944 * convert.c: Likewise.
8945 * coverage.c: Likewise.
8946 * cppbuiltin.c: Likewise.
8947 * cprop.c: Likewise.
8949 * cselib.c: Likewise.
8950 * data-streamer-in.c: Likewise.
8951 * data-streamer-out.c: Likewise.
8952 * data-streamer.c: Likewise.
8953 * dbxout.c: Likewise.
8956 * debug.c: Likewise.
8957 * df-core.c: Likewise.
8958 * df-problems.c: Likewise.
8959 * df-scan.c: Likewise.
8962 * diagnostic-core.h: Likewise.
8963 * diagnostic.c: Likewise.
8964 * dojump.c: Likewise.
8965 * dominance.c: Likewise.
8966 * domwalk.c: Likewise.
8967 * double-int.c: Likewise.
8969 * dumpfile.c: Likewise.
8970 * dumpfile.h: Likewise.
8971 * dwarf2asm.c: Likewise.
8972 * dwarf2cfi.c: Likewise.
8973 * dwarf2out.c: Likewise.
8974 * emit-rtl.c: Likewise.
8975 * et-forest.c: Likewise.
8976 * except.c: Likewise.
8977 * explow.c: Likewise.
8978 * expmed.c: Likewise.
8980 * final.c: Likewise.
8981 * fixed-value.c: Likewise.
8982 * fold-const.c: Likewise.
8983 * function.c: Likewise.
8984 * fwprop.c: Likewise.
8985 * gcc-plugin.h: Likewise.
8987 * generic-match-head.c: Likewise.
8988 * ggc-page.c: Likewise.
8989 * gimple-builder.c: Likewise.
8990 * gimple-expr.c: Likewise.
8991 * gimple-fold.c: Likewise.
8992 * gimple-iterator.c: Likewise.
8993 * gimple-low.c: Likewise.
8994 * gimple-match-head.c: Likewise.
8995 * gimple-pretty-print.c: Likewise.
8996 * gimple-ssa-isolate-paths.c: Likewise.
8997 * gimple-ssa-strength-reduction.c: Likewise.
8998 * gimple-streamer-in.c: Likewise.
8999 * gimple-streamer-out.c: Likewise.
9000 * gimple-streamer.h: Likewise.
9001 * gimple-walk.c: Likewise.
9002 * gimple.c: Likewise.
9003 * gimplify-me.c: Likewise.
9004 * gimplify.c: Likewise.
9005 * godump.c: Likewise.
9006 * graph.c: Likewise.
9007 * graphite-blocking.c: Likewise.
9008 * graphite-dependences.c: Likewise.
9009 * graphite-interchange.c: Likewise.
9010 * graphite-isl-ast-to-gimple.c: Likewise.
9011 * graphite-optimize-isl.c: Likewise.
9012 * graphite-poly.c: Likewise.
9013 * graphite-scop-detection.c: Likewise.
9014 * graphite-sese-to-poly.c: Likewise.
9015 * graphite.c: Likewise.
9016 * haifa-sched.c: Likewise.
9017 * hw-doloop.c: Likewise.
9018 * ifcvt.c: Likewise.
9019 * init-regs.c: Likewise.
9020 * input.c: Likewise.
9021 * internal-fn.c: Likewise.
9022 * ipa-chkp.c: Likewise.
9023 * ipa-comdats.c: Likewise.
9024 * ipa-cp.c: Likewise.
9025 * ipa-devirt.c: Likewise.
9026 * ipa-icf-gimple.c: Likewise.
9027 * ipa-icf.c: Likewise.
9028 * ipa-inline-analysis.c: Likewise.
9029 * ipa-inline-transform.c: Likewise.
9030 * ipa-inline.c: Likewise.
9031 * ipa-polymorphic-call.c: Likewise.
9032 * ipa-profile.c: Likewise.
9033 * ipa-prop.c: Likewise.
9034 * ipa-pure-const.c: Likewise.
9035 * ipa-ref.c: Likewise.
9036 * ipa-reference.c: Likewise.
9037 * ipa-split.c: Likewise.
9038 * ipa-utils.c: Likewise.
9039 * ipa-visibility.c: Likewise.
9041 * ira-build.c: Likewise.
9042 * ira-color.c: Likewise.
9043 * ira-conflicts.c: Likewise.
9044 * ira-costs.c: Likewise.
9045 * ira-emit.c: Likewise.
9046 * ira-lives.c: Likewise.
9049 * langhooks.c: Likewise.
9051 * loop-doloop.c: Likewise.
9052 * loop-init.c: Likewise.
9053 * loop-invariant.c: Likewise.
9054 * loop-iv.c: Likewise.
9055 * loop-unroll.c: Likewise.
9056 * lower-subreg.c: Likewise.
9057 * lra-assigns.c: Likewise.
9058 * lra-coalesce.c: Likewise.
9059 * lra-constraints.c: Likewise.
9060 * lra-eliminations.c: Likewise.
9061 * lra-lives.c: Likewise.
9062 * lra-remat.c: Likewise.
9063 * lra-spills.c: Likewise.
9065 * lto-cgraph.c: Likewise.
9066 * lto-compress.c: Likewise.
9067 * lto-opts.c: Likewise.
9068 * lto-section-in.c: Likewise.
9069 * lto-section-out.c: Likewise.
9070 * lto-streamer-in.c: Likewise.
9071 * lto-streamer-out.c: Likewise.
9072 * lto-streamer.c: Likewise.
9074 * mode-switching.c: Likewise.
9075 * modulo-sched.c: Likewise.
9076 * omega.c: Likewise.
9077 * omp-low.c: Likewise.
9078 * optabs.c: Likewise.
9079 * opts-global.c: Likewise.
9081 * passes.c: Likewise.
9082 * plugin.c: Likewise.
9083 * postreload-gcse.c: Likewise.
9084 * postreload.c: Likewise.
9085 * predict.c: Likewise.
9086 * pretty-print.h: Likewise.
9087 * print-rtl.c: Likewise.
9088 * print-tree.c: Likewise.
9089 * profile.c: Likewise.
9091 * realmpfr.c: Likewise.
9092 * recog.c: Likewise.
9094 * reg-stack.c: Likewise.
9095 * regcprop.c: Likewise.
9096 * reginfo.c: Likewise.
9097 * regrename.c: Likewise.
9098 * regstat.c: Likewise.
9099 * reload.c: Likewise.
9100 * reload1.c: Likewise.
9101 * reorg.c: Likewise.
9102 * resource.c: Likewise.
9103 * rtl-chkp.c: Likewise.
9104 * rtl-error.c: Likewise.
9105 * rtlanal.c: Likewise.
9106 * rtlhooks.c: Likewise.
9107 * sanopt.c: Likewise.
9108 * sched-deps.c: Likewise.
9109 * sched-ebb.c: Likewise.
9110 * sched-rgn.c: Likewise.
9111 * sched-vis.c: Likewise.
9112 * sdbout.c: Likewise.
9113 * sel-sched-dump.c: Likewise.
9114 * sel-sched-ir.c: Likewise.
9115 * sel-sched.c: Likewise.
9117 * shrink-wrap.c: Likewise.
9118 * simplify-rtx.c: Likewise.
9119 * stack-ptr-mod.c: Likewise.
9120 * statistics.c: Likewise.
9122 * stor-layout.c: Likewise.
9123 * store-motion.c: Likewise.
9124 * streamer-hooks.c: Likewise.
9125 * stringpool.c: Likewise.
9126 * symtab.c: Likewise.
9127 * target-globals.c: Likewise.
9128 * targhooks.c: Likewise.
9129 * toplev.c: Likewise.
9130 * tracer.c: Likewise.
9131 * trans-mem.c: Likewise.
9132 * tree-affine.c: Likewise.
9133 * tree-browser.c: Likewise.
9134 * tree-call-cdce.c: Likewise.
9135 * tree-cfg.c: Likewise.
9136 * tree-cfgcleanup.c: Likewise.
9137 * tree-chkp-opt.c: Likewise.
9138 * tree-chkp.c: Likewise.
9139 * tree-chrec.c: Likewise.
9140 * tree-complex.c: Likewise.
9141 * tree-data-ref.c: Likewise.
9142 * tree-dfa.c: Likewise.
9143 * tree-diagnostic.c: Likewise.
9144 * tree-dump.c: Likewise.
9145 * tree-eh.c: Likewise.
9146 * tree-emutls.c: Likewise.
9147 * tree-if-conv.c: Likewise.
9148 * tree-inline.c: Likewise.
9149 * tree-into-ssa.c: Likewise.
9150 * tree-iterator.c: Likewise.
9151 * tree-loop-distribution.c: Likewise.
9152 * tree-nested.c: Likewise.
9153 * tree-nrv.c: Likewise.
9154 * tree-object-size.c: Likewise.
9155 * tree-outof-ssa.c: Likewise.
9156 * tree-parloops.c: Likewise.
9157 * tree-phinodes.c: Likewise.
9158 * tree-predcom.c: Likewise.
9159 * tree-pretty-print.c: Likewise.
9160 * tree-profile.c: Likewise.
9161 * tree-scalar-evolution.c: Likewise.
9162 * tree-sra.c: Likewise.
9163 * tree-ssa-address.c: Likewise.
9164 * tree-ssa-alias.c: Likewise.
9165 * tree-ssa-ccp.c: Likewise.
9166 * tree-ssa-coalesce.c: Likewise.
9167 * tree-ssa-copy.c: Likewise.
9168 * tree-ssa-copyrename.c: Likewise.
9169 * tree-ssa-dce.c: Likewise.
9170 * tree-ssa-dom.c: Likewise.
9171 * tree-ssa-dse.c: Likewise.
9172 * tree-ssa-forwprop.c: Likewise.
9173 * tree-ssa-ifcombine.c: Likewise.
9174 * tree-ssa-live.c: Likewise.
9175 * tree-ssa-loop-ch.c: Likewise.
9176 * tree-ssa-loop-im.c: Likewise.
9177 * tree-ssa-loop-ivcanon.c: Likewise.
9178 * tree-ssa-loop-ivopts.c: Likewise.
9179 * tree-ssa-loop-manip.c: Likewise.
9180 * tree-ssa-loop-niter.c: Likewise.
9181 * tree-ssa-loop-prefetch.c: Likewise.
9182 * tree-ssa-loop-unswitch.c: Likewise.
9183 * tree-ssa-loop.c: Likewise.
9184 * tree-ssa-math-opts.c: Likewise.
9185 * tree-ssa-operands.c: Likewise.
9186 * tree-ssa-phiopt.c: Likewise.
9187 * tree-ssa-phiprop.c: Likewise.
9188 * tree-ssa-pre.c: Likewise.
9189 * tree-ssa-propagate.c: Likewise.
9190 * tree-ssa-reassoc.c: Likewise.
9191 * tree-ssa-sccvn.c: Likewise.
9192 * tree-ssa-scopedtables.c: Likewise.
9193 * tree-ssa-sink.c: Likewise.
9194 * tree-ssa-strlen.c: Likewise.
9195 * tree-ssa-structalias.c: Likewise.
9196 * tree-ssa-tail-merge.c: Likewise.
9197 * tree-ssa-ter.c: Likewise.
9198 * tree-ssa-threadedge.c: Likewise.
9199 * tree-ssa-threadupdate.c: Likewise.
9200 * tree-ssa-uncprop.c: Likewise.
9201 * tree-ssa-uninit.c: Likewise.
9202 * tree-ssa.c: Likewise.
9203 * tree-ssanames.c: Likewise.
9204 * tree-stdarg.c: Likewise.
9205 * tree-streamer-in.c: Likewise.
9206 * tree-streamer-out.c: Likewise.
9207 * tree-streamer.c: Likewise.
9208 * tree-switch-conversion.c: Likewise.
9209 * tree-tailcall.c: Likewise.
9210 * tree-vect-data-refs.c: Likewise.
9211 * tree-vect-generic.c: Likewise.
9212 * tree-vect-loop-manip.c: Likewise.
9213 * tree-vect-loop.c: Likewise.
9214 * tree-vect-patterns.c: Likewise.
9215 * tree-vect-slp.c: Likewise.
9216 * tree-vect-stmts.c: Likewise.
9217 * tree-vectorizer.c: Likewise.
9218 * tree-vrp.c: Likewise.
9221 * ubsan.c: Likewise.
9222 * valtrack.c: Likewise.
9223 * value-prof.c: Likewise.
9224 * var-tracking.c: Likewise.
9225 * varasm.c: Likewise.
9226 * varpool.c: Likewise.
9227 * vmsdbgout.c: Likewise.
9228 * vtable-verify.c: Likewise.
9230 * wide-int.cc: Likewise.
9231 * xcoffout.c: Likewise.
9232 * common/common-target.h: Do not include input.h, line-map.h or is-a.h.
9233 * common/common-targhooks.c: Likewise.
9234 * config/aarch64/aarch64-builtins.c: Likewise.
9235 * config/aarch64/aarch64.c: Likewise.
9236 * config/alpha/alpha.c: Likewise.
9237 * config/arc/arc.c: Likewise.
9238 * config/arm/aarch-common.c: Likewise.
9239 * config/arm/arm-builtins.c: Likewise.
9240 * config/arm/arm-c.c: Likewise.
9241 * config/arm/arm.c: Likewise.
9242 * config/avr/avr-c.c: Likewise.
9243 * config/avr/avr-log.c: Likewise.
9244 * config/avr/avr.c: Likewise.
9245 * config/bfin/bfin.c: Likewise.
9246 * config/c6x/c6x.c: Likewise.
9247 * config/cr16/cr16.c: Likewise.
9248 * config/cris/cris.c: Likewise.
9249 * config/darwin-c.c: Likewise.
9250 * config/darwin.c: Likewise.
9251 * config/default-c.c: Likewise.
9252 * config/epiphany/epiphany.c: Likewise.
9253 * config/epiphany/mode-switch-use.c: Likewise.
9254 * config/epiphany/resolve-sw-modes.c: Likewise.
9255 * config/fr30/fr30.c: Likewise.
9256 * config/frv/frv.c: Likewise.
9257 * config/ft32/ft32.c: Likewise.
9258 * config/glibc-c.c: Likewise.
9259 * config/h8300/h8300.c: Likewise.
9260 * config/i386/i386-c.c: Likewise.
9261 * config/i386/i386.c: Likewise.
9262 * config/i386/msformat-c.c: Likewise.
9263 * config/i386/winnt-cxx.c: Likewise.
9264 * config/i386/winnt-stubs.c: Likewise.
9265 * config/i386/winnt.c: Likewise.
9266 * config/ia64/ia64-c.c: Likewise.
9267 * config/ia64/ia64.c: Likewise.
9268 * config/iq2000/iq2000.c: Likewise.
9269 * config/lm32/lm32.c: Likewise.
9270 * config/m32c/m32c-pragma.c: Likewise.
9271 * config/m32c/m32c.c: Likewise.
9272 * config/m32r/m32r.c: Likewise.
9273 * config/m68k/m68k.c: Likewise.
9274 * config/mcore/mcore.c: Likewise.
9275 * config/mep/mep-pragma.c: Likewise.
9276 * config/mep/mep.c: Likewise.
9277 * config/microblaze/microblaze-c.c: Likewise.
9278 * config/microblaze/microblaze.c: Likewise.
9279 * config/mips/mips.c: Likewise.
9280 * config/mmix/mmix.c: Likewise.
9281 * config/mn10300/mn10300.c: Likewise.
9282 * config/moxie/moxie.c: Likewise.
9283 * config/msp430/msp430-c.c: Likewise.
9284 * config/msp430/msp430.c: Likewise.
9285 * config/nds32/nds32-cost.c: Likewise.
9286 * config/nds32/nds32-fp-as-gp.c: Likewise.
9287 * config/nds32/nds32-intrinsic.c: Likewise.
9288 * config/nds32/nds32-isr.c: Likewise.
9289 * config/nds32/nds32-md-auxiliary.c: Likewise.
9290 * config/nds32/nds32-memory-manipulation.c: Likewise.
9291 * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
9292 * config/nds32/nds32-predicates.c: Likewise.
9293 * config/nds32/nds32.c: Likewise.
9294 * config/nios2/nios2.c: Likewise.
9295 * config/nvptx/nvptx.c: Likewise.
9296 * config/pa/pa.c: Likewise.
9297 * config/pdp11/pdp11.c: Likewise.
9298 * config/rl78/rl78-c.c: Likewise.
9299 * config/rl78/rl78.c: Likewise.
9300 * config/rs6000/rs6000-c.c: Likewise.
9301 * config/rs6000/rs6000.c: Likewise.
9302 * config/rx/rx.c: Likewise.
9303 * config/s390/s390-c.c: Likewise.
9304 * config/s390/s390.c: Likewise.
9305 * config/sh/sh-c.c: Likewise.
9306 * config/sh/sh-mem.cc: Likewise.
9307 * config/sh/sh.c: Likewise.
9308 * config/sh/sh_optimize_sett_clrt.cc: Likewise.
9309 * config/sh/sh_treg_combine.cc: Likewise.
9310 * config/sol2-c.c: Likewise.
9311 * config/sol2-cxx.c: Likewise.
9312 * config/sol2-stubs.c: Likewise.
9313 * config/sol2.c: Likewise.
9314 * config/sparc/sparc-c.c: Likewise.
9315 * config/sparc/sparc.c: Likewise.
9316 * config/spu/spu-c.c: Likewise.
9317 * config/spu/spu.c: Likewise.
9318 * config/stormy16/stormy16.c: Likewise.
9319 * config/tilegx/mul-tables.c: Likewise.
9320 * config/tilegx/tilegx-c.c: Likewise.
9321 * config/tilegx/tilegx.c: Likewise.
9322 * config/tilepro/mul-tables.c: Likewise.
9323 * config/tilepro/tilepro-c.c: Likewise.
9324 * config/tilepro/tilepro.c: Likewise.
9325 * config/v850/v850-c.c: Likewise.
9326 * config/v850/v850.c: Likewise.
9327 * config/vax/vax.c: Likewise.
9328 * config/visium/visium.c: Likewise.
9329 * config/vms/vms-c.c: Likewise.
9330 * config/vms/vms.c: Likewise.
9331 * config/vxworks.c: Likewise.
9332 * config/winnt-c.c: Likewise.
9333 * config/xtensa/xtensa.c: Likewise.
9335 2015-06-17 Robert Suchanek <robert.suchanek@imgtec.com>
9337 * config/mips/mips.c (mips_ira_change_pseudo_allocno_class): New
9339 (TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS): Define macro.
9341 2015-06-17 Richard Biener <rguenther@suse.de>
9343 PR tree-optimization/66251
9344 * tree-vect-stmts.c (vectorizable_store): Fix gathering of vectorized
9345 stmts for SLP strided stores.
9348 2015-05-22 Richard Biener <rguenther@suse.de>
9350 PR tree-optimization/66251
9351 * tree-vect-stmts.c (vectorizable_conversion): Properly
9352 set STMT_VINFO_VEC_STMT even for the SLP case.
9354 2015-05-26 Michael Matz <matz@suse.de>
9357 * tree-vect-stmts.c (vect_create_vectorized_demotion_stmts): Always set
9358 STMT_VINFO_VEC_STMT, also with SLP.
9360 2015-06-16 Uros Bizjak <ubizjak@gmail.com>
9363 * config/i386/sse.md (*avx_addsubv4df3_1): New insn pattern.
9364 (*avx_addsubv4df3_1s): Ditto.
9365 (*sse3_addsubv2df3_1): Ditto.
9366 (*sse3_addsubv2df3_1s): Ditto.
9367 (*avx_addsubv8sf3_1): Ditto.
9368 (*avx_addsubv8sf3_1s): Ditto.
9369 (*sse3_addsubv4sf3_1): Ditto.
9370 (*sse3_addsubv4sf3_1s): Ditto.
9372 2015-06-16 Steve Ellcey <sellcey@imgtec.com>
9374 * config/mips/mti-linux.h (MIPS_SYSVERSION_SPEC): New.
9375 (SYSROOT_SUFFIX_SPEC): Update.
9376 (SYSROOT_HEADERS_SUFFIX_SPEC): New.
9377 (STARTFILE_PREFIX_SPEC): Update.
9378 * config/mips/t-mti-linux (MULTILIB_EXCEPTIONS): Remove.
9379 (MULTILIB_REQUIRED): New.
9380 (MULTILIB_OSDIRNAMES): New.
9381 * config/mips/t-img-linux (MULTILIB_EXCEPTIONS): Remove.
9382 (MULTILIB_REQUIRED): New.
9383 (MULTILIB_OSDIRNAMES): New.
9385 2015-06-16 Matthew Wahab <matthew.wahab@arm.com>
9387 * config/aarch64/aarch64-arches.def: Add "armv8.1-a".
9388 * config/aarch64/aarch64-options-extensions.def: Update "fP",
9389 "simd" and "crypto". Add "lse", "pan", "lor" and "rdma".
9390 * gcc/config/aarch64/aarch64.h (AARCH64_FL_LSE): New.
9391 (AARCH64_FL_PAN): New.
9392 (AARCH64_FL_LOR): New.
9393 (AARCH64_FL_RDMA): New.
9394 (AARCH64_FL_FOR_ARCH8_1): New.
9395 * doc/invoke.texi (AArch64 Options): Add "armv8.1-a" to
9396 -march. Add "lse", "pan", "lor", "rdma" to feature modifiers.
9398 2015-06-16 Martin Liska <mliska@suse.cz>
9400 * bitmap.c (dump_bitmap_statistics): Fix GNU coding style.
9401 * hash-table.c (void dump_hash_table_loc_statistics): Add missing
9404 2015-06-16 Richard Biener <rguenther@suse.de>
9406 * tree-vect-stmts.c (vectorizable_store): Adjust.
9407 (vectorizable_load): Likewise.
9408 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref):
9410 (vect_create_data_ref_ptr): Likewise.
9411 (bump_vector_ptr): Adjust.
9413 2015-06-16 Richard Biener <rguenther@suse.de>
9415 * tree-vect-stmts.c (vectorizable_load): Properly start loads
9416 with the first element if this is grouped loads.
9418 2015-06-16 James Greenhalgh <james.greenhalgh@arm.com>
9420 * config/arm/arm-protos.h (struct tune_params): Rename
9421 log_op_non_sc to log_op_non_short_circuit, and rename enum
9422 values to expand SC to SHORT_CIRCUIT.
9423 * config/arm/arm.c (arm_slowmul_tune): Expand LOG_OP_NON_SC
9424 to LOG_OP_NON_SHORT_CIRCUIT.
9425 (arm_fastmul_tune):Likewise
9426 (arm_strongarm_tune): Likewise.
9427 (arm_xscale_tune): Likewise.
9428 (arm_9e_tune): Likewise.
9429 (arm_marvell_pj4_tune): Likewise.
9430 (arm_v6t2_tune): Likewise.
9431 (arm_cortex_tune): Likewise.
9432 (arm_cortex_a8_tune): Likewise.
9433 (arm_cortex_a7_tune): Likewise.
9434 (arm_cortex_a15_tune): Likewise.
9435 (arm_cortex_a53_tune): Likewise.
9436 (arm_cortex_a57_tune): Likewise.
9437 (arm_xgene1_tune): Likewise.
9438 (arm_cortex_a5_tune): Likewise.
9439 (arm_cortex_a9_tune): Likewise.
9440 (arm_cortex_a12_tune): Likewise.
9441 (arm_v7m_tune): Likewise.
9442 (arm_cortex_m7_tune): Likewise.
9443 (arm_v6m_tune): Likewise.
9444 (arm_fa726te_tune): Likewise.
9446 2015-06-15 David Edelsohn <dje.gcc@gmail.com>
9448 * altivec.md: Delete UNSPEC_VMLADDUHM.
9449 (mulv4si3_p8): New pattern.
9450 (mulv4si3): Use it for POWER8.
9451 (mulv8hi3): Use vmladduhm with zero addend.
9452 (altivec_vmladduhm): Descriptive RTL.
9454 2015-06-15 Jim Wilson <jim.wilson@linaro.org>
9456 * config/aarch64/aarch64.md (mov<mode>_aarch64): Change alternative 2
9457 to use neon_move instead of mov_imm.
9458 (movdi_aarch64): Change alternative 14 to use neon_move not fmov.
9459 (movtf_aarch64): Change alternative 4 to use neon_move_q not fconstd.
9461 * config/aarch64/aarch64.c (aarch64_valid_floating_const): Move
9462 aarch64_float_const_zero_rtx_p check before TFmode check.
9463 * config/aarch64/aarch64.md (movtf): Don't call force_reg if op1 is
9465 (movtf_aarch64): Separate ?rY alternative into two. Adjust assembly
9466 code and attributes to match. Change condition from register_operand
9467 to aarch64_reg_or_fp_zero for op1. Change type for ldp from
9468 neon_load1_2reg to load2. Change type for stp from neon_store1_2reg
9471 2015-06-15 Aldy Hernandez <aldyh@redhat.com>
9474 * dwarf2out.c (gen_subprogram_die): Do not check a parent's tag if
9477 2015-06-14 Shiva Chen <shiva0217@gmail.com>
9479 * aarch64.c (aarch64_simd_lane_bounds): Change %ld to %wd for
9480 HOST_WIDE_INT parameter.
9482 2015-06-14 Jan Hubicka <hubicka@ucw.cz>
9485 * lto-streamer-out.c (hash_tree): Do not hash TYPE_NO_FORCE_BLK.
9486 * tree-streamer-out.c (pack_ts_type_common_value_fields): Do not stream
9488 * tree-streamer-in.c (unpack_ts_type_common_value_fields): Likewise.
9490 2015-06-14 Richard Sandiford <richard.sandiford@arm.com>
9492 * rtl.h (classify_insn): Declare.
9493 * emit-rtl.c (classify_insn): Move to...
9494 * rtl.c: ...here and add generator support.
9495 * gensupport.h (get_emit_function, needs_barrier_p): Declare.
9496 * gensupport.c (get_emit_function, needs_barrier_p): New functions.
9497 * genemit.c (gen_emit_seq): New function.
9498 (gen_expand, gen_split): Use it.
9500 2015-06-13 Patrick Palka <ppalka@gcc.gnu.org>
9502 * tree.c (make_vector_stat): Fix comment to state that the
9503 function returns a VECTOR_CST.
9505 2015-06-13 Richard Sandiford <richard.sandiford@arm.com>
9507 * gensupport.h (add_implicit_parallel): Declare.
9508 * genrecog.c (add_implicit_parallel): Move to...
9509 * gensupport.c (add_implicit_parallel): ...here.
9510 (process_one_cond_exec): Use it.
9511 * genemit.c (gen_insn): Likewise.
9513 2015-06-13 Iain Sandoe <iain@codesourcery.com>
9516 * passes.c (rest_of_decl_compilation): Do not register globals for
9517 early debug if they are declared in built-ins.
9519 2015-06-12 Aldy Hernandez <aldyh@redhat.com>
9521 * dwarf2out.c (check_die): Protect with ENABLE_CHECKING.
9523 2015-06-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
9525 * ifcvt.c (noce_try_store_flag_constants): Use std::swap instead of
9527 (noce_try_cmove_arith): Likewise.
9528 (noce_get_alt_condition): Likewise.
9530 2015-06-12 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
9532 * common/config/i386/i386-common.c
9533 (OPTION_MASK_ISA_MWAITX_SET): New.
9534 (ix86_handle_option): Handle mwaitx.
9535 * config.gcc (i[34567]86-*-*): Add mwaitxintrin.h,
9536 (x86_64-*-*): Likewise.
9537 * config/i386/mwaitxintrin.h: New header.
9538 * config/i386/cpuid.h (bit_MWAITX): Define.
9539 * config/i386/driver-i386.c (host_detect_local_cpu): Detect
9541 * config/i386/i386.opt (mwaitx): New.
9542 * config/i386/i386-builtin-types.def
9543 (VOID_FTYPE_UNSIGNED_ UNSIGNED_UNSIGNED): New function type.
9544 * config/i386/i386-c.c: Define __MWAITX__ if needed.
9545 * config/i386/i386.c (ix86_target_string): Define -mmwaitx option.
9547 (ix86_option_override_internal): Handle new option.
9548 (processor_alias_table): Added PTA_MWAITX.
9549 (ix86_valid_target_attribute_inner_p): Add OPT_mmwaitx.
9550 (ix86_builtins): Add IX86_BUILTIN_MWAITX, IX86_BUILTIN_MONITORX.
9551 (ix86_expand_builtin): Handle IX86_BUILTIN_MWAITX and
9552 IX86_BUILTIN_MONITORX built-ins.
9553 * config/i386/i386.h (TARGET_MWAITX): New.
9554 * config/i386/i386.md (unspecv): Add UNSPEC_MWAITX and
9556 (mwaitx): New pattern.
9557 (monitorx_<mode>): New pattern.
9558 * config/i386/x86intrin.h: Include mwaitxintrin.h.
9559 * doc/extend.texi: Document monitorx and mwaitx builtins.
9560 * doc/invoke.texi: Document -mmwaitx option.
9562 2015-06-12 Uros Bizjak <ubizjak@gmail.com>
9564 * emit-rtl.c (need_atomic_barrier_p): Mask model with
9565 MEMMODEL_BASE_MASK. Remove MEMMODEL_SYNC_* cases.
9567 2015-06-11 David Edelsohn <dje.gcc@gmail.com>
9569 * dbxout.c (xcoff_debug_hooks): Provide a function for
9570 register_main_translation_unit hook.
9572 2015-06-11 David Edelsohn <dje.gcc@gmail.com>
9574 * config/rs6000/rs6000.c (rs6000_pre_atomic_barrier): Remove SYNC
9575 variants cases from switch.
9576 (rs6000_post_atomic_barrier): Same.
9577 (rs6000_expand_atomic_compare_and_swap): Use memmodel_base.
9578 (rs6000_expand_atomic_exchange): Same.
9579 (rs6000_expand_atomic_op): Same.
9580 * config/rs6000/sync.md (mem_thread_fence): Use memodel_base. Remove
9581 SYNC variants cases from switch.
9582 (atomic_load): Same.
9583 (atomic_store): Same.
9585 2015-06-11 John David Anglin <danglin@gcc.gnu.org>
9587 * config/pa/pa.c (pa_output_global_address): Handle LABEL_REF plus
9590 2015-06-11 Aldy Hernandez <aldyh@redhat.com>
9593 * dwarf2out.c (check_die): Check for common duplicate attributes.
9594 (add_location_or_const_value_attribute): Do not add duplicate
9596 (gen_formal_parameter_die): Do not add DW_AT_artificial the second
9598 (gen_struct_or_union_type_die): Bail early if TREE_ASM_WRITTEN.
9599 (gen_type_die_with_usage): Call check_die.
9600 (dwarf2out_decl): Only call check_die() when ENABLE_CHECKING.
9602 2015-06-11 Jason Merrill <jason@redhat.com>
9604 * dwarf2out.c (prune_unused_types): Handle unused top-level limbo
9607 2015-06-11 Marek Polacek <polacek@redhat.com>
9609 * match.pd ((x & y) ^ (x | y)): Don't check for single_use.
9611 2015-06-11 Eric Botcazou <ebotcazou@adacore.com>
9614 * config/sparc/sparc.c (hard_regno_mode_classes): Add ??? comment.
9615 * config/sparc/sparc.md (zero_extendsidi2_insn_sp32): Use single order.
9616 (*addx_extend_sp32): Fix pasto.
9617 (*subx_extend): Rename into...
9618 (*subx_extend_sp32): ...this.
9619 (*adddi3_extend_sp32): Add earlyclobber.
9620 (*subdi3_insn_sp32): Likewise.
9621 (*subdi3_extend_sp32): Likewise.
9622 (*and_not_di_sp32): Likewise.
9623 (*or_not_di_sp32): Likewise.
9624 (*xor_not_di_sp32): Likewise.
9625 (*negdi2_sp32): Likewise.
9626 (*one_cmpldi2_sp32): Likewise.
9628 2015-06-11 Pierre-Marie de Rodat <derodat@adacore.com>
9630 * debug.h (struct gcc_debug_hooks): Add a
9631 register_main_translation_unit hook.
9632 * debug.c (do_nothing_debug_hooks): Provide a function for this
9634 * dbxout.c (dbx_debug_hooks): Likewise.
9635 * sdbout.c (sdb_debug_hooks): Likewise.
9636 * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
9637 * dwarf2out.c (main_translation_unit): New global variable.
9638 (dwarf2out_register_main_translation_unit): New function
9639 implementing the new hook.
9640 (dwarf2_debug_hooks): Assign
9641 dwarf2out_register_main_translation_unit to this new hook.
9642 (dwarf2out_init): Associate any main translation unit to
9645 2015-06-11 Marek Polacek <polacek@redhat.com>
9647 * match.pd ((x & y) ^ (x | y) -> x ^ y): New pattern.
9649 2015-06-11 Marek Polacek <polacek@redhat.com>
9651 * match.pd: Use single_use throughout.
9653 2015-06-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
9655 * config/arm/arm.c (arm_option_params_internal): When optimising
9656 for speed set max_insns_skipped when arm_restrict_it.
9658 2015-06-11 Christian Bruel <christian.bruel@st.com>
9661 * config/arm/arm-c.c (arm_cpu_cpp_builtins): Conditionally define
9663 (arm_cpu_builtins): New function.
9664 (arm_pragma_target_parse): Call arm_cpu_builtins.
9665 * config/arm/arm-protos.h (arm_cpu_builtins): Declare.
9666 (arm_register_target_pragmas): Likewise.
9667 * config/arm/arm.h (REGISTER_TARGET_PRAGMAS):
9668 Call arm_register_target_pragmas.
9669 * config/arm/arm-c.c (arm_register_target_pragmas): New function.
9670 (arm_pragma_target_parse): Likewise.
9672 2015-06-10 Kaz Kojima <kkojima@gcc.gnu.org>
9674 * config/sh/sh.md (tstsi_t): Add '?' modifier to 'r' alternative
9675 of the second operand.
9677 2015-06-10 Uros Bizjak <ubizjak@gmail.com>
9680 * config/i386/i386.c (ix86_expand_vector_set): Use gen_int_mode
9681 to prepare mask operand for AVX512 modes.
9683 2015-06-10 Michael Meissner <meissner@linux.vnet.ibm.com>
9686 * doc/md.texi (Machine Constraints): Document that on the PowerPC
9687 if you use a constraint that targets a VSX register, you must use
9688 %x<n> in the template.
9690 2015-06-10 Max Filippov <jcmvbkbc@gmail.com>
9692 * config/xtensa/xtensa.h (TARGET_DEBUG): New definition.
9693 * config/xtensa/xtensa.md (define_attr "type"): New type "trap".
9694 (define_insn "trap"): New definition.
9696 2015-06-10 Richard Biener <rguenther@suse.de>
9698 * tree-vect-slp.c (vect_attempt_slp_rearrange_stmts): Split
9700 (vect_supported_load_permutation_p): ... here. Handle
9701 supportable permutations in reductions.
9702 * tree-vect-stmts.c (vectorizable_load): Handle SLP permutations
9703 for vectorizing strided group loads.
9705 2015-06-10 Jakub Jelinek <jakub@redhat.com>
9708 * config/i386/i386.c (ix86_split_long_move): For collisions
9709 involving direct tls segment refs, move the UNSPEC_TP possibly
9710 wrapped in ZERO_EXTEND out of the address for lea, to each of
9713 2015-06-10 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
9715 * config/arm/sync.md (*memory_barrier): Use dmb ish instead of
9716 dmb sy. Adjust tabs.
9718 2015-06-10 Tom de Vries <tom@codesourcery.com>
9720 * omp-low.c (expand_omp_target): Remove duplicate declaration of node.
9722 2015-06-10 Martin Liska <mliska@suse.cz>
9725 * mem-stats-traits.h (enum mem_alloc_origin): Add _ORIGIN suffix for
9726 all enum values in mem_alloc_origin.
9727 * alloc-pool.c (dump_alloc_pool_statistics): Use newly changed enum
9729 * alloc-pool.h (pool_allocator::pool_allocator): Likewise.
9730 * bitmap.c (bitmap_register): Likewise.
9731 (dump_bitmap_statistics): Likewise.
9732 * ggc-common.c (dump_ggc_loc_statistics): Likewise.
9733 (ggc_record_overhead): Likewise.
9734 * hash-map.h: Likewise.
9735 * hash-set.h: Likewise.
9736 * hash-table.c (void dump_hash_table_loc_statistics): Likewise.
9737 * hash-table.h: Likewise.
9738 * vec.c (vec_prefix::register_overhead): Likewise.
9739 (vec_prefix::release_overhead): Likewise.
9740 (dump_vec_loc_statistics): Likewise.
9742 2015-06-09 Christian Bruel <christian.bruel@st.com>
9745 * config/arm/arm.opt (THUMB, arm_restrict_it, inline_asm_unified): Save.
9746 * config/arm/arm-protos.h (arm_valid_target_attribute_tree): Declare.
9747 (arm_reset_previous_fndecl, arm_change_mode_p): Likewise.
9748 * config/arm/arm.h (SWITCHABLE_TARGET): Define.
9749 * config/arm/arm.c (arm_reset_previous_fndecl): New functions.
9750 (arm_valid_target_attribute_tree, arm_change_mode_p): Likewise.
9751 (arm_valid_target_attribute_p): Likewise.
9752 (arm_set_current_function, arm_can_inline_p): Likewise.
9753 (arm_valid_target_attribute_rec): Likewise.
9754 (arm_previous_fndecl): New variable.
9755 (TARGET_SET_CURRENT_FUNCTION, TARGET_OPTION_VALID_ATTRIBUTE_P): Define.
9756 (TARGET_CAN_INLINE_P): Define.
9757 (arm_asm_trampoline_template): Emit mode.
9758 (arm_file_start): Don't set unified syntax.
9759 (arm_declare_function_name): Set unified syntax and mode.
9760 (arm_option_override): Init target_option_default_node.
9761 and target_option_current_node.
9762 * config/arm/arm.md (*call_value_symbol): Set mode when possible.
9763 (*call_symbol): Likewise.
9764 * doc/extend.texi: Document ARM/Thumb target attribute.
9765 * doc/invoke.texi: Likewise.
9767 2015-06-09 Alexandre Oliva <aoliva@redhat.com>
9770 2015-06-09 Alexandre Oliva <aoliva@redhat.com>
9771 PR rtl-optimization/64164
9772 * Makefile.in (OBJS): Drop tree-ssa-copyrename.o.
9773 * tree-ssa-copyrename.c: Removed.
9774 * opts.c (default_options_table): Drop -ftree-copyrename. Add
9775 -ftree-coalesce-vars.
9776 * passes.def: Drop all occurrences of pass_rename_ssa_copies.
9777 * common.opt (ftree-copyrename): Ignore.
9778 (ftree-coalesce-inlined-vars): Likewise.
9779 * doc/invoke.texi: Remove the ignored options above.
9780 * gimple-expr.h (gimple_can_coalesce_p): Move declaration
9781 * tree-ssa-coalesce.h: ... here.
9782 * tree-ssa-uncprop.c: Include tree-ssa-coalesce.h and other
9783 headers required by it.
9784 * gimple-expr.c (gimple_can_coalesce_p): Allow coalescing
9785 across variables when flag_tree_coalesce_vars. Check register
9786 use and promoted modes to allow coalescing. Moved to
9787 tree-ssa-coalesce.c.
9788 * tree-ssa-live.c (struct tree_int_map_hasher): Move along
9789 with its member functions to tree-ssa-coalesce.c.
9790 (var_map_base_init): Likewise. Renamed to
9791 compute_samebase_partition_bases.
9792 (partition_view_normal): Drop want_bases parameter.
9793 (partition_view_bitmap): Likewise.
9794 * tree-ssa-live.h: Adjust declarations.
9795 * tree-ssa-coalesce.c: Include explow.h.
9796 (build_ssa_conflict_graph): Process PARM_ and RESULT_DECLs's
9797 default defs at the entry point.
9798 (dump_part_var_map): New.
9799 (compute_optimized_partition_bases): New, called by...
9800 (coalesce_ssa_name): ... when flag_tree_coalesce_vars, instead
9801 of compute_samebase_partition_bases. Adjust.
9802 * alias.c (nonoverlapping_memrefs_p): Disregard gimple-regs.
9803 * cfgexpand.c (leader_merge): New.
9804 (get_rtl_for_parm_ssa_default_def): New.
9805 (set_rtl): Merge exprs and attrs, even for MEMs and non-SSA
9806 vars. Update DECL_RTL for PARM_DECLs and RESULT_DECLs too.
9807 (expand_one_stack_var_at): Handle anonymous SSA_NAMEs. Drop
9808 redundant MEM attr setting.
9809 (expand_one_stack_var_1): Handle anonymous SSA_NAMEs. Renamed
9811 (expand_one_stack_var): ... this. New wrapper to check and
9812 skip already expanded SSA partitions.
9813 (record_alignment_for_reg_var): New, factored out of...
9814 (expand_one_var): ... this.
9815 (expand_one_ssa_partition): New.
9816 (adjust_one_expanded_partition_var): New.
9817 (expand_one_register_var): Check and skip already expanded SSA
9819 (expand_used_vars): Don't create DECLs for anonymous SSA
9820 names. Expand all SSA partitions, then adjust all SSA names.
9821 (pass::execute): Replace the loops that set
9822 SA.partition_to_pseudo from partition leaders and cleared
9823 DECL_RTL for multi-location variables, and that which used to
9824 rename vars and set attrs, with one that clears DECL_RTL and
9825 checks that PARMs and RESULTs default_defs match DECL_RTL.
9826 * cfgexpand.h (get_rtl_for_parm_ssa_default_def): Declare.
9827 * emit-rtl.c (set_reg_attrs_for_parm): Handle NULL decl.
9828 * explow.c (promote_ssa_mode): New.
9829 * explow.h (promote_ssa_mode): Declare.
9830 * expr.c (expand_expr_real_1): Handle anonymous SSA_NAMEs.
9831 * function.c: Include cfgexpand.h.
9832 (use_register_for_decl): Handle SSA_NAMEs, anonymous or not.
9833 (use_register_for_parm_decl): Wrapper for the above to
9834 special-case the result_ptr.
9835 (rtl_for_parm): Ditto for get_rtl_for_parm_ssa_default_def.
9836 (maybe_reset_rtl_for_parm): Reset DECL_RTL of parms with
9838 (assign_parm_adjust_stack_rtl): Add all and parm arguments,
9839 for rtl_for_parm. For SSA-assigned parms, zero stack_parm.
9840 (assign_parm_setup_block): Prefer SSA-assigned location.
9841 (assign_parm_setup_reg): Likewise. Use entry_parm for equiv
9842 if stack_parm is NULL.
9843 (assign_parm_setup_stack): Prefer SSA-assigned location.
9844 (assign_parms): Maybe reset DECL_RTL of params. Adjust stack
9845 rtl before testing for pointer bounds. Special-case result_ptr.
9846 (expand_function_start): Maybe reset DECL_RTL of result.
9847 Prefer SSA-assigned location for result and static chain.
9848 Factor out DECL_RESULT and SET_DECL_RTL.
9849 * tree-outof-ssa.c (insert_value_copy_on_edge): Handle
9850 anonymous SSA names. Use promote_ssa_mode.
9851 (get_temp_reg): Likewise.
9852 (remove_ssa_form): Adjust.
9853 * var-tracking.c (dataflow_set_clear_at_call): Take call_insn
9854 and get its reg_usage for reg invalidation.
9855 (compute_bb_dataflow): Pass it insn.
9856 (emit_notes_in_bb): Likewise.
9857 * tree-ssa-loop-niter.c (loop_exits_before_overflow): Don't
9858 fail assert on conversion between unsigned types.
9860 2015-06-09 Tom de Vries <tom@codesourcery.com>
9862 PR tree-optimization/65460
9863 * omp-low.c (expand_omp_target): Set parallelized_function on
9864 cgraph_node for child_fn.
9866 2015-06-09 Tom de Vries <tom@codesourcery.com>
9868 * omp-low.c (finalize_task_copyfn, expand_omp_taskreg): Mark function
9869 parallelized_function before add_new_function.
9871 2015-06-09 Andrew MacLeod <amacleod@redhat.com>
9873 * gcc-plugin.h: Move decls to plugin.h and include it.
9874 * plugin.h: Relocate decls from gcc-plugin.h
9875 * ggc-page.c: Include required header files.
9876 * passes.c: Likewise.
9877 * cgraphunit.c: Likewise.
9879 2015-06-09 Tom de Vries <tom@codesourcery.com>
9881 * tree-stdarg.c (expand_ifn_va_arg_1): Handle location.
9883 2015-06-09 Jason Merrill <jason@redhat.com>
9886 * toplev.c (check_global_declaration): Don't warn about a clone.
9888 2015-06-09 Marek Polacek <polacek@redhat.com>
9890 PR tree-optimization/66299
9891 * match.pd ((CST1 << A) == CST2 -> A == ctz (CST2) - ctz (CST1)
9892 ((CST1 << A) != CST2 -> A != ctz (CST2) - ctz (CST1)): New
9895 2015-06-09 Richard Biener <rguenther@suse.de>
9897 * tree-vect-slp.c (vect_build_slp_tree_1): Remove bailout on gaps.
9898 (vect_analyze_slp_instance): Instead do not falsely drop
9901 2015-06-09 Richard Biener <rguenther@suse.de>
9904 * match.pd: Handle A % (unsigned)(1 << B).
9906 2015-06-09 Aldy Hernandez <aldyh@redhat.com>
9908 * varasm.c (output_object_block_htab): Remove.
9909 (output_object_block_compare): New.
9910 (output_object_blocks): Sort named object_blocks before outputting
9913 2015-06-09 Richard Biener <rguenther@suse.de>
9915 PR tree-optimization/66419
9916 * tree-vect-slp.c (vect_supported_load_permutation_p): Properly
9917 consider GROUP_GAP when detecting a perfect subchain.
9919 2015-06-09 Nick Clifton <nickc@redhat.com>
9921 * config/rl78/rl78.c (rl78_select_section): When -mes0 is active
9922 place read only data in the .frodata section.
9924 2015-06-09 Shiva Chen <shiva0217@gmail.com>
9926 * sync.md (atomic_load<mode>): Add conditional code for lda/ldr
9927 (atomic_store<mode>): Likewise.
9929 2015-06-09 Richard Biener <rguenther@suse.de>
9931 * cfgloop.c (get_loop_body_in_bfs_order): Fix assert.
9933 2015-06-09 Richard Biener <rguenther@suse.de>
9936 * tree-inline.c (insert_init_debug_bind): Unshare value.
9938 2015-06-09 Richard Biener <rguenther@suse.de>
9940 PR tree-optimization/66396
9941 * graphite-isl-ast-to-gimple.c (graphite_regenerate_ast_isl):
9942 Rename virtual operands.
9944 2015-06-09 Tom de Vries <tom@codesourcery.com>
9946 * gimple-iterator.h (gimple_seq_nondebug_singleton_p): Don't
9947 always return false.
9949 2015-06-09 Alexandre Oliva <aoliva@redhat.com>
9951 PR rtl-optimization/64164
9952 * Makefile.in (OBJS): Drop tree-ssa-copyrename.o.
9953 * tree-ssa-copyrename.c: Removed.
9954 * opts.c (default_options_table): Drop -ftree-copyrename. Add
9955 -ftree-coalesce-vars.
9956 * passes.def: Drop all occurrences of pass_rename_ssa_copies.
9957 * common.opt (ftree-copyrename): Ignore.
9958 (ftree-coalesce-inlined-vars): Likewise.
9959 * doc/invoke.texi: Remove the ignored options above.
9960 * gimple-expr.h (gimple_can_coalesce_p): Move declaration
9961 * tree-ssa-coalesce.h: ... here.
9962 * tree-ssa-uncprop.c: Include tree-ssa-coalesce.h and other
9963 headers required by it.
9964 * gimple-expr.c (gimple_can_coalesce_p): Allow coalescing
9965 across variables when flag_tree_coalesce_vars. Check register
9966 use and promoted modes to allow coalescing. Moved to
9967 tree-ssa-coalesce.c.
9968 * tree-ssa-live.c (struct tree_int_map_hasher): Move along
9969 with its member functions to tree-ssa-coalesce.c.
9970 (var_map_base_init): Likewise. Renamed to
9971 compute_samebase_partition_bases.
9972 (partition_view_normal): Drop want_bases parameter.
9973 (partition_view_bitmap): Likewise.
9974 * tree-ssa-live.h: Adjust declarations.
9975 * tree-ssa-coalesce.c: Include explow.h.
9976 (build_ssa_conflict_graph): Process PARM_ and RESULT_DECLs's
9977 default defs at the entry point.
9978 (dump_part_var_map): New.
9979 (compute_optimized_partition_bases): New, called by...
9980 (coalesce_ssa_name): ... when flag_tree_coalesce_vars, instead
9981 of compute_samebase_partition_bases. Adjust.
9982 * alias.c (nonoverlapping_memrefs_p): Disregard gimple-regs.
9983 * cfgexpand.c (leader_merge): New.
9984 (get_rtl_for_parm_ssa_default_def): New.
9985 (set_rtl): Merge exprs and attrs, even for MEMs and non-SSA
9986 vars. Update DECL_RTL for PARM_DECLs and RESULT_DECLs too.
9987 (expand_one_stack_var_at): Handle anonymous SSA_NAMEs. Drop
9988 redundant MEM attr setting.
9989 (expand_one_stack_var_1): Handle anonymous SSA_NAMEs. Renamed
9991 (expand_one_stack_var): ... this. New wrapper to check and
9992 skip already expanded SSA partitions.
9993 (record_alignment_for_reg_var): New, factored out of...
9994 (expand_one_var): ... this.
9995 (expand_one_ssa_partition): New.
9996 (adjust_one_expanded_partition_var): New.
9997 (expand_one_register_var): Check and skip already expanded SSA
9999 (expand_used_vars): Don't create DECLs for anonymous SSA
10000 names. Expand all SSA partitions, then adjust all SSA names.
10001 (pass::execute): Replace the loops that set
10002 SA.partition_to_pseudo from partition leaders and cleared
10003 DECL_RTL for multi-location variables, and that which used to
10004 rename vars and set attrs, with one that clears DECL_RTL and
10005 checks that PARMs and RESULTs default_defs match DECL_RTL.
10006 * cfgexpand.h (get_rtl_for_parm_ssa_default_def): Declare.
10007 * emit-rtl.c (set_reg_attrs_for_parm): Handle NULL decl.
10008 * explow.c (promote_ssa_mode): New.
10009 * explow.h (promote_ssa_mode): Declare.
10010 * expr.c (expand_expr_real_1): Handle anonymous SSA_NAMEs.
10011 * function.c: Include cfgexpand.h.
10012 (use_register_for_decl): Handle SSA_NAMEs, anonymous or not.
10013 (use_register_for_parm_decl): Wrapper for the above to
10014 special-case the result_ptr.
10015 (rtl_for_parm): Ditto for get_rtl_for_parm_ssa_default_def.
10016 (maybe_reset_rtl_for_parm): Reset DECL_RTL of parms with
10017 multiple locations.
10018 (assign_parm_adjust_stack_rtl): Add all and parm arguments,
10019 for rtl_for_parm. For SSA-assigned parms, zero stack_parm.
10020 (assign_parm_setup_block): Prefer SSA-assigned location.
10021 (assign_parm_setup_reg): Likewise. Use entry_parm for equiv
10022 if stack_parm is NULL.
10023 (assign_parm_setup_stack): Prefer SSA-assigned location.
10024 (assign_parms): Maybe reset DECL_RTL of params. Adjust stack
10025 rtl before testing for pointer bounds. Special-case result_ptr.
10026 (expand_function_start): Maybe reset DECL_RTL of result.
10027 Prefer SSA-assigned location for result and static chain.
10028 Factor out DECL_RESULT and SET_DECL_RTL.
10029 * tree-outof-ssa.c (insert_value_copy_on_edge): Handle
10030 anonymous SSA names. Use promote_ssa_mode.
10031 (get_temp_reg): Likewise.
10032 (remove_ssa_form): Adjust.
10033 * var-tracking.c (dataflow_set_clear_at_call): Take call_insn
10034 and get its reg_usage for reg invalidation.
10035 (compute_bb_dataflow): Pass it insn.
10036 (emit_notes_in_bb): Likewise.
10037 * tree-ssa-loop-niter.c (loop_exits_before_overflow): Don't
10038 fail assert on conversion between unsigned types.
10040 2015-06-09 Alexandre Oliva <aoliva@redhat.com>
10043 * tree-inline.c (reset_debug_binding): New.
10044 (reset_debug_bindings): Likewise.
10045 (expand_call_inline): Call it.
10047 2015-06-08 Jan Hubicka <hubicka@ucw.cz>
10049 * tree.c (gimple_canonical_types_compatible_p): Drop comparsion of
10052 2015-06-08 Jan Hubicka <hubicka@ucw.cz>
10054 * lto-streamer-out.c (lto_output_location): Stream
10055 reserved locations correctly.
10056 * lto-streamer-in.c (lto_output_location): Likewise.
10058 2015-06-08 Andrew MacLeod <amacleod@redhat.com>
10060 * coretypes.h: Include hash-table.h and hash-set.h for host files.
10061 * ggc.h: Don't include statistics.h>
10062 * hash-map.h: Remove all includes.
10063 * hash-set.h: Likewise.
10064 * hash-table.h: Add statistics.h, inchash.h and hash-map-traits.h to
10065 the include list. Remove <new>.
10066 * inchash.h: Remove all includes.
10067 * mem-stats.h: Likewise.
10068 * vec.h: No special processing for generators or ggc.
10069 * alias.c : Adjust include files.
10070 * alloc-pool.c : Likewise.
10071 * alloc-pool.h : Likewise.
10072 * asan.c : Likewise.
10073 * attribs.c : Likewise.
10074 * auto-inc-dec.c : Likewise.
10075 * auto-profile.c : Likewise.
10076 * bb-reorder.c : Likewise.
10077 * bitmap.c : Likewise.
10078 * bitmap.h : Likewise.
10079 * bt-load.c : Likewise.
10080 * builtins.c : Likewise.
10081 * caller-save.c : Likewise.
10082 * calls.c : Likewise.
10083 * ccmp.c : Likewise.
10084 * cfg.c : Likewise.
10085 * cfganal.c : Likewise.
10086 * cfgbuild.c : Likewise.
10087 * cfgcleanup.c : Likewise.
10088 * cfgexpand.c : Likewise.
10089 * cfghooks.c : Likewise.
10090 * cfgloop.c : Likewise.
10091 * cfgloop.h : Likewise.
10092 * cfgloopanal.c : Likewise.
10093 * cfgloopmanip.c : Likewise.
10094 * cfgrtl.c : Likewise.
10095 * cgraph.c : Likewise.
10096 * cgraphbuild.c : Likewise.
10097 * cgraphclones.c : Likewise.
10098 * cgraphunit.c : Likewise.
10099 * cilk-common.c : Likewise.
10100 * combine-stack-adj.c : Likewise.
10101 * combine.c : Likewise.
10102 * compare-elim.c : Likewise.
10103 * context.c : Likewise.
10104 * convert.c : Likewise.
10105 * coverage.c : Likewise.
10106 * cppbuiltin.c : Likewise.
10107 * cprop.c : Likewise.
10108 * cse.c : Likewise.
10109 * cselib.c : Likewise.
10110 * data-streamer-in.c : Likewise.
10111 * data-streamer-out.c : Likewise.
10112 * data-streamer.c : Likewise.
10113 * data-streamer.h : Likewise.
10114 * dbxout.c : Likewise.
10115 * dce.c : Likewise.
10116 * ddg.c : Likewise.
10117 * debug.c : Likewise.
10118 * df-core.c : Likewise.
10119 * df-problems.c : Likewise.
10120 * df-scan.c : Likewise.
10122 * dfp.c : Likewise.
10123 * dojump.c : Likewise.
10124 * dominance.c : Likewise.
10125 * domwalk.c : Likewise.
10126 * double-int.c : Likewise.
10127 * dse.c : Likewise.
10128 * dumpfile.c : Likewise.
10129 * dwarf2asm.c : Likewise.
10130 * dwarf2cfi.c : Likewise.
10131 * dwarf2out.c : Likewise.
10132 * emit-rtl.c : Likewise.
10133 * et-forest.c : Likewise.
10134 * except.c : Likewise.
10135 * except.h : Likewise.
10136 * explow.c : Likewise.
10137 * expmed.c : Likewise.
10138 * expr.c : Likewise.
10139 * final.c : Likewise.
10140 * fixed-value.c : Likewise.
10141 * fold-const.c : Likewise.
10142 * function.c : Likewise.
10143 * fwprop.c : Likewise.
10144 * gcc-plugin.h : Likewise.
10145 * gcc.c : Likewise.
10146 * gcse-common.c : Likewise.
10147 * gcse.c : Likewise.
10148 * genattrtab.c : Likewise.
10149 * genautomata.c : Likewise.
10150 * genconditions.c : Likewise.
10151 * genemit.c : Likewise.
10152 * generic-match-head.c : Likewise.
10153 * genextract.c : Likewise.
10154 * gengtype-state.c : Likewise.
10155 * gengtype.c : Likewise.
10156 * genhooks.c : Likewise.
10157 * genmatch.c : Likewise.
10158 * genmodes.c : Likewise.
10159 * genrecog.c : Likewise.
10160 * gensupport.c : Likewise.
10161 * ggc-common.c : Likewise.
10162 * ggc-internal.h : Likewise.
10163 * ggc-none.c : Likewise.
10164 * ggc-page.c : Likewise.
10165 * gimple-builder.c : Likewise.
10166 * gimple-expr.c : Likewise.
10167 * gimple-fold.c : Likewise.
10168 * gimple-iterator.c : Likewise.
10169 * gimple-low.c : Likewise.
10170 * gimple-match-head.c : Likewise.
10171 * gimple-pretty-print.c : Likewise.
10172 * gimple-ssa-isolate-paths.c : Likewise.
10173 * gimple-ssa-strength-reduction.c : Likewise.
10174 * gimple-ssa.h : Likewise.
10175 * gimple-streamer-in.c : Likewise.
10176 * gimple-streamer-out.c : Likewise.
10177 * gimple-streamer.h : Likewise.
10178 * gimple-walk.c : Likewise.
10179 * gimple.c : Likewise.
10180 * gimplify-me.c : Likewise.
10181 * gimplify.c : Likewise.
10182 * godump.c : Likewise.
10183 * graph.c : Likewise.
10184 * graphds.c : Likewise.
10185 * graphite-blocking.c : Likewise.
10186 * graphite-dependences.c : Likewise.
10187 * graphite-interchange.c : Likewise.
10188 * graphite-isl-ast-to-gimple.c : Likewise.
10189 * graphite-optimize-isl.c : Likewise.
10190 * graphite-poly.c : Likewise.
10191 * graphite-scop-detection.c : Likewise.
10192 * graphite-sese-to-poly.c : Likewise.
10193 * graphite.c : Likewise.
10194 * haifa-sched.c : Likewise.
10195 * hard-reg-set.h : Likewise.
10196 * hw-doloop.c : Likewise.
10197 * ifcvt.c : Likewise.
10198 * inchash.c : Likewise.
10199 * incpath.c : Likewise.
10200 * init-regs.c : Likewise.
10201 * input.c : Likewise.
10202 * internal-fn.c : Likewise.
10203 * ipa-chkp.c : Likewise.
10204 * ipa-comdats.c : Likewise.
10205 * ipa-cp.c : Likewise.
10206 * ipa-devirt.c : Likewise.
10207 * ipa-icf-gimple.c : Likewise.
10208 * ipa-icf.c : Likewise.
10209 * ipa-inline-analysis.c : Likewise.
10210 * ipa-inline-transform.c : Likewise.
10211 * ipa-inline.c : Likewise.
10212 * ipa-polymorphic-call.c : Likewise.
10213 * ipa-profile.c : Likewise.
10214 * ipa-prop.c : Likewise.
10215 * ipa-pure-const.c : Likewise.
10216 * ipa-ref.c : Likewise.
10217 * ipa-reference.c : Likewise.
10218 * ipa-split.c : Likewise.
10219 * ipa-utils.c : Likewise.
10220 * ipa-visibility.c : Likewise.
10221 * ipa.c : Likewise.
10222 * ira-build.c : Likewise.
10223 * ira-color.c : Likewise.
10224 * ira-conflicts.c : Likewise.
10225 * ira-costs.c : Likewise.
10226 * ira-emit.c : Likewise.
10227 * ira-lives.c : Likewise.
10228 * ira.c : Likewise.
10229 * jump.c : Likewise.
10230 * langhooks.c : Likewise.
10231 * lcm.c : Likewise.
10232 * libfuncs.h : Likewise.
10233 * lists.c : Likewise.
10234 * loop-doloop.c : Likewise.
10235 * loop-init.c : Likewise.
10236 * loop-invariant.c : Likewise.
10237 * loop-iv.c : Likewise.
10238 * loop-unroll.c : Likewise.
10239 * lower-subreg.c : Likewise.
10240 * lra-assigns.c : Likewise.
10241 * lra-coalesce.c : Likewise.
10242 * lra-constraints.c : Likewise.
10243 * lra-eliminations.c : Likewise.
10244 * lra-lives.c : Likewise.
10245 * lra-remat.c : Likewise.
10246 * lra-spills.c : Likewise.
10247 * lra.c : Likewise.
10248 * lto-cgraph.c : Likewise.
10249 * lto-compress.c : Likewise.
10250 * lto-opts.c : Likewise.
10251 * lto-section-in.c : Likewise.
10252 * lto-section-out.c : Likewise.
10253 * lto-streamer-in.c : Likewise.
10254 * lto-streamer-out.c : Likewise.
10255 * lto-streamer.c : Likewise.
10256 * lto-streamer.h : Likewise.
10257 * mcf.c : Likewise.
10258 * mode-switching.c : Likewise.
10259 * modulo-sched.c : Likewise.
10260 * omega.c : Likewise.
10261 * omp-low.c : Likewise.
10262 * optabs.c : Likewise.
10263 * opts-global.c : Likewise.
10264 * opts.h : Likewise.
10265 * passes.c : Likewise.
10266 * plugin.c : Likewise.
10267 * postreload-gcse.c : Likewise.
10268 * postreload.c : Likewise.
10269 * predict.c : Likewise.
10270 * print-rtl.c : Likewise.
10271 * print-tree.c : Likewise.
10272 * profile.c : Likewise.
10273 * read-md.c : Likewise.
10274 * read-md.h : Likewise.
10275 * read-rtl.c : Likewise.
10276 * real.c : Likewise.
10277 * realmpfr.c : Likewise.
10278 * recog.c : Likewise.
10279 * ree.c : Likewise.
10280 * reg-stack.c : Likewise.
10281 * regcprop.c : Likewise.
10282 * reginfo.c : Likewise.
10283 * regrename.c : Likewise.
10284 * regstat.c : Likewise.
10285 * reload.c : Likewise.
10286 * reload1.c : Likewise.
10287 * reorg.c : Likewise.
10288 * resource.c : Likewise.
10289 * rtl-chkp.c : Likewise.
10290 * rtl.c : Likewise.
10291 * rtl.h : Likewise.
10292 * rtlanal.c : Likewise.
10293 * rtlhash.c : Likewise.
10294 * rtlhash.h : Likewise.
10295 * rtlhooks.c : Likewise.
10296 * sanopt.c : Likewise.
10297 * sched-deps.c : Likewise.
10298 * sched-ebb.c : Likewise.
10299 * sched-rgn.c : Likewise.
10300 * sched-vis.c : Likewise.
10301 * sdbout.c : Likewise.
10302 * sel-sched-dump.c : Likewise.
10303 * sel-sched-ir.c : Likewise.
10304 * sel-sched-ir.h : Likewise.
10305 * sel-sched.c : Likewise.
10306 * sese.c : Likewise.
10307 * shrink-wrap.c : Likewise.
10308 * shrink-wrap.h : Likewise.
10309 * simplify-rtx.c : Likewise.
10310 * stack-ptr-mod.c : Likewise.
10311 * statistics.c : Likewise.
10312 * stmt.c : Likewise.
10313 * stor-layout.c : Likewise.
10314 * store-motion.c : Likewise.
10315 * stringpool.c : Likewise.
10316 * symtab.c : Likewise.
10317 * target-globals.c : Likewise.
10318 * targhooks.c : Likewise.
10319 * tlink.c : Likewise.
10320 * toplev.c : Likewise.
10321 * tracer.c : Likewise.
10322 * trans-mem.c : Likewise.
10323 * tree-affine.c : Likewise.
10324 * tree-affine.h : Likewise.
10325 * tree-browser.c : Likewise.
10326 * tree-call-cdce.c : Likewise.
10327 * tree-cfg.c : Likewise.
10328 * tree-cfgcleanup.c : Likewise.
10329 * tree-chkp-opt.c : Likewise.
10330 * tree-chkp.c : Likewise.
10331 * tree-chrec.c : Likewise.
10332 * tree-complex.c : Likewise.
10333 * tree-data-ref.c : Likewise.
10334 * tree-dfa.c : Likewise.
10335 * tree-diagnostic.c : Likewise.
10336 * tree-dump.c : Likewise.
10337 * tree-eh.c : Likewise.
10338 * tree-eh.h : Likewise.
10339 * tree-emutls.c : Likewise.
10340 * tree-hasher.h : Likewise.
10341 * tree-if-conv.c : Likewise.
10342 * tree-inline.c : Likewise.
10343 * tree-inline.h : Likewise.
10344 * tree-into-ssa.c : Likewise.
10345 * tree-iterator.c : Likewise.
10346 * tree-loop-distribution.c : Likewise.
10347 * tree-nested.c : Likewise.
10348 * tree-nrv.c : Likewise.
10349 * tree-object-size.c : Likewise.
10350 * tree-outof-ssa.c : Likewise.
10351 * tree-parloops.c : Likewise.
10352 * tree-phinodes.c : Likewise.
10353 * tree-predcom.c : Likewise.
10354 * tree-pretty-print.c : Likewise.
10355 * tree-profile.c : Likewise.
10356 * tree-scalar-evolution.c : Likewise.
10357 * tree-sra.c : Likewise.
10358 * tree-ssa-address.c : Likewise.
10359 * tree-ssa-alias.c : Likewise.
10360 * tree-ssa-ccp.c : Likewise.
10361 * tree-ssa-coalesce.c : Likewise.
10362 * tree-ssa-copy.c : Likewise.
10363 * tree-ssa-copyrename.c : Likewise.
10364 * tree-ssa-dce.c : Likewise.
10365 * tree-ssa-dom.c : Likewise.
10366 * tree-ssa-dse.c : Likewise.
10367 * tree-ssa-forwprop.c : Likewise.
10368 * tree-ssa-ifcombine.c : Likewise.
10369 * tree-ssa-live.c : Likewise.
10370 * tree-ssa-loop-ch.c : Likewise.
10371 * tree-ssa-loop-im.c : Likewise.
10372 * tree-ssa-loop-ivcanon.c : Likewise.
10373 * tree-ssa-loop-ivopts.c : Likewise.
10374 * tree-ssa-loop-manip.c : Likewise.
10375 * tree-ssa-loop-niter.c : Likewise.
10376 * tree-ssa-loop-prefetch.c : Likewise.
10377 * tree-ssa-loop-unswitch.c : Likewise.
10378 * tree-ssa-loop.c : Likewise.
10379 * tree-ssa-math-opts.c : Likewise.
10380 * tree-ssa-operands.c : Likewise.
10381 * tree-ssa-phiopt.c : Likewise.
10382 * tree-ssa-phiprop.c : Likewise.
10383 * tree-ssa-pre.c : Likewise.
10384 * tree-ssa-propagate.c : Likewise.
10385 * tree-ssa-reassoc.c : Likewise.
10386 * tree-ssa-sccvn.c : Likewise.
10387 * tree-ssa-scopedtables.c : Likewise.
10388 * tree-ssa-sink.c : Likewise.
10389 * tree-ssa-strlen.c : Likewise.
10390 * tree-ssa-structalias.c : Likewise.
10391 * tree-ssa-tail-merge.c : Likewise.
10392 * tree-ssa-ter.c : Likewise.
10393 * tree-ssa-threadedge.c : Likewise.
10394 * tree-ssa-threadupdate.c : Likewise.
10395 * tree-ssa-uncprop.c : Likewise.
10396 * tree-ssa-uninit.c : Likewise.
10397 * tree-ssa.c : Likewise.
10398 * tree-ssanames.c : Likewise.
10399 * tree-stdarg.c : Likewise.
10400 * tree-streamer-in.c : Likewise.
10401 * tree-streamer-out.c : Likewise.
10402 * tree-streamer.c : Likewise.
10403 * tree-streamer.h : Likewise.
10404 * tree-switch-conversion.c : Likewise.
10405 * tree-tailcall.c : Likewise.
10406 * tree-vect-data-refs.c : Likewise.
10407 * tree-vect-generic.c : Likewise.
10408 * tree-vect-loop-manip.c : Likewise.
10409 * tree-vect-loop.c : Likewise.
10410 * tree-vect-patterns.c : Likewise.
10411 * tree-vect-slp.c : Likewise.
10412 * tree-vect-stmts.c : Likewise.
10413 * tree-vectorizer.c : Likewise.
10414 * tree-vectorizer.h : Likewise.
10415 * tree-vrp.c : Likewise.
10416 * tree.c : Likewise.
10417 * tsan.c : Likewise.
10418 * ubsan.c : Likewise.
10419 * valtrack.c : Likewise.
10420 * valtrack.h : Likewise.
10421 * value-prof.c : Likewise.
10422 * var-tracking.c : Likewise.
10423 * varasm.c : Likewise.
10424 * varpool.c : Likewise.
10426 * vmsdbgout.c : Likewise.
10427 * vtable-verify.c : Likewise.
10428 * vtable-verify.h : Likewise.
10429 * web.c : Likewise.
10430 * wide-int.cc : Likewise.
10431 * xcoffout.c : Likewise.
10432 * config/aarch64/aarch64-builtins.c : Likewise.
10433 * config/aarch64/aarch64.c : Likewise.
10434 * config/aarch64/cortex-a57-fma-steering.c : Likewise.
10435 * config/alpha/alpha.c : Likewise.
10436 * config/arc/arc.c : Likewise.
10437 * config/arm/aarch-common.c : Likewise.
10438 * config/arm/arm-builtins.c : Likewise.
10439 * config/arm/arm-c.c : Likewise.
10440 * config/arm/arm.c : Likewise.
10441 * config/avr/avr-c.c : Likewise.
10442 * config/avr/avr-log.c : Likewise.
10443 * config/avr/avr.c : Likewise.
10444 * config/bfin/bfin.c : Likewise.
10445 * config/c6x/c6x.c : Likewise.
10446 * config/cr16/cr16.c : Likewise.
10447 * config/cris/cris.c : Likewise.
10448 * config/darwin-c.c : Likewise.
10449 * config/darwin.c : Likewise.
10450 * config/default-c.c : Likewise.
10451 * config/epiphany/epiphany.c : Likewise.
10452 * config/epiphany/mode-switch-use.c : Likewise.
10453 * config/epiphany/resolve-sw-modes.c : Likewise.
10454 * config/fr30/fr30.c : Likewise.
10455 * config/frv/frv.c : Likewise.
10456 * config/ft32/ft32.c : Likewise.
10457 * config/glibc-c.c : Likewise.
10458 * config/h8300/h8300.c : Likewise.
10459 * config/i386/i386-c.c : Likewise.
10460 * config/i386/i386.c : Likewise.
10461 * config/i386/msformat-c.c : Likewise.
10462 * config/i386/winnt-cxx.c : Likewise.
10463 * config/i386/winnt-stubs.c : Likewise.
10464 * config/i386/winnt.c : Likewise.
10465 * config/ia64/ia64-c.c : Likewise.
10466 * config/ia64/ia64.c : Likewise.
10467 * config/iq2000/iq2000.c : Likewise.
10468 * config/lm32/lm32.c : Likewise.
10469 * config/m32c/m32c-pragma.c : Likewise.
10470 * config/m32c/m32c.c : Likewise.
10471 * config/m32r/m32r.c : Likewise.
10472 * config/m68k/m68k.c : Likewise.
10473 * config/mcore/mcore.c : Likewise.
10474 * config/mep/mep-pragma.c : Likewise.
10475 * config/mep/mep.c : Likewise.
10476 * config/microblaze/microblaze-c.c : Likewise.
10477 * config/microblaze/microblaze.c : Likewise.
10478 * config/mips/mips.c : Likewise.
10479 * config/mmix/mmix.c : Likewise.
10480 * config/mn10300/mn10300.c : Likewise.
10481 * config/moxie/moxie.c : Likewise.
10482 * config/msp430/msp430-c.c : Likewise.
10483 * config/msp430/msp430.c : Likewise.
10484 * config/nds32/nds32-cost.c : Likewise.
10485 * config/nds32/nds32-fp-as-gp.c : Likewise.
10486 * config/nds32/nds32-intrinsic.c : Likewise.
10487 * config/nds32/nds32-isr.c : Likewise.
10488 * config/nds32/nds32-md-auxiliary.c : Likewise.
10489 * config/nds32/nds32-memory-manipulation.c : Likewise.
10490 * config/nds32/nds32-pipelines-auxiliary.c : Likewise.
10491 * config/nds32/nds32-predicates.c : Likewise.
10492 * config/nds32/nds32.c : Likewise.
10493 * config/nios2/nios2.c : Likewise.
10494 * config/nvptx/nvptx.c : Likewise.
10495 * config/pa/pa.c : Likewise.
10496 * config/pdp11/pdp11.c : Likewise.
10497 * config/rl78/rl78-c.c : Likewise.
10498 * config/rl78/rl78.c : Likewise.
10499 * config/rs6000/rs6000-c.c : Likewise.
10500 * config/rs6000/rs6000.c : Likewise.
10501 * config/rx/rx.c : Likewise.
10502 * config/s390/s390-c.c : Likewise.
10503 * config/s390/s390.c : Likewise.
10504 * config/sh/sh-c.c : Likewise.
10505 * config/sh/sh-mem.cc : Likewise.
10506 * config/sh/sh.c : Likewise.
10507 * config/sh/sh_optimize_sett_clrt.cc : Likewise.
10508 * config/sh/sh_treg_combine.cc : Likewise.
10509 * config/sol2-c.c : Likewise.
10510 * config/sol2-cxx.c : Likewise.
10511 * config/sol2-stubs.c : Likewise.
10512 * config/sol2.c : Likewise.
10513 * config/sparc/sparc-c.c : Likewise.
10514 * config/sparc/sparc.c : Likewise.
10515 * config/spu/spu-c.c : Likewise.
10516 * config/spu/spu.c : Likewise.
10517 * config/stormy16/stormy16.c : Likewise.
10518 * config/tilegx/mul-tables.c : Likewise.
10519 * config/tilegx/tilegx-c.c : Likewise.
10520 * config/tilegx/tilegx.c : Likewise.
10521 * config/tilepro/mul-tables.c : Likewise.
10522 * config/tilepro/tilepro-c.c : Likewise.
10523 * config/tilepro/tilepro.c : Likewise.
10524 * config/v850/v850-c.c : Likewise.
10525 * config/v850/v850.c : Likewise.
10526 * config/vax/vax.c : Likewise.
10527 * config/visium/visium.c : Likewise.
10528 * config/vms/vms-c.c : Likewise.
10529 * config/vms/vms.c : Likewise.
10530 * config/vxworks.c : Likewise.
10531 * config/winnt-c.c : Likewise.
10532 * config/xtensa/xtensa.c : Likewise.
10534 2015-06-08 Jan Hubicka <hubicka@ucw.cz>
10537 * ipa-utils.h (warn_types_mismatch): Update prototype.
10538 * ipa-devirt.c (odr_types_equivalent_p): Add loc1/loc2
10540 (type_mismatch_p): New function.
10541 (warn_types_mismatch): Reorg to work better on non-C++ types.
10542 (odr_types_equivalent_p): Add loc1/loc2 parameters.
10543 (add_type_duplicate): Update.
10545 2015-06-08 Tom de Vries <tom@codesourcery.com>
10547 PR rtl-optimization/66444
10548 * postreload.c (reload_combine): Use get_call_reg_set_usage instead of
10551 2015-06-08 Richard Biener <rguenther@suse.de>
10553 PR tree-optimization/66422
10554 * tree-ssa-loop-ivcanon.c (remove_exits_and_undefined_stmts): Split
10555 block after inserted gcc_unreachable.
10557 2015-06-08 Nick Clifton <nickc@redhat.com>
10559 * config/rx/rx.c (rx_function_value): Do not promote vector types.
10560 (rx_promote_function_mode): Likewise.
10561 * config/rx/rx.h (LIBCALL_VALUE): Likewise.
10563 2015-06-08 Jakub Jelinek <jakub@redhat.com>
10565 * genattrtab.c (insn_alternatives): Change type from int *
10567 (check_attr_test): Shift ((uint64_t) 1) instead of 1 up.
10568 (get_attr_value): Change type of num_alt to uint64_t.
10569 (compute_alternative_mask): Change return type from
10570 int to uint64_t, shift ((uint64_t) 1) instead of 1 up.
10571 (make_alternative_compare, mk_attr_alt): Change argument type
10572 from int to uint64_t.
10573 (simplify_test_exp): Change type of i from int to uint64_t.
10574 Shift ((uint64_t) 1) instead of 1 up.
10575 (main): Adjust oballocvec first argument from int to uint64_t.
10576 Shift ((uint64_t) 1) instead of 1 up.
10578 2015-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10581 * gdbhooks.py: Import sys.
10582 (intptr): New function. Replace int(...) by intptr(...).
10584 2015-06-08 Richard Biener <rguenther@suse.de>
10586 * tree-vect-stmts.c (vectorizable_load): Compute the pointer
10587 adjustment for gaps at the end of a SLP load group properly.
10588 * tree-vect-slp.c (vect_supported_load_permutation_p): Allow
10589 all permutations we can generate.
10590 (vect_transform_slp_perm_load): Use the correct group-size.
10592 2015-06-08 Marc Glisse <marc.glisse@inria.fr>
10594 * genmatch.c (expr::gen_transform): For conditions, guess the type
10595 from the second operand.
10597 2015-06-08 Tom de Vries <tom@codesourcery.com>
10599 PR tree-optimization/66442
10600 * gimple-iterator.h (gimple_seq_nondebug_singleton_p): Add function.
10601 * tree-parloops.c (try_transform_to_exit_first_loop_alt): Return false
10602 if the loop latch is not a singleton. Use
10603 gimple_seq_nondebug_singleton_p instead of gimple_seq_singleton_p.
10605 2015-06-08 Marek Polacek <polacek@redhat.com>
10608 * toplev.c (check_global_declaration): Don't warn about artificial
10611 2015-06-08 Tom de Vries <tom@codesourcery.com>
10613 PR tree-optimization/66436
10614 * cgraphunit.c (cgraph_node::analyze): Don't dump function to gimple
10616 * gimplify.c: Add tree-dump.h include.
10617 (gimplify_function_tree): Dump function to gimple dump file.
10618 * stor-layout.c (finalize_size_functions): Don't dump function to gimple
10621 2015-06-08 Tom de Vries <tom@codesourcery.com>
10623 PR tree-optimization/66435
10624 * cgraphunit.c (cgraph_node::add_new_function): Dump message on new
10627 2015-06-06 Jan Hubicka <hubicka@ucw.cz>
10629 * alias.c (get_alias_set): Be ready for TYPE_CANONICAL
10630 of ptr_type_node to not be ptr_to_node.
10631 * tree.c (gimple_types_compatible_p): Do not match TREE_CODE of
10632 TREE_TYPE of pointers.
10633 * gimple-expr.c (useless_type_conversion): Reorder the check for
10634 function pointers and TYPE_CANONICAL.
10636 2015-06-06 John David Anglin <danglin@gcc.gnu.org>
10639 * config/pa/pa-hpux10.h (TARGET_OS_CPP_BUILTINS): Rearrange builtin
10640 defines. Define _LARGEFILE_SOURCE and _LARGEFILE64_SOURCE for c++.
10641 Define _XOPEN_UNIX and _XOPEN_SOURCE_EXTENDED for c++ if unix95 or
10643 * config/pa/pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Likewise.
10644 Define _INCLUDE_STDC_SOURCE_PRE_199901, _INCLUDE_STDC_SOURCE_199901,
10645 _INCLUDE_XOPEN_SOURCE_PRE_500, _INCLUDE_XOPEN_SOURCE_520,
10646 _INCLUDE_XOPEN_SOURCE_PRE_600 and _INCLUDE_XOPEN_SOURCE_600 for c++
10647 and non iso if unix2003.
10649 2015-06-06 Aldy Hernandez <aldyh@redhat.com>
10651 * dwarf2out.c (gen_lexical_block_die): Initialize stmt_die.
10653 2015-06-06 Richard Sandiford <richard.sandiford@arm.com>
10655 * emit-rtl.c, expr.c, gcse.c, optabs.c, optabs.h, print-rtl.c,
10656 rtl.h, bb-reorder.c, builtins.c, calls.c, cfgbuild.c, cfgexpand.c,
10657 cfgrtl.c, cilk-common.c, config/i386/i386.md, cse.c, dwarf2cfi.c,
10658 except.c, final.c, function.c, gcse-common.c, genemit.c,
10659 haifa-sched.c, ifcvt.c, jump.c, loop-invariant.c, loop-iv.c,
10660 lra-constraints.c, lra.c, reload1.c, resource.c, rtlanal.c,
10661 sched-deps.c, sched-ebb.c, sel-sched-ir.c, sel-sched.c,
10662 shrink-wrap.c, stmt.c, store-motion.c: Replace rtx base types with
10665 2015-06-06 Mikhail Maltsev <maltsevm@gmail.com>
10667 * combine.c (combine_split_insns): Remove cast.
10668 * config/bfin/bfin.c (hwloop_fail): Add cast in try_split call.
10669 * config/sh/sh.c (sh_try_split_insn_simple): Remove cast.
10670 * config/sh/sh_treg_combine.cc (sh_treg_combine::execute): Add cast.
10671 * emit-rtl.c (try_split): Promote type of trial argument to rtx_insn.
10672 * genemit.c (gen_split): Change return type of generated functions to
10674 * genrecog.c (get_failure_return): Use NULL instead of NULL_RTX.
10675 (print_subroutine_start): Promote rtx to rtx_insn in gen_split_* and
10676 gen_peephole2_* functions.
10677 (print_subroutine, main): Likewise.
10678 * recog.c (peephole2_optimize): Remove cast.
10679 (peep2_next_insn): Promote return type to rtx_insn.
10680 * recog.h (peep2_next_insn): Fix prototype.
10681 * rtl.h (try_split, split_insns): Likewise.
10683 2015-06-06 DJ Delorie <dj@redhat.com>
10685 * config/msp430/msp430.c (msp430_asm_integer): Support addition
10686 and subtraction too.
10688 2015-06-05 Kaz Kojima <kkojima@gcc.gnu.org>
10691 * config/sh/constraints.md (Sid, Ssd): New memory constraints.
10692 * config/sh/sh.md (*mov<mode>): Use Sid and Ssd alternatives
10693 instead of Snd. Disparage Sid/z alternative with '^'.
10695 2015-06-05 Aldy Hernandez <aldyh@redhat.com>
10697 * dwarf2out.c: Remove deferred_locations*.
10698 (dwarf2_debug_hooks): Add early_finish hook.
10699 Remove global_decl hook.
10700 Add early_global_decl and late_global_decl hook.
10701 New global early_dwarf.
10702 New structure set_early_dwarf.
10703 (output_die): Indicate whether a DIE was generated early
10704 when generating assembly with -dA.
10705 (struct limbo_die_struct): Document created_for field.
10706 Remove file_table_last_lookup.
10707 (remove_AT): Return TRUE if successful.
10708 (remove_child_TAG): Clear die_parent.
10709 (reparent_child): New function abstracted from...
10710 (splice_child_die): ...here.
10711 (new_die): ICE if a DIE ends up in limbo too late.
10713 (defer_location): Remove.
10714 (add_subscript_info): Reuse DW_TAG_subrange_type if available.
10715 (fill_variable_array_bounds): New.
10716 (decl_start_label): Call fill_variable_array_bounds.
10717 (gen_formal_parameter_die): Rewrite to reuse previously generated
10719 (gen_subprogram_die): Same.
10720 (gen_variable_die): Same.
10721 (gen_const_die): Same.
10722 (gen_label_die): Same.
10723 (gen_lexical_block_die): Same.
10724 (decl_will_get_specification_p): New.
10725 (local_function_static): New.
10726 (gen_struct_or_union_type_die): Fill in variable-length fields.
10727 (gen_typedef_die): Fill in variable-length typedefs.
10728 (gen_tagged_type_die): Gracefully return on error_mark_node.
10729 Handle re-entrancy.
10730 (gen_type_die_with_usage): Handle variable-length types.
10731 Remove duplicate code for ARRAY_TYPE case.
10732 (process_scope_var): Only process imported modules during early
10734 (dwarf2out_early_global_decl): New.
10735 (dwarf2out_late_global_decl): Rename from dwarf2out_global_decl.
10736 (dwarf2out_type_decl): Set early_dwarf while calling
10738 (dwarf2out_decl): Verify that we did not recreate a previously
10740 Do not return on DECL_EXTERNALs in VAR_DECLs.
10741 Abstract some code to local_function_static.
10742 (lookup_filename): Remove use of file_table_last_lookup.
10743 Gracefully exit on missing file_name.
10744 (dwarf2out_finish): Verify limbo list.
10745 Remove deferred_locations_list use.
10746 Move deferred_asm_name and limbo flushing to...
10747 (dwarf2out_early_finish): ...here. New.
10748 (dwarf2out_c_finalize): Remove set of deferred_location_list,
10749 deferred_asm_name, and file_table_last_lookup.
10750 * cgraph.h (referred_to_p): Add default argument.
10751 * cgraphunit.c (referred_to_p): Add and handle include_self
10753 (analyze_functions): Add first_time argument.
10754 Call check_global_declaration for all symbols.
10755 Call late_global_decl for nodes for moribund nodes.
10756 (finalize_compilation_unit): Add new argument to
10758 Call early_global_decl for functions.
10759 Call early_finish debug hook.
10760 * dbxout.c (dbxout_early_global_decl): New.
10761 (dbxout_late_global_decl): New. Adapted from dbxout_global_decl.
10762 (dbx_debug_hooks): Add new hooks.
10763 (xcoff_debug_hooks): Same.
10764 * debug.c (do_nothing_debug_hooks): Add early_finish field.
10765 Add early and late debug hooks.
10766 Remove global_decl hook.
10767 * debug.h (struct gcc_debug_hooks): Add early_finish,
10768 early_global_decl, and late_global_decl fields.
10769 Remove global_decl field.
10770 Document gcc_debug_hooks.
10771 * gengtype.c (output_typename): Remove.
10772 * godump.c (go_early_global_decl): New.
10773 (go_late_global_decl): New.
10774 (go_global_decl): Remove.
10775 (dump_go_spec_init): Remove global_decl. Add
10776 {early,late}_global_decl.
10777 * langhooks-def.h (LANG_HOOKS_WRITE_GLOBALS): Remove.
10778 (LANG_HOOKS_POST_COMPILATION_PARSING_CLEANUPS): New.
10779 * langhooks.c (lhd_warn_unused_global_decl): Adjust comment.
10780 (write_global_declarations): Remove.
10781 (global_decl_processing): New.
10782 * langhooks.h (struct lang_hooks_for_decls): Remove
10783 final_write_globals field.
10784 Add post_compilation_parsing_cleanups field.
10785 * passes.c (rest_of_decl_compilation): Call early_global_decl.
10786 * sdbout.c: Add early and late_global_decl hooks. Remove
10787 sdbout_global_decl hook.
10788 Add early_finish field for sdb_debug_hooks.
10789 (sdbout_global_decl): Remove.
10790 (sdbout_early_global_decl): New.
10791 (sdbout_late_global_decl): New.
10792 * timevar.def (TV_PHASE_LATE_PARSING_CLEANUPS): New.
10793 * toplev.c (check_global_declaration): Rename from
10794 check_global_declaration_1.
10795 Adapt to use symtab infrastructure.
10796 (check_global_declarations): Remove.
10797 (emit_debug_global_declarations): Remove.
10798 (compile_file): Remove call to final_write_globals langhook.
10799 Run the actual compilation process.
10800 Perform any post compilation parser cleanups.
10801 Generate late debug info.
10802 * toplev.h (check_global_declaration): New.
10803 (check_global_declaration_1): Remove.
10804 (check_global_declarations): Remove.
10805 (write_global_declarations): Remove.
10806 (emit_debug_global_declarations): Remove.
10807 (global_decl_processing): New.
10808 * tree-core.h (struct tree_block): Add DIE field.
10809 * tree.h (BLOCK_DIE): New.
10810 * vmsdbgout.c (vmsdbgout_global_decl): Remove function and its use
10812 (vmsdbgout_early_global_decl): New.
10813 (vmsdbgout_late_global_decl): New.
10814 Add early_finish debug hook field to vmsdbg_debug_hooks.
10815 Remove vmsdbgout_decl to vmsdbgout_function_decl.
10816 Add early and late_global_decl debug hooks.
10818 2015-06-05 Julian Brown <julian@codesourcery.com>
10819 Sandra Loosemore <sandra@codesourcery.com>
10821 * config/print-sysroot-suffix.sh: Handle MULTILIB_REUSE settings.
10822 * config/t-sysroot-suffix (sysroot-suffix.h): Pass MULTILIB_REUSE
10823 to print-sysroot-suffix.sh script.
10825 2015-06-05 Tom de Vries <tom@codesourcery.com>
10827 merge from gomp4 branch:
10828 2015-05-28 Tom de Vries <tom@codesourcery.com>
10830 PR tree-optimization/65443
10831 * tree-parloops.c (replace_imm_uses, replace_uses_in_bb_by)
10832 (replace_uses_in_bbs_by, transform_to_exit_first_loop_alt)
10833 (try_transform_to_exit_first_loop_alt): New function.
10834 (transform_to_exit_first_loop): Use
10835 try_transform_to_exit_first_loop_alt.
10837 2015-06-05 James Greenhalgh <james.greenhalgh@arm.com>
10839 * builtins.c (expand_builtin_atomic_compare_exchange): Call
10840 emit_cmp_and_jump_insns with the mode of target.
10842 2015-06-05 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
10844 * config/i386/sse.md (sse3_mwait): Swap the operand constriants.
10846 2015-06-04 DJ Delorie <dj@redhat.com>
10848 * config/msp430/msp430.md (movsi_s): New. Special case for
10849 storing a 20-bit symbol into a 32-bit register.
10850 * config/msp430/msp430.c (msp430_subreg): Add support for it.
10851 * config/msp430/predicates.md (msp430_symbol_operand): New.
10853 2015-06-04 Sriraman Tallam <tmsriram@google.com>
10855 * c-family/c-common.c (noplt): New attribute.
10856 (handle_noplt_attribute): New handler.
10857 * calls.c (prepare_call_address): Check for noplt
10859 * config/i386/i386.c (ix86_expand_call): Check
10860 for noplt attribute.
10861 (ix86_nopic_noplt_attribute_p): New function.
10862 (ix86_output_call_insn): Output indirect call for non-pic
10864 * doc/extend.texi (noplt): Document new attribute.
10865 * doc/invoke.texi: Document new attribute.
10867 2015-06-04 Andrew MacLeod <amacleod@redhat.com>
10869 * coretypes.h: Include machmode.h, signop.h, wide-int.h, double-int.h,
10870 real.h, and fixed-value.h when included in host source files.
10871 * double-int.h: Remove redundant #includes listed above.
10872 * fixed-value.h: Likewise.
10873 * real.h: Likewise.
10874 * wide-int.h: Likewise.
10875 * inchash.h: Likewise.
10876 * rtl.h: Add some include files When included from a generator file.
10877 * target.h: Remove wide-int.h and insn-modes.h from the include list.
10878 * internal-fn.h: Don't include coretypes.h.
10879 * alias.c: Adjust includes for restructured coretypes.h.
10880 * asan.c: Likewise.
10881 * attribs.c: Likewise.
10882 * auto-inc-dec.c: Likewise.
10883 * auto-profile.c: Likewise.
10884 * bb-reorder.c: Likewise.
10885 * bt-load.c: Likewise.
10886 * builtins.c: Likewise.
10887 * caller-save.c: Likewise.
10888 * calls.c: Likewise.
10889 * ccmp.c: Likewise.
10891 * cfganal.c: Likewise.
10892 * cfgbuild.c: Likewise.
10893 * cfgcleanup.c: Likewise.
10894 * cfgexpand.c: Likewise.
10895 * cfghooks.c: Likewise.
10896 * cfgloop.c: Likewise.
10897 * cfgloop.h: Likewise.
10898 * cfgloopanal.c: Likewise.
10899 * cfgloopmanip.c: Likewise.
10900 * cfgrtl.c: Likewise.
10901 * cgraph.c: Likewise.
10902 * cgraphbuild.c: Likewise.
10903 * cgraphclones.c: Likewise.
10904 * cgraphunit.c: Likewise.
10905 * cilk-common.c: Likewise.
10906 * combine-stack-adj.c: Likewise.
10907 * combine.c: Likewise.
10908 * compare-elim.c: Likewise.
10909 * convert.c: Likewise.
10910 * coverage.c: Likewise.
10911 * cppbuiltin.c: Likewise.
10912 * cprop.c: Likewise.
10914 * cselib.c: Likewise.
10915 * data-streamer-in.c: Likewise.
10916 * data-streamer-out.c: Likewise.
10917 * data-streamer.c: Likewise.
10918 * dbxout.c: Likewise.
10921 * debug.c: Likewise.
10922 * df-core.c: Likewise.
10923 * df-problems.c: Likewise.
10924 * df-scan.c: Likewise.
10927 * dojump.c: Likewise.
10928 * dominance.c: Likewise.
10929 * domwalk.c: Likewise.
10930 * double-int.c: Likewise.
10932 * dumpfile.c: Likewise.
10933 * dwarf2asm.c: Likewise.
10934 * dwarf2cfi.c: Likewise.
10935 * dwarf2out.c: Likewise.
10936 * dwarf2out.h: Likewise.
10937 * emit-rtl.c: Likewise.
10938 * et-forest.c: Likewise.
10939 * except.c: Likewise.
10940 * explow.c: Likewise.
10941 * expmed.c: Likewise.
10942 * expr.c: Likewise.
10943 * final.c: Likewise.
10944 * fixed-value.c: Likewise.
10945 * fold-const.c: Likewise.
10946 * function.c: Likewise.
10947 * fwprop.c: Likewise.
10948 * gcc-plugin.h: Likewise.
10949 * gcse.c: Likewise.
10950 * generic-match-head.c: Likewise.
10951 * ggc-page.c: Likewise.
10952 * gimple-builder.c: Likewise.
10953 * gimple-expr.c: Likewise.
10954 * gimple-fold.c: Likewise.
10955 * gimple-iterator.c: Likewise.
10956 * gimple-low.c: Likewise.
10957 * gimple-match-head.c: Likewise.
10958 * gimple-pretty-print.c: Likewise.
10959 * gimple-ssa-isolate-paths.c: Likewise.
10960 * gimple-ssa-strength-reduction.c: Likewise.
10961 * gimple-streamer-in.c: Likewise.
10962 * gimple-streamer-out.c: Likewise.
10963 * gimple-streamer.h: Likewise.
10964 * gimple-walk.c: Likewise.
10965 * gimple.c: Likewise.
10966 * gimplify-me.c: Likewise.
10967 * gimplify.c: Likewise.
10968 * godump.c: Likewise.
10969 * graph.c: Likewise.
10970 * graphite-blocking.c: Likewise.
10971 * graphite-dependences.c: Likewise.
10972 * graphite-interchange.c: Likewise.
10973 * graphite-isl-ast-to-gimple.c: Likewise.
10974 * graphite-optimize-isl.c: Likewise.
10975 * graphite-poly.c: Likewise.
10976 * graphite-scop-detection.c: Likewise.
10977 * graphite-sese-to-poly.c: Likewise.
10978 * graphite.c: Likewise.
10979 * haifa-sched.c: Likewise.
10980 * hooks.h: Likewise.
10981 * hw-doloop.c: Likewise.
10982 * ifcvt.c: Likewise.
10983 * incpath.c: Likewise.
10984 * init-regs.c: Likewise.
10985 * internal-fn.c: Likewise.
10986 * ipa-chkp.c: Likewise.
10987 * ipa-comdats.c: Likewise.
10988 * ipa-cp.c: Likewise.
10989 * ipa-devirt.c: Likewise.
10990 * ipa-icf-gimple.c: Likewise.
10991 * ipa-icf.c: Likewise.
10992 * ipa-inline-analysis.c: Likewise.
10993 * ipa-inline-transform.c: Likewise.
10994 * ipa-inline.c: Likewise.
10995 * ipa-polymorphic-call.c: Likewise.
10996 * ipa-profile.c: Likewise.
10997 * ipa-prop.c: Likewise.
10998 * ipa-pure-const.c: Likewise.
10999 * ipa-ref.c: Likewise.
11000 * ipa-reference.c: Likewise.
11001 * ipa-split.c: Likewise.
11002 * ipa-utils.c: Likewise.
11003 * ipa-visibility.c: Likewise.
11005 * ira-build.c: Likewise.
11006 * ira-color.c: Likewise.
11007 * ira-conflicts.c: Likewise.
11008 * ira-costs.c: Likewise.
11009 * ira-emit.c: Likewise.
11010 * ira-lives.c: Likewise.
11012 * jump.c: Likewise.
11013 * langhooks.c: Likewise.
11015 * loop-doloop.c: Likewise.
11016 * loop-init.c: Likewise.
11017 * loop-invariant.c: Likewise.
11018 * loop-iv.c: Likewise.
11019 * loop-unroll.c: Likewise.
11020 * lower-subreg.c: Likewise.
11021 * lra-assigns.c: Likewise.
11022 * lra-coalesce.c: Likewise.
11023 * lra-constraints.c: Likewise.
11024 * lra-eliminations.c: Likewise.
11025 * lra-lives.c: Likewise.
11026 * lra-remat.c: Likewise.
11027 * lra-spills.c: Likewise.
11029 * lto-cgraph.c: Likewise.
11030 * lto-compress.c: Likewise.
11031 * lto-opts.c: Likewise.
11032 * lto-section-in.c: Likewise.
11033 * lto-section-out.c: Likewise.
11034 * lto-streamer-in.c: Likewise.
11035 * lto-streamer-out.c: Likewise.
11036 * lto-streamer.c: Likewise.
11038 * mode-switching.c: Likewise.
11039 * modulo-sched.c: Likewise.
11040 * omega.c: Likewise.
11041 * omp-low.c: Likewise.
11042 * optabs.c: Likewise.
11043 * opts-global.c: Likewise.
11044 * passes.c: Likewise.
11045 * plugin.c: Likewise.
11046 * postreload-gcse.c: Likewise.
11047 * postreload.c: Likewise.
11048 * predict.c: Likewise.
11049 * print-rtl.c: Likewise.
11050 * print-tree.c: Likewise.
11051 * profile.c: Likewise.
11052 * real.c: Likewise.
11053 * realmpfr.c: Likewise.
11054 * realmpfr.h: Likewise.
11055 * recog.c: Likewise.
11057 * reg-stack.c: Likewise.
11058 * regcprop.c: Likewise.
11059 * reginfo.c: Likewise.
11060 * regrename.c: Likewise.
11061 * regs.h: Likewise.
11062 * regstat.c: Likewise.
11063 * reload.c: Likewise.
11064 * reload1.c: Likewise.
11065 * reorg.c: Likewise.
11066 * resource.c: Likewise.
11067 * rtl-chkp.c: Likewise.
11068 * rtlanal.c: Likewise.
11069 * rtlhooks.c: Likewise.
11070 * sanopt.c: Likewise.
11071 * sched-deps.c: Likewise.
11072 * sched-ebb.c: Likewise.
11073 * sched-rgn.c: Likewise.
11074 * sched-vis.c: Likewise.
11075 * sdbout.c: Likewise.
11076 * sel-sched-dump.c: Likewise.
11077 * sel-sched-ir.c: Likewise.
11078 * sel-sched.c: Likewise.
11079 * sese.c: Likewise.
11080 * shrink-wrap.c: Likewise.
11081 * shrink-wrap.h: Likewise.
11082 * simplify-rtx.c: Likewise.
11083 * stack-ptr-mod.c: Likewise.
11084 * statistics.c: Likewise.
11085 * stmt.c: Likewise.
11086 * stor-layout.c: Likewise.
11087 * store-motion.c: Likewise.
11088 * stringpool.c: Likewise.
11089 * symtab.c: Likewise.
11090 * target-globals.c: Likewise.
11091 * targhooks.c: Likewise.
11092 * toplev.c: Likewise.
11093 * tracer.c: Likewise.
11094 * trans-mem.c: Likewise.
11095 * tree-affine.c: Likewise.
11096 * tree-affine.h: Likewise.
11097 * tree-browser.c: Likewise.
11098 * tree-call-cdce.c: Likewise.
11099 * tree-cfg.c: Likewise.
11100 * tree-cfgcleanup.c: Likewise.
11101 * tree-chkp-opt.c: Likewise.
11102 * tree-chkp.c: Likewise.
11103 * tree-chrec.c: Likewise.
11104 * tree-complex.c: Likewise.
11105 * tree-data-ref.c: Likewise.
11106 * tree-dfa.c: Likewise.
11107 * tree-diagnostic.c: Likewise.
11108 * tree-dump.c: Likewise.
11109 * tree-eh.c: Likewise.
11110 * tree-emutls.c: Likewise.
11111 * tree-if-conv.c: Likewise.
11112 * tree-inline.c: Likewise.
11113 * tree-into-ssa.c: Likewise.
11114 * tree-iterator.c: Likewise.
11115 * tree-loop-distribution.c: Likewise.
11116 * tree-nested.c: Likewise.
11117 * tree-nrv.c: Likewise.
11118 * tree-object-size.c: Likewise.
11119 * tree-outof-ssa.c: Likewise.
11120 * tree-parloops.c: Likewise.
11121 * tree-phinodes.c: Likewise.
11122 * tree-predcom.c: Likewise.
11123 * tree-pretty-print.c: Likewise.
11124 * tree-pretty-print.h: Likewise.
11125 * tree-profile.c: Likewise.
11126 * tree-scalar-evolution.c: Likewise.
11127 * tree-sra.c: Likewise.
11128 * tree-ssa-address.c: Likewise.
11129 * tree-ssa-alias.c: Likewise.
11130 * tree-ssa-ccp.c: Likewise.
11131 * tree-ssa-coalesce.c: Likewise.
11132 * tree-ssa-copy.c: Likewise.
11133 * tree-ssa-copyrename.c: Likewise.
11134 * tree-ssa-dce.c: Likewise.
11135 * tree-ssa-dom.c: Likewise.
11136 * tree-ssa-dse.c: Likewise.
11137 * tree-ssa-forwprop.c: Likewise.
11138 * tree-ssa-ifcombine.c: Likewise.
11139 * tree-ssa-live.c: Likewise.
11140 * tree-ssa-loop-ch.c: Likewise.
11141 * tree-ssa-loop-im.c: Likewise.
11142 * tree-ssa-loop-ivcanon.c: Likewise.
11143 * tree-ssa-loop-ivopts.c: Likewise.
11144 * tree-ssa-loop-manip.c: Likewise.
11145 * tree-ssa-loop-niter.c: Likewise.
11146 * tree-ssa-loop-prefetch.c: Likewise.
11147 * tree-ssa-loop-unswitch.c: Likewise.
11148 * tree-ssa-loop.c: Likewise.
11149 * tree-ssa-loop.h: Likewise.
11150 * tree-ssa-math-opts.c: Likewise.
11151 * tree-ssa-operands.c: Likewise.
11152 * tree-ssa-phiopt.c: Likewise.
11153 * tree-ssa-phiprop.c: Likewise.
11154 * tree-ssa-pre.c: Likewise.
11155 * tree-ssa-propagate.c: Likewise.
11156 * tree-ssa-reassoc.c: Likewise.
11157 * tree-ssa-sccvn.c: Likewise.
11158 * tree-ssa-scopedtables.c: Likewise.
11159 * tree-ssa-sink.c: Likewise.
11160 * tree-ssa-strlen.c: Likewise.
11161 * tree-ssa-structalias.c: Likewise.
11162 * tree-ssa-tail-merge.c: Likewise.
11163 * tree-ssa-ter.c: Likewise.
11164 * tree-ssa-threadedge.c: Likewise.
11165 * tree-ssa-threadupdate.c: Likewise.
11166 * tree-ssa-uncprop.c: Likewise.
11167 * tree-ssa-uninit.c: Likewise.
11168 * tree-ssa.c: Likewise.
11169 * tree-ssanames.c: Likewise.
11170 * tree-stdarg.c: Likewise.
11171 * tree-streamer-in.c: Likewise.
11172 * tree-streamer-out.c: Likewise.
11173 * tree-streamer.c: Likewise.
11174 * tree-switch-conversion.c: Likewise.
11175 * tree-tailcall.c: Likewise.
11176 * tree-vect-data-refs.c: Likewise.
11177 * tree-vect-generic.c: Likewise.
11178 * tree-vect-loop-manip.c: Likewise.
11179 * tree-vect-loop.c: Likewise.
11180 * tree-vect-patterns.c: Likewise.
11181 * tree-vect-slp.c: Likewise.
11182 * tree-vect-stmts.c: Likewise.
11183 * tree-vectorizer.c: Likewise.
11184 * tree-vrp.c: Likewise.
11185 * tree.c: Likewise.
11186 * tsan.c: Likewise.
11187 * ubsan.c: Likewise.
11188 * valtrack.c: Likewise.
11189 * value-prof.c: Likewise.
11190 * var-tracking.c: Likewise.
11191 * varasm.c: Likewise.
11192 * varpool.c: Likewise.
11193 * vmsdbgout.c: Likewise.
11194 * vtable-verify.c: Likewise.
11196 * wide-int-print.cc: Likewise.
11197 * wide-int-print.h: Likewise.
11198 * wide-int.cc: Likewise.
11199 * xcoffout.c: Likewise.
11200 * config/aarch64/aarch64-builtins.c: Likewise.
11201 * config/aarch64/aarch64.c: Likewise.
11202 * config/aarch64/cortex-a57-fma-steering.c: Likewise.
11203 * config/alpha/alpha.c: Likewise.
11204 * config/arc/arc.c: Likewise.
11205 * config/arm/aarch-common.c: Likewise.
11206 * config/arm/arm-builtins.c: Likewise.
11207 * config/arm/arm-c.c: Likewise.
11208 * config/arm/arm.c: Likewise.
11209 * config/avr/avr-c.c: Likewise.
11210 * config/avr/avr-log.c: Likewise.
11211 * config/avr/avr.c: Likewise.
11212 * config/bfin/bfin.c: Likewise.
11213 * config/c6x/c6x.c: Likewise.
11214 * config/cr16/cr16.c: Likewise.
11215 * config/cris/cris.c: Likewise.
11216 * config/darwin-c.c: Likewise.
11217 * config/darwin.c: Likewise.
11218 * config/default-c.c: Likewise.
11219 * config/epiphany/epiphany.c: Likewise.
11220 * config/epiphany/mode-switch-use.c: Likewise.
11221 * config/epiphany/resolve-sw-modes.c: Likewise.
11222 * config/fr30/fr30.c: Likewise.
11223 * config/frv/frv.c: Likewise.
11224 * config/ft32/ft32.c: Likewise.
11225 * config/glibc-c.c: Likewise.
11226 * config/h8300/h8300.c: Likewise.
11227 * config/i386/i386-c.c: Likewise.
11228 * config/i386/i386.c: Likewise.
11229 * config/i386/msformat-c.c: Likewise.
11230 * config/i386/winnt-cxx.c: Likewise.
11231 * config/i386/winnt-stubs.c: Likewise.
11232 * config/i386/winnt.c: Likewise.
11233 * config/ia64/ia64-c.c: Likewise.
11234 * config/ia64/ia64.c: Likewise.
11235 * config/iq2000/iq2000.c: Likewise.
11236 * config/lm32/lm32.c: Likewise.
11237 * config/m32c/m32c-pragma.c: Likewise.
11238 * config/m32c/m32c.c: Likewise.
11239 * config/m32r/m32r.c: Likewise.
11240 * config/m68k/m68k.c: Likewise.
11241 * config/mcore/mcore.c: Likewise.
11242 * config/mep/mep-pragma.c: Likewise.
11243 * config/mep/mep.c: Likewise.
11244 * config/microblaze/microblaze-c.c: Likewise.
11245 * config/microblaze/microblaze.c: Likewise.
11246 * config/mips/mips.c: Likewise.
11247 * config/mmix/mmix.c: Likewise.
11248 * config/mn10300/mn10300.c: Likewise.
11249 * config/moxie/moxie.c: Likewise.
11250 * config/msp430/msp430-c.c: Likewise.
11251 * config/msp430/msp430.c: Likewise.
11252 * config/nds32/nds32-cost.c: Likewise.
11253 * config/nds32/nds32-fp-as-gp.c: Likewise.
11254 * config/nds32/nds32-intrinsic.c: Likewise.
11255 * config/nds32/nds32-isr.c: Likewise.
11256 * config/nds32/nds32-md-auxiliary.c: Likewise.
11257 * config/nds32/nds32-memory-manipulation.c: Likewise.
11258 * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
11259 * config/nds32/nds32-predicates.c: Likewise.
11260 * config/nds32/nds32.c: Likewise.
11261 * config/nios2/nios2.c: Likewise.
11262 * config/nvptx/nvptx.c: Likewise.
11263 * config/pa/pa.c: Likewise.
11264 * config/pdp11/pdp11.c: Likewise.
11265 * config/rl78/rl78-c.c: Likewise.
11266 * config/rl78/rl78.c: Likewise.
11267 * config/rs6000/rs6000-c.c: Likewise.
11268 * config/rs6000/rs6000.c: Likewise.
11269 * config/rx/rx.c: Likewise.
11270 * config/s390/s390-c.c: Likewise.
11271 * config/s390/s390.c: Likewise.
11272 * config/sh/sh-c.c: Likewise.
11273 * config/sh/sh-mem.cc: Likewise.
11274 * config/sh/sh.c: Likewise.
11275 * config/sh/sh_optimize_sett_clrt.cc: Likewise.
11276 * config/sh/sh_treg_combine.cc: Likewise.
11277 * config/sol2-c.c: Likewise.
11278 * config/sol2-cxx.c: Likewise.
11279 * config/sol2-stubs.c: Likewise.
11280 * config/sol2.c: Likewise.
11281 * config/sparc/sparc-c.c: Likewise.
11282 * config/sparc/sparc.c: Likewise.
11283 * config/spu/spu-c.c: Likewise.
11284 * config/spu/spu.c: Likewise.
11285 * config/stormy16/stormy16.c: Likewise.
11286 * config/tilegx/mul-tables.c: Likewise.
11287 * config/tilegx/tilegx-c.c: Likewise.
11288 * config/tilegx/tilegx.c: Likewise.
11289 * config/tilepro/mul-tables.c: Likewise.
11290 * config/tilepro/tilepro-c.c: Likewise.
11291 * config/tilepro/tilepro.c: Likewise.
11292 * config/v850/v850-c.c: Likewise.
11293 * config/v850/v850.c: Likewise.
11294 * config/vax/vax.c: Likewise.
11295 * config/visium/visium.c: Likewise.
11296 * config/vms/vms-c.c: Likewise.
11297 * config/vms/vms.c: Likewise.
11298 * config/vxworks.c: Likewise.
11299 * config/winnt-c.c: Likewise.
11300 * config/xtensa/xtensa.c: Likewise.
11301 * common/config/bfin/bfin-common.c: Likewise.
11303 2015-06-04 Jan Hubicka <hubicka@ucw.cz>
11305 * tree.h (tree_code_for_canonical_type_merging): New function.
11306 * tree.c (gimple_canonical_types_compatible_p): Use
11307 tree_code_for_canonical_type_merging..
11309 2015-06-04 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
11313 * doc/tm.texi: Regenerate.
11314 * doc/tm.texi.in (TARGET_RELAXED_ORDERING): Delete.
11315 * target.def (TARGET_RELAXED_ORDERING): Likewise.
11316 * config/alpha/alpha.c (TARGET_RELAXED_ORDERING): Likewise.
11317 * config/ia64/ia64.c (TARGET_RELAXED_ORDERING): Likewise.
11318 * config/rs6000/rs6000.c (TARGET_RELAXED_ORDERING): Likewise.
11319 * config/sparc/linux.h (SPARC_RELAXED_ORDERING): Likewise.
11320 * config/sparc/linux64.h (SPARC_RELAXED_ORDERING): Likewise.
11321 * config/sparc/sparc.c (TARGET_RELAXED_ORDERING): Likewise.
11322 * config/sparc/sparc.h (SPARC_RELAXED_ORDERING): Likewise.
11324 2015-06-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
11326 * config/aarch64/aarch64.c (aarch64_override_options): Unconditionally
11327 register fma steering pass.
11328 * config/aarch64/cortex-a57-fma-steering.c (gate): Add gating on
11329 AARCH64_TUNE_FMA_STEERING.
11331 2015-06-03 Jan Hubicka <hubicka@ucw.cz>
11333 * tree.c (verify_type_variant): Verify that type and variant is
11335 (gimple_canonical_types_compatible_p): Look for main variants.
11337 2015-06-03 Michael Meissner <meissner@linux.vnet.ibm.com>
11339 * config.gcc (powerpc*-*-*): Add support for a new configure
11340 option --with-advance-toolchain=<xxx> which overrides using the
11341 default header files, libraries and dynamic linker.
11343 * config/rs6000/linux64.h (SUBSUBTARGET_EXTRA_SPECS): Add new
11344 specs to support the configure --with-advance-toolchain=<xxx>
11346 (INCLUDE_EXTRA_SPEC): Likewise.
11347 (LINK_OS_EXTRA_SPEC32): Likewise.
11348 (LINK_OK_EXTRA_SPEC64): Likewise.
11349 (LINK_OS_NEW_DTAGS_SPEC): Likewise.
11350 (DYNAMIC_LINKER_PREFIX): Likewise.
11351 (CPP_OS_DEFAULT_SPEC): Use the new specs for providing advance
11353 (GLIBC_DYNAMIC_LINKER32): Likewise.
11354 (GLIBC_DYNAMIC_LINKER64): Likewise.
11355 (LINK_OS_LINUX_SPEC32): Likewise.
11356 (LINK_OS_LINUX_SPEC64): Likewise.
11358 * doc/install.texi (--enable-advance-toolchain=<xx>): Document new
11359 configuration option.
11361 2015-06-03 Uros Bizjak <ubizjak@gmail.com>
11364 * config/i386/i386.c (ix86_function_arg_regno): Use ix86_cfun_abi
11365 to determine current function ABI.
11366 (ix86_function_value_regno_p): Ditto.
11368 2015-06-03 Martin Liska <mliska@suse.cz>
11370 * alloc-pool.h (struct pool_usage): Correct GNU coding style.
11371 * bitmap.h (struct bitmap_usage): Likewise.
11372 * ggc-common.c (struct ggc_usage): Likewise.
11373 * mem-stats.h (struct mem_location): Likewise.
11374 (struct mem_usage): Likewise.
11375 * vec.c (struct vec_usage): Likewise.
11377 2015-06-03 Benigno B. Junior <bbj@gentoo.org>
11379 * config/netbsd-elf.h (NETBSD_LINK_SPEC_ELF): Turn -symbolic into
11382 2015-06-02 Andres Tiraboschi <andres.tiraboschi@tallertechnologies.com>
11384 * doc/plugins.texi (enum plugin_event): New event.
11385 * plugin.c (register_callback): Handle PLUGIN_START_PARSE_FUNCTION
11386 and PLUGIN_FINISH_FUNCTION.
11387 * plugin.def (PLUGIN_START_PARSE_FUNCTION): Add plugin event
11388 (PLUGIN_FINISH_PARSE_FUNCTION): Likewise.
11390 2015-06-03 Richard Biener <rguenther@suse.de>
11392 * tree-vect-data-refs.c (vect_analyze_group_access): Properly
11393 compute GROUP_GAP for the first element.
11394 * tree-vect-slp.c (vect_build_slp_tree_1): Remove restriction
11397 2015-06-03 Nick Clifton <nickc@redhat.com>
11399 * config/rl78/rl78-real.md: Add peepholes to avoid a register
11400 copy when calling a function.
11401 * config/rl78/rl78.c (need_to_save): Do not push the frame
11402 pointer in an interrupt handler prologue if it is never used.
11404 2015-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
11406 * ifcvt (end_ifcvt_sequence): Fix typo in comment above.
11408 2015-06-03 Ilya Enkovich <ilya.enkovich@intel.com>
11410 * ipa-chkp.c (chkp_maybe_create_clone): Create alias
11411 reference when cloning alias node.
11413 2015-06-03 Martin Liska <mliska@suse.cz>
11415 * alloc-pool.h (struct pool_usage): Correct space padding.
11416 * ggc-page.c (ggc_print_statistics): Align columns in a report.
11417 * mem-stats.h (struct mem_usage): Add argument to print_dash_line.
11418 * tree.c (dump_tree_statistics): Align columns in a report.
11420 2015-06-03 Martin Liska <mliska@suse.cz>
11422 * alloc-pool.c (allocate_pool_descriptor): Remove.
11423 (struct pool_output_info): Likewise.
11424 (print_alloc_pool_statistics): Likewise.
11425 (dump_alloc_pool_statistics): Likewise.
11426 * alloc-pool.h (struct pool_usage): New struct.
11427 (pool_allocator::initialize): Change usage of memory statistics
11428 to a new interface.
11429 (pool_allocator::release): Likewise.
11430 (pool_allocator::allocate): Likewise.
11431 (pool_allocator::remove): Likewise.
11432 * mem-stats-traits.h (enum mem_alloc_origin): Add new enum value
11433 for a pool allocator.
11434 * mem-stats.h (struct mem_location): Add new ctor.
11435 (struct mem_usage): Add counter for number of
11437 (mem_alloc_description::register_descriptor): New overload of
11438 * mem-stats.h (mem_location::to_string): New function.
11439 * bitmap.h (struct bitmap_usage): Use this new function.
11440 * ggc-common.c (struct ggc_usage): Likewise.
11443 2015-06-03 Richard Sandiford <richard.sandiford@arm.com>
11445 * defaults.h (SWITCHABLE_TARGET, TARGET_SUPPORTS_WIDE_INT): Move out
11446 of GCC_INSN_FLAGS_H block.
11448 2015-06-03 Andrew Bennett <andrew.bennett@imgtec.com>
11450 * explow.c (plus_constant): Update check after force_const_mem call
11451 to see if the value returned is not a NULL_RTX.
11453 2015-06-03 Ilya Enkovich <ilya.enkovich@intel.com>
11455 * ipa.c (symbol_table::remove_unreachable_nodes): Don't
11456 remove instumentation thunks calling reachable functions.
11457 * lto-cgraph.c (output_refs): Always output IPA_REF_CHKP.
11458 * lto/lto-partition.c (privatize_symbol_name_1): New.
11459 (privatize_symbol_name): Privatize both decl and orig_decl
11460 names for instrumented functions.
11461 * cgraph.c (cgraph_node::verify_node): Add transparent
11462 alias chain check for instrumented node.
11464 2015-06-03 Marek Polacek <polacek@redhat.com>
11468 * tree.c (attribute_value_equal): Handle attribute format.
11469 (cmp_attrib_identifiers): Factor out of lookup_ident_attribute.
11471 2015-06-03 Richard Biener <rguenther@suse.de>
11473 PR tree-optimization/63916
11474 * tree-ssa-sccvn.c (vn_reference_maybe_forwprop_address):
11475 Forward-propagate non-invariant addresses by splicing their
11476 reference ops if the result isn't going to be used by PRE.
11477 (vn_reference_lookup_3): Remove pointless assert.
11479 2015-06-03 Richard Biener <rguenther@suse.de>
11481 PR tree-optimization/66375
11482 * tree-scalar-evolution.c (follow_ssa_edge_binary): First
11483 add to the evolution before following SSA edges.
11485 2015-06-03 Bin Cheng <bin.cheng@arm.com>
11487 * tree-ssa-loop-ivopts.c (dump_iv): New parameter.
11488 (dump_use, dump_cand, find_induction_variables): Pass new argument
11490 (record_use): Preserve the ssa name information in IV.
11492 2015-06-03 Richard Sandiford <richard.sandiford@arm.com>
11494 * genpreds.c (mark_mode_tests): Mark all MATCH_CODEs as
11496 (add_mode_tests): Don't add mode tests if the predicate only
11497 accepts scalar constant integers. Otherwise, allow the mode
11498 of "op" to be VOIDmode if the predicate does accept such integers.
11500 2015-06-02 Jim Wilson <jim.wilson@linaro.org>
11503 * config/aarch64/aarch64.c (aarch64_function_value_regno_p): Change
11504 !TARGET_GENERAL_REGS_ONLY to TARGET_FLOAT.
11505 (aarch64_secondary_reload): Likewise
11506 (aarch64_expand_builtin_va_start): Change TARGET_GENERAL_REGS_ONLY
11508 (aarch64_gimplify_va_arg_expr, aarch64_setup_incoming_varargs):
11511 2015-06-03 Kugan Vivekanandarajah <kuganv@linaro.org>
11512 Zhenqiang Chen <zhenqiang.chen@linaro.org>
11515 * cprop.c (try_replace_reg): Check cost of constants before propagating.
11517 2015-06-02 Michael Meissner <meissner@linux.vnet.ibm.com>
11519 * config/rs6000/rs6000-modes.def (IFmode): Define IFmode to
11520 provide access to the IBM extended double floating point mode if
11521 long double is IEEE 128-bit floating point.
11522 (KFmode): Define KFmode to provide access to IEEE 128-bit floating
11523 point if long double is the IBM extended double type.
11525 * config/rs6000/rs6000.opt (-mfloat128-none): New switches to
11526 enable adding IEEE 128-bit floating point support.
11527 (-mfloat128-software): Likewise.
11528 (-mfloat128-sw): Likewise.
11530 * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): Do not allow
11531 128-bit floating point types to occupy any register if
11532 -mlong-double-64. Do not allow use of IFmode/KFmode unless
11533 -mfloat128-software is enabled.
11534 (rs6000_debug_reg_global): Add IEEE 128-bit floating point debug
11536 (rs6000_option_override_internal): Add -mfloat128-* support.
11537 (rs6000_init_builtins): Setup __ibm128 and __float128 type modes.
11539 * config/rs6000/rs6000.h (rs6000_builtin_type_index): Add ibm128
11540 and float128 type nodes.
11541 (ieee128_float_type_node): Likewise.
11542 (ibm128_float_type_node): Likewise.
11544 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11547 * config/aarch64/geniterators.sh: Rewrite in awk.
11549 2015-06-02 Martin Liska <mliska@suse.cz>
11551 * alloc-pool.h (pool_allocator::pool_allocator): Set implicit
11552 values to avoid -Wmaybe-uninitialized errors.
11554 2015-06-02 Richard Biener <rguenther@suse.de>
11557 * dwarf2out.c (lookup_context_die): New function.
11558 (resolve_addr): Avoid forcing a full DIE for the
11559 target of a DW_TAG_GNU_call_site during late compilation.
11560 Instead create a stub DIE without a type if we have a
11561 context DIE present.
11563 2015-06-02 Uros Bizjak <ubizjak@gmail.com>
11565 * df-scan.c (df_scan_start_dump): Add space between regno and regname.
11567 2015-06-02 Bin Cheng <bin.cheng@arm.com>
11569 PR tree-optimization/48052
11570 * cfgloop.h (struct control_iv): New.
11571 (struct loop): New field control_ivs.
11572 * tree-ssa-loop-niter.c : Include "stor-layout.h".
11573 (number_of_iterations_lt): Set no_overflow information.
11574 (number_of_iterations_exit): Init control iv in niter struct.
11575 (record_control_iv): New.
11576 (estimate_numbers_of_iterations_loop): Call record_control_iv.
11577 (loop_exits_before_overflow): New. Interface factored out of
11578 scev_probably_wraps_p.
11579 (scev_probably_wraps_p): Factor loop niter related code into
11580 loop_exits_before_overflow.
11581 (free_numbers_of_iterations_estimates_loop): Free control ivs.
11582 * tree-ssa-loop-niter.h (free_loop_control_ivs): New.
11584 2015-06-02 Eric Botcazou <ebotcazou@adacore.com>
11586 * gimplify.c (gimplify_modify_expr): Do not create a DECL_DEBUG_EXPR if
11587 the target doesn't belong to the current function.
11589 2015-06-02 Marek Polacek <polacek@redhat.com>
11591 PR middle-end/66345
11592 * gimple-fold.c (gimple_fold_builtin_snprintf): Return false if
11593 get_maxval_strlen does not produce an INTEGER_CST.
11595 2015-06-02 Richard Sandiford <richard.sandiford@arm.com>
11597 * config/arc/constraints.md: Use lower-case names in match_code.
11598 * config/mmix/constraints.md: Likewise.
11600 2015-06-02 Richard Biener <rguenther@suse.de>
11602 PR tree-optimization/65961
11603 * tree-vect-slp.c (vect_get_and_check_slp_defs): Remove bogus
11604 check and clarify dump message.
11605 (vect_build_slp_tree): If all children are built up from scalars
11606 build up the parent from scalars instead.
11607 * tree-vect-stmts.c (vect_is_simple_use): Cleanup.
11609 2015-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11612 * gdbhooks.py: Use int(...) instead of long(...). Use print(...)
11613 instead of print ... .
11615 2015-06-02 Alan Modra <amodra@gmail.com>
11617 * config/rs6000/vsx.md (vsx_extract_v4sf): Revert accidental
11620 2015-06-02 Bin Cheng <bin.cheng@arm.com>
11622 PR tree-optimization/52563
11623 PR tree-optimization/62173
11624 * tree-ssa-loop-ivopts.c (struct iv): New field. Reorder fields.
11625 (alloc_iv, set_iv): New parameter.
11626 (determine_biv_step): Delete.
11627 (find_bivs): Inline original determine_biv_step. Pass new
11628 argument to set_iv.
11629 (idx_find_step): Use no_overflow information for conversion.
11630 * tree-scalar-evolution.c (analyze_scalar_evolution_in_loop): Let
11631 resolve_mixers handle folded_casts.
11632 (instantiate_scev_name): Change bool parameter to bool pointer.
11633 (instantiate_scev_poly, instantiate_scev_binary): Ditto.
11634 (instantiate_array_ref, instantiate_scev_not): Ditto.
11635 (instantiate_scev_3, instantiate_scev_2): Ditto.
11636 (instantiate_scev_1, instantiate_scev_r): Ditto.
11637 (instantiate_scev_convert, ): Change parameter. Pass argument
11638 to chrec_convert_aggressive.
11639 (instantiate_scev): Change argument.
11640 (resolve_mixers): New parameter and set it.
11641 (scev_const_prop): New argument.
11642 * tree-scalar-evolution.h (resolve_mixers): New parameter.
11643 * tree-chrec.c (convert_affine_scev): Call chrec_convert instead
11645 (chrec_convert): New parameter. Move definition below.
11646 (chrec_convert_aggressive): New parameter and set it. Call
11647 convert_affine_scev.
11648 * tree-chrec.h (chrec_convert): New parameter.
11649 (chrec_convert_aggressive): Ditto.
11651 2015-06-01 Eric Botcazou <ebotcazou@adacore.com>
11653 * gimplify.c (gimplify_modify_expr_rhs): Use simple test on the size.
11654 * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Do not remove
11655 the LHS of a no-return call if its type has variable size.
11656 * tree-cfgcleanup.c (fixup_noreturn_call): Likewise.
11657 * tree-cfg.c (verify_gimple_call): Accept these no-return calls.
11659 2015-06-01 Andreas Tobler <andreast@gcc.gnu.org>
11661 * read-rtl.c: Adapt to use HAVE_DECL_ATOLL instead of HAVE_ATOLL.
11662 * config.in: Regenerate.
11664 2015-06-01 Yuri Rumyantsev <ysrumyan@gmail.com>
11666 * tree-vect-data-refs.c (vect_analyze_data_ref_access): Allow
11667 consecutive accesses within outer-loop with force_vectorize
11668 for references with zero step in inner-loop.
11670 2015-06-01 Vidya Praveen <vidyapraveen@arm.com>
11672 * Makefile.in: Pick up gcov-dump dependencies from gcc/ directory
11673 rather than from gcc/build directory.
11675 2015-06-01 Matthew Wahab <matthew.wahab@arm.com>
11678 * config/aarch64/aarch64.c (aarch64_split_compare_and_swap): Check
11679 for __sync memory models, emit initial loads and final barriers as
11682 2015-06-01 Matthew Wahab <matthew.wahab@arm.com>
11685 * config/aarch64/aarch64.c (aarch64_emit_post_barrier):New.
11686 (aarch64_split_atomic_op): Check for __sync memory models, emit
11687 appropriate initial loads and final barriers.
11689 2015-06-01 Vidya Praveen <vidyapraveen@arm.com>
11691 * Makefile.in: Fix gcov dependencies that should
11692 not point to a build folder.
11694 2015-06-01 Richard Biener <rguenther@suse.de>
11697 2015-05-29 Richard Biener <rguenther@suse.de>
11699 PR tree-optimization/66314
11700 * tree-ssa-threadupdate.c (create_block_for_threading): Add
11701 parameter that says which loop the new block belongs to.
11702 (ssa_create_duplicates): Blocks duplicated for the threaded
11703 path belong to the loop of the thread destination.
11705 2015-06-01 Martin Liska <mliska@suse.cz>
11707 * sched-deps.c: Include pool-alloc.h before
11708 cselib.h header file is included.
11710 2015-06-01 Richard Biener <rguenther@suse.de>
11712 * tree-ssa-structalias.c (ipa_pta_execute): Handle address-taken
11715 2015-06-01 Martin Liska <mliska@suse.cz>
11717 * alloc-pool.h: Add ATTRIBUTE_UNUSED for
11718 a function local variable.
11720 2015-06-01 Martin Liska <mliska@suse.cz>
11722 * alloc-pool.c (create_alloc_pool): Remove.
11723 (empty_alloc_pool): Likewise.
11724 (free_alloc_pool): Likewise.
11725 (free_alloc_pool_if_empty): Likewise.
11726 (pool_alloc): Likewise.
11727 (pool_free): Likewise.
11728 * alloc-pool.h: Remove old declarations.
11730 2015-06-01 Martin Liska <mliska@suse.cz>
11732 * ira-build.c (initiate_allocnos): Use new type-based pool allocator.
11733 (ira_create_object): Likewise.
11734 (ira_create_allocno): Likewise.
11735 (ira_create_live_range): Likewise.
11736 (copy_live_range): Likewise.
11737 (ira_finish_live_range): Likewise.
11738 (ira_free_allocno_costs): Likewise.
11739 (finish_allocno): Likewise.
11740 (finish_allocnos): Likewise.
11741 (initiate_prefs): Likewise.
11742 (ira_create_pref): Likewise.
11743 (finish_pref): Likewise.
11744 (finish_prefs): Likewise.
11745 (initiate_copies): Likewise.
11746 (ira_create_copy): Likewise.
11747 (finish_copy): Likewise.
11748 (finish_copies): Likewise.
11749 (finish_prefs): Likewise.
11751 2015-06-01 Martin Liska <mliska@suse.cz>
11753 * ipa-cp.c (ipcp_value::add_source): Use new type-based pool allocator.
11754 (allocate_and_init_ipcp_value): Likewise.
11755 (ipcp_lattice::add_value): Likewise.
11756 (merge_agg_lats_step): Likewise.
11757 (ipcp_driver): Likewise.
11758 * ipa-prop.c (ipa_free_all_structures_after_ipa_cp): Likewise.
11759 (ipa_free_all_structures_after_iinln): Likewise.
11760 * ipa-prop.h: Likewise.
11762 2015-06-01 Martin Liska <mliska@suse.cz>
11764 * ipa-inline-analysis.c (edge_set_predicate): Use new type-based
11766 (set_hint_predicate): Likewise.
11767 (inline_summary_alloc): Likewise.
11768 (reset_inline_edge_summary): Likewise.
11769 (reset_inline_summary): Likewise.
11770 (set_cond_stmt_execution_predicate): Likewise.
11771 (set_switch_stmt_execution_predicate): Likewise.
11772 (compute_bb_predicates): Likewise.
11773 (estimate_function_body_sizes): Likewise.
11774 (inline_free_summary): Likewise.
11776 2015-06-01 Martin Liska <mliska@suse.cz>
11778 * ipa-prop.c (ipa_set_jf_constant): Use new type-based pool allocator.
11779 (ipa_edge_duplication_hook): Likewise.
11780 (ipa_free_all_structures_after_ipa_cp): Likewise.
11781 (ipa_free_all_structures_after_iinln): Likewise.
11783 2015-06-01 Martin Liska <mliska@suse.cz>
11785 * ipa-profile.c (account_time_size): Use new type-based pool allocator.
11786 (ipa_profile_generate_summary): Likewise.
11787 (ipa_profile_read_summary): Likewise.
11788 (ipa_profile): Likewise.
11790 2015-06-01 Martin Liska <mliska@suse.cz>
11792 * tree-ssa-structalias.c (new_var_info): Use new type-based
11794 (new_constraint): Likewise.
11795 (init_alias_vars): Likewise.
11796 (delete_points_to_sets): Likewise.
11798 2015-06-01 Martin Liska <mliska@suse.cz>
11800 * tree-ssa-strlen.c (new_strinfo): Use new type-based pool allocator.
11801 (free_strinfo): Likewise.
11802 (pass_strlen::execute): Likewise.
11804 2015-06-01 Martin Liska <mliska@suse.cz>
11806 * tree-ssa-sccvn.c (vn_reference_insert): Use new type-based
11808 (vn_reference_insert_pieces): Likewise.
11809 (vn_phi_insert): Likewise.
11810 (visit_reference_op_call): Likewise.
11811 (copy_phi): Likewise.
11812 (copy_reference): Likewise.
11813 (process_scc): Likewise.
11814 (allocate_vn_table): Likewise.
11815 (free_vn_table): Likewise.
11817 2015-06-01 Martin Liska <mliska@suse.cz>
11819 * tree-ssa-reassoc.c (add_to_ops_vec): Use new type-based
11821 (add_repeat_to_ops_vec): Likewise.
11822 (get_ops): Likewise.
11823 (maybe_optimize_range_tests): Likewise.
11824 (init_reassoc): Likewise.
11825 (fini_reassoc): Likewise.
11827 2015-06-01 Martin Liska <mliska@suse.cz>
11829 * tree-ssa-pre.c (get_or_alloc_expr_for_name): Use new type-based
11831 (bitmap_set_new): Likewise.
11832 (get_or_alloc_expr_for_constant): Likewise.
11833 (get_or_alloc_expr_for): Likewise.
11834 (phi_translate_1): Likewise.
11835 (compute_avail): Likewise.
11836 (init_pre): Likewise.
11837 (fini_pre): Likewise.
11839 2015-06-01 Martin Liska <mliska@suse.cz>
11841 * sched-deps.c (create_dep_node): Use new type-based pool allocator.
11842 (delete_dep_node): Likewise.
11843 (create_deps_list): Likewise.
11844 (free_deps_list): Likewise.
11845 (sched_deps_init): Likewise.
11846 (sched_deps_finish): Likewise.
11848 2015-06-01 Martin Liska <mliska@suse.cz>
11850 * regcprop.c (free_debug_insn_changes): Use new type-based
11852 (replace_oldest_value_reg): Likewise.
11853 (pass_cprop_hardreg::execute): Likewise.
11855 2015-06-01 Martin Liska <mliska@suse.cz>
11857 * ira-build.c (initiate_cost_vectors): Use new type-based
11859 (ira_allocate_cost_vector): Likewise.
11860 (ira_free_cost_vector): Likewise.
11861 (finish_cost_vectors): Likewise.
11863 2015-06-01 Martin Liska <mliska@suse.cz>
11865 * sel-sched-ir.c (alloc_sched_pools): Use new type-based
11867 (free_sched_pools): Likewise.
11868 * sel-sched-ir.h (_list_alloc): Likewise.
11869 (_list_remove): Likewise.
11871 2015-06-01 Martin Liska <mliska@suse.cz>
11873 * stmt.c (add_case_node): Use new type-based pool allocator.
11874 (expand_case): Likewise.
11875 (expand_sjlj_dispatch_table): Likewise.
11877 2015-06-01 Martin Liska <mliska@suse.cz>
11879 * tree-ssa-math-opts.c (occ_new): Use new type-based pool allocator.
11880 (free_bb): Likewise.
11881 (pass_cse_reciprocals::execute): Likewise.
11883 2015-06-01 Martin Liska <mliska@suse.cz>
11885 * tree-sra.c (sra_initialize): Use new type-based pool allocator.
11886 (sra_deinitialize) Likewise.
11887 (create_access_1) Likewise.
11888 (build_accesses_from_assign) Likewise.
11889 (create_artificial_child_access) Likewise.
11891 2015-06-01 Martin Liska <mliska@suse.cz>
11893 * dse.c (get_group_info):Use new type-based pool allocator.
11894 (dse_step0) Likewise.
11895 (free_store_info) Likewise.
11896 (delete_dead_store_insn) Likewise.
11897 (free_read_records) Likewise.
11898 (record_store) Likewise.
11899 (replace_read) Likewise.
11900 (check_mem_read_rtx) Likewise.
11901 (scan_insn) Likewise.
11902 (dse_step1) Likewise.
11903 (dse_step7) Likewise.
11905 2015-06-01 Martin Liska <mliska@suse.cz>
11907 * df-scan.c (struct df_scan_problem_data):Use new type-based
11909 (df_scan_free_internal) Likewise.
11910 (df_scan_alloc) Likewise.
11911 (df_grow_reg_info) Likewise.
11912 (df_free_ref) Likewise.
11913 (df_insn_create_insn_record) Likewise.
11914 (df_mw_hardreg_chain_delete) Likewise.
11915 (df_insn_info_delete) Likewise.
11916 (df_free_collection_rec) Likewise.
11917 (df_mw_hardreg_chain_delete_eq_uses) Likewise.
11918 (df_sort_and_compress_mws) Likewise.
11919 (df_ref_create_structure) Likewise.
11920 (df_ref_record) Likewise.
11922 2015-06-01 Martin Liska <mliska@suse.cz>
11924 * df-problems.c (df_chain_create):Use new type-based pool allocator.
11925 (df_chain_unlink_1) Likewise.
11926 (df_chain_unlink) Likewise.
11927 (df_chain_remove_problem) Likewise.
11928 (df_chain_alloc) Likewise.
11929 (df_chain_free) Likewise.
11930 * df.h (struct dataflow) Likewise.
11932 2015-06-01 Martin Liska <mliska@suse.cz>
11934 * cselib.c (new_elt_list):Use new type-based pool allocator.
11935 (new_elt_loc_list) Likewise.
11936 (unchain_one_elt_list) Likewise.
11937 (unchain_one_elt_loc_list) Likewise.
11938 (unchain_one_value) Likewise.
11939 (new_cselib_val) Likewise.
11940 (cselib_init) Likewise.
11941 (cselib_finish) Likewise.
11943 2015-06-01 Martin Liska <mliska@suse.cz>
11945 * config/sh/sh.c (add_constant):Use new type-based pool allocator.
11946 (sh_reorg) Likewise.
11948 2015-06-01 Martin Liska <mliska@suse.cz>
11950 * cfg.c (initialize_original_copy_tables):Use new type-based
11952 (free_original_copy_tables) Likewise.
11953 (copy_original_table_clear) Likewise.
11954 (copy_original_table_set) Likewise.
11956 2015-06-01 Martin Liska <mliska@suse.cz>
11958 * asan.c (asan_mem_ref_get_alloc_pool):Use new type-based
11960 (asan_mem_ref_new) Likewise.
11961 (free_mem_ref_resources) Likewise.
11963 2015-06-01 Martin Liska <mliska@suse.cz>
11965 * var-tracking.c (variable_htab_free):Use new type-based
11967 (attrs_list_clear) Likewise.
11968 (attrs_list_insert) Likewise.
11969 (attrs_list_copy) Likewise.
11970 (shared_hash_unshare) Likewise.
11971 (shared_hash_destroy) Likewise.
11972 (unshare_variable) Likewise.
11973 (var_reg_delete_and_set) Likewise.
11974 (var_reg_delete) Likewise.
11975 (var_regno_delete) Likewise.
11976 (drop_overlapping_mem_locs) Likewise.
11977 (variable_union) Likewise.
11978 (insert_into_intersection) Likewise.
11979 (canonicalize_values_star) Likewise.
11980 (variable_merge_over_cur) Likewise.
11981 (dataflow_set_merge) Likewise.
11982 (remove_duplicate_values) Likewise.
11983 (variable_post_merge_new_vals) Likewise.
11984 (dataflow_set_preserve_mem_locs) Likewise.
11985 (dataflow_set_remove_mem_locs) Likewise.
11986 (variable_from_dropped) Likewise.
11987 (variable_was_changed) Likewise.
11988 (set_slot_part) Likewise.
11989 (clobber_slot_part) Likewise.
11990 (delete_slot_part) Likewise.
11991 (loc_exp_insert_dep) Likewise.
11992 (notify_dependents_of_changed_value) Likewise.
11993 (emit_notes_for_differences_1) Likewise.
11994 (vt_emit_notes) Likewise.
11995 (vt_initialize) Likewise.
11996 (vt_finalize) Likewise.
11998 2015-06-01 Martin Liska <mliska@suse.cz>
12000 * ira-color.c (init_update_cost_records):Use new type-based
12002 (get_update_cost_record) Likewise.
12003 (free_update_cost_record_list) Likewise.
12004 (finish_update_cost_records) Likewise.
12005 (initiate_cost_update) Likewise.
12007 2015-06-01 Martin Liska <mliska@suse.cz>
12009 * lra.c (init_insn_regs): Use new type-based pool allocator.
12010 (new_insn_reg) Likewise.
12011 (free_insn_reg) Likewise.
12012 (free_insn_regs) Likewise.
12013 (finish_insn_regs) Likewise.
12014 (init_insn_recog_data) Likewise.
12015 (init_reg_info) Likewise.
12016 (finish_reg_info) Likewise.
12017 (lra_free_copies) Likewise.
12018 (lra_create_copy) Likewise.
12019 (invalidate_insn_data_regno_info) Likewise.
12021 2015-06-01 Martin Liska <mliska@suse.cz>
12023 * lra-lives.c (free_live_range): Use new type-based pool allocator.
12024 (free_live_range_list) Likewise.
12025 (create_live_range) Likewise.
12026 (copy_live_range) Likewise.
12027 (lra_merge_live_ranges) Likewise.
12028 (remove_some_program_points_and_update_live_ranges) Likewise.
12029 (lra_live_ranges_init) Likewise.
12030 (lra_live_ranges_finish) Likewise.
12032 2015-06-01 Martin Liska <mliska@suse.cz>
12034 * et-forest.c (et_new_occ): Use new type-based pool allocator.
12035 (et_new_tree): Likewise.
12036 (et_free_tree): Likewise.
12037 (et_free_tree_force): Likewise.
12038 (et_free_pools): Likewise.
12039 (et_split): Likewise.
12041 2015-06-01 Martin Liska <mliska@suse.cz>
12043 * alloc-pool.c (struct alloc_pool_descriptor): Move definition
12045 * alloc-pool.h (pool_allocator::pool_allocator): New function.
12046 (pool_allocator::release): Likewise.
12047 (inline pool_allocator::release_if_empty): Likewise.
12048 (inline pool_allocator::~pool_allocator): Likewise.
12049 (pool_allocator::allocate): Likewise.
12050 (pool_allocator::remove): Likewise.
12052 2015-06-01 James Greenhalgh <james.greenhalgh@arm.com>
12054 * sched-deps.c (sched_analyze_2): Replace fuseable with fusible
12057 2015-06-01 James Greenhalgh <james.greenhalgh@arm.com>
12059 * gcc/config/arm/arm-protos.h (tune_params): Rename fuseable_ops
12061 * gcc/config/arm/arm.c (arm_print_tune_info): Likewise.
12062 (arm_macro_fusion_p): Likewise.
12063 (arm_macro_fusion_pair_p): Likewise.
12065 2015-06-01 James Greenhalgh <james.greenhalgh@arm.com>
12067 * config/aarch64/aarch64-protos.h (tune_params): Rename
12068 fuseable_ops to fusible_ops.
12069 * config/aarch64/aarch64.c (generic_tunings): Rename
12070 fuseable_ops to fusible_ops.
12071 (cortexa53_tunings): Likewise.
12072 (cortexa57_tunings): Likewise.
12073 (thunderx_tunings): Likewise.
12074 (xgene1_tunings): Likewise.
12075 (aarch64_macro_fusion_p): Likewise.
12076 (aarch64_macro_fusion_pair_p): Likewise.
12078 2015-06-01 Dominik Vogt <vogt@linux.vnet.ibm.com>
12080 * config/s390/driver-native.c: New file.
12081 * config/s390/x-native: New file.
12082 * config.host: Add new files for s390.
12083 * config/s390/s390.h (DRIVER_SELF_SPECS): Add support for -mtune=native
12085 * config.gcc: Likewise.
12086 * config/s390/s390.opt (march): Likewise; add PROCESSOR_NATIVE
12087 * config/s390/s390-opts.h (enum processor_type): Ditto.
12088 * config/s390/s390.c (s390_option_override): Catch unhandled
12091 2015-06-01 Ilya Enkovich <ilya.enkovich@intel.com>
12094 * cgraph.c (cgraph_edge::redirect_call_stmt_to_callee): Add
12095 redirection for instrumented calls.
12096 * lto-wrapper.c (merge_and_complain): Merge -fcheck-pointer-bounds.
12097 (append_compiler_options): Append -fcheck-pointer-bounds.
12098 * tree-chkp.h (chkp_copy_call_skip_bounds): New.
12099 (chkp_redirect_edge): New.
12100 * tree-chkp.c (chkp_copy_call_skip_bounds): New.
12101 (chkp_redirect_edge): New.
12103 2015-06-01 Richard Biener <rguenther@suse.de>
12105 PR tree-optimization/66280
12106 * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Fix pattern
12109 2015-06-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
12111 * config/aarch64/aarch64.md
12112 (*<LOGICAL:optab>_one_cmpl_<SHIFT:optab><mode>3): Change type to
12115 2015-06-01 Eric Botcazou <ebotcazou@adacore.com>
12117 * config/i386/winnt.c (i386_pe_encode_section_info) <FUNCTION_DECL>:
12118 Remove obsolete kludge.
12120 2015-06-01 Richard Biener <rguenther@suse.de>
12122 * tree-ssa-reassoc.c (get_rank): Simplify.
12124 2015-05-31 H.J. Lu <hongjiu.lu@intel.com>
12126 * configure.ac (NO_PIE_CFLAGS): Check CXXFLAGS instead of CFLAGS.
12127 * configure: Regenerated.
12129 2015-05-31 Mikhail Maltsev <maltsevm@gmail.com>
12131 * config/cris/cris.h (CRIS_ARCH_CPP_DEFAULT): Fix C++11 compatibility
12132 issue (add space between string literal and macro).
12133 * config/i386/mingw32.h (REAL_LIBGCC_SPEC): Likewise.
12135 2015-05-30 Andreas Schwab <schwab@linux-m68k.org>
12137 * config/m68k/m68k.h (ASM_PCREL_SPEC): Pass --pcrel also for
12138 implict or explicit -fPIE or -fpie.
12140 2015-05-30 Mike Frysinger <vapier@gentoo.org>
12142 * gcc/config/alpha/elf.h (ASM_SPEC): Add %{mcpu=*:-m%*}.
12144 2015-05-28 DJ Delorie <dj@redhat.com>
12146 * expmed.c (extract_bit_field_1): Avoid clobbering a
12147 yet-to-be-used base/index register.
12149 2015-05-30 Jan Hubicka <hubicka@ucw.cz>
12151 * alias.c (alias_set_entry_d): Add is_pointer and has_pointer.
12152 (alias_stats): Add num_universal.
12153 (alias_set_subset_of): Special case pointers; be ready for NULL
12155 (alias_sets_conflict_p): Special case pointers; be ready for NULL
12157 (init_alias_set_entry): Break out from ...
12158 (record_alias_subset): ... here; propagate new fields;
12159 allocate children only when really needed.
12160 (get_alias_set): Do less generous pointer globbing.
12161 (dump_alias_stats_in_alias_c): Update statistics.
12163 2015-05-30 Alan Modra <amodra@gmail.com>
12165 * config/rs6000/rs6000.c (split_stack_arg_pointer_used_p): Scan
12166 correct block for use of r12.
12167 (rs6000_expand_split_stack_prologue): Error on r29 asm global reg.
12169 2015-05-29 Dominik Vogt <vogt@linux.vnet.ibm.com>
12172 * config/s390/s390.c (s390_reorg): Fix placement of post-label NOPs
12175 2015-05-29 Jakub Jelinek <jakub@redhat.com>
12177 PR tree-optimization/66142
12178 * tree-if-conv.c (if_convertible_phi_p): Don't give up on
12179 virtual phis that feed themselves.
12181 2015-05-29 Richard Biener <rguenther@suse.de>
12183 PR tree-optimization/66314
12184 * tree-ssa-threadupdate.c (create_block_for_threading): Add
12185 parameter that says which loop the new block belongs to.
12186 (ssa_create_duplicates): Blocks duplicated for the threaded
12187 path belong to the loop of the thread destination.
12189 2015-05-29 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
12191 * config/arm/neon-testgen.ml (emit_epilogue): Remove manual call
12192 to cleanup-saved-temps.
12193 * doc/sourcebuild.texi (Clean up generated test files): Expand
12195 (dg-keep-saved-temps): Document new proc.
12196 (cleanup-ipa-dump, cleanup-rtl-dump, cleanup-tree-dump,
12197 cleanup-saved-temps): Remove.
12199 2015-05-28 Andreas Tobler <andreast@gcc.gnu.org>
12201 * configure.ac: Move the atoll check from AC_CHECK_FUNCS to
12202 gcc_AC_CHECK_DECLS.
12203 * configure: Regenerate.
12205 2015-05-28 Mike Frysinger <vapier@gentoo.org>
12207 * config/nios2/linux.h (CPP_SPEC): Define.
12209 2015-05-28 Mike Frysinger <vapier@gentoo.org>
12211 * config/microblaze/linux.h (CPP_SPEC): Define.
12213 2015-05-28 Mike Frysinger <vapier@gentoo.org>
12215 * config/pa/pa-linux.h (CPP_SPEC): Change so -D_REENTRANT is used when
12216 -pthread is specified.
12218 2015-05-28 Richard Biener <rguenther@suse.de>
12220 * tree-vect-loop.c (vect_fixup_reduc_chain): New function.
12221 (vect_fixup_scalar_cycles_with_patterns): Likewise.
12222 (vect_analyze_loop_2): Call vect_fixup_scalar_cycles_with_patterns
12223 after pattern recog.
12224 (vect_create_epilog_for_reduction): Properly handle reductions
12226 (vectorizable_reduction): Likewise.
12227 * tree-vect-slp.c (vect_analyze_slp_instance): Properly mark
12229 (vect_get_constant_vectors): Create the correct number of
12230 initial values for reductions.
12231 (vect_schedule_slp_instance): Handle reduction chains that are
12232 type changing properly.
12233 * tree-vect-stmts.c (vect_analyze_stmt): Adjust.
12235 2015-05-28 Richard Biener <rguenther@suse.de>
12237 PR tree-optimization/66142
12238 * tree-ssa-sccvn.c (vn_reference_lookup_3): Handle non-GIMPLE
12239 values better in memcpy destination handling. Handle non-aliasing
12242 2015-05-28 Lawrence Velázquez <vq@larryv.me>
12245 * config/darwin-c.c (version_components): New global enum.
12246 (parse_version, version_as_legacy_macro)
12247 (version_as_modern_macro, macosx_version_as_macro): New functions.
12248 (version_as_macro): Remove.
12249 (darwin_cpp_builtins): Use new function.
12251 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
12253 * builtins.c (expand_builtin_acc_on_device): Mark parameters
12254 with ATTRIBUTE_UNUSED.
12256 2015-05-28 Julian Brown <julian@codesourcery.com>
12260 * builtins.c (expand_builtin_acc_on_device): Don't use open-coded
12261 sequence for !ACCEL_COMPILER.
12263 2015-05-28 Nick Clifton <nickc@redhat.com>
12265 * config/rx/rx.c (push_regs): New function. Extracts code from...
12266 (rx_expand_prologue): ... here. Use push_regs to push even small
12267 spans of registers.
12268 (pop_regs): New function.
12269 (rx_expand_epilogue): Use pop_regs to pop even small spans of
12272 2015-05-28 Richard Biener <rguenther@suse.de>
12274 * tree-vectorizer.h (struct _slp_instance): Remove body_cost_vec
12276 (SLP_INSTANCE_BODY_COST_VEC): Remove.
12277 (vect_update_slp_costs_according_to_vf): Likewise.
12278 (vect_slp_analyze_operations): Update prototype.
12279 * tree-vect-loop.c (vect_analyze_loop_2): Remove call to
12280 vect_update_slp_costs_according_to_vf, adjust.
12281 * tree-vect-slp.c (vect_free_slp_instance): Adjust.
12282 (vect_analyze_slp_cost_1): Likewise.
12283 (vect_analyze_slp_cost): Likewise. Properly deal with
12284 widening reduction ops. Commit body costs.
12285 (vect_analyze_slp_instance): Adjust. Do not analyze SLP
12286 cost for loops from here.
12287 (vect_slp_analyze_operations): But do it from here when
12288 the vectorization factor is known and stmts are analyzed.
12289 (vect_bb_vectorization_profitable_p): Simplify.
12290 (vect_slp_analyze_bb_1): Do not compute SLP cost here.
12291 (vect_update_slp_costs_according_to_vf): Remove.
12293 2015-05-27 Magnus Granberg <zorry@gentoo.org>
12294 H.J. Lu <hongjiu.lu@intel.com>
12296 * Makefile.in (COMPILER): Add @NO_PIE_CFLAGS@.
12297 (BUILD_CFLAGS): Likewise.
12298 (BUILD_CXXFLAGS): Likewise.
12299 (LINKER): Add @NO_PIE_FLAG@.
12300 (BUILD_LDFLAGS): Likewise.
12301 (libgcc.mvars): Set NO_PIE_CFLAGS to -fno-PIE for
12302 --enable-default-pie.
12303 * common.opt (fPIE): Initialize to -1.
12305 (no-pie): New option.
12306 (pie): Replace "Negative(shared)" with "Negative(no-pie)".
12307 * configure.ac: Add --enable-default-pie.
12308 (NO_PIE_CFLAGS): New. Check if -fno-PIE works. AC_SUBST.
12309 (NO_PIE_FLAG): New. Check if -no-pie works. AC_SUBST.
12310 * defaults.h (DEFAULT_FLAG_PIE): New. Default PIE to -fPIE.
12311 * gcc.c (NO_PIE_SPEC): New.
12312 (PIE_SPEC): Likewise.
12313 (NO_FPIE1_SPEC): Likewise.
12314 (FPIE1_SPEC): Likewise.
12315 (NO_FPIE2_SPEC): Likewise.
12316 (FPIE2_SPEC): Likewise.
12317 (NO_FPIE2_SPEC): Likewise.
12318 (FPIE_SPEC): Likewise.
12319 (NO_FPIE_SPEC): Likewise.
12320 (NO_FPIC1_SPEC): Likewise.
12321 (FPIC1_SPEC): Likewise.
12322 (NO_FPIC2_SPEC): Likewise.
12323 (FPIC2_SPEC): Likewise.
12324 (NO_FPIC2_SPEC): Likewise.
12325 (FPIC_SPEC): Likewise.
12326 (NO_FPIC_SPEC): Likewise.
12327 (NO_FPIE1_AND_FPIC1_SPEC): Likewise.
12328 (FPIE1_OR_FPIC1_SPEC): Likewise.
12329 (NO_FPIE2_AND_FPIC2_SPEC): Likewise.
12330 (FPIE2_OR_FPIC2_SPEC): Likewise.
12331 (NO_FPIE_AND_FPIC_SPEC): Likewise.
12332 (FPIE_OR_FPIC_SPEC): Likewise.
12333 (LD_PIE_SPEC): Likewise.
12334 (LINK_PIE_SPEC): Handle -no-pie. Use PIE_SPEC and LD_PIE_SPEC.
12335 * opts.c (finish_options): Update opts->x_flag_pie if it is -1.
12336 * config/darwin.h (PIE_SPEC): Renamed to ...
12337 (DARWIN_PIE_SPEC): This.
12338 (LINK_SPEC): Replace PIE_SPEC with DARWIN_PIE_SPEC.
12339 * config/darwin9.h (PIE_SPEC): Renamed to ...
12340 (DARWIN_PIE_SPEC): This.
12341 * config/gnu-user.h (GNU_USER_TARGET_STARTFILE_SPEC): Use
12342 PIE_SPEC and NO_PIE_SPEC if HAVE_LD_PIE is defined.
12343 * config/openbsd.h (ASM_SPEC): Use FPIE1_OR_FPIC1_SPEC and
12344 FPIE2_OR_FPIC2_SPEC.
12345 * config/m68k/netbsd-elf.h (ASM_SPEC): Likewise.
12346 * config/m68k/openbsd.h (ASM_SPEC): Likewise.
12347 * gcc/config/sol2.h (ASM_PIC_SPEC): Likewise.
12348 * config/arm/freebsd.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise.
12349 * config/arm/netbsd-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise.
12350 * config/arm/semi.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise.
12351 * config/cris/linux.h (CRIS_ASM_SUBTARGET_SPEC): Likewise.
12352 * config/m32r/m32r.h (ASM_SPEC): Likewise.
12353 * config/m68k/uclinux.h (DRIVER_SELF_SPECS): Likewise.
12354 * config/rs6000/linux64.h (ASM_SPEC32): Likewise.
12355 * config/rs6000/sysv4.h (ASM_SPEC): Likewise.
12356 * config/sparc/freebsd.h (ASM_SPEC): Likewise.
12357 * config/sparc/linux.h (ASM_SPEC): Likewise.
12358 * config/sparc/linux64.h (ASM_SPEC): Likewise.
12359 * config/sparc/netbsd-elf.h (ASM_SPEC): Likewise.
12360 * config/sparc/openbsd64.h (ASM_SPEC): Likewise.
12361 * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
12362 * config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
12363 * config/sparc/sparc.h (ASM_SPEC): Likewise.
12364 * config/sparc/sysv4.h (ASM_SPEC): Likewise.
12365 * config/sparc/vxworks.h (ASM_SPEC): Likewise.
12366 * config/c6x/elf-common.h (ASM_SPEC): Use NO_FPIC2_SPEC,
12367 FPIC2_SPEC, FPIC1_SPEC and FPIC2_SPEC.
12368 * config/c6x/uclinux-elf.h (LINK_SPEC): Use FPIE_SPEC.
12369 * config/frv/frv.h (DRIVER_SELF_SPECS): Use FPIC_SPEC,
12370 NO_FPIC_SPEC and NO_FPIE1_AND_FPIC1_SPEC.
12371 (ASM_SPEC): Use FPIE1_OR_FPIC1_SPEC and FPIE2_OR_FPIC2_SPEC.
12372 * config/m68k/m68k.h (ASM_PCREL_SPEC): Use FPIC_SPEC and NO_FPIC_SPEC.
12373 * config/mips/gnu-user.h (NO_SHARED_SPECS): Use NO_FPIE_AND_FPIC_SPEC.
12374 * config/mips/vxworks.h (SUBTARGET_ASM_SPEC): Use FPIC_SPEC.
12375 * config/rs6000/freebsd64.h (ASM_SPEC32): Likewise.
12376 * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
12377 * config/vax/linux.h (ASM_SPEC): Likewise.
12378 * doc/install.texi: Document --enable-default-pie.
12379 * doc/invoke.texi: Document -no-pie.
12380 * config.in: Regenerated.
12381 * configure: Likewise.
12383 2015-05-28 Thomas Preud'homme <thomas.preudhomme@arm.com>
12385 PR rtl-optimization/66168
12386 * loop-invariant.c (move_invariant_reg): Pass dest rather than reg to
12387 can_move_invariant_reg.
12389 2015-05-27 John David Anglin <danglin@gcc.gnu.org>
12392 * config/pa/pa.c (pa_emit_move_sequence): Correct placement of
12393 REG_EQUAL note when doing insert.
12395 * config/pa/pa.c (pa_print_operand): Use HOST_WIDE_INT_PRINT_DEC
12396 instead of "%d" for 'o' operand.
12398 2015-05-27 Nathan Sidwell <nathan@acm.org>
12401 * tree.c (build_pointer_type_for_mode): Canonical type does not
12402 inherit can_alias_all.
12403 (build_reference_type_for_mode): Likewise.
12405 2015-05-27 Eric Botcazou <ebotcazou@adacore.com>
12407 * expr.h (array_at_struct_end_p): Move to...
12408 (array_ref_element_size): Likewise.
12409 (component_ref_field_offset): Likewise.
12410 * tree.h (array_ref_element_size): ...here.
12411 (array_at_struct_end_p): Likewise.
12412 (component_ref_field_offset): Likewise.
12413 * expr.c (array_ref_element_size): Move to...
12414 (array_ref_low_bound): Likewise.
12415 (array_at_struct_end_p): Likewise.
12416 (array_ref_up_bound): Likewise.
12417 (component_ref_field_offset): Likewise.
12418 * tree.c (array_ref_element_size): ...here.
12419 (array_ref_low_bound): Likewise.
12420 (array_ref_up_bound): Likewise.
12421 (array_at_struct_end_p): Likewise.
12422 (component_ref_field_offset): Likewise.
12424 2015-05-27 Gregor Richards <gregor.richards@uwaterloo.ca>
12425 Szabolcs Nagy <szabolcs.nagy@arm.com>
12427 * config/aarch64/aarch64-linux.h (MUSL_DYNAMIC_LINKER): Define.
12429 2015-05-27 Jason Merrill <jason@redhat.com>
12432 * configure.ac: Use ACX_PROG_CXX_WARNING_OPTS,
12433 ACX_PROG_CXX_WARNING_ALMOST_PEDANTIC, and
12434 ACX_PROG_CXX_WARNINGS_ARE_ERRORS.
12436 2015-05-22 Aditya Kumar <hiraditya@msn.com>
12438 * auto-profile.c (afdo_calculate_branch_prob): Break once has_sample
12441 * statistics.c (statistics_fini_pass): Print pass name.
12443 2015-05-27 Richard Biener <rguenther@suse.de>
12445 PR tree-optimization/66272
12447 2014-08-15 Richard Biener <rguenther@suse.de>
12449 PR tree-optimization/62031
12450 * tree-data-ref.c (dr_analyze_indices): Do not set
12451 DR_UNCONSTRAINED_BASE.
12452 (dr_may_alias_p): All indirect accesses have to go the
12453 formerly DR_UNCONSTRAINED_BASE path.
12454 * tree-data-ref.h (struct indices): Remove
12455 unconstrained_base member.
12456 (DR_UNCONSTRAINED_BASE): Remove.
12458 2015-05-27 Aldy Hernandez <aldyh@redhat.com>
12460 * dwarf2out.c: Remove block_map.
12461 (gen_call_site_die): Replace block_map use with BLOCK_DIE.
12462 (gen_lexical_block_die): Same.
12463 (dwarf2out_function_decl): Remove block_map use.
12464 (dwarf2out_c_finalize): Same.
12465 * tree-core.h (struct tree_block): Add die field.
12466 * tree.h (BLOCK_DIE): New.
12468 2015-05-27 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
12471 * expr.c (memory_load_overlap): New function.
12472 (emit_push_insn): When pushing partial args to the stack would
12473 clobber the register part load the overlapping part into a pseudo
12474 and put it into the hard reg after pushing. Change return type
12475 to bool. Add bool argument.
12476 * expr.h (emit_push_insn): Change return type to bool.
12478 * calls.c (expand_call): Cancel sibcall optimization when encountering
12479 partial argument on targets with ARGS_GROW_DOWNWARD and
12480 !STACK_GROWS_DOWNWARD.
12481 (emit_library_call_value_1): Update callsite of emit_push_insn.
12482 (store_one_arg): Likewise.
12484 2015-05-27 Gregor Richards <gregor.richards@uwaterloo.ca>
12486 * config/arm/linux-eabi.h (MUSL_DYNAMIC_LINKER): Define.
12488 2015-05-27 Martin Liska <mliska@suse.cz>
12490 * Makefile.in: Add additional dependencies related to memory report
12492 * alloc-pool.c (allocate_pool_descriptor): Use new ctor.
12493 * bitmap.c (struct bitmap_descriptor_d): Remove.
12494 (struct loc): Likewise.
12495 (struct bitmap_desc_hasher): Likewise.
12496 (bitmap_desc_hasher::hash): Likewise.
12497 (bitmap_desc_hasher::equal): Likewise.
12498 (get_bitmap_descriptor): Likewise.
12499 (bitmap_register): User new memory descriptor API.
12500 (register_overhead): Likewise.
12501 (bitmap_find_bit): Register nsearches and search_iter statistics.
12502 (struct bitmap_output_info): Remove.
12503 (print_statistics): Likewise.
12504 (dump_bitmap_statistics): Use new memory descriptor.
12505 * bitmap.h (struct bitmap_usage): New class.
12506 * genmatch.c: Extend header file inclusion.
12507 * genpreds.c: Likewise.
12508 * ggc-common.c (struct ggc_usage): New class.
12509 (struct ggc_loc_desc_hasher): Remove.
12510 (ggc_loc_desc_hasher::hash): Likewise.
12511 (ggc_loc_desc_hasher::equal): Likewise.
12512 (struct ggc_ptr_hash_entry): Likewise.
12513 (struct ptr_hash_hasher): Likewise.
12514 (ptr_hash_hasher::hash): Likewise.
12515 (ptr_hash_hasher::equal): Likewise.
12516 (make_loc_descriptor): Likewise.
12517 (ggc_prune_ptr): Likewise.
12518 (dump_ggc_loc_statistics): Use new memory descriptor.
12519 (ggc_record_overhead): Likewise.
12520 (ggc_free_overhead): Likewise.
12521 (final_cmp_statistic): Remove.
12522 (cmp_statistic): Likewise.
12523 (ggc_add_statistics): Liekwise.
12524 (ggc_prune_overhead_list): Likewise.
12525 * hash-map-traits.h: New file.
12526 * hash-map.h (struct default_hashmap_traits): Move the traits to a
12527 separate header file.
12528 * hash-set.h: Pass memory statistics info to ctor.
12529 * hash-table.c (void dump_hash_table_loc_statistics): New function.
12530 * hash-table.h (hash_table::hash_table): Add new ctor arguments.
12531 (hash_table::~hash_table): Register memory release operation.
12532 (hash_table::alloc_entries): Handle memory allocation operation.
12533 (hash_table::expand): Likewise.
12534 * inchash.c (iterative_hash_hashval_t): Move implementation to header
12536 (iterative_hash_host_wide_int): Likewise.
12537 * inchash.h (class hash): Likewise.
12538 * mem-stats-traits.h: New file.
12539 * mem-stats.h: New file.
12540 (mem_location): Add new class.
12541 (mem_usage): Likewise.
12542 (mem_alloc_description): Likewise.
12543 * sese.c: Add new header file inclusision.
12544 * toplev.c (dump_memory_report): Add report for hash_table, hash_map
12546 * tree-sra.c: Add new header file inclusision.
12547 * vec.c (struct vec_descriptor): Remove.
12548 (hash_descriptor): Likewise.
12549 (struct vec_usage): Likewise.
12550 (struct ptr_hash_entry): Likewise.
12551 (hash_ptr): Likewise.
12552 (eq_ptr): Likewise.
12553 (vec_prefix::register_overhead): Use new memory descriptor API.
12554 (vec_prefix::release_overhead): Likewise.
12555 (add_statistics): Remove.
12556 (dump_vec_loc_statistics): Use new memory descriptor API.
12557 * vec.h (struct vec_prefix): Likewise.
12558 (va_heap::reserve): Likewise.
12559 (va_heap::release): Likewise.
12560 * emit-rtl.c (gen_raw_REG): Fix passing MEM_STAT.
12562 2015-05-27 Richard Biener <rguenther@suse.de>
12564 * tree-vect-stmts.c (vectorizable_load): Initialize slp_perm
12565 earlier and remove ??? comment.
12566 (vect_analyze_stmt): If we are analyzing a pure SLP stmt
12567 and got called from loop analysis bail out. Always pass the SLP
12568 node to the vectorizable_* functions.
12569 * tree-vect-loop.c (vect_analyze_loop_operations): Remove
12570 the premature SLP check here.
12571 * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Dump hybrid
12572 detected SLP stmts.
12573 (vect_detect_hybrid_slp_1): Likewise.
12575 2015-05-26 Jeff Law <law@redhat.com>
12577 * combine.c (find_split_point): Verify that the shift count is a
12578 constant when choosing (plus (ashift ...)) as a split point.
12580 * tree-ssa-threadupdate.c: Replace 8 space sequences with tabs.
12581 No functional changes.
12583 2015-05-26 Jan Hubicka <hubicka@ucw.cz>
12585 * ipa-polymorphic-call.c
12586 (ipa_polymorphic_call_context::get_dynamic_type): Short circuit the
12587 case when call target is already known.
12589 2015-05-26 Oleg Endo <olegendo@gcc.gnu.org>
12592 * config/sh/sh.md (tstsi_t peephole2): Use gen_rtx_SET and
12593 take into account the case that operands[1] and operands[2]
12594 are the same register.
12596 2015-05-26 Michael Matz <matz@suse.de>
12598 PR middle-end/66251
12600 * tree-vect-stmts.c (vect_model_store_cost): Handled strided group
12602 (vect_create_vectorized_demotion_stmts): Always set
12603 STMT_VINFO_VEC_STMT, also with SLP.
12604 (vectorizable_store): Handle strided group stores.
12606 2015-05-26 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
12609 * config/aarch64/aarch64.md
12610 (*adds_shift_imm_<mode>): New pattern.
12611 (*subs_shift_imm_<mode>): Likewise.
12612 (*adds_<optab><ALLX:mode>_shift_<GPI:mode>): Likewise.
12613 (*subs_<optab><ALLX:mode>_shift_<GPI:mode>): Likewise.
12614 (*add_uxt<mode>_shift2): Likewise.
12615 (*add_uxtsi_shift2_uxtw): Likewise.
12616 (*sub_uxt<mode>_shift2): Likewise.
12617 (*sub_uxtsi_shift2_uxtw): Likewise.
12619 2015-05-26 David Edelsohn <dje.gcc@gmail.com>
12621 * config/rs6000/constraints.md (Y, U): Use match_test.
12623 2015-05-26 Christian Bruel <christian.bruel@st.com>
12626 * config/arm/arm.c (arm_option_check_internal)
12627 (arm_option_params_internal): Check opts->target_flags to set macros.
12628 (TREE_TARGET_ARM, TREE_TARGET_THUMB)
12629 (TREE_TARGET_THUMB1, TREE_TARGET_THUMB2) Replace with...
12630 (TARGET_ARM_P, TARGET_THUMB_P, TARGET_THUMB1_P, TARGET_THUMB2_P)
12631 (builtin_define): Replaced with def_or_undef_macro.
12632 * config/arm/arm.h (TREE_TARGET_ARM, TREE_TARGET_THUMB)
12633 TREE_TARGET_THUMB1, TREE_TARGET_THUMB2) Redefine with...
12634 (TARGET_ARM_P, TARGET_THUMB_P, TARGET_THUMB1_P, TARGET_THUMB2_P)
12635 (TARGET_32BIT_P, TARGET_ARM_QBIT_P, TARGET_ARM_SAT_P, TARGET_IDIV_P)
12636 (TARGET_HAVE_LDREX_P, TARGET_HAVE_LDREXBH_P, TARGET_HAVE_LDREXD_P)
12637 (TARGET_ARM_FEATURE_LDREX_P)
12638 (TARGET_DSP_MULTIPLY_P, TARGET_INT_SIMD_P): New macros.
12639 * config/arm/arm-c.c (def_or_undef_macro): New function.
12640 (arm_cpu_cpp_builtins): Use def_or_undef_macro for macros definition.
12642 2015-05-26 Christian Bruel <christian.bruel@st.com>
12644 * c-common.h (builtin_define_with_int_value)
12645 (builtin_define_type_sizeof): Declare.
12646 * c-cppbuiltin.c (builtin_define_with_int_value)
12647 (builtin_define_type_sizeof): Externalize.
12648 (builtin_define_std): Cleanup declaration.
12649 * config/arm/arm-protos.h (arm_cpu_cpp_builtins): Declare.
12650 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Move macro defines into...
12651 * config/arm/arm-c.c (arm_cpu_cpp_builtins): New function.
12652 (builtin_define, builtin_assert): New macros.
12654 2015-05-26 Richard Biener <rguenther@suse.de>
12656 PR tree-optimization/66142
12657 * tree-ssa-sccvn.c (vn_reference_lookup_3): Manually compare
12658 MEM_REFs for the same base address.
12660 2015-05-26 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
12663 * tree.c (verify_type_variant): Do not check TYPE_NO_FORCE_BLK.
12665 2015-05-26 Jason Merrill <jason@redhat.com>
12667 * configure.ac: Set CXXFLAGS for ISL test.
12668 * configure: Regenerate.
12670 * configure.ac: Use C++ for all tests. Use AC_CHECK_DECLS for
12671 strstr and basename.
12672 * configure: Regenerate.
12674 2015-05-26 Richard Biener <rguenther@suse.de>
12676 * fold-const.c (fold_binary_loc): Move X % -Y -> X % Y and
12677 X % C -> X & (C - 1) for C being a power-of two to ...
12678 * match.pd: ... patterns.
12680 2015-05-26 Marc Glisse <marc.glisse@inria.fr>
12682 * match.pd (swapped_tcc_comparison): New operator list.
12683 (-A CMP -B): New simplification.
12684 * fold-const.c (fold_comparison): Remove corresponding code.
12686 2015-05-26 Richard Sandiford <richard.sandiford@arm.com>
12688 * caller-save.c (init_caller_save): Base temporary register numbers
12689 on LAST_VIRTUAL_REGISTER + 1 rather than FIRST_PSEUDO_REGISTER.
12690 * cfgloopanal.c (init_set_costs): Likewise.
12691 * dojump.c (prefer_and_bit_test): Likewise.
12692 * expr.c (init_expr_target): Likewise.
12693 * ira.c (setup_prohibited_mode_move_regs): Likewise.
12694 * lower-subreg.c (init_lower_subreg): Likewise.
12695 * postreload.c (reload_cse_regs_1): Likewise.
12697 2015-05-26 Richard Sandiford <richard.sandiford@arm.com>
12699 * gensupport.h (compute_test_codes): Declare.
12700 * gensupport.c (compute_predicate_codes): Rename to...
12701 (compute_test_codes): ...this. Generalize error message.
12702 (process_define_predicate): Update accordingly.
12703 * genpreds.c (compute_maybe_allows): Delete.
12704 (add_constraint): Use compute_test_codes to determine whether
12705 something can accept a SUBREG, REG or MEM.
12707 2015-05-26 Torvald Riegel <triegel@redhat.com>
12709 * doc/extend.texi (__atomic Builtins): Use 'memory order' instead of
12710 'memory model' to align with C++11; fix description of memory orders;
12713 2015-05-26 Richard Biener <rguenther@suse.de>
12715 * tree-vect-loop.c (vect_update_vf_for_slp): Split out from ...
12716 (vect_analyze_loop_operations): ... here. Remove slp parameter,
12717 detect whether we apply SLP. Remove call to
12718 vect_update_slp_costs_according_to_vf.
12719 (vect_analyze_loop_2): Call vect_update_vf_for_slp and
12720 vect_update_slp_costs_according_to_vf from here. Dispatch
12721 to vect_slp_analyze_operations to analyze SLP stmts.
12722 * tree-vect-slp.c (vect_slp_analyze_node_operations): Drop
12723 unused bb_vec_info parameter, adjust assert.
12724 (vect_slp_analyze_operations): Pass in the slp instance tree
12725 instead of bb_vec_info.
12726 (vect_slp_analyze_bb_1): Adjust call to vect_slp_analyze_operations.
12727 * tree-vectorizer.h (vect_slp_analyze_operations): Declare.
12729 2015-05-25 Alexander Monakov <amonakov@ispras.ru>
12731 * config/i386/i386.h (enum reg_class): Move CLOBBERED_REGS prior to
12732 Q_REGS. Expand comment.
12733 (REG_CLASS_NAMES): Ditto.
12734 (REG_CLASS_CONTENTS): Ditto.
12736 2015-05-25 Uros Bizjak <ubizjak@gmail.com>
12739 * config/i386/i386.c (print_reg): Only print "r" for TARGET_64BIT
12740 when LEGACY_INT_REGNO_P is processed.
12742 2015-05-25 Alexander Monakov <amonakov@ispras.ru>
12744 * config/i386/i386.c (ix86_function_ok_for_sibcall): Check flag_plt.
12746 2015-05-25 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
12748 * config/avr/avr.c (avr_out_load_psi_reg_no_disp_tiny): Restore base
12749 register if not marked dead/unused, before return.
12751 2015-05-24 Jan Hubicka <hubicka@ucw.cz>
12754 * ipa-devirt.c (type_with_linkage): Check that TYPE_STUB_DECL
12755 is set; check for assembler name at LTO time.
12756 (type_in_anonymous_namespace): Remove hacks, check that all
12757 anonymous types are called "<anon>"
12758 (odr_type_p): Simplify; add check for "<anon>"
12759 (odr_subtypes_equivalent): Add odr_type_p check.
12760 * tree.c (need_assembler_name_p): Even anonymous namespace needs
12763 2015-05-24 Jan Hubicka <hubicka@ucw.cz>
12765 * ipa-utils.h (method_class_type): Remove.
12766 * cgraphunit.c (walk_polymorphic_call_targets): Use
12767 TYPE_METHOD_BASETYPE.
12768 * ipa-devirt.c (type_in_anonymous_namespace_p): Check that it is called
12769 on main variants only.
12770 (method_class_type): Remove.
12771 (update_type_inheritance_graph): Use TYPE_METHOD_BASETYPE.
12772 (build_type_inheritance_graph): Likewise.
12773 * ipa-icf.c (sem_function::equals_wpa): Likewise.
12774 * pa-polymorphic-call.c (decl_maybe_in_construction_p,
12775 check_stmt_for_type_change): Use TYPE_METHOD_BASETYPE.
12777 2015-05-24 Jan Hubicka <hubicka@ucw.cz>
12779 * tree.c (prototype_p, virtual_method_call_p, obj_type_ref_class,
12780 is_typedef_decl, typedef_variant_p): Constify.
12781 * tree.h (prototype_p, virtual_method_call_p, obj_type_ref_class,
12782 is_typedef_decl, typedef_variant_p): Constify.
12784 2015-05-23 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
12786 * defaults.h (gen_tablejump): New function.
12787 (HAVE_tablejump): Add default value.
12789 * stmt.c: Likewise.
12791 2015-05-23 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
12793 * defaults.h (gen_store_multiple): New function.
12794 (HAVE_store_multiple): Add default value.
12795 * expr.c (move_block_from_reg): Adjust.
12797 2015-05-23 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
12799 * defaults.h (gen_load_multiple): New function.
12800 (HAVE_load_multiple): Add default value.
12801 * expr.c (move_block_to_reg): Adjust.
12803 2015-05-23 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
12805 * defaults.h (gen_mem_signal_fence): New function.
12806 (HAVE_mem_signal_fence): Add default value.
12807 * optabs.c: Adjust.
12809 2015-05-23 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
12811 * defaults.h (gen_memory_barrier): New function.
12812 (HAVE_memory_barrier): Add default value.
12813 * optabs.c: Adjust.
12815 2015-05-23 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
12817 * defaults.h (gen_mem_thread_fence): New function.
12818 (HAVE_mem_thread_fence): Add default definition.
12819 * optabs.c: Adjust.
12821 2015-05-23 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
12823 * combine.c (find_split_point): Check the value of HAVE_lo_sum
12824 instead of if it is defined.
12825 (combine_simplify_rtx): Likewise.
12826 * lra-constraints.c (process_address_1): Likewise.
12827 * config/darwin.c: Adjust.
12828 * genconfig.c (main): Always define HAVE_lo_sum.
12830 2015-05-23 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
12832 * genmatch.c (parser::parse_operation): Reject expanding
12833 operator-list inside 'for'.
12835 2015-05-23 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
12837 * genmatch.c (parser::parse_for): Reject iterator if used as
12840 2015-05-23 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
12842 * genmatch.c (parser::parse_operator_list): Check for CPP_CLOSE_PAREN
12843 after end of id-list.
12845 2015-05-22 Jan Hubicka <hubicka@ucw.cz>
12847 * tree.c (gimple_canonical_types_compatible_p): Sanity check that
12848 we do not try to compute canonical type for type that does not need
12850 (verify_type): Drop FIXME for METHOD_TYPE, update FIXME for
12852 * tree.h (type_with_alias_set_p): New.
12854 2015-05-22 Jan Hubicka <hubicka@ucw.cz>
12856 * tree.c (gimple_canonical_types_compatible_p): Do not compare
12857 function attributes.
12858 (verify_type): Remove METHOD_TYPE FIXME; update FUNCTION_TYPE.
12860 2015-05-22 Jim Wilson <jim.wilson@linaro.org>
12862 * Makefile.in (check_gcc_parallelize): Delete.
12863 (lang_checks_parallelized): Update comment.
12865 2015-05-22 Mikhail Maltsev <maltsevm@gmail.com>
12867 PR rtl-optimization/66237
12868 * bb-reorder.c (fix_crossing_conditional_branches): Fix wrong
12869 location of an "as_a" cast.
12871 2015-05-22 Jeff Law <law@redhat.com>
12873 * config/pa/pa.md (non-canonical shift-add insns): Remove.
12874 (peepholes with non-canonical RTL sources): Remove.
12875 (peepholes for indexed stores of FP regs in integer modes): Match and
12876 generate canonical RTL.
12878 2015-05-22 Marc Glisse <marc.glisse@inria.fr>
12880 PR tree-optimization/63387
12881 * match.pd ((X /[ex] A) * A -> X): Remove unnecessary condition.
12882 ((x ord x) & (y ord y) -> (x ord y),
12883 (x ord x) & (x ord y) -> (x ord y)): New simplifications.
12884 * fold-const.c (tree_unary_nonnegative_warnv_p) <ABS_EXPR>: Handle
12885 vectors like scalars.
12887 2015-05-22 Marc Glisse <marc.glisse@inria.fr>
12889 * convert.c (convert_to_integer, convert_to_vector): Include the
12890 types in the error message.
12892 2015-05-22 Marc Glisse <marc.glisse@inria.fr>
12894 * match.pd ((x | y) & ~x -> y & ~x, (x & y) | ~x -> y | ~x): New
12897 2015-05-22 Jeff Law <law@redhat.com>
12899 * config/pa/pa.md (integer_indexed_store splitters): Use
12900 mem_shadd_operand. Use ASHIFT rather than MULT in the resulting
12901 insns -- adjusting the constant 2nd operand accordingly.
12903 * combine.c (try_combine): Canonicalize (plus (mult X pow2) Y) into
12904 (plus (ashift X log2) Y) if it is a split point.
12906 * config/pa/pa.c (mem_shadd_or_shadd_rtx_p): New function factoredx
12907 out of hppa_legitimize_address to handle both forms of a multiply
12909 (hppa_legitimize_address): Use mem_shadd_or_shadd_rtx_p.
12910 Always generate the ASHIFT variant as the result is not directly
12911 used in a MEM. Update comments and refactor slightly to improve
12914 2015-05-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
12917 * config/aarch64/aarch64.c (aarch64_short_vector_p): Move above
12918 aarch64_composite_type_p. Remove check for aarch64_composite_type_p.
12919 (aarch64_composite_type_p): Return false if given type and mode are
12920 for a short vector.
12922 2015-05-22 Richard Biener <rguenther@suse.de>
12924 * tree-vectorizer.h (struct _slp_oprnd_info): Add second_pattern
12926 * tree-vect-loop.c (vect_analyze_loop_operations): Look at
12927 patterns when determining whether SLP is pure.
12928 (vect_is_slp_reduction): Remove check for pattern stmts.
12929 (vect_is_simple_reduction_1): Remove dead code.
12930 * tree-vect-slp.c (vect_create_oprnd_info): Initialize second_pattern.
12931 (vect_get_and_check_slp_defs): Pass in the stmt number.
12932 Allow the first def in a reduction to be not a pattern stmt when
12933 the rest of the stmts def are patterns.
12934 (vect_build_slp_tree_1): Allow tcc_expression codes like
12935 SAD_EXPR and DOT_PROD_EXPR.
12936 (vect_build_slp_tree): Adjust.
12937 (vect_analyze_slp): Refactor and move BB vect error message ...
12938 (vect_slp_analyze_bb_1): ... here.
12940 2015-05-22 Aldy Hernandez <aldyh@redhat.com>
12942 * tree-switch-conversion.c (build_one_array): Set DECL_IGNORED_P
12943 for CSWTCH temporary.
12945 2015-05-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
12947 * config/arm/arm.c (arm_new_rtx_costs): Handle UNSPEC_VOLATILE.
12948 (arm_unspec_cost): Allow UNSPEC_VOLATILE. Do not recurse inside
12951 2015-05-22 Richard Biener <rguenther@suse.de>
12953 PR tree-optimization/66251
12954 * tree-vect-stmts.c (vectorizable_conversion): Properly
12955 set STMT_VINFO_VEC_STMT even for the SLP case.
12957 2015-05-22 Marek Polacek <polacek@redhat.com>
12959 * doc/extend.texi: Use @pxref instead of @xref.
12961 2015-05-22 hiraditya <hiraditya@msn.com>
12963 * gimple.h (gimple_expr_type): Refactor to make it concise. Remove
12966 2015-05-22 Richard Biener <rguenther@suse.de>
12968 PR tree-optimization/65701
12969 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
12970 Move peeling cost models into one place. Peel for alignment
12971 for single loads only if an aligned load is cheaper than
12974 2015-05-22 Marek Polacek <polacek@redhat.com>
12977 * doc/extend.texi (Enumerator Attributes): New section.
12978 Document syntax of enumerator attributes.
12980 2015-05-22 Richard Biener <rguenther@suse.de>
12982 * tree-vect-loop.c (get_reduction_op): New function.
12983 (vect_model_reduction_cost): Use it, add reduc_index parameter.
12984 Make ready for BB reductions.
12985 (vect_create_epilog_for_reduction): Use get_reduction_op.
12986 (vectorizable_reduction): Init reduc_index to a valid value.
12987 Adjust vect_model_reduction_cost call.
12988 * tree-vect-slp.c (vect_get_constant_vectors): Use the proper
12989 operand for reduction defaults. Add SAD_EXPR support.
12990 Assert we have a neutral op for SLP reductions.
12991 * tree-vect-stmts.c (vect_mark_stmts_to_be_vectorized): When
12992 walking pattern stmt ops only recurse to SSA names.
12994 2015-05-22 Richard Biener <rguenther@suse.de>
12996 * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Replace
12997 assert with guard, remove check on detected reduction.
12998 (vect_recog_sad_pattern): Likewise.
12999 (vect_recog_widen_sum_pattern): Likewise.
13001 2015-05-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
13003 * config/aarch64/arm_neon.h (vaeseq_u8): Add __extension__ and
13004 __always_inline__ attribute.
13005 (vaesdq_u8): Likewise.
13006 (vaesmcq_u8): Likewise.
13007 (vaesimcq_u8): Likewise.
13008 (vsha1cq_u32): Likewise.
13009 (vsha1mq_u32): Likewise.
13010 (vsha1pq_u32): Likewise.
13011 (vsha1h_u32): Likewise.
13012 (vsha1su0q_u32): Likewise.
13013 (vsha1su1q_u32): Likewise.
13014 (vsha256hq_u32): Likewise.
13015 (vsha256h2q_u32): Likewise.
13016 (vsha256su0q_u32): Likewise.
13017 (vsha256su1q_u32): Likewise.
13018 (vmull_p64): Likewise.
13019 (vmull_high_p64): Likewise.
13021 2015-05-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
13023 * final.c (final_scan_insn): Don't check HAVE_peephole with the
13025 * output.h: Likewise.
13026 * genconfig.c (main): Alwways define HAVE_peephole.
13027 * genpeep.c: Don't emit checks of HAVE_peephole.
13029 2015-05-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
13031 * combine.c, expmed.c, expr.c, optabs.c optabs.h, toplev.c: DOn't
13032 check HAVE_conditional_move with the preprocessor.
13034 2015-05-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
13036 * genconfig.c (main): Always define HAVE_conditional_move.
13037 * combine.c, expmed.c, expr.c, ifcvt.c, optabs.c, optabs.h,
13038 toplev.c, tree-ssa-phiopt.c: Don't check if HAVE_conditional_move
13041 2015-05-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
13043 * combine.c, df-problems.c, df-scan.c, emit-rtl.c, reginfo.c,
13044 reload.c, rtlanal.c: Remove comparison of ARG_FRAME_POINTER_REGNUM
13045 and FRAME_POINTER_REGNUM with the preprocessor.
13047 2015-05-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
13049 * defaults.h: Add default for STACK_PUSH_CODE.
13050 * expr.c: Don't redefine STACK_PUSH_CODE.
13051 * recog.c: Likewise.
13053 2015-05-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
13055 * builtins.c, dwarf2cfi.c, explow.c, expr.c, recog.c,
13056 sched-deps.c: Use if instead of preprocessor checks with
13057 STACK_GROWS_DOWNWARD.
13059 2015-05-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
13061 * *.c: Check the value of STACK_GROWS_DOWNWARD rather than if it
13063 * config/**/*.h: Define STACK_GROWS_DOWNWARD to an integer.
13064 * defaults.h: Provide default for STACK_GROWS_DOWNWARD.
13065 * doc/tm.texi.in: Update references to STACK_GROWS_DOWNWARD.
13066 * doc/tm.texi: Regenerate.
13068 2015-05-21 H.J. Lu <hongjiu.lu@intel.com>
13071 * config/i386/constraints.md (Bg): New constraint for GOT memory
13073 * config/i386/i386.md (*call_got_x32): New pattern.
13074 (*call_value_got_x32): Likewise.
13075 * config/i386/predicates.md (GOT_memory_operand): New predicate.
13077 2015-05-21 Jakub Jelinek <jakub@redhat.com>
13079 PR tree-optimization/66233
13080 * match.pd (ocvt (icvt@1 @0)): Don't handle vector types.
13083 2015-05-21 Jeff Law <law@redhat.com>
13085 * config/pa/pa.md (add-with-constant splitter): Use ASHIFT rather
13086 than MULT for shadd sequences.
13088 2015-05-08 Jan Hubicka <hubicka@ucw.cz>
13090 * alias.c (alias_stats): New static var.
13091 (alias_sets_conflict_p, alias_sets_must_conflict_p): Update stats.
13092 (dump_alias_stats_in_alias_c): New function.
13093 * alias.h (dump_alias_stats_in_alias_c): Declare.
13094 * tree-ssa-alias.c (dump_alias_stats): Call it.
13096 2015-05-08 Michael Matz <matz@suse.de>
13098 * tree-vectorizer.h (struct _stmt_vec_info): Rename stride_load_p
13100 (STMT_VINFO_STRIDE_LOAD_P): Rename to ...
13101 (STMT_VINFO_STRIDED_P): ... this.
13102 * tree-vect-data-refs.c (vect_compute_data_ref_alignment): Adjust.
13103 (vect_verify_datarefs_alignment): Likewise.
13104 (vect_enhance_data_refs_alignment): Likewise.
13105 (vect_analyze_data_ref_access): Likewise.
13106 (vect_analyze_data_refs): Accept strided stores.
13107 * tree-vect-stmts.c (vect_model_store_cost): Count strided stores.
13108 (vect_model_load_cost): Adjust for macro rename.
13109 (vectorizable_mask_load_store): Likewise.
13110 (vectorizable_load): Likewise.
13111 (vectorizable_store): Open code strided stores.
13113 2015-05-21 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
13115 * doc/sourcebuild.texi (7.2.3.9 Other hardware attributes):
13116 Document sqrt_insn.
13118 2015-05-21 Richard Biener <rguenther@suse.de>
13121 * match.pd: Guard pattern optimzing (int)(float)int
13122 conversions to apply only on GIMPLE.
13124 2015-05-21 Jeff Law <law@redhat.com>
13126 * combine.c (find_split_point): Handle ASHIFT like MULT to encourage
13127 multiply-accumulate/shift-add insn generation.
13129 2015-05-21 Oleg Endo <olegendo@gcc.gnu.org>
13132 * config/sh/sh.md (*round_int_even): Reject pattern if operands[0] and
13133 operands[1] are the same.
13135 2015-05-21 Ilya Enkovich <enkovich.gnu@gmail.com>
13137 PR middle-end/66221
13138 * ipa-chkp.c (chkp_copy_function_type_adding_bounds): Use
13139 build_distinct_type_copy to copy bounds.
13141 2015-05-21 Thomas Schwinge <thomas@codesourcery.com>
13143 * genrecog.c (MAX_DEPTH, MIN_NUM_STATEMENTS, MAX_NUM_STATEMENTS):
13144 Change to unsigned int.
13146 2015-05-20 Jeff Law <law@redhat.com>
13148 * config/pa/pa.c (pa_print_operand): New 'o' output modifier.
13149 (pa_mem_shadd_constant_p): Renamed from pa_shadd_constant_p.
13150 (pa_shadd_constant_p): Allow constants for shadd insns rather
13151 than valid scaling constants for memory addresses.
13152 * config/pa/pa-protos.h (pa_mem_shadd_constant_p): Add prototype.
13153 * config/pa/predicates.md (mem_shadd_operand): New predicate.
13154 * config/pa/pa.md (shift-add insns using MULT): Use mem_shadd_operand.
13155 (shift-add insns using ASHIFT): New patterns.
13157 2015-05-20 Mikhail Maltsev <maltsevm@gmail.com>
13159 * bb-reorder.c (set_edge_can_fallthru_flag): Use rtx_jump_insn where
13161 (fix_up_fall_thru_edges): Likewise.
13162 (fix_crossing_conditional_branches): Likewise. Promote jump targets
13163 from to rtx_insn to rtx_code_label where feasible.
13164 * bt-load.c (move_btr_def): Remove as-a cast of the value returned by
13165 gen_move_insn (returned type changed to rtx_insn).
13166 * builtins.c (expand_errno_check): Fix arguments of
13167 do_compare_rtx_and_jump (now expects rtx_code_label).
13168 (expand_builtin_acc_on_device): Likewise.
13169 * cfgcleanup.c (try_simplify_condjump): Add cast when calling
13170 invert_jump (now exprects rtx_jump_insn).
13171 * cfgexpand.c (label_rtx_for_bb): Promote return type to rtx_code_label.
13172 (construct_init_block): Use rtx_code_label.
13173 * cfgrtl.c (block_label): Promote return type to rtx_code_label.
13174 (try_redirect_by_replacing_jump): Use cast to rtx_jump_insn when
13175 calling redirect_jump.
13176 (patch_jump_insn): Likewise.
13177 (redirect_branch_edge): Likewise.
13178 (force_nonfallthru_and_redirect): Likewise.
13179 (fixup_reorder_chain): Explicitly use rtx_jump_insn instead of rtx_insn
13181 (rtl_lv_add_condition_to_bb): Update call of do_compare_rtx_and_jump.
13182 * cfgrtl.h: Promote return type of block_label to rtx_code_label.
13183 * config/bfin/bfin.c (hwloop_optimize): Fix call of emit_label_before.
13184 * config/i386/i386.c (ix86_emit_cmove): Explicitly use rtx_code_label
13185 to store the value retured by gen_label_rtx.
13186 * config/mips/mips.c (mips16_split_long_branches): Promote rtx_insn to
13188 * config/sh/sh.c (gen_far_branch): Likewise. Fix call of invert_jump.
13189 (split_branches): Fix calls of redirect_jump.
13190 * dojump.c (jumpifnot): Promote argument type from rtx to
13192 (jumpifnot_1): Likewise.
13193 (jumpif): Likewise.
13194 (jumpif_1): Likewise.
13195 (do_jump_1): Likewise.
13196 (do_jump): Likewise. Use rtx_code_label when feasible.
13197 (do_jump_by_parts_greater_rtx): Likewise.
13198 (do_jump_by_parts_zero_rtx): Likewise.
13199 (do_jump_by_parts_equality_rtx): Likewise.
13200 (do_compare_rtx_and_jump): Likewise.
13201 * dojump.h: Update function prototypes.
13202 * dse.c (emit_inc_dec_insn_before): Remove case (gen_move_insn now
13204 * emit-rtl.c (emit_jump_insn_before_noloc): Promote return type to
13206 (emit_label_before): Likewise.
13207 (emit_jump_insn_after_noloc): Likewise.
13208 (emit_jump_insn_after_setloc): Likewise.
13209 (emit_jump_insn_after): Likewise
13210 (emit_jump_insn_before_setloc): Likewise.
13211 (emit_jump_insn_before): Likewise.
13212 (emit_label_before): Promote return type to rtx_code_label.
13213 (emit_label): Likewise.
13214 * except.c (sjlj_emit_dispatch_table): Use jump_target_rtx.
13215 * explow.c (emit_stack_save): Use gen_move_insn_uncast instead of
13217 (emit_stack_restore): Likewise.
13218 * expmed.c (emit_store_flag_force): Fix calls of do_compare_rtx_and_jump.
13219 (do_cmp_and_jump): Likewise.
13220 * expr.c (expand_expr_real_2): Likewise. Promote some local variables
13221 from rtx to rtx_code_label.
13222 (gen_move_insn_uncast): New function.
13223 * expr.h: Update return type of gen_move_insn (promote to rtx_insn).
13224 * function.c (convert_jumps_to_returns): Fix call of redirect_jump.
13225 * gcse.c (pre_insert_copy_insn): Use rtx_insn instead of rtx.
13226 * ifcvt.c (dead_or_predicable): Use rtx_jump_insn when calling
13227 invert_jump_1 and redirect_jump_1.
13228 * internal-fn.c (expand_arith_overflow_result_store): Fix call of
13229 do_compare_rtx_and_jump.
13230 (expand_addsub_overflow): Likewise.
13231 (expand_neg_overflow): Likewise.
13232 (expand_mul_overflow): Likewise.
13233 * ira.c (split_live_ranges_for_shrink_wrap): Use rtx_insn for
13234 return value of gen_move_insn.
13235 * jump.c (redirect_jump): Promote argument from rtx to rtx_jump_insn.
13236 * loop-doloop.c (add_test): Use rtx_code_label.
13237 (doloop_modify): Likewise.
13238 (doloop_optimize): Likewise.
13239 * loop-unroll.c (compare_and_jump_seq): Promote rtx to rtx_code_label.
13240 * lra-constraints.c (emit_spill_move): Remove cast of value returned
13242 (inherit_reload_reg): Add cast when calling dump_insn_slim.
13243 (split_reg): Likewise.
13244 * modulo-sched.c (schedule_reg_moves): Remove cast of value returned by
13246 * optabs.c (expand_binop_directly): Remove casts of values returned by
13248 (expand_unop_direct): Likewise.
13249 (expand_abs): Likewise.
13250 (maybe_emit_unop_insn): Likewise.
13251 (maybe_gen_insn): Promote return type to rtx_insn.
13252 * optabs.h: Update prototype of maybe_gen_insn.
13253 * postreload-gcse.c (eliminate_partially_redundant_load): Remove
13255 * recog.c (struct peep2_insn_data): Promote type of insn field to
13257 (peep2_reinit_state): Use NULL instead of NULL_RTX.
13258 (peep2_attempt): Remove casts of insn in peep2_insn_data.
13259 (peep2_fill_buffer): Promote argument from rtx to rtx_insn
13260 * recog.h (struct insn_gen_fn): Promote return types of function
13261 pointers and operator ().from rtx to rtx_insn.
13262 * reorg.c (fill_simple_delay_slots): Promote rtx_insn to rtx_jump_insn.
13263 (fill_eager_delay_slots): Likewise.
13264 (relax_delay_slots): Likewise.
13265 (make_return_insns): Likewise.
13266 (dbr_schedule): Likewise.
13267 (optimize_skips): Likewise.
13268 (reorg_redirect_jump): Likewise.
13269 (fill_slots_from_thread): Likewise.
13270 * reorg.h: Update prototypes.
13271 * resource.c (find_dead_or_set_registers): Use dyn_cast to
13272 rtx_jump_insn instead of check. Use it's jump_target method.
13273 * rtl.h (rtx_jump_insn::jump_label): Define new method.
13274 (rtx_jump_insn::jump_target): Define new method.
13275 (rtx_jump_insn::set_jump_target): Define new method.
13276 * rtlanal.c (tablejump_p): Promote type of one local variable.
13277 * sched-deps.c (sched_analyze_2): Promote rtx to rtx_insn_list.
13278 (sched_analyze_insn): Likewise.
13279 * sched-vis.c (print_insn_with_notes): Promote rtx to rtx_insn.
13280 (print_insn): Likewise.
13281 * stmt.c (label_rtx): Promote return type to rtx_insn.
13282 (force_label_rtx): Likewise.
13283 (jump_target_rtx): Define new function.
13284 (expand_label): Use it, get rid of one cast.
13285 (expand_naked_return): Promote rtx to rtx_code_label.
13286 (do_jump_if_equal): Fix do_compare_rtx_and_jump call.
13287 (expand_case): Use rtx_code_label instread of rtx where feasible.
13288 (expand_sjlj_dispatch_table): Likewise.
13289 (emit_case_nodes): Likewise.
13290 * stmt.h: Declare jump_target_rtx. Update prototypes. Fix comments.
13291 * store-motion.c (insert_store): Make use of new return type of
13292 gen_move_insn and remove a cast.
13293 (replace_store_insn): Likewise.
13295 2015-05-20 Max Filippov <jcmvbkbc@gmail.com>
13297 * config/xtensa/xtensa.c (init_alignment_context): Replace MULT
13298 by BITS_PER_UNIT with ASHIFT by exact_log2 (BITS_PER_UNIT).
13300 2015-05-20 Jeff Law <law@redhat.com>
13302 * tree-ssa-threadupdate.c (mark_threaded_blocks): Properly
13303 dispose of the jump thread path when the jump threading
13304 opportunity is cancelled.
13306 2015-05-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
13308 * diagnostic.c (diagnostic_print_caret_line): Fix off-by-one error
13309 when printing the caret character.
13311 2015-05-20 Marek Polacek <polacek@redhat.com>
13313 * cfgexpand.c (expand_debug_expr): Use UNARY_CLASS_P.
13315 2015-05-20 Marek Polacek <polacek@redhat.com>
13317 * expr.c (expand_cond_expr_using_cmove): Use COMPARISON_CLASS_P.
13318 * gimple-expr.c (gimple_cond_get_ops_from_tree): Likewise.
13319 * gimple-fold.c (canonicalize_bool): Likewise.
13320 (same_bool_result_p): Likewise.
13321 * tree-if-conv.c (parse_predicate): Likewise.
13323 2015-05-20 Marek Polacek <polacek@redhat.com>
13325 * gimple-fold.c (fold_const_aggregate_ref_1): Use DECL_P.
13326 * gimplify.c (gimplify_modify_expr_rhs): Likewise.
13328 2015-05-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
13330 * config/aarch64/aarch64.c (aarch64_class_max_nregs):
13331 Use UNITS_PER_VREG and UNITS_PER_WORD instead of their direct
13334 2015-05-20 Robert Suchanek <robert.suchanek@imgtec.com>
13336 * config/mips/mips.h (micromips_globals): Declare.
13338 2015-05-20 David Malcolm <dmalcolm@redhat.com>
13340 * timevar.def (TV_INITIALIZE_RTL): New.
13341 * toplev.c (initialize_rtl): Use an auto_timevar to account this
13342 function's time to TV_INITIALIZE_RTL.
13344 2015-05-20 Ilya Enkovich <enkovich.gnu@gmail.com>
13346 * tree-chkp.c (chkp_maybe_copy_and_register_bounds): Remove useless
13347 gimple_build_nop calls.
13348 (chkp_find_bounds_for_elem): Likewise.
13349 (chkp_get_zero_bounds): Likewise.
13350 (chkp_get_none_bounds): Likewise.
13351 (chkp_get_bounds_by_definition): Likewise.
13352 (chkp_generate_extern_var_bounds): Likewise.
13353 (chkp_get_bounds_for_decl_addr): Likewise.
13354 (chkp_get_bounds_for_string_cst): Likewise.
13356 2015-05-20 Bin Cheng <bin.cheng@arm.com>
13358 PR tree-optimization/65447
13359 * tree-ssa-loop-ivopts.c (struct iv_use): New fields.
13360 (dump_use, dump_uses): Support to dump sub use.
13361 (record_use): New parameters to support sub use. Remove call to
13363 (record_sub_use, record_group_use): New functions.
13364 (compute_max_addr_offset, split_all_small_groups): New functions.
13365 (group_address_uses, rewrite_use_address): New functions.
13366 (strip_offset): New declaration.
13367 (find_interesting_uses_address): Call record_group_use.
13368 (add_candidate): New assertion.
13369 (infinite_cost_p): Move definition forward.
13370 (add_costs): Check INFTY cost and return immediately.
13371 (get_computation_cost_at): Clear setup cost and dependent bitmap
13373 (determine_use_iv_cost_address): Compute cost for sub uses.
13374 (rewrite_use_address_1): Rename from old rewrite_use_address.
13375 (free_loop_data): Free sub uses.
13376 (tree_ssa_iv_optimize_loop): Call group_address_uses.
13378 2015-05-20 Kugan Vivekanandarajah <kuganv@linaro.org>
13379 Jim Wilson <jim.wilson@linaro.org>
13381 * config/arm/aarch-common-protos.h (struct mem_cost_table): Added
13382 new fields loadv and storev.
13383 * config/aarch64/aarch64-cost-tables.h (thunderx_extra_costs):
13384 Initialize loadv and storev.
13385 * config/arm/aarch-cost-tables.h (generic_extra_costs): Likewise.
13386 (cortexa53_extra_costs): Likewise.
13387 (cortexa57_extra_costs): Likewise.
13388 (xgene1_extra_costs): Likewise.
13389 * config/aarch64/aarch64.c (aarch64_rtx_costs): Update vector
13392 2015-05-20 Kugan Vivekanandarajah <kuganv@linaro.org>
13394 * config/arm/arm.c (cortexa9_extra_costs): Initialize loadv and
13396 (cortexa8_extra_costs): Likewise.
13397 (cortexa5_extra_costs): Likewise.
13398 (cortexa7_extra_costs): Likewise.
13399 (cortexa12_extra_costs): Likewise.
13400 (cortexa15_extra_costs): Likewise.
13401 (v7m_extra_costs): Likewise.
13403 2015-05-20 Jeff Law <law@redhat.com>
13405 * tree-ssa-threadupdate.c (thread_single_edge): Use delete_jump_thread
13406 instead of open-coded version. Also delete the jump thread created
13407 within this function.
13409 2015-05-20 Alan Modra <amodra@gmail.com>
13411 * config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Return
13412 stack adjusting insn. Formatting.
13413 (rs6000_emit_prologue): Track stack adjusting insn, and use of
13414 r12. If possible, emit first -fsplit-stack arg pointer insn
13415 before stack adjust. Don't use r12 to save cr if split-stack.
13417 2015-05-20 Alan Modra <amodra@gmail.com>
13419 * common/config/rs6000/rs6000-common.c (TARGET_SUPPORTS_SPLIT_STACK):
13421 (rs6000_supports_split_stack): New function.
13422 * gcc/config/rs6000/rs6000.c (machine_function): Add
13423 split_stack_arg_pointer.
13424 (TARGET_EXTRA_LIVE_ON_ENTRY, TARGET_INTERNAL_ARG_POINTER): Define.
13425 (setup_incoming_varargs): Use crtl->args.internal_arg_pointer
13426 rather than virtual_incoming_args_rtx.
13427 (rs6000_va_start): Likewise.
13428 (split_stack_arg_pointer_used_p): New function.
13429 (rs6000_emit_prologue): Set up arg pointer for -fsplit-stack.
13430 (morestack_ref): New var.
13431 (gen_add3_const, rs6000_expand_split_stack_prologue,
13432 rs6000_internal_arg_pointer, rs6000_live_on_entry,
13433 rs6000_split_stack_space_check): New functions.
13434 (rs6000_elf_file_end): Call file_end_indicate_split_stack.
13435 * gcc/config/rs6000/rs6000.md (UNSPEC_STACK_CHECK): Define.
13436 (UNSPECV_SPLIT_STACK_RETURN): Define.
13437 (split_stack_prologue, load_split_stack_limit,
13438 load_split_stack_limit_di, load_split_stack_limit_si,
13439 split_stack_return, split_stack_space_check): New expands and insns.
13440 * gcc/config/rs6000/rs6000-protos.h
13441 (rs6000_expand_split_stack_prologue): Declare.
13442 (rs6000_split_stack_space_check): Declare.
13444 2015-05-20 Alan Modra <amodra@gmail.com>
13446 * config/rs6000/rs6000.c (struct rs6000_stack): Correct comments.
13447 (direct_return): Test vrsave_size rather than vrsave_mask.
13448 (rs6000_emit_prologue): Likewise. Remove redundant altivec tests.
13449 (rs6000_emit_epilogue): Likewise.
13451 2015-05-20 Alan Modra <amodra@gmail.com>
13453 * config/rs6000/rs6000.c (rs6000_stack_info): Don't zero offsets
13454 when not saving registers.
13455 (debug_stack_info): Adjust to omit printing unused offsets,
13457 (rs6000_emit_epilogue): Adjust use_backchain_to_restore_sp
13460 2015-05-19 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
13463 * config/i386/winnt.c (struct wrapped_symbol_hasher): Change
13464 value_type to const char *.
13466 2015-05-19 Sandra Loosemore <sandra@codesourcery.com>
13468 * config.gcc [powerpc*-*-linux*]: Allow --enable-targets=all
13469 to build a biarch toolchain again.
13471 2015-05-19 Jan Hubicka <hubicka@ucw.cz>
13473 * ipa-devirt.c (type_in_anonymous_namespace_p): Return true
13474 or implicit declarations.
13475 (odr_type_p): Check that TYPE_NAME is TYPE_DECL before looking
13477 (get_odr_type): Check type has linkage before adding bases.
13478 (register_odr_type): Check that type has linkage before adding it.
13479 (type_known_to_have_no_deriavations_p): Rename to ..
13480 (type_known_to_have_no_derivations_p): This one.
13481 * ipa-utils.h (type_known_to_have_no_deriavations_p): Rename to ..
13482 (type_known_to_have_no_derivations_p): This one.
13483 * ipa-polymorphic-call.c
13484 (ipa_polymorphic_call_context::restrict_to_inner_type): Check that
13487 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
13489 * stor-layout.c (finalize_type_size): Use AGGREGATE_TYPE_P.
13490 (layout_type): Use RECORD_OR_UNION_TYPE_P.
13492 2015-05-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
13494 * config/s390/s390.c (s390_vector_bool_type_p): New function.
13495 (s390_invalid_binary_op): New function.
13496 (TARGET_INVALID_BINARY_OP): Define macro.
13498 2015-05-19 David Sherwood <david.sherwood@arm.com>
13500 * loop-invariant.c (create_new_invariant): Don't calculate address cost
13501 if mode is not a scalar integer.
13502 (get_inv_cost): Increase computational cost for unused invariants.
13504 2015-05-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
13506 * config.gcc: Add vecintrin.h to extra_headers. Add s390-c.o to
13507 c_target_objs and cxx_target_objs. Add t-s390 to tmake_file.
13508 * config/s390/s390-builtin-types.def: New file.
13509 * config/s390/s390-builtins.def: New file.
13510 * config/s390/s390-builtins.h: New file.
13511 * config/s390/s390-c.c: New file.
13512 * config/s390/s390-modes.def: Add modes CCVEQANY, CCVH,
13513 CCVHANY, CCVHU, CCVHUANY, CCVFHANY, CCVFHEANY.
13514 * config/s390/s390-protos.h (s390_expand_vec_compare_cc)
13515 (s390_cpu_cpp_builtins, s390_register_target_pragmas): Add
13517 * config/s390/s390.c (s390-builtins.h, s390-builtins.def):
13519 (flags_builtin, flags_overloaded_builtin_var, s390_builtin_types)
13520 (s390_builtin_fn_types, s390_builtin_decls, code_for_builtin): New
13521 variable definitions.
13522 (s390_const_operand_ok): New function.
13523 (s390_expand_builtin): Rewrite.
13524 (s390_init_builtins): New function.
13525 (s390_handle_vectorbool_attribute): New function.
13526 (s390_attribute_table): Add s390_vector_bool attribute.
13527 (s390_match_ccmode_set): Handle new cc modes CCVH, CCVHU.
13528 (s390_branch_condition_mask): Generate masks for new modes.
13529 (s390_expand_vec_compare_cc): New function.
13530 (s390_mangle_type): Add mangling for vector bool types.
13531 (enum s390_builtin): Remove.
13532 (s390_atomic_assign_expand_fenv): Rename constants for sfpc and
13534 * config/s390/s390.h (TARGET_CPU_CPP_BUILTINS): Call
13535 s390_cpu_cpp_builtins.
13536 (REGISTER_TARGET_PRAGMAS): New macro.
13537 * config/s390/s390.md: Define more UNSPEC_VEC_* constants.
13538 (insn_cmp mode attribute): Add new CC modes.
13539 (s390_sfpc, s390_efpc): Rename patterns to sfpc and efpc.
13540 (lcbb): New pattern definition.
13541 * config/s390/s390intrin.h: Include vecintrin.h.
13542 * config/s390/t-s390: New file.
13543 * config/s390/vecintrin.h: New file.
13544 * config/s390/vector.md: Include vx-builtins.md.
13545 * config/s390/vx-builtins.md: New file.S/390 zvector builtin
13548 2015-05-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
13550 * config/s390/s390-modes.def: Add new modes CCVEQ, CCVFH, and
13552 * config/s390/s390.c (s390_match_ccmode_set): Handle new modes.
13553 (s390_select_ccmode): Likewise.
13554 (s390_canonicalize_comparison): Swap operands if necessary.
13555 (s390_expand_vec_compare_scalar): Expand DFmode compare using
13556 single element vector instructions.
13557 (s390_emit_compare): Call s390_expand_vec_compare_scalar.
13558 (s390_branch_condition_mask): Generate CC masks for the new modes.
13559 * config/s390/s390.md (v0, vf, vd): New mode attributes.
13560 (VFCMP, asm_fcmp, insn_cmp): New mode iterator and attributes.
13561 (*vec_cmp<insn_cmp>df_cconly, *fixuns_truncdfdi2_z13)
13562 (*fix_trunc<BFP:mode><GPR:mode>2_bfp, *floatunsdidf2_z13)
13563 (*floatuns<GPR:mode><FP:mode>2, *extendsfdf2_z13)
13564 (*extend<DSF:mode><BFP:mode>2): New insn definition.
13565 (fix_trunc<BFP:mode><GPR:mode>2_bfp, loatuns<GPR:mode><FP:mode>2)
13566 (extend<DSF:mode><BFP:mode>2): Turn into expander.
13567 (floatdi<mode>2, truncdfsf2, add<mode>3, sub<mode>3, mul<mode>3)
13568 (div<mode>3, *neg<mode>2, *abs<mode>2, *negabs<mode>2)
13569 (sqrt<mode>2): Add vector instruction.
13571 2015-05-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
13573 * config/s390/constraints.md (j00, jm1, jxx, jyy, v): New
13575 * config/s390/predicates.md (const0_operand, constm1_operand)
13576 (constable_operand): Accept vector operands.
13577 * config/s390/s390-modes.def: Add supported vector modes.
13578 * config/s390/s390-protos.h (s390_cannot_change_mode_class)
13579 (s390_function_arg_vector, s390_contiguous_bitmask_vector_p)
13580 (s390_bytemask_vector_p, s390_expand_vec_strlen)
13581 (s390_expand_vec_compare, s390_expand_vcond)
13582 (s390_expand_vec_init): Add prototypes.
13583 * config/s390/s390.c (VEC_ARG_NUM_REG): New macro.
13584 (s390_vector_mode_supported_p): New function.
13585 (s390_contiguous_bitmask_p): Mask out the irrelevant bits.
13586 (s390_contiguous_bitmask_vector_p): New function.
13587 (s390_bytemask_vector_p): New function.
13588 (s390_split_ok_p): Vector regs don't work either.
13589 (regclass_map): Add VEC_REGS.
13590 (s390_legitimate_constant_p): Handle vector constants.
13591 (s390_cannot_force_const_mem): Handle CONST_VECTOR.
13592 (legitimate_reload_vector_constant_p): New function.
13593 (s390_preferred_reload_class): Handle CONST_VECTOR.
13594 (s390_reload_symref_address): Likewise.
13595 (s390_secondary_reload): Vector memory instructions only support
13596 short displacements. Rename reload*_nonoffmem* to reload*_la*.
13597 (s390_emit_ccraw_jump): New function.
13598 (s390_expand_vec_strlen): New function.
13599 (s390_expand_vec_compare): New function.
13600 (s390_expand_vcond): New function.
13601 (s390_expand_vec_init): New function.
13602 (s390_dwarf_frame_reg_mode): New function.
13603 (print_operand): Handle addresses with 'O' and 'R' constraints.
13604 (NR_C_MODES, constant_modes): Add vector modes.
13605 (s390_output_pool_entry): Handle vector constants.
13606 (s390_hard_regno_mode_ok): Handle vector registers.
13607 (s390_class_max_nregs): Likewise.
13608 (s390_cannot_change_mode_class): New function.
13609 (s390_invalid_arg_for_unprototyped_fn): New function.
13610 (s390_function_arg_vector): New function.
13611 (s390_function_arg_float): Remove size variable.
13612 (s390_pass_by_reference): Handle vector arguments.
13613 (s390_function_arg_advance): Likewise.
13614 (s390_function_arg): Likewise.
13615 (s390_return_in_memory): Vector values are returned in a VR if
13617 (s390_function_and_libcall_value): Handle vector arguments.
13618 (s390_gimplify_va_arg): Likewise.
13619 (s390_call_saved_register_used): Consider the arguments named.
13620 (s390_conditional_register_usage): Disable v16-v31 for non-vec
13622 (s390_preferred_simd_mode): New function.
13623 (s390_support_vector_misalignment): New function.
13624 (s390_vector_alignment): New function.
13625 (TARGET_STRICT_ARGUMENT_NAMING, TARGET_DWARF_FRAME_REG_MODE)
13626 (TARGET_VECTOR_MODE_SUPPORTED_P)
13627 (TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN)
13628 (TARGET_VECTORIZE_PREFERRED_SIMD_MODE)
13629 (TARGET_VECTORIZE_SUPPORT_VECTOR_MISALIGNMENT)
13630 (TARGET_VECTOR_ALIGNMENT): Define target macro.
13631 * config/s390/s390.h (FUNCTION_ARG_PADDING): Define macro.
13632 (FIRST_PSEUDO_REGISTER): Increase value.
13633 (VECTOR_NOFP_REGNO_P, VECTOR_REGNO_P, VECTOR_NOFP_REG_P)
13634 (VECTOR_REG_P): Define macros.
13635 (FIXED_REGISTERS, CALL_USED_REGISTERS)
13636 (CALL_REALLY_USED_REGISTERS, REG_ALLOC_ORDER)
13637 (HARD_REGNO_CALL_PART_CLOBBERED, REG_CLASS_NAMES)
13638 (FUNCTION_ARG_REGNO_P, FUNCTION_VALUE_REGNO_P, REGISTER_NAMES):
13639 Add vector registers.
13640 (CANNOT_CHANGE_MODE_CLASS): Call C function.
13641 (enum reg_class): Add VEC_REGS, ADDR_VEC_REGS, GENERAL_VEC_REGS.
13642 (SECONDARY_MEMORY_NEEDED): Allow SF<->SI mode moves without
13644 (DBX_REGISTER_NUMBER, FIRST_VEC_ARG_REGNO, LAST_VEC_ARG_REGNO)
13645 (SHORT_DISP_IN_RANGE, VECTOR_STORE_FLAG_VALUE): Define macro.
13646 * config/s390/s390.md (UNSPEC_VEC_*): New constants.
13647 (VR*_REGNUM): New constants.
13648 (ALL): New mode iterator.
13649 (INTALL): Remove mode iterator.
13651 (movti): Implement TImode moves for VRs.
13652 Disable TImode splitter for VR targets.
13653 Implement splitting TImode GPR<->VR moves.
13654 (reload*_tomem_z10, reload*_toreg_z10): Replace INTALL with ALL.
13655 (reload<mode>_nonoffmem_in, reload<mode>_nonoffmem_out): Rename to
13656 reload<mode>_la_in, reload<mode>_la_out.
13657 (*movdi_64, *movsi_zarch, *movhi, *movqi, *mov<mode>_64dfp)
13658 (*mov<mode>_64, *mov<mode>_31): Add vector instructions.
13659 (TD/TF mode splitter): Enable for GPRs only (formerly !FP).
13660 (mov<mode> SF SD): Prefer lder, lde for loading.
13661 Add lrl and strl instructions.
13662 Add vector instructions.
13663 (strlen<mode>): Rename old strlen<mode> to strlen_srst<mode>.
13664 Call s390_expand_vec_strlen on z13.
13665 (*cc_to_int): Change predicate to nonimmediate_operand.
13666 (addti3): Rename to *addti3. New expander.
13667 (subti3): Rename to *subti3. New expander.
13668 * config/s390/vector.md: New file.
13670 2015-05-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
13672 * common/config/s390/s390-common.c (processor_flags_table): Add
13674 * config.gcc: Add z13.
13675 * config/s390/s390-opts.h (enum processor_type): Add
13676 PROCESSOR_2964_Z13.
13677 * config/s390/s390.c (s390_adjust_priority): Check for
13678 PROCESSOR_2964_Z13.
13679 (s390_reorg): Likewise.
13680 (s390_sched_reorder): Likewise.
13681 (s390_sched_variable_issue): Likewise.
13682 (s390_loop_unroll_adjust): Likewise.
13683 (s390_option_override): Likewise. Default to -mvx when available.
13684 * config/s390/s390.h (enum processor_flags): Add PF_Z13 and PF_VX.
13685 (TARGET_CPU_Z13, TARGET_CPU_VX, TARGET_Z13, TARGET_VX)
13686 (TARGET_VX_ABI): Define macros.
13688 (TARGET_DEFAULT): Add MASK_OPT_VX.
13689 * config/s390/s390.md ("cpu" attribute): Add z13.
13690 ("cpu_facility" attribute): Add vec.
13691 * config/s390/s390.opt (processor_type): Add z13.
13692 (mvx): New options.
13693 * doc/invoke.texi: Add z13 option for -march.
13695 2015-05-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
13697 * config/s390/predicates.md (shift_count_or_setmem_operand): Add
13698 mode check to make sure that only scalar integer values are
13701 2015-05-19 Jan Hubicka <hubicka@ucw.cz>
13703 * tree.c (verify_type_variant): Fix #undef.
13704 (gimple_canonical_types_compatible_p): Move here from lto.c
13705 (verify_type): Verify TYPE_CANONICAL compatibility.
13706 * tree.h (gimple_canonical_types_compatible_p): Declare.
13708 2015-05-19 Jakub Jelinek <jakub@redhat.com>
13710 PR middle-end/66199
13711 * tree.h (OMP_TEAMS_COMBINED): Define.
13712 * gimplify.c (enum gimplify_omp_var_data): Add
13713 GOVD_LINEAR_LASTPRIVATE_NO_OUTER.
13714 (enum omp_region_type): Add ORT_COMBINED_TEAMS.
13715 (omp_notice_variable): Accept both ORT_TEAMS
13716 and ORT_COMBINED_TEAMS. Don't recurse if
13717 GOVD_LINEAR_LASTPRIVATE_NO_OUTER is set and either
13718 GOVD_LINEAR is set, or GOVD_LASTPRIVATE without
13720 (omp_no_lastprivate): New function.
13721 (gimplify_scan_omp_clauses): For OMP_CLAUSE_LASTPRIVATE
13722 and OMP_CLAUSE_LINEAR, if omp_no_lastprivate, don't
13723 notice_outer and set appropriate bits, otherwise make
13724 sure default(none) combined constructs won't complain.
13725 (gimplify_adjust_omp_clauses): Remove OMP_CLAUSE_LINEAR
13726 outer special casing, for OMP_CLAUSE_LASTPRIVATE if
13727 omp_no_lastprivate either remove the clause or turn it
13728 into OMP_CLAUSE_PRIVATE.
13729 (gimplify_omp_for): Fix up handling of implicit
13730 lastprivate or linear iterators.
13731 (gimplify_omp_workshare): For OMP_TEAMS_COMBINED use
13732 ORT_COMBINED_TEAMS.
13733 * omp-low.c (lower_omp_for_lastprivate): For combined
13734 for simd use fd.loop.n2 from the for rather than simd.
13736 2015-05-19 Richard Sandiford <richard.sandiford@arm.com>
13738 * config/cris/cris.c (cris_expand_prologue): Use gen_raw_REG
13739 instead of gen_rtx_raw_REG.
13740 (cris_expand_epilogue): Likewise.
13741 * config/microblaze/microblaze.c (microblaze_classify_address):
13743 * config/sparc/sparc.md: Likewise.
13745 2015-05-19 Uros Bizjak <ubizjak@gmail.com>
13747 * config/alpha/alpha.c (alpha_legitimize_reload_address)
13748 (alpha_preferred_reload_class, alpha_legitimate_constant_p): Use
13749 CONST_INT_P, CONST_SCALAR_INT_P and CONST_DOUBLE_P predicates.
13750 (alpha_split_reload_pair) <case CONST_INT, case CONST_WIDE_INT>:
13751 Use CASE_CONST_SCALAR_INT.
13752 (print_operand) <case 'M'>: Use mode_width_operand to check the
13753 value of the constant.
13754 * config/alpha/alpha.md (movti): Use CONST_SCALAR_INT_P predicate.
13755 * config/alpha/predicates.md (input_operand): Use general_operand
13756 instead of match_code as operand check.
13757 (symbolic_operand): Use match_code with subexpression digits.
13758 * config/alpha/constraints.md (Q): Ditto.
13760 2015-05-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
13762 * optabs.c (expand_vec_perm): Don't re-use SEL as target operand.
13764 2015-05-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
13766 * config/s390/s390.c (s390_secondary_reload): Fix check for
13767 load/store relative.
13769 2015-05-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
13771 * recog.h: Increase MAX_RECOG_ALTERNATIVES. Change type of
13772 alternative_mask to uint64_t.
13774 2015-05-19 Jakub Jelinek <jakub@redhat.com>
13776 PR tree-optimization/66187
13777 * match.pd ((bit_and (plus/minus (convert @0) (convert @1)) mask)):
13778 Pass TYPE_SIGN to tree_int_cst_min_precision. If
13779 !TYPE_OVERFLOW_WRAPS, ensure @4 is non-negative.
13781 2015-05-19 David Malcolm <dmalcolm@redhat.com>
13783 * diagnostic.c (diagnostic_report_current_module): Strengthen
13784 local "new_map" from const line_map * to
13785 const line_map_ordinary *.
13786 * genmatch.c (error_cb): Likewise for local "map".
13787 (output_line_directive): Likewise for local "map".
13788 * input.c (expand_location_1): Likewise for local "map".
13789 Pass NULL rather than &map to
13790 linemap_unwind_to_first_non_reserved_loc, since the value is never
13791 read from there, and the value written back not read from here.
13792 (is_location_from_builtin_token): Strengthen local "map" from
13793 const line_map * to const line_map_ordinary *.
13794 (dump_location_info): Strengthen locals "map" from
13795 line_map *, one to const line_map_ordinary *, the other
13796 to const line_map_macro *.
13797 * tree-diagnostic.c (loc_map_pair): Strengthen field "map" from
13798 const line_map * to const line_map_macro *.
13799 (maybe_unwind_expanded_macro_loc): Add a call to
13800 linemap_check_macro when writing to the "map" field of the
13802 Introduce local const line_map_ordinary * "ord_map", using it in
13803 place of "map" in the part of the function where we know we have
13804 an ordinary map. Strengthen local "m" from const line_map * to
13805 const line_map_ordinary *.
13807 2015-05-19 Nick Clifton <nickc@redhat.com>
13810 * config/msp430/msp430.md (zero_extendhisi2): Add support for
13811 separate source and destination registers.
13813 2015-05-19 Richard Biener <rguenther@suse.de>
13815 PR tree-optimization/66165
13816 * tree-vect-slp.c (vect_supported_load_permutation_p): Add guard
13817 for no load permutation.
13819 PR tree-optimization/66185
13820 * tree-vect-slp.c (vect_build_slp_tree): Properly roll back
13821 when building the SLP node from scalars.
13823 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
13824 Tristan Gingold <gingold@adacore.com>
13826 * insn-notes.def (UPDATE_SJLJ_CONTEXT): New note.
13827 * builtins.c (expand_builtin_update_setjmp_buf): Make global.
13828 (expand_stack_restore): Call record_new_stack_level.
13829 (expand_stack_save): Do not call do_pending_stack_adjust.
13830 * builtins.h (expand_builtin_update_setjmp_buf): Declare.
13831 * calls.c (expand_call): Call record_new_stack_level for alloca.
13832 * except.c (sjlj_mark_call_sites): Expand builtin_update_setjmp_buf
13833 wherever a NOTE_INSN_UPDATE_SJLJ_CONTEXT note is present.
13834 (update_sjlj_context): New global function.
13835 * except.h (update_sjlj_context): Declare.
13836 * explow.c (record_new_stack_level): New global function.
13837 (allocate_dynamic_stack_space): Call record_new_stack_level.
13838 * explow.h (record_new_stack_level): Declare.
13839 * final.c (final_scan_insn): Deal with NOTE_INSN_UPDATE_SJLJ_CONTEXT.
13840 * cfgrtl.c (duplicate_insn_chain): Likewise.
13842 2015-05-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
13844 * calls.c: Always define STACK_GROWS_DOWNWARD as 0 or 1.
13845 (mem_overlaps_already_clobbered_arg_p): Rewrite ifdef
13846 STACK_GROWS_DOWNWARD as normal if.
13847 (expand_call): Likewise.
13849 2015-05-19 Oleg Endo <olegendo@gcc.gnu.org>
13852 * config/sh/sh.md (*round_int_even): New insn_and_split and
13853 accompanying new unnamed split.
13855 2015-05-19 Richard Sandiford <richard.sandiford@arm.com>
13857 * bitmap.c (bitmap_set_range): Handle count==1 specially.
13858 (bitmap_clear_range): Likewise.
13859 * cfgcleanup.c (mark_effect): Use bitmap_clear_range and
13860 bitmap_set_range unconditionally.
13861 * df-problems.c (df_simulate_one_insn_forwards): Likewise.
13862 * df-scan.c (df_mark_reg): Likewise.
13863 * haifa-sched.c (setup_ref_regs): Likewise.
13864 * sched-rgn.c (update_live_1): Likewise.
13866 2015-05-19 Richard Sandiford <richard.sandiford@arm.com>
13868 * regs.h (END_HARD_REGNO): Delete.
13869 (END_REGNO): Move to...
13871 * bt-load.c (note_btr_set): Use END_REGNO instead of END_HARD_REGNO.
13872 * caller-save.c (mark_set_regs): Likewise.
13873 * combine.c (move_deaths, distribute_notes): Likewise.
13874 * cse.c (invalidate, invalidate_for_call): Likewise.
13875 * df-scan.c (df_ref_record): Likewise.
13876 * postreload-gcse.c (reg_changed_after_insn_p): Likewise.
13877 (record_last_reg_set_info): Likewise.
13878 * reg-stack.c (convert_regs_exit): Likewise.
13879 * reload.c (reg_overlap_mentioned_for_reload_p): Likewise.
13880 * resource.c (update_live_status): Likewise.
13881 * rtlanal.c (find_reg_fusage, find_regno_fusage): Likewise.
13883 2015-05-19 Richard Sandiford <richard.sandiford@arm.com>
13885 * rtl.h (reg_info): Add an nregs field.
13886 (REG_NREGS): Use it.
13887 (SET_REGNO_RAW): Delete.
13888 (set_regno_raw): New function.
13889 * regs.h (END_HARD_REGNO): Make equivalent to END_REGNO.
13890 (END_REGNO): Redefine in terms of REG_NREGS.
13891 * read-rtl.c (read_rtx_code): Call set_regno_raw instead of
13893 * emit-rtl.c (set_mode_and_regno): Likewise.
13894 * df-scan.c (df_ref_change_reg_with_loc): Use set_mode_and_regno
13895 instead of SET_REGNO_RAW.
13897 2015-05-19 Richard Sandiford <richard.sandiford@arm.com>
13899 * rtl.h (PUT_MODE_RAW): New macro.
13900 (PUT_REG_NOTE_KIND): Use it.
13901 (set_mode_and_regno): Declare.
13902 (gen_raw_REG): Change regno to "unsigned int".
13903 (gen_rtx_REG): Change "unsigned" to "unsigned int".
13904 (PUT_MODE): Forward to PUT_MODE_RAW for generators, otherwise
13905 use set_mode_and_regno to change the mode of registers.
13906 * gengenrtl.c (gendef): Use PUT_MODE_RAW.
13907 * emit-rtl.c (set_mode_and_regno): New function.
13908 (gen_raw_REG): Change regno to unsigned int. Use set_mode_and_regno.
13909 * caller-save.c (reg_save_code): Use set_mode_and_regno.
13910 * expr.c (init_expr_target): Likewise.
13911 * ira.c (setup_prohibited_mode_move_regs): Likewise.
13912 * postreload.c (reload_cse_simplify_operands): Likewise.
13914 2015-05-19 Richard Sandiford <richard.sandiford@arm.com>
13916 * caller-save.c (init_caller_save): Use word_mode and
13917 FIRST_PSEUDO_REGISTER when creating temporary rtxes.
13918 * expr.c (init_expr_target): Likewise.
13919 * ira.c (setup_prohibited_mode_move_regs): Likewise.
13920 * postreload.c (reload_cse_regs_1): Likewise.
13922 2015-05-19 Richard Sandiford <richard.sandiford@arm.com>
13924 * rtl.def (REG): Change format to "r".
13925 * rtl.h (rtunion): Remove rt_reg.
13926 (reg_info): New structure.
13927 (rtx_def): Add reg field to main union.
13928 (X0REGATTR): Delete.
13929 (REG_CHECK): New macro.
13930 (SET_REGNO_RAW, rhs_regno, REG_ATTRS): Use it.
13931 * rtl.c (rtx_format): Document "r".
13932 (rtx_code_size): Handle REG specially.
13933 * gengenrtl.c (special_format): Return true for formats
13935 * gengtype.c (adjust_field_rtx_def): Handle 'r' fields.
13936 Deal with REG_ATTRS after the field loop.
13937 * emit-rtl.c (gen_raw_REG): Call rtx_alloc_stat directly.
13938 * expmed.c (init_expmed): Call gen_raw_REG instead of
13940 * expr.c (init_expr_target): Likewise.
13941 * regcprop.c (maybe_mode_change): Likewise.
13942 * varasm.c (make_decl_rtl): Likewise.
13943 * final.c (leaf_renumber_regs_insn): Return early after
13945 * genemit.c (gen_exp): Handle 'r' fields.
13946 * genpeep.c (match_rtx): Likewise.
13947 * gensupport.c (subst_pattern_match): Likewise.
13948 (get_alternatives_number, collect_insn_data, alter_predicate_for_insn)
13949 (alter_constraints, subst_dup): Likewise.
13950 * read-rtl.c (read_rtx_code): Likewise.
13951 * print-rtl.c (print_rtx): Likewise.
13952 * genrecog.c (find_operand, find_matching_operand): Likewise.
13953 (validate_pattern, match_pattern_2): Likewise.
13954 (parameter::UINT, rtx_test::REGNO_FIELD): New enum values.
13955 (rtx_test::regno_field): New function.
13956 (operator ==, safe_to_hoist_p, transition_parameter_type)
13957 (parameter_type_string, print_parameter_value)
13958 (print_nonbool_test, print_test): Handle new enum values.
13959 * cselib.c (rtx_equal_for_cselib_1): Handle REG specially.
13960 * lra-constraints.c (operands_match_p): Likewise.
13962 2015-05-19 Richard Sandiford <richard.sandiford@arm.com>
13964 * df.h (df_ref_change_reg_with_loc): Remove old_regno parameter.
13965 Change type of new_regno to unsigned int.
13966 * df-scan.c (df_ref_change_reg_with_loc_1): Change type of
13967 new_regno to unsigned int.
13968 (df_ref_change_reg_with_loc): Remove old_regno parameter.
13969 Change type of new_regno to unsigned int. Use SET_REGNO_RAW.
13970 * rtl.h (SET_REGNO): Update call to df_ref_change_reg_with_loc.
13971 (SET_REGNO_RAW): Add space after ",".
13973 2015-05-19 Richard Sandiford <richard.sandiford@arm.com>
13975 * rtl.h (REG_NREGS): New macro
13976 * alias.c (record_set): Use it.
13977 * cfgcleanup.c (mark_effect): Likewise.
13978 * combine.c (likely_spilled_retval_1): Likewise.
13979 (likely_spilled_retval_p, can_change_dest_mode): Likewise.
13980 (move_deaths, distribute_notes): Likewise.
13981 * cselib.c (cselib_record_set): Likewise.
13982 * df-problems.c (df_simulate_one_insn_forwards): Likewise.
13983 * df-scan.c (df_mark_reg): Likewise.
13984 * dse.c (look_for_hardregs): Likewise.
13985 * dwarf2out.c (reg_loc_descriptor): Likewise.
13986 (multiple_reg_loc_descriptor): Likewise.
13987 * expr.c (write_complex_part, read_complex_part): Likewise.
13988 (emit_move_complex): Likewise.
13989 * haifa-sched.c (setup_ref_regs): Likewise.
13990 * ira-lives.c (mark_hard_reg_live): Likewise.
13991 * lra.c (lra_set_insn_recog_data): Likewise.
13992 * mode-switching.c (create_pre_exit): Likewise.
13993 * postreload.c (reload_combine_recognize_const_pattern): Likewise.
13994 (reload_combine_recognize_pattern): Likewise.
13995 (reload_combine_note_use, move2add_record_mode): Likewise.
13996 (reload_cse_move2add): Likewise.
13997 * reg-stack.c (subst_stack_regs_pat): Likewise.
13998 * regcprop.c (kill_value, copy_value): Likewise.
13999 (copyprop_hardreg_forward_1): Likewise.
14000 * regrename.c (verify_reg_in_set, scan_rtx_reg): Likewise.
14001 (build_def_use): Likewise.
14002 * sched-deps.c (mark_insn_reg_birth, mark_reg_death): Likewise.
14003 (deps_analyze_insn): Likewise.
14004 * sched-rgn.c (check_live_1, update_live_1): Likewise.
14005 * sel-sched.c (count_occurrences_equiv): Likewise.
14006 * valtrack.c (dead_debug_insert_temp): Likewise.
14008 2015-05-19 Richard Sandiford <richard.sandiford@arm.com>
14010 * cfgcleanup.c (mentions_nonequal_regs): Use END_REGNO.
14011 * dse.c (note_add_store): Likewise.
14012 * ira-lives.c (mark_hard_reg_dead): Likewise.
14013 * loop-invariant.c (mark_reg_store): Likewise.
14014 (mark_reg_death): Likewise.
14015 * postreload.c (reload_combine): Likewise.
14016 (reload_combine_note_store): Likewise.
14017 (reload_combine_note_use): Likewise.
14018 * recog.c (peep2_reg_dead_p): Likewise.
14020 2015-05-19 Alan Modra <amodra@gmail.com>
14022 * config/rs6000/predicates.md (gpc_reg_operand): Don't allow all
14023 hard registers numbered greater or equal to ARG_POINTER_REGNUM.
14024 (reg_or_neg_short_operand, fix_trunc_dest_operand): Delete
14026 * config/rs6000/altivec.md (save_vregs_*, restore_vregs_*):
14027 Use altivec_register_operand. Make insn predicate TARGET_ALTIVEC.
14028 * config/rs6000/rs6000.md (extzvdi_internal2): Use cc_reg_operand.
14029 * config/rs6000/vsx.md (vsx_float<VSi><mode>2): Expand comment.
14031 2015-05-19 Sameera Deshpande <Sameera.Deshpande@imgtec.com>
14033 * config/mips/mips.md (JOIN_MODE): New mode iterator.
14034 (join2_load_Store<JOIN_MODE:mode>): New pattern.
14035 (join2_loadhi): Likewise.
14036 (define_peehole2): Add peephole2 patterns to join 2 HI/SI/SF/DF-mode
14037 load-load and store-stores.
14038 * config/mips/mips.opt (mload-store-pairs): New option.
14039 (TARGET_LOAD_STORE_PAIRS): New macro.
14040 * config/mips/mips.h (ENABLE_LD_ST_PAIRS): Likewise.
14041 * config/mips/mips-protos.h (mips_load_store_bonding_p): New prototype.
14042 * config/mips/mips.c (mips_load_store_bonding_p): New function.
14044 2015-05-19 Mikhail Maltsev <maltsevm@gmail.com>
14046 * bb-reorder.c (fix_up_fall_thru_edges): Use std::swap instead of
14048 * dojump.c (do_compare_rtx_and_jump): Likewise.
14049 * expmed.c (emit_store_flag_1): Likewise.
14050 * fibonacci_heap.h (fibonacci_heap::union_with): Likewise.
14051 * final.c (sprint_ul): Use std::reverse for reversing a string.
14052 * fold-const.c (extract_muldiv_1): Use std::swap.
14053 * genmodes.c (emit_mode_int_n): Likewise.
14054 * ifcvt.c (dead_or_predicable): Likewise.
14055 * ira-build.c (ira_merge_live_ranges): Likewise.
14056 (swap_allocno_copy_ends_if_necessary): Likewise.
14057 * ira.c (ira_setup_alts): Likewise.
14058 * loop-iv.c (iv_analyze_expr): Likewise.
14059 (implies_p): Likewise.
14060 (canon_condition): Likewise.
14061 * lra-constraints.c (swap_operands): Likewise.
14062 * lra-lives.c (lra_merge_live_ranges): Likewise.
14063 * omega.c (swap): Remove.
14065 (omega_unprotect_1): Use std::swap.
14066 (omega_solve_geq): Likewise.
14067 * optabs.c (expand_binop_directly): Likewise.
14068 (expand_binop): Likewise.
14069 (emit_conditional_move): Likewise.
14070 (emit_conditional_add): Likewise.
14071 * postreload.c (reload_cse_simplify_operands): Likewise.
14072 * reg-stack.c (emit_swap_insn): Likewise.
14073 (swap_to_top): Likewise.
14074 (compare_for_stack_reg): Likewise.
14075 (subst_asm_stack_regs): Likewise.
14076 * reload.c (find_reloads): Likewise.
14077 * reload1.c (gen_reload_chain_without_interm_reg_p): Likewise.
14078 * sel-sched.c (invoke_reorder_hooks): Likewise.
14079 (create_block_for_bookkeeping): Likewise.
14080 * tree-data-ref.c (lambda_matrix_row_exchange): Remove.
14081 (lambda_matrix_right_hermite): Use std::swap.
14082 * tree-ssa-coalesce.c (sort_coalesce_list): Likewise.
14083 * tree-ssa-ifcombine.c (ifcombine_ifandif): Likewise.
14084 * tree-ssa-loop-ivopts.c (iv_ca_delta_reverse): Likewise.
14085 * tree-ssa-math-opts.c (is_widening_mult_p): Likewise.
14086 * tree-ssa-phiopt.c (hoist_adjacent_loads): Likewise.
14087 * tree-ssa-reassoc.c (linearize_expr_tree): Likewise.
14088 * tree-ssa-threadedge.c (simplify_control_stmt_condition): Likewise.
14089 * tree-vrp.c (compare_ranges): Likewise.
14090 * var-tracking.c (add_with_sets): Likewise.
14091 (vt_find_locations): Likewise.
14093 2015-05-18 Andreas Tobler <andreast@gcc.gnu.org>
14095 * config/freebsd-spec.h (FBSD_STARTFILE_SPEC): Add the bits to build
14097 (FBSD_ENDFILE_SPEC): Likewise.
14098 * config/i386/freebsd.h (STARTFILE_SPEC): Remove and use the one from
14099 config/freebsd-spec.h.
14100 (ENDFILE_SPEC): Likewise.
14102 2015-05-18 Uros Bizjak <ubizjak@gmail.com>
14103 Richard Henderson <rth@redhat.com>
14106 * config/alpha/constraints.md (Q): Rewrite as define_memory_constraint.
14107 Check for a memory location that is not a reference (using an AND)
14108 to an unaligned location here.
14109 * config/alpha/predicates.md (normal_memory_operand): Remove.
14111 2015-05-18 Alex Velenko <Alex.Velenko@arm.com>
14113 * config/arm/arm.md (andsi_not_shiftsi_si_scc): New pattern.
14114 (andsi_not_shiftsi_si_scc_no_reuse): New pattern.
14116 2015-05-18 Robert Suchanek <robert.suchanek@imgtec.com>
14118 * config/mips/mips.c (micromips_globals): New variable.
14119 (mips_set_compression_mode): Save and reinitialize target-dependent
14120 state for microMIPS.
14122 2015-05-18 Martin Liska <mliska@suse.cz>
14124 * dbgcnt.def: Add new counter.
14125 * ipa-icf.c (sem_item_optimizer::merge_classes): Use the counter.
14127 2015-05-18 Martin Liska <mliska@suse.cz>
14129 * dbgcnt.def: Sort counters.
14130 * opts.c (common_handle_option): Do not compile if
14131 -fdbg-cnt-list is enabled.
14133 2015-05-18 Tom de Vries <tom@codesourcery.com>
14135 * gimplify.c (gimplify_modify_expr): Remove do_deref handling.
14136 (gimplify_va_arg_expr): Remove do_deref handling. Remove adding of
14137 address operator to va_list operand.
14138 * tree-stdarg.c (expand_ifn_va_arg_1): Do deref of va_list operand
14140 * config/i386/i386.c (ix86_gimplify_va_arg): Remove deref on va_list
14142 * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Same.
14143 * config/s390/s390.c (s390_gimplify_va_arg): Same.
14144 * config/spu/spu.c (spu_gimplify_va_arg_expr): Same.
14146 2015-05-18 Tom de Vries <tom@codesourcery.com>
14148 * tree-ssa-tail-merge.c: Fix whitespace.
14150 2015-05-17 Jim Wilson <jim.wilson@linaro.org>
14152 * doc/invoke.texi (ARM Options, mtune): Add generic-armv7-a,
14153 cortex-a17, and cortex-a17.cortex-a7.
14155 2015-05-17 Oleg Endo <olegendo@gcc.gnu.org>
14158 * config/sh/sh.md (*addc_2r_t): Use ashift instead of mult.
14160 2015-05-17 Uros Bizjak <ubizjak@gmail.com>
14163 * config/i386/i386.c (expand_vec_perm_blend): Enable HImode and
14164 QImode inner modes for TARGET_AVX512BW. Force mask operand
14165 to a register for AVX512F modes.
14167 2015-05-16 Jan Hubicka <hubicka@ucw.cz>
14169 * toplev.c (emit_debug_global_declarations): Do not output debug info
14170 when doing slim LTO objects.
14172 2015-05-16 Jan Hubicka <hubicka@ucw.cz>
14174 * ipa-utils.h (warn_types_mismatch, odr_or_derived_type_p,
14175 odr_types_equivalent_p): Declare.
14176 (odr_type_p): Use gcc_checking_assert.
14177 (type_in_anonymous_namespace_p) Declare.
14178 (type_with_linkage_p): Declare.
14179 * common.opt (Wlto-type-mismatch): New warning.
14180 * ipa-devirt.c (compound_type_base): New function.
14181 (odr_or_derived_type_p): New function.
14182 (odr_types_equivalent_p): New function.
14183 (add_type_duplicate): Simplify.
14184 (type_with_linkage_p): Add hack to prevent false positives on C types
14185 (type_in_anonymous_namespace_p): Likewise.
14186 * tree.c (need_assembler_name_p): Use type_with_linkage.
14187 * tree.h (type_in_anonymous_namespace_p): Remove.
14188 * doc/invoke.texi (-Wlto-type-mismatch): Document
14190 2015-05-16 Jan Hubicka <hubicka@ucw.cz>
14192 * tree.c (verify_type_variant): Verify tree_base and type_common flags.
14193 (verify_type): Verify STRING_FLAG.
14195 2015-05-16 Manuel López-Ibáñez <manu@gcc.gnu.org>
14198 * tree-pretty-print.c (percent_K_format): Replace locus pointer
14199 with accessor function.
14200 * tree-diagnostic.c (diagnostic_report_current_function): Use
14201 diagnostic_location function.
14202 (maybe_unwind_expanded_macro_loc): Likewise.
14203 (virt_loc_aware_diagnostic_finalizer): Likewise.
14204 (default_tree_printer): Replace locus pointer with accessor function.
14205 * diagnostic.c (diagnostic_initialize): Initialize caret_chars array.
14206 (diagnostic_set_info_translated): Initialize second location.
14207 (diagnostic_build_prefix): Use CARET_LINE_MARGIN.
14208 (diagnostic_show_locus): Handle two locations. Call
14209 diagnostic_print_caret_line.
14210 (diagnostic_print_caret_line): New.
14211 (default_diagnostic_starter): Use diagnostic_location function.
14212 (diagnostic_report_diagnostic): Use diagnostic_location function.
14213 (verbatim): Do not set text.locus.
14214 * diagnostic.h (struct diagnostic_info): Remove location field.
14215 (struct diagnostic_context): Make caret_chars an array of two.
14216 (diagnostic_location): New inline.
14217 (diagnostic_expand_location): Handle two locations.
14218 (diagnostic_same_line): New inline.
14219 (diagnostic_print_caret_line): Declare.
14220 (CARET_LINE_MARGIN): New constant.
14221 * pretty-print.c (pp_printf): Do not set text.locus.
14222 (pp_verbatim): Do not set text.locus.
14223 * pretty-print.h (MAX_LOCATIONS_PER_MESSAGE): New constant.
14224 (struct text_info): Replace locus pointer with locations
14225 array. Add accessor functions.
14227 2015-05-16 Kugan Vivekanandarajah <kuganv@linaro.org>
14228 Zhenqiang Chen <zhenqiang.chen@linaro.org>
14231 * config/arm/arm.h (DONT_EARLY_SPLIT_CONSTANT): New macro.
14232 * config/arm/arm.md (subsi3, andsi3, iorsi3, xorsi3, movsi): Keep some
14233 large constants in register instead of splitting them.
14235 2015-05-16 Uros Bizjak <ubizjak@gmail.com>
14238 * config/alpha/alpha.c (get_aligned_mem): Also look for reload
14239 replacements in memory addresses.
14240 (get_unaligned_address): Ditto.
14242 2015-05-16 James Bowman <james.bowman@ftdichip.com>
14244 * config/ft32/*: New files for FT32 port.
14245 * doc/install.texi: Add FT32 information.
14246 * doc/invoke.texi: Add FT32 information.
14247 * doc/md.texi: Add FT32 information.
14248 * doc/contrib.texi: Self added.
14250 2015-05-15 Marc Glisse <marc.glisse@inria.fr>
14252 PR tree-optimization/64454
14253 * match.pd ((X % Y) % Y, (X % Y) < Y): New patterns.
14254 (-1 - A -> ~A): Remove unnecessary condition.
14256 2015-05-15 Gregor Richards <gregor.richards@uwaterloo.ca>
14258 * config/i386/linux.h (MUSL_DYNAMIC_LINKER): Define.
14259 * config/i386/linux64.h (MUSL_DYNAMIC_LINKER32): Define.
14260 (MUSL_DYNAMIC_LINKER64, MUSL_DYNAMIC_LINKERX32): Define.
14262 2015-05-15 Ilya Enkovich <ilya.enkovich@intel.com>
14264 * ipa-chkp.h (chkp_wrap_function): New.
14265 * ipa-chkp.c (chkp_wrap_function): Remove 'static'.
14266 (chkp_wrap_function_name): New.
14267 (chkp_build_instrumented_fndecl): Use chkp_wrap_function_name
14268 to get wrapper name.
14269 * lto-cgraph.c: Include ipa-chkp.h.
14270 (input_cgraph_1): Avoid alias chain for wrappers.
14272 2015-05-15 Ilya Enkovich <enkovich.gnu@gmail.com>
14274 PR middle-end/66134
14275 * tree-chkp.c (chkp_get_orginal_bounds_for_abnormal_copy): New.
14276 (chkp_maybe_copy_and_register_bounds): Don't copy abnormal copy.
14278 2015-05-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14280 * config/aarch64/aarch64.h (AARCH64_TUNE_SLOWMUL): Delete.
14281 (AARCH64_FL_SLOWMUL): Delete.
14282 (AARCH64_FL_CRC): Redefine to 1<<3.
14283 (AARCH64_FL_USE_FMA_STEERING_PASS): Redefine to 1<<4.
14285 2015-05-15 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
14287 * config/arm/arm.h (LOGICAL_OP_NON_SHORT_CIRCUIT): Add appropriate
14290 2015-05-15 Uros Bizjak <ubizjak@gmail.com>
14292 * config/alpha/alpha.md (extendqidi2): Use general_operand
14293 instead of some_operand for operand[1] predicate.
14294 (extendhidi2): Ditto.
14295 (cbranchdi4): Use general_operand instead of some_operand
14296 for operand[1] and operands[2] predicates.
14297 (cstoredi4): Ditto.
14298 * config/alpha/predicates.md (some_operand): Remove unused predicate.
14299 (some_ni_operand): Ditto.
14301 2015-05-15 Uros Bizjak <ubizjak@gmail.com>
14303 * config/alpha/alpha.c (alpha_extract_integer): Do not handle
14304 CONST_WIDE_INT and CONST_DOUBLE. Assert CONST_INT_P (x).
14305 (alpha_legitimate_constant_p) <case CONST_WIDE_INT>: Check high and
14306 low part of the constant using alpha_emit_set_const_1.
14307 (alpha_expand_mov): Do not handle CONST_WIDE_INT and CONST_DOUBLE.
14309 2015-05-14 Rohit Arul Raj <rohitrulraj@freescale.com>
14311 * varasm.c (output_constant_pool_1): Pass down alignment from
14312 constant pool entry's descriptor to output_constant_pool_2.
14313 (output_object_block): Add comment prior to call to
14314 output_constant_pool_1.
14316 2015-05-14 Vladimir Makarov <vmakarov@redhat.com>
14318 PR rtl-optimization/65862
14319 * target.def (ira_change_pseudo_allocno_class): New hook.
14320 * targhooks.c (default_ira_change_pseudo_allocno_class): Default
14322 * targhooks.h (default_ira_change_pseudo_allocno_class): New extern.
14323 * doc/tm.texi.in (TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS): Add the
14325 * ira-costs.c (find_costs_and_classes): Call the hook and change
14326 classes when it is necessary.
14327 * doc/tm.texi: Update.
14329 2015-05-14 Alexander Monakov <amonakov@ispras.ru>
14331 * config/i386/i386.md (sibcall_memory): Check that register with
14332 callee address is not also used as one of the arguments, instead
14333 of checking that it is not live after the sibcall.
14334 (sibcall_pop_memory): Ditto.
14335 (sibcall_value_memory): Ditto.
14336 (sibcall_value_pop_memory): Ditto.
14338 2015-05-14 Marc Glisse <marc.glisse@inria.fr>
14340 * generic-match-head.c (types_match): Handle non-types.
14341 * gimple-match-head.c (types_match): Likewise.
14342 * match.pd: Remove unnecessary TREE_TYPE for types_match.
14344 2015-05-14 Wilco Dijkstra <wdijkstr@arm.com>
14346 * config/aarch64/aarch64.md (absdi2): Optimize abs expansion.
14347 (csneg3<mode>_insn): Enable expansion of pattern.
14349 2015-05-14 Nick Clifton <nickc@redhat.com>
14351 * config/rl78/rl78.c (rl78_select_section): Select the correct
14352 default section based upon the category of the decl.
14354 2015-05-13 Segher Boessenkool <segher@kernel.crashing.org>
14356 PR rtl-optimization/30967
14357 * config/rs6000/rs6000.c (rs6000_rtx_costs): Don't consider
14358 destination mode for the cost of scc patterns.
14360 2015-05-13 Uros Bizjak <ubizjak@gmail.com>
14362 * config/i386/i386.md (*mul<mode>3_1): Merge with *mulhi3_1
14363 using SWIM248 mode iterator.
14364 (*mulv<mode>4): Use x86_64_sext_operand for operand[2] constraint.
14365 (*mulvhi4): mark operand[1] as commutative. Use nonimmediate_operand
14366 for operand[2] constraint.
14367 (*mulv<mode>4_1): Merge with *mulvhi4_1 using SWI248 mode iterator.
14369 2015-05-13 Jakub Jelinek <jakub@redhat.com>
14371 PR middle-end/66133
14372 * omp-low.c (expand_omp_taskreg): For GIMPLE_OMP_TASK expansion,
14373 make sure it is never noreturn, even when the task body does not
14375 (lower_omp_taskreg): For GIMPLE_OMP_TASK, emit GIMPLE_OMP_CONTINUE
14376 right before GIMPLE_OMP_RETURN.
14377 (make_gimple_omp_edges): Accept GIMPLE_OMP_CONTINUE as ->cont
14378 for GIMPLE_OMP_TASK. For GIMPLE_OMP_RETURN corresponding to
14379 GIMPLE_OMP_TASK add an EDGE_ABNORMAL edge from entry to exit.
14381 2015-05-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14383 * params.def (PARAM_MAX_POW_SQRT_DEPTH): New param.
14384 * tree-ssa-math-opts.c: Include params.h
14385 (pow_synth_sqrt_info): New struct.
14386 (representable_as_half_series_p): New function.
14387 (get_fn_chain): Likewise.
14388 (print_nested_fn): Likewise.
14389 (dump_fractional_sqrt_sequence): Likewise.
14390 (dump_integer_part): Likewise.
14391 (expand_pow_as_sqrts): Likewise.
14392 (gimple_expand_builtin_pow): Use above to attempt to expand
14393 pow as series of square roots. Removed now unused variables.
14395 2015-05-13 Uros Bizjak <ubizjak@gmail.com>
14397 * config/alpha/alpha.c (alpha_emit_set_long_const): Remove c1 argument.
14398 (alpha_extract_integer): Redeclare as static HOST_WIDE_INT.
14399 Remove *p0 and *p1 arguments. Rewrite function.
14400 (alpha_legitimate_constant_p): Update call to alpha_extract_integer.
14401 (alpha_split_const_mov): Update calls to alpha_extract_integer and
14402 alpha_emit_set_long_const.
14403 (alpha_expand_epilogue): Update calls to alpha_emit_set_long_const.
14404 (alpha_output_mi_thunk_osf): Ditto.
14405 * config/alpha/alpha.md (movti): Do not check operands[1]
14408 2015-05-13 Richard Biener <rguenther@suse.de>
14410 PR tree-optimization/66129
14411 * tree-vect-slp.c (vect_build_slp_tree): Make sure all ops are
14413 (vect_schedule_slp_instance): Fix typo.
14415 2015-05-13 David Malcolm <dmalcolm@redhat.com>
14417 * common.opt (fdump-internal-locations): New option.
14418 * input.c: Include diagnostic-core.h.
14419 (get_end_location): New function.
14420 (write_digit): New function.
14421 (write_digit_row): New function.
14422 (dump_location_range): New function.
14423 (dump_labelled_location_range): New function.
14424 (dump_location_info): New function.
14425 * input.h (dump_location_info): New prototype.
14426 * toplev.c (compile_file): Handle flag_dump_locations.
14428 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
14430 * gimple-expr.h (is_gimple_constant): Reorder.
14431 * tree-ssa-propagate.c (before_dom_children): Use inline accessor.
14433 2015-05-13 Segher Boessenkool <segher@kernel.crashing.org>
14435 * combine.c (simplify_set): When generating a CC set, if the
14436 source already is in the correct mode, do not wrap it in a
14437 compare. Simplify the rest of that code.
14439 2015-05-13 Richard Biener <rguenther@suse.de>
14441 PR tree-optimization/66123
14442 * tree-ssa-dom.c (propagate_rhs_into_lhs): Check if we found
14445 2015-05-13 Richard Biener <rguenther@suse.de>
14447 PR middle-end/66110
14448 * alias.c (alias_sets_conflict_p): Do not treat has_zero_child
14450 * Makefile.in (dfp.o-warn): Add -Wno-strict-aliasing.
14452 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
14454 * doc/install.texi: Bump latest automake 1.11 version to 1.11.6.
14455 * aclocal.m4: Regenerated with automake-1.11.6.
14457 2015-05-13 Tom de Vries <tom@codesourcery.com>
14459 PR tree-optimization/66010
14460 * gimplify.h (gimplify_va_arg_internal): Remove declaration.
14461 * gimplify.c (gimplify_va_arg_internal): Remove and inline into ...
14462 * tree-stdarg.c (expand_ifn_va_arg_1): ... here. Choose between lval
14463 and rval based on do_deref.
14465 2015-05-13 Ilya Enkovich <ilya.enkovich@intel.com>
14468 * config/i386/i386.c (ix86_rtx_costs): We want to propagate
14469 link time constants into adress expressions and therefore set
14472 2015-05-13 Jakub Jelinek <jakub@redhat.com>
14475 * config/i386/i386.md (mulv<mode>4, umulv<mode>4, *umulv<mode>4):
14476 Use SWI248 iterator instead of SWI.
14477 (*mulv<mode>4_1): Use SWI48 instead of SWI. Simplify output template.
14478 Use eq_attr "alternative" "0" instead of match_test in
14479 length_immediate attribute computation.
14480 (*mulvhi4, *mulvhi4_1): New define_insns.
14483 * internal-fn.c (get_min_precision): Use UNSIGNED instead of
14484 SIGNED to get precision of non-negative value.
14486 2015-05-13 Ilya Enkovich <ilya.enkovich@intel.com>
14489 * function.c (diddle_return_value_1): Process bounds first.
14490 * config/i38/i386.c (ix86_function_value_regno_p): Add bnd1
14493 2015-05-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
14495 PR rtl-optimization/64616
14496 * loop-invariant.c (can_move_invariant_reg): New.
14497 (move_invariant_reg): Call above new function to decide whether
14498 instruction can just be moved, skipping creation of temporary
14501 2015-05-12 Jan Hubicka <hubicka@ucw.cz>
14503 PR target/pr66047.c
14504 * i386.c (ix86_function_sseregparm): Only return -1 if local function
14505 with implied regparm is called from -mno-sse function.
14506 (init_cumulative_args): Output error if ix86_function_sseregparm
14507 return -1 and SSE register would be needed.
14508 (function_arg_advance_32): Likewise.
14509 (function_arg_32): Likewise.
14510 * i386.h (ix86_args): Add decl field.
14512 2015-05-12 Jan Hubicka <hubicka@ucw.cz>
14515 * ipa-inline.c (can_inline_edge_p): Allow early inlining of always
14516 inlines across optimization boundary.
14518 2015-05-12 Jason Merrill <jason@redhat.com>
14520 * config/mmix/mmix.c, config/msp430/msp430.c: Add space between
14521 string literal and macro name.
14523 2015-05-12 Steve Ellcey <sellcey@imgtec.com>
14525 * config/mips/mips.c (mips_print_operand): Remove 'y' operand code.
14526 * config/mips/mips.md (<GPR:d>lsa): Rewrite with shift operator.
14527 * config/mips/predicates.md (const_immlsa_operand): Remove log call.
14529 2015-05-12 David Malcolm <dmalcolm@redhat.com>
14531 * doc/invoke.texi (Warning Options): Add -Wmisleading-indentation.
14532 (-Wmisleading-indentation): New option.
14533 * Makefile.in (C_COMMON_OBJS): Add c-family/c-indentation.o.
14535 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
14537 * config/alpha/alpha.h (TARGET_SUPPORTS_WIDE_INT): New define.
14538 * config/alpha/alpha.c (alpha_rtx_costs): Handle CONST_WIDE_INT.
14539 (alpha_extract_integer): Ditto.
14540 (alpha_legitimate_constant_p): Ditto.
14541 (alpha_split_tmode_pair): Ditto.
14542 (alpha_preferred_reload_class): Add CONST_WIDE_INT.
14543 (alpha_expand_mov): Ditto.
14544 (print_operand): Remove handling of 'H' modifier.
14545 <case 'm'>: Remove CONST_DOUBLE handling.
14546 (summarize_insn): Handle CONST_WIDE_INT.
14547 * config/alpha/alpha.md (*andsi_internal): Remove H constraint.
14549 (movti): Handle CONST_WIDE_INT.
14550 * config/alpha/constraints.md ('H'): Remove constraint definition.
14551 ('G'): Do not match MODE_FLOAT class.
14552 * config/alpha/predicates.md (const0_operand): Also match
14554 (non_add_const_operand): Ditto.
14555 (non_zero_const_operand): Ditto.
14556 (some_operand): Ditto.
14557 (input_operand): Ditto. Handle CONST_WIDE_INT.
14558 (and_operand): Do not match const_double.
14559 * config/alpha/sync.md (fetchop_constr): Remove H constraint.
14561 2015-05-12 Andrew MacLeod <amacleod@redhat.com>
14564 * coretypes.h (MEMMODEL_SYNC, MEMMODEL_BASE_MASK): New macros.
14565 (enum memmodel): Add SYNC_{ACQUIRE,RELEASE,SEQ_CST}.
14566 * tree.h (memmodel_from_int, memmodel_base, is_mm_relaxed,
14567 is_mm_consume,is_mm_acquire, is_mm_release, is_mm_acq_rel,
14568 is_mm_seq_cst, is_mm_sync): New accessor functions.
14569 * builtins.c (expand_builtin_sync_operation,
14570 expand_builtin_compare_and_swap): Use MEMMODEL_SYNC_SEQ_CST.
14571 (expand_builtin_sync_lock_release): Use MEMMODEL_SYNC_RELEASE.
14572 (get_memmodel, expand_builtin_atomic_compare_exchange,
14573 expand_builtin_atomic_load, expand_builtin_atomic_store,
14574 expand_builtin_atomic_clear): Use new accessor routines.
14575 (expand_builtin_sync_synchronize): Use MEMMODEL_SYNC_SEQ_CST.
14576 * optabs.c (expand_compare_and_swap_loop): Use MEMMODEL_SYNC_SEQ_CST.
14577 (maybe_emit_sync_lock_test_and_set): Use new accessors and
14578 MEMMODEL_SYNC_ACQUIRE.
14579 (expand_sync_lock_test_and_set): Use MEMMODEL_SYNC_ACQUIRE.
14580 (expand_mem_thread_fence, expand_mem_signal_fence, expand_atomic_load,
14581 expand_atomic_store): Use new accessors.
14582 * emit-rtl.c (need_atomic_barrier_p): Add additional enum cases.
14583 * tsan.c (instrument_builtin_call): Update check for memory model beyond
14584 final enum to use MEMMODEL_LAST.
14585 * c-family/c-common.c: Use new accessor for memmodel_base.
14586 * config/aarch64/aarch64.c (aarch64_expand_compare_and_swap): Use new
14588 * config/aarch64/atomics.md (atomic_load<mode>,atomic_store<mode>,
14589 arch64_load_exclusive<mode>, aarch64_store_exclusive<mode>,
14590 mem_thread_fence, *dmb): Likewise.
14591 * config/alpha/alpha.c (alpha_split_compare_and_swap,
14592 alpha_split_compare_and_swap_12): Likewise.
14593 * config/arm/arm.c (arm_expand_compare_and_swap,
14594 arm_split_compare_and_swap, arm_split_atomic_op): Likewise.
14595 * config/arm/sync.md (atomic_load<mode>, atomic_store<mode>,
14596 atomic_loaddi): Likewise.
14597 * config/i386/i386.c (ix86_destroy_cost_data, ix86_memmodel_check):
14599 * config/i386/sync.md (mem_thread_fence, atomic_store<mode>): Likewise.
14600 * config/ia64/ia64.c (ia64_expand_atomic_op): Add new memmodel cases and
14602 * config/ia64/sync.md (mem_thread_fence, atomic_load<mode>,
14603 atomic_store<mode>, atomic_compare_and_swap<mode>,
14604 atomic_exchange<mode>): Use new accessors.
14605 * config/mips/mips.c (mips_process_sync_loop): Likewise.
14606 * config/pa/pa.md (atomic_loaddi, atomic_storedi): Likewise.
14607 * config/rs6000/rs6000.c (rs6000_pre_atomic_barrier,
14608 rs6000_post_atomic_barrier): Add new cases.
14609 (rs6000_expand_atomic_compare_and_swap): Use new accessors.
14610 * config/rs6000/sync.md (mem_thread_fence): Add new cases.
14611 (atomic_load<mode>): Add new cases and use new accessors.
14612 (store_quadpti): Add new cases.
14613 * config/s390/s390.md (mem_thread_fence, atomic_store<mode>): Use new
14615 * config/sparc/sparc.c (sparc_emit_membar_for_model): Use new accessors.
14616 * doc/extend.texi: Update docs to indicate 16 bits are used for memory
14619 2015-05-12 Jan Hubicka <hubicka@ucw.cz>
14621 * ipa-devirt.c (type_with_linkage_p): New function.
14622 (type_in_anonymous_namespace_p): Move here from tree.c; assert that
14624 (odr_type_p): Move here from ipa-utils.h; use type_with_linkage_p.
14625 (can_be_name_hashed_p): Simplify.
14626 (hash_odr_name): Check that type has linkage before checking if it is
14628 (types_same_for_odr): Likewise.
14629 (odr_name_hasher::equal): Likewise.
14630 (odr_subtypes_equivalent_p): Likewise.
14631 (warn_types_mismatch): Likewise.
14632 (get_odr_type): Likewise.
14633 (odr_types_equivalent_p): Fix checking of TYPE_MAIN_VARIANT.
14634 * ipa-utils.h (odr_type_p): Move offline.
14635 * tree.c (need_assembler_name_p): Fix handling of types
14637 (type_in_anonymous_namespace_p): Move to ipa-devirt.c
14639 2015-05-12 David Malcolm <dmalcolm@redhat.com>
14641 * timevar.c (timevar_enable): Delete in favor of...
14642 (g_timer): New global.
14643 (struct timevar_def): Move to timevar.h inside class timer.
14644 (struct timevar_stack_def): Likewise.
14645 (timevars): Delete global in favor of field "m_timevars" within
14646 class timer in timevar.h
14647 (stack): Likewise, in favor of field "m_stack".
14648 (unused_stack_instances): Likewise, in favor of field
14649 "m_unused_stack_instances".
14650 (start_time): Likewise, in favor of field "m_start_time".
14651 (get_time): Eliminate check for timevar_enable.
14652 (timer::timer): New function, built from part of timevar_init.
14653 (timevar_init): Rewrite idempotency test from using
14654 "timevar_enable" bool to using dynamic allocation of "g_timer".
14655 Move rest of implementation into timer's constructor.
14656 (timevar_push_1): Rename to...
14657 (timer::push): ...this, adding "m_" prefixes to variables that
14658 are now fields of timer.
14659 (timevar_pop_1): Likewise, rename to...
14660 (timer::pop): ...this, and add "m_" prefixes.
14661 (timevar_start): Replace test for "timevar_enable" with one for
14662 "g_timer", and move bulk of implementation to...
14663 (timer::start): ...here, adding "m_" prefixes.
14664 (timevar_stop): Likewise, from here...
14665 (timer::stop): ...to here.
14666 (timevar_cond_start): Likewise, from here...
14667 (timer::cond_start): ...to here.
14668 (timevar_cond_stop): Likewise, from here...
14669 (timer::cond_stop): ...to here.
14670 (validate_phases): Rename to...
14671 (timer::validate_phases): ...this, and add "m_" prefixes. Make
14672 locals "total" and "tv" const.
14673 (timevar_print): Rename to...
14674 (timer::print): ...this, and add "m_" prefixes. Make locals
14675 "total" and "tv" const. Eliminate test for timevar_enable.
14676 * timevar.h (timevar_enable): Eliminate.
14677 (g_timer): New declaration.
14678 (timevar_push_1): Eliminate.
14679 (timevar_pop_1): Eliminate.
14680 (timevar_print): Eliminate.
14681 (class timer): New class.
14682 (timevar_push): Rewrite to use g_timer.
14683 (timevar_pop): Likewise.
14684 * toplev.c (toplev::~toplev): Likewise.
14686 2015-05-12 Richard Earnshaw <rearnsha@arm.com>
14688 * arm-protos.h (arm_sched_autopref): Delete.
14689 (tune_params): Re-organize, use enums for flag values.
14690 (FUSE_OPS): New macro.
14691 * arm.c (ARM_PREFETCH_NOT_BENEFICIAL): Update.
14692 (ARM_PREFETCH_BENEFICIAL): Likewise.
14693 (ARM_FUSE_NOTHING, ARM_FUSE_MOVW_MOVT): Delete.
14694 (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune)
14695 (arm_xscale_tune, arm_9e_tune, arm_marvell_pj4_tune)
14696 (arm_v6t2_tune, arm_cortex_tune, arm_cortex_a8_tune)
14697 (arm_cortex_a7_tune, arm_cortex_a15_tune, arm_cortex_a53_tune)
14698 (arm_cortex_a57_tune, arm_xgene1_tune, arm_cortex_a5_tune)
14699 (arm_cortex_a9_tune, arm_cortex_a12_tune, arm_v7m_tune)
14700 (arm_cortex_m7_tune, arm_v6m_tune, arm_fa726te_tune): Use new
14702 (arm_option_override, thumb2_reorg, arm_print_tune_info)
14703 (aarch_macro_fusion_pair_p): Update uses of current_tune.
14704 * arm.h (LOGICAL_OP_NON_SHORT_CIRCUIT): Likewise.
14706 2015-05-12 Sandra Loosemore <sandra@codesourcery.com>
14708 * config/nios2/nios2.md (trap, ctrapsi4): Use "trap" instead of
14711 2015-05-12 Chung-Lin Tang <cltang@codesourcery.com>
14712 Sandra Loosemore <sandra@codesourcery.com>
14714 * config/nios2/nios2.h (enum reg_class): Add IJMP_REGS enum
14716 (REG_CLASS_NAMES): Add "IJMP_REGS".
14717 (REG_CLASS_CONTENTS): Add new entry for IJMP_REGS.
14718 * config/nios2/nios2.md (indirect_jump,*tablejump): Adjust to
14719 use new "c" register constraint.
14720 * config/nios2/constraint.md (c): New register constraint
14721 corresponding to IJMP_REGS.
14723 2015-05-12 Segher Boessenkool <segher@kernel.crashing.org>
14725 * config/rs6000/rs6000.md (*rotlsi3_internal4, *rotlsi3_internal5,
14726 *rotlsi3_internal6, rlwinm, 5 unnamed define_insns, and 6
14727 define_splits): Delete, revamp, transmogrify into ...
14728 (*rotlsi3_mask, *rotlsi3_mask_dot, *rotlsi3_mask_dot2,
14729 *ashlsi3_imm_mask, *ashlsi3_imm_mask_dot, *ashlsi3_imm_mask_dot2,
14730 *lshrsi3_imm_mask, *lshrsi3_imm_mask_dot, *lshrsi3_imm_mask_dot2):
14733 2015-05-12 Segher Boessenkool <segher@kernel.crashing.org>
14735 * config/rs6000/rs6000.md (rs6000_adjust_atomic_subword): Use
14736 gen_ashlsi3 and gen_andsi3 instead of gen_rlwinm.
14738 2015-05-12 Segher Boessenkool <segher@kernel.crashing.org>
14740 * config/rs6000/rs6000.md (extzv): FAIL for SImode.
14741 (extzvsi_internal, *extzvsi_internal1, *extzvsi_internal2,
14742 *rotlsi3_internal7le, *rotlsi3_internal7be, *rotlsi3_internal8le,
14743 *rotlsi3_internal8be, *rotlsi3_internal9le, *rotlsi3_internal9be,
14744 *rotlsi3_internal10le, *rotlsi3_internal10be, *rotlsi3_internal11le,
14745 *rotlsi3_internal11be, *rotlsi3_internal12le, *rotlsi3_internal12be,
14746 *lshiftrt_internal1le, *lshiftrt_internal1be, *lshiftrt_internal2le,
14747 *lshiftrt_internal2be, *lshiftrt_internal3le, *lshiftrt_internal3be,
14748 *lshiftrt_internal4le, *lshiftrt_internal4be, *lshiftrt_internal5le,
14749 *lshiftrt_internal5be, *lshiftrt_internal5le, *lshiftrt_internal5be,
14750 *rotldi3_internal7le, *rotldi3_internal7be, *rotldi3_internal8le,
14751 *rotldi3_internal8be, *rotldi3_internal9le, *rotldi3_internal9be,
14752 *rotldi3_internal10le, *rotldi3_internal10be, *rotldi3_internal11le,
14753 *rotldi3_internal11be, *rotldi3_internal12le, *rotldi3_internal12be,
14754 *rotldi3_internal13le, *rotldi3_internal13be, *rotldi3_internal14le,
14755 *rotldi3_internal14be, *rotldi3_internal15le, *rotldi3_internal15be,
14756 and 30 corresponding splitters): Delete.
14758 2015-05-12 Segher Boessenkool <segher@kernel.crashing.org>
14760 * config/rs6000/rs6000.md (define_split for bswaphi): Don't use
14763 2015-05-12 Segher Boessenkool <segher@kernel.crashing.org>
14765 * combine.c (recog_for_combine_1): New function, factored out
14766 from recog_for_combine.
14767 (change_zero_ext): New function.
14768 (recog_for_combine): If recog fails, try again with the pattern
14769 modified by change_zero_ext; if that still fails, restore the
14772 2015-05-12 Segher Boessenkool <segher@kernel.crashing.org>
14774 * combine.c (get_undo_marker): New function.
14775 (undo_to_marker): New function, largely factored out from ...
14776 (undo_all): ... this. Adjust.
14778 2015-05-12 Richard Biener <rguenther@suse.de>
14780 PR tree-optimization/66101
14781 * tree-ssa-dce.c (remove_dead_stmt): Properly mark loops for
14782 fixup if we turn a loop exit edge to a fallthru edge.
14784 2015-05-12 Richard Biener <rguenther@suse.de>
14786 PR tree-optimization/37021
14787 * tree-vectorizer.h (struct _slp_tree): Add two_operators flag.
14788 (SLP_TREE_TWO_OPERATORS): New define.
14789 * tree-vect-slp.c (vect_create_new_slp_node): Initialize
14790 SLP_TREE_TWO_OPERATORS.
14791 (vect_build_slp_tree_1): Allow two mixing plus/minus in an
14793 (vect_build_slp_tree): Adjust.
14794 (vect_analyze_slp_cost_1): Likewise.
14795 (vect_schedule_slp_instance): Vectorize mixing plus/minus by
14796 emitting two vector stmts and mixing the results.
14798 2015-05-12 Dominik Vogt <vogt@linux.vnet.ibm.com>
14800 * call.c (print_z_candidates): Remove dead code.
14802 2015-05-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
14804 * config/s390/2827.md: Split zEC12_simple into zEC12_simple_int
14805 and zEC12_simple_fp.
14806 * config/s390/s390.c (s390_issue_rate): Set issue rate for zEC12
14809 2015-05-12 Tom de Vries <tom@codesourcery.com>
14811 PR tree-optimization/66010
14812 * gimplify.c (gimplify_modify_expr): Handle new do_deref argument of
14814 * gimplify.h (gimplify_va_arg_internal): Remove loc parameter.
14815 (gimplify_va_arg_internal): Remove loc parameter. Assert no array-typed
14816 va_lists are passed, and remove corresponding handling.
14817 (gimplify_va_arg_expr): Only take address of ap if necessary. Add
14818 do_deref argument to ifn_va_arg.
14819 * tree-stdarg.c (expand_ifn_va_arg_1): Handle new do_deref argument of
14822 2015-05-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14825 * config/arm/arm.md (movcond_addsi): Check that operands[2] is a
14826 REG before taking its REGNO.
14828 2015-05-12 Thomas Preud'homme <thomas.preudhomme@arm.com>
14830 * combine.c i(set_nonzero_bits_and_sign_copies): Split code updating
14831 rsp->sign_bit_copies and rsp->nonzero_bits into ...
14832 (update_rsp_from_reg_equal): This. Also use REG_EQUAL note on src if
14833 present to get more accurate information about the number of sign bit
14834 copies and non zero bits.
14836 2015-05-12 Richard Biener <rguenther@suse.de>
14838 * tree-vect-slp.c (vect_build_slp_tree_1): For BB vectorization
14839 do not allow unrolling.
14841 2015-05-11 Richard Henderson <rth@redhat.com>
14843 * config/i386/i386-modes.def (CCP): New.
14844 * config/i386/i386.c (put_condition_code): Handle it.
14845 (ix86_match_ccmode, ix86_cc_modes_compatible): Likewise.
14847 2015-05-11 Richard Henderson <rth@redhat.com>
14849 * target.def (md_asm_clobbers): Replace with...
14850 (md_asm_adjust): this.
14851 * tm.texi.in (TARGET_MD_ASM_CLOBBERS): Remove.
14852 (TARGET_MD_ASM_ADJUST): New.
14853 * tm.texi: Rebuild.
14854 * hooks.c (hook_tree_tree_tree_tree_3rd_identity): Remove.
14855 * hooks.h (hook_tree_tree_tree_tree_3rd_identity): Remove.
14856 * system.h (TARGET_MD_ASM_CLOBBERS): Poison.
14858 * cfgexpand.c (check_operand_nalternatives): Accept vector of
14859 constraints instead of lists of outputs and inputs.
14860 (expand_asm_stmt): Save and restore input_location around the
14861 body of the function. Move asm data into vectors instead of
14862 building tree lists. Generate cleanup sequences as needed,
14863 rather than waiting til the end. Use new md_asm_adjust hook.
14865 * config/vxworks.c: Include vec.h before target.h.
14866 * gimple.c: Likewise.
14867 * incpath.c: Likewise.
14868 * mode-switching.c: Likewise.
14870 * config/cris/cris.c (cris_md_asm_clobbers): Convert to...
14871 (cris_md_asm_adjust): this.
14872 (TARGET_MD_ASM_CLOBBERS): Remove.
14873 (TARGET_MD_ASM_ADJUST): New.
14874 * config/i386/i386.c (ix86_md_asm_clobbers): Convert to...
14875 (ix86_md_asm_adjust): this.
14876 (TARGET_MD_ASM_CLOBBERS): Remove.
14877 (TARGET_MD_ASM_ADJUST): New.
14878 * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): Convert to...
14879 (mn10300_md_asm_adjust): this.
14880 (TARGET_MD_ASM_CLOBBERS): Remove.
14881 (TARGET_MD_ASM_ADJUST): New.
14882 * config/rs6000/rs6000.c (rs6000_md_asm_clobbers): Convert to...
14883 (rs6000_md_asm_adjust): this.
14884 (TARGET_MD_ASM_CLOBBERS): Remove.
14885 (TARGET_MD_ASM_ADJUST): New.
14886 * config/visium/visium.c (visium_md_asm_clobbers): Convert to...
14887 (visium_md_asm_adjust): this.
14888 (TARGET_MD_ASM_CLOBBERS): Remove.
14889 (TARGET_MD_ASM_ADJUST): New.
14891 2015-05-11 Richard Henderson <rth@redhat.com>
14893 * gimplify.c (gimplify_asm_expr): Set gimple_asm_volatile_p
14894 if noutputs is zero.
14895 * cfgexpand.c (expand_asm_stmt): Use gimple_asm_volatile_p unchanged.
14897 * cfgexpand.c (expand_asm_operands): Merge into...
14898 (expand_asm_stmt): ... here.
14900 * cfgexpand.c (expand_asm_operands): Don't call
14901 resolve_asm_operand_names.
14902 * stmt.c (resolve_asm_operand_names): Clarify block comment.
14904 2015-05-11 Jan Hubicka <hubicka@ucw.cz>
14906 * dwarf2out.c (gen_member_die): Sanity check that we access
14907 TYPE_MAIN_VARIANT for TYPE_METHODS.
14908 * function.c (use_register_for_decl): Look for TYPE_MAIN_VARIANT when
14909 checking TYPE_METHODS.
14910 * tree.c (free_lang_data_in_type): See TYPE_METHODS to error_mark_node
14912 (build_distinct_type_copy): Clear TYPE_METHODS.
14913 (verify_type_variant): Verify that TYPE_METHODS is NULL for variants.
14914 (verify_type): Allow TYPE_METHODS to be error_mark_node.
14915 * tree.def: Update docs of TYPE_STUB_DECL and TYPE_METHODS.
14917 2015-05-11 Eric Botcazou <ebotcazou@adacore.com>
14919 * emit-rtl.c (emit_pattern_after_setloc): Add missing guard.
14920 (emit_pattern_before_setloc): Likewise.
14922 2015-05-11 Richard Sandiford <richard.sandiford@arm.com>
14924 * genrecog.c (match_pattern_1): Expect the pattern to be a SEQUENCE
14925 for define_peephole2s.
14926 (get_peephole2_pattern): New function.
14927 (main): Use it. Call validate_pattern.
14929 2015-05-11 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
14931 * config/avr/avr.c (avr_hard_regno_call_part_clobbered): Use
14932 LAST_CALLEE_SAVED_REG instead of hard-coded register number.
14933 (Last callee saved reg is different for AVR_TINY architecture)
14935 2015-05-11 Uros Bizjak <ubizjak@gmail.com>
14937 * config/i386/i386.c (ix86_loop_unroll_adjust): Use PATTERN (insn)
14938 when looking for memory references.
14940 2015-05-11 Alexander Monakov <amonakov@ispras.ru>
14943 * config/i386/i386.c (ix86_function_ok_for_sibcall): Allow PIC sibcalls
14944 via function pointers.
14946 2015-05-11 Alexander Monakov <amonakov@ispras.ru>
14948 * calls.c (prepare_call_address): Transform PLT call to GOT lookup and
14949 indirect call by forcing address into a pseudo with -fno-plt.
14950 * common.opt (flag_plt): New option.
14951 * doc/invoke.texi (Code Generation Options): Add -fno-plt.
14952 ([-fno-plt]): Document.
14954 2015-05-11 Markus Trippelsdorf <markus@trippelsdorf.de>
14957 * config/rs6000/option-defaults.h: Add space between string literal
14960 2015-05-11 Thomas Preud'homme <thomas.preudhomme@arm.com>
14962 * gcc.target/arm/pr64616.c: Test dump rather than assembly to work
14963 accross ARM targets.
14965 2015-05-11 Christian Bruel <christian.bruel@st.com>
14967 * config/arm/arm-protos.h (thumb_code, thumb1_code): Remove.
14968 * config/arm/vxworks.h (thumb_code): Replace with TARGET_THUMB.
14970 2015-05-11 Richard Sandiford <richard.sandiford@arm.com>
14972 PR rtl-optimization/66076
14973 * rtlanal.c (generic_subrtx_iterator <T>::add_single_to_queue):
14974 Don't grow the heap array if it is already big enough from a
14975 previous iteration.
14977 2015-05-11 Christian Bruel <christian.bruel@st.com>
14979 * config/arm/arm-protos.h (arm_declare_function_name): Declare.
14980 (is_called_in_ARM_mode): Remove.
14981 * config/arm/arm.c (is_called_in_ARM_mode): Declare static bool.
14982 (arm_declare_function_name): Moved from from ARM_DECLARE_FUNCTION_NAME.
14983 * config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME): Call
14984 arm_declare_function_name.
14986 2015-05-11 Christian Bruel <christian.bruel@st.com>
14988 * config/arm/arm.c (arm_option_override): Reoganized and split into :
14989 (arm_option_params_internal); New function.
14990 (arm_option_check_internal): New function.
14991 (arm_option_override_internal): New function.
14992 (thumb_code, thumb1_code): Remove.
14993 * config/arm/arm.h (TREE_TARGET_THUMB, TREE_TARGET_THUMB1): New macros.
14994 (TREE_TARGET_THUM2, TREE_TARGET_ARM): Likewise.
14995 (thumb_code, thumb1_code): Remove.
14996 * config/arm/arm.md (is_thumb, is_thumb1): Check TARGET flag.
14998 2015-05-11 Uros Bizjak <ubizjak@gmail.com>
15000 * config/alpha/alpha.c (alpha_emit_set_const_1)
15001 (alpha_emit_set_long_const, alpha_extract_integer)
15002 (alpha_legitimate_constant_p, alpha_split_const_mov)
15003 (alpha_expand_block_clear, alpha_expand_zap_mask, print_operand):
15004 [HOST_BITS_PER_WIDE_INT < 64]: Remove dead code.
15005 (alpha_emit_set_const_1): Change "(HOST_WIDE_INT) 1" to
15007 * config/alpha/predicates.md (mode_mask_operand): Do not match
15009 [HOST_BITS_PER_WIDE_INT < 64]: Remove dead code.
15010 * config/alpha/alpha.md (abstf, *abstf_internal, UNSPEC_ZAP splitter):
15011 Change "(HOST_WIDE_INT) 1" to HOST_WIDE_INT_1U.
15012 [HOST_BITS_PER_WIDE_INT < 64]: Remove dead code.
15013 (*negtf_internal): Use gen_int_mode instead of immed_double_const.
15015 2015-05-11 Jakub Jelinek <jakub@redhat.com>
15018 * config/s390/linux.h (TARGET_BINDS_LOCAL_P): Define to
15019 default_binds_local_p_2.
15020 * config/arm/linux-elf.h (TARGET_BINDS_LOCAL_P): Likewise.
15021 * config/aarch64/aarch64-linux.h (TARGET_BINDS_LOCAL_P): Likewise.
15023 2015-05-09 Jan Hubicka <hubicka@ucw.cz>
15025 * tree.c (verify_type_variant): Check TYPE_VALUES_RAW and TYPE_PRECISION
15027 2015-05-09 Jan Hubicka <hubicka@ucw.cz>
15029 Patch by Richard Biener
15030 * coverage.c (coverage_obj_init): Delay building of type variant
15031 until the type is finished.
15033 2015-05-09 Jan Hubicka <hubicka@ucw.cz>
15035 * ipa-devirt.c (warn_types_mismatch): Do not ICE when warning about
15036 mismatch between C and C++ type; compoare correctly ARG_TYPES
15037 for non-prototypes and output correctly parameter index for METHOD_TYPE.
15038 (odr_types_equivalent_p): Fix wording of warning about attributes;
15039 it is OK to match prototype and non-prototype.
15041 2015-05-09 Jan Hubicka <hubicka@ucw.cz>
15043 * tree.c (free_lang_data_in_type): Free TREE_PURPOSE of
15044 TYPE_ARG_TYPES list.
15045 (verify_type): Permit non-NULL TREE_PURPOSE in non-LTO builds.
15046 * tree.def (FUNCTION_TYPE): Document TREE_PURPOSE in TYPE_ARG_TYPES
15048 2015-05-09 Jan Hubicka <hubicka@ucw.cz>
15050 * tree.c (verify_type): Verify TYPE_BINFO and TYPE_VALUES_RAW.
15051 * tree.h (is_lang_specific): Constify.
15053 2015-05-09 Marc Glisse <marc.glisse@inria.fr>
15055 PR tree-optimization/64454
15056 * tree-vrp.c (extract_range_from_binary_expr_1) <TRUNC_MOD_EXPR>:
15059 2015-05-08 Jason Merrill <jason@redhat.com>
15061 * bitmap.c, c/c-aux-info.c, cfg.c, cfghooks.c, cgraph.c,
15062 config/aarch64/aarch64.md config/alpha/vms.h, config/darwin.c,
15063 config/darwin.h, config/darwin9.h, config/elfos.h,
15064 config/i386/bsd.h, config/ia64/ia64.c, config/lm32/lm32.h,
15065 config/microblaze/microblaze.h, config/mips/mips.h,
15066 config/mmix/mmix.c, config/msp430/msp430.c, config/nios2/nios2.h,
15067 config/nvptx/nvptx.c, config/nvptx/nvptx.h, config/pa/pa.c,
15068 config/pa/pa.h, config/rs6000/rs6000.c, config/rs6000/sysv4.h,
15069 config/rs6000/xcoff.h, config/rx/rx.h, config/s390/s390.h,
15070 config/sparc/sol2.h, config/sparc/sparc.h, config/visium/visium.h,
15071 cppbuiltin.c, defaults.h, doc/invoke.texi, dwarf2cfi.c,
15072 dwarf2out.c, final.c, gcc.c, gcov-dump.c, gcov.c, ipa-cp.c,
15073 ipa-inline.c, ipa-polymorphic-call.c, ipa-profile.c, ipa-prop.c,
15074 ira-color.c, ira.c, loop-doloop.c, loop-iv.c, mcf.c,
15075 modulo-sched.c, predict.c, profile.c, stor-layout.c, toplev.c,
15076 tree-ssa-reassoc.c, value-prof.c, wide-int-print.cc: Add space
15077 between string literal and macro name.
15079 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15081 * jump.c: Change argument types to rtx_insn *.
15084 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15086 * lra-constraints.c: Change argument type to rtx_insn *.
15088 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15090 * df-problems.c: Change argument type to rtx_insn *.
15092 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15094 * combine.c: Change argument type to rtx_insn *.
15096 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15099 * rtlanal.c: Change argument type to rtx_insn *.
15101 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15103 * sched-deps.c: Change argument types to rtx_insn *.
15104 * sched-int.h: Adjust.
15106 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15108 * dwarf2cfi.c: Change argument type to rtx_insn *.
15110 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15112 * ira.c (decrease_live_ranges_number): Changetype of local
15113 variable to rtx_insn *.
15114 * recog.c: Change argument types to rtx_insn *.
15117 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15119 * reorg.c: Change argument types to rtx_insn *.
15121 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15123 * ira-color.c: Change argument types to rtx_insn *.
15124 * lra-eliminations.c: Likewise.
15127 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15129 * gcse.c: Change argument types to rtx_insn *.
15131 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15133 * cse.c (cse_change_cc0_mode): Change argument type to rtx_insn *.
15135 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15137 * emit-rtl.c (emit_debug_insn_before): Change argument type to
15141 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15143 * emit-rtl.c (emit_note_before): Change argument type to rtx_insn *.
15146 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15148 * emit-rtl.c (emit_note_after): Change argument type to rtx_insn *.
15151 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15153 * emit-rtl.c (prev_cc0_setter): Change argument type to rtx_insn *.
15156 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15158 * rtlanal.c (noop_move_p): Change argument type to rtx_insn *.
15161 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15163 * rtlanal.c (add_shallow_copy_of_reg_note): Change argument type
15167 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15169 * rtlanal.c (remove_reg_equal_equiv_notes): Change argument type
15173 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15175 * except.c (can_nonlocal_goto): Change type of argument to
15179 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15181 * rtlanal.c (computed_jump_p): Cange argument type to rtx_insn *.
15184 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15186 * rtlanal.c (in_insn_list_p): Renamed from in_expr_list_p.
15187 * cfgrtl.c (can_delete_label_p): Adjust.
15190 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15192 * reorg.c (stop_search_p): Change argument to rtx_insn *.
15194 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15196 * except.c (make_reg_eh_region_note): Change argument to
15198 (make_reg_eh_region_note_nothrow_nononlocal): Likewise.
15199 * except.h: Adjust.
15201 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15203 * mode-switching.c (commit_mode_sets): Change type of local
15204 variable from rtx to rtx_insn *.
15206 2015-05-08 Jim Wilson <jim.wilson@linaro.org>
15208 * doc/install.texi (--enable-languages): Add missing jit and lto info.
15209 Add ^ to grep command.
15210 * doc/match-and-simplify.texi (GIMPLE API): Add missing fourth tree
15211 arg to last gimple_simplify declaration. Add missing gimple_build
15212 declaration for built-in function case with four tree args.
15214 2015-05-08 Gregor Richards <gregor.richards@uwaterloo.ca>
15215 Szabolcs Nagy <szabolcs.nagy@arm.com>
15217 * config/mips/linux.h (MUSL_DYNAMIC_LINKER32): Define.
15218 (MUSL_DYNAMIC_LINKER64, MUSL_DYNAMIC_LINKERN32): Define.
15219 (GNU_USER_DYNAMIC_LINKERN32): Update.
15221 2015-05-08 Richard Biener <rguenther@suse.de>
15223 PR tree-optimization/66036
15224 * tree-vect-data-refs.c (vect_compute_data_ref_alignment):
15225 Handle strided group loads.
15226 (vect_verify_datarefs_alignment): Likewise.
15227 (vect_enhance_data_refs_alignment): Likewise.
15228 (vect_analyze_group_access): Likewise.
15229 (vect_analyze_data_ref_access): Likewise.
15230 (vect_analyze_data_ref_accesses): Likewise.
15231 * tree-vect-stmts.c (vect_model_load_cost): Likewise.
15232 (vectorizable_load): Likewise.
15234 2015-05-08 Segher Boessenkool <segher@kernel.crashing.org>
15236 * config/rs6000/rs6000.md: Require operand inequality in one
15239 2015-05-08 Richard Sandiford <richard.sandiford@arm.com>
15240 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15242 * config/i386/i386.md (<mode>_ldx, *<mode>_ldx): Remove mode
15244 * config/rx/rx.md (movdi, movdf): Likewise.
15245 Likewise for define_peephole2s.
15247 2015-05-08 Alan Lawrence <alan.lawrence@arm.com>
15249 * config/aarch64/arm_neon.h (vceq_s64, vceq_u64, vceqz_s64, vceqz_u64,
15250 vcge_s64, vcge_u64, vcgez_s64, vcgt_s64, vcgt_u64, vcgtz_s64, vcle_s64,
15251 vcle_u64, vclez_s64, vclt_s64, vclt_u64, vcltz_s64, vtst_s64,
15252 vtst_u64): Rewrite using gcc vector extensions.
15254 2015-05-08 Alan Lawrence <alan.lawrence@arm.com>
15256 * config/aarch64/aarch64-simd.md (aarch64_vcond_internal<mode><mode>,
15257 vcond<mode><mode>, vcondu<mode><mode>): Add DImode variant.
15259 2015-05-08 Alan Lawrence <alan.lawrence@arm.com>
15261 * optabs.c (vector_compare_rtx): Handle RTL operands having VOIDmode.
15263 2015-05-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
15265 * config/glibc-stdint.h (OPTION_MUSL): Define.
15266 (INT_FAST16_TYPE, INT_FAST32_TYPE, UINT_FAST16_TYPE, UINT_FAST32_TYPE):
15267 Change the definition based on OPTION_MUSL for 64 bit targets.
15268 * config/linux.h (OPTION_MUSL): Redefine.
15269 * config/alpha/linux.h (OPTION_MUSL): Redefine.
15270 * config/rs6000/linux.h (OPTION_MUSL): Redefine.
15271 * config/rs6000/linux64.h (OPTION_MUSL): Redefine.
15273 2015-05-08 Gregor Richards <gregor.richards@uwaterloo.ca>
15274 Szabolcs Nagy <szabolcs.nagy@arm.com>
15276 * config.gcc (LIBC_MUSL): New tm_defines macro.
15277 * config/linux.h (OPTION_MUSL): Define.
15278 (MUSL_DYNAMIC_LINKER, MUSL_DYNAMIC_LINKER32,)
15279 (MUSL_DYNAMIC_LINKER64, MUSL_DYNAMIC_LINKERX32,)
15280 (INCLUDE_DEFAULTS_MUSL_GPP, INCLUDE_DEFAULTS_MUSL_LOCAL,)
15281 (INCLUDE_DEFAULTS_MUSL_PREFIX, INCLUDE_DEFAULTS_MUSL_CROSS,)
15282 (INCLUDE_DEFAULTS_MUSL_TOOL, INCLUDE_DEFAULTS_MUSL_NATIVE): Define.
15283 * config/linux.opt (mmusl): New option.
15284 * doc/invoke.texi (GNU/Linux Options): Document -mmusl.
15285 * configure.ac (gcc_cv_libc_provides_ssp): Add *-*-musl*.
15286 (gcc_cv_target_dl_iterate_phdr): Add *-linux-musl*.
15287 * configure: Regenerate.
15289 2015-05-08 H.J. Lu <hongjiu.lu@intel.com>
15290 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
15293 * config.gcc (x86_64-*-knetbsd*-gnu): Add i386/knetbsd-gnu64.h.
15294 * config/i386/knetbsd-gnu64.h: New file.
15296 2015-05-08 Marek Polacek <polacek@redhat.com>
15299 * doc/invoke.texi: Document -Woverride-init-side-effects.
15301 2015-05-07 Marek Polacek <polacek@redhat.com>
15304 * doc/invoke.texi: Document -Wshift-negative-value.
15306 2015-05-06 Aditya Kumar <hiraditya@msn.com>
15308 * gcov-tool.c (do_merge): Refactore to remove int ret.
15309 * ipa-icf.c (sem_item::hash_referenced_symbol_properties): Change
15310 !type == FUNC to type != FUNC.
15311 * reload.h (struct target_reload): Changee to type of
15312 x_spill_indirect_levels from bool to unsigned char.
15314 2015-05-07 Richard Sandiford <richard.sandiford@arm.com>
15316 * rtl.h (always_void_p): New function.
15317 * gengenrtl.c (always_void_p): Likewise.
15318 (genmacro): Don't add a mode parameter to gen_rtx_foo if rtxes
15319 with code foo are always VOIDmode.
15320 * genemit.c (gen_exp): Update gen_rtx_foo calls accordingly.
15321 * builtins.c, caller-save.c, calls.c, cfgexpand.c, combine.c,
15322 compare-elim.c, config/aarch64/aarch64.c,
15323 config/aarch64/aarch64.md, config/alpha/alpha.c,
15324 config/alpha/alpha.md, config/arc/arc.c, config/arc/arc.md,
15325 config/arm/arm-fixed.md, config/arm/arm.c, config/arm/arm.md,
15326 config/arm/ldrdstrd.md, config/arm/thumb2.md, config/arm/vfp.md,
15327 config/avr/avr.c, config/bfin/bfin.c, config/c6x/c6x.c,
15328 config/c6x/c6x.md, config/cr16/cr16.c, config/cris/cris.c,
15329 config/cris/cris.md, config/darwin.c, config/epiphany/epiphany.c,
15330 config/epiphany/epiphany.md, config/fr30/fr30.c, config/frv/frv.c,
15331 config/frv/frv.md, config/h8300/h8300.c, config/i386/i386.c,
15332 config/i386/i386.md, config/i386/sse.md, config/ia64/ia64.c,
15333 config/ia64/vect.md, config/iq2000/iq2000.c,
15334 config/iq2000/iq2000.md, config/lm32/lm32.c, config/lm32/lm32.md,
15335 config/m32c/m32c.c, config/m32r/m32r.c, config/m68k/m68k.c,
15336 config/m68k/m68k.md, config/mcore/mcore.c, config/mcore/mcore.md,
15337 config/mep/mep.c, config/microblaze/microblaze.c,
15338 config/mips/mips.c, config/mips/mips.md, config/mmix/mmix.c,
15339 config/mn10300/mn10300.c, config/msp430/msp430.c,
15340 config/nds32/nds32-memory-manipulation.c, config/nds32/nds32.c,
15341 config/nds32/nds32.md, config/nios2/nios2.c, config/nvptx/nvptx.c,
15342 config/pa/pa.c, config/pa/pa.md, config/rl78/rl78.c,
15343 config/rs6000/altivec.md, config/rs6000/rs6000.c,
15344 config/rs6000/rs6000.md, config/rs6000/vector.md,
15345 config/rs6000/vsx.md, config/rx/rx.c, config/rx/rx.md,
15346 config/s390/s390.c, config/s390/s390.md, config/sh/sh.c,
15347 config/sh/sh.md, config/sh/sh_treg_combine.cc,
15348 config/sparc/sparc.c, config/sparc/sparc.md, config/spu/spu.c,
15349 config/spu/spu.md, config/stormy16/stormy16.c,
15350 config/tilegx/tilegx.c, config/tilegx/tilegx.md,
15351 config/tilepro/tilepro.c, config/tilepro/tilepro.md,
15352 config/v850/v850.c, config/v850/v850.md, config/vax/vax.c,
15353 config/visium/visium.c, config/xtensa/xtensa.c, cprop.c, dse.c,
15354 expr.c, gcse.c, ifcvt.c, ira.c, jump.c, lower-subreg.c,
15355 lra-constraints.c, lra-eliminations.c, lra.c, postreload.c, ree.c,
15356 reg-stack.c, reload.c, reload1.c, reorg.c, sel-sched.c,
15357 var-tracking.c: Update calls accordingly.
15359 2015-05-07 Segher Boessenkool <segher@kernel.crashing.org>
15362 PR middle-end/54303
15363 * varasm.c (function_mergeable_rodata_prefix): New function.
15364 (mergeable_string_section): Use it.
15365 (mergeable_constant_section): Use it.
15367 2015-05-07 Jeff Law <law@redhat.com>
15370 * match.pd (bit_and (plus/minus (convert @0) (convert @1) mask): New
15371 simplifier to narrow arithmetic.
15372 * generic-match-head.c: (types_match, single_use): New functions.
15373 * gimple-match-head.c: (types_match, single_use): New functions.
15375 2015-05-07 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
15377 * combine.c (make_compound_operation): Remove checks for PLUS/MINUS
15380 2015-05-07 Richard Biener <rguenther@suse.de>
15382 PR tree-optimization/66002
15383 * passes.def: Schedule another pass_merge_phi after ifcombine, right
15386 2015-05-07 Marek Polacek <polacek@redhat.com>
15387 Martin Uecker <uecker@eecs.berkeley.edu>
15389 * doc/invoke.texi: Document -fsanitize=bounds-strict.
15390 * flag-types.h (enum sanitize_code): Add SANITIZE_BOUNDS_STRICT, or it
15391 into SANITIZE_NONDEFAULT.
15392 * opts.c (common_handle_option): Handle -fsanitize=bounds-strict.
15394 2015-05-07 Uros Bizjak <ubizjak@gmail.com>
15397 * config/alpha/alpha.c (alpha_override_options_after_change): New.
15398 (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New.
15399 (alpha_override_options): Move align_loops, align_jumps and
15400 align_functions handling into alpha_override_options_after_change.
15402 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
15403 Chris Jones <chrisj@nvidia.com>
15404 Joshua Conner <jconner@nvidia.com>
15406 * config/arm/unknown-elf.h (STARTFILE_SPEC): Add conditional
15407 linking of crtfastmath.o.
15408 * config/arm/linux-eabi.h (STARTFILE_SPEC): Likewise.
15410 2015-05-06 Segher Boessenkool <segher@kernel.crashing.org>
15412 * config/rs6000/rs6000.md (cstore<mode>4_signed_imm): New expander.
15413 (cstore<mode>4_unsigned_imm): New expander.
15414 (cstore<mode>4): Remove empty constraint strings. Use the new
15417 2015-05-06 Yvan Roux <yvan.roux@linaro.org>
15420 * config/arm/iwmmxt.md ("*iwmmxt_arm_movdi"): Cleanup redundant
15423 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15425 * config/aarch64/geniterators.sh: Use standard BRE in sed.
15427 2015-05-06 Alan Modra <amodra@gmail.com>
15430 * config/rs6000/rs6000.md (nop): Use an unspec pattern.
15431 (UNSPEC_NOP): Define.
15432 (reload_vsx_from_gpr<mode>): Add missing DONE.
15433 (reload_gpr_from_vsx<mode>): Likewise.
15434 * config/rs6000/vsx.md (vsx_mul_v2di): Likewise.
15435 (vsx_div_v2di, vsx_udiv_v2di): Likewise.
15437 2015-05-06 Christian Bruel <christian.bruel@st.com>
15440 * config/aarch64/aarch64.c (aarch64_override_options): Move align_loops,
15441 align_jumps, align_functions into aarch64_override_options_after_change.
15443 2015-05-06 Richard Biener <rguenther@suse.de>
15445 * tree-vect-slp.c (vect_supported_load_permutation_p): Use
15446 vect_transform_slp_perm_load to check if we support a permutation
15447 for basic-block vectorization.
15449 2015-05-06 Nick Clifton <nickc@redhat.com>
15451 * config/rl78/rl78.c (need_to_save): Save register 22 if it is
15452 used, even if it is not being used as a frame pointer.
15454 2015-05-05 Jason Merrill <jason@redhat.com>
15456 * dwarf2out.c (gen_member_die): Don't emit anything for an
15457 anonymous class constructor.
15459 2015-05-05 David Malcolm <dmalcolm@redhat.com>
15461 * auto-profile.c (afdo_find_equiv_class): Fix indentation so
15462 that it reflects the block structure.
15463 (afdo_propagate_edge): Likewise.
15464 (afdo_calculate_branch_prob): Likewise.
15465 (afdo_annotate_cfg): Likewise.
15466 * cfgcleanup.c (equal_different_set_p): Likewise.
15467 (try_crossjump_to_edge): Likewise.
15468 * cgraph.c (cgraph_node::verify_node): Likewise.
15469 * cgraphunit.c (expand_all_functions): Likewise.
15470 * config/i386/i386.c (ix86_expand_copysign): Likewise.
15471 (exact_dependency_1): Likewise.
15472 * dwarf2asm.c (dw2_output_indirect_constants): Likewise.
15473 * dwarf2out.c (tree_add_const_value_attribute_for_decl): Likewise.
15474 * gensupport.c (process_define_subst): Likewise.
15475 * lto-wrapper.c (merge_and_complain): Likewise.
15476 * tree-if-conv.c (if_convertible_bb_p): Likewise.
15477 * tree-ssa-loop-prefetch.c (find_or_create_group): Likewise.
15478 * tree-ssa-tail-merge.c (gsi_advance_fw_nondebug_nonlocal): Likewise.
15479 * tree-vect-data-refs.c (vect_grouped_load_supported): Likewise.
15480 * tree-vect-loop.c (vectorizable_reduction): Likewise.
15481 * tree-vect-slp.c (vect_transform_slp_perm_load): Likewise.
15482 * tree-vect-stmts.c (vectorizable_shift): Likewise.
15483 * tree-vrp.c (vrp_finalize): Likewise.
15484 * tree.c (variably_modified_type_p): Likewise.
15486 2015-05-05 Jack Howarth <howarth.at.gcc@gmail.com>
15488 * config.gcc: Use darwin9.h, darwin10.h and darwin12.h
15489 on darwin12 and later.
15490 * config/darwin12.h (LINK_GCC_C_SEQUENCE_SPEC): Add
15491 file to pass -rdynamic on darwin12 and later.
15492 * config/darwin.opt (rdynamic): Add.
15494 2015-05-05 Uros Bizjak <ubizjak@gmail.com>
15496 * doc/extend.texi (C Extensions): Update menu for moved Variable
15497 Attributes and Type Attributes sections.
15499 2015-05-05 Uros Bizjak <ubizjak@gmail.com>
15502 * config/i386/i386.c (ix86_parse_stringop_strategy_string): Error out
15503 if rep_8byte stringop strategy was specified for 32-bit target.
15505 2015-05-05 Ilya Tocar <ilya.tocar@intel.com>
15508 * config/i386/i386.md (vector convert to float spltiter): Check for
15509 xmm16+, when splitting scalar float conversion.
15510 * config/i386/sse.md (sse2_cvtsi2sd): Support EVEX version.
15512 2015-05-05 Nick Clifton <nickc@redhat.com>
15514 * config/msp430/msp430-opts.h (enum msp430_regions): New.
15515 * config/msp430/msp430.c (msp430_override_options): Complain if
15516 -mcode-region or -mdata-region is used on a non MSP430X.
15517 (msp430_section_attr): New function. Checks lower, upper and
15519 (msp430_attribute_table): Add lower, upper and either.
15520 (gen_prefix): New function. Generates a prefix for a section
15522 (msp430_select_section): New function - handles the choice of
15523 section for an object. Takes into account memory region
15524 attributes and options.
15525 (msp430_function_section): Use gen_prefix.
15526 (TARGET_SECTION_TYPE_FLAGS): Define.
15527 (msp430_section_type_flags): New function.
15528 (TARGET_ASM_UNIQUE_SECTION): Define.
15529 (msp430_unique_section): New function.
15530 (msp430_output_aligned_decl_common): New function.
15531 (msp430_do_not_relax_short_jumps): New function.
15532 * config/msp430/msp430.h (USE_SELECT_SECTION_FOR_FUNCTIONS):
15534 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define.
15535 * config/msp430/msp430-protos.h
15536 (msp430_do_not_relax_short_jumps): New prototype.
15537 (msp430_output_aligned_decl_common): New prototype.
15538 * config/msp430/msp430.md (length): New attribute.
15539 (cbranchhi4_real): If msp430_do_not_relax_short_jumps is true
15540 then use a long code sequence for short jumps.
15541 * config/msp430/msp430.opt (mcode-region): New.
15542 (mdata-region): New.
15543 * doc/invoke.texi: Document new options.
15544 * doc/extend.texi: Document new attributes.
15546 2015-05-05 Matthew Wahab <matthew.wahab@arm.com>
15548 * gcc/config/aarch64-protos.h (struct cpu_branch_cost): New.
15549 (tune_params): Add field branch_costs.
15550 (aarch64_branch_cost): Declare.
15551 * gcc/config/aarch64.c (generic_branch_cost): New.
15552 (generic_tunings): Set field cpu_branch_cost to generic_branch_cost.
15553 (cortexa53_tunings): Likewise.
15554 (cortexa57_tunings): Likewise.
15555 (thunderx_tunings): Likewise.
15556 (xgene1_tunings): Likewise.
15557 (aarch64_branch_cost): Define.
15558 * gcc/config/aarch64/aarch64.h (BRANCH_COST): Redefine.
15560 2015-05-05 Uros Bizjak <ubizjak@gmail.com>
15562 * config/i386/i386.c: Use HOST_WIDE_INT_1 instead of (HOST_WIDE_INT) 1
15563 and HOST_WIDE_INT_1U instead of (unsigned HOST_WIDE_INT) 1.
15564 * config/i386/i386.md: Ditto.
15565 * config/i386/winnt.c: Ditto.
15567 2015-05-05 Matthew Wahab <matthew.wahab@arm.com>
15569 * doc/extend.texi (__atomic Builtins): Move implementation details
15570 to the end of the description, rewrite opening paragraphs, state
15571 difference with __sync builtins, state C11/C++11 assumptions,
15572 weaken itemized descriptions, add explanation of memory model
15573 behaviour, expand description of compare-exchange, simplify text.
15575 2015-05-05 Renlin Li <renlin.li@arm.com>
15577 * config/aarch64/aarch64.md (add<mode>3): Use mov when allowed.
15579 2015-05-05 Yvan Roux <yvan.roux@linaro.org>
15581 * config/aarch64/aarch64-elf-raw.h (CA53_ERR_843419_SPEC): Define.
15582 (LINK_SPEC): Include CA53_ERR_843419_SPEC.
15583 * config/aarch64/aarch64-linux.h (CA53_ERR_843419_SPEC): Define.
15584 (LINK_SPEC): Include CA53_ERR_843419_SPEC.
15585 * config/aarch64/aarch64.opt (mfix-cortex-a53-843419): New option.
15586 * configure: Regenerate.
15587 * configure.ac: Add --enable-fix-cortex-a53-843419 option.
15588 * doc/install.texi (aarch64*-*-*): Document new
15589 --enable-fix-cortex-a53-843419 option.
15590 * doc/invoke.texi (AArch64 Options): Document -mfix-cortex-a53-843419
15591 and -mno-fix-cortex-a53-843419 options.
15593 2015-05-05 Uros Bizjak <ubizjak@gmail.com>
15596 * config/i386/i386.md (*bmi_andn_<mode>_ccno): New pattern.
15598 2015-05-04 Jan Hubicka <hubicka@ucw.cz>
15600 * tree.c (verify_type): Check various uses of TYPE_MAXVAL;
15601 fix overactive TYPE_MIN_VALUE check and add FIXME for type
15602 compatibility problems.
15604 2015-05-04 Ajit Agarwal <ajitkum@xilinx.com>
15606 * config/microblaze/microblaze.md (cbranchsi4): Added immediate
15608 (cbranchsi4_reg): New.
15609 * config/microblaze/microblaze.c
15610 (microblaze_expand_conditional_branch_reg): New.
15611 * config/microblaze/microblaze-protos.h
15612 (microblaze_expand_conditional_branch_reg): New prototype.
15614 2015-05-04 Ajit Agarwal <ajitkum@xilinx.com>
15616 * config/microblaze/microblaze.md (peephole2): New.
15618 2015-05-04 Jeff Law <law@redhat.com>
15621 2015-05-04 Jeff Law <law@redhat.com>
15623 * match.pd (bit_and (plus/minus (convert @0) (convert @1) mask): New
15624 simplifier to narrow arithmetic.
15625 * generic-match-head.c: (types_match, single_use): New functions.
15626 * gimple-match-head.c: (types_match, single_use): New functions.
15628 2015-05-04 Kaz Kojima <kkojima@gcc.gnu.org>
15631 * config/sh/sh.c (output_far_jump): Take into account crossing jumps.
15632 (split_branches): Likewise.
15634 2015-05-04 Sandra Loosemore <sandra@codesourcery.com>
15636 * common.opt (fdelete-null-pointer-checks): Init to -1.
15637 * config/nios2/elf.h (SUBTARGET_OVERRIDE_OPTIONS): Define to
15638 override flag_delete_null_pointer_checks default.
15639 * doc/invoke.texi (-fdelete-null-pointer-checks): Clarify
15640 behavior re address zero. Better document target-specific behavior.
15641 (-fisolate-errneous-paths-dereference): Mention relationship to
15642 -fdelete-null-pointer-checks.
15644 2015-05-04 Jakub Jelinek <jakub@redhat.com>
15646 PR tree-optimization/65984
15647 * ubsan.c: Include tree-cfg.h.
15648 (instrument_bool_enum_load): Use stmt_ends_bb_p instead of
15649 stmt_could_throw_p test, rename can_throw variable to ends_bb.
15651 2015-05-04 Uros Bizjak <ubizjak@gmail.com>
15653 * config/i386/i386.c: Change GET_CODE (...) == CONST_DOUBLE check
15654 to CONST_DOUBLE_P predicate.
15655 (standard_sse_constant_p): Return 0 for !TARGET_SSE.
15656 (ix86_legitimate_constant_p) <case CONST_WIDE_INT>: For 32bit targets,
15657 allow only operands that satisfy standard_sse_constant_p predicate.
15658 * config/i386/i386.md: Change GET_CODE (...) == CONST_DOUBLE check
15659 to CONST_DOUBLE_P predicate.
15661 2015-05-04 Jeff Law <law@redhat.com>
15663 * match.pd (bit_and (plus/minus (convert @0) (convert @1) mask): New
15664 simplifier to narrow arithmetic.
15665 * generic-match-head.c: (types_match, single_use): New functions.
15666 * gimple-match-head.c: (types_match, single_use): New functions.
15668 2015-05-04 Andreas Tobler <andreast@gcc.gnu.org>
15670 * config/arm/arm.c: Restore bootstrap.
15672 2015-05-04 Uros Bizjak <ubizjak@gmail.com>
15674 * config/i386/i386.h (TARGET_SUPPORTS_WIDE_INT): New define.
15675 * config/i386/i386.c (ix86_legitimate_constant_p): Handle TImode
15676 as CONST_WIDE_INT, not CONST_DOUBLE.
15677 (ix86_cannot_force_const_mem): Handle CONST_WIDE_INT.
15678 (output_pic_addr_const): Do not handle VOIDmode CONST_DOUBLEs.
15679 (ix86_find_base_term): Do not check for CONST_DOUBLE.
15680 (ix86_print_operand): Do not handle non-FPmode CONST_DOUBLEs.
15681 (ix86_build_signbit_mask): Rewrite using wide ints.
15682 (ix86_split_to_parts) [HOST_BITS_PER_WIDE_INT < 64]: Remove.
15683 (ix86_rtx_costs): Handle CONST_WIDE_INT.
15684 (find_constant): Ditto.
15685 * config/i386/i386.md (bts, btr, btc peepholes): Rewrite
15686 using gen_int_mode.
15687 * config/i386/predicates.md (x86_64_immediate_operand)
15688 <case CONST_INT>: Remove HOST_BITS_PER_WIDE_INT == 32 code.
15689 (x86_64_zext_immediate_operand): Remove CONST_DOUBLE handling.
15690 <case CONST_INT>: Remove HOST_BITS_PER_WIDE_INT == 32 code.
15691 (const0_operand): Also match const_wide_int.
15692 (constm1_operand): Ditto.
15693 (const1_operand): Ditto.
15695 2015-05-04 Richard Biener <rguenther@suse.de>
15697 PR tree-optimization/65965
15698 * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Split
15699 store groups at gaps.
15701 2015-05-04 Richard Biener <rguenther@suse.de>
15703 PR tree-optimization/65935
15704 * tree-vect-slp.c (vect_build_slp_tree): If we swapped operands
15705 then make sure to apply that swapping to the IL.
15707 2015-05-04 Jakub Jelinek <jakub@redhat.com>
15709 * Makefile.in (PATCHLEVEL_c): New variable.
15710 (DATESTAMP_s, REVISION_s): If PATCHLEVEL_c is not 0,
15711 expand the same way as if DEVPHASE_c was non-empty.
15713 2015-05-04 Kai Tietz <ktietz@redhat.com>
15716 * lto-wrapper.c (run_gcc): Open filename
15719 2015-05-03 Sandra Loosemore <sandra@codesourcery.com>
15721 * doc/extend.texi (Variable Attributes, Type Attributes): Move
15722 sections up in file, to immediately after the Function Attributes
15725 2015-05-02 Jan Hubicka <hubicka@ucw.cz>
15727 * tree.c (verify_type): Check various uses of TYPE_MINVAL.
15729 2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15731 * tree-outof-ssa.c (emit_partition_copy): Return rtx_insn *.
15732 (insert_partition_copy_on_edge): Adjust.
15733 (insert_rtx_to_part_on_edge): Likewise.
15734 (insert_part_to_rtx_on_edge): Likewise.
15736 2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15738 * function.c (set_return_jump_label): Change type of argument to
15740 * function.h (set_return_jump_label): Adjust.
15742 2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15744 * reload.h (struct reg_equivs_t): Change type of init to
15746 * ira.c (fix_reg_equiv_init): Adjust.
15747 * reload1.c (eliminate_regs_1): Likewise.
15748 (init_eliminable_invariants): Likewise.
15750 2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15752 * cselib.c (fp_setter_insn): Take a rtx_insn *.
15753 * cselib.h (fp_setter_insn): Adjust.
15755 2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15757 * recog.c (struct validate_replace_src_data): Change type of
15758 insn field to rtx_insn *.
15759 (validate_replace_src_group): Change type of argument to rtx_insn *.
15760 * recog.h (validate_replace_src_group): Adjust.
15762 2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15764 * haifa-sched.c: Change the type of some variables to rtx_insn *.
15765 * sched-deps.c: Likewise.
15766 * sched-int.h: Likewise.
15767 * sched-rgn.c: Likewise.
15768 * sel-sched.c: Likewise.
15770 2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15773 * config/i386/i386.c: Change the type of some arguments to
15775 * config/arm/arm.c: Likewise.
15777 2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15779 * lra-constraints.c: Change type of some arguments to rtx_insn *.
15781 2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15783 * regcprop.c (kill_autoinc_value): Change type of argument to
15786 2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15788 * genrecog.c (print_subroutine): Adjust.
15789 * recog.c (get_bool_attr_mask_uncached): Likewise.
15790 * recog.h (struct recog_data_d): Change the type of insn to
15793 2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15795 * dwarf2cfi.c (add_cfi_insn): Change type to rtx_insn *.
15797 2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15799 * df-problems.c (df_set_note): Change type of argument to
15802 2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
15804 * builtins.c (expand_builtin_trap): Change type of local
15805 variable to rtx_insn *.
15806 (add_sched_insns_for_speculation): Likewise.
15807 (ix86_emit_save_regs): Likewise.
15808 (get_scratch_register_on_entry): Likewise.
15809 (ix86_emit_restore_reg_using_pop): Likewise.
15810 (ix86_emit_leave): Likewise.
15811 (ix86_emit_restore_regs_using_mov): Likewise.
15812 (ix86_expand_epilogue): Likewise.
15814 (rl78_alloc_physical_registers_umul): Likewise.
15815 * cselib.c (discard_useless_locs): Likewise.
15816 (cselib_invalidate_regno): Likewise.
15817 (cselib_invalidate_mem): Likewise.
15818 * function.c (expand_function_start): Likewise.
15819 (emit_use_return_register_into_block): Likewise.
15820 * gcse.c: Likewise.
15821 * haifa-sched.c (ok_for_early_queue_removal): Likewise.
15822 * ifcvt.c (noce_get_alt_condition): Likewise.
15823 * loop-doloop.c (doloop_condition_get): Likewise.
15824 * lra-constraints.c (inherit_in_ebb): Likewise.
15825 * modulo-sched.c (sms_schedule_by_order): Likewise.
15826 * recog.c (next_insn_tests_no_inequality): Likewise.
15827 * reorg.c (emit_delay_sequence): Likewise.
15828 (update_reg_dead_notes): Likewise.
15829 (fix_reg_dead_note): Likewise.
15830 (fill_slots_from_thread): Likewise.
15831 (delete_computation): Likewise.
15833 2015-05-01 Sandra Loosemore <sandra@codesourcery.com>
15835 * doc/extend.texi (Variable Attributes): Add menu and proper
15836 @nodes to subsections. Move Microsoft Windows attributes to
15837 their own subsection.
15838 (Type Attributes): Reorganize introduction to remove duplicate
15839 list of attributes. Add menu and proper @nodes to subsections.
15840 Alphabetize the main table of common attributes.
15842 2015-05-01 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15844 * match.pd: New simplification patterns.
15845 (x + (x & 1)) -> ((x + 1) & ~1)
15846 (x & ~(x & y)) -> ((x & ~y))
15847 (x | ~(x | y)) -> ((x | ~y))
15849 2015-05-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15851 * target.def (attribute_table): Mention that struct attribute_spec
15852 is defined in tree-core.h rather than tree.h
15853 * doc/tm.texi: Regenerate.
15855 2015-05-01 Richard Sandiford <richard.sandiford@arm.com>
15857 * genrecog.c (test): Rename to rtx_test. Update rest of file
15860 2015-05-01 Andreas Schwab <schwab@linux-m68k.org>
15862 PR translation/65959
15863 * params.h (DEFPARAM): Rename msgid to nocmsgid.
15865 2015-05-01 Wilco Dijkstra <wdijkstr@arm.com>
15867 * gcc/config/aarch64/aarch64-protos.h (tune_params):
15868 Add min_div_recip_mul_sf and min_div_recip_mul_df fields.
15869 * gcc/config/aarch64/aarch64.c (aarch64_min_divisions_for_recip_mul):
15870 Return value depending on target.
15871 (generic_tunings): Initialize new target settings.
15872 (cortexa53_tunings): Likewise.
15873 (cortexa57_tunings): Likewise.
15874 (thunderx_tunings): Likewise.
15875 (xgene1_tunings): Likewise.
15877 2015-05-01 Wilco Dijkstra <wdijkstr@arm.com>
15879 * gcc/config/arm/aarch-cost-tables.h (cortexa53_extra_costs):
15880 Make Cortex-A53 shift costs more accurate.
15882 2015-05-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15884 * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle FLOAT and
15887 2015-05-01 Wilco Dijkstra <wdijkstr@arm.com>
15889 * gcc/config/aarch64/aarch64.c (aarch64_rtx_costs):
15890 Calculate cost of op0 and op1 in PLUS and MINUS cases.
15892 2015-05-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15894 * config/aarch64/aarch64.c (aarch64_rtx_costs, COMPARE case):
15895 Add cost of op0 in the compare-with-fpzero case.
15897 2015-04-30 David Malcolm <dmalcolm@redhat.com>
15899 * builtins.c (fold_builtin_1): Remove spurious second
15901 * cgraph.h (symtab_node::get_availability): Likewise.
15902 * opts.c (common_handle_option): Remove spurious second semicolon.
15903 * tree-ssa-loop-ivopts.c (extract_cond_operands): Likewise.
15904 * tree-ssa-loop-niter.c (derive_constant_upper_bound_ops): Likewise.
15906 2015-04-30 Caroline Tice <cmtice@google.com>
15908 PR gcov-profile/65929
15909 * config/elfos.h (ASM_DECLARE_COLD_FUNCTION_NAME): New macro definition.
15910 (ASM_DECLARE_COLD_FUNCTION_SIZE): New macro definition.
15911 * doc/tm.texi.in (ASM_DECLARE_COLD_FUNCTION_NAME): Document new macro.
15912 (ASM_DECLARE_COLD_FUNCTION_SIZE): Document new macro.
15913 * doc/tm.texi: Regenerate.
15914 * final.c (final_scan_insn): Use ASM_DECLARE_COLD_FUNCTION_NAME
15915 instead of ASM_DECLARE_FUNCTION_NAME for cold partition name.
15916 * varasm.c (assemble_end_function): Use ASM_DECLARE_COLD_FUNCTION_SIZE
15917 instead of ASM_DECLARE_FUNCTION_SIZE for cold partition size.
15919 2015-04-30 Marek Polacek <polacek@redhat.com>
15921 * varasm.c (handle_cache_entry): Fix logic.
15923 2015-04-30 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15925 * config/aarch64/aarch64.md (*extr<mode>5_insn_alt): New pattern.
15926 (*extrsi5_insn_uxtw_alt): Likewise.
15927 * config/aarch64/aarch64.c (aarch64_extr_rtx_p): New function.
15928 (aarch64_rtx_costs, IOR case): Use above to properly cost extr
15931 2015-04-30 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15933 * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle pattern for
15936 2015-04-30 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15938 * config/aarch64/aarch64.md
15939 (*eor_one_cmpl_<SHIFT:optab><mode>3_alt): New pattern.
15940 (*eor_one_cmpl_<SHIFT:optab>sidi3_alt_ze): Likewise.
15941 * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle MVN-shift
15942 appropriately. Handle alternative EON form.
15944 2015-04-30 Renlin Li <renlin.li@arm.com>
15946 * config/aarch64/aarch64-simd.md (vec_shr): Defined as an unspec.
15947 * config/aarch64/iterators.md (unspec): Add UNSPEC_VEC_SHR.
15949 2015-04-30 Jan Hubicka <hubicka@ucw.cz>
15952 * ipa-inline.c (can_inline_edge_p): It is safe to inline across
15953 -fstrict-aliasing boundaries.
15955 2015-04-30 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15957 * config/aarch64/aarch64.c (aarch64_rtx_mult_cost): Handle MNEG
15958 and [SU]MNEGL patterns.
15960 2015-04-30 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15962 * config/aarch64/aarch64.c (aarch64_shift_p): New function.
15963 (aarch64_rtx_mult_cost): Update comment to reflect that it also handles
15964 combined arithmetic-shift ops. Properly handle all shift and extend
15965 operations that can occur in combination with PLUS/MINUS.
15966 Rename maybe_fma to compound_p.
15967 (aarch64_rtx_costs): Use aarch64_shift_p when costing compound
15968 arithmetic and shift operations.
15970 2015-04-30 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15972 * config/aarch64/aarch64.c (aarch64_rtx_costs): Use extend_arith
15973 rather than arith_shift cost when costing ADD/MINUS of an
15976 2015-04-30 Jan Hubicka <hubicka@ucw.cz>
15979 * ipa-devirt.c (odr_types_equivalent_p): NULLPTR_TYPE is equivalent
15982 2015-04-30 Richard Sandiford <richard.sandiford@arm.com>
15984 * genrecog.c (simplify_tests): Check that CONST_INT and XWINT tests
15985 are for the same position.
15987 2015-04-29 Aditya Kumar <hiraditya@hotmail.com>
15989 * tree-vectorizer.c (set_uid_loop_bbs): New. Factored out of
15991 (vectorize_loops): Use it.
15993 2015-04-29 Jan Hubicka <hubicka@ucw.cz>
15995 * ipa-devirt.c (odr_subtypes_equivalent_p): Compare TYPE_NAME only
15996 for aggregate types.
15997 (register_odr_type): Be ready for MAIN_VARIANT of ODR type
15998 type to be non_ODR.
15999 * tree.c (need_assembler_name_p): Compute mangled name for
16000 non-fundamental types and integer types.
16002 2015-04-29 Mikhail Maltsev <maltsevm@gmail.com>
16004 * dojump.c (do_compare_rtx_and_jump): Use std::swap instead of
16006 * expr.c (expand_expr_real_2): Likewise.
16008 2015-04-29 Jan Hubicka <hubicka@ucw.cz>
16010 * tree.c (build_common_builtin_nodes): Do not build
16011 __builtin_alloca_with_align as equivalent of library alloca.
16013 2015-04-29 Jan Hubicka <hubicka@ucw.cz>
16015 * dwarf2out.c (gen_type_die_with_usage): Call verify_type.
16016 * ipa-chkp.c (chkp_copy_function_type_adding_bounds): Do not produce
16018 * tree.c: Include print-tree.h and ipa-utils.h
16019 (free_lang_data_in_type): Clear TYPE_VFIELD leaked by C FE.
16020 (free_lang_data_in_cgraph): Call verify_type.
16021 (verify_type_variant): New function.
16022 (verify_type): New function.
16023 * tree.h (verify_type): Declare.
16025 2015-04-29 Steve Ellcey <sellcey@imgtec.com>
16027 * config/mips/mips-cpus.def: (mips4): Change default processor
16028 from PROCESSOR_R8000 to PROCESSOR_R10000.
16030 2015-04-29 Petar Jovanovic <petar.jovanovic@rt-rk.com>
16032 * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Fix the macro to use
16033 la/jalr instead of jal.
16035 2015-04-29 Uros Bizjak <ubizjak@gmail.com>
16038 * config/i386/i386.md (*bmi_bextr_<mode>_ccz): New pattern.
16039 (*bmi2_bzhi_<mode>3_1_ccz): Ditto.
16040 (setcc+movzbl peephole2): Check also clobbered reg.
16041 (setcc+andl peephole2): Ditto.
16043 2015-04-29 Thomas Schwinge <thomas@codesourcery.com>
16046 * config/nvptx/mkoffload.c (target_ilp32): New variable.
16047 (main): Set it depending on "-foffload-abi=[...]".
16048 (compile_native, main): Use it to pass "-m32" or "-m64" to the
16051 2015-04-29 Alan Lawrence <alan.lawrence@arm.com>
16054 * config/aarch64/aarch64-simd.md (vec_store_lanesoi_lane<mode>,
16055 vec_store_lanesci_lane<mode>, vec_store_lanesxi_lane<mode>):
16056 Flip lane index back at assembly time for bigendian.
16058 2015-04-29 Thomas Schwinge <thomas@codesourcery.com>
16060 * tree.h (OMP_STANDALONE_CLAUSES): New macro.
16061 * gimplify.c (gimplify_omp_workshare): Use it.
16063 2015-04-29 Richard Sandiford <richard.sandiford@arm.com>
16065 * Makefile.in (build/genrecog.o): Depend on inchash.h.
16066 (build/genrecog$(build_exeext): Depend on build/hash-table.o and
16068 * genrecog.c: Rewrite most of the code except for the third page.
16070 2015-04-29 Richard Sandiford <richard.sandiford@arm.com>
16072 * inchash.h, inchash.c: Include bconfig.h for build objects.
16073 * Makefile.in (build/inchash.o): New rule.
16075 2015-04-29 Yvan Roux <yvan.roux@linaro.org>
16078 * config/arm/thumb2.md (*thumb2_addsi3_compare0_scratch): Fix operand
16079 number in type attribute expression.
16081 2015-04-29 Richard Sandiford <richard.sandiford@arm.com>
16083 * loop-iv.c (canon_condition): Generalize to all types of integer
16086 2015-04-29 Bernhard Reuther-Fischer <aldot@gcc.gnu.org>
16088 * gimple-walk.c: Prune duplicate or unneeded includes.
16089 (walk_gimple_asm): Only call parse_input_constraint or
16090 parse_output_constraint if their findings are used.
16091 Honour parse_input_constraint and parse_output_constraint
16094 2015-04-29 Alan Lawrence <alan.lawrence@arm.com>
16096 * config/arm/neon.md (vec_shl<mode>, vec_shr<mode>): Remove.
16098 2015-04-29 Tom de Vries <tom@codesourcery.com>
16100 PR tree-optimization/65893
16101 * passes.def (pass_all_optimizations): Move pass_stdarg to after
16104 2015-04-29 Richard Biener <rguenther@suse.de>
16106 * tree-vect-data-refs.c (vect_analyze_group_access): Properly
16107 compute GROUP_SIZE for basic-block SLP.
16108 * tree-vect-slp.c (vect_get_place_in_interleaving_chain): Properly
16109 take into account gaps.
16110 (vect_get_mask_element): Properly reject references to previous
16112 (vect_transform_slp_perm_load): Likewise.
16114 2015-04-29 Christian Bruel <christian.bruel@st.com>
16117 * config/i386/i386.c (ix86_default_align): New function.
16118 (ix86_override_options_after_change): Call ix86_default_align.
16119 (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New hook.
16120 (ix86_override_options_after_change): New function.
16122 2015-04-28 Jeff Law <law@redhat.com>
16124 * tree-ssa-dom.c (record_equality); Fix comment typos.
16126 2015-04-28 Tom de Vries <tom@codesourcery.com>
16128 PR tree-optimization/65887
16129 * gimplify.c (gimplify_modify_expr): Remove ifn_va_arg ap fixup.
16131 2015-04-28 Sandra Loosemore <sandra@codesourcery.com>
16133 * doc/extend.texi (Declaring Attributes of Functions): Split into
16134 subsections by target. Alphabetize the table of common attributes.
16135 Rewrite some of the introductory text to reflect the new structure.
16136 Update some cross-references to point to the new subsections.
16137 (Attribute Syntax): Put paragraph about "__" naming here. Remove
16138 duplicate copies in the discussion of function, label, and type
16141 2015-04-28 Dominique d'Humieres <dominiq@lps.ens.fr>
16144 * varasm.c (assemble_end_function): Guard ASM_DECLARE_FUNCTION_SIZE.
16146 2015-04-28 Jason Merrill <jason@redhat.com>
16149 * stor-layout.c (layout_type): Layout the TYPE_MAIN_VARIANT.
16150 (finalize_type_size): Respect TYPE_USER_ALIGN.
16151 (layout_type) [ARRAY_TYPE]: Likewise.
16153 2015-04-28 Yvan Roux <yvan.roux@linaro.org>
16155 * config/arm/arm.md (*arm_movt): Fix type attribute.
16156 (*cmpsi_shiftsi): Likewise.
16157 (*cmpsi_shiftsi_swp): Likewise.
16158 (*movsicc_insn): Likewise.
16159 (*cond_move): Likewise.
16160 (*if_plus_move): Likewise.
16161 (*if_move_plus): Likewise.
16162 (*if_arith_move): Likewise.
16163 (*if_move_arith): Likewise.
16164 (*if_shift_move): Likewise.
16165 (*if_move_shift): Likewise.
16166 (*arm_movtas_ze): Likewise.
16167 * config/arm/thumb2.md (*thumb2_movsicc_insn): Fix alternative
16168 redundancy and type attribute.
16169 (*thumb2_movsi_insn): Fix type attribute.
16170 (*thumb2_addsi_short): Likewise.
16171 (thumb2_addsi3_compare0): Likewise.
16172 (*thumb2_addsi3_compare0_scratch): Merge alternatives and fix
16173 attributes accordingly.
16175 2015-04-28 Markus Trippelsdorf <markus@trippelsdorf.de>
16178 * function.c (pad_to_arg_alignment): Add parentheses.
16180 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
16182 * config/frv/frv.h (CRT_GET_RFIB_DATA): Move definition to
16183 libgcc/config/frv/elf-lib.h.
16185 2015-04-28 Tom de Vries <tom@codesourcery.com>
16187 * tree-call-cdce.c: Fix example in header comment.
16189 2015-04-28 Richard Biener <rguenther@suse.de>
16191 PR tree-optimization/62283
16192 * tree-vect-slp.c (vect_build_slp_tree): When the SLP build
16193 fails fatally and we are vectorizing a basic-block simply
16194 cause the child to be constructed piecewise.
16195 (vect_analyze_slp_cost_1): Adjust.
16196 (vect_detect_hybrid_slp_stmts): Likewise.
16197 (vect_bb_slp_scalar_cost): Likewise.
16198 (vect_get_constant_vectors): For piecewise constructed
16199 constants place them after the last def.
16200 (vect_get_slp_defs): Adjust.
16201 * tree-vect-stmts.c (vect_is_simple_use): Detect in-BB
16202 externals for basic-block vectorization.
16204 2015-04-28 Thomas Preud'homme <thomas.preudhomme@arm.com>
16207 * config.gcc: Add cortex-a57-fma-steering.o to extra_objs for
16209 * config/aarch64/t-aarch64: Add a rule for cortex-a57-fma-steering.o.
16210 * config/aarch64/aarch64.h (AARCH64_FL_USE_FMA_STEERING_PASS): Define.
16211 (AARCH64_TUNE_FMA_STEERING): Likewise.
16212 * config/aarch64/aarch64-cores.def: Set
16213 AARCH64_FL_USE_FMA_STEERING_PASS for cores with dynamic steering of
16214 FMUL/FMADD instructions.
16215 * config/aarch64/aarch64.c (aarch64_register_fma_steering): Declare.
16216 (aarch64_override_options): Include cortex-a57-fma-steering.h. Call
16217 aarch64_register_fma_steering () if AARCH64_TUNE_FMA_STEERING is true.
16218 * config/aarch64/cortex-a57-fma-steering.h: New file.
16219 * config/aarch64/cortex-a57-fma-steering.c: Likewise.
16221 2015-04-28 Richard Sandiford <richard.sandiford@arm.com>
16223 * gensupport.c (std_preds): Add missing codes to address_operand entry.
16225 2015-04-28 Richard Biener <rguenther@suse.de>
16227 PR tree-optimization/65851
16228 * tree-ssa-ccp.c (set_lattice_value): Perform a meet when
16229 changing CONSTANT to CONSTANT non-copy. Get new_val by reference.
16230 (ccp_lattice_meet): Remove stray argument. Use operand_equal_p
16231 rather than simple_cst_equal as the latter doesn't handle COMPLEX_CST.
16232 (ccp_visit_phi_node): Adjust.
16233 (evaluate_stmt): For simplifications to SSA names return its
16234 lattice value if that isn't VARYING. Return immediately when
16235 simplified to a constant.
16236 (visit_assignment): Adjust.
16237 (ccp_visit_stmt): Likewise.
16239 2015-04-28 Tom de Vries <tom@codesourcery.com>
16241 PR tree-optimization/65818
16242 * tree-stdarg.c (expand_ifn_va_arg_1): Ensure that side-effects are
16245 2015-04-27 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
16247 * calls.c (save_fixed_argument_area): Don't check
16248 ARGS_GROW_DOWNWARD with the preprocessor.
16249 (restore_fixed_argument_area): Likewise.
16250 (mem_overlaps_already_clobbered_arg_p): Likewise.
16251 (check_sibcall_argument_overlap): Likewise.
16252 (expand_call): Likewise.
16253 (emit_library_call_value_1): Likewise.
16254 (store_one_arg): Likewise.
16255 * function.c (assign_parms): Likewise.
16256 (locate_and_pad_parm): Likewise.
16257 (pad_to_arg_alignment): Likewise.
16258 * targhooks.c (std_gimplify_va_arg_expr): Likewise.
16260 2015-04-27 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
16262 * config/pa/pa.h (ARGS_GROW_DOWNWARD): Define to 1.
16263 * defaults.h (ARGS_GROW_DOWNWARD): Define it to 0 by default.
16264 * calls.c (save_fixed_argument_area): Don't chekc if
16265 ARGS_GROW_DOWNWARD is defined.
16266 (restore_fixed_argument_area): Likewise.
16267 (mem_overlaps_already_clobbered_arg_p): Likewise.
16268 (check_sibcall_argument_overlap): Likewise.
16269 (expand_call): Likewise.
16270 (emit_library_call_value_1): Likewise.
16271 (store_one_arg): Likewise.
16272 * function.c (assign_parms): Likewise.
16273 (locate_and_pad_parm): Likewise.
16274 (pad_to_arg_alignment): Likewise.
16275 * targhooks.c (std_gimplify_va_arg_expr): Likewise.
16277 2015-04-27 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
16279 * defaults.h (gen_epilogue): New function.
16280 * alias.c (init_alias_analysis): don't check if HAVE_epilogue is
16282 * cfgrtl.c (cfg_layout_finalize): Likewise.
16283 * df-scan.c: Likewise.
16284 * function.c (thread_prologue_and_epilogue_insns): Likewise.
16285 (reposition_prologue_and_epilogue_notes): Likewise.
16286 * reorg.c (find_end_label): Likewise.
16287 * toplev.c: Likewise.
16289 2015-04-27 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
16291 * bb-reorder.c (HAVE_return): Don't check if its undefined.
16292 * defaults.h (gen_simple_return): New function.
16293 (gen_simple_return): Likewise.
16294 (HAVE_return): Add default definition to false.
16295 (HAVE_simple_return): Likewise.
16296 * cfgrtl.c (force_nonfallthru_and_redirect): Remove checks if
16297 HAVE_return and HAVE_simple_return are defined.
16298 * function.c (gen_return_pattern): Likewise.
16299 (convert_jumps_to_returns): Likewise.
16300 (thread_prologue_and_epilogue_insns): Likewise.
16301 * reorg.c (find_end_label): Likewise.
16302 (dbr_schedule): Likewise.
16303 * shrink-wrap.c: Likewise.
16304 * shrink-wrap.h: Likewise.
16306 2015-04-27 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
16308 * defaults.h (EPILOGUE_USES): Add default definition of false.
16309 * df-scan.c (EPILOGUE_USES): Remove check if its undefined.
16310 * resource.c (init_resource_info): Likewise.
16312 2015-04-27 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
16314 * defaults.h (PCC_BITFIELD_TYPE_MATTERS): Add default definition
16316 * dwarf2out.c (field_byte_offset): REmove check if
16317 PCC_BITFIELD_TYPE_MATTERS is defined.
16318 * stor-layout.c (layout_decl): Likewise.
16319 (update_alignment_for_field): Likewise.
16320 (place_field): Likewise.
16322 2015-04-27 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
16324 * defaults.h (HARD_REGNO_RENAME_OK): Add default definition to
16326 * regrename.c (check_new_reg_p): Remove check if
16327 HARD_REGNO_RENAME_OK is defined.
16328 * sel-sched.c (sel_hard_regno_rename_ok): Likewise.
16330 2015-04-27 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
16332 * calls.c (prepare_call_address): Remove ifdef NO_FUNCTION_CSE.
16333 * cse.c (fold_rtx): Likewise.
16334 * config/alpha/alpha.h (NO_FUNCTION_CSE): Define to 1.
16335 * config/arc/arc.h (NO_FUNCTION_CSE): Likewise.
16336 * config/avr/avr.h (NO_FUNCTION_CSE): Likewise.
16337 * config/cr16/cr16.h (NO_FUNCTION_CSE): Likewise.
16338 * config/epiphany/epiphany.h (NO_FUNCTION_CSE): Likewise.
16339 * config/frv/frv.h (NO_FUNCTION_CSE): Likewise.
16340 * config/h8300/h8300.h (NO_FUNCTION_CSE): Likewise.
16341 * config/i386/i386.h (NO_FUNCTION_CSE): Likewise.
16342 * config/ia64/ia64.h (NO_FUNCTION_CSE): Likewise.
16343 * config/lm32/lm32.h (enum reg_class) (NO_FUNCTION_CSE):
16345 * config/m32r/m32r.h (NO_FUNCTION_CSE): Likewise.
16346 * config/mep/mep.h (NO_FUNCTION_CSE): Likewise.
16347 * config/mn10300/mn10300.h (NO_FUNCTION_CSE): Likewise.
16348 * config/nds32/nds32.h (NO_FUNCTION_CSE): Likewise.
16349 * config/nios2/nios2.h (NO_FUNCTION_CSE): Likewise.
16350 * config/pa/pa.h (NO_FUNCTION_CSE): Likewise.
16351 * config/rs6000/rs6000.h (NO_FUNCTION_CSE): Likewise.
16352 * config/s390/s390.h (NO_FUNCTION_CSE): Likewise.
16353 * config/sparc/sparc.h (NO_FUNCTION_CSE): Likewise.
16354 * config/spu/spu.h (NO_FUNCTION_CSE): Likewise.
16355 * config/stormy16/stormy16.h (NO_FUNCTION_CSE): Likewise.
16356 * config/v850/v850.h (NO_FUNCTION_CSE): Likewise.
16357 * defaults.h (NO_FUNCTION_CSE): Provide default definition to 0.
16358 * doc/tm.texi: Regenerate.
16359 * doc/tm.texi.in: Document NO_FUNCTION_CSE is always defined to
16360 either true or false.
16362 2015-04-27 Jeff Law <law@redhat.com>
16364 PR tree-optimization/65217
16365 * tree-ssa-dom.c (record_equality): Given two SSA_NAMEs, if just one
16366 of them has a single use, make sure it is the LHS of the implied
16369 2015-04-28 Alan Modra <amodra@gmail.com>
16372 * config/rs6000/rs6000.c (POWERPC64_TOC_POINTER_ALIGNMENT): Define.
16373 (offsettable_ok_by_alignment): Use minimum of decl and toc
16374 pointer alignment. Replace dead code with assertion.
16375 (use_toc_relative_ref): Add mode arg. Return false in -mcmodel=medium
16376 case if size exceeds toc pointer alignment.
16377 (rs6000_legitimize_reload_address): Update use_toc_relative_ref call.
16378 (rs6000_emit_move): Likewise.
16379 * configure.ac: Add linker toc pointer alignment check.
16380 * configure: Regenerate.
16381 * config.in: Regenerate.
16383 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
16385 * config.gcc: Add h8300-*-linux.
16386 * config/h8300/linux.h: New.
16387 * config/h8300/t-linux: New.
16388 * config/h8300/h8300.c (h8300_option_override): Normal mode
16389 is not supported for h8300-*-linux.
16390 (h8300_file_start): Target priority change.
16391 (get_shift_alg): Likewise.
16392 (h8300_shift_need_scratch_p): Likewise.
16393 * config/h8300/h8300.h (TARGET_CPU_CPP_BUILTINS): Likewise.
16394 * config/h8300/h8300.md (define_peephole2): Remove duplicate condition.
16396 2015-04-27 Caroline Tice <cmtice@google.com>
16398 * final.c (final_scan_insn): Output cold_function_name as function
16400 * varasm.c (cold_function_name): Make global.
16401 (assemble_start_function): Re-set cold_function_name.
16402 (assemble_end_function): Output cold partition size.
16403 * varasm.h (cold_function_name): Declare global.
16405 2015-04-27 Ilya Tocar <ilya.tocar@intel.com>
16407 * config/i386/i386.h (EXT_REX_SSE_REG_P): New.
16408 * config/i386/i386.md (*cmpi<FPCMP:unord><MODEF:mode>_mixed): Use "v"
16410 (*movxi_internal_avx512f): Ditto.
16411 (define_split): Check for xmm16+, when splitting scalar float_extend.
16412 (*extendsfdf2_mixed): Use "v" constraint.
16413 (define_split): Check for xmm16+, when splitting scalar float_truncate.
16414 (*truncdfsf_fast_sse): Use "v" constraint.
16415 (fix_trunc<MODEF:mode><SWI48:mode>_sse): Ditto.
16416 (*float<SWI48:mode><MODEF:mode>2_sse): Ditto.
16417 (define_peephole2): Check for xmm16+, when converting scalar
16419 (define_peephole2): Check for xmm16+, when converting scalar
16421 (*fop_<mode>_comm_mixed): Use "v" constraint.
16422 (*fop_<mode>_comm_sse): Ditto.
16423 (*fop_<mode>_1_mixed): Ditto.
16424 (*sqrt<mode>2_sse): Ditto.
16425 (*ieee_s<ieee_maxmin><mode>3): Ditto.
16427 2015-04-27 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
16429 * combine.c (simplify_if_then_else): Use std::swap instead
16430 of manually swapping.
16431 (known_cond): Likewise.
16432 (simplify_comparison): Likewise.
16434 2015-04-27 Peter Bergner <bergner@vnet.ibm.com>
16437 * config/rs6000/htm.md: Remove all define_expands.
16438 (UNSPECV_HTM_TABORTDC, UNSPECV_HTM_TABORTDCI, UNSPECV_HTM_TABORTWC,
16439 UNSPECV_HTM_TABORTWCI): Remove.
16440 (UNSPECV_HTM_TABORTXC, UNSPECV_HTM_TABORTXCI, UNSPECV_HTM_TTEST): New.
16441 (tabort_internal, tbegin_internal, tcheck_internal, tend_internal,
16442 trechkpt_internal, treclaim_internal, tsr_internal): Rename from this...
16443 (tabort, tbegin, tcheck, tend, trechkpt, treclaim, tsr): ...to this.
16444 (tabortdc_internal, tabortdci_internal, tabortwc_internal,
16445 tabortwci_internal): Remove define_insns.
16446 (tabort<wd>c, tabort<wd>ci): New define_insns.
16447 (tabort): Use gpc_reg_operand.
16448 (tcheck): Remove operand.
16449 (htm_mfspr_<mode>, htm_mtspr_<mode>): Use GPR mode macro.
16450 * config/rs6000/htmxlintrin.h (__TM_end): Use _HTM_TRANSACTIONAL as
16452 * config/rs6000/rs6000-builtin.def (BU_HTM_SPR0): Remove.
16453 (BU_HTM_SPR1): Rename to BU_HTM_V1. Remove use of RS6000_BTC_SPR.
16454 (tabort, tabortdc, tabortdci, tabortwc, tabortwci, tbegin,
16455 tcheck, tend, tendall, trechkpt, treclaim, tresume, tsuspend,
16456 tsr, ttest): Pass in the RS6000_BTC_CR attribute.
16457 (get_tfhar, set_tfhar, get_tfiar, set_tfiar, get_texasr, set_texasr,
16458 get_texasru, set_texasru): Pass in the RS6000_BTC_SPR attribute.
16459 (tcheck): Remove builtin argument.
16460 * config/rs6000/rs6000.c (rs6000_htm_spr_icode): Use TARGET_POWERPC64
16462 (htm_expand_builtin): Fix usage of expandedp. Disallow usage of the
16463 tabortdc and tabortdci builtins when not in 64-bit mode.
16464 Modify code to handle the loss of the HTM define_expands.
16465 Emit code to copy the CR register to TARGET.
16466 (htm_init_builtins): Modify code to handle the loss of the HTM
16468 * config/rs6000/rs6000.h (RS6000_BTC_32BIT): Delete.
16469 (RS6000_BTC_64BIT): Likewise.
16470 (RS6000_BTC_CR): New macro.
16471 * doc/extend.texi: Update documentation for htm builtins.
16473 2015-04-27 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
16475 * simplify-rtx.c (simplify_gen_binary): Use std::swap instead
16476 of manually swapping.
16477 (simplify_associative_operation): Likewise.
16478 (simplify_binary_operation): Likewise.
16479 (simplify_plus_minus): Likewise.
16480 (simplify_relational_operation): Likewise.
16481 (simplify_ternary_operation): Likewise.
16483 2015-04-27 Richard Sandiford <richard.sandiford@arm.com>
16485 * config/stormy16/predicates.md (xs_hi_general_operand): Delete.
16486 (xs_hi_nonmemory_operand): Remove error.
16487 * config/stormy16/stormy16.md (movhi, movhi_internal): Use
16488 general_operand rather than xs_hi_general_operand.
16490 2015-04-27 Richard Biener <rguenther@suse.de>
16492 * tree-ssa-dom.c (record_equivalences_from_phis): Valueize PHI arg.
16493 (record_equivalences_from_stmt): Valueize rhs.
16494 (record_equality): Canonicalize x and y order via
16495 tree_swap_operands_p. Do not swap operands for same loop depth.
16497 2015-04-27 Georg-Johann Lay <avr@gjlay.de>
16501 * config/avr/gen-avr-mmcu-specs.c (print_mcu): Close file.
16502 Add hint how to use own spec file.
16504 2015-04-27 Jakub Jelinek <jakub@redhat.com>
16506 PR tree-optimization/65875
16507 * tree-vrp.c (update_value_range): If in is_new case setting
16508 old_vr to VR_VARYING, also set new_vr to it. Remove
16509 old_vr->type == VR_VARYING test.
16510 (vrp_visit_phi_node): Return SSA_PROP_VARYING instead of
16511 SSA_PROP_INTERESTING if update_value_range returned true,
16512 but new range is VR_VARYING.
16514 2015-04-27 Thomas Preud'homme <thomas.preudhomme@arm.com>
16516 * combine.c (sign_extend_short_imm): New.
16517 (set_nonzero_bits_and_sign_copies): Use above new function for sign
16518 extension of src short immediate.
16519 (reg_nonzero_bits_for_combine): Likewise for tem.
16521 2015-04-27 Eric Botcazou <ebotcazou@adacore.com>
16523 * stor-layout.c (self_referential_component_ref_p): New predicate.
16524 (copy_self_referential_tree_r): Use it.
16525 (self_referential_size): Punt for simple operations directly involving
16526 self-referential component references.
16527 * tree-cfg.c (dump_function_to_file): Add missing final curly bracket.
16529 2015-04-27 Eric Botcazou <ebotcazou@adacore.com>
16531 * ipa-icf.c (icf_handled_component_p): Remove redundant tests.
16533 2015-04-27 Richard Sandiford <richard.sandiford@arm.com>
16535 * vec.h (vec): Make splice arguments const. Update definitions
16538 2015-04-27 Yvan Roux <yvan.roux@linaro.org>
16540 * config/arm/arm.md (*arm_subsi3_insn): Fixed redundant
16543 2015-04-26 Tom de Vries <tom@codesourcery.com>
16545 PR tree-optimization/65826
16546 * internal-fn.def: Mark VA_ARG with ECF_LEAF.
16548 2015-04-24 Steve Ellcey <sellcey@imgtec.com>
16550 * config/mips/mips.md: (*madd4<mode>) Remove accum_in attribute.
16551 (*madd3<mode>): Ditto.
16552 (*msub4<mode>): Ditto.
16553 (*msub3<mode>): Ditto.
16554 (*nmadd4<mode>): Ditto.
16555 (*nmadd3<mode>): Ditto.
16556 (*nmadd4<mode>_fastmath): Ditto.
16557 (*nmadd3<mode>_fastmath): Ditto.
16558 (*nmsub4<mode>): Ditto.
16559 (*nmsub3<mode>): Ditto.
16560 (*nmsub4<mode>_fastmath): Ditto.
16561 (*nmsub3<mode>_fastmath): Ditto.
16563 2015-04-24 Jason Merrill <jason@redhat.com>
16566 * tree.c (build_reference_type_for_mode): Don't pass can_alias_all
16567 down when building TYPE_CANONICAL.
16568 (build_pointer_type_for_mode): Likewise.
16570 2015-04-24 Chen Gang <gang.chen.5i5j@gmail.com>
16572 * genrecog.c (validate_pattern): Check matching constraint refers
16573 to a lower numbered operand.
16575 2015-04-24 Michael Meissner <meissner@linux.vnet.ibm.com>
16578 * config/rs6000/rs6000.opt (-mvsx-align-128): Make options that
16579 save to independent variables use the Save attribute. This will
16580 allow these options to be modified with the #pragma/attribute
16582 (-mallow-movmisalign): Likewise.
16583 (-mallow-df-permute): Likewise.
16584 (-msched-groups): Likewise.
16585 (-malways-hint): Likewise.
16586 (-malign-branch-targets): Likewise.
16587 (-mvectorize-builtins): Likewise.
16588 (-msave-toc-indirect): Likewise.
16590 * config/rs6000/rs6000.c (rs6000_opt_masks): Add more options that
16591 can be set via the #pragma/attribute target support.
16592 (rs6000_opt_vars): Likewise.
16593 (rs6000_inner_target_options): If VSX was set, also set
16594 -mno-avoid-indexed-addresses.
16596 2015-04-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
16598 * config/arm/iterators.md (shiftable_ops): Rename to...
16599 (SHIFTABLE_OPS): ... This. Update use in comments.
16600 (ior_xor): Rename to...
16601 (IOR_XOR): ... This.
16602 (vqh_ops): Rename to...
16603 (VQH_OPS): ... This.
16604 (vqhs_ops): Rename to...
16605 (VQHS_OPS): ... This.
16606 (rshifts): Rename to...
16607 (RSHIFTS): ... This.
16608 (returns): Rename to...
16609 (RETURNS): ... This.
16610 * config/arm/arm.md: Update uses of the above.
16611 * config/arm/neon.md: Likewise.
16613 2014-04-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
16615 * config.host (case ${host}): Add aarch64*-*-linux case.
16616 * config/aarch64/aarch64-cores.def: Add IMPLEMENTER_ID and PART_NUMBER
16617 fields to all the cores.
16618 * config/aarch64/aarch64-elf.h (DRIVER_SELF_SPECS):
16619 Add MCPU_MTUNE_NATIVE_SPECS.
16620 * config/aarch64/aarch64-option-extensions.def: Add FEATURE_STRING
16621 field to all extensions.
16622 * config/aarch64/aarch64-opts.h: Adjust definition of AARCH64_CORE.
16623 * config/aarch64/aarch64.c: Adjust definition of AARCH64_CORE.
16624 Adjust definition of AARCH64_OPT_EXTENSION.
16625 * config/aarch64/aarch64.h: Adjust definition of AARCH64_CORE.
16626 (MCPU_MTUNE_NATIVE_SPECS): Define.
16627 * config/aarch64/driver-aarch64.c: New file.
16628 * config/aarch64/x-arch64: New file.
16629 * doc/invoke.texi (AArch64 Options): Document native value for -mcpu,
16632 2015-04-24 Uros Bizjak <ubizjak@gmail.com>
16633 Wei Mi <wmi@google.com>
16635 * config/i386/i386-protos.h (ix86_operands_ok_for_move_multiple): New.
16636 * config/i386/i386.c (extract_base_offset_in_addr): New function.
16637 (ix86_operands_ok_for_move_multiple): Ditto.
16638 * config/i386/sse.md (movsd/movhpd to movupd peephole2): New pattern.
16639 (movlpd/movhpd to movupd peephole2): Ditto.
16641 2015-04-24 Marek Polacek <polacek@redhat.com>
16644 * input.h (from_macro_expansion_at): Define.
16647 * doc/invoke.texi: Update description of -Wlogical-op.
16649 2015-04-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
16651 * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): fix
16652 ternary operator in fprintf and harmonize spacing.
16654 2015-04-24 Uros Bizjak <ubizjak@gmail.com>
16656 * config/i386/sse.md (*vec_widen_smult_even_v8si<mask_name>):
16657 Mark operand1 commutative.
16659 2015-04-24 Uros Bizjak <ubizjak@gmail.com>
16661 * config/i386/sse.md (*vec_concatv2sf_sse4_1): Do not allow both
16662 input operands in memory.
16663 (*vec_concatv2si_sse4_1): Ditto.
16664 (*vec_concatv2df): Ditto, except for SSE3 and equal input operands.
16665 (vec_extract_lo_<mode><mask_name>): Change operand 1 predicate to
16667 (vec_extract_hi_v32hi): Ditto.
16668 (vec_extract_hi_v64hi): Ditto.
16669 (<mask_codefor>avx512f_unpckhpd512<mask_name>): Ditto.
16671 2015-04-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
16672 Steven Bosscher <steven@gcc.gnu.org>
16674 PR rtl-optimization/34503
16675 * cprop.c (cprop_reg_p): New.
16676 (hash_scan_set): Use above function to check if register can be
16678 (find_avail_set): Return up to two sets, one whose source is a
16679 register and one whose source is a constant. Sets are returned in an
16680 array passed as parameter rather than as a return value.
16681 (cprop_insn): Use a do while loop rather than a goto. Try each of the
16682 sets returned by find_avail_set, starting with the one whose source is
16683 a constant. Use cprop_reg_p to check if register can be propagated.
16684 (do_local_cprop): Use cprop_reg_p to check if register can be
16686 (implicit_set_cond_p): Likewise.
16688 2015-04-23 Jan Hubicka <hubicka@ucw.cz>
16690 * ipa-icf.c (sem_function::equals_wpa): Compare thunk info.
16691 (sem_function::equals): IGNORED_NODES parameter is now unused;
16692 update call of equals_private.
16693 (sem_function::equals_private): Do not call equals_wpa; skip
16694 gimple body matching if there is no body.
16695 (sem_function::init): Add logic to hash tthunk info.
16696 (sem_function::parse): Also parse thunks.
16697 * ipa-icf.h (equals_private): Update declaration.
16699 2015-04-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
16701 * config/rs6000/altivec.md (*altivec_lvx_<mode>_internal): Remove
16702 asterisk from name so this can be generated directly.
16703 (*altivec_stvx_<mode>_internal): Likewise.
16704 * config/rs6000/rs6000.c (rs6000_emit_le_vsx_store): Add assert
16705 that this is never called during or after reload/lra.
16706 (rs6000_frame_related): Remove split_reg
16707 argument and logic that references it.
16708 (emit_frame_save): Remove last parameter from call to
16709 rs6000_frame_related.
16710 (rs6000_emit_prologue): Remove last parameter from eight calls to
16711 rs6000_frame_related. Force generation of stvx instruction for
16712 Altivec register saves. Remove split_reg handling, which is no
16714 (rs6000_emit_epilogue): Force generation of lvx instruction for
16715 Altivec register restores.
16717 2015-04-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
16719 * config/rs6000/rs6000.opt (mcrypto): Change option description to
16720 match category changes in ISA 2.07B.
16722 2015-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
16724 * config/arm/iterators.md (GTGE, GTUGEU, COMPARISONS): New code
16726 (cmp_op, cmp_type): New code attributes.
16727 (NEON_VCMP, NEON_VACMP): New int iterators.
16728 (cmp_op_unsp): New int attribute.
16729 * config/arm/neon.md (neon_vc<cmp_op><mode>): New define_expand.
16730 (neon_vceq<mode>): Delete.
16731 (neon_vc<cmp_op><mode>_insn): New pattern.
16732 (neon_vc<cmp_op_unsp><mode>_insn_unspec): Likewise.
16733 (neon_vcgeu<mode>): Delete.
16734 (neon_vcle<mode>): Likewise.
16735 (neon_vclt<mode>: Likewise.
16736 (neon_vcage<mode>): Likewise.
16737 (neon_vcagt<mode>): Likewise.
16738 (neon_vca<cmp_op><mode>): New define_expand.
16739 (neon_vca<cmp_op><mode>_insn): New pattern.
16740 (neon_vca<cmp_op_unsp><mode>_insn_unspec): Likewise.
16742 2015-04-23 Jan Hubicka <hubicka@ucw.cz>
16744 * tree.h (attribute_value_equal): Declare.
16745 * tree.c (attribute_value_equal): Export.
16747 2015-04-23 Jan Hubicka <hubicka@ucw.cz>
16749 * ipa-icf.c (sem_item::compare_attributes): New function.
16750 (sem_item::compare_referenced_symbol_properties): Compare variable
16752 (sem_item::hash_referenced_symbol_properties): Record DECL_ALIGN.
16753 (sem_function::param_used_p): New function.
16754 (sem_function::equals_wpa): Fix attribute comparsion; match
16755 parameter type codes; do not compare paremter flags when
16756 they are not used; compare edge flags; compare indirect calls.
16757 (sem_item::update_hash_by_addr_refs): Hash reference type.
16758 (sem_function::equals_private): Do not match DECL_ATTRIBUTES.
16759 (sem_variable::equals_wpa): Do not match DECL_ALIGN; match
16760 reference use type.
16761 (sem_item_optimizer::update_hash_by_addr_refs): Use param_used_p.
16762 * ipa-icf.h (compare_attributes, param_used_p): Declare.
16764 2015-04-23 Jan Hubicka <hubicka@ucw.cz>
16766 * ipa-icf.c (symbol_compare_collection::symbol_compare_collection):
16768 (sem_function::get_hash): Do not hash DECL_DISREGARD_INLINE_LIMITS,
16769 DECL_DECLARED_INLINE_P and DECL_IS_OPERATOR_NEW.
16770 (sem_item::compare_referenced_symbol_properties): New.
16771 (sem_item::hash_referenced_symbol_properties): New.
16772 (sem_item::compare_cgraph_references): Rename to ...
16773 (sem_item::compare_symbol_references): ... this one; use
16774 compare_referenced_symbol_properties.
16775 (sem_function::equals_wpa): Do not compare
16776 DECL_DISREGARD_INLINE_LIMITS, DECL_DECLARED_INLINE_P,
16777 DECL_IS_OPERATOR_NEW; compare pointer sizes.
16778 (sem_item::update_hash_by_addr_refs): Call
16779 hash_referenced_symbol_properties.
16780 (sem_item::update_hash_by_local_refs): Cleanup.
16781 (sem_function::merge): Do not mix up symbol properties.
16782 (sem_variable::equals_wpa): Use compare_symbol_references.
16783 * ipa-icf.h (sem_item::compare_referenced_symbol_properties): New.
16784 (sem_item::hash_referenced_symbol_properties): New.
16785 (sem_item::compare_symbol_references): New.
16786 (sem_item::compare_cgraph_references): Remove.
16788 2015-04-23 Kwok Cheung Yeung <kcy@codesourcery.com>
16791 * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL):
16792 Emit size of local.
16794 2015-04-23 Nick Clifton <nickc@redhat.com>
16796 * config/rl78/rl78.c (rl78_preferred_reload_class): Add
16797 ATTRIBUTE_UNUSED to x parameter.
16798 * config/rl78/rl78-opts.h (enum rl78_mul_types): Remove unused MUL_RL78.
16800 2015-04-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
16802 * config/rs6000/crypto.md (crypto_vpmsum<CR_char>): Change
16803 TARGET_CRYPTO to TARGET_P8_VECTOR>
16804 (crypto_vpermxor_<mode>): Likewise.
16805 * config/rs6000/rs6000-builtin.def (BU_CRYPTO_2A): New #define.
16806 (BU_CRYPTO_3A): Likewise.
16807 (BU_CRYPTO_OVERLOAD_2A): Rename from BU_CRYPTO_OVERLOAD_2.
16808 (BU_CRYPTO_OVERLOAD_3A): New #define.
16809 (VPMSUMB): Change from BU_CRYPTO_2 to BU_CRYPTO_2A.
16810 (VPMSUMH): Likewise.
16811 (VPMSUMW): Likewise.
16812 (VPMSUMD): Likewise.
16813 (VPERMXOR_V2DI): Change from BU_CRYPTO_3 to BU_CRYPTO_3A.
16814 (VPERMXOR_V4SI): Likewise.
16815 (VPERMXOR_V8HI): Likewise.
16816 (VPERMXOR_V16QI): Likewise.
16817 (VPMSUM): Change from BU_CRYPTO_OVERLOAD_2 to
16818 BU_CRYPTO_OVERLOAD_2A.
16819 (VPERMXOR): Change from BU_CRYPTO_OVERLOAD3 to
16820 BU_CRYPTO_OVERLOAD_3A.
16821 * config/rs6000/rs6000.opt (mcrypto): Change description of
16824 2015-04-23 Richard Biener <rguenther@suse.de>
16826 * passes.def: Remove copy propagation passes run directly after CCP.
16827 * tree-ssa-ccp.c (get_value_for_expr): Fall back to a COPY for
16829 (ccp_visit_phi_node): Rework to handle first executable edge
16832 2015-04-23 Matthew Wahab <matthew.wahab@arm.com>
16834 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Remove.
16835 (ARM_LEGITIMIZE_RELOAD_ADDRESS): Remove.
16836 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Remove.
16837 * config/arm/arm.c (arm_legimitimize_reload_address): Remove.
16838 (thumb_legimitimize_reload_address): Remove.
16839 * config/arm/arm-protos.h (arm_legimitimize_reload_address):
16841 (thumb_legimitimize_reload_address): Remove.
16843 2015-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
16845 * conditions.h (CC_STATUS_INIT): Gate on #ifndef CC_STATUS_INIT.
16847 2015-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
16849 * config/arm/arm.md (load_multiple): Reject operand 2 greater than
16851 (store_multiple): Likewise.
16853 2015-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
16855 * config/arm/arm-protos.h (struct tune_params): Add issue_rate field.
16856 * config/arm/arm.c (arm_slowmul_tune, arm_fastmul_tune,
16857 arm_strongarm_tune, arm_xscale_tune, arm_9e_tune, arm_v6t2_tune,
16858 arm_cortex_tune, arm_cortex_a8_tune, arm_cortex_a7_tune,
16859 arm_cortex_a15_tune, arm_cortex_a53_tune, arm_cortex_a57_tune,
16860 arm_cortex_a9_tune, arm_cortex_a12_tune, arm_v7m_tune, arm_v6m_tune,
16861 arm_fa726te_tune arm_cortex_a5_tune, arm_xgene1_tune):
16862 Specify issue_rate value.
16863 (arm_issue_rate): Look up issue rate from tuning structs. Remove
16864 large switch statement.
16865 (arm_marvell_pj4_tune): New struct.
16866 * config/arm/arm-cores.def (marvell-pj4): Use arm_marvell_pj4_tune
16869 2015-04-23 Richard Biener <rguenther@suse.de>
16871 * tree-vect-slp.c (vect_find_first_load_in_slp_instance): Remove.
16872 (vect_find_last_store_in_slp_instance): Rename to ...
16873 (vect_find_last_scalar_stmt_in_slp): ... this and generalize.
16874 (vect_analyze_slp_cost_1): Use vector_load for constant defs
16875 and vec_construct for external defs when estimating prologue cost.
16876 (vect_analyze_slp_instance): Do not init SLP_INSTANCE_FIRST_LOAD_STMT.
16877 Compute costs here only when vectorizing loops.
16878 (vect_slp_analyze_bb_1): Compute SLP cost here, after vector types
16879 have been determined.
16880 (vect_schedule_slp_instance): Simplify vectorized code placement
16881 and prepare for in-BB external defs.
16882 * tree-vectorizer.h (struct _slp_instance): Remove first_load member.
16883 (SLP_INSTANCE_FIRST_LOAD_STMT): Remove.
16884 * tree-vect-stmts.c (vect_model_store_cost): Remove PURE_SLP_STMT
16886 (vect_model_load_cost): Likewise.
16887 (vectorizable_store): Instead add it here.
16888 (vectorizable_load): Likewise.
16889 (vect_is_simple_use): Dump def type textually.
16891 2015-04-23 Richard Biener <rguenther@suse.de>
16893 * cfgexpand.c (expand_gimple_stmt_1): Use ops.code.
16894 * cfgloop.c (verify_loop_structure): Verify the root loop node.
16895 * except.c (duplicate_eh_regions): Call get_eh_region_from_lp_number_fn
16896 instead of get_eh_region_from_lp_number.
16897 * loop-init.c (fix_loop_structure): If we removed a loop, reset
16900 2015-04-23 Anton Blanchard <anton@samba.org>
16902 * config/rs6000/rs6000.c (rs6000_output_function_prologue): No
16903 need for -mprofile-kernel to save LR to stack.
16905 2015-04-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
16907 * config/rs6000/rs6000.c (rtx_is_swappable_p): Commentary
16909 (insn_is_swappable_p): Return 1 for a convert from double to
16910 single precision when all of its uses are splats of BE element
16913 2015-04-23 Kugan Vivekanandarajah <kuganv@linaro.org>
16915 * ira-costs.c (record_operand_costs): Fix typo (remove redundant code).
16917 2015-04-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
16920 * config/rs6000/rs6000.c (rs6000_option_override_internal): For
16921 VSX + POWER8, enable TARGET_ALLOW_MOVMISALIGN and
16922 TARGET_EFFICIENT_UNALIGNED_VSX if not selected by command line
16924 (rs6000_builtin_mask_for_load): Return 0 for targets with
16925 efficient unaligned VSX accesses so that the vectorizer will use
16926 direct unaligned loads.
16927 (rs6000_builtin_support_vector_misalignment): Always return true
16928 for targets with efficient unaligned VSX accesses.
16929 (rs6000_builtin_vectorization_cost): Cost of unaligned loads and
16930 stores on targets with efficient unaligned VSX accesses is almost
16931 always the same as the cost of an aligned load or store, so model
16933 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Return 0 for
16934 unaligned vectors if we have efficient unaligned VSX accesses.
16935 * config/rs6000/rs6000.opt (mefficient-unaligned-vector): New
16936 undocumented option.
16938 2015-04-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
16941 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
16943 * config.gcc (LIBC_MUSL): New tm_defines macro.
16944 * config/linux.h (OPTION_MUSL): Define.
16945 (INCLUDE_DEFAULTS_MUSL_GPP, INCLUDE_DEFAULTS_MUSL_LOCAL,)
16946 (INCLUDE_DEFAULTS_MUSL_PREFIX, INCLUDE_DEFAULTS_MUSL_CROSS,)
16947 (INCLUDE_DEFAULTS_MUSL_TOOL, INCLUDE_DEFAULTS_MUSL_NATIVE): Define.
16949 * config/linux.opt (mmusl): New option.
16950 * configure.ac (gcc_cv_libc_provides_ssp): Add *-*-musl*.
16951 (gcc_cv_target_dl_iterate_phdr): Add *-linux-musl*.
16953 * configure: Regenerate.
16955 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
16957 * config.gcc (LIBC_MUSL): New tm_defines macro.
16958 * config/linux.h (OPTION_MUSL): Define.
16959 (INCLUDE_DEFAULTS_MUSL_GPP, INCLUDE_DEFAULTS_MUSL_LOCAL,)
16960 (INCLUDE_DEFAULTS_MUSL_PREFIX, INCLUDE_DEFAULTS_MUSL_CROSS,)
16961 (INCLUDE_DEFAULTS_MUSL_TOOL, INCLUDE_DEFAULTS_MUSL_NATIVE): Define.
16963 * config/linux.opt (mmusl): New option.
16964 * configure.ac (gcc_cv_libc_provides_ssp): Add *-*-musl*.
16965 (gcc_cv_target_dl_iterate_phdr): Add *-linux-musl*.
16967 * configure: Regenerate.
16969 2015-04-22 Yury Gribov <y.gribov@samsung.com>
16971 * doc/invoke.texi (-fsanitize-sections): Update description.
16972 * asan.c (set_sanitized_sections): Parse incoming arg.
16973 (section_sanitized_p): Support wildcards.
16975 2015-04-22 Tom de Vries <tom@codesourcery.com>
16977 PR tree-optimization/65823
16978 * gimplify.c (gimplify_modify_expr): Use operand_equal_p to test for
16979 equality between ap_copy and ap.
16981 2015-04-22 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
16984 * config/openbsd-oldgas.h (OBSD_LIB_SPEC): Add.
16986 2015-04-22 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
16989 * config.gcc (vax-*-openbsd*): Fix name of pthread spec header.
16991 2015-04-22 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
16994 * config.gcc (bfin*-linux-uclibc*): Prepend tmake_file and
16995 remove already contained t-files.
16997 2015-04-22 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
16999 * tree-tailcall.c (suitable_for_tail_opt_p, find_tail_calls):
17000 Remove unneeded forward declarations.
17001 (suitable_for_tail_call_opt_p): Commentary typo fix.
17003 2015-04-22 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
17005 * varasm.c (emit_bss): Remove redundant guard.
17007 2015-04-22 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
17009 * config/c6x/c6x.h (TARGET_CPU_CPP_BUILTINS): Add unk_isa.
17011 2015-04-22 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
17013 * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Add BFIN_CPU_UNKNOWN.
17015 2015-04-22 Hale Wang <hale.wang@arm.com>
17016 Terry Guo <terry.guo@arm.com>
17018 PR rtl-optimization/64818
17019 * combine.c (can_combine_p): Don't combine user-specified
17020 register if it is in an asm input.
17022 2015-04-21 Jan Hubicka <hubicka@ucw.cz>
17025 * passes.def (early_optimizations): Add pass_dse.
17027 2015-04-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
17029 * defaults.h (INSN_REFERENCES_ARE_DELAYED): New definition.
17030 * reorg.c (redundant_insn): Remove ifdef
17031 INSN_REFERENCES_ARE_DELAYED.
17032 * resource.c (mark_referenced_resources): Likewise.
17034 2015-04-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
17036 * defaults.h (INSN_SETS_ARE_DELAYED): New definition.
17037 * reorg.c (redundant_insn): Remove ifdef INSN_SETS_ARE_DELAYED.
17038 * resource.c (mark_set_resources): Likewise.
17040 2015-04-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
17042 * caller-save.c (insert_one_insn): Remove ifdef HAVE_cc0.
17043 * cfgcleanup.c (flow_find_cross_jump): Likewise.
17044 (flow_find_head_matching_sequence): Likewise.
17045 (try_head_merge_bb): Likewise.
17046 * combine.c (can_combine_p): Likewise.
17047 (try_combine): Likewise.
17048 (distribute_notes): Likewise.
17049 * df-problems.c (can_move_insns_across): Likewise.
17050 * final.c (final): Likewise.
17051 * gcse.c (insert_insn_end_basic_block): Likewise.
17052 * ira.c (find_moveable_pseudos): Likewise.
17053 * reorg.c (try_merge_delay_insns): Likewise.
17054 (fill_simple_delay_slots): Likewise.
17055 (fill_slots_from_thread): Likewise.
17056 * sched-deps.c (sched_analyze_2): Likewise.
17058 2015-04-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
17060 * df-scan.c (df_get_entry_block_def_set): Remove #ifdef
17061 PIC_OFFSET_TABLE_REGNUM.
17063 2015-04-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
17065 * alias.c (init_alias_target): Remove ifdef
17066 * HARD_FRAME_POINTER_IS_FRAME_POINTER.
17067 * df-scan.c (df_insn_refs_collect): Likewise.
17068 (df_get_regular_block_artificial_uses): Likewise.
17069 (df_get_eh_block_artificial_uses): Likewise.
17070 (df_get_entry_block_def_set): Likewise.
17071 (df_get_exit_block_use_set): Likewise.
17072 * emit-rtl.c (gen_rtx_REG): Likewise.
17073 * ira.c (ira_setup_eliminable_regset): Likewise.
17074 * reginfo.c (init_reg_sets_1): Likewise.
17075 * regrename.c (rename_chains): Likewise.
17076 * reload1.c (reload): Likewise.
17077 (eliminate_regs_in_insn): Likewise.
17078 * resource.c (mark_referenced_resources): Likewise.
17079 (init_resource_info): Likewise.
17081 2015-04-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
17083 * defaults.h (MASK_RETURN_ADDR): New definition.
17084 * except.c (expand_builtin_extract_return_addr): Remove ifdef
17087 2015-04-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
17089 * defaults.h (RETURN_ADDR_OFFSET): New definition.
17090 * except.c (expand_builtin_extract_return_addr): Remove ifdef
17091 RETURN_ADDR_OFFSET.
17092 (expand_builtin_frob_return_addr): Likewise.
17094 2015-04-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
17096 * cfgrtl.c (rtl_merge_blocks): Change #if HAVE_cc0 to if (HAVE_cc0)
17097 (try_redirect_by_replacing_jump): Likewise.
17098 (rtl_tidy_fallthru_edge): Likewise.
17099 * combine.c (insn_a_feeds_b): Likewise.
17100 (find_split_point): Likewise.
17101 (simplify_set): Likewise.
17102 * cprop.c (cprop_jump): Likewise.
17103 * cse.c (cse_extended_basic_block): Likewise.
17104 * df-problems.c (can_move_insns_across): Likewise.
17105 * function.c (emit_use_return_register_into_block): Likewise.
17106 * haifa-sched.c (sched_init): Likewise.
17107 * ira.c (find_moveable_pseudos): Likewise.
17108 * loop-invariant.c (find_invariant_insn): Likewise.
17109 * lra-constraints.c (curr_insn_transform): Likewise.
17110 * postreload.c (reload_combine_recognize_const_pattern):
17112 * reload.c (find_reloads): Likewise.
17113 * reorg.c (delete_scheduled_jump): Likewise.
17114 (steal_delay_list_from_target): Likewise.
17115 (steal_delay_list_from_fallthrough): Likewise.
17116 (redundant_insn): Likewise.
17117 (fill_simple_delay_slots): Likewise.
17118 (fill_slots_from_thread): Likewise.
17119 (delete_computation): Likewise.
17120 * sched-rgn.c (add_branch_dependences): Likewise.
17122 2015-04-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
17124 * genconfig.c (main): Always define HAVE_cc0.
17125 * caller-save.c (insert_one_insn): Change ifdef HAVE_cc0 to #if
17127 * cfgcleanup.c (flow_find_cross_jump): Likewise.
17128 (flow_find_head_matching_sequence): Likewise.
17129 (try_head_merge_bb): Likewise.
17130 * cfgrtl.c (rtl_merge_blocks): Likewise.
17131 (try_redirect_by_replacing_jump): Likewise.
17132 (rtl_tidy_fallthru_edge): Likewise.
17133 * combine.c (do_SUBST_MODE): Likewise.
17134 (insn_a_feeds_b): Likewise.
17135 (combine_instructions): Likewise.
17136 (can_combine_p): Likewise.
17137 (try_combine): Likewise.
17138 (find_split_point): Likewise.
17140 (simplify_set): Likewise.
17141 (distribute_notes): Likewise.
17142 * cprop.c (cprop_jump): Likewise.
17143 * cse.c (cse_extended_basic_block): Likewise.
17144 * df-problems.c (can_move_insns_across): Likewise.
17145 * final.c (final): Likewise.
17146 (final_scan_insn): Likewise.
17147 * function.c (emit_use_return_register_into_block): Likewise.
17148 * gcse.c (insert_insn_end_basic_block): Likewise.
17149 * haifa-sched.c (sched_init): Likewise.
17150 * ira.c (find_moveable_pseudos): Likewise.
17151 * loop-invariant.c (find_invariant_insn): Likewise.
17152 * lra-constraints.c (curr_insn_transform): Likewise.
17153 * optabs.c (prepare_cmp_insn): Likewise.
17154 * postreload.c (reload_combine_recognize_const_pattern):
17156 * reload.c (find_reloads): Likewise.
17157 (find_reloads_address_1): Likewise.
17158 * reorg.c (delete_scheduled_jump): Likewise.
17159 (steal_delay_list_from_target): Likewise.
17160 (steal_delay_list_from_fallthrough): Likewise.
17161 (try_merge_delay_insns): Likewise.
17162 (redundant_insn): Likewise.
17163 (fill_simple_delay_slots): Likewise.
17164 (fill_slots_from_thread): Likewise.
17165 (delete_computation): Likewise.
17166 (relax_delay_slots): Likewise.
17167 * sched-deps.c (sched_analyze_2): Likewise.
17168 * sched-rgn.c (add_branch_dependences): Likewise.
17170 2015-04-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
17172 * combine.c (find_single_use): Remove HAVE_cc0 ifdef for code
17173 that is trivially ded on non cc0 targets.
17174 (simplify_set): Likewise.
17175 (mark_used_regs_combine): Likewise.
17176 * cse.c (new_basic_block): Likewise.
17177 (fold_rtx): Likewise.
17178 (cse_insn): Likewise.
17179 (cse_extended_basic_block): Likewise.
17180 (set_live_p): Likewise.
17181 * rtlanal.c (canonicalize_condition): Likewise.
17182 * simplify-rtx.c (simplify_binary_operation_1): Likewise.
17184 2015-04-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
17186 * conditions.h: Define macros even if HAVE_cc0 is undefined.
17187 * emit-rtl.c: Define functions even if HAVE_cc0 is undefined.
17188 * final.c: Likewise.
17189 * jump.c: Likewise.
17190 * recog.c: Likewise.
17191 * recog.h: Declare functions even when HAVE_cc0 is undefined.
17192 * sched-deps.c (sched_analyze_2): Always compile case for cc0.
17194 2015-04-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
17196 * defaults.h: New definition of EH_RETURN_DATA_REGNO.
17197 * except.c: Remove definition of EH_RETURN_DATA_REGNO.
17198 * builtins.c (expand_builtin): Remove check if
17199 EH_RETURN_DATA_REGNO is defined.
17200 * df-scan.c (df_bb_refs_collect): Likewise.
17201 (df_get_exit_block_use_set): Likewise.
17202 * haifa-sched.c (initiate_bb_reg_pressure_info): Likewise.
17203 * ira-lives.c (process_bb_node_lives): Likewise.
17204 * lra-lives.c (process_bb_lives): Likewise.
17206 2015-04-21 Uros Bizjak <ubizjak@gmail.com>
17208 * config/i386/i386.md (ARGP_REG, FRAME_REG, BND2_REG, BND3_REG,
17209 FIRST_PSEUDO_REG): New.
17210 * config/i386/i386.h (STACK_POINTER_REGNUM): Define to SP_REG.
17211 (ARG_POINTER_REGNUM): Define to ARGP_REG.
17212 (FRAME_POINTER_REGNUM): Define to FRAME_REG.
17213 (HARD_FRAME_POINTER_REGNUM): Define to BP_REG.
17214 (FIRST_PSEUDO_REGISTER): Define to FIRST_PSEUDO_REG.
17215 (FIRST_INT_REG): New.
17216 (LAST_INT_REG): New.
17217 (FIRST_*_REG): Define using *_REG.
17218 (LAST_*_REG): Ditto.
17219 (QI_REGNO_P): Define using FIRST_QU_REG and LAST_QI_REG.
17220 (LEGACY_INT_REGNO_P): Define using FIRST_INT_REG and LAST_INT_REG.
17221 (FIRST_FLOAT_REG): Define to FIRST_STACK_REG.
17223 2015-04-21 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
17225 * expmed.c: (synth_mult): Only assume overlapping
17226 shift with previous steps in alg_sub_t_m2 case.
17228 2015-04-21 Richard Biener <rguenther@suse.de>
17230 PR tree-optimization/65650
17231 * tree-ssa-ccp.c (valid_lattice_transition): Allow lattice
17232 transitions involving copies.
17233 (set_lattice_value): Adjust for copy lattice state.
17234 (ccp_lattice_meet): Do not merge UNDEFINED and a copy to the copy
17235 if that doesn't dominate the merge point.
17236 (bit_value_unop): Adjust what we treat as varying mask.
17237 (bit_value_binop): Likewise.
17238 (bit_value_assume_aligned): Likewise.
17239 (evaluate_stmt): When we simplified to a SSA name record a copy
17240 instead of dropping to varying.
17241 (visit_assignment): Simplify.
17243 * gimple-match.h (gimple_simplify): Add another callback.
17244 * gimple-fold.c (fold_stmt_1): Adjust caller.
17245 (gimple_fold_stmt_to_constant_1): Likewise - pass valueize
17246 for the 2nd callback.
17247 * gimple-match-head.c (gimple_simplify): Add a callback that is
17248 used to valueize the stmt operands and use it that way.
17250 2015-04-21 Richard Biener <rguenther@suse.de>
17252 PR tree-optimization/65788
17253 * tree-ssa-ccp.c (evaluate_stmt): Evaluate to UNDEFINED early.
17255 2015-04-21 Richard Biener <rguenther@suse.de>
17257 * config/i386/i386.c (ix86_builtin_vectorization_cost): Scale
17258 vec_construct cost by vec_stmt_cost.
17260 2015-04-21 Richard Biener <rguenther@suse.de>
17262 * cfghooks.h (create_basic_block): Replace with two overloads
17263 for RTL and GIMPLE.
17264 (split_block): Likewise.
17265 * cfghooks.c (split_block): Rename to ...
17266 (split_block_1): ... this.
17267 (split_block): Add two type-safe overloads for RTL and GIMPLE.
17268 (split_block_after_labels): Call split_block_1.
17269 (create_basic_block): Rename to ...
17270 (create_basic_block_1): ... this.
17271 (create_basic_block): Add two type-safe overloads for RTL and GIMPLE.
17272 (create_empty_bb): Call create_basic_block_1.
17273 * cfgrtl.c (fixup_fallthru_exit_predecessor): Use
17274 split_block_after_labels.
17275 * omp-low.c (expand_parallel_call): Likewise.
17276 (expand_omp_target): Likewise.
17277 (simd_clone_adjust): Likewise.
17278 * tree-chkp.c (chkp_get_entry_block): Likewise.
17279 * cgraphunit.c (init_lowered_empty_function): Use the GIMPLE
17280 create_basic_block overload.
17281 (cgraph_node::expand_thunk): Likewise.
17282 * tree-cfg.c (make_blocks): Likewise.
17283 (handle_abnormal_edges): Likewise.
17284 * tree-inline.c (copy_bb): Likewise.
17286 2015-04-21 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
17288 * config/aarch64/aarch64.md (*<NLOGICAL:optab>_one_cmplsidi3_ze):
17290 (*xor_one_cmplsidi3_ze): Likewise.
17292 2015-04-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
17294 * df-core.c (df_finish_pass): Iterate over df->problems_by_index[] and
17295 use df_remove_problem rather than manually removing problems, leaving
17296 holes in df->problems_in_order[].
17298 2015-04-21 Tom de Vries <tom@codesourcery.com>
17300 PR tree-optimization/65802
17301 * internal-fn.def (VA_ARG): Add ECF_NOTROW to flags.
17303 2015-04-21 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
17305 * common/config/aarch64/aarch64-common.c (AARCH64_CPU_NAME_LENGTH):
17307 (aarch64_rewrite_selected_cpu): Do not chop off extensions starting
17308 at '.'. Assert that there's enough space for everything.
17310 2015-04-21 Uros Bizjak <ubizjak@gmail.com>
17312 PR tree-optimization/64950
17314 2010-08-02 Uros Bizjak <ubizjak@gmail.com>
17317 * config/alpha/alpha.c (alpha_build_builtin_va_list): Mark __offset
17320 2015-04-20 Shiva Chen <shiva0217@gmail.com>
17322 PR rtl-optimization/64916
17323 * cfgcleanup.c (values_equal_p): New function.
17324 (can_replace_by): Use it.
17326 2015-04-20 Paolo Carlini <paolo.carlini@oracle.com>
17329 * doc/invoke.texi ([-Wnarrowing]): Update.
17331 2015-04-20 Jeff Law <law@redhat.com>
17333 PR tree-optimization/65658
17334 * tree-ssa-threadupdate.c (redirection_block_p): Remove
17335 redundant test for GIMPLE_ASSIGN in last change.
17337 2015-04-20 Uros Bizjak <ubizjak@gmail.com>
17339 * config/i386/i386.c (set_pic_reg_ever_live): Remove.
17340 (legitimize_pic_address): Do not call set_pic_reg_ever_live.
17341 (legitimize_tls_address): Ditto.
17342 (ix86_expand_move): Ditto.
17343 (ix86_expand_binary_operator): Remove reload_in_progress checks.
17344 (ix86_expand_unary_operator): Ditto.
17345 * config/i386/predicates.md (index_register_operand): Ditto.
17347 2015-04-20 Selim Belbachir <selim.belbachir@fr.thalesgroup.com>
17349 * reorg.c (try_merge_delay_insns): Improve correctness checking
17350 for targets with multiple delay slots.
17352 2015-04-20 Jeff Law <law@redhat.com>
17354 PR tree-optimization/65658
17355 * tree-ssa-threadupdate.c (redirection_block_p): Ignore clobber
17358 2015-04-20 Alan Lawrence <alan.lawrence@arm.com>
17360 * config/aarch64/aarch64.c (aarch64_simd_emit_pair_result_insn): Delete.
17361 * config/aarch64/aarch64-protos.h (aarch64_simd_emit_pair_result_insn):
17364 2015-04-20 Jakub Jelinek <jakub@redhat.com>
17367 * dwarf2out.c (add_AT_wide): Clear attr.dw_attr_val.val_entry.
17369 2015-04-20 Richard Biener <rguenther@suse.de>
17371 * gimple-fold.h (gimple_build): Remove optional valueize arguments.
17372 * gimple-fold.c (gimple_build_valueize): New function.
17373 (gimple_build): Always use gimple_build_valueize as valueize hook.
17375 2015-04-20 Alan Lawrence <alan.lawrence@arm.com>
17378 * config/aarch64/aarch64.c (aarch64_expand_vector_init): Load constant
17379 and overwrite variable parts if <= 1/2 the elements are variable.
17381 2015-04-19 Vladimir Makarov <vmakarov@redhat.com>
17383 PR rtl-optimization/65805
17384 * lra-eliminations.c (lra_eliminate_regs_1): Add new assert.
17385 Don't use difference of offset and previous offset if
17386 update_sp_offset is non-zero.
17387 (eliminate_regs_in_insn): Ditto.
17388 * lra-spills.c (remove_pseudos): Exchange 4th and 6th args in
17389 lra_eliminate_regs_1 call.
17390 * lra-constraints.c (get_equiv_with_elimination): Ditto.
17392 2015-04-18 Trevor Saunders <tsaunders@mozilla.com>
17394 * hash-table.h: Remove version of hash_table that stored value_type *.
17395 * asan.c, attribs.c, bitmap.c, cfg.c, cgraph.h, config/arm/arm.c,
17396 config/i386/winnt.c, config/ia64/ia64.c, config/mips/mips.c,
17397 config/sol2.c, coverage.c, cselib.c, dse.c, dwarf2cfi.c,
17398 dwarf2out.c, except.c, gcse.c, genmatch.c, ggc-common.c,
17399 gimple-ssa-strength-reduction.c, gimplify.c, haifa-sched.c,
17400 hard-reg-set.h, hash-map.h, hash-set.h, ipa-devirt.c, ipa-icf.h,
17401 ipa-profile.c, ira-color.c, ira-costs.c, loop-invariant.c,
17402 loop-iv.c, loop-unroll.c, lto-streamer.h, plugin.c, postreload-gcse.c,
17403 reginfo.c, statistics.c, store-motion.c, trans-mem.c, tree-cfg.c,
17404 tree-eh.c, tree-hasher.h, tree-into-ssa.c, tree-parloops.c,
17405 tree-sra.c, tree-ssa-coalesce.c, tree-ssa-dom.c, tree-ssa-live.c,
17406 tree-ssa-loop-im.c, tree-ssa-loop-ivopts.c, tree-ssa-phiopt.c,
17407 tree-ssa-pre.c, tree-ssa-reassoc.c, tree-ssa-sccvn.c,
17408 tree-ssa-structalias.c, tree-ssa-tail-merge.c,
17409 tree-ssa-threadupdate.c, tree-vectorizer.c, tree-vectorizer.h,
17410 valtrack.h, var-tracking.c, vtable-verify.c, vtable-verify.h: Adjust.
17412 2015-04-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
17413 Jakub Jelinek <jakub@redhat.com>
17416 * config/rs6000/rs6000.c (rtx_is_swappable_p): Ensure that a
17417 subsequent SH_NONE operand does not overwrite an existing *special
17419 (adjust_extract): Handle case where a vec_extract operation is
17420 wrapped in a PARALLEL.
17422 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
17425 * config/i386/i386.c (ix86_binds_local_p): Define only if
17426 TARGET_MACHO and TARGET_DLLIMPORT_DECL_ATTRIBUTES are false.
17428 2015-04-17 Jeff Law <law@redhat.com>
17430 PR tree-optimization/47679
17431 * Makefile.in (OBJS); Add tree-ssa-scopedtables.o.
17432 * tree-ssa-scopedtables.c: New file.
17433 * tree-ssa-scopedtables.h: New file.
17434 * tree-ssa-dom.c: Include tree-ssa-scopedtables.h.
17435 (const_and_copies): Change name/type.
17436 (record_const_or_copy): Move into tree-ssa-scopedtables.c
17437 (record_const_or_copy_1): Similarly.
17438 (restore_vars_to_original_value): Similarly.
17439 (pass_dominator::execute): Create and destroy const_and_copies table.
17440 (thread_across_edge): Update passing of const_and_copies.
17441 (record_temporary_equivalence): Use method calls rather than
17442 manipulating const_and_copies directly.
17443 (record_equality, cprop_into_successor_phis): Similarly.
17444 (dom_opt_dom_walker::before_dom_children): Similarly.
17445 (dom_opt_dom_walker::after_dom_children): Similarly.
17446 (eliminate_redundant_computations): Similarly.
17447 * tree-ssa-threadedge.c (remove_temporary_equivalences): Delete.
17448 (record_temporary_equivalence): Likewise.
17449 (invalidate_equivalences): Likewise.
17450 (record_temporary_equivalences_from_phis): Update due to type
17451 change of const_and_copies. Use method calls rather than
17452 manipulating the stack directly.
17453 (record_temporary_equivalences_from_stmts_at_dest): Likewise.
17454 (thread_through_normal_block, thread_across_edge): Likewise.
17455 (thread_across_edge): Likewise.
17456 * tree-ssa-threadedge.h (thread_across_edge): Update prototype.
17457 * tree-vrp.c: Include tree-ssa-scopedtables.h. Change type
17459 (identify_jump_threads): Update due to type change of equiv_stack.
17460 (finalize_jump_threads): Delete the equiv_stack when complete.
17462 2015-04-17 Uros Bizjak <ubizjak@gmail.com>
17464 * config/i386/i386.h (LEGITIMIZE_RELOAD_ADDRESS): Remove.
17465 * config/i386/i386.c (ix86_legitimize_reload_address): Ditto.
17466 * config/i386/i386-protos.h (ix86_legitimize_reload_address): Ditto.
17468 2015-04-17 Andreas Tobler <andreast@gcc.gnu.org>
17471 * config.gcc: Exit with a comment when we do not have a major version
17472 number for the FreeBSD target.
17474 2015-04-17 Jakub Jelinek <jakub@redhat.com>
17477 * genpreds.c (struct constraint_data): Add maybe_allows_reg and
17478 maybe_allows_mem bitfields.
17479 (maybe_allows_none_start, maybe_allows_none_end,
17480 maybe_allows_reg_start, maybe_allows_reg_end, maybe_allows_mem_start,
17481 maybe_allows_mem_end): New variables.
17482 (compute_maybe_allows): New function.
17483 (add_constraint): Use it to initialize maybe_allows_reg and
17484 maybe_allows_mem fields.
17485 (choose_enum_order): Sort the non-is_register/is_const_int/is_memory/
17486 is_address constraints such that those that allow neither mem nor
17487 reg come first, then those that only allow reg but not mem, then
17488 those that only allow mem but not reg, then the rest.
17489 (write_allows_reg_mem_function): New function.
17490 (write_tm_preds_h): Call it.
17491 * stmt.c (parse_output_constraint, parse_input_constraint): Use
17492 the generated insn_extra_constraint_allows_reg_mem function
17493 instead of always setting *allows_reg = true; *allows_mem = true;
17494 for unknown extra constraints.
17496 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
17499 * output.h (default_binds_local_p_3): New.
17500 * varasm.c (default_binds_local_p_3): Make it public. Take an
17501 argument to indicate if common symbol may be local. If common
17502 symbol may be local, treat non-external variable as defined
17504 (default_binds_local_p_2): Pass !flag_pic to default_binds_local_p_3.
17505 (default_binds_local_p_1): Pass false to default_binds_local_p_3.
17506 * config/i386/i386.c (ix86_binds_local_p): New.
17507 (TARGET_BINDS_LOCAL_P): Replace default_binds_local_p_2 with
17508 ix86_binds_local_p.
17510 2015-04-17 Jakub Jelinek <jakub@redhat.com>
17513 * dwarf2out.c (mem_loc_descriptor): For CONST, fallback to
17514 trying mem_loc_descriptor on XEXP (rtl, 0).
17516 2015-04-17 Martin Liska <mliska@suse.cz>
17518 * ipa-icf.c (sem_item_optimizer::subdivide_classes_by_sensitive_refs):
17519 Release symbol_compare_collection.
17520 * ipa-reference.c: Add TODO that a vector should be released.
17522 2015-04-17 Sivanupandi Pitchumani <Pitchumani.Sivanupandi@atmel.com>
17525 * config/avr/gen-avr-mmcu-specs.c (*avrlibc_startfile): Adjust
17526 to new AVR-LibC file layout (bug #44574).
17527 (*avrlibc_devicelib): Same.
17528 * config/avr/avr-mcus.def: Adjust comments.
17529 * config/avr/avr.opt (nodevicelib): Adjust help.
17531 2015-04-17 Alan Lawrence <alan.lawrence@arm.com>
17533 * config/aarch64/arm_neon.h (vdup_n_f32): Remove forward declaration.
17535 2015-04-17 Patrick Palka <ppalka@gcc.gnu.org>
17538 * gimplify.c (gimplify_init_constructor): Always emit a
17539 side-effecting constructor.
17541 2015-04-17 Tom de Vries <tom@codesourcery.com>
17543 PR tree-optimization/64950
17544 * gimplify.c (gimplify_function_tree): Tentatively set PROP_gimple_lva
17545 in cfun->curr_properties.
17546 (gimplify_va_arg_expr): Clear PROP_gimple_lva in cfun->curr_properties
17547 if we generate an IFN_VA_ARG.
17548 * tree-inline.c (expand_call_inline): Reset PROP_gimple_lva in dest
17549 function if PROP_gimple_lva is not set in src function.
17551 2015-04-17 Tom de Vries <tom@codesourcery.com>
17552 Michael Matz <matz@suse.de>
17554 PR tree-optimization/64950
17555 * gimple-iterator.c (update_modified_stmts): Remove static.
17556 * gimple-iterator.h (update_modified_stmts): Declare.
17557 * gimplify.c (gimplify_modify_expr): Handle IFN_VA_ARG.
17558 (gimplify_va_arg_internal): New function.
17559 (gimplify_va_arg_expr): Use IFN_VA_ARG.
17560 * gimplify.h (gimplify_va_arg_internal): Declare.
17561 * internal-fn.c (expand_VA_ARG): New unreachable function.
17562 * internal-fn.def (VA_ARG): New DEF_INTERNAL_FN.
17563 * tree-stdarg.c (gimple_call_ifn_va_arg_p, expand_ifn_va_arg_1)
17564 (expand_ifn_va_arg): New function.
17565 (pass_data_stdarg): Add PROP_gimple_lva to properties_provided field.
17566 (pass_stdarg::execute): Call expand_ifn_va_arg.
17567 (pass_data_lower_vaarg): New pass_data.
17568 (pass_lower_vaarg): New gimple_opt_pass.
17569 (pass_lower_vaarg::gate, pass_lower_vaarg::execute)
17570 (make_pass_lower_vaarg): New function.
17571 * cfgexpand.c (pass_data_expand): Add PROP_gimple_lva to
17572 properties_required field.
17573 * passes.def (all_passes): Add pass_lower_vaarg.
17574 * tree-pass.h (PROP_gimple_lva): Add define.
17575 (make_pass_lower_vaarg): Declare.
17577 2015-04-17 Tom de Vries <tom@codesourcery.com>
17579 * fold-const.c (operand_equal_p): Handle INTERNAL_FNs.
17580 * calls.c (call_expr_flags): Same.
17582 2015-04-17 Tom de Vries <tom@codesourcery.com>
17584 * tree-stdarg.c (optimize_va_list_gpr_fpr_size): Factor out of ...
17585 (pass_stdarg::execute): ... here.
17587 2015-04-17 Tom de Vries <tom@codesourcery.com>
17588 Michael Matz <matz@suse.de>
17590 * tree-cfg.c (make_blocks_1): Factor out of ...
17591 (make_blocks): ... here.
17592 (make_edges_bb): Factor out of ...
17593 (make_edges): ... here.
17594 (gimple_find_sub_bbs): New function.
17595 * tree-cfg.h (gimple_find_sub_bbs): Declare.
17597 2015-04-17 Tom de Vries <tom@codesourcery.com>
17599 * tree.c (free_lang_data): Disable lang_hooks.gimplify_expr.
17601 2015-04-17 Yury Gribov <y.gribov@samsung.com>
17603 * asan.c (set_sanitized_sections): New function.
17604 (section_sanitized_p): Ditto.
17605 (asan_protect_global): Optionally sanitize user-defined
17607 * asan.h (set_sanitized_sections): Declare new function.
17608 * common.opt (fsanitize-sections): New option.
17609 * doc/invoke.texi (-fsanitize-sections): Document new option.
17610 * opts-global.c (handle_common_deferred_options): Handle new
17613 2015-04-17 Jakub Jelinek <jakub@redhat.com>
17616 * dwarf2out.c (loc_list_from_tree): Return NULL
17617 for DEBUG_EXPR_DECL.
17619 2015-04-17 Christian Bruel <christian.bruel@st.com>
17621 * ipa-inline.c (can_inline_edge_p): Allow inlining of functions with
17624 2015-04-16 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
17626 * ira-color.c (setup_left_conflict_sizes_p): Do not process
17627 node itself when computing left conflict subnode size.
17629 2015-04-16 Uros Bizjak <ubizjak@gmail.com>
17631 * config/i386/predicates.md (register_mixssei387nonimm_operand): New.
17632 * config/i386/i386.md (*fop_<mode>_1_mixed): Merge with
17633 *fop_<mode>_1_sse using enabled attribute. Use
17634 register_mixssei387nonimm_operand operand 1 predicate. Change
17635 alternative 3 constraints from "x" to "v".
17637 2015-04-16 Richard Biener <rguenther@suse.de>
17639 PR tree-optimization/65774
17640 * tree-ssa-ccp.c (evaluate_stmt): Constrain types we invoke
17641 bit-value tracking on.
17643 2015-04-16 Richard Biener <rguenther@suse.de>
17645 PR tree-optimization/64277
17646 * tree-vrp.c (check_array_ref): Fix anti-range handling,
17647 simplify upper bound handling.
17648 (search_for_addr_array): Simplify.
17649 (check_array_bounds): Handle ADDR_EXPRs here.
17650 (check_all_array_refs): Simplify.
17652 2015-04-16 Uros Bizjak <ubizjak@gmail.com>
17654 * config/i386/i386.c (print_reg): Rewrite function.
17656 2015-04-16 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17658 * config/s390/s390.h (IRA_HARD_REGNO_ADD_COST_MULTIPLIER):
17659 Invert the condition.
17661 2015-04-16 Renlin Li <renlin.li@arm.com>
17663 * simplify-rtx.c (simplify_unary_operation_1): Fix a typo. Enable two
17664 simplifications for UNSIGNED_FLOAT.
17666 2015-04-16 Nick Clifton <nickc@redhat.com>
17668 * config/rl78/rl78-opts.h (enum rl78_mul_types): Add MUL_G14 and
17670 (enum rl78_cpu_type): New.
17671 * config/rl78/rl78-virt.md (attr valloc): Add divhi and divsi.
17672 (umulhi3_shift_virt): Remove m constraint from operand 1.
17673 (umulqihi3_virt): Likewise.
17674 * config/rl78/rl78.c (rl78_option_override): Add code to process
17675 -mcpu and -mmul options.
17676 (rl78_alloc_physical_registers): Add code to handle divhi and
17677 divsi valloc attributes.
17678 (set_origin): Likewise.
17679 * config/rl78/rl78.h (RL78_MUL_G14): Define.
17680 (TARGET_G10, TARGET_G13, TARGET_G14): Define.
17681 (TARGET_CPU_CPP_BUILTINS): Define __RL78_MUL_xxx__ and
17683 (ASM_SPEC): Pass -mcpu on to assembler.
17684 * config/rl78/rl78.md (mulqi3): Add a clobber of AX.
17685 (mulqi3_rl78): Likewise.
17686 (mulhi3_g13): Likewise.
17687 (mulhi3): Generate the G13 or G14 versions of the insn directly.
17688 (mulsi3): Likewise.
17689 (mulhi3_g14): Add clobbers of AX and BC.
17690 (mulsi3_g14): Likewise.
17691 (mulsi3_g13): Likewise.
17692 (udivmodhi4, udivmodhi4_g14, udivmodsi4): New patterns.
17693 (udivmodsi4_g14, udivmodsi4_g13): New patterns.
17694 * config/rl78/rl78.opt (mmul): Initialise value to
17696 (mcpu): New option.
17697 (m13, m14, mrl78): New option aliases.
17698 * config/rl78/t-rl78 (MULTILIB_OPTIONS): Add mg13 and mg14.
17699 (MULTILIB_DIRNAMES): Add g13 and g14.
17700 * doc/invoke.texi: Document -mcpu and -mmul options.
17702 2015-04-16 Richard Biener <rguenther@suse.de>
17704 * tree-ssa-ccp.c (likely_value): See if we have operands that
17705 are marked as never simulate again and return CONSTANT in this
17707 * tree-ssa-propagate.c (simulate_stmt): Mark stmts that do
17708 not have any operands that will be simulated again as
17709 not being simulated again.
17711 2015-04-15 Uros Bizjak <ubizjak@gmail.com>
17713 * config/i386/i386.md (*cmpi<FPCMP:unord><MODEF:mode>_mixed):
17714 Merge with *cmpi<FPCMP:unord><MODEF:mode>_sse using enabled attribute.
17715 (*extendsfdf2_mixed): Merge with *extendsfdf2_sse using enabled
17717 (*truncdfsf_fast_mixed): Merge with *truncdfsf_fast_sse using
17719 (*float<SWI48:mode><MODEF:mode>2_mixed): Rename from
17720 *float<SWI48:mode><MODEF:mode>2_sse.
17721 (*absneg<mode>2_mixed): Merge with *absneg<mode>2_sse using
17723 (*fop_<mode>_comm_mixed): Merge with *fop_<mode>_comm_sse using
17726 2015-04-15 Tom de Vries <tom@codesourcery.com>
17729 * function.c (push_dummy_function): New function.
17730 (init_dummy_function_start): Use push_dummy_function.
17731 (pop_dummy_function): New function. Factored out of ...
17732 (expand_dummy_function_end): ... here.
17733 * function.h (push_dummy_function, pop_dummy_function): Declare.
17734 * passes.c (pass_manager::dump_passes): Use push_dummy_function and
17735 pop_dummy_function.
17736 * tree-chkp.c (chkp_gate): Handle cgraph_node::get (cfun->decl) == NULL.
17738 2015-04-15 Jeff Law <law@redhat.com>
17740 PR tree-optimization/47679
17741 * tree-ssa-dom.c (build_and_record_new_cond): Moved to avoid
17742 need for forward declaration in upcoming changes.
17743 (record_conditions, record_edge_info): Likewise.
17745 PR rtl-optimization/42522
17746 * cse.c (fold_rtx): Try to simplify a ZERO_EXTRACT or
17747 SIGN_EXTRACT as a whole object rather than simplifying
17750 2015-04-15 Jakub Jelinek <jakub@redhat.com>
17753 * ipa-icf-gimple.c (func_checker::compare_bb): For GIMPLE_NOP
17754 and GIMPLE_PREDICT use break instead of return true. For
17755 GIMPLE_EH_DISPATCH, compare dispatch region.
17757 2015-04-14 Matthew Wahab <matthew.wahab@arm.com>
17759 * doc/extend.texi (__sync Builtins): Simplify some text. Update
17760 details about the implementation. Make clear preference for
17761 __atomic builtins. Reduce possibility of future change.
17763 2015-04-15 Nick Clifton <nickc@redhat.com>
17765 * config/rx/rx.opt (mallow-string-insns): New option.
17766 * config/rx/rx.c (RX_BUILTIN_RMPA): Disable the use of this
17767 builtin if string instructions are denied.
17768 * config/rx/rx.h (TARGET_CPU_CPP_BUILTINS): Define
17769 __RX_ALLOW_STRING_INSNS__ or __RX_DISALLOW_STRING_INSNS__, as
17771 (ASM_SPEC): Pass -mno-allow-string-insns on to the assembler.
17772 * config/rx/rx.md (movstr): Enable pattern only if string
17773 instructions are allowed.
17774 (rx_movstr, rx_strend, movmemsi, rx_movmem): Likewise.
17775 (cmpstrnsi, cmpstrsi, rx_cmpstrn, rmpa): Likewise.
17776 * config/rx/t-rx (MULTILIB_OPTIONS): Add mno-allow-string-insns.
17777 (MULTILIB_DIRNAMES): Add no-strings.
17778 * doc/invoke.texi: Document -mno-allow-string-insns.
17780 2015-04-15 Alan Modra <amodra@gmail.com>
17784 PR middle-end/36043
17785 * calls.c (load_register_parameters): Don't load past end of
17786 mem unless suitably aligned.
17788 2015-04-15 Nick Clifton <nickc@redhat.com>
17790 * config/rl78/rl78.c (rl78_expand_prologue): Mark large stack
17791 decrement instruction as being frame related.
17792 (rl78_print_operand_1): Handle 'p' modifier to add +0 to HL
17794 If zero extending a function address enclose the operation in
17796 (rl78_preferred_reload_class): New function.
17797 (TARGET_PREFERRED_RELOAD_CLASS): Define.
17798 * config/rl78/rl78.md: Remove useless constraints in expanders.
17799 (mulqi3_rl78): Remove + qualifier on input-only operand 1.
17800 (mulhi3_rl78): Likewise.
17801 (mulhi3_g13): Likewise.
17802 (mulsi3_rl78): Likewise.
17803 (es_addr): Move to before the multiply patterns.
17805 2015-04-15 Alan Modra <amodra@gmail.com>
17807 * function.h (struct emit_status): Delete x_first_insn, x_last_insn
17808 and sequence_stack. Add seq.
17809 (seq_stack): Delete.
17810 * function.c (prepare_function_start): Don't access x_last_insn.
17811 * emit-rtl.h (get_current_sequence, get_topmost_sequence): New.
17812 (get_insns, set_first_insn, get_last_insn, set_last_insn): Use them.
17813 * emit_rtl.c (start_sequence, push_topmost_sequence,
17814 pop_topmost_sequence, end_sequence, in_sequence_p, init_emit): Use
17815 sequence accessors.
17816 (get_last_insn_anywhere, add_insn_after_nobb, add_insn_before_nobb,
17817 remove_insn): Likewise. Simplify.
17818 * config/m32c/m32c.c (m32c_leaf_function_p): Use push_topmost_sequence
17819 and pop_topmost_sequence.
17820 (m32c_function_needs_enter): Use get_topmost_sequence. Ignore
17822 * config/rs6000/rs6000.c (rs6000_call_aix): Use get_current_sequence.
17824 2015-04-14 Yvan Roux <yvan.roux@linaro.org>
17827 * lra-constraints.c (prohibited_class_reg_set_mode_p): Restore and fix
17830 2015-04-14 Uros Bizjak <ubizjak@gmail.com>
17832 * config/i386/i386.h (LEGACY_INT_REG_P): New define.
17833 (LEGACY_INT_REGNO_P): Ditto.
17834 (GENERAL_REGNO_P): Use LEGACY_INT_REGNO_P.
17835 (ANY_MASK_REG_P): Remove.
17836 (BND_REG_P): Rename from ANY_BND_REG_P.
17837 * config/i386/i386.c (print_reg): Use LEGACY_INT_REG_P to print
17838 legacy integer registers. Do not handle MMX_REG_P in a special way.
17839 Merge 64byte and 32byte SSE handling.
17841 2015-04-14 Nick Clifton <nickc@redhat.com>
17843 * expr.c (expand_assignment): Force an address offset computation
17844 into a register before changing its mode.
17845 (expand_expr_real_1): Likewise.
17847 2015-04-14 Alan Lawrence <alan.lawrence@arm.com>
17849 * config/aarch64/arm_neon.h (vst1_lane_f32, vst1_lane_f64,
17850 vst1_lane_p8, vst1_lane_p16, vst1_lane_s8, vst1_lane_s16,
17851 vst1_lane_s32, vst1_lane_s64, vst1_lane_u8, vst1_lane_u16,
17852 vst1_lane_u32, vst1_lane_u64, vst1q_lane_f32, vst1q_lane_f64,
17853 vst1q_lane_p8, vst1q_lane_p16, vst1q_lane_s8, vst1q_lane_s16,
17854 vst1q_lane_s32, vst1q_lane_s64, vst1q_lane_u8, vst1q_lane_u16,
17855 vst1q_lane_u32, vst1q_lane_u64): Reimplement with pointer dereference
17856 and __aarch64_vget_lane_any.
17858 2015-04-14 Jakub Jelinek <jakub@redhat.com>
17860 PR rtl-optimization/65761
17861 * cfgrtl.c (rtl_split_edge): For EDGE_CROSSING split, use
17862 get_last_bb_insn (after) instead of NEXT_INSN (BB_END (after)).
17864 2015-04-14 Richard Biener <rguenther@suse.de>
17866 * graphite-scop-detection.c: Do not include cp/cp-tree.h.
17867 (graphite_can_represent_scev): Use POINTER_TYPE_P.
17869 2015-04-14 Richard Biener <rguenther@suse.de>
17871 PR tree-optimization/65758
17872 * tree-ssa-ccp.c (get_value_from_alignment): Adjust mask test
17874 (ccp_lattice_meet): Likewise.
17875 (bit_value_unop): Likewise.
17876 (bit_value_binop): Likewise.
17877 (bit_value_assume_aligned): Likewise.
17879 2015-04-14 Christian Bruel <christian.bruel@st.com>
17881 * execute_dwarf2_frame (dw_frame_pointer_regnum): Reinitialize for each
17884 2015-04-14 Marc Glisse <marc.glisse@inria.fr>
17886 PR tree-optimization/63387
17887 * match.pd ((x unord x) | (y unord y) -> (x unord y),
17888 (x unord x) | (x unord y) -> (x unord y)): New simplifications.
17890 2015-04-14 Uros Bizjak <ubizjak@gmail.com>
17892 * config/i386/predicates.md (any_QIreg_operand): Rename from
17893 q_regs_operand. Do not process subregs.
17894 (QIreg_operand): Use QI_REGNO_P predicate.
17895 (ext_QIreg_operand): Ditto.
17896 (ext_register_operand): Ditto.
17897 * config/i386/i386.md (TEST splitters): Use QIreg_operand predicate.
17898 (AND splitters): Ditto.
17899 (AND with -65536 splitter): Add SWI48 mode for operand 0.
17900 (AND with -256 splitter): Use any_QIreg_operand predicate and
17901 SWI248 mode for operand 0.
17902 (AND with -65281 splitter): Use QIreg_operand predicate and SWI248
17903 mode for operand 0.
17904 (SETCC + MOVZBL peepholes): Update for renamed any_QIreg_operand.
17906 2015-04-13 Gerald Pfeifer <gerald@pfeifer.com>
17908 * doc/plugins.texi: Rewrite first introductory paragraph.
17910 2015-04-12 Jan Hubicka <hubicka@ucw.cz>
17912 * tree-vrp.c (nonnull_arg_p): THIS pointers and references are non-zero.
17913 (gimple_stmt_nonzero_warnv_p): Reference return values are non-zero.
17915 2015-04-12 Jan Hubicka <hubicka@ucw.cz>
17917 * ipa-profie.c (ipa_profile): Check number of parameters
17918 and possible polymorphic call targets before
17921 2015-04-13 Uros Bizjak <ubizjak@gmail.com>
17923 * config/i386/i386.md (*bmi2_umul<mode><dwi>3_1): Merge from
17924 *bmi2_umulsidi3_1 and *bmi2_umulditi3_1 using DWIH mode iterator.
17926 2015-04-13 Richard Biener <rguenther@suse.de>
17928 PR tree-optimization/65204
17929 * tree-ssa-ccp.c (evaluate_stmt): Always evaluate address
17930 takens for bit-CCP.
17932 2015-04-13 Richard Biener <rguenther@suse.de>
17935 * config/i386/i386.c (bdver1_cost): Double cond_taken_branch_cost
17936 and cond_not_taken_branch_cost to 4 and 2.
17937 (bdver2_cost): Likewise.
17938 (bdver3_cost): Likewise.
17939 (bdver4_cost): Likewise.
17941 2015-04-12 Jan Hubicka <hubicka@ucw.cz>
17943 * hash-table.h (hash_table constructor): Add mem stats.
17944 (alloc_entries): Likewise.
17946 2015-04-12 Jan Hubicka <hubicka@ucw.cz>
17948 * ipa-cp.c (ipcp_driver): Relase prev_edge.
17949 * passes.c (execute_one_pass): Only add transform if pass has one.
17951 2015-04-12 Joseph Myers <joseph@codesourcery.com>
17953 * config/i386/i386.c (ix86_option_override_internal): Don't set
17954 -fprefetch-loop-arrays if optimizing for size.
17956 2015-04-12 Jan Hubicka <hubicka@ucw.cz>
17957 Gerald Pfeifer <gerald@pfeifer.com>
17959 * doc/contrib.texi (Contributors): Add Martin Jambor and
17962 2015-04-12 Jakub Jelinek <jakub@redhat.com>
17964 * BASE-VER: Set to 6.0.0.
17966 PR tree-optimization/65747
17967 * ipa-icf-gimple.c (func_checker::compare_operand): Use compare_operand
17968 rather than compare_ssa_name for OBJ_TYPE_REF_OBJECT.
17970 2015-04-12 Gerald Pfeifer <gerald@pfeifer.com>
17972 * doc/invoke.texi (-Wmemset-transposed-args): Break a long
17973 sentence. Improve grammar.
17975 2015-04-12 Gerald Pfeifer <gerald@pfeifer.com>
17977 * doc/contrib.texi (Contributors): Add Maxim Kuvyrkov.
17979 2015-04-11 Jan Hubicka <hubicka@ucw.cz>
17982 * ipa-inline-transform.c (speculation_removed): Remove static var.
17983 (check_speculations): New function.
17984 (clone_inlined_nodes): Do not check spculations.
17985 (inline_call): Call check_speculations.
17986 * ipa-prop.c (ipa_make_edge_direct_to_target): Do not
17987 consider non-invariants.
17989 2015-04-11 Jan Hubicka <hubicka@ucw.cz>
17990 Martin Liska <mliska@suse.cz>
17993 * ipa-icf.c (sem_item::compare_cgraph_references): function and
17994 variable can not match.
17995 (sem_item::update_hash_by_addr_refs): Fix handling of virtual tables.
17996 (sem_variable::equals_wpa): Fix checking of DECL_FINAL_P patch.
17998 2015-04-11 Jakub Jelinek <jakub@redhat.com>
18000 PR tree-optimization/65735
18001 * tree-ssa-threadedge.c (fsm_find_control_statement_thread_paths):
18002 Remove visited_phis argument, add visited_bbs, avoid recursing into the
18003 same bb rather than just into the same phi node.
18004 (thread_through_normal_block): Adjust caller.
18006 2015-04-11 Gerald Pfeifer <gerald@pfeifer.com>
18008 * doc/contrib.texi (Contributors): Add Ira Rosen.
18010 2015-04-11 Benno Schulenberg <bensberg@justemail.net>
18012 * gcov.c (find_source): Fix miswording in error message.
18013 * config/i386/i386.c (ix86_handle_cconv_attribute): Likewise.
18014 (ix86_expand_sse_comi_round): Fix typo in error message.
18016 2015-04-11 Gerald Pfeifer <gerald@pfeifer.com>
18018 * doc/contrib.texi (Contributors): Add Laurynas Biveinis.
18020 2015-04-10 Gerald Pfeifer <gerald@pfeifer.com>
18022 * doc/contrib.texi (Contributors): Update Joe Buck's entry.
18024 2015-04-10 Vladimir Makarov <vmakarov@redhat.com>
18027 * lra-assigns.c (spill_for): Update smallest_bad_spills_num.
18028 Print bad_spills_num and insn_pseudos_num.
18030 2015-04-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
18033 * config/arm/arm.c (arm_canonicalize_comparison): Use ARM_SIGN_EXTEND
18034 when creating +1 values for SImode.
18036 2015-04-10 Vladimir Makarov <vmakarov@redhat.com>
18039 * lra-constraints.c (prohibited_class_reg_set_mode_p): Comment the
18042 2015-04-10 Jakub Jelinek <jakub@redhat.com>
18043 Iain Sandoe <iain@codesourcery.com>
18046 * configure: Regenerate.
18048 2015-04-09 Kirill Yukhin <kirill.yukhin@intel.com>
18051 * config/i386/sse.md: Generate vextract32x4 if AVX-512DQ is disabled.
18053 2015-04-09 Gerald Pfeifer <gerald@pfeifer.com>
18055 * doc/contrib.texi (Contributors): Add John Marino.
18057 2015-04-09 Jakub Jelinek <jakub@redhat.com>
18059 PR tree-optimization/65709
18060 * ubsan.c (instrument_mem_ref): Use TREE_TYPE (base) instead of
18061 TREE_TYPE (TREE_TYPE (t)).
18063 2015-04-09 Vladimir Makarov <vmakarov@redhat.com>
18066 * lra-int.h (lra_bad_spill_regno_start): New.
18067 * lra.c (lra_bad_spill_regno_start): New.
18068 (lra): Set up lra_bad_spill_regno_start. Set up
18069 lra_constraint_new_regno_start unconditionally.
18070 * lra-assigns.c (spill_for): Use lra_bad_spill_regno_start for
18073 2015-04-09 Marek Polacek <polacek@redhat.com>
18074 Jakub Jelinek <jakub@redhat.com>
18076 PR middle-end/65554
18077 * gimple-fold.c (gimple_fold_builtin_memory_op): Update comment.
18078 (fold_ctor_reference): Use STRIP_USELESS_TYPE_CONVERSION instead
18081 2015-04-09 Segher Boessenkool <segher@kernel.crashing.org>
18083 PR rtl-optimization/65693
18084 * combine.c (is_parallel_of_n_reg_sets): Move outside of
18087 2015-04-09 Georg-Johann Lay <avr@gjlay.de>
18090 * config/avr/driver-avr.c (avr_devicespecs_file): Don't specify a
18091 device specs file if "device-specs%s" didn't resolve to a path.
18093 2015-04-09 Kirill Yukhin <kirill.yukhin@intel.com>
18096 * config/i386/i386.c (fixup_modeless_constant): New.
18097 (ix86_expand_args_builtin): Fixup modeless constant operand.
18098 (ix86_expand_round_builtin): Ditto.
18099 (ix86_expand_special_args_builtin): Ditto.
18100 (ix86_expand_builtin): Ditto.
18102 2015-04-09 Jakub Jelinek <jakub@redhat.com>
18105 * config/i386/i386.md (*udivmod<mode>4_pow2): Allow
18106 any pow2 integer in between 2 and 0x80000000U inclusive.
18108 2015-04-08 Segher Boessenkool <segher@kernel.crashing.org>
18110 PR rtl-optimization/65693
18111 * combine.c (is_parallel_of_n_reg_sets): Change first argument
18112 from an rtx_insn * to an rtx.
18113 (try_combine): Adjust both callers. Use it once more.
18115 2015-04-08 Ilya Enkovich <ilya.enkovich@intel.com>
18117 * tree-chkp.c (chkp_find_const_bounds_var): Remove.
18118 (chkp_make_static_const_bounds): Search existing
18119 symbol by assembler name. Use make_decl_one_only.
18120 (chkp_get_zero_bounds_var): Remove node search which
18121 is now performed in chkp_make_static_const_bounds.
18122 (chkp_get_none_bounds_var): Likewise.
18124 2015-04-08 Michael Witten <mfwitten@gmail.com>
18126 * doc/extend.texi (Attribute Syntax): Add a trailing semicolon
18129 2015-04-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
18131 * tree.h (CONVERT_EXPR_P): Commentary typo fix.
18133 2015-04-08 Gerald Pfeifer <gerald@pfeifer.com>
18135 * doc/extend.texi (__sync Builtins): Fix grammar.
18137 2015-04-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
18139 * doc/cfg.texi (GIMPLE statement iterators): Fix typo.
18141 2015-04-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
18143 * varasm.c (emit_local): Move definition of align.
18145 2015-04-08 Julian Brown <julian@codesourcery.com>
18147 * config/nvptx/mkoffload.c (process): Support variable mapping.
18149 2015-03-27 Trevor Saunders <tbsaunde@tbsaunde.org>
18151 * config/alpha/alpha.c (alpha_use_linkage): Change type of slot to
18153 (alpha_write_one_linkage): Correct typo.
18155 2015-04-08 Ilya Enkovich <ilya.enkovich@intel.com>
18157 * ipa-comdats.c (propagate_comdat_group): Walk through thunks.
18159 2015-04-08 Gerald Pfeifer <gerald@pfeifer.com>
18161 * doc/install.texi (bootstrap-lto-noplugin): Rewrite.
18163 2015-04-08 Ilya Enkovich <ilya.enkovich@intel.com>
18165 * tree-chkp.h (chkp_insert_retbnd_call): New.
18166 * tree-chkp.c (chkp_insert_retbnd_call): New.
18167 * ipa-split.c (insert_bndret_call_after): Remove.
18168 (split_function): Use chkp_insert_retbnd_call.
18169 * cgraphunit.c (cgraph_node::expand_thunk): Build returned
18170 bounds for instrumented functions.
18172 2015-04-07 Jan Hubicka <hubicka@ucw.cz>
18175 * calls.c (initialize_argument_information): When producing tail
18176 call also turn SSA_NAMES passed by references to original PARM_DECLs
18178 2015-04-07 Vladimir Makarov <vmakarov@redhat.com>
18181 * lra-remat.c (do_remat): Process input and non-input insn
18182 registers separately.
18184 2015-04-07 Jakub Jelinek <jakub@redhat.com>
18187 * valtrack.c (debug_lowpart_subreg): New function.
18188 (dead_debug_insert_temp): Use it.
18190 PR middle-end/65680
18191 * expr.c (get_inner_reference): Handle bit_offset that doesn't fit
18192 into signed HOST_WIDE_INT the same as negative bit_offset.
18194 2015-04-07 Ilya Enkovich <ilya.enkovich@intel.com>
18196 * ipa-comdats.c (ipa_comdats): Visit all thunks
18197 to set proper comdat group.
18199 2015-04-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
18202 * config/arm/arm.c (arm_legitimate_constant_p_1): Remove restriction
18203 on constants for NEON VSTRUCT modes.
18205 2015-04-07 Jakub Jelinek <jakub@redhat.com>
18206 Iain Sandoe <iain@codesourcery.com>
18209 * configure: Regenerate.
18211 2015-04-06 Michael Meissner <meissner@linux.vnet.ibm.com>
18214 * config/rs6000/rs6000.c (struct processor_costs): Add cost field
18215 for SF->DF conversions to make FLOAT_EXTEND more expensive, so
18216 that LFD is used to load double constants instead of LFS. Add
18217 defaults for all costs structures. Add comments for missing
18218 initialization fields.
18219 (size32_cost): Likewise.
18220 (size64_cost): Likewise.
18221 (rs64a_cost): Likewise.
18222 (mpccore_cost): Likewise.
18223 (ppc403_cost): Likewise.
18224 (ppc405_cost): Likewise.
18225 (ppc440_cost): Likewise.
18226 (ppc476_cost): Likewise.
18227 (ppc601_cost): Likewise.
18228 (ppc603_cost): Likewise.
18229 (ppc604_cost): Likewise.
18230 (ppc604e_cost): Likewise.
18231 (ppc620_cost): Likewise.
18232 (ppc630_cost): Likewise.
18233 (ppccell_cost): Likewise.
18234 (ppc750_cost): Likewise.
18235 (ppc7450_cost): Likewise.
18236 (ppc8540_cost): Likewise.
18237 (ppce300c2c3_cost): Likewise.
18238 (ppce500mc_cost): Likewise.
18239 (ppce500mc64_cost): Likewise.
18240 (ppce5500_cost): Likewise.
18241 (ppce6500_cost): Likewise.
18242 (titan_cost): Likewise.
18243 (power4_cost): Likewise.
18244 (power6_cost): Likewise.
18245 (power7_cost): Likewise.
18246 (power8_cost): Likewise.
18247 (ppca2_cost): Likewise.
18248 (rs6000_rtx_costs): Make FLOAT_EXTEND use SFDF_convert field.
18250 * config/rs6000/rs6000.md (extendsfdf2_fpr): Generate XSCPSGNDP
18251 instead of XXLOR to copy SFmode to clear out dirty bits created
18252 when SFmode denormals are generated.
18253 (mov<mode>_hardfloat, FMOVE32 case): Likewise.
18254 (truncdfsf2_fpr): Add support for ISA 2.07 XSRSP instruction.
18256 2015-04-06 Evandro Menezes <e.menezes@samsung.com>
18258 * doc/invoke.texi (AARCH64/mtune): Add exynos-m1 as an option.
18259 * config/aarch64/aarch64-cores.def (exynos-m1): New core.
18260 * config/aarch64/aarch64-tune.md: Regenerate.
18262 2015-04-06 Evandro Menezes <e.menezes@samsung.com>
18264 * doc/invoke.texi (ARM/mtune): Add "exynos-m1" as an option.
18265 * config/arm/arm.c (arm_issue_rate): Specify "3" for "exynosm1".
18266 * config/arm/arm-cores.def (exynos-m1): New core.
18267 * config/arm/arm-tune.md: Regenerate.
18268 * config/arm/arm-tables.opt: Add entry for "exynos-m1".
18269 * config/arm/bpabi.h: Likewise.
18271 2015-04-06 Ilya Enkovich <ilya.enkovich@intel.com>
18273 * ipa-cp (set_single_call_flag): Remove too
18274 restrictive assert.
18276 2015-04-06 Ilya Verbin <ilya.verbin@intel.com>
18278 * config/i386/intelmic-mkoffload.c (generate_host_descr_file): Call
18279 GOMP_offload_unregister from the destructor.
18281 2015-04-06 Ilya Enkovich <ilya.enkovich@intel.com>
18283 * ipa-chkp.c (chkp_maybe_create_clone): Reset cdtor
18284 flags for instrumentation thunk.
18285 (chkp_produce_thunks): Likewise.
18287 2015-04-05 Martin Liska <mliska@suse.cz>
18290 * ipa-icf.c (sem_function::equals_wpa): Verify that IPA CP
18291 has computed data structure.
18292 (sem_item_optimizer::update_hash_by_addr_refs): Likewise.
18294 2015-04-04 Jan Hubicka <hubicka@ucw.cz>
18296 * invoke.texi (inline-unit-growth): Increase growth to 20%
18297 * params.def (PARAM_INLINE_UNIT_GROWTH): Likewise.
18299 2015-04-04 Vladimir Makarov <vmakarov@redhat.com>
18302 * lra-int.h (LRA_MAX_REMATERIALIZATION_PASSES): New. Add its
18304 (lra_rematerialization_iter): New.
18305 * lra.c (lra): Initialize lra_rematerialization_iter.
18306 Stop updating lra_constraint_new_regno_start after switching of
18307 inheritance and rematerialization.
18308 * lra-remat.c (lra_rematerialization_iter): New.
18309 (lra_remat): Add printing pass iteration. Do rematerialization
18310 only first LRA_MAX_REMATERIALIZATION_PASSES iterations.
18312 2015-04-04 Richard Biener <rguenther@suse.de>
18314 PR tree-optimization/64909
18315 PR tree-optimization/65660
18316 * tree-vectorizer.h (vect_get_known_peeling_cost): Adjust
18317 to take a cost vector for scalar iteration cost.
18318 (vect_get_single_scalar_iteration_cost): Likewise.
18319 * tree-vect-loop.c (vect_get_single_scalar_iteration_cost):
18320 Compute the scalar iteration cost into a cost vector.
18321 (vect_get_known_peeling_cost): Use the scalar cost vector to
18322 account for the cost of the peeled iterations.
18323 (vect_estimate_min_profitable_iters): Likewise.
18324 * tree-vect-data-refs.c (vect_peeling_hash_get_lowest_cost):
18327 2015-04-04 Alan Modra <amodra@gmail.com>
18331 * config/rs6000/predicates.md (zero_reg_mem_operand): Exclude
18332 0.0 constant unless TARGET_VSX.
18333 * config/rs6000/rs6000.md (extenddftf2_internal): Remove last
18336 2015-04-03 Jan Hubicka <hubicka@ucw.cz>
18339 * ipa-inline-transform.c (inline_call): Skip sanity check to work
18342 2015-04-03 Jan Hubicka <hubicka@ucw.cz>
18345 * ipa-inline-analysis.c (edge_set_predicate): Do not redirect
18346 speculative indirect edges to avoid ordering issue.
18348 2015-04-03 Jan Hubicka <hubicka@ucw.cz>
18351 * ipa-inline.c (edge_badness): Add combined size to the denominator.
18353 2015-04-03 Jakub Jelinek <jakub@redhat.com>
18355 * omp-low.c (scan_omp_parallel, scan_omp_task, scan_omp_target): Set
18356 TYPE_ARTIFICIAL on the .omp_data* types.
18358 2015-04-02 Ilya Enkovich <ilya.enkovich@intel.com>
18360 * cgraphunit.c (cgraph_node::expand_thunk): Don't expand
18361 instrumentation thunks.
18363 2015-04-02 Ilya Enkovich <ilya.enkovich@intel.com>
18365 * config/i386/i386.c (ix86_expand_call): Avoid nested
18366 PARALLEL in returned call value.
18368 2015-04-02 Ilya Enkovich <ilya.enkovich@intel.com>
18370 * lto-cgraph.c (input_cgraph_1): Always link instrumented
18371 assembler name with original one.
18373 2015-04-02 Uros Bizjak <ubizjak@gmail.com>
18375 * config/i386/i386.c (ix86_register_priority): Use AX_REG.
18377 2015-04-02 Uros Bizjak <ubizjak@gmail.com>
18379 Revert parts of r216820.
18380 * config/i386/i386.md (movqi_internal): Correct type calculation
18381 for alternatives 3 and 5.
18383 2015-04-02 Jakub Jelinek <jakub@redhat.com>
18385 PR preprocessor/61977
18386 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Don't
18387 predefine __vector/__bool/__pixel macros nor context sensitive
18388 macros for CLK_ASM.
18389 * config/spu/spu-c.c (spu_cpu_cpp_builtins): Similarly.
18391 2015-04-02 John David Anglin <danglin@gcc.gnu.org>
18393 * config/pa/pa.c (pa_output_move_double): Directly handle register
18394 indexed memory operand. Simplify handling of scaled register indexed
18397 2015-04-02 Ilya Enkovich <ilya.enkovich@intel.com>
18400 * config/i386/linux-common.h (MPX_SPEC): New.
18401 (CHKP_SPEC): Add MPX_SPEC.
18402 * doc/invoke.texi (-fcheck-pointer-boudns): Document
18403 possible issues with '-z bndplt' support in linker.
18405 2015-04-02 Uros Bizjak <ubizjak@gmail.com>
18407 * config/i386/sync.md (UNSPEC_FILD_ATOMIC, UNSPEC_FIST_ATOMIC): New.
18408 (loaddi_via_fpu): Use UNSPEC_FILD_ATOMIC.
18409 (storedi_via_fpu): Use UNSPEC_FIST_ATOMIC.
18410 * reg-stack.c (get_true_reg): Change UNSPEC_LDA to UNSPEC_FILD_ATOMIC.
18411 (subst_stack_regs_pat): Change UNSPEC_STA to UNSPEC_FIST_ATOMIC.
18413 2015-04-01 Uros Bizjak <ubizjak@gmail.com>
18415 * config/i386/sync.md (UNSPEC_MOVA): Remove.
18416 (atomic_load<mode>): Change operand 0 predicate to
18417 nonimmediate_operand and fix up the destination when needed.
18419 (atomic_loaddi_fpu): Use UNSPEC_LDA.
18420 (atomic_store<mode>): Change operand 1 predicate to
18421 nonimmendate_operand and move the source to register when needed.
18423 (atomic_store<mode>_1): Use UNSPEC_STA.
18424 (atomic_storedi_fpu): Change operand 1 to nonimmediate_operand.
18425 Fix moves from memory operand. Use UNSPEC_STA.
18427 2015-04-01 Bernd Edlinger <bernd.edlinger@hotmail.de>
18429 * expmed.c (strict_volatile_bitfield_p): Check that the access will
18430 not cross a MODESIZE boundary.
18431 (store_bit_field, extract_bit_field): Added assertions in the
18432 strict volatile bitfields code path.
18434 2015-04-01 Max Ostapenko <m.ostapenko@partner.samsung.com>
18437 * config/aarch64/aarch64-builtins.c (aarch64_simd_expand_builtin):
18438 Increase args array size by one to avoid buffer overflow.
18440 2015-03-31 Jan Hubicka <hubicka@ucw.cz>
18442 * lto-cgraph.c (lto_output_node, input_overwrite_node): Stream
18444 * ipa-inline.c (edge_badness): Add wrapper penalty.
18445 (sum_callers): Move up.
18446 (inline_small_functions): Set single_caller.
18447 * ipa-inline.h (inline_summary): Add single_caller.
18448 * ipa-split.c (split_function): Set split_part.
18449 (cgraph_node::create_clone): Do not shadow decl; copy split_part.
18450 * cgraph.h (cgraph_node): Add split_part.
18452 2015-03-31 Uros Bizjak <ubizjak@gmail.com>
18455 * config/i386/sync.md (atomic_compare_and_swap<dwi>_doubleword):
18456 Do not split operands 0 and operands 2 to halfmode.
18457 (atomic_compare_and_swap<mode>): Update for
18458 atomic_compare_and_swap<dwi>_doubleword changes.
18460 2015-03-31 Jan Hubicka <hubicka@ucw.cz>
18462 * tree.c (need_assembler_name_p): Artificial types have no ODR names.
18463 * ipa-devirt.c (warn_odr): Do not try to apply ODR cache when
18464 no caching is done.
18466 2015-03-31 Martin Liska <mliska@suse.cz>
18469 * ipa-icf.c (sem_function::equals_wpa): Check if IPA CP
18470 has already filled up function summary.
18471 (sem_item_optimizer::update_hash_by_addr_refs): Likewise.
18473 2015-03-31 Richard Biener <rguenther@suse.de>
18475 * tree-sra.c (create_access_replacement): Drop under-/over-alignment
18478 2015-03-31 Dominik Vogt <vogt@linux.vnet.ibm.com>
18480 * config/s390/s390.c (s390_function_num_hotpatch_hw): Allow hotpatching
18482 (s390_reorg): Adapt to new signature of s390_function_num_hotpatch_hw.
18483 (s390_asm_output_function_label): Adapt to new signature of
18484 s390_function_num_hotpatch_hw
18485 Optimise the code generating assembler output.
18486 Add comments to assembler file.
18488 2015-03-31 Richard Biener <rguenther@suse.de>
18490 PR middle-end/65626
18491 * tree-cfgcleanup.c (fixup_noreturn_call): Only split the block
18492 of the noreturn call so it is last and cleanup_control_flow_bb
18493 can do the CFG part.
18495 2015-03-31 Ilya Enkovich <ilya.enkovich@intel.com>
18498 * ipa-chkp.c (chkp_maybe_create_clone): Don't set
18499 same_comdat_group for external symbols.
18500 * symtab.c (symtab_node::verify_symtab_nodes): Avoid
18501 infinite same_comdat_group traversal loop.
18503 2015-03-31 Jakub Jelinek <jakub@redhat.com>
18506 * Makefile.in (install-plugin): Add all gcc/*.{h,def} files
18507 automatically to $headers.
18509 2015-03-30 Jakub Jelinek <jakub@redhat.com>
18512 * ipa-utils.h (inlined_polymorphic_ctor_dtor_block_p): Declare.
18513 * ipa-polymorphic-call.c (inlined_polymorphic_ctor_dtor_block_p): New
18515 (decl_maybe_in_construction_p, noncall_stmt_may_be_vtbl_ptr_store):
18517 * ipa-prop.c (param_type_may_change_p): Likewise.
18518 * tree-ssa-live.c: Include ipa-utils.h and its dependencies.
18519 (remove_unused_scope_block_p): Add in_ctor_dtor_block
18520 argument. Before inlining, preserve
18521 inlined_polymorphic_ctor_dtor_block_p blocks and the outermost block
18522 with FUNCTION_DECL BLOCK_ABSTRACT_ORIGIN inside of them. Adjust
18524 (remove_unused_locals): Adjust remove_unused_scope_block_p caller.
18526 2015-03-27 Jan Hubicka <hubicka@ucw.cz>
18529 * ipa-inline.c (edge_badness): Base denominator on callee's
18532 2015-03-27 Martin Jambor <mjambor@suse.cz>
18535 * params.def (PARAM_IPA_CP_RECURSION_PENALTY) : New.
18536 (PARAM_IPA_CP_SINGLE_CALL_PENALTY): Likewise.
18537 * ipa-prop.h (ipa_node_params): New flags node_within_scc and
18538 node_calling_single_call.
18539 * ipa-cp.c (count_callers): New function.
18540 (set_single_call_flag): Likewise.
18541 (initialize_node_lattices): Count callers and set single_flag_call if
18543 (incorporate_penalties): New function.
18544 (good_cloning_opportunity_p): Use it, dump new flags.
18545 (propagate_constants_topo): Set node_within_scc flag if appropriate.
18546 * doc/invoke.texi (ipa-cp-recursion-penalty,
18547 ipa-cp-single-call-pentalty): Document.
18549 2015-03-27 Jan Hubicka <hubicka@ucw.cz>
18552 * symtab.c (symtab_node::get_partitioning_class): Register vars
18554 * varpool.c (symbol_table::output_variables) Do not assemble unefined
18555 decls for non-symbols.
18557 2015-03-27 H.J. Lu <hongjiu.lu@intel.com>
18560 * output.h (default_binds_local_p_2): New.
18561 * varasm.c (default_binds_local_p_2): Renamed to ...
18562 (default_binds_local_p_3): This. Don't return true on protected
18563 data symbol if protected data may be external.
18564 (default_binds_local_p): Use default_binds_local_p_3.
18565 (default_binds_local_p_1): Likewise.
18566 (default_binds_local_p_2): New.
18567 * config/i386/i386.c (TARGET_BINDS_LOCAL_P): Set to
18568 default_binds_local_p_2 if TARGET_MACHO is undefined.
18570 2015-03-27 Jakub Jelinek <jakub@redhat.com>
18573 * config/i386/i386.c (legitimize_pic_address): If base
18574 is SYMBOL_REF or LABEL_REF using %rip addressing, force
18575 it to reg to avoid PLUS of SYMBOL_REF/LABEL_REF and register.
18577 2015-03-27 Jan Hubicka <hubicka@ucw.cz>
18580 * symtab.c (symtab_node::verify_symtab_nodes): Fix verification of
18583 2015-03-27 Jan Hubicka <hubicka@ucw.cz>
18586 * cgraph.c (cgraph_update_edges_for_call_stmt_node): Fix the case
18587 of optimized out indirect call.
18588 (redirect_to_unreachable): Always build symbol table node for
18589 BUILT_IN_UNREACHABLE
18591 2015-03-27 Vladimir Makarov <vmakarov@redhat.com>
18594 * ira-costs.c (record_reg_classes): Process all constraint string
18597 2015-03-27 Bernd Schmidt <bernds@codesourcery.com>
18599 * config/c6x/c6x.md (movmisalign<mode>): Use MEM_P, not
18603 * config/c6x/constraints.md (S3): New constraint.
18604 * config/c6x/c6x.md (real_jump): Use it.
18606 2015-03-26 Jan Hubicka <hubicka@ucw.cz>
18608 PR middle-end/65595
18609 * cgraph.c (cgraph_update_edges_for_call_stmt_node): Only
18610 do redirection if the call is not optimized out.
18612 2015-03-27 Ilya Enkovich <ilya.enkovich@intel.com>
18615 * c-family/c.opt (fcheck-pointer-bounds): List supported languages.
18616 (fchkp-check-incomplete-type): Add LTO.
18617 (fchkp-zero-input-bounds-for-main): Likewise.
18618 (fchkp-first-field-has-own-bounds): Likewise.
18619 (fchkp-narrow-bounds): Likewise.
18620 (fchkp-narrow-to-innermost-array): Likewise.
18621 (fchkp-use-static-bounds): Likewise.
18622 (fchkp-use-static-const-bounds): Likewise.
18623 (fchkp-treat-zero-dynamic-size-as-infinite): Likewise.
18625 2015-03-27 Marek Polacek <polacek@redhat.com>
18627 * gimple-iterator.h (gsi_prev_nondebug): Fix typo.
18629 2015-03-27 Marek Polacek <polacek@redhat.com>
18632 * ubsan.c (ubsan_create_edge): New function.
18633 (instrument_bool_enum_load): Call it.
18634 (instrument_nonnull_arg): Likewise.
18635 (instrument_nonnull_return): Likewise.
18636 (instrument_object_size): Likewise.
18638 2015-03-26 Jan Hubicka <hubicka@ucw.cz>
18640 * lto-streamer.h (class lto_location_cache): Turn loc_cache into
18643 2015-03-26 Jan Hubicka <hubicka@ucw.cz>
18646 * lto-streamer.h (class lto_location_cache): New.
18647 (struct data_in): Add location_cache.
18648 (lto_input_location): Update prototype.
18649 (stream_input_location_now): New.
18650 * streamer-hooks.h (struct streamer_hooks): Make input_location to take
18651 pointer to location.
18652 (stream_input_location): Update.
18653 * ipa-devirt.c: Include streamer-hooks.h and lto-streamer.h
18654 (warn_odr): Apply location cache before warning.
18655 (lto_input_location): Update prototype.
18656 * gimple-streamer-in.c (input_phi, input_gimple_stmt):
18657 Use stream_input_location_now.
18658 * lto-streamer-in.c (lto_location_cache::current_cache): New static
18660 (lto_location_cache::cmp_loc): New function.
18661 (lto_location_cache::apply_location_cache): New function.
18662 (lto_location_cache::accept_location_cache): New function.
18663 (lto_location_cache::revert_location_cache): New function.
18664 (lto_location_cache::input_location): New function.
18665 (lto_input_location): Do location caching.
18666 (stream_input_location_now): New function.
18667 (input_eh_region, input_struct_function_base): Use
18668 stream_input_location_now.
18669 (lto_data_in_create): use new.
18670 (lto_data_in_delete): Use delete.
18671 * tree-streamer-in.c (unpack_ts_block_value_fields,
18672 unpack_ts_omp_clause_value_fields, streamer_read_tree_bitfields,
18673 lto_input_ts_exp_tree_pointers): Update for cached location api.
18675 2015-03-26 Jan Hubicka <hubicka@ucw.cz>
18678 * passes.def: Add pass_nothrow.
18679 * ipa-pure-const.c: (pass_data_nothrow): New.
18680 (pass_nothrow): New.
18681 (pass_nothrow::execute): New.
18682 (make_pass_nothrow): New.
18683 * tree-pass.h (make_pass_nothrow): Declare.
18685 2015-03-26 Jan Hubicka <hubicka@ucw.cz>
18687 * ipa-inline-analysis.c (redirect_to_unreachable): Be prepared for
18688 edge to change by speculation resolution or redirection.
18689 (edge_set_predicate): Likewise.
18690 (inline_summary_t::duplicate): Likewise.
18691 (remap_edge_summaries): Likewise.
18693 2015-03-26 Jan Hubicka <hubicka@ucw.cz>
18695 * ipa-inline.c (check_maybe_up, check_maybe_down, check_match):
18697 (can_inline_edge_p): Relax option matching for always inline functions.
18699 2015-03-26 Uros Bizjak <ubizjak@gmail.com>
18702 * config/i386/sse.md (avx512dq_vextract<shuffletype>64x2_1_maskm):
18703 Check operand 4 and operand 0 for equality.
18704 (avx512f_vextract<shuffletype>32x4_1_maskm):
18705 Check operand 6 and operand 0 for equality.
18706 (vec_extract_lo_<mode>_maskm): Check operand 2 and operand 0
18708 (vec_extract_hi_<mode>_maskm): Ditto.
18710 2015-03-26 Jan Hubicka <hubicka@ucw.cz>
18712 * cgraph.c (cgraph_update_edges_for_call_stmt_node): Do not bring
18713 dead calls back to live.
18714 (cgraph_edge::verify_count_and_frequency): Move cgraph/cfg frequency
18716 (cgraph_node::verify_node): ... here; verify only callee edges,
18718 * cif-code.def (CILK_SPAWN): New code.
18720 2015-03-26 Jan Hubicka <hubicka@ucw.cz>
18722 * ipa-inline-analysis.c (redirect_to_unreachable): New function.
18723 (edge_set_predicate): Use it to mark unreachable edges.
18724 (inline_summary_t::duplicate): Remove unnecesary code.
18725 (remap_edge_summaries): Likewise.
18726 (dump_inline_summary): Report contains_cilk_spawn.
18727 (compute_inline_parameters): Compute contains_cilk_spawn.
18728 (inline_read_section, inline_write_summary): Stream
18729 contains_cilk_spawn.
18730 * ipa-inline.c (can_inline_edge_p): Do not touch
18731 DECL_STRUCT_FUNCTION that may not be available;
18732 use CIF_CILK_SPAWN for cilk; fix optimization attribute checks;
18733 remove check for callee_fun->can_throw_non_call_exceptions and
18734 replace it by optimization attribute check; check for flag_exceptions.
18735 * ipa-inline-transform.c (inline_call): Maintain
18736 DECL_FUNCTION_PERSONALITY
18737 * ipa-inline.h (inline_summary): Add contains_cilk_spawn.
18739 2015-03-26 Jakub Jelinek <jakub@redhat.com>
18741 PR tree-optimization/65551
18742 * tree-ssa-sccvn.c (fully_constant_vn_reference_p): Use
18743 TYPE_PRECISION only for INTEGRAL_TYPE_P types.
18745 2015-03-26 Richard Biener <rguenther@suse.de>
18747 PR middle-end/65555
18748 * tree-cfg.c (verify_gimple_call): Do not require a call to
18749 have no LHS if it wasn't recognized as control altering yet.
18751 2015-03-26 Jakub Jelinek <jakub@redhat.com>
18753 PR tree-optimization/64715
18754 * passes.def: Add another instance of pass_object_sizes before ccp1.
18755 * tree-object-size.c (pass_object_sizes::execute): In
18756 first_pass_instance, only handle __bos (, 1) and __bos (, 3)
18757 calls, and keep the call in the IL, as {MIN,MAX}_EXPR of the
18758 __bos result and the computed constant. Remove redundant
18759 checks, obsoleted by gimple_call_builtin_p test.
18761 * var-tracking.c (variable_tracking_main_1): Don't track
18762 variables for targetm.no_register_allocation targets.
18764 2015-03-26 Oleg Endo <olegendo@gcc.gnu.org>
18766 * config/sh/t-linux (DEFAULT_ENDIAN, MULTILIB_EXCEPTIONS): Remove.
18767 * config/sh/t-sh (MULTILIB_EXCEPTIONS): Handle default endian.
18769 2015-03-25 Michael Meissner <meissner@linux.vnet.ibm.com>
18772 * config/rs6000/rs6000.md (extenddftf2_fprs): On VSX systems use
18773 XXLXOR to create 0.0. On pre-VSX systems make sure the constant
18774 0.0 is correctly setup.
18775 (extenddftf2_internal): Likewise.
18777 2015-03-25 Sebastian Pop <s.pop@samsung.com>
18779 PR tree-optimization/65177
18780 * tree-ssa-threadupdate.c (verify_seme): Renamed verify_jump_thread.
18782 (duplicate_seme_region): Renamed duplicate_thread_path. Redirect all
18783 edges not adjacent on the path to the original code.
18785 2015-03-25 Uros Bizjak <ubizjak@gmail.com>
18788 * doc/install.texi (Building a native compiler): Document new
18789 bootstrap-lto-noplugin configuration. Mention that bootstrap-lto
18790 configuration assumes that the host supports the linker plugin.
18792 2015-03-25 Ilya Enkovich <ilya.enkovich@intel.com>
18795 * tree-chkp.c (chkp_add_bounds_to_call_stmt): Set static
18796 chain for generated call.
18798 2015-03-25 Richard Biener <rguenther@suse.de>
18800 * passes.c (pass_manager::execute_early_local_passes): Guard
18801 execution of pass_chkp_instrumentation_passes with
18802 flag_check_pointer_bounds.
18803 (pass_chkp_instrumentation_passes::gate): Likewise.
18805 2015-03-25 Martin Liska <mliska@suse.cz>
18807 PR tree-optimization/65538
18808 * symbol-summary.h (function_summary::~function_summary):
18809 Relese memory for allocated summaries.
18810 (function_summary::release): New function.
18812 2015-03-25 Jakub Jelinek <jakub@redhat.com>
18815 * lto-streamer-out.c (DFS::worklist): New struct.
18816 (DFS::worklist_vec): New data member.
18817 (DFS::next_dfs_num): Remove.
18818 (DFS::DFS): Rewritten using worklist instead of recursion,
18819 using most of code from DFS::DFS_write_tree.
18820 (DFS::DFS_write_tree_body): Remove SINGLE_P argument, don't
18821 pass it to DFS_write_tree calls.
18822 (DFS::DFS_write_tree): Remove SINGLE_P argument, after
18823 quick initial checks push it into worklist_vec and return.
18825 2015-03-25 Richard Biener <rguenther@suse.de>
18827 PR middle-end/65519
18828 * genmatch.c (expr::gen_transform): Re-write to avoid
18829 using gimple_build.
18831 2015-03-25 Bin Cheng <bin.cheng@arm.com>
18833 * doc/sourcebuild.texi (arm_tune_string_ops_prefer_neon): New.
18835 2015-03-25 Bin Cheng <bin.cheng@arm.com>
18837 * config/arm/arm.opt (print_tune_info): New option.
18838 * config/arm/arm.c (arm_print_tune_info): New function.
18839 (arm_file_start): Call arm_print_tune_info.
18840 * config/arm/arm-protos.h (struct tune_params): Add comment.
18841 * doc/invoke.texi (@item -mprint-tune-info): New item.
18842 (-mtune): mention it in ARM Option Summary.
18844 2015-03-25 DJ Delorie <dj@redhat.com>
18846 * config/rl78/rl78.c (rl78_print_operand_1): Move 'p' test to
18849 2015-03-24 Jan Hubicka <hubicka@ucw.cz>
18850 Martin Liska <mliska@suse.cz>
18852 * ipa-icf-gimple.h (return_with_result): Add missing colon to dump.
18853 * ipa-icf.c (sem_function::get_hash): Hash new declaration properties.
18854 (sem_item::add_type): New function.
18855 (sem_function::hash_stmt): Add TREE_TYPE of gimple_op.
18856 (sem_function::compare_polymorphic_p): Do not consider indirect calls.
18857 (sem_item_optimizer::update_hash_by_addr_refs): Add ODR type to hash.
18858 (sem_function::equals_wpa): Fix typo.
18859 * ipa-icf.h (sem_item::add_type): New function.
18860 (symbol_compare_hashmap_traits): Replace hashing of pointer with symbol
18863 2015-03-24 Jakub Jelinek <jakub@redhat.com>
18865 PR tree-optimization/65533
18866 * tree-vect-slp.c (vect_build_slp_tree): Before re-trying
18867 with swapped operands, call vect_free_slp_tree on
18868 SLP_TREE_CHILDREN of child and truncate the SLP_TREE_CHILDREN
18871 2015-03-24 Richard Biener <rguenther@suse.de>
18873 PR middle-end/65517
18874 * tree-cfg.c (remove_edge_and_dominated_blocks): Mark loops
18875 for fixup if necessary.
18877 2015-03-23 Sandra Loosemore <sandra@codesourcery.com>
18879 * doc/extend.texi (Function Attributes): Add @cindex entries
18880 for all attributes and regularize their format. Delete text
18881 about long-obsolete 68HC11 and 68HC12 targets. Move misplaced
18882 information about "eightbit_data", "tiny_data", and "model"
18883 variable attributes to the Variable Attributes section. Fix
18884 some obvious typos and copy-editing issues.
18885 (Variable Attributes, Type Attributes): Likewise add/fix
18886 @cindex entries for all attributes.
18888 2015-03-23 Jakub Jelinek <jakub@redhat.com>
18891 * tree-chkp.c (chkp_build_returned_bound): Ignore
18892 ERF_RETURNS_ARG calls if they have fewer than needed arguments.
18894 2015-03-23 Oleg Endo <olegendo@gcc.gnu.org>
18897 * config/sh/predicates.md (simple_mem_operand,
18898 displacement_mem_operand): Add test for reg.
18899 (short_displacement_mem_operand): Test for displacement_mem_operand
18900 before invoking sh_disp_addr_displacement.
18901 * config/sh/constraints.md (Sdd, Sra): Simplify.
18902 * config/sh/sync.md (atomic_mem_operand_0, atomic_mem_operand_1):
18903 Remove redundant displacement_mem_operand tests.
18905 2015-03-23 Georg-Johann Lay <avr@gjlay.de>
18908 * config/avr/driver-avr.c (avr_devicespecs_file): Allow to specify
18909 the same -mmcu=MCU more than once.
18911 2015-03-23 Jakub Jelinek <jakub@redhat.com>
18914 * ipa-devirt.c: Remove duplicate demangle.h include.
18917 * config/i386/i386.c (ix86_copy_addr_to_reg): Set REG_POINTER
18919 (expand_set_or_movmem_prologue_epilogue_by_misaligned_moves): Set
18920 REG_POINTER on *destptr after adjusting it for prologue size.
18923 * ipa-icf.c (sem_item::update_hash_by_addr_refs): Hash
18924 ultimate_alias_target ()->order ints instead of
18925 ultimate_alias_target () pointers.
18927 2015-03-23 Richard Biener <rguenther@suse.de>
18929 PR tree-optimization/65518
18930 * tree-vect-stmts.c (vectorizable_load): Reject single-element
18931 interleaving cases we generate absymal code for.
18933 2015-03-23 Richard Biener <rguenther@suse.de>
18935 PR tree-optimization/65494
18936 * tree-vect-slp.c (vect_build_slp_tree): Do not (re-)allocate
18938 (vect_analyze_slp_instance): But do that here, always and once.
18940 2015-03-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
18942 * expmed.c (synth_mult): Fix comment about multiplying by T-1 and
18943 adding T or multiplying by T+1 and subracting T.
18945 2015-03-22 Jeff Law <law@redhat.com>
18947 PR rtl-optimization/64317
18948 * Makefile.in (OBJS): Add gcse-common.c
18949 * gcse.c: Include gcse-common.h
18950 (struct modify_pair_s): Move structure definition to gcse-common.h
18951 (compute_transp): Move function to gcse-common.c.
18952 (canon_list_insert): Similarly.
18953 (record_last_mem_set_info): Break out some code and put it into
18954 gcse-common.c. Call into the new common code.
18955 (compute_local_properties): Pass additional arguments to compute_transp.
18956 * postreload-gcse.c: Include gcse-common.h and df.h
18957 (modify_mem_list_set, blocks_with_calls): New variables.
18958 (modify_mem_list, canon_modify_mem_list, transp): Likewise.
18959 (get_bb_avail_insn): Pass in the expression index too.
18960 (alloc_mem): Allocate memory for the new bitmaps and lists.
18961 (free_mem): Free memory for the new bitmaps and lists.
18962 (insert_expr_in_table): Record a bitmap index for each entry we
18964 (record_last_mem_set_info): Call into common code in gcse-common.c.
18965 (get_bb_avail_insn): If no available insn was found in the requested
18966 BB. If BB has a single predecessor, see if the expression is
18967 transparent in BB and available in that single predecessor.
18968 (compute_expr_transp): New wrapper for compute_transp.
18969 (eliminate_partially_redundant_load): Pass expression's bitmap_index
18970 to get_bb_avail_insn. Compute next_pred_bb_end a bit later.
18971 (gcse_after_reload_main): If there are elements in the hash table,
18972 then compute transparency for all the elements in the hash table.
18973 * gcse-common.h: New file.
18974 * gcse-common.c: New file.
18976 2015-03-22 Sandra Loosemore <sandra@codesourcery.com>
18978 * doc/cpp.texi (Search Path): Hyphenate "command-line" when used
18980 (System Headers): Likewise.
18982 (Traditional macros): Likewise.
18983 (Invocation): Likewise.
18984 (Option Index): Likewise.
18985 * doc/cppopts.texi (-M): Likewise.
18986 (-finput-charset): Likewise.
18987 (--help): Likewise.
18988 * doc.invoke.texi (AVR Options): Likewise.
18989 (V850 Options): Likewise.
18991 2015-03-22 Jan Hubicka <hubicka@ucw.cz>
18994 * ipa-devirt.c: Include demangle.h
18995 (odr_type_d): Add field rtti_broken.
18996 (odr_subtypes_equivalent_p): Do not require name to match.
18997 (compare_virtual_tables): Fix typo; if type already has ODR violation,
18998 bypass the tests; be ready for function referneces in vtables that are
18999 not DECL_VIRTUAL; make warnings to be OPT_Wodr.
19000 (warn_odr): Give up for nameless types.
19001 (warn_types_mismatch): Report mismatch in mangled names;
19002 report mismatch in anonymous namespaces; look into component types to
19003 give useful error; report when mismatch is dragged in from other ODR
19005 (odr_types_equivalent_p): Match types for being polymorphic; avoid
19006 duplicated diagnostics.
19007 (add_type_duplicate): Reorder checks so more informative ones come
19008 first; fix typo; do not output "the extra base is defined here" when
19010 (BINFO_N_BASE_BINFOS): Relax sanity check.
19012 2015-03-22 Martin Liska <mliska@suse.cz>
19013 Jakub Jelinek <jakub@redhat.com>
19015 * config/i386/i386.c (def_builtin): Set deferred_isa_values for
19016 masks that can potentially include a builtin.
19017 (ix86_add_new_builtins): Introduce fast filter for isa values
19018 that cannot trigger builtin inclusion.
19020 2015-03-22 Martin Liska <mliska@suse.cz>
19022 * ipa-icf.c (sem_item::update_hash_by_addr_refs): New function.
19023 (sem_item::update_hash_by_local_refs): Likewise.
19024 (sem_variable::get_hash): Empty line is fixed.
19025 (sem_item_optimizer::execute): Include adding of hash references.
19026 (sem_item_optimizer::update_hash_by_addr_refs): New function.
19027 (sem_item_optimizer::build_hash_based_classes): Use local hash.
19028 * ipa-icf.h (sem_item::update_hash_by_addr_refs): New function.
19029 (sem_item::update_hash_by_local_refs): Likewise.
19031 2015-03-20 Jan Hubicka <hubicka@ucw.cz>
19034 * ipa-comdats.c (enqueue_references): Walk through thunks.
19035 (ipa_comdats): Likewise.
19036 (set_comdat_group_1): New function.
19038 2015-03-20 Jan Hubicka <hubicka@ucw.cz>
19041 * ipa-devirt.c (add_type_duplicate): Prevail polymorphic type over
19044 2015-03-22 Dave Korn <dave.korn.cygwin@gmail.com>
19045 Gerald Pfeifer <gerald@pfeifer.com>
19047 * doc/contrib.texi (Contributors): Update entry for Danny Smith.
19049 2015-03-21 Chung-Lin Tang <cltang@codesourcery.com>
19050 Sandra Loosemore <sandra@codesourcery.com>
19052 * config/nios2/nios2-protos.h (nios2_adjust_call_address): Adjust
19053 function parameter declaration.
19054 * config/nios2/nios2.md (call,call_value,sibcall,sibcall_value):
19055 Update arguments to nios2_adjust_call_address().
19056 (sibcall_internal): Rename from *sibcall.
19057 (sibcall_value_internal): Rename from *sibcall_value.
19058 * config/nios2/nios2.c (nios2_emit_add_constant): New function.
19059 (nios2_large_got_address): Add target temp reg parameter.
19060 (nios2_got_address): Adjust call to nios2_large_got_address, add
19061 force_reg around it.
19062 (nios2_load_pic_address): Add target temp reg parameter, replace call
19063 to nios2_got_address with corresponding code.
19064 (nios2_legitimize_constant_address): Update call to
19065 nios2_load_pic_address.
19066 (nios2_adjust_call_address): Add temp reg parameter, update PIC case
19067 to use temp reg for PIC loading purposes.
19068 (nios2_asm_output_mi_thunk): Implement TARGET_ASM_OUTPUT_MI_THUNK.
19069 (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
19070 (TARGET_ASM_OUTPUT_MI_THUNK): Likewise.
19072 2015-03-21 Sandra Loosemore <sandra@codesourcery.com>
19074 * doc/invoke.texi (-fno-diagnostics-show-caret): Fix
19075 usage of "the @option{...}".
19076 (-Wopenmp-simd): Likewise.
19077 (-fsanitize-recover): Likewise.
19078 (-fsanitize-undefined-trap-on-error): Likewise.
19080 (tracer-dynamic-coverage-feedback): Likewise.
19081 (reorder-block-duplicate-feedback): Likewise.
19082 (loop-unroll-jam-size): Likewise.
19085 (-mabs=legacy): Likewise.
19086 (-mupper-regs-df): Likewise.
19087 (-mupper-regs-sf): Likewise.
19088 (-mpointers-to-nested-functions): Likewise.
19090 2015-03-21 Sandra Loosemore <sandra@codesourcery.com>
19092 * doc/extend.texi (Cilk Plus Builtins): Add markup.
19094 2015-03-21 Sandra Loosemore <sandra@codesourcery.com>
19096 * doc/invoke.texi (-fcheck-pointer-bounds): Copy-edit, add
19097 additional index entries and cross-references.
19098 (-fchkp-check-incomplete-type): Likewise.
19099 (-fchkp-first-field-has-own-bounds): Likewise.
19100 (-fchkp-narrow-to-innermost-array): Likewise.
19101 (-fchkp-use-fast-string-functions): Likewise.
19102 (-fchkp-use-nochk-string-functions): Likewise.
19103 (-fchkp-use-static-const-bounds): Likewise.
19104 (-fchkp-treat-zero-dynamic-size-as-infinite): Likewise.
19105 (-fchkp-instrument-marked-only): Likewise.
19106 (-fchkp-use-wrappers): Likewise.
19107 (-static-libmpx): Likewise.
19108 (-static-libmpxwrappers): Likewise.
19109 * doc/extend.texi (bnd_legacy): Likewise.
19110 (bnd_instrument): Likewise.
19111 (bnd_variable_size): Likewise.
19112 (Pointer Bounds Checker builtins): Likewise.
19114 2015-03-21 Tom de Vries <tom@codesourcery.com>
19116 PR tree-optimization/65458
19117 * cgraph.c (cgraph_node::dump): Handle parallelized_function field.
19118 * cgraph.h (cgraph_node): Add parallelized_function field.
19119 * lto-cgraph.c (lto_output_node): Write parallelized_function field.
19120 (input_overwrite_node): Read parallelized_function field.
19121 * omp-low.c (expand_omp_taskreg, finalize_task_copyfn): Set
19122 parallelized_function on cgraph_node for child_fn.
19123 * tree-parloops.c: Add include of plugin-api.h, ipa-ref.h and cgraph.h.
19124 Remove include of gt-tree-parloops.h.
19125 (parallelized_functions): Remove static variable.
19126 (parallelized_function_p): Rewrite using parallelized_function field of
19128 (create_loop_fn): Remove adding to parallelized_functions.
19129 * Makefile.in (GTFILES): Remove tree-parloops.c
19131 2015-03-20 Vladimir Makarov <vmakarov@redhat.com>
19133 PR rtl-optimization/64366
19134 * lra.c (lra_update_insn_regno_info): Consider regs in
19135 CALL_INSN_FUNCTION_USAGE memory.
19137 2015-03-20 Richard Biener <rguenther@suse.de>
19139 PR middle-end/64715
19140 * tree-chrec.c (chrec_fold_poly_cst): Use useless_type_conversion_p
19141 for type comparison and gcc_checking_assert.
19142 (chrec_fold_plus_poly_poly): Likewise.
19143 (chrec_fold_multiply_poly_poly): Likewise.
19144 (chrec_convert_1): Likewise.
19145 * gimplify.c (gimplify_expr): Remove premature folding of
19146 &X + CST to &MEM[&X, CST].
19148 2015-03-20 Jan Hubicka <hubicka@ucw.cz>
19150 * ipa-inline.c (can_inline_edge_p): Short circuit if inline_failed
19152 (ipa_inline): Recompute inline_failed codes.
19153 * cif-code.def (FUNCTION_NOT_OPTIMIZED, REDEFINED_EXTERN_INLINE,
19154 USES_COMDAT_LOCAL, ATTRIBUTE_MISMATCH, UNREACHABLE): Declare as
19157 2015-03-20 Uros Bizjak <ubizjak@gmail.com>
19159 PR rtl-optimization/60851
19160 * recog.c (constrain_operands): Accept a pseudo register before reload
19161 for LRA enabled targets.
19163 2015-03-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19166 * config/rs6000/predicates.md (easy_fp_constant): Remove special
19167 -ffast-math handling that kept non-0 constants live in the RTL
19168 until reload. Remove logic testing the number of instructions it
19169 took to create a constant in a GPR that was never used, due to a
19170 test for soft-float earlier.
19171 (memory_fp_constant): Delete, no longer used.
19173 * config/rs6000/rs6000.md (mov<MODE>_hardfloat): Remove
19174 alternatives for loading non-0 constants into GPRs for hard
19175 floating point that is no longer needed due to changes in
19176 easy_fp_constant. Add support for loading 0.0 into GPRs.
19177 (mov<mode>_hardfloat32): Likewise.
19178 (mov<mode>_hardfloat64): Likewise.
19179 (mov<mode>_64bit_dm): Likewise.
19180 (movtd_64bit_nodm): Likewise.
19181 (pre-reload move FP constant define_split): Delete define_split,
19182 since it is no longer used.
19183 (extenddftf2_internal): Remove GHF constraints that are not valid
19186 2015-03-19 Vladimir Makarov <vmakarov@redhat.com>
19188 PR rtl-optimization/63491
19189 * lra-constraints.c (check_and_process_move): Use src instead of
19190 sreg. Remove some dead code.
19192 2015-03-19 Jan Hubicka <hubicka@ucw.cz>
19195 * ipa-icf.c (sem_function::merge): Do not merge DECL_EXTERNAL symbols.
19196 (sem_variable::merge): Likewise.
19198 2015-03-19 Martin Liska <mliska@suse.cz>
19201 * cgraphunit.c (cgraph_node::create_wrapper): Correctly reset
19202 all fields of cgraph_thunk_info.
19204 2015-03-19 Ilya Enkovich <ilya.enkovich@intel.com>
19206 * ipa-chkp.c (chkp_maybe_create_clone): Don't try to
19207 clone instrumented thunks.
19209 2015-03-19 Richard Biener <rguenther@suse.de>
19212 2015-03-10 Richard Biener <rguenther@suse.de>
19214 PR middle-end/63155
19215 * tree-ssa-coalesce.h (verify_ssa_coalescing): Declare.
19216 * tree-ssa-coalesce.c: Include timevar.h.
19217 (attempt_coalesce): Handle graph being NULL.
19218 (coalesce_partitions): Call verify_ssa_coalescing if ENABLE_CHECKING.
19219 Split out abnormal coalescing to ...
19220 (perform_abnormal_coalescing): ... this function.
19221 (coalesce_ssa_name): Perform abnormal coalescing without computing
19223 (verify_ssa_coalescing_worker): New function.
19224 (verify_ssa_coalescing): Likewise.
19226 2015-03-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19227 Jakub Jelinek <jakub@redhat.com>
19230 * tsan.c (instrument_gimple): Clear tail call flag on
19233 2015-03-19 Jakub Jelinek <jakub@redhat.com>
19236 * ipa-split.c (find_return_bb): Allow TSAN_FUNC_EXIT internal
19237 call in the return bb.
19238 (find_split_points): Add RETURN_BB argument, don't call
19240 (split_function): Likewise. Add ADD_TSAN_FUNC_EXIT argument,
19241 if true append TSAN_FUNC_EXIT internal call after the call to
19242 the split off function.
19243 (execute_split_functions): Call find_return_bb here.
19244 Don't optimize if TSAN_FUNC_EXIT is found in unexpected places.
19245 Adjust find_split_points and split_function calls.
19247 2015-03-18 DJ Delorie <dj@redhat.com>
19249 * config/rl78/rl78-virt.md (andqi3_virt): Allow far operands.
19250 (iorqi3_virt): Likewise.
19252 2015-03-18 Tom de Vries <tom@codesourcery.com>
19254 * tree-parloops.c (parallelize_loops): Make static.
19255 * tree-parloops.h (parallelize_loops): Remove extern declaration.
19257 2015-03-18 Andrew Stubbs <ams@codesourcery.com>
19259 PR middle-end/64491
19261 2014-11-20 Andrew Stubbs <ams@codesourcery.com>
19263 * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Warn if a loop
19264 condition would be removed due to undefined behaviour.
19266 2015-03-18 Martin Liska <mliska@suse.cz>
19269 * cgraph.c (cgraph_node::get_create): Remove unnecessary
19270 xstrdup_for_dump wrapper.
19271 * ipa-icf.c (sem_item::dump): Use symtab_node::name instead of
19273 (sem_function::equals): Wrap symtab_node::name and symtab_node::asm_name
19274 with xstrdup_for_dump.
19275 (sem_variable::equals): Likewise.
19276 (sem_item_optimizer::read_section): Use symtab_node::name instead of
19278 (sem_item_optimizer::parse_funcs_and_vars): Likewise.
19279 (sem_item_optimizer::merge_classes): Wrap symtab_node::name and
19280 symtab_node::asm_name with xstrdup_for_dump.
19281 (congruence_class::dump): Use symtab_node::name instead of
19283 * ipa-icf.h (symtab_node::name): Remove.
19284 (symtab_node::asm_name): Likewise.
19286 2015-03-18 Jakub Jelinek <jakub@redhat.com>
19288 PR tree-optimization/65450
19289 * tree-vect-data-refs.c (vect_duplicate_ssa_name_ptr_info): New
19291 (vect_create_addr_base_for_vector_ref, vect_create_data_ref_ptr): Use
19292 it instead of duplicate_ssa_name_ptr_info.
19295 * doc/invoke.texi: Add knl as x86 -march=/-mtune= CPU type.
19297 2015-03-18 Richard Biener <rguenther@suse.de>
19299 * tree-data-ref.h (struct access_matrix): Remove.
19300 (AM_LOOP_NEST, AM_NB_INDUCTION_VARS, AM_PARAMETERS, AM_MATRIX,
19301 AM_NB_PARAMETERS, AM_CONST_COLUMN_INDEX, AM_NB_COLUMNS,
19302 AM_GET_SUBSCRIPT_ACCESS_VECTOR, AM_GET_ACCESS_MATRIX_ELEMENT): Likewise.
19303 (am_vector_index_for_loop): Likewise.
19304 (struct data_reference): Remove access_matrix member.
19305 (DR_ACCESS_MATRIX): Remove.
19306 (lambda_vector_new): Add comment.
19307 (lambda_matrix_new): Use XOBNEWVEC.
19309 2015-03-18 Richard Biener <rguenther@suse.de>
19311 * tree-ssa-loop-ch.c (pass_data_ch): Remove TODO_cleanup_cfg.
19312 (pass_ch::execute): Cleanup the CFG only if we did sth.
19313 * tree-vect-generic.c (pass_data_lower_vector): Remove TODO_cleanup_cfg.
19315 2015-03-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19317 * expmed.c (synth_mult): Use std::swap instead of manually
19318 swapping algorithms.
19320 2015-03-18 Jakub Jelinek <jakub@redhat.com>
19323 * config/i386/sse.md (movsi/movdi -> vec_extract_*_0 splitter): New.
19325 2015-03-16 Georg-Johann Lay <avr@gjlay.de>
19328 * config/avr/avr.opt (-nodevicelib): New option.
19329 * doc/invoke.texi (AVR Options): Document it.
19330 * config/avr/avrlibc.h (LIB_SPEC, LIBGCC_SPEC) [avr1]: Don't link
19331 libgcc.a, libc.a, libm.a.
19332 * config/avr/specs.h: Same.
19333 * config/avr/gen-avr-mmcu-specs.c (print_mcu): Don't print specs
19334 which don't (directly) depend on the device. Print more help.
19335 (*avrlibc_devicelib) [-nodevicelib]: Don't link libdev.a.
19336 (*cpp): Don't define __AVR_DEV_LIB_NAME__.
19337 * config/avr/driver-avr.c: Remove -nodevicelib from option list in
19339 (avr_devicespecs_file): Use suffix "%s" instead of absolute path
19340 for specs file name.
19341 * config/avr/avr-arch.h (avr_mcu_t) [.library_name]: Remove.
19342 * config/avr/avr-mcus.def: Adjust initializers and comments.
19344 2015-03-16 Jan Hubicka <hubicka@ucw.cz>
19346 * tree-sra.c (ipa_sra_preliminary_function_checks): Use
19347 DECL_ONE_ONLY to check if decl is one only.
19348 * ipa-split.c (consider_split): Limit splitt of one only functions.
19350 2015-03-16 Jakub Jelinek <jakub@redhat.com>
19352 PR tree-optimization/65427
19353 * tree-vect-generic.c (do_cond, expand_vector_scalar_condition): New
19355 (expand_vector_operations_1): Handle BLKmode vector COND_EXPR.
19357 2015-03-16 Marek Polacek <polacek@redhat.com>
19359 * cgraph.h (add_new_static_var): Remove declaration.
19360 * varpool.c (add_new_static_var): Remove function.
19362 2015-03-16 Jakub Jelinek <jakub@redhat.com>
19364 * omp-low.c (expand_omp_target): Use auto_vec<tree, 11>
19365 instead of vec<tree> * with vec_alloc and release for args.
19368 PR middle-end/65431
19369 * omp-low.c (delete_omp_context): Only splay_tree_delete
19370 reduction_map in GIMPLE_OMP_TARGET is_gimple_omp_offloaded
19371 is_gimple_omp_oacc contexts. Don't look at ctx->outer.
19373 2015-03-16 Max Ostapenko <m.ostapenko@partner.samsung.com>
19376 * cfgexpand.c (align_base): New function.
19377 (alloc_stack_frame_space): Call it.
19378 (expand_stack_vars): Align prev_frame to be sure
19379 data->asan_vec elements aligned properly.
19381 2015-03-16 Eric Botcazou <ebotcazou@adacore.com>
19383 PR middle-end/65409
19384 * expr.c (store_field): Do not do a direct block copy if the source is
19385 a PARALLEL with BLKmode.
19387 2015-03-16 Tom de Vries <tom@codesourcery.com>
19389 PR middle-end/65414
19391 2015-03-12 Tom de Vries <tom@codesourcery.com>
19393 PR rtl-optimization/64895
19394 * lra-lives.c (check_pseudos_live_through_calls): Use
19395 actual_call_used_reg_set instead of call_used_reg_set, if available.
19397 2015-03-16 Alan Modra <amodra@gmail.com>
19400 * config/rs6000/rs6000.md (bswapdi2): Remove one scratch reg.
19401 Modify Z->r bswapdi splitter to use dest in place of scratch.
19402 In r->Z and Z->r bswapdi splitter rename word_high, word_low
19403 to word1, word2 and rearrange logic to suit.
19404 (bswapdi2_64bit): Remove early clobber on Z->r alternative.
19405 (bswapdi2_ldbrx): Likewise. Remove '??' on r->r.
19406 (bswapdi2_32bit): Remove early clobber on Z->r alternative.
19407 Add one '?' on r->r. Modify Z->r splitter to avoid need for
19410 2015-03-14 Jakub Jelinek <jakub@redhat.com>
19412 PR tree-optimization/65369
19413 * tree-vect-stmts.c (vectorizable_load) <case dr_explicit_realign>:
19414 Set bump to vs * TYPE_SIZE_UNIT (elem_type) - 1 instead of
19415 (vs - 1) * TYPE_SIZE_UNIT (elem_type).
19417 PR tree-optimization/65418
19418 * tree-ssa-reassoc.c (extract_bit_test_mask): If there
19419 are casts in the first PLUS_EXPR operand, ensure tbias and
19420 *totallowp are in the inner type.
19422 PR rtl-optimization/65401
19423 * combine.c (rtx_equal_for_field_assignment_p): Add widen_x
19424 argument. If true, adjust_address_nv of x with big-endian
19425 correction for the mode widening to GET_MODE (y).
19426 (make_field_assignment): Don't do MEM mode widening here.
19427 Use MEM_P instead of GET_CODE == MEM.
19429 2015-03-13 Ilya Verbin <ilya.verbin@intel.com>
19431 * varpool.c (varpool_node::get_create): Don't set 'offloadable' flag for
19432 the external decls.
19434 2015-03-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19437 * config/arm/arm.c (arm_gen_constant, AND case): Use
19438 ARM_SIGN_EXTEND when constructing AND mask.
19440 2015-03-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
19442 * graph.c (print_graph_cfg): Make function names visible and append
19443 parenthesis to it. Also make groups of basic blocks belonging to the
19444 same function visible.
19446 2015-03-12 Richard Biener <rguenther@suse.de>
19448 PR middle-end/44563
19449 * tree-inline.c (gimple_expand_calls_inline): Walk BB backwards
19450 to avoid quadratic behavior with inline expansion splitting blocks.
19451 * tree-cfgcleanup.c (cleanup_tree_cfg_bb): Do not merge block
19452 with the successor if the predecessor will be merged with it.
19453 * tree-cfg.c (gimple_can_merge_blocks_p): We can't merge the
19454 entry block with its successor.
19456 2015-03-13 Richard Biener <rguenther@suse.de>
19458 PR middle-end/44563
19459 * tree-cfgcleanup.c (split_bb_on_noreturn_calls): Remove.
19460 (cleanup_tree_cfg_1): Do not call it.
19461 (execute_cleanup_cfg_post_optimizing): Fixup the CFG here.
19462 (fixup_noreturn_call): Mark the stmt as control altering.
19463 * tree-cfg.c (execute_fixup_cfg): Do not dump the function
19465 (pass_data_fixup_cfg): Produce a dump file.
19466 * tree-ssa-dom.c: Include tree-cfgcleanup.h.
19467 (need_noreturn_fixup): New global.
19468 (pass_dominator::execute): Fixup queued noreturn calls.
19469 (optimize_stmt): Queue calls that became noreturn for fixup.
19470 * tree-ssa-forwprop.c (pass_forwprop::execute): Likewise.
19471 * tree-ssa-pre.c: Include tree-cfgcleanup.h.
19472 (el_to_fixup): New global.
19473 (eliminate_dom_walker::before_dom_childre): Queue calls that
19474 became noreturn for fixup.
19475 (eliminate): Fixup queued noreturn calls.
19476 * tree-ssa-propagate.c: Include tree-cfgcleanup.h.
19477 (substitute_and_fold_dom_walker): New member stmts_to_fixup.
19478 (substitute_and_fold_dom_walker::before_dom_children): Queue
19479 alls that became noreturn for fixup.
19480 (substitute_and_fold): Fixup queued noreturn calls.
19482 2015-03-12 Jan Hubicka <hubicka@ucw.cz>
19484 * ipa-icf.c (sem_function::equals_wpa): Match CXX_CONSTRUCTOR_P
19485 and CXX_DESTURCTOR_P. For consutrctors match ODR type of class they
19486 are building; for methods check ODR type of class they belong to if
19487 they may lead to a polymorphic call.
19488 (sem_function::compare_polymorphic_p): Be bit smarter about testing
19489 when function may lead to a polymorphic call.
19490 (sem_function::compare_type_list): Remove.
19491 (sem_variable::equals): Update use of compatible_types_p.
19492 (sem_variable::parse_tree_refs): Remove.
19493 (sem_item_optimizer::filter_removed_items): Do not filter out CXX
19495 * ipa-icf-gimple.c (func_checker::compare_decl): Do polymorphic
19497 (func_checker::compatible_polymorphic_types_p): Break out from ...
19498 (unc_checker::compatible_types_p): ... here.
19499 * ipa-icf-gimple.h (func_checker::compatible_polymorphic_types_p):
19501 (unc_checker::compatible_types_p): Update.
19502 * ipa-icf.h (compare_type_list, parse_tree_refs, compare_sections):
19505 2015-03-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19507 PR rtl-optimization/65235
19508 * simplify-rtx.c (simplify_binary_operation_1, VEC_SELECT case):
19509 When first element of vec_concat is const_int, calculate its size
19510 using second element.
19512 2015-03-12 Richard Biener <rguenther@suse.de>
19514 PR middle-end/65270
19515 * fold-const.c (operand_equal_p): Fix ordering of resetting
19516 OEP_ADDRESS_OF and checking for it in the [TARGET_]MEM_REF case.
19518 2015-03-12 Dominik Vogt <vogt@linux.vnet.ibm.com>
19520 * config/s390/s390.c (s390_reorg): Move code to output nops after label
19522 (s390_asm_output_function_label): Likewise.
19523 * config/s390/s390.c (s390_asm_output_function_label):
19524 Fix function label alignment with -mhtopatch.
19525 * config/s390/s390.md ("unspecv"): New values UNSPECV_NOP_2_BYTE,
19526 UNSPECV_NOP_4_BYTE and UNSPECV_NOP_6_BYTE
19527 ("nop_2_byte"): New define_insn.
19528 ("nop_4_byte"): Likewise.
19529 ("nop_6_byte"): Likewise.
19530 * doc/extend.texi (hotpatch): hotpatch attribute doc fixes.
19531 * doc/invoke.texi (-mhotpatch): -mhotpatch doc fixes.
19533 2015-03-12 Ilya Enkovich <ilya.enkovich@intel.com>
19536 * config/i386/i386.c (ix86_address_cost): Fix cost of a PIC
19539 2015-03-12 Ilya Enkovich <ilya.enkovich@intel.com>
19542 * toplev.c (process_options): Restrict Pointer Bounds Checker
19543 usage with Address Sanitizer.
19545 2015-03-12 Richard Biener <rguenther@suse.de>
19547 * tree-cfg.c (gimple_split_block): Remove loop finding stmt
19549 * omp-low.c (expand_omp_taskreg): Split block before removing
19551 (expand_omp_target): Likewise.
19552 * ubsan.c (ubsan_expand_null_ifn): Adjust stmt if we replaced it.
19553 * tree-parloops.c (create_call_for_reduction_1): Pass a proper
19554 stmt to split_block.
19556 2015-03-12 Tom de Vries <tom@codesourcery.com>
19558 PR rtl-optimization/64895
19559 * lra-lives.c (check_pseudos_live_through_calls): Use
19560 actual_call_used_reg_set instead of call_used_reg_set, if available.
19562 2015-03-10 Jan Hubicka <hubicka@ucw.cz>
19564 * cgraph.c (cgraph_node::release_body): Free function_in_decl_state.
19565 (cgraph_node::remove): Likewise.
19566 (cgraph_node::get_untransformed_body): Likewise.
19567 * varpool.c (varpool_node::remove): Likewise.
19568 (varpool_node::get_constructor): Add sanity check.
19570 2015-03-11 Sandra Loosemore <sandra@codesourcery.com>
19572 * doc/invoke.texi (-fgnu89-inline): Remove discussion about
19574 (-fabi-compat-version): Likewise.
19575 (-ffriend-injection): Likewise.
19576 (-Wdeclaration-after-statement): Likewise.
19577 (-fomit-frame-pointer): Likewise.
19578 (-ftree-coalesce-inlined-vars): Likewise.
19579 (-fvisibility=): Likewise.
19580 * doc/extend.texi (Typeof): Likewise.
19581 (Zero Length): Likewise.
19582 (Escaped Newlines): Likewise.
19583 (Compound Literals): Likewise.
19584 (Function Attributes): Likewise.
19585 (Label Attributes): Likewise.
19586 (Type Attributes): Likewise.
19587 (Function Names): Likewise.
19588 (Other Builtins): Likewise.
19589 (Function Specific Option Pragmas): Likewise.
19590 (C++ Interface): Likewise.
19592 2015-03-11 Thomas Schwinge <thomas@codesourcery.com>
19594 * config/nvptx/nvptx.h (LIBSTDCXX): Define to "gcc".
19596 2015-03-11 Marek Polacek <polacek@redhat.com>
19598 PR tree-optimization/65388
19599 * tree-ssa-tail-merge.c (same_succ_def::equal): Fix typo in comparison.
19601 2015-03-10 Georg-Johann Lay <avr@gjlay.de>
19604 * configure.ac [avr]: Check as for options -mrmw, --mlink-relax.
19605 * configure: Regenerate.
19606 * config.in: Regenerate.
19607 * doc/invoke.texi (AVR Options) [-mrmw]: Document it.
19608 [-mn-flash]: Document it.
19609 [__AVR_ARCH__]: Document avrtiny.
19611 * config/avr/gen-avr-mmcu-specs.c (config.h): Include it.
19612 (*asm_relax): Only define spec if HAVE_AS_AVR_MLINK_RELAX_OPTION.
19613 (*asm_rmw): Only define spec if HAVE_AS_AVR_MRMW_OPTION.
19615 2015-03-11 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
19617 * doc/invoke.texi: Add missing cpu values (z196, zEC12).
19619 2015-03-11 Michael Meissner <meissner@linux.vnet.ibm.com>
19622 * config/rs6000/rs6000.c (rs6000_preferred_reload_class): Do not
19623 allow reloads of PLUS in floating point/VSX registers.
19625 2015-03-11 Junmo Park <junmoz.park@samsung.com>
19627 * config/arm/cortex-a57.md (cortex_a57_crypto_simple): Add
19628 crypto_sha256_fast.
19629 (cortex_a57_crypto_complex): Add crypto_sha256_slow.
19631 2015-03-11 Richard Biener <rguenther@suse.de>
19633 PR tree-optimization/65310
19634 * tree-sra.c (build_ref_for_offset): Also preserve larger
19637 2015-03-11 Marat Zakirov <m.zakirov@samsung.com>
19639 * asan.c (instrument_derefs): Disable instrumentation on asan-globals=0.
19641 2015-03-10 Jakub Jelinek <jakub@redhat.com>
19644 * config/i386/i386.md (bmi2_bzhi_<mode>3): Removed define_insn,
19646 (*bmi2_bzhi_<mode>3, *bmi2_bzhi_<mode>3_1): New define_insns.
19648 2015-03-10 Jan Hubicka <hubicka@ucw.cz>
19650 * ipa-icf.c (sem_function::equals_wpa): Move here some checks from ...
19651 (sem_function::equals_wpa): ... here.
19653 2015-03-10 Marek Polacek <polacek@redhat.com>
19654 Jakub Jelinek <jakub@redhat.com>
19657 * ubsan.c (ubsan_expand_objsize_ifn): Update GSI instead of GSI_ORIG
19658 when only removing the statement. Handle expanding UBSAN_OBJECT_SIZE
19661 2015-03-10 Jakub Jelinek <jakub@redhat.com>
19664 * config/rs6000/t-linux: For powerpc64* target set
19665 MULTILIB_OSDIRNAMES instead of MULTIARCH_DIRNAME.
19667 2015-03-10 Richard Biener <rguenther@suse.de>
19669 PR middle-end/44563
19670 * tree-inline.c (copy_cfg_body): Skip block mapped to entry/exit
19671 for redirect_all_calls.
19673 2015-03-10 Marek Polacek <polacek@redhat.com>
19675 * gdbinit.in (pcfun): Define and document.
19677 2015-03-10 Ilya Verbin <ilya.verbin@intel.com>
19679 * config/i386/intelmic-mkoffload.c: Include intelmic-offload.h instead
19680 of libgomp-plugin.h.
19681 (find_target_compiler): Support a case when the path to gcc is
19682 specified in the PATH env var, so COLLECT_GCC doesn't contain a path.
19683 (generate_host_descr_file): Use GOMP_DEVICE_INTEL_MIC from
19684 intelmic-offload.h instead of OFFLOAD_TARGET_TYPE_INTEL_MIC from
19686 (main): Use GCC_INSTALL_NAME as target_driver_name.
19687 * config/i386/t-intelmic (CFLAGS-mkoffload.o): Add GCC_INSTALL_NAME
19689 (mkoffload.o): Remove obsolete include path and defines.
19690 (mkoffload$(exeext)): Use $(LINKER) instead of $(COMPILER).
19692 2015-03-10 Richard Biener <rguenther@suse.de>
19694 PR middle-end/63155
19695 * tree-ssa-coalesce.h (verify_ssa_coalescing): Declare.
19696 * tree-ssa-coalesce.c: Include timevar.h.
19697 (attempt_coalesce): Handle graph being NULL.
19698 (coalesce_partitions): Call verify_ssa_coalescing if ENABLE_CHECKING.
19699 Split out abnormal coalescing to ...
19700 (perform_abnormal_coalescing): ... this function.
19701 (coalesce_ssa_name): Perform abnormal coalescing without computing
19703 (verify_ssa_coalescing_worker): New function.
19704 (verify_ssa_coalescing): Likewise.
19706 2015-03-10 Georg-Johann Lay <avr@gjlay.de>
19709 * config.gcc (extra_options) [avr]: Remove.
19710 (extra_gcc_objs) [avr]: Use driver-avr.o, avr-devices.o.
19711 (tm_file) [avr]: Add avr/specs.h after avr/avr.h.
19712 (tm_defines) [avr-*-rtems*]: Add WITH_RTEMS.
19714 * config/avr/avr.opt (config/avr/avr-arch.h): Remove include.
19715 (-mmcu=): Add Var and MissingArgError properties.
19717 * config/avr/genmultilib.awk: Use -mmcu= instead of -march=.
19718 * config/avr/t-multilib: Regenerate.
19719 * config/avr/specs.h: New file.
19720 * config/avr/driver-avr.c: New file.
19721 * config/avr/genopt.sh: Remove file.
19722 * config/avr/avr-tables.opt: Remove file.
19723 * config/avr/predicates.md (avr_current_arch): Rename to avr_arch.
19724 * config/avr/avr-c.c: Same.
19725 * avr-arch.h: Same.
19726 (avr_current_device): Remove proto.
19727 * config/avr/avr.h (avr_current_arch): Rename to avr_arch.
19728 (AVR_HAVE_8BIT_SP): Don't depend on avr_current_device.
19729 (EXTRA_SPEC_FUNCTIONS): Define.
19730 (avr_devicespecs_file): New specs function proto.
19731 (DRIVER_SELF_SPECS): Use device-specs-file spec function.
19732 * config/avr/avr.c (avr_current_arch): Rename to avr_arch.
19733 (avr_current_device): Remove definition and usage.
19734 (avr_set_core_architecture): New static function.
19735 (avr_option_override): Use it.
19736 * config/avr/avr-devices.c (diagnostic.h, avr-arch.h): Include them.
19737 (mcu_name): New static array.
19738 (comparator, avr_archs_str, avr_mcus_str): New static functions.
19739 (avr_inform_devices, avr_inform_core_architectures): New functions.
19740 * config/avr/gen-avr-mmcu-specs.c (avr-arch.h, specs.h): Include.
19741 (avrlibc.h) [WITH_AVRLIBC]: Include.
19742 (../rtems.h, rtems.h) [WITH_RTEMS]: Include.
19743 (print_mcu): Rewrite from scratch.
19744 * config/avr/avrlibc.h (LIB_SPEC, LIBGCC_SPEC, STARTFILE_SPEC):
19745 Forward to avr-specific specs defined in device-specs file.
19746 * config/avr/t-avr (driver-avr.o): New rule.
19747 (avr-devices.o): Depend on avr-arch.h.
19748 (avr-mcus): No more depend on avr-tables.opt.
19749 (avr-tables.opt): Remove rule.
19750 (install-device-specs): Use INSTALL_DATA, not INSTALL_PROGRAM.
19752 2015-03-10 Ilya Enkovich <ilya.enkovich@intel.com>
19754 * c-family/c.opt (fchkp-use-wrappers): New.
19755 * ipa-chkp.c (CHKP_WRAPPER_SYMBOL_PREFIX): New.
19756 (chkp_wrap_function): New.
19757 (chkp_build_instrumented_fndecl): Support wrapped
19759 * doc/invoke.texi (-fcheck-pointer-bounds): New.
19760 (-fchkp-check-incomplete-type): New.
19761 (-fchkp-first-field-has-own-bounds): New.
19762 (-fchkp-narrow-bounds): New.
19763 (-fchkp-narrow-to-innermost-array): New.
19764 (-fchkp-optimize): New.
19765 (-fchkp-use-fast-string-functions): New.
19766 (-fchkp-use-nochk-string-functions): New.
19767 (-fchkp-use-static-bounds): New.
19768 (-fchkp-use-static-const-bounds): New.
19769 (-fchkp-treat-zero-dynamic-size-as-infinite): New.
19770 (-fchkp-check-read): New.
19771 (-fchkp-check-write): New.
19772 (-fchkp-store-bounds): New.
19773 (-fchkp-instrument-calls): New.
19774 (-fchkp-instrument-marked-only): New.
19775 (-fchkp-use-wrappers): New.
19776 (-static-libmpx): New.
19777 (-static-libmpxwrappers): New.
19779 2015-03-10 Ilya Enkovich <ilya.enkovich@intel.com>
19781 * config/i386/linux-common.h (LIBMPX_WRAPPERSSPEC): New.
19782 (CHKP_SPEC): Add wrappers library.
19783 * c-family/c.opt (static-libmpxwrappers): New.
19785 2015-03-10 Ilya Enkovich <ilya.enkovich@intel.com>
19787 * config/i386/linux-common.h (LIBMPX_LIBS): New.
19788 (LIBMPX_SPEC): New.
19790 * gcc.c (CHKP_SPEC): New.
19791 (LINK_COMMAND_SPEC): Add CHKP_SPEC.
19792 * c-family/c.opt (static-libmpx): New.
19794 2015-03-10 Richard Biener <rguenther@suse.de>
19796 PR middle-end/44563
19797 * cgraph.h (struct cgraph_edge_hasher): Add hash overload
19799 * cgraph.c (cgraph_edge_hasher::hash): Inline htab_hash_pointer.
19800 (cgraph_update_edge_in_call_site_hash): Use cgraph_edge_hasher::hash.
19801 (cgraph_add_edge_to_call_site_hash): Likewise.
19802 (cgraph_node::get_edge): Likewise.
19803 (cgraph_edge::set_call_stmt): Likewise.
19804 (cgraph_edge::remove_caller): Likewise.
19806 2015-03-10 Chung-Ju Wu <jasonwucj@gmail.com>
19808 * config/nds32/nds32.h (callee_saved_regs_size): Rename to ...
19809 (callee_saved_gpr_regs_size): ... this.
19810 (callee_saved_regs_first_regno): Rename to ...
19811 (callee_saved_first_gpr_regno): ... this.
19812 (callee_saved_regs_last_regno) Rename to ...
19813 (callee_saved_last_gpr_regno): ... this.
19814 * config/nds32/nds32.c (nds32_compute_stack_frame): Adjust renamed
19816 (nds32_initial_elimination_offset): Likewise.
19817 (nds32_expand_prologue): Likewise.
19818 (nds32_expand_epilogue): Likewise.
19819 (nds32_expand_prologue_v3push): Likewise.
19820 (nds32_expand_epilogue_v3pop): Likewise.
19821 * config/nds32/nds32-md-auxiliary.c (nds32_output_stack_push):
19822 Adjust renamed variables.
19823 (nds32_output_stack_pop): Likewise.
19825 2015-03-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
19827 * dominance.c (nearest_common_dominator_for_set): Fix A_Dominated_by_B
19830 2015-03-10 Jakub Jelinek <jakub@redhat.com>
19832 PR rtl-optimization/65321
19833 * cfgexpand.c (expand_debug_expr): Ensure shift amount isn't wider
19835 * var-tracking.c (use_narrower_mode): Likewise.
19837 2015-03-10 Jan Hubicka <hubicka@ucw.cz>
19839 PR tree-optimization/65355
19840 * varasm.c (notice_global_symbol): Do not produce RTL.
19841 * symtab.c (symtab_node::can_increase_alignment_p): Check for section
19843 * tree-vect-data-refs.c (vect_compute_data_ref_alignment): Do not
19844 check for section anchors.
19846 2015-03-10 Alan Modra <amodra@gmail.com>
19849 * config.gcc (powerpc*-*-linux*): Arrange for powerpc64le-linux
19850 to be single-arch by default. Set cpu_is_64bit for powerpc64
19851 given --with-cpu=native.
19852 * config/rs6000/t-fprules: Do not set default MULTILIB vars.
19853 * config/rs6000/t-linux (MULTIARCH_DIRNAME): Support powerpc64
19855 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Test
19856 rs6000_isa_flags rather than TARGET_64BIT.
19858 2015-03-09 Yoshinori Sato <ysato@users.sourceforge.jp>
19859 Kaz Kojima <kkojima@gcc.gnu.org>
19861 * config/sh/t-linux (MULTILIB_EXCEPTIONS): Define for m2a cases.
19863 2015-03-09 Jakub Jelinek <jakub@redhat.com>
19866 * ipa-devirt.c (add_type_duplicate): Don't use DECL_CONTEXT
19867 on a TREE_BINFO, instead use BINFO_TYPE.
19869 2015-03-09 Richard Biener <rguenther@suse.de>
19871 PR middle-end/65270
19872 * tree-core.h (enum operand_equal_flag): Add OEP_ADDRESS_OF.
19873 * fold-const.c (operand_equal_p): When recursing for ADDR_EXPRs
19874 operand set OEP_ADDRESS_OF. Clear it when recursing to non-bases
19875 of that. When comparing dereferences compare alignment.
19876 When comparing MEM_REFs or TARGET_MEM_REFs compare dependence info.
19878 2015-03-08 Jan Hubicka <hubicka@ucw.cz>
19880 * ipa-inline-analysis.c (check_callers): Check
19881 node->can_remove_if_no_direct_calls_and_refs_p.
19882 (growth_likely_positive): Reorganize to call
19883 can_remove_if_no_direct_calls_p later.
19884 * cgraph.h (will_be_removed_from_program_if_no_direct_calls_p,
19885 will_be_removed_from_program_if_no_direct_calls_p): Add
19886 will_inline parameter.
19887 * cgraph.c (cgraph_node::can_remove_if_no_direct_calls_p,
19888 cgraph_node::will_be_removed_from_program_if_no_direct_calls_p):
19889 Handle inliner case correctly.
19891 2015-03-09 Thomas Preud'homme <thomas.preudhomme@arm.com>
19893 PR tree-optimization/63743
19894 * cfgexpand.c (reorder_operands): Also reorder if only second operand
19895 had its definition forwarded by TER.
19897 2015-03-08 Jan Hubicka <hubicka@ucw.cz>
19900 * ipa-utils.h (types_odr_comparable): Add strict argument.
19901 * ipa-devirt.c: Fix whitespace;
19902 (odr_hasher): Remove.
19903 (odr_name_hasher, odr_vtable_hasher): New hashers.
19904 (can_be_name_hashed_p): New predicate.
19905 (hash_type_name): remove.
19906 (hash_odr_name): New.
19907 (odr_name_hasher::hash): new.
19908 (can_be_vtable_hashed_p): New.
19909 (hash_odr_vtable): New.
19910 (odr_vtable_hasher::hash): New.
19911 (types_same_for_odr): Add strict parameter.
19912 (types_odr_comparable): Likewise.
19913 (odr_name_hasher::equal): New.
19914 (odr_vtable_hasher::equal): New.
19915 (odr_name_hasher::remove): New.
19916 (odr_hash_type): Change to hash_table<odr_name_hasher>.
19917 (odr_vtable_hash_type): New.
19918 (odr_vtable_hash): New.
19919 (odr_subtypes_equivalent_p): Do strict comparsion.
19920 (add_type_duplicate): Merge type names; cleanup; avoid type
19922 (register_odr_type): Initialize vtable hash.
19923 (build_type_inheritance_graph): Likewise
19924 (get_odr_type): Reorg to use two hashes.
19925 (dump_possible_polymorphic_call_targets): Move sanity check after debug
19927 (ipa_devirt): Dump type_inheritance_graph.
19928 (types_same_for_odr): Add strict mode.
19930 2015-03-05 Jan Hubicka <hubicka@ucw.cz>
19933 * cgraph.h (symtab_node): Add definition_alignment,
19934 can_increase_alignment_p and increase_alignment.
19935 * symtab.c (symtab_node::can_increase_alignment_p,
19936 increase_alignment_1, symtab_node::increase_alignment,
19937 symtab_node::definition_alignment): New.
19938 * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Use
19939 can_increase_alignment_p.
19940 * tree-vectorizer.c (increase_alignment): Use increase_alignment.
19941 * tree-vect-stmts.c (ensure_base_align): Likewise.
19942 * varasm.c (function_section_1): Use definition_alignment.
19943 (assemble_start_function): Likewise.
19944 (emit_local): likewise.
19945 (build_constant_desc): Likewsie.
19946 (output_constant_def_contents): Likewise.
19947 (place_block_symbol): Likewise.
19948 (output_object_block): Likewise.
19950 2015-03-05 Jan Hubicka <hubicka@ucw.cz>
19953 * tree.c (free_lang_data_in_type): Be sure to keep BINFO_VTABLE
19954 when outputting debug.
19956 2015-03-07 Marek Polacek <polacek@redhat.com>
19957 Martin Uecker <uecker@eecs.berkeley.edu>
19960 * doc/invoke.texi: Update description of -fsanitize=bounds.
19962 2015-03-06 Wilco Dijkstra <wilco.dijkstra@arm.com>
19964 * tree-ssa-phiopt.c (neg_replacement): Remove.
19965 (tree_ssa_phiopt_worker): Remove negate optimization.
19967 2015-03-05 Jan Hubicka <hubicka@ucw.cz>
19970 * value-prof.c (gimple_ic): Pure dead eh edges when needed.
19972 2015-03-06 Richard Biener <rguenther@suse.de>
19974 PR middle-end/64928
19975 * tree-ssa-live.h (struct tree_live_info_d): Add livein_obstack
19976 and liveout_obstack members.
19977 (calculate_live_on_exit): Remove.
19978 (calculate_live_ranges): Change declaration.
19979 * tree-ssa-live.c (liveness_bitmap_obstack): Remove global var.
19980 (new_tree_live_info): Adjust.
19981 (calculate_live_ranges): Delete livein when not wanted.
19982 (calculate_live_ranges): Do not initialize liveness_bitmap_obstack.
19983 Deal with partly deleted live info.
19984 (loe_visit_block): Remove temporary bitmap by using
19985 bitmap_ior_and_compl_into.
19986 (live_worklist): Adjust accordingly.
19987 (calculate_live_on_exit): Make static.
19988 * tree-ssa-coalesce.c (coalesce_ssa_name): Tell calculate_live_ranges
19989 we do not need livein.
19991 2015-03-06 Jonathan Wakely <jwakely@redhat.com>
19993 * real.c (real_from_string): Fix typo in assertion.
19995 2015-03-06 Alex Velenko <alex.velenko@arm.com>
19997 * ChangeLog (2015-03-05): Reflect Richard Henderson as actual author of
20000 2015-03-05 Jan Hubicka <hubicka@ucw.cz>
20002 * ipa-icf.c (sem_variable::equals_wpa): Check FINAL flags.
20004 2015-03-05 Vladimir Makarov <vmakarov@redhat.com>
20007 * lra-assigns.c (find_hard_regno_for): Rename to
20008 find_hard_regno_for_1. Add a new parameter.
20009 (find_hard_regno_for): New function using find_hard_regno_for_1.
20011 2015-03-05 Bernd Edlinger <bernd.edlinger@hotmail.de>
20013 PR rtl-optimization/65067
20014 * expmed.c (store_bit_field, extract_bit_field): Reworked the
20015 strict volatile bitfield handling.
20017 2015-03-05 Martin Liska <mliska@suse.cz>
20020 * ipa-icf.c (sem_variable::equals): Compare variables types.
20022 2015-03-05 Richard Henderson <rth@redhat.com>
20025 * config/arm/arm.c (arm_function_in_section_p): Fix predicate to
20026 correctly check weak symbol binding.
20028 2015-03-05 Steve Ellcey <sellcey@imgtec.com>
20030 PR middle-end/65315
20031 * cfgexpand.c (expand_stack_vars): Update large_align to maximum
20034 2015-03-05 Martin Liska <mliska@suse.cz>
20036 * ipa-inline.c (inline_small_functions): Set default value to
20037 prevent warning during bootstrap.
20038 * tree.h: Add pragma guard that ignores false positives during
20041 2015-03-05 Richard Biener <rguenther@suse.de>
20043 PR tree-optimization/65310
20044 * tree-vect-data-refs.c (vect_compute_data_ref_alignment):
20045 Properly preserve alignment of the base of the access.
20047 2015-03-05 Richard Biener <rguenther@suse.de>
20050 * ipa-icf-gimple.c (func_checker::compare_memory_operand):
20051 Compare dependence info.
20053 2015-03-05 Richard Biener <rguenther@suse.de>
20055 PR middle-end/65233
20056 * ipa-polymorphic-call.c: Include tree-ssa-operands.h and
20058 (walk_ssa_copies): Revert last chage. Instead do not walk
20059 SSA names registered for SSA update.
20061 2015-03-03 Jan Hubicka <hubicka@ucw.cz>
20064 * ipa-icf.c (sem_item::compare_cgraph_references): Compare
20065 vtable references for their containing type.
20066 (sem_function::equals_wpa): Compare TYPE_RESTRICT
20067 and type attributes.
20069 2015-03-04 Eric Botcazou <ebotcazou@adacore.com>
20071 * fold-const.c (round_up_loc): Cast divisor to signed on all paths
20072 before negating it.
20073 * stor-layout.c (finalize_record_size): Revert latest change.
20075 2015-03-04 Andreas Tobler <andreast@gcc.gnu.org>
20077 * config/rs6000/t-freebsd64: Remove 32-bit soft-float multilibs.
20079 2015-03-03 Jan Hubicka <hubicka@ucw.cz>
20081 * cgraph.c (cgraph_node::can_remove_if_no_direct_calls_p): Rewrite
20082 for correct comdat handling.
20083 (cgraph_node::will_be_removed_from_program_if_no_direct_calls_p):
20085 * cgraph.h (call_for_symbol_and_aliases): Fix formating.
20086 (used_from_object_file_p_worker): Remove.
20087 (cgraph_node::only_called_directly_or_alised): Add
20088 used_from_object_file_p.
20089 * ipa-inline-analysis.c (growth_likely_positive): Optimie.
20090 * ipa-inline-transform.c (can_remove_node_now_p_1): Use
20091 can_remove_if_no_direct_calls_and_refs_p.
20093 2015-03-04 Nick Clifton <nickc@redhat.com>
20095 * config/rl78/rl78.h (enum reg_class): Remove real registers from
20096 General register class.
20097 * config/rl78/rl78-real.md: Replace general register constraints
20098 with real+virtual register constraints.
20100 2015-03-04 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
20102 * config/s390/s390.c (s390_expand_builtin): Exlude non-htm builtins
20103 from checking for -mhtm option.
20105 2015-03-03 Jan Hubicka <hubicka@ucw.cz>
20107 * tree-sra.c (convert_callers): Use call_for_symbol_and_aliases.
20108 (struct ipa_sra_check_caller_data): Add has_thunk field.
20109 (ipa_sra_check_caller): Check for thunk.
20110 (ipa_sra_preliminary_function_checks): Give up on function with
20112 (ipa_early_sra): Use call_for_symbol_and_aliases.
20114 2015-03-03 Kaz Kojima <kkojima@gcc.gnu.org>
20117 * config/sh/sh.md (symGOT_load): Use R0 reg for operands[2] when
20118 called for __stack_chk_guard symbol.
20120 2015-03-03 DJ Delorie <dj@redhat.com>
20122 * config/rl78/rl78-real.md (*addqi_real): Allow SADDR types for
20124 (*addhi3_real): Likewise.
20125 * config/rl78/rl78-virt.md (*inc<mode>3_virt): Additional
20126 pattern to match incrementing memory.
20127 * config/rl78/predicates.md (rl78_1_2_operand): New.
20128 * config/rl78/rl78.c (rl78_force_nonfar_3): Allow far mem-mem if
20129 it's the same and only mem.
20130 (rl78_alloc_physical_registers_op2): If there's effectively only
20131 one MEM, transcode it into HL.
20132 (rl78_far_p): Reject addresses that aren't legitimate.
20134 2015-03-03 Eric Botcazou <ebotcazou@adacore.com>
20136 * fold-const.c (round_up_loc): Cast divisor to HOST_WIDE_INT before
20139 * tree-sra.c (pa_sra_preliminary_function_checks): Fix typo in message.
20141 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
20143 Implement call0 ABI for xtensa
20144 * config/xtensa/constraints.md ("a" constraint): Include stack
20145 pointer in case of call0 ABI.
20146 ("q" constraint): Make empty in case of call0 ABI.
20147 ("D" constraint): Include stack pointer in case of call0 ABI.
20148 * config/xtensa/xtensa-protos.h (xtensa_set_return_address,
20149 xtensa_expand_epilogue, xtensa_regno_to_class): Add new function
20151 * config/xtensa/xtensa.c (xtensa_callee_save_size): New
20153 (xtensa_regno_to_class): Make it a local variable in the
20154 function xtensa_regno_to_class.
20155 (xtensa_function_epilogue, TARGET_ASM_FUNCTION_EPILOGUE): Remove
20156 macro, function prototype and implementation.
20157 (reg_nonleaf_alloc_order): Make it a local variable in the
20158 function order_regs_for_local_alloc.
20159 (xtensa_conditional_register_usage): New function.
20160 (TARGET_CONDITIONAL_REGISTER_USAGE): Define macro.
20161 (xtensa_valid_move): Allow direct moves to stack pointer
20162 register in call0 ABI.
20163 (xtensa_setup_frame_addresses): Only spill register windows in
20165 (xtensa_emit_call): Emit call(x)8 or call(x)0 in windowed and
20166 call0 ABI respectively.
20167 (xtensa_function_arg_1): Only mark a7 register for copying in
20169 (xtensa_call_save_reg): New function.
20170 (compute_frame_size): Add space for callee saved register
20171 storage to the frame size in call0 ABI.
20172 (xtensa_expand_prologue): Generate code to set up stack frame
20173 and save callee-saved registers in call0 ABI.
20174 (xtensa_expand_epilogue): New function.
20175 (xtensa_set_return_address): New function.
20176 (xtensa_return_addr): Calculate return address in call0 ABI.
20177 (xtensa_builtin_saveregs): Only mark a7 register for copying and
20178 emit copying code in windowed ABI.
20179 (order_regs_for_local_alloc): Add preferred register allocation
20180 order for non-leaf function in call0 ABI.
20181 (xtensa_static_chain): Add atatic chain passing for call0 ABI.
20182 (xtensa_asm_trampoline_template): Add trampoline generation for
20184 (xtensa_trampoline_init): Add trampoline initialization for
20186 (xtensa_conditional_register_usage, xtensa_regno_to_class): New
20188 * config/xtensa/xtensa.h (TARGET_WINDOWED_ABI): New macro.
20189 (TARGET_CPU_CPP_BUILTINS): Add built-in define for call0 ABI.
20190 (CALL_USED_REGISTERS): Modify to encode both windowed and call0
20191 ABI call-used registers.
20192 (HARD_FRAME_POINTER_REGNUM): Add frame pointer for call0 ABI.
20193 (INCOMING_REGNO, OUTGOING_REGNO): Use argument unchanged in
20195 (REG_CLASS_CONTENTS): Include all registers into the preferred
20196 reload registers set, adjust the set in the
20197 xtensa_conditional_register_usage.
20198 (xtensa_regno_to_class): Drop variable declaration.
20199 (REGNO_REG_CLASS): Redefine to use xtensa_regno_to_class
20201 (WINDOW_SIZE): Define as 8 or 0 for windowed and call0 ABI
20203 (FUNCTION_PROFILER): Add _mcount call for call0 ABI.
20204 (TRAMPOLINE_SIZE): Define trampoline size for call0 ABI.
20205 (RETURN_ADDR_IN_PREVIOUS_FRAME): Define to 0 in call0 ABI.
20206 (ASM_OUTPUT_POOL_PROLOGUE): Always generate literal pool
20207 location in call0 ABI.
20208 (EH_RETURN_STACKADJ_RTX): New definition, use a10 for passing
20209 stack adjustment size when handling exception.
20210 (CRT_CALL_STATIC_FUNCTION): Add definition for call0 ABI.
20211 * config/xtensa/xtensa.md (A9_REG, UNSPECV_BLOCKAGE): New
20213 ("return" pattern): Generate ret.n/ret in call0 ABI.
20214 ("epilogue" pattern): Expand epilogue.
20215 ("nonlocal_goto" pattern): Use default in call0 ABI.
20216 ("eh_return" pattern): Move implementation to eh_set_a0_windowed,
20217 emit eh_set_a0_* depending on ABI.
20218 ("eh_set_a0_windowed" pattern): Former eh_return pattern.
20219 ("eh_set_a0_call0", "blockage"): New patterns.
20221 2015-03-03 Martin Liska <mliska@suse.cz>
20224 * ipa-icf.c (sem_variable::parse): Skip all alias variables.
20226 2015-03-03 Michael Meissner <meissner@linux.vnet.ibm.com>
20229 * config/rs6000/rs6000-tables.opt: Regenerate table.
20231 2015-03-03 Renlin Li <renlin.li@arm.com>
20233 * doc/md.texi (@item ^): Change ? into ^.
20235 2015-03-03 H.J. Lu <hongjiu.lu@intel.com>
20237 * doc/tm.texi: Regenerated.
20239 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
20241 * builtins.c (expand_builtin_return_addr): Add
20242 RETURN_ADDR_IN_PREVIOUS_FRAME to 'if' condition, remove
20243 surrounding #ifdef.
20244 * config/sparc/sparc.h (RETURN_ADDR_IN_PREVIOUS_FRAME): Change
20246 * config/xtensa/xtensa.h (RETURN_ADDR_IN_PREVIOUS_FRAME):
20248 * defaults.h (RETURN_ADDR_IN_PREVIOUS_FRAME): Define to 0 if
20250 * doc/tm.texi.in (RETURN_ADDR_IN_PREVIOUS_FRAME): Update
20253 2015-03-03 Martin Jambor <mjambor@suse.cz>
20254 Eric Botcazou <ebotcazou@adacore.com>
20256 * tree-sra.c (ipa_sra_check_caller_data): New type.
20257 (has_caller_p): Removed.
20258 (ipa_sra_check_caller): New function.
20259 (ipa_sra_preliminary_function_checks): Use it.
20261 2015-03-03 Martin Liska <mliska@suse.cz>
20263 * ipa-icf.c (sem_item_optimizer::merge_classes): Use bit or
20264 instead of if branch.
20266 2015-03-03 Martin Liska <mliska@suse.cz>
20269 * ipa-icf.c (sem_variable::equals): Fix wrong condition.
20271 2015-03-23 Jeff Law <law@redhat.com>
20273 PR tree-optimization/65241
20274 * tree-ssa-dom.c (lookup_avail_expr): Only modify the avail_expr
20275 hash table if INSERT is true.
20277 2015-03-03 Georg-Johann Lay <avr@gjlay.de>
20280 * config.gcc (extra_gcc_objs) [avr-*-rtems*]: Remove.
20282 2015-03-03 Georg-Johann Lay <avr@gjlay.de>
20285 * config/avr/avr.c (context.h, tree-pass.h): Include them.
20286 (avr_pass_data_recompute_notes): New static variable.
20287 (avr_pass_recompute_notes): New class.
20288 (avr_register_passes): New static function.
20289 (avr_option_override): Call it.
20291 2015-03-03 Georg-Johann Lay <avr@gjlay.de>
20293 Fix various problems with specs file generation.
20296 * config.gcc (extra_gcc_objs) [avr]: Remove.
20297 * config/avr/driver-avr.c: Remove file.
20298 * config/avr/t-avr (driver-avr.o): Remove rule.
20299 (gen-avr-mmcu-specs): Use CXX_FOR_BUILD, CXXFLAGS_FOR_BUILD and
20300 INCLUDES to build. Depend on TM_H.
20301 * config/avr/gen-avr-mmcu-specs.c: Tidy up code. Fix various
20302 build warnings. Fix non-matching types and non-existing %-codes.
20304 (*lib) [!WITH_AVRLIBC]: Don't link libdev.a.
20305 (*libgcc) [WITH_AVRLIBC]: Add "-lm".
20306 * config/avr/avrlibc.h (LIBGCC_SPEC): Remove definition.
20307 * config/avr/avr.h (DRIVER_SELF_SPECS): Fix handling of -march=.
20308 (CPP_SPEC, CC1PLUS_SPEC, ASM_SPEC, LINK_SPEC, LIB_SPEC)
20309 (LIBGCC_SPEC): Remove definitions.
20311 2015-03-03 Eric Botcazou <ebotcazou@adacore.com>
20313 * config/ia64/ia64.c (expand_vec_perm_interleave_2): Use gen_raw_REG
20314 to create a register in testing mode.
20316 2015-03-03 Martin Liska <mliska@suse.cz>
20317 Jan Hubicka <hubicka@ucw.cz>
20320 * cgraph.c (cgraph_node::has_thunk_p): New function.
20321 * cgraph.h (cgraph_node::has_thunk_p: Likewise.
20322 * ipa-icf.c (redirect_all_callers): Do not redirect thunks.
20323 (sem_function::merge): Assert is changed.
20325 2015-03-03 Martin Liska <mliska@suse.cz>
20326 Martin Jambor <mjambor@suse.cz>
20329 * ipa-icf.c (sem_item_optimizer::execute): Change function
20330 return value to boolean.
20331 (sem_item_optimizer::merge_classes): Likewise.
20332 (ipa_icf_driver): Return TODO_remove_functions in case there's
20333 a merge operation processed.
20334 * ipa-icf.h: Change function return value to boolean.
20336 2015-03-02 Michael Meissner <meissner@linux.vnet.ibm.com>
20339 * config/rs6000/rs6000-cpus.def (powerpc64le): Add new generic
20340 processor type for 64-bit little endian PowerPC.
20342 * config/rs6000/rs6000.c (rs6000_option_override_internal): If
20343 -mdebug=reg, print TARGET_DEFAULT. Fix logic to use
20344 TARGET_DEFAULT if there is no default cpu. Fix -mdebug=reg
20345 printing built-in mask so it does not pass NULL pointers.
20347 * doc/invoke.texi (IBM RS/6000 and PowerPC options): Document
20350 2015-03-02 Steve Ellcey <sellcey@imgtec.com>
20353 * config/mips/mips.md (mov<mode>cc): Change ISA_HAS_SEL check to
20354 !ISA_HAS_FP_CONDMOVE.
20356 2015-03-02 Aldy Hernandez <aldyh@redhat.com>
20358 * config/i386/i386.md (*udivmod<mode>4_pow2): Remove
20361 2015-03-02 Ulrich Drepper <drepper@gmail.com>
20363 * doc/invoke.texi (Options for Code Generation Conventions):
20364 Fix URL of DSO paper.
20366 2015-03-02 Jan Hubicka <hubicka@ucw.cz>
20369 * ipa-inline.c (check_callers): Looks for recursion.
20370 (inline_to_all_callers): Give up on uninlinable or recursive edges.
20371 * ipa-inline-analysis.c (inline_summary_t::duplicate): Do not update
20372 summary of inline clones.
20373 (do_estimate_growth_1): Fix recursion check.
20375 2015-03-02 Jan Hubicka <hubicka@ucw.cz>
20378 * ipa-inline-transform.c (clone_inlined_nodes): Do not dissolve
20381 2015-03-02 Jan Hubicka <hubicka@ucw.cz>
20382 Aldy Hernandez <aldyh@redhat.com>
20385 * ipa-devirt.c (add_type_duplicate): Remove odr_violated assert
20386 when checking TYPE_BINFO.
20388 2015-03-02 Richard Biener <rguenther@suse.de>
20391 * ipa-icf-gimple.c: Include builtins.h.
20392 (func_checker::compare_memory_operand): Compare base alignment.
20394 2015-03-02 Ilya Enkovich <ilya.enkovich@intel.com>
20397 * gcc/config/i386/i386.c (ix86_pass_by_reference) Bounds
20398 are never passed by reference.
20400 2015-03-02 Ilya Enkovich <ilya.enkovich@intel.com>
20403 * tree-chkp.c (chkp_check_lower): Don't check against
20404 zero bounds for already instrumented functions.
20405 (chkp_check_upper): Likewise.
20406 (chkp_fini): Clean pass local data to avoid wrong reusage.
20408 2015-02-28 Martin Liska <mliska@suse.cz>
20409 Jan Hubicka <hubicka@ucw.cz>
20411 * ipa-icf.c (sem_variable::equals): Improve debug output;
20412 get variable constructor.
20413 (sem_variable::parse): Do not filter out too early; give up on
20414 volatile and register vars.
20415 (sem_item_optimizer::filter_removed_items): Filter out nonreadonly
20417 * ipa-icf.h (sem_variable::init): Do not set ctor.
20418 (sem_variable::ctor): Remove.
20420 2015-03-01 Aldy Hernandez <aldyh@redhat.com>
20422 PR middle-end/65233
20423 * ipa-polymorphic-call.c (walk_ssa_copies): Handle empty PHIs.
20425 2015-02-28 Jan Hubicka <hubicka@ucw.cz>
20427 * ipa-icf.c: Include stor-layout.h
20428 (sem_function::compare_cgraph_references): Rename to ...
20429 (sem_item::compare_cgraph_references): ... this one.
20430 (sem_variable::equals_wpa): New function
20431 (sem_variable::equals): Do not check stuff already verified by
20433 (sem_variable::equals): Reorg based on varasm.c:compare_constant.
20434 * ipa-icf.h (sem_item): Add compare_cgraph_references.
20435 (sem_function): Remove compare_cgraph_references.
20436 (sem_variable): Turns equals_wpa into non-inline.
20438 2015-02-28 Jan Hubicka <hubicka@ucw.cz>
20440 * ipa-icf.c (sem_function::init): Fix formating; skip GIMPLE_PREDICT.
20441 (sem_item::add_expr): New function.
20442 (sem_function::hash_stmt): Handle operands of most statements.
20443 (sem_variable::get_hash): Hash the actual constructor.
20444 * ipa-icf.h (sem_item): Add add_expr.
20445 (sem_function): Update prototype of hash_stmt
20447 2015-02-28 Martin Liska <mliska@suse.cz>
20448 Jan Hubicka <hubicka@ucw.cz>
20451 * ipa-icf-gimple.c (func_checker::compare_function_decl):
20453 (func_checker::compare_variable_decl): Skip symtab vars.
20454 (func_checker::compare_cst_or_decl): Update.
20455 * ipa-icf.c (sem_function::parse): Do not consider aliases.
20456 (sem_function::compare_cgraph_references): Add ADDRESS parameter;
20457 use correct symtab predicates.
20458 (sem_function::equals_wpa): Update uses of compare_cgraph_references.
20459 (sem_variable::parse): Update comment.
20460 (sem_item_optimizer::build_graph): Consider ultimate aliases
20463 2015-02-28 Jan Hubicka <hubicka@ucw.cz>
20465 * ipa-icf-gimple.c (func_checker::compare_operand): Fix handling
20468 2015-02-28 Jan Hubicka <hubicka@ucw.cz>
20470 * ipa-icf.c (sem_function::merge): Fix handling of COMDAT.
20471 (sem_variable::merge) Likewise.
20473 2015-02-28 Jan Hubicka <hubicka@ucw.cz>
20475 * ipa-inline.c (can_inline_edge_p): Match opt_for_fn on inline
20476 target; also match flag_ipa_devirt.
20478 2015-03-01 Martin Liska <mliska@suse.cz>
20479 Jan Hubicka <hubicka@ucw.cz>
20481 * ipa-icf-gimple.c (func_checker::compare_variable_decl):
20482 Validate variable alignment.
20483 * ipa-icf.c (sem_function::equals_private): Be more precise
20484 about non-common function attributes.
20485 (sem_variable::equals): Likewise.
20487 2015-02-28 Jan Hubicka <hubicka@ucw.cz>
20490 * ipa-icf.c (sem_function::merge): Do not attempt to produce alias
20491 across COMDAT group boundary.
20493 2015-02-28 Jan Hubicka <hubicka@ucw.cz>
20496 * ipa-icf.c (clear_decl_rtl): New function.
20497 (sem_function::merge): Clear RTL before forming alias.
20498 (sem_variable::merge): Clear RTL before forming alias.
20500 2015-02-28 Jan Hubicka <hubicka@ucw.cz>
20503 * cgraphunit.c (cgraph_node::expand_thunk): Enable return slot opt.
20505 2015-02-28 Xingxing Pan <xxingpan@marvell.com>
20507 * config/aarch64/aarch64.md: (mov<mode>_aarch64): Change type
20510 2015-02-27 Vladimir Makarov <vmakarov@redhat.com>
20512 * params.def (PARAM_LRA_INHERITANCE_EBB_PROBABILITY_CUTOFF): Fix
20513 a typo in the description.
20515 2015-02-27 Vladimir Makarov <vmakarov@redhat.com>
20518 * params.def (PARAM_LRA_INHERITANCE_EBB_PROBABILITY_CUTOFF): New.
20519 * params.h (LRA_INHERITANCE_EBB_PROBABILITY_CUTOFF): New.
20520 * lra-constraints.c: Include "params.h".
20521 (EBB_PROBABILITY_CUTOFF): Use
20522 LRA_INHERITANCE_EBB_PROBABILITY_CUTOFF.
20523 (lra_inheritance): Use '<' instead of '<=' for
20524 EBB_PROBABILITY_CUTOFF.
20525 * doc/invoke.texi (lra-inheritance-ebb-probability-cutoff):
20528 2015-02-27 Martin Liska <mliska@suse.cz>
20530 * ipa-icf.h (struct symbol_compare_hashmap_traits): Add missing
20531 vector length condition.
20533 2015-02-27 Sandra Loosemore <sandra@codesourcery.com>
20535 * doc/extend.texi (x86 transactional memory intrinsics):
20536 Reorganize discussion of _xbegin. Clarify that the return
20537 value is a bit mask. Expand example and move to end of section.
20539 2015-02-26 Jakub Jelinek <jakub@redhat.com>
20540 Aldy Hernandez <aldyh@redhat.com>
20542 PR rtl-optimization/65220
20543 * config/i386/i386.md (*udivmod<mode>4_pow2): New.
20545 2015-02-27 Vladimir Makarov <vmakarov@redhat.com>
20548 * lra-remat.c (update_scratch_ops): New.
20549 (do_remat): Call it.
20550 * lra.c (lra_register_new_scratch_op): New. Take code from ...
20551 (remove_scratches): ... here.
20552 * lra-int.h (lra_register_new_scratch_op): New prototype.
20554 2015-02-27 Marek Polacek <polacek@redhat.com>
20557 * doc/invoke.texi: Update to reflect that -Wformat=2 doesn't enable
20558 -Wformat-signedness anymore.
20560 2015-02-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20562 * config/s390/s390.c: (s390_atomic_assign_expand_fenv): New
20564 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define macro.
20566 2015-02-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20568 * config/s390/s390.c (enum s390_builtin):
20569 Add S390_BUILTIN_S390_SFPC and S390_BUILTIN_S390_EFPC.
20570 (code_for_builtin): Add CODE_FOR_s390_sfpc and CODE_FOR_s390_efpc.
20571 (s390_init_builtins): Generate new builtin functions.
20572 * config/s390/s390.md (UNSPECV_SFPC, UNSPECV_EFPC): New constants.
20573 (s390_sfpc, s390_efpc): New pattern definitions.
20575 2015-02-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20577 * config/s390/s390.c: (enum s390_builtin, s390_expand_builtin):
20578 Rename S390_BUILTIN_max to S390_BUILTIN_MAX.
20579 (s390_builtin_decls): New array.
20580 (s390_init_builtins): Put builtin decls into s390_builtin_decls.
20581 (s390_builtin_decl): New function.
20582 (TARGET_BUILTIN_DECL): Define macro.
20584 2015-02-27 Richard Biener <rguenther@suse.de>
20586 PR middle-end/63175
20587 * builtins.c (get_object_alignment_2): Make sure to re-apply
20588 the ANDed mask after recursing to its operand gets us a new
20589 misalignment bit position.
20591 2015-02-26 Jan Hubicka <hubicka@ucw.cz>
20592 Martin Liska <mliska@suse.cz>
20595 * ipa-icf.c (symbol_compare_collection::symbol_compare_colleciton):
20596 Use address_matters_p.
20597 (redirect_all_callers, set_addressable): New functions.
20598 (sem_function::merge): Reorganize and fix merging issues.
20599 (sem_variable::merge): Likewise.
20600 (sem_variable::compare_sections): Remove.
20601 * common.opt (fmerge-all-constants, fmerge-constants): Remove
20603 * symtab.c (symtab_node::resolve_alias): When alias has aliases,
20605 (symtab_node::make_decl_local): Set ADDRESSABLE bit when
20607 (address_matters_1): New function.
20608 (symtab_node::address_matters_p): New function.
20609 * cgraph.c (cgraph_edge::verify_corresponds_to_fndecl): Fix
20610 check for merged flag.
20611 * cgraph.h (address_matters_p): Declare.
20612 (symtab_node::address_taken_from_non_vtable_p): Remove.
20613 (symtab_node::address_can_be_compared_p): New method.
20614 (ipa_ref::address_matters_p): Move here from ipa-ref.c; simplify.
20615 * ipa-visibility.c (symtab_node::address_taken_from_non_vtable_p):
20617 (comdat_can_be_unshared_p_1) Use address_matters_p.
20618 (update_vtable_references): Fix formating.
20619 * ipa-ref.c (ipa_ref::address_matters_p): Move inline.
20620 * cgraphunit.c (cgraph_node::create_wrapper): Drop UNINLINABLE flag.
20621 * cgraphclones.c: Preserve merged and icf_merged flags.
20623 2015-02-26 Sandra Loosemore <sandra@codesourcery.com>
20625 * doc/extend.texi (Function Attributes): Fix spelling and typos.
20626 (Label Attributes): Likewise.
20627 (Cilk Plus Builtins): Likewise.
20628 (ARC SIMD Built-in Functions): Likewise.
20629 (ARM C Language Extensions (ACLE)): Likewise.
20630 (PowerPC Built-in Functions): Likewise.
20631 (PowerPC Hardware Transactional Memory Built-in Functions):
20634 2015-02-26 Jakub Jelinek <jakub@redhat.com>
20636 PR tree-optimization/65216
20637 * tree-ssa-reassoc.c (rewrite_expr_tree): Force creation of
20638 new stmt and new SSA_NAME for lhs whenever the arguments have
20639 changed and weren't just swapped. Fix comment typo.
20641 PR tree-optimization/65215
20642 * tree-ssa-math-opts.c (find_bswap_or_nop_load): Return false
20643 for PDP endian targets.
20644 (perform_symbolic_merge, find_bswap_or_nop_1, find_bswap_or_nop):
20645 Fix up formatting issues.
20646 (bswap_replace): Likewise. For BYTES_BIG_ENDIAN, if the final access
20647 size is smaller than the original, adjust MEM_REF offset by the
20648 difference of sizes. Use is_gimple_mem_ref_addr instead of
20649 is_gimple_min_invariant test to avoid adding address temporaries.
20651 2015-02-26 Martin Liska <mliska@suse.cz>
20652 Jan Hubicka <hubicka@ucw.cz>
20655 * ipa-icf.c (symbol_compare_collection::symbol_compare_collection): New.
20656 (sem_item_optimizer::subdivide_classes_by_sensitive_refs): New function.
20657 (sem_item_optimizer::process_cong_reduction): Include division by
20658 sensitive references.
20659 * ipa-icf.h (struct symbol_compare_hashmap_traits): New class.
20660 * ipa-ref.c (ipa_ref::address_matters_p): New function.
20661 * ipa-ref.h (ipa_ref::address_matters_p): Likewise.
20663 2015-02-26 Georg-Johann Lay <avr@gjlay.de>
20666 * config/avr/avr-protos.h (tiny_valid_direct_memory_access_range):
20668 * config/avr/avr.c: Same.
20669 (avr_legitimate_address_p) <AVR_TINY, CONSTANT_ADDRESS_P>:
20670 Refuse any constant address not in 0..0xbf.
20671 * config/avr/avr.md (*mov<mode>, *movsf): Remove
20672 tiny_valid_direct_memory_access_range from insn conditions.
20673 (mov<mode>): Don't special-case expansion of avrtiny addresses.
20675 2015-02-26 Oleg Endo <olegendo@gcc.gnu.org>
20678 * config/sh/sh.c (sh_check_add_incdec_notes): New function.
20679 * config/sh/sh-protos.h (sh_check_add_incdec_notes): Declare it.
20680 * config/sh/predicates.md (const_logical_operand): New predicate.
20681 * config/sh/sh.md: Add new peephole2 patterns.
20683 2015-02-26 Marek Polacek <polacek@redhat.com>
20686 * ipa-inline.c (early_inliner): Recompute inline parameters.
20688 2015-02-26 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
20691 * config/rs6000/rs6000.c (rs6000_analyze_swaps): Ensure
20692 instructions with TImode operands are included in the analysis.
20694 2015-02-26 Sebastian Pop <s.pop@samsung.com>
20696 * tree-ssa-threadupdate.c (dump_jump_thread_path): Print all edges
20697 of an EDGE_FSM_THREAD.
20699 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20701 * config/rs6000/htm.md (tcheck): Fix assembly encoding.
20703 2015-02-25 Aldy Hernandez <aldyh@redhat.com>
20706 * dwarf2out.c (dwarf2out_init): Disable -feliminate-dwarf2-dups.
20708 2015-02-26 Sebastian Pop <s.pop@samsung.com>
20710 PR tree-optimization/65048
20711 * tree-ssa-threadupdate.c (valid_jump_thread_path): New.
20712 (thread_through_all_blocks): Call valid_jump_thread_path.
20713 Remove invalid FSM jump-thread paths.
20715 2015-02-26 Jakub Jelinek <jakub@redhat.com>
20717 * passes.c (ipa_write_summaries_1): Call lto_output_init_mode_table.
20718 (ipa_write_optimization_summaries): Likewise.
20719 * tree-streamer.h: Include data-streamer.h.
20720 (streamer_mode_table): Declare extern variable.
20721 (bp_pack_machine_mode, bp_unpack_machine_mode): New inline functions.
20722 * lto-streamer-out.c (lto_output_init_mode_table,
20723 lto_write_mode_table): New functions.
20724 (produce_asm_for_decls): Call lto_write_mode_table when streaming
20726 * lto-section-in.c (lto_section_name): Add "mode_table" entry.
20727 (lto_create_simple_input_block): Add mode_table argument to the
20728 lto_input_block constructors.
20729 * ipa-prop.c (ipa_prop_read_section, read_replacements_section):
20731 * data-streamer-in.c (string_for_index): Likewise.
20732 * ipa-inline-analysis.c (inline_read_section): Likewise.
20733 * ipa-icf.c (sem_item_optimizer::read_section): Likewise.
20734 * lto-cgraph.c (input_cgraph_opt_section): Likewise.
20735 * lto-streamer-in.c (lto_read_body_or_constructor,
20736 lto_input_toplevel_asms): Likewise.
20737 (lto_input_mode_table): New function.
20738 * tree-streamer-out.c (pack_ts_fixed_cst_value_fields,
20739 pack_ts_decl_common_value_fields, pack_ts_type_common_value_fields):
20740 Use bp_pack_machine_mode.
20741 * real.h (struct real_format): Add name field.
20742 * lto-streamer.h (enum lto_section_type): Add LTO_section_mode_table.
20743 (class lto_input_block): Add mode_table member.
20744 (lto_input_block::lto_input_block): Add mode_table_ argument,
20745 initialize mode_table.
20746 (struct lto_file_decl_data): Add mode_table field.
20747 (lto_input_mode_table, lto_output_init_mode_table): New prototypes.
20748 * tree-streamer-in.c (unpack_ts_fixed_cst_value_fields,
20749 unpack_ts_decl_common_value_fields,
20750 unpack_ts_type_common_value_fields): Call bp_unpack_machine_mode.
20751 * tree-streamer.c (streamer_mode_table): New variable.
20752 * real.c (ieee_single_format, mips_single_format,
20753 motorola_single_format, spu_single_format, ieee_double_format,
20754 mips_double_format, motorola_double_format,
20755 ieee_extended_motorola_format, ieee_extended_intel_96_format,
20756 ieee_extended_intel_128_format, ieee_extended_intel_96_round_53_format,
20757 ibm_extended_format, mips_extended_format, ieee_quad_format,
20758 mips_quad_format, vax_f_format, vax_d_format, vax_g_format,
20759 decimal_single_format, decimal_double_format, decimal_quad_format,
20760 ieee_half_format, arm_half_format, real_internal_format): Add name
20762 * config/pdp11/pdp11.c (pdp11_f_format, pdp11_d_format): Likewise.
20764 2015-02-26 Yuri Rumyantsev <ysrumyan@gmail.com>
20767 * config/i386/i386.c (ix86_sched_reorder): Skip instruction
20768 reordering for selective scheduling.
20770 2015-02-26 Terry Guo <terry.guo@arm.com>
20772 * config/arm/arm-cores.def (cortex-m7): Add flag FL_NO_VOLATILE_CE.
20773 * config/arm/arm-protos.h (FL_NO_VOLATILE_CE): New flag.
20774 (arm_arch_no_volatile_ce): Declare new global variable.
20775 * config/arm/arm.c (arm_arch_no_volatile_ce): New global variable.
20776 (arm_option_override): Assign value to arm_arch_no_volatile_ce.
20777 * config/arm/arm.h (arm_arch_no_volatile_ce): Declare it.
20778 (TARGET_NO_VOLATILE_CE): New macro.
20779 * config/arm/arm.md (arm_comparison_operator): Disabled if not allow
20780 volatile memory access in IT block
20782 2015-02-25 Kai Tietz <ktietz@redhat.com>
20784 PR tree-optimization/61917
20785 * tree-vect-loop.c (vectorizable_reduction): Handle obvious case
20786 that reduc_def_stmt is null.
20788 2015-02-25 Martin Liska <mliska@suse.cz>
20790 * ipa-icf-gimple.c (func_checker::compare_variable_decl): Compare
20791 hard register variables.
20793 2015-02-25 Kai Tietz <ktietz@redhat.com>
20796 * symtab.c (symtab::make_decl_local): Set DECL_IMPORT_P explicit to 0.
20797 (symtab::noninterposable_alias): Likewise.
20799 2015-02-25 Ilya Enkovich <ilya.enkovich@intel.com>
20802 * gcc/config/i386/i386.c (ix86_function_arg_regno_p): Support
20804 (avoid_func_arg_motion): Add dependencies for BNDSTX insns.
20806 2015-02-25 Alan Lawrence <alan.lawrence@arm.com>
20809 * config/aarch64/aarch64.md (*xor_one_cmpl<mode>3): Use FP_REGNUM_P
20810 as split condition; force split via '#' in output pattern.
20812 2015-02-25 Richard Biener <rguenther@suse.de>
20813 Kai Tietz <ktietz@redhat.com>
20815 PR tree-optimization/61917
20816 * tree-vect-loop.c (vectorizable_reduction): Allow
20817 vect_internal_def without reduction to exit graceful.
20819 2015-02-25 Georg-Johann Lay <avr@gjlay.de>
20822 * config/avr/avr.c (avr_adjust_insn_length): Call recog_memoized
20823 only with NONDEBUG_INSN_P.
20825 2015-02-25 Georg-Johann Lay <avr@gjlay.de>
20827 Use variadic macros with avr-log.c.
20829 * config/avr/avr-protos.h (avr_vdump): New prototype.
20830 (avr_log_set_caller_e, avr_log_set_caller_f): Remove protos.
20831 (avr_edump, avr_fdump, avr_dump): (Re)define to use avr_vdump.
20832 * config/avr/avr-log.c: Adjust comments.
20833 (avr_vdump): New function.
20834 (avr_vadump): Pass caller as 2nd argument instead of format string.
20835 (avr_log_caller, avr_log_fdump_e, avr_log_fdump_f)
20836 (avr_log_set_caller_e, avr_log_set_caller_f): Remove.
20838 2015-02-25 Jakub Jelinek <jakub@redhat.com>
20841 * target.def (target_option_stream_in): New target hook.
20842 * tree-streamer-in.c (streamer_read_tree_bitfields): Invoke
20843 targetm.target_option.post_stream_in if non-NULL.
20844 * doc/tm.texi.in: Add @hook TARGET_OPTION_POST_STREAM_IN.
20845 * doc/tm.texi: Updated.
20846 * config/i386/i386.c (ix86_function_specific_post_stream_in): New
20848 (TARGET_OPTION_POST_STREAM_IN): Redefine.
20850 2015-02-24 Jeff Law <law@redhat.com>
20853 * config/xtensa/xtensa.md (zero_cost_loop_start): Reverse numbering
20854 of operand 0 and operand 2.
20855 (zero_cost_loop_end, loop_end): Similarly.
20857 2015-02-24 Aldy Hernandez <aldyh@redhat.com>
20859 * gimple.h (gimple_build_assign): Rename CXX_MEM_STAT_DECL to
20862 2015-02-24 DJ Delorie <dj@redhat.com>
20864 * config/rl78/rl78-protos.h (rl78_split_movsi): Accept a mode as well.
20865 * config/rl78/rl78-expand.md (movsf): New, same as movsi.
20866 * config/rl78/rl78.c (rl78_split_movsi): Accept a mode, use it
20867 instead of hardcoding SImode.
20869 2015-02-24 Bernd Schmidt <bernds@codesourcery.com>
20871 * omp-low.c (create_omp_child_function): Tag entrypoint
20872 functions with a special attribute.
20874 2015-02-24 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
20877 * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Drop unused variable.
20879 2015-02-24 Vladimir Makarov <vmakarov@redhat.com>
20881 PR rtl-optimization/65123
20882 * lra-remat.c (operand_to_remat): Check hard regs in insn
20885 2015-02-24 Nick Clifton <nickc@redhat.com>
20887 * config/v850/v850.h (ASM_SPEC): Pass -msoft-float/-mhard-float on
20890 2015-02-24 Thomas Schwinge <thomas@codesourcery.com>
20893 * omp-builtins.def (BUILT_IN_GOACC_DATA_START): Specify as
20894 BT_FN_VOID_INT_SIZE_PTR_PTR_PTR, not
20895 BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR.
20896 (BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_UPDATE): Specify as
20897 BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_INT_INT_VAR, not
20898 BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR_INT_INT_VAR.
20899 (BUILT_IN_GOACC_PARALLEL): Specify as
20900 BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR, not
20901 BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR.
20902 * builtin-types.def
20903 (BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR_INT_INT_VAR)
20904 (BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR):
20905 Remove function types.
20906 (BT_FN_VOID_INT_SIZE_PTR_PTR_PTR)
20907 (BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_INT_INT_VAR)
20908 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR):
20909 New function types.
20911 2015-02-24 Georg-Johann Lay <avr@gjlay.de>
20913 * config/avr/stdfix.h [__WITH_AVRLIBC__]: Include <stdfix-avrlibc.h>.
20915 2015-02-24 Jakub Jelinek <jakub@redhat.com>
20917 PR tree-optimization/65170
20918 * wide-int.cc (wi::mul_internal): For the umul_ppmm optimization,
20919 if val[1] < 0, clear also val[2] and return 3.
20921 2015-02-24 Alan Modra <amodra@gmail.com>
20924 * config/rs6000/rs6000.c (get_memref_parts): Only return true
20925 when *base is a reg. Handle nested plus addresses. Simplify
20928 2015-02-22 Max Filippov <jcmvbkbc@gmail.com>
20930 * config/xtensa/xtensa.h (CONSTANT_ALIGNMENT, DATA_ALIGNMENT):
20931 use natural alignment when optimizing for size.
20933 2015-02-23 Kaz Kojima <kkojima@gcc.gnu.org>
20936 * config/sh/sh.md (movsicc_true+3): Remove peephole.
20937 * config/sh/sh-protos.h (replace_n_hard_rtx): Don't declare.
20938 * config/sh/sh.c (replace_n_hard_rtx): Remove.
20940 2015-02-23 Richard Sandiford <richard.sandiford@arm.com>
20943 * wide-int.cc (wi::from_mpz): Cope with unwrapped values that are
20944 too big for a wide_int. Implement missing wrapping operation.
20946 2015-02-23 Oleg Endo <olegendo@gcc.gnu.org>
20949 * config/sh/sh.md (swapbsi2, related peephole2): Use const_int -65536
20950 instead of const_int 4294901760.
20952 2015-02-23 Georg-Johann Lay <avr@gjlay.de>
20954 * config/avr/t-avr: Fix typo in comment.
20956 2015-02-21 Richard Sandiford <richard.sandiford@arm.com>
20958 * doc/rtl.texi (fma): Clarify documentation.
20960 2015-02-20 Aldy Hernandez <aldyh@redhat.com>
20963 * gimplify.c (gimplify_expr): Prefer location of TRY_FINALLY_EXPR
20964 over input_location.
20966 2015-02-20 Bernd Schmidt <bernds@codesourcery.com>
20968 * tree-streamer-in.c (unpack_ts_decl_common_value_fields,
20969 unpack_ts_type_common_value_fields): If ACCEL_COMPILER,
20970 restrict alignments to absolute_biggest_alignment.
20971 * config/i386/i386.c (TARGET_ABSOLUTE_BIGGEST_ALIGNMENT):
20973 * doc/tm.texi.in (TARGET_ABSOLUTE_BIGGEST_ALIGNMENT): Add.
20974 * doc/tm.texi: Regenerate.
20975 * target.def (absolute_biggest_alignment): New DEFHOOKPOD.
20977 2015-02-20 Vladimir Makarov <vmakarov@redhat.com>
20980 * ira-color.c (color_pass): Prevent splitting multi-register pseudos.
20982 2015-02-20 Richard Biener <rguenther@suse.de>
20984 PR tree-optimization/65136
20985 * tree-ssa-propagate.c: Include cfgloop.h.
20986 (replace_phi_args_in): Avoid replacing loop latch edge PHI
20987 arguments with constants.
20989 2015-02-20 Jakub Jelinek <jakub@redhat.com>
20990 Martin Liska <mliska@suse.cz>
20993 * ipa-icf.c (sem_function::merge): If DECL_COMDAT_GROUP (alias->decl),
20994 don't try to create_thunk if stdarg_p. If
20995 !sem_item::target_supports_symbol_aliases_p (), similarly, and try to
20996 redirect_callers if possible.
20997 (sem_item_optimizer::execute): Call unregister_hooks here...
20998 (ipa_icf_driver): ... instead of here.
21000 2015-02-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
21002 * config/aarch64/aarch64.md (*aarch64_lshr_sisd_or_int_<mode>3):
21003 Mark operand 0 as earlyclobber in 2nd alternative.
21004 (1st define_split below *aarch64_lshr_sisd_or_int_<mode>3):
21005 Write negated shift amount into QI lowpart operand 0 and use it
21007 (2nd define_split below *aarch64_lshr_sisd_or_int_<mode>3): Likewise.
21009 2015-02-20 Bernd Schmidt <bernds@codesourcery.com>
21011 * cgraph.h (clone_function_name_1): Declare.
21012 * cgraphclones.c (clone_function_name_1): New function.
21013 (clone_function_name): Use it.
21014 * lto-partition.c: Include "stringpool.h".
21015 (must_not_rename, maybe_rewrite_identifier)
21016 (validize_symbol_for_target): New static functions.
21017 (privatize_symbol_name): Use must_not_rename.
21018 (promote_symbol): Call validize_symbol_for_target.
21019 (lto_promote_cross_file_statics): Likewise.
21020 (lto_promote_statics_nonwpa): Likewise.
21022 2015-02-20 Georg-Johann Lay <avr@gjlay.de>
21025 * config/avr/avr.md (pushhi_insn): New insn.
21026 (push<mode>1): Push virtual regs in one chunk using pushhi1_insn.
21028 2015-02-20 Bernd Schmidt <bernds@codesourcery.com>
21029 Jakub Jelinek <jakub@redhat.com>
21031 * tree-streamer.c (preload_common_nodes): Don't preload
21032 TI_VA_LIST* for offloading.
21033 * tree-stdarg.c (pass_stdarg::gate): Disable for ACCEL_COMPILER
21036 2015-02-19 John David Anglin <danlgin@gcc.gnu.org>
21038 * config/pa/pa.c (pa_emit_move_sequence): Always force
21039 (const (plus (symbol) (const_int))) to const mem. Put REG_EQUAL
21042 * config/pa/pa.c (pa_reloc_rw_mask): New function.
21043 (TARGET_ASM_RELOC_RW_MASK): Define.
21044 (pa_cannot_force_const_mem): Revert previous change.
21046 2015-02-19 Martin Jambor <mjmabor@suse.cz>
21047 Jan Hubicka <hubicka@ucw.cz>
21050 * ipa-cp.c (propagate_alignment_accross_jump_function): Fix propagation
21051 across jump functions.
21053 2015-02-19 Uros Bizjak <ubizjak@gmail.com>
21055 * config/alpha/alpha.c (alpha_in_small_data_p): Reject common symbols.
21057 2015-02-19 Sandra Loosemore <sandra@codesourcery.com>
21059 * doc/extend.texi (x86 transactional memory intrinsics): Copy-edit.
21061 2015-02-19 Richard Henderson <rth@redhat.com>
21063 PR middle-end/65074
21064 * varasm.c (default_binds_local_p_2): Don't test node->definition;
21065 test DECL_EXTERNAL independent of symtab_node.
21067 2015-02-19 Jakub Jelinek <jakub@redhat.com>
21070 * varpool.c (varpool_node::get_constructor): Return early
21071 if this->lto_file_data is NULL.
21073 2015-02-19 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
21075 * haifa-sched.c (enum rfs_decision, rfs_str): Remove RFS_DEBUG.
21076 (rank_for_schedule_debug): Update.
21077 (ready_sort): Make static. Move sorting logic to ...
21078 (ready_sort_debug, ready_sort_real): New static functions.
21079 (schedule_block): Sort both debug insns and real insns in preparation
21080 for ready list trimming. Improve debug output.
21081 * sched-int.h (ready_sort): Remove global declaration.
21083 2015-02-18 Trevor Saunders <tsaunders@mozilla.com>
21085 * ipa-icf.c (sem_function::equals_private): Adjust.
21086 (sem_function::bb_dict_test): Take a vec<int> * instead of
21088 * ipa-icf.h (bb_dict_test): Likewise.
21090 2015-02-18 Jakub Jelinek <jakub@redhat.com>
21092 PR gcov-profile/64634
21093 * tree-eh.c (frob_into_branch_around): Fix up typos
21094 in function comment.
21095 (lower_catch): Put eh_seq resulting from EH lowering of
21096 the cleanup sequence after the cleanup rather than before it.
21098 2015-02-18 Tom de Vries <tom@codesourcery.com>
21100 * common.opt (fstdarg-opt): New option.
21101 * tree-stdarg.c (pass_stdarg::gate): Use flag_stdarg_opt.
21102 * doc/invoke.texi (@item Optimization Options): Add -fstdarg-opt.
21103 (@item -fstdarg-opt): New item.
21105 2015-02-18 H.J. Lu <hongjiu.lu@intel.com>
21108 * config/ia64/predicates.md (sdata_symbolic_operand): Return false
21109 for common symbols.
21111 2015-02-18 Jakub Jelinek <jakub@redhat.com>
21113 * config/i386/t-intelmic (mkoffload.o): Remove dependency on
21115 (ALL_HOST_OBJS): Add mkoffload.o.
21116 * config/nvptx/t-nvptx (ALL_HOST_OBJS): Likewise.
21118 2015-02-18 Jan Hubicka <hubicka@ucw.cz>
21120 * ipa-devirt.c (odr_subtypes_equivalent_p): Fix formating.
21121 (compare_virtual_tables): Be smarter about skipping typeinfos;
21122 do sane output on virtual table table mismatch.
21123 (warn_odr): Be ready for forward declarations of enums;
21124 output sane info on base mismatch and virtual table mismatch.
21125 (add_type_duplicate): Fix code choosing prevailing type; do not ICE
21126 when only one type is polymorphic.
21127 (get_odr_type): Fix hashtable corruption.
21128 (dump_odr_type): Dump mangled names.
21130 2015-02-18 Richard Biener <rguenther@suse.de>
21132 PR tree-optimization/65063
21133 * tree-predcom.c (determine_unroll_factor): Return 1 if we
21134 have replaced looparound PHIs.
21136 2015-02-18 Martin Liska <mliska@suse.cz>
21138 * lto-streamer.c (lto_streamer_init): Encapsulate
21139 streamer_check_handled_ts_structures with checking macro.
21141 2015-02-18 Jakub Jelinek <jakub@redhat.com>
21144 * cgraphclones.c (cgraph_node::create_virtual_clone): Only copy
21145 section if !implicit_section.
21146 (cgraph_node::create_version_clone_with_body): Likewise.
21147 * trans-mem.c (ipa_tm_create_version): Likewise.
21149 2015-02-18 Richard Biener <rguenther@suse.de>
21151 PR tree-optimization/62217
21152 * tree-ssa-dom.c (cprop_operand): Avoid propagating copies
21155 2015-02-18 Marek Polacek <polacek@redhat.com>
21158 * ubsan.c (OBJSZ_MAX_OFFSET): Define.
21159 (ubsan_expand_objsize_ifn): Don't emit run-time check if the offset
21160 is in range [-16K, -1]. Don't issue run-time error if
21161 (ptr > ptr + offset).
21163 2015-02-18 Thomas Schwinge <thomas@codesourcery.com>
21165 * doc/install.texi (nvptx-*-none): New section.
21166 * doc/invoke.texi (Nvidia PTX Options): Likewise.
21167 * config/nvptx/nvptx.opt: Update.
21169 * config/nvptx/mkoffload.c (parse_env_var, free_array_of_ptrs)
21170 (access_check): New functions, copied from
21171 config/i386/intelmic-mkoffload.c.
21172 (main): For non-installed testing, look in all COMPILER_PATHs for
21175 * config/nvptx/nvptx.h (GOMP_SELF_SPECS): Define macro.
21177 2015-02-18 Andrew Pinski <apinski@cavium.com>
21178 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
21180 * config/aarch64/aarch64.c (*aarch64_load_symref_appropriately):
21181 Check whether the destination of SYMBOL_SMALL_TPREL is Pmode.
21183 2015-02-17 Jan Hubicka <hubicka@ucw.cz>
21185 * ipa-visibility.c (function_and_variable_visibility): Only
21186 check locality if node is not already local.
21187 * ipa-inline.c (want_inline_function_to_all_callers_p): Use
21188 call_for_symbol_and_aliases instead of
21189 call_for_symbol_thunks_and_aliases.
21190 (ipa_inline): Likewise.
21191 * cgraph.c (cgraph_node::call_for_symbol_thunks_and_aliases):
21192 first walk aliases.
21193 * ipa.c (symbol_table::remove_unreachable_nodes): Use
21194 call_for_symbol_and_aliases.
21195 * ipa-profile.c (ipa_propagate_frequency_data): Add function_symbol.
21196 (ipa_propagate_frequency_1): Use it; use opt_for_fn
21197 (ipa_propagate_frequency): Update.
21198 (ipa_profile): Add opt_for_fn gueards.
21200 2015-02-17 Oleg Endo <olegendo@gcc.gnu.org>
21202 * config/sh/sh.opt (mcbranch-force-delay-slot): New option.
21203 * doc/invoke.texi (SH options): Document it.
21204 * config/sh/sh.c (sh_insn_length_adjustment): Check
21205 TARGET_CBRANCH_FORCE_DELAY_SLOT instead of sh_cpu_attr == CPU_SH2E.
21207 2015-02-17 H.J. Lu <hongjiu.lu@intel.com>
21209 * common.opt (fipa-cp-alignment): New.
21210 * ipa-cp.c (ipcp_store_alignment_results): Check
21211 flag_ipa_cp_alignment.
21212 * opts.c (default_options_table): Enable -fipa-cp-alignment for
21214 (enable_fdo_optimizations): Set x_flag_ipa_cp_alignment.
21215 * doc/invoke.texi: Document -fipa-cp-alignment.
21217 2015-02-17 Oleg Endo <olegendo@gcc.gnu.org>
21220 * config/sh/sh.md (cbranch define_delay): Set annulled true branch insn
21221 to nil. Adjust comments.
21223 2015-02-17 Jan Hubicka <hubicka@ucw.cz>
21225 * ipa-visibility.c (function_and_variable_visibility): Only
21226 check locality if node is not already local.
21227 * ipa-inline.c (want_inline_function_to_all_callers_p): Use
21228 call_for_symbol_and_aliases instead of
21229 call_for_symbol_thunks_and_aliases.
21230 (ipa_inline): Likewise.
21231 * cgraph.c (cgraph_node::call_for_symbol_thunks_and_aliases):
21232 first walk aliases.
21233 * ipa.c (symbol_table::remove_unreachable_nodes): Use
21234 call_for_symbol_and_aliases.
21235 * ipa-profile.c (ipa_propagate_frequency_data): Add function_symbol.
21236 (ipa_propagate_frequency_1): Use it; use opt_for_fn
21237 (ipa_propagate_frequency): Update.
21238 (ipa_profile): Add opt_for_fn guards.
21240 2015-02-17 Thomas Schwinge <thomas@codesourcery.com>
21242 * config/nvptx/mkoffload.c (parse_file): Fix logic error in
21243 skipping of "strange" tokens.
21245 2015-02-17 Jeff Law <law@redhat.com>
21247 * tree-vrp.c (identify_jump_threads): Use last_stmt. Remove
21250 2015-02-17 James Greenhalgh <james.greenhalgh@arm.com>
21252 * haifa-sched.c (recompute_todo_spec): Treat SCHED_GROUP_P
21253 as forcing a HARD_DEP between instructions, thereby
21254 disallowing rewriting to break dependencies.
21256 2015-02-16 Jan Hubicka <hubicka@ucw.cz>
21258 * symtab.c (symtab_node::verify_base): Verify body_removed->!definiton
21259 * lto-cgraph.c (lto_output_varpool_node): Do not keep definition of
21260 variables in boundary that have no inlitalizer encoded and are
21262 * varasm.c (default_binds_local_p_2): External definitions do not
21263 count as definitions here.
21265 2015-02-16 Jeff Law <law@redhat.com>
21267 PR tree-optimization/64823
21268 * tree-vrp.c (identify_jump_threads): Handle blocks with no real
21270 * tree-ssa-threadedge.c (potentially_threadable_block): Allow
21271 threading through blocks with PHIs, but no statements.
21272 (thread_through_normal_block): Distinguish between blocks where
21273 we did not process all the statements and blocks with no statements.
21275 2015-02-16 Jakub Jelinek <jakub@redhat.com>
21276 James Greenhalgh <james.greenhalgh@arm.com>
21279 * cgraphclones.c (cgraph_node::create_virtual_clone): Copy
21280 section if not linkonce. Fix up formatting.
21281 (cgraph_node::create_version_clone_with_body): Copy section.
21282 * trans-mem.c (ipa_tm_create_version): Likewise.
21284 2015-02-16 Richard Biener <rguenther@suse.de>
21286 PR tree-optimization/65077
21287 * tree-ssa-structalias.c (get_constraint_for_1): Handle
21288 IMAGPART_EXPR, REALPART_EXPR and BIT_FIELD_REF.
21289 (find_func_aliases): Allow float values to carry pointers again.
21291 2015-02-16 James Greenhalgh <james.greenhalgh@arm.com>
21293 * doc/install.texi (Specific): Reorder targets list to put
21294 aarch64 in alphabetical order. Add a link to aarch64*-*-*
21297 2015-02-16 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
21298 David Edelsohn <dje.gcc@gmail.com>
21301 * config/rs6000/rs6000.c (rs6000_output_symbol_ref): Append storage
21302 mapping class to external variable or function reference.
21303 * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Do not append storage
21306 2015-02-16 David Eelsohn <dje.gcc@gmail.com>
21309 * config/rs6000/rs6000.c (rs6000_declare_alias): Only use
21310 ASM_WEAKEN_DECL if defined.
21312 2015-02-16 Richard Biener <rguenther@suse.de>
21315 * varasm.c (default_file_start): For LTO produced units
21316 emit <artificial> as file directive.
21318 2015-02-16 Richard Biener <rguenther@suse.de>
21320 PR tree-optimization/63593
21321 * tree-predcom.c (execute_pred_commoning_chain): Delay removing
21322 stmts and releasing SSA names until...
21323 (execute_pred_commoning): ... after processing all chains.
21325 2015-02-16 Jan Hubicka <hubicka@ucw.cz>
21328 * ipa-comdats.c (ipa_comdats): Do not categorize thunks to
21329 external functions.
21331 2015-02-15 Sandra Loosemore <sandra@codesourcery.com>
21333 * doc/bugreport.texi: Adjust section titles throughout the file
21334 to use "Title Case".
21335 * doc/extend.texi: Likewise.
21336 * doc/gcov.texi: Likewise.
21337 * doc/implement-c.texi: Likewise.
21338 * doc/implement-cxx.texi: Likewise.
21339 * doc/invoke.texi: Likewise.
21340 * doc/objc.texi: Likewise.
21341 * doc/standards.texi: Likewise.
21342 * doc/trouble.texi: Likewise.
21344 2015-02-15 Jan Hubicka <hubicka@ucw.cz>
21346 * cgraph.h (symtab_node::has_aliases_p): Simplify.
21347 (symtab_node::call_for_symbol_and_aliases): Use has_aliases_p
21348 * tree.c (lookup_binfo_at_offset): Make static.
21349 (get_binfo_at_offset): Do not shadow offset; add explanatory
21352 2015-02-15 John David Anglin <danglin@gcc.gnu.org>
21354 * config/pa/pa.c (pa_secondary_reload): Request a secondary reload
21355 for all floading point loads and stores except those using a register
21357 * config/pa/pa.md: Add new patterns to load a lo_sum DLT operand
21360 2015-02-14 Jan Hubicka <hubicka@ucw.cz>
21362 * ipa-inline-analysis.c (growth_data): Add uninlinable field.
21363 (do_estimate_growth_1): Record if any uninlinable edge was seen.
21364 (estimate_growth): Handle uninlinable edges correctly.
21365 (check_callers): New.
21366 (growth_likely_positive): Handle aliases correctly.
21368 2015-02-14 Jan Hubicka <hubicka@ucw.cz>
21370 * ipa-chkp.c: Use iterate_direct_aliases.
21371 * symtab.c (resolution_used_from_other_file_p): Move inline.
21372 (symtab_node::create_reference): Fix formating.
21373 (symtab_node::has_aliases_p): Move inline; use iterate_direct_aliases.
21374 (symtab_node::iterate_reference): Move inline.
21375 (symtab_node::iterate_referring): Move inline.
21376 (symtab_node::iterate_direct_aliases): Move inline.
21377 (symtab_node::used_from_object_file_p_worker): Inline into ...
21378 (symtab_node::used_from_object_file_p): ... this one; move inline.
21379 (symtab_node::call_for_symbol_and_aliases): Move inline;
21380 use iterate_direct_aliases.
21381 (symtab_node::call_for_symbol_and_aliases_1): New method.
21382 (cgraph_node::call_for_symbol_and_aliases): Move inline;
21383 use iterate_direct_aliases.
21384 (cgraph_node::call_for_symbol_and_aliases_1): New method.
21385 (varpool_node::call_for_node_and_aliases): Rename to ...
21386 (varpool_node::call_for_symbol_and_aliases): ... this one; Move inline;
21387 use iterate_direct_aliases.
21388 (varpool_node::call_for_symbol_and_aliases_1): New method.
21389 * ipa.c (ipa_single_use): Use iterate_direct_aliases.
21390 (ipa_discover_readonly_nonaddressable_var): Update.
21391 * ipa-devirt.c: Fix formating.
21392 * cgraph.c (cgraph_node::can_remove_if_no_direct_calls_and_refs_p):
21394 (cgraph_node::call_for_symbol_and_aliases): Move inline.
21395 (cgraph_node::call_for_symbol_and_aliases_1): New function..
21396 * cgraph.h (used_from_object_file_p_worker): Remove.
21397 (resolution_used_from_other_file_p): Move inline.
21398 (symtab_node::has_aliases_p): Move inline; use iterate_direct_aliases.
21399 (symtab_node::iterate_reference): Move inline.
21400 (symtab_node::iterate_referring): Move inline.
21401 (symtab_node::iterate_direct_aliases): Move inline.
21402 (symtab_node::used_from_object_file_p_worker): Inline into ...
21403 (symtab_node::used_from_object_file_p): Move inline.
21404 * tree-emutls.c (ipa_lower_emutls): Update.
21405 * varpool.c (varpool_node::call_for_symbol_and_aliases_1): New method.
21406 (varpool_node::call_for_node_and_aliases): Remove.
21408 2015-02-14 Jakub Jelinek <jakub@redhat.com>
21410 PR tree-optimization/62209
21411 * tree-ssa-reassoc.c (update_range_test): If stmt is a PHI and
21412 op == range->exp, insert seq and gimplified code after labels
21413 instead of after the phi.
21415 2015-02-13 Jeff Law <law@redhat.com>
21418 Revert my change for tree-optimization/64823.
21420 2015-02-13 Jakub Jelinek <jakub@redhat.com>
21422 PR tree-optimization/65053
21423 * tree-ssa-phiopt.c (value_replacement): When moving assign before
21424 cond, either reset VR on lhs or set it to phi result VR.
21426 2015-02-13 Jeff Law <law@redhat.com>
21428 PR tree-optimization/64823
21429 * tree-vrp.c (identify_jump_threads): Handle blocks with no statements.
21430 * tree-ssa-threadedge.c (potentially_threadable_block): Allow
21431 threading through blocks with PHIs, but no statements.
21432 (thread_through_normal_block): Distinguish between blocks where
21433 we did not process all the statements and blocks with no statements.
21435 PR rtl-optimization/47477
21436 * match.pd (convert (plus/minus (convert @0) (convert @1): New
21437 simplifier to narrow arithmetic.
21439 2015-02-13 Jan Hubicka <hubicka@ucw.cz>
21442 * ipa-prop.c (update_indirect_edges_after_inlining): Do not drop
21443 polymorphic call info when type is not known to be preserved.
21445 2015-02-13 Maritn Jambor <mjambor@suse.cz>
21448 * ipa-inline-transform.c (mark_all_inlined_calls_cdtor): New function.
21449 (inline_call): Use it.
21451 2015-02-13 Thomas Schwinge <thomas@codesourcery.com>
21453 * config/nvptx/offload.h (ACCEL_COMPILER_acc_device): Define to
21454 GOMP_DEVICE_NVIDIA_PTX.
21456 2015-02-13 Jakub Jelinek <jakub@redhat.com>
21459 * stmt.c (emit_case_nodes): Use void_type_node instead of
21460 NULL_TREE as LABEL_DECL type.
21462 2015-02-13 John David Anglin <danglin@gcc.gnu.org>
21464 * config/pa/constraints.md: Change "Q" and "T" constraints to memory
21466 * config/pa/pa.c (pa_cannot_force_const_mem): Don't allow constant
21467 symbolic references to data to be forced to constant memory on the
21470 2015-02-13 Ilya Enkovich <ilya.enkovich@intel.com>
21472 PR tree-optimization/65002
21473 * tree-cfg.c (pass_data_fixup_cfg): Don't update
21475 * tree-sra.c (some_callers_have_no_vuse_p): New.
21476 (ipa_early_sra): Reject functions whose callers
21477 assume function is read only.
21479 2015-02-13 Richard Biener <rguenther@suse.de>
21482 * dwarf2out.c (dwarf2out_finish): Use <artificial> as DW_AT_name
21483 for LTO produced CUs.
21485 2015-02-13 Bin Cheng <bin.cheng@arm.com>
21487 PR tree-optimization/64705
21488 * tree-ssa-loop-niter.h (expand_simple_operations): New parameter.
21489 * tree-ssa-loop-niter.c (expand_simple_operations): New parameter.
21490 * tree-ssa-loop-ivopts.c (extract_single_var_from_expr): New.
21491 (find_bivs, find_givs_in_stmt_scev): Pass new argument to
21492 expand_simple_operations.
21494 2015-02-13 H.J. Lu <hongjiu.lu@intel.com>
21495 Richard Henderson <rth@redhat.com>
21498 * cgraphunit.c (cgraph_node::finalize_function): Set definition
21499 before notice_global_symbol.
21500 (varpool_node::finalize_decl): Likewise.
21501 * varasm.c (default_binds_local_p_2): Rename from
21502 default_binds_local_p_1, add weak_dominate argument. Use direct
21503 returns instead of assigning to local variable. Unify varpool and
21504 cgraph paths via symtab_node. Reject undef weak variables before
21505 testing visibility. Reorder tests for simplicity.
21506 (default_binds_local_p): Use default_binds_local_p_2.
21507 (default_binds_local_p_1): Likewise.
21508 (decl_binds_to_current_def_p): Unify varpool and cgraph paths
21510 (default_elf_asm_output_external): Emit visibility when specified.
21512 2015-02-13 Alan Modra <amodra@gmail.com>
21514 * config/rs6000/rs6000.c (rs6000_emit_epilogue): Fix typo in
21515 code setting up r11 for out-of-line fp restore.
21517 2015-02-13 Eric Botcazou <ebotcazou@adacore.com>
21519 * config/visium/visium.opt (msv-mode): Add RejectNegative and Report.
21520 (muser-mode): Likewise.
21522 2015-02-13 Alan Modra <amodra@gmail.com>
21524 * config/rs6000/rs6000.c (rs6000_emit_epilogue): Use addsi3_carry
21525 or adddi3_carry when restoring frame_reg_rtx from r0 after restvr.
21527 2015-02-12 David Howells <dhowells@redhat.com>
21529 * tree-sra.c (dump_dereferences_table): Avoid -Wformat-security
21531 * tree-ssa-uninit.c (dump_predicates): Likewise.
21532 * opts.c (print_filtered_help): Likewise.
21534 2015-02-12 Jakub Jelinek <jakub@redhat.com>
21536 * dwarf2out.c (output_die): Use "%s", name instead of name to
21537 avoid -Wformat-security warning.
21539 * dwarf2asm.c (dw2_asm_output_vms_delta): Only define
21540 if ASM_OUTPUT_DWARF_VMS_DELTA is defined.
21541 * dwarf2out.c (output_die): Use dw2_asm_output_vms_delta
21542 only if ASM_OUTPUT_DWARF_VMS_DELTA is defined.
21544 2015-02-12 Jason Merrill <jason@redhat.com>
21546 * common.opt (-flifetime-dse): New.
21548 2015-02-12 Jakub Jelinek <jakub@redhat.com>
21551 * ubsan.c (ubsan_expand_objsize_ifn): Always return true.
21553 PR tree-optimization/65014
21554 * fold-const.c (fold_binary_loc): When creating {L,R}ROTATE_EXPR,
21555 use original second operand of arg0 or arg1 instead of
21556 that adjusted by STRIP_NOPS.
21558 2015-02-11 Jeff Law <law@redhat.com>
21561 * haifa-sched.c (prune_ready_list): If we have a SCHED_GROUP_P insn
21562 that needs to be queued, just queue it for a single cycle.
21564 2015-02-11 Jan Hubicka <hubicka@ucw.cz>
21566 * ipa.c (symbol_table::remove_unreachable_nodes): Avoid releasing
21567 bodies of thunks; comment on why.
21568 * symtab.c (symtab_node::get_partitioning_class): Aliases of extern
21569 symbols are extern.
21571 2015-02-11 Richard Henderson <rth@redhat.com>
21574 * tree-eh.c (mark_reachable_handlers): Mark source and destination
21575 regions of __builtin_eh_copy_values.
21577 2015-02-11 Jakub Jelinek <jakub@redhat.com>
21579 PR middle-end/65003
21580 * varasm.c (place_block_symbol): Assert that DECL_RTL of the
21581 ultimate alias is MEM with SYMBOL_REF satisfying
21582 SYMBOL_REF_HAS_BLOCK_INFO_P as its operand. Don't pass the MEM
21583 to place_block_symbol, but instead pass the SYMBOL_REF operand of it.
21585 2015-02-11 Thomas Schwinge <thomas@codesourcery.com>
21587 * config/nvptx/mkoffload.c: Include "diagnostic.h" instead of
21588 "diagnostic-core.h".
21589 (main): Initialize progname, and call diagnostic_initialize.
21591 * config/nvptx/mkoffload.c (process): Refer to __OFFLOAD_TABLE__
21592 instead of __OPENMP_TARGET__.
21594 * config/nvptx/mkoffload.c: Include "gomp-constants.h".
21595 (process): Use its GOMP_DEVICE_NVIDIA_PTX instead of (wrongly)
21596 hard-coding PTX_ID.
21598 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
21600 * doc/sourcebuild.texi (pie_enabled): Document.
21602 2015-02-11 Martin Liska <mliska@suse.cz>
21605 * cgraphunit.c (cgraph_node::expand_thunk): Do not create
21606 a return value for call to a function that is noreturn.
21608 2015-02-11 Richard Biener <rguenther@suse.de>
21611 * dwarf2out.c (gen_producer_string): Drop -fltrans-output-list
21614 2015-02-11 Andrew Pinski <apinski@cavium.com>
21617 * config/aarch64/aarch64-builtins.c (aarch64_init_simd_builtins):
21618 Change the first argument type to size_type_node and add another
21620 (aarch64_simd_expand_builtin): Handle the new argument to
21621 AARCH64_SIMD_BUILTIN_LANE_CHECK and don't ICE but rather
21622 print an out when the first two arguments are not
21623 nonzero integer constants.
21624 * config/aarch64/arm_neon.h (__AARCH64_LANE_CHECK):
21625 Pass the sizeof directly to __builtin_aarch64_im_lane_boundsi.
21627 2015-02-11 Jakub Jelinek <jakub@redhat.com>
21630 * config/i386/i386.c (ix86_reset_to_default_globals): Removed.
21631 (ix86_reset_previous_fndecl): Restore it here, unconditionally.
21632 (ix86_set_current_function): Rewritten.
21633 (ix86_add_new_builtins): Temporarily clear current_target_pragma
21634 when creating builtin fndecls.
21636 2015-02-10 Jan Hubicka <hubicka@ucw.cz>
21639 * ipa-visibility.c (cgraph_node::non_local_p): Turn into static
21641 * symtab.c (symtab_node::verify_base): Remove check that non-definitions
21642 have no comdat group.
21643 * lto-cgraph.c (lto_output_node): Always output thunk and alias info.
21644 (lto_output_varpool_node): Always output alias info.
21645 (output_refs): Output refs of boundary aliases, too.
21646 (compute_ltrans_boundary): Add alias and thunk target into boundaries.
21647 (output_symtab): Output call eges in thunks in boundary.
21648 (get_alias_symbol): Remove.
21649 (input_node, input_varpool_node): Do not special case weakrefs.
21650 * ipa.c (symbol_table::remove_unreachable_nodes): Do not remove
21651 alias and thunks targets in the boundary; do not take removed symbols
21652 from their comdat groups.
21653 * cgraph.c (cgraph_node::local_info): Look through aliases and thunks.
21654 (cgraph_node::global_info): Remove.
21655 (cgraph_node::rtl_info): Look through aliases and thunks.
21656 * cgrpah.h (global_info): Remove.
21657 (non_local_p): Remove.
21659 2015-02-10 David Wohlferd <dw@LimeGreenSocks.com>
21660 Sandra Loosemore <sandra@codesourcery.com>
21662 * doc/invoke.texi (x86 Options [-masm=dialect]): Add cross-references
21663 to inline asm. List dialects in proper order.
21665 2015-02-10 David Wohlferd <dw@LimeGreenSocks.com>
21666 Sandra Loosemore <sandra@codesourcery.com>
21668 * doc/extend.texi (Loop-Specific Pragmas): Fix grammar error.
21670 2015-02-10 David Wohlferd <dw@LimeGreenSocks.com>
21672 * doc/extend.texi (Symbol-Renaming Pragmas): Restore (slightly
21673 modified) reference to Solaris.
21675 2015-02-10 Sandra Loosemore <sandra@codesourcery.com>
21677 * doc/extend.texi (Extended Asm): Fix typos.
21679 2015-02-10 Jakub Jelinek <jakub@redhat.com>
21682 * ubsan.c (ubsan_expand_vptr_ifn): Always return true.
21684 2015-02-10 Oleg Endo <olegendo@gcc.gnu.org>
21687 * config/sh/sh-protos.h (TARGET_ATOMIC_ANY, TARGET_ATOMIC_STRICT,
21688 TARGET_ATOMIC_SOFT_GUSA, TARGET_ATOMIC_HARD_LLCS,
21689 TARGET_ATOMIC_SOFT_TCB, TARGET_ATOMIC_SOFT_IMASK): Add parentheses.
21690 * config/sh/constraints.md (Ara, Add): New constraints.
21691 * config/sh/sync.md (atomic_mem_operand_0, atomic_mem_operand_1): New
21693 (atomic_compare_and_swap<mode>, atomic_exchange<mode>): Use
21694 atomic_mem_operand_0. Don't use force_reg on the memory address.
21695 (atomic_compare_and_swapsi_hard): Use atomic_mem_operand_0 predicate and
21696 Sra constraint. Convert to insn_and_split. Add workaround for
21698 (atomic_compare_and_swap<mode>_hard): Copy to
21699 atomic_compare_and_swap<mode>_hard_1. Convert to insn_and_split.
21700 Use atomic_mem_operand_0 predicate.
21701 (atomic_compare_and_swap<mode>_soft_gusa,
21702 atomic_exchange<mode>_soft_gusa): Use atomic_mem_operand_0 predicate and
21703 AraAdd constraints.
21704 (atomic_compare_and_swap<mode>_soft_tcb,
21705 atomic_compare_and_swap<mode>_soft_imask,
21706 atomic_exchange<mode>_soft_tcb, atomic_exchange<mode>_soft_imask): Use
21707 atomic_mem_operand_0 predicate and SraSdd constraints.
21708 (atomic_exchangesi_hard) Use atomic_mem_operand_0 predicate and Sra
21710 (atomic_exchange<mode>_hard): Copy to atomic_exchange<mode>_hard_1.
21711 Convert to insn_and_split. Use atomic_mem_operand_0 predicate.
21712 (atomic_fetch_<fetchop_name><mode>, atomic_fetch_nand<mode>,
21713 atomic_<fetchop_name>_fetch<mode>): Use atomic_mem_operand_1. Don't use
21714 force_reg on the memory address.
21715 (atomic_fetch_<fetchop_name>si_hard, atomic_fetch_notsi_hard,
21716 atomic_fetch_nandsi_hard, atomic_<fetchop_name>_fetchsi_hard,
21717 atomic_not_fetchsi_hard, atomic_nand_fetchsi_hard): Use
21718 atomic_mem_operand_1 predicate and Sra constraint.
21719 (atomic_fetch_<fetchop_name><mode>_hard): Copy to
21720 atomic_fetch_<fetchop_name><mode>_hard_1. Convert to insn_and_split.
21721 Use atomic_mem_operand_1 predicate.
21722 (atomic_<fetchop_name><mode>_hard): Copy to
21723 atomic_<fetchop_name><mode>_hard_1. Convert to insn_and_split.
21724 Use atomic_mem_operand_1 predicate.
21725 (atomic_fetch_nand<mode>_hard): Copy to atomic_fetch_nand<mode>_hard_1.
21726 Convert to insn_and_split. Use atomic_mem_operand_1 predicate.
21727 (atomic_nand<mode>_hard): Copy to atomic_nand<mode>_hard_1. Convert to
21728 insn_and_split. Use atomic_mem_operand_1 predicate.
21729 (atomic_<fetchop_name>_fetch<mode>_hard): Copy to
21730 atomic_<fetchop_name>_fetch<mode>_hard_1. Convert to insn_and_split.
21731 Use atomic_mem_operand_1 predicate.
21732 (atomic_nand_fetch<mode>_hard): Copy to atomic_nand_fetch<mode>_hard_1.
21733 Convert to insn_and_split. Use atomic_mem_operand_1 predicate.
21734 (atomic_fetch_not<mode>_hard, atomic_not_fetch<mode>_hard): Replace mems
21735 in generated insn with original mem operand before emitting the insn.
21736 (atomic_fetch_<fetchop_name><mode>_soft_gusa,
21737 atomic_fetch_not<mode>_soft_gusa, atomic_fetch_nand<mode>_soft_gusa,
21738 atomic_<fetchop_name>_fetch<mode>_soft_gusa,
21739 atomic_not_fetch<mode>_soft_gusa, atomic_nand_fetch<mode>_soft_gusa):
21740 Use atomic_mem_operand_1 predicate and AraAdd constraints.
21741 (atomic_fetch_<fetchop_name><mode>_soft_tcb,
21742 atomic_<fetchop_name><mode>_soft_tcb, atomic_fetch_not<mode>_soft_tcb,
21743 atomic_not<mode>_soft_tcb, atomic_fetch_<fetchop_name><mode>_soft_imask,
21744 atomic_fetch_not<mode>_soft_imask, atomic_fetch_nand<mode>_soft_tcb,
21745 atomic_nand<mode>_soft_tcb, atomic_fetch_nand<mode>_soft_imask,
21746 atomic_<fetchop_name>_fetch<mode>_soft_tcb,
21747 atomic_not_fetch<mode>_soft_tcb,
21748 atomic_<fetchop_name>_fetch<mode>_soft_imask,
21749 atomic_not_fetch<mode>_soft_imask, atomic_nand_fetch<mode>,
21750 atomic_nand_fetch<mode>_soft_tcb, atomic_nand_fetch<mode>_soft_imask):
21751 Use atomic_mem_operand_1 predicate and SraSdd constraints.
21753 2015-02-10 Uros Bizjak <ubizjak@gmail.com>
21755 * config/alpha/alpha.md (reload_out<mode>_aligned): Make operands 2
21756 and 3 earlyclobber operands.
21758 2015-02-10 Jan Hubicka <hubicka@ucw.cz>
21760 * common.opt (fstack-reuse): Mark as optimization.
21762 2015-02-10 Jan Hubicka <hubicka@ucw.cz>
21765 * cgraphunit.c (cgraph_node::expand_thunk): Look for stdarg thunks.
21767 2015-02-10 Trevor Saunders <tsaunders@mozilla.com>
21769 PR tree-optimization/64326
21770 * cfghooks.c (make_forwarder_block): Cap frequency of created block.
21772 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
21774 PR gcov-profile/61889
21775 * gcov-tool.c: Remove wrong #if !defined(_WIN32)
21777 2015-02-10 Richard Biener <rguenther@suse.de>
21779 PR tree-optimization/64995
21780 * tree-ssa-sccvn.c (set_ssa_val_to): Assert that the
21781 value we use is final.
21782 (visit_reference_op_store): Always valueize op.
21783 (visit_use): Properly valueize vuses.
21785 2015-02-10 Richard Biener <rguenther@suse.de>
21787 PR tree-optimization/64909
21788 * tree-vect-loop.c (vect_estimate_min_profitable_iters): Properly
21789 pass a scalar-stmt count estimate to the cost model.
21790 * tree-vect-data-refs.c (vect_peeling_hash_get_lowest_cost): Likewise.
21792 2015-02-10 Alexander Monakov <amonakov@ispras.ru>
21794 * doc/invoke.texi (-fvar-tracking-assignments): Clarify that VTA is
21795 enabled by default together with var-tracking.
21797 2015-02-10 Nick Clifton <nickc@redhat.com>
21799 * config/rl78/rl78.c: Remove DIV attribute code accidentally
21800 included in previous rl78 commit.
21802 2015-02-10 Richard Biener <rguenther@suse.de>
21804 * tree-streamer.h (streamer_read_tree_bitfields): Adjust.
21805 * tree-streamer-in.c (streamer_read_tree_bitfields): Do not
21806 return the bitpack.
21808 2015-02-09 Trevor Saunders <tsaunders@mozilla.com>
21810 PR gcov-profile/61889
21811 * config.in: regenerate.
21812 * configure.in: Likewise.
21813 * configure.ac: Check for ftw.h.
21814 * gcov-tool.c: Check for ftw.h before using nftw.
21816 2015-02-09 Trevor Saunders <tsaunders@mozilla.com>
21819 * ipa-visibility.c (update_visibility_by_resolution_info): Only
21820 assert when not in lto mode.
21822 2015-02-09 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
21824 * ira-color.c (setup_left_conflict_sizes_p): Simplify
21825 initialization/assignment of conflict_size.
21827 2015-02-09 Jan Hubicka <hubicka@ucw.cz>
21830 * ipa-cp.c (gather_caller_stats): Skip thunks.
21831 (propagate_constants_topo): Skip aliases.
21833 2015-02-09 Kaz Kojima <kkojima@gcc.gnu.org>
21836 * config/sh/sh.c (sh_option_override): Don't change
21837 -freorder-blocks-and-partition to -freorder-blocks even when
21838 unwinding is enabled.
21839 (sh_can_follow_jump): Return false if the followee jump is
21840 a crossing jump when -freorder-blocks-and-partition is specified.
21841 * config/sh/sh.md (*jump_compact_crossing): New insn.
21843 2015-02-09 Joern Rennecke <joern.rennecke@embecosm.com>
21844 Kaz Kojima <kkojima@gcc.gnu.org>
21847 * config/sh/sh-protos.h (sh_can_redirect_branch): Don't declare.
21848 * config/sh/sh.c (TARGET_CAN_FOLLOW_JUMP): Redefine.
21849 (sh_can_redirect_branch): Rename to ...
21850 (sh_can_follow_jump): ... this. Constify argument types.
21851 * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): Don't define.
21852 * doc/tm.texi.in (MD_CAN_REDIRECT_BRANCH): Remove documentation.
21853 * reorg.c (steal_delay_list_from_target): Use targetm.can_follow_jump.
21854 * doc/tm.texi: Regenerate.
21856 2015-02-09 Jakub Jelinek <jakub@redhat.com>
21859 * builtins.c (expand_builtin): Call targetm.expand_builtin
21860 for BUILT_IN_MD builtins regardless of asan_intercepted_p.
21862 2015-02-08 Jan Hubicka <hubicka@ucw.cz>
21865 * tree-emutls.c (ipa_lower_emutls): Avoid duplicates in TLS_VARS.
21867 2015-02-08 Jan Hubicka <hubicka@ucw.cz>
21870 * ipa-icf.c (set_local): New function.
21871 (sem_function::merge): Use it.
21873 2015-02-08 Jan Hubicka <hubicka@ucw.cz>
21875 * ipa-devirt.c (odr_types_equivalent_p): Fix formating.
21876 (add_type_duplicate): Fix comparison of BINFOs.
21878 2015-02-08 Jan Hubicka <hubicka@ucw.cz>
21880 * ipa-polymorphic-call.c (ipa_polymorphic_call_context): Avoid ICE
21881 on getting VOID pointer.
21883 2015-02-09 Jakub Jelinek <jakub@redhat.com>
21886 * tree-stdarg.c (pass_stdarg::execute): Scan phi node args for
21889 2015-02-09 Richard Biener <rguenther@suse.de>
21891 * genmatch.c (replace_id): Copy expr_type.
21893 2015-02-09 Richard Biener <rguenther@suse.de>
21895 * tree-streamer.h (streamer_pack_tree_bitfields): Remove.
21896 (streamer_write_tree_bitfields): Declare.
21897 * tree-streamer-in.c (unpack_ts_base_value_fields): Inline,
21898 properly unpack padding.
21899 (unpack_value_fields): Inline ...
21900 (streamer_read_tree_bitfields): ... here.
21901 * tree-streamer-out.c (pack_ts_base_value_fields): Inline
21902 and properly add padding bits.
21903 (streamer_pack_tree_bitfields): Fold into ...
21904 (streamer_write_tree_bitfields): ... this new function,
21905 exposing the bitpack object.
21906 * lto-streamer-out.c (lto_write_tree_1): Call
21907 streamer_write_tree_bitfields.
21909 2015-02-09 Richard Biener <rguenther@suse.de>
21911 PR tree-optimization/54000
21912 * tree-ssa-looo-ivopts.c: Include tree-vectorizer.h.
21913 (struct ivopts_data): Add loop_loc member.
21914 (tree_ssa_iv_optimize_loop): Dump loop location.
21915 (create_new_ivs): Likewise, also dump number of IVs generated.
21917 2015-02-09 Martin Liska <mliska@suse.cz>
21919 * ipa-icf.c (sem_item_optimizer::register_hooks): Register hooks
21920 just if not yet registered.
21921 (ipa_icf_generate_summary): Register callgraph hooks.
21923 2015-02-08 Andrew Pinski <apinski@cavium.com>
21925 * config/aarch64/aarch64.c (gty_dummy): Delete.
21927 2015-02-08 Jan Hubicka <hubicka@ucw.cz>
21930 * ipa-visibility.c (cgraph_node::non_local_p): Accept aliases.
21931 (cgraph_node::local_p): Remove thunk related FIXME.
21933 2015-02-08 Jan Hubicka <hubicka@ucw.cz>
21936 * i386.c (ix86_function_regparm): Look through aliases to see if callee
21937 is local and optimized.
21938 (ix86_function_sseregparm): Likewise; also use target's SSE math
21939 settings; error out instead of silently generating wrong code
21941 (init_cumulative_args): Look through aliases.
21943 2015-02-08 Jan Hubicka <hubicka@ucw.cz>
21946 * ipa-split.c (execute_split_functions): Split if function has aliases.
21948 2015-02-08 Jan Hubicka <hubicka@ucw.cz>
21951 * cgraphunit.c (cgraph_node::analyze): Be sure target of thunk is
21952 aliases before trying to expand it.
21953 (cgraph_node::expand_thunk): Fix formating.
21955 2015-02-07 Sandra Loosemore <sandra@codesourcery.com>
21957 * doc/extend.texi (Function Attributes [naked]): Copy-edit.
21958 (Using Assembly Language with C): Expand introduction.
21959 (Basic Asm): Copy-edit. Add more information about uses of
21961 (Extended Asm): Copy-edit. Document new escape syntax and
21963 (Global Reg Vars): Copy-edit.
21964 (Local Reg Vars): Likewise.
21966 2015-02-06 David Edelsohn <dje.gcc@gmail.com>
21970 * xcoffout.h (DBX_CONTIN_LENGTH): Define as 16384.
21971 (DBX_CONTIN_CHAR): Define.
21973 2015-02-06 Sebastian Pop <s.pop@samsung.com>
21974 Brian Rzycki <b.rzycki@samsung.com>
21976 PR tree-optimization/64878
21977 * tree-ssa-threadedge.c: Include tree-ssa-loop.h.
21978 (fsm_find_control_statement_thread_paths): Add parameter seen_loop_phi.
21979 Stop recursion at loop phi nodes after having visited a loop phi node.
21981 2015-02-06 Jakub Jelinek <jakub@redhat.com>
21983 * toplev.c (process_options): Change flag_ipa_ra before creating
21984 optimization_{default,current}_node.
21987 * cgraphunit.c (cgraph_node::expand_thunk): If
21988 restype is not is_gimple_reg_type nor the thunk_fndecl
21989 returns aggregate_value_p, set restmp to a temporary variable
21990 instead of resdecl.
21992 2015-02-06 Vladimir Makarov <vmakarov@redhat.com>
21994 * lra.c (lra_emit_add): Fix a typo in using disp instead of base.
21996 2015-02-06 Michael Meissner <meissner@linux.vnet.ibm.com>
21999 * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Do not
22000 add a general secondary reload handler for SDmode, unless we have
22001 both read/write support for SDmode.
22003 2015-02-06 Jakub Jelinek <jakub@redhat.com>
22005 PR middle-end/64937
22006 * dwarf2out.c (set_block_abstract_flags, set_decl_abstract_flags):
22007 Replace setting argument with abstract_vec, always set BLOCK_ABSTRACT
22008 or DECL_ABSTRACT_P flags to 1 rather than to setting, and if it wasn't
22009 1 before, push it to abstract_vec.
22010 (dwarf2out_abstract_function): Adjust caller. Don't call
22011 set_decl_abstract_flags second time, instead clear BLOCK_ABSTRACT or
22012 DECL_ABSTRACT_P flags for all abstract_vec elts.
22014 2015-02-06 Renlin Li <renlin.li@arm.com>
22016 * tree-ssa-forwprop.c (execute): Keep location info while rewrite
22018 * tree-ssa.c (execute_update_addresses_taken): Likewise.
22020 2015-02-06 Jeff Law <law@redhat.com>
22023 * config/h8300/h8300.c (push): New argument "in_prologue".
22024 Pass "in_prologue" along to "F".
22025 (h8300_push_pop): Corresponding changes.
22026 (h8300_expand_prologue): Likewise.
22027 (h8300_swap_into_er6): Likewise. Do not set RTX_FRAME_RELATED_P.
22029 2015-02-06 Jakub Jelinek <jakub@redhat.com>
22031 PR rtl-optimization/64957
22033 * simplify-rtx.c (simplify_binary_operation_1): Use ~cval for
22034 IOR rather than for AND.
22036 2015-02-06 Eric Botcazou <ebotcazou@adacore.com>
22039 * tree-ssa-loop-ivopts.c (get_shiftadd_cost): Use the mininum of costs
22040 of shift-add and (add + shift) operations. Rename local variable.
22042 2015-02-05 Jeff Law <law@redhat.com>
22045 * config/h8300/constraints.md (U): Correctly dectect
22046 "eightbit_data" memory addresses.
22047 * config/h8300/h8300.c (eightbit_constant_address_p): Also
22048 handle (const (plus (symbol_ref (x)))) where x is declared
22049 as an 8-bit data memory address.
22050 * config/h8300/h8300.md (call, call_value): Correctly detect
22051 "funcvec" functions.
22054 * config/h8300/h8300.c (get_shift_alg): Fix ASHIFTRT by
22055 24 to 28 bits for the H8/300.
22057 2015-02-06 Alan Modra <amodra@gmail.com>
22060 * config/rs6000/rs6000.c (chain_already_loaded): New function.
22061 (rs6000_call_aix): Use it.
22063 2015-02-05 Jan Hubicka <hubicka@ucw.cz>
22065 * ipa-cp.c (ipa_value_from_jfunc, ipa_context_from_jfunc): Add bounds
22068 2015-02-05 Joern Rennecke <joern.rennecke@embecosm.com>
22070 * config/h8300/constraints.md ("U" constraint): Use strict
22071 variant of REG_OK_FOR_BASE_P after reload has started.
22073 2015-02-04 Mantas Mikaitis <mantas.mikaitis@arm.com>
22075 * config/arm/arm.h (TARGET_NEON_FP): Removed conditional definition,
22076 define to zero if !TARGET_NEON.
22077 (TARGET_ARM_FP): Added !TARGET_SOFT_FLOAT into conditional definition.
22079 2015-02-04 Jan Hubicka <hubicka@ucw.cz>
22080 Trevor Saunders <tsaunders@mozilla.com>
22083 * tree-emultls.c (new_emutls_decl): Resolve alias after creating it.
22085 2015-02-04 Jan Hubicka <hubicka@ucw.cz>
22088 * ipa.c (symbol_table::remove_unreachable_nodes): Fix ordering issue
22089 when removing varpool nodes.
22091 2015-02-04 Jan Hubicka <hubicka@ucw.cz>
22094 * varpool.c (varpool_node::remove): Fix order of variables.
22096 2015-02-04 Jan Hubicka <hubicka@ucw.cz>
22099 * ipa-inline.c (inline_small_functions): Fix ordering issue between
22100 speculation resolution and key updates.
22102 2015-02-04 Jan Hubicka <hubicka@ucw.cz>
22104 * ipa-prop.c (update_indirect_edges_after_inlining): By more careful
22105 about not letting any speculative edges unupdated.
22107 2015-02-04 Jan Hubicka <hubicka@ucw.cz>
22110 * gcov-io.c (gcov_var): Export.
22112 2015-02-04 Jan Hubicka <hubicka@ucw.cz>
22114 PR middle-end/64922
22115 * ipa-prop.c (update_indirect_edges_after_inlining): Correctly update
22116 edges that become speculative.
22118 2015-02-04 Jakub Jelinek <jakub@redhat.com>
22120 * dwarf2out.c (is_fortran): Also return true for DW_LANG_Fortran03
22121 or DW_LANG_Fortran08.
22122 (lower_bound_default): Return 1 for DW_LANG_Fortran03 or
22124 (gen_compile_unit_die): Handle "GNU Fortran2003" and
22125 "GNU Fortran2008" language strings.
22126 * dbxout.c (get_lang_number): Use lang_GNU_Fortran.
22127 * langhooks.h (lang_GNU_Fortran): New prototype.
22128 * langhooks.c (lang_GNU_Fortran): New function.
22129 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use
22132 2015-02-04 Eric Botcazou <ebotcazou@adacore.com>
22134 * config/sparc/sparc.c (RTX_OK_FOR_OFFSET_P): Fix off-by-one error.
22135 (RTX_OK_FOR_OLO10_P): Likewise.
22137 2015-02-04 Eric Botcazou <ebotcazou@adacore.com>
22139 * tree-ssa-loop-ivopts.c (get_address_cost): Use right mode for offset.
22141 2015-02-04 Jan Hubicka <hubicka@ucw.cz>
22143 PR middle-end/64922
22144 * gimple.c: Include gimple-ssa.h.
22145 (maybe_remove_unused_call_args): New function.
22146 * gimple.h (maybe_remove_unused_call_args): Declare.
22147 * cgraph.c (cgraph_edge::redirect_call_stmt_to_callee): Use it.
22148 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Likewise.
22149 * gimple-fold.c (gimple_fold_call): Likewise.
22151 2015-02-04 H.J. Lu <hongjiu.lu@intel.com>
22153 PR rtl-optimization/64905
22154 * lra-eliminations.c (setup_can_eliminate): Clear hard frame
22155 pointer alignment if it isn't needed.
22157 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
22159 * config/aarch64/aarch64-cores.def: Add cortex-a72 and
22160 cortex-a72.cortex-a53.
22161 * config/aarch64/aarch64-tune.md: Regenerate.
22162 * doc/invoke.texi (AArch64 Options/-mtune): Add "cortex-a72".
22164 2015-02-04 Nick Clifton <nickc@redhat.com>
22166 * config/rl78/rl78.c (rl78_note_reg_set): Note the use of REGs
22169 2015-02-04 Jakub Jelinek <jakub@redhat.com>
22171 * builtins.def (DEF_BUILTIN_CHKP): Define if not defined.
22172 (DEF_LIB_BUILTIN_CHKP, DEF_EXT_LIB_BUILTIN_CHKP): Redefine.
22173 (DEF_CHKP_BUILTIN): Define using DEF_BUILTIN_CHKP instead
22175 (BUILT_IN_MEMCPY, BUILT_IN_MEMMOVE, BUILT_IN_MEMSET, BUILT_IN_STRCAT,
22176 BUILT_IN_STRCHR, BUILT_IN_STRCPY, BUILT_IN_STRLEN): Use
22177 DEF_LIB_BUILTIN_CHKP macro instead of DEF_LIB_BUILTIN.
22178 (BUILT_IN_MEMCPY_CHK, BUILT_IN_MEMMOVE_CHK, BUILT_IN_MEMPCPY_CHK,
22179 BUILT_IN_MEMPCPY, BUILT_IN_MEMSET_CHK, BUILT_IN_STPCPY_CHK,
22180 BUILT_IN_STPCPY, BUILT_IN_STRCAT_CHK, BUILT_IN_STRCPY_CHK): Use
22181 DEF_EXT_LIB_BUILTIN_CHKP macro instead of DEF_EXT_LIB_BUILTIN.
22182 * tree-core.h (enum built_in_function): In between
22183 BEGIN_CHKP_BUILTINS and END_CHKP_BUILTINS only define enum values
22184 for builtins that use DEF_BUILTIN_CHKP macro.
22186 2015-02-04 Alexandre Oliva <aoliva@redhat.com>
22189 * cfgexpand.c (expand_debug_expr): Compute unsignedp from
22190 operands for tcc_comparison exprs. Fix typos.
22193 * simplify-rtx.c (simplify_binary_operation_1): Simplify one
22194 of two XORs that have an intervening AND or IOR.
22197 * simplify-rtx.c (simplify_binary_operation_1): Rewrite
22198 simplification of XOR of AND to not allocate new rtx before
22199 committing to a simplification.
22201 2015-02-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
22203 * config/aarch64/aarch64-ldpstp.md: Use std::swap instead of
22204 manual swaps in all peepholes.
22206 2015-02-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
22208 * config/aarch64/aarch64.c (aarch64_evpc_ext): Use std::swap instead
22209 of manual swapping implementation.
22210 (aarch64_expand_vec_perm_const_1): Likewise.
22212 2015-02-04 James Greenhalgh <james.greenhalgh@arm.com>
22214 * config/aarch64/aarch64.c (NAMED_PARAM): Delete it.
22215 (generic_addrcost_table): Remove NAMED_PARAM.
22216 (cortexa57_addrcost_table): Likewise.
22217 (xgene1_addrcost_table): Likewise.
22218 (generic_regmove_table): Likewise.
22219 (cortexa53_regmove_table): Likewise.
22220 (xgene1_regmove_table): Likewise.
22221 (generic_vector_table): Likewise.
22222 (cortexa57_vector_table): Likewise.
22223 (xgene1_vector_table): Likewise.
22224 (generic_tunings): Likewise.
22225 (cortexa53_tunings): Likewise.
22226 (cortexa57_tunings): Likewise.
22227 (xgene1_tunings): Likewise.
22229 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
22231 * config/arm/arm-cores.def: Add cortex-a72 and
22232 cortex-a72.cortex-a53.
22233 * config/arm/bpabi.h (BE8_LINK_SPEC): Likewise.
22234 * config/arm/t-aprofile (MULTILIB_MATCHES): Likewise.
22235 * config/arm/arm-tune.md: Regenerate.
22236 * config/arm/arm-tables.opt: Add entries for "cortex-a72" and
22237 "cortex-a72.cortex-a53".
22238 * doc/invoke.texi (ARM Options/-mtune): Likewise.
22240 2015-02-04 Nick Clifton <nickc@redhat.com>
22243 * config/fr30/predicates.md (di_operand): Add SUBREG to the list
22245 (nonimmediate_di_operand): Likewise.
22247 * config/msp430/msp430.c (msp430_use_f5_series_hwmult): Add more
22248 prefixes of known F5 using MSP430 MCUs.
22250 2015-02-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
22252 * config/aarch64/aarch64-simd-builtins.def (sqrt): Use BUILTIN_VDQF_DF.
22253 * config/aarch64/arm_neon.h (vsqrt_f64): Use __builtin_aarch64_sqrtdf
22254 instead of __builtin_sqrt.
22256 2015-02-04 Ilya Enkovich <ilya.enkovich@intel.com>
22258 * varasm.c (do_assemble_alias): Follow transparent alias
22260 (default_assemble_visibility): Follow transparent alias
22261 chain for decl name.
22263 2015-02-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
22265 PR middle-end/62103
22266 * tree-ssa-sccvn.c (fully_constant_vn_reference_p): Use TYPE_PRECISION
22267 to compute size of referenced value in the constant case.
22269 2015-02-03 Jakub Jelinek <jakub@redhat.com>
22271 PR rtl-optimization/64756
22272 * cse.c (invalidate_dest): New function.
22273 (cse_insn): Use it. If dest != SET_DEST (sets[i].rtl) and
22274 HASH (SET_DEST (sets[i].rtl), mode) computation sets do_not_record,
22275 invalidate and do not record it.
22277 2015-02-03 Oleg Endo <olegendo@gcc.gnu.org>
22280 * config/sh/sync.md (atomic_<fetchop_name><mode>_hard,
22281 atomic_not<mode>_hard, atomic_<fetchop_name><mode>_soft_tcb,
22282 atomic_not<mode>_soft_tcb, atomic_nand<mode>_hard,
22283 atomic_nand<mode>_soft_tcb): New insns.
22284 (atomic_fetch_<fetchop_name>si_hard): Convert to insn_and_split.
22285 Split into atomic_<fetchop_name>_fetchsi_hard if operands[0] is unused.
22286 (define_insn "atomic_fetch_notsi_hard): Convert to insn_and_split.
22287 Split into atomic_not_fetchsi_hard if operands[0] is unused.
22288 (atomic_fetch_<fetchop_name><mode>_hard): Convert to insn_and_split.
22289 Split into atomic_<fetchop_name><mode>_hard if operands[0] is unused.
22290 (atomic_fetch_not<mode>_hard): Convert to insn_and_split. Split into
22291 atomic_not<mode>_hard if operands[0] is unused.
22292 (atomic_fetch_<fetchop_name><mode>_soft_gusa): Convert to
22293 insn_and_split. Split into atomic_<fetchop_name>_fetch<mode>_soft_gusa
22294 if operands[0] is unused.
22295 (atomic_fetch_not<mode>_soft_gusa): Convert to insn_and_split. Split
22296 into atomic_not_fetch<mode>_soft_gusa if operands[0] is unused.
22297 (atomic_fetch_<fetchop_name><mode>_soft_tcb): Convert to insn_and_split.
22298 Split into atomic_<fetchop_name><mode>_soft_tcb if operands[0] is
22300 (atomic_fetch_not<mode>_soft_tcb): Convert to insn_and_split. Split
22301 into atomic_not<mode>_soft_tcb if operands[0] is unused.
22302 (atomic_fetch_<fetchop_name><mode>_soft_imask): Convert to
22303 insn_and_split. Split into atomic_<fetchop_name>_fetch<mode>_soft_imask
22304 if operands[0] is unused.
22305 (atomic_fetch_not<mode>_soft_imask): Convert to insn_and_split. Split
22306 into atomic_not_fetch<mode>_soft_imask is operands[0] is unused.
22307 (atomic_fetch_nandsi_hard): Convert to insn_and_split. Split into
22308 atomic_nand_fetchsi_hard if operands[0] is unused.
22309 (atomic_fetch_nand<mode>_hard): Convert to insn_and_split. Split into
22310 atomic_nand<mode>_hard if operands[0] is unused.
22311 (atomic_fetch_nand<mode>_soft_gusa): Convert to insn_and_split. Split
22312 into atomic_nand_fetch<mode>_soft_gusa if operands[0] is unused.
22313 (atomic_fetch_nand<mode>_soft_tcb): Convert to insn_and_split. Split
22314 into atomic_nand<mode>_soft_tcb if operands[0] is unused.
22315 (atomic_fetch_nand<mode>_soft_imask): Convert to insn_and_split. Split
22316 into atomic_nand_fetch<mode>_soft_imask if operands[0] is unused.
22317 (atomic_<fetchop_name>_fetch<mode>_hard): Convert to insn_and_split.
22318 Split into atomic_<fetchop_name><mode>_hard if operands[0] is unused.
22319 (atomic_not_fetch<mode>_hard): Convert to insn_and_split. Split into
22320 atomic_not<mode>_hard if operands[0] is unused.
22321 (atomic_<fetchop_name>_fetch<mode>_soft_tcb): Convert to insn_and_split.
22322 Split into atomic_<fetchop_name><mode>_soft_tcb if operands[0] is
22324 (atomic_not_fetch<mode>_soft_tcb): Convert to insn_and_split. Split
22325 into atomic_not<mode>_soft_tcb if operands[0] is unused.
22326 (atomic_nand_fetch<mode>_hard): Convert to insn_and_split. Split into
22327 atomic_nand<mode>_hard if operands[0] is unused.
22328 (atomic_nand_fetch<mode>_soft_tcb): Convert to insn_and_split. Split
22329 into atomic_nand<mode>_soft_tcb if operands[0] is unused.
22331 2015-02-03 David Malcolm <dmalcolm@redhat.com>
22334 * Makefile.in (GCC_OBJS): Add gcc-main.o.
22335 * gcc-main.c: New file, containing "main" taken from gcc.c.
22336 * gcc.c (do_self_spec): Free decoded_options.
22337 (class driver): Move declaration to gcc.h.
22338 (main): Move declaration and implementation to new file
22340 (driver_get_configure_time_options): New function.
22341 * gcc.h (class driver): Move this declaration here, from
22343 (driver_get_configure_time_options): New declaration.
22345 2015-02-03 Jan Hubicka <hubicka@ucw.cz>
22347 * ipa-inline-analysis.c (simple_edge_hints): Fix check for
22348 cross-module inlining.
22349 * cgraph.h (cgraph_node): Add flag merged.
22350 * ipa-icf.c (sem_function::merge): Maintain it.
22352 2015-02-03 Richard Sandiford <richard.sandiford@arm.com>
22354 * config/arm/arm.c (thumb2_reorg): Test UNARY_P and BINARY_P
22355 instead of OBJECT_P.
22357 2015-02-03 Eric Botcazou <ebotcazou@adacore.com>
22360 * config/sparc/sparc.h (TARGET_HARD_MUL): Remove TARGET_V8PLUS.
22361 (TARGET_HARD_MUL32): Rewrite based on TARGET_HARD_MUL.
22362 * config/sparc/sparc.c (sparc_rtx_costs) <MULT>: Return costs based on
22363 int_mulX for integers in 64-bit mode if TARGET_HARD_MUL is not set.
22365 2015-02-03 Jakub Jelinek <jakub@redhat.com>
22368 * combine.c (reg_n_sets_max): New variable.
22369 (can_change_dest_mode, reg_nonzero_bits_for_combine,
22370 reg_num_sign_bit_copies_for_combine, get_last_value_validate,
22371 get_last_value): Use REG_N_SETS only on pseudos < reg_n_sets_max.
22372 (try_combine): Use INC_REG_N_SETS only on pseudos < reg_n_sets_max.
22373 (rest_of_handle_combine): Initialize reg_n_sets_max.
22375 2015-02-02 Jan Hubicka <hubicka@ucw.cz>
22377 * ipa-inline.c (early_inliner): Skip inlining only in always_inlined;
22378 if some always_inline was inlined, apply changes before inlining
22381 2015-02-02 David Malcolm <dmalcolm@redhat.com>
22384 * config/arm/arm.c (arm_option_override): Set
22385 arm_selected_arch/cpu/tune to NULL on entry.
22387 2015-02-02 Tejas Belagod <tejas.belagod@arm.com>
22388 Andrew Pinski <pinskia@gcc.gnu.org>
22389 Jakub Jelinek <jakub@gcc.gnu.org>
22392 * config/aarch64/aarch64.c (aarch64_classify_symbol): Fix large
22393 integer typing for small model. Use IN_RANGE.
22395 2015-02-02 Richard Biener <rguenther@suse.de>
22397 * tree-ssa-ccp.c (valueize_op_1): Always allow valueizing default-defs.
22398 * tree-vrp.c (vrp_valueize_1): Likewise.
22400 2015-02-02 Alan Modra <amodra@gmail.com>
22402 * config/rs6000/rs6000.c (rs6000_call_aix): Use unspec rather
22403 than mem for toc_restore.
22404 * config/rs6000/rs6000.md (UNSPEC_TOCSLOT): Define.
22405 (call_indirect_aix, call_value_indirect_aix): Adjust to suit.
22406 (call_indirect_elfv2, call_value_indirect_elfv2): Likewise.
22408 2015-02-01 David Edelsohn <dje.gcc@gmail.com>
22411 * config/rs6000/rs6000.c (rs6000_set_current_function): Handle
22412 explicit default options.
22414 2015-02-01 Jan Hubicka <hubicka@ucw.cz>
22417 * ipa-utils.c (ipa_merge_profiles): Add release argument.
22418 * ipa-icf.c (sem_function::merge): Do not release body when merging.
22419 * ipa-utils.h (ipa_merge_profiles): Update prototype.
22421 2015-02-01 Jakub Jelinek <jakub@redhat.com>
22424 * cfgexpand.c (deep_ter_debug_map): New variable.
22425 (avoid_deep_ter_for_debug): New function.
22426 (expand_debug_expr): If TERed SSA_NAME is in
22427 deep_ter_debug_map, use the corresponding DEBUG_EXPR_DECL
22428 instead of trying to expand SSA_NAME's def stmt.
22429 (expand_debug_locations): When expanding debug bind
22430 of a DEBUG_EXPR_DECL to corresponding SSA_NAME,
22431 temporarily remove the DEBUG_EXPR_DECL from deep_ter_debug_map's
22433 (pass_expand::execute): Call avoid_deep_ter_for_debug on
22434 all debug bind stmts. Delete deep_ter_debug_map after
22435 expand_debug_location if non-NULL and clear it.
22437 2015-02-01 Oleg Endo <olegendo@gcc.gnu.org>
22440 * config/sh/sync.md (atomic_fetch_notsi_hard,
22441 atomic_fetch_not<mode>_hard, atomic_fetch_not<mode>_soft_gusa,
22442 atomic_fetch_not<mode>_soft_tcb, atomic_fetch_not<mode>_soft_imask,
22443 atomic_not_fetchsi_hard, atomic_not_fetch<mode>_hard,
22444 atomic_not_fetch<mode>_soft_gusa, atomic_not_fetch<mode>_soft_tcb,
22445 atomic_not_fetch<mode>_soft_imask): New insns.
22447 2015-02-01 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
22449 * haifa-sched.c (INSN_RFS_DEBUG_ORIG_ORDER): New access macro.
22450 (rank_for_schedule_debug): Split from ...
22451 (rank_for_schedule): ... this.
22452 (ready_sort): Sort DEBUG_INSNs separately from normal INSNs.
22453 * sched-int.h (struct _haifa_insn_data): New field rfs_debug_orig_order.
22455 2015-01-31 Sandra Loosemore <sandra@codesourcery.com>
22457 * doc/md.texi (Machine Constraints): Alphabetize table by target.
22458 * doc/extend.texi (x86 Variable Attributes): Move section to
22459 correct alphabetization after renaming.
22460 (x86 Type Attributes): Likewise.
22461 (Target Builtins): Re-alphabetize menu.
22462 (x86 Built-in Functions): Move section to correct alphabetization
22464 (x86 transactional memory intrinsics): Likewise.
22465 * doc/invoke.texi (Option Summary): Re-alphabetize x86 Options
22466 and x86 Windows Options in table and menu.
22467 (x86 Options): Move section to correct alphabetization after
22469 (x86 Windows Options): Likewise.
22471 2015-01-31 Sandra Loosemore <sandra@codesourcery.com>
22473 * doc/extend.texi: Use "x86", "x86-32", and "x86-64" as the
22474 preferred names of the architecture and its 32- and 64-bit
22476 * doc/invoke.texi: Likewise.
22477 * doc/md.texi: Likewise.
22479 2015-01-31 Uros Bizjak <ubizjak@gmail.com>
22482 * config/i386/predicates.md (address_no_seg_operand): Reject
22483 non-CONST_INT_P operands in invalid mode.
22485 2015-01-31 Uros Bizjak <ubizjak@gmail.com>
22487 * config/i386/i386.md (*prefetch_prefetchw1): Remove mode of
22488 address_operand 0. Rename from *prefetch_prefetchwt1_<mode>.
22489 * config/i386/predicates.md (address_no_seg_operand): Call
22490 address_operand with VOIDmode.
22491 (vsib_address_operand): Ditto.
22492 (address_mpx_no_base_operand): Ditto.
22493 (address_mpx_no_index_operand): Ditto.
22495 2015-01-30 Vladimir Makarov <vmakarov@redhat.com>
22498 * lra-constraints.c (original_subreg_reg_mode): New.
22499 (simplify_operand_subreg): Try to simplify subreg of const. Use
22500 original_subreg_reg_mode for it.
22501 (swap_operands): Update original_subreg_reg_mode.
22502 (curr_insn_transform): Set up original_subreg_reg_mode.
22504 2015-01-30 Vladimir Makarov <vmakarov@redhat.com>
22507 * lra-constraints.c (prohibited_class_reg_set_mode_p): New
22509 (process_alt_operands): Use it.
22510 (curr_insn_transform): Check the optional reload pseudo class is
22513 2015-01-30 Joseph Myers <joseph@codesourcery.com>
22515 * diagnostic.c (fatal_error (const char *, ...)): Remove function.
22516 * diagnostic-core.h (fatal_error (const char *, ...)): Remove
22518 * toplev.h (init_asm_output): Update comment on use of
22519 UNKNOWN_LOCATION with fatal_error.
22520 * cgraph.c, collect-utils.c, collect2.c, config/arc/arc.c,
22521 config/arc/arc.md, config/avr/avr.c, config/c6x/c6x.h,
22522 config/darwin.c, config/host-darwin.c, config/i386/host-cygwin.c,
22523 config/i386/intelmic-mkoffload.c, config/nios2/nios2.c,
22524 config/nvptx/mkoffload.c, config/nvptx/nvptx.h,
22525 config/rs6000/host-darwin.c, config/rs6000/rs6000.c,
22526 config/s390/s390.c, gcc.c, gcov-io.h, gcov-tool.c, ggc-common.c,
22527 ggc-page.c, graph.c, ipa-inline-analysis.c, ipa-reference.c,
22528 lto-cgraph.c, lto-section-in.c, lto-streamer-in.c, lto-streamer.c,
22529 lto-wrapper.c, objc/objc-act.c, opts.c, passes.c, plugin.c,
22530 tlink.c, toplev.c, tree-streamer-in.c, varpool.c: All callers of
22531 fatal_error changed to pass input_location as first argument.
22533 2015-01-30 Martin Liska <mliska@suse.cz>
22535 * tree.h: Change GCC_VERSION >= 4004 to GCC_VERSION >= 4006
22536 in #pragma GCC diagnostic guards.
22538 2015-01-30 Richard Biener <rguenther@suse.de>
22540 PR tree-optimization/64829
22541 * tree-vect-patterns.c (vect_handle_widen_op_by_const): Do
22542 not add a widening conversion pattern but hand off extra
22543 widenings to callers.
22544 (vect_recog_widen_mult_pattern): Handle extra widening produced
22545 by vect_handle_widen_op_by_const.
22546 (vect_recog_widen_shift_pattern): Likewise.
22547 (vect_pattern_recog_1): Remove excess vertical space in dumping.
22548 * tree-vect-stmts.c (vect_mark_stmts_to_be_vectorized): Likewise.
22549 (vect_init_vector_1): Likewise.
22550 (vect_get_vec_def_for_operand): Likewise.
22551 (vect_finish_stmt_generation): Likewise.
22552 (vectorizable_load): Likewise.
22553 (vect_analyze_stmt): Likewise.
22554 (vect_is_simple_use): Likewise.
22556 2015-01-29 Jeff Law <law@redhat.com>
22558 * combine.c (try_combine): Fix typo in comment.
22560 2015-01-29 Segher Boessenkool <segher@kernel.crashing.org>
22563 * config.rs6000/rs6000.c (compute_vrsave_mask): Reverse loop order.
22564 (rs6000_stack_info): Add assert.
22565 (rs6000_output_savres_externs): New function, split off from...
22566 (rs6000_output_function_prologue): ... here. Do not call it for
22569 2015-01-29 Jeff Law <law@redhat.com>
22572 * combine.c (try_combine): If I0 is a memory load and I3 a store
22573 to a related address, increase the "goodness" of doing a 4-insn
22574 combination with I0-I3.
22575 (make_field_assignment): Handle SUBREGs in the ior+and case.
22577 2015-01-29 Yuri Rumyantsev <ysrumyan@gmail.com>
22579 PR tree-optimization/64746
22580 * tree-if-conv.c (mask_exists): New function.
22581 (predicate_mem_writes): Save created mask with given size for further
22583 (stmt_is_root_of_bool_pattern): Remove argument VAR and store to it.
22584 (ifcvt_repair_bool_pattern): Collect all statements that are root
22585 of bool pattern and use iterative algorithm to remove multiple uses
22586 of predicates, display number of required iterations.
22588 2015-01-29 Richard Biener <rguenther@suse.de>
22590 PR tree-optimization/64853
22591 * tree-vrp.c (vrp_valueize_1): Do not return anything if the
22592 stmt will get simulated again.
22593 * tree-ssa-ccp.c (valueize_op_1): Likewise.
22595 2015-01-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
22597 * config/arm/arm.c (arm_emit_multi_reg_pop): Simplify definition of
22598 return_in_pc. Remove redundant assignments.
22599 (thumb2_emit_ldrd_pop): Simplify definition of return_in_pc.
22600 (arm_expand_epilogue): Don't compare boolean with true in if condition.
22602 2015-01-29 Uros Bizjak <ubizjak@gmail.com>
22604 * config/i386/i386.c (ix86_mode_after): Make static.
22606 2015-01-29 Richard Biener <rguenther@suse.de>
22608 PR tree-optimization/64844
22609 * tree-vect-loop.c (vect_estimate_min_profitable_iters): Always
22610 dump cost model analysis.
22611 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
22612 Do not register adjusted load/store costs here.
22614 2015-01-29 Ilya Enkovich <ilya.enkovich@intel.com>
22615 Uros Bizjak <ubizjak@gmail.com>
22617 * config/i386/i386-protos.h (ix86_use_pseudo_pic_reg): New.
22618 * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Simplify by
22619 using x86_use_pseudo_pic_reg.
22620 * config/i386/i386.c (ix86_conditional_register_usage): Remove
22621 support for fixed PIC register.
22622 (ix86_use_pseudo_pic_reg): Not static any more.
22624 2015-01-29 Ilya Enkovich <ilya.enkovich@intel.com>
22626 PR middle-end/64805
22627 * ipa-inline.c (early_inliner): Rebuild IPA_REF_CHKP reference
22628 to avoid error in cgraph node verification.
22630 2015-01-29 Marek Polacek <polacek@redhat.com>
22632 * doc/standards.texi: Reflect that the default for C is gnu11.
22634 2015-01-29 Kaz Kojima <kkojima@gcc.gnu.org>
22637 * reorg.c (switch_text_sections_between_p): New function.
22638 (relax_delay_slots): Call it when testing if the jump insn
22639 is removable. Use targetm.can_follow_jump when testing if
22640 the conditional branch can follow an unconditional jump.
22642 2015-01-27 Caroline Tice <cmtice@google.com>
22644 Committing VTV Cywin/Ming patch for Patrick Wollgast
22645 * config/i386/cygwin.h (STARTFILE_SPEC): Add vtv_start.o,
22646 if -fvtable-verify=preinit/std is used.
22647 * config/i386/mingw-w64.h (STARTFILE_SPEC): Likewise.
22648 * config/i386/mingw32.h (STARTFILE_SPEC): Likewise.
22649 * config/i386/cygwin.h (ENDFILE_SPEC): Add vtv_end.o,
22650 if -fvtable-verify=preinit/std is used.
22651 * config/i386/mingw32.h (ENDFILE_SPEC): Likewise.
22652 * config/i386/cygwin.h (LIB_SPEC): Pass -lvtv and -lpsapi,
22653 if -fvtable-verify=preinit/std is used.
22654 * config/i386/mingw-w64.h (LIB_SPEC): Likewise.
22655 * config/i386/mingw32.h (LIB_SPEC): Likewise.
22656 * varasm.c (assemble_variable): Add code to properly set the comdat
22657 section and name for the .vtable_map_vars section in case the
22658 target is PE or COFF.
22660 2015-01-29 Jan Hubicka <hubicka@ucw.cz>
22663 * cgraphunit.c (init_lowered_empty_function): Add CoUNT parameter;
22664 make sane BB profile.
22665 (cgraph_node::expand_thunk): Make sane BB profile.
22666 (cgraph_node::create_wrapper): Do not set call_stmt_cannot_inline_p.
22667 * cgraph.h (init_lowered_empty_function): Update prototype.
22668 * config/i386/i386.c (make_resolver_func): Update call.
22669 * predict.c (gate): Disable branch prediction pass if
22670 profile is already there.
22672 2015-01-29 Jan Hubicka <hubicka@ucw.cz>
22674 * optc-save-gen.awk: flag_fp_contract_mode is no longer speical.
22675 * opth-gen.awk: Likewise.
22676 * common.opt: Mark flag_fp_contract_mode as Optimization.
22678 2015-01-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
22680 * config/i386/cygwin.h (LIBGCJ_SONAME): Set libgcj version to -16.
22681 * config/i386/mingw32.h (LIBGCJ_SONAME): Set libgcj version to -16.
22683 2015-01-28 Oleg Endo <olegendo@gcc.gnu.org>
22686 * config/sh/predicates.md (atomic_arith_operand,
22687 atomic_logical_operand): Remove.
22688 * config/sh/sync.md (fetchop_predicate, fetchop_constraint): Remove.
22689 (atomic_arith_operand_0): New predicate.
22690 (atomic_compare_and_swap<mode>): Use arith_reg_dest for output values.
22691 Use atomic_arith_operand_0 for input values.
22692 (atomic_compare_and_swapsi_hard, atomic_compare_and_swap<mode>_hard,
22693 atomic_compare_and_swap<mode>_soft_gusa,
22694 atomic_compare_and_swap<mode>_soft_tcb,
22695 atomic_compare_and_swap<mode>_soft_imask): Use arith_reg_dest and
22696 arith_reg_operand instead of register_operand.
22697 (atomic_exchange<mode>): Use arith_reg_dest for output value. Use
22698 atomic_arith_operand_0 for newval input.
22699 (atomic_exchangesi_hard, atomic_exchange<mode>_hard,
22700 atomic_exchange<mode>_soft_gusa, atomic_exchange<mode>_soft_tcb,
22701 atomic_exchange<mode>_soft_imask): Use arith_reg_dest and
22702 arith_reg_operand instead of register_operand.
22703 (atomic_arith_operand_1, atomic_logical_operand_1): New predicates.
22704 fetchop_predicate_1, fetchop_constraint_1_llcs,
22705 fetchop_constraint_1_gusa, fetchop_constraint_1_tcb,
22706 fetchop_constraint_1_imask): New code iterator attributes.
22707 (atomic_fetch_<fetchop_name><mode>): Use arith_reg_dest instead of
22708 register_operand. Use fetchop_predicate_1.
22709 (atomic_fetch_<fetchop_name>si_hard,
22710 atomic_fetch_<fetchop_name><mode>_hard): Use arith_reg_dest instead of
22711 register_operand. Use fetchop_predicate_1, fetchop_constraint_1_llcs.
22712 (atomic_fetch_<fetchop_name><mode>_soft_gusa): Use arith_reg_dest
22713 and arith_reg_operand instead of register_operand. Use
22714 fetchop_predicate_1, fetchop_constraint_1_gusa.
22715 (atomic_fetch_<fetchop_name><mode>_soft_tcb): Use arith_reg_dest
22716 and arith_reg_operand instead of register_operand. Use
22717 fetchop_predicate_1, fetchop_constraint_1_tcb. Adjust asm sequence
22719 (atomic_fetch_<fetchop_name><mode>_soft_imask): Use arith_reg_dest
22720 and arith_reg_operand instead of register_operand. Use
22721 fetchop_predicate_1, fetchop_constraint_1_imask. Adjust asm sequence
22723 (atomic_fetch_nand<mode>): Use arith_reg_dest instead of
22724 register_operand. Use atomic_logical_operand_1.
22725 (atomic_fetch_nandsi_hard, atomic_fetch_nand<mode>_hard,
22726 atomic_fetch_nand<mode>_soft_gusa): Use arith_reg_dest and
22727 arith_reg_operand instead of register_operand.
22728 (atomic_fetch_nand<mode>_soft_tcb, atomic_fetch_nand<mode>_soft_imask):
22729 Use arith_reg_dest and arith_reg_operand instead of register_operand.
22730 Use logical_operand and rK08. Adjust asm sequence to allow R0 usage.
22731 (atomic_<fetchop_name>_fetch<mode>): Use arith_reg_dest instead of
22732 register_operand. Use fetchop_predicate_1.
22733 (atomic_<fetchop_name>_fetchsi_hard,
22734 atomic_<fetchop_name>_fetch<mode>_hard): Use arith_reg_dest and
22735 arith_reg_operand instead of register_operand. Use fetchop_predicate_1,
22736 fetchop_constraint_1_llcs.
22737 (atomic_<fetchop_name>_fetch<mode>_soft_gusa): Use arith_reg_dest and
22738 arith_reg_operand instead of register_operand. Use fetchop_predicate_1,
22739 fetchop_constraint_1_gusa.
22740 (atomic_<fetchop_name>_fetch<mode>_soft_tcb): Use arith_reg_dest and
22741 arith_reg_operand instead of register_operand. Use fetchop_predicate_1,
22742 fetchop_constraint_1_tcb. Adjust asm sequence to allow R0 usage.
22743 (atomic_<fetchop_name>_fetch<mode>_soft_imask): Use arith_reg_dest and
22744 arith_reg_operand instead of register_operand. Use fetchop_predicate_1,
22745 fetchop_constraint_1_imask. Adjust asm sequence to allow R0 usage.
22746 (atomic_nand_fetch<mode>): Use arith_reg_dest instead of
22747 register_operand. Use atomic_logical_operand_1.
22748 (atomic_nand_fetchsi_hard, atomic_nand_fetch<mode>_hard,
22749 atomic_nand_fetch<mode>_soft_gusa): Use arith_reg_dest and
22750 arith_reg_operand instead of register_operand.
22751 (atomic_nand_fetch<mode>_soft_tcb): Use arith_reg_dest and
22752 arith_reg_operand instead of register_operand. Use logical_operand
22753 and K08. Adjust asm sequence to allow R0 usage.
22754 (atomic_nand_fetch<mode>_soft_imask): Use arith_reg_dest and
22755 arith_reg_operand instead of register_operand. Use logical_operand
22758 2015-01-28 Jakub Jelinek <jakub@redhat.com>
22761 * dwarf2out.c (add_AT_wide, mem_loc_descriptor, loc_descriptor):
22762 Use ggc_alloc<wide_int> instead of ggc_cleared_alloc<wide_int>.
22763 (attr_checksum, attr_checksum_ordered, hash_loc_operands): Checksum
22764 only get_full_len HOST_WIDE_INTs from get_val () array rather than
22765 all bits in *val_wide.
22767 2015-01-28 Jan Hubicka <hubicka@ucw.cz>
22769 * varpool.c (tls_model_names): Fix names.
22770 (varpool_node::dump): Dump tls- prefix for tls models.
22772 2015-01-28 Thomas Schwinge <thomas@codesourcery.com>
22773 Bernd Schmidt <bernds@codesourcery.com>
22774 Nathan Sidwell <nathan@codesourcery.com>
22776 * config/nvptx/mkoffload.c: New file.
22777 * config/nvptx/t-nvptx: Add build rules for it.
22778 * config.gcc <nvptx-*> [$enable_as_accelerator = yes]
22779 (extra_programs): Add mkoffload.
22780 * config/nvptx/nvptx.c (nvptx_record_offload_symbol): New
22782 (TARGET_RECORD_OFFLOAD_SYMBOL): Define macro to use it.
22784 2015-01-28 Yuri Rumyantsev <ysrumyan@gmail.com>
22786 PR middle-end/64809
22787 * cfgexpand.c (reorder_operands): Skip debug gimples.
22789 2015-01-28 Ilya Enkovich <ilya.enkovich@intel.com>
22791 PR tree-optimization/64277
22792 * tree-ssa-loop-niter.c (record_nonwrapping_iv): Use base
22793 range info when possible to refine estimation.
22795 2015-01-28 Thomas Preud'homme <thomas.preudhomme@arm.com>
22797 PR tree-optimization/64718
22798 * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Make bswap_type
22799 be a 16bit unsigned integer when n->range is 16.
22800 (bswap_replace): Convert src to that type if necessary for all bswap
22801 sizes. Fix rotation right notation in nearby comment. Use bswap_type
22802 set in pass_optimize_bswap::execute ().
22804 2015-01-28 James Greenhalgh <james.greenhalgh@arm.com>
22806 * config/aarch64/aarch64-simd.md (aarch64_abs<mode>): New.
22807 * config/aarch64/aarch64-simd-builtins.def (abs): Split by
22808 integer and floating point variants.
22809 * config/aarch64/iterators.md (unspec): Add UNSPEC_ABS.
22811 2015-01-28 Robert Suchanek <robert.suchanek@imgtec.com>
22813 * config/mips/mips.c (mips_hard_regno_mode_ok_p): Prohibit accumulators
22814 for all vector modes.
22816 2015-01-28 Jakub Jelinek <jakub@redhat.com>
22819 * doc/sourcebuild.texi (comdat_group): Document.
22821 2015-01-28 Terry Guo <terry.guo@arm.com>
22823 * config/arm/thumb1.md (*thumb1_movpc_insn): New insn pattern.
22825 2015-01-27 David Malcolm <dmalcolm@redhat.com>
22827 * toplev.c (print_version): Add param "show_global_state", and
22828 only print GGC and plugin information if it is true.
22829 (init_asm_output): Pass in "true" for the new param when calling
22831 (process_options): Likewise.
22832 (toplev::main): Likewise.
22833 * toplev.h (print_version): Add new param to decl.
22835 2015-01-27 Jan Hubicka <hubicka@ucw.cz>
22839 * tree.c (lookup_binfo_at_offset): New function.
22840 (get_binfo_at_offset): Use it.
22842 2015-01-27 Jan Hubicka <hubicka@ucw.cz>
22845 * gimple-fold.c (gimple_get_virt_method_for_vtable): Remove assert
22846 on vtable being vtable.
22848 2015-01-27 Dominik Vogt <vogt@linux.vnet.ibm.com>
22850 * doc/extend.texi: s/390: Update documentation of hotpatch attribute.
22851 * doc/invoke.texi (-mhotpatch): s/390: Update documentation of
22852 -mhotpatch= option.
22853 * config/s390/s390.opt (mhotpatch): s/390: Remove -mhotpatch and
22854 -mno-hotpatch options. Change syntax of -mhotpatch= option.
22855 * config/s390/s390.c (s390_hotpatch_trampoline_halfwords_default):
22857 (s390_hotpatch_trampoline_halfwords_max): Renamed.
22858 (s390_hotpatch_hw_max): New name.
22859 (s390_hotpatch_trampoline_halfwords): Renamed.
22860 (s390_hotpatch_hw_before_label): New name.
22861 (get_hotpatch_attribute): Removed.
22862 (s390_hotpatch_hw_after_label): New name.
22863 (s390_handle_hotpatch_attribute): Add second parameter to hotpatch
22865 (s390_attribute_table): Ditto.
22866 (s390_function_num_hotpatch_trampoline_halfwords): Renamed.
22867 (s390_function_num_hotpatch_hw): New name.
22868 Remove special handling of inline functions and hotpatching.
22869 Return number of nops before and after the function label.
22870 (s390_can_inline_p): Removed.
22871 (s390_asm_output_function_label): Emit a configurable number of nops
22872 after the function label.
22873 (s390_option_override): Update -mhotpatch= syntax and remove -mhotpatch.
22874 (TARGET_CAN_INLINE_P) Removed.
22875 (TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P): New.
22877 2015-01-27 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
22878 Jiong Wang <jiong.wang@arm.com>
22880 * config/aarch64/aarch64.md (tb<optab><mode>1): Clobber CC reg instead
22882 (cb<optab><mode>1): Likewise.
22883 * config/aarch64/iterators.md (bcond): New define_code_attr.
22885 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22887 * config/s390/s390.c (s390_memory_move_cost): Increase costs for
22890 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22892 * config/s390/s390.c (s390_register_move_cost): Increase costs for
22895 2015-01-27 Richard Biener <rguenther@suse.de>
22897 * tree-vrp.c (update_value_range): Intersect the range with
22898 old recorded SSA name range information.
22900 2015-01-27 Nick Clifton <nickc@redhat.com>
22902 * config/rl78/rl78.c (rl78_expand_prologue): In G10 mode push the
22903 BC, DE and HL registers directly, not via AX.
22904 When decrementing the stack pointer by a large amount, transfer SP
22905 into AX and perform the subtraction there.
22906 (rl78_expand_epilogue): Perform the inverse of the above
22909 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
22911 * config/i386/sysv4.h (CRT_GET_RFIB_DATA): Remove.
22913 2015-01-27 Jakub Jelinek <jakub@redhat.com>
22914 Yury Gribov <y.gribov@samsung.com>
22917 * ubsan.c (ubsan_source_location): Refactor code.
22918 (ubsan_type_descriptor): Update type size. Refactor code.
22920 2015-01-27 Richard Biener <rguenther@suse.de>
22922 PR tree-optimization/56273
22923 PR tree-optimization/59124
22924 PR tree-optimization/64277
22925 * tree-vrp.c (vrp_finalize): Emit array-bound warnings only
22926 from the first VRP pass.
22928 2015-01-27 Jakub Jelinek <jakub@redhat.com>
22931 * cgraphunit.c (cgraph_node::expand_thunk): If not this_adjusting,
22932 handle the first argument in the same loop as all the other arguments.
22934 PR rtl-optimization/61058
22935 * jump.c (cleanup_barriers): Update basic block boundaries
22936 if BLOCK_FOR_INSN is non-NULL on PREV.
22938 2015-01-27 Ilya Enkovich <ilya.enkovich@intel.com>
22940 * tree-chkp.c (chkp_call_returns_bounds_p): Fix handling of
22941 bounds narrowing, already instrumented calls and calls to
22942 not instrumentable functions.
22944 2015-01-27 Jakub Jelinek <jakub@redhat.com>
22946 PR tree-optimization/64807
22947 * wide-int.cc (wi::divmod_internal): Clear
22948 b_dividend[dividend_blocks_needed].
22950 2015-01-26 DJ Delorie <dj@redhat.com>
22952 * config/rl78/rl78.c (move_elim_pass): Don't optimize away
22953 volatile memory references.
22955 2015-01-26 Oleg Endo <olegendo@gcc.gnu.org>
22958 * config/sh/sh.c (sh_split_treg_set_expr): Invoke emit_insn before
22960 * config/sh/sh.md (tstsi_t): Don't try to optimize constant with right
22961 shifts if it already fits into K08.
22963 2015-01-26 Jakub Jelinek <jakub@redhat.com>
22966 * ipa-inline.c (inline_small_functions): Print "unknown" even
22967 if edge->call_stmt is non-NULL, but has builtins or unknown
22970 PR middle-end/64421
22971 * omp-low.c (simd_clone_mangle): If DECL_ASSEMBLER_NAME starts
22972 with asterisk, skip the first character.
22974 2015-01-26 H.J. Lu <hongjiu.lu@intel.com>
22977 * config/i386/i386 (feature_priority): Revert the last P_POPCNT
22980 2015-01-26 Uros Bizjak <ubizjak@gmail.com>
22983 * config/i386/i386.md (*movdi_internal): Also check operand 0
22984 to determine TYPE_LEA operand.
22985 (*movsi_internal): Ditto.
22987 2015-01-26 Jakub Jelinek <jakub@redhat.com>
22989 * config/rs6000/rs6000-cpus.def (POWERPC_MASKS): Add
22990 OPTION_MASK_QUAD_MEMORY_ATOMIC.
22992 2015-01-26 Renlin Li <renlin.li@arm.com>
22994 * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Correct
22996 * config/aarch64/aarch64.md (tlsle_small_<mode>): Add left shift 12-bit
22999 2015-01-26 Richard Biener <rguenther@suse.de>
23001 PR middle-end/64764
23002 * tree-ssa-uninit.c (is_pred_expr_subset_of): Handle
23003 combining two BIT_AND_EXPR predicates.
23005 2015-01-26 H.J. Lu <hongjiu.lu@intel.com>
23008 * tree-ssa-structalias.c (new_var_info): Initialize ruid.
23010 2015-01-26 Terry Guo <terry.guo@arm.com>
23012 * config/arm/arm.c (arm_file_start): Update the assignment of
23013 Tag_ABI_HardFP_use.
23015 2015-01-25 James Greenhalgh <james.greenhalgh@arm.com>
23017 * config/arm/arm-cores.def (cortex-a57): Use the new Cortex-A57
23019 config/arm/arm.md: Include the new Cortex-A57 model.
23020 (generic_sched): Don't use generic_sched when tuning for
23023 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
23024 Uros Bizjak <ubizjak@gmail.com>
23026 * config/i386/i386.c (get_builtin_code_for_version): Add
23027 support for BMI and BMI2 multiversion functions.
23029 2015-01-25 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
23031 * emit-rtl.h (store_bit_field): Move prototype to expmed.h.
23032 (extract_bit_field): Likewise.
23033 (extract_low_bits): Likewise.
23034 (expand_mult): Likewise.
23035 (expand_mult_highpart_adjust): Likewise.
23037 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
23039 * config/i386/driver-i386.c (host_detect_local_cpu): Check new
23040 Silvermont, Haswell, Broadwell and Knights Landing model numbers.
23041 * config/i386/i386.c (processor_model): Add
23042 M_INTEL_COREI7_BROADWELL.
23043 (arch_names_table): Add "broadwell".
23045 2015-01-24 Oleg Endo <olegendo@gcc.gnu.org>
23054 * config/sh/sh-protos.h
23055 (sh_extending_set_of_reg::can_use_as_unextended_reg,
23056 sh_extending_set_of_reg::use_as_unextended_reg,
23057 sh_is_nott_insn, sh_movt_set_dest, sh_movrt_set_dest, sh_is_movt_insn,
23058 sh_is_movrt_insn, sh_insn_operands_modified_between_p,
23059 sh_reg_dead_or_unused_after_insn, sh_in_recog_treg_set_expr,
23060 sh_recog_treg_set_expr, sh_split_treg_set_expr): New functions.
23061 (sh_treg_insns): New class.
23062 * config/sh/sh.c (TARGET_LEGITIMATE_COMBINED_INSN): Define target hook.
23063 (scope_counter): New class.
23064 (sh_legitimate_combined_insn, sh_is_nott_insn, sh_movt_set_dest,
23065 sh_movrt_set_dest, sh_reg_dead_or_unused_after_insn,
23066 sh_extending_set_of_reg::can_use_as_unextended_reg,
23067 sh_extending_set_of_reg::use_as_unextended_reg, sh_recog_treg_set_expr,
23068 sh_in_recog_treg_set_expr, sh_try_split_insn_simple,
23069 sh_split_treg_set_expr): New functions.
23070 (addsubcosts): Handle treg_set_expr.
23071 (sh_rtx_costs): Handle IF_THEN_ELSE and ZERO_EXTRACT.
23072 (sh_rtx_costs): Use arith_reg_operand in SIGN_EXTEND and ZERO_EXTEND.
23073 (sh_rtx_costs): Handle additional bit test patterns in EQ and AND cases.
23074 (sh_insn_operands_modified_between_p): Make non-static.
23075 * config/sh/predicates.md (zero_extend_movu_operand): Allow
23076 simple_mem_operand in addition to displacement_mem_operand.
23077 (zero_extend_operand): Don't allow zero_extend_movu_operand.
23078 (treg_set_expr, treg_set_expr_not_const01,
23079 arith_reg_or_treg_set_expr): New predicates.
23080 * config/sh/sh.md (tstsi_t): Use arith_reg_operand and
23081 arith_or_int_operand instead of logical_operand. Convert to
23082 insn_and_split. Try to optimize constant operand in splitter.
23083 (tsthi_t, tstqi_t): Fold into *tst<mode>_t. Convert to insn_and_split.
23084 (*tstqi_t_zero): Delete.
23085 (*tst<mode>_t_subregs): Add !sh_in_recog_treg_set_expr split condition.
23086 (tstsi_t_and_not): Delete.
23087 (tst<mode>_t_zero_extract_eq): Rename to *tst<mode>_t_zero_extract.
23088 Convert to insn_and_split.
23089 (unnamed split, tstsi_t_zero_extract_xor,
23090 tstsi_t_zero_extract_subreg_xor_little,
23091 tstsi_t_zero_extract_subreg_xor_big): Delete.
23092 (*tstsi_t_shift_mask): New insn_and_split.
23093 (cmpeqsi_t, cmpgesi_t): Add new split for const_int 0 operands and try
23094 to recombine with surrounding insns when splitting.
23095 (*negtstsi): Add !sh_in_recog_treg_set_expr condition.
23096 (cmp_div0s_0, cmp_div0s_1, *cmp_div0s_0, *cmp_div0s_1): Rewrite as ...
23097 (cmp_div0s, *cmp_div0s_1, *cmp_div0s_2, *cmp_div0s_3, *cmp_div0s_4,
23098 *cmp_div0s_5, *cmp_div0s_6): ... these new insn_and_split patterns.
23099 (*cbranch_div0s: Delete.
23100 (*addc): Convert to insn_and_split. Use treg_set_expr as 3rd operand.
23101 Try to recombine with surrounding insns when splitting. Add operand
23103 (*addc_t_r, *addc_r_t): Use treg_set_expr_not_const01.
23104 (*addc_r_r_1, *addc_r_lsb, *addc_r_r_lsb, *addc_r_lsb_r, *addc_r_msb,
23105 *addc_r_r_msb, *addc_2r_msb): Delete.
23106 (*addc_2r_lsb): Rename to *addc_2r_t. Use treg_set_expr. Add operand
23108 (*addc_negreg_t): New insn_and_split.
23109 (*subc): Convert to insn_and_split. Use treg_set_expr as 3rd operand.
23110 Try to recombine with surrounding insns when splitting.
23111 Add operand order variants.
23112 (*subc_negt_reg, *subc_negreg_t, *reg_lsb_t, *reg_msb_t): New
23113 insn_and_split patterns.
23114 (*rotcr): Use arith_reg_or_treg_set_expr. Try to recombine with
23115 surrounding insns when splitting.
23116 (unnamed rotcr split): Use arith_reg_or_treg_set_expr.
23117 (*rotcl): Likewise. Add zero_extract variant.
23118 (*ashrsi2_31): New insn_and_split.
23119 (*negc): Convert to insn_and_split. Use treg_set_expr.
23120 (*zero_extend<mode>si2_disp_mem): Update comment.
23121 (movrt_negc, *movrt_negc, nott): Add !sh_in_recog_treg_set_expr split
23123 (*mov_t_msb_neg, mov_neg_si_t): Use treg_set_expr. Try to recombine
23124 with surrounding insns when splitting.
23125 (any_treg_expr_to_reg): New insn_and_split.
23126 (*neg_zero_extract_0, *neg_zero_extract_1, *neg_zero_extract_2,
23127 *neg_zero_extract_3, *neg_zero_extract_4, *neg_zero_extract_5,
23128 *neg_zero_extract_6, *zero_extract_0, *zero_extract_1,
23129 *zero_extract_2): New single bit zero extract patterns.
23130 (bld_reg, *bld_regqi): Fold into bld<mode>_reg.
23131 (*get_thread_pointersi, store_gbr, *mov<mode>_gbr_load,
23132 *mov<mode>_gbr_load, *mov<mode>_gbr_load, *mov<mode>_gbr_load,
23133 *movdi_gbr_load): Use arith_reg_dest instead of register_operand for
23135 (set_thread_pointersi, load_gbr): Use arith_reg_operand instead of
23136 register_operand for set source.
23138 2015-01-23 Jan Hubicka <hubicka@ucw.cz>
23140 * i386.opt (prefetch_sse): New targetsave.
23141 * i386.c (ix86_function_specific_save): Save prefetch_sse.
23142 (ix86_function_specific_restore): Restore prefetch_sse and initialize
23143 ix86_cost/ix86_tune_cost.
23145 2015-01-23 David Malcolm <dmalcolm@redhat.com>
23147 * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
23148 Support the JIT by using 0 as the language type.
23150 2015-01-23 Vladimir Makarov <vmakarov@redhat.com>
23153 * lra-lives.c (make_hard_regno_born): Add parameter. Don't make
23154 REAL_PIC_OFFSET_TABLE_REGNUM conflicting with pic offset pseudo.
23155 (mark_regno_live, process_bb_lives): Pass new parameter value to
23156 make_hard_regno_born.
23158 2015-01-23 Jakub Jelinek <jakub@redhat.com>
23160 PR rtl-optimization/63637
23161 PR rtl-optimization/60663
23162 * cse.c (merge_equiv_classes): Set new_elt->cost to MAX_COST
23163 if elt->cost is MAX_COST for ASM_OPERANDS.
23164 (find_sets_in_insn): Fix up comment typo.
23165 (cse_insn): Don't set src_volatile for all non-volatile
23166 ASM_OPERANDS in PARALLELs, but just those with multiple outputs
23167 or with "memory" clobber. Set elt->cost to MAX_COST
23168 for ASM_OPERANDS in PARALLEL. Set src_elt->cost to MAX_COST
23169 if new_src is ASM_OPERANDS and elt->cost is MAX_COST.
23171 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
23173 * config/i386/sse.md (sse2_loadld): Set attribute isa to sse2 for
23176 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
23178 * config/i386/gnu-user.h (CRT_GET_RFIB_DATA): Move definition to
23179 libgcc/config/i386/elf-lib.h.
23181 2015-01-23 Jakub Jelinek <jakub@redhat.com>
23184 * gcc.c (print_configuration): Don't print a blank line at the end
23186 (run_attempt): ... but here unstead.
23188 PR middle-end/64734
23189 * omp-low.c (scan_sharing_clauses): Don't ignore
23190 OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION GOMP_MAP_POINTER clauses
23191 on target data/update constructs.
23193 2015-01-23 Bernd Edlinger <bernd.edlinger@hotmail.de>
23196 * config/m32c/m32c.c (encode_pattern_1): Removed gcc_unreachable here.
23197 (DEBUG_RELOAD): Removed define.
23198 (m32c_limit_reload_class): Enable traces with if DEBUG0.
23199 (m32c_function_arg): Added a type cast.
23200 (m32c_legitimize_reload_address): Push A_REGS reload with PSImode.
23201 * config/m32c/addsub.md (addsi3_1): Specify the mode of all arguments.
23202 * config/m32c/bitops.md (andqi3_16): Likewise.
23203 * config/m32c/mov.md (m32c_immd_dbl_mov): Likewise.
23204 (push_a01_l): Likewise.
23206 2015-01-23 David Malcolm <dmalcolm@redhat.com>
23209 * main.c (main): Construct toplev instances with init_signals=true.
23210 * toplev.c (general_init): Add param "init_signals", and use it to
23211 conditionalize the calls to signal and host_hooks.extra_signals.
23212 (toplev::toplev): Add param "init_signals".
23213 (toplev::main): When invoking general_init, pass m_init_signals
23214 to control whether signal-handlers are installed.
23215 * toplev.h (toplev::toplev): Add param "init_signals".
23216 (toplev::m_init_signals): New field.
23218 2015-01-23 David Malcolm <dmalcolm@redhat.com>
23221 * emit-rtl.c (init_emit_regs): Set pic_offset_table_rtx to
23222 NULL_RTX before testing PIC_OFFSET_TABLE_REGNUM, since the
23223 latter may be affected by the former (e.g. on i686).
23225 2015-01-23 Martin Liska <mliska@suse.cz>
23227 * tree.h (tree_vec_elt_check): Workaround -Wstrict-overflow
23228 false positive during profiledbootstrap.
23230 2015-01-23 Tom de Vries <tom@codesourcery.com>
23233 * lto-opts.c (lto_write_options): Output non-explicit conservative
23235 * lto-wrapper.c (merge_and_complain): Handle merging -fopenacc.
23236 (append_compiler_options): Pass -fopenacc through.
23238 2015-01-23 Tom de Vries <tom@codesourcery.com>
23241 * lto-opts.c (lto_write_options): Output non-explicit conservative
23243 * lto-wrapper.c (merge_and_complain): Handle merging -fopenmp.
23244 (append_compiler_options): Pass -fopenmp through.
23246 2015-01-23 Jakub Jelinek <jakub@redhat.com>
23249 * dwarf2out.c (struct dw_loc_descr_node): Add chain_next
23252 * diagnostic-core.h (internal_error_no_backtrace): New prototype.
23253 * diagnostic.def (DK_ICE_NOBT): New kind.
23254 * diagnostic.c (diagnostic_action_after_output): Handle DK_ICE_NOBT
23255 like DK_ICE, but never print backtrace.
23256 (diagnostic_report_diagnostic): Handle DK_ICE_NOBT like DK_ICE.
23257 (internal_error_no_backtrace): New function.
23258 * gcc.c (execute): Use internal_error_no_backtrace instead of
23261 2015-01-22 Jeff Law <law@redhat.com>
23264 * config/m68k/m68k.md (xorsi3_internal): Twiddle constraints to
23265 improve code density for small immediate to memory case.
23266 (insv): Better handle bitfield assignments when the field is
23267 being set to all ones.
23268 * config/m68k/predicates.md (reg_or_pow2_m1_operand): New
23271 2015-01-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
23272 Jakub Jelinek <jakub@redhat.com>
23274 PR middle-end/64729
23275 * gcc.c (LINK_SSP_SPEC): Handle -fstack-protector-explicit
23276 for !TARGET_LIBC_PROVIDES_SSP version and
23277 -fstack-protector-{all,strong,explicit} otherwise.
23278 * config/freebsd.h (LINK_SSP_SPEC): Handle
23279 -fstack-protector-{strong,explicit}.
23281 2015-01-22 Jan Hubicka <hubicka@ucw.cz>
23282 H.J. Lu <hongjiu.lu@intel.com>
23285 * ipa-inline.c (inline_small_functions): Fix thinko in maintenance of
23288 2015-01-22 Wei Mi <wmi@google.com>
23290 PR rtl-optimization/64557
23291 * dse.c (record_store): Call get_addr for mem_addr.
23292 (check_mem_read_rtx): Likewise.
23294 2015-01-22 Eric Botcazou <ebotcazou@adacore.com>
23296 * fold-const.c (const_binop): Add early return for non-tcc_binary.
23298 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
23300 * toplev.c (init_local_tick): Process the failure when read
23301 fails for random_seed.
23303 * ubsan.c (ubsan_type_descriptor): Use 'pretty_print' for
23304 'pretty_name' to avoid memory overflow.
23306 2015-01-22 Richard Biener <rguenther@suse.de>
23308 PR middle-end/64728
23309 * tree-ssa-coalesce.c (coalesce_partitions): Do not perform
23310 abnormal coalescing on undefined SSA names.
23312 2015-22-01 Uros Bizjak <ubizjak@gmail.com>
23316 * config/i386/sse.md (vec_set<mode>_0): Use (Yi/r/C) constraints
23318 (*vec_dup<mode>): Use (Yi/$r) constraints for alternative 1.
23320 2015-01-22 Trevor Saunders <tsaunders@mozilla.com>
23322 PR middle-end/63325
23323 * fold-const.c (fold_checksum_tree): Don't include value of
23324 expr->decl_with_vis.symtab_node in the checksum.
23326 2015-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23328 * config/s390/s390.md (atomic code attribute): Fix typo "ior" -> "or".
23330 2015-01-22 Max Ostapenko <m.ostapenko@partner.samsung.com>
23333 * gcc.c (insert_comments): New function.
23334 (try_generate_repro): Call it.
23335 (append_text): Removed.
23337 2015-01-22 Richard Biener <rguenther@suse.de>
23339 * ipa-inline.c (can_inline_edge_p): Disable inlining of edges
23340 with IL incompatible options. Properly honor user optimize
23343 2015-01-21 Segher Boessenkool <segher@kernel.crashing.org>
23345 PR rtl-optimization/64682
23346 * combine.c (distribute_notes): When moving a death note for
23347 a register that is set in the new I2, make sure to put it
23348 before that new I2.
23350 2015-01-21 David Edelsohn <dje.gcc@gmail.com>
23352 * config/rs6000/rs6000.c (rs6000_file_start): Use rs6000_isa_flags
23353 not TARGET_DEFAULT.
23355 2015-01-21 Jakub Jelinek <jakub@redhat.com>
23358 * simplify-rtx.c (simplify_relational_operation_1): Don't try to
23359 optimize (eq/ne (and (side_effects) (const_int 0)) (const_int 0))
23360 into (eq/ne (and (not (side_effects)) (const_int 0)) (const_int 0)).
23363 * doc/invoke.texi (-fsanitize=vptr): Document.
23365 PR rtl-optimization/62078
23366 * dse.c: Include cfgcleanup.h.
23367 (rest_of_handle_dse): For -fnon-call-exceptions, if DSE removed
23368 anything call purge_all_dead_edges and cleanup_cfg at the end
23371 2015-01-21 Jan Hubicka <hubicka@ucw.cz>
23373 * ipa-utils.c (ipa_merge_profiles): Avoid ICE on mismatch in indirect
23376 2015-01-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
23378 * gimplify.c (gimplify_function_tree): Check the no_sanitize_thread
23381 2015-01-21 David Sherwood <david.sherwood@arm.com>
23382 Tejas Belagod <Tejas.Belagod@arm.com>
23384 * config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Removed.
23385 * config/aarch64/aarch64.c (aarch64_cannot_change_mode_class): Removed.
23386 * config/aarch64/aarch64-protos.h (aarch64_cannot_change_mode_class):
23389 2015-01-21 David Sherwood <david.sherwood@arm.com>
23390 Tejas Belagod <Tejas.Belagod@arm.com>
23392 * config/aarch64/aarch64-protos.h (aarch64_simd_attr_length_rglist)
23393 (aarch64_reverse_mask): New decls.
23394 * config/aarch64/iterators.md (UNSPEC_REV_REGLIST): New enum.
23395 (insn_count): New mode_attr.
23396 * config/aarch64/aarch64-simd.md (vec_store_lanesoi, vec_store_lanesci)
23397 (vec_store_lanesxi, vec_load_lanesoi, vec_load_lanesci)
23398 (vec_load_lanesxi): Made ABI compliant for Big Endian targets.
23399 (aarch64_rev_reglist, aarch64_simd_ld2, aarch64_simd_ld3)
23400 (aarch64_simd_ld4, aarch64_simd_st2, aarch64_simd_st3)
23401 (aarch64_simd_st4): New patterns.
23402 * config/aarch64/aarch64.c (aarch64_simd_attr_length_rglist)
23403 (aarch64_reverse_mask): New functions.
23405 2015-01-21 Richard Sandiford <richard.sandiford@arm.com>
23407 * config/aarch64/aarch64-protos.h (aarch64_simd_disambiguate_copy):
23409 * config/aarch64/aarch64.c (aarch64_classify_address): Allow extra
23410 addressing modes for BE.
23411 (aarch64_print_operand): Add 'R' specifier.
23412 (aarch64_simd_disambiguate_copy): Delete.
23413 (aarch64_simd_emit_reg_reg_move): New function.
23414 * config/aarch64/aarch64-simd.md: Use aarch64_simd_emit_reg_reg_move
23415 in define_splits for structural moves.
23416 (mov<mode>): Use less restrictive predicates.
23417 (*aarch64_mov<mode>): Simplify and only allow for LE.
23418 (*aarch64_be_movoi, *aarch64_be_movci, *aarch64_be_movxi): New.
23420 2015-01-21 Alan Hayward <alan.hayward@arm.com>
23422 * rtlanal.c (subreg_get_info): Exit early for simple and common cases.
23424 2015-01-21 Richard Henderson <rth@redhat.com>
23427 * ccmp.c (used_in_cond_stmt_p): Remove.
23428 (expand_ccmp_expr): Don't use it.
23430 2015-01-21 Nick Clifton <nickc@redhat.com>
23432 * config/rl78/rl78.c (rl78_calculate_death_notes): Look inside
23435 2015-01-21 Richard Biener <rguenther@suse.de>
23437 PR middle-end/64313
23438 * tree-core.h (builtin_info, builtin_info_type): Turn from
23439 an object with two arrays into an array of an object with
23440 decl and two flags, implicit_p and declared_p.
23441 * tree.h (builtin_decl_explicit, builtin_decl_implicit,
23442 set_builtin_decl, set_builtin_decl_implicit_p,
23443 builtin_decl_explicit_p, builtin_decl_implicit_p): Adjust.
23444 (set_builtin_decl_declared_p, builtin_decl_declared_p): New functions.
23445 * builtins.c (builtin_info): Adjust.
23446 * gimplify.c (gimplify_addr_expr): References to builtins
23447 that have been declared by the user makes them eligible for
23448 use by the compiler. Call set_builtin_decl_implicit_p on them.
23450 2015-01-20 Jeff Law <law@redhat.com>
23453 * config/m68k/m68k.md (Comparison expanders and patterns): Do not
23454 allow pc-relative addresses in operand predicates or constraints.
23456 2015-01-21 Bin Cheng <bin.cheng@arm.com>
23458 * config/arm/arm.c (arm_cortex_a53_tune, arm_cortex_a57_tune): Prefer
23459 neon on aarch32 processors for stringops.
23461 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
23464 * ipa-utils.c (ipa_merge_profiles): Merge speculative edges.
23466 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
23469 * ipa-inline.c: Include lto-streamer.h
23470 (report_inline_failed_reason): Output source file differences and
23471 flags on optimization/target node mismatch.
23472 (can_inline_edge_p): Consider caller to be the outer inline function;
23473 be less restrictive about matching opimize and optimize_size attributes.
23474 (inline_account_function_p): Break out from ...
23475 (inline_small_functions): ... here.
23476 * ipa-inline-transform.c (clone_inlined_nodes): Use
23477 inline_account_function_p.
23478 (inline_call): Use optimize attribution; use inline_account_function_p.
23479 (inline_transform): Use opt_for_fn.
23480 * ipa-inline.h (inline_account_function_p): Declare.
23482 2015-01-20 Jakub Jelinek <jakub@redhat.com>
23485 * dwarf2out.c (decl_piece_node): Don't put bitsize into
23486 mode if bitsize <= 0.
23487 (decl_piece_bitsize, adjust_piece_list, add_var_loc_to_decl,
23488 dw_sra_loc_expr): Use HOST_WIDE_INT instead of int for bit
23489 sizes and positions.
23491 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
23493 * config/nios2/nios2.c (nios2_asm_file_end): Implement
23494 TARGET_ASM_FILE_END hook for adding .note.GNU-stack section when
23496 (TARGET_ASM_FILE_END): Define.
23498 2015-01-20 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
23500 * config/arm/arm-protos.h (enum arm_sched_autopref): New constants.
23501 (struct tune_params): Use the enum.
23502 * arm.c (arm_*_tune): Update.
23503 (arm_option_override): Update.
23505 2015-01-20 Richard Biener <rguenther@suse.de>
23508 * ipa-reference.c (add_static_var): Inline ...
23509 (analyze_function): ... here after splitting out from ...
23510 (is_proper_for_analysis): ... this.
23512 2015-01-20 Matthew Wahab <matthew.wahab@arm.com>
23515 * config/arm/arm.opt: Remove lra option and arm_lra_flag variablesle.
23516 * config/arm/arm.h (MODE_BASE_REG_CLASS): Remove use of arm_lra_flagag,
23517 replace the conditional with it's true branch.
23518 * config/arm/arm.config (TARGET_LRA_P): Set to hook_bool_void_true.
23519 (arm_lra_p): Remove.
23521 2015-01-20 Eric Botcazou <ebotcazou@adacore.com>
23523 * config/visium/visium.h (LIB_SPEC): Adjust in default case.
23525 2015-01-20 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
23527 * config/tilegx/mul-tables.c: Move symtab.h include after
23528 coretypes.h include.
23529 * config/tilepro/mul-tables.c: Add includes hashtab.h, hash-set.h,
23530 vec.h, machmode.h, tm.h, hard-reg-set.h, input.h, function.h, rtl.h,
23531 flags.h, statistics.h, double-int.h, real.h, fixed-value.h, alias.h,
23532 wide-int.h, inchash.h, tree.h, insn-config.h, expmed.h, dojump.h,
23533 explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
23535 2015-01-20 Igor Zamyatin <igor.zamyatin@intel.com>
23539 2015-01-19 Igor Zamyatin <igor.zamyatin@intel.com>
23541 PR rtl-optimization/64081
23542 * loop-iv.c (def_pred_latch_p): New function.
23543 (latch_dominating_def): Allow specific cases with non-single
23545 (iv_get_reaching_def): Likewise.
23546 (check_complex_exit_p): New function.
23547 (check_simple_exit): Use check_complex_exit_p to allow certain cases
23548 with exits not executing on any iteration.
23550 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
23553 * i386.c (ix86_option_override_internal): Use ix86_tune_cost
23554 to set branch cost.
23556 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
23559 * i386.c (gate): Check flag_expensive_optimizations and
23561 (ix86_option_override_internal): Drop optimize_size condition
23562 on MASK_ACCUMULATE_OUTGOING_ARGS, MASK_VZEROUPPER,
23563 MASK_AVX256_SPLIT_UNALIGNED_LOAD, MASK_AVX256_SPLIT_UNALIGNED_STORE,
23564 MASK_PREFER_AVX128.
23565 (ix86_avx256_split_vector_move_misalign,
23566 ix86_avx256_split_vector_move_misalign): Check optimize_insn_for_speed.
23567 * sse.md (all uses of TARGET_PREFER_AVX128): Add
23568 optimize_insn_for_speed_p check.
23570 2015-01-19 Matthew Fortune <matthew.fortune@imgtec.com>
23572 * config/mips/mips.h (FP_ASM_SPEC): New define.
23573 (ASM_SPEC): Remove floating-point options and use FP_ASM_SPEC
23576 2015-01-19 Oleg Endo <olegendo@gcc.gnu.org>
23579 * config/sh/sh-protos.h (sh_find_set_of_reg): Make sure not to return
23580 nullptr for insn when reaching the first insn.
23581 * config/sh/sh.c (sh_unspec_insn_p): Rewrite using subrtx_iterator.
23582 (sh_insn_operands_modified_between_p): Add nullptr check.
23583 (sh_find_extending_set_of_reg): Fix log message. Don't accept
23584 sign extending mem load if the insn contains any UNSPEC or
23587 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
23589 * params.def (inline-unit-growth): Drop to 15%.
23590 * invoke.texi (inline-unit-growth): Document change.
23592 2015-01-19 Martin Liska <mliska@suse.cz>
23595 * ipa-icf-gimple.c (func_checker::compare_operand): Call proper
23596 function for second argument of OBJ_TYPE_REF.
23598 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
23601 * ipa-inline.c (want_inline_function_to_all_callers_p): Fix check
23602 whether function is an alias.
23604 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
23606 * ipa-devirt.c (ipa_devirt): Drop polymorphic call info in hopeless
23609 2015-01-19 Vladimir Makarov <vmakarov@redhat.com>
23611 PR rtl-optimization/64671
23612 * lra-remat.c (operand_to_remat): Don't consider jump and call
23615 2015-01-19 David Edelsohn <dje.gcc@gmail.com>
23618 * config/rs6000/default64.h: Include rs6000-cpus.def.
23619 (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use ISA 2.7 (POWER8).
23620 (TARGET_DEFAULT) [BIG_ENDIAN]: Use POWER4.
23621 * config/rs6000/driver-rs6000.c (detect_processor_aix): Add POWER7
23623 * config/rs6000/linux64.h (PROCESSOR_DEFAULT64): Always default to
23625 * config/rs6000/rs6000.c (rs6000_file_start): Emit .machine
23626 pseudo-op to specify assembler dialect.
23628 2015-01-19 Martin Liska <mliska@suse.cz>
23631 * ipa-icf.c (sem_item_optimizer::filter_removed_items):
23632 Handle safe potentially removed nodes during filtering.
23634 2015-01-19 Martin Liska <mliska@suse.cz>
23636 * doc/extend.texi (no_icf): Add new attribute description.
23637 * ipa-icf.c (sem_item_optimizer::merge_classes): Handle cases
23638 where the pass attempts to merge a function with no_icf attribute.
23640 2015-01-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
23643 * doc/md.texi (ARM Options): Document register constraints.
23645 2015-01-19 Jiong Wang <jiong.wang@arm.com>
23646 Andrew Pinski <apinski@cavium.com>
23649 * config/aarch64/aarch64.md (define_insn "*ashl<mode>3_insn"): Deleted.
23650 (ashl<mode>3): Don't expand if operands[2] is not constant.
23652 2015-01-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
23655 * config/aarch64/aarch64-simd.md (aarch64_simd_bsl<mode>_internal):
23656 Match xor-and-xor RTL pattern.
23658 2015-01-19 Igor Zamyatin <igor.zamyatin@intel.com>
23660 PR rtl-optimization/64081
23661 * loop-iv.c (def_pred_latch_p): New function.
23662 (latch_dominating_def): Allow specific cases with non-single
23664 (iv_get_reaching_def): Likewise.
23665 (check_complex_exit_p): New function.
23666 (check_simple_exit): Use check_complex_exit_p to allow certain cases
23667 with exits not executing on any iteration.
23669 2015-01-19 Jakub Jelinek <jakub@redhat.com>
23671 * common.opt (fgraphite): Fix a typo.
23673 2015-01-19 Felix Yang <felix.yang@huawei.com>
23675 * config/aarch64/aarch64-simd.md (aarch64_<maxmin_uns>p<mode>): New
23677 * config/aarch64/aarch64-simd-builtins.def (smaxp, sminp, umaxp,
23678 uminp, smax_nanp, smin_nanp): New builtins.
23679 * config/aarch64/arm_neon.h (vpmax_s8, vpmax_s16, vpmax_s32,
23680 vpmax_u8, vpmax_u16, vpmax_u32, vpmaxq_s8, vpmaxq_s16, vpmaxq_s32,
23681 vpmaxq_u8, vpmaxq_u16, vpmaxq_u32, vpmax_f32, vpmaxq_f32, vpmaxq_f64,
23682 vpmaxqd_f64, vpmaxs_f32, vpmaxnm_f32, vpmaxnmq_f32, vpmaxnmq_f64,
23683 vpmaxnmqd_f64, vpmaxnms_f32, vpmin_s8, vpmin_s16, vpmin_s32, vpmin_u8,
23684 vpmin_u16, vpmin_u32, vpminq_s8, vpminq_s16, vpminq_s32, vpminq_u8,
23685 vpminq_u16, vpminq_u32, vpmin_f32, vpminq_f32, vpminq_f64, vpminqd_f64,
23686 vpmins_f32, vpminnm_f32, vpminnmq_f32, vpminnmq_f64, vpminnmqd_f64,
23687 vpminnms_f32): Rewrite using builtin functions.
23689 2015-01-19 Thomas Schwinge <thomas@codesourcery.com>
23692 * omp-low.c (offload_symbol_decl): Remove variable.
23693 (get_offload_symbol_decl): Remove function.
23694 (expand_omp_target): For BUILT_IN_GOMP_TARGET,
23695 BUILT_IN_GOMP_TARGET_DATA, BUILT_IN_GOMP_TARGET_UPDATE pass NULL
23696 instead of &__OFFLOAD_TABLE__, for BUILT_IN_GOACC_DATA_START,
23697 BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL,
23698 BUILT_IN_GOACC_UPDATE don't pass it at all.
23700 2015-01-19 Ilya Enkovich <ilya.enkovich@intel.com>
23702 * tree-sra.c (some_callers_have_mismatched_arguments_p): Allow thunk
23705 2015-01-19 Ilya Enkovich <ilya.enkovich@intel.com>
23707 * ipa-chkp.c (chkp_produce_thunks): Add early param
23708 to split thunks production into two passes. Keep
23709 'always_inline' function bodies after the first pass.
23710 (pass_data_ipa_chkp_early_produce_thunks): New.
23711 (pass_ipa_chkp_early_produce_thunks): New.
23712 (pass_ipa_chkp_produce_thunks::execute): Adjust to new
23713 chkp_produce_thunks signature.
23714 (make_pass_ipa_chkp_early_produce_thunks): New.
23715 * passes.def (pass_ipa_chkp_early_produce_thunks): New.
23716 (pass_ipa_chkp_produce_thunks): Move after local optimizations.
23717 * tree-pass.h (make_pass_ipa_chkp_early_produce_thunks): New.
23719 2015-01-18 Jan Hubicka <hubicka@ucw.cz>
23721 * cgraph.c (cgraph_node::dump): Dump profile flags.
23723 2015-01-18 Oleg Endo <olegendo@gcc.gnu.org>
23726 * config/sh/sh.md (udivsi3_i4, divsi3_i4): Make use of sfunc address
23727 reg appear first in the parallel.
23729 2015-01-18 Jan Hubicka <hubicka@ucw.cz>
23731 * ipa-reference.c (set_reference_optimization_summary,
23732 ipa_reference_get_not_written_global): Do nothing if ipa-reference is
23734 (ignore_module_statics): New static var.
23735 (propagate_bits): If ipa-reference is disabled, do not look into local
23737 (analyze_function): Disable analysis when ipa_reference is disabled.
23738 (generate_summary): Do not dump when reference is disabled;
23739 collect vars accessed from functions with ipa-reference disabled.
23740 (get_read_write_all_from_node): When ipa-reference is disabled, use the
23742 (gate): Enable for LTO.
23743 (ignore_edge_p): New function.
23744 (propagate): Skip functions w/o ipa-reference analysis.
23745 * optc-save-gen.awk: Handle optimize_debug correctly.
23746 * opth-gen.awk: Likewise.
23747 * common.opt (fauto-inc-dec, fdelete-dead-exceptions, ffunction-cse,
23748 fgraphite, fstrict-volatile-bitfields, fira-algorithm, fira-region,
23749 fira-share-save-slots, fira-share-spill-slots,
23750 fmodulo-sched-allow-regmoves, fpartial-inlining,
23751 sched-stalled-insns, fsched-stalled-insns-dep, fstrict-overflow,
23752 ftracer, ftree-parallelize-loops, fassociative-math,
23753 freciprocal-math, fvect-cost-model, fsimd-cost-model): Mark as
23755 (fauto-profile, fcommon, fdata-sections, fipa-icf-variables,
23756 ftoplevel-reorder, funit-at-a-time, fwhole-program): Do not mark as
23758 * ipa-icf.c (gate, sem_item_optimizer::filter_removed_items):
23761 2015-01-18 Jan Hubicka <hubicka@ucw.cz>
23764 * ipa-prop.c (try_make_edge_direct_virtual_call): Clear speculative
23766 * ipa-cp.c (ipa_get_indirect_edge_target_1): Handle speculation.
23768 2015-01-18 Sandra Loosemore <sandra@codesourcery.com>
23770 * doc/invoke.texi ([-funroll-loops], [-funroll-all-loops]):
23771 Remove duplicate option listings.
23773 2015-01-18 Felix Yang <felix.yang@huawei.com>
23775 * auto-profile.c (afdo_find_equiv_class): Remove unnecessary test.
23776 (autofdo_source_profile::get_callsite_total_count,
23777 function_instance::get_function_instance_by_decl,
23778 string_table::get_index, string_table::get_index_by_decl,
23779 afdo_vpt_for_early_inline, afdo_callsite_hot_enough_for_early_inline):
23780 Fix comment typos. Reformatting and minor code rearrangement.
23782 2015-01-17 Segher Boessenkool <segher@kernel.crashing.org>
23784 * config/rs6000/rs6000.md (probe_stack): Delete.
23785 (probe_stack_address): New.
23787 2015-01-17 Segher Boessenkool <segher@kernel.crashing.org>
23789 * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Use TARGET_32BIT
23790 to test for 32-bit ABIs, not !TARGET_POWERPC64.
23792 2015-01-17 Segher Boessenkool <segher@kernel.crashing.org>
23794 * config/rs6000/rs6000.c (rs6000_parallel_return): New function.
23795 (rs6000_function_value): Use it. Handle SCmode and TCmode as well,
23796 for TARGET_32BIT && TARGET_POWERPC64. Fix another BITS_PER_WORD
23798 (rs6000_libcall_value): Use the new function.
23800 2015-01-17 Sandra Loosemore <sandra@codesourcery.com>
23802 * doc/invoke.texi ([-ftracer]): Remove duplicate option listing.
23804 2015-01-17 Eric Botcazou <ebotcazou@adacore.com>
23806 * reorg.c (fill_simple_delay_slots): If TARGET_FLAGS_REGNUM is valid,
23807 implement a more precise life analysis for it during backward scan.
23809 2015-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
23811 * dwarf2out.c (gen_producer_string): Ignore also OPT_fpreprocessed.
23813 2015-01-17 Bernd Schmidt <bernds@codesourcery.com>
23815 PR rtl-optimization/52773
23816 * calls.c (emit_library_call_value): When pushing arguments use
23817 stack_pointer_rtx rather than virtual_outgoing_args_rtx in
23818 CALL_INSN_FUNCTION_USAGE. Only emit one of use of the magic
23819 stack pointer reference into CALL_INSN_FUNCTION_USAGE.
23821 2015-01-17 Jeff Law <law@redhat.com>
23823 PR rtl-optimization/32790
23824 * reginfo.c (reg_scan_mark_refs): Look for ZERO_EXTRACT,
23825 not ZERO_EXTEND in SET_DESTs.
23827 2015-01-17 Alan Modra <amodra@gmail.com>
23829 * cprop.c (do_local_cprop): Revert last change.
23831 2015-01-16 DJ Delorie <dj@redhat.com>
23832 Nick Clifton <nickc@redhat.com>
23834 * config/rl78/rl78-real.md (addqi3_real): Allow volatiles.
23835 (addhi3_real): Likewise. Fix [HL+0] syntax.
23836 (subqi3_real): Likewise.
23837 (subhi3_real): Likewise.
23838 (cbranchqi4_real): Likewise. Allow saddr,#imm.
23839 (cbranchhi4_real): Likewise.
23840 (cbranchhi4_real_inverted): Likewise.
23841 (cbranchsi4_real_lt): Likewise.
23842 (cbranchsi4_real_ge): Likewise.
23843 (cbranchsi4_real_ge): Likewise.
23844 * config/rl78/rl78-virt.md (add<mode>3_virt): Likewise.
23845 (sub<mode>3_virt): Likewise.
23846 (cbranchqi4_virt): Likewise.
23847 (cbranchhi4_virt): Likewise.
23848 * config/rl78/rl78.c (rl78_print_operand_1): 'p' modifier means
23849 always use '[reg+imm]' even when imm is zero.
23850 * config/rl78/predicates.md (rl78_volatile_memory_operand): New.
23851 (rl78_general_operand): New.
23852 (rl78_nonimmediate_operand): New.
23853 (rl78_nonfar_operand): Use them.
23854 (rl78_nonfar_nonimm_operand): Likewise.
23855 (rl78_stack_based_mem): Fix.
23856 * config/rl78/constraints.md (Ibqi): New.
23861 * config/rl78/rl78-expand.md (andqi3): Accept volatiles.
23862 (iorqi3): Likewise.
23863 (xorqi3): Likewise.
23864 * config/rl78/rl78-protos.h (rl78_sfr_p): New.
23866 * config/rl78/constrains (Qs8): New constraint.
23867 * config/rl78/rl78.c (rl78_flags_already_set): New function.
23868 * config/rl78/rl78-protos.h (rl78_flags_already_set): New prototype.
23869 * config/rl78/rl78-real.md (update_Z): New attribute.
23870 Update patterns to set it.
23871 (cbranchqi4_real): Call rl78_flags_already_set() to determine if a
23872 shorter compare and branch sequence can be used.
23873 (cbranchhi4_real): Likewise.
23874 (cbranchhi4_real_inverted): Likewise.
23876 * config/rl78/predicates.md (uword_operand): Allow symbol_refs.
23877 * config/rl78/rl78-c.c (rl78_register_pragmas): Register __near
23879 * config/rl78/rl78.c (rl78_get_name_encoding): New.
23880 (rl78_option_override): Allow -mes0 only if C.
23881 (characterize_address): Support subregs of symbol_refs.
23882 (rl78_addr_space_address_mode): Move. Add __near.
23883 (rl78_far_p): Likewise.
23884 (rl78_addr_space_pointer_mode): Likewise.
23885 (rl78_as_legitimate_address): Likewise.
23886 (rl78_addr_space_subset_p): Likewise.
23887 (rl78_addr_space_convert): Likewise.
23888 (rl78_print_operand_1): Support 16-bit addressing of 32-bit
23889 symbols with -mes0.
23890 (transcode_memory_rtx): Don't copy ES if -mes0. Allow symbol[BC]
23892 (rl78_alloc_physical_registers_op1): Change logic to prefer
23893 symbol[BC] addressing.
23894 (frodata_section): New.
23895 (rl78_asm_init_sections): Initialize it.
23896 (rl78_select_section): Put __far readonly symbols in .frodata.
23897 (rl78_make_type_far): New.
23898 (rl78_insert_attributes): Force all readonly symbols to be
23900 (rl78_asm_out_integer): New.
23901 * config/rl78/rl78.h (ADDR_SPACE_NEAR): New.
23902 * config/rl78/rl78.opt (-mes0): New.
23904 * config/rl78/rl78.h (ASM_OUTPUT_LABELREF): New.
23905 (ASM_OUTPUT_ALIGNED_DECL_COMMON): New.
23906 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): New.
23907 * config/rl78/rl78-protos.h (rl78_output_labelref): New.
23908 (rl78_saddr_p): New.
23909 (rl78_output_aligned_common): New.
23910 * config/rl78/rl78.c (rl78_output_symbol_ref): Strip encodings.
23911 (rl78_handle_saddr_attribute): New.
23912 (rl78_handle_naked_attribute): New.
23913 (rl78_attribute_table): Add saddr.
23914 (rl78_print_operand_1): Don't print '!' on saddr operands.
23915 (rl78_print_operand_1): Strip encodings.
23917 (rl78_strip_name_encoding): New.
23918 (rl78_attrlist_to_encoding): New.
23919 (rl78_encode_section_info): New.
23920 (rl78_asm_init_sections): New.
23921 (rl78_select_section): New.
23922 (rl78_output_labelref): New.
23923 (rl78_output_aligned_common): New.
23924 (rl78_asm_out_integer): New.
23925 (rl78_asm_ctor_dtor): New.
23926 (rl78_asm_constructor): New.
23927 (rl78_asm_destructor): New.
23929 * config/rl78/rl78-real.md (movqi_es): Rename to movqi_to_es.
23930 * config/rl78/rl78.c (rl78_expand_epilogue): Update.
23931 (transcode_memory_rtx): Update.
23932 (rl78_expand_epilogue): Use A_REG instead of 0.
23934 2015-01-17 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
23936 * config/arm/arm-protos.h (struct tune_params): New field
23937 sched_autopref_queue_depth.
23938 * config/arm/arm.c (sched-int.h): Include header.
23939 (arm_first_cycle_multipass_dfa_lookahead_guard,)
23940 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): Define hook.
23941 (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,)
23942 (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,)
23943 (arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,)
23944 (arm_cortex_a53_tune, arm_cortex_a57_tune, arm_xgene1_tune,)
23945 (arm_cortex_a5_tune, arm_cortex_a9_tune, arm_cortex_a12_tune,)
23946 (arm_v7m_tune, arm_cortex_m7_tune, arm_v6m_tune, arm_fa726te_tune):
23947 Specify sched_autopref_queue_depth value. Enabled for A15 and A57.
23948 * config/arm/t-arm (arm.o): Update.
23949 * haifa-sched.c (update_insn_after_change): Update.
23950 (rank_for_schedule): Use auto-prefetcher model, if requested.
23951 (autopref_multipass_init): New static function.
23952 (autopref_rank_for_schedule): New rank_for_schedule heuristic.
23953 (autopref_multipass_dfa_lookahead_guard_started_dump_p): New static
23954 variable for debug dumps.
23955 (autopref_multipass_dfa_lookahead_guard_1): New static helper function.
23956 (autopref_multipass_dfa_lookahead_guard): New global function that
23957 implements TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD hook.
23958 (init_h_i_d): Update.
23959 * params.def (PARAM_SCHED_AUTOPREF_QUEUE_DEPTH): New tuning knob.
23960 * sched-int.h (enum autopref_multipass_data_status): New const enum.
23961 (autopref_multipass_data_): Structure for auto-prefetcher data.
23962 (autopref_multipass_data_def, autopref_multipass_data_t): New typedefs.
23963 (struct _haifa_insn_data:autopref_multipass_data): New field.
23964 (INSN_AUTOPREF_MULTIPASS_DATA): New access macro.
23965 (autopref_multipass_dfa_lookahead_guard): Declare.
23967 2015-01-17 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
23969 * rtlanal.c (get_base_term): Handle SCRATCH.
23971 2015-01-17 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
23973 * config/aarch64/aarch64.c
23974 (aarch64_sched_first_cycle_multipass_dfa_lookahead): Implement hook.
23975 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
23977 (arm_first_cycle_multipass_dfa_lookahead): Implement hook.
23978 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
23980 2015-01-17 Alan Modra <amodra@gmail.com>
23982 * cprop.c (do_local_cprop): Disallow replacement of fixed
23985 2015-01-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
23988 * config/arm/arm-builtins.c (arm_expand_neon_args): Call va_end before
23991 2015-01-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
23993 * sanitizer.def (BUILT_IN_TSAN_VPTR_UPDATE): Fixed parameters.
23994 * tsan.c (instrument_expr): Fixed parameters of __tsan_vptr_update.
23996 2015-01-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
23998 * config/arm/arm.md: Move comment about splitting Thumb1 patterns to...
23999 * config/arm/thumb1.md: ... Here.
24001 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
24003 * config/rs6000/rs6000.c (rs6000_scalar_mode_supported_p): Disallow
24004 TImode for TARGET_32BIT.
24006 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
24008 * config/rs6000/rs6000.c (TARGET_LIBGCC_CMP_RETURN_MODE,
24009 TARGET_LIBGCC_SHIFT_COUNT_MODE, TARGET_UNWIND_WORD_MODE): Implement
24011 (rs6000_abi_word_mode): New function.
24013 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
24015 * config/rs6000/rs6000.c (rs6000_va_start): Use MIN_UNITS_PER_WORD
24016 instead of UNITS_PER_WORD to describe the size of stack slots.
24018 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
24020 * config/rs6000/rs6000.c (TARGET_PROMOTE_FUNCTION_MODE): Implement
24021 as rs6000_promote_function_mode. Move comment to there.
24022 (rs6000_promote_function_mode): New function.
24024 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
24026 * config/rs6000/rs6000.h (PROMOTE_MODE): Correct test for when -m32
24027 -mpowerpc64 is active.
24029 2015-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
24031 PR middle-end/64353
24032 * tree-cfg.c (pass_data_fixup_cfg): Update SSA for
24035 2015-01-16 James Greenhalgh <james.greenhalgh@arm.com>
24037 * config/arm/cortex-a57.md: Remove duplicate of file accidentally
24038 introduced in revision 219724.
24040 2015-01-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
24041 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
24044 * config/aarch64/aarch64.md (*movsi_aarch64): Don't split if the
24045 destination is not a GP reg.
24046 (*movdi_aarch64): Likewise.
24048 2015-01-16 David Edelsohn <dje.gcc@gmail.com>
24051 * config/rs6000/default64.h: Revert ISA change.
24053 2015-01-16 Richard Biener <rguenther@suse.de>
24055 PR middle-end/64614
24056 * tree-ssa-uninit.c: Include tree-cfg.h.
24057 (MAX_SWITCH_CASES): New define.
24058 (convert_control_dep_chain_into_preds): Handle switch statements.
24059 (is_pred_expr_subset_of): Handle x == CST vs. (x & CST) != 0.
24060 (normalize_one_pred_1): Do not split bit-manipulations.
24063 2015-01-16 Richard Biener <rguenther@suse.de>
24065 PR tree-optimization/64568
24066 * tree-ssa-forwprop.c (pass_forwprop::execute): Guard
24067 complex load rewriting for TARGET_MEM_REFs.
24069 2015-01-16 Uros Bizjak <ubizjak@gmail.com>
24071 * builtins.c (expand_builtin_acc_on_device): Check target for NULL.
24073 2015-01-16 Matthew Wahab <matthew.wahab@arm.com>
24076 * config/aarch64/aarch64.opt: Remove lra option and aarch64_lra_flag
24078 * config/aarch64/aarch64.c (TARGET_LRA_P): Set to hook_bool_void_true.
24079 (aarch64_lra_p): Remove.
24081 2015-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
24084 * ipa-chkp.h (chkp_instrumentable_p): New.
24085 * ipa-chkp.c: Include tree-inline.h.
24086 (chkp_instrumentable_p): New.
24087 (chkp_maybe_create_clone): Use chkp_instrumentable_p.
24088 Fix processing of not instrumentable functions.
24089 (chkp_versioning): Use chkp_instrumentable_p. Warn about
24090 not instrumentable functions.
24091 * tree-chkp.c (chkp_add_bounds_to_call_stmt): Use
24092 chkp_instrumentable_p.
24093 * tree-inline.h (copy_forbidden): New.
24094 * tree-inline.c (copy_forbidden): Not static anymore.
24096 2015-01-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
24098 * optc-save-gen.awk (cl_target_option_print_diff): Mark indent,
24101 2015-01-16 Robert Suchanek <robert.suchanek@imgtec.com>
24103 * lra-constraints.c (curr_insn_transform): Change a reload pseudo of
24104 type OP_OUT to OP_INOUT.
24106 2015-01-16 Robert Suchanek <robert.suchanek@imgtec.com>
24108 * simplify-rtx.c (simplify_replace_fn_rtx): Simplify (lo_sum
24109 (high x) y) to y if x and y have the same base.
24111 2015-01-16 James Greenhalgh <james.greenhalgh@arm.com>
24113 * config/arm/cortex-a57.md: New.
24114 * config/aarch64/aarch64.md: Include it.
24115 * config/aarch64/aarch64-cores.def (cortex-a57): Tune for it.
24116 * config/aarch64/aarch64-tune.md: Regenerate.
24118 2015-01-16 Zhenqiang Chen <zhenqiang.chen@arm.com>
24121 * ccmp.c (expand_ccmp_next): New function.
24122 (expand_ccmp_expr_1, expand_ccmp_expr): Handle operand insn sequence
24123 and compare insn sequence.
24124 * config/aarch64/aarch64.c (aarch64_code_to_ccmode,
24125 aarch64_gen_ccmp_first, aarch64_gen_ccmp_next): New functions.
24126 (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): New MICRO.
24127 * config/aarch64/aarch64.md (*ccmp_and): Changed to ccmp_and<mode>.
24128 (*ccmp_ior): Changed to ccmp_ior<mode>.
24129 (cmp<mode>): New pattern.
24130 * doc/tm.texi (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): Update
24132 * target.def (gen_ccmp_first, gen_ccmp_next): Update parameters.
24134 2015-01-16 Ilya Tocar <ilya.tocar@intel.com>
24136 * config/i386/avx2intrin.h (_mm256_bslli_epi128,
24137 _mm256_bsrli_epi128): New.
24138 * config/i386/emmintrin.h (_mm_bsrli_si128, _mm_bslli_si128): Ditto.
24140 2015-01-15 Jiong Wang <jiong.wang@arm.com>
24142 * expmed.c (store_bit_field_using_insv): Improve warning message.
24143 Use %wu instead of HOST_WIDE_INT_PRINT_UNSIGNED.
24145 2015-01-15 Jiong Wang <jiong.wang@arm.com>
24147 PR rtl-optimization/64011
24148 * expmed.c (store_bit_field_using_insv): Warn and truncate bitsize when
24149 there is partial overflow.
24151 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
24153 * config/nds32/nds32-protos.h (nds32_expand_epilogue): Change
24155 (nds32_expand_epilogue_v3pop): Likewise.
24156 * config/nds32/nds32.md (sibcall): Define this for sibling call
24158 (sibcall_register): Likewise.
24159 (sibcall_immediate): Likewise.
24160 (sibcall_value): Likewise.
24161 (sibcall_value_register): Likewise.
24162 (sibcall_value_immediate): Likewise.
24163 (sibcall_epilogue): Likewise.
24164 (epilogue): Pass false to indicate this is not a sibcall epilogue.
24165 * config/nds32/nds32.c (nds32_expand_epilogue): Consider sibcall case.
24166 (nds32_expand_epilogue_v3pop): Likewise.
24168 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
24170 * config/nds32/nds32-protos.h (nds32_can_use_return_insn): New.
24171 * config/nds32/nds32.md (unspec_volatile_func_return): Remove.
24172 (return_internal): New.
24173 (return): Define this named pattern.
24174 (simple_return): Define this named pattern.
24175 * config/nds32/nds32.c (nds32_expand_epilogue): Emit return_internal
24176 pattern instead of unspec_volatile_func_return.
24177 (nds32_expand_epilogue_v3pop): Likewise.
24178 (nds32_can_use_return_insn): New function.
24180 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
24182 * config/nds32/constants.md (UNSPEC_VOLATILE_POP25_RETURN): New.
24183 * config/nds32/nds32.md (pop25return): New.
24184 * config/nds32/nds32.c (nds32_expand_epilogue_v3pop): Emit
24185 pop25return pattern.
24187 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
24189 * doc/invoke.texi (NDS32 Options): Remove -mforce-fp-as-gp,
24190 -mforbid-fp-as-gp, and -mex9 options.
24192 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
24194 * doc/invoke.texi (NDS32 Options): Add -mcmodel= option and
24195 remove -mgp-direct option.
24197 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
24199 * doc/invoke.texi (--param early-inlining-insns): Update default value.
24200 * params.def (PARAM_EARLY_INLINING_INSNS): Set to 14.
24202 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
24204 * ipa-inline.c (inline_small_functions): Work around hints
24207 2015-01-15 Sandra Loosemore <sandra@codesourcery.com>
24210 * doc/invoke.texi (Option Summary): Document new Nios II
24212 (Nios II Options): Likewise.
24213 * config/nios2/nios2.opt: Add -mgpopt= option support.
24214 Modify existing -mgpopt and -mno-gpopt options to be aliases.
24215 * config/nios2/nios2-opts.h (enum nios2_gpopt_type): New.
24216 * config/nios2/nios2.c (nios2_option_override): Adjust
24217 -mgpopt defaulting.
24218 (nios2_in_small_data_p): Return true for explicit small data
24219 sections even with -G0.
24220 (nios2_symbol_ref_in_small_data_p): Adjust to handle new -mgpopt=
24223 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
24226 * ipa-inline-transform.c (can_remove_node_now_p): Fix handling
24228 (inline_call): Fix removal of aliases.
24230 2015-01-15 Jakub Jelinek <jakub@redhat.com>
24232 * flag-types.h (enum sanitize_code): Add SANITIZE_VPTR,
24233 include SANITIZE_VPTR in SANITIZE_UNDEFINED.
24234 * opts.c (common_handle_option): Add -fsanitize=vptr.
24235 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_DYNAMIC_TYPE_CACHE_MISS,
24236 BUILT_IN_UBSAN_HANDLE_DYNAMIC_TYPE_CACHE_MISS_ABORT): New.
24237 * ubsan.h (enum ubsan_null_ckind): Add UBSAN_DOWNCAST_POINTER,
24238 UBSAN_DOWNCAST_REFERENCE, UBSAN_UPCAST and UBSAN_CAST_TO_VBASE.
24239 (ubsan_expand_vptr_ifn): New prototype.
24240 * internal-fn.c (expand_ANNOTATE, expand_GOMP_SIMD_LANE,
24241 expand_GOMP_SIMD_VF, expand_GOMP_SIMD_LAST_LANE, expand_UBSAN_NULL,
24242 expand_UBSAN_BOUNDS, expand_UBSAN_OBJECT_SIZE, expand_ASAN_CHECK,
24243 expand_LOOP_VECTORIZED): Make argument nameless, remove
24245 (expand_UBSAN_VPTR): New function.
24246 * internal-fn.def (UBSAN_NULL, ASAN_CHECK): Use R instead of W
24248 (UBSAN_VPTR): New internal function.
24249 * sanopt.c (tree_map_traits): Renamed to ...
24250 (sanopt_tree_map_traits): ... this.
24251 (sanopt_tree_triplet, sanopt_tree_triplet_map_traits): New classes.
24252 (sanopt_ctx): Adjust asan_check_map type for tree_map_traits
24253 to sanopt_tree_map_traits renaming. Add vptr_check_map field.
24254 (maybe_optimize_ubsan_vptr_ifn): New function.
24255 (sanopt_optimize_walker): Handle IFN_UBSAN_VPTR.
24256 (pass_sanopt::execute): Likewise. Call sanopt_optimize even for
24258 * tree-ssa-alias.c (call_may_clobber_ref_p_1): Handle certain
24259 internal calls like pure functions for aliasing, even when they
24260 have other side-effects that prevent making them ECF_PURE.
24261 * ubsan.c (ubsan_vptr_type_cache_decl): New variable.
24262 (ubsan_expand_vptr_ifn): New function.
24264 2015-01-15 Vladimir Makarov <vmakarov@redhat.com>
24266 PR rtl-optimization/64110
24267 * stmt.c (parse_output_constraint): Process '^' and '$'.
24268 (parse_input_constraint): Ditto.
24269 * lra-constraints.c (process_alt_operands): Process the new
24271 * ira-costs.c (record_reg_classes): Process the new constraint
24273 * genoutput.c (indep_constraints): Add '^' and '$'.
24274 * config/i386/sse.md (*vec_dup<mode>): Use '$' instead of '!'.
24275 * doc/md.texi: Add description of the new constraints.
24277 2015-01-15 Thomas Schwinge <thomas@codesourcery.com>
24278 Bernd Schmidt <bernds@codesourcery.com>
24279 Cesar Philippidis <cesar@codesourcery.com>
24280 James Norris <jnorris@codesourcery.com>
24281 Tom de Vries <tom@codesourcery.com>
24282 Ilmir Usmanov <i.usmanov@samsung.com>
24283 Dmitry Bocharnikov <dmitry.b@samsung.com>
24284 Evgeny Gavrin <e.gavrin@samsung.com>
24285 Jakub Jelinek <jakub@redhat.com>
24287 * builtin-types.def (BT_FN_VOID_INT_INT_VAR)
24288 (BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR_INT_INT_VAR)
24289 (BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR):
24290 New function types.
24291 * builtins.c: Include "gomp-constants.h".
24292 (expand_builtin_acc_on_device): New function.
24293 (expand_builtin, is_inexpensive_builtin): Handle
24294 BUILT_IN_ACC_ON_DEVICE.
24295 * builtins.def (DEF_GOACC_BUILTIN, DEF_GOACC_BUILTIN_COMPILER):
24297 * cgraph.c (cgraph_node::create): Consider flag_openacc next to
24299 * config.gcc <nvptx-*> (tm_file): Add nvptx/offload.h.
24300 <*-intelmic-* | *-intelmicemul-*> (tm_file): Add
24301 i386/intelmic-offload.h.
24302 * gcc.c (LINK_COMMAND_SPEC, GOMP_SELF_SPECS): For -fopenacc, link
24303 to libgomp and its dependencies.
24304 * config/arc/arc.h (LINK_COMMAND_SPEC): Likewise.
24305 * config/darwin.h (LINK_COMMAND_SPEC_A): Likewise.
24306 * config/i386/mingw32.h (GOMP_SELF_SPECS): Likewise.
24307 * config/ia64/hpux.h (LIB_SPEC): Likewise.
24308 * config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
24309 * config/pa/pa64-hpux.h (LIB_SPEC): Likewise.
24310 * doc/generic.texi: Update for OpenACC changes.
24311 * doc/gimple.texi: Likewise.
24312 * doc/invoke.texi: Likewise.
24313 * doc/sourcebuild.texi: Likewise.
24314 * gimple-pretty-print.c (dump_gimple_omp_for): Handle
24315 GF_OMP_FOR_KIND_OACC_LOOP.
24316 (dump_gimple_omp_target): Handle GF_OMP_TARGET_KIND_OACC_KERNELS,
24317 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_DATA,
24318 GF_OMP_TARGET_KIND_OACC_UPDATE,
24319 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
24321 * gimple.c: Update comments for OpenACC changes.
24322 * gimple.def: Likewise.
24323 * gimple.h: Likewise.
24324 (enum gf_mask): Add GF_OMP_FOR_KIND_OACC_LOOP,
24325 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
24326 GF_OMP_TARGET_KIND_OACC_DATA, GF_OMP_TARGET_KIND_OACC_UPDATE,
24327 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
24328 (gimple_omp_for_cond, gimple_omp_for_set_cond): Sort in the
24330 (is_gimple_omp_oacc, is_gimple_omp_offloaded): New functions.
24331 * gimplify.c: Include "gomp-constants.h".
24332 Update comments for OpenACC changes.
24333 (is_gimple_stmt): Handle OACC_PARALLEL, OACC_KERNELS, OACC_DATA,
24334 OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE, OACC_ENTER_DATA,
24335 OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
24336 (gimplify_scan_omp_clauses, gimplify_adjust_omp_clauses): Handle
24337 OMP_CLAUSE__CACHE_, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
24338 OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
24339 OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_GANG, OMP_CLAUSE_WORKER,
24340 OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
24341 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE_INDEPENDENT, OMP_CLAUSE_AUTO,
24343 (gimplify_adjust_omp_clauses_1, gimplify_adjust_omp_clauses): Use
24344 GOMP_MAP_* instead of OMP_CLAUSE_MAP_*. Use
24345 OMP_CLAUSE_SET_MAP_KIND.
24346 (gimplify_oacc_cache): New function.
24347 (gimplify_omp_for): Handle OACC_LOOP.
24348 (gimplify_omp_workshare): Handle OACC_KERNELS, OACC_PARALLEL,
24350 (gimplify_omp_target_update): Handle OACC_ENTER_DATA,
24351 OACC_EXIT_DATA, OACC_UPDATE.
24352 (gimplify_expr): Handle OACC_LOOP, OACC_CACHE, OACC_HOST_DATA,
24353 OACC_DECLARE, OACC_KERNELS, OACC_PARALLEL, OACC_DATA,
24354 OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE.
24355 (gimplify_body): Consider flag_openacc next to flag_openmp.
24356 * lto-streamer-out.c: Include "gomp-constants.h".
24357 * omp-builtins.def (BUILT_IN_ACC_GET_DEVICE_TYPE)
24358 (BUILT_IN_GOACC_DATA_START, BUILT_IN_GOACC_DATA_END)
24359 (BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL)
24360 (BUILT_IN_GOACC_UPDATE, BUILT_IN_GOACC_WAIT)
24361 (BUILT_IN_GOACC_GET_THREAD_NUM, BUILT_IN_GOACC_GET_NUM_THREADS)
24362 (BUILT_IN_ACC_ON_DEVICE): New builtins.
24363 * omp-low.c: Include "gomp-constants.h".
24364 Update comments for OpenACC changes.
24365 (struct omp_context): Add reduction_map, gwv_below, gwv_this
24367 (extract_omp_for_data, use_pointer_for_field, install_var_field)
24368 (new_omp_context, delete_omp_context, scan_sharing_clauses)
24369 (create_omp_child_function, scan_omp_for, scan_omp_target)
24370 (check_omp_nesting_restrictions, lower_reduction_clauses)
24371 (build_omp_regions_1, diagnose_sb_0, make_gimple_omp_edges):
24372 Update for OpenACC changes.
24373 (scan_sharing_clauses): Handle OMP_CLAUSE_NUM_GANGS:
24374 OMP_CLAUSE_NUM_WORKERS: OMP_CLAUSE_VECTOR_LENGTH,
24375 OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT, OMP_CLAUSE_GANG,
24376 OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
24377 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_INDEPENDENT,
24378 OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ. Use GOMP_MAP_* instead of
24380 (expand_omp_for_static_nochunk, expand_omp_for_static_chunk):
24381 Handle GF_OMP_FOR_KIND_OACC_LOOP.
24382 (expand_omp_target, lower_omp_target): Handle
24383 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
24384 GF_OMP_TARGET_KIND_OACC_UPDATE,
24385 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA,
24386 GF_OMP_TARGET_KIND_OACC_DATA.
24387 (pass_expand_omp::execute, execute_lower_omp)
24388 (pass_diagnose_omp_blocks::gate): Consider flag_openacc next to
24390 (offload_symbol_decl): New variable.
24391 (oacc_get_reduction_array_id, oacc_max_threads)
24392 (get_offload_symbol_decl, get_base_type, lookup_oacc_reduction)
24393 (maybe_lookup_oacc_reduction, enclosing_target_ctx)
24394 (oacc_loop_or_target_p, oacc_lower_reduction_var_helper)
24395 (oacc_gimple_assign, oacc_initialize_reduction_data)
24396 (oacc_finalize_reduction_data, oacc_process_reduction_data): New
24398 (is_targetreg_ctx): Remove function.
24399 * tree-core.h (enum omp_clause_code): Add OMP_CLAUSE__CACHE_,
24400 OMP_CLAUSE_DEVICE_RESIDENT, OMP_CLAUSE_USE_DEVICE,
24401 OMP_CLAUSE_GANG, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
24402 OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ, OMP_CLAUSE_INDEPENDENT,
24403 OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_NUM_GANGS,
24404 OMP_CLAUSE_NUM_WORKERS, OMP_CLAUSE_VECTOR_LENGTH.
24405 * tree.c (omp_clause_code_name, walk_tree_1): Update accordingly.
24406 * tree.h (OMP_CLAUSE_GANG_EXPR, OMP_CLAUSE_GANG_STATIC_EXPR)
24407 (OMP_CLAUSE_ASYNC_EXPR, OMP_CLAUSE_WAIT_EXPR)
24408 (OMP_CLAUSE_VECTOR_EXPR, OMP_CLAUSE_WORKER_EXPR)
24409 (OMP_CLAUSE_NUM_GANGS_EXPR, OMP_CLAUSE_NUM_WORKERS_EXPR)
24410 (OMP_CLAUSE_VECTOR_LENGTH_EXPR): New macros.
24411 * tree-core.h: Update comments for OpenACC changes.
24412 (enum omp_clause_map_kind): Remove.
24413 (struct tree_omp_clause): Change type of map_kind member from enum
24414 omp_clause_map_kind to unsigned char.
24415 * tree-inline.c: Update comments for OpenACC changes.
24416 * tree-nested.c: Likewise. Include "gomp-constants.h".
24417 (convert_nonlocal_reference_stmt, convert_local_reference_stmt)
24418 (convert_tramp_reference_stmt, convert_gimple_call): Update for
24419 OpenACC changes. Use GOMP_MAP_* instead of OMP_CLAUSE_MAP_*. Use
24420 OMP_CLAUSE_SET_MAP_KIND.
24421 * tree-pretty-print.c: Include "gomp-constants.h".
24422 (dump_omp_clause): Handle OMP_CLAUSE_DEVICE_RESIDENT,
24423 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_GANG,
24424 OMP_CLAUSE_ASYNC, OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ,
24425 OMP_CLAUSE_WAIT, OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR,
24426 OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
24427 OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_INDEPENDENT. Use GOMP_MAP_*
24428 instead of OMP_CLAUSE_MAP_*.
24429 (dump_generic_node): Handle OACC_PARALLEL, OACC_KERNELS,
24430 OACC_DATA, OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE,
24431 OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
24432 * tree-streamer-in.c: Include "gomp-constants.h".
24433 (unpack_ts_omp_clause_value_fields) Use GOMP_MAP_* instead of
24434 OMP_CLAUSE_MAP_*. Use OMP_CLAUSE_SET_MAP_KIND.
24435 * tree-streamer-out.c: Include "gomp-constants.h".
24436 (pack_ts_omp_clause_value_fields): Use GOMP_MAP_* instead of
24438 * tree.def (OACC_PARALLEL, OACC_KERNELS, OACC_DATA)
24439 (OACC_HOST_DATA, OACC_LOOP, OACC_CACHE, OACC_DECLARE)
24440 (OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE): New tree codes.
24441 * tree.c (omp_clause_num_ops): Update accordingly.
24442 * tree.h (OMP_BODY, OMP_CLAUSES, OMP_LOOP_CHECK, OMP_CLAUSE_SIZE):
24444 (OACC_PARALLEL_BODY, OACC_PARALLEL_CLAUSES, OACC_KERNELS_BODY)
24445 (OACC_KERNELS_CLAUSES, OACC_DATA_BODY, OACC_DATA_CLAUSES)
24446 (OACC_HOST_DATA_BODY, OACC_HOST_DATA_CLAUSES, OACC_CACHE_CLAUSES)
24447 (OACC_DECLARE_CLAUSES, OACC_ENTER_DATA_CLAUSES)
24448 (OACC_EXIT_DATA_CLAUSES, OACC_UPDATE_CLAUSES)
24449 (OACC_KERNELS_COMBINED, OACC_PARALLEL_COMBINED): New macros.
24450 * tree.h (OMP_CLAUSE_MAP_KIND): Cast it to enum gomp_map_kind.
24451 (OMP_CLAUSE_SET_MAP_KIND): New macro.
24452 * varpool.c (varpool_node::get_create): Consider flag_openacc next
24454 * config/i386/intelmic-offload.h: New file.
24455 * config/nvptx/offload.h: Likewise.
24457 2015-01-15 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
24459 * explow.h: Remove duplicate contents.
24460 * dojump.h: Likewise.
24462 2015-01-15 Richard Earnshaw <rearnsha@arm.com>
24464 * arm.c (arm_xgene_tune): Add default initializer for instruction
24467 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
24471 * ipa.c (symbol_table::remove_unreachable_nodes):
24472 Do not put abstract origins into boundary.
24474 2015-01-15 Evgeny Stupachenko <evstupac@gmail.com>
24476 * config/i386/gnu-user.h (CRT_GET_RFIB_DATA): Remove EBX register usage.
24477 * config/i386/sysv4.h (CRT_GET_RFIB_DATA): Ditto.
24479 2015-01-15 Steve Ellcey <sellcey@mips.com>
24481 * Makefile.in (PLUGIN_HEADERS): Add dominance.h, cfg.h, cfgrtl.h,
24482 cfganal.h, cfgbuild.h, cfgcleanup.h, lcm.h, cfgloopmanip.h,
24483 builtins.def, and chkp-builtins.def.
24485 2015-01-15 David Edelsohn <dje.gcc@gmail.com>
24487 * config/rs6000/default64.h (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use
24490 2015-01-15 Richard Biener <rguenther@suse.de>
24492 PR tree-optimization/61743
24493 * tree-ssa-pre.c (insert_into_preds_of_block): Preserve range
24494 information on PHIs for some simple cases.
24496 2015-01-15 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
24498 * config/arm/arm.md (generic_sched): Specify xgene1 in 'no' list.
24500 * config/arm/arm.c (arm_issue_rate): Specify 4 for xgene1.
24501 * config/arm/arm-cores.def (xgene1): New entry.
24502 * config/arm/arm-tables.opt: Regenerate.
24503 * config/arm/arm-tune.md: Regenerate.
24504 * config/arm/bpabi.h (BE8_LINK_SPEC): Specify mcpu=xgene1.
24506 2015-01-15 Yuri Rumyantsev <ysrumyan@gmail.com>
24508 * tree-if-conv.c: Include hash-map.h.
24509 (aggressive_if_conv): New variable.
24510 (fold_build_cond_expr): Add simplification of non-zero condition.
24511 (add_to_dst_predicate_list): Invoke add_to_predicate_list if edge
24512 destination block is not always executed.
24513 (if_convertible_phi_p): Fix commentary, allow phi nodes have more
24514 than two predecessors if AGGRESSIVE_IF_CONV is true.
24515 (if_convertible_stmt_p): Fix commentary.
24516 (all_preds_critical_p): New function.
24517 (has_pred_critical_p): New function.
24518 (if_convertible_bb_p): Fix commentary, if AGGRESSIVE_IF_CONV is true
24519 BB can have more than two predecessors and all incoming edges can be
24521 (predicate_bbs): Skip predication for loop exit block, use build2_loc
24522 to compute predicate for true edge.
24523 (find_phi_replacement_condition): Delete this function.
24524 (is_cond_scalar_reduction): Add arguments ARG_0, ARG_1 and EXTENDED.
24525 Allow interchange PHI arguments if EXTENDED is false.
24526 Change check that block containing reduction statement candidate
24527 is predecessor of phi-block since phi may have more than two arguments.
24528 (phi_args_hash_traits): New helper structure.
24529 (struct phi_args_hash_traits): New type.
24530 (phi_args_hash_traits::hash): New function.
24531 (phi_args_hash_traits::equal_keys): New function.
24532 (gen_phi_arg_condition): New function.
24533 (predicate_scalar_phi): Add handling of phi nodes with more than two
24534 arguments, delete COND and TRUE_BB arguments, insert body of
24535 find_phi_replacement_condition to predicate ordinary phi nodes.
24536 (predicate_all_scalar_phis): Skip blocks with the only predecessor,
24537 delete call of find_phi_replacement_condition and invoke
24538 predicate_scalar_phi with two arguments.
24539 (insert_gimplified_predicates): Add assert that non-predicated block
24540 don't have statements to insert.
24541 (ifcvt_split_critical_edges): New function.
24542 (ifcvt_split_def_stmt): Likewise.
24543 (ifcvt_walk_pattern_tree): Likewise.
24544 (stmt_is_root_of_bool_pattern): Likewise.
24545 (ifcvt_repair_bool_pattern): Likewise.
24546 (ifcvt_local_dce): Likewise.
24547 (tree_if_conversion): Add initialization of AGGRESSIVE_IF_CONV which
24548 is copy of inner or outer loop force_vectorize field, invoke
24549 ifcvt_split_critical_edges, ifcvt_local_dce and
24550 ifcvt_repair_bool_pattern for aggressive if-conversion.
24552 2015-01-15 Philipp Tomsich <ptomsich@theobroma-systems.com>
24554 * config/aarch64/aarch64.md: Include xgene1.md.
24555 * config/aarch64/xgene1.md: New file.
24557 2015-01-15 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
24559 * config/aarch64/aarch64-cores.def (xgene1): Update/add the
24560 xgene1 (APM XGene-1) core definition.
24561 * gcc/config/aarch64/aarch64.c: Add cost tables for APM XGene-1
24562 * config/arm/aarch-cost-tables.h: Add cost tables for APM XGene-1
24563 * doc/invoke.texi: Document -mcpu=xgene1.
24565 2015-01-15 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
24567 * dojump.h: New header file.
24568 * explow.h: Likewise.
24569 * expr.h: Remove includes.
24570 Move expmed.c prototypes to expmed.h.
24571 Move dojump.c prototypes to dojump.h.
24572 Move alias.c prototypes to alias.h.
24573 Move explow.c prototypes to explow.h.
24574 Move calls.c prototypes to calls.h.
24575 Move emit-rtl.c prototypes to emit-rtl.h.
24576 Move varasm.c prototypes to varasm.h.
24577 Move stmt.c prototypes to stmt.h.
24578 (saved_pending_stack_adjust): Move to dojump.h.
24579 (adjust_address): Move to explow.h.
24580 (adjust_address_nv): Move to emit-rtl.h.
24581 (adjust_bitfield_address): Likewise.
24582 (adjust_bitfield_address_size): Likewise.
24583 (adjust_bitfield_address_nv): Likewise.
24584 (adjust_automodify_address_nv): Likewise.
24585 * explow.c (expr_size): Move to expr.c.
24586 (int_expr_size): Likewise.
24587 (tree_expr_size): Likewise.
24588 Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24589 fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
24590 * genemit.c (main): Generate includes statistics.h, real.h,
24591 fixed-value.h, insn-config.h, expmed.h, dojump.h, explow.h, emit-rtl.h,
24593 * genopinit.c (main): Generate includes hashtab.h, hard-reg-set.h,
24594 function.h, statistics.h, real.h, fixed-value.h, expmed.h, dojump.h,
24595 explow.h, emit-rtl.h, stmt.h.
24596 * genoutput.c (main): Generate includes hashtab.h, statistics.h, real.h,
24597 fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
24598 * genemit.c (open_base_files): Generate includes flags.h, statistics.h,
24599 real.h, fixed-value.h, tree.h, expmed.h, dojump.h, explow.h, calls.h,
24600 emit-rtl.h, varasm.h, stmt.h.
24601 * config/tilepro/gen-mul-tables.cc: Generate includes hashtab.h,
24602 hash-set.h, vec.h, machmode.h, tm.h, hard-reg-set.h, input.h,
24603 function.h, rtl.h, flags.h, statistics.h, double-int.h, real.h,
24604 fixed-value.h, alias.h, wide-int.h, inchash.h, tree.h, insn-config.h,
24605 expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
24606 * config/tilegx/mul-tables.c: Include alias.h calls.h dojump.h
24607 double-int.h emit-rtl.h explow.h expmed.h fixed-value.h flags.h
24608 function.h hard-reg-set.h hash-set.h hashtab.h inchash.h input.h
24609 insn-config.h machmode.h real.h rtl.h statistics.h stmt.h symtab.h
24610 tm.h tree.h varasm.h vec.h wide-int.h.
24611 * rtlhooks.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
24612 explow.h expmed.h fixed-value.h flags.h function.h hard-reg-set.h
24613 hash-set.h hashtab.h inchash.h input.h insn-config.h machmode.h
24614 real.h statistics.h stmt.h tree.h varasm.h vec.h wide-int.h.
24615 * cfgloopanal.c: Include alias.h calls.h dojump.h double-int.h
24616 emit-rtl.h explow.h expmed.h fixed-value.h flags.h inchash.h
24617 insn-config.h real.h statistics.h stmt.h tree.h varasm.h wide-int.h.
24618 * loop-iv.c: Likewise.
24619 * lra-assigns.c: Include alias.h calls.h dojump.h double-int.h
24620 emit-rtl.h explow.h expmed.h fixed-value.h flags.h inchash.h real.h
24621 statistics.h stmt.h tree.h varasm.h wide-int.h.
24622 * lra-constraints.c: Likewise.
24623 * lra-eliminations.c: Likewise.
24624 * lra-lives.c: Likewise.
24625 * lra-remat.c: Likewise.
24626 * bt-load.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
24627 explow.h expmed.h fixed-value.h inchash.h insn-config.h real.h
24628 statistics.h stmt.h tree.h varasm.h wide-int.h.
24629 * hw-doloop.c: Likewise.
24630 * ira-color.c: Likewise.
24631 * ira-emit.c: Likewise.
24632 * loop-doloop.c: Likewise.
24633 * loop-invariant.c: Likewise.
24634 * reload.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
24635 explow.h expmed.h fixed-value.h inchash.h real.h rtl.h
24636 statistics.h stmt.h tree.h varasm.h wide-int.h.
24637 * caller-save.c: Include alias.h calls.h dojump.h double-int.h
24638 emit-rtl.h explow.h expmed.h fixed-value.h inchash.h real.h
24639 statistics.h stmt.h tree.h varasm.h wide-int.h.
24640 * combine-stack-adj.c: Likewise.
24643 * ifcvt.c: Likewise.
24644 * ira-costs.c: Likewise.
24645 * jump.c: Likewise.
24646 * lra-coalesce.c: Likewise.
24647 * lra-spills.c: Likewise.
24648 * profile.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
24649 explow.h expmed.h fixed-value.h insn-config.h real.h statistics.h
24650 stmt.h varasm.h wide-int.h.
24651 * lra.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
24652 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
24654 * config/sh/sh_treg_combine.cc: Include alias.h calls.h dojump.h
24655 double-int.h explow.h expmed.h fixed-value.h flags.h real.h
24656 statistics.h stmt.h varasm.h wide-int.h.
24657 * reorg.c: Include alias.h calls.h dojump.h double-int.h explow.h
24658 expmed.h fixed-value.h inchash.h real.h statistics.h stmt.h tree.h
24659 varasm.h wide-int.h.
24660 * reload1.c: Include alias.h calls.h dojump.h double-int.h explow.h
24661 expmed.h fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
24662 * config/tilegx/tilegx.c: Include alias.h dojump.h double-int.h
24663 emit-rtl.h explow.h expmed.h fixed-value.h flags.h real.h
24664 statistics.h stmt.h.
24665 * config/tilepro/tilepro.c: Likewise.
24666 * config/mmix/mmix.c: Include alias.h dojump.h double-int.h emit-rtl.h
24667 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h.
24668 * config/pdp11/pdp11.c: Likewise.
24669 * config/xtensa/xtensa.c: Likewise.
24670 * config/lm32/lm32.c: Include alias.h dojump.h double-int.h emit-rtl.h
24671 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
24673 * tree-chkp.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24674 fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
24675 insn-config.h real.h rtl.h statistics.h stmt.h tm.h.
24676 * cilk-common.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24677 fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
24678 insn-config.h real.h rtl.h statistics.h stmt.h tm.h varasm.h.
24679 * rtl-chkp.c: Likewise.
24680 * tree-chkp-opt.c: Likewise.
24681 * config/arm/arm-builtins.c: Include calls.h dojump.h emit-rtl.h
24682 explow.h expmed.h fixed-value.h flags.h function.h hard-reg-set.h
24683 hashtab.h insn-config.h real.h statistics.h stmt.h varasm.h.
24684 * ipa-icf.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24685 fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
24686 statistics.h stmt.h.
24687 * tree-vect-data-refs.c: Likewise.
24688 * graphite-sese-to-poly.c: Include calls.h dojump.h emit-rtl.h explow.h
24689 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
24690 rtl.h statistics.h stmt.h varasm.h.
24691 * internal-fn.c: Likewise.
24692 * ipa-icf-gimple.c: Likewise.
24693 * lto-section-out.c: Likewise.
24694 * tree-data-ref.c: Likewise.
24695 * tree-nested.c: Likewise.
24696 * tree-outof-ssa.c: Likewise.
24697 * tree-predcom.c: Likewise.
24698 * tree-pretty-print.c: Likewise.
24699 * tree-scalar-evolution.c: Likewise.
24700 * tree-ssa-strlen.c: Likewise.
24701 * tree-vect-loop.c: Likewise.
24702 * tree-vect-patterns.c: Likewise.
24703 * tree-vect-slp.c: Likewise.
24704 * tree-vect-stmts.c: Likewise.
24705 * tsan.c: Likewise.
24706 * targhooks.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24707 fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
24709 * config/sh/sh-mem.cc: Include calls.h dojump.h emit-rtl.h explow.h
24710 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
24711 statistics.h stmt.h varasm.h.
24712 * loop-unroll.c: Likewise.
24713 * ubsan.c: Likewise.
24714 * tree-ssa-loop-prefetch.c: Include calls.h dojump.h emit-rtl.h explow.h
24715 expmed.h fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h
24717 * dse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24718 fixed-value.h function.h hashtab.h statistics.h stmt.h varasm.h.
24719 * tree-switch-conversion.c: Include calls.h dojump.h emit-rtl.h explow.h
24720 expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
24721 statistics.h stmt.h.
24722 * generic-match-head.c: Include calls.h dojump.h emit-rtl.h explow.h
24723 expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
24724 statistics.h stmt.h varasm.h.
24725 * gimple-match-head.c: Likewise.
24726 * lto-cgraph.c: Likewise.
24727 * lto-section-in.c: Likewise.
24728 * lto-streamer-in.c: Likewise.
24729 * lto-streamer-out.c: Likewise.
24730 * tree-affine.c: Likewise.
24731 * tree-cfg.c: Likewise.
24732 * tree-cfgcleanup.c: Likewise.
24733 * tree-if-conv.c: Likewise.
24734 * tree-into-ssa.c: Likewise.
24735 * tree-ssa-alias.c: Likewise.
24736 * tree-ssa-copyrename.c: Likewise.
24737 * tree-ssa-dse.c: Likewise.
24738 * tree-ssa-forwprop.c: Likewise.
24739 * tree-ssa-live.c: Likewise.
24740 * tree-ssa-math-opts.c: Likewise.
24741 * tree-ssa-pre.c: Likewise.
24742 * tree-ssa-sccvn.c: Likewise.
24743 * tree-tailcall.c: Likewise.
24744 * tree-vect-generic.c: Likewise.
24745 * tree-sra.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24746 fixed-value.h hashtab.h insn-config.h real.h rtl.h stmt.h varasm.h.
24747 * stor-layout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24748 fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h.
24749 * varasm.c: Likewise.
24750 * coverage.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24751 fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h
24753 * init-regs.c: Likewise.
24755 * omp-low.c: Likewise.
24756 * stack-ptr-mod.c: Likewise.
24757 * tree-ssa-reassoc.c: Likewise.
24758 * tree-complex.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24759 fixed-value.h hashtab.h insn-config.h rtl.h statistics.h stmt.h
24761 * dwarf2cfi.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24762 fixed-value.h hashtab.h insn-config.h statistics.h stmt.h varasm.h.
24763 * shrink-wrap.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24764 fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h.
24765 * recog.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24766 fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h varasm.h.
24767 * tree-ssa-phiopt.c: Likewise.
24768 * config/darwin.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24769 fixed-value.h hashtab.h real.h statistics.h stmt.h.
24770 * config/fr30/fr30.c: Likewise.
24771 * config/frv/frv.c: Likewise.
24772 * expr.c: Likewise.
24773 * final.c: Likewise.
24774 * optabs.c: Likewise.
24775 * passes.c: Likewise.
24776 * simplify-rtx.c: Likewise.
24777 * stmt.c: Likewise.
24778 * toplev.c: Likewise.
24779 * var-tracking.c: Likewise.
24780 * gcse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24781 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
24782 * lower-subreg.c: Likewise.
24783 * postreload-gcse.c: Likewise.
24785 * reginfo.c: Likewise.
24786 * store-motion.c: Likewise.
24787 * combine.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24788 fixed-value.h hashtab.h real.h stmt.h varasm.h.
24789 * emit-rtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24790 fixed-value.h hashtab.h statistics.h stmt.h.
24791 * dojump.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24792 fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
24793 * except.c: Likewise.
24794 * explow.c: Likewise.
24795 * tree-dfa.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24796 fixed-value.h insn-config.h real.h rtl.h statistics.h stmt.h
24798 * gimple-fold.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24799 fixed-value.h insn-config.h real.h rtl.h statistics.h varasm.h.
24800 * tree-ssa-structalias.c: Likewise.
24801 * cfgexpand.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24802 fixed-value.h insn-config.h real.h statistics.h.
24803 * calls.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24804 fixed-value.h insn-config.h real.h statistics.h stmt.h.
24805 * bb-reorder.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24806 fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
24807 * cfgbuild.c: Likewise.
24808 * function.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24809 fixed-value.h real.h rtl.h statistics.h stmt.h.
24810 * cfgrtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24811 fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
24812 * dbxout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24813 fixed-value.h real.h statistics.h stmt.h.
24814 * auto-inc-dec.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
24815 fixed-value.h real.h statistics.h stmt.h varasm.h.
24816 * cprop.c: Likewise.
24817 * modulo-sched.c: Likewise.
24818 * postreload.c: Likewise.
24819 * ccmp.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
24820 flags.h function.h hard-reg-set.h hashtab.h insn-config.h real.h
24821 statistics.h stmt.h varasm.h.
24822 * gimple-ssa-strength-reduction.c: Include calls.h dojump.h emit-rtl.h
24823 explow.h fixed-value.h flags.h hashtab.h insn-config.h real.h
24824 rtl.h statistics.h stmt.h varasm.h.
24825 * tree-ssa-loop-ivopts.c: Include calls.h dojump.h emit-rtl.h explow.h
24826 fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h stmt.h
24828 * expmed.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
24829 function.h hard-reg-set.h hashtab.h real.h statistics.h stmt.h
24831 * target-globals.c: Include calls.h dojump.h emit-rtl.h explow.h
24832 fixed-value.h function.h hashtab.h real.h statistics.h stmt.h
24834 * tree-ssa-address.c: Include calls.h dojump.h emit-rtl.h explow.h
24835 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
24836 * cfgcleanup.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
24837 function.h real.h statistics.h stmt.h varasm.h.
24838 * alias.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
24839 insn-config.h real.h statistics.h stmt.h.
24840 * dwarf2out.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
24841 statistics.h stmt.h.
24842 * config/nvptx/nvptx.c: Include dojump.h emit-rtl.h explow.h expmed.h
24843 fixed-value.h flags.h hard-reg-set.h insn-config.h real.h
24844 statistics.h stmt.h varasm.h.
24845 * gimplify.c: Include dojump.h emit-rtl.h explow.h expmed.h
24846 fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h statistics.h.
24847 * asan.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
24848 flags.h hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h.
24849 * ipa-devirt.c: Include dojump.h emit-rtl.h explow.h expmed.h
24850 fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
24851 statistics.h stmt.h varasm.h.
24852 * ipa-polymorphic-call.c: Likewise.
24853 * config/aarch64/aarch64.c: Include dojump.h emit-rtl.h explow.h
24854 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
24855 statistics.h stmt.h.
24856 * config/c6x/c6x.c: Likewise.
24857 * config/aarch64/aarch64-builtins.c: Include dojump.h emit-rtl.h
24858 explow.h expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
24859 statistics.h stmt.h varasm.h.
24860 * ipa-prop.c: Include dojump.h emit-rtl.h explow.h expmed.h
24861 fixed-value.h hashtab.h insn-config.h real.h rtl.h statistics.h
24863 * ipa-split.c: Likewise.
24864 * tree-eh.c: Likewise.
24865 * tree-ssa-dce.c: Likewise.
24866 * tree-ssa-loop-niter.c: Likewise.
24867 * tree-vrp.c: Likewise.
24868 * config/nds32/nds32-cost.c: Include dojump.h emit-rtl.h explow.h
24869 expmed.h fixed-value.h hashtab.h insn-config.h real.h statistics.h
24871 * config/nds32/nds32-fp-as-gp.c: Likewise.
24872 * config/nds32/nds32-intrinsic.c: Likewise.
24873 * config/nds32/nds32-isr.c: Likewise.
24874 * config/nds32/nds32-md-auxiliary.c: Likewise.
24875 * config/nds32/nds32-memory-manipulation.c: Likewise.
24876 * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
24877 * config/nds32/nds32-predicates.c: Likewise.
24878 * config/nds32/nds32.c: Likewise.
24879 * config/cris/cris.c: Include dojump.h emit-rtl.h explow.h expmed.h
24880 fixed-value.h hashtab.h real.h statistics.h.
24881 * config/alpha/alpha.c: Include dojump.h emit-rtl.h explow.h expmed.h
24882 fixed-value.h hashtab.h real.h statistics.h stmt.h.
24883 * config/arm/arm.c: Likewise.
24884 * config/avr/avr.c: Likewise.
24885 * config/bfin/bfin.c: Likewise.
24886 * config/h8300/h8300.c: Likewise.
24887 * config/i386/i386.c: Likewise.
24888 * config/ia64/ia64.c: Likewise.
24889 * config/iq2000/iq2000.c: Likewise.
24890 * config/m32c/m32c.c: Likewise.
24891 * config/m32r/m32r.c: Likewise.
24892 * config/m68k/m68k.c: Likewise.
24893 * config/mcore/mcore.c: Likewise.
24894 * config/mep/mep.c: Likewise.
24895 * config/mips/mips.c: Likewise.
24896 * config/mn10300/mn10300.c: Likewise.
24897 * config/moxie/moxie.c: Likewise.
24898 * config/pa/pa.c: Likewise.
24899 * config/rl78/rl78.c: Likewise.
24900 * config/rx/rx.c: Likewise.
24901 * config/s390/s390.c: Likewise.
24902 * config/sh/sh.c: Likewise.
24903 * config/sparc/sparc.c: Likewise.
24904 * config/spu/spu.c: Likewise.
24905 * config/stormy16/stormy16.c: Likewise.
24906 * config/v850/v850.c: Likewise.
24907 * config/vax/vax.c: Likewise.
24908 * config/cr16/cr16.c: Include dojump.h emit-rtl.h explow.h expmed.h
24909 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
24910 * config/msp430/msp430.c: Likewise.
24911 * predict.c: Likewise.
24912 * value-prof.c: Likewise.
24913 * config/epiphany/epiphany.c: Include dojump.h emit-rtl.h explow.h
24914 expmed.h fixed-value.h hashtab.h statistics.h stmt.h.
24915 * config/microblaze/microblaze.c: Likewise.
24916 * config/nios2/nios2.c: Likewise.
24917 * config/rs6000/rs6000.c: Likewise.
24918 * tree.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
24919 insn-config.h real.h rtl.h statistics.h stmt.h.
24920 * cgraph.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
24921 insn-config.h real.h statistics.h stmt.h.
24922 * fold-const.c: Include dojump.h emit-rtl.h explow.h expmed.h
24923 fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
24924 * tree-inline.c: Include dojump.h emit-rtl.h explow.h expmed.h
24925 fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
24926 * builtins.c: Include dojump.h emit-rtl.h explow.h expmed.h
24927 fixed-value.h real.h statistics.h stmt.h.
24928 * config/arc/arc.c: Include dojump.h emit-rtl.h explow.h expmed.h
24929 fixed-value.h statistics.h stmt.h.
24930 * config/visium/visium.c: Include dojump.h emit-rtl.h explow.h expmed.h
24933 2015-01-15 Jakub Jelinek <jakub@redhat.com>
24935 * gengtype.c (create_user_defined_type): Workaround
24936 -Wmaybe-uninitialized false positives.
24937 * cse.c (fold_rtx): Likewise.
24938 * loop-invariant.c (gain_for_invariant): Likewise.
24940 2015-01-15 Eric Botcazou <ebotcazou@adacore.com>
24942 * expr.c (expand_expr_real_1) <normal_inner_ref>: Use the expression to
24943 set the memory attributes in all cases but clear MEM_EXPR if need be.
24945 2015-01-15 Yuri Rumyantsev <ysrumyan@gmail.com>
24947 PR tree-optimization/64434
24948 * cfgexpand.c (reorder_operands): New function.
24949 (expand_gimple_basic_block): Insert call of reorder_operands if
24952 2015-01-15 Matthew Fortune <matthew.fortune@imgtec.com>
24954 * config/mips/micromips.md (*swp): Remove explicit parallel.
24955 (jraddiusp, *movep<MOVEP1:mode><MOVEP2:mode>): Likewise.
24956 * config/mips/mips-dsp.md (add<DSPV:mode>3): Likewise.
24957 (mips_add<DSP:dspfmt1>_s_<DSP:dspfmt2>, sub<DSPV:mode>3): Likewise.
24958 (mips_sub<DSP:dspfmt1>_s_<DSP:dspfmt2>, mips_addsc): Likewise.
24959 (mips_addwc, mips_absq_s_<DSPQ:dspfmt2>): Likewise.
24960 (mips_precrq_rs_ph_w, mips_precrqu_s_qb_ph): Likewise.
24961 (mips_shll_<DSPV:dspfmt2>, mips_shll_s_<DSPQ:dspfmt2>): Likewise.
24962 (mips_muleu_s_ph_qbl, mips_muleu_s_ph_qbr): Likewise.
24963 (mips_mulq_rs_ph, mips_muleq_s_w_phl, mips_muleq_s_w_phr): Likewise.
24964 (mips_dpaq_s_w_ph, mips_dpsq_s_w_ph, mips_mulsaq_s_w_ph): Likewise.
24965 (mips_dpaq_sa_l_w, mips_dpsq_sa_l_w, mips_maq_s_w_phl): Likewise.
24966 (mips_maq_s_w_phr, mips_maq_sa_w_phl, mips_maq_sa_w_phr): Likewise.
24967 (mips_extr_w, mips_extr_r_w, mips_extr_rs_w): Likewise.
24968 (mips_extr_s_h, mips_extp, mips_extpdp, mips_mthlip): Likewise.
24969 (mips_wrdsp): Likewise.
24970 * config/mips/mips-dspr2.md (mips_absq_s_qb): Remove explicit
24972 (mips_addu_ph, mips_addu_s_ph, mips_cmpgdu_eq_qb): Likewise.
24973 (mips_cmpgdu_lt_qb, mips_cmpgdu_le_qb, mulv2hi3): Likewise.
24974 (mips_mul_s_ph, mips_mulq_rs_w, mips_mulq_s_ph): Likewise.
24975 (mips_mulq_s_w, mips_subu_ph, mips_subu_s_ph): Likewise.
24976 (mips_dpaqx_s_w_ph, mips_dpaqx_sa_w_ph): Likewise.
24977 (mips_dpsqx_s_w_ph, mips_dpsqx_sa_w_ph): Likewise.
24978 * config/mips/mips-fixed.md (usadd<mode>3): Remove explicit parallel.
24979 (ssadd<mode>3, ussub<mode>3, sssub<mode>3, ssmul<mode>3): Likewise.
24980 (ssmaddsqdq4, ssmsubsqdq4): Likewise.
24982 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
24984 * config/mips/mips.c (mips_rtx_costs): Set costs for LSA/DLSA.
24985 (mips_print_operand): Support 'y' to print exact log2 in decimal
24987 * config/mips/mips.h (ISA_HAS_LSA): New define.
24988 (ISA_HAS_DLSA): Likewise.
24989 * config/mips/mips.md (<GPR:d>lsa): New define_insn.
24990 * config/mips/predicates.md (const_immlsa_operand): New predicate.
24992 2015-01-15 Martin Liska <mliska@suse.cz>
24995 * optc-save-gen.awk: Add support for array types.
24997 2015-01-15 Richard Biener <rguenther@suse.de>
24999 PR middle-end/64365
25000 * tree-data-ref.c (dr_analyze_indices): Make sure that accesses
25001 for MEM_REF access functions with the same base can never partially
25004 2015-01-14 Marcos Diaz <marcos.diaz@tallertechnologies.com>
25006 * common.opt: New option -fstack-protector-explicit.
25007 * cfgexpand.c (SPCT_FLAG_EXPLICIT): New enum.
25008 (stack_protect_decl_phase): Handle stack_protect attribute for
25009 explicit stack protection requests.
25010 (expand_used_vars): Similarly.
25011 * doc/cpp.texi (__SSP_EXPLICIT__): Document predefined macro.
25012 * doc/extend.texi: Add documentation for "stack_protect" attribute.
25013 * doc/invoke.texi: Add documentation for -fstack-protector-explicit.
25015 2015-01-14 Oleg Endo <olegendo@gcc.gnu.org>
25018 * config/sh/sh-protos.h (sh_find_set_of_reg): Add option to ignore
25020 (sh_extending_set_of_reg): New struct.
25021 (sh_find_extending_set_of_reg, sh_split_tst_subregs,
25022 sh_remove_reg_dead_or_unused_notes): New Declarations.
25023 * config/sh/sh.c (sh_remove_reg_dead_or_unused_notes,
25024 sh_find_extending_set_of_reg, sh_split_tst_subregs,
25025 sh_extending_set_of_reg::use_as_extended_reg): New functions.
25026 * config/sh/sh.md (*tst<mode>_t_zero): Rename to *tst<mode>_t_subregs,
25027 convert to insn_and_split and use new function sh_split_tst_subregs.
25029 2015-01-14 Sandra Loosemore <sandra@codesourcery.com>
25031 * doc/invoke.texi (Option Summary): Reclassify -fuse-ld as a linker
25033 (Optimization Options): Move -fuse-ld documentation to...
25034 (Link Options): ...here.
25036 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
25038 * config/mips/constraints.md (ZC): Add support for R6 LL/SC
25040 (ZD): Update to use ISA_HAS_9BIT_DISPLACEMENT.
25041 * config/mips/mips.h (ISA_HAS_PREFETCH_9BIT): Rename to...
25042 (ISA_HAS_9BIT_DISPLACEMENT): ... this. New macro.
25043 * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZC
25044 instead of ZR for the memory operand of LL/SC.
25045 (compare_and_swap_12, sync_add<mode>): Likewise.
25046 (sync_<optab>_12, sync_old_<optab>_12): Likewise.
25047 (sync_new_<optab>_12, sync_nand_12): Likewise.
25048 (sync_old_nand_12, sync_new_nand_12): Likewise.
25049 (sync_sub<mode>, sync_old_add<mode>): Likewise.
25050 (sync_old_sub<mode>, sync_new_add<mode>): Likewise.
25051 (sync_new_sub<mode>, sync_<optab><mode>): Likewise.
25052 (sync_old_<optab><mode>, sync_new_<optab><mode>"): Likewise.
25053 (sync_nand<mode>, sync_old_nand<mode>): Likewise.
25054 (sync_new_nand<mode>, sync_lock_test_and_set<mode>): Likewise.
25055 (test_and_set_12, atomic_compare_and_swap<mode>): Likewise.
25056 (atomic_exchange<mode>_llsc, atomic_fetch_add<mode>_llsc): Likewise.
25057 * doc/md.texi (ZC): Update description.
25059 2015-01-14 Andrew MacLeod <amacleod@redhat.com>
25061 * builtins.c (expand_builtin_atomic_exchange): Remove error when
25062 memory model is CONSUME.
25063 (expand_builtin_atomic_compare_exchange, expand_builtin_atomic_load,
25064 expand_builtin_atomic_store): Change invalid memory model errors to
25066 (expand_builtin_atomic_clear): Change invalid model errors to warnings
25067 and issue warning for CONSUME.
25069 2015-01-14 Aldy Hernandez <aldyh@redhat.com>
25071 * lto-cgraph: Update function comments for
25072 lto_symtab_encoder_encode_*.
25074 2015-01-14 Ilya Verbin <ilya.verbin@intel.com>
25076 * Makefile.in (site.exp): Do not set ENABLE_LTO.
25078 2015-01-14 Ilya Verbin <ilya.verbin@intel.com>
25080 * cgraphunit.c (ipa_passes): Remove argument from ipa_write_summaries.
25081 * lto-cgraph.c (select_what_to_stream): Remove argument, use
25082 lto_stream_offload_p instead.
25083 * lto-streamer.h (select_what_to_stream): Remove argument.
25084 * passes.c (ipa_write_summaries): Likewise.
25085 * tree-pass.h (ipa_write_summaries): Likewise.
25087 2015-01-14 Richard Biener <rguenther@suse.de>
25089 PR tree-optimization/59354
25090 * tree-vect-slp.c (vect_build_slp_tree_1): Treat loads from
25091 groups larger than the slp group size as having gaps.
25093 2015-01-14 Andrew MacLeod <amacleod@redhat.com>
25095 PR middle-end/59448
25096 * builtins.c (get_memmodel): Promote consume to acquire always.
25098 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
25101 * config/i386/i386.c (ix86_expand_sse_cmp): Handle V64QImode,
25104 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
25107 * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VBMI_SET):
25109 (OPTION_MASK_ISA_AVX512BW_UNSET): Disable AVX512VBMI.
25110 * config/i386/i386.c (ix86_hard_regno_mode_ok): Don't check
25111 AVX512VBMI, as it implies AVX512BW.
25113 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
25116 * config/i386/sse.md (vec_unpacks_hi_v8sf): Fix predicate.
25117 (vec_unpacks_hi_v16sf): Ditto.
25119 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
25121 * config/aarch64/arm_neon.h: Error out if AdvancedSIMD
25124 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
25126 * doc/invoke.texi (mapcs): Mention deprecation.
25127 (mapcs-frame): Likewise.
25129 2015-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
25132 * config/arm/arm.c (callee_saved_reg_p): Define.
25133 (arm_compute_save_reg0_reg12_mask): Use callee_saved_reg_p to check if
25134 register is callee saved instead of !call_used_regs[reg].
25135 (thumb1_compute_save_reg_mask): Likewise.
25137 2015-01-14 Hale Wang <hale.wang@arm.com>
25139 * config/arm/arm.c: Tune the max_cond_insns/branch_cost for
25142 2015-01-14 Richard Biener <rguenther@suse.de>
25145 * tree-inline.c (insert_debug_decl_map): Check destination
25146 function MAY_HAVE_DEBUG_STMTS.
25147 (insert_init_debug_bind): Likewise.
25148 (insert_init_stmt): Remove redundant check.
25149 (remap_gimple_stmt): Drop debug stmts if the destination
25150 function has var-tracking assignments disabled.
25152 2015-01-14 Martin Liska <mliska@suse.cz>
25154 * ipa-icf-gimple.c (func_checker::compare_operand): Add support for
25155 IMAGPART_EXPR and REALPART_EXPR and fix BIT_FIELD_REF comparison.
25157 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
25160 * config/arm/arm.md (*<arith_shift_insn>_multsi): Set 'shift' to 2.
25161 (*<arith_shift_insn>_shiftsi): Set 'shift' attr to 3.
25163 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
25165 * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Only infer an ISA
25166 level from an ARCH; do not inject the default.
25167 (MIPS_DEFAULT_ISA_LEVEL_SPEC): New macro split out from
25168 MIPS_ISA_LEVEL_SPEC.
25169 (MIPS_ISA_NAN2008_SPEC): Update comment.
25170 (BASE_DRIVER_SELF_SPECS): Likewise.
25171 * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add
25172 MIPS_DEFAULT_ISA_LEVEL_SPEC.
25173 * config/mips/mti-elf.h (DRIVER_SELF_SPECS): Likewise.
25174 * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise.
25175 * config/mips/sde.h (DRIVER_SELF_SPECS): Likewise.
25177 2015-01-14 Richard Biener <rguenther@suse.de>
25179 PR tree-optimization/64493
25180 PR tree-optimization/64495
25181 * tree-vect-loop.c (vect_finalize_reduction): For double-reductions
25182 assign the proper vectorized PHI to the inner loop exit PHIs.
25184 2015-01-14 Joey Ye <joey.ye@arm.com>
25186 * config/arm/arm.c (arm_compute_save_reg_mask):
25187 Do not save lr in case of tail call.
25188 * config/arm/thumb2.md (*thumb2_pop_single): New pattern.
25190 2015-01-14 Martin Uecker <uecker@eecs.berkeley.edu>
25192 * tree-vrp.c (check_array_ref): Emit more warnings
25193 for warn_array_bounds >= 2.
25194 * common.opt: New option -Warray-bounds=.
25195 * doc/invoke.texi: Document -Warray-bounds=.
25197 2015-01-14 Chung-Ju Wu <jasonwucj@gmail.com>
25199 * config/nds32/nds32.opt (mforce-fp-as-gp): Remove.
25200 (mforbid-fp-as-gp): Remove.
25202 * config/nds32/nds32-fp-as-gp.c (nds32_have_prologue_p): Remove.
25203 (nds32_symbol_load_store_p): Remove.
25204 (nds32_fp_as_gp_check_available): Clean up implementation.
25205 * config/nds32/nds32.h (LINK_SPEC): Remove -mforce-as-gp and -mex9
25207 * config/nds32/nds32.c (nds32_asm_file_start): No need to consider
25208 fp-as-gp and ex9 cases.
25210 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
25212 * tree-profile.c (init_ic_make_global_vars): Drop workaround
25213 for bintuils bug 14342.
25214 (init_ic_make_global_vars): Likewise.
25215 (gimple_init_edge_profiler): Likewise.
25216 (gimple_gen_ic_func_profiler): Likewise.
25218 2015-01-13 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
25220 * ipa-inline.c (inline_small_functions): Swap the operands in
25223 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
25226 * ipa-inline-analysis.c (node_growth_cache): Remove.
25227 (initialize_growth_caches): Do not initialize it.
25228 (free_growth_caches): Do not free it.
25229 (do_estimate_growth): Rename to ...
25230 (estimate_growth): ... this one; drop growth cache code.
25231 (growth_likely_positive): Always go the heuristics way.
25232 * ipa-inline.c (can_inline_edge_p): Walk through aliases.
25233 (reset_edge_caches): Do not reset node growth.
25234 (heap_edge_removal_hook): Do not maintain cache.
25235 (inline_small_functions): Likewise; strenghten sanity check.
25236 (ipa_inline): Do not maintain caches.
25237 * ipa-inline.h (node_growth_cache): Remove.
25238 (do_estimate_growth): Remove to ...
25239 (estimate_growth): this one; remove inline version.
25240 (reset_node_growth_cache): Remove.
25242 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
25245 * ipa-inline.c (inline_small_functions): Update callee keys after
25246 resolving speculation
25247 (inline_small_functions): Always check monotonicity of the queue.
25249 2015-01-13 Marek Polacek <polacek@redhat.com>
25251 PR middle-end/64391
25252 * trans-mem.c (get_attrs_for): Return NULL_TREE if X is NULL_TREE.
25254 2015-01-13 Jakub Jelinek <jakub@redhat.com>
25256 PR rtl-optimization/64286
25257 * ree.c (combine_reaching_defs): Move part of comment earlier,
25258 remove !SCALAR_INT_MODE_P check.
25259 (add_removable_extension): Don't add vector mode
25260 extensions if all uses of the source register aren't the same
25263 2015-01-13 Renlin Li <renlin.li@arm.com>
25265 * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): Return 2.
25266 (CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
25268 2015-01-13 Martin Liska <mliska@suse.cz>
25270 * ipa-icf.c (sem_function::equals_private): Call new functions
25271 cl_target_option_print_diff and cl_optimization_print_diff.
25272 * optc-save-gen.awk (cl_target_option_print_diff): New function.
25273 (cl_optimization_print_diff): Likewise.
25274 * opth-gen.awk: Likewise.
25276 2015-01-13 Richard Sandiford <richard.sandiford@arm.com>
25278 * config/aarch64/aarch64.md (subsi3, *subsi3_uxtw, subdi3)
25279 (*sub_<optab><ALLX:mode>_<GPI:mode>, *sub_<optab><SHORT:mode>_si_uxtw)
25280 (*sub_<optab><ALLX:mode>_shft_<GPI:mode>)
25281 (*sub_<optab><SHORT:mode>_shft_si_uxtw, *sub_<optab><mode>_multp2)
25282 (*sub_<optab>si_multp2_uxtw, *sub_uxt<mode>_multp2)
25283 (*sub_uxtsi_multp2_uxtw): Add stack pointer sources.
25285 2015-01-13 Andrew Pinski <apinski@cavium.com>
25287 * config/aarch64/aarch64.c (fusion_load_store): Check dest mode
25288 instead of src mode.
25290 2015-01-13 Richard Biener <rguenther@suse.de>
25293 * lto-streamer-out.c (tree_is_indexable): Guard for NULL
25296 2015-01-13 Andrew Pinski <apinski@cavium.com>
25298 * config/aarch64/aarch64.c (aarch64_operands_ok_for_ldpstp): Reject
25300 (aarch64_operands_adjust_ok_for_ldpstp): Likewise.
25302 2015-01-13 Jakub Jelinek <jakub@redhat.com>
25304 PR middle-end/63974
25305 * cfgexpand.c (expand_computed_goto): Don't call
25306 convert_memory_address here.
25308 2015-01-13 Richard Biener <rguenther@suse.de>
25310 PR tree-optimization/64406
25311 * tree-loop-distibution.c (pass_loop_distribution::execute):
25312 Reset the SCEV hashtable if we distributed anything.
25314 2015-01-13 Richard Biener <rguenther@suse.de>
25316 PR tree-optimization/64404
25317 * tree-vect-stmts.c (vectorizable_load): Reject conflicting
25318 SLP types for CSEd loads.
25320 2015-01-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
25322 PR tree-optimization/64436
25323 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Move code performing the
25324 merge of two symbolic numbers for a bitwise OR to ...
25325 (perform_symbolic_merge): This. Also fix computation of the range and
25326 end of the symbolic number corresponding to the result of a bitwise OR.
25328 2015-01-13 Richard Biener <rguenther@suse.de>
25330 PR tree-optimization/64568
25331 * tree-ssa-forwprop.c (pass_forwprop::execute): Properly
25332 release defs of removed stmts, avoid splitting TARGET_MEM_REFs.
25334 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
25336 * config/nds32/nds32.c (nds32_legitimate_address_p): Consider
25337 TARGET_CMODEL_LARGE and TARGET_CMODEL_MEDIUM cases.
25339 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
25341 * config/nds32/nds32.h (NDS32_SYMBOL_FLAG_RODATA): Define our own
25342 target-specific symbol_ref flag.
25343 (NDS32_SYMBOL_REF_RODATA_P): Define it to check if the symbol_ref
25344 resides in rodata section.
25345 * config/nds32/nds32.c (TARGET_ENCODE_SECTION_INFO): Define.
25346 (nds32_encode_section_info): New function.
25348 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
25350 * config/nds32/nds32.md (call): Use pseudo instruction bal which
25351 clobbers TA_REGNUM if large code model is specified.
25352 (call_register): Likewise.
25353 (call_immediate): Likewise.
25354 (call_value): Likewise.
25355 (call_value_register): Likewise.
25356 (call_value_immediate): Likewise.
25358 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
25360 * config/nds32/nds32.h (TARGET_CMODEL_SMALL): New macro.
25361 (TARGET_CMODEL_MEDIUM): New macro.
25362 (TARGET_CMODEL_LARGE): New macro.
25363 * config/nds32/nds32.c (nds32_asm_file_start): Display corresponding
25364 code model setting in assembly code.
25366 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
25368 * common/config/nds32/nds32-common.c (TARGET_DEFAULT_TARGET_FLAGS):
25369 Remove MASK_GP_DIRECT flag.
25370 * config/nds32/nds32.h (MULTILIB_DEFAULTS): Have -mcmodel=medium as
25371 one of the multilib default options.
25372 * config/nds32/nds32.opt (mgp-direct): Remove.
25373 * config/nds32/t-mlibs (MULTILIB_OPTIONS): Use -mcmodel instead of
25374 -mgp-direct. We also remove unnecessary -mlittle-endian/-mbig-endian.
25376 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
25378 * config/nds32/nds32.opt (mcmodel): Add new option.
25379 * config/nds32/nds32-opts.h (nds32_cmodel_type): Add new enum type
25380 to describe code model.
25382 2015-01-13 Oleg Endo <olegendo@gcc.gnu.org>
25385 * rtlanal.c (set_reg_p): Handle SEQUENCE constructs.
25387 2015-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
25389 * config/sh/sh.c (sh_atomic_assign_expand_fenv): New function.
25390 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
25391 (sh_builtin_get_fpscr, sh_builtin_set_fpscr): New variables.
25392 (sh_init_builtins): Record decls for __builtin_sh_get_fpscr and
25393 __builtin_sh_set_fpscr.
25395 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
25397 * doc/invoke.texi ([-Wsuggest-attribute=]): Don't use parentheses
25398 after a funtion name just to indicate it is a function.
25399 ([-fsanitize-undefined-trap-on-error]): Likewise.
25400 ([-fdbg-cnt=]): Likewise.
25401 ([-mmemcpy]): Likewise.
25402 ([-mflush-func]): Likewise.
25403 ([-msynci]): Likewise.
25405 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
25407 * doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing
25410 2015-01-12 Jakub Jelinek <jakub@redhat.com>
25412 PR tree-optimization/64563
25413 * tree-vrp.c (vrp_evaluate_conditional): Check for VR_RANGE
25414 instead of != VR_VARYING.
25417 * config/i386/i386.c (ix86_expand_prologue): Add
25418 REG_FRAME_RELATED_EXPR to %rax and %r10 pushes.
25420 PR tree-optimization/64454
25421 * tree-vrp.c (simplify_div_or_mod_using_ranges): Optimize
25422 op0 % op1 into op0 if op0 is in range [-op1 + 1, op1 - 1]
25423 for signed or [0, op1 - 1] for unsigned modulo.
25424 (simplify_stmt_using_ranges): Call simplify_div_or_mod_using_ranges
25425 even if op1 does not satisfy integer_pow2p.
25428 * sreal.c (sreal::to_double): Use ldexp instead of scalbnl.
25430 2015-01-12 Jeff Law <law@redhat.com>
25433 * config/m68k/m68k.md (truncsiqi2): Disable for TARGET_COLDFIRE.
25434 (trunchiqi2, truncsihi2): Similarly.
25436 * config/h8300/h8300.c (Fpa): Use RTX_FRAME_RELATED_P directly
25437 rather than calling F.
25439 2015-01-12 Bernd Edlinger <bernd.edlinger@hotmail.de>
25441 * tsan.c (instrument_expr): Use force_gimple_operand.
25442 Use may_be_nonaddressable_p instead of is_gimple_addressable.
25444 2015-01-12 Richard Biener <rguenther@suse.de>
25446 PR tree-optimization/64530
25447 * tree-loop-distribution.c (pg_add_dependence_edges): Shuffle
25450 2015-01-12 Richard Biener <rguenther@suse.de>
25452 PR middle-end/64357
25453 * tree-cfg.c (gimple_can_merge_blocks_p): Protect simple
25456 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
25458 * config/arm/arm.c (arm_cortex_a12_tune): Update entries to match
25459 Cortex-A17 tuning parameters.
25460 * config/arm/arm-cores.def (cortex-a12): Schedule for cortex-a17.
25462 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
25464 * config/arm/arm-protos.h (tune_params): Add fuseable_ops field.
25465 * config/arm/arm.c (arm_macro_fusion_p): New function.
25466 (arm_macro_fusion_pair_p): Likewise.
25467 (TARGET_SCHED_MACRO_FUSION_P): Define.
25468 (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
25469 (ARM_FUSE_NOTHING): Likewise.
25470 (ARM_FUSE_MOVW_MOVT): Likewise.
25471 (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,
25472 arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,
25473 arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,
25474 arm_cortex_a53_tune, arm_cortex_a57_tune, arm_cortex_a9_tune,
25475 arm_cortex_a12_tune, arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune
25476 arm_cortex_a5_tune): Specify fuseable_ops value.
25478 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
25481 * configure.ac (HAVE_LD_PIE_COPYRELOC): Update Linux/x86-64 linker
25482 test for PIE with copy reloc.
25483 * configure: Regenerated.
25485 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
25487 * config/arm/arm.c (arm_load_tp): Use R0_REGNUM instead of constant 0
25489 (arm_tls_descseq_addr): Likewise.
25490 (arm_gen_movmemqi): Likewise.
25491 (arm_expand_epilogue_apcs_frame): Likewise.
25492 (arm_expand_epilogue): Likewise.
25493 (arm_expand_prologue): Likewise. Use R1_REGNUM instead of constant 1
25496 2015-01-12 Martin Liska <mliska@suse.cz>
25499 * ipa-icf-gimple.c (func_checker::compare_memory_operand): Compare
25500 volatility for correct operands.
25502 2015-01-12 Martin Liska <mliska@suse.cz>
25504 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as
25505 indication that a function is not leaf.
25506 (sem_function::compare_polymorphic_p): Likewise.
25508 2015-01-12 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
25510 * config/visium/visium.c: Add includes hashtab.h, hash-set.h,
25511 machmode.h, input.h, statistics.h, vec.h, double-int.h, real.h,
25512 fixed-value.h, alias.h, symtab.h, tree-core.h, wide-int.h, inchash.h,
25513 fold-const.h, tree-check.h.
25515 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
25519 * ipa-inline.c (compute_uninlined_call_time,
25520 compute_inlined_call_time): Use counts for extra precision when
25522 (big_speedup_p): Fix formating.
25523 (RELATIVE_TIME_BENEFIT_RANGE): Remove.
25524 (relative_time_benefit): Remove.
25525 (edge_badness): Turn DECL_DISREGARD_INLINE_LIMITS into hint;
25526 merge guessed and read profile paths.
25527 (inline_small_functions): Count only !optimize_size functions into
25528 initial size; be more lax about sanity check when profile is used;
25529 be sure to update inlined function profile when profile is read.
25531 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
25534 * ipa-inline-analysis.c (inline_edge_duplication_hook): Adjust
25535 cost when edge becomes direct.
25536 * ipa-prop.c (make_edge_direct): Do not adjust when speculation
25537 is resolved or when introducing new speculation.
25539 2015-01-12 Chen Gang <gang.chen.5i5j@gmail.com>
25543 * ipa-icf.c (sem_function::equals_private): Use '&&' instead of
25544 '||' to fix typo issue.
25546 * gcc/tree.h (target_opts_for_fn): Check NULL_TREE since it can
25547 accept and return NULL.
25549 2015-01-12 Martin Liska <mliska@suse.cz>
25551 * cgraph.c (cgraph_edge::remove_callee): Move function to header
25552 file for being inlined.
25553 (cgraph_set_edge_callee): Delete.
25554 (cgraph_edge::redirect_callee): Move function to header file
25556 (cgraph_edge::make_direct): Use new function.
25557 (cgraph_edge::dump_edge_flags): New function created from
25558 static dump_edge_flags function.
25559 (cgraph_node::dump): Use new function.
25560 (cgraph_edge::verify_count_and_frequency): New function created
25561 from verify_edge_count_and_frequency.
25562 (cgraph_edge::verify_corresponds_to_fndecl): New function created
25563 from verify_edge_corresponds_to_fndecl.
25564 (verify_edge_corresponds_to_fndecl): Delete.
25565 (cgraph_node::verify_node): Use new function.
25566 * cgraph.h (cgraph_edge::set_callee): New function.
25567 (cgraph_edge::dump_edge_flags): Likewise.
25568 (cgraph_edge::verify_corresponds_to_fndecl): Likewise.
25570 2015-01-11 Jan Hubicka <hubicka@ucw.cz>
25572 * ipa-utils.c (estimate_function_body_sizes): Do not
25573 free node params when called late with early=true.
25575 2015-01-11 James Greenhalgh <james.greenhalgh@arm.com>
25577 * doc/md.texi (Instruction Patterns): Rewrite text for
25579 (Example): Likewise.
25581 2015-01-10 Sandra Loosemore <sandra@codesourcery.com>
25583 * doc/invoke.texi (Option Summary): Break long lines.
25584 [(-fdiagnostics-color)]: Put long literal in @smallexample
25586 [(-fsanitize-recover)]: Likewise.
25587 [(-fdump-rtl-split*)]: Rewrite to fix over-full hbox.
25588 [(-ffast-math)]: Likewise.
25589 [(--param max-inline-insns-recursive)]: Likewise.
25590 [(--param max-inline-recursive-depth)]: Likewise.
25591 [(-mno-text-section-literals)]: Likewise.
25593 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
25595 * doc/install.texi: Update for libgomp being renamed from "GNU
25596 OpenMP Runtime Library" to "GNU Offloading and Multi Processing
25598 * doc/sourcebuild.texi: Likewise.
25600 2015-01-10 Anthony Green <green@moxielogic.com>
25602 * config/moxie/moxie.c (moxie_option_override): Fix forcing of
25603 mul.x availability for moxiebox configuration.
25605 2015-01-09 Anthony Green <green@moxielogic.com>
25607 * config/moxie/moxie.md: Tabify assembly output.
25609 2015-01-09 Anthony Green <green@moxielogic.com>
25611 * config/moxie/moxie.md (CC_REG): Correct register definition.
25613 2015-01-09 Sandra Loosemore <sandra@codesourcery.com>
25615 * doc/invoke.texi ([-fvtable-verify]): Copy-edit and fix markup.
25616 ([-fvtv-debug], [-fvtv-counts]): Likewise. Correct location
25619 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
25621 * config/arm/arm.h (MAX_SYNC_LIBFUNC_SIZE): Delete semicolon.
25623 2015-01-09 Bernd Schmidt <bernds@codesourcery.com>
25624 Jakub Jelinek <jakub@redhat.com>
25626 PR middle-end/64412
25627 * lto-streamer.h (lto_stream_offload_p): New declaration.
25628 * lto-streamer.c (lto_stream_offload_p): New variable.
25629 * cgraphunit.c (ipa_passes): Set lto_stream_offload_p
25630 at the same time as section_name_prefix.
25631 * lto-streamer-out.c (hash_tree): Don't hash TREE_TARGET_OPTION
25632 if lto_stream_offload_p.
25633 * tree-streamer-out.c (streamer_pack_tree_bitfields): Don't
25634 stream TREE_TARGET_OPTION if lto_stream_offload_p.
25635 (write_ts_function_decl_tree_pointers): Don't
25636 stream DECL_FUNCTION_SPECIFIC_TARGET if lto_stream_offload_p.
25637 * tree-streamer-in.c (unpack_value_fields): Don't stream
25638 TREE_TARGET_OPTION in if ACCEL_COMPILER.
25639 (lto_input_ts_function_decl_tree_pointers): Don't stream
25640 DECL_FUNCTION_SPECIFIC_TARGET in if ACCEL_COMPILER.
25641 * lto-opts.c (lto_write_options): Use lto_stream_offload_p
25642 instead of section_name_prefix string comparisons.
25644 2015-01-09 Jakub Jelinek <jakub@redhat.com>
25646 PR rtl-optimization/64536
25647 * cfgrtl.c (rtl_tidy_fallthru_edge): Handle removal of degenerate
25650 2015-01-09 Michael Collison <michael.collison@linaro.org>
25652 PR tree-optimization/64322
25653 * tree-vrp.c (extract_range_from_binary_expr_1): Attempt to derive
25654 range for RSHIFT_EXPR even if vr0 range is not VR_RANGE or is symbolic.
25656 2015-01-09 Tom de Vries <tom@codesourcery.com>
25658 PR rtl-optimization/64539
25659 * regcprop.c (kill_clobbered_values): Factor out of ...
25660 (copyprop_hardreg_forward_1): ... here. Use kill_clobbered_values
25661 instead of note_stores with kill_clobbered_value.
25663 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
25665 * ginclude/unwind-arm-common.h: Revert previous commit.
25667 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
25669 * config.gcc (arm*-*-freebsd*): New configuration.
25670 * config/arm/freebsd.h: New file.
25671 * config.host: Add extra components for arm*-*-freebsd*.
25672 * config/arm/arm.h: Introduce MAX_SYNC_LIBFUNC_SIZE.
25673 * config/arm/arm.c (arm_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE.
25675 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
25677 * config/rs6000/rtems.h (CPP_OS_RTEMS_SPEC): Define __PPC_CPU_E6500__
25679 * config/rs6000/t-rtems: Add e6500 multilibs.
25681 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
25683 * config/rs6000/t-rtems: Add -mno-spe to soft-float multilib for
25686 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
25688 * config/rs6000/t-rtems: Use MULTILIB_REQUIRED instead of
25689 MULTILIB_EXCEPTIONS.
25691 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
25693 * config/arm/t-rtems: Use MULTILIB_REQUIRED instead of
25694 MULTILIB_EXCEPTIONS.
25696 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
25698 * config/arm/t-rtems-eabi: Rename to...
25699 * config/arm/t-rtems: ...this.
25700 * config/arm/rtems-eabi.h: Rename to...
25701 * config/arm/rtems.h: ...this.
25702 * config.gcc (arm*-*-rtems*): Reflect changes above.
25704 2015-01-09 Richard Biener <rguenther@suse.de>
25706 PR tree-optimization/64410
25707 * tree-ssa.c (non_rewritable_lvalue_p): Allow REALPART/IMAGPART_EXPR
25709 (execute_update_addresses_taken): Deal with that.
25710 * tree-ssa-forwprop.c (pass_forwprop::execute): Use component-wise
25711 loads/stores for complex variables.
25713 2015-01-09 Martin Liska <mliska@suse.cz>
25715 * ipa-icf-gimple.c (func_checker::compare_ssa_name): Enhance SSA
25717 (func_checker::compare_memory_operand): New function.
25718 (func_checker::compare_operand): Split case to newly
25720 (func_checker::compare_cst_or_decl): New function.
25721 (func_checker::compare_gimple_call): Identify
25723 (func_checker::compare_gimple_assign): Likewise.
25724 * ipa-icf-gimple.h: New function.
25726 2015-01-09 Martin Liska <mliska@suse.cz>
25729 * sreal.c (sreal::dump): Change unsigned format to signed for
25731 (sreal::to_double): Replace exp2 with scalbln.
25733 2015-01-09 Martin Liska <mliska@suse.cz>
25735 * cgraphunit.c (cgraph_node::create_wrapper): Fix level of indentation.
25736 * ipa-icf.c (sem_function::equals_private): Add support for target and
25737 (sem_item_optimizer::merge_classes): Remove redundant function
25738 optimization flags comparison.
25739 * tree.h (target_opts_for_fn): New function.
25741 2015-01-09 Tom de Vries <tom@codesourcery.com>
25743 * omp-low.c (expand_omp_for_static_chunk): Fix assert.
25745 2015-01-09 Kito Cheng <kito@0xlab.org>
25747 PR rtl-optimization/64348
25748 * lra-constraints.c (split_reg): Fix caller-save store/restore
25749 instruction generation.
25751 2015-01-08 John David Anglin <danglin@gcc.gnu.org>
25753 PR gcov-profile/61790
25754 * gcov-tool.c (do_rewrite): Use strtoll instead of atoll if host has
25755 long long. Fallback to int64_t if host doesn't have long long and
25756 use strtol if int64_t is long. Otherwise, use sscanf for conversion.
25758 2015-01-08 Jakub Jelinek <jakub@redhat.com>
25760 PR tree-optimization/63989
25761 * params.def (PARAM_MAX_TRACKED_STRLENS): Increment default
25762 from 1000 to 10000.
25763 * tree-ssa-strlen.c (get_strinfo): Moved earlier.
25764 (get_stridx): If we don't have a record for certain SSA_NAME,
25765 but it is POINTER_PLUS_EXPR of some SSA_NAME we do with
25766 constant offset, call get_stridx_plus_constant.
25767 (get_stridx_plus_constant): New function.
25768 (zero_length_string): Don't use get_stridx here.
25771 PR middle-end/64388
25772 * dse.c (struct insn_info): Mention frame_read set also
25773 before reload for tail calls on some targets.
25774 (scan_insn): Revert 2014-12-22 change. Set frame_read
25775 also before reload for tail calls if
25776 HARD_FRAME_POINTER_IS_ARG_POINTER. Call add_wild_read
25777 instead of add_non_frame_wild_read for non-const/memset
25778 tail calls after reload.
25780 2015-01-08 Jason Merrill <jason@redhat.com>
25782 * ubsan.c (do_ubsan_in_current_function): New.
25783 (pass_ubsan::gate): Use it.
25784 * ubsan.h: Declare it.
25785 * convert.c (convert_to_integer): Use it.
25787 2015-01-08 Jakub Jelinek <jakub@redhat.com>
25790 * config/i386/i386.c (ix86_expand_int_movcc): Don't reverse
25791 compare_code when it is unconditionally overwritten afterwards.
25792 Use ix86_reverse_condition instead of reverse_condition. Don't
25793 change code if *reverse_condition* returned UNKNOWN and don't
25794 swap ct/cf and negate diff in that case.
25796 2015-01-08 Mike Stump <mikestump@comcast.net>
25798 * tsan.c (pass_tsan::gate): Add no_sanitize_thread support.
25799 (pass_tsan_O0::gate): Likewise.
25800 * extend.texi (Function Attributes): Add no_sanitize_thread
25803 2015-01-08 Thomas Schwinge <thomas@codesourcery.com>
25805 * builtins.def (DEF_GOMP_BUILTIN): Also consider flag_offload_abi
25806 for registering builtins.
25807 * config/i386/intelmic-mkoffload.c (prepare_target_image): Don't
25808 add -fopenmp to the argv_obstack used when invoking
25809 compile_for_target.
25811 * config/i386/intelmic-mkoffload.c (compile_for_target): Always
25812 add "-m32" or "-m64" to argv_obstack.
25813 (generate_host_descr_file): Likewise, when invoking host_compiler.
25814 (main): Always add "-m elf_i386" or "-m elf_x86_64" when invoking
25817 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
25819 * config/sh/sh-mem.cc: Use constant as second operand when emitting
25822 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
25825 * config/sh/sh.md (*addsi3_compact): Emit reg-reg copy instead of
25826 constant load if constant operand fits into I08.
25828 2015-01-08 Jakub Jelinek <jakub@redhat.com>
25831 * tree.c (build2_stat): Fix up initialization of TREE_READONLY
25832 and TREE_THIS_VOLATILE for MEM_REFs.
25833 (build5_stat): Fix up initialization of TREE_READONLY and
25834 TREE_THIS_VOLATILE for TARGET_MEM_REFs.
25836 2015-01-08 Kaz Kojima <kkojima@gcc.gnu.org>
25839 * config/sh/sh.md (*addsi3_compact): Use u constraint instead
25840 of r for the second alternative of the destination operand.
25842 2015-01-07 Segher Boessenkool <segher@kernel.crashing.org>
25845 * config/rs6000/rs6000.md (*eqsi3_ext<mode>, *nesi3_ext<mode>): New.
25847 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
25849 * doc/invoke.texi ([-fvtable-verify]): Fix markup on option
25851 ([-fivar-visibility], [-fvisibility]): Likewise.
25853 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
25855 * doc/invoke.texi: Fix incorrect uses of @samp markup throughout
25856 the file where @code, @command, etc is more appropriate.
25858 2015-01-06 Sandra Loosemore <sandra@codesourcery.com>
25860 * doc/invoke.texi (RS/6000 and PowerPC Options): Tidy formatting
25861 of -mrecip= documentation.
25863 2015-01-06 Michael Meissner <meissner@linux.vnet.ibm.com>
25866 * config/rs6000/rs6000.c (rs6000_secondary_reload): Return the
25867 correct reload handler if -m32 -mpowerpc64 is used.
25869 2015-01-06 Tom de Vries <tom@codesourcery.com>
25871 * tree-ssa-tail-merge.c: Fix typo in struct same_succ_def comment.
25873 2015-01-08 Christian Bruel <christian.bruel@st.com>
25876 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Check 0 length.
25878 2015-01-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
25880 PR tree-optimization/63259
25881 * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Stop checking
25882 if optab exists for 16bit byteswap.
25884 2015-01-06 Jakub Jelinek <jakub@redhat.com>
25886 * opts.c (common_handle_option): Add support for
25887 -fno-sanitize=all and -f{,no-}sanitize-recover=all.
25888 * doc/invoke.texi: Document -fno-sanitize=all,
25889 -f{,no-}sanitize-recover=all. Document that
25890 -fsanitize=float-cast-overflow is not enabled
25891 by -fsanitize=undefined. Fix up documentation
25892 of -f{,no-}sanitize-recover.
25894 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
25896 * config.gcc: Add Visium support.
25897 * configure.ac: Likewise.
25898 * configure: Regenerate.
25899 * doc/extend.texi (interrupt attribute): Add Visium.
25900 * doc/invoke.texi: Document Visium options.
25901 * doc/install.texi: Document Visium target.
25902 * doc/md.texi: Document Visium constraints.
25903 * common/config/visium: New directory.
25904 * config/visium: Likewise.
25906 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
25908 * simplify-rtx.c (simplify_binary_operation_1): Handle more cases
25909 for the "(and X (ior (not X) Y) -> (and X Y)" transform.
25911 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
25913 * combine.c (combine_validate_cost): Do not count the cost of a
25914 split I2 twice. Do not display it twice in the dump, either.
25916 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
25918 Revert parts of r219199.
25919 * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
25921 ([-Wtraditional]): Restore markup on <limits.h>.
25923 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
25926 * doc/invoke.texi: Document -Wsuggest-override.
25928 2015-01-05 Radovan Obradovic <radovan.obradovic@imgtec.com>
25930 PR rtl-optimization/64287
25931 * toplev.c (HAVE_epilogue, HAVE_prologue): Provide default.
25932 (process_options): Disable flag_ipa_ra if profiling.
25934 2015-01-05 Eric Botcazou <ebotcazou@adacore.com>
25936 * config/nds32/nds32-peephole2.md: Do not mention define_peephole.
25938 2015-01-05 Max Filippov <jcmvbkbc@gmail.com>
25940 * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
25941 hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
25942 put under #if TARGET_LOOPS guard.
25944 2015-01-05 Uros Bizjak <ubizjak@gmail.com>
25946 * config/i386/i386.c (output_387_binary_op): Use std::swap.
25948 2015-01-05 Oleg Endo <olegendo@gcc.gnu.org>
25950 * rtlanal.c (refers_to_regno_p): Change return value from int to bool.
25951 * rtl.h (refers_to_regno_p): Add overload.
25953 * bt-load.c: Likewise.
25954 * combine.c: Likewise.
25955 * df-scan.c: Likewise.
25956 * sched-deps.c: Likewise.
25957 * config/s390/s390.c: Likewise.
25958 * config/m32r/m32r.c: Likewise.
25959 * config/rs6000/spe.md: Likewise.
25960 * config/rs6000/rs6000.c: Likewise.
25961 * config/pa/pa.c: Likewise.
25962 * config/stormy16/stormy16.c: Likewise.
25963 * config/cris/cris.c: Likewise.
25964 * config/arc/arc.md: Likewise.
25965 * config/arc/arc.c: Likewise.
25966 * config/sh/sh.md: Likewise.
25967 * config/sh/sh.c: Likewise.
25968 * config/frv/frv.c: Likewise.
25970 2015-01-05 Jakub Jelinek <jakub@redhat.com>
25973 * gimplify.c (gimplify_function_tree): Add TSAN_FUNC_EXIT internal
25974 call as cleanup of the whole body.
25975 * internal-fn.def (TSAN_FUNC_EXIT): New internal call.
25976 * tsan.c (replace_func_exit): New function.
25977 (instrument_func_exit): Moved earlier.
25978 (instrument_memory_accesses): Adjust TSAN_FUNC_EXIT internal calls.
25979 Call instrument_func_exit if no TSAN_FUNC_EXIT internal calls have
25981 (tsan_pass): Don't call instrument_func_exit.
25982 * internal-fn.c (expand_TSAN_FUNC_EXIT): New function.
25983 * tree-inline.c (copy_bb): Drop TSAN_FUNC_EXIT internal calls during
25987 * ubsan.h (ubsan_instrument_float_cast): Add ARG argument.
25988 * ubsan.c (ubsan_instrument_float_cast): Add ARG argument, pass
25989 it to libubsan handler instead of EXPR. Fold comparisons earlier,
25990 if the result is integer_zerop, return NULL_TREE.
25991 * convert.c (convert_to_integer): Pass expr as ARG.
25993 PR tree-optimization/64465
25994 * tree-inline.c (redirect_all_calls): During inlining
25995 clean up EH stmts and EH edges if redirect_call_stmt_to_callee
25996 changed the stmt to a non-throwing call.
25998 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
26000 * doc/invoke.texi: Fix incorrect uses of @code, @option, @samp,
26001 etc markup throughout the file.
26003 2015-01-05 Bernd Edlinger <bernd.edlinger@hotmail.de>
26005 Enable experimental TSAN support for Ada.
26006 * tsan.c (instrument_expr): Handle VIEW_CONVERT_EXPR.
26008 2015-01-05 Jakub Jelinek <jakub@redhat.com>
26010 PR tree-optimization/64494
26011 * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
26012 clear SSA_NAME_ANTI_RANGE_P flag.
26014 2015-01-05 Marek Polacek <polacek@redhat.com>
26016 * doc/extend.texi (Arrays of Length Zero): Add missing comma.
26018 2015-01-05 Jakub Jelinek <jakub@redhat.com>
26020 Update copyright years.
26022 * gcc.c (process_command): Update copyright notice dates.
26023 * gcov-dump.c: Ditto.
26025 * doc/cpp.texi: Bump @copying's copyright year.
26026 * doc/cppinternals.texi: Ditto.
26027 * doc/gcc.texi: Ditto.
26028 * doc/gccint.texi: Ditto.
26029 * doc/gcov.texi: Ditto.
26030 * doc/install.texi: Ditto.
26031 * doc/invoke.texi: Ditto.
26033 * auto-profile.c, auto-profile.h: Fix up Copyright line.
26035 2015-01-04 Sandra Loosemore <sandra@codesourcery.com>
26037 * doc/invoke.texi ([-fsized-deallocation]): Copy-edit to fix
26039 ([-fvtable-verify], [-fvtv-debug]): Likewise.
26040 ([-Wabi]): Likewise.
26041 ([-fmessage-length]): Likewise.
26042 ([-Wsuggest-final-types], [-Wsuggest-final-methods]): Likewise.
26043 ([-Wno-discarded-qualifiers]): Likewise.
26044 ([-Wnodiscarded-array-qualifiers]): Likewise.
26045 ([-Wno-virtual-move-assign]): Likewise.
26046 ([-fsanitize=address], [-fsanitize=thread]): Likewise.
26047 ([-fsanitize=leak], [-fsanitize=undefined]): Likewise.
26048 ([-fsanitize=unreachable], [-fsanitize-recover]): Likewise.
26049 ([-fsanitize-undefined-trap-on-error]): Likewise.
26050 ([-floop-interchange]): Likewise.
26051 ([-ftree-coalesce-inlined-vars]): Likewise.
26052 ([-fvect-cost-model]): Likewise.
26053 ([-flto]): Likewise.
26054 ([--param]): Likewise.
26055 (Spec Files): Likewise.
26056 ([-mstrict-align]): Likewise.
26057 ([-mfix-cortex-a53-835769]): Likewise.
26058 ([-march], [-mtune]): Likewise.
26059 ([-mpic-register]): Likewise.
26060 ([-munaligned-access]): Likewise.
26061 ([-msp8]): Likewise.
26062 (EIND and Devices with more than 128 Ki Bytes of Flash): Likewise.
26063 (AVR Built-in Macros): Likewise.
26064 ([-mpreferred-stack-boundary]): Likewise.
26065 ([-mtune-crtl]): Likewise.
26066 ([-mashf]): Likewise.
26067 ([-mmcu=]): Likewise.
26068 ([-minrt]): Likewise.
26069 ([-maltivec], [-maltivec=be], [-maltivec=le]): Likewise.
26070 ([-mupper-regs]): Likewise.
26071 ([-matomic-model]): Likewise.
26072 ([-mdiv]): Likewise.
26073 ([-mzdcbranch]): Likewise.
26074 ([-mdisable-callt]): Likewise.
26075 ([-msoft-float]): Likewise.
26076 ([-m8byte-align]): Likewise.
26077 ([-fstack-reuse]): Likewise.
26079 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
26081 * doc/invoke.texi ([-fprofile-generate], [-fprofile-use]):
26082 Fix markup, light copy-editing.
26083 ([-fauto-profile]): Rewrite to fix formatting and content
26086 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
26088 * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]):
26089 Copy-edit description.
26090 ([-fisolate-erroneous-paths-attribute]): Likewise.
26091 * common.opt (fisolate-erroneous-paths-dereference):
26092 Copy-edit description.
26093 (fisolate-erroneous-paths-attribute): Likewise.
26095 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
26097 * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
26100 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
26102 * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
26103 ([-fvtv-debug]): Likewise.
26104 ([-Wc++-compat]): Likewise.
26105 ([-Wc++11-compat]): Likewise.
26106 ([-Wc++14-compat]): Likewise.
26107 ([-Wno-sized-deallocation]): Likewise.
26108 ([-femit-class-debug-always]): Likewise.
26109 ([-femit-struct-debug-detailed]): Likewise.
26110 ([-fno-keep-inline-dllexport]): Likewise.
26111 ([-fira-algorithm]): Likewise.
26112 ([-fira-region]): Likewise.
26113 ([-flra-remat]): Likewise.
26114 ([-fipa-ra]): Likewise.
26115 ([-fhoist-adjacent-loads]): Likewise.
26116 ([-fisolate-erroneous-paths-dereference]): Likewise.
26117 ([-fisolate-erroneous-paths-attribute]): Likewise.
26118 ([-ftree-switch-conversion]): Likewise.
26119 ([-ftree-tail-merge]): Likewise.
26120 ([-ftree-loop-if-convert]): Likewise.
26121 ([-ftree-loop-if-convert-stores]): Likewise.
26122 ([-ftree-loop-distribution]): Likewise.
26123 ([-ftree-loop-distribute-patterns]): Likewise.
26124 ([-flto-compression-level]): Likewise.
26125 ([-flto-report]): Likewise.
26126 ([-flto-report-wpa]): Likewise.
26127 ([-fuse-linker-plugin]): Likewise.
26128 ([-mfix-cortex-a53-835769]): Likewise.
26129 ([-mno-fix-cortex-a53-835769]): Likewise.
26130 ([-mmmx]...[-mno-3dnow]): Remove the -mno- forms from the
26131 explicit listing; add a note to the discussion indicating they
26132 exist. Reorder table to group similar options. Add missing
26133 @opindex entries. Add @need commands throughout the table to
26134 allow it to be split across multiple pages.
26135 ([-m8bit-idiv]): Fix @opindex.
26136 ([-mavx256-split-unaligned-load]): Likewise.
26137 ([-mavx256-split-unaligned-store]): Likewise.
26138 ([-mstack-protector-guard]): Likewise.
26139 ([-mcpu=]): Likewise.
26140 ([-mcpu]): Likewise.
26141 ([-mpointer-size=]): Likewise.
26143 2015-01-03 John David Anglin <danglin@gcc.gnu.org>
26145 * config/pa/pa.md (decrement_and_branch_until_zero): Use `Q' constraint
26146 instead of `m' constraint. Likewise for unnamed movb comparison
26147 patterns using reg_before_reload_operand predicate.
26148 * config/pa/predicates.md (reg_before_reload_operand): Tighten
26149 predicate to reject register index and LO_SUM DLT memory forms
26152 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
26154 * doc/invoke.texi (Option Summary): Fix spelling of
26155 -fdevirtualize-at-ltrans.
26156 ([-fdevirtualize]): Fix markup.
26157 ([-fdevirtualize-speculatively]): Fix typo.
26158 ([-fdevirtualize-at-ltrans]): Likewise. Make description less
26159 implementor-speaky.
26160 * common.opt (fdevirtualize-at-ltrans): Likewise.
26161 * ipa-devirt.c: Fix typos in comments throughout the file.
26162 (ipa_devirt): Fix typos in format strings for dump output.
26164 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
26166 * doc/invoke.texi ([-fopt-info]): Fix markup, consolidate
26167 discussion of defaults, light copy-editing.
26169 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
26171 * tsan.c (instrument_expr): corrected previous checkin.
26173 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
26175 Instrument bit field and unaligned accesses for TSAN.
26176 * sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
26177 (BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
26178 * tsan.c (instrument_expr): Handle COMPONENT_REF and BIT_FIELD_REF.
26179 Use BUILT_IN_TSAN_READ_RANGE and BUILT_IN_TSAN_WRITE_RANGE for
26180 unaligned memory regions.
26182 2015-01-01 Anthony Green <green@moxielogic.com>
26184 * config/moxie/predicates.md (moxie_general_movsrc_operand):
26185 Restrict move source register offsets to 16 bits.
26187 Copyright (C) 2015 Free Software Foundation, Inc.
26189 Copying and distribution of this file, with or without modification,
26190 are permitted in any medium without royalty provided the copyright
26191 notice and this notice are preserved.