1 2015-01-12 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
3 * config/visium/visium.c: Add includes hashtab.h, hash-set.h,
4 machmode.h, input.h, statistics.h, vec.h, double-int.h, real.h,
5 fixed-value.h, alias.h, symtab.h, tree-core.h, wide-int.h, inchash.h,
6 fold-const.h, tree-check.h.
8 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
12 * ipa-inline.c (compute_uninlined_call_time,
13 compute_inlined_call_time): Use counts for extra precision when
15 (big_speedup_p): Fix formating.
16 (RELATIVE_TIME_BENEFIT_RANGE): Remove.
17 (relative_time_benefit): Remove.
18 (edge_badness): Turn DECL_DISREGARD_INLINE_LIMITS into hint;
19 merge guessed and read profile paths.
20 (inline_small_functions): Count only !optimize_size functions into
21 initial size; be more lax about sanity check when profile is used;
22 be sure to update inlined function profile when profile is read.
24 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
27 * ipa-inline-analysis.c (inline_edge_duplication_hook): Adjust
28 cost when edge becomes direct.
29 * ipa-prop.c (make_edge_direct): Do not adjust when speculation
30 is resolved or when introducing new speculation.
32 2015-01-12 Chen Gang <gang.chen.5i5j@gmail.com>
36 * ipa-icf.c (sem_function::equals_private): Use '&&' instead of
37 '||' to fix typo issue.
39 * gcc/tree.h (target_opts_for_fn): Check NULL_TREE since it can
40 accept and return NULL.
42 2015-01-12 Martin Liska <mliska@suse.cz>
44 * cgraph.c (cgraph_edge::remove_callee): Move function to header
45 file for being inlined.
46 (cgraph_set_edge_callee): Delete.
47 (cgraph_edge::redirect_callee): Move function to header file
49 (cgraph_edge::make_direct): Use new function.
50 (cgraph_edge::dump_edge_flags): New function created from
51 static dump_edge_flags function.
52 (cgraph_node::dump): Use new function.
53 (cgraph_edge::verify_count_and_frequency): New function created
54 from verify_edge_count_and_frequency.
55 (cgraph_edge::verify_corresponds_to_fndecl): New function created
56 from verify_edge_corresponds_to_fndecl.
57 (verify_edge_corresponds_to_fndecl): Delete.
58 (cgraph_node::verify_node): Use new function.
59 * cgraph.h (cgraph_edge::set_callee): New function.
60 (cgraph_edge::dump_edge_flags): Likewise.
61 (cgraph_edge::verify_corresponds_to_fndecl): Likewise.
63 2015-01-11 Jan Hubicka <hubicka@ucw.cz>
65 * ipa-utils.c (estimate_function_body_sizes): Do not
66 free node params when called late with early=true.
68 2015-01-11 James Greenhalgh <james.greenhalgh@arm.com>
70 * doc/md.texi (Instruction Patterns): Rewrite text for
74 2015-01-10 Sandra Loosemore <sandra@codesourcery.com>
76 * doc/invoke.texi (Option Summary): Break long lines.
77 [(-fdiagnostics-color)]: Put long literal in @smallexample
79 [(-fsanitize-recover)]: Likewise.
80 [(-fdump-rtl-split*)]: Rewrite to fix over-full hbox.
81 [(-ffast-math)]: Likewise.
82 [(--param max-inline-insns-recursive)]: Likewise.
83 [(--param max-inline-recursive-depth)]: Likewise.
84 [(-mno-text-section-literals)]: Likewise.
86 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
88 * doc/install.texi: Update for libgomp being renamed from "GNU
89 OpenMP Runtime Library" to "GNU Offloading and Multi Processing
91 * doc/sourcebuild.texi: Likewise.
93 2015-01-10 Anthony Green <green@moxielogic.com>
95 * config/moxie/moxie.c (moxie_option_override): Fix forcing of
96 mul.x availability for moxiebox configuration.
98 2015-01-09 Anthony Green <green@moxielogic.com>
100 * config/moxie/moxie.md: Tabify assembly output.
102 2015-01-09 Anthony Green <green@moxielogic.com>
104 * config/moxie/moxie.md (CC_REG): Correct register definition.
106 2015-01-09 Sandra Loosemore <sandra@codesourcery.com>
108 * doc/invoke.texi ([-fvtable-verify]): Copy-edit and fix markup.
109 ([-fvtv-debug], [-fvtv-counts]): Likewise. Correct location
112 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
114 * config/arm/arm.h (MAX_SYNC_LIBFUNC_SIZE): Delete semicolon.
116 2015-01-09 Bernd Schmidt <bernds@codesourcery.com>
117 Jakub Jelinek <jakub@redhat.com>
120 * lto-streamer.h (lto_stream_offload_p): New declaration.
121 * lto-streamer.c (lto_stream_offload_p): New variable.
122 * cgraphunit.c (ipa_passes): Set lto_stream_offload_p
123 at the same time as section_name_prefix.
124 * lto-streamer-out.c (hash_tree): Don't hash TREE_TARGET_OPTION
125 if lto_stream_offload_p.
126 * tree-streamer-out.c (streamer_pack_tree_bitfields): Don't
127 stream TREE_TARGET_OPTION if lto_stream_offload_p.
128 (write_ts_function_decl_tree_pointers): Don't
129 stream DECL_FUNCTION_SPECIFIC_TARGET if lto_stream_offload_p.
130 * tree-streamer-in.c (unpack_value_fields): Don't stream
131 TREE_TARGET_OPTION in if ACCEL_COMPILER.
132 (lto_input_ts_function_decl_tree_pointers): Don't stream
133 DECL_FUNCTION_SPECIFIC_TARGET in if ACCEL_COMPILER.
134 * lto-opts.c (lto_write_options): Use lto_stream_offload_p
135 instead of section_name_prefix string comparisons.
137 2015-01-09 Jakub Jelinek <jakub@redhat.com>
139 PR rtl-optimization/64536
140 * cfgrtl.c (rtl_tidy_fallthru_edge): Handle removal of degenerate
143 2015-01-09 Michael Collison <michael.collison@linaro.org>
145 * genattrtab.c (write_header): Include hash-set.h, machmode.h,
146 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
147 fold-const.h, wide-int.h, and inchash.h when generating
149 * genautomata.c (main) : Include hash-set.h, macInclude hash-set.h, machmode.h,
150 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
151 fold-const.h, wide-int.h, and inchash.h when generating
153 * genemit.c (main): Include hash-set.h, machmode.h,
154 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
155 fold-const.h, wide-int.h, and inchash.h when generating
157 * gengtype.c (open_base_files): Include hash-set.h, machmode.h,
158 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
159 fold-const.h, wide-int.h, and inchash.h when generating
161 * genopinit.c (main): Include hash-set.h, machmode.h,
162 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
163 fold-const.h, wide-int.h, and inchash.h when generating
165 * genoutput.c (output_prologue): Include hash-set.h, machmode.h,
166 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
167 fold-const.h, wide-int.h, and inchash.h when generating
169 * genpeep.c (main): Include hash-set.h, machmode.h,
170 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
171 fold-const.h, wide-int.h, and inchash.h when generating
173 * genpreds.c (write_insn_preds_c): Include hash-set.h, machmode.h,
174 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
175 fold-const.h, wide-int.h, and inchash.h when generating
177 * optc-save-gen-awk: Include hash-set.h, machmode.h,
178 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
179 fold-const.h, wide-int.h, and inchash.h when generating
181 * opth-gen.awk: Change include guard from GCC_C_COMMON_H to GCC_C_COMMON_C
182 when generating options.h.
183 * alias.c: Include hash-set.h, machmode.h,
184 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
185 fold-const.h, wide-int.h, and inchash.h due to
186 flattening of tree.h.
189 * auto-inc-dec.c: Ditto.
190 * auto-profile.c: Ditto
191 * bb-reorder.c: Ditto.
192 * bt-load.c: Include symtab.h due to flattening of tree.h.
193 * builtins.c: Include hash-set.h, machmode.h,
194 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
195 fold-const.h, wide-int.h, and inchash.h due to
196 flattening of tree.h.
197 * calls.c: Include hash-set.h, machmode.h,
198 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
199 fold-const.h, wide-int.h, and inchash.h due to
200 flattening of tree.h.
202 * cfgbuild.c: Include hash-set.h, machmode.h,
203 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
204 fold-const.h, wide-int.h, and inchash.h due to flattening of tree.h.
206 * cfgcleanup.c: Ditto.
207 * cfgexpand.c: Ditto.
209 * cfgloop.c: Include symtab.h, fold-const.h, and
210 inchash.h due to flattening of tree.h.
211 * cfgloopmanip.c: Ditto.
212 * cfgrtl.c: Include hash-set.h, machmode.h,
213 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
214 fold-const.h, wide-int.h, and inchash.h due to
215 flattening of tree.h.
216 * cgraphbuild.c: Ditto.
218 * cgraphclones.c: Ditto.
219 * cgraphunit.c: Ditto.
220 * cilk-common.c: Ditto.
222 * combine-stack-adj.c: Include symbol.h due to flattening of tree.h.
223 * config/aarch64/aarch64-builtins.c: 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 due to
226 flattening of tree.h.
227 * config/aarch64/aarch64.c: Ditto.
228 * config/alpha/alpha.c: Ditto.
229 * config/arc/arc.c: Ditto.
230 * config/arm/aarch-common.c: Ditto.
231 * config/arm/arm-builtins.c: Ditto.
232 * config/arm/arm.c: Ditto.
233 * config/arm/arm-c.c: Ditto.
234 * config/avr/avr.c: Ditto.
235 * config/avr/avr-c.c: Ditto.
236 * config/avr/avr-log.c: Ditto.
237 * config/bfin/bfin.c: Ditto.
238 * config/c6x/c6x.c: Ditto.
239 * config/cr16/cr16.c: Ditto.
240 * config/cris/cris.c: Ditto.
241 * config/darwin.c: Ditto.
242 * config/darwin-c.c: Ditto.
243 * config/default-c.c: Ditto.
244 * config/epiphany/epiphany.c: Ditto.
245 * config/fr30/fr30.c: Ditto.
246 * config/frv/frv.c: Ditto.
247 * config/glibc-c.c: Ditto.
248 * config/h8300/h8300.c: Ditto.
249 * config/i386/i386.c: Ditto.
250 * config/i386/i386-c.c: Ditto.
251 * config/i386/msformat.c: Ditto.
252 * config/i386/winnt.c: Ditto.
253 * config/i386/winnt-cxx.c: Ditto.
254 * config/i386/winnt-stubs.c: Ditto.
255 * config/ia64/ia64.c: Ditto.
256 * config/ia64/ia64-c.c: Ditto.
257 * config/iq2000/iq2000.c: Ditto.
258 * config/lm32/lm32.c: Include symtab.h, fold-const.h,
259 wide-int.h, and inchash.h due to flattening of tree.h.
260 * config/m32c/m32c.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
263 flattening of tree.h.
264 * config/m32c/m32c-pragma.c: Ditto.
265 * config/m32c/m32cr.c: Ditto.
266 * config/m68/m68k.c: Ditto.
267 * config/mcore/mcore.c: Ditto.
268 * config/mep/mep.c: Ditto.
269 * config/mep/mep-pragma.c: Ditto.
270 * config/microblaze/microblaze.c: Ditto.
271 * config/microblaze/microblaze-c.c: Ditto.
272 * config/mips/mips.c: Ditto.
273 * config/mmix/mmix.c: Include symtab.h, fold-const.h,
274 wide-int.h, and inchash.h due to flattening of tree.h.
275 * config/mn10300/mn10300.c: Include hash-set.h, machmode.h,
276 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
277 fold-const.h, wide-int.h, and inchash.h due to
278 flattening of tree.h.
279 * config/moxie/moxie.c: Ditto.
280 * config/msp430/msp430.c: Ditto.
281 * config/msp430/msp430-c.c: Ditto.
282 * config/nds32/nds32.c: Ditto.
283 * config/nds32/nds32-cost.c: Ditto.
284 * config/nds32/nds32-fp-as-gp.c: Ditto.
285 * config/nds32/nds32-intrinsic.c: Ditto.
286 * config/nds32/nds32-isr.c: Ditto.
287 * config/nds32/nds32-md-auxillary.c: Ditto.
288 * config/nds32/nds32-memory-manipulationx.c: Ditto.
289 * config/nds32/nds32-pipelines-auxillary.c: Ditto.
290 * config/nds32/nds32-predicates.c: Ditto.
291 * config/nios2/nios2.c: Ditto.
292 * config/nvptx/nvptx.c: Ditto.
293 * config/pa/pa.c: Ditto.
294 * config/pdp11/pdp11x.c: Include symtab.h, fold-const.h,
295 wide-int.h, and inchash.h due to flattening of tree.h.
296 * config/rl78/rl78.c: Include hash-set.h, machmode.h,
297 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
298 fold-const.h, wide-int.h, and inchash.h due to
299 flattening of tree.h.
300 * config/rl78/rl78-cx.c: Ditto.
301 * config/rs6000/rs6000.c: Ditto.
302 * config/rs6000/rs6000-c.c: Ditto.
303 * config/rx/rx.c: Ditto.
304 * config/s390/s390.c: Ditto.
305 * config/sh/sh.c: Ditto.
306 * config/sh/sc.c: Ditto.
307 * config/sh/sh-mem.cc: Ditto.
308 * config/sh/sh_treg_combine.cc: Include symtab.h, inchash.h and tree.h
309 due to flattening of tree.h.
310 Remove include of tree-core.h.
311 * config/sol2.c: Include hash-set.h, machmode.h,
312 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
313 fold-const.h, wide-int.h, and inchash.h due to
314 flattening of tree.h.
315 * config/sol2-c.c: Ditto.
316 * config/sol2-cxx.c: Ditto.
317 * config/sol2-stubs.c: Ditto.
318 * config/sparc/sparc.c: Ditto.
319 * config/sparc/sparc-cx.c: Ditto.
320 * config/spu/spu.c: Ditto.
321 * config/spu/spu-c.c: Ditto
322 * config/storym16/stormy16.c: Ditto.
323 * config/tilegx/tilegx.c: Include symtab.h, fold-const.h,
324 wide-int.h, and inchash.h due to flattening of tree.h.
325 * config/tilepro/gen-mul-tables.cc: Include symtab.h in generated file.
326 * config/tilegx/tilegx-c.c: Include hash-set.h, machmode.h,
327 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
328 fold-const.h, wide-int.h, and inchash.h due to
329 flattening of tree.h.
330 * config/tilepro/tilepro.c: Include symtab.h, fold-const.h,
331 wide-int.h, and inchash.h due to flattening of tree.h.
332 * config/tilepro/tilepro-c.c: Include hash-set.h, machmode.h,
333 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
334 fold-const.h, wide-int.h, and inchash.h due to
335 flattening of tree.h.
336 * config/v850/v850.c: Ditto.
337 * config/v850/v850-c.c: Ditto.
338 * config/vax/vax.c: Ditto.
339 * config/vms/vms.c: Ditto.
340 * config/vms/vms-c.c: Ditto.
341 * config/vxworks.c: Ditto.
342 * config/winnt-c.c: Ditto.
343 * config/xtensa/xtensa.c: Include symtab.h, fold-const.h,
344 wide-int.h, and inchash.h due to flattening of tree.h.
345 * convert.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
346 input.h, alias.h, symtab.h, options.h, fold-const.h,
347 wide-int.h, and inchash.h due to flattening of tree.h.
349 * cppbuiltin.c: Ditto.
351 * cse.c: Add include of symtab.h due to flattening of tree.h.
352 * cselib.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
353 input.h, alias.h, symtab.h, options.h, fold-const.h,
354 wide-int.h, and inchash.h due to flattening of tree.h.
355 * data-streamer.c: Ditto.
356 * data-streamer-in.c: Ditto.
357 * data-streamer-out.c: Ditto.
360 * ddg.c: Add include of symtab.h due to flattening of tree.h.
361 * debug.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
362 input.h, alias.h, symtab.h, options.h, fold-const.h,
363 wide-int.h, and inchash.h due to flattening of tree.h.
366 * dojump.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
367 input.h, alias.h, symtab.h, options.h, fold-const.h,
368 wide-int.h, inchash.h and real.h due to flattening of tree.h.
369 * double-int.c: Ditto.
372 * dwarf2asm.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
373 input.h, alias.h, symtab.h, fold-const.h,
374 wide-int.h, inchash.h and real.h due to flattening of tree.h.
375 * dwarf2cfi.c: Ditto.
376 * dwarf2out.c: Ditto.
380 * expmed.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
381 input.h, alias.h, symtab.h, fold-const.h,
382 wide-int.h, and inchash.h due to flattening of tree.h.
385 * fixed-value.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
386 input.h, alias.h, symtab.h, fold-const.h,
387 wide-int.h, inchash.h and fixed-value.h due to flattening of tree.h.
388 * fold-const.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
389 input.h, alias.h, symtab.h, fold-const.h,
390 wide-int.h, and inchash.h due to flattening of tree.h.
391 Relocate inline function convert_to_ptrofftype_loc from tree.h.
392 Relocate inline function fold_build_pointer_plus_loc from tree.h.
393 Relocate inline function fold_build_pointer_plus_hwi_loc from tree.h.
394 * fold-const.h: Relocate macro convert_to_ptrofftype from tree.h.
395 Relocate macro fold_build_pointer_plus to relocate from tree.h.h.
396 Relocate macro fold_build_pointer_plus_hwi from tree.h.
397 Add prototype for convert_to_ptrofftype_loc relocated from tree.h.
398 Add prototype for fold_build_pointer_plus_loc relocated from tree.h.
399 Add prototype for fold_build_pointer_plus_hwi_loc relocated from tree.h.
400 * function.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
401 input.h, alias.h, symtab.h, fold-const.h,
402 wide-int.h, and inchash.h due to flattening of tree.h.
403 * gcc-plugin.h: Include statistics.h, double-int.h, real.h, fixed-value.h,
404 alias.h, flags.h, and symtab.h due to flattening of tree.h
406 * generic-match-head.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
407 input.h, alias.h, symtab.h, options.h, fold-const.h,
408 wide-int.h, and inchash.h due to flattening of tree.h.
409 * ggc-page.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
410 input.h, alias.h, symtab.h, fold-const.h,
411 wide-int.h, and inchash.h due to flattening of tree.h.
412 * gimple-builder.c: Ditto.
414 * gimple-expr.c: Ditto.
415 * gimple-fold.c: Ditto.
416 * gimple-iterator.c: Ditto.
417 * gimple-low.c: Ditto.
418 * gimple-match-head.c: Ditto.
419 * gimple-pretty-print.c: Ditto.
420 * generic-ssa-isolate-paths.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
421 input.h, alias.h, symtab.h, options.h, fold-const.h,
422 wide-int.h, and inchash.h due to flattening of tree.h.
423 * gimple-ssa-strength-reduction.c: Ditto.
424 * gimple-streamer-in.c: Ditto.
425 * gimple-streamer-out.c: Ditto.
426 * gimple-walk.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
427 input.h, alias.h, symtab.h, fold-const.h,
428 wide-int.h, and inchash.h due to flattening of tree.h.
429 * gimplify.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
430 input.h, alias.h, symtab.h, options.h, fold-const.h,
431 wide-int.h, and inchash.h due to flattening of tree.h.
432 * gimplify-me.c: Ditto.
433 * graphite-blocking.c: Ditto.
435 * graphite-dependencies.c: Ditto.
436 * graphite-interchange.c: Ditto.
437 * graphite-isl-ast-to-gimple.c: Ditto.
438 * graphite-optimize-isl.c: Ditto.
439 * graphite-poly.c: Ditto.
440 * graphite-scop-detection.c: Ditto.
441 * graphite-sese-to-poly.c: Ditto.
442 * hw-doloop.c: Include symtab.h due to flattening of tree.h.
444 * init-regs.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
445 input.h, alias.h, symtab.h, fold-const.h,
446 wide-int.h, and inchash.h due to flattening of tree.h.
447 * internal-fc.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
448 input.h, alias.h, symtab.h,options.h, fold-const.h,
449 wide-int.h, and inchash.h due to flattening of tree.h.
452 * ipa-comdats.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
453 input.h, alias.h, symtab.h, fold-const.h,
454 wide-int.h, and inchash.h due to flattening of tree.h.
455 * ipa-cp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
456 input.h, alias.h, symtab.h,options.h, fold-const.h,
457 wide-int.h, and inchash.h due to flattening of tree.h.
458 * ipa-devirt.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 * ipa-icf.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
462 input.h, alias.h, symtab.h,options.h, fold-const.h,
463 wide-int.h, and inchash.h due to flattening of tree.h.
464 * ipa-icf-gimple.c: Ditto.
465 * ipa-inline-analysis.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
466 input.h, alias.h, symtab.h, fold-const.h,
467 wide-int.h, and inchash.h due to flattening of tree.h.
468 * ipa-inline.c: Ditto.
469 * ipa-inline-transform.c: Ditto.
470 * ipa-polymorhpic-call.c: Ditto.
471 * ipa-profile.c: Ditto.
472 * ipa-prop.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
473 input.h, alias.h, symtab.h, options.h, fold-const.h,
474 wide-int.h, and inchash.h due to flattening of tree.h.
475 * ipa-pure-const.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
476 input.h, alias.h, symtab.h, fold-const.h,
477 wide-int.h, and inchash.h due to flattening of tree.h.
478 * ipa-ref.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 * ipa-reference.c: Ditto.
482 * ipa-split.c: Ditto.
483 * ipa-utils.c: Ditto.
484 * ipa-visbility.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.
488 * ira-color.c: Include hash-set.h due to flattening of tree.h.
489 * ira-costs.c: Ditto.
491 * jump.c: Include symtab.h due to flattening of tree.h.
492 * langhooks.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
493 input.h, alias.h, symtab.h, fold-const.h,
494 wide-int.h, and inchash.h due to flattening of tree.h.
495 * loop-doloop.c: Include symtab.h due to flattening of tree.h.
496 * loop-init.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 * loop-invariant.c: Include symtab.h due to flattening of tree.h.
501 * loop-unroll.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
502 input.h, alias.h, symtab.h, fold-const.h,
503 wide-int.h, and inchash.h due to flattening of tree.h.
504 * lower-subreg.c: Ditto.
505 * lra-assigns.c: Include symtab.h due to flattening of tree.h.
506 * lra.c: Include symtab.h, fold-const.h, wide-int.h and inchash.h
507 due to flattening of tree.h.
508 * lra-coalesce.c: Include symtab.h due to flattening of tree.h.
509 * lra-constraints.c: Ditto.
510 * lra-eliminations.c: Ditto.
512 * lra-remat.c: Ditto.
513 * lra-spills.c: Ditto.
514 * lto-cgraph.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
515 input.h, alias.h, symtab.h, fold-const.h,
516 wide-int.h, and inchash.h due to flattening of tree.h.
517 * lto-compress.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
518 input.h, alias.h, symtab.h, options, fold-const.h,
519 wide-int.h, and inchash.h due to flattening of tree.h.
521 * lto-section-in.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
522 input.h, alias.h, symtab.h, fold-const.h,
523 wide-int.h, and inchash.h due to flattening of tree.h.
524 * lto-section-out.c: Ditto.
525 * lto-streamer.c: Ditto.
526 * lto-streamer-in.c: Ditto.
527 * lto-streamer-out.c: Ditto.
528 * modulo-sched.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
529 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
530 inchash.h due to flattening of tree.h.
531 * omega.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
532 input.h, alias.h, symtab.h, options, fold-const.h,
533 wide-int.h, and inchash.h due to flattening of tree.h.
534 * omega-low.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
535 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
536 inchash.h due to flattening of tree.h.
538 * opts-global.c: Ditto.
540 * plugin.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
541 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
542 inchash.h due to flattening of tree.h.
543 * postreload.c: Include symtab.h due to flattening of tree.h.
544 * postreload-gcse.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
545 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
546 inchash.h due to flattening of tree.h.
548 * print-rtl.c: Ditto.
549 * print-tree.c: Ditto.
550 * profile.c: Include symtab.h, fold-const.h
551 and inchash.h due to flattening of tree.h.
552 * real.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
553 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
554 inchash.h due to flattening of tree.h.
555 * realmpfr.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
556 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
557 inchash.h due to flattening of tree.h.
558 * recog.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
559 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
560 inchash.h due to flattening of tree.h.
563 * reg-stack.c: Ditto.
564 * reload1.c: Include symtab.h, fold-const.h, wide-int.h
565 and inchash.h due to flattening of tree.h.
566 * reload.c: Include symtab.h due to flattening of tree.h.
568 * rtlanal.c: Include symtab.h, fold-const.h, wide-int.h
569 and inchash.h due to flattening of tree.h.
570 * rtl-chkp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
571 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
572 inchash.h due to flattening of tree.h.
573 * rtlhooks.c: Include symtab.h due to flattening of tree.h.
574 * sanopt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
575 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
576 inchash.h due to flattening of tree.h.
577 * sched-deps.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
578 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
579 inchash.h due to flattening of tree.h.
580 * sched-vis.c: Ditto.
582 * sel-sched.c: Include symtab.h, fold-const.h, wide-int.h
583 and inchash.h due to flattening of tree.h.
584 * sel-sched-ir.c: Ditto.
585 * sese.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
586 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
587 inchash.h due to flattening of tree.h.
588 * shrink-wrap.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
589 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
590 inchash.h due to flattening of tree.h.
591 * simplify-rtx.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
592 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
593 inchash.h due to flattening of tree.h.
594 * stack-ptr-mod.c: Ditto.
596 * store-motion.c: Ditto.
597 * store-layout.c: Ditto.
598 * stringpool.c: Ditto.
600 * target-globals.c: Ditto.
601 * targhooks.c: Ditto.
604 * trans-mem.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
605 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
606 inchash.h due to flattening of tree.h.
607 * tree-affine.c: Ditto.
608 * tree-browser.c: Ditto.
609 * tree.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
610 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
611 inchash.h due to flattening of tree.h.
612 * tree-call-cdce.c: Include symtab.h, alias.h, double-int.h,
613 fold-const.h, wide-int.h, inchash.h and real.h due to
614 flattening of tree.h.
615 * tree-cfg.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
616 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
617 inchash.h due to flattening of tree.h.
618 * tree-cfgcleanup.c: Ditto.
619 * tree-chkp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
620 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
621 inchash.h due to flattening of tree.h.
622 * tree-chkp-opt.c: Ditto.
623 * tree-chrec.c: Ditto.
624 * tree-chkp-opt.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, inchash.h and
626 real.h due to flattening of tree.h.
627 * tree-core.h: Flatten header file by removing all #include statements.
628 * tree-data-ref.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
629 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
630 inchash.h due to flattening of tree.h.
631 * tree-dfa.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
632 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
633 real.h due to flattening of tree.h.
634 * tree-diagnostic.c: Ditto.
635 * tree-dump.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
636 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h, real.h and
637 fixed-value.h due to flattening of tree.h.
639 * tree-eh.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
640 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
641 real.h due to flattening of tree.h.
642 * tree-emutls.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
643 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
644 inchash.h due to flattening of tree.h.
645 * tree.h: Flatten header files by removing all includes except tree-core.h.
646 Remove inline function convert_to_ptrofftype_loc to relocate to fold-const.c.
647 Remove macro convert_to_ptrofftype to relocate to fold-const.h.
648 Remove inline function fold_build_pointer_plus_loc to relocate to fold-const.c.
649 Remove macro fold_build_pointer_plus to relocate to fold-const.h.
650 Remove inline function fold_build_pointer_plus_hwi_loc to relocate to fold-const.c.
651 Remove macro fold_build_pointer_plus_hwi to relocate to fold-const.h.
652 * tree-if-conv.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
653 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h, real.h and
654 fixed-value.h due to flattening of tree.h.
655 * tree-inline.c: Ditto.
656 * tree-into-ssa.c: Ditto.
657 * tree-iterator.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
658 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
659 inchash.h due to flattening of tree.h.
660 * tree-loop-distribution.c: Ditto.
661 * tree-nested.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
662 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
663 due to flattening of tree.h.
665 * tree-object-size.c: Ditto.
666 * tree-outof-ssa.c: Ditto.
667 * tree-parloops.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-phinodes.c: Ditto.
671 * tree-predcom.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
672 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
673 due to flattening of tree.h.
674 * tree-pretty-print.c: Ditto.
675 * tree-profile.c: double-int.h, input.h, alias.h, symtab.h,
676 fold-const.h, wide-int.h and inchash.h due to flattening of tree.h.
677 * tree-scalar-evolution.c: Include hash-set.h, machmode.h, vec.h,
678 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
679 wide-int.h and inchash.h due to flattening of tree.h.
680 * tree-sra.c: Include vec.h, double-int.h,
681 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
682 inchash.h due to flattening of tree.h.
683 * tree-ssa-alias.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
684 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
685 due to flattening of tree.h.
687 * tree-ssa-ccp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
688 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h
689 and real.h due to flattening of tree.h.
690 * tree-ssa-coalesce.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
691 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
692 due to flattening of tree.h.
693 * tree-ssa-copy.c: Ditto.
694 * tree-ssa-copyrename.c: Ditto.
695 * tree-ssa-dce.c: Ditto.
696 * tree-ssa-dom.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
697 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h
698 and real.h due to flattening of tree.h.
699 * tree-ssa-dse.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
700 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
701 due to flattening of tree.h.
702 * tree-ssa-forwprop.c: Ditto.
703 * tree-ssa-ifcombine.c: Ditto.
704 * tree-ssa-live.c: Ditto.
705 * tree-ssa-loop.c: Ditto.
706 * tree-ssa-loop-ch.c: Ditto.
707 * tree-ssa-loop-im.c: Ditto.
708 * tree-ssa-loop-ivcanon.c: Ditto.
709 * tree-ssa-loop-ivopts.c: Ditto.
710 * tree-ssa-loop-manip.c: Ditto.
711 * tree-ssa-loop-niter.c: Ditto.
712 * tree-ssa-loop-prefetch.c: Ditto.
713 * tree-ssa-loop-unswitch.c: Ditto.
714 * tree-ssa-loop-math-opts.c: Ditto.
715 * tree-ssanames.c: Ditto.
716 * tree-ssa-operands.c: Ditto.
717 * tree-ssa-phiopt.c: Ditto.
718 * tree-ssa-phiprop.c: Ditto.
719 * tree-ssa-pre.c: Ditto.
720 * tree-ssa-propagate.c: Ditto.
721 * tree-ssa-reassoc.c: Ditto.
722 * tree-ssa-sccvn.c: Ditto.
723 * tree-ssa-sink.c: Ditto.
724 * tree-ssa-strlen.c: Include hash-set.h, machmode.h, vec.h,
725 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
726 wide-int.h and inchash.h due to flattening of tree.h.
727 * tree-ssa-structalias.c: double-int.h, input.h, alias.h, symtab.h,
728 fold-const.h, wide-int.h and inchash.h due to flattening of tree.h.
729 * tree-ssa-tail-merge.c: Include hash-set.h, machmode.h, vec.h,
730 double-int.h, input.h, alias.h, symtab.h, fold-const.h,
731 wide-int.h and inchash.h due to flattening of tree.h.
732 * tree-ssa-ter.c: Ditto.
733 * tree-ssa-threadedge.c: Ditto.
734 * tree-ssa-threadupdate.c: Include hash-set.h, machmode.h, vec.h,
735 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
736 wide-int.h and inchash.h due to flattening of tree.h.
737 * tree-ssa-uncprop.c: Include hash-set.h, machmode.h, vec.h,
738 double-int.h, input.h, alias.h, symtab.h, fold-const.h,
739 wide-int.h and inchash.h due to flattening of tree.h.
740 * tree-ssa-uninit.c: Ditto.
741 * tree-stdarg.c: Include vec.h, double-int.h, input.h, alias.h,
742 symtab.h, fold-const.h, wide-int.h and inchash.h due to flattening
744 * tree-streamer.c: Include vec.h, double-int.h, input.h, alias.h,
745 symtab.h, options.h, fold-const.h, wide-int.h and
746 inchash.h due to flattening of tree.h.
747 * tree-streamer-in.c: Include hash-set.h, machmode.h, vec.h,
748 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
749 wide-int.h, inchash.h, real.h and fixed-value.h due to flattening
751 * tree-streamer-out.c: Dittoo.
752 * tree-switch-conversion.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
753 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
754 due to flattening of tree.h.
755 * tree-tailcall.c: Ditto.
756 * tree-vect-data-refs.c: Ditto.
757 * tree-vect-generic.c: Include hash-set.h, machmode.h, vec.h, double-int.h, input.h,
758 alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
759 due to flattening of tree.h.
760 * tree-vect-loop.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
761 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
762 due to flattening of tree.h.
763 * tree-vect-loop-manip.c: Ditto.
764 * tree-vectorizer.c: Ditto.
765 * tree-vect-patterns.c: Ditto.
766 * tree-vect-slp.c: Ditto.
767 * tree-vect-stmts.c: Ditto.
769 * tsan.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
770 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
771 due to flattening of tree.h.
773 * value-prof.c.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
774 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
775 due to flattening of tree.h.
778 * var-tracking.c: Ditto.
779 * vmsdbgout.c: Ditto.
780 * vtable-verify.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
781 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
782 due to flattening of tree.h.
783 * wide-int.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
784 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
785 due to flattening of tree.h.
788 2015-01-09 Tom de Vries <tom@codesourcery.com>
790 PR rtl-optimization/64539
791 * regcprop.c (kill_clobbered_values): Factor out of ...
792 (copyprop_hardreg_forward_1): ... here. Use kill_clobbered_values
793 instead of note_stores with kill_clobbered_value.
795 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
797 * ginclude/unwind-arm-common.h: Revert previous commit.
799 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
801 * config.gcc (arm*-*-freebsd*): New configuration.
802 * config/arm/freebsd.h: New file.
803 * config.host: Add extra components for arm*-*-freebsd*.
804 * config/arm/arm.h: Introduce MAX_SYNC_LIBFUNC_SIZE.
805 * config/arm/arm.c (arm_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE.
807 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
809 * config/rs6000/rtems.h (CPP_OS_RTEMS_SPEC): Define __PPC_CPU_E6500__
811 * config/rs6000/t-rtems: Add e6500 multilibs.
813 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
815 * config/rs6000/t-rtems: Add -mno-spe to soft-float multilib for
818 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
820 * config/rs6000/t-rtems: Use MULTILIB_REQUIRED instead of
823 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
825 * config/arm/t-rtems: Use MULTILIB_REQUIRED instead of
828 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
830 * config/arm/t-rtems-eabi: Rename to...
831 * config/arm/t-rtems: ...this.
832 * config/arm/rtems-eabi.h: Rename to...
833 * config/arm/rtems.h: ...this.
834 * config.gcc (arm*-*-rtems*): Reflect changes above.
836 2015-01-09 Richard Biener <rguenther@suse.de>
838 PR tree-optimization/64410
839 * tree-ssa.c (non_rewritable_lvalue_p): Allow REALPART/IMAGPART_EXPR
841 (execute_update_addresses_taken): Deal with that.
842 * tree-ssa-forwprop.c (pass_forwprop::execute): Use component-wise
843 loads/stores for complex variables.
845 2015-01-09 Martin Liska <mliska@suse.cz>
847 * ipa-icf-gimple.c (func_checker::compare_ssa_name): Enhance SSA
849 (func_checker::compare_memory_operand): New function.
850 (func_checker::compare_operand): Split case to newly
852 (func_checker::compare_cst_or_decl): New function.
853 (func_checker::compare_gimple_call): Identify
855 (func_checker::compare_gimple_assign): Likewise.
856 * ipa-icf-gimple.h: New function.
858 2015-01-09 Martin Liska <mliska@suse.cz>
861 * sreal.c (sreal::dump): Change unsigned format to signed for
863 (sreal::to_double): Replace exp2 with scalbln.
865 2015-01-09 Martin Liska <mliska@suse.cz>
867 * cgraphunit.c (cgraph_node::create_wrapper): Fix level of indentation.
868 * ipa-icf.c (sem_function::equals_private): Add support for target and
869 (sem_item_optimizer::merge_classes): Remove redundant function
870 optimization flags comparison.
871 * tree.h (target_opts_for_fn): New function.
873 2015-01-09 Tom de Vries <tom@codesourcery.com>
875 * omp-low.c (expand_omp_for_static_chunk): Fix assert.
877 2015-01-09 Kito Cheng <kito@0xlab.org>
879 PR rtl-optimization/64348
880 * lra-constraints.c (split_reg): Fix caller-save store/restore
881 instruction generation.
883 2015-01-08 John David Anglin <danglin@gcc.gnu.org>
885 PR gcov-profile/61790
886 * gcov-tool.c (do_rewrite): Use strtoll instead of atoll if host has
887 long long. Fallback to int64_t if host doesn't have long long and
888 use strtol if int64_t is long. Otherwise, use sscanf for conversion.
890 2015-01-08 Jakub Jelinek <jakub@redhat.com>
892 PR tree-optimization/63989
893 * params.def (PARAM_MAX_TRACKED_STRLENS): Increment default
895 * tree-ssa-strlen.c (get_strinfo): Moved earlier.
896 (get_stridx): If we don't have a record for certain SSA_NAME,
897 but it is POINTER_PLUS_EXPR of some SSA_NAME we do with
898 constant offset, call get_stridx_plus_constant.
899 (get_stridx_plus_constant): New function.
900 (zero_length_string): Don't use get_stridx here.
904 * dse.c (struct insn_info): Mention frame_read set also
905 before reload for tail calls on some targets.
906 (scan_insn): Revert 2014-12-22 change. Set frame_read
907 also before reload for tail calls if
908 HARD_FRAME_POINTER_IS_ARG_POINTER. Call add_wild_read
909 instead of add_non_frame_wild_read for non-const/memset
910 tail calls after reload.
912 2015-01-08 Jason Merrill <jason@redhat.com>
914 * ubsan.c (do_ubsan_in_current_function): New.
915 (pass_ubsan::gate): Use it.
916 * ubsan.h: Declare it.
917 * convert.c (convert_to_integer): Use it.
919 2015-01-08 Jakub Jelinek <jakub@redhat.com>
922 * config/i386/i386.c (ix86_expand_int_movcc): Don't reverse
923 compare_code when it is unconditionally overwritten afterwards.
924 Use ix86_reverse_condition instead of reverse_condition. Don't
925 change code if *reverse_condition* returned UNKNOWN and don't
926 swap ct/cf and negate diff in that case.
928 2015-01-08 Mike Stump <mikestump@comcast.net>
930 * tsan.c (pass_tsan::gate): Add no_sanitize_thread support.
931 (pass_tsan_O0::gate): Likewise.
932 * extend.texi (Function Attributes): Add no_sanitize_thread
935 2015-01-08 Thomas Schwinge <thomas@codesourcery.com>
937 * builtins.def (DEF_GOMP_BUILTIN): Also consider flag_offload_abi
938 for registering builtins.
939 * config/i386/intelmic-mkoffload.c (prepare_target_image): Don't
940 add -fopenmp to the argv_obstack used when invoking
943 * config/i386/intelmic-mkoffload.c (compile_for_target): Always
944 add "-m32" or "-m64" to argv_obstack.
945 (generate_host_descr_file): Likewise, when invoking host_compiler.
946 (main): Always add "-m elf_i386" or "-m elf_x86_64" when invoking
949 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
951 * config/sh/sh-mem.cc: Use constant as second operand when emitting
954 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
957 * config/sh/sh.md (*addsi3_compact): Emit reg-reg copy instead of
958 constant load if constant operand fits into I08.
960 2015-01-08 Jakub Jelinek <jakub@redhat.com>
963 * tree.c (build2_stat): Fix up initialization of TREE_READONLY
964 and TREE_THIS_VOLATILE for MEM_REFs.
965 (build5_stat): Fix up initialization of TREE_READONLY and
966 TREE_THIS_VOLATILE for TARGET_MEM_REFs.
968 2015-01-08 Kaz Kojima <kkojima@gcc.gnu.org>
971 * config/sh/sh.md (*addsi3_compact): Use u constraint instead
972 of r for the second alternative of the destination operand.
974 2015-01-07 Segher Boessenkool <segher@kernel.crashing.org>
977 * config/rs6000/rs6000.md (*eqsi3_ext<mode>, *nesi3_ext<mode>): New.
979 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
981 * doc/invoke.texi ([-fvtable-verify]): Fix markup on option
983 ([-fivar-visibility], [-fvisibility]): Likewise.
985 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
987 * doc/invoke.texi: Fix incorrect uses of @samp markup throughout
988 the file where @code, @command, etc is more appropriate.
990 2015-01-06 Sandra Loosemore <sandra@codesourcery.com>
992 * doc/invoke.texi (RS/6000 and PowerPC Options): Tidy formatting
993 of -mrecip= documentation.
995 2015-01-06 Michael Meissner <meissner@linux.vnet.ibm.com>
998 * config/rs6000/rs6000.c (rs6000_secondary_reload): Return the
999 correct reload handler if -m32 -mpowerpc64 is used.
1001 2015-01-06 Tom de Vries <tom@codesourcery.com>
1003 * tree-ssa-tail-merge.c: Fix typo in struct same_succ_def comment.
1005 2015-01-08 Christian Bruel <christian.bruel@st.com>
1008 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Check 0 length.
1010 2015-01-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1012 PR tree-optimization/63259
1013 * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Stop checking
1014 if optab exists for 16bit byteswap.
1016 2015-01-06 Jakub Jelinek <jakub@redhat.com>
1018 * opts.c (common_handle_option): Add support for
1019 -fno-sanitize=all and -f{,no-}sanitize-recover=all.
1020 * doc/invoke.texi: Document -fno-sanitize=all,
1021 -f{,no-}sanitize-recover=all. Document that
1022 -fsanitize=float-cast-overflow is not enabled
1023 by -fsanitize=undefined. Fix up documentation
1024 of -f{,no-}sanitize-recover.
1026 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
1028 * config.gcc: Add Visium support.
1029 * configure.ac: Likewise.
1030 * configure: Regenerate.
1031 * doc/extend.texi (interrupt attribute): Add Visium.
1032 * doc/invoke.texi: Document Visium options.
1033 * doc/install.texi: Document Visium target.
1034 * doc/md.texi: Document Visium constraints.
1035 * common/config/visium: New directory.
1036 * config/visium: Likewise.
1038 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
1040 * simplify-rtx.c (simplify_binary_operation_1): Handle more cases
1041 for the "(and X (ior (not X) Y) -> (and X Y)" transform.
1043 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
1045 * combine.c (combine_validate_cost): Do not count the cost of a
1046 split I2 twice. Do not display it twice in the dump, either.
1048 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
1050 Revert parts of r219199.
1051 * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
1053 ([-Wtraditional]): Restore markup on <limits.h>.
1055 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
1058 * doc/invoke.texi: Document -Wsuggest-override.
1060 2015-01-05 Radovan Obradovic <radovan.obradovic@imgtec.com>
1062 PR rtl-optimization/64287
1063 * toplev.c (HAVE_epilogue, HAVE_prologue): Provide default.
1064 (process_options): Disable flag_ipa_ra if profiling.
1066 2015-01-05 Eric Botcazou <ebotcazou@adacore.com>
1068 * config/nds32/nds32-peephole2.md: Do not mention define_peephole.
1070 2015-01-05 Max Filippov <jcmvbkbc@gmail.com>
1072 * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
1073 hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
1074 put under #if TARGET_LOOPS guard.
1076 2015-01-05 Uros Bizjak <ubizjak@gmail.com>
1078 * config/i386/i386.c (output_387_binary_op): Use std::swap.
1080 2015-01-05 Oleg Endo <olegendo@gcc.gnu.org>
1082 * rtlanal.c (refers_to_regno_p): Change return value from int to bool.
1083 * rtl.h (refers_to_regno_p): Add overload.
1085 * bt-load.c: Likewise.
1086 * combine.c: Likewise.
1087 * df-scan.c: Likewise.
1088 * sched-deps.c: Likewise.
1089 * config/s390/s390.c: Likewise.
1090 * config/m32r/m32r.c: Likewise.
1091 * config/rs6000/spe.md: Likewise.
1092 * config/rs6000/rs6000.c: Likewise.
1093 * config/pa/pa.c: Likewise.
1094 * config/stormy16/stormy16.c: Likewise.
1095 * config/cris/cris.c: Likewise.
1096 * config/arc/arc.md: Likewise.
1097 * config/arc/arc.c: Likewise.
1098 * config/sh/sh.md: Likewise.
1099 * config/sh/sh.c: Likewise.
1100 * config/frv/frv.c: Likewise.
1102 2015-01-05 Jakub Jelinek <jakub@redhat.com>
1105 * gimplify.c (gimplify_function_tree): Add TSAN_FUNC_EXIT internal
1106 call as cleanup of the whole body.
1107 * internal-fn.def (TSAN_FUNC_EXIT): New internal call.
1108 * tsan.c (replace_func_exit): New function.
1109 (instrument_func_exit): Moved earlier.
1110 (instrument_memory_accesses): Adjust TSAN_FUNC_EXIT internal calls.
1111 Call instrument_func_exit if no TSAN_FUNC_EXIT internal calls have
1113 (tsan_pass): Don't call instrument_func_exit.
1114 * internal-fn.c (expand_TSAN_FUNC_EXIT): New function.
1115 * tree-inline.c (copy_bb): Drop TSAN_FUNC_EXIT internal calls during
1119 * ubsan.h (ubsan_instrument_float_cast): Add ARG argument.
1120 * ubsan.c (ubsan_instrument_float_cast): Add ARG argument, pass
1121 it to libubsan handler instead of EXPR. Fold comparisons earlier,
1122 if the result is integer_zerop, return NULL_TREE.
1123 * convert.c (convert_to_integer): Pass expr as ARG.
1125 PR tree-optimization/64465
1126 * tree-inline.c (redirect_all_calls): During inlining
1127 clean up EH stmts and EH edges if redirect_call_stmt_to_callee
1128 changed the stmt to a non-throwing call.
1130 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
1132 * doc/invoke.texi: Fix incorrect uses of @code, @option, @samp,
1133 etc markup throughout the file.
1135 2015-01-05 Bernd Edlinger <bernd.edlinger@hotmail.de>
1137 Enable experimental TSAN support for Ada.
1138 * tsan.c (instrument_expr): Handle VIEW_CONVERT_EXPR.
1140 2015-01-05 Jakub Jelinek <jakub@redhat.com>
1142 PR tree-optimization/64494
1143 * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
1144 clear SSA_NAME_ANTI_RANGE_P flag.
1146 2015-01-05 Marek Polacek <polacek@redhat.com>
1148 * doc/extend.texi (Arrays of Length Zero): Add missing comma.
1150 2015-01-05 Jakub Jelinek <jakub@redhat.com>
1152 Update copyright years.
1154 * gcc.c (process_command): Update copyright notice dates.
1155 * gcov-dump.c: Ditto.
1157 * doc/cpp.texi: Bump @copying's copyright year.
1158 * doc/cppinternals.texi: Ditto.
1159 * doc/gcc.texi: Ditto.
1160 * doc/gccint.texi: Ditto.
1161 * doc/gcov.texi: Ditto.
1162 * doc/install.texi: Ditto.
1163 * doc/invoke.texi: Ditto.
1165 * auto-profile.c, auto-profile.h: Fix up Copyright line.
1167 2015-01-04 Sandra Loosemore <sandra@codesourcery.com>
1169 * doc/invoke.texi ([-fsized-deallocation]): Copy-edit to fix
1171 ([-fvtable-verify], [-fvtv-debug]): Likewise.
1172 ([-Wabi]): Likewise.
1173 ([-fmessage-length]): Likewise.
1174 ([-Wsuggest-final-types], [-Wsuggest-final-methods]): Likewise.
1175 ([-Wno-discarded-qualifiers]): Likewise.
1176 ([-Wnodiscarded-array-qualifiers]): Likewise.
1177 ([-Wno-virtual-move-assign]): Likewise.
1178 ([-fsanitize=address], [-fsanitize=thread]): Likewise.
1179 ([-fsanitize=leak], [-fsanitize=undefined]): Likewise.
1180 ([-fsanitize=unreachable], [-fsanitize-recover]): Likewise.
1181 ([-fsanitize-undefined-trap-on-error]): Likewise.
1182 ([-floop-interchange]): Likewise.
1183 ([-ftree-coalesce-inlined-vars]): Likewise.
1184 ([-fvect-cost-model]): Likewise.
1185 ([-flto]): Likewise.
1186 ([--param]): Likewise.
1187 (Spec Files): Likewise.
1188 ([-mstrict-align]): Likewise.
1189 ([-mfix-cortex-a53-835769]): Likewise.
1190 ([-march], [-mtune]): Likewise.
1191 ([-mpic-register]): Likewise.
1192 ([-munaligned-access]): Likewise.
1193 ([-msp8]): Likewise.
1194 (EIND and Devices with more than 128 Ki Bytes of Flash): Likewise.
1195 (AVR Built-in Macros): Likewise.
1196 ([-mpreferred-stack-boundary]): Likewise.
1197 ([-mtune-crtl]): Likewise.
1198 ([-mashf]): Likewise.
1199 ([-mmcu=]): Likewise.
1200 ([-minrt]): Likewise.
1201 ([-maltivec], [-maltivec=be], [-maltivec=le]): Likewise.
1202 ([-mupper-regs]): Likewise.
1203 ([-matomic-model]): Likewise.
1204 ([-mdiv]): Likewise.
1205 ([-mzdcbranch]): Likewise.
1206 ([-mdisable-callt]): Likewise.
1207 ([-msoft-float]): Likewise.
1208 ([-m8byte-align]): Likewise.
1209 ([-fstack-reuse]): Likewise.
1211 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
1213 * doc/invoke.texi ([-fprofile-generate], [-fprofile-use]):
1214 Fix markup, light copy-editing.
1215 ([-fauto-profile]): Rewrite to fix formatting and content
1218 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
1220 * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]):
1221 Copy-edit description.
1222 ([-fisolate-erroneous-paths-attribute]): Likewise.
1223 * common.opt (fisolate-erroneous-paths-dereference):
1224 Copy-edit description.
1225 (fisolate-erroneous-paths-attribute): Likewise.
1227 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
1229 * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
1232 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
1234 * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
1235 ([-fvtv-debug]): Likewise.
1236 ([-Wc++-compat]): Likewise.
1237 ([-Wc++11-compat]): Likewise.
1238 ([-Wc++14-compat]): Likewise.
1239 ([-Wno-sized-deallocation]): Likewise.
1240 ([-femit-class-debug-always]): Likewise.
1241 ([-femit-struct-debug-detailed]): Likewise.
1242 ([-fno-keep-inline-dllexport]): Likewise.
1243 ([-fira-algorithm]): Likewise.
1244 ([-fira-region]): Likewise.
1245 ([-flra-remat]): Likewise.
1246 ([-fipa-ra]): Likewise.
1247 ([-fhoist-adjacent-loads]): Likewise.
1248 ([-fisolate-erroneous-paths-dereference]): Likewise.
1249 ([-fisolate-erroneous-paths-attribute]): Likewise.
1250 ([-ftree-switch-conversion]): Likewise.
1251 ([-ftree-tail-merge]): Likewise.
1252 ([-ftree-loop-if-convert]): Likewise.
1253 ([-ftree-loop-if-convert-stores]): Likewise.
1254 ([-ftree-loop-distribution]): Likewise.
1255 ([-ftree-loop-distribute-patterns]): Likewise.
1256 ([-flto-compression-level]): Likewise.
1257 ([-flto-report]): Likewise.
1258 ([-flto-report-wpa]): Likewise.
1259 ([-fuse-linker-plugin]): Likewise.
1260 ([-mfix-cortex-a53-835769]): Likewise.
1261 ([-mno-fix-cortex-a53-835769]): Likewise.
1262 ([-mmmx]...[-mno-3dnow]): Remove the -mno- forms from the
1263 explicit listing; add a note to the discussion indicating they
1264 exist. Reorder table to group similar options. Add missing
1265 @opindex entries. Add @need commands throughout the table to
1266 allow it to be split across multiple pages.
1267 ([-m8bit-idiv]): Fix @opindex.
1268 ([-mavx256-split-unaligned-load]): Likewise.
1269 ([-mavx256-split-unaligned-store]): Likewise.
1270 ([-mstack-protector-guard]): Likewise.
1271 ([-mcpu=]): Likewise.
1272 ([-mcpu]): Likewise.
1273 ([-mpointer-size=]): Likewise.
1275 2015-01-03 John David Anglin <danglin@gcc.gnu.org>
1277 * config/pa/pa.md (decrement_and_branch_until_zero): Use `Q' constraint
1278 instead of `m' constraint. Likewise for unnamed movb comparison
1279 patterns using reg_before_reload_operand predicate.
1280 * config/pa/predicates.md (reg_before_reload_operand): Tighten
1281 predicate to reject register index and LO_SUM DLT memory forms
1284 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
1286 * doc/invoke.texi (Option Summary): Fix spelling of
1287 -fdevirtualize-at-ltrans.
1288 ([-fdevirtualize]): Fix markup.
1289 ([-fdevirtualize-speculatively]): Fix typo.
1290 ([-fdevirtualize-at-ltrans]): Likewise. Make description less
1292 * common.opt (fdevirtualize-at-ltrans): Likewise.
1293 * ipa-devirt.c: Fix typos in comments throughout the file.
1294 (ipa_devirt): Fix typos in format strings for dump output.
1296 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
1298 * doc/invoke.texi ([-fopt-info]): Fix markup, consolidate
1299 discussion of defaults, light copy-editing.
1301 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
1303 * tsan.c (instrument_expr): corrected previous checkin.
1305 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
1307 Instrument bit field and unaligned accesses for TSAN.
1308 * sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
1309 (BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
1310 * tsan.c (instrument_expr): Handle COMPONENT_REF and BIT_FIELD_REF.
1311 Use BUILT_IN_TSAN_READ_RANGE and BUILT_IN_TSAN_WRITE_RANGE for
1312 unaligned memory regions.
1314 2015-01-01 Anthony Green <green@moxielogic.com>
1316 * config/moxie/predicates.md (moxie_general_movsrc_operand):
1317 Restrict move source register offsets to 16 bits.
1319 Copyright (C) 2015 Free Software Foundation, Inc.
1321 Copying and distribution of this file, with or without modification,
1322 are permitted in any medium without royalty provided the copyright
1323 notice and this notice are preserved.