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