1 2015-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
3 * config/sh/sh.c (sh_atomic_assign_expand_fenv): New function.
4 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
5 (sh_builtin_get_fpscr, sh_builtin_set_fpscr): New variables.
6 (sh_init_builtins): Record decls for __builtin_sh_get_fpscr and
7 __builtin_sh_set_fpscr.
9 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
11 * doc/invoke.texi ([-Wsuggest-attribute=]): Don't use parentheses
12 after a funtion name just to indicate it is a function.
13 ([-fsanitize-undefined-trap-on-error]): Likewise.
14 ([-fdbg-cnt=]): Likewise.
15 ([-mmemcpy]): Likewise.
16 ([-mflush-func]): Likewise.
17 ([-msynci]): Likewise.
19 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
21 * doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing
24 2015-01-12 Jakub Jelinek <jakub@redhat.com>
26 PR tree-optimization/64563
27 * tree-vrp.c (vrp_evaluate_conditional): Check for VR_RANGE
28 instead of != VR_VARYING.
31 * config/i386/i386.c (ix86_expand_prologue): Add
32 REG_FRAME_RELATED_EXPR to %rax and %r10 pushes.
34 PR tree-optimization/64454
35 * tree-vrp.c (simplify_div_or_mod_using_ranges): Optimize
36 op0 % op1 into op0 if op0 is in range [-op1 + 1, op1 - 1]
37 for signed or [0, op1 - 1] for unsigned modulo.
38 (simplify_stmt_using_ranges): Call simplify_div_or_mod_using_ranges
39 even if op1 does not satisfy integer_pow2p.
42 * sreal.c (sreal::to_double): Use ldexp instead of scalbnl.
44 2015-01-12 Jeff Law <law@redhat.com>
47 * config/m68k/m68k.md (truncsiqi2): Disable for TARGET_COLDFIRE.
48 (trunchiqi2, truncsihi2): Similarly.
50 * config/h8300/h8300.c (Fpa): Use RTX_FRAME_RELATED_P directly
51 rather than calling F.
53 2015-01-12 Bernd Edlinger <bernd.edlinger@hotmail.de>
55 * tsan.c (instrument_expr): Use force_gimple_operand.
56 Use may_be_nonaddressable_p instead of is_gimple_addressable.
58 2015-01-12 Richard Biener <rguenther@suse.de>
60 PR tree-optimization/64530
61 * tree-loop-distribution.c (pg_add_dependence_edges): Shuffle
64 2015-01-12 Richard Biener <rguenther@suse.de>
67 * tree-cfg.c (gimple_can_merge_blocks_p): Protect simple
70 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
72 * config/arm/arm.c (arm_cortex_a12_tune): Update entries to match
73 Cortex-A17 tuning parameters.
74 * config/arm/arm-cores.def (cortex-a12): Schedule for cortex-a17.
76 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
78 * config/arm/arm-protos.h (tune_params): Add fuseable_ops field.
79 * config/arm/arm.c (arm_macro_fusion_p): New function.
80 (arm_macro_fusion_pair_p): Likewise.
81 (TARGET_SCHED_MACRO_FUSION_P): Define.
82 (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
83 (ARM_FUSE_NOTHING): Likewise.
84 (ARM_FUSE_MOVW_MOVT): Likewise.
85 (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,
86 arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,
87 arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,
88 arm_cortex_a53_tune, arm_cortex_a57_tune, arm_cortex_a9_tune,
89 arm_cortex_a12_tune, arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune
90 arm_cortex_a5_tune): Specify fuseable_ops value.
92 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
95 * configure.ac (HAVE_LD_PIE_COPYRELOC): Update Linux/x86-64 linker
96 test for PIE with copy reloc.
97 * configure: Regenerated.
99 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
101 * config/arm/arm.c (arm_load_tp): Use R0_REGNUM instead of constant 0
103 (arm_tls_descseq_addr): Likewise.
104 (arm_gen_movmemqi): Likewise.
105 (arm_expand_epilogue_apcs_frame): Likewise.
106 (arm_expand_epilogue): Likewise.
107 (arm_expand_prologue): Likewise. Use R1_REGNUM instead of constant 1
110 2015-01-12 Martin Liska <mliska@suse.cz>
113 * ipa-icf-gimple.c (func_checker::compare_memory_operand): Compare
114 volatility for correct operands.
116 2015-01-12 Martin Liska <mliska@suse.cz>
118 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
119 that a function is not leaf.
120 (sem_function::compare_polymorphic_p): Likewise.
122 2015-01-12 Martin Liska <mliska@suse.cz>
124 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
125 that a function is not leaf.
126 (sem_function::compare_polymorphic_p): Likewise.
128 2015-01-12 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
130 * config/visium/visium.c: Add includes hashtab.h, hash-set.h,
131 machmode.h, input.h, statistics.h, vec.h, double-int.h, real.h,
132 fixed-value.h, alias.h, symtab.h, tree-core.h, wide-int.h, inchash.h,
133 fold-const.h, tree-check.h.
135 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
139 * ipa-inline.c (compute_uninlined_call_time,
140 compute_inlined_call_time): Use counts for extra precision when
142 (big_speedup_p): Fix formating.
143 (RELATIVE_TIME_BENEFIT_RANGE): Remove.
144 (relative_time_benefit): Remove.
145 (edge_badness): Turn DECL_DISREGARD_INLINE_LIMITS into hint;
146 merge guessed and read profile paths.
147 (inline_small_functions): Count only !optimize_size functions into
148 initial size; be more lax about sanity check when profile is used;
149 be sure to update inlined function profile when profile is read.
151 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
154 * ipa-inline-analysis.c (inline_edge_duplication_hook): Adjust
155 cost when edge becomes direct.
156 * ipa-prop.c (make_edge_direct): Do not adjust when speculation
157 is resolved or when introducing new speculation.
159 2015-01-12 Chen Gang <gang.chen.5i5j@gmail.com>
163 * ipa-icf.c (sem_function::equals_private): Use '&&' instead of
164 '||' to fix typo issue.
166 * gcc/tree.h (target_opts_for_fn): Check NULL_TREE since it can
167 accept and return NULL.
169 2015-01-12 Martin Liska <mliska@suse.cz>
171 * cgraph.c (cgraph_edge::remove_callee): Move function to header
172 file for being inlined.
173 (cgraph_set_edge_callee): Delete.
174 (cgraph_edge::redirect_callee): Move function to header file
176 (cgraph_edge::make_direct): Use new function.
177 (cgraph_edge::dump_edge_flags): New function created from
178 static dump_edge_flags function.
179 (cgraph_node::dump): Use new function.
180 (cgraph_edge::verify_count_and_frequency): New function created
181 from verify_edge_count_and_frequency.
182 (cgraph_edge::verify_corresponds_to_fndecl): New function created
183 from verify_edge_corresponds_to_fndecl.
184 (verify_edge_corresponds_to_fndecl): Delete.
185 (cgraph_node::verify_node): Use new function.
186 * cgraph.h (cgraph_edge::set_callee): New function.
187 (cgraph_edge::dump_edge_flags): Likewise.
188 (cgraph_edge::verify_corresponds_to_fndecl): Likewise.
190 2015-01-11 Jan Hubicka <hubicka@ucw.cz>
192 * ipa-utils.c (estimate_function_body_sizes): Do not
193 free node params when called late with early=true.
195 2015-01-11 James Greenhalgh <james.greenhalgh@arm.com>
197 * doc/md.texi (Instruction Patterns): Rewrite text for
201 2015-01-10 Sandra Loosemore <sandra@codesourcery.com>
203 * doc/invoke.texi (Option Summary): Break long lines.
204 [(-fdiagnostics-color)]: Put long literal in @smallexample
206 [(-fsanitize-recover)]: Likewise.
207 [(-fdump-rtl-split*)]: Rewrite to fix over-full hbox.
208 [(-ffast-math)]: Likewise.
209 [(--param max-inline-insns-recursive)]: Likewise.
210 [(--param max-inline-recursive-depth)]: Likewise.
211 [(-mno-text-section-literals)]: Likewise.
213 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
215 * doc/install.texi: Update for libgomp being renamed from "GNU
216 OpenMP Runtime Library" to "GNU Offloading and Multi Processing
218 * doc/sourcebuild.texi: Likewise.
220 2015-01-10 Anthony Green <green@moxielogic.com>
222 * config/moxie/moxie.c (moxie_option_override): Fix forcing of
223 mul.x availability for moxiebox configuration.
225 2015-01-09 Anthony Green <green@moxielogic.com>
227 * config/moxie/moxie.md: Tabify assembly output.
229 2015-01-09 Anthony Green <green@moxielogic.com>
231 * config/moxie/moxie.md (CC_REG): Correct register definition.
233 2015-01-09 Sandra Loosemore <sandra@codesourcery.com>
235 * doc/invoke.texi ([-fvtable-verify]): Copy-edit and fix markup.
236 ([-fvtv-debug], [-fvtv-counts]): Likewise. Correct location
239 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
241 * config/arm/arm.h (MAX_SYNC_LIBFUNC_SIZE): Delete semicolon.
243 2015-01-09 Bernd Schmidt <bernds@codesourcery.com>
244 Jakub Jelinek <jakub@redhat.com>
247 * lto-streamer.h (lto_stream_offload_p): New declaration.
248 * lto-streamer.c (lto_stream_offload_p): New variable.
249 * cgraphunit.c (ipa_passes): Set lto_stream_offload_p
250 at the same time as section_name_prefix.
251 * lto-streamer-out.c (hash_tree): Don't hash TREE_TARGET_OPTION
252 if lto_stream_offload_p.
253 * tree-streamer-out.c (streamer_pack_tree_bitfields): Don't
254 stream TREE_TARGET_OPTION if lto_stream_offload_p.
255 (write_ts_function_decl_tree_pointers): Don't
256 stream DECL_FUNCTION_SPECIFIC_TARGET if lto_stream_offload_p.
257 * tree-streamer-in.c (unpack_value_fields): Don't stream
258 TREE_TARGET_OPTION in if ACCEL_COMPILER.
259 (lto_input_ts_function_decl_tree_pointers): Don't stream
260 DECL_FUNCTION_SPECIFIC_TARGET in if ACCEL_COMPILER.
261 * lto-opts.c (lto_write_options): Use lto_stream_offload_p
262 instead of section_name_prefix string comparisons.
264 2015-01-09 Jakub Jelinek <jakub@redhat.com>
266 PR rtl-optimization/64536
267 * cfgrtl.c (rtl_tidy_fallthru_edge): Handle removal of degenerate
270 2015-01-09 Michael Collison <michael.collison@linaro.org>
272 * genattrtab.c (write_header): Include hash-set.h, machmode.h,
273 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
274 fold-const.h, wide-int.h, and inchash.h when generating
276 * genautomata.c (main) : Include hash-set.h, macInclude hash-set.h, machmode.h,
277 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
278 fold-const.h, wide-int.h, and inchash.h when generating
280 * genemit.c (main): Include hash-set.h, machmode.h,
281 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
282 fold-const.h, wide-int.h, and inchash.h when generating
284 * gengtype.c (open_base_files): Include hash-set.h, machmode.h,
285 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
286 fold-const.h, wide-int.h, and inchash.h when generating
288 * genopinit.c (main): Include hash-set.h, machmode.h,
289 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
290 fold-const.h, wide-int.h, and inchash.h when generating
292 * genoutput.c (output_prologue): Include hash-set.h, machmode.h,
293 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
294 fold-const.h, wide-int.h, and inchash.h when generating
296 * genpeep.c (main): Include hash-set.h, machmode.h,
297 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
298 fold-const.h, wide-int.h, and inchash.h when generating
300 * genpreds.c (write_insn_preds_c): Include hash-set.h, machmode.h,
301 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
302 fold-const.h, wide-int.h, and inchash.h when generating
304 * optc-save-gen-awk: Include hash-set.h, machmode.h,
305 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
306 fold-const.h, wide-int.h, and inchash.h when generating
308 * opth-gen.awk: Change include guard from GCC_C_COMMON_H to GCC_C_COMMON_C
309 when generating options.h.
310 * alias.c: Include hash-set.h, machmode.h,
311 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
312 fold-const.h, wide-int.h, and inchash.h due to
313 flattening of tree.h.
316 * auto-inc-dec.c: Ditto.
317 * auto-profile.c: Ditto
318 * bb-reorder.c: Ditto.
319 * bt-load.c: Include symtab.h due to flattening of tree.h.
320 * builtins.c: Include hash-set.h, machmode.h,
321 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
322 fold-const.h, wide-int.h, and inchash.h due to
323 flattening of tree.h.
324 * calls.c: Include hash-set.h, machmode.h,
325 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
326 fold-const.h, wide-int.h, and inchash.h due to
327 flattening of tree.h.
329 * cfgbuild.c: Include hash-set.h, machmode.h,
330 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
331 fold-const.h, wide-int.h, and inchash.h due to flattening of tree.h.
333 * cfgcleanup.c: Ditto.
334 * cfgexpand.c: Ditto.
336 * cfgloop.c: Include symtab.h, fold-const.h, and
337 inchash.h due to flattening of tree.h.
338 * cfgloopmanip.c: Ditto.
339 * cfgrtl.c: Include hash-set.h, machmode.h,
340 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
341 fold-const.h, wide-int.h, and inchash.h due to
342 flattening of tree.h.
343 * cgraphbuild.c: Ditto.
345 * cgraphclones.c: Ditto.
346 * cgraphunit.c: Ditto.
347 * cilk-common.c: Ditto.
349 * combine-stack-adj.c: Include symbol.h due to flattening of tree.h.
350 * config/aarch64/aarch64-builtins.c: Include hash-set.h, machmode.h,
351 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
352 fold-const.h, wide-int.h, and inchash.h due to
353 flattening of tree.h.
354 * config/aarch64/aarch64.c: Ditto.
355 * config/alpha/alpha.c: Ditto.
356 * config/arc/arc.c: Ditto.
357 * config/arm/aarch-common.c: Ditto.
358 * config/arm/arm-builtins.c: Ditto.
359 * config/arm/arm.c: Ditto.
360 * config/arm/arm-c.c: Ditto.
361 * config/avr/avr.c: Ditto.
362 * config/avr/avr-c.c: Ditto.
363 * config/avr/avr-log.c: Ditto.
364 * config/bfin/bfin.c: Ditto.
365 * config/c6x/c6x.c: Ditto.
366 * config/cr16/cr16.c: Ditto.
367 * config/cris/cris.c: Ditto.
368 * config/darwin.c: Ditto.
369 * config/darwin-c.c: Ditto.
370 * config/default-c.c: Ditto.
371 * config/epiphany/epiphany.c: Ditto.
372 * config/fr30/fr30.c: Ditto.
373 * config/frv/frv.c: Ditto.
374 * config/glibc-c.c: Ditto.
375 * config/h8300/h8300.c: Ditto.
376 * config/i386/i386.c: Ditto.
377 * config/i386/i386-c.c: Ditto.
378 * config/i386/msformat.c: Ditto.
379 * config/i386/winnt.c: Ditto.
380 * config/i386/winnt-cxx.c: Ditto.
381 * config/i386/winnt-stubs.c: Ditto.
382 * config/ia64/ia64.c: Ditto.
383 * config/ia64/ia64-c.c: Ditto.
384 * config/iq2000/iq2000.c: Ditto.
385 * config/lm32/lm32.c: Include symtab.h, fold-const.h,
386 wide-int.h, and inchash.h due to flattening of tree.h.
387 * config/m32c/m32c.c: Include hash-set.h, machmode.h,
388 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
389 fold-const.h, wide-int.h, and inchash.h due to
390 flattening of tree.h.
391 * config/m32c/m32c-pragma.c: Ditto.
392 * config/m32c/m32cr.c: Ditto.
393 * config/m68/m68k.c: Ditto.
394 * config/mcore/mcore.c: Ditto.
395 * config/mep/mep.c: Ditto.
396 * config/mep/mep-pragma.c: Ditto.
397 * config/microblaze/microblaze.c: Ditto.
398 * config/microblaze/microblaze-c.c: Ditto.
399 * config/mips/mips.c: Ditto.
400 * config/mmix/mmix.c: Include symtab.h, fold-const.h,
401 wide-int.h, and inchash.h due to flattening of tree.h.
402 * config/mn10300/mn10300.c: Include hash-set.h, machmode.h,
403 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
404 fold-const.h, wide-int.h, and inchash.h due to
405 flattening of tree.h.
406 * config/moxie/moxie.c: Ditto.
407 * config/msp430/msp430.c: Ditto.
408 * config/msp430/msp430-c.c: Ditto.
409 * config/nds32/nds32.c: Ditto.
410 * config/nds32/nds32-cost.c: Ditto.
411 * config/nds32/nds32-fp-as-gp.c: Ditto.
412 * config/nds32/nds32-intrinsic.c: Ditto.
413 * config/nds32/nds32-isr.c: Ditto.
414 * config/nds32/nds32-md-auxillary.c: Ditto.
415 * config/nds32/nds32-memory-manipulationx.c: Ditto.
416 * config/nds32/nds32-pipelines-auxillary.c: Ditto.
417 * config/nds32/nds32-predicates.c: Ditto.
418 * config/nios2/nios2.c: Ditto.
419 * config/nvptx/nvptx.c: Ditto.
420 * config/pa/pa.c: Ditto.
421 * config/pdp11/pdp11x.c: Include symtab.h, fold-const.h,
422 wide-int.h, and inchash.h due to flattening of tree.h.
423 * config/rl78/rl78.c: Include hash-set.h, machmode.h,
424 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
425 fold-const.h, wide-int.h, and inchash.h due to
426 flattening of tree.h.
427 * config/rl78/rl78-cx.c: Ditto.
428 * config/rs6000/rs6000.c: Ditto.
429 * config/rs6000/rs6000-c.c: Ditto.
430 * config/rx/rx.c: Ditto.
431 * config/s390/s390.c: Ditto.
432 * config/sh/sh.c: Ditto.
433 * config/sh/sc.c: Ditto.
434 * config/sh/sh-mem.cc: Ditto.
435 * config/sh/sh_treg_combine.cc: Include symtab.h, inchash.h and tree.h
436 due to flattening of tree.h.
437 Remove include of tree-core.h.
438 * config/sol2.c: Include hash-set.h, machmode.h,
439 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
440 fold-const.h, wide-int.h, and inchash.h due to
441 flattening of tree.h.
442 * config/sol2-c.c: Ditto.
443 * config/sol2-cxx.c: Ditto.
444 * config/sol2-stubs.c: Ditto.
445 * config/sparc/sparc.c: Ditto.
446 * config/sparc/sparc-cx.c: Ditto.
447 * config/spu/spu.c: Ditto.
448 * config/spu/spu-c.c: Ditto
449 * config/storym16/stormy16.c: Ditto.
450 * config/tilegx/tilegx.c: Include symtab.h, fold-const.h,
451 wide-int.h, and inchash.h due to flattening of tree.h.
452 * config/tilepro/gen-mul-tables.cc: Include symtab.h in generated file.
453 * config/tilegx/tilegx-c.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
456 flattening of tree.h.
457 * config/tilepro/tilepro.c: Include symtab.h, fold-const.h,
458 wide-int.h, and inchash.h due to flattening of tree.h.
459 * config/tilepro/tilepro-c.c: Include hash-set.h, machmode.h,
460 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
461 fold-const.h, wide-int.h, and inchash.h due to
462 flattening of tree.h.
463 * config/v850/v850.c: Ditto.
464 * config/v850/v850-c.c: Ditto.
465 * config/vax/vax.c: Ditto.
466 * config/vms/vms.c: Ditto.
467 * config/vms/vms-c.c: Ditto.
468 * config/vxworks.c: Ditto.
469 * config/winnt-c.c: Ditto.
470 * config/xtensa/xtensa.c: Include symtab.h, fold-const.h,
471 wide-int.h, and inchash.h due to flattening of tree.h.
472 * convert.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
473 input.h, alias.h, symtab.h, options.h, fold-const.h,
474 wide-int.h, and inchash.h due to flattening of tree.h.
476 * cppbuiltin.c: Ditto.
478 * cse.c: Add include of symtab.h due to flattening of tree.h.
479 * cselib.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
480 input.h, alias.h, symtab.h, options.h, fold-const.h,
481 wide-int.h, and inchash.h due to flattening of tree.h.
482 * data-streamer.c: Ditto.
483 * data-streamer-in.c: Ditto.
484 * data-streamer-out.c: Ditto.
487 * ddg.c: Add include of symtab.h due to flattening of tree.h.
488 * debug.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
489 input.h, alias.h, symtab.h, options.h, fold-const.h,
490 wide-int.h, and inchash.h due to flattening of tree.h.
493 * dojump.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
494 input.h, alias.h, symtab.h, options.h, fold-const.h,
495 wide-int.h, inchash.h and real.h due to flattening of tree.h.
496 * double-int.c: Ditto.
499 * dwarf2asm.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
500 input.h, alias.h, symtab.h, fold-const.h,
501 wide-int.h, inchash.h and real.h due to flattening of tree.h.
502 * dwarf2cfi.c: Ditto.
503 * dwarf2out.c: Ditto.
507 * expmed.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
508 input.h, alias.h, symtab.h, fold-const.h,
509 wide-int.h, and inchash.h due to flattening of tree.h.
512 * fixed-value.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
513 input.h, alias.h, symtab.h, fold-const.h,
514 wide-int.h, inchash.h and fixed-value.h due to flattening of tree.h.
515 * fold-const.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
516 input.h, alias.h, symtab.h, fold-const.h,
517 wide-int.h, and inchash.h due to flattening of tree.h.
518 Relocate inline function convert_to_ptrofftype_loc from tree.h.
519 Relocate inline function fold_build_pointer_plus_loc from tree.h.
520 Relocate inline function fold_build_pointer_plus_hwi_loc from tree.h.
521 * fold-const.h: Relocate macro convert_to_ptrofftype from tree.h.
522 Relocate macro fold_build_pointer_plus to relocate from tree.h.h.
523 Relocate macro fold_build_pointer_plus_hwi from tree.h.
524 Add prototype for convert_to_ptrofftype_loc relocated from tree.h.
525 Add prototype for fold_build_pointer_plus_loc relocated from tree.h.
526 Add prototype for fold_build_pointer_plus_hwi_loc relocated from tree.h.
527 * function.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
528 input.h, alias.h, symtab.h, fold-const.h,
529 wide-int.h, and inchash.h due to flattening of tree.h.
530 * gcc-plugin.h: Include statistics.h, double-int.h, real.h, fixed-value.h,
531 alias.h, flags.h, and symtab.h due to flattening of tree.h
533 * generic-match-head.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
534 input.h, alias.h, symtab.h, options.h, fold-const.h,
535 wide-int.h, and inchash.h due to flattening of tree.h.
536 * ggc-page.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
537 input.h, alias.h, symtab.h, fold-const.h,
538 wide-int.h, and inchash.h due to flattening of tree.h.
539 * gimple-builder.c: Ditto.
541 * gimple-expr.c: Ditto.
542 * gimple-fold.c: Ditto.
543 * gimple-iterator.c: Ditto.
544 * gimple-low.c: Ditto.
545 * gimple-match-head.c: Ditto.
546 * gimple-pretty-print.c: Ditto.
547 * generic-ssa-isolate-paths.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
548 input.h, alias.h, symtab.h, options.h, fold-const.h,
549 wide-int.h, and inchash.h due to flattening of tree.h.
550 * gimple-ssa-strength-reduction.c: Ditto.
551 * gimple-streamer-in.c: Ditto.
552 * gimple-streamer-out.c: Ditto.
553 * gimple-walk.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
554 input.h, alias.h, symtab.h, fold-const.h,
555 wide-int.h, and inchash.h due to flattening of tree.h.
556 * gimplify.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
557 input.h, alias.h, symtab.h, options.h, fold-const.h,
558 wide-int.h, and inchash.h due to flattening of tree.h.
559 * gimplify-me.c: Ditto.
560 * graphite-blocking.c: Ditto.
562 * graphite-dependencies.c: Ditto.
563 * graphite-interchange.c: Ditto.
564 * graphite-isl-ast-to-gimple.c: Ditto.
565 * graphite-optimize-isl.c: Ditto.
566 * graphite-poly.c: Ditto.
567 * graphite-scop-detection.c: Ditto.
568 * graphite-sese-to-poly.c: Ditto.
569 * hw-doloop.c: Include symtab.h due to flattening of tree.h.
571 * init-regs.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
572 input.h, alias.h, symtab.h, fold-const.h,
573 wide-int.h, and inchash.h due to flattening of tree.h.
574 * internal-fc.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
575 input.h, alias.h, symtab.h,options.h, fold-const.h,
576 wide-int.h, and inchash.h due to flattening of tree.h.
579 * ipa-comdats.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
580 input.h, alias.h, symtab.h, fold-const.h,
581 wide-int.h, and inchash.h due to flattening of tree.h.
582 * ipa-cp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
583 input.h, alias.h, symtab.h,options.h, fold-const.h,
584 wide-int.h, and inchash.h due to flattening of tree.h.
585 * ipa-devirt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
586 input.h, alias.h, symtab.h, fold-const.h,
587 wide-int.h, and inchash.h due to flattening of tree.h.
588 * ipa-icf.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
589 input.h, alias.h, symtab.h,options.h, fold-const.h,
590 wide-int.h, and inchash.h due to flattening of tree.h.
591 * ipa-icf-gimple.c: Ditto.
592 * ipa-inline-analysis.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
593 input.h, alias.h, symtab.h, fold-const.h,
594 wide-int.h, and inchash.h due to flattening of tree.h.
595 * ipa-inline.c: Ditto.
596 * ipa-inline-transform.c: Ditto.
597 * ipa-polymorhpic-call.c: Ditto.
598 * ipa-profile.c: Ditto.
599 * ipa-prop.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
600 input.h, alias.h, symtab.h, options.h, fold-const.h,
601 wide-int.h, and inchash.h due to flattening of tree.h.
602 * ipa-pure-const.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
603 input.h, alias.h, symtab.h, fold-const.h,
604 wide-int.h, and inchash.h due to flattening of tree.h.
605 * ipa-ref.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
606 input.h, alias.h, symtab.h, options.h, fold-const.h,
607 wide-int.h, and inchash.h due to flattening of tree.h.
608 * ipa-reference.c: Ditto.
609 * ipa-split.c: Ditto.
610 * ipa-utils.c: Ditto.
611 * ipa-visbility.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
612 input.h, alias.h, symtab.h, fold-const.h,
613 wide-int.h, and inchash.h due to flattening of tree.h.
615 * ira-color.c: Include hash-set.h due to flattening of tree.h.
616 * ira-costs.c: Ditto.
618 * jump.c: Include symtab.h due to flattening of tree.h.
619 * langhooks.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
620 input.h, alias.h, symtab.h, fold-const.h,
621 wide-int.h, and inchash.h due to flattening of tree.h.
622 * loop-doloop.c: Include symtab.h due to flattening of tree.h.
623 * loop-init.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, and inchash.h due to flattening of tree.h.
626 * loop-invariant.c: Include symtab.h due to flattening of tree.h.
628 * loop-unroll.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
629 input.h, alias.h, symtab.h, fold-const.h,
630 wide-int.h, and inchash.h due to flattening of tree.h.
631 * lower-subreg.c: Ditto.
632 * lra-assigns.c: Include symtab.h due to flattening of tree.h.
633 * lra.c: Include symtab.h, fold-const.h, wide-int.h and inchash.h
634 due to flattening of tree.h.
635 * lra-coalesce.c: Include symtab.h due to flattening of tree.h.
636 * lra-constraints.c: Ditto.
637 * lra-eliminations.c: Ditto.
639 * lra-remat.c: Ditto.
640 * lra-spills.c: Ditto.
641 * lto-cgraph.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
642 input.h, alias.h, symtab.h, fold-const.h,
643 wide-int.h, and inchash.h due to flattening of tree.h.
644 * lto-compress.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
645 input.h, alias.h, symtab.h, options, fold-const.h,
646 wide-int.h, and inchash.h due to flattening of tree.h.
648 * lto-section-in.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
649 input.h, alias.h, symtab.h, fold-const.h,
650 wide-int.h, and inchash.h due to flattening of tree.h.
651 * lto-section-out.c: Ditto.
652 * lto-streamer.c: Ditto.
653 * lto-streamer-in.c: Ditto.
654 * lto-streamer-out.c: Ditto.
655 * modulo-sched.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
656 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
657 inchash.h due to flattening of tree.h.
658 * omega.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
659 input.h, alias.h, symtab.h, options, fold-const.h,
660 wide-int.h, and inchash.h due to flattening of tree.h.
661 * omega-low.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
662 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
663 inchash.h due to flattening of tree.h.
665 * opts-global.c: Ditto.
667 * plugin.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
668 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
669 inchash.h due to flattening of tree.h.
670 * postreload.c: Include symtab.h due to flattening of tree.h.
671 * postreload-gcse.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
672 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
673 inchash.h due to flattening of tree.h.
675 * print-rtl.c: Ditto.
676 * print-tree.c: Ditto.
677 * profile.c: Include symtab.h, fold-const.h
678 and inchash.h due to flattening of tree.h.
679 * real.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
680 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
681 inchash.h due to flattening of tree.h.
682 * realmpfr.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
683 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
684 inchash.h due to flattening of tree.h.
685 * recog.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
686 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
687 inchash.h due to flattening of tree.h.
690 * reg-stack.c: Ditto.
691 * reload1.c: Include symtab.h, fold-const.h, wide-int.h
692 and inchash.h due to flattening of tree.h.
693 * reload.c: Include symtab.h due to flattening of tree.h.
695 * rtlanal.c: Include symtab.h, fold-const.h, wide-int.h
696 and inchash.h due to flattening of tree.h.
697 * rtl-chkp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
698 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
699 inchash.h due to flattening of tree.h.
700 * rtlhooks.c: Include symtab.h due to flattening of tree.h.
701 * sanopt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
702 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
703 inchash.h due to flattening of tree.h.
704 * sched-deps.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
705 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
706 inchash.h due to flattening of tree.h.
707 * sched-vis.c: Ditto.
709 * sel-sched.c: Include symtab.h, fold-const.h, wide-int.h
710 and inchash.h due to flattening of tree.h.
711 * sel-sched-ir.c: Ditto.
712 * sese.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
713 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
714 inchash.h due to flattening of tree.h.
715 * shrink-wrap.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
716 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
717 inchash.h due to flattening of tree.h.
718 * simplify-rtx.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
719 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
720 inchash.h due to flattening of tree.h.
721 * stack-ptr-mod.c: Ditto.
723 * store-motion.c: Ditto.
724 * store-layout.c: Ditto.
725 * stringpool.c: Ditto.
727 * target-globals.c: Ditto.
728 * targhooks.c: Ditto.
731 * trans-mem.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
732 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
733 inchash.h due to flattening of tree.h.
734 * tree-affine.c: Ditto.
735 * tree-browser.c: Ditto.
736 * tree.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
737 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
738 inchash.h due to flattening of tree.h.
739 * tree-call-cdce.c: Include symtab.h, alias.h, double-int.h,
740 fold-const.h, wide-int.h, inchash.h and real.h due to
741 flattening of tree.h.
742 * tree-cfg.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
743 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
744 inchash.h due to flattening of tree.h.
745 * tree-cfgcleanup.c: Ditto.
746 * tree-chkp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
747 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
748 inchash.h due to flattening of tree.h.
749 * tree-chkp-opt.c: Ditto.
750 * tree-chrec.c: Ditto.
751 * tree-chkp-opt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
752 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
753 real.h due to flattening of tree.h.
754 * tree-core.h: Flatten header file by removing all #include statements.
755 * tree-data-ref.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
756 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
757 inchash.h due to flattening of tree.h.
758 * tree-dfa.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
759 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
760 real.h due to flattening of tree.h.
761 * tree-diagnostic.c: Ditto.
762 * tree-dump.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
763 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h, real.h and
764 fixed-value.h due to flattening of tree.h.
766 * tree-eh.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
767 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
768 real.h due to flattening of tree.h.
769 * tree-emutls.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
770 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
771 inchash.h due to flattening of tree.h.
772 * tree.h: Flatten header files by removing all includes except tree-core.h.
773 Remove inline function convert_to_ptrofftype_loc to relocate to fold-const.c.
774 Remove macro convert_to_ptrofftype to relocate to fold-const.h.
775 Remove inline function fold_build_pointer_plus_loc to relocate to fold-const.c.
776 Remove macro fold_build_pointer_plus to relocate to fold-const.h.
777 Remove inline function fold_build_pointer_plus_hwi_loc to relocate to fold-const.c.
778 Remove macro fold_build_pointer_plus_hwi to relocate to fold-const.h.
779 * tree-if-conv.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, inchash.h, real.h and
781 fixed-value.h due to flattening of tree.h.
782 * tree-inline.c: Ditto.
783 * tree-into-ssa.c: Ditto.
784 * tree-iterator.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
785 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
786 inchash.h due to flattening of tree.h.
787 * tree-loop-distribution.c: Ditto.
788 * tree-nested.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
789 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
790 due to flattening of tree.h.
792 * tree-object-size.c: Ditto.
793 * tree-outof-ssa.c: Ditto.
794 * tree-parloops.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
795 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
796 inchash.h due to flattening of tree.h.
797 * tree-phinodes.c: Ditto.
798 * tree-predcom.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
799 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
800 due to flattening of tree.h.
801 * tree-pretty-print.c: Ditto.
802 * tree-profile.c: double-int.h, input.h, alias.h, symtab.h,
803 fold-const.h, wide-int.h and inchash.h due to flattening of tree.h.
804 * tree-scalar-evolution.c: Include hash-set.h, machmode.h, vec.h,
805 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
806 wide-int.h and inchash.h due to flattening of tree.h.
807 * tree-sra.c: Include vec.h, double-int.h,
808 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
809 inchash.h due to flattening of tree.h.
810 * tree-ssa-alias.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
811 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
812 due to flattening of tree.h.
814 * tree-ssa-ccp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
815 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h
816 and real.h due to flattening of tree.h.
817 * tree-ssa-coalesce.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
818 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
819 due to flattening of tree.h.
820 * tree-ssa-copy.c: Ditto.
821 * tree-ssa-copyrename.c: Ditto.
822 * tree-ssa-dce.c: Ditto.
823 * tree-ssa-dom.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
824 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h
825 and real.h due to flattening of tree.h.
826 * tree-ssa-dse.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
827 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
828 due to flattening of tree.h.
829 * tree-ssa-forwprop.c: Ditto.
830 * tree-ssa-ifcombine.c: Ditto.
831 * tree-ssa-live.c: Ditto.
832 * tree-ssa-loop.c: Ditto.
833 * tree-ssa-loop-ch.c: Ditto.
834 * tree-ssa-loop-im.c: Ditto.
835 * tree-ssa-loop-ivcanon.c: Ditto.
836 * tree-ssa-loop-ivopts.c: Ditto.
837 * tree-ssa-loop-manip.c: Ditto.
838 * tree-ssa-loop-niter.c: Ditto.
839 * tree-ssa-loop-prefetch.c: Ditto.
840 * tree-ssa-loop-unswitch.c: Ditto.
841 * tree-ssa-loop-math-opts.c: Ditto.
842 * tree-ssanames.c: Ditto.
843 * tree-ssa-operands.c: Ditto.
844 * tree-ssa-phiopt.c: Ditto.
845 * tree-ssa-phiprop.c: Ditto.
846 * tree-ssa-pre.c: Ditto.
847 * tree-ssa-propagate.c: Ditto.
848 * tree-ssa-reassoc.c: Ditto.
849 * tree-ssa-sccvn.c: Ditto.
850 * tree-ssa-sink.c: Ditto.
851 * tree-ssa-strlen.c: Include hash-set.h, machmode.h, vec.h,
852 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
853 wide-int.h and inchash.h due to flattening of tree.h.
854 * tree-ssa-structalias.c: double-int.h, input.h, alias.h, symtab.h,
855 fold-const.h, wide-int.h and inchash.h due to flattening of tree.h.
856 * tree-ssa-tail-merge.c: Include hash-set.h, machmode.h, vec.h,
857 double-int.h, input.h, alias.h, symtab.h, fold-const.h,
858 wide-int.h and inchash.h due to flattening of tree.h.
859 * tree-ssa-ter.c: Ditto.
860 * tree-ssa-threadedge.c: Ditto.
861 * tree-ssa-threadupdate.c: Include hash-set.h, machmode.h, vec.h,
862 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
863 wide-int.h and inchash.h due to flattening of tree.h.
864 * tree-ssa-uncprop.c: Include hash-set.h, machmode.h, vec.h,
865 double-int.h, input.h, alias.h, symtab.h, fold-const.h,
866 wide-int.h and inchash.h due to flattening of tree.h.
867 * tree-ssa-uninit.c: Ditto.
868 * tree-stdarg.c: Include vec.h, double-int.h, input.h, alias.h,
869 symtab.h, fold-const.h, wide-int.h and inchash.h due to flattening
871 * tree-streamer.c: Include vec.h, double-int.h, input.h, alias.h,
872 symtab.h, options.h, fold-const.h, wide-int.h and
873 inchash.h due to flattening of tree.h.
874 * tree-streamer-in.c: Include hash-set.h, machmode.h, vec.h,
875 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
876 wide-int.h, inchash.h, real.h and fixed-value.h due to flattening
878 * tree-streamer-out.c: Dittoo.
879 * tree-switch-conversion.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
880 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
881 due to flattening of tree.h.
882 * tree-tailcall.c: Ditto.
883 * tree-vect-data-refs.c: Ditto.
884 * tree-vect-generic.c: Include hash-set.h, machmode.h, vec.h, double-int.h, input.h,
885 alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
886 due to flattening of tree.h.
887 * tree-vect-loop.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
888 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
889 due to flattening of tree.h.
890 * tree-vect-loop-manip.c: Ditto.
891 * tree-vectorizer.c: Ditto.
892 * tree-vect-patterns.c: Ditto.
893 * tree-vect-slp.c: Ditto.
894 * tree-vect-stmts.c: Ditto.
896 * tsan.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
897 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
898 due to flattening of tree.h.
900 * value-prof.c.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
901 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
902 due to flattening of tree.h.
905 * var-tracking.c: Ditto.
906 * vmsdbgout.c: Ditto.
907 * vtable-verify.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
908 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
909 due to flattening of tree.h.
910 * wide-int.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
911 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
912 due to flattening of tree.h.
915 2015-01-09 Tom de Vries <tom@codesourcery.com>
917 PR rtl-optimization/64539
918 * regcprop.c (kill_clobbered_values): Factor out of ...
919 (copyprop_hardreg_forward_1): ... here. Use kill_clobbered_values
920 instead of note_stores with kill_clobbered_value.
922 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
924 * ginclude/unwind-arm-common.h: Revert previous commit.
926 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
928 * config.gcc (arm*-*-freebsd*): New configuration.
929 * config/arm/freebsd.h: New file.
930 * config.host: Add extra components for arm*-*-freebsd*.
931 * config/arm/arm.h: Introduce MAX_SYNC_LIBFUNC_SIZE.
932 * config/arm/arm.c (arm_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE.
934 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
936 * config/rs6000/rtems.h (CPP_OS_RTEMS_SPEC): Define __PPC_CPU_E6500__
938 * config/rs6000/t-rtems: Add e6500 multilibs.
940 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
942 * config/rs6000/t-rtems: Add -mno-spe to soft-float multilib for
945 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
947 * config/rs6000/t-rtems: Use MULTILIB_REQUIRED instead of
950 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
952 * config/arm/t-rtems: Use MULTILIB_REQUIRED instead of
955 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
957 * config/arm/t-rtems-eabi: Rename to...
958 * config/arm/t-rtems: ...this.
959 * config/arm/rtems-eabi.h: Rename to...
960 * config/arm/rtems.h: ...this.
961 * config.gcc (arm*-*-rtems*): Reflect changes above.
963 2015-01-09 Richard Biener <rguenther@suse.de>
965 PR tree-optimization/64410
966 * tree-ssa.c (non_rewritable_lvalue_p): Allow REALPART/IMAGPART_EXPR
968 (execute_update_addresses_taken): Deal with that.
969 * tree-ssa-forwprop.c (pass_forwprop::execute): Use component-wise
970 loads/stores for complex variables.
972 2015-01-09 Martin Liska <mliska@suse.cz>
974 * ipa-icf-gimple.c (func_checker::compare_ssa_name): Enhance SSA
976 (func_checker::compare_memory_operand): New function.
977 (func_checker::compare_operand): Split case to newly
979 (func_checker::compare_cst_or_decl): New function.
980 (func_checker::compare_gimple_call): Identify
982 (func_checker::compare_gimple_assign): Likewise.
983 * ipa-icf-gimple.h: New function.
985 2015-01-09 Martin Liska <mliska@suse.cz>
988 * sreal.c (sreal::dump): Change unsigned format to signed for
990 (sreal::to_double): Replace exp2 with scalbln.
992 2015-01-09 Martin Liska <mliska@suse.cz>
994 * cgraphunit.c (cgraph_node::create_wrapper): Fix level of indentation.
995 * ipa-icf.c (sem_function::equals_private): Add support for target and
996 (sem_item_optimizer::merge_classes): Remove redundant function
997 optimization flags comparison.
998 * tree.h (target_opts_for_fn): New function.
1000 2015-01-09 Tom de Vries <tom@codesourcery.com>
1002 * omp-low.c (expand_omp_for_static_chunk): Fix assert.
1004 2015-01-09 Kito Cheng <kito@0xlab.org>
1006 PR rtl-optimization/64348
1007 * lra-constraints.c (split_reg): Fix caller-save store/restore
1008 instruction generation.
1010 2015-01-08 John David Anglin <danglin@gcc.gnu.org>
1012 PR gcov-profile/61790
1013 * gcov-tool.c (do_rewrite): Use strtoll instead of atoll if host has
1014 long long. Fallback to int64_t if host doesn't have long long and
1015 use strtol if int64_t is long. Otherwise, use sscanf for conversion.
1017 2015-01-08 Jakub Jelinek <jakub@redhat.com>
1019 PR tree-optimization/63989
1020 * params.def (PARAM_MAX_TRACKED_STRLENS): Increment default
1022 * tree-ssa-strlen.c (get_strinfo): Moved earlier.
1023 (get_stridx): If we don't have a record for certain SSA_NAME,
1024 but it is POINTER_PLUS_EXPR of some SSA_NAME we do with
1025 constant offset, call get_stridx_plus_constant.
1026 (get_stridx_plus_constant): New function.
1027 (zero_length_string): Don't use get_stridx here.
1031 * dse.c (struct insn_info): Mention frame_read set also
1032 before reload for tail calls on some targets.
1033 (scan_insn): Revert 2014-12-22 change. Set frame_read
1034 also before reload for tail calls if
1035 HARD_FRAME_POINTER_IS_ARG_POINTER. Call add_wild_read
1036 instead of add_non_frame_wild_read for non-const/memset
1037 tail calls after reload.
1039 2015-01-08 Jason Merrill <jason@redhat.com>
1041 * ubsan.c (do_ubsan_in_current_function): New.
1042 (pass_ubsan::gate): Use it.
1043 * ubsan.h: Declare it.
1044 * convert.c (convert_to_integer): Use it.
1046 2015-01-08 Jakub Jelinek <jakub@redhat.com>
1049 * config/i386/i386.c (ix86_expand_int_movcc): Don't reverse
1050 compare_code when it is unconditionally overwritten afterwards.
1051 Use ix86_reverse_condition instead of reverse_condition. Don't
1052 change code if *reverse_condition* returned UNKNOWN and don't
1053 swap ct/cf and negate diff in that case.
1055 2015-01-08 Mike Stump <mikestump@comcast.net>
1057 * tsan.c (pass_tsan::gate): Add no_sanitize_thread support.
1058 (pass_tsan_O0::gate): Likewise.
1059 * extend.texi (Function Attributes): Add no_sanitize_thread
1062 2015-01-08 Thomas Schwinge <thomas@codesourcery.com>
1064 * builtins.def (DEF_GOMP_BUILTIN): Also consider flag_offload_abi
1065 for registering builtins.
1066 * config/i386/intelmic-mkoffload.c (prepare_target_image): Don't
1067 add -fopenmp to the argv_obstack used when invoking
1070 * config/i386/intelmic-mkoffload.c (compile_for_target): Always
1071 add "-m32" or "-m64" to argv_obstack.
1072 (generate_host_descr_file): Likewise, when invoking host_compiler.
1073 (main): Always add "-m elf_i386" or "-m elf_x86_64" when invoking
1076 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
1078 * config/sh/sh-mem.cc: Use constant as second operand when emitting
1081 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
1084 * config/sh/sh.md (*addsi3_compact): Emit reg-reg copy instead of
1085 constant load if constant operand fits into I08.
1087 2015-01-08 Jakub Jelinek <jakub@redhat.com>
1090 * tree.c (build2_stat): Fix up initialization of TREE_READONLY
1091 and TREE_THIS_VOLATILE for MEM_REFs.
1092 (build5_stat): Fix up initialization of TREE_READONLY and
1093 TREE_THIS_VOLATILE for TARGET_MEM_REFs.
1095 2015-01-08 Kaz Kojima <kkojima@gcc.gnu.org>
1098 * config/sh/sh.md (*addsi3_compact): Use u constraint instead
1099 of r for the second alternative of the destination operand.
1101 2015-01-07 Segher Boessenkool <segher@kernel.crashing.org>
1104 * config/rs6000/rs6000.md (*eqsi3_ext<mode>, *nesi3_ext<mode>): New.
1106 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
1108 * doc/invoke.texi ([-fvtable-verify]): Fix markup on option
1110 ([-fivar-visibility], [-fvisibility]): Likewise.
1112 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
1114 * doc/invoke.texi: Fix incorrect uses of @samp markup throughout
1115 the file where @code, @command, etc is more appropriate.
1117 2015-01-06 Sandra Loosemore <sandra@codesourcery.com>
1119 * doc/invoke.texi (RS/6000 and PowerPC Options): Tidy formatting
1120 of -mrecip= documentation.
1122 2015-01-06 Michael Meissner <meissner@linux.vnet.ibm.com>
1125 * config/rs6000/rs6000.c (rs6000_secondary_reload): Return the
1126 correct reload handler if -m32 -mpowerpc64 is used.
1128 2015-01-06 Tom de Vries <tom@codesourcery.com>
1130 * tree-ssa-tail-merge.c: Fix typo in struct same_succ_def comment.
1132 2015-01-08 Christian Bruel <christian.bruel@st.com>
1135 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Check 0 length.
1137 2015-01-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1139 PR tree-optimization/63259
1140 * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Stop checking
1141 if optab exists for 16bit byteswap.
1143 2015-01-06 Jakub Jelinek <jakub@redhat.com>
1145 * opts.c (common_handle_option): Add support for
1146 -fno-sanitize=all and -f{,no-}sanitize-recover=all.
1147 * doc/invoke.texi: Document -fno-sanitize=all,
1148 -f{,no-}sanitize-recover=all. Document that
1149 -fsanitize=float-cast-overflow is not enabled
1150 by -fsanitize=undefined. Fix up documentation
1151 of -f{,no-}sanitize-recover.
1153 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
1155 * config.gcc: Add Visium support.
1156 * configure.ac: Likewise.
1157 * configure: Regenerate.
1158 * doc/extend.texi (interrupt attribute): Add Visium.
1159 * doc/invoke.texi: Document Visium options.
1160 * doc/install.texi: Document Visium target.
1161 * doc/md.texi: Document Visium constraints.
1162 * common/config/visium: New directory.
1163 * config/visium: Likewise.
1165 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
1167 * simplify-rtx.c (simplify_binary_operation_1): Handle more cases
1168 for the "(and X (ior (not X) Y) -> (and X Y)" transform.
1170 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
1172 * combine.c (combine_validate_cost): Do not count the cost of a
1173 split I2 twice. Do not display it twice in the dump, either.
1175 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
1177 Revert parts of r219199.
1178 * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
1180 ([-Wtraditional]): Restore markup on <limits.h>.
1182 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
1185 * doc/invoke.texi: Document -Wsuggest-override.
1187 2015-01-05 Radovan Obradovic <radovan.obradovic@imgtec.com>
1189 PR rtl-optimization/64287
1190 * toplev.c (HAVE_epilogue, HAVE_prologue): Provide default.
1191 (process_options): Disable flag_ipa_ra if profiling.
1193 2015-01-05 Eric Botcazou <ebotcazou@adacore.com>
1195 * config/nds32/nds32-peephole2.md: Do not mention define_peephole.
1197 2015-01-05 Max Filippov <jcmvbkbc@gmail.com>
1199 * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
1200 hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
1201 put under #if TARGET_LOOPS guard.
1203 2015-01-05 Uros Bizjak <ubizjak@gmail.com>
1205 * config/i386/i386.c (output_387_binary_op): Use std::swap.
1207 2015-01-05 Oleg Endo <olegendo@gcc.gnu.org>
1209 * rtlanal.c (refers_to_regno_p): Change return value from int to bool.
1210 * rtl.h (refers_to_regno_p): Add overload.
1212 * bt-load.c: Likewise.
1213 * combine.c: Likewise.
1214 * df-scan.c: Likewise.
1215 * sched-deps.c: Likewise.
1216 * config/s390/s390.c: Likewise.
1217 * config/m32r/m32r.c: Likewise.
1218 * config/rs6000/spe.md: Likewise.
1219 * config/rs6000/rs6000.c: Likewise.
1220 * config/pa/pa.c: Likewise.
1221 * config/stormy16/stormy16.c: Likewise.
1222 * config/cris/cris.c: Likewise.
1223 * config/arc/arc.md: Likewise.
1224 * config/arc/arc.c: Likewise.
1225 * config/sh/sh.md: Likewise.
1226 * config/sh/sh.c: Likewise.
1227 * config/frv/frv.c: Likewise.
1229 2015-01-05 Jakub Jelinek <jakub@redhat.com>
1232 * gimplify.c (gimplify_function_tree): Add TSAN_FUNC_EXIT internal
1233 call as cleanup of the whole body.
1234 * internal-fn.def (TSAN_FUNC_EXIT): New internal call.
1235 * tsan.c (replace_func_exit): New function.
1236 (instrument_func_exit): Moved earlier.
1237 (instrument_memory_accesses): Adjust TSAN_FUNC_EXIT internal calls.
1238 Call instrument_func_exit if no TSAN_FUNC_EXIT internal calls have
1240 (tsan_pass): Don't call instrument_func_exit.
1241 * internal-fn.c (expand_TSAN_FUNC_EXIT): New function.
1242 * tree-inline.c (copy_bb): Drop TSAN_FUNC_EXIT internal calls during
1246 * ubsan.h (ubsan_instrument_float_cast): Add ARG argument.
1247 * ubsan.c (ubsan_instrument_float_cast): Add ARG argument, pass
1248 it to libubsan handler instead of EXPR. Fold comparisons earlier,
1249 if the result is integer_zerop, return NULL_TREE.
1250 * convert.c (convert_to_integer): Pass expr as ARG.
1252 PR tree-optimization/64465
1253 * tree-inline.c (redirect_all_calls): During inlining
1254 clean up EH stmts and EH edges if redirect_call_stmt_to_callee
1255 changed the stmt to a non-throwing call.
1257 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
1259 * doc/invoke.texi: Fix incorrect uses of @code, @option, @samp,
1260 etc markup throughout the file.
1262 2015-01-05 Bernd Edlinger <bernd.edlinger@hotmail.de>
1264 Enable experimental TSAN support for Ada.
1265 * tsan.c (instrument_expr): Handle VIEW_CONVERT_EXPR.
1267 2015-01-05 Jakub Jelinek <jakub@redhat.com>
1269 PR tree-optimization/64494
1270 * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
1271 clear SSA_NAME_ANTI_RANGE_P flag.
1273 2015-01-05 Marek Polacek <polacek@redhat.com>
1275 * doc/extend.texi (Arrays of Length Zero): Add missing comma.
1277 2015-01-05 Jakub Jelinek <jakub@redhat.com>
1279 Update copyright years.
1281 * gcc.c (process_command): Update copyright notice dates.
1282 * gcov-dump.c: Ditto.
1284 * doc/cpp.texi: Bump @copying's copyright year.
1285 * doc/cppinternals.texi: Ditto.
1286 * doc/gcc.texi: Ditto.
1287 * doc/gccint.texi: Ditto.
1288 * doc/gcov.texi: Ditto.
1289 * doc/install.texi: Ditto.
1290 * doc/invoke.texi: Ditto.
1292 * auto-profile.c, auto-profile.h: Fix up Copyright line.
1294 2015-01-04 Sandra Loosemore <sandra@codesourcery.com>
1296 * doc/invoke.texi ([-fsized-deallocation]): Copy-edit to fix
1298 ([-fvtable-verify], [-fvtv-debug]): Likewise.
1299 ([-Wabi]): Likewise.
1300 ([-fmessage-length]): Likewise.
1301 ([-Wsuggest-final-types], [-Wsuggest-final-methods]): Likewise.
1302 ([-Wno-discarded-qualifiers]): Likewise.
1303 ([-Wnodiscarded-array-qualifiers]): Likewise.
1304 ([-Wno-virtual-move-assign]): Likewise.
1305 ([-fsanitize=address], [-fsanitize=thread]): Likewise.
1306 ([-fsanitize=leak], [-fsanitize=undefined]): Likewise.
1307 ([-fsanitize=unreachable], [-fsanitize-recover]): Likewise.
1308 ([-fsanitize-undefined-trap-on-error]): Likewise.
1309 ([-floop-interchange]): Likewise.
1310 ([-ftree-coalesce-inlined-vars]): Likewise.
1311 ([-fvect-cost-model]): Likewise.
1312 ([-flto]): Likewise.
1313 ([--param]): Likewise.
1314 (Spec Files): Likewise.
1315 ([-mstrict-align]): Likewise.
1316 ([-mfix-cortex-a53-835769]): Likewise.
1317 ([-march], [-mtune]): Likewise.
1318 ([-mpic-register]): Likewise.
1319 ([-munaligned-access]): Likewise.
1320 ([-msp8]): Likewise.
1321 (EIND and Devices with more than 128 Ki Bytes of Flash): Likewise.
1322 (AVR Built-in Macros): Likewise.
1323 ([-mpreferred-stack-boundary]): Likewise.
1324 ([-mtune-crtl]): Likewise.
1325 ([-mashf]): Likewise.
1326 ([-mmcu=]): Likewise.
1327 ([-minrt]): Likewise.
1328 ([-maltivec], [-maltivec=be], [-maltivec=le]): Likewise.
1329 ([-mupper-regs]): Likewise.
1330 ([-matomic-model]): Likewise.
1331 ([-mdiv]): Likewise.
1332 ([-mzdcbranch]): Likewise.
1333 ([-mdisable-callt]): Likewise.
1334 ([-msoft-float]): Likewise.
1335 ([-m8byte-align]): Likewise.
1336 ([-fstack-reuse]): Likewise.
1338 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
1340 * doc/invoke.texi ([-fprofile-generate], [-fprofile-use]):
1341 Fix markup, light copy-editing.
1342 ([-fauto-profile]): Rewrite to fix formatting and content
1345 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
1347 * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]):
1348 Copy-edit description.
1349 ([-fisolate-erroneous-paths-attribute]): Likewise.
1350 * common.opt (fisolate-erroneous-paths-dereference):
1351 Copy-edit description.
1352 (fisolate-erroneous-paths-attribute): Likewise.
1354 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
1356 * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
1359 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
1361 * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
1362 ([-fvtv-debug]): Likewise.
1363 ([-Wc++-compat]): Likewise.
1364 ([-Wc++11-compat]): Likewise.
1365 ([-Wc++14-compat]): Likewise.
1366 ([-Wno-sized-deallocation]): Likewise.
1367 ([-femit-class-debug-always]): Likewise.
1368 ([-femit-struct-debug-detailed]): Likewise.
1369 ([-fno-keep-inline-dllexport]): Likewise.
1370 ([-fira-algorithm]): Likewise.
1371 ([-fira-region]): Likewise.
1372 ([-flra-remat]): Likewise.
1373 ([-fipa-ra]): Likewise.
1374 ([-fhoist-adjacent-loads]): Likewise.
1375 ([-fisolate-erroneous-paths-dereference]): Likewise.
1376 ([-fisolate-erroneous-paths-attribute]): Likewise.
1377 ([-ftree-switch-conversion]): Likewise.
1378 ([-ftree-tail-merge]): Likewise.
1379 ([-ftree-loop-if-convert]): Likewise.
1380 ([-ftree-loop-if-convert-stores]): Likewise.
1381 ([-ftree-loop-distribution]): Likewise.
1382 ([-ftree-loop-distribute-patterns]): Likewise.
1383 ([-flto-compression-level]): Likewise.
1384 ([-flto-report]): Likewise.
1385 ([-flto-report-wpa]): Likewise.
1386 ([-fuse-linker-plugin]): Likewise.
1387 ([-mfix-cortex-a53-835769]): Likewise.
1388 ([-mno-fix-cortex-a53-835769]): Likewise.
1389 ([-mmmx]...[-mno-3dnow]): Remove the -mno- forms from the
1390 explicit listing; add a note to the discussion indicating they
1391 exist. Reorder table to group similar options. Add missing
1392 @opindex entries. Add @need commands throughout the table to
1393 allow it to be split across multiple pages.
1394 ([-m8bit-idiv]): Fix @opindex.
1395 ([-mavx256-split-unaligned-load]): Likewise.
1396 ([-mavx256-split-unaligned-store]): Likewise.
1397 ([-mstack-protector-guard]): Likewise.
1398 ([-mcpu=]): Likewise.
1399 ([-mcpu]): Likewise.
1400 ([-mpointer-size=]): Likewise.
1402 2015-01-03 John David Anglin <danglin@gcc.gnu.org>
1404 * config/pa/pa.md (decrement_and_branch_until_zero): Use `Q' constraint
1405 instead of `m' constraint. Likewise for unnamed movb comparison
1406 patterns using reg_before_reload_operand predicate.
1407 * config/pa/predicates.md (reg_before_reload_operand): Tighten
1408 predicate to reject register index and LO_SUM DLT memory forms
1411 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
1413 * doc/invoke.texi (Option Summary): Fix spelling of
1414 -fdevirtualize-at-ltrans.
1415 ([-fdevirtualize]): Fix markup.
1416 ([-fdevirtualize-speculatively]): Fix typo.
1417 ([-fdevirtualize-at-ltrans]): Likewise. Make description less
1419 * common.opt (fdevirtualize-at-ltrans): Likewise.
1420 * ipa-devirt.c: Fix typos in comments throughout the file.
1421 (ipa_devirt): Fix typos in format strings for dump output.
1423 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
1425 * doc/invoke.texi ([-fopt-info]): Fix markup, consolidate
1426 discussion of defaults, light copy-editing.
1428 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
1430 * tsan.c (instrument_expr): corrected previous checkin.
1432 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
1434 Instrument bit field and unaligned accesses for TSAN.
1435 * sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
1436 (BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
1437 * tsan.c (instrument_expr): Handle COMPONENT_REF and BIT_FIELD_REF.
1438 Use BUILT_IN_TSAN_READ_RANGE and BUILT_IN_TSAN_WRITE_RANGE for
1439 unaligned memory regions.
1441 2015-01-01 Anthony Green <green@moxielogic.com>
1443 * config/moxie/predicates.md (moxie_general_movsrc_operand):
1444 Restrict move source register offsets to 16 bits.
1446 Copyright (C) 2015 Free Software Foundation, Inc.
1448 Copying and distribution of this file, with or without modification,
1449 are permitted in any medium without royalty provided the copyright
1450 notice and this notice are preserved.