1 2015-10-15 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
3 * dojump.h: New header file.
5 * expr.h: Remove includes.
6 Move expmed.c prototypes to expmed.h.
7 Move dojump.c prototypes to dojump.h.
8 Move alias.c prototypes to alias.h.
9 Move explow.c prototypes to explow.h.
10 Move calls.c prototypes to calls.h.
11 Move emit-rtl.c prototypes to emit-rtl.h.
12 Move varasm.c prototypes to varasm.h.
13 Move stmt.c prototypes to stmt.h.
14 (saved_pending_stack_adjust): Move to dojump.h.
15 (adjust_address): Move to explow.h.
16 (adjust_address_nv): Move to emit-rtl.h.
17 (adjust_bitfield_address): Likewise.
18 (adjust_bitfield_address_size): Likewise.
19 (adjust_bitfield_address_nv): Likewise.
20 (adjust_automodify_address_nv): Likewise.
21 * explow.c (expr_size): Move to expr.c.
22 (int_expr_size): Likewise.
23 (tree_expr_size): Likewise.
24 Include calls.h dojump.h emit-rtl.h explow.h expmed.h
25 fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
26 * genemit.c (main): Generate includes statistics.h, real.h, fixed-value.h,
27 insn-config.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
28 * genopinit.c (main): Generate includes hashtab.h, hard-reg-set.h, function.h,
29 statistics.h, real.h, fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h,
31 * genoutput.c (main): Generate includes hashtab.h, statistics.h, real.h,
32 fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
33 * genemit.c (open_base_files): Generate includes flags.h, statistics.h, real.h,
34 fixed-value.h, tree.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h,
36 * config/tilepro/gen-mul-tables.cc: Generate includes hashtab.h, hash-set.h, vec.h,
37 machmode.h, tm.h, hard-reg-set.h, input.h, function.h, rtl.h, flags.h, statistics.h,
38 double-int.h, real.h, fixed-value.h, alias.h, wide-int.h, inchash.h, tree.h,
39 insn-config.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
40 * config/tilegx/mul-tables.c: Include alias.h calls.h dojump.h
41 double-int.h emit-rtl.h explow.h expmed.h fixed-value.h flags.h
42 function.h hard-reg-set.h hash-set.h hashtab.h inchash.h input.h
43 insn-config.h machmode.h real.h rtl.h statistics.h stmt.h symtab.h
44 tm.h tree.h varasm.h vec.h wide-int.h.
45 * rtlhooks.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
46 explow.h expmed.h fixed-value.h flags.h function.h hard-reg-set.h
47 hash-set.h hashtab.h inchash.h input.h insn-config.h machmode.h
48 real.h statistics.h stmt.h tree.h varasm.h vec.h wide-int.h.
49 * cfgloopanal.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
50 explow.h expmed.h fixed-value.h flags.h inchash.h insn-config.h
51 real.h statistics.h stmt.h tree.h varasm.h wide-int.h.
52 * loop-iv.c: Likewise.
53 * lra-assigns.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
54 explow.h expmed.h fixed-value.h flags.h inchash.h real.h
55 statistics.h stmt.h tree.h varasm.h wide-int.h.
56 * lra-constraints.c: Likewise.
57 * lra-eliminations.c: Likewise.
58 * lra-lives.c: Likewise.
59 * lra-remat.c: Likewise.
60 * bt-load.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
61 explow.h expmed.h fixed-value.h inchash.h insn-config.h real.h
62 statistics.h stmt.h tree.h varasm.h wide-int.h.
63 * hw-doloop.c: Likewise.
64 * ira-color.c: Likewise.
65 * ira-emit.c: Likewise.
66 * loop-doloop.c: Likewise.
67 * loop-invariant.c: Likewise.
68 * reload.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
69 explow.h expmed.h fixed-value.h inchash.h real.h rtl.h
70 statistics.h stmt.h tree.h varasm.h wide-int.h.
71 * caller-save.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
72 explow.h expmed.h fixed-value.h inchash.h real.h statistics.h
73 stmt.h tree.h varasm.h wide-int.h.
74 * combine-stack-adj.c: Likewise.
78 * ira-costs.c: Likewise.
80 * lra-coalesce.c: Likewise.
81 * lra-spills.c: Likewise.
82 * profile.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
83 explow.h expmed.h fixed-value.h insn-config.h real.h statistics.h
84 stmt.h varasm.h wide-int.h.
85 * lra.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
86 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
88 * config/sh/sh_treg_combine.cc: Include alias.h calls.h dojump.h
89 double-int.h explow.h expmed.h fixed-value.h flags.h real.h
90 statistics.h stmt.h varasm.h wide-int.h.
91 * reorg.c: Include alias.h calls.h dojump.h double-int.h explow.h
92 expmed.h fixed-value.h inchash.h real.h statistics.h stmt.h tree.h
94 * reload1.c: Include alias.h calls.h dojump.h double-int.h explow.h
95 expmed.h fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
96 * config/tilegx/tilegx.c: Include alias.h dojump.h double-int.h
97 emit-rtl.h explow.h expmed.h fixed-value.h flags.h real.h
99 * config/tilepro/tilepro.c: Likewise.
100 * config/mmix/mmix.c: Include alias.h dojump.h double-int.h emit-rtl.h
101 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h.
102 * config/pdp11/pdp11.c: Likewise.
103 * config/xtensa/xtensa.c: Likewise.
104 * config/lm32/lm32.c: Include alias.h dojump.h double-int.h emit-rtl.h
105 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
107 * tree-chkp.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
108 fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
109 insn-config.h real.h rtl.h statistics.h stmt.h tm.h.
110 * cilk-common.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
111 fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
112 insn-config.h real.h rtl.h statistics.h stmt.h tm.h varasm.h.
113 * rtl-chkp.c: Likewise.
114 * tree-chkp-opt.c: Likewise.
115 * config/arm/arm-builtins.c: Include calls.h dojump.h emit-rtl.h explow.h
116 expmed.h fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
117 insn-config.h real.h statistics.h stmt.h varasm.h.
118 * ipa-icf.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
119 fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
121 * tree-vect-data-refs.c: Likewise.
122 * graphite-sese-to-poly.c: Include calls.h dojump.h emit-rtl.h explow.h
123 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
124 rtl.h statistics.h stmt.h varasm.h.
125 * internal-fn.c: Likewise.
126 * ipa-icf-gimple.c: Likewise.
127 * lto-section-out.c: Likewise.
128 * tree-data-ref.c: Likewise.
129 * tree-nested.c: Likewise.
130 * tree-outof-ssa.c: Likewise.
131 * tree-predcom.c: Likewise.
132 * tree-pretty-print.c: Likewise.
133 * tree-scalar-evolution.c: Likewise.
134 * tree-ssa-strlen.c: Likewise.
135 * tree-vect-loop.c: Likewise.
136 * tree-vect-patterns.c: Likewise.
137 * tree-vect-slp.c: Likewise.
138 * tree-vect-stmts.c: Likewise.
140 * targhooks.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
141 fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
143 * config/sh/sh-mem.cc: Include calls.h dojump.h emit-rtl.h explow.h
144 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
145 statistics.h stmt.h varasm.h.
146 * loop-unroll.c: Likewise.
148 * tree-ssa-loop-prefetch.c: Include calls.h dojump.h emit-rtl.h explow.h
149 expmed.h fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h
151 * dse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
152 fixed-value.h function.h hashtab.h statistics.h stmt.h varasm.h.
153 * tree-switch-conversion.c: Include calls.h dojump.h emit-rtl.h explow.h
154 expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
156 * generic-match-head.c: Include calls.h dojump.h emit-rtl.h explow.h
157 expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
158 statistics.h stmt.h varasm.h.
159 * gimple-match-head.c: Likewise.
160 * lto-cgraph.c: Likewise.
161 * lto-section-in.c: Likewise.
162 * lto-streamer-in.c: Likewise.
163 * lto-streamer-out.c: Likewise.
164 * tree-affine.c: Likewise.
165 * tree-cfg.c: Likewise.
166 * tree-cfgcleanup.c: Likewise.
167 * tree-if-conv.c: Likewise.
168 * tree-into-ssa.c: Likewise.
169 * tree-ssa-alias.c: Likewise.
170 * tree-ssa-copyrename.c: Likewise.
171 * tree-ssa-dse.c: Likewise.
172 * tree-ssa-forwprop.c: Likewise.
173 * tree-ssa-live.c: Likewise.
174 * tree-ssa-math-opts.c: Likewise.
175 * tree-ssa-pre.c: Likewise.
176 * tree-ssa-sccvn.c: Likewise.
177 * tree-tailcall.c: Likewise.
178 * tree-vect-generic.c: Likewise.
179 * tree-sra.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
180 fixed-value.h hashtab.h insn-config.h real.h rtl.h stmt.h varasm.h.
181 * stor-layout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
182 fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h.
183 * varasm.c: Likewise.
184 * coverage.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
185 fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h
187 * init-regs.c: Likewise.
189 * omp-low.c: Likewise.
190 * stack-ptr-mod.c: Likewise.
191 * tree-ssa-reassoc.c: Likewise.
192 * tree-complex.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
193 fixed-value.h hashtab.h insn-config.h rtl.h statistics.h stmt.h
195 * dwarf2cfi.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
196 fixed-value.h hashtab.h insn-config.h statistics.h stmt.h varasm.h.
197 * shrink-wrap.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
198 fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h.
199 * recog.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
200 fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h varasm.h.
201 * tree-ssa-phiopt.c: Likewise.
202 * config/darwin.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
203 fixed-value.h hashtab.h real.h statistics.h stmt.h.
204 * config/fr30/fr30.c: Likewise.
205 * config/frv/frv.c: Likewise.
208 * optabs.c: Likewise.
209 * passes.c: Likewise.
210 * simplify-rtx.c: Likewise.
212 * toplev.c: Likewise.
213 * var-tracking.c: Likewise.
214 * gcse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
215 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
216 * lower-subreg.c: Likewise.
217 * postreload-gcse.c: Likewise.
219 * reginfo.c: Likewise.
220 * store-motion.c: Likewise.
221 * combine.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
222 fixed-value.h hashtab.h real.h stmt.h varasm.h.
223 * emit-rtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
224 fixed-value.h hashtab.h statistics.h stmt.h.
225 * dojump.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
226 fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
227 * except.c: Likewise.
228 * explow.c: Likewise.
229 * tree-dfa.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
230 fixed-value.h insn-config.h real.h rtl.h statistics.h stmt.h
232 * gimple-fold.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
233 fixed-value.h insn-config.h real.h rtl.h statistics.h varasm.h.
234 * tree-ssa-structalias.c: Likewise.
235 * cfgexpand.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
236 fixed-value.h insn-config.h real.h statistics.h.
237 * calls.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
238 fixed-value.h insn-config.h real.h statistics.h stmt.h.
239 * bb-reorder.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
240 fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
241 * cfgbuild.c: Likewise.
242 * function.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
243 fixed-value.h real.h rtl.h statistics.h stmt.h.
244 * cfgrtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
245 fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
246 * dbxout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
247 fixed-value.h real.h statistics.h stmt.h.
248 * auto-inc-dec.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
249 fixed-value.h real.h statistics.h stmt.h varasm.h.
251 * modulo-sched.c: Likewise.
252 * postreload.c: Likewise.
253 * ccmp.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
254 flags.h function.h hard-reg-set.h hashtab.h insn-config.h real.h
255 statistics.h stmt.h varasm.h.
256 * gimple-ssa-strength-reduction.c: Include calls.h dojump.h emit-rtl.h
257 explow.h fixed-value.h flags.h hashtab.h insn-config.h real.h
258 rtl.h statistics.h stmt.h varasm.h.
259 * tree-ssa-loop-ivopts.c: Include calls.h dojump.h emit-rtl.h explow.h
260 fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h stmt.h
262 * expmed.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
263 function.h hard-reg-set.h hashtab.h real.h statistics.h stmt.h
265 * target-globals.c: Include calls.h dojump.h emit-rtl.h explow.h
266 fixed-value.h function.h hashtab.h real.h statistics.h stmt.h
268 * tree-ssa-address.c: Include calls.h dojump.h emit-rtl.h explow.h
269 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
270 * cfgcleanup.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
271 function.h real.h statistics.h stmt.h varasm.h.
272 * alias.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
273 insn-config.h real.h statistics.h stmt.h.
274 * dwarf2out.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
276 * config/nvptx/nvptx.c: Include dojump.h emit-rtl.h explow.h expmed.h
277 fixed-value.h flags.h hard-reg-set.h insn-config.h real.h
278 statistics.h stmt.h varasm.h.
279 * gimplify.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
280 flags.h hashtab.h insn-config.h real.h rtl.h statistics.h.
281 * asan.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
282 flags.h hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h.
283 * ipa-devirt.c: Include dojump.h emit-rtl.h explow.h expmed.h
284 fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
285 statistics.h stmt.h varasm.h.
286 * ipa-polymorphic-call.c: Likewise.
287 * config/aarch64/aarch64.c: Include dojump.h emit-rtl.h explow.h expmed.h
288 fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
290 * config/c6x/c6x.c: Likewise.
291 * config/aarch64/aarch64-builtins.c: Include dojump.h emit-rtl.h explow.h
292 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
293 statistics.h stmt.h varasm.h.
294 * ipa-prop.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
295 hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h varasm.h.
296 * ipa-split.c: Likewise.
297 * tree-eh.c: Likewise.
298 * tree-ssa-dce.c: Likewise.
299 * tree-ssa-loop-niter.c: Likewise.
300 * tree-vrp.c: Likewise.
301 * config/nds32/nds32-cost.c: Include dojump.h emit-rtl.h explow.h
302 expmed.h fixed-value.h hashtab.h insn-config.h real.h statistics.h
304 * config/nds32/nds32-fp-as-gp.c: Likewise.
305 * config/nds32/nds32-intrinsic.c: Likewise.
306 * config/nds32/nds32-isr.c: Likewise.
307 * config/nds32/nds32-md-auxiliary.c: Likewise.
308 * config/nds32/nds32-memory-manipulation.c: Likewise.
309 * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
310 * config/nds32/nds32-predicates.c: Likewise.
311 * config/nds32/nds32.c: Likewise.
312 * config/cris/cris.c: Include dojump.h emit-rtl.h explow.h expmed.h
313 fixed-value.h hashtab.h real.h statistics.h.
314 * config/alpha/alpha.c: Include dojump.h emit-rtl.h explow.h expmed.h
315 fixed-value.h hashtab.h real.h statistics.h stmt.h.
316 * config/arm/arm.c: Likewise.
317 * config/avr/avr.c: Likewise.
318 * config/bfin/bfin.c: Likewise.
319 * config/h8300/h8300.c: Likewise.
320 * config/i386/i386.c: Likewise.
321 * config/ia64/ia64.c: Likewise.
322 * config/iq2000/iq2000.c: Likewise.
323 * config/m32c/m32c.c: Likewise.
324 * config/m32r/m32r.c: Likewise.
325 * config/m68k/m68k.c: Likewise.
326 * config/mcore/mcore.c: Likewise.
327 * config/mep/mep.c: Likewise.
328 * config/mips/mips.c: Likewise.
329 * config/mn10300/mn10300.c: Likewise.
330 * config/moxie/moxie.c: Likewise.
331 * config/pa/pa.c: Likewise.
332 * config/rl78/rl78.c: Likewise.
333 * config/rx/rx.c: Likewise.
334 * config/s390/s390.c: Likewise.
335 * config/sh/sh.c: Likewise.
336 * config/sparc/sparc.c: Likewise.
337 * config/spu/spu.c: Likewise.
338 * config/stormy16/stormy16.c: Likewise.
339 * config/v850/v850.c: Likewise.
340 * config/vax/vax.c: Likewise.
341 * config/cr16/cr16.c: Include dojump.h emit-rtl.h explow.h expmed.h
342 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
343 * config/msp430/msp430.c: Likewise.
344 * predict.c: Likewise.
345 * value-prof.c: Likewise.
346 * config/epiphany/epiphany.c: Include dojump.h emit-rtl.h explow.h
347 expmed.h fixed-value.h hashtab.h statistics.h stmt.h.
348 * config/microblaze/microblaze.c: Likewise.
349 * config/nios2/nios2.c: Likewise.
350 * config/rs6000/rs6000.c: Likewise.
351 * tree.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
352 insn-config.h real.h rtl.h statistics.h stmt.h.
353 * cgraph.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
354 insn-config.h real.h statistics.h stmt.h.
355 * fold-const.c: Include dojump.h emit-rtl.h explow.h expmed.h
356 fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
357 * tree-inline.c: Include dojump.h emit-rtl.h explow.h expmed.h
358 fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
359 * builtins.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
360 real.h statistics.h stmt.h.
361 * config/arc/arc.c: Include dojump.h emit-rtl.h explow.h expmed.h
362 fixed-value.h statistics.h stmt.h.
363 * config/visium/visium.c: Include dojump.h emit-rtl.h explow.h expmed.h
366 2015-01-15 Jakub Jelinek <jakub@redhat.com>
368 * gengtype.c (create_user_defined_type): Workaround
369 -Wmaybe-uninitialized false positives.
370 * cse.c (fold_rtx): Likewise.
371 * loop-invariant.c (gain_for_invariant): Likewise.
373 2015-01-15 Eric Botcazou <ebotcazou@adacore.com>
375 * expr.c (expand_expr_real_1) <normal_inner_ref>: Use the expression to
376 set the memory attributes in all cases but clear MEM_EXPR if need be.
378 2015-01-15 Yuri Rumyantsev <ysrumyan@gmail.com>
380 PR tree-optimization/64434
381 * cfgexpand.c (reorder_operands): New function.
382 (expand_gimple_basic_block): Insert call of reorder_operands if
385 2015-01-15 Matthew Fortune <matthew.fortune@imgtec.com>
387 * config/mips/micromips.md (*swp): Remove explicit parallel.
388 (jraddiusp, *movep<MOVEP1:mode><MOVEP2:mode>): Likewise.
389 * config/mips/mips-dsp.md (add<DSPV:mode>3): Likewise.
390 (mips_add<DSP:dspfmt1>_s_<DSP:dspfmt2>, sub<DSPV:mode>3): Likewise.
391 (mips_sub<DSP:dspfmt1>_s_<DSP:dspfmt2>, mips_addsc): Likewise.
392 (mips_addwc, mips_absq_s_<DSPQ:dspfmt2>): Likewise.
393 (mips_precrq_rs_ph_w, mips_precrqu_s_qb_ph): Likewise.
394 (mips_shll_<DSPV:dspfmt2>, mips_shll_s_<DSPQ:dspfmt2>): Likewise.
395 (mips_muleu_s_ph_qbl, mips_muleu_s_ph_qbr): Likewise.
396 (mips_mulq_rs_ph, mips_muleq_s_w_phl, mips_muleq_s_w_phr): Likewise.
397 (mips_dpaq_s_w_ph, mips_dpsq_s_w_ph, mips_mulsaq_s_w_ph): Likewise.
398 (mips_dpaq_sa_l_w, mips_dpsq_sa_l_w, mips_maq_s_w_phl): Likewise.
399 (mips_maq_s_w_phr, mips_maq_sa_w_phl, mips_maq_sa_w_phr): Likewise.
400 (mips_extr_w, mips_extr_r_w, mips_extr_rs_w): Likewise.
401 (mips_extr_s_h, mips_extp, mips_extpdp, mips_mthlip): Likewise.
402 (mips_wrdsp): Likewise.
403 * config/mips/mips-dspr2.md (mips_absq_s_qb): Remove explicit
405 (mips_addu_ph, mips_addu_s_ph, mips_cmpgdu_eq_qb): Likewise.
406 (mips_cmpgdu_lt_qb, mips_cmpgdu_le_qb, mulv2hi3): Likewise.
407 (mips_mul_s_ph, mips_mulq_rs_w, mips_mulq_s_ph): Likewise.
408 (mips_mulq_s_w, mips_subu_ph, mips_subu_s_ph): Likewise.
409 (mips_dpaqx_s_w_ph, mips_dpaqx_sa_w_ph): Likewise.
410 (mips_dpsqx_s_w_ph, mips_dpsqx_sa_w_ph): Likewise.
411 * config/mips/mips-fixed.md (usadd<mode>3): Remove explicit parallel.
412 (ssadd<mode>3, ussub<mode>3, sssub<mode>3, ssmul<mode>3): Likewise.
413 (ssmaddsqdq4, ssmsubsqdq4): Likewise.
415 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
417 * config/mips/mips.c (mips_rtx_costs): Set costs for LSA/DLSA.
418 (mips_print_operand): Support 'y' to print exact log2 in decimal
420 * config/mips/mips.h (ISA_HAS_LSA): New define.
421 (ISA_HAS_DLSA): Likewise.
422 * config/mips/mips.md (<GPR:d>lsa): New define_insn.
423 * config/mips/predicates.md (const_immlsa_operand): New predicate.
425 2015-01-15 Martin Liska <mliska@suse.cz>
428 * optc-save-gen.awk: Add support for array types.
430 2015-01-15 Richard Biener <rguenther@suse.de>
433 * tree-data-ref.c (dr_analyze_indices): Make sure that accesses
434 for MEM_REF access functions with the same base can never partially
437 2015-01-14 Marcos Diaz <marcos.diaz@tallertechnologies.com>
439 * common.opt: New option -fstack-protector-explicit.
440 * cfgexpand.c (SPCT_FLAG_EXPLICIT): New enum.
441 (stack_protect_decl_phase): Handle stack_protect attribute for
442 explicit stack protection requests.
443 (expand_used_vars): Similarly.
444 * doc/cpp.texi (__SSP_EXPLICIT__): Document predefined macro.
445 * doc/extend.texi: Add documentation for "stack_protect" attribute.
446 * doc/invoke.texi: Add documentation for -fstack-protector-explicit.
448 2015-01-14 Oleg Endo <olegendo@gcc.gnu.org>
451 * config/sh/sh-protos.h (sh_find_set_of_reg): Add option to ignore
453 (sh_extending_set_of_reg): New struct.
454 (sh_find_extending_set_of_reg, sh_split_tst_subregs,
455 sh_remove_reg_dead_or_unused_notes): New Declarations.
456 * config/sh/sh.c (sh_remove_reg_dead_or_unused_notes,
457 sh_find_extending_set_of_reg, sh_split_tst_subregs,
458 sh_extending_set_of_reg::use_as_extended_reg): New functions.
459 * config/sh/sh.md (*tst<mode>_t_zero): Rename to *tst<mode>_t_subregs,
460 convert to insn_and_split and use new function sh_split_tst_subregs.
462 2015-01-14 Sandra Loosemore <sandra@codesourcery.com>
464 * doc/invoke.texi (Option Summary): Reclassify -fuse-ld as a linker
466 (Optimization Options): Move -fuse-ld documentation to...
467 (Link Options): ...here.
469 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
471 * config/mips/constraints.md (ZC): Add support for R6 LL/SC
473 (ZD): Update to use ISA_HAS_9BIT_DISPLACEMENT.
474 * config/mips/mips.h (ISA_HAS_PREFETCH_9BIT): Rename to...
475 (ISA_HAS_9BIT_DISPLACEMENT): ... this. New macro.
476 * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZC
477 instead of ZR for the memory operand of LL/SC.
478 (compare_and_swap_12, sync_add<mode>): Likewise.
479 (sync_<optab>_12, sync_old_<optab>_12): Likewise.
480 (sync_new_<optab>_12, sync_nand_12): Likewise.
481 (sync_old_nand_12, sync_new_nand_12): Likewise.
482 (sync_sub<mode>, sync_old_add<mode>): Likewise.
483 (sync_old_sub<mode>, sync_new_add<mode>): Likewise.
484 (sync_new_sub<mode>, sync_<optab><mode>): Likewise.
485 (sync_old_<optab><mode>, sync_new_<optab><mode>"): Likewise.
486 (sync_nand<mode>, sync_old_nand<mode>): Likewise.
487 (sync_new_nand<mode>, sync_lock_test_and_set<mode>): Likewise.
488 (test_and_set_12, atomic_compare_and_swap<mode>): Likewise.
489 (atomic_exchange<mode>_llsc, atomic_fetch_add<mode>_llsc): Likewise.
490 * doc/md.texi (ZC): Update description.
492 2015-01-14 Andrew MacLeod <amacleod@redhat.com>
494 * builtins.c (expand_builtin_atomic_exchange): Remove error when
495 memory model is CONSUME.
496 (expand_builtin_atomic_compare_exchange, expand_builtin_atomic_load,
497 expand_builtin_atomic_store): Change invalid memory model errors to
499 (expand_builtin_atomic_clear): Change invalid model errors to warnings
500 and issue warning for CONSUME.
502 2015-01-14 Aldy Hernandez <aldyh@redhat.com>
504 * lto-cgraph: Update function comments for
505 lto_symtab_encoder_encode_*.
507 2015-01-14 Ilya Verbin <ilya.verbin@intel.com>
509 * Makefile.in (site.exp): Do not set ENABLE_LTO.
511 2015-01-14 Ilya Verbin <ilya.verbin@intel.com>
513 * cgraphunit.c (ipa_passes): Remove argument from ipa_write_summaries.
514 * lto-cgraph.c (select_what_to_stream): Remove argument, use
515 lto_stream_offload_p instead.
516 * lto-streamer.h (select_what_to_stream): Remove argument.
517 * passes.c (ipa_write_summaries): Likewise.
518 * tree-pass.h (ipa_write_summaries): Likewise.
520 2015-01-14 Richard Biener <rguenther@suse.de>
522 PR tree-optimization/59354
523 * tree-vect-slp.c (vect_build_slp_tree_1): Treat loads from
524 groups larger than the slp group size as having gaps.
526 2015-01-14 Andrew MacLeod <amacleod@redhat.com>
529 * builtins.c (get_memmodel): Promote consume to acquire always.
531 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
534 * config/i386/i386.c (ix86_expand_sse_cmp): Handle V64QImode,
537 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
540 * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VBMI_SET):
542 (OPTION_MASK_ISA_AVX512BW_UNSET): Disable AVX512VBMI.
543 * config/i386/i386.c (ix86_hard_regno_mode_ok): Don't check
544 AVX512VBMI, as it implies AVX512BW.
546 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
549 * config/i386/sse.md (vec_unpacks_hi_v8sf): Fix predicate.
550 (vec_unpacks_hi_v16sf): Ditto.
552 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
554 * config/aarch64/arm_neon.h: Error out if AdvancedSIMD
557 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
559 * doc/invoke.texi (mapcs): Mention deprecation.
560 (mapcs-frame): Likewise.
562 2015-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
565 * config/arm/arm.c (callee_saved_reg_p): Define.
566 (arm_compute_save_reg0_reg12_mask): Use callee_saved_reg_p to check if
567 register is callee saved instead of !call_used_regs[reg].
568 (thumb1_compute_save_reg_mask): Likewise.
570 2015-01-14 Hale Wang <hale.wang@arm.com>
572 * config/arm/arm.c: Tune the max_cond_insns/branch_cost for
575 2015-01-14 Richard Biener <rguenther@suse.de>
578 * tree-inline.c (insert_debug_decl_map): Check destination
579 function MAY_HAVE_DEBUG_STMTS.
580 (insert_init_debug_bind): Likewise.
581 (insert_init_stmt): Remove redundant check.
582 (remap_gimple_stmt): Drop debug stmts if the destination
583 function has var-tracking assignments disabled.
585 2015-01-14 Martin Liska <mliska@suse.cz>
587 * ipa-icf-gimple.c (func_checker::compare_operand): Add support for
588 IMAGPART_EXPR and REALPART_EXPR and fix BIT_FIELD_REF comparison.
590 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
593 * config/arm/arm.md (*<arith_shift_insn>_multsi): Set 'shift' to 2.
594 (*<arith_shift_insn>_shiftsi): Set 'shift' attr to 3.
596 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
598 * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Only infer an ISA
599 level from an ARCH; do not inject the default.
600 (MIPS_DEFAULT_ISA_LEVEL_SPEC): New macro split out from
602 (MIPS_ISA_NAN2008_SPEC): Update comment.
603 (BASE_DRIVER_SELF_SPECS): Likewise.
604 * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add
605 MIPS_DEFAULT_ISA_LEVEL_SPEC.
606 * config/mips/mti-elf.h (DRIVER_SELF_SPECS): Likewise.
607 * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise.
608 * config/mips/sde.h (DRIVER_SELF_SPECS): Likewise.
610 2015-01-14 Richard Biener <rguenther@suse.de>
612 PR tree-optimization/64493
613 PR tree-optimization/64495
614 * tree-vect-loop.c (vect_finalize_reduction): For double-reductions
615 assign the proper vectorized PHI to the inner loop exit PHIs.
617 2015-01-14 Joey Ye <joey.ye@arm.com>
619 * config/arm/arm.c (arm_compute_save_reg_mask):
620 Do not save lr in case of tail call.
621 * config/arm/thumb2.md (*thumb2_pop_single): New pattern.
623 2015-01-13 Martin Uecker <uecker@eecs.berkeley.edu>
625 * tree-vrp.c (check_array_ref): Emit more warnings
626 for warn_array_bounds >= 2.
627 * common.opt: New option -Warray-bounds=.
628 * doc/invoke.texi: Document -Warray-bounds=.
630 2015-01-14 Chung-Ju Wu <jasonwucj@gmail.com>
632 * config/nds32/nds32.opt (mforce-fp-as-gp): Remove.
633 (mforbid-fp-as-gp): Remove.
635 * config/nds32/nds32-fp-as-gp.c (nds32_have_prologue_p): Remove.
636 (nds32_symbol_load_store_p): Remove.
637 (nds32_fp_as_gp_check_available): Clean up implementation.
638 * config/nds32/nds32.h (LINK_SPEC): Remove -mforce-as-gp and -mex9
640 * config/nds32/nds32.c (nds32_asm_file_start): No need to consider
641 fp-as-gp and ex9 cases.
643 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
645 * tree-profile.c (init_ic_make_global_vars): Drop workaround
646 for bintuils bug 14342.
647 (init_ic_make_global_vars): Likewise.
648 (gimple_init_edge_profiler): Likewise.
649 (gimple_gen_ic_func_profiler): Likewise.
651 2015-01-13 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
653 * ipa-inline.c (inline_small_functions): Swap the operands in
656 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
659 * ipa-inline-analysis.c (node_growth_cache): Remove.
660 (initialize_growth_caches): Do not initialize it.
661 (free_growth_caches): Do not free it.
662 (do_estimate_growth): Rename to ...
663 (estimate_growth): ... this one; drop growth cache code.
664 (growth_likely_positive): Always go the heuristics way.
665 * ipa-inline.c (can_inline_edge_p): Walk through aliases.
666 (reset_edge_caches): Do not reset node growth.
667 (heap_edge_removal_hook): Do not maintain cache.
668 (inline_small_functions): Likewise; strenghten sanity check.
669 (ipa_inline): Do not maintain caches.
670 * ipa-inline.h (node_growth_cache): Remove.
671 (do_estimate_growth): Remove to ...
672 (estimate_growth): this one; remove inline version.
673 (reset_node_growth_cache): Remove.
675 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
678 * ipa-inline.c (inline_small_functions): Update callee keys after
679 resolving speculation
680 (inline_small_functions): Always check monotonicity of the queue.
682 2015-01-13 Marek Polacek <polacek@redhat.com>
685 * trans-mem.c (get_attrs_for): Return NULL_TREE if X is NULL_TREE.
687 2015-01-13 Jakub Jelinek <jakub@redhat.com>
689 PR rtl-optimization/64286
690 * ree.c (combine_reaching_defs): Move part of comment earlier,
691 remove !SCALAR_INT_MODE_P check.
692 (add_removable_extension): Don't add vector mode
693 extensions if all uses of the source register aren't the same
696 2015-01-13 Renlin Li <renlin.li@arm.com>
698 * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): Return 2.
699 (CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
701 2015-01-13 Martin Liska <mliska@suse.cz>
703 * ipa-icf.c (sem_function::equals_private): Call new functions
704 cl_target_option_print_diff and cl_optimization_print_diff.
705 * optc-save-gen.awk (cl_target_option_print_diff): New function.
706 (cl_optimization_print_diff): Likewise.
707 * opth-gen.awk: Likewise.
709 2015-01-13 Richard Sandiford <richard.sandiford@arm.com>
711 * config/aarch64/aarch64.md (subsi3, *subsi3_uxtw, subdi3)
712 (*sub_<optab><ALLX:mode>_<GPI:mode>, *sub_<optab><SHORT:mode>_si_uxtw)
713 (*sub_<optab><ALLX:mode>_shft_<GPI:mode>)
714 (*sub_<optab><SHORT:mode>_shft_si_uxtw, *sub_<optab><mode>_multp2)
715 (*sub_<optab>si_multp2_uxtw, *sub_uxt<mode>_multp2)
716 (*sub_uxtsi_multp2_uxtw): Add stack pointer sources.
718 2015-01-13 Andrew Pinski <apinski@cavium.com>
720 * config/aarch64/aarch64.c (fusion_load_store): Check dest mode
723 2015-01-13 Richard Biener <rguenther@suse.de>
726 * lto-streamer-out.c (tree_is_indexable): Guard for NULL
729 2015-01-13 Andrew Pinski <apinski@cavium.com>
731 * config/aarch64/aarch64.c (aarch64_operands_ok_for_ldpstp): Reject
733 (aarch64_operands_adjust_ok_for_ldpstp): Likewise.
735 2015-01-13 Jakub Jelinek <jakub@redhat.com>
738 * cfgexpand.c (expand_computed_goto): Don't call
739 convert_memory_address here.
741 2015-01-13 Richard Biener <rguenther@suse.de>
743 PR tree-optimization/64406
744 * tree-loop-distibution.c (pass_loop_distribution::execute):
745 Reset the SCEV hashtable if we distributed anything.
747 2015-01-13 Richard Biener <rguenther@suse.de>
749 PR tree-optimization/64404
750 * tree-vect-stmts.c (vectorizable_load): Reject conflicting
751 SLP types for CSEd loads.
753 2015-01-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
755 PR tree-optimization/64436
756 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Move code performing the
757 merge of two symbolic numbers for a bitwise OR to ...
758 (perform_symbolic_merge): This. Also fix computation of the range and
759 end of the symbolic number corresponding to the result of a bitwise OR.
761 2014-01-13 Richard Biener <rguenther@suse.de>
763 PR tree-optimization/64568
764 * tree-ssa-forwprop.c (pass_forwprop::execute): Properly
765 release defs of removed stmts, avoid splitting TARGET_MEM_REFs.
767 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
769 * config/nds32/nds32.c (nds32_legitimate_address_p): Consider
770 TARGET_CMODEL_LARGE and TARGET_CMODEL_MEDIUM cases.
772 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
774 * config/nds32/nds32.h (NDS32_SYMBOL_FLAG_RODATA): Define our own
775 target-specific symbol_ref flag.
776 (NDS32_SYMBOL_REF_RODATA_P): Define it to check if the symbol_ref
777 resides in rodata section.
778 * config/nds32/nds32.c (TARGET_ENCODE_SECTION_INFO): Define.
779 (nds32_encode_section_info): New function.
781 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
783 * config/nds32/nds32.md (call): Use pseudo instruction bal which
784 clobbers TA_REGNUM if large code model is specified.
785 (call_register): Likewise.
786 (call_immediate): Likewise.
787 (call_value): Likewise.
788 (call_value_register): Likewise.
789 (call_value_immediate): Likewise.
791 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
793 * config/nds32/nds32.h (TARGET_CMODEL_SMALL): New macro.
794 (TARGET_CMODEL_MEDIUM): New macro.
795 (TARGET_CMODEL_LARGE): New macro.
796 * config/nds32/nds32.c (nds32_asm_file_start): Display corresponding
797 code model setting in assembly code.
799 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
801 * common/config/nds32/nds32-common.c (TARGET_DEFAULT_TARGET_FLAGS):
802 Remove MASK_GP_DIRECT flag.
803 * config/nds32/nds32.h (MULTILIB_DEFAULTS): Have -mcmodel=medium as
804 one of the multilib default options.
805 * config/nds32/nds32.opt (mgp-direct): Remove.
806 * config/nds32/t-mlibs (MULTILIB_OPTIONS): Use -mcmodel instead of
807 -mgp-direct. We also remove unnecessary -mlittle-endian/-mbig-endian.
809 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
811 * config/nds32/nds32.opt (mcmodel): Add new option.
812 * config/nds32/nds32-opts.h (nds32_cmodel_type): Add new enum type
813 to describe code model.
815 2015-01-13 Oleg Endo <olegendo@gcc.gnu.org>
818 * rtlanal.c (set_reg_p): Handle SEQUENCE constructs.
820 2015-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
822 * config/sh/sh.c (sh_atomic_assign_expand_fenv): New function.
823 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
824 (sh_builtin_get_fpscr, sh_builtin_set_fpscr): New variables.
825 (sh_init_builtins): Record decls for __builtin_sh_get_fpscr and
826 __builtin_sh_set_fpscr.
828 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
830 * doc/invoke.texi ([-Wsuggest-attribute=]): Don't use parentheses
831 after a funtion name just to indicate it is a function.
832 ([-fsanitize-undefined-trap-on-error]): Likewise.
833 ([-fdbg-cnt=]): Likewise.
834 ([-mmemcpy]): Likewise.
835 ([-mflush-func]): Likewise.
836 ([-msynci]): Likewise.
838 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
840 * doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing
843 2015-01-12 Jakub Jelinek <jakub@redhat.com>
845 PR tree-optimization/64563
846 * tree-vrp.c (vrp_evaluate_conditional): Check for VR_RANGE
847 instead of != VR_VARYING.
850 * config/i386/i386.c (ix86_expand_prologue): Add
851 REG_FRAME_RELATED_EXPR to %rax and %r10 pushes.
853 PR tree-optimization/64454
854 * tree-vrp.c (simplify_div_or_mod_using_ranges): Optimize
855 op0 % op1 into op0 if op0 is in range [-op1 + 1, op1 - 1]
856 for signed or [0, op1 - 1] for unsigned modulo.
857 (simplify_stmt_using_ranges): Call simplify_div_or_mod_using_ranges
858 even if op1 does not satisfy integer_pow2p.
861 * sreal.c (sreal::to_double): Use ldexp instead of scalbnl.
863 2015-01-12 Jeff Law <law@redhat.com>
866 * config/m68k/m68k.md (truncsiqi2): Disable for TARGET_COLDFIRE.
867 (trunchiqi2, truncsihi2): Similarly.
869 * config/h8300/h8300.c (Fpa): Use RTX_FRAME_RELATED_P directly
870 rather than calling F.
872 2015-01-12 Bernd Edlinger <bernd.edlinger@hotmail.de>
874 * tsan.c (instrument_expr): Use force_gimple_operand.
875 Use may_be_nonaddressable_p instead of is_gimple_addressable.
877 2015-01-12 Richard Biener <rguenther@suse.de>
879 PR tree-optimization/64530
880 * tree-loop-distribution.c (pg_add_dependence_edges): Shuffle
883 2015-01-12 Richard Biener <rguenther@suse.de>
886 * tree-cfg.c (gimple_can_merge_blocks_p): Protect simple
889 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
891 * config/arm/arm.c (arm_cortex_a12_tune): Update entries to match
892 Cortex-A17 tuning parameters.
893 * config/arm/arm-cores.def (cortex-a12): Schedule for cortex-a17.
895 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
897 * config/arm/arm-protos.h (tune_params): Add fuseable_ops field.
898 * config/arm/arm.c (arm_macro_fusion_p): New function.
899 (arm_macro_fusion_pair_p): Likewise.
900 (TARGET_SCHED_MACRO_FUSION_P): Define.
901 (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
902 (ARM_FUSE_NOTHING): Likewise.
903 (ARM_FUSE_MOVW_MOVT): Likewise.
904 (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,
905 arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,
906 arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,
907 arm_cortex_a53_tune, arm_cortex_a57_tune, arm_cortex_a9_tune,
908 arm_cortex_a12_tune, arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune
909 arm_cortex_a5_tune): Specify fuseable_ops value.
911 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
914 * configure.ac (HAVE_LD_PIE_COPYRELOC): Update Linux/x86-64 linker
915 test for PIE with copy reloc.
916 * configure: Regenerated.
918 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
920 * config/arm/arm.c (arm_load_tp): Use R0_REGNUM instead of constant 0
922 (arm_tls_descseq_addr): Likewise.
923 (arm_gen_movmemqi): Likewise.
924 (arm_expand_epilogue_apcs_frame): Likewise.
925 (arm_expand_epilogue): Likewise.
926 (arm_expand_prologue): Likewise. Use R1_REGNUM instead of constant 1
929 2015-01-12 Martin Liska <mliska@suse.cz>
932 * ipa-icf-gimple.c (func_checker::compare_memory_operand): Compare
933 volatility for correct operands.
935 2015-01-12 Martin Liska <mliska@suse.cz>
937 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
938 that a function is not leaf.
939 (sem_function::compare_polymorphic_p): Likewise.
941 2015-01-12 Martin Liska <mliska@suse.cz>
943 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
944 that a function is not leaf.
945 (sem_function::compare_polymorphic_p): Likewise.
947 2015-01-12 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
949 * config/visium/visium.c: Add includes hashtab.h, hash-set.h,
950 machmode.h, input.h, statistics.h, vec.h, double-int.h, real.h,
951 fixed-value.h, alias.h, symtab.h, tree-core.h, wide-int.h, inchash.h,
952 fold-const.h, tree-check.h.
954 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
958 * ipa-inline.c (compute_uninlined_call_time,
959 compute_inlined_call_time): Use counts for extra precision when
961 (big_speedup_p): Fix formating.
962 (RELATIVE_TIME_BENEFIT_RANGE): Remove.
963 (relative_time_benefit): Remove.
964 (edge_badness): Turn DECL_DISREGARD_INLINE_LIMITS into hint;
965 merge guessed and read profile paths.
966 (inline_small_functions): Count only !optimize_size functions into
967 initial size; be more lax about sanity check when profile is used;
968 be sure to update inlined function profile when profile is read.
970 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
973 * ipa-inline-analysis.c (inline_edge_duplication_hook): Adjust
974 cost when edge becomes direct.
975 * ipa-prop.c (make_edge_direct): Do not adjust when speculation
976 is resolved or when introducing new speculation.
978 2015-01-12 Chen Gang <gang.chen.5i5j@gmail.com>
982 * ipa-icf.c (sem_function::equals_private): Use '&&' instead of
983 '||' to fix typo issue.
985 * gcc/tree.h (target_opts_for_fn): Check NULL_TREE since it can
986 accept and return NULL.
988 2015-01-12 Martin Liska <mliska@suse.cz>
990 * cgraph.c (cgraph_edge::remove_callee): Move function to header
991 file for being inlined.
992 (cgraph_set_edge_callee): Delete.
993 (cgraph_edge::redirect_callee): Move function to header file
995 (cgraph_edge::make_direct): Use new function.
996 (cgraph_edge::dump_edge_flags): New function created from
997 static dump_edge_flags function.
998 (cgraph_node::dump): Use new function.
999 (cgraph_edge::verify_count_and_frequency): New function created
1000 from verify_edge_count_and_frequency.
1001 (cgraph_edge::verify_corresponds_to_fndecl): New function created
1002 from verify_edge_corresponds_to_fndecl.
1003 (verify_edge_corresponds_to_fndecl): Delete.
1004 (cgraph_node::verify_node): Use new function.
1005 * cgraph.h (cgraph_edge::set_callee): New function.
1006 (cgraph_edge::dump_edge_flags): Likewise.
1007 (cgraph_edge::verify_corresponds_to_fndecl): Likewise.
1009 2015-01-11 Jan Hubicka <hubicka@ucw.cz>
1011 * ipa-utils.c (estimate_function_body_sizes): Do not
1012 free node params when called late with early=true.
1014 2015-01-11 James Greenhalgh <james.greenhalgh@arm.com>
1016 * doc/md.texi (Instruction Patterns): Rewrite text for
1018 (Example): Likewise.
1020 2015-01-10 Sandra Loosemore <sandra@codesourcery.com>
1022 * doc/invoke.texi (Option Summary): Break long lines.
1023 [(-fdiagnostics-color)]: Put long literal in @smallexample
1025 [(-fsanitize-recover)]: Likewise.
1026 [(-fdump-rtl-split*)]: Rewrite to fix over-full hbox.
1027 [(-ffast-math)]: Likewise.
1028 [(--param max-inline-insns-recursive)]: Likewise.
1029 [(--param max-inline-recursive-depth)]: Likewise.
1030 [(-mno-text-section-literals)]: Likewise.
1032 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
1034 * doc/install.texi: Update for libgomp being renamed from "GNU
1035 OpenMP Runtime Library" to "GNU Offloading and Multi Processing
1037 * doc/sourcebuild.texi: Likewise.
1039 2015-01-10 Anthony Green <green@moxielogic.com>
1041 * config/moxie/moxie.c (moxie_option_override): Fix forcing of
1042 mul.x availability for moxiebox configuration.
1044 2015-01-09 Anthony Green <green@moxielogic.com>
1046 * config/moxie/moxie.md: Tabify assembly output.
1048 2015-01-09 Anthony Green <green@moxielogic.com>
1050 * config/moxie/moxie.md (CC_REG): Correct register definition.
1052 2015-01-09 Sandra Loosemore <sandra@codesourcery.com>
1054 * doc/invoke.texi ([-fvtable-verify]): Copy-edit and fix markup.
1055 ([-fvtv-debug], [-fvtv-counts]): Likewise. Correct location
1058 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1060 * config/arm/arm.h (MAX_SYNC_LIBFUNC_SIZE): Delete semicolon.
1062 2015-01-09 Bernd Schmidt <bernds@codesourcery.com>
1063 Jakub Jelinek <jakub@redhat.com>
1066 * lto-streamer.h (lto_stream_offload_p): New declaration.
1067 * lto-streamer.c (lto_stream_offload_p): New variable.
1068 * cgraphunit.c (ipa_passes): Set lto_stream_offload_p
1069 at the same time as section_name_prefix.
1070 * lto-streamer-out.c (hash_tree): Don't hash TREE_TARGET_OPTION
1071 if lto_stream_offload_p.
1072 * tree-streamer-out.c (streamer_pack_tree_bitfields): Don't
1073 stream TREE_TARGET_OPTION if lto_stream_offload_p.
1074 (write_ts_function_decl_tree_pointers): Don't
1075 stream DECL_FUNCTION_SPECIFIC_TARGET if lto_stream_offload_p.
1076 * tree-streamer-in.c (unpack_value_fields): Don't stream
1077 TREE_TARGET_OPTION in if ACCEL_COMPILER.
1078 (lto_input_ts_function_decl_tree_pointers): Don't stream
1079 DECL_FUNCTION_SPECIFIC_TARGET in if ACCEL_COMPILER.
1080 * lto-opts.c (lto_write_options): Use lto_stream_offload_p
1081 instead of section_name_prefix string comparisons.
1083 2015-01-09 Jakub Jelinek <jakub@redhat.com>
1085 PR rtl-optimization/64536
1086 * cfgrtl.c (rtl_tidy_fallthru_edge): Handle removal of degenerate
1089 2015-01-09 Michael Collison <michael.collison@linaro.org>
1091 * genattrtab.c (write_header): Include hash-set.h, machmode.h,
1092 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1093 fold-const.h, wide-int.h, and inchash.h when generating
1095 * genautomata.c (main) : Include hash-set.h, macInclude hash-set.h, machmode.h,
1096 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1097 fold-const.h, wide-int.h, and inchash.h when generating
1099 * genemit.c (main): Include hash-set.h, machmode.h,
1100 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1101 fold-const.h, wide-int.h, and inchash.h when generating
1103 * gengtype.c (open_base_files): Include hash-set.h, machmode.h,
1104 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1105 fold-const.h, wide-int.h, and inchash.h when generating
1107 * genopinit.c (main): Include hash-set.h, machmode.h,
1108 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1109 fold-const.h, wide-int.h, and inchash.h when generating
1111 * genoutput.c (output_prologue): Include hash-set.h, machmode.h,
1112 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1113 fold-const.h, wide-int.h, and inchash.h when generating
1115 * genpeep.c (main): Include hash-set.h, machmode.h,
1116 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1117 fold-const.h, wide-int.h, and inchash.h when generating
1119 * genpreds.c (write_insn_preds_c): Include hash-set.h, machmode.h,
1120 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1121 fold-const.h, wide-int.h, and inchash.h when generating
1123 * optc-save-gen-awk: Include hash-set.h, machmode.h,
1124 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1125 fold-const.h, wide-int.h, and inchash.h when generating
1127 * opth-gen.awk: Change include guard from GCC_C_COMMON_H to GCC_C_COMMON_C
1128 when generating options.h.
1129 * alias.c: Include hash-set.h, machmode.h,
1130 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1131 fold-const.h, wide-int.h, and inchash.h due to
1132 flattening of tree.h.
1135 * auto-inc-dec.c: Ditto.
1136 * auto-profile.c: Ditto
1137 * bb-reorder.c: Ditto.
1138 * bt-load.c: Include symtab.h due to flattening of tree.h.
1139 * builtins.c: Include hash-set.h, machmode.h,
1140 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1141 fold-const.h, wide-int.h, and inchash.h due to
1142 flattening of tree.h.
1143 * calls.c: Include hash-set.h, machmode.h,
1144 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1145 fold-const.h, wide-int.h, and inchash.h due to
1146 flattening of tree.h.
1148 * cfgbuild.c: Include hash-set.h, machmode.h,
1149 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1150 fold-const.h, wide-int.h, and inchash.h due to flattening of tree.h.
1152 * cfgcleanup.c: Ditto.
1153 * cfgexpand.c: Ditto.
1154 * cfghooks.c: Ditto.
1155 * cfgloop.c: Include symtab.h, fold-const.h, and
1156 inchash.h due to flattening of tree.h.
1157 * cfgloopmanip.c: Ditto.
1158 * cfgrtl.c: Include hash-set.h, machmode.h,
1159 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1160 fold-const.h, wide-int.h, and inchash.h due to
1161 flattening of tree.h.
1162 * cgraphbuild.c: Ditto.
1164 * cgraphclones.c: Ditto.
1165 * cgraphunit.c: Ditto.
1166 * cilk-common.c: Ditto.
1168 * combine-stack-adj.c: Include symbol.h due to flattening of tree.h.
1169 * config/aarch64/aarch64-builtins.c: Include hash-set.h, machmode.h,
1170 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1171 fold-const.h, wide-int.h, and inchash.h due to
1172 flattening of tree.h.
1173 * config/aarch64/aarch64.c: Ditto.
1174 * config/alpha/alpha.c: Ditto.
1175 * config/arc/arc.c: Ditto.
1176 * config/arm/aarch-common.c: Ditto.
1177 * config/arm/arm-builtins.c: Ditto.
1178 * config/arm/arm.c: Ditto.
1179 * config/arm/arm-c.c: Ditto.
1180 * config/avr/avr.c: Ditto.
1181 * config/avr/avr-c.c: Ditto.
1182 * config/avr/avr-log.c: Ditto.
1183 * config/bfin/bfin.c: Ditto.
1184 * config/c6x/c6x.c: Ditto.
1185 * config/cr16/cr16.c: Ditto.
1186 * config/cris/cris.c: Ditto.
1187 * config/darwin.c: Ditto.
1188 * config/darwin-c.c: Ditto.
1189 * config/default-c.c: Ditto.
1190 * config/epiphany/epiphany.c: Ditto.
1191 * config/fr30/fr30.c: Ditto.
1192 * config/frv/frv.c: Ditto.
1193 * config/glibc-c.c: Ditto.
1194 * config/h8300/h8300.c: Ditto.
1195 * config/i386/i386.c: Ditto.
1196 * config/i386/i386-c.c: Ditto.
1197 * config/i386/msformat.c: Ditto.
1198 * config/i386/winnt.c: Ditto.
1199 * config/i386/winnt-cxx.c: Ditto.
1200 * config/i386/winnt-stubs.c: Ditto.
1201 * config/ia64/ia64.c: Ditto.
1202 * config/ia64/ia64-c.c: Ditto.
1203 * config/iq2000/iq2000.c: Ditto.
1204 * config/lm32/lm32.c: Include symtab.h, fold-const.h,
1205 wide-int.h, and inchash.h due to flattening of tree.h.
1206 * config/m32c/m32c.c: Include hash-set.h, machmode.h,
1207 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1208 fold-const.h, wide-int.h, and inchash.h due to
1209 flattening of tree.h.
1210 * config/m32c/m32c-pragma.c: Ditto.
1211 * config/m32c/m32cr.c: Ditto.
1212 * config/m68/m68k.c: Ditto.
1213 * config/mcore/mcore.c: Ditto.
1214 * config/mep/mep.c: Ditto.
1215 * config/mep/mep-pragma.c: Ditto.
1216 * config/microblaze/microblaze.c: Ditto.
1217 * config/microblaze/microblaze-c.c: Ditto.
1218 * config/mips/mips.c: Ditto.
1219 * config/mmix/mmix.c: Include symtab.h, fold-const.h,
1220 wide-int.h, and inchash.h due to flattening of tree.h.
1221 * config/mn10300/mn10300.c: Include hash-set.h, machmode.h,
1222 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1223 fold-const.h, wide-int.h, and inchash.h due to
1224 flattening of tree.h.
1225 * config/moxie/moxie.c: Ditto.
1226 * config/msp430/msp430.c: Ditto.
1227 * config/msp430/msp430-c.c: Ditto.
1228 * config/nds32/nds32.c: Ditto.
1229 * config/nds32/nds32-cost.c: Ditto.
1230 * config/nds32/nds32-fp-as-gp.c: Ditto.
1231 * config/nds32/nds32-intrinsic.c: Ditto.
1232 * config/nds32/nds32-isr.c: Ditto.
1233 * config/nds32/nds32-md-auxillary.c: Ditto.
1234 * config/nds32/nds32-memory-manipulationx.c: Ditto.
1235 * config/nds32/nds32-pipelines-auxillary.c: Ditto.
1236 * config/nds32/nds32-predicates.c: Ditto.
1237 * config/nios2/nios2.c: Ditto.
1238 * config/nvptx/nvptx.c: Ditto.
1239 * config/pa/pa.c: Ditto.
1240 * config/pdp11/pdp11x.c: Include symtab.h, fold-const.h,
1241 wide-int.h, and inchash.h due to flattening of tree.h.
1242 * config/rl78/rl78.c: Include hash-set.h, machmode.h,
1243 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1244 fold-const.h, wide-int.h, and inchash.h due to
1245 flattening of tree.h.
1246 * config/rl78/rl78-cx.c: Ditto.
1247 * config/rs6000/rs6000.c: Ditto.
1248 * config/rs6000/rs6000-c.c: Ditto.
1249 * config/rx/rx.c: Ditto.
1250 * config/s390/s390.c: Ditto.
1251 * config/sh/sh.c: Ditto.
1252 * config/sh/sc.c: Ditto.
1253 * config/sh/sh-mem.cc: Ditto.
1254 * config/sh/sh_treg_combine.cc: Include symtab.h, inchash.h and tree.h
1255 due to flattening of tree.h.
1256 Remove include of tree-core.h.
1257 * config/sol2.c: Include hash-set.h, machmode.h,
1258 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1259 fold-const.h, wide-int.h, and inchash.h due to
1260 flattening of tree.h.
1261 * config/sol2-c.c: Ditto.
1262 * config/sol2-cxx.c: Ditto.
1263 * config/sol2-stubs.c: Ditto.
1264 * config/sparc/sparc.c: Ditto.
1265 * config/sparc/sparc-cx.c: Ditto.
1266 * config/spu/spu.c: Ditto.
1267 * config/spu/spu-c.c: Ditto
1268 * config/storym16/stormy16.c: Ditto.
1269 * config/tilegx/tilegx.c: Include symtab.h, fold-const.h,
1270 wide-int.h, and inchash.h due to flattening of tree.h.
1271 * config/tilepro/gen-mul-tables.cc: Include symtab.h in generated file.
1272 * config/tilegx/tilegx-c.c: Include hash-set.h, machmode.h,
1273 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1274 fold-const.h, wide-int.h, and inchash.h due to
1275 flattening of tree.h.
1276 * config/tilepro/tilepro.c: Include symtab.h, fold-const.h,
1277 wide-int.h, and inchash.h due to flattening of tree.h.
1278 * config/tilepro/tilepro-c.c: Include hash-set.h, machmode.h,
1279 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1280 fold-const.h, wide-int.h, and inchash.h due to
1281 flattening of tree.h.
1282 * config/v850/v850.c: Ditto.
1283 * config/v850/v850-c.c: Ditto.
1284 * config/vax/vax.c: Ditto.
1285 * config/vms/vms.c: Ditto.
1286 * config/vms/vms-c.c: Ditto.
1287 * config/vxworks.c: Ditto.
1288 * config/winnt-c.c: Ditto.
1289 * config/xtensa/xtensa.c: Include symtab.h, fold-const.h,
1290 wide-int.h, and inchash.h due to flattening of tree.h.
1291 * convert.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1292 input.h, alias.h, symtab.h, options.h, fold-const.h,
1293 wide-int.h, and inchash.h due to flattening of tree.h.
1294 * coverage.c: Ditto.
1295 * cppbuiltin.c: Ditto.
1297 * cse.c: Add include of symtab.h due to flattening of tree.h.
1298 * cselib.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1299 input.h, alias.h, symtab.h, options.h, fold-const.h,
1300 wide-int.h, and inchash.h due to flattening of tree.h.
1301 * data-streamer.c: Ditto.
1302 * data-streamer-in.c: Ditto.
1303 * data-streamer-out.c: Ditto.
1306 * ddg.c: Add include of symtab.h due to flattening of tree.h.
1307 * debug.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1308 input.h, alias.h, symtab.h, options.h, fold-const.h,
1309 wide-int.h, and inchash.h due to flattening of tree.h.
1312 * dojump.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1313 input.h, alias.h, symtab.h, options.h, fold-const.h,
1314 wide-int.h, inchash.h and real.h due to flattening of tree.h.
1315 * double-int.c: Ditto.
1317 * dumpfile.c: Ditto.
1318 * dwarf2asm.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1319 input.h, alias.h, symtab.h, fold-const.h,
1320 wide-int.h, inchash.h and real.h due to flattening of tree.h.
1321 * dwarf2cfi.c: Ditto.
1322 * dwarf2out.c: Ditto.
1323 * emit-rtl.c: Ditto.
1326 * expmed.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1327 input.h, alias.h, symtab.h, fold-const.h,
1328 wide-int.h, and inchash.h due to flattening of tree.h.
1331 * fixed-value.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1332 input.h, alias.h, symtab.h, fold-const.h,
1333 wide-int.h, inchash.h and fixed-value.h due to flattening of tree.h.
1334 * fold-const.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1335 input.h, alias.h, symtab.h, fold-const.h,
1336 wide-int.h, and inchash.h due to flattening of tree.h.
1337 Relocate inline function convert_to_ptrofftype_loc from tree.h.
1338 Relocate inline function fold_build_pointer_plus_loc from tree.h.
1339 Relocate inline function fold_build_pointer_plus_hwi_loc from tree.h.
1340 * fold-const.h: Relocate macro convert_to_ptrofftype from tree.h.
1341 Relocate macro fold_build_pointer_plus to relocate from tree.h.h.
1342 Relocate macro fold_build_pointer_plus_hwi from tree.h.
1343 Add prototype for convert_to_ptrofftype_loc relocated from tree.h.
1344 Add prototype for fold_build_pointer_plus_loc relocated from tree.h.
1345 Add prototype for fold_build_pointer_plus_hwi_loc relocated from tree.h.
1346 * function.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1347 input.h, alias.h, symtab.h, fold-const.h,
1348 wide-int.h, and inchash.h due to flattening of tree.h.
1349 * gcc-plugin.h: Include statistics.h, double-int.h, real.h, fixed-value.h,
1350 alias.h, flags.h, and symtab.h due to flattening of tree.h
1352 * generic-match-head.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1353 input.h, alias.h, symtab.h, options.h, fold-const.h,
1354 wide-int.h, and inchash.h due to flattening of tree.h.
1355 * ggc-page.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1356 input.h, alias.h, symtab.h, fold-const.h,
1357 wide-int.h, and inchash.h due to flattening of tree.h.
1358 * gimple-builder.c: Ditto.
1360 * gimple-expr.c: Ditto.
1361 * gimple-fold.c: Ditto.
1362 * gimple-iterator.c: Ditto.
1363 * gimple-low.c: Ditto.
1364 * gimple-match-head.c: Ditto.
1365 * gimple-pretty-print.c: Ditto.
1366 * generic-ssa-isolate-paths.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1367 input.h, alias.h, symtab.h, options.h, fold-const.h,
1368 wide-int.h, and inchash.h due to flattening of tree.h.
1369 * gimple-ssa-strength-reduction.c: Ditto.
1370 * gimple-streamer-in.c: Ditto.
1371 * gimple-streamer-out.c: Ditto.
1372 * gimple-walk.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1373 input.h, alias.h, symtab.h, fold-const.h,
1374 wide-int.h, and inchash.h due to flattening of tree.h.
1375 * gimplify.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1376 input.h, alias.h, symtab.h, options.h, fold-const.h,
1377 wide-int.h, and inchash.h due to flattening of tree.h.
1378 * gimplify-me.c: Ditto.
1379 * graphite-blocking.c: Ditto.
1380 * graphite.c: Ditto.
1381 * graphite-dependencies.c: Ditto.
1382 * graphite-interchange.c: Ditto.
1383 * graphite-isl-ast-to-gimple.c: Ditto.
1384 * graphite-optimize-isl.c: Ditto.
1385 * graphite-poly.c: Ditto.
1386 * graphite-scop-detection.c: Ditto.
1387 * graphite-sese-to-poly.c: Ditto.
1388 * hw-doloop.c: Include symtab.h due to flattening of tree.h.
1390 * init-regs.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1391 input.h, alias.h, symtab.h, fold-const.h,
1392 wide-int.h, and inchash.h due to flattening of tree.h.
1393 * internal-fc.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1394 input.h, alias.h, symtab.h,options.h, fold-const.h,
1395 wide-int.h, and inchash.h due to flattening of tree.h.
1397 * ipa-chkp.c: Ditto.
1398 * ipa-comdats.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1399 input.h, alias.h, symtab.h, fold-const.h,
1400 wide-int.h, and inchash.h due to flattening of tree.h.
1401 * ipa-cp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1402 input.h, alias.h, symtab.h,options.h, fold-const.h,
1403 wide-int.h, and inchash.h due to flattening of tree.h.
1404 * ipa-devirt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1405 input.h, alias.h, symtab.h, fold-const.h,
1406 wide-int.h, and inchash.h due to flattening of tree.h.
1407 * ipa-icf.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1408 input.h, alias.h, symtab.h,options.h, fold-const.h,
1409 wide-int.h, and inchash.h due to flattening of tree.h.
1410 * ipa-icf-gimple.c: Ditto.
1411 * ipa-inline-analysis.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1412 input.h, alias.h, symtab.h, fold-const.h,
1413 wide-int.h, and inchash.h due to flattening of tree.h.
1414 * ipa-inline.c: Ditto.
1415 * ipa-inline-transform.c: Ditto.
1416 * ipa-polymorhpic-call.c: Ditto.
1417 * ipa-profile.c: Ditto.
1418 * ipa-prop.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1419 input.h, alias.h, symtab.h, options.h, fold-const.h,
1420 wide-int.h, and inchash.h due to flattening of tree.h.
1421 * ipa-pure-const.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1422 input.h, alias.h, symtab.h, fold-const.h,
1423 wide-int.h, and inchash.h due to flattening of tree.h.
1424 * ipa-ref.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1425 input.h, alias.h, symtab.h, options.h, fold-const.h,
1426 wide-int.h, and inchash.h due to flattening of tree.h.
1427 * ipa-reference.c: Ditto.
1428 * ipa-split.c: Ditto.
1429 * ipa-utils.c: Ditto.
1430 * ipa-visbility.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1431 input.h, alias.h, symtab.h, fold-const.h,
1432 wide-int.h, and inchash.h due to flattening of tree.h.
1434 * ira-color.c: Include hash-set.h due to flattening of tree.h.
1435 * ira-costs.c: Ditto.
1436 * ira-emit.c: Ditto.
1437 * jump.c: Include symtab.h due to flattening of tree.h.
1438 * langhooks.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1439 input.h, alias.h, symtab.h, fold-const.h,
1440 wide-int.h, and inchash.h due to flattening of tree.h.
1441 * loop-doloop.c: Include symtab.h due to flattening of tree.h.
1442 * loop-init.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1443 input.h, alias.h, symtab.h, fold-const.h,
1444 wide-int.h, and inchash.h due to flattening of tree.h.
1445 * loop-invariant.c: Include symtab.h due to flattening of tree.h.
1447 * loop-unroll.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1448 input.h, alias.h, symtab.h, fold-const.h,
1449 wide-int.h, and inchash.h due to flattening of tree.h.
1450 * lower-subreg.c: Ditto.
1451 * lra-assigns.c: Include symtab.h due to flattening of tree.h.
1452 * lra.c: Include symtab.h, fold-const.h, wide-int.h and inchash.h
1453 due to flattening of tree.h.
1454 * lra-coalesce.c: Include symtab.h due to flattening of tree.h.
1455 * lra-constraints.c: Ditto.
1456 * lra-eliminations.c: Ditto.
1457 * lra-livesc: Ditto.
1458 * lra-remat.c: Ditto.
1459 * lra-spills.c: Ditto.
1460 * lto-cgraph.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1461 input.h, alias.h, symtab.h, fold-const.h,
1462 wide-int.h, and inchash.h due to flattening of tree.h.
1463 * lto-compress.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1464 input.h, alias.h, symtab.h, options, fold-const.h,
1465 wide-int.h, and inchash.h due to flattening of tree.h.
1466 * lto-opts.c: Ditto.
1467 * lto-section-in.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1468 input.h, alias.h, symtab.h, fold-const.h,
1469 wide-int.h, and inchash.h due to flattening of tree.h.
1470 * lto-section-out.c: Ditto.
1471 * lto-streamer.c: Ditto.
1472 * lto-streamer-in.c: Ditto.
1473 * lto-streamer-out.c: Ditto.
1474 * modulo-sched.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1475 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1476 inchash.h due to flattening of tree.h.
1477 * omega.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1478 input.h, alias.h, symtab.h, options, fold-const.h,
1479 wide-int.h, and inchash.h due to flattening of tree.h.
1480 * omega-low.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1481 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1482 inchash.h due to flattening of tree.h.
1484 * opts-global.c: Ditto.
1486 * plugin.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1487 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1488 inchash.h due to flattening of tree.h.
1489 * postreload.c: Include symtab.h due to flattening of tree.h.
1490 * postreload-gcse.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1491 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1492 inchash.h due to flattening of tree.h.
1494 * print-rtl.c: Ditto.
1495 * print-tree.c: Ditto.
1496 * profile.c: Include symtab.h, fold-const.h
1497 and inchash.h due to flattening of tree.h.
1498 * real.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1499 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1500 inchash.h due to flattening of tree.h.
1501 * realmpfr.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1502 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1503 inchash.h due to flattening of tree.h.
1504 * recog.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1505 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1506 inchash.h due to flattening of tree.h.
1509 * reg-stack.c: Ditto.
1510 * reload1.c: Include symtab.h, fold-const.h, wide-int.h
1511 and inchash.h due to flattening of tree.h.
1512 * reload.c: Include symtab.h due to flattening of tree.h.
1514 * rtlanal.c: Include symtab.h, fold-const.h, wide-int.h
1515 and inchash.h due to flattening of tree.h.
1516 * rtl-chkp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1517 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1518 inchash.h due to flattening of tree.h.
1519 * rtlhooks.c: Include symtab.h due to flattening of tree.h.
1520 * sanopt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1521 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1522 inchash.h due to flattening of tree.h.
1523 * sched-deps.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1524 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1525 inchash.h due to flattening of tree.h.
1526 * sched-vis.c: Ditto.
1528 * sel-sched.c: Include symtab.h, fold-const.h, wide-int.h
1529 and inchash.h due to flattening of tree.h.
1530 * sel-sched-ir.c: Ditto.
1531 * sese.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1532 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1533 inchash.h due to flattening of tree.h.
1534 * shrink-wrap.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1535 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1536 inchash.h due to flattening of tree.h.
1537 * simplify-rtx.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1538 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1539 inchash.h due to flattening of tree.h.
1540 * stack-ptr-mod.c: Ditto.
1542 * store-motion.c: Ditto.
1543 * store-layout.c: Ditto.
1544 * stringpool.c: Ditto.
1546 * target-globals.c: Ditto.
1547 * targhooks.c: Ditto.
1550 * trans-mem.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1551 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1552 inchash.h due to flattening of tree.h.
1553 * tree-affine.c: Ditto.
1554 * tree-browser.c: Ditto.
1555 * tree.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1556 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1557 inchash.h due to flattening of tree.h.
1558 * tree-call-cdce.c: Include symtab.h, alias.h, double-int.h,
1559 fold-const.h, wide-int.h, inchash.h and real.h due to
1560 flattening of tree.h.
1561 * tree-cfg.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1562 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1563 inchash.h due to flattening of tree.h.
1564 * tree-cfgcleanup.c: Ditto.
1565 * tree-chkp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1566 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1567 inchash.h due to flattening of tree.h.
1568 * tree-chkp-opt.c: Ditto.
1569 * tree-chrec.c: Ditto.
1570 * tree-chkp-opt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1571 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
1572 real.h due to flattening of tree.h.
1573 * tree-core.h: Flatten header file by removing all #include statements.
1574 * tree-data-ref.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1575 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1576 inchash.h due to flattening of tree.h.
1577 * tree-dfa.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1578 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
1579 real.h due to flattening of tree.h.
1580 * tree-diagnostic.c: Ditto.
1581 * tree-dump.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1582 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h, real.h and
1583 fixed-value.h due to flattening of tree.h.
1584 * tree-dfa.c: Ditto.
1585 * tree-eh.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1586 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
1587 real.h due to flattening of tree.h.
1588 * tree-emutls.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1589 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1590 inchash.h due to flattening of tree.h.
1591 * tree.h: Flatten header files by removing all includes except tree-core.h.
1592 Remove inline function convert_to_ptrofftype_loc to relocate to fold-const.c.
1593 Remove macro convert_to_ptrofftype to relocate to fold-const.h.
1594 Remove inline function fold_build_pointer_plus_loc to relocate to fold-const.c.
1595 Remove macro fold_build_pointer_plus to relocate to fold-const.h.
1596 Remove inline function fold_build_pointer_plus_hwi_loc to relocate to fold-const.c.
1597 Remove macro fold_build_pointer_plus_hwi to relocate to fold-const.h.
1598 * tree-if-conv.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1599 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h, real.h and
1600 fixed-value.h due to flattening of tree.h.
1601 * tree-inline.c: Ditto.
1602 * tree-into-ssa.c: Ditto.
1603 * tree-iterator.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1604 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1605 inchash.h due to flattening of tree.h.
1606 * tree-loop-distribution.c: Ditto.
1607 * tree-nested.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1608 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1609 due to flattening of tree.h.
1610 * tree-nrv.c: Ditto.
1611 * tree-object-size.c: Ditto.
1612 * tree-outof-ssa.c: Ditto.
1613 * tree-parloops.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1614 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1615 inchash.h due to flattening of tree.h.
1616 * tree-phinodes.c: Ditto.
1617 * tree-predcom.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1618 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1619 due to flattening of tree.h.
1620 * tree-pretty-print.c: Ditto.
1621 * tree-profile.c: double-int.h, input.h, alias.h, symtab.h,
1622 fold-const.h, wide-int.h and inchash.h due to flattening of tree.h.
1623 * tree-scalar-evolution.c: Include hash-set.h, machmode.h, vec.h,
1624 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1625 wide-int.h and inchash.h due to flattening of tree.h.
1626 * tree-sra.c: Include vec.h, double-int.h,
1627 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1628 inchash.h due to flattening of tree.h.
1629 * tree-ssa-alias.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1630 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1631 due to flattening of tree.h.
1632 * tree-ssa.c: Ditto.
1633 * tree-ssa-ccp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1634 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h
1635 and real.h due to flattening of tree.h.
1636 * tree-ssa-coalesce.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1637 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1638 due to flattening of tree.h.
1639 * tree-ssa-copy.c: Ditto.
1640 * tree-ssa-copyrename.c: Ditto.
1641 * tree-ssa-dce.c: Ditto.
1642 * tree-ssa-dom.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1643 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h
1644 and real.h due to flattening of tree.h.
1645 * tree-ssa-dse.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1646 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1647 due to flattening of tree.h.
1648 * tree-ssa-forwprop.c: Ditto.
1649 * tree-ssa-ifcombine.c: Ditto.
1650 * tree-ssa-live.c: Ditto.
1651 * tree-ssa-loop.c: Ditto.
1652 * tree-ssa-loop-ch.c: Ditto.
1653 * tree-ssa-loop-im.c: Ditto.
1654 * tree-ssa-loop-ivcanon.c: Ditto.
1655 * tree-ssa-loop-ivopts.c: Ditto.
1656 * tree-ssa-loop-manip.c: Ditto.
1657 * tree-ssa-loop-niter.c: Ditto.
1658 * tree-ssa-loop-prefetch.c: Ditto.
1659 * tree-ssa-loop-unswitch.c: Ditto.
1660 * tree-ssa-loop-math-opts.c: Ditto.
1661 * tree-ssanames.c: Ditto.
1662 * tree-ssa-operands.c: Ditto.
1663 * tree-ssa-phiopt.c: Ditto.
1664 * tree-ssa-phiprop.c: Ditto.
1665 * tree-ssa-pre.c: Ditto.
1666 * tree-ssa-propagate.c: Ditto.
1667 * tree-ssa-reassoc.c: Ditto.
1668 * tree-ssa-sccvn.c: Ditto.
1669 * tree-ssa-sink.c: Ditto.
1670 * tree-ssa-strlen.c: Include hash-set.h, machmode.h, vec.h,
1671 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1672 wide-int.h and inchash.h due to flattening of tree.h.
1673 * tree-ssa-structalias.c: double-int.h, input.h, alias.h, symtab.h,
1674 fold-const.h, wide-int.h and inchash.h due to flattening of tree.h.
1675 * tree-ssa-tail-merge.c: Include hash-set.h, machmode.h, vec.h,
1676 double-int.h, input.h, alias.h, symtab.h, fold-const.h,
1677 wide-int.h and inchash.h due to flattening of tree.h.
1678 * tree-ssa-ter.c: Ditto.
1679 * tree-ssa-threadedge.c: Ditto.
1680 * tree-ssa-threadupdate.c: Include hash-set.h, machmode.h, vec.h,
1681 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1682 wide-int.h and inchash.h due to flattening of tree.h.
1683 * tree-ssa-uncprop.c: Include hash-set.h, machmode.h, vec.h,
1684 double-int.h, input.h, alias.h, symtab.h, fold-const.h,
1685 wide-int.h and inchash.h due to flattening of tree.h.
1686 * tree-ssa-uninit.c: Ditto.
1687 * tree-stdarg.c: Include vec.h, double-int.h, input.h, alias.h,
1688 symtab.h, fold-const.h, wide-int.h and inchash.h due to flattening
1690 * tree-streamer.c: Include vec.h, double-int.h, input.h, alias.h,
1691 symtab.h, options.h, fold-const.h, wide-int.h and
1692 inchash.h due to flattening of tree.h.
1693 * tree-streamer-in.c: Include hash-set.h, machmode.h, vec.h,
1694 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1695 wide-int.h, inchash.h, real.h and fixed-value.h due to flattening
1697 * tree-streamer-out.c: Dittoo.
1698 * tree-switch-conversion.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1699 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1700 due to flattening of tree.h.
1701 * tree-tailcall.c: Ditto.
1702 * tree-vect-data-refs.c: Ditto.
1703 * tree-vect-generic.c: Include hash-set.h, machmode.h, vec.h, double-int.h, input.h,
1704 alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
1705 due to flattening of tree.h.
1706 * tree-vect-loop.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1707 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1708 due to flattening of tree.h.
1709 * tree-vect-loop-manip.c: Ditto.
1710 * tree-vectorizer.c: Ditto.
1711 * tree-vect-patterns.c: Ditto.
1712 * tree-vect-slp.c: Ditto.
1713 * tree-vect-stmts.c: Ditto.
1714 * tree-vrp.c: Ditto.
1715 * tsan.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1716 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
1717 due to flattening of tree.h.
1719 * value-prof.c.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1720 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1721 due to flattening of tree.h.
1724 * var-tracking.c: Ditto.
1725 * vmsdbgout.c: Ditto.
1726 * vtable-verify.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1727 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
1728 due to flattening of tree.h.
1729 * wide-int.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
1730 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1731 due to flattening of tree.h.
1732 * xcoffout.c: Ditto.
1734 2015-01-09 Tom de Vries <tom@codesourcery.com>
1736 PR rtl-optimization/64539
1737 * regcprop.c (kill_clobbered_values): Factor out of ...
1738 (copyprop_hardreg_forward_1): ... here. Use kill_clobbered_values
1739 instead of note_stores with kill_clobbered_value.
1741 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1743 * ginclude/unwind-arm-common.h: Revert previous commit.
1745 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1747 * config.gcc (arm*-*-freebsd*): New configuration.
1748 * config/arm/freebsd.h: New file.
1749 * config.host: Add extra components for arm*-*-freebsd*.
1750 * config/arm/arm.h: Introduce MAX_SYNC_LIBFUNC_SIZE.
1751 * config/arm/arm.c (arm_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE.
1753 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
1755 * config/rs6000/rtems.h (CPP_OS_RTEMS_SPEC): Define __PPC_CPU_E6500__
1757 * config/rs6000/t-rtems: Add e6500 multilibs.
1759 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
1761 * config/rs6000/t-rtems: Add -mno-spe to soft-float multilib for
1764 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
1766 * config/rs6000/t-rtems: Use MULTILIB_REQUIRED instead of
1767 MULTILIB_EXCEPTIONS.
1769 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
1771 * config/arm/t-rtems: Use MULTILIB_REQUIRED instead of
1772 MULTILIB_EXCEPTIONS.
1774 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
1776 * config/arm/t-rtems-eabi: Rename to...
1777 * config/arm/t-rtems: ...this.
1778 * config/arm/rtems-eabi.h: Rename to...
1779 * config/arm/rtems.h: ...this.
1780 * config.gcc (arm*-*-rtems*): Reflect changes above.
1782 2015-01-09 Richard Biener <rguenther@suse.de>
1784 PR tree-optimization/64410
1785 * tree-ssa.c (non_rewritable_lvalue_p): Allow REALPART/IMAGPART_EXPR
1787 (execute_update_addresses_taken): Deal with that.
1788 * tree-ssa-forwprop.c (pass_forwprop::execute): Use component-wise
1789 loads/stores for complex variables.
1791 2015-01-09 Martin Liska <mliska@suse.cz>
1793 * ipa-icf-gimple.c (func_checker::compare_ssa_name): Enhance SSA
1795 (func_checker::compare_memory_operand): New function.
1796 (func_checker::compare_operand): Split case to newly
1798 (func_checker::compare_cst_or_decl): New function.
1799 (func_checker::compare_gimple_call): Identify
1801 (func_checker::compare_gimple_assign): Likewise.
1802 * ipa-icf-gimple.h: New function.
1804 2015-01-09 Martin Liska <mliska@suse.cz>
1807 * sreal.c (sreal::dump): Change unsigned format to signed for
1809 (sreal::to_double): Replace exp2 with scalbln.
1811 2015-01-09 Martin Liska <mliska@suse.cz>
1813 * cgraphunit.c (cgraph_node::create_wrapper): Fix level of indentation.
1814 * ipa-icf.c (sem_function::equals_private): Add support for target and
1815 (sem_item_optimizer::merge_classes): Remove redundant function
1816 optimization flags comparison.
1817 * tree.h (target_opts_for_fn): New function.
1819 2015-01-09 Tom de Vries <tom@codesourcery.com>
1821 * omp-low.c (expand_omp_for_static_chunk): Fix assert.
1823 2015-01-09 Kito Cheng <kito@0xlab.org>
1825 PR rtl-optimization/64348
1826 * lra-constraints.c (split_reg): Fix caller-save store/restore
1827 instruction generation.
1829 2015-01-08 John David Anglin <danglin@gcc.gnu.org>
1831 PR gcov-profile/61790
1832 * gcov-tool.c (do_rewrite): Use strtoll instead of atoll if host has
1833 long long. Fallback to int64_t if host doesn't have long long and
1834 use strtol if int64_t is long. Otherwise, use sscanf for conversion.
1836 2015-01-08 Jakub Jelinek <jakub@redhat.com>
1838 PR tree-optimization/63989
1839 * params.def (PARAM_MAX_TRACKED_STRLENS): Increment default
1841 * tree-ssa-strlen.c (get_strinfo): Moved earlier.
1842 (get_stridx): If we don't have a record for certain SSA_NAME,
1843 but it is POINTER_PLUS_EXPR of some SSA_NAME we do with
1844 constant offset, call get_stridx_plus_constant.
1845 (get_stridx_plus_constant): New function.
1846 (zero_length_string): Don't use get_stridx here.
1850 * dse.c (struct insn_info): Mention frame_read set also
1851 before reload for tail calls on some targets.
1852 (scan_insn): Revert 2014-12-22 change. Set frame_read
1853 also before reload for tail calls if
1854 HARD_FRAME_POINTER_IS_ARG_POINTER. Call add_wild_read
1855 instead of add_non_frame_wild_read for non-const/memset
1856 tail calls after reload.
1858 2015-01-08 Jason Merrill <jason@redhat.com>
1860 * ubsan.c (do_ubsan_in_current_function): New.
1861 (pass_ubsan::gate): Use it.
1862 * ubsan.h: Declare it.
1863 * convert.c (convert_to_integer): Use it.
1865 2015-01-08 Jakub Jelinek <jakub@redhat.com>
1868 * config/i386/i386.c (ix86_expand_int_movcc): Don't reverse
1869 compare_code when it is unconditionally overwritten afterwards.
1870 Use ix86_reverse_condition instead of reverse_condition. Don't
1871 change code if *reverse_condition* returned UNKNOWN and don't
1872 swap ct/cf and negate diff in that case.
1874 2015-01-08 Mike Stump <mikestump@comcast.net>
1876 * tsan.c (pass_tsan::gate): Add no_sanitize_thread support.
1877 (pass_tsan_O0::gate): Likewise.
1878 * extend.texi (Function Attributes): Add no_sanitize_thread
1881 2015-01-08 Thomas Schwinge <thomas@codesourcery.com>
1883 * builtins.def (DEF_GOMP_BUILTIN): Also consider flag_offload_abi
1884 for registering builtins.
1885 * config/i386/intelmic-mkoffload.c (prepare_target_image): Don't
1886 add -fopenmp to the argv_obstack used when invoking
1889 * config/i386/intelmic-mkoffload.c (compile_for_target): Always
1890 add "-m32" or "-m64" to argv_obstack.
1891 (generate_host_descr_file): Likewise, when invoking host_compiler.
1892 (main): Always add "-m elf_i386" or "-m elf_x86_64" when invoking
1895 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
1897 * config/sh/sh-mem.cc: Use constant as second operand when emitting
1900 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
1903 * config/sh/sh.md (*addsi3_compact): Emit reg-reg copy instead of
1904 constant load if constant operand fits into I08.
1906 2015-01-08 Jakub Jelinek <jakub@redhat.com>
1909 * tree.c (build2_stat): Fix up initialization of TREE_READONLY
1910 and TREE_THIS_VOLATILE for MEM_REFs.
1911 (build5_stat): Fix up initialization of TREE_READONLY and
1912 TREE_THIS_VOLATILE for TARGET_MEM_REFs.
1914 2015-01-08 Kaz Kojima <kkojima@gcc.gnu.org>
1917 * config/sh/sh.md (*addsi3_compact): Use u constraint instead
1918 of r for the second alternative of the destination operand.
1920 2015-01-07 Segher Boessenkool <segher@kernel.crashing.org>
1923 * config/rs6000/rs6000.md (*eqsi3_ext<mode>, *nesi3_ext<mode>): New.
1925 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
1927 * doc/invoke.texi ([-fvtable-verify]): Fix markup on option
1929 ([-fivar-visibility], [-fvisibility]): Likewise.
1931 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
1933 * doc/invoke.texi: Fix incorrect uses of @samp markup throughout
1934 the file where @code, @command, etc is more appropriate.
1936 2015-01-06 Sandra Loosemore <sandra@codesourcery.com>
1938 * doc/invoke.texi (RS/6000 and PowerPC Options): Tidy formatting
1939 of -mrecip= documentation.
1941 2015-01-06 Michael Meissner <meissner@linux.vnet.ibm.com>
1944 * config/rs6000/rs6000.c (rs6000_secondary_reload): Return the
1945 correct reload handler if -m32 -mpowerpc64 is used.
1947 2015-01-06 Tom de Vries <tom@codesourcery.com>
1949 * tree-ssa-tail-merge.c: Fix typo in struct same_succ_def comment.
1951 2015-01-08 Christian Bruel <christian.bruel@st.com>
1954 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Check 0 length.
1956 2015-01-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1958 PR tree-optimization/63259
1959 * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Stop checking
1960 if optab exists for 16bit byteswap.
1962 2015-01-06 Jakub Jelinek <jakub@redhat.com>
1964 * opts.c (common_handle_option): Add support for
1965 -fno-sanitize=all and -f{,no-}sanitize-recover=all.
1966 * doc/invoke.texi: Document -fno-sanitize=all,
1967 -f{,no-}sanitize-recover=all. Document that
1968 -fsanitize=float-cast-overflow is not enabled
1969 by -fsanitize=undefined. Fix up documentation
1970 of -f{,no-}sanitize-recover.
1972 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
1974 * config.gcc: Add Visium support.
1975 * configure.ac: Likewise.
1976 * configure: Regenerate.
1977 * doc/extend.texi (interrupt attribute): Add Visium.
1978 * doc/invoke.texi: Document Visium options.
1979 * doc/install.texi: Document Visium target.
1980 * doc/md.texi: Document Visium constraints.
1981 * common/config/visium: New directory.
1982 * config/visium: Likewise.
1984 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
1986 * simplify-rtx.c (simplify_binary_operation_1): Handle more cases
1987 for the "(and X (ior (not X) Y) -> (and X Y)" transform.
1989 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
1991 * combine.c (combine_validate_cost): Do not count the cost of a
1992 split I2 twice. Do not display it twice in the dump, either.
1994 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
1996 Revert parts of r219199.
1997 * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
1999 ([-Wtraditional]): Restore markup on <limits.h>.
2001 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
2004 * doc/invoke.texi: Document -Wsuggest-override.
2006 2015-01-05 Radovan Obradovic <radovan.obradovic@imgtec.com>
2008 PR rtl-optimization/64287
2009 * toplev.c (HAVE_epilogue, HAVE_prologue): Provide default.
2010 (process_options): Disable flag_ipa_ra if profiling.
2012 2015-01-05 Eric Botcazou <ebotcazou@adacore.com>
2014 * config/nds32/nds32-peephole2.md: Do not mention define_peephole.
2016 2015-01-05 Max Filippov <jcmvbkbc@gmail.com>
2018 * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
2019 hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
2020 put under #if TARGET_LOOPS guard.
2022 2015-01-05 Uros Bizjak <ubizjak@gmail.com>
2024 * config/i386/i386.c (output_387_binary_op): Use std::swap.
2026 2015-01-05 Oleg Endo <olegendo@gcc.gnu.org>
2028 * rtlanal.c (refers_to_regno_p): Change return value from int to bool.
2029 * rtl.h (refers_to_regno_p): Add overload.
2031 * bt-load.c: Likewise.
2032 * combine.c: Likewise.
2033 * df-scan.c: Likewise.
2034 * sched-deps.c: Likewise.
2035 * config/s390/s390.c: Likewise.
2036 * config/m32r/m32r.c: Likewise.
2037 * config/rs6000/spe.md: Likewise.
2038 * config/rs6000/rs6000.c: Likewise.
2039 * config/pa/pa.c: Likewise.
2040 * config/stormy16/stormy16.c: Likewise.
2041 * config/cris/cris.c: Likewise.
2042 * config/arc/arc.md: Likewise.
2043 * config/arc/arc.c: Likewise.
2044 * config/sh/sh.md: Likewise.
2045 * config/sh/sh.c: Likewise.
2046 * config/frv/frv.c: Likewise.
2048 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2051 * gimplify.c (gimplify_function_tree): Add TSAN_FUNC_EXIT internal
2052 call as cleanup of the whole body.
2053 * internal-fn.def (TSAN_FUNC_EXIT): New internal call.
2054 * tsan.c (replace_func_exit): New function.
2055 (instrument_func_exit): Moved earlier.
2056 (instrument_memory_accesses): Adjust TSAN_FUNC_EXIT internal calls.
2057 Call instrument_func_exit if no TSAN_FUNC_EXIT internal calls have
2059 (tsan_pass): Don't call instrument_func_exit.
2060 * internal-fn.c (expand_TSAN_FUNC_EXIT): New function.
2061 * tree-inline.c (copy_bb): Drop TSAN_FUNC_EXIT internal calls during
2065 * ubsan.h (ubsan_instrument_float_cast): Add ARG argument.
2066 * ubsan.c (ubsan_instrument_float_cast): Add ARG argument, pass
2067 it to libubsan handler instead of EXPR. Fold comparisons earlier,
2068 if the result is integer_zerop, return NULL_TREE.
2069 * convert.c (convert_to_integer): Pass expr as ARG.
2071 PR tree-optimization/64465
2072 * tree-inline.c (redirect_all_calls): During inlining
2073 clean up EH stmts and EH edges if redirect_call_stmt_to_callee
2074 changed the stmt to a non-throwing call.
2076 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
2078 * doc/invoke.texi: Fix incorrect uses of @code, @option, @samp,
2079 etc markup throughout the file.
2081 2015-01-05 Bernd Edlinger <bernd.edlinger@hotmail.de>
2083 Enable experimental TSAN support for Ada.
2084 * tsan.c (instrument_expr): Handle VIEW_CONVERT_EXPR.
2086 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2088 PR tree-optimization/64494
2089 * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
2090 clear SSA_NAME_ANTI_RANGE_P flag.
2092 2015-01-05 Marek Polacek <polacek@redhat.com>
2094 * doc/extend.texi (Arrays of Length Zero): Add missing comma.
2096 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2098 Update copyright years.
2100 * gcc.c (process_command): Update copyright notice dates.
2101 * gcov-dump.c: Ditto.
2103 * doc/cpp.texi: Bump @copying's copyright year.
2104 * doc/cppinternals.texi: Ditto.
2105 * doc/gcc.texi: Ditto.
2106 * doc/gccint.texi: Ditto.
2107 * doc/gcov.texi: Ditto.
2108 * doc/install.texi: Ditto.
2109 * doc/invoke.texi: Ditto.
2111 * auto-profile.c, auto-profile.h: Fix up Copyright line.
2113 2015-01-04 Sandra Loosemore <sandra@codesourcery.com>
2115 * doc/invoke.texi ([-fsized-deallocation]): Copy-edit to fix
2117 ([-fvtable-verify], [-fvtv-debug]): Likewise.
2118 ([-Wabi]): Likewise.
2119 ([-fmessage-length]): Likewise.
2120 ([-Wsuggest-final-types], [-Wsuggest-final-methods]): Likewise.
2121 ([-Wno-discarded-qualifiers]): Likewise.
2122 ([-Wnodiscarded-array-qualifiers]): Likewise.
2123 ([-Wno-virtual-move-assign]): Likewise.
2124 ([-fsanitize=address], [-fsanitize=thread]): Likewise.
2125 ([-fsanitize=leak], [-fsanitize=undefined]): Likewise.
2126 ([-fsanitize=unreachable], [-fsanitize-recover]): Likewise.
2127 ([-fsanitize-undefined-trap-on-error]): Likewise.
2128 ([-floop-interchange]): Likewise.
2129 ([-ftree-coalesce-inlined-vars]): Likewise.
2130 ([-fvect-cost-model]): Likewise.
2131 ([-flto]): Likewise.
2132 ([--param]): Likewise.
2133 (Spec Files): Likewise.
2134 ([-mstrict-align]): Likewise.
2135 ([-mfix-cortex-a53-835769]): Likewise.
2136 ([-march], [-mtune]): Likewise.
2137 ([-mpic-register]): Likewise.
2138 ([-munaligned-access]): Likewise.
2139 ([-msp8]): Likewise.
2140 (EIND and Devices with more than 128 Ki Bytes of Flash): Likewise.
2141 (AVR Built-in Macros): Likewise.
2142 ([-mpreferred-stack-boundary]): Likewise.
2143 ([-mtune-crtl]): Likewise.
2144 ([-mashf]): Likewise.
2145 ([-mmcu=]): Likewise.
2146 ([-minrt]): Likewise.
2147 ([-maltivec], [-maltivec=be], [-maltivec=le]): Likewise.
2148 ([-mupper-regs]): Likewise.
2149 ([-matomic-model]): Likewise.
2150 ([-mdiv]): Likewise.
2151 ([-mzdcbranch]): Likewise.
2152 ([-mdisable-callt]): Likewise.
2153 ([-msoft-float]): Likewise.
2154 ([-m8byte-align]): Likewise.
2155 ([-fstack-reuse]): Likewise.
2157 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
2159 * doc/invoke.texi ([-fprofile-generate], [-fprofile-use]):
2160 Fix markup, light copy-editing.
2161 ([-fauto-profile]): Rewrite to fix formatting and content
2164 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
2166 * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]):
2167 Copy-edit description.
2168 ([-fisolate-erroneous-paths-attribute]): Likewise.
2169 * common.opt (fisolate-erroneous-paths-dereference):
2170 Copy-edit description.
2171 (fisolate-erroneous-paths-attribute): Likewise.
2173 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
2175 * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
2178 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
2180 * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
2181 ([-fvtv-debug]): Likewise.
2182 ([-Wc++-compat]): Likewise.
2183 ([-Wc++11-compat]): Likewise.
2184 ([-Wc++14-compat]): Likewise.
2185 ([-Wno-sized-deallocation]): Likewise.
2186 ([-femit-class-debug-always]): Likewise.
2187 ([-femit-struct-debug-detailed]): Likewise.
2188 ([-fno-keep-inline-dllexport]): Likewise.
2189 ([-fira-algorithm]): Likewise.
2190 ([-fira-region]): Likewise.
2191 ([-flra-remat]): Likewise.
2192 ([-fipa-ra]): Likewise.
2193 ([-fhoist-adjacent-loads]): Likewise.
2194 ([-fisolate-erroneous-paths-dereference]): Likewise.
2195 ([-fisolate-erroneous-paths-attribute]): Likewise.
2196 ([-ftree-switch-conversion]): Likewise.
2197 ([-ftree-tail-merge]): Likewise.
2198 ([-ftree-loop-if-convert]): Likewise.
2199 ([-ftree-loop-if-convert-stores]): Likewise.
2200 ([-ftree-loop-distribution]): Likewise.
2201 ([-ftree-loop-distribute-patterns]): Likewise.
2202 ([-flto-compression-level]): Likewise.
2203 ([-flto-report]): Likewise.
2204 ([-flto-report-wpa]): Likewise.
2205 ([-fuse-linker-plugin]): Likewise.
2206 ([-mfix-cortex-a53-835769]): Likewise.
2207 ([-mno-fix-cortex-a53-835769]): Likewise.
2208 ([-mmmx]...[-mno-3dnow]): Remove the -mno- forms from the
2209 explicit listing; add a note to the discussion indicating they
2210 exist. Reorder table to group similar options. Add missing
2211 @opindex entries. Add @need commands throughout the table to
2212 allow it to be split across multiple pages.
2213 ([-m8bit-idiv]): Fix @opindex.
2214 ([-mavx256-split-unaligned-load]): Likewise.
2215 ([-mavx256-split-unaligned-store]): Likewise.
2216 ([-mstack-protector-guard]): Likewise.
2217 ([-mcpu=]): Likewise.
2218 ([-mcpu]): Likewise.
2219 ([-mpointer-size=]): Likewise.
2221 2015-01-03 John David Anglin <danglin@gcc.gnu.org>
2223 * config/pa/pa.md (decrement_and_branch_until_zero): Use `Q' constraint
2224 instead of `m' constraint. Likewise for unnamed movb comparison
2225 patterns using reg_before_reload_operand predicate.
2226 * config/pa/predicates.md (reg_before_reload_operand): Tighten
2227 predicate to reject register index and LO_SUM DLT memory forms
2230 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
2232 * doc/invoke.texi (Option Summary): Fix spelling of
2233 -fdevirtualize-at-ltrans.
2234 ([-fdevirtualize]): Fix markup.
2235 ([-fdevirtualize-speculatively]): Fix typo.
2236 ([-fdevirtualize-at-ltrans]): Likewise. Make description less
2238 * common.opt (fdevirtualize-at-ltrans): Likewise.
2239 * ipa-devirt.c: Fix typos in comments throughout the file.
2240 (ipa_devirt): Fix typos in format strings for dump output.
2242 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
2244 * doc/invoke.texi ([-fopt-info]): Fix markup, consolidate
2245 discussion of defaults, light copy-editing.
2247 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
2249 * tsan.c (instrument_expr): corrected previous checkin.
2251 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
2253 Instrument bit field and unaligned accesses for TSAN.
2254 * sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
2255 (BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
2256 * tsan.c (instrument_expr): Handle COMPONENT_REF and BIT_FIELD_REF.
2257 Use BUILT_IN_TSAN_READ_RANGE and BUILT_IN_TSAN_WRITE_RANGE for
2258 unaligned memory regions.
2260 2015-01-01 Anthony Green <green@moxielogic.com>
2262 * config/moxie/predicates.md (moxie_general_movsrc_operand):
2263 Restrict move source register offsets to 16 bits.
2265 Copyright (C) 2015 Free Software Foundation, Inc.
2267 Copying and distribution of this file, with or without modification,
2268 are permitted in any medium without royalty provided the copyright
2269 notice and this notice are preserved.