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