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