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