2015-01-13 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git] / gcc / ChangeLog
blobb8886d260a38416731341fa5c67ef6ea79a708e8
1 2015-01-13  Renlin Li  <renlin.li@arm.com>
3         * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): Return 2.
4         (CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
6 2015-01-13  Martin Liska  <mliska@suse.cz>
8         * ipa-icf.c (sem_function::equals_private): Call new functions
9         cl_target_option_print_diff and cl_optimization_print_diff.
10         * optc-save-gen.awk (cl_target_option_print_diff): New function.
11         (cl_optimization_print_diff): Likewise.
12         * opth-gen.awk: Likewise.
14 2015-01-13  Richard Sandiford  <richard.sandiford@arm.com>
16         * config/aarch64/aarch64.md (subsi3, *subsi3_uxtw, subdi3)
17         (*sub_<optab><ALLX:mode>_<GPI:mode>, *sub_<optab><SHORT:mode>_si_uxtw)
18         (*sub_<optab><ALLX:mode>_shft_<GPI:mode>)
19         (*sub_<optab><SHORT:mode>_shft_si_uxtw, *sub_<optab><mode>_multp2)
20         (*sub_<optab>si_multp2_uxtw, *sub_uxt<mode>_multp2)
21         (*sub_uxtsi_multp2_uxtw): Add stack pointer sources.
23 2015-01-13  Andrew Pinski   <apinski@cavium.com>
25         * config/aarch64/aarch64.c (fusion_load_store): Check dest mode
26         instead of src mode.    
28 2015-01-13  Richard Biener  <rguenther@suse.de>
30         PR lto/64373
31         * lto-streamer-out.c (tree_is_indexable): Guard for NULL
32         DECL_CONTEXT.
34 2015-01-13  Andrew Pinski   <apinski@cavium.com>
36         * config/aarch64/aarch64.c (aarch64_operands_ok_for_ldpstp): Reject
37         volatile mems.
38         (aarch64_operands_adjust_ok_for_ldpstp): Likewise.
40 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
42         PR middle-end/63974
43         * cfgexpand.c (expand_computed_goto): Don't call
44         convert_memory_address here.
46 2015-01-13  Richard Biener  <rguenther@suse.de>
48         PR tree-optimization/64406
49         * tree-loop-distibution.c (pass_loop_distribution::execute):
50         Reset the SCEV hashtable if we distributed anything.
52 2015-01-13  Richard Biener  <rguenther@suse.de>
54         PR tree-optimization/64404
55         * tree-vect-stmts.c (vectorizable_load): Reject conflicting
56         SLP types for CSEd loads.
58 2015-01-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
60         PR tree-optimization/64436
61         * tree-ssa-math-opts.c (find_bswap_or_nop_1): Move code performing the
62         merge of two symbolic numbers for a bitwise OR to ...
63         (perform_symbolic_merge): This. Also fix computation of the range and
64         end of the symbolic number corresponding to the result of a bitwise OR.
66 2014-01-13  Richard Biener  <rguenther@suse.de>
68         PR tree-optimization/64568
69         * tree-ssa-forwprop.c (pass_forwprop::execute): Properly
70         release defs of removed stmts, avoid splitting TARGET_MEM_REFs.
72 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
74         * config/nds32/nds32.c (nds32_legitimate_address_p): Consider
75         TARGET_CMODEL_LARGE and TARGET_CMODEL_MEDIUM cases.
77 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
79         * config/nds32/nds32.h (NDS32_SYMBOL_FLAG_RODATA): Define our own
80         target-specific symbol_ref flag.
81         (NDS32_SYMBOL_REF_RODATA_P): Define it to check if the symbol_ref
82         resides in rodata section.
83         * config/nds32/nds32.c (TARGET_ENCODE_SECTION_INFO): Define.
84         (nds32_encode_section_info): New function.
86 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
88         * config/nds32/nds32.md (call): Use pseudo instruction bal which
89         clobbers TA_REGNUM if large code model is specified.
90         (call_register): Likewise.
91         (call_immediate): Likewise.
92         (call_value): Likewise.
93         (call_value_register): Likewise.
94         (call_value_immediate): Likewise.
96 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
98         * config/nds32/nds32.h (TARGET_CMODEL_SMALL): New macro.
99         (TARGET_CMODEL_MEDIUM): New macro.
100         (TARGET_CMODEL_LARGE): New macro.
101         * config/nds32/nds32.c (nds32_asm_file_start): Display corresponding
102         code model setting in assembly code.
104 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
106         * common/config/nds32/nds32-common.c (TARGET_DEFAULT_TARGET_FLAGS):
107         Remove MASK_GP_DIRECT flag.
108         * config/nds32/nds32.h (MULTILIB_DEFAULTS): Have -mcmodel=medium as
109         one of the multilib default options.
110         * config/nds32/nds32.opt (mgp-direct): Remove.
111         * config/nds32/t-mlibs (MULTILIB_OPTIONS): Use -mcmodel instead of
112         -mgp-direct.  We also remove unnecessary -mlittle-endian/-mbig-endian.
114 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
116         * config/nds32/nds32.opt (mcmodel): Add new option.
117         * config/nds32/nds32-opts.h (nds32_cmodel_type): Add new enum type
118         to describe code model.
120 2015-01-13  Oleg Endo  <olegendo@gcc.gnu.org>
122         PR target/64479
123         * rtlanal.c (set_reg_p): Handle SEQUENCE constructs.
125 2015-01-12  Kaz Kojima  <kkojima@gcc.gnu.org>
127         * config/sh/sh.c (sh_atomic_assign_expand_fenv): New function.
128         (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
129         (sh_builtin_get_fpscr, sh_builtin_set_fpscr): New variables.
130         (sh_init_builtins): Record decls for __builtin_sh_get_fpscr and
131         __builtin_sh_set_fpscr.
133 2015-01-12  Sandra Loosemore  <sandra@codesourcery.com>
135         * doc/invoke.texi ([-Wsuggest-attribute=]): Don't use parentheses
136         after a funtion name just to indicate it is a function.
137         ([-fsanitize-undefined-trap-on-error]): Likewise.
138         ([-fdbg-cnt=]): Likewise.
139         ([-mmemcpy]): Likewise.
140         ([-mflush-func]): Likewise.
141         ([-msynci]): Likewise.
143 2015-01-12  Sandra Loosemore  <sandra@codesourcery.com>
145         * doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing
146         example.
147         
148 2015-01-12  Jakub Jelinek  <jakub@redhat.com>
150         PR tree-optimization/64563
151         * tree-vrp.c (vrp_evaluate_conditional): Check for VR_RANGE
152         instead of != VR_VARYING.
154         PR target/64513
155         * config/i386/i386.c (ix86_expand_prologue): Add
156         REG_FRAME_RELATED_EXPR to %rax and %r10 pushes.
158         PR tree-optimization/64454
159         * tree-vrp.c (simplify_div_or_mod_using_ranges): Optimize
160         op0 % op1 into op0 if op0 is in range [-op1 + 1, op1 - 1]
161         for signed or [0, op1 - 1] for unsigned modulo.
162         (simplify_stmt_using_ranges): Call simplify_div_or_mod_using_ranges
163         even if op1 does not satisfy integer_pow2p.
165         PR other/64370
166         * sreal.c (sreal::to_double): Use ldexp instead of scalbnl.
168 2015-01-12  Jeff Law  <law@redhat.com>
170         PR target/64461
171         * config/m68k/m68k.md (truncsiqi2): Disable for TARGET_COLDFIRE.
172         (trunchiqi2, truncsihi2): Similarly.
174         * config/h8300/h8300.c (Fpa): Use RTX_FRAME_RELATED_P directly
175         rather than calling F.
177 2015-01-12  Bernd Edlinger  <bernd.edlinger@hotmail.de>
179         * tsan.c (instrument_expr): Use force_gimple_operand.
180         Use may_be_nonaddressable_p instead of is_gimple_addressable.
182 2015-01-12  Richard Biener  <rguenther@suse.de>
184         PR tree-optimization/64530
185         * tree-loop-distribution.c (pg_add_dependence_edges): Shuffle
186         back dr1.
188 2015-01-12  Richard Biener  <rguenther@suse.de>
190         PR middle-end/64357
191         * tree-cfg.c (gimple_can_merge_blocks_p): Protect simple
192         latches properly.
194 2015-01-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
196         * config/arm/arm.c (arm_cortex_a12_tune): Update entries to match
197         Cortex-A17 tuning parameters.
198         * config/arm/arm-cores.def (cortex-a12): Schedule for cortex-a17.
200 2015-01-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
202         * config/arm/arm-protos.h (tune_params): Add fuseable_ops field.
203         * config/arm/arm.c (arm_macro_fusion_p): New function.
204         (arm_macro_fusion_pair_p): Likewise.
205         (TARGET_SCHED_MACRO_FUSION_P): Define.
206         (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
207         (ARM_FUSE_NOTHING): Likewise.
208         (ARM_FUSE_MOVW_MOVT): Likewise.
209         (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,
210         arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,
211         arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,
212         arm_cortex_a53_tune, arm_cortex_a57_tune, arm_cortex_a9_tune,
213         arm_cortex_a12_tune, arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune
214         arm_cortex_a5_tune): Specify fuseable_ops value.
216 2015-01-12  H.J. Lu  <hongjiu.lu@intel.com>
218         PR bootstrap/64561
219         * configure.ac (HAVE_LD_PIE_COPYRELOC): Update Linux/x86-64 linker
220         test for PIE with copy reloc.
221         * configure: Regenerated.
223 2015-01-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
225         * config/arm/arm.c (arm_load_tp): Use R0_REGNUM instead of constant 0
226         in gen_rtx_REG.
227         (arm_tls_descseq_addr): Likewise.
228         (arm_gen_movmemqi): Likewise.
229         (arm_expand_epilogue_apcs_frame): Likewise.
230         (arm_expand_epilogue): Likewise.
231         (arm_expand_prologue): Likewise.  Use R1_REGNUM instead of constant 1
232         in gen_rtx_REG.
234 2015-01-12  Martin Liska  <mliska@suse.cz>
236         PR ipa/64550
237         * ipa-icf-gimple.c (func_checker::compare_memory_operand): Compare
238         volatility for correct operands.
240 2015-01-12  Martin Liska  <mliska@suse.cz>
242         * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
243         that a function is not leaf.
244         (sem_function::compare_polymorphic_p): Likewise.
246 2015-01-12  Martin Liska  <mliska@suse.cz>
248         * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
249         that a function is not leaf.
250         (sem_function::compare_polymorphic_p): Likewise.
252 2015-01-12  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
254         * config/visium/visium.c: Add includes hashtab.h, hash-set.h,
255         machmode.h, input.h, statistics.h, vec.h, double-int.h, real.h,
256         fixed-value.h, alias.h, symtab.h, tree-core.h, wide-int.h, inchash.h,
257         fold-const.h, tree-check.h.
259 2015-01-12  Jan Hubicka  <hubicka@ucw.cz>
261         PR ipa/63967
262         PR ipa/64425
263         * ipa-inline.c (compute_uninlined_call_time,
264         compute_inlined_call_time): Use counts for extra precision when
265         needed possible.
266         (big_speedup_p): Fix formating.
267         (RELATIVE_TIME_BENEFIT_RANGE): Remove.
268         (relative_time_benefit): Remove.
269         (edge_badness): Turn DECL_DISREGARD_INLINE_LIMITS into hint;
270         merge guessed and read profile paths.
271         (inline_small_functions): Count only !optimize_size functions into
272         initial size; be more lax about sanity check when profile is used;
273         be sure to update inlined function profile when profile is read.
275 2015-01-12  Jan Hubicka  <hubicka@ucw.cz>
277         PR ipa/63470
278         * ipa-inline-analysis.c (inline_edge_duplication_hook): Adjust
279         cost when edge becomes direct.
280         * ipa-prop.c (make_edge_direct): Do not adjust when speculation
281         is resolved or when introducing new speculation.
283 2015-01-12  Chen Gang  <gang.chen.5i5j@gmail.com>
285         PR ipa/64551
286         PR ipa/64552
287         * ipa-icf.c (sem_function::equals_private): Use '&&' instead of
288         '||' to fix typo issue.
290         * gcc/tree.h (target_opts_for_fn): Check NULL_TREE since it can
291         accept and return NULL.
293 2015-01-12  Martin Liska  <mliska@suse.cz>
295         * cgraph.c (cgraph_edge::remove_callee): Move function to header
296         file for being inlined.
297         (cgraph_set_edge_callee): Delete.
298         (cgraph_edge::redirect_callee): Move function to header file
299         for being inlined.
300         (cgraph_edge::make_direct): Use new function.
301         (cgraph_edge::dump_edge_flags): New function created from
302         static dump_edge_flags function.
303         (cgraph_node::dump): Use new function.
304         (cgraph_edge::verify_count_and_frequency): New function created
305         from verify_edge_count_and_frequency.
306         (cgraph_edge::verify_corresponds_to_fndecl): New function created
307         from verify_edge_corresponds_to_fndecl.
308         (verify_edge_corresponds_to_fndecl): Delete.
309         (cgraph_node::verify_node): Use new function.
310         * cgraph.h (cgraph_edge::set_callee): New function.
311         (cgraph_edge::dump_edge_flags): Likewise.
312         (cgraph_edge::verify_corresponds_to_fndecl): Likewise.
314 2015-01-11  Jan Hubicka  <hubicka@ucw.cz>
316         * ipa-utils.c (estimate_function_body_sizes): Do not
317         free node params when called late with early=true.
319 2015-01-11  James Greenhalgh  <james.greenhalgh@arm.com>
321         * doc/md.texi (Instruction Patterns): Rewrite text for
322         clarity.
323         (Example): Likewise.
325 2015-01-10  Sandra Loosemore  <sandra@codesourcery.com>
327         * doc/invoke.texi (Option Summary): Break long lines.
328         [(-fdiagnostics-color)]: Put long literal in @smallexample
329         instead of inline.
330         [(-fsanitize-recover)]: Likewise.
331         [(-fdump-rtl-split*)]: Rewrite to fix over-full hbox.
332         [(-ffast-math)]: Likewise.
333         [(--param max-inline-insns-recursive)]: Likewise.
334         [(--param max-inline-recursive-depth)]: Likewise.
335         [(-mno-text-section-literals)]: Likewise.
336         
337 2015-01-10  Thomas Schwinge  <thomas@codesourcery.com>
339         * doc/install.texi: Update for libgomp being renamed from "GNU
340         OpenMP Runtime Library" to "GNU Offloading and Multi Processing
341         Runtime Library".
342         * doc/sourcebuild.texi: Likewise.
344 2015-01-10  Anthony Green  <green@moxielogic.com>
346         * config/moxie/moxie.c (moxie_option_override): Fix forcing of
347         mul.x availability for moxiebox configuration.
349 2015-01-09  Anthony Green  <green@moxielogic.com>
351         * config/moxie/moxie.md: Tabify assembly output.
353 2015-01-09  Anthony Green  <green@moxielogic.com>
355         * config/moxie/moxie.md (CC_REG): Correct register definition.
357 2015-01-09  Sandra Loosemore  <sandra@codesourcery.com>
359         * doc/invoke.texi ([-fvtable-verify]): Copy-edit and fix markup.
360         ([-fvtv-debug], [-fvtv-counts]): Likewise.  Correct location
361         of log files.
363 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
365         * config/arm/arm.h (MAX_SYNC_LIBFUNC_SIZE): Delete semicolon.
367 2015-01-09  Bernd Schmidt  <bernds@codesourcery.com>
368             Jakub Jelinek  <jakub@redhat.com>
370         PR middle-end/64412
371         * lto-streamer.h (lto_stream_offload_p): New declaration.
372         * lto-streamer.c (lto_stream_offload_p): New variable.
373         * cgraphunit.c (ipa_passes): Set lto_stream_offload_p
374         at the same time as section_name_prefix.
375         * lto-streamer-out.c (hash_tree): Don't hash TREE_TARGET_OPTION
376         if lto_stream_offload_p.
377         * tree-streamer-out.c (streamer_pack_tree_bitfields): Don't
378         stream TREE_TARGET_OPTION if lto_stream_offload_p.
379         (write_ts_function_decl_tree_pointers): Don't
380         stream DECL_FUNCTION_SPECIFIC_TARGET if lto_stream_offload_p.
381         * tree-streamer-in.c (unpack_value_fields): Don't stream
382         TREE_TARGET_OPTION in if ACCEL_COMPILER.
383         (lto_input_ts_function_decl_tree_pointers): Don't stream
384         DECL_FUNCTION_SPECIFIC_TARGET in if ACCEL_COMPILER.
385         * lto-opts.c (lto_write_options): Use lto_stream_offload_p
386         instead of section_name_prefix string comparisons.
388 2015-01-09  Jakub Jelinek  <jakub@redhat.com>
390         PR rtl-optimization/64536
391         * cfgrtl.c (rtl_tidy_fallthru_edge): Handle removal of degenerate
392         tablejumps.
394 2015-01-09  Michael Collison  <michael.collison@linaro.org>
396         * genattrtab.c (write_header): Include hash-set.h, machmode.h,
397         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
398         fold-const.h, wide-int.h, and inchash.h when generating
399         insn-attrtab.c.
400         * genautomata.c (main) : Include hash-set.h, macInclude hash-set.h, machmode.h,
401         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
402         fold-const.h, wide-int.h, and inchash.h when generating
403         insn-automata.c.
404         * genemit.c (main): Include hash-set.h, machmode.h,
405         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
406         fold-const.h, wide-int.h, and inchash.h when generating
407         insn-emit.c.
408         * gengtype.c (open_base_files): Include hash-set.h, machmode.h,
409         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
410         fold-const.h, wide-int.h, and inchash.h when generating
411         gtype-desc.c.
412         * genopinit.c (main): Include hash-set.h, machmode.h,
413         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
414         fold-const.h, wide-int.h, and inchash.h when generating
415         insn-opinit.c.
416         * genoutput.c (output_prologue): Include hash-set.h, machmode.h,
417         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
418         fold-const.h, wide-int.h, and inchash.h when generating
419         insn-output.c.
420         * genpeep.c (main): Include hash-set.h, machmode.h,
421         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
422         fold-const.h, wide-int.h, and inchash.h when generating
423         insn-peep.c.
424         * genpreds.c (write_insn_preds_c): Include hash-set.h, machmode.h,
425         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
426         fold-const.h, wide-int.h, and inchash.h when generating
427         insn-preds.c.
428         * optc-save-gen-awk: Include hash-set.h, machmode.h,
429         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
430         fold-const.h, wide-int.h, and inchash.h when generating
431         options-save.c.
432         * opth-gen.awk: Change include guard from GCC_C_COMMON_H to GCC_C_COMMON_C
433         when generating options.h.
434         * alias.c: Include hash-set.h, machmode.h,
435         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
436         fold-const.h, wide-int.h, and inchash.h due to
437         flattening of tree.h.
438         * asan.c: Ditto.
439         * attribs.c: Ditto.
440         * auto-inc-dec.c: Ditto.
441         * auto-profile.c: Ditto
442         * bb-reorder.c: Ditto.
443         * bt-load.c: Include symtab.h due to flattening of tree.h.
444         * builtins.c: Include hash-set.h, machmode.h,
445         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
446         fold-const.h, wide-int.h, and inchash.h due to
447         flattening of tree.h.
448         * calls.c: Include hash-set.h, machmode.h,
449         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
450         fold-const.h, wide-int.h, and inchash.h due to
451         flattening of tree.h.
452         * ccmp.c: Ditto.
453         * cfgbuild.c: Include hash-set.h, machmode.h,
454         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
455         fold-const.h, wide-int.h, and inchash.h due to flattening of tree.h.
456         * cfg.c: Ditto.
457         * cfgcleanup.c: Ditto.
458         * cfgexpand.c: Ditto.
459         * cfghooks.c: Ditto.
460         * cfgloop.c: Include symtab.h, fold-const.h, and
461         inchash.h due to flattening of tree.h.
462         * cfgloopmanip.c: Ditto.
463         * cfgrtl.c: Include hash-set.h, machmode.h,
464         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
465         fold-const.h, wide-int.h, and inchash.h due to
466         flattening of tree.h.
467         * cgraphbuild.c: Ditto.
468         * cgraph.c: Ditto.
469         * cgraphclones.c: Ditto.
470         * cgraphunit.c: Ditto.
471         * cilk-common.c: Ditto.
472         * combine.c: Ditto.
473         * combine-stack-adj.c: Include symbol.h due to flattening of tree.h.
474         * config/aarch64/aarch64-builtins.c: Include hash-set.h, machmode.h,
475         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
476         fold-const.h, wide-int.h, and inchash.h due to
477         flattening of tree.h.
478         * config/aarch64/aarch64.c: Ditto.
479         * config/alpha/alpha.c: Ditto.
480         * config/arc/arc.c: Ditto.
481         * config/arm/aarch-common.c: Ditto.
482         * config/arm/arm-builtins.c: Ditto.
483         * config/arm/arm.c: Ditto.
484         * config/arm/arm-c.c: Ditto.
485         * config/avr/avr.c: Ditto.
486         * config/avr/avr-c.c: Ditto.
487         * config/avr/avr-log.c: Ditto.
488         * config/bfin/bfin.c: Ditto.
489         * config/c6x/c6x.c: Ditto.
490         * config/cr16/cr16.c: Ditto.
491         * config/cris/cris.c: Ditto.
492         * config/darwin.c: Ditto.
493         * config/darwin-c.c: Ditto.
494         * config/default-c.c: Ditto.
495         * config/epiphany/epiphany.c: Ditto.
496         * config/fr30/fr30.c: Ditto.
497         * config/frv/frv.c: Ditto.
498         * config/glibc-c.c: Ditto.
499         * config/h8300/h8300.c: Ditto.
500         * config/i386/i386.c: Ditto.
501         * config/i386/i386-c.c: Ditto.
502         * config/i386/msformat.c: Ditto.
503         * config/i386/winnt.c: Ditto.
504         * config/i386/winnt-cxx.c: Ditto.
505         * config/i386/winnt-stubs.c: Ditto.
506         * config/ia64/ia64.c: Ditto.
507         * config/ia64/ia64-c.c: Ditto.
508         * config/iq2000/iq2000.c: Ditto.
509         * config/lm32/lm32.c: Include symtab.h, fold-const.h,
510         wide-int.h, and inchash.h due to flattening of tree.h.
511         * config/m32c/m32c.c: Include hash-set.h, machmode.h,
512         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
513         fold-const.h, wide-int.h, and inchash.h due to
514         flattening of tree.h.
515         * config/m32c/m32c-pragma.c: Ditto.
516         * config/m32c/m32cr.c: Ditto.
517         * config/m68/m68k.c: Ditto.
518         * config/mcore/mcore.c: Ditto.
519         * config/mep/mep.c: Ditto.
520         * config/mep/mep-pragma.c: Ditto.
521         * config/microblaze/microblaze.c: Ditto.
522         * config/microblaze/microblaze-c.c: Ditto.
523         * config/mips/mips.c: Ditto.
524         * config/mmix/mmix.c: Include symtab.h, fold-const.h,
525         wide-int.h, and inchash.h due to flattening of tree.h.
526         * config/mn10300/mn10300.c: Include hash-set.h, machmode.h,
527         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
528         fold-const.h, wide-int.h, and inchash.h due to
529         flattening of tree.h.
530         * config/moxie/moxie.c: Ditto.
531         * config/msp430/msp430.c: Ditto.
532         * config/msp430/msp430-c.c: Ditto.
533         * config/nds32/nds32.c: Ditto.
534         * config/nds32/nds32-cost.c: Ditto.
535         * config/nds32/nds32-fp-as-gp.c: Ditto.
536         * config/nds32/nds32-intrinsic.c: Ditto.
537         * config/nds32/nds32-isr.c: Ditto.
538         * config/nds32/nds32-md-auxillary.c: Ditto.
539         * config/nds32/nds32-memory-manipulationx.c: Ditto.
540         * config/nds32/nds32-pipelines-auxillary.c: Ditto.
541         * config/nds32/nds32-predicates.c: Ditto.
542         * config/nios2/nios2.c: Ditto.
543         * config/nvptx/nvptx.c: Ditto.
544         * config/pa/pa.c: Ditto.
545         * config/pdp11/pdp11x.c: Include symtab.h, fold-const.h,
546         wide-int.h, and inchash.h due to flattening of tree.h.
547         * config/rl78/rl78.c: Include hash-set.h, machmode.h,
548         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
549         fold-const.h, wide-int.h, and inchash.h due to
550         flattening of tree.h.
551         * config/rl78/rl78-cx.c: Ditto.
552         * config/rs6000/rs6000.c: Ditto.
553         * config/rs6000/rs6000-c.c: Ditto.
554         * config/rx/rx.c: Ditto.
555         * config/s390/s390.c: Ditto.
556         * config/sh/sh.c: Ditto.
557         * config/sh/sc.c: Ditto.
558         * config/sh/sh-mem.cc: Ditto.
559         * config/sh/sh_treg_combine.cc: Include symtab.h, inchash.h and tree.h
560         due to flattening of tree.h.
561         Remove include of tree-core.h.
562         * config/sol2.c: Include hash-set.h, machmode.h,
563         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
564         fold-const.h, wide-int.h, and inchash.h due to
565         flattening of tree.h.
566         * config/sol2-c.c: Ditto.
567         * config/sol2-cxx.c: Ditto.
568         * config/sol2-stubs.c: Ditto.
569         * config/sparc/sparc.c: Ditto.
570         * config/sparc/sparc-cx.c: Ditto.
571         * config/spu/spu.c: Ditto.
572         * config/spu/spu-c.c: Ditto
573         * config/storym16/stormy16.c: Ditto.
574         * config/tilegx/tilegx.c: Include symtab.h, fold-const.h,
575         wide-int.h, and inchash.h due to flattening of tree.h.
576         * config/tilepro/gen-mul-tables.cc: Include symtab.h in generated file.
577         * config/tilegx/tilegx-c.c: Include hash-set.h, machmode.h,
578         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
579         fold-const.h, wide-int.h, and inchash.h due to
580         flattening of tree.h.
581         * config/tilepro/tilepro.c: Include symtab.h, fold-const.h,
582         wide-int.h, and inchash.h due to flattening of tree.h.
583         * config/tilepro/tilepro-c.c: Include hash-set.h, machmode.h,
584         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
585         fold-const.h, wide-int.h, and inchash.h due to
586         flattening of tree.h.
587         * config/v850/v850.c: Ditto.
588         * config/v850/v850-c.c: Ditto.
589         * config/vax/vax.c: Ditto.
590         * config/vms/vms.c: Ditto.
591         * config/vms/vms-c.c: Ditto.
592         * config/vxworks.c: Ditto.
593         * config/winnt-c.c: Ditto.
594         * config/xtensa/xtensa.c: Include symtab.h, fold-const.h,
595         wide-int.h, and inchash.h due to flattening of tree.h.
596         * convert.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
597         input.h, alias.h, symtab.h, options.h, fold-const.h,
598         wide-int.h, and inchash.h due to flattening of tree.h.
599         * coverage.c: Ditto.
600         * cppbuiltin.c: Ditto.
601         * cprop.c: Ditto.
602         * cse.c: Add include of symtab.h due to flattening of tree.h.
603         * cselib.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
604         input.h, alias.h, symtab.h, options.h, fold-const.h,
605         wide-int.h, and inchash.h due to flattening of tree.h.
606         * data-streamer.c: Ditto.
607         * data-streamer-in.c: Ditto.
608         * data-streamer-out.c: Ditto.
609         * dbxout.c: Ditto.
610         * dce.c: Ditto.
611         * ddg.c: Add include of symtab.h due to flattening of tree.h.
612         * debug.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
613         input.h, alias.h, symtab.h, options.h, fold-const.h,
614         wide-int.h, and inchash.h due to flattening of tree.h.
615         * dfp.c: Ditto.
616         * df-scan.c: Ditto.
617         * dojump.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
618         input.h, alias.h, symtab.h, options.h, fold-const.h,
619         wide-int.h, inchash.h and real.h due to flattening of tree.h.
620         * double-int.c: Ditto.
621         * dse.c: Ditto.
622         * dumpfile.c: Ditto.
623         * dwarf2asm.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
624         input.h, alias.h, symtab.h, fold-const.h,
625         wide-int.h, inchash.h and real.h due to flattening of tree.h.
626         * dwarf2cfi.c: Ditto.
627         * dwarf2out.c: Ditto.
628         * emit-rtl.c: Ditto.
629         * except.c: Ditto.
630         * explow.c: Ditto.
631         * expmed.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
632         input.h, alias.h, symtab.h, fold-const.h,
633         wide-int.h, and inchash.h due to flattening of tree.h.
634         * expr.c: Ditto.
635         * final.c: Ditto.
636         * fixed-value.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
637         input.h, alias.h, symtab.h, fold-const.h,
638         wide-int.h, inchash.h and fixed-value.h due to flattening of tree.h.
639         * fold-const.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
640         input.h, alias.h, symtab.h, fold-const.h,
641         wide-int.h, and inchash.h due to flattening of tree.h.
642         Relocate inline function convert_to_ptrofftype_loc from tree.h.
643         Relocate inline function fold_build_pointer_plus_loc from tree.h.
644         Relocate inline function fold_build_pointer_plus_hwi_loc from tree.h.
645         * fold-const.h: Relocate macro convert_to_ptrofftype from tree.h.
646         Relocate macro fold_build_pointer_plus to relocate from tree.h.h.
647         Relocate macro fold_build_pointer_plus_hwi from tree.h.
648         Add prototype for convert_to_ptrofftype_loc relocated from tree.h.
649         Add prototype for fold_build_pointer_plus_loc relocated from tree.h.
650         Add prototype for fold_build_pointer_plus_hwi_loc relocated from tree.h.
651         * function.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
652         input.h, alias.h, symtab.h, fold-const.h,
653         wide-int.h, and inchash.h due to flattening of tree.h.
654         * gcc-plugin.h: Include statistics.h, double-int.h, real.h, fixed-value.h,
655         alias.h, flags.h, and symtab.h due to flattening of tree.h
656         * gcse.c: Ditto.
657         * generic-match-head.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
658         input.h, alias.h, symtab.h, options.h, fold-const.h,
659         wide-int.h, and inchash.h due to flattening of tree.h.
660         * ggc-page.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
661         input.h, alias.h, symtab.h, fold-const.h,
662         wide-int.h, and inchash.h due to flattening of tree.h.
663         * gimple-builder.c: Ditto.
664         * gimple.c: Ditto.
665         * gimple-expr.c: Ditto.
666         * gimple-fold.c: Ditto.
667         * gimple-iterator.c: Ditto.
668         * gimple-low.c: Ditto.
669         * gimple-match-head.c: Ditto.
670         * gimple-pretty-print.c: Ditto.
671         * generic-ssa-isolate-paths.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
672         input.h, alias.h, symtab.h, options.h, fold-const.h,
673         wide-int.h, and inchash.h due to flattening of tree.h.
674         * gimple-ssa-strength-reduction.c: Ditto.
675         * gimple-streamer-in.c: Ditto.
676         * gimple-streamer-out.c: Ditto.
677         * gimple-walk.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
678         input.h, alias.h, symtab.h, fold-const.h,
679         wide-int.h, and inchash.h due to flattening of tree.h.
680         * gimplify.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
681         input.h, alias.h, symtab.h, options.h, fold-const.h,
682         wide-int.h, and inchash.h due to flattening of tree.h.
683         * gimplify-me.c: Ditto.
684         * graphite-blocking.c: Ditto.
685         * graphite.c: Ditto.
686         * graphite-dependencies.c: Ditto.
687         * graphite-interchange.c: Ditto.
688         * graphite-isl-ast-to-gimple.c: Ditto.
689         * graphite-optimize-isl.c: Ditto.
690         * graphite-poly.c: Ditto.
691         * graphite-scop-detection.c: Ditto.
692         * graphite-sese-to-poly.c: Ditto.
693         * hw-doloop.c: Include symtab.h due to flattening of tree.h.
694         * ifcvt.c: Ditto.
695         * init-regs.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
696         input.h, alias.h, symtab.h, fold-const.h,
697         wide-int.h, and inchash.h due to flattening of tree.h.
698         * internal-fc.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
699         input.h, alias.h, symtab.h,options.h, fold-const.h,
700         wide-int.h, and inchash.h due to flattening of tree.h.
701         * ipa.c: Ditto.
702         * ipa-chkp.c: Ditto.
703         * ipa-comdats.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
704         input.h, alias.h, symtab.h, fold-const.h,
705         wide-int.h, and inchash.h due to flattening of tree.h.
706         * ipa-cp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
707         input.h, alias.h, symtab.h,options.h, fold-const.h,
708         wide-int.h, and inchash.h due to flattening of tree.h.
709         * ipa-devirt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
710         input.h, alias.h, symtab.h, fold-const.h,
711         wide-int.h, and inchash.h due to flattening of tree.h.
712         * ipa-icf.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
713         input.h, alias.h, symtab.h,options.h, fold-const.h,
714         wide-int.h, and inchash.h due to flattening of tree.h.
715         * ipa-icf-gimple.c: Ditto.
716         * ipa-inline-analysis.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
717         input.h, alias.h, symtab.h, fold-const.h,
718         wide-int.h, and inchash.h due to flattening of tree.h.
719         * ipa-inline.c: Ditto.
720         * ipa-inline-transform.c: Ditto.
721         * ipa-polymorhpic-call.c: Ditto.
722         * ipa-profile.c: Ditto.
723         * ipa-prop.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
724         input.h, alias.h, symtab.h, options.h, fold-const.h,
725         wide-int.h, and inchash.h due to flattening of tree.h.
726         * ipa-pure-const.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
727         input.h, alias.h, symtab.h, fold-const.h,
728         wide-int.h, and inchash.h due to flattening of tree.h.
729         * ipa-ref.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
730         input.h, alias.h, symtab.h, options.h, fold-const.h,
731         wide-int.h, and inchash.h due to flattening of tree.h.
732         * ipa-reference.c: Ditto.
733         * ipa-split.c: Ditto.
734         * ipa-utils.c: Ditto.
735         * ipa-visbility.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
736         input.h, alias.h, symtab.h, fold-const.h,
737         wide-int.h, and inchash.h due to flattening of tree.h.
738         * ira.c: Ditto.
739         * ira-color.c: Include hash-set.h due to flattening of tree.h.
740         * ira-costs.c: Ditto.
741         * ira-emit.c: Ditto.
742         * jump.c: Include symtab.h due to flattening of tree.h.
743         * langhooks.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
744         input.h, alias.h, symtab.h, fold-const.h,
745         wide-int.h, and inchash.h due to flattening of tree.h.
746         * loop-doloop.c: Include symtab.h due to flattening of tree.h.
747         * loop-init.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
748         input.h, alias.h, symtab.h, fold-const.h,
749         wide-int.h, and inchash.h due to flattening of tree.h.
750         * loop-invariant.c: Include symtab.h due to flattening of tree.h.
751         * loop-iv.c: Ditto.
752         * loop-unroll.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
753         input.h, alias.h, symtab.h, fold-const.h,
754         wide-int.h, and inchash.h due to flattening of tree.h.
755         * lower-subreg.c: Ditto.
756         * lra-assigns.c: Include symtab.h due to flattening of tree.h.
757         * lra.c: Include symtab.h, fold-const.h, wide-int.h and inchash.h
758         due to flattening of tree.h.
759         * lra-coalesce.c: Include symtab.h due to flattening of tree.h.
760         * lra-constraints.c: Ditto.
761         * lra-eliminations.c: Ditto.
762         * lra-livesc: Ditto.
763         * lra-remat.c: Ditto.
764         * lra-spills.c: Ditto.
765         * lto-cgraph.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
766         input.h, alias.h, symtab.h, fold-const.h,
767         wide-int.h, and inchash.h due to flattening of tree.h.
768         * lto-compress.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
769         input.h, alias.h, symtab.h, options, fold-const.h,
770         wide-int.h, and inchash.h due to flattening of tree.h.
771         * lto-opts.c: Ditto.
772         * lto-section-in.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
773         input.h, alias.h, symtab.h, fold-const.h,
774         wide-int.h, and inchash.h due to flattening of tree.h.
775         * lto-section-out.c: Ditto.
776         * lto-streamer.c: Ditto.
777         * lto-streamer-in.c: Ditto.
778         * lto-streamer-out.c: Ditto.
779         * modulo-sched.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
780         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
781         inchash.h due to flattening of tree.h.
782         * omega.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
783         input.h, alias.h, symtab.h, options, fold-const.h,
784         wide-int.h, and inchash.h due to flattening of tree.h.
785         * omega-low.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
786         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
787         inchash.h due to flattening of tree.h.
788         * optabs.c: Ditto.
789         * opts-global.c: Ditto.
790         * passes.c: Ditto.
791         * plugin.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
792         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
793         inchash.h due to flattening of tree.h.
794         * postreload.c: Include symtab.h due to flattening of tree.h.
795         * postreload-gcse.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
796         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
797         inchash.h due to flattening of tree.h.
798         * predict.c: Ditto.
799         * print-rtl.c: Ditto.
800         * print-tree.c: Ditto.
801         * profile.c: Include symtab.h, fold-const.h
802         and inchash.h due to flattening of tree.h.
803         * real.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
804         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
805         inchash.h due to flattening of tree.h.
806         * realmpfr.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
807         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
808         inchash.h due to flattening of tree.h.
809         * recog.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
810         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
811         inchash.h due to flattening of tree.h.
812         * ree.c: Ditto.
813         * reginfo.c: Ditto.
814         * reg-stack.c: Ditto.
815         * reload1.c: Include symtab.h, fold-const.h, wide-int.h
816         and inchash.h due to flattening of tree.h.
817         * reload.c: Include symtab.h due to flattening of tree.h.
818         * reorg.c: Ditto.
819         * rtlanal.c: Include symtab.h, fold-const.h, wide-int.h
820         and inchash.h due to flattening of tree.h.
821         * rtl-chkp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
822         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
823         inchash.h due to flattening of tree.h.
824         * rtlhooks.c: Include symtab.h due to flattening of tree.h.
825         * sanopt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
826         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
827         inchash.h due to flattening of tree.h.
828         * sched-deps.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
829         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
830         inchash.h due to flattening of tree.h.
831         * sched-vis.c: Ditto.
832         * sdbout.c: Ditto.
833         * sel-sched.c: Include symtab.h, fold-const.h, wide-int.h
834         and inchash.h due to flattening of tree.h.
835         * sel-sched-ir.c: Ditto.
836         * sese.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
837         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
838         inchash.h due to flattening of tree.h.
839         * shrink-wrap.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
840         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
841         inchash.h due to flattening of tree.h.
842         * simplify-rtx.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
843         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
844         inchash.h due to flattening of tree.h.
845         * stack-ptr-mod.c: Ditto.
846         * stmt.c: Ditto.
847         * store-motion.c: Ditto.
848         * store-layout.c: Ditto.
849         * stringpool.c: Ditto.
850         * symtab.c: Ditto.
851         * target-globals.c: Ditto.
852         * targhooks.c: Ditto.
853         * toplev.c: Ditto.
854         * tracer.c: Ditto.
855         * trans-mem.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
856         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
857         inchash.h due to flattening of tree.h.
858         * tree-affine.c: Ditto.
859         * tree-browser.c: Ditto.
860         * tree.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
861         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
862         inchash.h due to flattening of tree.h.
863         * tree-call-cdce.c: Include symtab.h, alias.h, double-int.h,
864         fold-const.h, wide-int.h, inchash.h and real.h due to
865         flattening of tree.h.
866         * tree-cfg.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
867         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
868         inchash.h due to flattening of tree.h.
869         * tree-cfgcleanup.c: Ditto.
870         * tree-chkp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
871         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
872         inchash.h due to flattening of tree.h.
873         * tree-chkp-opt.c: Ditto.
874         * tree-chrec.c: Ditto.
875         * tree-chkp-opt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
876         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
877         real.h due to flattening of tree.h.
878         * tree-core.h: Flatten header file by removing all #include statements.
879         * tree-data-ref.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
880         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
881         inchash.h due to flattening of tree.h.
882         * tree-dfa.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
883         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
884         real.h due to flattening of tree.h.
885         * tree-diagnostic.c: Ditto.
886         * tree-dump.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
887         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h, real.h and
888         fixed-value.h due to flattening of tree.h.
889         * tree-dfa.c: Ditto.
890         * tree-eh.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
891         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
892         real.h due to flattening of tree.h.
893         * tree-emutls.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
894         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
895         inchash.h due to flattening of tree.h.
896         * tree.h: Flatten header files by removing all includes except tree-core.h.
897         Remove inline function convert_to_ptrofftype_loc to relocate to fold-const.c.
898         Remove macro convert_to_ptrofftype to relocate to fold-const.h.
899         Remove inline function fold_build_pointer_plus_loc to relocate to fold-const.c.
900         Remove macro fold_build_pointer_plus to relocate to fold-const.h.
901         Remove inline function fold_build_pointer_plus_hwi_loc to relocate to fold-const.c.
902         Remove macro fold_build_pointer_plus_hwi to relocate to fold-const.h.
903         * tree-if-conv.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
904         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h, real.h and
905         fixed-value.h due to flattening of tree.h.
906         * tree-inline.c: Ditto.
907         * tree-into-ssa.c: Ditto.
908         * tree-iterator.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
909         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
910         inchash.h due to flattening of tree.h.
911         * tree-loop-distribution.c: Ditto.
912         * tree-nested.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
913         input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
914         due to flattening of tree.h.
915         * tree-nrv.c: Ditto.
916         * tree-object-size.c: Ditto.
917         * tree-outof-ssa.c: Ditto.
918         * tree-parloops.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
919         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
920         inchash.h due to flattening of tree.h.
921         * tree-phinodes.c: Ditto.
922         * tree-predcom.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
923         input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
924         due to flattening of tree.h.
925         * tree-pretty-print.c: Ditto.
926         * tree-profile.c: double-int.h, input.h, alias.h, symtab.h,
927         fold-const.h, wide-int.h and inchash.h due to flattening of tree.h.
928         * tree-scalar-evolution.c: Include hash-set.h, machmode.h, vec.h,
929         double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
930         wide-int.h and inchash.h due to flattening of tree.h.
931         * tree-sra.c: Include  vec.h, double-int.h,
932         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
933         inchash.h due to flattening of tree.h.
934         * tree-ssa-alias.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
935         input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
936         due to flattening of tree.h.
937         * tree-ssa.c: Ditto.
938         * tree-ssa-ccp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
939         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h
940         and real.h due to flattening of tree.h.
941         * tree-ssa-coalesce.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
942         input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
943         due to flattening of tree.h.
944         * tree-ssa-copy.c: Ditto.
945         * tree-ssa-copyrename.c: Ditto.
946         * tree-ssa-dce.c: Ditto.
947         * tree-ssa-dom.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
948         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h
949         and real.h due to flattening of tree.h.
950         * tree-ssa-dse.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
951         input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
952         due to flattening of tree.h.
953         * tree-ssa-forwprop.c: Ditto.
954         * tree-ssa-ifcombine.c: Ditto.
955         * tree-ssa-live.c: Ditto.
956         * tree-ssa-loop.c: Ditto.
957         * tree-ssa-loop-ch.c: Ditto.
958         * tree-ssa-loop-im.c: Ditto.
959         * tree-ssa-loop-ivcanon.c: Ditto.
960         * tree-ssa-loop-ivopts.c: Ditto.
961         * tree-ssa-loop-manip.c: Ditto.
962         * tree-ssa-loop-niter.c: Ditto.
963         * tree-ssa-loop-prefetch.c: Ditto.
964         * tree-ssa-loop-unswitch.c: Ditto.
965         * tree-ssa-loop-math-opts.c: Ditto.
966         * tree-ssanames.c: Ditto.
967         * tree-ssa-operands.c: Ditto.
968         * tree-ssa-phiopt.c: Ditto.
969         * tree-ssa-phiprop.c: Ditto.
970         * tree-ssa-pre.c: Ditto.
971         * tree-ssa-propagate.c: Ditto.
972         * tree-ssa-reassoc.c: Ditto.
973         * tree-ssa-sccvn.c: Ditto.
974         * tree-ssa-sink.c: Ditto.
975         * tree-ssa-strlen.c: Include hash-set.h, machmode.h, vec.h,
976         double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
977         wide-int.h and inchash.h due to flattening of tree.h.
978         * tree-ssa-structalias.c: double-int.h, input.h, alias.h, symtab.h,
979         fold-const.h, wide-int.h and inchash.h due to flattening of tree.h.
980         * tree-ssa-tail-merge.c: Include hash-set.h, machmode.h, vec.h,
981         double-int.h, input.h, alias.h, symtab.h, fold-const.h,
982         wide-int.h and inchash.h due to flattening of tree.h.
983         * tree-ssa-ter.c: Ditto.
984         * tree-ssa-threadedge.c: Ditto.
985         * tree-ssa-threadupdate.c: Include hash-set.h, machmode.h, vec.h,
986         double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
987         wide-int.h and inchash.h due to flattening of tree.h.
988         * tree-ssa-uncprop.c: Include hash-set.h, machmode.h, vec.h,
989         double-int.h, input.h, alias.h, symtab.h, fold-const.h,
990         wide-int.h and inchash.h due to flattening of tree.h.
991         * tree-ssa-uninit.c: Ditto.
992         * tree-stdarg.c: Include vec.h, double-int.h, input.h, alias.h,
993         symtab.h, fold-const.h, wide-int.h and inchash.h due to flattening
994         of tree.h.
995         * tree-streamer.c: Include vec.h, double-int.h, input.h, alias.h,
996         symtab.h, options.h, fold-const.h, wide-int.h and
997         inchash.h due to flattening of tree.h.
998         * tree-streamer-in.c: Include hash-set.h, machmode.h, vec.h,
999         double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1000         wide-int.h, inchash.h, real.h and fixed-value.h due to flattening
1001         of tree.h.
1002         * tree-streamer-out.c: Dittoo.
1003         * tree-switch-conversion.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1004         input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1005         due to flattening of tree.h.
1006         * tree-tailcall.c: Ditto.
1007         * tree-vect-data-refs.c: Ditto.
1008         * tree-vect-generic.c: Include hash-set.h, machmode.h, vec.h, double-int.h, input.h,
1009         alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
1010         due to flattening of tree.h.
1011         * tree-vect-loop.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1012         input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1013         due to flattening of tree.h.
1014         * tree-vect-loop-manip.c: Ditto.
1015         * tree-vectorizer.c: Ditto.
1016         * tree-vect-patterns.c: Ditto.
1017         * tree-vect-slp.c: Ditto.
1018         * tree-vect-stmts.c: Ditto.
1019         * tree-vrp.c: Ditto.
1020         * tsan.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1021         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
1022         due to flattening of tree.h.
1023         * ubsan.c: Ditto.
1024         * value-prof.c.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1025         input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1026         due to flattening of tree.h.
1027         * varasm.c: Ditto.
1028         * varpool.c: Ditto.
1029         * var-tracking.c: Ditto.
1030         * vmsdbgout.c: Ditto.
1031         * vtable-verify.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 inchash.h
1033         due to flattening of tree.h.
1034         * wide-int.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
1035         input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1036         due to flattening of tree.h.
1037         * xcoffout.c: Ditto.
1039 2015-01-09  Tom de Vries  <tom@codesourcery.com>
1041         PR rtl-optimization/64539
1042         * regcprop.c (kill_clobbered_values): Factor out of ...
1043         (copyprop_hardreg_forward_1): ... here.  Use kill_clobbered_values
1044         instead of note_stores with kill_clobbered_value.
1046 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
1048          * ginclude/unwind-arm-common.h: Revert previous commit.
1050 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
1052         * config.gcc (arm*-*-freebsd*): New configuration.
1053         * config/arm/freebsd.h: New file.
1054         * config.host: Add extra components for arm*-*-freebsd*.
1055         * config/arm/arm.h: Introduce MAX_SYNC_LIBFUNC_SIZE.
1056         * config/arm/arm.c (arm_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE.
1058 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1060         * config/rs6000/rtems.h (CPP_OS_RTEMS_SPEC): Define __PPC_CPU_E6500__
1061         for -mcpu=e6500.
1062         * config/rs6000/t-rtems: Add e6500 multilibs.
1064 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1066         * config/rs6000/t-rtems: Add -mno-spe to soft-float multilib for
1067         MPC8540.
1069 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1071         * config/rs6000/t-rtems: Use MULTILIB_REQUIRED instead of
1072         MULTILIB_EXCEPTIONS.
1074 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1076         * config/arm/t-rtems: Use MULTILIB_REQUIRED instead of
1077         MULTILIB_EXCEPTIONS.
1079 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1081         * config/arm/t-rtems-eabi: Rename to...
1082         * config/arm/t-rtems: ...this.
1083         * config/arm/rtems-eabi.h: Rename to...
1084         * config/arm/rtems.h: ...this.
1085         * config.gcc (arm*-*-rtems*): Reflect changes above.
1087 2015-01-09  Richard Biener  <rguenther@suse.de>
1089         PR tree-optimization/64410
1090         * tree-ssa.c (non_rewritable_lvalue_p): Allow REALPART/IMAGPART_EXPR
1091         on the LHS.
1092         (execute_update_addresses_taken): Deal with that.
1093         * tree-ssa-forwprop.c (pass_forwprop::execute): Use component-wise
1094         loads/stores for complex variables.
1096 2015-01-09  Martin Liska  <mliska@suse.cz>
1098         * ipa-icf-gimple.c (func_checker::compare_ssa_name): Enhance SSA
1099         name comparison.
1100         (func_checker::compare_memory_operand): New function.
1101         (func_checker::compare_operand): Split case to newly
1102         added functions.
1103         (func_checker::compare_cst_or_decl): New function.
1104         (func_checker::compare_gimple_call): Identify
1105         memory operands.
1106         (func_checker::compare_gimple_assign): Likewise.
1107         * ipa-icf-gimple.h: New function.
1109 2015-01-09  Martin Liska  <mliska@suse.cz>
1111         PR ipa/64503
1112         * sreal.c (sreal::dump): Change unsigned format to signed for
1113         m_exp value.
1114         (sreal::to_double): Replace exp2 with scalbln.
1116 2015-01-09  Martin Liska  <mliska@suse.cz>
1118         * cgraphunit.c (cgraph_node::create_wrapper): Fix level of indentation.
1119         * ipa-icf.c (sem_function::equals_private): Add support for target and
1120         (sem_item_optimizer::merge_classes): Remove redundant function
1121         optimization flags comparison.
1122         * tree.h (target_opts_for_fn): New function.
1124 2015-01-09  Tom de Vries  <tom@codesourcery.com>
1126         * omp-low.c (expand_omp_for_static_chunk): Fix assert.
1128 2015-01-09  Kito Cheng  <kito@0xlab.org>
1130         PR rtl-optimization/64348
1131         * lra-constraints.c (split_reg): Fix caller-save store/restore
1132         instruction generation.
1134 2015-01-08  John David Anglin  <danglin@gcc.gnu.org>
1136         PR gcov-profile/61790
1137         * gcov-tool.c (do_rewrite): Use strtoll instead of atoll if host has
1138         long long.  Fallback to int64_t if host doesn't have long long and
1139         use strtol if int64_t is long.  Otherwise, use sscanf for conversion.
1141 2015-01-08  Jakub Jelinek  <jakub@redhat.com>
1143         PR tree-optimization/63989
1144         * params.def (PARAM_MAX_TRACKED_STRLENS): Increment default
1145         from 1000 to 10000.
1146         * tree-ssa-strlen.c (get_strinfo): Moved earlier.
1147         (get_stridx): If we don't have a record for certain SSA_NAME,
1148         but it is POINTER_PLUS_EXPR of some SSA_NAME we do with
1149         constant offset, call get_stridx_plus_constant.
1150         (get_stridx_plus_constant): New function.
1151         (zero_length_string): Don't use get_stridx here.
1153         PR target/55023
1154         PR middle-end/64388
1155         * dse.c (struct insn_info): Mention frame_read set also
1156         before reload for tail calls on some targets.
1157         (scan_insn): Revert 2014-12-22 change.  Set frame_read
1158         also before reload for tail calls if
1159         HARD_FRAME_POINTER_IS_ARG_POINTER.  Call add_wild_read
1160         instead of add_non_frame_wild_read for non-const/memset
1161         tail calls after reload.
1163 2015-01-08  Jason Merrill  <jason@redhat.com>
1165         * ubsan.c (do_ubsan_in_current_function): New.
1166         (pass_ubsan::gate): Use it.
1167         * ubsan.h: Declare it.
1168         * convert.c (convert_to_integer): Use it.
1170 2015-01-08  Jakub Jelinek  <jakub@redhat.com>
1172         PR target/64338
1173         * config/i386/i386.c (ix86_expand_int_movcc): Don't reverse
1174         compare_code when it is unconditionally overwritten afterwards.
1175         Use ix86_reverse_condition instead of reverse_condition.  Don't
1176         change code if *reverse_condition* returned UNKNOWN and don't
1177         swap ct/cf and negate diff in that case.
1179 2015-01-08  Mike Stump  <mikestump@comcast.net>
1181         * tsan.c (pass_tsan::gate): Add no_sanitize_thread support.
1182         (pass_tsan_O0::gate): Likewise.
1183         * extend.texi (Function Attributes): Add no_sanitize_thread
1184         documentation.
1186 2015-01-08  Thomas Schwinge  <thomas@codesourcery.com>
1188         * builtins.def (DEF_GOMP_BUILTIN): Also consider flag_offload_abi
1189         for registering builtins.
1190         * config/i386/intelmic-mkoffload.c (prepare_target_image): Don't
1191         add -fopenmp to the argv_obstack used when invoking
1192         compile_for_target.
1194         * config/i386/intelmic-mkoffload.c (compile_for_target): Always
1195         add "-m32" or "-m64" to argv_obstack.
1196         (generate_host_descr_file): Likewise, when invoking host_compiler.
1197         (main): Always add "-m elf_i386" or "-m elf_x86_64" when invoking
1198         ld.
1200 2015-01-08  Oleg Endo  <olegendo@gcc.gnu.org>
1202         * config/sh/sh-mem.cc: Use constant as second operand when emitting
1203         tstsi_t insns.
1205 2015-01-08  Oleg Endo  <olegendo@gcc.gnu.org>
1207         PR target/55212
1208         * config/sh/sh.md (*addsi3_compact): Emit reg-reg copy instead of
1209         constant load if constant operand fits into I08.
1211 2015-01-08  Jakub Jelinek  <jakub@redhat.com>
1213         PR sanitizer/64336
1214         * tree.c (build2_stat): Fix up initialization of TREE_READONLY
1215         and TREE_THIS_VOLATILE for MEM_REFs.
1216         (build5_stat): Fix up initialization of TREE_READONLY and
1217         TREE_THIS_VOLATILE for TARGET_MEM_REFs.
1219 2015-01-08  Kaz Kojima  <kkojima@gcc.gnu.org>
1221         PR target/64533
1222         * config/sh/sh.md (*addsi3_compact): Use u constraint instead
1223         of r for the second alternative of the destination operand.
1225 2015-01-07  Segher Boessenkool  <segher@kernel.crashing.org>
1227         PR target/36557
1228         * config/rs6000/rs6000.md (*eqsi3_ext<mode>, *nesi3_ext<mode>): New.
1230 2015-01-07  Sandra Loosemore  <sandra@codesourcery.com>
1232         * doc/invoke.texi ([-fvtable-verify]): Fix markup on option
1233         keywords.
1234         ([-fivar-visibility], [-fvisibility]): Likewise.
1236 2015-01-07  Sandra Loosemore  <sandra@codesourcery.com>
1238         * doc/invoke.texi: Fix incorrect uses of @samp markup throughout
1239         the file where @code, @command, etc is more appropriate.
1241 2015-01-06  Sandra Loosemore  <sandra@codesourcery.com>
1243         * doc/invoke.texi (RS/6000 and PowerPC Options): Tidy formatting
1244         of -mrecip= documentation.
1246 2015-01-06  Michael Meissner  <meissner@linux.vnet.ibm.com>
1248         PR target/64505
1249         * config/rs6000/rs6000.c (rs6000_secondary_reload): Return the
1250         correct reload handler if -m32 -mpowerpc64 is used.
1252 2015-01-06  Tom de Vries  <tom@codesourcery.com>
1254         * tree-ssa-tail-merge.c: Fix typo in struct same_succ_def comment.
1256 2015-01-08  Christian Bruel  <christian.bruel@st.com>
1258         PR target/64507
1259         * config/sh/sh-mem.cc (sh_expand_cmpnstr): Check 0 length.
1261 2015-01-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1263         PR tree-optimization/63259
1264         * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Stop checking
1265         if optab exists for 16bit byteswap.
1267 2015-01-06  Jakub Jelinek  <jakub@redhat.com>
1269         * opts.c (common_handle_option): Add support for
1270         -fno-sanitize=all and -f{,no-}sanitize-recover=all.
1271         * doc/invoke.texi: Document -fno-sanitize=all,
1272         -f{,no-}sanitize-recover=all.  Document that
1273         -fsanitize=float-cast-overflow is not enabled
1274         by -fsanitize=undefined.  Fix up documentation
1275         of -f{,no-}sanitize-recover.
1277 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
1279         * config.gcc: Add Visium support.
1280         * configure.ac: Likewise.
1281         * configure: Regenerate.
1282         * doc/extend.texi (interrupt attribute): Add Visium.
1283         * doc/invoke.texi: Document Visium options.
1284         * doc/install.texi: Document Visium target.
1285         * doc/md.texi: Document Visium constraints.
1286         * common/config/visium: New directory.
1287         * config/visium: Likewise.
1289 2015-01-05  Segher Boessenkool  <segher@kernel.crashing.org>
1291         * simplify-rtx.c (simplify_binary_operation_1): Handle more cases
1292         for the "(and X (ior (not X) Y) -> (and X Y)" transform.
1294 2015-01-05  Segher Boessenkool  <segher@kernel.crashing.org>
1296         * combine.c (combine_validate_cost): Do not count the cost of a
1297         split I2 twice.  Do not display it twice in the dump, either.
1299 2015-01-05  Sandra Loosemore  <sandra@codesourcery.com>
1301         Revert parts of r219199.
1302         * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
1303         <inttypes.h>.
1304         ([-Wtraditional]): Restore markup on <limits.h>.
1306 2015-01-05  Trevor Saunders  <tsaunders@mozilla.com>
1308         PR c++/31397
1309         * doc/invoke.texi: Document -Wsuggest-override.
1311 2015-01-05  Radovan Obradovic  <radovan.obradovic@imgtec.com>
1313         PR rtl-optimization/64287
1314         * toplev.c (HAVE_epilogue, HAVE_prologue): Provide default.
1315         (process_options): Disable flag_ipa_ra if profiling.
1317 2015-01-05  Eric Botcazou  <ebotcazou@adacore.com>
1319         * config/nds32/nds32-peephole2.md: Do not mention define_peephole.
1321 2015-01-05  Max Filippov  <jcmvbkbc@gmail.com>
1323         * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
1324         hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
1325         put under #if TARGET_LOOPS guard.
1327 2015-01-05  Uros Bizjak  <ubizjak@gmail.com>
1329         * config/i386/i386.c (output_387_binary_op): Use std::swap.
1331 2015-01-05  Oleg Endo  <olegendo@gcc.gnu.org>
1333         * rtlanal.c (refers_to_regno_p): Change return value from int to bool.
1334         * rtl.h (refers_to_regno_p): Add overload.
1335         * cse.c: Use it.
1336         * bt-load.c: Likewise.
1337         * combine.c: Likewise.
1338         * df-scan.c: Likewise.
1339         * sched-deps.c: Likewise.
1340         * config/s390/s390.c: Likewise.
1341         * config/m32r/m32r.c: Likewise.
1342         * config/rs6000/spe.md: Likewise.
1343         * config/rs6000/rs6000.c: Likewise.
1344         * config/pa/pa.c: Likewise.
1345         * config/stormy16/stormy16.c: Likewise.
1346         * config/cris/cris.c: Likewise.
1347         * config/arc/arc.md: Likewise.
1348         * config/arc/arc.c: Likewise.
1349         * config/sh/sh.md: Likewise.
1350         * config/sh/sh.c: Likewise.
1351         * config/frv/frv.c: Likewise.
1353 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
1355         PR sanitizer/64265
1356         * gimplify.c (gimplify_function_tree): Add TSAN_FUNC_EXIT internal
1357         call as cleanup of the whole body.
1358         * internal-fn.def (TSAN_FUNC_EXIT): New internal call.
1359         * tsan.c (replace_func_exit): New function.
1360         (instrument_func_exit): Moved earlier.
1361         (instrument_memory_accesses): Adjust TSAN_FUNC_EXIT internal calls.
1362         Call instrument_func_exit if no TSAN_FUNC_EXIT internal calls have
1363         been found.
1364         (tsan_pass): Don't call instrument_func_exit.
1365         * internal-fn.c (expand_TSAN_FUNC_EXIT): New function.
1366         * tree-inline.c (copy_bb): Drop TSAN_FUNC_EXIT internal calls during
1367         inlining.
1369         PR sanitizer/64344
1370         * ubsan.h (ubsan_instrument_float_cast): Add ARG argument.
1371         * ubsan.c (ubsan_instrument_float_cast): Add ARG argument, pass
1372         it to libubsan handler instead of EXPR.  Fold comparisons earlier,
1373         if the result is integer_zerop, return NULL_TREE.
1374         * convert.c (convert_to_integer): Pass expr as ARG.
1376         PR tree-optimization/64465
1377         * tree-inline.c (redirect_all_calls): During inlining
1378         clean up EH stmts and EH edges if redirect_call_stmt_to_callee
1379         changed the stmt to a non-throwing call.
1381 2015-01-05  Sandra Loosemore  <sandra@codesourcery.com>
1383         * doc/invoke.texi: Fix incorrect uses of @code, @option, @samp,
1384         etc markup throughout the file.
1386 2015-01-05  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1388         Enable experimental TSAN support for Ada.
1389         * tsan.c (instrument_expr): Handle VIEW_CONVERT_EXPR.
1391 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
1393         PR tree-optimization/64494
1394         * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
1395         clear SSA_NAME_ANTI_RANGE_P flag.
1397 2015-01-05  Marek Polacek  <polacek@redhat.com>
1399         * doc/extend.texi (Arrays of Length Zero): Add missing comma.
1401 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
1403         Update copyright years.
1405         * gcc.c (process_command): Update copyright notice dates.
1406         * gcov-dump.c: Ditto.
1407         * gcov.c: Ditto.
1408         * doc/cpp.texi: Bump @copying's copyright year.
1409         * doc/cppinternals.texi: Ditto.
1410         * doc/gcc.texi: Ditto.
1411         * doc/gccint.texi: Ditto.
1412         * doc/gcov.texi: Ditto.
1413         * doc/install.texi: Ditto.
1414         * doc/invoke.texi: Ditto.
1416         * auto-profile.c, auto-profile.h: Fix up Copyright line.
1418 2015-01-04  Sandra Loosemore  <sandra@codesourcery.com>
1420         * doc/invoke.texi ([-fsized-deallocation]): Copy-edit to fix
1421         verb tense, etc.
1422         ([-fvtable-verify], [-fvtv-debug]): Likewise.
1423         ([-Wabi]): Likewise.
1424         ([-fmessage-length]): Likewise.
1425         ([-Wsuggest-final-types], [-Wsuggest-final-methods]): Likewise.
1426         ([-Wno-discarded-qualifiers]): Likewise.
1427         ([-Wnodiscarded-array-qualifiers]): Likewise.
1428         ([-Wno-virtual-move-assign]): Likewise.
1429         ([-fsanitize=address], [-fsanitize=thread]): Likewise.
1430         ([-fsanitize=leak], [-fsanitize=undefined]): Likewise.
1431         ([-fsanitize=unreachable], [-fsanitize-recover]): Likewise.
1432         ([-fsanitize-undefined-trap-on-error]): Likewise.
1433         ([-floop-interchange]): Likewise.
1434         ([-ftree-coalesce-inlined-vars]): Likewise.
1435         ([-fvect-cost-model]): Likewise.
1436         ([-flto]): Likewise.
1437         ([--param]): Likewise.
1438         (Spec Files): Likewise.
1439         ([-mstrict-align]): Likewise.
1440         ([-mfix-cortex-a53-835769]): Likewise.
1441         ([-march], [-mtune]): Likewise.
1442         ([-mpic-register]): Likewise.
1443         ([-munaligned-access]): Likewise.
1444         ([-msp8]): Likewise.
1445         (EIND and Devices with more than 128 Ki Bytes of Flash): Likewise.
1446         (AVR Built-in Macros): Likewise.
1447         ([-mpreferred-stack-boundary]): Likewise.
1448         ([-mtune-crtl]): Likewise.
1449         ([-mashf]): Likewise.
1450         ([-mmcu=]): Likewise.
1451         ([-minrt]): Likewise.
1452         ([-maltivec], [-maltivec=be], [-maltivec=le]): Likewise.
1453         ([-mupper-regs]): Likewise.
1454         ([-matomic-model]): Likewise.
1455         ([-mdiv]): Likewise.
1456         ([-mzdcbranch]): Likewise.
1457         ([-mdisable-callt]): Likewise.
1458         ([-msoft-float]): Likewise.
1459         ([-m8byte-align]): Likewise.
1460         ([-fstack-reuse]): Likewise.
1462 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
1464         * doc/invoke.texi ([-fprofile-generate], [-fprofile-use]):
1465         Fix markup, light copy-editing.
1466         ([-fauto-profile]): Rewrite to fix formatting and content
1467         problems.
1469 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
1471         * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]):
1472         Copy-edit description.
1473         ([-fisolate-erroneous-paths-attribute]): Likewise.
1474         * common.opt (fisolate-erroneous-paths-dereference):
1475         Copy-edit description.
1476         (fisolate-erroneous-paths-attribute): Likewise.
1478 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
1480         * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
1481         tidy grammar.
1483 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
1485         * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
1486         ([-fvtv-debug]): Likewise.
1487         ([-Wc++-compat]): Likewise.
1488         ([-Wc++11-compat]): Likewise.
1489         ([-Wc++14-compat]): Likewise.
1490         ([-Wno-sized-deallocation]): Likewise.
1491         ([-femit-class-debug-always]): Likewise.
1492         ([-femit-struct-debug-detailed]): Likewise.
1493         ([-fno-keep-inline-dllexport]): Likewise.
1494         ([-fira-algorithm]): Likewise.
1495         ([-fira-region]): Likewise.
1496         ([-flra-remat]): Likewise.
1497         ([-fipa-ra]): Likewise.
1498         ([-fhoist-adjacent-loads]): Likewise.
1499         ([-fisolate-erroneous-paths-dereference]): Likewise.
1500         ([-fisolate-erroneous-paths-attribute]): Likewise.
1501         ([-ftree-switch-conversion]): Likewise.
1502         ([-ftree-tail-merge]): Likewise.
1503         ([-ftree-loop-if-convert]): Likewise.
1504         ([-ftree-loop-if-convert-stores]): Likewise.
1505         ([-ftree-loop-distribution]): Likewise.
1506         ([-ftree-loop-distribute-patterns]): Likewise.
1507         ([-flto-compression-level]): Likewise.
1508         ([-flto-report]): Likewise.
1509         ([-flto-report-wpa]): Likewise.
1510         ([-fuse-linker-plugin]): Likewise.
1511         ([-mfix-cortex-a53-835769]): Likewise.
1512         ([-mno-fix-cortex-a53-835769]): Likewise.
1513         ([-mmmx]...[-mno-3dnow]): Remove the -mno- forms from the
1514         explicit listing; add a note to the discussion indicating they
1515         exist.  Reorder table to group similar options.  Add missing
1516         @opindex entries.  Add @need commands throughout the table to
1517         allow it to be split across multiple pages.
1518         ([-m8bit-idiv]): Fix @opindex.
1519         ([-mavx256-split-unaligned-load]): Likewise.
1520         ([-mavx256-split-unaligned-store]): Likewise.
1521         ([-mstack-protector-guard]): Likewise.
1522         ([-mcpu=]): Likewise.
1523         ([-mcpu]): Likewise.
1524         ([-mpointer-size=]): Likewise.
1526 2015-01-03  John David Anglin  <danglin@gcc.gnu.org>
1528         * config/pa/pa.md (decrement_and_branch_until_zero): Use `Q' constraint
1529         instead of `m' constraint.  Likewise for unnamed movb comparison
1530         patterns using reg_before_reload_operand predicate.
1531         * config/pa/predicates.md (reg_before_reload_operand): Tighten
1532         predicate to reject register index and LO_SUM DLT memory forms
1533         after reload.
1535 2015-01-02  Sandra Loosemore  <sandra@codesourcery.com>
1537         * doc/invoke.texi (Option Summary): Fix spelling of
1538         -fdevirtualize-at-ltrans.
1539         ([-fdevirtualize]): Fix markup.
1540         ([-fdevirtualize-speculatively]): Fix typo.
1541         ([-fdevirtualize-at-ltrans]): Likewise.  Make description less
1542         implementor-speaky.
1543         * common.opt (fdevirtualize-at-ltrans): Likewise.
1544         * ipa-devirt.c: Fix typos in comments throughout the file.
1545         (ipa_devirt): Fix typos in format strings for dump output.
1547 2015-01-02  Sandra Loosemore  <sandra@codesourcery.com>
1549         * doc/invoke.texi ([-fopt-info]): Fix markup, consolidate
1550         discussion of defaults, light copy-editing.
1552 2015-01-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1554         * tsan.c (instrument_expr): corrected previous checkin.
1556 2015-01-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1558         Instrument bit field and unaligned accesses for TSAN.
1559         * sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
1560         (BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
1561         * tsan.c (instrument_expr): Handle COMPONENT_REF and BIT_FIELD_REF.
1562         Use BUILT_IN_TSAN_READ_RANGE and BUILT_IN_TSAN_WRITE_RANGE for
1563         unaligned memory regions.
1565 2015-01-01  Anthony Green  <green@moxielogic.com>
1567         * config/moxie/predicates.md (moxie_general_movsrc_operand):
1568         Restrict move source register offsets to 16 bits.
1570 Copyright (C) 2015 Free Software Foundation, Inc.
1572 Copying and distribution of this file, with or without modification,
1573 are permitted in any medium without royalty provided the copyright
1574 notice and this notice are preserved.