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