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