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