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