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