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