aarch64.h (CANNOT_CHANGE_MODE_CLASS): Removed.
[gcc.git] / gcc / ChangeLog
1 2015-01-21 David Sherwood <david.sherwood@arm.com>
2 Tejas Belagod <Tejas.Belagod@arm.com>
3
4 * config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Removed.
5 * config/aarch64/aarch64.c (aarch64_cannot_change_mode_class): Removed.
6 * config/aarch64/aarch64-protos.h (aarch64_cannot_change_mode_class):
7 Removed.
8
9 2015-01-21 David Sherwood <david.sherwood@arm.com>
10 Tejas Belagod <Tejas.Belagod@arm.com>
11
12 * config/aarch64/aarch64-protos.h (aarch64_simd_attr_length_rglist)
13 (aarch64_reverse_mask): New decls.
14 * config/aarch64/iterators.md (UNSPEC_REV_REGLIST): New enum.
15 (insn_count): New mode_attr.
16 * config/aarch64/aarch64-simd.md (vec_store_lanesoi, vec_store_lanesci)
17 (vec_store_lanesxi, vec_load_lanesoi, vec_load_lanesci)
18 (vec_load_lanesxi): Made ABI compliant for Big Endian targets.
19 (aarch64_rev_reglist, aarch64_simd_ld2, aarch64_simd_ld3)
20 (aarch64_simd_ld4, aarch64_simd_st2, aarch64_simd_st3)
21 (aarch64_simd_st4): New patterns.
22 * config/aarch64/aarch64.c (aarch64_simd_attr_length_rglist)
23 (aarch64_reverse_mask): New functions.
24
25 2015-01-21 Richard Sandiford <richard.sandiford@arm.com>
26
27 * config/aarch64/aarch64-protos.h (aarch64_simd_disambiguate_copy):
28 Declare.
29 * config/aarch64/aarch64.c (aarch64_classify_address): Allow extra
30 addressing modes for BE.
31 (aarch64_print_operand): Add 'R' specifier.
32 (aarch64_simd_disambiguate_copy): Delete.
33 (aarch64_simd_emit_reg_reg_move): New function.
34 * config/aarch64/aarch64-simd.md: Use aarch64_simd_emit_reg_reg_move
35 in define_splits for structural moves.
36 (mov<mode>): Use less restrictive predicates.
37 (*aarch64_mov<mode>): Simplify and only allow for LE.
38 (*aarch64_be_movoi, *aarch64_be_movci, *aarch64_be_movxi): New.
39
40 2015-01-21 Alan Hayward <alan.hayward@arm.com>
41
42 * rtlanal.c (subreg_get_info): Exit early for simple and common
43 cases.
44
45 2015-01-21 Richard Henderson <rth@redhat.com>
46
47 PR target/64669
48 * ccmp.c (used_in_cond_stmt_p): Remove.
49 (expand_ccmp_expr): Don't use it.
50
51 2015-01-21 Nick Clifton <nickc@redhat.com>
52
53 * config/rl78/rl78.c (rl78_calculate_death_notes): Look inside
54 PARALLELs.
55
56 2015-01-21 Richard Biener <rguenther@suse.de>
57
58 PR middle-end/64313
59 * tree-core.h (builtin_info, builtin_info_type): Turn from
60 an object with two arrays into an array of an object with
61 decl and two flags, implicit_p and declared_p.
62 * tree.h (builtin_decl_explicit, builtin_decl_implicit,
63 set_builtin_decl, set_builtin_decl_implicit_p,
64 builtin_decl_explicit_p, builtin_decl_implicit_p): Adjust.
65 (set_builtin_decl_declared_p, builtin_decl_declared_p): New functions.
66 * builtins.c (builtin_info): Adjust.
67 * gimplify.c (gimplify_addr_expr): References to builtins
68 that have been declared by the user makes them eligible for
69 use by the compiler. Call set_builtin_decl_implicit_p on them.
70
71 2015-01-20 Jeff Law <law@redhat.com>
72
73 PR target/59946
74 * config/m68k/m68k.md (Comparison expanders and patterns): Do not
75 allow pc-relative addresses in operand predicates or constraints.
76
77 2015-01-21 Bin Cheng <bin.cheng@arm.com>
78
79 * config/arm/arm.c (arm_cortex_a53_tune, arm_cortex_a57_tune): Prefer
80 neon on aarch32 processors for stringops.
81
82 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
83
84 PR ipa/63576
85 * ipa-utils.c (ipa_merge_profiles): Merge speculative edges.
86
87 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
88
89 PR lto/45375
90 * ipa-inline.c: Include lto-streamer.h
91 (report_inline_failed_reason): Output source file differences and
92 flags on optimization/target node mismatch.
93 (can_inline_edge_p): Consider caller to be the outer inline function;
94 be less restrictive about matching opimize and optimize_size attributes.
95 (inline_account_function_p): Break out from ...
96 (inline_small_functions): ... here.
97 * ipa-inline-transform.c (clone_inlined_nodes): Use
98 inline_account_function_p.
99 (inline_call): Use optimize attribution; use inline_account_function_p.
100 (inline_transform): Use opt_for_fn.
101 * ipa-inline.h (inline_account_function_p): Declare.
102
103 2015-01-20 Jakub Jelinek <jakub@redhat.com>
104
105 PR debug/64663
106 * dwarf2out.c (decl_piece_node): Don't put bitsize into
107 mode if bitsize <= 0.
108 (decl_piece_bitsize, adjust_piece_list, add_var_loc_to_decl,
109 dw_sra_loc_expr): Use HOST_WIDE_INT instead of int for bit
110 sizes and positions.
111
112 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
113
114 * config/nios2/nios2.c (nios2_asm_file_end): Implement
115 TARGET_ASM_FILE_END hook for adding .note.GNU-stack section when
116 needed.
117 (TARGET_ASM_FILE_END): Define.
118
119 2015-01-20 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
120
121 * config/arm/arm-protos.h (enum arm_sched_autopref): New constants.
122 (struct tune_params): Use the enum.
123 * arm.c (arm_*_tune): Update.
124 (arm_option_override): Update.
125
126 2015-01-20 Richard Biener <rguenther@suse.de>
127
128 PR ipa/64684
129 * ipa-reference.c (add_static_var): Inline ...
130 (analyze_function): ... here after splitting out from ...
131 (is_proper_for_analysis): ... this.
132
133 2015-01-20 Matthew Wahab <matthew.wahab@arm.com>
134
135 PR target/64149
136 * config/arm/arm.opt: Remove lra option and arm_lra_flag variablesle.
137 * config/arm/arm.h (MODE_BASE_REG_CLASS): Remove use of arm_lra_flagag,
138 replace the conditional with it's true branch.
139 * config/arm/arm.config (TARGET_LRA_P): Set to hook_bool_void_true.
140 (arm_lra_p): Remove.
141
142 2015-01-20 Eric Botcazou <ebotcazou@adacore.com>
143
144 * config/visium/visium.h (LIB_SPEC): Adjust in default case.
145
146 2015-01-20 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
147
148 * config/tilegx/mul-tables.c: Move symtab.h include after coretypes.h include.
149 * config/tilepro/mul-tables.c: Add includes hashtab.h, hash-set.h, vec.h,
150 machmode.h, tm.h, hard-reg-set.h, input.h, function.h, rtl.h, flags.h, statistics.h,
151 double-int.h, real.h, fixed-value.h, alias.h, wide-int.h, inchash.h, tree.h,
152 insn-config.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
153
154 2015-01-20 Igor Zamyatin <igor.zamyatin@intel.com>
155
156 PR bootstrap/64676
157 Revert:
158 2015-01-19 Igor Zamyatin <igor.zamyatin@intel.com>
159
160 PR rtl-optimization/64081
161 * loop-iv.c (def_pred_latch_p): New function.
162 (latch_dominating_def): Allow specific cases with non-single
163 definitions.
164 (iv_get_reaching_def): Likewise.
165 (check_complex_exit_p): New function.
166 (check_simple_exit): Use check_complex_exit_p to allow certain cases
167 with exits not executing on any iteration.
168
169 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
170
171 PR lto/45375
172 * i386.c (ix86_option_override_internal): Use ix86_tune_cost
173 to set branch cost.
174
175 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
176
177 PR lto/45375
178 * i386.c (gate): Check flag_expensive_optimizations and
179 optimize_size.
180 (ix86_option_override_internal): Drop optimize_size condition
181 on MASK_ACCUMULATE_OUTGOING_ARGS, MASK_VZEROUPPER,
182 MASK_AVX256_SPLIT_UNALIGNED_LOAD, MASK_AVX256_SPLIT_UNALIGNED_STORE,
183 MASK_PREFER_AVX128.
184 (ix86_avx256_split_vector_move_misalign,
185 ix86_avx256_split_vector_move_misalign): Check optimize_insn_for_speed.
186 * sse.md (all uses of TARGET_PREFER_AVX128): Add
187 optimize_insn_for_speed_p check.
188
189 2015-01-19 Matthew Fortune <matthew.fortune@imgtec.com>
190
191 * config/mips/mips.h (FP_ASM_SPEC): New define.
192 (ASM_SPEC): Remove floating-point options and use FP_ASM_SPEC
193 instead.
194
195 2015-01-19 Oleg Endo <olegendo@gcc.gnu.org>
196
197 PR target/53988
198 * config/sh/sh-protos.h (sh_find_set_of_reg): Make sure not to return
199 nullptr for insn when reaching the first insn.
200 * config/sh/sh.c (sh_unspec_insn_p): Rewrite using subrtx_iterator.
201 (sh_insn_operands_modified_between_p): Add nullptr check.
202 (sh_find_extending_set_of_reg): Fix log message. Don't accept
203 sign extending mem load if the insn contains any UNSPEC or
204 UNSPEC_VOLATILE.
205
206 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
207
208 * params.def (inline-unit-growth): Drop to 15%.
209 * invoke.texi (inline-unit-growth): Document change.
210
211 2015-01-19 Martin Liska <mliska@suse.cz>
212
213 PR ipa/64668
214 * ipa-icf-gimple.c (func_checker::compare_operand): Call proper
215 function for second argument of OBJ_TYPE_REF.
216
217 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
218
219 PR ipa/64218
220 * ipa-inline.c (want_inline_function_to_all_callers_p): Fix check
221 whether function is an alias.
222
223 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
224
225 * ipa-devirt.c (ipa_devirt): Drop polymorphic call info in hopeless
226 cases.
227
228 2015-01-19 Vladimir Makarov <vmakarov@redhat.com>
229
230 PR rtl-optimization/64671
231 * lra-remat.c (operand_to_remat): Don't consider jump and call
232 insns.
233
234 2015-01-19 David Edelsohn <dje.gcc@gmail.com>
235
236 * config/rs6000/default64.h: Include rs6000-cpus.def.
237 (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use ISA 2.7 (POWER8).
238 (TARGET_DEFAULT) [BIG_ENDIAN]: Use POWER4.
239 * config/rs6000/driver-rs6000.c (detect_processor_aix): Add POWER7
240 and POWER8.
241 * config/rs6000/linux64.h (PROCESSOR_DEFAULT64): Always default to
242 POWER8.
243 * config/rs6000/rs6000.c (rs6000_file_start): Emit .machine
244 pseudo-op to specify assembler dialect.
245
246 2015-01-19 Martin Liska <mliska@suse.cz>
247
248 PR ipa/64664
249 * ipa-icf.c (sem_item_optimizer::filter_removed_items):
250 Handle safe potentially removed nodes during filtering.
251
252 2015-01-19 Martin Liska <mliska@suse.cz>
253
254 * doc/extend.texi (no_icf): Add new attribute description.
255 * ipa-icf.c (sem_item_optimizer::merge_classes): Handle cases
256 where the pass attempts to merge a function with no_icf attribute.
257
258 2015-01-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
259
260 PR target/64532
261 * doc/md.texi (ARM Options): Document register constraints.
262
263 2015-01-19 Jiong Wang <jiong.wang@arm.com>
264 Andrew Pinski <apinski@cavium.com>
265
266 PR target/64304
267 * config/aarch64/aarch64.md (define_insn "*ashl<mode>3_insn"): Deleted.
268 (ashl<mode>3): Don't expand if operands[2] is not constant.
269
270 2015-01-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
271
272 PR target/64448
273 * config/aarch64/aarch64-simd.md (aarch64_simd_bsl<mode>_internal):
274 Match xor-and-xor RTL pattern.
275
276 2015-01-19 Igor Zamyatin <igor.zamyatin@intel.com>
277
278 PR rtl-optimization/64081
279 * loop-iv.c (def_pred_latch_p): New function.
280 (latch_dominating_def): Allow specific cases with non-single
281 definitions.
282 (iv_get_reaching_def): Likewise.
283 (check_complex_exit_p): New function.
284 (check_simple_exit): Use check_complex_exit_p to allow certain cases
285 with exits not executing on any iteration.
286
287 2015-01-19 Jakub Jelinek <jakub@redhat.com>
288
289 * common.opt (fgraphite): Fix a typo.
290
291 2015-01-19 Felix Yang <felix.yang@huawei.com>
292
293 * config/aarch64/aarch64-simd.md (aarch64_<maxmin_uns>p<mode>): New
294 pattern.
295 * config/aarch64/aarch64-simd-builtins.def (smaxp, sminp, umaxp,
296 uminp, smax_nanp, smin_nanp): New builtins.
297 * config/aarch64/arm_neon.h (vpmax_s8, vpmax_s16, vpmax_s32,
298 vpmax_u8, vpmax_u16, vpmax_u32, vpmaxq_s8, vpmaxq_s16, vpmaxq_s32,
299 vpmaxq_u8, vpmaxq_u16, vpmaxq_u32, vpmax_f32, vpmaxq_f32, vpmaxq_f64,
300 vpmaxqd_f64, vpmaxs_f32, vpmaxnm_f32, vpmaxnmq_f32, vpmaxnmq_f64,
301 vpmaxnmqd_f64, vpmaxnms_f32, vpmin_s8, vpmin_s16, vpmin_s32, vpmin_u8,
302 vpmin_u16, vpmin_u32, vpminq_s8, vpminq_s16, vpminq_s32, vpminq_u8,
303 vpminq_u16, vpminq_u32, vpmin_f32, vpminq_f32, vpminq_f64, vpminqd_f64,
304 vpmins_f32, vpminnm_f32, vpminnmq_f32, vpminnmq_f64, vpminnmqd_f64,
305 vpminnms_f32): Rewrite using builtin functions.
306
307 2015-01-19 Thomas Schwinge <thomas@codesourcery.com>
308
309 PR libgomp/64625
310 * omp-low.c (offload_symbol_decl): Remove variable.
311 (get_offload_symbol_decl): Remove function.
312 (expand_omp_target): For BUILT_IN_GOMP_TARGET,
313 BUILT_IN_GOMP_TARGET_DATA, BUILT_IN_GOMP_TARGET_UPDATE pass NULL
314 instead of &__OFFLOAD_TABLE__, for BUILT_IN_GOACC_DATA_START,
315 BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL,
316 BUILT_IN_GOACC_UPDATE don't pass it at all.
317
318 2015-01-19 Ilya Enkovich <ilya.enkovich@intel.com>
319
320 * tree-sra.c (some_callers_have_mismatched_arguments_p): Allow thunk
321 callers.
322
323 2015-01-19 Ilya Enkovich <ilya.enkovich@intel.com>
324
325 * ipa-chkp.c (chkp_produce_thunks): Add early param
326 to split thunks production into two passes. Keep
327 'always_inline' function bodies after the first pass.
328 (pass_data_ipa_chkp_early_produce_thunks): New.
329 (pass_ipa_chkp_early_produce_thunks): New.
330 (pass_ipa_chkp_produce_thunks::execute): Adjust to new
331 chkp_produce_thunks signature.
332 (make_pass_ipa_chkp_early_produce_thunks): New.
333 * passes.def (pass_ipa_chkp_early_produce_thunks): New.
334 (pass_ipa_chkp_produce_thunks): Move after local optimizations.
335 * tree-pass.h (make_pass_ipa_chkp_early_produce_thunks): New.
336
337 2015-01-18 Jan Hubicka <hubicka@ucw.cz>
338
339 * cgraph.c (cgraph_node::dump): Dump profile flags.
340
341 2015-01-18 Oleg Endo <olegendo@gcc.gnu.org>
342
343 PR target/64652
344 * config/sh/sh.md (udivsi3_i4, divsi3_i4): Make use of sfunc address
345 reg appear first in the parallel.
346
347 2015-01-18 Jan Hubicka <hubicka@ucw.cz>
348
349 * ipa-reference.c (set_reference_optimization_summary,
350 ipa_reference_get_not_written_global): Do nothing if ipa-reference is
351 disabled.
352 (ignore_module_statics): New static var.
353 (propagate_bits): If ipa-reference is disabled, do not look into local
354 properties.
355 (analyze_function): Disable analysis when ipa_reference is disabled.
356 (generate_summary): Do not dump when reference is disabled;
357 collect vars accessed from functions with ipa-reference disabled.
358 (get_read_write_all_from_node): When ipa-reference is disabled, use the
359 node flags.
360 (gate): Enable for LTO.
361 (ignore_edge_p): New function.
362 (propagate): Skip functions w/o ipa-reference analysis.
363 * optc-save-gen.awk: Handle optimize_debug correctly.
364 * opth-gen.awk: Likewise.
365 * common.opt (fauto-inc-dec, fdelete-dead-exceptions, ffunction-cse,
366 fgraphite, fstrict-volatile-bitfields, fira-algorithm, fira-region,
367 fira-share-save-slots, fira-share-spill-slots,
368 fmodulo-sched-allow-regmoves, fpartial-inlining,
369 sched-stalled-insns, fsched-stalled-insns-dep, fstrict-overflow,
370 ftracer, ftree-parallelize-loops, fassociative-math,
371 freciprocal-math, fvect-cost-model, fsimd-cost-model): Mark as
372 Optimization
373 (fauto-profile, fcommon, fdata-sections, fipa-icf-variables,
374 ftoplevel-reorder, funit-at-a-time, fwhole-program): Do not mark as
375 Optimization.
376 * ipa-icf.c (gate, sem_item_optimizer::filter_removed_items):
377 Fix for IPA.
378
379 2015-01-18 Jan Hubicka <hubicka@ucw.cz>
380
381 PR ipa/64378
382 * ipa-prop.c (try_make_edge_direct_virtual_call): Clear speculative
383 flag correctly.
384 * ipa-cp.c (ipa_get_indirect_edge_target_1): Handle speculation.
385
386 2015-01-18 Sandra Loosemore <sandra@codesourcery.com>
387
388 * doc/invoke.texi ([-funroll-loops], [-funroll-all-loops]):
389 Remove duplicate option listings.
390
391 2015-01-18 Felix Yang <felix.yang@huawei.com>
392
393 * auto-profile.c (afdo_find_equiv_class): Remove unnecessary test.
394 (autofdo_source_profile::get_callsite_total_count,
395 function_instance::get_function_instance_by_decl,
396 string_table::get_index, string_table::get_index_by_decl,
397 afdo_vpt_for_early_inline, afdo_callsite_hot_enough_for_early_inline):
398 Fix comment typos. Reformatting and minor code rearrangement.
399
400 2015-01-17 Segher Boessenkool <segher@kernel.crashing.org>
401
402 * config/rs6000/rs6000.md (probe_stack): Delete.
403 (probe_stack_address): New.
404
405 2015-01-17 Segher Boessenkool <segher@kernel.crashing.org>
406
407 * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Use TARGET_32BIT
408 to test for 32-bit ABIs, not !TARGET_POWERPC64.
409
410 2015-01-17 Segher Boessenkool <segher@kernel.crashing.org>
411
412 * config/rs6000/rs6000.c (rs6000_parallel_return): New function.
413 (rs6000_function_value): Use it. Handle SCmode and TCmode as well,
414 for TARGET_32BIT && TARGET_POWERPC64. Fix another BITS_PER_WORD
415 snafu.
416 (rs6000_libcall_value): Use the new function.
417
418 2015-01-17 Sandra Loosemore <sandra@codesourcery.com>
419
420 * doc/invoke.texi ([-ftracer]): Remove duplicate option listing.
421
422 2015-01-17 Eric Botcazou <ebotcazou@adacore.com>
423
424 * reorg.c (fill_simple_delay_slots): If TARGET_FLAGS_REGNUM is valid,
425 implement a more precise life analysis for it during backward scan.
426
427 2015-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
428
429 * dwarf2out.c (gen_producer_string): Ignore also OPT_fpreprocessed.
430
431 2015-01-17 Bernd Schmidt <bernds@codesourcery.com>
432
433 PR rtl-optimization/52773
434 * calls.c (emit_library_call_value): When pushing arguments use
435 stack_pointer_rtx rather than virtual_outgoing_args_rtx in
436 CALL_INSN_FUNCTION_USAGE. Only emit one of use of the magic
437 stack pointer reference into CALL_INSN_FUNCTION_USAGE.
438
439 2015-01-17 Jeff Law <law@redhat.com>
440
441 PR rtl-optimization/32790
442 * reginfo.c (reg_scan_mark_refs): Look for ZERO_EXTRACT,
443 not ZERO_EXTEND in SET_DESTs.
444
445 2015-01-17 Alan Modra <amodra@gmail.com>
446
447 * cprop.c (do_local_cprop): Revert last change.
448
449 2015-01-16 DJ Delorie <dj@redhat.com>
450 Nick Clifton <nickc@redhat.com>
451
452 * config/rl78/rl78-real.md (addqi3_real): Allow volatiles.
453 (addhi3_real): Likewise. Fix [HL+0] syntax.
454 (subqi3_real): Likewise.
455 (subhi3_real): Likewise.
456 (cbranchqi4_real): Likewise. Allow saddr,#imm.
457 (cbranchhi4_real): Likewise.
458 (cbranchhi4_real_inverted): Likewise.
459 (cbranchsi4_real_lt): Likewise.
460 (cbranchsi4_real_ge): Likewise.
461 (cbranchsi4_real_ge): Likewise.
462 * config/rl78/rl78-virt.md (add<mode>3_virt): Likewise.
463 (sub<mode>3_virt): Likewise.
464 (cbranchqi4_virt): Likewise.
465 (cbranchhi4_virt): Likewise.
466 * config/rl78/rl78.c (rl78_print_operand_1): 'p' modifier means
467 always use '[reg+imm]' even when imm is zero.
468 * config/rl78/predicates.md (rl78_volatile_memory_operand): New.
469 (rl78_general_operand): New.
470 (rl78_nonimmediate_operand): New.
471 (rl78_nonfar_operand): Use them.
472 (rl78_nonfar_nonimm_operand): Likewise.
473 (rl78_stack_based_mem): Fix.
474 * config/rl78/constraints.md (Ibqi): New.
475 (IBqi): New.
476 (Wsa): New.
477 (Wsf): New.
478 (Cs1): Fix.
479 * config/rl78/rl78-expand.md (andqi3): Accept volatiles.
480 (iorqi3): Likewise.
481 (xorqi3): Likewise.
482 * config/rl78/rl78-protos.h (rl78_sfr_p): New.
483
484 * config/rl78/constrains (Qs8): New constraint.
485 * config/rl78/rl78.c (rl78_flags_already_set): New function.
486 * config/rl78/rl78-protos.h (rl78_flags_already_set): New prototype.
487 * config/rl78/rl78-real.md (update_Z): New attribute.
488 Update patterns to set it.
489 (cbranchqi4_real): Call rl78_flags_already_set() to determine if a
490 shorter compare and branch sequence can be used.
491 (cbranchhi4_real): Likewise.
492 (cbranchhi4_real_inverted): Likewise.
493
494 * config/rl78/predicates.md (uword_operand): Allow symbol_refs.
495 * config/rl78/rl78-c.c (rl78_register_pragmas): Register __near
496 address space.
497 * config/rl78/rl78.c (rl78_get_name_encoding): New.
498 (rl78_option_override): Allow -mes0 only if C.
499 (characterize_address): Support subregs of symbol_refs.
500 (rl78_addr_space_address_mode): Move. Add __near.
501 (rl78_far_p): Likewise.
502 (rl78_addr_space_pointer_mode): Likewise.
503 (rl78_as_legitimate_address): Likewise.
504 (rl78_addr_space_subset_p): Likewise.
505 (rl78_addr_space_convert): Likewise.
506 (rl78_print_operand_1): Support 16-bit addressing of 32-bit
507 symbols with -mes0.
508 (transcode_memory_rtx): Don't copy ES if -mes0. Allow symbol[BC]
509 addressing.
510 (rl78_alloc_physical_registers_op1): Change logic to prefer
511 symbol[BC] addressing.
512 (frodata_section): New.
513 (rl78_asm_init_sections): Initialize it.
514 (rl78_select_section): Put __far readonly symbols in .frodata.
515 (rl78_make_type_far): New.
516 (rl78_insert_attributes): Force all readonly symbols to be __far when -mes0.
517 (rl78_asm_out_integer): New.
518 * config/rl78/rl78.h (ADDR_SPACE_NEAR): New.
519 * config/rl78/rl78.opt (-mes0): New.
520
521 * config/rl78/rl78.h (ASM_OUTPUT_LABELREF): New.
522 (ASM_OUTPUT_ALIGNED_DECL_COMMON): New.
523 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): New.
524 * config/rl78/rl78-protos.h (rl78_output_labelref): New.
525 (rl78_saddr_p): New.
526 (rl78_output_aligned_common): New.
527 * config/rl78/rl78.c (rl78_output_symbol_ref): Strip encodings.
528 (rl78_handle_saddr_attribute): New.
529 (rl78_handle_naked_attribute): New.
530 (rl78_attribute_table): Add saddr.
531 (rl78_print_operand_1): Don't print '!' on saddr operands.
532 (rl78_print_operand_1): Strip encodings.
533 (rl78_sfr_p): New.
534 (rl78_strip_name_encoding): New.
535 (rl78_attrlist_to_encoding): New.
536 (rl78_encode_section_info): New.
537 (rl78_asm_init_sections): New.
538 (rl78_select_section): New.
539 (rl78_output_labelref): New.
540 (rl78_output_aligned_common): New.
541 (rl78_asm_out_integer): New.
542 (rl78_asm_ctor_dtor): New.
543 (rl78_asm_constructor): New.
544 (rl78_asm_destructor): New.
545
546 * config/rl78/rl78-real.md (movqi_es): Rename to movqi_to_es.
547 * config/rl78/rl78.c (rl78_expand_epilogue): Update.
548 (transcode_memory_rtx): Update.
549 (rl78_expand_epilogue): Use A_REG instead of 0.
550
551 2015-01-17 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
552
553 * config/arm/arm-protos.h (struct tune_params): New field
554 sched_autopref_queue_depth.
555 * config/arm/arm.c (sched-int.h): Include header.
556 (arm_first_cycle_multipass_dfa_lookahead_guard,)
557 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): Define hook.
558 (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,)
559 (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,)
560 (arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,)
561 (arm_cortex_a53_tune, arm_cortex_a57_tune, arm_xgene1_tune,)
562 (arm_cortex_a5_tune, arm_cortex_a9_tune, arm_cortex_a12_tune,)
563 (arm_v7m_tune, arm_cortex_m7_tune, arm_v6m_tune, arm_fa726te_tune):
564 Specify sched_autopref_queue_depth value. Enabled for A15 and A57.
565 * config/arm/t-arm (arm.o): Update.
566 * haifa-sched.c (update_insn_after_change): Update.
567 (rank_for_schedule): Use auto-prefetcher model, if requested.
568 (autopref_multipass_init): New static function.
569 (autopref_rank_for_schedule): New rank_for_schedule heuristic.
570 (autopref_multipass_dfa_lookahead_guard_started_dump_p): New static
571 variable for debug dumps.
572 (autopref_multipass_dfa_lookahead_guard_1): New static helper function.
573 (autopref_multipass_dfa_lookahead_guard): New global function that
574 implements TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD hook.
575 (init_h_i_d): Update.
576 * params.def (PARAM_SCHED_AUTOPREF_QUEUE_DEPTH): New tuning knob.
577 * sched-int.h (enum autopref_multipass_data_status): New const enum.
578 (autopref_multipass_data_): Structure for auto-prefetcher data.
579 (autopref_multipass_data_def, autopref_multipass_data_t): New typedefs.
580 (struct _haifa_insn_data:autopref_multipass_data): New field.
581 (INSN_AUTOPREF_MULTIPASS_DATA): New access macro.
582 (autopref_multipass_dfa_lookahead_guard): Declare.
583
584 2015-01-17 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
585
586 * rtlanal.c (get_base_term): Handle SCRATCH.
587
588 2015-01-17 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
589
590 * config/aarch64/aarch64.c
591 (aarch64_sched_first_cycle_multipass_dfa_lookahead): Implement hook.
592 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
593 * config/arm/arm.c
594 (arm_first_cycle_multipass_dfa_lookahead): Implement hook.
595 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
596
597 2015-01-17 Alan Modra <amodra@gmail.com>
598
599 * cprop.c (do_local_cprop): Disallow replacement of fixed
600 hard registers.
601
602 2015-01-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
603
604 PR target/62066
605 * config/arm/arm-builtins.c (arm_expand_neon_args): Call va_end before
606 early return 0.
607
608 2015-01-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
609
610 * sanitizer.def (BUILT_IN_TSAN_VPTR_UPDATE): Fixed parameters.
611 * tsan.c (instrument_expr): Fixed parameters of __tsan_vptr_update.
612
613 2015-01-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
614
615 * config/arm/arm.md: Move comment about splitting Thumb1 patterns to...
616 * config/arm/thumb1.md: ... Here.
617
618 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
619
620 * config/rs6000/rs6000.c (rs6000_scalar_mode_supported_p): Disallow
621 TImode for TARGET_32BIT.
622
623 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
624
625 * config/rs6000/rs6000.c (TARGET_LIBGCC_CMP_RETURN_MODE,
626 TARGET_LIBGCC_SHIFT_COUNT_MODE, TARGET_UNWIND_WORD_MODE): Implement
627 as ...
628 (rs6000_abi_word_mode): New function.
629
630 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
631
632 * config/rs6000/rs6000.c (rs6000_va_start): Use MIN_UNITS_PER_WORD
633 instead of UNITS_PER_WORD to describe the size of stack slots.
634
635 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
636
637 * config/rs6000/rs6000.c (TARGET_PROMOTE_FUNCTION_MODE): Implement
638 as rs6000_promote_function_mode. Move comment to there.
639 (rs6000_promote_function_mode): New function.
640
641 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
642
643 * config/rs6000/rs6000.h (PROMOTE_MODE): Correct test for when -m32
644 -mpowerpc64 is active.
645
646 2015-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
647
648 PR middle-end/64353
649 * tree-cfg.c (pass_data_fixup_cfg): Update SSA for
650 virtuals on start.
651
652 2015-01-16 James Greenhalgh <james.greenhalgh@arm.com>
653
654 * config/arm/cortex-a57.md: Remove duplicate of file accidentally
655 introduced in revision 219724.
656
657 2015-01-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
658 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
659
660 PR target/64263
661 * config/aarch64/aarch64.md (*movsi_aarch64): Don't split if the
662 destination is not a GP reg.
663 (*movdi_aarch64): Likewise.
664
665 2015-01-16 David Edelsohn <dje.gcc@gmail.com>
666
667 PR target/64623
668 * config/rs6000/default64.h: Revert ISA change.
669
670 2015-01-16 Richard Biener <rguenther@suse.de>
671
672 PR middle-end/64614
673 * tree-ssa-uninit.c: Include tree-cfg.h.
674 (MAX_SWITCH_CASES): New define.
675 (convert_control_dep_chain_into_preds): Handle switch statements.
676 (is_pred_expr_subset_of): Handle x == CST vs. (x & CST) != 0.
677 (normalize_one_pred_1): Do not split bit-manipulations.
678 Record (x & CST).
679
680 2015-01-16 Richard Biener <rguenther@suse.de>
681
682 PR tree-optimization/64568
683 * tree-ssa-forwprop.c (pass_forwprop::execute): Guard
684 complex load rewriting for TARGET_MEM_REFs.
685
686 2015-01-16 Uros Bizjak <ubizjak@gmail.com>
687
688 * builtins.c (expand_builtin_acc_on_device): Check target for NULL.
689
690 2015-01-16 Matthew Wahab <matthew.wahab@arm.com>
691
692 PR target/64149
693 * config/aarch64/aarch64.opt: Remove lra option and aarch64_lra_flag
694 variable.
695 * config/aarch64/aarch64.c (TARGET_LRA_P): Set to hook_bool_void_true.
696 (aarch64_lra_p): Remove.
697
698 2015-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
699
700 PR target/64363
701 * ipa-chkp.h (chkp_instrumentable_p): New.
702 * ipa-chkp.c: Include tree-inline.h.
703 (chkp_instrumentable_p): New.
704 (chkp_maybe_create_clone): Use chkp_instrumentable_p.
705 Fix processing of not instrumentable functions.
706 (chkp_versioning): Use chkp_instrumentable_p. Warn about
707 not instrumentable functions.
708 * tree-chkp.c (chkp_add_bounds_to_call_stmt): Use
709 chkp_instrumentable_p.
710 * tree-inline.h (copy_forbidden): New.
711 * tree-inline.c (copy_forbidden): Not static anymore.
712
713 2015-01-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
714
715 * optc-save-gen.awk (cl_target_option_print_diff): Mark indent,
716 ptr1, ptr2 unused.
717
718 2015-01-16 Robert Suchanek <robert.suchanek@imgtec.com>
719
720 * lra-constraints.c (curr_insn_transform): Change a reload pseudo of
721 type OP_OUT to OP_INOUT.
722
723 2015-01-16 Robert Suchanek <robert.suchanek@imgtec.com>
724
725 * simplify-rtx.c (simplify_replace_fn_rtx): Simplify (lo_sum
726 (high x) y) to y if x and y have the same base.
727
728 2015-01-16 James Greenhalgh <james.greenhalgh@arm.com>
729
730 * config/arm/cortex-a57.md: New.
731 * config/aarch64/aarch64.md: Include it.
732 * config/aarch64/aarch64-cores.def (cortex-a57): Tune for it.
733 * config/aarch64/aarch64-tune.md: Regenerate.
734
735 2015-01-16 Zhenqiang Chen <zhenqiang.chen@arm.com>
736
737 PR target/64015
738 * ccmp.c (expand_ccmp_next): New function.
739 (expand_ccmp_expr_1, expand_ccmp_expr): Handle operand insn sequence
740 and compare insn sequence.
741 * config/aarch64/aarch64.c (aarch64_code_to_ccmode,
742 aarch64_gen_ccmp_first, aarch64_gen_ccmp_next): New functions.
743 (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): New MICRO.
744 * config/aarch64/aarch64.md (*ccmp_and): Changed to ccmp_and<mode>.
745 (*ccmp_ior): Changed to ccmp_ior<mode>.
746 (cmp<mode>): New pattern.
747 * doc/tm.texi (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): Update
748 parameters.
749 * target.def (gen_ccmp_first, gen_ccmp_next): Update parameters.
750
751 2015-01-16 Ilya Tocar <ilya.tocar@intel.com>
752
753 * config/i386/avx2intrin.h (_mm256_bslli_epi128,
754 _mm256_bsrli_epi128): New.
755 * config/i386/emmintrin.h (_mm_bsrli_si128, _mm_bslli_si128): Ditto.
756
757 2015-01-15 Jiong Wang <jiong.wang@arm.com>
758
759 * expmed.c (store_bit_field_using_insv): Improve warning message.
760 Use %wu instead of HOST_WIDE_INT_PRINT_UNSIGNED.
761
762 2015-01-15 Jiong Wang <jiong.wang@arm.com>
763
764 PR rtl-optimization/64011
765 * expmed.c (store_bit_field_using_insv): Warn and truncate bitsize when
766 there is partial overflow.
767
768 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
769
770 * config/nds32/nds32-protos.h (nds32_expand_epilogue): Change
771 prototype.
772 (nds32_expand_epilogue_v3pop): Likewise.
773 * config/nds32/nds32.md (sibcall): Define this for sibling call
774 optimization.
775 (sibcall_register): Likewise.
776 (sibcall_immediate): Likewise.
777 (sibcall_value): Likewise.
778 (sibcall_value_register): Likewise.
779 (sibcall_value_immediate): Likewise.
780 (sibcall_epilogue): Likewise.
781 (epilogue): Pass false to indicate this is not a sibcall epilogue.
782 * config/nds32/nds32.c (nds32_expand_epilogue): Consider sibcall case.
783 (nds32_expand_epilogue_v3pop): Likewise.
784
785 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
786
787 * config/nds32/nds32-protos.h (nds32_can_use_return_insn): New.
788 * config/nds32/nds32.md (unspec_volatile_func_return): Remove.
789 (return_internal): New.
790 (return): Define this named pattern.
791 (simple_return): Define this named pattern.
792 * config/nds32/nds32.c (nds32_expand_epilogue): Emit return_internal
793 pattern instead of unspec_volatile_func_return.
794 (nds32_expand_epilogue_v3pop): Likewise.
795 (nds32_can_use_return_insn): New function.
796
797 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
798
799 * config/nds32/constants.md (UNSPEC_VOLATILE_POP25_RETURN): New.
800 * config/nds32/nds32.md (pop25return): New.
801 * config/nds32/nds32.c (nds32_expand_epilogue_v3pop): Emit
802 pop25return pattern.
803
804 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
805
806 * doc/invoke.texi (NDS32 Options): Remove -mforce-fp-as-gp,
807 -mforbid-fp-as-gp, and -mex9 options.
808
809 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
810
811 * doc/invoke.texi (NDS32 Options): Add -mcmodel= option and
812 remove -mgp-direct option.
813
814 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
815
816 * doc/invoke.texi (--param early-inlining-insns): Update default value.
817 * params.def (PARAM_EARLY_INLINING_INSNS): Set to 14.
818
819 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
820
821 * ipa-inline.c (inline_small_functions): Work around hints
822 cache issue.
823
824 2015-01-15 Sandra Loosemore <sandra@codesourcery.com>
825
826 PR target/59710
827 * doc/invoke.texi (Option Summary): Document new Nios II
828 -mgpopt= syntax.
829 (Nios II Options): Likewise.
830 * config/nios2/nios2.opt: Add -mgpopt= option support.
831 Modify existing -mgpopt and -mno-gpopt options to be aliases.
832 * config/nios2/nios2-opts.h (enum nios2_gpopt_type): New.
833 * config/nios2/nios2.c (nios2_option_override): Adjust
834 -mgpopt defaulting.
835 (nios2_in_small_data_p): Return true for explicit small data
836 sections even with -G0.
837 (nios2_symbol_ref_in_small_data_p): Adjust to handle new -mgpopt=
838 option choices.
839
840 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
841
842 PR ipa/64612
843 * ipa-inline-transform.c (can_remove_node_now_p): Fix handling
844 of comdat locals.
845 (inline_call): Fix removal of aliases.
846
847 2015-01-15 Jakub Jelinek <jakub@redhat.com>
848
849 * flag-types.h (enum sanitize_code): Add SANITIZE_VPTR,
850 include SANITIZE_VPTR in SANITIZE_UNDEFINED.
851 * opts.c (common_handle_option): Add -fsanitize=vptr.
852 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_DYNAMIC_TYPE_CACHE_MISS,
853 BUILT_IN_UBSAN_HANDLE_DYNAMIC_TYPE_CACHE_MISS_ABORT): New.
854 * ubsan.h (enum ubsan_null_ckind): Add UBSAN_DOWNCAST_POINTER,
855 UBSAN_DOWNCAST_REFERENCE, UBSAN_UPCAST and UBSAN_CAST_TO_VBASE.
856 (ubsan_expand_vptr_ifn): New prototype.
857 * internal-fn.c (expand_ANNOTATE, expand_GOMP_SIMD_LANE,
858 expand_GOMP_SIMD_VF, expand_GOMP_SIMD_LAST_LANE, expand_UBSAN_NULL,
859 expand_UBSAN_BOUNDS, expand_UBSAN_OBJECT_SIZE, expand_ASAN_CHECK,
860 expand_LOOP_VECTORIZED): Make argument nameless, remove
861 ATTRIBUTE_UNUSED.
862 (expand_UBSAN_VPTR): New function.
863 * internal-fn.def (UBSAN_NULL, ASAN_CHECK): Use R instead of W
864 in fn spec.
865 (UBSAN_VPTR): New internal function.
866 * sanopt.c (tree_map_traits): Renamed to ...
867 (sanopt_tree_map_traits): ... this.
868 (sanopt_tree_triplet, sanopt_tree_triplet_map_traits): New classes.
869 (sanopt_ctx): Adjust asan_check_map type for tree_map_traits
870 to sanopt_tree_map_traits renaming. Add vptr_check_map field.
871 (maybe_optimize_ubsan_vptr_ifn): New function.
872 (sanopt_optimize_walker): Handle IFN_UBSAN_VPTR.
873 (pass_sanopt::execute): Likewise. Call sanopt_optimize even for
874 -fsanitize=vptr.
875 * tree-ssa-alias.c (call_may_clobber_ref_p_1): Handle certain
876 internal calls like pure functions for aliasing, even when they
877 have other side-effects that prevent making them ECF_PURE.
878 * ubsan.c (ubsan_vptr_type_cache_decl): New variable.
879 (ubsan_expand_vptr_ifn): New function.
880
881 2015-01-15 Vladimir Makarov <vmakarov@redhat.com>
882
883 PR rtl-optimization/64110
884 * stmt.c (parse_output_constraint): Process '^' and '$'.
885 (parse_input_constraint): Ditto.
886 * lra-constraints.c (process_alt_operands): Process the new
887 constraints.
888 * ira-costs.c (record_reg_classes): Process the new constraint
889 '^'.
890 * genoutput.c (indep_constraints): Add '^' and '$'.
891 * config/i386/sse.md (*vec_dup<mode>): Use '$' instead of '!'.
892 * doc/md.texi: Add description of the new constraints.
893
894 2015-01-15 Thomas Schwinge <thomas@codesourcery.com>
895 Bernd Schmidt <bernds@codesourcery.com>
896 Cesar Philippidis <cesar@codesourcery.com>
897 James Norris <jnorris@codesourcery.com>
898 Tom de Vries <tom@codesourcery.com>
899 Ilmir Usmanov <i.usmanov@samsung.com>
900 Dmitry Bocharnikov <dmitry.b@samsung.com>
901 Evgeny Gavrin <e.gavrin@samsung.com>
902 Jakub Jelinek <jakub@redhat.com>
903
904 * builtin-types.def (BT_FN_VOID_INT_INT_VAR)
905 (BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR_INT_INT_VAR)
906 (BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR):
907 New function types.
908 * builtins.c: Include "gomp-constants.h".
909 (expand_builtin_acc_on_device): New function.
910 (expand_builtin, is_inexpensive_builtin): Handle
911 BUILT_IN_ACC_ON_DEVICE.
912 * builtins.def (DEF_GOACC_BUILTIN, DEF_GOACC_BUILTIN_COMPILER):
913 New macros.
914 * cgraph.c (cgraph_node::create): Consider flag_openacc next to
915 flag_openmp.
916 * config.gcc <nvptx-*> (tm_file): Add nvptx/offload.h.
917 <*-intelmic-* | *-intelmicemul-*> (tm_file): Add
918 i386/intelmic-offload.h.
919 * gcc.c (LINK_COMMAND_SPEC, GOMP_SELF_SPECS): For -fopenacc, link
920 to libgomp and its dependencies.
921 * config/arc/arc.h (LINK_COMMAND_SPEC): Likewise.
922 * config/darwin.h (LINK_COMMAND_SPEC_A): Likewise.
923 * config/i386/mingw32.h (GOMP_SELF_SPECS): Likewise.
924 * config/ia64/hpux.h (LIB_SPEC): Likewise.
925 * config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
926 * config/pa/pa64-hpux.h (LIB_SPEC): Likewise.
927 * doc/generic.texi: Update for OpenACC changes.
928 * doc/gimple.texi: Likewise.
929 * doc/invoke.texi: Likewise.
930 * doc/sourcebuild.texi: Likewise.
931 * gimple-pretty-print.c (dump_gimple_omp_for): Handle
932 GF_OMP_FOR_KIND_OACC_LOOP.
933 (dump_gimple_omp_target): Handle GF_OMP_TARGET_KIND_OACC_KERNELS,
934 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_DATA,
935 GF_OMP_TARGET_KIND_OACC_UPDATE,
936 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
937 Dump more data.
938 * gimple.c: Update comments for OpenACC changes.
939 * gimple.def: Likewise.
940 * gimple.h: Likewise.
941 (enum gf_mask): Add GF_OMP_FOR_KIND_OACC_LOOP,
942 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
943 GF_OMP_TARGET_KIND_OACC_DATA, GF_OMP_TARGET_KIND_OACC_UPDATE,
944 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
945 (gimple_omp_for_cond, gimple_omp_for_set_cond): Sort in the
946 appropriate place.
947 (is_gimple_omp_oacc, is_gimple_omp_offloaded): New functions.
948 * gimplify.c: Include "gomp-constants.h".
949 Update comments for OpenACC changes.
950 (is_gimple_stmt): Handle OACC_PARALLEL, OACC_KERNELS, OACC_DATA,
951 OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE, OACC_ENTER_DATA,
952 OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
953 (gimplify_scan_omp_clauses, gimplify_adjust_omp_clauses): Handle
954 OMP_CLAUSE__CACHE_, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
955 OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
956 OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_GANG, OMP_CLAUSE_WORKER,
957 OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
958 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE_INDEPENDENT, OMP_CLAUSE_AUTO,
959 OMP_CLAUSE_SEQ.
960 (gimplify_adjust_omp_clauses_1, gimplify_adjust_omp_clauses): Use
961 GOMP_MAP_* instead of OMP_CLAUSE_MAP_*. Use
962 OMP_CLAUSE_SET_MAP_KIND.
963 (gimplify_oacc_cache): New function.
964 (gimplify_omp_for): Handle OACC_LOOP.
965 (gimplify_omp_workshare): Handle OACC_KERNELS, OACC_PARALLEL,
966 OACC_DATA.
967 (gimplify_omp_target_update): Handle OACC_ENTER_DATA,
968 OACC_EXIT_DATA, OACC_UPDATE.
969 (gimplify_expr): Handle OACC_LOOP, OACC_CACHE, OACC_HOST_DATA,
970 OACC_DECLARE, OACC_KERNELS, OACC_PARALLEL, OACC_DATA,
971 OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE.
972 (gimplify_body): Consider flag_openacc next to flag_openmp.
973 * lto-streamer-out.c: Include "gomp-constants.h".
974 * omp-builtins.def (BUILT_IN_ACC_GET_DEVICE_TYPE)
975 (BUILT_IN_GOACC_DATA_START, BUILT_IN_GOACC_DATA_END)
976 (BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL)
977 (BUILT_IN_GOACC_UPDATE, BUILT_IN_GOACC_WAIT)
978 (BUILT_IN_GOACC_GET_THREAD_NUM, BUILT_IN_GOACC_GET_NUM_THREADS)
979 (BUILT_IN_ACC_ON_DEVICE): New builtins.
980 * omp-low.c: Include "gomp-constants.h".
981 Update comments for OpenACC changes.
982 (struct omp_context): Add reduction_map, gwv_below, gwv_this
983 members.
984 (extract_omp_for_data, use_pointer_for_field, install_var_field)
985 (new_omp_context, delete_omp_context, scan_sharing_clauses)
986 (create_omp_child_function, scan_omp_for, scan_omp_target)
987 (check_omp_nesting_restrictions, lower_reduction_clauses)
988 (build_omp_regions_1, diagnose_sb_0, make_gimple_omp_edges):
989 Update for OpenACC changes.
990 (scan_sharing_clauses): Handle OMP_CLAUSE_NUM_GANGS:
991 OMP_CLAUSE_NUM_WORKERS: OMP_CLAUSE_VECTOR_LENGTH,
992 OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT, OMP_CLAUSE_GANG,
993 OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
994 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_INDEPENDENT,
995 OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ. Use GOMP_MAP_* instead of
996 OMP_CLAUSE_MAP_*.
997 (expand_omp_for_static_nochunk, expand_omp_for_static_chunk):
998 Handle GF_OMP_FOR_KIND_OACC_LOOP.
999 (expand_omp_target, lower_omp_target): Handle
1000 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
1001 GF_OMP_TARGET_KIND_OACC_UPDATE,
1002 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA,
1003 GF_OMP_TARGET_KIND_OACC_DATA.
1004 (pass_expand_omp::execute, execute_lower_omp)
1005 (pass_diagnose_omp_blocks::gate): Consider flag_openacc next to
1006 flag_openmp.
1007 (offload_symbol_decl): New variable.
1008 (oacc_get_reduction_array_id, oacc_max_threads)
1009 (get_offload_symbol_decl, get_base_type, lookup_oacc_reduction)
1010 (maybe_lookup_oacc_reduction, enclosing_target_ctx)
1011 (oacc_loop_or_target_p, oacc_lower_reduction_var_helper)
1012 (oacc_gimple_assign, oacc_initialize_reduction_data)
1013 (oacc_finalize_reduction_data, oacc_process_reduction_data): New
1014 functions.
1015 (is_targetreg_ctx): Remove function.
1016 * tree-core.h (enum omp_clause_code): Add OMP_CLAUSE__CACHE_,
1017 OMP_CLAUSE_DEVICE_RESIDENT, OMP_CLAUSE_USE_DEVICE,
1018 OMP_CLAUSE_GANG, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
1019 OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ, OMP_CLAUSE_INDEPENDENT,
1020 OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_NUM_GANGS,
1021 OMP_CLAUSE_NUM_WORKERS, OMP_CLAUSE_VECTOR_LENGTH.
1022 * tree.c (omp_clause_code_name, walk_tree_1): Update accordingly.
1023 * tree.h (OMP_CLAUSE_GANG_EXPR, OMP_CLAUSE_GANG_STATIC_EXPR)
1024 (OMP_CLAUSE_ASYNC_EXPR, OMP_CLAUSE_WAIT_EXPR)
1025 (OMP_CLAUSE_VECTOR_EXPR, OMP_CLAUSE_WORKER_EXPR)
1026 (OMP_CLAUSE_NUM_GANGS_EXPR, OMP_CLAUSE_NUM_WORKERS_EXPR)
1027 (OMP_CLAUSE_VECTOR_LENGTH_EXPR): New macros.
1028 * tree-core.h: Update comments for OpenACC changes.
1029 (enum omp_clause_map_kind): Remove.
1030 (struct tree_omp_clause): Change type of map_kind member from enum
1031 omp_clause_map_kind to unsigned char.
1032 * tree-inline.c: Update comments for OpenACC changes.
1033 * tree-nested.c: Likewise. Include "gomp-constants.h".
1034 (convert_nonlocal_reference_stmt, convert_local_reference_stmt)
1035 (convert_tramp_reference_stmt, convert_gimple_call): Update for
1036 OpenACC changes. Use GOMP_MAP_* instead of OMP_CLAUSE_MAP_*. Use
1037 OMP_CLAUSE_SET_MAP_KIND.
1038 * tree-pretty-print.c: Include "gomp-constants.h".
1039 (dump_omp_clause): Handle OMP_CLAUSE_DEVICE_RESIDENT,
1040 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_GANG,
1041 OMP_CLAUSE_ASYNC, OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ,
1042 OMP_CLAUSE_WAIT, OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR,
1043 OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
1044 OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_INDEPENDENT. Use GOMP_MAP_*
1045 instead of OMP_CLAUSE_MAP_*.
1046 (dump_generic_node): Handle OACC_PARALLEL, OACC_KERNELS,
1047 OACC_DATA, OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE,
1048 OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
1049 * tree-streamer-in.c: Include "gomp-constants.h".
1050 (unpack_ts_omp_clause_value_fields) Use GOMP_MAP_* instead of
1051 OMP_CLAUSE_MAP_*. Use OMP_CLAUSE_SET_MAP_KIND.
1052 * tree-streamer-out.c: Include "gomp-constants.h".
1053 (pack_ts_omp_clause_value_fields): Use GOMP_MAP_* instead of
1054 OMP_CLAUSE_MAP_*.
1055 * tree.def (OACC_PARALLEL, OACC_KERNELS, OACC_DATA)
1056 (OACC_HOST_DATA, OACC_LOOP, OACC_CACHE, OACC_DECLARE)
1057 (OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE): New tree codes.
1058 * tree.c (omp_clause_num_ops): Update accordingly.
1059 * tree.h (OMP_BODY, OMP_CLAUSES, OMP_LOOP_CHECK, OMP_CLAUSE_SIZE):
1060 Likewise.
1061 (OACC_PARALLEL_BODY, OACC_PARALLEL_CLAUSES, OACC_KERNELS_BODY)
1062 (OACC_KERNELS_CLAUSES, OACC_DATA_BODY, OACC_DATA_CLAUSES)
1063 (OACC_HOST_DATA_BODY, OACC_HOST_DATA_CLAUSES, OACC_CACHE_CLAUSES)
1064 (OACC_DECLARE_CLAUSES, OACC_ENTER_DATA_CLAUSES)
1065 (OACC_EXIT_DATA_CLAUSES, OACC_UPDATE_CLAUSES)
1066 (OACC_KERNELS_COMBINED, OACC_PARALLEL_COMBINED): New macros.
1067 * tree.h (OMP_CLAUSE_MAP_KIND): Cast it to enum gomp_map_kind.
1068 (OMP_CLAUSE_SET_MAP_KIND): New macro.
1069 * varpool.c (varpool_node::get_create): Consider flag_openacc next
1070 to flag_openmp.
1071 * config/i386/intelmic-offload.h: New file.
1072 * config/nvptx/offload.h: Likewise.
1073
1074 2015-01-15 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
1075
1076 * explow.h: Remove duplicate contents.
1077 * dojump.h: Likewise.
1078
1079 2015-01-15 Richard Earnshaw <rearnsha@arm.com>
1080
1081 * arm.c (arm_xgene_tune): Add default initializer for instruction
1082 fusion.
1083
1084 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
1085
1086 PR ipa/64068
1087 PR ipa/64559
1088 * ipa.c (symbol_table::remove_unreachable_nodes):
1089 Do not put abstract origins into boundary.
1090
1091 2015-01-15 Evgeny Stupachenko <evstupac@gmail.com>
1092
1093 * config/i386/gnu-user.h (CRT_GET_RFIB_DATA): Remove EBX register usage.
1094 * config/i386/sysv4.h (CRT_GET_RFIB_DATA): Ditto.
1095
1096 2015-01-15 Steve Ellcey <sellcey@mips.com>
1097
1098 * Makefile.in (PLUGIN_HEADERS): Add dominance.h, cfg.h, cfgrtl.h,
1099 cfganal.h, cfgbuild.h, cfgcleanup.h, lcm.h, cfgloopmanip.h,
1100 builtins.def, and chkp-builtins.def.
1101
1102 2015-01-15 David Edelsohn <dje.gcc@gmail.com>
1103
1104 * config/rs6000/default64.h (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use
1105 ISA 2.7 (POWER8).
1106
1107 2015-01-15 Richard Biener <rguenther@suse.de>
1108
1109 PR tree-optimization/61743
1110 * tree-ssa-pre.c (insert_into_preds_of_block): Preserve range
1111 information on PHIs for some simple cases.
1112
1113 2015-01-15 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1114
1115 * config/arm/arm.md (generic_sched): Specify xgene1 in 'no' list.
1116 Include xgene1.md.
1117 * config/arm/arm.c (arm_issue_rate): Specify 4 for xgene1.
1118 * config/arm/arm-cores.def (xgene1): New entry.
1119 * config/arm/arm-tables.opt: Regenerate.
1120 * config/arm/arm-tune.md: Regenerate.
1121 * config/arm/bpabi.h (BE8_LINK_SPEC): Specify mcpu=xgene1.
1122
1123 2015-01-15 Yuri Rumyantsev <ysrumyan@gmail.com>
1124
1125 * tree-if-conv.c: Include hash-map.h.
1126 (aggressive_if_conv): New variable.
1127 (fold_build_cond_expr): Add simplification of non-zero condition.
1128 (add_to_dst_predicate_list): Invoke add_to_predicate_list if edge
1129 destination block is not always executed.
1130 (if_convertible_phi_p): Fix commentary, allow phi nodes have more
1131 than two predecessors if AGGRESSIVE_IF_CONV is true.
1132 (if_convertible_stmt_p): Fix commentary.
1133 (all_preds_critical_p): New function.
1134 (has_pred_critical_p): New function.
1135 (if_convertible_bb_p): Fix commentary, if AGGRESSIVE_IF_CONV is true
1136 BB can have more than two predecessors and all incoming edges can be
1137 critical.
1138 (predicate_bbs): Skip predication for loop exit block, use build2_loc
1139 to compute predicate for true edge.
1140 (find_phi_replacement_condition): Delete this function.
1141 (is_cond_scalar_reduction): Add arguments ARG_0, ARG_1 and EXTENDED.
1142 Allow interchange PHI arguments if EXTENDED is false.
1143 Change check that block containing reduction statement candidate
1144 is predecessor of phi-block since phi may have more than two arguments.
1145 (phi_args_hash_traits): New helper structure.
1146 (struct phi_args_hash_traits): New type.
1147 (phi_args_hash_traits::hash): New function.
1148 (phi_args_hash_traits::equal_keys): New function.
1149 (gen_phi_arg_condition): New function.
1150 (predicate_scalar_phi): Add handling of phi nodes with more than two
1151 arguments, delete COND and TRUE_BB arguments, insert body of
1152 find_phi_replacement_condition to predicate ordinary phi nodes.
1153 (predicate_all_scalar_phis): Skip blocks with the only predecessor,
1154 delete call of find_phi_replacement_condition and invoke
1155 predicate_scalar_phi with two arguments.
1156 (insert_gimplified_predicates): Add assert that non-predicated block
1157 don't have statements to insert.
1158 (ifcvt_split_critical_edges): New function.
1159 (ifcvt_split_def_stmt): Likewise.
1160 (ifcvt_walk_pattern_tree): Likewise.
1161 (stmt_is_root_of_bool_pattern): Likewise.
1162 (ifcvt_repair_bool_pattern): Likewise.
1163 (ifcvt_local_dce): Likewise.
1164 (tree_if_conversion): Add initialization of AGGRESSIVE_IF_CONV which
1165 is copy of inner or outer loop force_vectorize field, invoke
1166 ifcvt_split_critical_edges, ifcvt_local_dce and
1167 ifcvt_repair_bool_pattern for aggressive if-conversion.
1168
1169 2015-01-15 Philipp Tomsich <ptomsich@theobroma-systems.com>
1170
1171 * config/aarch64/aarch64.md: Include xgene1.md.
1172 * config/aarch64/xgene1.md: New file.
1173
1174 2015-01-15 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1175
1176 * config/aarch64/aarch64-cores.def (xgene1): Update/add the
1177 xgene1 (APM XGene-1) core definition.
1178 * gcc/config/aarch64/aarch64.c: Add cost tables for APM XGene-1
1179 * config/arm/aarch-cost-tables.h: Add cost tables for APM XGene-1
1180 * doc/invoke.texi: Document -mcpu=xgene1.
1181
1182 2015-10-15 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
1183
1184 * dojump.h: New header file.
1185 * explow.h: Likewise.
1186 * expr.h: Remove includes.
1187 Move expmed.c prototypes to expmed.h.
1188 Move dojump.c prototypes to dojump.h.
1189 Move alias.c prototypes to alias.h.
1190 Move explow.c prototypes to explow.h.
1191 Move calls.c prototypes to calls.h.
1192 Move emit-rtl.c prototypes to emit-rtl.h.
1193 Move varasm.c prototypes to varasm.h.
1194 Move stmt.c prototypes to stmt.h.
1195 (saved_pending_stack_adjust): Move to dojump.h.
1196 (adjust_address): Move to explow.h.
1197 (adjust_address_nv): Move to emit-rtl.h.
1198 (adjust_bitfield_address): Likewise.
1199 (adjust_bitfield_address_size): Likewise.
1200 (adjust_bitfield_address_nv): Likewise.
1201 (adjust_automodify_address_nv): Likewise.
1202 * explow.c (expr_size): Move to expr.c.
1203 (int_expr_size): Likewise.
1204 (tree_expr_size): Likewise.
1205 Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1206 fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
1207 * genemit.c (main): Generate includes statistics.h, real.h, fixed-value.h,
1208 insn-config.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
1209 * genopinit.c (main): Generate includes hashtab.h, hard-reg-set.h, function.h,
1210 statistics.h, real.h, fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h,
1211 stmt.h.
1212 * genoutput.c (main): Generate includes hashtab.h, statistics.h, real.h,
1213 fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
1214 * genemit.c (open_base_files): Generate includes flags.h, statistics.h, real.h,
1215 fixed-value.h, tree.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h,
1216 stmt.h.
1217 * config/tilepro/gen-mul-tables.cc: Generate includes hashtab.h, hash-set.h, vec.h,
1218 machmode.h, tm.h, hard-reg-set.h, input.h, function.h, rtl.h, flags.h, statistics.h,
1219 double-int.h, real.h, fixed-value.h, alias.h, wide-int.h, inchash.h, tree.h,
1220 insn-config.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
1221 * config/tilegx/mul-tables.c: Include alias.h calls.h dojump.h
1222 double-int.h emit-rtl.h explow.h expmed.h fixed-value.h flags.h
1223 function.h hard-reg-set.h hash-set.h hashtab.h inchash.h input.h
1224 insn-config.h machmode.h real.h rtl.h statistics.h stmt.h symtab.h
1225 tm.h tree.h varasm.h vec.h wide-int.h.
1226 * rtlhooks.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1227 explow.h expmed.h fixed-value.h flags.h function.h hard-reg-set.h
1228 hash-set.h hashtab.h inchash.h input.h insn-config.h machmode.h
1229 real.h statistics.h stmt.h tree.h varasm.h vec.h wide-int.h.
1230 * cfgloopanal.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1231 explow.h expmed.h fixed-value.h flags.h inchash.h insn-config.h
1232 real.h statistics.h stmt.h tree.h varasm.h wide-int.h.
1233 * loop-iv.c: Likewise.
1234 * lra-assigns.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1235 explow.h expmed.h fixed-value.h flags.h inchash.h real.h
1236 statistics.h stmt.h tree.h varasm.h wide-int.h.
1237 * lra-constraints.c: Likewise.
1238 * lra-eliminations.c: Likewise.
1239 * lra-lives.c: Likewise.
1240 * lra-remat.c: Likewise.
1241 * bt-load.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1242 explow.h expmed.h fixed-value.h inchash.h insn-config.h real.h
1243 statistics.h stmt.h tree.h varasm.h wide-int.h.
1244 * hw-doloop.c: Likewise.
1245 * ira-color.c: Likewise.
1246 * ira-emit.c: Likewise.
1247 * loop-doloop.c: Likewise.
1248 * loop-invariant.c: Likewise.
1249 * reload.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1250 explow.h expmed.h fixed-value.h inchash.h real.h rtl.h
1251 statistics.h stmt.h tree.h varasm.h wide-int.h.
1252 * caller-save.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1253 explow.h expmed.h fixed-value.h inchash.h real.h statistics.h
1254 stmt.h tree.h varasm.h wide-int.h.
1255 * combine-stack-adj.c: Likewise.
1256 * cse.c: Likewise.
1257 * ddg.c: Likewise.
1258 * ifcvt.c: Likewise.
1259 * ira-costs.c: Likewise.
1260 * jump.c: Likewise.
1261 * lra-coalesce.c: Likewise.
1262 * lra-spills.c: Likewise.
1263 * profile.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1264 explow.h expmed.h fixed-value.h insn-config.h real.h statistics.h
1265 stmt.h varasm.h wide-int.h.
1266 * lra.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1267 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
1268 varasm.h.
1269 * config/sh/sh_treg_combine.cc: Include alias.h calls.h dojump.h
1270 double-int.h explow.h expmed.h fixed-value.h flags.h real.h
1271 statistics.h stmt.h varasm.h wide-int.h.
1272 * reorg.c: Include alias.h calls.h dojump.h double-int.h explow.h
1273 expmed.h fixed-value.h inchash.h real.h statistics.h stmt.h tree.h
1274 varasm.h wide-int.h.
1275 * reload1.c: Include alias.h calls.h dojump.h double-int.h explow.h
1276 expmed.h fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
1277 * config/tilegx/tilegx.c: Include alias.h dojump.h double-int.h
1278 emit-rtl.h explow.h expmed.h fixed-value.h flags.h real.h
1279 statistics.h stmt.h.
1280 * config/tilepro/tilepro.c: Likewise.
1281 * config/mmix/mmix.c: Include alias.h dojump.h double-int.h emit-rtl.h
1282 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h.
1283 * config/pdp11/pdp11.c: Likewise.
1284 * config/xtensa/xtensa.c: Likewise.
1285 * config/lm32/lm32.c: Include alias.h dojump.h double-int.h emit-rtl.h
1286 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
1287 varasm.h.
1288 * tree-chkp.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1289 fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
1290 insn-config.h real.h rtl.h statistics.h stmt.h tm.h.
1291 * cilk-common.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1292 fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
1293 insn-config.h real.h rtl.h statistics.h stmt.h tm.h varasm.h.
1294 * rtl-chkp.c: Likewise.
1295 * tree-chkp-opt.c: Likewise.
1296 * config/arm/arm-builtins.c: Include calls.h dojump.h emit-rtl.h explow.h
1297 expmed.h fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
1298 insn-config.h real.h statistics.h stmt.h varasm.h.
1299 * ipa-icf.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1300 fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
1301 statistics.h stmt.h.
1302 * tree-vect-data-refs.c: Likewise.
1303 * graphite-sese-to-poly.c: Include calls.h dojump.h emit-rtl.h explow.h
1304 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
1305 rtl.h statistics.h stmt.h varasm.h.
1306 * internal-fn.c: Likewise.
1307 * ipa-icf-gimple.c: Likewise.
1308 * lto-section-out.c: Likewise.
1309 * tree-data-ref.c: Likewise.
1310 * tree-nested.c: Likewise.
1311 * tree-outof-ssa.c: Likewise.
1312 * tree-predcom.c: Likewise.
1313 * tree-pretty-print.c: Likewise.
1314 * tree-scalar-evolution.c: Likewise.
1315 * tree-ssa-strlen.c: Likewise.
1316 * tree-vect-loop.c: Likewise.
1317 * tree-vect-patterns.c: Likewise.
1318 * tree-vect-slp.c: Likewise.
1319 * tree-vect-stmts.c: Likewise.
1320 * tsan.c: Likewise.
1321 * targhooks.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1322 fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
1323 stmt.h.
1324 * config/sh/sh-mem.cc: Include calls.h dojump.h emit-rtl.h explow.h
1325 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
1326 statistics.h stmt.h varasm.h.
1327 * loop-unroll.c: Likewise.
1328 * ubsan.c: Likewise.
1329 * tree-ssa-loop-prefetch.c: Include calls.h dojump.h emit-rtl.h explow.h
1330 expmed.h fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h
1331 stmt.h varasm.h.
1332 * dse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1333 fixed-value.h function.h hashtab.h statistics.h stmt.h varasm.h.
1334 * tree-switch-conversion.c: Include calls.h dojump.h emit-rtl.h explow.h
1335 expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
1336 statistics.h stmt.h.
1337 * generic-match-head.c: Include calls.h dojump.h emit-rtl.h explow.h
1338 expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
1339 statistics.h stmt.h varasm.h.
1340 * gimple-match-head.c: Likewise.
1341 * lto-cgraph.c: Likewise.
1342 * lto-section-in.c: Likewise.
1343 * lto-streamer-in.c: Likewise.
1344 * lto-streamer-out.c: Likewise.
1345 * tree-affine.c: Likewise.
1346 * tree-cfg.c: Likewise.
1347 * tree-cfgcleanup.c: Likewise.
1348 * tree-if-conv.c: Likewise.
1349 * tree-into-ssa.c: Likewise.
1350 * tree-ssa-alias.c: Likewise.
1351 * tree-ssa-copyrename.c: Likewise.
1352 * tree-ssa-dse.c: Likewise.
1353 * tree-ssa-forwprop.c: Likewise.
1354 * tree-ssa-live.c: Likewise.
1355 * tree-ssa-math-opts.c: Likewise.
1356 * tree-ssa-pre.c: Likewise.
1357 * tree-ssa-sccvn.c: Likewise.
1358 * tree-tailcall.c: Likewise.
1359 * tree-vect-generic.c: Likewise.
1360 * tree-sra.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1361 fixed-value.h hashtab.h insn-config.h real.h rtl.h stmt.h varasm.h.
1362 * stor-layout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1363 fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h.
1364 * varasm.c: Likewise.
1365 * coverage.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1366 fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h
1367 varasm.h.
1368 * init-regs.c: Likewise.
1369 * ira.c: Likewise.
1370 * omp-low.c: Likewise.
1371 * stack-ptr-mod.c: Likewise.
1372 * tree-ssa-reassoc.c: Likewise.
1373 * tree-complex.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1374 fixed-value.h hashtab.h insn-config.h rtl.h statistics.h stmt.h
1375 varasm.h.
1376 * dwarf2cfi.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1377 fixed-value.h hashtab.h insn-config.h statistics.h stmt.h varasm.h.
1378 * shrink-wrap.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1379 fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h.
1380 * recog.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1381 fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h varasm.h.
1382 * tree-ssa-phiopt.c: Likewise.
1383 * config/darwin.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1384 fixed-value.h hashtab.h real.h statistics.h stmt.h.
1385 * config/fr30/fr30.c: Likewise.
1386 * config/frv/frv.c: Likewise.
1387 * expr.c: Likewise.
1388 * final.c: Likewise.
1389 * optabs.c: Likewise.
1390 * passes.c: Likewise.
1391 * simplify-rtx.c: Likewise.
1392 * stmt.c: Likewise.
1393 * toplev.c: Likewise.
1394 * var-tracking.c: Likewise.
1395 * gcse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1396 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
1397 * lower-subreg.c: Likewise.
1398 * postreload-gcse.c: Likewise.
1399 * ree.c: Likewise.
1400 * reginfo.c: Likewise.
1401 * store-motion.c: Likewise.
1402 * combine.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1403 fixed-value.h hashtab.h real.h stmt.h varasm.h.
1404 * emit-rtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1405 fixed-value.h hashtab.h statistics.h stmt.h.
1406 * dojump.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1407 fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
1408 * except.c: Likewise.
1409 * explow.c: Likewise.
1410 * tree-dfa.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1411 fixed-value.h insn-config.h real.h rtl.h statistics.h stmt.h
1412 varasm.h.
1413 * gimple-fold.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1414 fixed-value.h insn-config.h real.h rtl.h statistics.h varasm.h.
1415 * tree-ssa-structalias.c: Likewise.
1416 * cfgexpand.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1417 fixed-value.h insn-config.h real.h statistics.h.
1418 * calls.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1419 fixed-value.h insn-config.h real.h statistics.h stmt.h.
1420 * bb-reorder.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1421 fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
1422 * cfgbuild.c: Likewise.
1423 * function.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1424 fixed-value.h real.h rtl.h statistics.h stmt.h.
1425 * cfgrtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1426 fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
1427 * dbxout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1428 fixed-value.h real.h statistics.h stmt.h.
1429 * auto-inc-dec.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1430 fixed-value.h real.h statistics.h stmt.h varasm.h.
1431 * cprop.c: Likewise.
1432 * modulo-sched.c: Likewise.
1433 * postreload.c: Likewise.
1434 * ccmp.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
1435 flags.h function.h hard-reg-set.h hashtab.h insn-config.h real.h
1436 statistics.h stmt.h varasm.h.
1437 * gimple-ssa-strength-reduction.c: Include calls.h dojump.h emit-rtl.h
1438 explow.h fixed-value.h flags.h hashtab.h insn-config.h real.h
1439 rtl.h statistics.h stmt.h varasm.h.
1440 * tree-ssa-loop-ivopts.c: Include calls.h dojump.h emit-rtl.h explow.h
1441 fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h stmt.h
1442 varasm.h.
1443 * expmed.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
1444 function.h hard-reg-set.h hashtab.h real.h statistics.h stmt.h
1445 varasm.h.
1446 * target-globals.c: Include calls.h dojump.h emit-rtl.h explow.h
1447 fixed-value.h function.h hashtab.h real.h statistics.h stmt.h
1448 varasm.h.
1449 * tree-ssa-address.c: Include calls.h dojump.h emit-rtl.h explow.h
1450 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
1451 * cfgcleanup.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
1452 function.h real.h statistics.h stmt.h varasm.h.
1453 * alias.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
1454 insn-config.h real.h statistics.h stmt.h.
1455 * dwarf2out.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
1456 statistics.h stmt.h.
1457 * config/nvptx/nvptx.c: Include dojump.h emit-rtl.h explow.h expmed.h
1458 fixed-value.h flags.h hard-reg-set.h insn-config.h real.h
1459 statistics.h stmt.h varasm.h.
1460 * gimplify.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1461 flags.h hashtab.h insn-config.h real.h rtl.h statistics.h.
1462 * asan.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1463 flags.h hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h.
1464 * ipa-devirt.c: Include dojump.h emit-rtl.h explow.h expmed.h
1465 fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
1466 statistics.h stmt.h varasm.h.
1467 * ipa-polymorphic-call.c: Likewise.
1468 * config/aarch64/aarch64.c: Include dojump.h emit-rtl.h explow.h expmed.h
1469 fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
1470 stmt.h.
1471 * config/c6x/c6x.c: Likewise.
1472 * config/aarch64/aarch64-builtins.c: Include dojump.h emit-rtl.h explow.h
1473 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
1474 statistics.h stmt.h varasm.h.
1475 * ipa-prop.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1476 hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h varasm.h.
1477 * ipa-split.c: Likewise.
1478 * tree-eh.c: Likewise.
1479 * tree-ssa-dce.c: Likewise.
1480 * tree-ssa-loop-niter.c: Likewise.
1481 * tree-vrp.c: Likewise.
1482 * config/nds32/nds32-cost.c: Include dojump.h emit-rtl.h explow.h
1483 expmed.h fixed-value.h hashtab.h insn-config.h real.h statistics.h
1484 stmt.h.
1485 * config/nds32/nds32-fp-as-gp.c: Likewise.
1486 * config/nds32/nds32-intrinsic.c: Likewise.
1487 * config/nds32/nds32-isr.c: Likewise.
1488 * config/nds32/nds32-md-auxiliary.c: Likewise.
1489 * config/nds32/nds32-memory-manipulation.c: Likewise.
1490 * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
1491 * config/nds32/nds32-predicates.c: Likewise.
1492 * config/nds32/nds32.c: Likewise.
1493 * config/cris/cris.c: Include dojump.h emit-rtl.h explow.h expmed.h
1494 fixed-value.h hashtab.h real.h statistics.h.
1495 * config/alpha/alpha.c: Include dojump.h emit-rtl.h explow.h expmed.h
1496 fixed-value.h hashtab.h real.h statistics.h stmt.h.
1497 * config/arm/arm.c: Likewise.
1498 * config/avr/avr.c: Likewise.
1499 * config/bfin/bfin.c: Likewise.
1500 * config/h8300/h8300.c: Likewise.
1501 * config/i386/i386.c: Likewise.
1502 * config/ia64/ia64.c: Likewise.
1503 * config/iq2000/iq2000.c: Likewise.
1504 * config/m32c/m32c.c: Likewise.
1505 * config/m32r/m32r.c: Likewise.
1506 * config/m68k/m68k.c: Likewise.
1507 * config/mcore/mcore.c: Likewise.
1508 * config/mep/mep.c: Likewise.
1509 * config/mips/mips.c: Likewise.
1510 * config/mn10300/mn10300.c: Likewise.
1511 * config/moxie/moxie.c: Likewise.
1512 * config/pa/pa.c: Likewise.
1513 * config/rl78/rl78.c: Likewise.
1514 * config/rx/rx.c: Likewise.
1515 * config/s390/s390.c: Likewise.
1516 * config/sh/sh.c: Likewise.
1517 * config/sparc/sparc.c: Likewise.
1518 * config/spu/spu.c: Likewise.
1519 * config/stormy16/stormy16.c: Likewise.
1520 * config/v850/v850.c: Likewise.
1521 * config/vax/vax.c: Likewise.
1522 * config/cr16/cr16.c: Include dojump.h emit-rtl.h explow.h expmed.h
1523 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
1524 * config/msp430/msp430.c: Likewise.
1525 * predict.c: Likewise.
1526 * value-prof.c: Likewise.
1527 * config/epiphany/epiphany.c: Include dojump.h emit-rtl.h explow.h
1528 expmed.h fixed-value.h hashtab.h statistics.h stmt.h.
1529 * config/microblaze/microblaze.c: Likewise.
1530 * config/nios2/nios2.c: Likewise.
1531 * config/rs6000/rs6000.c: Likewise.
1532 * tree.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1533 insn-config.h real.h rtl.h statistics.h stmt.h.
1534 * cgraph.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1535 insn-config.h real.h statistics.h stmt.h.
1536 * fold-const.c: Include dojump.h emit-rtl.h explow.h expmed.h
1537 fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
1538 * tree-inline.c: Include dojump.h emit-rtl.h explow.h expmed.h
1539 fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
1540 * builtins.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1541 real.h statistics.h stmt.h.
1542 * config/arc/arc.c: Include dojump.h emit-rtl.h explow.h expmed.h
1543 fixed-value.h statistics.h stmt.h.
1544 * config/visium/visium.c: Include dojump.h emit-rtl.h explow.h expmed.h
1545 stmt.h.
1546
1547 2015-01-15 Jakub Jelinek <jakub@redhat.com>
1548
1549 * gengtype.c (create_user_defined_type): Workaround
1550 -Wmaybe-uninitialized false positives.
1551 * cse.c (fold_rtx): Likewise.
1552 * loop-invariant.c (gain_for_invariant): Likewise.
1553
1554 2015-01-15 Eric Botcazou <ebotcazou@adacore.com>
1555
1556 * expr.c (expand_expr_real_1) <normal_inner_ref>: Use the expression to
1557 set the memory attributes in all cases but clear MEM_EXPR if need be.
1558
1559 2015-01-15 Yuri Rumyantsev <ysrumyan@gmail.com>
1560
1561 PR tree-optimization/64434
1562 * cfgexpand.c (reorder_operands): New function.
1563 (expand_gimple_basic_block): Insert call of reorder_operands if
1564 optimized is true.
1565
1566 2015-01-15 Matthew Fortune <matthew.fortune@imgtec.com>
1567
1568 * config/mips/micromips.md (*swp): Remove explicit parallel.
1569 (jraddiusp, *movep<MOVEP1:mode><MOVEP2:mode>): Likewise.
1570 * config/mips/mips-dsp.md (add<DSPV:mode>3): Likewise.
1571 (mips_add<DSP:dspfmt1>_s_<DSP:dspfmt2>, sub<DSPV:mode>3): Likewise.
1572 (mips_sub<DSP:dspfmt1>_s_<DSP:dspfmt2>, mips_addsc): Likewise.
1573 (mips_addwc, mips_absq_s_<DSPQ:dspfmt2>): Likewise.
1574 (mips_precrq_rs_ph_w, mips_precrqu_s_qb_ph): Likewise.
1575 (mips_shll_<DSPV:dspfmt2>, mips_shll_s_<DSPQ:dspfmt2>): Likewise.
1576 (mips_muleu_s_ph_qbl, mips_muleu_s_ph_qbr): Likewise.
1577 (mips_mulq_rs_ph, mips_muleq_s_w_phl, mips_muleq_s_w_phr): Likewise.
1578 (mips_dpaq_s_w_ph, mips_dpsq_s_w_ph, mips_mulsaq_s_w_ph): Likewise.
1579 (mips_dpaq_sa_l_w, mips_dpsq_sa_l_w, mips_maq_s_w_phl): Likewise.
1580 (mips_maq_s_w_phr, mips_maq_sa_w_phl, mips_maq_sa_w_phr): Likewise.
1581 (mips_extr_w, mips_extr_r_w, mips_extr_rs_w): Likewise.
1582 (mips_extr_s_h, mips_extp, mips_extpdp, mips_mthlip): Likewise.
1583 (mips_wrdsp): Likewise.
1584 * config/mips/mips-dspr2.md (mips_absq_s_qb): Remove explicit
1585 parallel.
1586 (mips_addu_ph, mips_addu_s_ph, mips_cmpgdu_eq_qb): Likewise.
1587 (mips_cmpgdu_lt_qb, mips_cmpgdu_le_qb, mulv2hi3): Likewise.
1588 (mips_mul_s_ph, mips_mulq_rs_w, mips_mulq_s_ph): Likewise.
1589 (mips_mulq_s_w, mips_subu_ph, mips_subu_s_ph): Likewise.
1590 (mips_dpaqx_s_w_ph, mips_dpaqx_sa_w_ph): Likewise.
1591 (mips_dpsqx_s_w_ph, mips_dpsqx_sa_w_ph): Likewise.
1592 * config/mips/mips-fixed.md (usadd<mode>3): Remove explicit parallel.
1593 (ssadd<mode>3, ussub<mode>3, sssub<mode>3, ssmul<mode>3): Likewise.
1594 (ssmaddsqdq4, ssmsubsqdq4): Likewise.
1595
1596 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
1597
1598 * config/mips/mips.c (mips_rtx_costs): Set costs for LSA/DLSA.
1599 (mips_print_operand): Support 'y' to print exact log2 in decimal
1600 of a const_int.
1601 * config/mips/mips.h (ISA_HAS_LSA): New define.
1602 (ISA_HAS_DLSA): Likewise.
1603 * config/mips/mips.md (<GPR:d>lsa): New define_insn.
1604 * config/mips/predicates.md (const_immlsa_operand): New predicate.
1605
1606 2015-01-15 Martin Liska <mliska@suse.cz>
1607
1608 PR target/64377
1609 * optc-save-gen.awk: Add support for array types.
1610
1611 2015-01-15 Richard Biener <rguenther@suse.de>
1612
1613 PR middle-end/64365
1614 * tree-data-ref.c (dr_analyze_indices): Make sure that accesses
1615 for MEM_REF access functions with the same base can never partially
1616 overlap.
1617
1618 2015-01-14 Marcos Diaz <marcos.diaz@tallertechnologies.com>
1619
1620 * common.opt: New option -fstack-protector-explicit.
1621 * cfgexpand.c (SPCT_FLAG_EXPLICIT): New enum.
1622 (stack_protect_decl_phase): Handle stack_protect attribute for
1623 explicit stack protection requests.
1624 (expand_used_vars): Similarly.
1625 * doc/cpp.texi (__SSP_EXPLICIT__): Document predefined macro.
1626 * doc/extend.texi: Add documentation for "stack_protect" attribute.
1627 * doc/invoke.texi: Add documentation for -fstack-protector-explicit.
1628
1629 2015-01-14 Oleg Endo <olegendo@gcc.gnu.org>
1630
1631 PR target/53988
1632 * config/sh/sh-protos.h (sh_find_set_of_reg): Add option to ignore
1633 reg-reg copies.
1634 (sh_extending_set_of_reg): New struct.
1635 (sh_find_extending_set_of_reg, sh_split_tst_subregs,
1636 sh_remove_reg_dead_or_unused_notes): New Declarations.
1637 * config/sh/sh.c (sh_remove_reg_dead_or_unused_notes,
1638 sh_find_extending_set_of_reg, sh_split_tst_subregs,
1639 sh_extending_set_of_reg::use_as_extended_reg): New functions.
1640 * config/sh/sh.md (*tst<mode>_t_zero): Rename to *tst<mode>_t_subregs,
1641 convert to insn_and_split and use new function sh_split_tst_subregs.
1642
1643 2015-01-14 Sandra Loosemore <sandra@codesourcery.com>
1644
1645 * doc/invoke.texi (Option Summary): Reclassify -fuse-ld as a linker
1646 option.
1647 (Optimization Options): Move -fuse-ld documentation to...
1648 (Link Options): ...here.
1649
1650 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
1651
1652 * config/mips/constraints.md (ZC): Add support for R6 LL/SC
1653 offsets.
1654 (ZD): Update to use ISA_HAS_9BIT_DISPLACEMENT.
1655 * config/mips/mips.h (ISA_HAS_PREFETCH_9BIT): Rename to...
1656 (ISA_HAS_9BIT_DISPLACEMENT): ... this. New macro.
1657 * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZC
1658 instead of ZR for the memory operand of LL/SC.
1659 (compare_and_swap_12, sync_add<mode>): Likewise.
1660 (sync_<optab>_12, sync_old_<optab>_12): Likewise.
1661 (sync_new_<optab>_12, sync_nand_12): Likewise.
1662 (sync_old_nand_12, sync_new_nand_12): Likewise.
1663 (sync_sub<mode>, sync_old_add<mode>): Likewise.
1664 (sync_old_sub<mode>, sync_new_add<mode>): Likewise.
1665 (sync_new_sub<mode>, sync_<optab><mode>): Likewise.
1666 (sync_old_<optab><mode>, sync_new_<optab><mode>"): Likewise.
1667 (sync_nand<mode>, sync_old_nand<mode>): Likewise.
1668 (sync_new_nand<mode>, sync_lock_test_and_set<mode>): Likewise.
1669 (test_and_set_12, atomic_compare_and_swap<mode>): Likewise.
1670 (atomic_exchange<mode>_llsc, atomic_fetch_add<mode>_llsc): Likewise.
1671 * doc/md.texi (ZC): Update description.
1672
1673 2015-01-14 Andrew MacLeod <amacleod@redhat.com>
1674
1675 * builtins.c (expand_builtin_atomic_exchange): Remove error when
1676 memory model is CONSUME.
1677 (expand_builtin_atomic_compare_exchange, expand_builtin_atomic_load,
1678 expand_builtin_atomic_store): Change invalid memory model errors to
1679 warnings.
1680 (expand_builtin_atomic_clear): Change invalid model errors to warnings
1681 and issue warning for CONSUME.
1682
1683 2015-01-14 Aldy Hernandez <aldyh@redhat.com>
1684
1685 * lto-cgraph: Update function comments for
1686 lto_symtab_encoder_encode_*.
1687
1688 2015-01-14 Ilya Verbin <ilya.verbin@intel.com>
1689
1690 * Makefile.in (site.exp): Do not set ENABLE_LTO.
1691
1692 2015-01-14 Ilya Verbin <ilya.verbin@intel.com>
1693
1694 * cgraphunit.c (ipa_passes): Remove argument from ipa_write_summaries.
1695 * lto-cgraph.c (select_what_to_stream): Remove argument, use
1696 lto_stream_offload_p instead.
1697 * lto-streamer.h (select_what_to_stream): Remove argument.
1698 * passes.c (ipa_write_summaries): Likewise.
1699 * tree-pass.h (ipa_write_summaries): Likewise.
1700
1701 2015-01-14 Richard Biener <rguenther@suse.de>
1702
1703 PR tree-optimization/59354
1704 * tree-vect-slp.c (vect_build_slp_tree_1): Treat loads from
1705 groups larger than the slp group size as having gaps.
1706
1707 2015-01-14 Andrew MacLeod <amacleod@redhat.com>
1708
1709 PR middle-end/59448
1710 * builtins.c (get_memmodel): Promote consume to acquire always.
1711
1712 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
1713
1714 PR target/64386
1715 * config/i386/i386.c (ix86_expand_sse_cmp): Handle V64QImode,
1716 V32HImode.
1717
1718 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
1719
1720 PR target/64393
1721 * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VBMI_SET):
1722 Enable AVX512BW.
1723 (OPTION_MASK_ISA_AVX512BW_UNSET): Disable AVX512VBMI.
1724 * config/i386/i386.c (ix86_hard_regno_mode_ok): Don't check
1725 AVX512VBMI, as it implies AVX512BW.
1726
1727 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
1728
1729 PR target/64387
1730 * config/i386/sse.md (vec_unpacks_hi_v8sf): Fix predicate.
1731 (vec_unpacks_hi_v16sf): Ditto.
1732
1733 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1734
1735 * config/aarch64/arm_neon.h: Error out if AdvancedSIMD
1736 is not available.
1737
1738 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1739
1740 * doc/invoke.texi (mapcs): Mention deprecation.
1741 (mapcs-frame): Likewise.
1742
1743 2015-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
1744
1745 PR target/64453
1746 * config/arm/arm.c (callee_saved_reg_p): Define.
1747 (arm_compute_save_reg0_reg12_mask): Use callee_saved_reg_p to check if
1748 register is callee saved instead of !call_used_regs[reg].
1749 (thumb1_compute_save_reg_mask): Likewise.
1750
1751 2015-01-14 Hale Wang <hale.wang@arm.com>
1752
1753 * config/arm/arm.c: Tune the max_cond_insns/branch_cost for
1754 Cortex-M7.
1755
1756 2015-01-14 Richard Biener <rguenther@suse.de>
1757
1758 PR lto/64415
1759 * tree-inline.c (insert_debug_decl_map): Check destination
1760 function MAY_HAVE_DEBUG_STMTS.
1761 (insert_init_debug_bind): Likewise.
1762 (insert_init_stmt): Remove redundant check.
1763 (remap_gimple_stmt): Drop debug stmts if the destination
1764 function has var-tracking assignments disabled.
1765
1766 2015-01-14 Martin Liska <mliska@suse.cz>
1767
1768 * ipa-icf-gimple.c (func_checker::compare_operand): Add support for
1769 IMAGPART_EXPR and REALPART_EXPR and fix BIT_FIELD_REF comparison.
1770
1771 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1772
1773 PR target/64460
1774 * config/arm/arm.md (*<arith_shift_insn>_multsi): Set 'shift' to 2.
1775 (*<arith_shift_insn>_shiftsi): Set 'shift' attr to 3.
1776
1777 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
1778
1779 * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Only infer an ISA
1780 level from an ARCH; do not inject the default.
1781 (MIPS_DEFAULT_ISA_LEVEL_SPEC): New macro split out from
1782 MIPS_ISA_LEVEL_SPEC.
1783 (MIPS_ISA_NAN2008_SPEC): Update comment.
1784 (BASE_DRIVER_SELF_SPECS): Likewise.
1785 * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add
1786 MIPS_DEFAULT_ISA_LEVEL_SPEC.
1787 * config/mips/mti-elf.h (DRIVER_SELF_SPECS): Likewise.
1788 * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise.
1789 * config/mips/sde.h (DRIVER_SELF_SPECS): Likewise.
1790
1791 2015-01-14 Richard Biener <rguenther@suse.de>
1792
1793 PR tree-optimization/64493
1794 PR tree-optimization/64495
1795 * tree-vect-loop.c (vect_finalize_reduction): For double-reductions
1796 assign the proper vectorized PHI to the inner loop exit PHIs.
1797
1798 2015-01-14 Joey Ye <joey.ye@arm.com>
1799
1800 * config/arm/arm.c (arm_compute_save_reg_mask):
1801 Do not save lr in case of tail call.
1802 * config/arm/thumb2.md (*thumb2_pop_single): New pattern.
1803
1804 2015-01-14 Martin Uecker <uecker@eecs.berkeley.edu>
1805
1806 * tree-vrp.c (check_array_ref): Emit more warnings
1807 for warn_array_bounds >= 2.
1808 * common.opt: New option -Warray-bounds=.
1809 * doc/invoke.texi: Document -Warray-bounds=.
1810
1811 2015-01-14 Chung-Ju Wu <jasonwucj@gmail.com>
1812
1813 * config/nds32/nds32.opt (mforce-fp-as-gp): Remove.
1814 (mforbid-fp-as-gp): Remove.
1815 (mex9): Remove.
1816 * config/nds32/nds32-fp-as-gp.c (nds32_have_prologue_p): Remove.
1817 (nds32_symbol_load_store_p): Remove.
1818 (nds32_fp_as_gp_check_available): Clean up implementation.
1819 * config/nds32/nds32.h (LINK_SPEC): Remove -mforce-as-gp and -mex9
1820 cases.
1821 * config/nds32/nds32.c (nds32_asm_file_start): No need to consider
1822 fp-as-gp and ex9 cases.
1823
1824 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
1825
1826 * tree-profile.c (init_ic_make_global_vars): Drop workaround
1827 for bintuils bug 14342.
1828 (init_ic_make_global_vars): Likewise.
1829 (gimple_init_edge_profiler): Likewise.
1830 (gimple_gen_ic_func_profiler): Likewise.
1831
1832 2015-01-13 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
1833
1834 * ipa-inline.c (inline_small_functions): Swap the operands in
1835 enum.
1836
1837 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
1838
1839 PR ipa/64481
1840 * ipa-inline-analysis.c (node_growth_cache): Remove.
1841 (initialize_growth_caches): Do not initialize it.
1842 (free_growth_caches): Do not free it.
1843 (do_estimate_growth): Rename to ...
1844 (estimate_growth): ... this one; drop growth cache code.
1845 (growth_likely_positive): Always go the heuristics way.
1846 * ipa-inline.c (can_inline_edge_p): Walk through aliases.
1847 (reset_edge_caches): Do not reset node growth.
1848 (heap_edge_removal_hook): Do not maintain cache.
1849 (inline_small_functions): Likewise; strenghten sanity check.
1850 (ipa_inline): Do not maintain caches.
1851 * ipa-inline.h (node_growth_cache): Remove.
1852 (do_estimate_growth): Remove to ...
1853 (estimate_growth): this one; remove inline version.
1854 (reset_node_growth_cache): Remove.
1855
1856 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
1857
1858 PR ipa/64565
1859 * ipa-inline.c (inline_small_functions): Update callee keys after
1860 resolving speculation
1861 (inline_small_functions): Always check monotonicity of the queue.
1862
1863 2015-01-13 Marek Polacek <polacek@redhat.com>
1864
1865 PR middle-end/64391
1866 * trans-mem.c (get_attrs_for): Return NULL_TREE if X is NULL_TREE.
1867
1868 2015-01-13 Jakub Jelinek <jakub@redhat.com>
1869
1870 PR rtl-optimization/64286
1871 * ree.c (combine_reaching_defs): Move part of comment earlier,
1872 remove !SCALAR_INT_MODE_P check.
1873 (add_removable_extension): Don't add vector mode
1874 extensions if all uses of the source register aren't the same
1875 vector extensions.
1876
1877 2015-01-13 Renlin Li <renlin.li@arm.com>
1878
1879 * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): Return 2.
1880 (CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
1881
1882 2015-01-13 Martin Liska <mliska@suse.cz>
1883
1884 * ipa-icf.c (sem_function::equals_private): Call new functions
1885 cl_target_option_print_diff and cl_optimization_print_diff.
1886 * optc-save-gen.awk (cl_target_option_print_diff): New function.
1887 (cl_optimization_print_diff): Likewise.
1888 * opth-gen.awk: Likewise.
1889
1890 2015-01-13 Richard Sandiford <richard.sandiford@arm.com>
1891
1892 * config/aarch64/aarch64.md (subsi3, *subsi3_uxtw, subdi3)
1893 (*sub_<optab><ALLX:mode>_<GPI:mode>, *sub_<optab><SHORT:mode>_si_uxtw)
1894 (*sub_<optab><ALLX:mode>_shft_<GPI:mode>)
1895 (*sub_<optab><SHORT:mode>_shft_si_uxtw, *sub_<optab><mode>_multp2)
1896 (*sub_<optab>si_multp2_uxtw, *sub_uxt<mode>_multp2)
1897 (*sub_uxtsi_multp2_uxtw): Add stack pointer sources.
1898
1899 2015-01-13 Andrew Pinski <apinski@cavium.com>
1900
1901 * config/aarch64/aarch64.c (fusion_load_store): Check dest mode
1902 instead of src mode.
1903
1904 2015-01-13 Richard Biener <rguenther@suse.de>
1905
1906 PR lto/64373
1907 * lto-streamer-out.c (tree_is_indexable): Guard for NULL
1908 DECL_CONTEXT.
1909
1910 2015-01-13 Andrew Pinski <apinski@cavium.com>
1911
1912 * config/aarch64/aarch64.c (aarch64_operands_ok_for_ldpstp): Reject
1913 volatile mems.
1914 (aarch64_operands_adjust_ok_for_ldpstp): Likewise.
1915
1916 2015-01-13 Jakub Jelinek <jakub@redhat.com>
1917
1918 PR middle-end/63974
1919 * cfgexpand.c (expand_computed_goto): Don't call
1920 convert_memory_address here.
1921
1922 2015-01-13 Richard Biener <rguenther@suse.de>
1923
1924 PR tree-optimization/64406
1925 * tree-loop-distibution.c (pass_loop_distribution::execute):
1926 Reset the SCEV hashtable if we distributed anything.
1927
1928 2015-01-13 Richard Biener <rguenther@suse.de>
1929
1930 PR tree-optimization/64404
1931 * tree-vect-stmts.c (vectorizable_load): Reject conflicting
1932 SLP types for CSEd loads.
1933
1934 2015-01-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1935
1936 PR tree-optimization/64436
1937 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Move code performing the
1938 merge of two symbolic numbers for a bitwise OR to ...
1939 (perform_symbolic_merge): This. Also fix computation of the range and
1940 end of the symbolic number corresponding to the result of a bitwise OR.
1941
1942 2015-01-13 Richard Biener <rguenther@suse.de>
1943
1944 PR tree-optimization/64568
1945 * tree-ssa-forwprop.c (pass_forwprop::execute): Properly
1946 release defs of removed stmts, avoid splitting TARGET_MEM_REFs.
1947
1948 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
1949
1950 * config/nds32/nds32.c (nds32_legitimate_address_p): Consider
1951 TARGET_CMODEL_LARGE and TARGET_CMODEL_MEDIUM cases.
1952
1953 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
1954
1955 * config/nds32/nds32.h (NDS32_SYMBOL_FLAG_RODATA): Define our own
1956 target-specific symbol_ref flag.
1957 (NDS32_SYMBOL_REF_RODATA_P): Define it to check if the symbol_ref
1958 resides in rodata section.
1959 * config/nds32/nds32.c (TARGET_ENCODE_SECTION_INFO): Define.
1960 (nds32_encode_section_info): New function.
1961
1962 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
1963
1964 * config/nds32/nds32.md (call): Use pseudo instruction bal which
1965 clobbers TA_REGNUM if large code model is specified.
1966 (call_register): Likewise.
1967 (call_immediate): Likewise.
1968 (call_value): Likewise.
1969 (call_value_register): Likewise.
1970 (call_value_immediate): Likewise.
1971
1972 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
1973
1974 * config/nds32/nds32.h (TARGET_CMODEL_SMALL): New macro.
1975 (TARGET_CMODEL_MEDIUM): New macro.
1976 (TARGET_CMODEL_LARGE): New macro.
1977 * config/nds32/nds32.c (nds32_asm_file_start): Display corresponding
1978 code model setting in assembly code.
1979
1980 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
1981
1982 * common/config/nds32/nds32-common.c (TARGET_DEFAULT_TARGET_FLAGS):
1983 Remove MASK_GP_DIRECT flag.
1984 * config/nds32/nds32.h (MULTILIB_DEFAULTS): Have -mcmodel=medium as
1985 one of the multilib default options.
1986 * config/nds32/nds32.opt (mgp-direct): Remove.
1987 * config/nds32/t-mlibs (MULTILIB_OPTIONS): Use -mcmodel instead of
1988 -mgp-direct. We also remove unnecessary -mlittle-endian/-mbig-endian.
1989
1990 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
1991
1992 * config/nds32/nds32.opt (mcmodel): Add new option.
1993 * config/nds32/nds32-opts.h (nds32_cmodel_type): Add new enum type
1994 to describe code model.
1995
1996 2015-01-13 Oleg Endo <olegendo@gcc.gnu.org>
1997
1998 PR target/64479
1999 * rtlanal.c (set_reg_p): Handle SEQUENCE constructs.
2000
2001 2015-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
2002
2003 * config/sh/sh.c (sh_atomic_assign_expand_fenv): New function.
2004 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
2005 (sh_builtin_get_fpscr, sh_builtin_set_fpscr): New variables.
2006 (sh_init_builtins): Record decls for __builtin_sh_get_fpscr and
2007 __builtin_sh_set_fpscr.
2008
2009 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
2010
2011 * doc/invoke.texi ([-Wsuggest-attribute=]): Don't use parentheses
2012 after a funtion name just to indicate it is a function.
2013 ([-fsanitize-undefined-trap-on-error]): Likewise.
2014 ([-fdbg-cnt=]): Likewise.
2015 ([-mmemcpy]): Likewise.
2016 ([-mflush-func]): Likewise.
2017 ([-msynci]): Likewise.
2018
2019 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
2020
2021 * doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing
2022 example.
2023
2024 2015-01-12 Jakub Jelinek <jakub@redhat.com>
2025
2026 PR tree-optimization/64563
2027 * tree-vrp.c (vrp_evaluate_conditional): Check for VR_RANGE
2028 instead of != VR_VARYING.
2029
2030 PR target/64513
2031 * config/i386/i386.c (ix86_expand_prologue): Add
2032 REG_FRAME_RELATED_EXPR to %rax and %r10 pushes.
2033
2034 PR tree-optimization/64454
2035 * tree-vrp.c (simplify_div_or_mod_using_ranges): Optimize
2036 op0 % op1 into op0 if op0 is in range [-op1 + 1, op1 - 1]
2037 for signed or [0, op1 - 1] for unsigned modulo.
2038 (simplify_stmt_using_ranges): Call simplify_div_or_mod_using_ranges
2039 even if op1 does not satisfy integer_pow2p.
2040
2041 PR other/64370
2042 * sreal.c (sreal::to_double): Use ldexp instead of scalbnl.
2043
2044 2015-01-12 Jeff Law <law@redhat.com>
2045
2046 PR target/64461
2047 * config/m68k/m68k.md (truncsiqi2): Disable for TARGET_COLDFIRE.
2048 (trunchiqi2, truncsihi2): Similarly.
2049
2050 * config/h8300/h8300.c (Fpa): Use RTX_FRAME_RELATED_P directly
2051 rather than calling F.
2052
2053 2015-01-12 Bernd Edlinger <bernd.edlinger@hotmail.de>
2054
2055 * tsan.c (instrument_expr): Use force_gimple_operand.
2056 Use may_be_nonaddressable_p instead of is_gimple_addressable.
2057
2058 2015-01-12 Richard Biener <rguenther@suse.de>
2059
2060 PR tree-optimization/64530
2061 * tree-loop-distribution.c (pg_add_dependence_edges): Shuffle
2062 back dr1.
2063
2064 2015-01-12 Richard Biener <rguenther@suse.de>
2065
2066 PR middle-end/64357
2067 * tree-cfg.c (gimple_can_merge_blocks_p): Protect simple
2068 latches properly.
2069
2070 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2071
2072 * config/arm/arm.c (arm_cortex_a12_tune): Update entries to match
2073 Cortex-A17 tuning parameters.
2074 * config/arm/arm-cores.def (cortex-a12): Schedule for cortex-a17.
2075
2076 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2077
2078 * config/arm/arm-protos.h (tune_params): Add fuseable_ops field.
2079 * config/arm/arm.c (arm_macro_fusion_p): New function.
2080 (arm_macro_fusion_pair_p): Likewise.
2081 (TARGET_SCHED_MACRO_FUSION_P): Define.
2082 (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
2083 (ARM_FUSE_NOTHING): Likewise.
2084 (ARM_FUSE_MOVW_MOVT): Likewise.
2085 (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,
2086 arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,
2087 arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,
2088 arm_cortex_a53_tune, arm_cortex_a57_tune, arm_cortex_a9_tune,
2089 arm_cortex_a12_tune, arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune
2090 arm_cortex_a5_tune): Specify fuseable_ops value.
2091
2092 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
2093
2094 PR bootstrap/64561
2095 * configure.ac (HAVE_LD_PIE_COPYRELOC): Update Linux/x86-64 linker
2096 test for PIE with copy reloc.
2097 * configure: Regenerated.
2098
2099 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2100
2101 * config/arm/arm.c (arm_load_tp): Use R0_REGNUM instead of constant 0
2102 in gen_rtx_REG.
2103 (arm_tls_descseq_addr): Likewise.
2104 (arm_gen_movmemqi): Likewise.
2105 (arm_expand_epilogue_apcs_frame): Likewise.
2106 (arm_expand_epilogue): Likewise.
2107 (arm_expand_prologue): Likewise. Use R1_REGNUM instead of constant 1
2108 in gen_rtx_REG.
2109
2110 2015-01-12 Martin Liska <mliska@suse.cz>
2111
2112 PR ipa/64550
2113 * ipa-icf-gimple.c (func_checker::compare_memory_operand): Compare
2114 volatility for correct operands.
2115
2116 2015-01-12 Martin Liska <mliska@suse.cz>
2117
2118 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
2119 that a function is not leaf.
2120 (sem_function::compare_polymorphic_p): Likewise.
2121
2122 2015-01-12 Martin Liska <mliska@suse.cz>
2123
2124 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
2125 that a function is not leaf.
2126 (sem_function::compare_polymorphic_p): Likewise.
2127
2128 2015-01-12 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
2129
2130 * config/visium/visium.c: Add includes hashtab.h, hash-set.h,
2131 machmode.h, input.h, statistics.h, vec.h, double-int.h, real.h,
2132 fixed-value.h, alias.h, symtab.h, tree-core.h, wide-int.h, inchash.h,
2133 fold-const.h, tree-check.h.
2134
2135 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
2136
2137 PR ipa/63967
2138 PR ipa/64425
2139 * ipa-inline.c (compute_uninlined_call_time,
2140 compute_inlined_call_time): Use counts for extra precision when
2141 needed possible.
2142 (big_speedup_p): Fix formating.
2143 (RELATIVE_TIME_BENEFIT_RANGE): Remove.
2144 (relative_time_benefit): Remove.
2145 (edge_badness): Turn DECL_DISREGARD_INLINE_LIMITS into hint;
2146 merge guessed and read profile paths.
2147 (inline_small_functions): Count only !optimize_size functions into
2148 initial size; be more lax about sanity check when profile is used;
2149 be sure to update inlined function profile when profile is read.
2150
2151 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
2152
2153 PR ipa/63470
2154 * ipa-inline-analysis.c (inline_edge_duplication_hook): Adjust
2155 cost when edge becomes direct.
2156 * ipa-prop.c (make_edge_direct): Do not adjust when speculation
2157 is resolved or when introducing new speculation.
2158
2159 2015-01-12 Chen Gang <gang.chen.5i5j@gmail.com>
2160
2161 PR ipa/64551
2162 PR ipa/64552
2163 * ipa-icf.c (sem_function::equals_private): Use '&&' instead of
2164 '||' to fix typo issue.
2165
2166 * gcc/tree.h (target_opts_for_fn): Check NULL_TREE since it can
2167 accept and return NULL.
2168
2169 2015-01-12 Martin Liska <mliska@suse.cz>
2170
2171 * cgraph.c (cgraph_edge::remove_callee): Move function to header
2172 file for being inlined.
2173 (cgraph_set_edge_callee): Delete.
2174 (cgraph_edge::redirect_callee): Move function to header file
2175 for being inlined.
2176 (cgraph_edge::make_direct): Use new function.
2177 (cgraph_edge::dump_edge_flags): New function created from
2178 static dump_edge_flags function.
2179 (cgraph_node::dump): Use new function.
2180 (cgraph_edge::verify_count_and_frequency): New function created
2181 from verify_edge_count_and_frequency.
2182 (cgraph_edge::verify_corresponds_to_fndecl): New function created
2183 from verify_edge_corresponds_to_fndecl.
2184 (verify_edge_corresponds_to_fndecl): Delete.
2185 (cgraph_node::verify_node): Use new function.
2186 * cgraph.h (cgraph_edge::set_callee): New function.
2187 (cgraph_edge::dump_edge_flags): Likewise.
2188 (cgraph_edge::verify_corresponds_to_fndecl): Likewise.
2189
2190 2015-01-11 Jan Hubicka <hubicka@ucw.cz>
2191
2192 * ipa-utils.c (estimate_function_body_sizes): Do not
2193 free node params when called late with early=true.
2194
2195 2015-01-11 James Greenhalgh <james.greenhalgh@arm.com>
2196
2197 * doc/md.texi (Instruction Patterns): Rewrite text for
2198 clarity.
2199 (Example): Likewise.
2200
2201 2015-01-10 Sandra Loosemore <sandra@codesourcery.com>
2202
2203 * doc/invoke.texi (Option Summary): Break long lines.
2204 [(-fdiagnostics-color)]: Put long literal in @smallexample
2205 instead of inline.
2206 [(-fsanitize-recover)]: Likewise.
2207 [(-fdump-rtl-split*)]: Rewrite to fix over-full hbox.
2208 [(-ffast-math)]: Likewise.
2209 [(--param max-inline-insns-recursive)]: Likewise.
2210 [(--param max-inline-recursive-depth)]: Likewise.
2211 [(-mno-text-section-literals)]: Likewise.
2212
2213 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
2214
2215 * doc/install.texi: Update for libgomp being renamed from "GNU
2216 OpenMP Runtime Library" to "GNU Offloading and Multi Processing
2217 Runtime Library".
2218 * doc/sourcebuild.texi: Likewise.
2219
2220 2015-01-10 Anthony Green <green@moxielogic.com>
2221
2222 * config/moxie/moxie.c (moxie_option_override): Fix forcing of
2223 mul.x availability for moxiebox configuration.
2224
2225 2015-01-09 Anthony Green <green@moxielogic.com>
2226
2227 * config/moxie/moxie.md: Tabify assembly output.
2228
2229 2015-01-09 Anthony Green <green@moxielogic.com>
2230
2231 * config/moxie/moxie.md (CC_REG): Correct register definition.
2232
2233 2015-01-09 Sandra Loosemore <sandra@codesourcery.com>
2234
2235 * doc/invoke.texi ([-fvtable-verify]): Copy-edit and fix markup.
2236 ([-fvtv-debug], [-fvtv-counts]): Likewise. Correct location
2237 of log files.
2238
2239 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2240
2241 * config/arm/arm.h (MAX_SYNC_LIBFUNC_SIZE): Delete semicolon.
2242
2243 2015-01-09 Bernd Schmidt <bernds@codesourcery.com>
2244 Jakub Jelinek <jakub@redhat.com>
2245
2246 PR middle-end/64412
2247 * lto-streamer.h (lto_stream_offload_p): New declaration.
2248 * lto-streamer.c (lto_stream_offload_p): New variable.
2249 * cgraphunit.c (ipa_passes): Set lto_stream_offload_p
2250 at the same time as section_name_prefix.
2251 * lto-streamer-out.c (hash_tree): Don't hash TREE_TARGET_OPTION
2252 if lto_stream_offload_p.
2253 * tree-streamer-out.c (streamer_pack_tree_bitfields): Don't
2254 stream TREE_TARGET_OPTION if lto_stream_offload_p.
2255 (write_ts_function_decl_tree_pointers): Don't
2256 stream DECL_FUNCTION_SPECIFIC_TARGET if lto_stream_offload_p.
2257 * tree-streamer-in.c (unpack_value_fields): Don't stream
2258 TREE_TARGET_OPTION in if ACCEL_COMPILER.
2259 (lto_input_ts_function_decl_tree_pointers): Don't stream
2260 DECL_FUNCTION_SPECIFIC_TARGET in if ACCEL_COMPILER.
2261 * lto-opts.c (lto_write_options): Use lto_stream_offload_p
2262 instead of section_name_prefix string comparisons.
2263
2264 2015-01-09 Jakub Jelinek <jakub@redhat.com>
2265
2266 PR rtl-optimization/64536
2267 * cfgrtl.c (rtl_tidy_fallthru_edge): Handle removal of degenerate
2268 tablejumps.
2269
2270 2015-01-09 Michael Collison <michael.collison@linaro.org>
2271
2272 PR tree-optimization/64322
2273 * tree-vrp.c (extract_range_from_binary_expr_1): Attempt to derive
2274 range for RSHIFT_EXPR even if vr0 range is not VR_RANGE or is symbolic.
2275
2276 2015-01-09 Tom de Vries <tom@codesourcery.com>
2277
2278 PR rtl-optimization/64539
2279 * regcprop.c (kill_clobbered_values): Factor out of ...
2280 (copyprop_hardreg_forward_1): ... here. Use kill_clobbered_values
2281 instead of note_stores with kill_clobbered_value.
2282
2283 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2284
2285 * ginclude/unwind-arm-common.h: Revert previous commit.
2286
2287 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2288
2289 * config.gcc (arm*-*-freebsd*): New configuration.
2290 * config/arm/freebsd.h: New file.
2291 * config.host: Add extra components for arm*-*-freebsd*.
2292 * config/arm/arm.h: Introduce MAX_SYNC_LIBFUNC_SIZE.
2293 * config/arm/arm.c (arm_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE.
2294
2295 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2296
2297 * config/rs6000/rtems.h (CPP_OS_RTEMS_SPEC): Define __PPC_CPU_E6500__
2298 for -mcpu=e6500.
2299 * config/rs6000/t-rtems: Add e6500 multilibs.
2300
2301 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2302
2303 * config/rs6000/t-rtems: Add -mno-spe to soft-float multilib for
2304 MPC8540.
2305
2306 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2307
2308 * config/rs6000/t-rtems: Use MULTILIB_REQUIRED instead of
2309 MULTILIB_EXCEPTIONS.
2310
2311 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2312
2313 * config/arm/t-rtems: Use MULTILIB_REQUIRED instead of
2314 MULTILIB_EXCEPTIONS.
2315
2316 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2317
2318 * config/arm/t-rtems-eabi: Rename to...
2319 * config/arm/t-rtems: ...this.
2320 * config/arm/rtems-eabi.h: Rename to...
2321 * config/arm/rtems.h: ...this.
2322 * config.gcc (arm*-*-rtems*): Reflect changes above.
2323
2324 2015-01-09 Richard Biener <rguenther@suse.de>
2325
2326 PR tree-optimization/64410
2327 * tree-ssa.c (non_rewritable_lvalue_p): Allow REALPART/IMAGPART_EXPR
2328 on the LHS.
2329 (execute_update_addresses_taken): Deal with that.
2330 * tree-ssa-forwprop.c (pass_forwprop::execute): Use component-wise
2331 loads/stores for complex variables.
2332
2333 2015-01-09 Martin Liska <mliska@suse.cz>
2334
2335 * ipa-icf-gimple.c (func_checker::compare_ssa_name): Enhance SSA
2336 name comparison.
2337 (func_checker::compare_memory_operand): New function.
2338 (func_checker::compare_operand): Split case to newly
2339 added functions.
2340 (func_checker::compare_cst_or_decl): New function.
2341 (func_checker::compare_gimple_call): Identify
2342 memory operands.
2343 (func_checker::compare_gimple_assign): Likewise.
2344 * ipa-icf-gimple.h: New function.
2345
2346 2015-01-09 Martin Liska <mliska@suse.cz>
2347
2348 PR ipa/64503
2349 * sreal.c (sreal::dump): Change unsigned format to signed for
2350 m_exp value.
2351 (sreal::to_double): Replace exp2 with scalbln.
2352
2353 2015-01-09 Martin Liska <mliska@suse.cz>
2354
2355 * cgraphunit.c (cgraph_node::create_wrapper): Fix level of indentation.
2356 * ipa-icf.c (sem_function::equals_private): Add support for target and
2357 (sem_item_optimizer::merge_classes): Remove redundant function
2358 optimization flags comparison.
2359 * tree.h (target_opts_for_fn): New function.
2360
2361 2015-01-09 Tom de Vries <tom@codesourcery.com>
2362
2363 * omp-low.c (expand_omp_for_static_chunk): Fix assert.
2364
2365 2015-01-09 Kito Cheng <kito@0xlab.org>
2366
2367 PR rtl-optimization/64348
2368 * lra-constraints.c (split_reg): Fix caller-save store/restore
2369 instruction generation.
2370
2371 2015-01-08 John David Anglin <danglin@gcc.gnu.org>
2372
2373 PR gcov-profile/61790
2374 * gcov-tool.c (do_rewrite): Use strtoll instead of atoll if host has
2375 long long. Fallback to int64_t if host doesn't have long long and
2376 use strtol if int64_t is long. Otherwise, use sscanf for conversion.
2377
2378 2015-01-08 Jakub Jelinek <jakub@redhat.com>
2379
2380 PR tree-optimization/63989
2381 * params.def (PARAM_MAX_TRACKED_STRLENS): Increment default
2382 from 1000 to 10000.
2383 * tree-ssa-strlen.c (get_strinfo): Moved earlier.
2384 (get_stridx): If we don't have a record for certain SSA_NAME,
2385 but it is POINTER_PLUS_EXPR of some SSA_NAME we do with
2386 constant offset, call get_stridx_plus_constant.
2387 (get_stridx_plus_constant): New function.
2388 (zero_length_string): Don't use get_stridx here.
2389
2390 PR target/55023
2391 PR middle-end/64388
2392 * dse.c (struct insn_info): Mention frame_read set also
2393 before reload for tail calls on some targets.
2394 (scan_insn): Revert 2014-12-22 change. Set frame_read
2395 also before reload for tail calls if
2396 HARD_FRAME_POINTER_IS_ARG_POINTER. Call add_wild_read
2397 instead of add_non_frame_wild_read for non-const/memset
2398 tail calls after reload.
2399
2400 2015-01-08 Jason Merrill <jason@redhat.com>
2401
2402 * ubsan.c (do_ubsan_in_current_function): New.
2403 (pass_ubsan::gate): Use it.
2404 * ubsan.h: Declare it.
2405 * convert.c (convert_to_integer): Use it.
2406
2407 2015-01-08 Jakub Jelinek <jakub@redhat.com>
2408
2409 PR target/64338
2410 * config/i386/i386.c (ix86_expand_int_movcc): Don't reverse
2411 compare_code when it is unconditionally overwritten afterwards.
2412 Use ix86_reverse_condition instead of reverse_condition. Don't
2413 change code if *reverse_condition* returned UNKNOWN and don't
2414 swap ct/cf and negate diff in that case.
2415
2416 2015-01-08 Mike Stump <mikestump@comcast.net>
2417
2418 * tsan.c (pass_tsan::gate): Add no_sanitize_thread support.
2419 (pass_tsan_O0::gate): Likewise.
2420 * extend.texi (Function Attributes): Add no_sanitize_thread
2421 documentation.
2422
2423 2015-01-08 Thomas Schwinge <thomas@codesourcery.com>
2424
2425 * builtins.def (DEF_GOMP_BUILTIN): Also consider flag_offload_abi
2426 for registering builtins.
2427 * config/i386/intelmic-mkoffload.c (prepare_target_image): Don't
2428 add -fopenmp to the argv_obstack used when invoking
2429 compile_for_target.
2430
2431 * config/i386/intelmic-mkoffload.c (compile_for_target): Always
2432 add "-m32" or "-m64" to argv_obstack.
2433 (generate_host_descr_file): Likewise, when invoking host_compiler.
2434 (main): Always add "-m elf_i386" or "-m elf_x86_64" when invoking
2435 ld.
2436
2437 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
2438
2439 * config/sh/sh-mem.cc: Use constant as second operand when emitting
2440 tstsi_t insns.
2441
2442 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
2443
2444 PR target/55212
2445 * config/sh/sh.md (*addsi3_compact): Emit reg-reg copy instead of
2446 constant load if constant operand fits into I08.
2447
2448 2015-01-08 Jakub Jelinek <jakub@redhat.com>
2449
2450 PR sanitizer/64336
2451 * tree.c (build2_stat): Fix up initialization of TREE_READONLY
2452 and TREE_THIS_VOLATILE for MEM_REFs.
2453 (build5_stat): Fix up initialization of TREE_READONLY and
2454 TREE_THIS_VOLATILE for TARGET_MEM_REFs.
2455
2456 2015-01-08 Kaz Kojima <kkojima@gcc.gnu.org>
2457
2458 PR target/64533
2459 * config/sh/sh.md (*addsi3_compact): Use u constraint instead
2460 of r for the second alternative of the destination operand.
2461
2462 2015-01-07 Segher Boessenkool <segher@kernel.crashing.org>
2463
2464 PR target/36557
2465 * config/rs6000/rs6000.md (*eqsi3_ext<mode>, *nesi3_ext<mode>): New.
2466
2467 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
2468
2469 * doc/invoke.texi ([-fvtable-verify]): Fix markup on option
2470 keywords.
2471 ([-fivar-visibility], [-fvisibility]): Likewise.
2472
2473 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
2474
2475 * doc/invoke.texi: Fix incorrect uses of @samp markup throughout
2476 the file where @code, @command, etc is more appropriate.
2477
2478 2015-01-06 Sandra Loosemore <sandra@codesourcery.com>
2479
2480 * doc/invoke.texi (RS/6000 and PowerPC Options): Tidy formatting
2481 of -mrecip= documentation.
2482
2483 2015-01-06 Michael Meissner <meissner@linux.vnet.ibm.com>
2484
2485 PR target/64505
2486 * config/rs6000/rs6000.c (rs6000_secondary_reload): Return the
2487 correct reload handler if -m32 -mpowerpc64 is used.
2488
2489 2015-01-06 Tom de Vries <tom@codesourcery.com>
2490
2491 * tree-ssa-tail-merge.c: Fix typo in struct same_succ_def comment.
2492
2493 2015-01-08 Christian Bruel <christian.bruel@st.com>
2494
2495 PR target/64507
2496 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Check 0 length.
2497
2498 2015-01-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2499
2500 PR tree-optimization/63259
2501 * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Stop checking
2502 if optab exists for 16bit byteswap.
2503
2504 2015-01-06 Jakub Jelinek <jakub@redhat.com>
2505
2506 * opts.c (common_handle_option): Add support for
2507 -fno-sanitize=all and -f{,no-}sanitize-recover=all.
2508 * doc/invoke.texi: Document -fno-sanitize=all,
2509 -f{,no-}sanitize-recover=all. Document that
2510 -fsanitize=float-cast-overflow is not enabled
2511 by -fsanitize=undefined. Fix up documentation
2512 of -f{,no-}sanitize-recover.
2513
2514 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2515
2516 * config.gcc: Add Visium support.
2517 * configure.ac: Likewise.
2518 * configure: Regenerate.
2519 * doc/extend.texi (interrupt attribute): Add Visium.
2520 * doc/invoke.texi: Document Visium options.
2521 * doc/install.texi: Document Visium target.
2522 * doc/md.texi: Document Visium constraints.
2523 * common/config/visium: New directory.
2524 * config/visium: Likewise.
2525
2526 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
2527
2528 * simplify-rtx.c (simplify_binary_operation_1): Handle more cases
2529 for the "(and X (ior (not X) Y) -> (and X Y)" transform.
2530
2531 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
2532
2533 * combine.c (combine_validate_cost): Do not count the cost of a
2534 split I2 twice. Do not display it twice in the dump, either.
2535
2536 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
2537
2538 Revert parts of r219199.
2539 * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
2540 <inttypes.h>.
2541 ([-Wtraditional]): Restore markup on <limits.h>.
2542
2543 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
2544
2545 PR c++/31397
2546 * doc/invoke.texi: Document -Wsuggest-override.
2547
2548 2015-01-05 Radovan Obradovic <radovan.obradovic@imgtec.com>
2549
2550 PR rtl-optimization/64287
2551 * toplev.c (HAVE_epilogue, HAVE_prologue): Provide default.
2552 (process_options): Disable flag_ipa_ra if profiling.
2553
2554 2015-01-05 Eric Botcazou <ebotcazou@adacore.com>
2555
2556 * config/nds32/nds32-peephole2.md: Do not mention define_peephole.
2557
2558 2015-01-05 Max Filippov <jcmvbkbc@gmail.com>
2559
2560 * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
2561 hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
2562 put under #if TARGET_LOOPS guard.
2563
2564 2015-01-05 Uros Bizjak <ubizjak@gmail.com>
2565
2566 * config/i386/i386.c (output_387_binary_op): Use std::swap.
2567
2568 2015-01-05 Oleg Endo <olegendo@gcc.gnu.org>
2569
2570 * rtlanal.c (refers_to_regno_p): Change return value from int to bool.
2571 * rtl.h (refers_to_regno_p): Add overload.
2572 * cse.c: Use it.
2573 * bt-load.c: Likewise.
2574 * combine.c: Likewise.
2575 * df-scan.c: Likewise.
2576 * sched-deps.c: Likewise.
2577 * config/s390/s390.c: Likewise.
2578 * config/m32r/m32r.c: Likewise.
2579 * config/rs6000/spe.md: Likewise.
2580 * config/rs6000/rs6000.c: Likewise.
2581 * config/pa/pa.c: Likewise.
2582 * config/stormy16/stormy16.c: Likewise.
2583 * config/cris/cris.c: Likewise.
2584 * config/arc/arc.md: Likewise.
2585 * config/arc/arc.c: Likewise.
2586 * config/sh/sh.md: Likewise.
2587 * config/sh/sh.c: Likewise.
2588 * config/frv/frv.c: Likewise.
2589
2590 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2591
2592 PR sanitizer/64265
2593 * gimplify.c (gimplify_function_tree): Add TSAN_FUNC_EXIT internal
2594 call as cleanup of the whole body.
2595 * internal-fn.def (TSAN_FUNC_EXIT): New internal call.
2596 * tsan.c (replace_func_exit): New function.
2597 (instrument_func_exit): Moved earlier.
2598 (instrument_memory_accesses): Adjust TSAN_FUNC_EXIT internal calls.
2599 Call instrument_func_exit if no TSAN_FUNC_EXIT internal calls have
2600 been found.
2601 (tsan_pass): Don't call instrument_func_exit.
2602 * internal-fn.c (expand_TSAN_FUNC_EXIT): New function.
2603 * tree-inline.c (copy_bb): Drop TSAN_FUNC_EXIT internal calls during
2604 inlining.
2605
2606 PR sanitizer/64344
2607 * ubsan.h (ubsan_instrument_float_cast): Add ARG argument.
2608 * ubsan.c (ubsan_instrument_float_cast): Add ARG argument, pass
2609 it to libubsan handler instead of EXPR. Fold comparisons earlier,
2610 if the result is integer_zerop, return NULL_TREE.
2611 * convert.c (convert_to_integer): Pass expr as ARG.
2612
2613 PR tree-optimization/64465
2614 * tree-inline.c (redirect_all_calls): During inlining
2615 clean up EH stmts and EH edges if redirect_call_stmt_to_callee
2616 changed the stmt to a non-throwing call.
2617
2618 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
2619
2620 * doc/invoke.texi: Fix incorrect uses of @code, @option, @samp,
2621 etc markup throughout the file.
2622
2623 2015-01-05 Bernd Edlinger <bernd.edlinger@hotmail.de>
2624
2625 Enable experimental TSAN support for Ada.
2626 * tsan.c (instrument_expr): Handle VIEW_CONVERT_EXPR.
2627
2628 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2629
2630 PR tree-optimization/64494
2631 * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
2632 clear SSA_NAME_ANTI_RANGE_P flag.
2633
2634 2015-01-05 Marek Polacek <polacek@redhat.com>
2635
2636 * doc/extend.texi (Arrays of Length Zero): Add missing comma.
2637
2638 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2639
2640 Update copyright years.
2641
2642 * gcc.c (process_command): Update copyright notice dates.
2643 * gcov-dump.c: Ditto.
2644 * gcov.c: Ditto.
2645 * doc/cpp.texi: Bump @copying's copyright year.
2646 * doc/cppinternals.texi: Ditto.
2647 * doc/gcc.texi: Ditto.
2648 * doc/gccint.texi: Ditto.
2649 * doc/gcov.texi: Ditto.
2650 * doc/install.texi: Ditto.
2651 * doc/invoke.texi: Ditto.
2652
2653 * auto-profile.c, auto-profile.h: Fix up Copyright line.
2654
2655 2015-01-04 Sandra Loosemore <sandra@codesourcery.com>
2656
2657 * doc/invoke.texi ([-fsized-deallocation]): Copy-edit to fix
2658 verb tense, etc.
2659 ([-fvtable-verify], [-fvtv-debug]): Likewise.
2660 ([-Wabi]): Likewise.
2661 ([-fmessage-length]): Likewise.
2662 ([-Wsuggest-final-types], [-Wsuggest-final-methods]): Likewise.
2663 ([-Wno-discarded-qualifiers]): Likewise.
2664 ([-Wnodiscarded-array-qualifiers]): Likewise.
2665 ([-Wno-virtual-move-assign]): Likewise.
2666 ([-fsanitize=address], [-fsanitize=thread]): Likewise.
2667 ([-fsanitize=leak], [-fsanitize=undefined]): Likewise.
2668 ([-fsanitize=unreachable], [-fsanitize-recover]): Likewise.
2669 ([-fsanitize-undefined-trap-on-error]): Likewise.
2670 ([-floop-interchange]): Likewise.
2671 ([-ftree-coalesce-inlined-vars]): Likewise.
2672 ([-fvect-cost-model]): Likewise.
2673 ([-flto]): Likewise.
2674 ([--param]): Likewise.
2675 (Spec Files): Likewise.
2676 ([-mstrict-align]): Likewise.
2677 ([-mfix-cortex-a53-835769]): Likewise.
2678 ([-march], [-mtune]): Likewise.
2679 ([-mpic-register]): Likewise.
2680 ([-munaligned-access]): Likewise.
2681 ([-msp8]): Likewise.
2682 (EIND and Devices with more than 128 Ki Bytes of Flash): Likewise.
2683 (AVR Built-in Macros): Likewise.
2684 ([-mpreferred-stack-boundary]): Likewise.
2685 ([-mtune-crtl]): Likewise.
2686 ([-mashf]): Likewise.
2687 ([-mmcu=]): Likewise.
2688 ([-minrt]): Likewise.
2689 ([-maltivec], [-maltivec=be], [-maltivec=le]): Likewise.
2690 ([-mupper-regs]): Likewise.
2691 ([-matomic-model]): Likewise.
2692 ([-mdiv]): Likewise.
2693 ([-mzdcbranch]): Likewise.
2694 ([-mdisable-callt]): Likewise.
2695 ([-msoft-float]): Likewise.
2696 ([-m8byte-align]): Likewise.
2697 ([-fstack-reuse]): Likewise.
2698
2699 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
2700
2701 * doc/invoke.texi ([-fprofile-generate], [-fprofile-use]):
2702 Fix markup, light copy-editing.
2703 ([-fauto-profile]): Rewrite to fix formatting and content
2704 problems.
2705
2706 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
2707
2708 * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]):
2709 Copy-edit description.
2710 ([-fisolate-erroneous-paths-attribute]): Likewise.
2711 * common.opt (fisolate-erroneous-paths-dereference):
2712 Copy-edit description.
2713 (fisolate-erroneous-paths-attribute): Likewise.
2714
2715 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
2716
2717 * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
2718 tidy grammar.
2719
2720 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
2721
2722 * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
2723 ([-fvtv-debug]): Likewise.
2724 ([-Wc++-compat]): Likewise.
2725 ([-Wc++11-compat]): Likewise.
2726 ([-Wc++14-compat]): Likewise.
2727 ([-Wno-sized-deallocation]): Likewise.
2728 ([-femit-class-debug-always]): Likewise.
2729 ([-femit-struct-debug-detailed]): Likewise.
2730 ([-fno-keep-inline-dllexport]): Likewise.
2731 ([-fira-algorithm]): Likewise.
2732 ([-fira-region]): Likewise.
2733 ([-flra-remat]): Likewise.
2734 ([-fipa-ra]): Likewise.
2735 ([-fhoist-adjacent-loads]): Likewise.
2736 ([-fisolate-erroneous-paths-dereference]): Likewise.
2737 ([-fisolate-erroneous-paths-attribute]): Likewise.
2738 ([-ftree-switch-conversion]): Likewise.
2739 ([-ftree-tail-merge]): Likewise.
2740 ([-ftree-loop-if-convert]): Likewise.
2741 ([-ftree-loop-if-convert-stores]): Likewise.
2742 ([-ftree-loop-distribution]): Likewise.
2743 ([-ftree-loop-distribute-patterns]): Likewise.
2744 ([-flto-compression-level]): Likewise.
2745 ([-flto-report]): Likewise.
2746 ([-flto-report-wpa]): Likewise.
2747 ([-fuse-linker-plugin]): Likewise.
2748 ([-mfix-cortex-a53-835769]): Likewise.
2749 ([-mno-fix-cortex-a53-835769]): Likewise.
2750 ([-mmmx]...[-mno-3dnow]): Remove the -mno- forms from the
2751 explicit listing; add a note to the discussion indicating they
2752 exist. Reorder table to group similar options. Add missing
2753 @opindex entries. Add @need commands throughout the table to
2754 allow it to be split across multiple pages.
2755 ([-m8bit-idiv]): Fix @opindex.
2756 ([-mavx256-split-unaligned-load]): Likewise.
2757 ([-mavx256-split-unaligned-store]): Likewise.
2758 ([-mstack-protector-guard]): Likewise.
2759 ([-mcpu=]): Likewise.
2760 ([-mcpu]): Likewise.
2761 ([-mpointer-size=]): Likewise.
2762
2763 2015-01-03 John David Anglin <danglin@gcc.gnu.org>
2764
2765 * config/pa/pa.md (decrement_and_branch_until_zero): Use `Q' constraint
2766 instead of `m' constraint. Likewise for unnamed movb comparison
2767 patterns using reg_before_reload_operand predicate.
2768 * config/pa/predicates.md (reg_before_reload_operand): Tighten
2769 predicate to reject register index and LO_SUM DLT memory forms
2770 after reload.
2771
2772 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
2773
2774 * doc/invoke.texi (Option Summary): Fix spelling of
2775 -fdevirtualize-at-ltrans.
2776 ([-fdevirtualize]): Fix markup.
2777 ([-fdevirtualize-speculatively]): Fix typo.
2778 ([-fdevirtualize-at-ltrans]): Likewise. Make description less
2779 implementor-speaky.
2780 * common.opt (fdevirtualize-at-ltrans): Likewise.
2781 * ipa-devirt.c: Fix typos in comments throughout the file.
2782 (ipa_devirt): Fix typos in format strings for dump output.
2783
2784 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
2785
2786 * doc/invoke.texi ([-fopt-info]): Fix markup, consolidate
2787 discussion of defaults, light copy-editing.
2788
2789 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
2790
2791 * tsan.c (instrument_expr): corrected previous checkin.
2792
2793 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
2794
2795 Instrument bit field and unaligned accesses for TSAN.
2796 * sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
2797 (BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
2798 * tsan.c (instrument_expr): Handle COMPONENT_REF and BIT_FIELD_REF.
2799 Use BUILT_IN_TSAN_READ_RANGE and BUILT_IN_TSAN_WRITE_RANGE for
2800 unaligned memory regions.
2801
2802 2015-01-01 Anthony Green <green@moxielogic.com>
2803
2804 * config/moxie/predicates.md (moxie_general_movsrc_operand):
2805 Restrict move source register offsets to 16 bits.
2806 \f
2807 Copyright (C) 2015 Free Software Foundation, Inc.
2808
2809 Copying and distribution of this file, with or without modification,
2810 are permitted in any medium without royalty provided the copyright
2811 notice and this notice are preserved.