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