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