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