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