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