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