1 2015-01-14 Richard Biener <rguenther@suse.de>
3 PR tree-optimization/59354
4 * tree-vect-slp.c (vect_build_slp_tree_1): Treat loads from
5 groups larger than the slp group size as having gaps.
7 2015-01-14 Andrew MacLeod <amacleod@redhat.com>
10 * builtins.c (get_memmodel): Promote consume to acquire always.
12 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
15 * config/i386/i386.c (ix86_expand_sse_cmp): Handle V64QImode,
18 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
21 * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VBMI_SET):
23 (OPTION_MASK_ISA_AVX512BW_UNSET): Disable AVX512VBMI.
24 * config/i386/i386.c (ix86_hard_regno_mode_ok): Don't check
25 AVX512VBMI, as it implies AVX512BW.
27 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
30 * config/i386/sse.md (vec_unpacks_hi_v8sf): Fix predicate.
31 (vec_unpacks_hi_v16sf): Ditto.
33 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
35 * config/aarch64/arm_neon.h: Error out if AdvancedSIMD
38 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
40 * doc/invoke.texi (mapcs): Mention deprecation.
41 (mapcs-frame): Likewise.
43 2015-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
46 * config/arm/arm.c (callee_saved_reg_p): Define.
47 (arm_compute_save_reg0_reg12_mask): Use callee_saved_reg_p to check if
48 register is callee saved instead of !call_used_regs[reg].
49 (thumb1_compute_save_reg_mask): Likewise.
51 2015-01-14 Hale Wang <hale.wang@arm.com>
53 * config/arm/arm.c: Tune the max_cond_insns/branch_cost for
56 2015-01-14 Richard Biener <rguenther@suse.de>
59 * tree-inline.c (insert_debug_decl_map): Check destination
60 function MAY_HAVE_DEBUG_STMTS.
61 (insert_init_debug_bind): Likewise.
62 (insert_init_stmt): Remove redundant check.
63 (remap_gimple_stmt): Drop debug stmts if the destination
64 function has var-tracking assignments disabled.
66 2015-01-14 Martin Liska <mliska@suse.cz>
68 * ipa-icf-gimple.c (func_checker::compare_operand): Add support for
69 IMAGPART_EXPR and REALPART_EXPR and fix BIT_FIELD_REF comparison.
71 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
74 * config/arm/arm.md (*<arith_shift_insn>_multsi): Set 'shift' to 2.
75 (*<arith_shift_insn>_shiftsi): Set 'shift' attr to 3.
77 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
79 * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Only infer an ISA
80 level from an ARCH; do not inject the default.
81 (MIPS_DEFAULT_ISA_LEVEL_SPEC): New macro split out from
83 (MIPS_ISA_NAN2008_SPEC): Update comment.
84 (BASE_DRIVER_SELF_SPECS): Likewise.
85 * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add
86 MIPS_DEFAULT_ISA_LEVEL_SPEC.
87 * config/mips/mti-elf.h (DRIVER_SELF_SPECS): Likewise.
88 * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise.
89 * config/mips/sde.h (DRIVER_SELF_SPECS): Likewise.
91 2015-01-14 Richard Biener <rguenther@suse.de>
93 PR tree-optimization/64493
94 PR tree-optimization/64495
95 * tree-vect-loop.c (vect_finalize_reduction): For double-reductions
96 assign the proper vectorized PHI to the inner loop exit PHIs.
98 2015-01-14 Joey Ye <joey.ye@arm.com>
100 * config/arm/arm.c (arm_compute_save_reg_mask):
101 Do not save lr in case of tail call.
102 * config/arm/thumb2.md (*thumb2_pop_single): New pattern.
104 2015-01-13 Martin Uecker <uecker@eecs.berkeley.edu>
106 * tree-vrp.c (check_array_ref): Emit more warnings
107 for warn_array_bounds >= 2.
108 * common.opt: New option -Warray-bounds=.
109 * doc/invoke.texi: Document -Warray-bounds=.
111 2015-01-14 Chung-Ju Wu <jasonwucj@gmail.com>
113 * config/nds32/nds32.opt (mforce-fp-as-gp): Remove.
114 (mforbid-fp-as-gp): Remove.
116 * config/nds32/nds32-fp-as-gp.c (nds32_have_prologue_p): Remove.
117 (nds32_symbol_load_store_p): Remove.
118 (nds32_fp_as_gp_check_available): Clean up implementation.
119 * config/nds32/nds32.h (LINK_SPEC): Remove -mforce-as-gp and -mex9
121 * config/nds32/nds32.c (nds32_asm_file_start): No need to consider
122 fp-as-gp and ex9 cases.
124 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
126 * tree-profile.c (init_ic_make_global_vars): Drop workaround
127 for bintuils bug 14342.
128 (init_ic_make_global_vars): Likewise.
129 (gimple_init_edge_profiler): Likewise.
130 (gimple_gen_ic_func_profiler): Likewise.
132 2015-01-13 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
134 * ipa-inline.c (inline_small_functions): Swap the operands in
137 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
140 * ipa-inline-analysis.c (node_growth_cache): Remove.
141 (initialize_growth_caches): Do not initialize it.
142 (free_growth_caches): Do not free it.
143 (do_estimate_growth): Rename to ...
144 (estimate_growth): ... this one; drop growth cache code.
145 (growth_likely_positive): Always go the heuristics way.
146 * ipa-inline.c (can_inline_edge_p): Walk through aliases.
147 (reset_edge_caches): Do not reset node growth.
148 (heap_edge_removal_hook): Do not maintain cache.
149 (inline_small_functions): Likewise; strenghten sanity check.
150 (ipa_inline): Do not maintain caches.
151 * ipa-inline.h (node_growth_cache): Remove.
152 (do_estimate_growth): Remove to ...
153 (estimate_growth): this one; remove inline version.
154 (reset_node_growth_cache): Remove.
156 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
159 * ipa-inline.c (inline_small_functions): Update callee keys after
160 resolving speculation
161 (inline_small_functions): Always check monotonicity of the queue.
163 2015-01-13 Marek Polacek <polacek@redhat.com>
166 * trans-mem.c (get_attrs_for): Return NULL_TREE if X is NULL_TREE.
168 2015-01-13 Jakub Jelinek <jakub@redhat.com>
170 PR rtl-optimization/64286
171 * ree.c (combine_reaching_defs): Move part of comment earlier,
172 remove !SCALAR_INT_MODE_P check.
173 (add_removable_extension): Don't add vector mode
174 extensions if all uses of the source register aren't the same
177 2015-01-13 Renlin Li <renlin.li@arm.com>
179 * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): Return 2.
180 (CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
182 2015-01-13 Martin Liska <mliska@suse.cz>
184 * ipa-icf.c (sem_function::equals_private): Call new functions
185 cl_target_option_print_diff and cl_optimization_print_diff.
186 * optc-save-gen.awk (cl_target_option_print_diff): New function.
187 (cl_optimization_print_diff): Likewise.
188 * opth-gen.awk: Likewise.
190 2015-01-13 Richard Sandiford <richard.sandiford@arm.com>
192 * config/aarch64/aarch64.md (subsi3, *subsi3_uxtw, subdi3)
193 (*sub_<optab><ALLX:mode>_<GPI:mode>, *sub_<optab><SHORT:mode>_si_uxtw)
194 (*sub_<optab><ALLX:mode>_shft_<GPI:mode>)
195 (*sub_<optab><SHORT:mode>_shft_si_uxtw, *sub_<optab><mode>_multp2)
196 (*sub_<optab>si_multp2_uxtw, *sub_uxt<mode>_multp2)
197 (*sub_uxtsi_multp2_uxtw): Add stack pointer sources.
199 2015-01-13 Andrew Pinski <apinski@cavium.com>
201 * config/aarch64/aarch64.c (fusion_load_store): Check dest mode
204 2015-01-13 Richard Biener <rguenther@suse.de>
207 * lto-streamer-out.c (tree_is_indexable): Guard for NULL
210 2015-01-13 Andrew Pinski <apinski@cavium.com>
212 * config/aarch64/aarch64.c (aarch64_operands_ok_for_ldpstp): Reject
214 (aarch64_operands_adjust_ok_for_ldpstp): Likewise.
216 2015-01-13 Jakub Jelinek <jakub@redhat.com>
219 * cfgexpand.c (expand_computed_goto): Don't call
220 convert_memory_address here.
222 2015-01-13 Richard Biener <rguenther@suse.de>
224 PR tree-optimization/64406
225 * tree-loop-distibution.c (pass_loop_distribution::execute):
226 Reset the SCEV hashtable if we distributed anything.
228 2015-01-13 Richard Biener <rguenther@suse.de>
230 PR tree-optimization/64404
231 * tree-vect-stmts.c (vectorizable_load): Reject conflicting
232 SLP types for CSEd loads.
234 2015-01-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
236 PR tree-optimization/64436
237 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Move code performing the
238 merge of two symbolic numbers for a bitwise OR to ...
239 (perform_symbolic_merge): This. Also fix computation of the range and
240 end of the symbolic number corresponding to the result of a bitwise OR.
242 2014-01-13 Richard Biener <rguenther@suse.de>
244 PR tree-optimization/64568
245 * tree-ssa-forwprop.c (pass_forwprop::execute): Properly
246 release defs of removed stmts, avoid splitting TARGET_MEM_REFs.
248 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
250 * config/nds32/nds32.c (nds32_legitimate_address_p): Consider
251 TARGET_CMODEL_LARGE and TARGET_CMODEL_MEDIUM cases.
253 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
255 * config/nds32/nds32.h (NDS32_SYMBOL_FLAG_RODATA): Define our own
256 target-specific symbol_ref flag.
257 (NDS32_SYMBOL_REF_RODATA_P): Define it to check if the symbol_ref
258 resides in rodata section.
259 * config/nds32/nds32.c (TARGET_ENCODE_SECTION_INFO): Define.
260 (nds32_encode_section_info): New function.
262 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
264 * config/nds32/nds32.md (call): Use pseudo instruction bal which
265 clobbers TA_REGNUM if large code model is specified.
266 (call_register): Likewise.
267 (call_immediate): Likewise.
268 (call_value): Likewise.
269 (call_value_register): Likewise.
270 (call_value_immediate): Likewise.
272 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
274 * config/nds32/nds32.h (TARGET_CMODEL_SMALL): New macro.
275 (TARGET_CMODEL_MEDIUM): New macro.
276 (TARGET_CMODEL_LARGE): New macro.
277 * config/nds32/nds32.c (nds32_asm_file_start): Display corresponding
278 code model setting in assembly code.
280 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
282 * common/config/nds32/nds32-common.c (TARGET_DEFAULT_TARGET_FLAGS):
283 Remove MASK_GP_DIRECT flag.
284 * config/nds32/nds32.h (MULTILIB_DEFAULTS): Have -mcmodel=medium as
285 one of the multilib default options.
286 * config/nds32/nds32.opt (mgp-direct): Remove.
287 * config/nds32/t-mlibs (MULTILIB_OPTIONS): Use -mcmodel instead of
288 -mgp-direct. We also remove unnecessary -mlittle-endian/-mbig-endian.
290 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
292 * config/nds32/nds32.opt (mcmodel): Add new option.
293 * config/nds32/nds32-opts.h (nds32_cmodel_type): Add new enum type
294 to describe code model.
296 2015-01-13 Oleg Endo <olegendo@gcc.gnu.org>
299 * rtlanal.c (set_reg_p): Handle SEQUENCE constructs.
301 2015-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
303 * config/sh/sh.c (sh_atomic_assign_expand_fenv): New function.
304 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
305 (sh_builtin_get_fpscr, sh_builtin_set_fpscr): New variables.
306 (sh_init_builtins): Record decls for __builtin_sh_get_fpscr and
307 __builtin_sh_set_fpscr.
309 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
311 * doc/invoke.texi ([-Wsuggest-attribute=]): Don't use parentheses
312 after a funtion name just to indicate it is a function.
313 ([-fsanitize-undefined-trap-on-error]): Likewise.
314 ([-fdbg-cnt=]): Likewise.
315 ([-mmemcpy]): Likewise.
316 ([-mflush-func]): Likewise.
317 ([-msynci]): Likewise.
319 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
321 * doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing
324 2015-01-12 Jakub Jelinek <jakub@redhat.com>
326 PR tree-optimization/64563
327 * tree-vrp.c (vrp_evaluate_conditional): Check for VR_RANGE
328 instead of != VR_VARYING.
331 * config/i386/i386.c (ix86_expand_prologue): Add
332 REG_FRAME_RELATED_EXPR to %rax and %r10 pushes.
334 PR tree-optimization/64454
335 * tree-vrp.c (simplify_div_or_mod_using_ranges): Optimize
336 op0 % op1 into op0 if op0 is in range [-op1 + 1, op1 - 1]
337 for signed or [0, op1 - 1] for unsigned modulo.
338 (simplify_stmt_using_ranges): Call simplify_div_or_mod_using_ranges
339 even if op1 does not satisfy integer_pow2p.
342 * sreal.c (sreal::to_double): Use ldexp instead of scalbnl.
344 2015-01-12 Jeff Law <law@redhat.com>
347 * config/m68k/m68k.md (truncsiqi2): Disable for TARGET_COLDFIRE.
348 (trunchiqi2, truncsihi2): Similarly.
350 * config/h8300/h8300.c (Fpa): Use RTX_FRAME_RELATED_P directly
351 rather than calling F.
353 2015-01-12 Bernd Edlinger <bernd.edlinger@hotmail.de>
355 * tsan.c (instrument_expr): Use force_gimple_operand.
356 Use may_be_nonaddressable_p instead of is_gimple_addressable.
358 2015-01-12 Richard Biener <rguenther@suse.de>
360 PR tree-optimization/64530
361 * tree-loop-distribution.c (pg_add_dependence_edges): Shuffle
364 2015-01-12 Richard Biener <rguenther@suse.de>
367 * tree-cfg.c (gimple_can_merge_blocks_p): Protect simple
370 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
372 * config/arm/arm.c (arm_cortex_a12_tune): Update entries to match
373 Cortex-A17 tuning parameters.
374 * config/arm/arm-cores.def (cortex-a12): Schedule for cortex-a17.
376 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
378 * config/arm/arm-protos.h (tune_params): Add fuseable_ops field.
379 * config/arm/arm.c (arm_macro_fusion_p): New function.
380 (arm_macro_fusion_pair_p): Likewise.
381 (TARGET_SCHED_MACRO_FUSION_P): Define.
382 (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
383 (ARM_FUSE_NOTHING): Likewise.
384 (ARM_FUSE_MOVW_MOVT): Likewise.
385 (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,
386 arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,
387 arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,
388 arm_cortex_a53_tune, arm_cortex_a57_tune, arm_cortex_a9_tune,
389 arm_cortex_a12_tune, arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune
390 arm_cortex_a5_tune): Specify fuseable_ops value.
392 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
395 * configure.ac (HAVE_LD_PIE_COPYRELOC): Update Linux/x86-64 linker
396 test for PIE with copy reloc.
397 * configure: Regenerated.
399 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
401 * config/arm/arm.c (arm_load_tp): Use R0_REGNUM instead of constant 0
403 (arm_tls_descseq_addr): Likewise.
404 (arm_gen_movmemqi): Likewise.
405 (arm_expand_epilogue_apcs_frame): Likewise.
406 (arm_expand_epilogue): Likewise.
407 (arm_expand_prologue): Likewise. Use R1_REGNUM instead of constant 1
410 2015-01-12 Martin Liska <mliska@suse.cz>
413 * ipa-icf-gimple.c (func_checker::compare_memory_operand): Compare
414 volatility for correct operands.
416 2015-01-12 Martin Liska <mliska@suse.cz>
418 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
419 that a function is not leaf.
420 (sem_function::compare_polymorphic_p): Likewise.
422 2015-01-12 Martin Liska <mliska@suse.cz>
424 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
425 that a function is not leaf.
426 (sem_function::compare_polymorphic_p): Likewise.
428 2015-01-12 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
430 * config/visium/visium.c: Add includes hashtab.h, hash-set.h,
431 machmode.h, input.h, statistics.h, vec.h, double-int.h, real.h,
432 fixed-value.h, alias.h, symtab.h, tree-core.h, wide-int.h, inchash.h,
433 fold-const.h, tree-check.h.
435 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
439 * ipa-inline.c (compute_uninlined_call_time,
440 compute_inlined_call_time): Use counts for extra precision when
442 (big_speedup_p): Fix formating.
443 (RELATIVE_TIME_BENEFIT_RANGE): Remove.
444 (relative_time_benefit): Remove.
445 (edge_badness): Turn DECL_DISREGARD_INLINE_LIMITS into hint;
446 merge guessed and read profile paths.
447 (inline_small_functions): Count only !optimize_size functions into
448 initial size; be more lax about sanity check when profile is used;
449 be sure to update inlined function profile when profile is read.
451 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
454 * ipa-inline-analysis.c (inline_edge_duplication_hook): Adjust
455 cost when edge becomes direct.
456 * ipa-prop.c (make_edge_direct): Do not adjust when speculation
457 is resolved or when introducing new speculation.
459 2015-01-12 Chen Gang <gang.chen.5i5j@gmail.com>
463 * ipa-icf.c (sem_function::equals_private): Use '&&' instead of
464 '||' to fix typo issue.
466 * gcc/tree.h (target_opts_for_fn): Check NULL_TREE since it can
467 accept and return NULL.
469 2015-01-12 Martin Liska <mliska@suse.cz>
471 * cgraph.c (cgraph_edge::remove_callee): Move function to header
472 file for being inlined.
473 (cgraph_set_edge_callee): Delete.
474 (cgraph_edge::redirect_callee): Move function to header file
476 (cgraph_edge::make_direct): Use new function.
477 (cgraph_edge::dump_edge_flags): New function created from
478 static dump_edge_flags function.
479 (cgraph_node::dump): Use new function.
480 (cgraph_edge::verify_count_and_frequency): New function created
481 from verify_edge_count_and_frequency.
482 (cgraph_edge::verify_corresponds_to_fndecl): New function created
483 from verify_edge_corresponds_to_fndecl.
484 (verify_edge_corresponds_to_fndecl): Delete.
485 (cgraph_node::verify_node): Use new function.
486 * cgraph.h (cgraph_edge::set_callee): New function.
487 (cgraph_edge::dump_edge_flags): Likewise.
488 (cgraph_edge::verify_corresponds_to_fndecl): Likewise.
490 2015-01-11 Jan Hubicka <hubicka@ucw.cz>
492 * ipa-utils.c (estimate_function_body_sizes): Do not
493 free node params when called late with early=true.
495 2015-01-11 James Greenhalgh <james.greenhalgh@arm.com>
497 * doc/md.texi (Instruction Patterns): Rewrite text for
501 2015-01-10 Sandra Loosemore <sandra@codesourcery.com>
503 * doc/invoke.texi (Option Summary): Break long lines.
504 [(-fdiagnostics-color)]: Put long literal in @smallexample
506 [(-fsanitize-recover)]: Likewise.
507 [(-fdump-rtl-split*)]: Rewrite to fix over-full hbox.
508 [(-ffast-math)]: Likewise.
509 [(--param max-inline-insns-recursive)]: Likewise.
510 [(--param max-inline-recursive-depth)]: Likewise.
511 [(-mno-text-section-literals)]: Likewise.
513 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
515 * doc/install.texi: Update for libgomp being renamed from "GNU
516 OpenMP Runtime Library" to "GNU Offloading and Multi Processing
518 * doc/sourcebuild.texi: Likewise.
520 2015-01-10 Anthony Green <green@moxielogic.com>
522 * config/moxie/moxie.c (moxie_option_override): Fix forcing of
523 mul.x availability for moxiebox configuration.
525 2015-01-09 Anthony Green <green@moxielogic.com>
527 * config/moxie/moxie.md: Tabify assembly output.
529 2015-01-09 Anthony Green <green@moxielogic.com>
531 * config/moxie/moxie.md (CC_REG): Correct register definition.
533 2015-01-09 Sandra Loosemore <sandra@codesourcery.com>
535 * doc/invoke.texi ([-fvtable-verify]): Copy-edit and fix markup.
536 ([-fvtv-debug], [-fvtv-counts]): Likewise. Correct location
539 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
541 * config/arm/arm.h (MAX_SYNC_LIBFUNC_SIZE): Delete semicolon.
543 2015-01-09 Bernd Schmidt <bernds@codesourcery.com>
544 Jakub Jelinek <jakub@redhat.com>
547 * lto-streamer.h (lto_stream_offload_p): New declaration.
548 * lto-streamer.c (lto_stream_offload_p): New variable.
549 * cgraphunit.c (ipa_passes): Set lto_stream_offload_p
550 at the same time as section_name_prefix.
551 * lto-streamer-out.c (hash_tree): Don't hash TREE_TARGET_OPTION
552 if lto_stream_offload_p.
553 * tree-streamer-out.c (streamer_pack_tree_bitfields): Don't
554 stream TREE_TARGET_OPTION if lto_stream_offload_p.
555 (write_ts_function_decl_tree_pointers): Don't
556 stream DECL_FUNCTION_SPECIFIC_TARGET if lto_stream_offload_p.
557 * tree-streamer-in.c (unpack_value_fields): Don't stream
558 TREE_TARGET_OPTION in if ACCEL_COMPILER.
559 (lto_input_ts_function_decl_tree_pointers): Don't stream
560 DECL_FUNCTION_SPECIFIC_TARGET in if ACCEL_COMPILER.
561 * lto-opts.c (lto_write_options): Use lto_stream_offload_p
562 instead of section_name_prefix string comparisons.
564 2015-01-09 Jakub Jelinek <jakub@redhat.com>
566 PR rtl-optimization/64536
567 * cfgrtl.c (rtl_tidy_fallthru_edge): Handle removal of degenerate
570 2015-01-09 Michael Collison <michael.collison@linaro.org>
572 * genattrtab.c (write_header): Include hash-set.h, machmode.h,
573 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
574 fold-const.h, wide-int.h, and inchash.h when generating
576 * genautomata.c (main) : Include hash-set.h, macInclude hash-set.h, machmode.h,
577 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
578 fold-const.h, wide-int.h, and inchash.h when generating
580 * genemit.c (main): Include hash-set.h, machmode.h,
581 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
582 fold-const.h, wide-int.h, and inchash.h when generating
584 * gengtype.c (open_base_files): Include hash-set.h, machmode.h,
585 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
586 fold-const.h, wide-int.h, and inchash.h when generating
588 * genopinit.c (main): Include hash-set.h, machmode.h,
589 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
590 fold-const.h, wide-int.h, and inchash.h when generating
592 * genoutput.c (output_prologue): Include hash-set.h, machmode.h,
593 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
594 fold-const.h, wide-int.h, and inchash.h when generating
596 * genpeep.c (main): Include hash-set.h, machmode.h,
597 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
598 fold-const.h, wide-int.h, and inchash.h when generating
600 * genpreds.c (write_insn_preds_c): Include hash-set.h, machmode.h,
601 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
602 fold-const.h, wide-int.h, and inchash.h when generating
604 * optc-save-gen-awk: Include hash-set.h, machmode.h,
605 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
606 fold-const.h, wide-int.h, and inchash.h when generating
608 * opth-gen.awk: Change include guard from GCC_C_COMMON_H to GCC_C_COMMON_C
609 when generating options.h.
610 * alias.c: Include hash-set.h, machmode.h,
611 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
612 fold-const.h, wide-int.h, and inchash.h due to
613 flattening of tree.h.
616 * auto-inc-dec.c: Ditto.
617 * auto-profile.c: Ditto
618 * bb-reorder.c: Ditto.
619 * bt-load.c: Include symtab.h due to flattening of tree.h.
620 * builtins.c: Include hash-set.h, machmode.h,
621 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
622 fold-const.h, wide-int.h, and inchash.h due to
623 flattening of tree.h.
624 * calls.c: Include hash-set.h, machmode.h,
625 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
626 fold-const.h, wide-int.h, and inchash.h due to
627 flattening of tree.h.
629 * cfgbuild.c: Include hash-set.h, machmode.h,
630 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
631 fold-const.h, wide-int.h, and inchash.h due to flattening of tree.h.
633 * cfgcleanup.c: Ditto.
634 * cfgexpand.c: Ditto.
636 * cfgloop.c: Include symtab.h, fold-const.h, and
637 inchash.h due to flattening of tree.h.
638 * cfgloopmanip.c: Ditto.
639 * cfgrtl.c: Include hash-set.h, machmode.h,
640 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
641 fold-const.h, wide-int.h, and inchash.h due to
642 flattening of tree.h.
643 * cgraphbuild.c: Ditto.
645 * cgraphclones.c: Ditto.
646 * cgraphunit.c: Ditto.
647 * cilk-common.c: Ditto.
649 * combine-stack-adj.c: Include symbol.h due to flattening of tree.h.
650 * config/aarch64/aarch64-builtins.c: Include hash-set.h, machmode.h,
651 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
652 fold-const.h, wide-int.h, and inchash.h due to
653 flattening of tree.h.
654 * config/aarch64/aarch64.c: Ditto.
655 * config/alpha/alpha.c: Ditto.
656 * config/arc/arc.c: Ditto.
657 * config/arm/aarch-common.c: Ditto.
658 * config/arm/arm-builtins.c: Ditto.
659 * config/arm/arm.c: Ditto.
660 * config/arm/arm-c.c: Ditto.
661 * config/avr/avr.c: Ditto.
662 * config/avr/avr-c.c: Ditto.
663 * config/avr/avr-log.c: Ditto.
664 * config/bfin/bfin.c: Ditto.
665 * config/c6x/c6x.c: Ditto.
666 * config/cr16/cr16.c: Ditto.
667 * config/cris/cris.c: Ditto.
668 * config/darwin.c: Ditto.
669 * config/darwin-c.c: Ditto.
670 * config/default-c.c: Ditto.
671 * config/epiphany/epiphany.c: Ditto.
672 * config/fr30/fr30.c: Ditto.
673 * config/frv/frv.c: Ditto.
674 * config/glibc-c.c: Ditto.
675 * config/h8300/h8300.c: Ditto.
676 * config/i386/i386.c: Ditto.
677 * config/i386/i386-c.c: Ditto.
678 * config/i386/msformat.c: Ditto.
679 * config/i386/winnt.c: Ditto.
680 * config/i386/winnt-cxx.c: Ditto.
681 * config/i386/winnt-stubs.c: Ditto.
682 * config/ia64/ia64.c: Ditto.
683 * config/ia64/ia64-c.c: Ditto.
684 * config/iq2000/iq2000.c: Ditto.
685 * config/lm32/lm32.c: Include symtab.h, fold-const.h,
686 wide-int.h, and inchash.h due to flattening of tree.h.
687 * config/m32c/m32c.c: Include hash-set.h, machmode.h,
688 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
689 fold-const.h, wide-int.h, and inchash.h due to
690 flattening of tree.h.
691 * config/m32c/m32c-pragma.c: Ditto.
692 * config/m32c/m32cr.c: Ditto.
693 * config/m68/m68k.c: Ditto.
694 * config/mcore/mcore.c: Ditto.
695 * config/mep/mep.c: Ditto.
696 * config/mep/mep-pragma.c: Ditto.
697 * config/microblaze/microblaze.c: Ditto.
698 * config/microblaze/microblaze-c.c: Ditto.
699 * config/mips/mips.c: Ditto.
700 * config/mmix/mmix.c: Include symtab.h, fold-const.h,
701 wide-int.h, and inchash.h due to flattening of tree.h.
702 * config/mn10300/mn10300.c: Include hash-set.h, machmode.h,
703 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
704 fold-const.h, wide-int.h, and inchash.h due to
705 flattening of tree.h.
706 * config/moxie/moxie.c: Ditto.
707 * config/msp430/msp430.c: Ditto.
708 * config/msp430/msp430-c.c: Ditto.
709 * config/nds32/nds32.c: Ditto.
710 * config/nds32/nds32-cost.c: Ditto.
711 * config/nds32/nds32-fp-as-gp.c: Ditto.
712 * config/nds32/nds32-intrinsic.c: Ditto.
713 * config/nds32/nds32-isr.c: Ditto.
714 * config/nds32/nds32-md-auxillary.c: Ditto.
715 * config/nds32/nds32-memory-manipulationx.c: Ditto.
716 * config/nds32/nds32-pipelines-auxillary.c: Ditto.
717 * config/nds32/nds32-predicates.c: Ditto.
718 * config/nios2/nios2.c: Ditto.
719 * config/nvptx/nvptx.c: Ditto.
720 * config/pa/pa.c: Ditto.
721 * config/pdp11/pdp11x.c: Include symtab.h, fold-const.h,
722 wide-int.h, and inchash.h due to flattening of tree.h.
723 * config/rl78/rl78.c: Include hash-set.h, machmode.h,
724 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
725 fold-const.h, wide-int.h, and inchash.h due to
726 flattening of tree.h.
727 * config/rl78/rl78-cx.c: Ditto.
728 * config/rs6000/rs6000.c: Ditto.
729 * config/rs6000/rs6000-c.c: Ditto.
730 * config/rx/rx.c: Ditto.
731 * config/s390/s390.c: Ditto.
732 * config/sh/sh.c: Ditto.
733 * config/sh/sc.c: Ditto.
734 * config/sh/sh-mem.cc: Ditto.
735 * config/sh/sh_treg_combine.cc: Include symtab.h, inchash.h and tree.h
736 due to flattening of tree.h.
737 Remove include of tree-core.h.
738 * config/sol2.c: Include hash-set.h, machmode.h,
739 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
740 fold-const.h, wide-int.h, and inchash.h due to
741 flattening of tree.h.
742 * config/sol2-c.c: Ditto.
743 * config/sol2-cxx.c: Ditto.
744 * config/sol2-stubs.c: Ditto.
745 * config/sparc/sparc.c: Ditto.
746 * config/sparc/sparc-cx.c: Ditto.
747 * config/spu/spu.c: Ditto.
748 * config/spu/spu-c.c: Ditto
749 * config/storym16/stormy16.c: Ditto.
750 * config/tilegx/tilegx.c: Include symtab.h, fold-const.h,
751 wide-int.h, and inchash.h due to flattening of tree.h.
752 * config/tilepro/gen-mul-tables.cc: Include symtab.h in generated file.
753 * config/tilegx/tilegx-c.c: Include hash-set.h, machmode.h,
754 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
755 fold-const.h, wide-int.h, and inchash.h due to
756 flattening of tree.h.
757 * config/tilepro/tilepro.c: Include symtab.h, fold-const.h,
758 wide-int.h, and inchash.h due to flattening of tree.h.
759 * config/tilepro/tilepro-c.c: Include hash-set.h, machmode.h,
760 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
761 fold-const.h, wide-int.h, and inchash.h due to
762 flattening of tree.h.
763 * config/v850/v850.c: Ditto.
764 * config/v850/v850-c.c: Ditto.
765 * config/vax/vax.c: Ditto.
766 * config/vms/vms.c: Ditto.
767 * config/vms/vms-c.c: Ditto.
768 * config/vxworks.c: Ditto.
769 * config/winnt-c.c: Ditto.
770 * config/xtensa/xtensa.c: Include symtab.h, fold-const.h,
771 wide-int.h, and inchash.h due to flattening of tree.h.
772 * convert.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
773 input.h, alias.h, symtab.h, options.h, fold-const.h,
774 wide-int.h, and inchash.h due to flattening of tree.h.
776 * cppbuiltin.c: Ditto.
778 * cse.c: Add include of symtab.h due to flattening of tree.h.
779 * cselib.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
780 input.h, alias.h, symtab.h, options.h, fold-const.h,
781 wide-int.h, and inchash.h due to flattening of tree.h.
782 * data-streamer.c: Ditto.
783 * data-streamer-in.c: Ditto.
784 * data-streamer-out.c: Ditto.
787 * ddg.c: Add include of symtab.h due to flattening of tree.h.
788 * debug.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
789 input.h, alias.h, symtab.h, options.h, fold-const.h,
790 wide-int.h, and inchash.h due to flattening of tree.h.
793 * dojump.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
794 input.h, alias.h, symtab.h, options.h, fold-const.h,
795 wide-int.h, inchash.h and real.h due to flattening of tree.h.
796 * double-int.c: Ditto.
799 * dwarf2asm.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
800 input.h, alias.h, symtab.h, fold-const.h,
801 wide-int.h, inchash.h and real.h due to flattening of tree.h.
802 * dwarf2cfi.c: Ditto.
803 * dwarf2out.c: Ditto.
807 * expmed.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
808 input.h, alias.h, symtab.h, fold-const.h,
809 wide-int.h, and inchash.h due to flattening of tree.h.
812 * fixed-value.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
813 input.h, alias.h, symtab.h, fold-const.h,
814 wide-int.h, inchash.h and fixed-value.h due to flattening of tree.h.
815 * fold-const.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
816 input.h, alias.h, symtab.h, fold-const.h,
817 wide-int.h, and inchash.h due to flattening of tree.h.
818 Relocate inline function convert_to_ptrofftype_loc from tree.h.
819 Relocate inline function fold_build_pointer_plus_loc from tree.h.
820 Relocate inline function fold_build_pointer_plus_hwi_loc from tree.h.
821 * fold-const.h: Relocate macro convert_to_ptrofftype from tree.h.
822 Relocate macro fold_build_pointer_plus to relocate from tree.h.h.
823 Relocate macro fold_build_pointer_plus_hwi from tree.h.
824 Add prototype for convert_to_ptrofftype_loc relocated from tree.h.
825 Add prototype for fold_build_pointer_plus_loc relocated from tree.h.
826 Add prototype for fold_build_pointer_plus_hwi_loc relocated from tree.h.
827 * function.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
828 input.h, alias.h, symtab.h, fold-const.h,
829 wide-int.h, and inchash.h due to flattening of tree.h.
830 * gcc-plugin.h: Include statistics.h, double-int.h, real.h, fixed-value.h,
831 alias.h, flags.h, and symtab.h due to flattening of tree.h
833 * generic-match-head.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
834 input.h, alias.h, symtab.h, options.h, fold-const.h,
835 wide-int.h, and inchash.h due to flattening of tree.h.
836 * ggc-page.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
837 input.h, alias.h, symtab.h, fold-const.h,
838 wide-int.h, and inchash.h due to flattening of tree.h.
839 * gimple-builder.c: Ditto.
841 * gimple-expr.c: Ditto.
842 * gimple-fold.c: Ditto.
843 * gimple-iterator.c: Ditto.
844 * gimple-low.c: Ditto.
845 * gimple-match-head.c: Ditto.
846 * gimple-pretty-print.c: Ditto.
847 * generic-ssa-isolate-paths.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
848 input.h, alias.h, symtab.h, options.h, fold-const.h,
849 wide-int.h, and inchash.h due to flattening of tree.h.
850 * gimple-ssa-strength-reduction.c: Ditto.
851 * gimple-streamer-in.c: Ditto.
852 * gimple-streamer-out.c: Ditto.
853 * gimple-walk.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
854 input.h, alias.h, symtab.h, fold-const.h,
855 wide-int.h, and inchash.h due to flattening of tree.h.
856 * gimplify.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
857 input.h, alias.h, symtab.h, options.h, fold-const.h,
858 wide-int.h, and inchash.h due to flattening of tree.h.
859 * gimplify-me.c: Ditto.
860 * graphite-blocking.c: Ditto.
862 * graphite-dependencies.c: Ditto.
863 * graphite-interchange.c: Ditto.
864 * graphite-isl-ast-to-gimple.c: Ditto.
865 * graphite-optimize-isl.c: Ditto.
866 * graphite-poly.c: Ditto.
867 * graphite-scop-detection.c: Ditto.
868 * graphite-sese-to-poly.c: Ditto.
869 * hw-doloop.c: Include symtab.h due to flattening of tree.h.
871 * init-regs.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
872 input.h, alias.h, symtab.h, fold-const.h,
873 wide-int.h, and inchash.h due to flattening of tree.h.
874 * internal-fc.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
875 input.h, alias.h, symtab.h,options.h, fold-const.h,
876 wide-int.h, and inchash.h due to flattening of tree.h.
879 * ipa-comdats.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
880 input.h, alias.h, symtab.h, fold-const.h,
881 wide-int.h, and inchash.h due to flattening of tree.h.
882 * ipa-cp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
883 input.h, alias.h, symtab.h,options.h, fold-const.h,
884 wide-int.h, and inchash.h due to flattening of tree.h.
885 * ipa-devirt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
886 input.h, alias.h, symtab.h, fold-const.h,
887 wide-int.h, and inchash.h due to flattening of tree.h.
888 * ipa-icf.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
889 input.h, alias.h, symtab.h,options.h, fold-const.h,
890 wide-int.h, and inchash.h due to flattening of tree.h.
891 * ipa-icf-gimple.c: Ditto.
892 * ipa-inline-analysis.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
893 input.h, alias.h, symtab.h, fold-const.h,
894 wide-int.h, and inchash.h due to flattening of tree.h.
895 * ipa-inline.c: Ditto.
896 * ipa-inline-transform.c: Ditto.
897 * ipa-polymorhpic-call.c: Ditto.
898 * ipa-profile.c: Ditto.
899 * ipa-prop.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
900 input.h, alias.h, symtab.h, options.h, fold-const.h,
901 wide-int.h, and inchash.h due to flattening of tree.h.
902 * ipa-pure-const.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
903 input.h, alias.h, symtab.h, fold-const.h,
904 wide-int.h, and inchash.h due to flattening of tree.h.
905 * ipa-ref.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
906 input.h, alias.h, symtab.h, options.h, fold-const.h,
907 wide-int.h, and inchash.h due to flattening of tree.h.
908 * ipa-reference.c: Ditto.
909 * ipa-split.c: Ditto.
910 * ipa-utils.c: Ditto.
911 * ipa-visbility.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
912 input.h, alias.h, symtab.h, fold-const.h,
913 wide-int.h, and inchash.h due to flattening of tree.h.
915 * ira-color.c: Include hash-set.h due to flattening of tree.h.
916 * ira-costs.c: Ditto.
918 * jump.c: Include symtab.h due to flattening of tree.h.
919 * langhooks.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
920 input.h, alias.h, symtab.h, fold-const.h,
921 wide-int.h, and inchash.h due to flattening of tree.h.
922 * loop-doloop.c: Include symtab.h due to flattening of tree.h.
923 * loop-init.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
924 input.h, alias.h, symtab.h, fold-const.h,
925 wide-int.h, and inchash.h due to flattening of tree.h.
926 * loop-invariant.c: Include symtab.h due to flattening of tree.h.
928 * loop-unroll.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
929 input.h, alias.h, symtab.h, fold-const.h,
930 wide-int.h, and inchash.h due to flattening of tree.h.
931 * lower-subreg.c: Ditto.
932 * lra-assigns.c: Include symtab.h due to flattening of tree.h.
933 * lra.c: Include symtab.h, fold-const.h, wide-int.h and inchash.h
934 due to flattening of tree.h.
935 * lra-coalesce.c: Include symtab.h due to flattening of tree.h.
936 * lra-constraints.c: Ditto.
937 * lra-eliminations.c: Ditto.
939 * lra-remat.c: Ditto.
940 * lra-spills.c: Ditto.
941 * lto-cgraph.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
942 input.h, alias.h, symtab.h, fold-const.h,
943 wide-int.h, and inchash.h due to flattening of tree.h.
944 * lto-compress.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
945 input.h, alias.h, symtab.h, options, fold-const.h,
946 wide-int.h, and inchash.h due to flattening of tree.h.
948 * lto-section-in.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
949 input.h, alias.h, symtab.h, fold-const.h,
950 wide-int.h, and inchash.h due to flattening of tree.h.
951 * lto-section-out.c: Ditto.
952 * lto-streamer.c: Ditto.
953 * lto-streamer-in.c: Ditto.
954 * lto-streamer-out.c: Ditto.
955 * modulo-sched.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
956 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
957 inchash.h due to flattening of tree.h.
958 * omega.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
959 input.h, alias.h, symtab.h, options, fold-const.h,
960 wide-int.h, and inchash.h due to flattening of tree.h.
961 * omega-low.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
962 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
963 inchash.h due to flattening of tree.h.
965 * opts-global.c: Ditto.
967 * plugin.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
968 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
969 inchash.h due to flattening of tree.h.
970 * postreload.c: Include symtab.h due to flattening of tree.h.
971 * postreload-gcse.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
972 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
973 inchash.h due to flattening of tree.h.
975 * print-rtl.c: Ditto.
976 * print-tree.c: Ditto.
977 * profile.c: Include symtab.h, fold-const.h
978 and inchash.h due to flattening of tree.h.
979 * real.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
980 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
981 inchash.h due to flattening of tree.h.
982 * realmpfr.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
983 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
984 inchash.h due to flattening of tree.h.
985 * recog.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
986 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
987 inchash.h due to flattening of tree.h.
990 * reg-stack.c: Ditto.
991 * reload1.c: Include symtab.h, fold-const.h, wide-int.h
992 and inchash.h due to flattening of tree.h.
993 * reload.c: Include symtab.h due to flattening of tree.h.
995 * rtlanal.c: Include symtab.h, fold-const.h, wide-int.h
996 and inchash.h due to flattening of tree.h.
997 * rtl-chkp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
998 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
999 inchash.h due to flattening of tree.h.
1000 * rtlhooks.c: Include symtab.h due to flattening of tree.h.
1001 * sanopt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1002 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1003 inchash.h due to flattening of tree.h.
1004 * sched-deps.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1005 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1006 inchash.h due to flattening of tree.h.
1007 * sched-vis.c: Ditto.
1009 * sel-sched.c: Include symtab.h, fold-const.h, wide-int.h
1010 and inchash.h due to flattening of tree.h.
1011 * sel-sched-ir.c: Ditto.
1012 * sese.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1013 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1014 inchash.h due to flattening of tree.h.
1015 * shrink-wrap.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1016 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1017 inchash.h due to flattening of tree.h.
1018 * simplify-rtx.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1019 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1020 inchash.h due to flattening of tree.h.
1021 * stack-ptr-mod.c: Ditto.
1023 * store-motion.c: Ditto.
1024 * store-layout.c: Ditto.
1025 * stringpool.c: Ditto.
1027 * target-globals.c: Ditto.
1028 * targhooks.c: Ditto.
1031 * trans-mem.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1032 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1033 inchash.h due to flattening of tree.h.
1034 * tree-affine.c: Ditto.
1035 * tree-browser.c: Ditto.
1036 * tree.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1037 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1038 inchash.h due to flattening of tree.h.
1039 * tree-call-cdce.c: Include symtab.h, alias.h, double-int.h,
1040 fold-const.h, wide-int.h, inchash.h and real.h due to
1041 flattening of tree.h.
1042 * tree-cfg.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1043 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1044 inchash.h due to flattening of tree.h.
1045 * tree-cfgcleanup.c: Ditto.
1046 * tree-chkp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1047 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1048 inchash.h due to flattening of tree.h.
1049 * tree-chkp-opt.c: Ditto.
1050 * tree-chrec.c: Ditto.
1051 * tree-chkp-opt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1052 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
1053 real.h due to flattening of tree.h.
1054 * tree-core.h: Flatten header file by removing all #include statements.
1055 * tree-data-ref.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1056 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1057 inchash.h due to flattening of tree.h.
1058 * tree-dfa.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1059 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
1060 real.h due to flattening of tree.h.
1061 * tree-diagnostic.c: Ditto.
1062 * tree-dump.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1063 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h, real.h and
1064 fixed-value.h due to flattening of tree.h.
1065 * tree-dfa.c: Ditto.
1066 * tree-eh.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1067 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
1068 real.h due to flattening of tree.h.
1069 * tree-emutls.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1070 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1071 inchash.h due to flattening of tree.h.
1072 * tree.h: Flatten header files by removing all includes except tree-core.h.
1073 Remove inline function convert_to_ptrofftype_loc to relocate to fold-const.c.
1074 Remove macro convert_to_ptrofftype to relocate to fold-const.h.
1075 Remove inline function fold_build_pointer_plus_loc to relocate to fold-const.c.
1076 Remove macro fold_build_pointer_plus to relocate to fold-const.h.
1077 Remove inline function fold_build_pointer_plus_hwi_loc to relocate to fold-const.c.
1078 Remove macro fold_build_pointer_plus_hwi to relocate to fold-const.h.
1079 * tree-if-conv.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1080 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h, real.h and
1081 fixed-value.h due to flattening of tree.h.
1082 * tree-inline.c: Ditto.
1083 * tree-into-ssa.c: Ditto.
1084 * tree-iterator.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1085 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1086 inchash.h due to flattening of tree.h.
1087 * tree-loop-distribution.c: Ditto.
1088 * tree-nested.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1089 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1090 due to flattening of tree.h.
1091 * tree-nrv.c: Ditto.
1092 * tree-object-size.c: Ditto.
1093 * tree-outof-ssa.c: Ditto.
1094 * tree-parloops.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1095 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1096 inchash.h due to flattening of tree.h.
1097 * tree-phinodes.c: Ditto.
1098 * tree-predcom.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1099 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1100 due to flattening of tree.h.
1101 * tree-pretty-print.c: Ditto.
1102 * tree-profile.c: double-int.h, input.h, alias.h, symtab.h,
1103 fold-const.h, wide-int.h and inchash.h due to flattening of tree.h.
1104 * tree-scalar-evolution.c: Include hash-set.h, machmode.h, vec.h,
1105 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1106 wide-int.h and inchash.h due to flattening of tree.h.
1107 * tree-sra.c: Include vec.h, double-int.h,
1108 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1109 inchash.h due to flattening of tree.h.
1110 * tree-ssa-alias.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1111 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1112 due to flattening of tree.h.
1113 * tree-ssa.c: Ditto.
1114 * tree-ssa-ccp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1115 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h
1116 and real.h due to flattening of tree.h.
1117 * tree-ssa-coalesce.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1118 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1119 due to flattening of tree.h.
1120 * tree-ssa-copy.c: Ditto.
1121 * tree-ssa-copyrename.c: Ditto.
1122 * tree-ssa-dce.c: Ditto.
1123 * tree-ssa-dom.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1124 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h
1125 and real.h due to flattening of tree.h.
1126 * tree-ssa-dse.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1127 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1128 due to flattening of tree.h.
1129 * tree-ssa-forwprop.c: Ditto.
1130 * tree-ssa-ifcombine.c: Ditto.
1131 * tree-ssa-live.c: Ditto.
1132 * tree-ssa-loop.c: Ditto.
1133 * tree-ssa-loop-ch.c: Ditto.
1134 * tree-ssa-loop-im.c: Ditto.
1135 * tree-ssa-loop-ivcanon.c: Ditto.
1136 * tree-ssa-loop-ivopts.c: Ditto.
1137 * tree-ssa-loop-manip.c: Ditto.
1138 * tree-ssa-loop-niter.c: Ditto.
1139 * tree-ssa-loop-prefetch.c: Ditto.
1140 * tree-ssa-loop-unswitch.c: Ditto.
1141 * tree-ssa-loop-math-opts.c: Ditto.
1142 * tree-ssanames.c: Ditto.
1143 * tree-ssa-operands.c: Ditto.
1144 * tree-ssa-phiopt.c: Ditto.
1145 * tree-ssa-phiprop.c: Ditto.
1146 * tree-ssa-pre.c: Ditto.
1147 * tree-ssa-propagate.c: Ditto.
1148 * tree-ssa-reassoc.c: Ditto.
1149 * tree-ssa-sccvn.c: Ditto.
1150 * tree-ssa-sink.c: Ditto.
1151 * tree-ssa-strlen.c: Include hash-set.h, machmode.h, vec.h,
1152 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1153 wide-int.h and inchash.h due to flattening of tree.h.
1154 * tree-ssa-structalias.c: double-int.h, input.h, alias.h, symtab.h,
1155 fold-const.h, wide-int.h and inchash.h due to flattening of tree.h.
1156 * tree-ssa-tail-merge.c: Include hash-set.h, machmode.h, vec.h,
1157 double-int.h, input.h, alias.h, symtab.h, fold-const.h,
1158 wide-int.h and inchash.h due to flattening of tree.h.
1159 * tree-ssa-ter.c: Ditto.
1160 * tree-ssa-threadedge.c: Ditto.
1161 * tree-ssa-threadupdate.c: Include hash-set.h, machmode.h, vec.h,
1162 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1163 wide-int.h and inchash.h due to flattening of tree.h.
1164 * tree-ssa-uncprop.c: Include hash-set.h, machmode.h, vec.h,
1165 double-int.h, input.h, alias.h, symtab.h, fold-const.h,
1166 wide-int.h and inchash.h due to flattening of tree.h.
1167 * tree-ssa-uninit.c: Ditto.
1168 * tree-stdarg.c: Include vec.h, double-int.h, input.h, alias.h,
1169 symtab.h, fold-const.h, wide-int.h and inchash.h due to flattening
1171 * tree-streamer.c: Include vec.h, double-int.h, input.h, alias.h,
1172 symtab.h, options.h, fold-const.h, wide-int.h and
1173 inchash.h due to flattening of tree.h.
1174 * tree-streamer-in.c: Include hash-set.h, machmode.h, vec.h,
1175 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1176 wide-int.h, inchash.h, real.h and fixed-value.h due to flattening
1178 * tree-streamer-out.c: Dittoo.
1179 * tree-switch-conversion.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1180 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1181 due to flattening of tree.h.
1182 * tree-tailcall.c: Ditto.
1183 * tree-vect-data-refs.c: Ditto.
1184 * tree-vect-generic.c: Include hash-set.h, machmode.h, vec.h, double-int.h, input.h,
1185 alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
1186 due to flattening of tree.h.
1187 * tree-vect-loop.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1188 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1189 due to flattening of tree.h.
1190 * tree-vect-loop-manip.c: Ditto.
1191 * tree-vectorizer.c: Ditto.
1192 * tree-vect-patterns.c: Ditto.
1193 * tree-vect-slp.c: Ditto.
1194 * tree-vect-stmts.c: Ditto.
1195 * tree-vrp.c: Ditto.
1196 * tsan.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1197 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
1198 due to flattening of tree.h.
1200 * value-prof.c.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1201 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1202 due to flattening of tree.h.
1205 * var-tracking.c: Ditto.
1206 * vmsdbgout.c: Ditto.
1207 * vtable-verify.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1208 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
1209 due to flattening of tree.h.
1210 * wide-int.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
1211 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1212 due to flattening of tree.h.
1213 * xcoffout.c: Ditto.
1215 2015-01-09 Tom de Vries <tom@codesourcery.com>
1217 PR rtl-optimization/64539
1218 * regcprop.c (kill_clobbered_values): Factor out of ...
1219 (copyprop_hardreg_forward_1): ... here. Use kill_clobbered_values
1220 instead of note_stores with kill_clobbered_value.
1222 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1224 * ginclude/unwind-arm-common.h: Revert previous commit.
1226 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1228 * config.gcc (arm*-*-freebsd*): New configuration.
1229 * config/arm/freebsd.h: New file.
1230 * config.host: Add extra components for arm*-*-freebsd*.
1231 * config/arm/arm.h: Introduce MAX_SYNC_LIBFUNC_SIZE.
1232 * config/arm/arm.c (arm_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE.
1234 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
1236 * config/rs6000/rtems.h (CPP_OS_RTEMS_SPEC): Define __PPC_CPU_E6500__
1238 * config/rs6000/t-rtems: Add e6500 multilibs.
1240 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
1242 * config/rs6000/t-rtems: Add -mno-spe to soft-float multilib for
1245 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
1247 * config/rs6000/t-rtems: Use MULTILIB_REQUIRED instead of
1248 MULTILIB_EXCEPTIONS.
1250 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
1252 * config/arm/t-rtems: Use MULTILIB_REQUIRED instead of
1253 MULTILIB_EXCEPTIONS.
1255 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
1257 * config/arm/t-rtems-eabi: Rename to...
1258 * config/arm/t-rtems: ...this.
1259 * config/arm/rtems-eabi.h: Rename to...
1260 * config/arm/rtems.h: ...this.
1261 * config.gcc (arm*-*-rtems*): Reflect changes above.
1263 2015-01-09 Richard Biener <rguenther@suse.de>
1265 PR tree-optimization/64410
1266 * tree-ssa.c (non_rewritable_lvalue_p): Allow REALPART/IMAGPART_EXPR
1268 (execute_update_addresses_taken): Deal with that.
1269 * tree-ssa-forwprop.c (pass_forwprop::execute): Use component-wise
1270 loads/stores for complex variables.
1272 2015-01-09 Martin Liska <mliska@suse.cz>
1274 * ipa-icf-gimple.c (func_checker::compare_ssa_name): Enhance SSA
1276 (func_checker::compare_memory_operand): New function.
1277 (func_checker::compare_operand): Split case to newly
1279 (func_checker::compare_cst_or_decl): New function.
1280 (func_checker::compare_gimple_call): Identify
1282 (func_checker::compare_gimple_assign): Likewise.
1283 * ipa-icf-gimple.h: New function.
1285 2015-01-09 Martin Liska <mliska@suse.cz>
1288 * sreal.c (sreal::dump): Change unsigned format to signed for
1290 (sreal::to_double): Replace exp2 with scalbln.
1292 2015-01-09 Martin Liska <mliska@suse.cz>
1294 * cgraphunit.c (cgraph_node::create_wrapper): Fix level of indentation.
1295 * ipa-icf.c (sem_function::equals_private): Add support for target and
1296 (sem_item_optimizer::merge_classes): Remove redundant function
1297 optimization flags comparison.
1298 * tree.h (target_opts_for_fn): New function.
1300 2015-01-09 Tom de Vries <tom@codesourcery.com>
1302 * omp-low.c (expand_omp_for_static_chunk): Fix assert.
1304 2015-01-09 Kito Cheng <kito@0xlab.org>
1306 PR rtl-optimization/64348
1307 * lra-constraints.c (split_reg): Fix caller-save store/restore
1308 instruction generation.
1310 2015-01-08 John David Anglin <danglin@gcc.gnu.org>
1312 PR gcov-profile/61790
1313 * gcov-tool.c (do_rewrite): Use strtoll instead of atoll if host has
1314 long long. Fallback to int64_t if host doesn't have long long and
1315 use strtol if int64_t is long. Otherwise, use sscanf for conversion.
1317 2015-01-08 Jakub Jelinek <jakub@redhat.com>
1319 PR tree-optimization/63989
1320 * params.def (PARAM_MAX_TRACKED_STRLENS): Increment default
1322 * tree-ssa-strlen.c (get_strinfo): Moved earlier.
1323 (get_stridx): If we don't have a record for certain SSA_NAME,
1324 but it is POINTER_PLUS_EXPR of some SSA_NAME we do with
1325 constant offset, call get_stridx_plus_constant.
1326 (get_stridx_plus_constant): New function.
1327 (zero_length_string): Don't use get_stridx here.
1331 * dse.c (struct insn_info): Mention frame_read set also
1332 before reload for tail calls on some targets.
1333 (scan_insn): Revert 2014-12-22 change. Set frame_read
1334 also before reload for tail calls if
1335 HARD_FRAME_POINTER_IS_ARG_POINTER. Call add_wild_read
1336 instead of add_non_frame_wild_read for non-const/memset
1337 tail calls after reload.
1339 2015-01-08 Jason Merrill <jason@redhat.com>
1341 * ubsan.c (do_ubsan_in_current_function): New.
1342 (pass_ubsan::gate): Use it.
1343 * ubsan.h: Declare it.
1344 * convert.c (convert_to_integer): Use it.
1346 2015-01-08 Jakub Jelinek <jakub@redhat.com>
1349 * config/i386/i386.c (ix86_expand_int_movcc): Don't reverse
1350 compare_code when it is unconditionally overwritten afterwards.
1351 Use ix86_reverse_condition instead of reverse_condition. Don't
1352 change code if *reverse_condition* returned UNKNOWN and don't
1353 swap ct/cf and negate diff in that case.
1355 2015-01-08 Mike Stump <mikestump@comcast.net>
1357 * tsan.c (pass_tsan::gate): Add no_sanitize_thread support.
1358 (pass_tsan_O0::gate): Likewise.
1359 * extend.texi (Function Attributes): Add no_sanitize_thread
1362 2015-01-08 Thomas Schwinge <thomas@codesourcery.com>
1364 * builtins.def (DEF_GOMP_BUILTIN): Also consider flag_offload_abi
1365 for registering builtins.
1366 * config/i386/intelmic-mkoffload.c (prepare_target_image): Don't
1367 add -fopenmp to the argv_obstack used when invoking
1370 * config/i386/intelmic-mkoffload.c (compile_for_target): Always
1371 add "-m32" or "-m64" to argv_obstack.
1372 (generate_host_descr_file): Likewise, when invoking host_compiler.
1373 (main): Always add "-m elf_i386" or "-m elf_x86_64" when invoking
1376 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
1378 * config/sh/sh-mem.cc: Use constant as second operand when emitting
1381 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
1384 * config/sh/sh.md (*addsi3_compact): Emit reg-reg copy instead of
1385 constant load if constant operand fits into I08.
1387 2015-01-08 Jakub Jelinek <jakub@redhat.com>
1390 * tree.c (build2_stat): Fix up initialization of TREE_READONLY
1391 and TREE_THIS_VOLATILE for MEM_REFs.
1392 (build5_stat): Fix up initialization of TREE_READONLY and
1393 TREE_THIS_VOLATILE for TARGET_MEM_REFs.
1395 2015-01-08 Kaz Kojima <kkojima@gcc.gnu.org>
1398 * config/sh/sh.md (*addsi3_compact): Use u constraint instead
1399 of r for the second alternative of the destination operand.
1401 2015-01-07 Segher Boessenkool <segher@kernel.crashing.org>
1404 * config/rs6000/rs6000.md (*eqsi3_ext<mode>, *nesi3_ext<mode>): New.
1406 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
1408 * doc/invoke.texi ([-fvtable-verify]): Fix markup on option
1410 ([-fivar-visibility], [-fvisibility]): Likewise.
1412 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
1414 * doc/invoke.texi: Fix incorrect uses of @samp markup throughout
1415 the file where @code, @command, etc is more appropriate.
1417 2015-01-06 Sandra Loosemore <sandra@codesourcery.com>
1419 * doc/invoke.texi (RS/6000 and PowerPC Options): Tidy formatting
1420 of -mrecip= documentation.
1422 2015-01-06 Michael Meissner <meissner@linux.vnet.ibm.com>
1425 * config/rs6000/rs6000.c (rs6000_secondary_reload): Return the
1426 correct reload handler if -m32 -mpowerpc64 is used.
1428 2015-01-06 Tom de Vries <tom@codesourcery.com>
1430 * tree-ssa-tail-merge.c: Fix typo in struct same_succ_def comment.
1432 2015-01-08 Christian Bruel <christian.bruel@st.com>
1435 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Check 0 length.
1437 2015-01-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1439 PR tree-optimization/63259
1440 * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Stop checking
1441 if optab exists for 16bit byteswap.
1443 2015-01-06 Jakub Jelinek <jakub@redhat.com>
1445 * opts.c (common_handle_option): Add support for
1446 -fno-sanitize=all and -f{,no-}sanitize-recover=all.
1447 * doc/invoke.texi: Document -fno-sanitize=all,
1448 -f{,no-}sanitize-recover=all. Document that
1449 -fsanitize=float-cast-overflow is not enabled
1450 by -fsanitize=undefined. Fix up documentation
1451 of -f{,no-}sanitize-recover.
1453 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
1455 * config.gcc: Add Visium support.
1456 * configure.ac: Likewise.
1457 * configure: Regenerate.
1458 * doc/extend.texi (interrupt attribute): Add Visium.
1459 * doc/invoke.texi: Document Visium options.
1460 * doc/install.texi: Document Visium target.
1461 * doc/md.texi: Document Visium constraints.
1462 * common/config/visium: New directory.
1463 * config/visium: Likewise.
1465 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
1467 * simplify-rtx.c (simplify_binary_operation_1): Handle more cases
1468 for the "(and X (ior (not X) Y) -> (and X Y)" transform.
1470 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
1472 * combine.c (combine_validate_cost): Do not count the cost of a
1473 split I2 twice. Do not display it twice in the dump, either.
1475 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
1477 Revert parts of r219199.
1478 * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
1480 ([-Wtraditional]): Restore markup on <limits.h>.
1482 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
1485 * doc/invoke.texi: Document -Wsuggest-override.
1487 2015-01-05 Radovan Obradovic <radovan.obradovic@imgtec.com>
1489 PR rtl-optimization/64287
1490 * toplev.c (HAVE_epilogue, HAVE_prologue): Provide default.
1491 (process_options): Disable flag_ipa_ra if profiling.
1493 2015-01-05 Eric Botcazou <ebotcazou@adacore.com>
1495 * config/nds32/nds32-peephole2.md: Do not mention define_peephole.
1497 2015-01-05 Max Filippov <jcmvbkbc@gmail.com>
1499 * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
1500 hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
1501 put under #if TARGET_LOOPS guard.
1503 2015-01-05 Uros Bizjak <ubizjak@gmail.com>
1505 * config/i386/i386.c (output_387_binary_op): Use std::swap.
1507 2015-01-05 Oleg Endo <olegendo@gcc.gnu.org>
1509 * rtlanal.c (refers_to_regno_p): Change return value from int to bool.
1510 * rtl.h (refers_to_regno_p): Add overload.
1512 * bt-load.c: Likewise.
1513 * combine.c: Likewise.
1514 * df-scan.c: Likewise.
1515 * sched-deps.c: Likewise.
1516 * config/s390/s390.c: Likewise.
1517 * config/m32r/m32r.c: Likewise.
1518 * config/rs6000/spe.md: Likewise.
1519 * config/rs6000/rs6000.c: Likewise.
1520 * config/pa/pa.c: Likewise.
1521 * config/stormy16/stormy16.c: Likewise.
1522 * config/cris/cris.c: Likewise.
1523 * config/arc/arc.md: Likewise.
1524 * config/arc/arc.c: Likewise.
1525 * config/sh/sh.md: Likewise.
1526 * config/sh/sh.c: Likewise.
1527 * config/frv/frv.c: Likewise.
1529 2015-01-05 Jakub Jelinek <jakub@redhat.com>
1532 * gimplify.c (gimplify_function_tree): Add TSAN_FUNC_EXIT internal
1533 call as cleanup of the whole body.
1534 * internal-fn.def (TSAN_FUNC_EXIT): New internal call.
1535 * tsan.c (replace_func_exit): New function.
1536 (instrument_func_exit): Moved earlier.
1537 (instrument_memory_accesses): Adjust TSAN_FUNC_EXIT internal calls.
1538 Call instrument_func_exit if no TSAN_FUNC_EXIT internal calls have
1540 (tsan_pass): Don't call instrument_func_exit.
1541 * internal-fn.c (expand_TSAN_FUNC_EXIT): New function.
1542 * tree-inline.c (copy_bb): Drop TSAN_FUNC_EXIT internal calls during
1546 * ubsan.h (ubsan_instrument_float_cast): Add ARG argument.
1547 * ubsan.c (ubsan_instrument_float_cast): Add ARG argument, pass
1548 it to libubsan handler instead of EXPR. Fold comparisons earlier,
1549 if the result is integer_zerop, return NULL_TREE.
1550 * convert.c (convert_to_integer): Pass expr as ARG.
1552 PR tree-optimization/64465
1553 * tree-inline.c (redirect_all_calls): During inlining
1554 clean up EH stmts and EH edges if redirect_call_stmt_to_callee
1555 changed the stmt to a non-throwing call.
1557 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
1559 * doc/invoke.texi: Fix incorrect uses of @code, @option, @samp,
1560 etc markup throughout the file.
1562 2015-01-05 Bernd Edlinger <bernd.edlinger@hotmail.de>
1564 Enable experimental TSAN support for Ada.
1565 * tsan.c (instrument_expr): Handle VIEW_CONVERT_EXPR.
1567 2015-01-05 Jakub Jelinek <jakub@redhat.com>
1569 PR tree-optimization/64494
1570 * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
1571 clear SSA_NAME_ANTI_RANGE_P flag.
1573 2015-01-05 Marek Polacek <polacek@redhat.com>
1575 * doc/extend.texi (Arrays of Length Zero): Add missing comma.
1577 2015-01-05 Jakub Jelinek <jakub@redhat.com>
1579 Update copyright years.
1581 * gcc.c (process_command): Update copyright notice dates.
1582 * gcov-dump.c: Ditto.
1584 * doc/cpp.texi: Bump @copying's copyright year.
1585 * doc/cppinternals.texi: Ditto.
1586 * doc/gcc.texi: Ditto.
1587 * doc/gccint.texi: Ditto.
1588 * doc/gcov.texi: Ditto.
1589 * doc/install.texi: Ditto.
1590 * doc/invoke.texi: Ditto.
1592 * auto-profile.c, auto-profile.h: Fix up Copyright line.
1594 2015-01-04 Sandra Loosemore <sandra@codesourcery.com>
1596 * doc/invoke.texi ([-fsized-deallocation]): Copy-edit to fix
1598 ([-fvtable-verify], [-fvtv-debug]): Likewise.
1599 ([-Wabi]): Likewise.
1600 ([-fmessage-length]): Likewise.
1601 ([-Wsuggest-final-types], [-Wsuggest-final-methods]): Likewise.
1602 ([-Wno-discarded-qualifiers]): Likewise.
1603 ([-Wnodiscarded-array-qualifiers]): Likewise.
1604 ([-Wno-virtual-move-assign]): Likewise.
1605 ([-fsanitize=address], [-fsanitize=thread]): Likewise.
1606 ([-fsanitize=leak], [-fsanitize=undefined]): Likewise.
1607 ([-fsanitize=unreachable], [-fsanitize-recover]): Likewise.
1608 ([-fsanitize-undefined-trap-on-error]): Likewise.
1609 ([-floop-interchange]): Likewise.
1610 ([-ftree-coalesce-inlined-vars]): Likewise.
1611 ([-fvect-cost-model]): Likewise.
1612 ([-flto]): Likewise.
1613 ([--param]): Likewise.
1614 (Spec Files): Likewise.
1615 ([-mstrict-align]): Likewise.
1616 ([-mfix-cortex-a53-835769]): Likewise.
1617 ([-march], [-mtune]): Likewise.
1618 ([-mpic-register]): Likewise.
1619 ([-munaligned-access]): Likewise.
1620 ([-msp8]): Likewise.
1621 (EIND and Devices with more than 128 Ki Bytes of Flash): Likewise.
1622 (AVR Built-in Macros): Likewise.
1623 ([-mpreferred-stack-boundary]): Likewise.
1624 ([-mtune-crtl]): Likewise.
1625 ([-mashf]): Likewise.
1626 ([-mmcu=]): Likewise.
1627 ([-minrt]): Likewise.
1628 ([-maltivec], [-maltivec=be], [-maltivec=le]): Likewise.
1629 ([-mupper-regs]): Likewise.
1630 ([-matomic-model]): Likewise.
1631 ([-mdiv]): Likewise.
1632 ([-mzdcbranch]): Likewise.
1633 ([-mdisable-callt]): Likewise.
1634 ([-msoft-float]): Likewise.
1635 ([-m8byte-align]): Likewise.
1636 ([-fstack-reuse]): Likewise.
1638 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
1640 * doc/invoke.texi ([-fprofile-generate], [-fprofile-use]):
1641 Fix markup, light copy-editing.
1642 ([-fauto-profile]): Rewrite to fix formatting and content
1645 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
1647 * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]):
1648 Copy-edit description.
1649 ([-fisolate-erroneous-paths-attribute]): Likewise.
1650 * common.opt (fisolate-erroneous-paths-dereference):
1651 Copy-edit description.
1652 (fisolate-erroneous-paths-attribute): Likewise.
1654 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
1656 * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
1659 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
1661 * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
1662 ([-fvtv-debug]): Likewise.
1663 ([-Wc++-compat]): Likewise.
1664 ([-Wc++11-compat]): Likewise.
1665 ([-Wc++14-compat]): Likewise.
1666 ([-Wno-sized-deallocation]): Likewise.
1667 ([-femit-class-debug-always]): Likewise.
1668 ([-femit-struct-debug-detailed]): Likewise.
1669 ([-fno-keep-inline-dllexport]): Likewise.
1670 ([-fira-algorithm]): Likewise.
1671 ([-fira-region]): Likewise.
1672 ([-flra-remat]): Likewise.
1673 ([-fipa-ra]): Likewise.
1674 ([-fhoist-adjacent-loads]): Likewise.
1675 ([-fisolate-erroneous-paths-dereference]): Likewise.
1676 ([-fisolate-erroneous-paths-attribute]): Likewise.
1677 ([-ftree-switch-conversion]): Likewise.
1678 ([-ftree-tail-merge]): Likewise.
1679 ([-ftree-loop-if-convert]): Likewise.
1680 ([-ftree-loop-if-convert-stores]): Likewise.
1681 ([-ftree-loop-distribution]): Likewise.
1682 ([-ftree-loop-distribute-patterns]): Likewise.
1683 ([-flto-compression-level]): Likewise.
1684 ([-flto-report]): Likewise.
1685 ([-flto-report-wpa]): Likewise.
1686 ([-fuse-linker-plugin]): Likewise.
1687 ([-mfix-cortex-a53-835769]): Likewise.
1688 ([-mno-fix-cortex-a53-835769]): Likewise.
1689 ([-mmmx]...[-mno-3dnow]): Remove the -mno- forms from the
1690 explicit listing; add a note to the discussion indicating they
1691 exist. Reorder table to group similar options. Add missing
1692 @opindex entries. Add @need commands throughout the table to
1693 allow it to be split across multiple pages.
1694 ([-m8bit-idiv]): Fix @opindex.
1695 ([-mavx256-split-unaligned-load]): Likewise.
1696 ([-mavx256-split-unaligned-store]): Likewise.
1697 ([-mstack-protector-guard]): Likewise.
1698 ([-mcpu=]): Likewise.
1699 ([-mcpu]): Likewise.
1700 ([-mpointer-size=]): Likewise.
1702 2015-01-03 John David Anglin <danglin@gcc.gnu.org>
1704 * config/pa/pa.md (decrement_and_branch_until_zero): Use `Q' constraint
1705 instead of `m' constraint. Likewise for unnamed movb comparison
1706 patterns using reg_before_reload_operand predicate.
1707 * config/pa/predicates.md (reg_before_reload_operand): Tighten
1708 predicate to reject register index and LO_SUM DLT memory forms
1711 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
1713 * doc/invoke.texi (Option Summary): Fix spelling of
1714 -fdevirtualize-at-ltrans.
1715 ([-fdevirtualize]): Fix markup.
1716 ([-fdevirtualize-speculatively]): Fix typo.
1717 ([-fdevirtualize-at-ltrans]): Likewise. Make description less
1719 * common.opt (fdevirtualize-at-ltrans): Likewise.
1720 * ipa-devirt.c: Fix typos in comments throughout the file.
1721 (ipa_devirt): Fix typos in format strings for dump output.
1723 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
1725 * doc/invoke.texi ([-fopt-info]): Fix markup, consolidate
1726 discussion of defaults, light copy-editing.
1728 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
1730 * tsan.c (instrument_expr): corrected previous checkin.
1732 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
1734 Instrument bit field and unaligned accesses for TSAN.
1735 * sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
1736 (BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
1737 * tsan.c (instrument_expr): Handle COMPONENT_REF and BIT_FIELD_REF.
1738 Use BUILT_IN_TSAN_READ_RANGE and BUILT_IN_TSAN_WRITE_RANGE for
1739 unaligned memory regions.
1741 2015-01-01 Anthony Green <green@moxielogic.com>
1743 * config/moxie/predicates.md (moxie_general_movsrc_operand):
1744 Restrict move source register offsets to 16 bits.
1746 Copyright (C) 2015 Free Software Foundation, Inc.
1748 Copying and distribution of this file, with or without modification,
1749 are permitted in any medium without royalty provided the copyright
1750 notice and this notice are preserved.