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