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