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