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