1 2015-01-15 Vladimir Makarov <vmakarov@redhat.com>
3 PR rtl-optimization/64110
4 * stmt.c (parse_output_constraint): Process '^' and '$'.
5 (parse_input_constraint): Ditto.
6 * lra-constraints.c (process_alt_operands): Process the new
8 * ira-costs.c (record_reg_classes): Process the new constraint
10 * genoutput.c (indep_constraints): Add '^' and '$'.
11 * config/i386/sse.md (*vec_dup<mode>): Use '$' instead of '!'.
12 * doc/md.texi: Add description of the new constraints.
14 2015-01-15 Thomas Schwinge <thomas@codesourcery.com>
15 Bernd Schmidt <bernds@codesourcery.com>
16 Cesar Philippidis <cesar@codesourcery.com>
17 James Norris <jnorris@codesourcery.com>
18 Tom de Vries <tom@codesourcery.com>
19 Ilmir Usmanov <i.usmanov@samsung.com>
20 Dmitry Bocharnikov <dmitry.b@samsung.com>
21 Evgeny Gavrin <e.gavrin@samsung.com>
22 Jakub Jelinek <jakub@redhat.com>
24 * builtin-types.def (BT_FN_VOID_INT_INT_VAR)
25 (BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR_INT_INT_VAR)
26 (BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR):
28 * builtins.c: Include "gomp-constants.h".
29 (expand_builtin_acc_on_device): New function.
30 (expand_builtin, is_inexpensive_builtin): Handle
31 BUILT_IN_ACC_ON_DEVICE.
32 * builtins.def (DEF_GOACC_BUILTIN, DEF_GOACC_BUILTIN_COMPILER):
34 * cgraph.c (cgraph_node::create): Consider flag_openacc next to
36 * config.gcc <nvptx-*> (tm_file): Add nvptx/offload.h.
37 <*-intelmic-* | *-intelmicemul-*> (tm_file): Add
38 i386/intelmic-offload.h.
39 * gcc.c (LINK_COMMAND_SPEC, GOMP_SELF_SPECS): For -fopenacc, link
40 to libgomp and its dependencies.
41 * config/arc/arc.h (LINK_COMMAND_SPEC): Likewise.
42 * config/darwin.h (LINK_COMMAND_SPEC_A): Likewise.
43 * config/i386/mingw32.h (GOMP_SELF_SPECS): Likewise.
44 * config/ia64/hpux.h (LIB_SPEC): Likewise.
45 * config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
46 * config/pa/pa64-hpux.h (LIB_SPEC): Likewise.
47 * doc/generic.texi: Update for OpenACC changes.
48 * doc/gimple.texi: Likewise.
49 * doc/invoke.texi: Likewise.
50 * doc/sourcebuild.texi: Likewise.
51 * gimple-pretty-print.c (dump_gimple_omp_for): Handle
52 GF_OMP_FOR_KIND_OACC_LOOP.
53 (dump_gimple_omp_target): Handle GF_OMP_TARGET_KIND_OACC_KERNELS,
54 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_DATA,
55 GF_OMP_TARGET_KIND_OACC_UPDATE,
56 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
58 * gimple.c: Update comments for OpenACC changes.
59 * gimple.def: Likewise.
61 (enum gf_mask): Add GF_OMP_FOR_KIND_OACC_LOOP,
62 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
63 GF_OMP_TARGET_KIND_OACC_DATA, GF_OMP_TARGET_KIND_OACC_UPDATE,
64 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
65 (gimple_omp_for_cond, gimple_omp_for_set_cond): Sort in the
67 (is_gimple_omp_oacc, is_gimple_omp_offloaded): New functions.
68 * gimplify.c: Include "gomp-constants.h".
69 Update comments for OpenACC changes.
70 (is_gimple_stmt): Handle OACC_PARALLEL, OACC_KERNELS, OACC_DATA,
71 OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE, OACC_ENTER_DATA,
72 OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
73 (gimplify_scan_omp_clauses, gimplify_adjust_omp_clauses): Handle
74 OMP_CLAUSE__CACHE_, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
75 OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
76 OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_GANG, OMP_CLAUSE_WORKER,
77 OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
78 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE_INDEPENDENT, OMP_CLAUSE_AUTO,
80 (gimplify_adjust_omp_clauses_1, gimplify_adjust_omp_clauses): Use
81 GOMP_MAP_* instead of OMP_CLAUSE_MAP_*. Use
82 OMP_CLAUSE_SET_MAP_KIND.
83 (gimplify_oacc_cache): New function.
84 (gimplify_omp_for): Handle OACC_LOOP.
85 (gimplify_omp_workshare): Handle OACC_KERNELS, OACC_PARALLEL,
87 (gimplify_omp_target_update): Handle OACC_ENTER_DATA,
88 OACC_EXIT_DATA, OACC_UPDATE.
89 (gimplify_expr): Handle OACC_LOOP, OACC_CACHE, OACC_HOST_DATA,
90 OACC_DECLARE, OACC_KERNELS, OACC_PARALLEL, OACC_DATA,
91 OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE.
92 (gimplify_body): Consider flag_openacc next to flag_openmp.
93 * lto-streamer-out.c: Include "gomp-constants.h".
94 * omp-builtins.def (BUILT_IN_ACC_GET_DEVICE_TYPE)
95 (BUILT_IN_GOACC_DATA_START, BUILT_IN_GOACC_DATA_END)
96 (BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL)
97 (BUILT_IN_GOACC_UPDATE, BUILT_IN_GOACC_WAIT)
98 (BUILT_IN_GOACC_GET_THREAD_NUM, BUILT_IN_GOACC_GET_NUM_THREADS)
99 (BUILT_IN_ACC_ON_DEVICE): New builtins.
100 * omp-low.c: Include "gomp-constants.h".
101 Update comments for OpenACC changes.
102 (struct omp_context): Add reduction_map, gwv_below, gwv_this
104 (extract_omp_for_data, use_pointer_for_field, install_var_field)
105 (new_omp_context, delete_omp_context, scan_sharing_clauses)
106 (create_omp_child_function, scan_omp_for, scan_omp_target)
107 (check_omp_nesting_restrictions, lower_reduction_clauses)
108 (build_omp_regions_1, diagnose_sb_0, make_gimple_omp_edges):
109 Update for OpenACC changes.
110 (scan_sharing_clauses): Handle OMP_CLAUSE_NUM_GANGS:
111 OMP_CLAUSE_NUM_WORKERS: OMP_CLAUSE_VECTOR_LENGTH,
112 OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT, OMP_CLAUSE_GANG,
113 OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
114 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_INDEPENDENT,
115 OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ. Use GOMP_MAP_* instead of
117 (expand_omp_for_static_nochunk, expand_omp_for_static_chunk):
118 Handle GF_OMP_FOR_KIND_OACC_LOOP.
119 (expand_omp_target, lower_omp_target): Handle
120 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
121 GF_OMP_TARGET_KIND_OACC_UPDATE,
122 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA,
123 GF_OMP_TARGET_KIND_OACC_DATA.
124 (pass_expand_omp::execute, execute_lower_omp)
125 (pass_diagnose_omp_blocks::gate): Consider flag_openacc next to
127 (offload_symbol_decl): New variable.
128 (oacc_get_reduction_array_id, oacc_max_threads)
129 (get_offload_symbol_decl, get_base_type, lookup_oacc_reduction)
130 (maybe_lookup_oacc_reduction, enclosing_target_ctx)
131 (oacc_loop_or_target_p, oacc_lower_reduction_var_helper)
132 (oacc_gimple_assign, oacc_initialize_reduction_data)
133 (oacc_finalize_reduction_data, oacc_process_reduction_data): New
135 (is_targetreg_ctx): Remove function.
136 * tree-core.h (enum omp_clause_code): Add OMP_CLAUSE__CACHE_,
137 OMP_CLAUSE_DEVICE_RESIDENT, OMP_CLAUSE_USE_DEVICE,
138 OMP_CLAUSE_GANG, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
139 OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ, OMP_CLAUSE_INDEPENDENT,
140 OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_NUM_GANGS,
141 OMP_CLAUSE_NUM_WORKERS, OMP_CLAUSE_VECTOR_LENGTH.
142 * tree.c (omp_clause_code_name, walk_tree_1): Update accordingly.
143 * tree.h (OMP_CLAUSE_GANG_EXPR, OMP_CLAUSE_GANG_STATIC_EXPR)
144 (OMP_CLAUSE_ASYNC_EXPR, OMP_CLAUSE_WAIT_EXPR)
145 (OMP_CLAUSE_VECTOR_EXPR, OMP_CLAUSE_WORKER_EXPR)
146 (OMP_CLAUSE_NUM_GANGS_EXPR, OMP_CLAUSE_NUM_WORKERS_EXPR)
147 (OMP_CLAUSE_VECTOR_LENGTH_EXPR): New macros.
148 * tree-core.h: Update comments for OpenACC changes.
149 (enum omp_clause_map_kind): Remove.
150 (struct tree_omp_clause): Change type of map_kind member from enum
151 omp_clause_map_kind to unsigned char.
152 * tree-inline.c: Update comments for OpenACC changes.
153 * tree-nested.c: Likewise. Include "gomp-constants.h".
154 (convert_nonlocal_reference_stmt, convert_local_reference_stmt)
155 (convert_tramp_reference_stmt, convert_gimple_call): Update for
156 OpenACC changes. Use GOMP_MAP_* instead of OMP_CLAUSE_MAP_*. Use
157 OMP_CLAUSE_SET_MAP_KIND.
158 * tree-pretty-print.c: Include "gomp-constants.h".
159 (dump_omp_clause): Handle OMP_CLAUSE_DEVICE_RESIDENT,
160 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_GANG,
161 OMP_CLAUSE_ASYNC, OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ,
162 OMP_CLAUSE_WAIT, OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR,
163 OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
164 OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_INDEPENDENT. Use GOMP_MAP_*
165 instead of OMP_CLAUSE_MAP_*.
166 (dump_generic_node): Handle OACC_PARALLEL, OACC_KERNELS,
167 OACC_DATA, OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE,
168 OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
169 * tree-streamer-in.c: Include "gomp-constants.h".
170 (unpack_ts_omp_clause_value_fields) Use GOMP_MAP_* instead of
171 OMP_CLAUSE_MAP_*. Use OMP_CLAUSE_SET_MAP_KIND.
172 * tree-streamer-out.c: Include "gomp-constants.h".
173 (pack_ts_omp_clause_value_fields): Use GOMP_MAP_* instead of
175 * tree.def (OACC_PARALLEL, OACC_KERNELS, OACC_DATA)
176 (OACC_HOST_DATA, OACC_LOOP, OACC_CACHE, OACC_DECLARE)
177 (OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE): New tree codes.
178 * tree.c (omp_clause_num_ops): Update accordingly.
179 * tree.h (OMP_BODY, OMP_CLAUSES, OMP_LOOP_CHECK, OMP_CLAUSE_SIZE):
181 (OACC_PARALLEL_BODY, OACC_PARALLEL_CLAUSES, OACC_KERNELS_BODY)
182 (OACC_KERNELS_CLAUSES, OACC_DATA_BODY, OACC_DATA_CLAUSES)
183 (OACC_HOST_DATA_BODY, OACC_HOST_DATA_CLAUSES, OACC_CACHE_CLAUSES)
184 (OACC_DECLARE_CLAUSES, OACC_ENTER_DATA_CLAUSES)
185 (OACC_EXIT_DATA_CLAUSES, OACC_UPDATE_CLAUSES)
186 (OACC_KERNELS_COMBINED, OACC_PARALLEL_COMBINED): New macros.
187 * tree.h (OMP_CLAUSE_MAP_KIND): Cast it to enum gomp_map_kind.
188 (OMP_CLAUSE_SET_MAP_KIND): New macro.
189 * varpool.c (varpool_node::get_create): Consider flag_openacc next
191 * config/i386/intelmic-offload.h: New file.
192 * config/nvptx/offload.h: Likewise.
194 2015-01-15 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
196 * explow.h: Remove duplicate contents.
197 * dojump.h: Likewise.
199 2015-01-15 Richard Earnshaw <rearnsha@arm.com>
201 * arm.c (arm_xgene_tune): Add default initializer for instruction
204 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
208 * ipa.c (symbol_table::remove_unreachable_nodes):
209 Do not put abstract origins into boundary.
211 2015-01-15 Evgeny Stupachenko <evstupac@gmail.com>
213 * config/i386/gnu-user.h (CRT_GET_RFIB_DATA): Remove EBX register usage.
214 * config/i386/sysv4.h (CRT_GET_RFIB_DATA): Ditto.
216 2015-01-15 Steve Ellcey <sellcey@mips.com>
218 * Makefile.in (PLUGIN_HEADERS): Add dominance.h, cfg.h, cfgrtl.h,
219 cfganal.h, cfgbuild.h, cfgcleanup.h, lcm.h, cfgloopmanip.h,
220 builtins.def, and chkp-builtins.def.
222 2014-01-15 David Edelsohn <dje.gcc@gmail.com>
224 * config/rs6000/default64.h (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use
227 2015-01-15 Richard Biener <rguenther@suse.de>
229 PR tree-optimization/61743
230 * tree-ssa-pre.c (insert_into_preds_of_block): Preserve range
231 information on PHIs for some simple cases.
233 2015-01-15 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
235 * config/arm/arm.md (generic_sched): Specify xgene1 in 'no' list.
237 * config/arm/arm.c (arm_issue_rate): Specify 4 for xgene1.
238 * config/arm/arm-cores.def (xgene1): New entry.
239 * config/arm/arm-tables.opt: Regenerate.
240 * config/arm/arm-tune.md: Regenerate.
241 * config/arm/bpabi.h (BE8_LINK_SPEC): Specify mcpu=xgene1.
243 2015-01-15 Yuri Rumyantsev <ysrumyan@gmail.com>
245 * tree-if-conv.c: Include hash-map.h.
246 (aggressive_if_conv): New variable.
247 (fold_build_cond_expr): Add simplification of non-zero condition.
248 (add_to_dst_predicate_list): Invoke add_to_predicate_list if edge
249 destination block is not always executed.
250 (if_convertible_phi_p): Fix commentary, allow phi nodes have more
251 than two predecessors if AGGRESSIVE_IF_CONV is true.
252 (if_convertible_stmt_p): Fix commentary.
253 (all_preds_critical_p): New function.
254 (has_pred_critical_p): New function.
255 (if_convertible_bb_p): Fix commentary, if AGGRESSIVE_IF_CONV is true
256 BB can have more than two predecessors and all incoming edges can be
258 (predicate_bbs): Skip predication for loop exit block, use build2_loc
259 to compute predicate for true edge.
260 (find_phi_replacement_condition): Delete this function.
261 (is_cond_scalar_reduction): Add arguments ARG_0, ARG_1 and EXTENDED.
262 Allow interchange PHI arguments if EXTENDED is false.
263 Change check that block containing reduction statement candidate
264 is predecessor of phi-block since phi may have more than two arguments.
265 (phi_args_hash_traits): New helper structure.
266 (struct phi_args_hash_traits): New type.
267 (phi_args_hash_traits::hash): New function.
268 (phi_args_hash_traits::equal_keys): New function.
269 (gen_phi_arg_condition): New function.
270 (predicate_scalar_phi): Add handling of phi nodes with more than two
271 arguments, delete COND and TRUE_BB arguments, insert body of
272 find_phi_replacement_condition to predicate ordinary phi nodes.
273 (predicate_all_scalar_phis): Skip blocks with the only predecessor,
274 delete call of find_phi_replacement_condition and invoke
275 predicate_scalar_phi with two arguments.
276 (insert_gimplified_predicates): Add assert that non-predicated block
277 don't have statements to insert.
278 (ifcvt_split_critical_edges): New function.
279 (ifcvt_split_def_stmt): Likewise.
280 (ifcvt_walk_pattern_tree): Likewise.
281 (stmt_is_root_of_bool_pattern): Likewise.
282 (ifcvt_repair_bool_pattern): Likewise.
283 (ifcvt_local_dce): Likewise.
284 (tree_if_conversion): Add initialization of AGGRESSIVE_IF_CONV which
285 is copy of inner or outer loop force_vectorize field, invoke
286 ifcvt_split_critical_edges, ifcvt_local_dce and
287 ifcvt_repair_bool_pattern for aggressive if-conversion.
289 2015-01-15 Philipp Tomsich <ptomsich@theobroma-systems.com>
291 * config/aarch64/aarch64.md: Include xgene1.md.
292 * config/aarch64/xgene1.md: New file.
294 2015-01-15 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
296 * config/aarch64/aarch64-cores.def (xgene1): Update/add the
297 xgene1 (APM XGene-1) core definition.
298 * gcc/config/aarch64/aarch64.c: Add cost tables for APM XGene-1
299 * config/arm/aarch-cost-tables.h: Add cost tables for APM XGene-1
300 * doc/invoke.texi: Document -mcpu=xgene1.
302 2015-10-15 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
304 * dojump.h: New header file.
305 * explow.h: Likewise.
306 * expr.h: Remove includes.
307 Move expmed.c prototypes to expmed.h.
308 Move dojump.c prototypes to dojump.h.
309 Move alias.c prototypes to alias.h.
310 Move explow.c prototypes to explow.h.
311 Move calls.c prototypes to calls.h.
312 Move emit-rtl.c prototypes to emit-rtl.h.
313 Move varasm.c prototypes to varasm.h.
314 Move stmt.c prototypes to stmt.h.
315 (saved_pending_stack_adjust): Move to dojump.h.
316 (adjust_address): Move to explow.h.
317 (adjust_address_nv): Move to emit-rtl.h.
318 (adjust_bitfield_address): Likewise.
319 (adjust_bitfield_address_size): Likewise.
320 (adjust_bitfield_address_nv): Likewise.
321 (adjust_automodify_address_nv): Likewise.
322 * explow.c (expr_size): Move to expr.c.
323 (int_expr_size): Likewise.
324 (tree_expr_size): Likewise.
325 Include calls.h dojump.h emit-rtl.h explow.h expmed.h
326 fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
327 * genemit.c (main): Generate includes statistics.h, real.h, fixed-value.h,
328 insn-config.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
329 * genopinit.c (main): Generate includes hashtab.h, hard-reg-set.h, function.h,
330 statistics.h, real.h, fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h,
332 * genoutput.c (main): Generate includes hashtab.h, statistics.h, real.h,
333 fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
334 * genemit.c (open_base_files): Generate includes flags.h, statistics.h, real.h,
335 fixed-value.h, tree.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h,
337 * config/tilepro/gen-mul-tables.cc: Generate includes hashtab.h, hash-set.h, vec.h,
338 machmode.h, tm.h, hard-reg-set.h, input.h, function.h, rtl.h, flags.h, statistics.h,
339 double-int.h, real.h, fixed-value.h, alias.h, wide-int.h, inchash.h, tree.h,
340 insn-config.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
341 * config/tilegx/mul-tables.c: Include alias.h calls.h dojump.h
342 double-int.h emit-rtl.h explow.h expmed.h fixed-value.h flags.h
343 function.h hard-reg-set.h hash-set.h hashtab.h inchash.h input.h
344 insn-config.h machmode.h real.h rtl.h statistics.h stmt.h symtab.h
345 tm.h tree.h varasm.h vec.h wide-int.h.
346 * rtlhooks.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
347 explow.h expmed.h fixed-value.h flags.h function.h hard-reg-set.h
348 hash-set.h hashtab.h inchash.h input.h insn-config.h machmode.h
349 real.h statistics.h stmt.h tree.h varasm.h vec.h wide-int.h.
350 * cfgloopanal.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
351 explow.h expmed.h fixed-value.h flags.h inchash.h insn-config.h
352 real.h statistics.h stmt.h tree.h varasm.h wide-int.h.
353 * loop-iv.c: Likewise.
354 * lra-assigns.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
355 explow.h expmed.h fixed-value.h flags.h inchash.h real.h
356 statistics.h stmt.h tree.h varasm.h wide-int.h.
357 * lra-constraints.c: Likewise.
358 * lra-eliminations.c: Likewise.
359 * lra-lives.c: Likewise.
360 * lra-remat.c: Likewise.
361 * bt-load.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
362 explow.h expmed.h fixed-value.h inchash.h insn-config.h real.h
363 statistics.h stmt.h tree.h varasm.h wide-int.h.
364 * hw-doloop.c: Likewise.
365 * ira-color.c: Likewise.
366 * ira-emit.c: Likewise.
367 * loop-doloop.c: Likewise.
368 * loop-invariant.c: Likewise.
369 * reload.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
370 explow.h expmed.h fixed-value.h inchash.h real.h rtl.h
371 statistics.h stmt.h tree.h varasm.h wide-int.h.
372 * caller-save.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
373 explow.h expmed.h fixed-value.h inchash.h real.h statistics.h
374 stmt.h tree.h varasm.h wide-int.h.
375 * combine-stack-adj.c: Likewise.
379 * ira-costs.c: Likewise.
381 * lra-coalesce.c: Likewise.
382 * lra-spills.c: Likewise.
383 * profile.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
384 explow.h expmed.h fixed-value.h insn-config.h real.h statistics.h
385 stmt.h varasm.h wide-int.h.
386 * lra.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
387 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
389 * config/sh/sh_treg_combine.cc: Include alias.h calls.h dojump.h
390 double-int.h explow.h expmed.h fixed-value.h flags.h real.h
391 statistics.h stmt.h varasm.h wide-int.h.
392 * reorg.c: Include alias.h calls.h dojump.h double-int.h explow.h
393 expmed.h fixed-value.h inchash.h real.h statistics.h stmt.h tree.h
395 * reload1.c: Include alias.h calls.h dojump.h double-int.h explow.h
396 expmed.h fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
397 * config/tilegx/tilegx.c: Include alias.h dojump.h double-int.h
398 emit-rtl.h explow.h expmed.h fixed-value.h flags.h real.h
400 * config/tilepro/tilepro.c: Likewise.
401 * config/mmix/mmix.c: Include alias.h dojump.h double-int.h emit-rtl.h
402 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h.
403 * config/pdp11/pdp11.c: Likewise.
404 * config/xtensa/xtensa.c: Likewise.
405 * config/lm32/lm32.c: Include alias.h dojump.h double-int.h emit-rtl.h
406 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
408 * tree-chkp.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
409 fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
410 insn-config.h real.h rtl.h statistics.h stmt.h tm.h.
411 * cilk-common.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
412 fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
413 insn-config.h real.h rtl.h statistics.h stmt.h tm.h varasm.h.
414 * rtl-chkp.c: Likewise.
415 * tree-chkp-opt.c: Likewise.
416 * config/arm/arm-builtins.c: Include calls.h dojump.h emit-rtl.h explow.h
417 expmed.h fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
418 insn-config.h real.h statistics.h stmt.h varasm.h.
419 * ipa-icf.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
420 fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
422 * tree-vect-data-refs.c: Likewise.
423 * graphite-sese-to-poly.c: Include calls.h dojump.h emit-rtl.h explow.h
424 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
425 rtl.h statistics.h stmt.h varasm.h.
426 * internal-fn.c: Likewise.
427 * ipa-icf-gimple.c: Likewise.
428 * lto-section-out.c: Likewise.
429 * tree-data-ref.c: Likewise.
430 * tree-nested.c: Likewise.
431 * tree-outof-ssa.c: Likewise.
432 * tree-predcom.c: Likewise.
433 * tree-pretty-print.c: Likewise.
434 * tree-scalar-evolution.c: Likewise.
435 * tree-ssa-strlen.c: Likewise.
436 * tree-vect-loop.c: Likewise.
437 * tree-vect-patterns.c: Likewise.
438 * tree-vect-slp.c: Likewise.
439 * tree-vect-stmts.c: Likewise.
441 * targhooks.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
442 fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
444 * config/sh/sh-mem.cc: Include calls.h dojump.h emit-rtl.h explow.h
445 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
446 statistics.h stmt.h varasm.h.
447 * loop-unroll.c: Likewise.
449 * tree-ssa-loop-prefetch.c: Include calls.h dojump.h emit-rtl.h explow.h
450 expmed.h fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h
452 * dse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
453 fixed-value.h function.h hashtab.h statistics.h stmt.h varasm.h.
454 * tree-switch-conversion.c: Include calls.h dojump.h emit-rtl.h explow.h
455 expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
457 * generic-match-head.c: Include calls.h dojump.h emit-rtl.h explow.h
458 expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
459 statistics.h stmt.h varasm.h.
460 * gimple-match-head.c: Likewise.
461 * lto-cgraph.c: Likewise.
462 * lto-section-in.c: Likewise.
463 * lto-streamer-in.c: Likewise.
464 * lto-streamer-out.c: Likewise.
465 * tree-affine.c: Likewise.
466 * tree-cfg.c: Likewise.
467 * tree-cfgcleanup.c: Likewise.
468 * tree-if-conv.c: Likewise.
469 * tree-into-ssa.c: Likewise.
470 * tree-ssa-alias.c: Likewise.
471 * tree-ssa-copyrename.c: Likewise.
472 * tree-ssa-dse.c: Likewise.
473 * tree-ssa-forwprop.c: Likewise.
474 * tree-ssa-live.c: Likewise.
475 * tree-ssa-math-opts.c: Likewise.
476 * tree-ssa-pre.c: Likewise.
477 * tree-ssa-sccvn.c: Likewise.
478 * tree-tailcall.c: Likewise.
479 * tree-vect-generic.c: Likewise.
480 * tree-sra.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
481 fixed-value.h hashtab.h insn-config.h real.h rtl.h stmt.h varasm.h.
482 * stor-layout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
483 fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h.
484 * varasm.c: Likewise.
485 * coverage.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
486 fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h
488 * init-regs.c: Likewise.
490 * omp-low.c: Likewise.
491 * stack-ptr-mod.c: Likewise.
492 * tree-ssa-reassoc.c: Likewise.
493 * tree-complex.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
494 fixed-value.h hashtab.h insn-config.h rtl.h statistics.h stmt.h
496 * dwarf2cfi.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
497 fixed-value.h hashtab.h insn-config.h statistics.h stmt.h varasm.h.
498 * shrink-wrap.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
499 fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h.
500 * recog.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
501 fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h varasm.h.
502 * tree-ssa-phiopt.c: Likewise.
503 * config/darwin.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
504 fixed-value.h hashtab.h real.h statistics.h stmt.h.
505 * config/fr30/fr30.c: Likewise.
506 * config/frv/frv.c: Likewise.
509 * optabs.c: Likewise.
510 * passes.c: Likewise.
511 * simplify-rtx.c: Likewise.
513 * toplev.c: Likewise.
514 * var-tracking.c: Likewise.
515 * gcse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
516 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
517 * lower-subreg.c: Likewise.
518 * postreload-gcse.c: Likewise.
520 * reginfo.c: Likewise.
521 * store-motion.c: Likewise.
522 * combine.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
523 fixed-value.h hashtab.h real.h stmt.h varasm.h.
524 * emit-rtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
525 fixed-value.h hashtab.h statistics.h stmt.h.
526 * dojump.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
527 fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
528 * except.c: Likewise.
529 * explow.c: Likewise.
530 * tree-dfa.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
531 fixed-value.h insn-config.h real.h rtl.h statistics.h stmt.h
533 * gimple-fold.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
534 fixed-value.h insn-config.h real.h rtl.h statistics.h varasm.h.
535 * tree-ssa-structalias.c: Likewise.
536 * cfgexpand.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
537 fixed-value.h insn-config.h real.h statistics.h.
538 * calls.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
539 fixed-value.h insn-config.h real.h statistics.h stmt.h.
540 * bb-reorder.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
541 fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
542 * cfgbuild.c: Likewise.
543 * function.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
544 fixed-value.h real.h rtl.h statistics.h stmt.h.
545 * cfgrtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
546 fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
547 * dbxout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
548 fixed-value.h real.h statistics.h stmt.h.
549 * auto-inc-dec.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
550 fixed-value.h real.h statistics.h stmt.h varasm.h.
552 * modulo-sched.c: Likewise.
553 * postreload.c: Likewise.
554 * ccmp.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
555 flags.h function.h hard-reg-set.h hashtab.h insn-config.h real.h
556 statistics.h stmt.h varasm.h.
557 * gimple-ssa-strength-reduction.c: Include calls.h dojump.h emit-rtl.h
558 explow.h fixed-value.h flags.h hashtab.h insn-config.h real.h
559 rtl.h statistics.h stmt.h varasm.h.
560 * tree-ssa-loop-ivopts.c: Include calls.h dojump.h emit-rtl.h explow.h
561 fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h stmt.h
563 * expmed.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
564 function.h hard-reg-set.h hashtab.h real.h statistics.h stmt.h
566 * target-globals.c: Include calls.h dojump.h emit-rtl.h explow.h
567 fixed-value.h function.h hashtab.h real.h statistics.h stmt.h
569 * tree-ssa-address.c: Include calls.h dojump.h emit-rtl.h explow.h
570 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
571 * cfgcleanup.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
572 function.h real.h statistics.h stmt.h varasm.h.
573 * alias.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
574 insn-config.h real.h statistics.h stmt.h.
575 * dwarf2out.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
577 * config/nvptx/nvptx.c: Include dojump.h emit-rtl.h explow.h expmed.h
578 fixed-value.h flags.h hard-reg-set.h insn-config.h real.h
579 statistics.h stmt.h varasm.h.
580 * gimplify.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
581 flags.h hashtab.h insn-config.h real.h rtl.h statistics.h.
582 * asan.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
583 flags.h hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h.
584 * ipa-devirt.c: Include dojump.h emit-rtl.h explow.h expmed.h
585 fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
586 statistics.h stmt.h varasm.h.
587 * ipa-polymorphic-call.c: Likewise.
588 * config/aarch64/aarch64.c: Include dojump.h emit-rtl.h explow.h expmed.h
589 fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
591 * config/c6x/c6x.c: Likewise.
592 * config/aarch64/aarch64-builtins.c: Include dojump.h emit-rtl.h explow.h
593 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
594 statistics.h stmt.h varasm.h.
595 * ipa-prop.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
596 hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h varasm.h.
597 * ipa-split.c: Likewise.
598 * tree-eh.c: Likewise.
599 * tree-ssa-dce.c: Likewise.
600 * tree-ssa-loop-niter.c: Likewise.
601 * tree-vrp.c: Likewise.
602 * config/nds32/nds32-cost.c: Include dojump.h emit-rtl.h explow.h
603 expmed.h fixed-value.h hashtab.h insn-config.h real.h statistics.h
605 * config/nds32/nds32-fp-as-gp.c: Likewise.
606 * config/nds32/nds32-intrinsic.c: Likewise.
607 * config/nds32/nds32-isr.c: Likewise.
608 * config/nds32/nds32-md-auxiliary.c: Likewise.
609 * config/nds32/nds32-memory-manipulation.c: Likewise.
610 * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
611 * config/nds32/nds32-predicates.c: Likewise.
612 * config/nds32/nds32.c: Likewise.
613 * config/cris/cris.c: Include dojump.h emit-rtl.h explow.h expmed.h
614 fixed-value.h hashtab.h real.h statistics.h.
615 * config/alpha/alpha.c: Include dojump.h emit-rtl.h explow.h expmed.h
616 fixed-value.h hashtab.h real.h statistics.h stmt.h.
617 * config/arm/arm.c: Likewise.
618 * config/avr/avr.c: Likewise.
619 * config/bfin/bfin.c: Likewise.
620 * config/h8300/h8300.c: Likewise.
621 * config/i386/i386.c: Likewise.
622 * config/ia64/ia64.c: Likewise.
623 * config/iq2000/iq2000.c: Likewise.
624 * config/m32c/m32c.c: Likewise.
625 * config/m32r/m32r.c: Likewise.
626 * config/m68k/m68k.c: Likewise.
627 * config/mcore/mcore.c: Likewise.
628 * config/mep/mep.c: Likewise.
629 * config/mips/mips.c: Likewise.
630 * config/mn10300/mn10300.c: Likewise.
631 * config/moxie/moxie.c: Likewise.
632 * config/pa/pa.c: Likewise.
633 * config/rl78/rl78.c: Likewise.
634 * config/rx/rx.c: Likewise.
635 * config/s390/s390.c: Likewise.
636 * config/sh/sh.c: Likewise.
637 * config/sparc/sparc.c: Likewise.
638 * config/spu/spu.c: Likewise.
639 * config/stormy16/stormy16.c: Likewise.
640 * config/v850/v850.c: Likewise.
641 * config/vax/vax.c: Likewise.
642 * config/cr16/cr16.c: Include dojump.h emit-rtl.h explow.h expmed.h
643 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
644 * config/msp430/msp430.c: Likewise.
645 * predict.c: Likewise.
646 * value-prof.c: Likewise.
647 * config/epiphany/epiphany.c: Include dojump.h emit-rtl.h explow.h
648 expmed.h fixed-value.h hashtab.h statistics.h stmt.h.
649 * config/microblaze/microblaze.c: Likewise.
650 * config/nios2/nios2.c: Likewise.
651 * config/rs6000/rs6000.c: Likewise.
652 * tree.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
653 insn-config.h real.h rtl.h statistics.h stmt.h.
654 * cgraph.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
655 insn-config.h real.h statistics.h stmt.h.
656 * fold-const.c: Include dojump.h emit-rtl.h explow.h expmed.h
657 fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
658 * tree-inline.c: Include dojump.h emit-rtl.h explow.h expmed.h
659 fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
660 * builtins.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
661 real.h statistics.h stmt.h.
662 * config/arc/arc.c: Include dojump.h emit-rtl.h explow.h expmed.h
663 fixed-value.h statistics.h stmt.h.
664 * config/visium/visium.c: Include dojump.h emit-rtl.h explow.h expmed.h
667 2015-01-15 Jakub Jelinek <jakub@redhat.com>
669 * gengtype.c (create_user_defined_type): Workaround
670 -Wmaybe-uninitialized false positives.
671 * cse.c (fold_rtx): Likewise.
672 * loop-invariant.c (gain_for_invariant): Likewise.
674 2015-01-15 Eric Botcazou <ebotcazou@adacore.com>
676 * expr.c (expand_expr_real_1) <normal_inner_ref>: Use the expression to
677 set the memory attributes in all cases but clear MEM_EXPR if need be.
679 2015-01-15 Yuri Rumyantsev <ysrumyan@gmail.com>
681 PR tree-optimization/64434
682 * cfgexpand.c (reorder_operands): New function.
683 (expand_gimple_basic_block): Insert call of reorder_operands if
686 2015-01-15 Matthew Fortune <matthew.fortune@imgtec.com>
688 * config/mips/micromips.md (*swp): Remove explicit parallel.
689 (jraddiusp, *movep<MOVEP1:mode><MOVEP2:mode>): Likewise.
690 * config/mips/mips-dsp.md (add<DSPV:mode>3): Likewise.
691 (mips_add<DSP:dspfmt1>_s_<DSP:dspfmt2>, sub<DSPV:mode>3): Likewise.
692 (mips_sub<DSP:dspfmt1>_s_<DSP:dspfmt2>, mips_addsc): Likewise.
693 (mips_addwc, mips_absq_s_<DSPQ:dspfmt2>): Likewise.
694 (mips_precrq_rs_ph_w, mips_precrqu_s_qb_ph): Likewise.
695 (mips_shll_<DSPV:dspfmt2>, mips_shll_s_<DSPQ:dspfmt2>): Likewise.
696 (mips_muleu_s_ph_qbl, mips_muleu_s_ph_qbr): Likewise.
697 (mips_mulq_rs_ph, mips_muleq_s_w_phl, mips_muleq_s_w_phr): Likewise.
698 (mips_dpaq_s_w_ph, mips_dpsq_s_w_ph, mips_mulsaq_s_w_ph): Likewise.
699 (mips_dpaq_sa_l_w, mips_dpsq_sa_l_w, mips_maq_s_w_phl): Likewise.
700 (mips_maq_s_w_phr, mips_maq_sa_w_phl, mips_maq_sa_w_phr): Likewise.
701 (mips_extr_w, mips_extr_r_w, mips_extr_rs_w): Likewise.
702 (mips_extr_s_h, mips_extp, mips_extpdp, mips_mthlip): Likewise.
703 (mips_wrdsp): Likewise.
704 * config/mips/mips-dspr2.md (mips_absq_s_qb): Remove explicit
706 (mips_addu_ph, mips_addu_s_ph, mips_cmpgdu_eq_qb): Likewise.
707 (mips_cmpgdu_lt_qb, mips_cmpgdu_le_qb, mulv2hi3): Likewise.
708 (mips_mul_s_ph, mips_mulq_rs_w, mips_mulq_s_ph): Likewise.
709 (mips_mulq_s_w, mips_subu_ph, mips_subu_s_ph): Likewise.
710 (mips_dpaqx_s_w_ph, mips_dpaqx_sa_w_ph): Likewise.
711 (mips_dpsqx_s_w_ph, mips_dpsqx_sa_w_ph): Likewise.
712 * config/mips/mips-fixed.md (usadd<mode>3): Remove explicit parallel.
713 (ssadd<mode>3, ussub<mode>3, sssub<mode>3, ssmul<mode>3): Likewise.
714 (ssmaddsqdq4, ssmsubsqdq4): Likewise.
716 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
718 * config/mips/mips.c (mips_rtx_costs): Set costs for LSA/DLSA.
719 (mips_print_operand): Support 'y' to print exact log2 in decimal
721 * config/mips/mips.h (ISA_HAS_LSA): New define.
722 (ISA_HAS_DLSA): Likewise.
723 * config/mips/mips.md (<GPR:d>lsa): New define_insn.
724 * config/mips/predicates.md (const_immlsa_operand): New predicate.
726 2015-01-15 Martin Liska <mliska@suse.cz>
729 * optc-save-gen.awk: Add support for array types.
731 2015-01-15 Richard Biener <rguenther@suse.de>
734 * tree-data-ref.c (dr_analyze_indices): Make sure that accesses
735 for MEM_REF access functions with the same base can never partially
738 2015-01-14 Marcos Diaz <marcos.diaz@tallertechnologies.com>
740 * common.opt: New option -fstack-protector-explicit.
741 * cfgexpand.c (SPCT_FLAG_EXPLICIT): New enum.
742 (stack_protect_decl_phase): Handle stack_protect attribute for
743 explicit stack protection requests.
744 (expand_used_vars): Similarly.
745 * doc/cpp.texi (__SSP_EXPLICIT__): Document predefined macro.
746 * doc/extend.texi: Add documentation for "stack_protect" attribute.
747 * doc/invoke.texi: Add documentation for -fstack-protector-explicit.
749 2015-01-14 Oleg Endo <olegendo@gcc.gnu.org>
752 * config/sh/sh-protos.h (sh_find_set_of_reg): Add option to ignore
754 (sh_extending_set_of_reg): New struct.
755 (sh_find_extending_set_of_reg, sh_split_tst_subregs,
756 sh_remove_reg_dead_or_unused_notes): New Declarations.
757 * config/sh/sh.c (sh_remove_reg_dead_or_unused_notes,
758 sh_find_extending_set_of_reg, sh_split_tst_subregs,
759 sh_extending_set_of_reg::use_as_extended_reg): New functions.
760 * config/sh/sh.md (*tst<mode>_t_zero): Rename to *tst<mode>_t_subregs,
761 convert to insn_and_split and use new function sh_split_tst_subregs.
763 2015-01-14 Sandra Loosemore <sandra@codesourcery.com>
765 * doc/invoke.texi (Option Summary): Reclassify -fuse-ld as a linker
767 (Optimization Options): Move -fuse-ld documentation to...
768 (Link Options): ...here.
770 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
772 * config/mips/constraints.md (ZC): Add support for R6 LL/SC
774 (ZD): Update to use ISA_HAS_9BIT_DISPLACEMENT.
775 * config/mips/mips.h (ISA_HAS_PREFETCH_9BIT): Rename to...
776 (ISA_HAS_9BIT_DISPLACEMENT): ... this. New macro.
777 * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZC
778 instead of ZR for the memory operand of LL/SC.
779 (compare_and_swap_12, sync_add<mode>): Likewise.
780 (sync_<optab>_12, sync_old_<optab>_12): Likewise.
781 (sync_new_<optab>_12, sync_nand_12): Likewise.
782 (sync_old_nand_12, sync_new_nand_12): Likewise.
783 (sync_sub<mode>, sync_old_add<mode>): Likewise.
784 (sync_old_sub<mode>, sync_new_add<mode>): Likewise.
785 (sync_new_sub<mode>, sync_<optab><mode>): Likewise.
786 (sync_old_<optab><mode>, sync_new_<optab><mode>"): Likewise.
787 (sync_nand<mode>, sync_old_nand<mode>): Likewise.
788 (sync_new_nand<mode>, sync_lock_test_and_set<mode>): Likewise.
789 (test_and_set_12, atomic_compare_and_swap<mode>): Likewise.
790 (atomic_exchange<mode>_llsc, atomic_fetch_add<mode>_llsc): Likewise.
791 * doc/md.texi (ZC): Update description.
793 2015-01-14 Andrew MacLeod <amacleod@redhat.com>
795 * builtins.c (expand_builtin_atomic_exchange): Remove error when
796 memory model is CONSUME.
797 (expand_builtin_atomic_compare_exchange, expand_builtin_atomic_load,
798 expand_builtin_atomic_store): Change invalid memory model errors to
800 (expand_builtin_atomic_clear): Change invalid model errors to warnings
801 and issue warning for CONSUME.
803 2015-01-14 Aldy Hernandez <aldyh@redhat.com>
805 * lto-cgraph: Update function comments for
806 lto_symtab_encoder_encode_*.
808 2015-01-14 Ilya Verbin <ilya.verbin@intel.com>
810 * Makefile.in (site.exp): Do not set ENABLE_LTO.
812 2015-01-14 Ilya Verbin <ilya.verbin@intel.com>
814 * cgraphunit.c (ipa_passes): Remove argument from ipa_write_summaries.
815 * lto-cgraph.c (select_what_to_stream): Remove argument, use
816 lto_stream_offload_p instead.
817 * lto-streamer.h (select_what_to_stream): Remove argument.
818 * passes.c (ipa_write_summaries): Likewise.
819 * tree-pass.h (ipa_write_summaries): Likewise.
821 2015-01-14 Richard Biener <rguenther@suse.de>
823 PR tree-optimization/59354
824 * tree-vect-slp.c (vect_build_slp_tree_1): Treat loads from
825 groups larger than the slp group size as having gaps.
827 2015-01-14 Andrew MacLeod <amacleod@redhat.com>
830 * builtins.c (get_memmodel): Promote consume to acquire always.
832 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
835 * config/i386/i386.c (ix86_expand_sse_cmp): Handle V64QImode,
838 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
841 * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VBMI_SET):
843 (OPTION_MASK_ISA_AVX512BW_UNSET): Disable AVX512VBMI.
844 * config/i386/i386.c (ix86_hard_regno_mode_ok): Don't check
845 AVX512VBMI, as it implies AVX512BW.
847 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
850 * config/i386/sse.md (vec_unpacks_hi_v8sf): Fix predicate.
851 (vec_unpacks_hi_v16sf): Ditto.
853 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
855 * config/aarch64/arm_neon.h: Error out if AdvancedSIMD
858 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
860 * doc/invoke.texi (mapcs): Mention deprecation.
861 (mapcs-frame): Likewise.
863 2015-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
866 * config/arm/arm.c (callee_saved_reg_p): Define.
867 (arm_compute_save_reg0_reg12_mask): Use callee_saved_reg_p to check if
868 register is callee saved instead of !call_used_regs[reg].
869 (thumb1_compute_save_reg_mask): Likewise.
871 2015-01-14 Hale Wang <hale.wang@arm.com>
873 * config/arm/arm.c: Tune the max_cond_insns/branch_cost for
876 2015-01-14 Richard Biener <rguenther@suse.de>
879 * tree-inline.c (insert_debug_decl_map): Check destination
880 function MAY_HAVE_DEBUG_STMTS.
881 (insert_init_debug_bind): Likewise.
882 (insert_init_stmt): Remove redundant check.
883 (remap_gimple_stmt): Drop debug stmts if the destination
884 function has var-tracking assignments disabled.
886 2015-01-14 Martin Liska <mliska@suse.cz>
888 * ipa-icf-gimple.c (func_checker::compare_operand): Add support for
889 IMAGPART_EXPR and REALPART_EXPR and fix BIT_FIELD_REF comparison.
891 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
894 * config/arm/arm.md (*<arith_shift_insn>_multsi): Set 'shift' to 2.
895 (*<arith_shift_insn>_shiftsi): Set 'shift' attr to 3.
897 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
899 * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Only infer an ISA
900 level from an ARCH; do not inject the default.
901 (MIPS_DEFAULT_ISA_LEVEL_SPEC): New macro split out from
903 (MIPS_ISA_NAN2008_SPEC): Update comment.
904 (BASE_DRIVER_SELF_SPECS): Likewise.
905 * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add
906 MIPS_DEFAULT_ISA_LEVEL_SPEC.
907 * config/mips/mti-elf.h (DRIVER_SELF_SPECS): Likewise.
908 * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise.
909 * config/mips/sde.h (DRIVER_SELF_SPECS): Likewise.
911 2015-01-14 Richard Biener <rguenther@suse.de>
913 PR tree-optimization/64493
914 PR tree-optimization/64495
915 * tree-vect-loop.c (vect_finalize_reduction): For double-reductions
916 assign the proper vectorized PHI to the inner loop exit PHIs.
918 2015-01-14 Joey Ye <joey.ye@arm.com>
920 * config/arm/arm.c (arm_compute_save_reg_mask):
921 Do not save lr in case of tail call.
922 * config/arm/thumb2.md (*thumb2_pop_single): New pattern.
924 2015-01-13 Martin Uecker <uecker@eecs.berkeley.edu>
926 * tree-vrp.c (check_array_ref): Emit more warnings
927 for warn_array_bounds >= 2.
928 * common.opt: New option -Warray-bounds=.
929 * doc/invoke.texi: Document -Warray-bounds=.
931 2015-01-14 Chung-Ju Wu <jasonwucj@gmail.com>
933 * config/nds32/nds32.opt (mforce-fp-as-gp): Remove.
934 (mforbid-fp-as-gp): Remove.
936 * config/nds32/nds32-fp-as-gp.c (nds32_have_prologue_p): Remove.
937 (nds32_symbol_load_store_p): Remove.
938 (nds32_fp_as_gp_check_available): Clean up implementation.
939 * config/nds32/nds32.h (LINK_SPEC): Remove -mforce-as-gp and -mex9
941 * config/nds32/nds32.c (nds32_asm_file_start): No need to consider
942 fp-as-gp and ex9 cases.
944 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
946 * tree-profile.c (init_ic_make_global_vars): Drop workaround
947 for bintuils bug 14342.
948 (init_ic_make_global_vars): Likewise.
949 (gimple_init_edge_profiler): Likewise.
950 (gimple_gen_ic_func_profiler): Likewise.
952 2015-01-13 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
954 * ipa-inline.c (inline_small_functions): Swap the operands in
957 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
960 * ipa-inline-analysis.c (node_growth_cache): Remove.
961 (initialize_growth_caches): Do not initialize it.
962 (free_growth_caches): Do not free it.
963 (do_estimate_growth): Rename to ...
964 (estimate_growth): ... this one; drop growth cache code.
965 (growth_likely_positive): Always go the heuristics way.
966 * ipa-inline.c (can_inline_edge_p): Walk through aliases.
967 (reset_edge_caches): Do not reset node growth.
968 (heap_edge_removal_hook): Do not maintain cache.
969 (inline_small_functions): Likewise; strenghten sanity check.
970 (ipa_inline): Do not maintain caches.
971 * ipa-inline.h (node_growth_cache): Remove.
972 (do_estimate_growth): Remove to ...
973 (estimate_growth): this one; remove inline version.
974 (reset_node_growth_cache): Remove.
976 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
979 * ipa-inline.c (inline_small_functions): Update callee keys after
980 resolving speculation
981 (inline_small_functions): Always check monotonicity of the queue.
983 2015-01-13 Marek Polacek <polacek@redhat.com>
986 * trans-mem.c (get_attrs_for): Return NULL_TREE if X is NULL_TREE.
988 2015-01-13 Jakub Jelinek <jakub@redhat.com>
990 PR rtl-optimization/64286
991 * ree.c (combine_reaching_defs): Move part of comment earlier,
992 remove !SCALAR_INT_MODE_P check.
993 (add_removable_extension): Don't add vector mode
994 extensions if all uses of the source register aren't the same
997 2015-01-13 Renlin Li <renlin.li@arm.com>
999 * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): Return 2.
1000 (CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
1002 2015-01-13 Martin Liska <mliska@suse.cz>
1004 * ipa-icf.c (sem_function::equals_private): Call new functions
1005 cl_target_option_print_diff and cl_optimization_print_diff.
1006 * optc-save-gen.awk (cl_target_option_print_diff): New function.
1007 (cl_optimization_print_diff): Likewise.
1008 * opth-gen.awk: Likewise.
1010 2015-01-13 Richard Sandiford <richard.sandiford@arm.com>
1012 * config/aarch64/aarch64.md (subsi3, *subsi3_uxtw, subdi3)
1013 (*sub_<optab><ALLX:mode>_<GPI:mode>, *sub_<optab><SHORT:mode>_si_uxtw)
1014 (*sub_<optab><ALLX:mode>_shft_<GPI:mode>)
1015 (*sub_<optab><SHORT:mode>_shft_si_uxtw, *sub_<optab><mode>_multp2)
1016 (*sub_<optab>si_multp2_uxtw, *sub_uxt<mode>_multp2)
1017 (*sub_uxtsi_multp2_uxtw): Add stack pointer sources.
1019 2015-01-13 Andrew Pinski <apinski@cavium.com>
1021 * config/aarch64/aarch64.c (fusion_load_store): Check dest mode
1022 instead of src mode.
1024 2015-01-13 Richard Biener <rguenther@suse.de>
1027 * lto-streamer-out.c (tree_is_indexable): Guard for NULL
1030 2015-01-13 Andrew Pinski <apinski@cavium.com>
1032 * config/aarch64/aarch64.c (aarch64_operands_ok_for_ldpstp): Reject
1034 (aarch64_operands_adjust_ok_for_ldpstp): Likewise.
1036 2015-01-13 Jakub Jelinek <jakub@redhat.com>
1039 * cfgexpand.c (expand_computed_goto): Don't call
1040 convert_memory_address here.
1042 2015-01-13 Richard Biener <rguenther@suse.de>
1044 PR tree-optimization/64406
1045 * tree-loop-distibution.c (pass_loop_distribution::execute):
1046 Reset the SCEV hashtable if we distributed anything.
1048 2015-01-13 Richard Biener <rguenther@suse.de>
1050 PR tree-optimization/64404
1051 * tree-vect-stmts.c (vectorizable_load): Reject conflicting
1052 SLP types for CSEd loads.
1054 2015-01-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1056 PR tree-optimization/64436
1057 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Move code performing the
1058 merge of two symbolic numbers for a bitwise OR to ...
1059 (perform_symbolic_merge): This. Also fix computation of the range and
1060 end of the symbolic number corresponding to the result of a bitwise OR.
1062 2014-01-13 Richard Biener <rguenther@suse.de>
1064 PR tree-optimization/64568
1065 * tree-ssa-forwprop.c (pass_forwprop::execute): Properly
1066 release defs of removed stmts, avoid splitting TARGET_MEM_REFs.
1068 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
1070 * config/nds32/nds32.c (nds32_legitimate_address_p): Consider
1071 TARGET_CMODEL_LARGE and TARGET_CMODEL_MEDIUM cases.
1073 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
1075 * config/nds32/nds32.h (NDS32_SYMBOL_FLAG_RODATA): Define our own
1076 target-specific symbol_ref flag.
1077 (NDS32_SYMBOL_REF_RODATA_P): Define it to check if the symbol_ref
1078 resides in rodata section.
1079 * config/nds32/nds32.c (TARGET_ENCODE_SECTION_INFO): Define.
1080 (nds32_encode_section_info): New function.
1082 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
1084 * config/nds32/nds32.md (call): Use pseudo instruction bal which
1085 clobbers TA_REGNUM if large code model is specified.
1086 (call_register): Likewise.
1087 (call_immediate): Likewise.
1088 (call_value): Likewise.
1089 (call_value_register): Likewise.
1090 (call_value_immediate): Likewise.
1092 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
1094 * config/nds32/nds32.h (TARGET_CMODEL_SMALL): New macro.
1095 (TARGET_CMODEL_MEDIUM): New macro.
1096 (TARGET_CMODEL_LARGE): New macro.
1097 * config/nds32/nds32.c (nds32_asm_file_start): Display corresponding
1098 code model setting in assembly code.
1100 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
1102 * common/config/nds32/nds32-common.c (TARGET_DEFAULT_TARGET_FLAGS):
1103 Remove MASK_GP_DIRECT flag.
1104 * config/nds32/nds32.h (MULTILIB_DEFAULTS): Have -mcmodel=medium as
1105 one of the multilib default options.
1106 * config/nds32/nds32.opt (mgp-direct): Remove.
1107 * config/nds32/t-mlibs (MULTILIB_OPTIONS): Use -mcmodel instead of
1108 -mgp-direct. We also remove unnecessary -mlittle-endian/-mbig-endian.
1110 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
1112 * config/nds32/nds32.opt (mcmodel): Add new option.
1113 * config/nds32/nds32-opts.h (nds32_cmodel_type): Add new enum type
1114 to describe code model.
1116 2015-01-13 Oleg Endo <olegendo@gcc.gnu.org>
1119 * rtlanal.c (set_reg_p): Handle SEQUENCE constructs.
1121 2015-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
1123 * config/sh/sh.c (sh_atomic_assign_expand_fenv): New function.
1124 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
1125 (sh_builtin_get_fpscr, sh_builtin_set_fpscr): New variables.
1126 (sh_init_builtins): Record decls for __builtin_sh_get_fpscr and
1127 __builtin_sh_set_fpscr.
1129 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
1131 * doc/invoke.texi ([-Wsuggest-attribute=]): Don't use parentheses
1132 after a funtion name just to indicate it is a function.
1133 ([-fsanitize-undefined-trap-on-error]): Likewise.
1134 ([-fdbg-cnt=]): Likewise.
1135 ([-mmemcpy]): Likewise.
1136 ([-mflush-func]): Likewise.
1137 ([-msynci]): Likewise.
1139 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
1141 * doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing
1144 2015-01-12 Jakub Jelinek <jakub@redhat.com>
1146 PR tree-optimization/64563
1147 * tree-vrp.c (vrp_evaluate_conditional): Check for VR_RANGE
1148 instead of != VR_VARYING.
1151 * config/i386/i386.c (ix86_expand_prologue): Add
1152 REG_FRAME_RELATED_EXPR to %rax and %r10 pushes.
1154 PR tree-optimization/64454
1155 * tree-vrp.c (simplify_div_or_mod_using_ranges): Optimize
1156 op0 % op1 into op0 if op0 is in range [-op1 + 1, op1 - 1]
1157 for signed or [0, op1 - 1] for unsigned modulo.
1158 (simplify_stmt_using_ranges): Call simplify_div_or_mod_using_ranges
1159 even if op1 does not satisfy integer_pow2p.
1162 * sreal.c (sreal::to_double): Use ldexp instead of scalbnl.
1164 2015-01-12 Jeff Law <law@redhat.com>
1167 * config/m68k/m68k.md (truncsiqi2): Disable for TARGET_COLDFIRE.
1168 (trunchiqi2, truncsihi2): Similarly.
1170 * config/h8300/h8300.c (Fpa): Use RTX_FRAME_RELATED_P directly
1171 rather than calling F.
1173 2015-01-12 Bernd Edlinger <bernd.edlinger@hotmail.de>
1175 * tsan.c (instrument_expr): Use force_gimple_operand.
1176 Use may_be_nonaddressable_p instead of is_gimple_addressable.
1178 2015-01-12 Richard Biener <rguenther@suse.de>
1180 PR tree-optimization/64530
1181 * tree-loop-distribution.c (pg_add_dependence_edges): Shuffle
1184 2015-01-12 Richard Biener <rguenther@suse.de>
1187 * tree-cfg.c (gimple_can_merge_blocks_p): Protect simple
1190 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1192 * config/arm/arm.c (arm_cortex_a12_tune): Update entries to match
1193 Cortex-A17 tuning parameters.
1194 * config/arm/arm-cores.def (cortex-a12): Schedule for cortex-a17.
1196 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1198 * config/arm/arm-protos.h (tune_params): Add fuseable_ops field.
1199 * config/arm/arm.c (arm_macro_fusion_p): New function.
1200 (arm_macro_fusion_pair_p): Likewise.
1201 (TARGET_SCHED_MACRO_FUSION_P): Define.
1202 (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
1203 (ARM_FUSE_NOTHING): Likewise.
1204 (ARM_FUSE_MOVW_MOVT): Likewise.
1205 (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,
1206 arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,
1207 arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,
1208 arm_cortex_a53_tune, arm_cortex_a57_tune, arm_cortex_a9_tune,
1209 arm_cortex_a12_tune, arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune
1210 arm_cortex_a5_tune): Specify fuseable_ops value.
1212 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
1215 * configure.ac (HAVE_LD_PIE_COPYRELOC): Update Linux/x86-64 linker
1216 test for PIE with copy reloc.
1217 * configure: Regenerated.
1219 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1221 * config/arm/arm.c (arm_load_tp): Use R0_REGNUM instead of constant 0
1223 (arm_tls_descseq_addr): Likewise.
1224 (arm_gen_movmemqi): Likewise.
1225 (arm_expand_epilogue_apcs_frame): Likewise.
1226 (arm_expand_epilogue): Likewise.
1227 (arm_expand_prologue): Likewise. Use R1_REGNUM instead of constant 1
1230 2015-01-12 Martin Liska <mliska@suse.cz>
1233 * ipa-icf-gimple.c (func_checker::compare_memory_operand): Compare
1234 volatility for correct operands.
1236 2015-01-12 Martin Liska <mliska@suse.cz>
1238 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
1239 that a function is not leaf.
1240 (sem_function::compare_polymorphic_p): Likewise.
1242 2015-01-12 Martin Liska <mliska@suse.cz>
1244 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
1245 that a function is not leaf.
1246 (sem_function::compare_polymorphic_p): Likewise.
1248 2015-01-12 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
1250 * config/visium/visium.c: Add includes hashtab.h, hash-set.h,
1251 machmode.h, input.h, statistics.h, vec.h, double-int.h, real.h,
1252 fixed-value.h, alias.h, symtab.h, tree-core.h, wide-int.h, inchash.h,
1253 fold-const.h, tree-check.h.
1255 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
1259 * ipa-inline.c (compute_uninlined_call_time,
1260 compute_inlined_call_time): Use counts for extra precision when
1262 (big_speedup_p): Fix formating.
1263 (RELATIVE_TIME_BENEFIT_RANGE): Remove.
1264 (relative_time_benefit): Remove.
1265 (edge_badness): Turn DECL_DISREGARD_INLINE_LIMITS into hint;
1266 merge guessed and read profile paths.
1267 (inline_small_functions): Count only !optimize_size functions into
1268 initial size; be more lax about sanity check when profile is used;
1269 be sure to update inlined function profile when profile is read.
1271 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
1274 * ipa-inline-analysis.c (inline_edge_duplication_hook): Adjust
1275 cost when edge becomes direct.
1276 * ipa-prop.c (make_edge_direct): Do not adjust when speculation
1277 is resolved or when introducing new speculation.
1279 2015-01-12 Chen Gang <gang.chen.5i5j@gmail.com>
1283 * ipa-icf.c (sem_function::equals_private): Use '&&' instead of
1284 '||' to fix typo issue.
1286 * gcc/tree.h (target_opts_for_fn): Check NULL_TREE since it can
1287 accept and return NULL.
1289 2015-01-12 Martin Liska <mliska@suse.cz>
1291 * cgraph.c (cgraph_edge::remove_callee): Move function to header
1292 file for being inlined.
1293 (cgraph_set_edge_callee): Delete.
1294 (cgraph_edge::redirect_callee): Move function to header file
1296 (cgraph_edge::make_direct): Use new function.
1297 (cgraph_edge::dump_edge_flags): New function created from
1298 static dump_edge_flags function.
1299 (cgraph_node::dump): Use new function.
1300 (cgraph_edge::verify_count_and_frequency): New function created
1301 from verify_edge_count_and_frequency.
1302 (cgraph_edge::verify_corresponds_to_fndecl): New function created
1303 from verify_edge_corresponds_to_fndecl.
1304 (verify_edge_corresponds_to_fndecl): Delete.
1305 (cgraph_node::verify_node): Use new function.
1306 * cgraph.h (cgraph_edge::set_callee): New function.
1307 (cgraph_edge::dump_edge_flags): Likewise.
1308 (cgraph_edge::verify_corresponds_to_fndecl): Likewise.
1310 2015-01-11 Jan Hubicka <hubicka@ucw.cz>
1312 * ipa-utils.c (estimate_function_body_sizes): Do not
1313 free node params when called late with early=true.
1315 2015-01-11 James Greenhalgh <james.greenhalgh@arm.com>
1317 * doc/md.texi (Instruction Patterns): Rewrite text for
1319 (Example): Likewise.
1321 2015-01-10 Sandra Loosemore <sandra@codesourcery.com>
1323 * doc/invoke.texi (Option Summary): Break long lines.
1324 [(-fdiagnostics-color)]: Put long literal in @smallexample
1326 [(-fsanitize-recover)]: Likewise.
1327 [(-fdump-rtl-split*)]: Rewrite to fix over-full hbox.
1328 [(-ffast-math)]: Likewise.
1329 [(--param max-inline-insns-recursive)]: Likewise.
1330 [(--param max-inline-recursive-depth)]: Likewise.
1331 [(-mno-text-section-literals)]: Likewise.
1333 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
1335 * doc/install.texi: Update for libgomp being renamed from "GNU
1336 OpenMP Runtime Library" to "GNU Offloading and Multi Processing
1338 * doc/sourcebuild.texi: Likewise.
1340 2015-01-10 Anthony Green <green@moxielogic.com>
1342 * config/moxie/moxie.c (moxie_option_override): Fix forcing of
1343 mul.x availability for moxiebox configuration.
1345 2015-01-09 Anthony Green <green@moxielogic.com>
1347 * config/moxie/moxie.md: Tabify assembly output.
1349 2015-01-09 Anthony Green <green@moxielogic.com>
1351 * config/moxie/moxie.md (CC_REG): Correct register definition.
1353 2015-01-09 Sandra Loosemore <sandra@codesourcery.com>
1355 * doc/invoke.texi ([-fvtable-verify]): Copy-edit and fix markup.
1356 ([-fvtv-debug], [-fvtv-counts]): Likewise. Correct location
1359 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1361 * config/arm/arm.h (MAX_SYNC_LIBFUNC_SIZE): Delete semicolon.
1363 2015-01-09 Bernd Schmidt <bernds@codesourcery.com>
1364 Jakub Jelinek <jakub@redhat.com>
1367 * lto-streamer.h (lto_stream_offload_p): New declaration.
1368 * lto-streamer.c (lto_stream_offload_p): New variable.
1369 * cgraphunit.c (ipa_passes): Set lto_stream_offload_p
1370 at the same time as section_name_prefix.
1371 * lto-streamer-out.c (hash_tree): Don't hash TREE_TARGET_OPTION
1372 if lto_stream_offload_p.
1373 * tree-streamer-out.c (streamer_pack_tree_bitfields): Don't
1374 stream TREE_TARGET_OPTION if lto_stream_offload_p.
1375 (write_ts_function_decl_tree_pointers): Don't
1376 stream DECL_FUNCTION_SPECIFIC_TARGET if lto_stream_offload_p.
1377 * tree-streamer-in.c (unpack_value_fields): Don't stream
1378 TREE_TARGET_OPTION in if ACCEL_COMPILER.
1379 (lto_input_ts_function_decl_tree_pointers): Don't stream
1380 DECL_FUNCTION_SPECIFIC_TARGET in if ACCEL_COMPILER.
1381 * lto-opts.c (lto_write_options): Use lto_stream_offload_p
1382 instead of section_name_prefix string comparisons.
1384 2015-01-09 Jakub Jelinek <jakub@redhat.com>
1386 PR rtl-optimization/64536
1387 * cfgrtl.c (rtl_tidy_fallthru_edge): Handle removal of degenerate
1390 2015-01-09 Michael Collison <michael.collison@linaro.org>
1392 * genattrtab.c (write_header): Include hash-set.h, machmode.h,
1393 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1394 fold-const.h, wide-int.h, and inchash.h when generating
1396 * genautomata.c (main) : Include hash-set.h, macInclude hash-set.h, machmode.h,
1397 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1398 fold-const.h, wide-int.h, and inchash.h when generating
1400 * genemit.c (main): Include hash-set.h, machmode.h,
1401 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1402 fold-const.h, wide-int.h, and inchash.h when generating
1404 * gengtype.c (open_base_files): Include hash-set.h, machmode.h,
1405 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1406 fold-const.h, wide-int.h, and inchash.h when generating
1408 * genopinit.c (main): Include hash-set.h, machmode.h,
1409 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1410 fold-const.h, wide-int.h, and inchash.h when generating
1412 * genoutput.c (output_prologue): Include hash-set.h, machmode.h,
1413 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1414 fold-const.h, wide-int.h, and inchash.h when generating
1416 * genpeep.c (main): Include hash-set.h, machmode.h,
1417 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1418 fold-const.h, wide-int.h, and inchash.h when generating
1420 * genpreds.c (write_insn_preds_c): Include hash-set.h, machmode.h,
1421 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1422 fold-const.h, wide-int.h, and inchash.h when generating
1424 * optc-save-gen-awk: Include hash-set.h, machmode.h,
1425 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1426 fold-const.h, wide-int.h, and inchash.h when generating
1428 * opth-gen.awk: Change include guard from GCC_C_COMMON_H to GCC_C_COMMON_C
1429 when generating options.h.
1430 * alias.c: Include hash-set.h, machmode.h,
1431 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1432 fold-const.h, wide-int.h, and inchash.h due to
1433 flattening of tree.h.
1436 * auto-inc-dec.c: Ditto.
1437 * auto-profile.c: Ditto
1438 * bb-reorder.c: Ditto.
1439 * bt-load.c: Include symtab.h due to flattening of tree.h.
1440 * builtins.c: Include hash-set.h, machmode.h,
1441 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1442 fold-const.h, wide-int.h, and inchash.h due to
1443 flattening of tree.h.
1444 * calls.c: Include hash-set.h, machmode.h,
1445 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1446 fold-const.h, wide-int.h, and inchash.h due to
1447 flattening of tree.h.
1449 * cfgbuild.c: Include hash-set.h, machmode.h,
1450 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1451 fold-const.h, wide-int.h, and inchash.h due to flattening of tree.h.
1453 * cfgcleanup.c: Ditto.
1454 * cfgexpand.c: Ditto.
1455 * cfghooks.c: Ditto.
1456 * cfgloop.c: Include symtab.h, fold-const.h, and
1457 inchash.h due to flattening of tree.h.
1458 * cfgloopmanip.c: Ditto.
1459 * cfgrtl.c: Include hash-set.h, machmode.h,
1460 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1461 fold-const.h, wide-int.h, and inchash.h due to
1462 flattening of tree.h.
1463 * cgraphbuild.c: Ditto.
1465 * cgraphclones.c: Ditto.
1466 * cgraphunit.c: Ditto.
1467 * cilk-common.c: Ditto.
1469 * combine-stack-adj.c: Include symbol.h due to flattening of tree.h.
1470 * config/aarch64/aarch64-builtins.c: Include hash-set.h, machmode.h,
1471 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1472 fold-const.h, wide-int.h, and inchash.h due to
1473 flattening of tree.h.
1474 * config/aarch64/aarch64.c: Ditto.
1475 * config/alpha/alpha.c: Ditto.
1476 * config/arc/arc.c: Ditto.
1477 * config/arm/aarch-common.c: Ditto.
1478 * config/arm/arm-builtins.c: Ditto.
1479 * config/arm/arm.c: Ditto.
1480 * config/arm/arm-c.c: Ditto.
1481 * config/avr/avr.c: Ditto.
1482 * config/avr/avr-c.c: Ditto.
1483 * config/avr/avr-log.c: Ditto.
1484 * config/bfin/bfin.c: Ditto.
1485 * config/c6x/c6x.c: Ditto.
1486 * config/cr16/cr16.c: Ditto.
1487 * config/cris/cris.c: Ditto.
1488 * config/darwin.c: Ditto.
1489 * config/darwin-c.c: Ditto.
1490 * config/default-c.c: Ditto.
1491 * config/epiphany/epiphany.c: Ditto.
1492 * config/fr30/fr30.c: Ditto.
1493 * config/frv/frv.c: Ditto.
1494 * config/glibc-c.c: Ditto.
1495 * config/h8300/h8300.c: Ditto.
1496 * config/i386/i386.c: Ditto.
1497 * config/i386/i386-c.c: Ditto.
1498 * config/i386/msformat.c: Ditto.
1499 * config/i386/winnt.c: Ditto.
1500 * config/i386/winnt-cxx.c: Ditto.
1501 * config/i386/winnt-stubs.c: Ditto.
1502 * config/ia64/ia64.c: Ditto.
1503 * config/ia64/ia64-c.c: Ditto.
1504 * config/iq2000/iq2000.c: Ditto.
1505 * config/lm32/lm32.c: Include symtab.h, fold-const.h,
1506 wide-int.h, and inchash.h due to flattening of tree.h.
1507 * config/m32c/m32c.c: Include hash-set.h, machmode.h,
1508 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1509 fold-const.h, wide-int.h, and inchash.h due to
1510 flattening of tree.h.
1511 * config/m32c/m32c-pragma.c: Ditto.
1512 * config/m32c/m32cr.c: Ditto.
1513 * config/m68/m68k.c: Ditto.
1514 * config/mcore/mcore.c: Ditto.
1515 * config/mep/mep.c: Ditto.
1516 * config/mep/mep-pragma.c: Ditto.
1517 * config/microblaze/microblaze.c: Ditto.
1518 * config/microblaze/microblaze-c.c: Ditto.
1519 * config/mips/mips.c: Ditto.
1520 * config/mmix/mmix.c: Include symtab.h, fold-const.h,
1521 wide-int.h, and inchash.h due to flattening of tree.h.
1522 * config/mn10300/mn10300.c: Include hash-set.h, machmode.h,
1523 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1524 fold-const.h, wide-int.h, and inchash.h due to
1525 flattening of tree.h.
1526 * config/moxie/moxie.c: Ditto.
1527 * config/msp430/msp430.c: Ditto.
1528 * config/msp430/msp430-c.c: Ditto.
1529 * config/nds32/nds32.c: Ditto.
1530 * config/nds32/nds32-cost.c: Ditto.
1531 * config/nds32/nds32-fp-as-gp.c: Ditto.
1532 * config/nds32/nds32-intrinsic.c: Ditto.
1533 * config/nds32/nds32-isr.c: Ditto.
1534 * config/nds32/nds32-md-auxillary.c: Ditto.
1535 * config/nds32/nds32-memory-manipulationx.c: Ditto.
1536 * config/nds32/nds32-pipelines-auxillary.c: Ditto.
1537 * config/nds32/nds32-predicates.c: Ditto.
1538 * config/nios2/nios2.c: Ditto.
1539 * config/nvptx/nvptx.c: Ditto.
1540 * config/pa/pa.c: Ditto.
1541 * config/pdp11/pdp11x.c: Include symtab.h, fold-const.h,
1542 wide-int.h, and inchash.h due to flattening of tree.h.
1543 * config/rl78/rl78.c: Include hash-set.h, machmode.h,
1544 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1545 fold-const.h, wide-int.h, and inchash.h due to
1546 flattening of tree.h.
1547 * config/rl78/rl78-cx.c: Ditto.
1548 * config/rs6000/rs6000.c: Ditto.
1549 * config/rs6000/rs6000-c.c: Ditto.
1550 * config/rx/rx.c: Ditto.
1551 * config/s390/s390.c: Ditto.
1552 * config/sh/sh.c: Ditto.
1553 * config/sh/sc.c: Ditto.
1554 * config/sh/sh-mem.cc: Ditto.
1555 * config/sh/sh_treg_combine.cc: Include symtab.h, inchash.h and tree.h
1556 due to flattening of tree.h.
1557 Remove include of tree-core.h.
1558 * config/sol2.c: Include hash-set.h, machmode.h,
1559 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1560 fold-const.h, wide-int.h, and inchash.h due to
1561 flattening of tree.h.
1562 * config/sol2-c.c: Ditto.
1563 * config/sol2-cxx.c: Ditto.
1564 * config/sol2-stubs.c: Ditto.
1565 * config/sparc/sparc.c: Ditto.
1566 * config/sparc/sparc-cx.c: Ditto.
1567 * config/spu/spu.c: Ditto.
1568 * config/spu/spu-c.c: Ditto
1569 * config/storym16/stormy16.c: Ditto.
1570 * config/tilegx/tilegx.c: Include symtab.h, fold-const.h,
1571 wide-int.h, and inchash.h due to flattening of tree.h.
1572 * config/tilepro/gen-mul-tables.cc: Include symtab.h in generated file.
1573 * config/tilegx/tilegx-c.c: Include hash-set.h, machmode.h,
1574 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1575 fold-const.h, wide-int.h, and inchash.h due to
1576 flattening of tree.h.
1577 * config/tilepro/tilepro.c: Include symtab.h, fold-const.h,
1578 wide-int.h, and inchash.h due to flattening of tree.h.
1579 * config/tilepro/tilepro-c.c: Include hash-set.h, machmode.h,
1580 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
1581 fold-const.h, wide-int.h, and inchash.h due to
1582 flattening of tree.h.
1583 * config/v850/v850.c: Ditto.
1584 * config/v850/v850-c.c: Ditto.
1585 * config/vax/vax.c: Ditto.
1586 * config/vms/vms.c: Ditto.
1587 * config/vms/vms-c.c: Ditto.
1588 * config/vxworks.c: Ditto.
1589 * config/winnt-c.c: Ditto.
1590 * config/xtensa/xtensa.c: Include symtab.h, fold-const.h,
1591 wide-int.h, and inchash.h due to flattening of tree.h.
1592 * convert.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1593 input.h, alias.h, symtab.h, options.h, fold-const.h,
1594 wide-int.h, and inchash.h due to flattening of tree.h.
1595 * coverage.c: Ditto.
1596 * cppbuiltin.c: Ditto.
1598 * cse.c: Add include of symtab.h due to flattening of tree.h.
1599 * cselib.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1600 input.h, alias.h, symtab.h, options.h, fold-const.h,
1601 wide-int.h, and inchash.h due to flattening of tree.h.
1602 * data-streamer.c: Ditto.
1603 * data-streamer-in.c: Ditto.
1604 * data-streamer-out.c: Ditto.
1607 * ddg.c: Add include of symtab.h due to flattening of tree.h.
1608 * debug.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1609 input.h, alias.h, symtab.h, options.h, fold-const.h,
1610 wide-int.h, and inchash.h due to flattening of tree.h.
1613 * dojump.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1614 input.h, alias.h, symtab.h, options.h, fold-const.h,
1615 wide-int.h, inchash.h and real.h due to flattening of tree.h.
1616 * double-int.c: Ditto.
1618 * dumpfile.c: Ditto.
1619 * dwarf2asm.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1620 input.h, alias.h, symtab.h, fold-const.h,
1621 wide-int.h, inchash.h and real.h due to flattening of tree.h.
1622 * dwarf2cfi.c: Ditto.
1623 * dwarf2out.c: Ditto.
1624 * emit-rtl.c: Ditto.
1627 * expmed.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1628 input.h, alias.h, symtab.h, fold-const.h,
1629 wide-int.h, and inchash.h due to flattening of tree.h.
1632 * fixed-value.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1633 input.h, alias.h, symtab.h, fold-const.h,
1634 wide-int.h, inchash.h and fixed-value.h due to flattening of tree.h.
1635 * fold-const.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1636 input.h, alias.h, symtab.h, fold-const.h,
1637 wide-int.h, and inchash.h due to flattening of tree.h.
1638 Relocate inline function convert_to_ptrofftype_loc from tree.h.
1639 Relocate inline function fold_build_pointer_plus_loc from tree.h.
1640 Relocate inline function fold_build_pointer_plus_hwi_loc from tree.h.
1641 * fold-const.h: Relocate macro convert_to_ptrofftype from tree.h.
1642 Relocate macro fold_build_pointer_plus to relocate from tree.h.h.
1643 Relocate macro fold_build_pointer_plus_hwi from tree.h.
1644 Add prototype for convert_to_ptrofftype_loc relocated from tree.h.
1645 Add prototype for fold_build_pointer_plus_loc relocated from tree.h.
1646 Add prototype for fold_build_pointer_plus_hwi_loc relocated from tree.h.
1647 * function.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1648 input.h, alias.h, symtab.h, fold-const.h,
1649 wide-int.h, and inchash.h due to flattening of tree.h.
1650 * gcc-plugin.h: Include statistics.h, double-int.h, real.h, fixed-value.h,
1651 alias.h, flags.h, and symtab.h due to flattening of tree.h
1653 * generic-match-head.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1654 input.h, alias.h, symtab.h, options.h, fold-const.h,
1655 wide-int.h, and inchash.h due to flattening of tree.h.
1656 * ggc-page.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1657 input.h, alias.h, symtab.h, fold-const.h,
1658 wide-int.h, and inchash.h due to flattening of tree.h.
1659 * gimple-builder.c: Ditto.
1661 * gimple-expr.c: Ditto.
1662 * gimple-fold.c: Ditto.
1663 * gimple-iterator.c: Ditto.
1664 * gimple-low.c: Ditto.
1665 * gimple-match-head.c: Ditto.
1666 * gimple-pretty-print.c: Ditto.
1667 * generic-ssa-isolate-paths.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1668 input.h, alias.h, symtab.h, options.h, fold-const.h,
1669 wide-int.h, and inchash.h due to flattening of tree.h.
1670 * gimple-ssa-strength-reduction.c: Ditto.
1671 * gimple-streamer-in.c: Ditto.
1672 * gimple-streamer-out.c: Ditto.
1673 * gimple-walk.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1674 input.h, alias.h, symtab.h, fold-const.h,
1675 wide-int.h, and inchash.h due to flattening of tree.h.
1676 * gimplify.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1677 input.h, alias.h, symtab.h, options.h, fold-const.h,
1678 wide-int.h, and inchash.h due to flattening of tree.h.
1679 * gimplify-me.c: Ditto.
1680 * graphite-blocking.c: Ditto.
1681 * graphite.c: Ditto.
1682 * graphite-dependencies.c: Ditto.
1683 * graphite-interchange.c: Ditto.
1684 * graphite-isl-ast-to-gimple.c: Ditto.
1685 * graphite-optimize-isl.c: Ditto.
1686 * graphite-poly.c: Ditto.
1687 * graphite-scop-detection.c: Ditto.
1688 * graphite-sese-to-poly.c: Ditto.
1689 * hw-doloop.c: Include symtab.h due to flattening of tree.h.
1691 * init-regs.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1692 input.h, alias.h, symtab.h, fold-const.h,
1693 wide-int.h, and inchash.h due to flattening of tree.h.
1694 * internal-fc.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1695 input.h, alias.h, symtab.h,options.h, fold-const.h,
1696 wide-int.h, and inchash.h due to flattening of tree.h.
1698 * ipa-chkp.c: Ditto.
1699 * ipa-comdats.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1700 input.h, alias.h, symtab.h, fold-const.h,
1701 wide-int.h, and inchash.h due to flattening of tree.h.
1702 * ipa-cp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1703 input.h, alias.h, symtab.h,options.h, fold-const.h,
1704 wide-int.h, and inchash.h due to flattening of tree.h.
1705 * ipa-devirt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1706 input.h, alias.h, symtab.h, fold-const.h,
1707 wide-int.h, and inchash.h due to flattening of tree.h.
1708 * ipa-icf.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1709 input.h, alias.h, symtab.h,options.h, fold-const.h,
1710 wide-int.h, and inchash.h due to flattening of tree.h.
1711 * ipa-icf-gimple.c: Ditto.
1712 * ipa-inline-analysis.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1713 input.h, alias.h, symtab.h, fold-const.h,
1714 wide-int.h, and inchash.h due to flattening of tree.h.
1715 * ipa-inline.c: Ditto.
1716 * ipa-inline-transform.c: Ditto.
1717 * ipa-polymorhpic-call.c: Ditto.
1718 * ipa-profile.c: Ditto.
1719 * ipa-prop.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1720 input.h, alias.h, symtab.h, options.h, fold-const.h,
1721 wide-int.h, and inchash.h due to flattening of tree.h.
1722 * ipa-pure-const.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1723 input.h, alias.h, symtab.h, fold-const.h,
1724 wide-int.h, and inchash.h due to flattening of tree.h.
1725 * ipa-ref.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1726 input.h, alias.h, symtab.h, options.h, fold-const.h,
1727 wide-int.h, and inchash.h due to flattening of tree.h.
1728 * ipa-reference.c: Ditto.
1729 * ipa-split.c: Ditto.
1730 * ipa-utils.c: Ditto.
1731 * ipa-visbility.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1732 input.h, alias.h, symtab.h, fold-const.h,
1733 wide-int.h, and inchash.h due to flattening of tree.h.
1735 * ira-color.c: Include hash-set.h due to flattening of tree.h.
1736 * ira-costs.c: Ditto.
1737 * ira-emit.c: Ditto.
1738 * jump.c: Include symtab.h due to flattening of tree.h.
1739 * langhooks.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1740 input.h, alias.h, symtab.h, fold-const.h,
1741 wide-int.h, and inchash.h due to flattening of tree.h.
1742 * loop-doloop.c: Include symtab.h due to flattening of tree.h.
1743 * loop-init.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1744 input.h, alias.h, symtab.h, fold-const.h,
1745 wide-int.h, and inchash.h due to flattening of tree.h.
1746 * loop-invariant.c: Include symtab.h due to flattening of tree.h.
1748 * loop-unroll.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1749 input.h, alias.h, symtab.h, fold-const.h,
1750 wide-int.h, and inchash.h due to flattening of tree.h.
1751 * lower-subreg.c: Ditto.
1752 * lra-assigns.c: Include symtab.h due to flattening of tree.h.
1753 * lra.c: Include symtab.h, fold-const.h, wide-int.h and inchash.h
1754 due to flattening of tree.h.
1755 * lra-coalesce.c: Include symtab.h due to flattening of tree.h.
1756 * lra-constraints.c: Ditto.
1757 * lra-eliminations.c: Ditto.
1758 * lra-livesc: Ditto.
1759 * lra-remat.c: Ditto.
1760 * lra-spills.c: Ditto.
1761 * lto-cgraph.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1762 input.h, alias.h, symtab.h, fold-const.h,
1763 wide-int.h, and inchash.h due to flattening of tree.h.
1764 * lto-compress.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1765 input.h, alias.h, symtab.h, options, fold-const.h,
1766 wide-int.h, and inchash.h due to flattening of tree.h.
1767 * lto-opts.c: Ditto.
1768 * lto-section-in.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1769 input.h, alias.h, symtab.h, fold-const.h,
1770 wide-int.h, and inchash.h due to flattening of tree.h.
1771 * lto-section-out.c: Ditto.
1772 * lto-streamer.c: Ditto.
1773 * lto-streamer-in.c: Ditto.
1774 * lto-streamer-out.c: Ditto.
1775 * modulo-sched.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1776 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1777 inchash.h due to flattening of tree.h.
1778 * omega.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1779 input.h, alias.h, symtab.h, options, fold-const.h,
1780 wide-int.h, and inchash.h due to flattening of tree.h.
1781 * omega-low.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1782 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1783 inchash.h due to flattening of tree.h.
1785 * opts-global.c: Ditto.
1787 * plugin.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1788 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1789 inchash.h due to flattening of tree.h.
1790 * postreload.c: Include symtab.h due to flattening of tree.h.
1791 * postreload-gcse.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1792 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1793 inchash.h due to flattening of tree.h.
1795 * print-rtl.c: Ditto.
1796 * print-tree.c: Ditto.
1797 * profile.c: Include symtab.h, fold-const.h
1798 and inchash.h due to flattening of tree.h.
1799 * real.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1800 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1801 inchash.h due to flattening of tree.h.
1802 * realmpfr.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1803 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1804 inchash.h due to flattening of tree.h.
1805 * recog.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1806 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1807 inchash.h due to flattening of tree.h.
1810 * reg-stack.c: Ditto.
1811 * reload1.c: Include symtab.h, fold-const.h, wide-int.h
1812 and inchash.h due to flattening of tree.h.
1813 * reload.c: Include symtab.h due to flattening of tree.h.
1815 * rtlanal.c: Include symtab.h, fold-const.h, wide-int.h
1816 and inchash.h due to flattening of tree.h.
1817 * rtl-chkp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1818 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1819 inchash.h due to flattening of tree.h.
1820 * rtlhooks.c: Include symtab.h due to flattening of tree.h.
1821 * sanopt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1822 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1823 inchash.h due to flattening of tree.h.
1824 * sched-deps.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1825 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1826 inchash.h due to flattening of tree.h.
1827 * sched-vis.c: Ditto.
1829 * sel-sched.c: Include symtab.h, fold-const.h, wide-int.h
1830 and inchash.h due to flattening of tree.h.
1831 * sel-sched-ir.c: Ditto.
1832 * sese.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1833 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1834 inchash.h due to flattening of tree.h.
1835 * shrink-wrap.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1836 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1837 inchash.h due to flattening of tree.h.
1838 * simplify-rtx.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1839 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1840 inchash.h due to flattening of tree.h.
1841 * stack-ptr-mod.c: Ditto.
1843 * store-motion.c: Ditto.
1844 * store-layout.c: Ditto.
1845 * stringpool.c: Ditto.
1847 * target-globals.c: Ditto.
1848 * targhooks.c: Ditto.
1851 * trans-mem.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1852 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1853 inchash.h due to flattening of tree.h.
1854 * tree-affine.c: Ditto.
1855 * tree-browser.c: Ditto.
1856 * tree.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1857 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1858 inchash.h due to flattening of tree.h.
1859 * tree-call-cdce.c: Include symtab.h, alias.h, double-int.h,
1860 fold-const.h, wide-int.h, inchash.h and real.h due to
1861 flattening of tree.h.
1862 * tree-cfg.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1863 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1864 inchash.h due to flattening of tree.h.
1865 * tree-cfgcleanup.c: Ditto.
1866 * tree-chkp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1867 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1868 inchash.h due to flattening of tree.h.
1869 * tree-chkp-opt.c: Ditto.
1870 * tree-chrec.c: Ditto.
1871 * tree-chkp-opt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1872 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
1873 real.h due to flattening of tree.h.
1874 * tree-core.h: Flatten header file by removing all #include statements.
1875 * tree-data-ref.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1876 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1877 inchash.h due to flattening of tree.h.
1878 * tree-dfa.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1879 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
1880 real.h due to flattening of tree.h.
1881 * tree-diagnostic.c: Ditto.
1882 * tree-dump.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1883 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h, real.h and
1884 fixed-value.h due to flattening of tree.h.
1885 * tree-dfa.c: Ditto.
1886 * tree-eh.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1887 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
1888 real.h due to flattening of tree.h.
1889 * tree-emutls.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1890 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1891 inchash.h due to flattening of tree.h.
1892 * tree.h: Flatten header files by removing all includes except tree-core.h.
1893 Remove inline function convert_to_ptrofftype_loc to relocate to fold-const.c.
1894 Remove macro convert_to_ptrofftype to relocate to fold-const.h.
1895 Remove inline function fold_build_pointer_plus_loc to relocate to fold-const.c.
1896 Remove macro fold_build_pointer_plus to relocate to fold-const.h.
1897 Remove inline function fold_build_pointer_plus_hwi_loc to relocate to fold-const.c.
1898 Remove macro fold_build_pointer_plus_hwi to relocate to fold-const.h.
1899 * tree-if-conv.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1900 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h, real.h and
1901 fixed-value.h due to flattening of tree.h.
1902 * tree-inline.c: Ditto.
1903 * tree-into-ssa.c: Ditto.
1904 * tree-iterator.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1905 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1906 inchash.h due to flattening of tree.h.
1907 * tree-loop-distribution.c: Ditto.
1908 * tree-nested.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1909 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1910 due to flattening of tree.h.
1911 * tree-nrv.c: Ditto.
1912 * tree-object-size.c: Ditto.
1913 * tree-outof-ssa.c: Ditto.
1914 * tree-parloops.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1915 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1916 inchash.h due to flattening of tree.h.
1917 * tree-phinodes.c: Ditto.
1918 * tree-predcom.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1919 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1920 due to flattening of tree.h.
1921 * tree-pretty-print.c: Ditto.
1922 * tree-profile.c: double-int.h, input.h, alias.h, symtab.h,
1923 fold-const.h, wide-int.h and inchash.h due to flattening of tree.h.
1924 * tree-scalar-evolution.c: Include hash-set.h, machmode.h, vec.h,
1925 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1926 wide-int.h and inchash.h due to flattening of tree.h.
1927 * tree-sra.c: Include vec.h, double-int.h,
1928 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1929 inchash.h due to flattening of tree.h.
1930 * tree-ssa-alias.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1931 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1932 due to flattening of tree.h.
1933 * tree-ssa.c: Ditto.
1934 * tree-ssa-ccp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1935 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h
1936 and real.h due to flattening of tree.h.
1937 * tree-ssa-coalesce.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1938 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1939 due to flattening of tree.h.
1940 * tree-ssa-copy.c: Ditto.
1941 * tree-ssa-copyrename.c: Ditto.
1942 * tree-ssa-dce.c: Ditto.
1943 * tree-ssa-dom.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1944 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h
1945 and real.h due to flattening of tree.h.
1946 * tree-ssa-dse.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1947 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1948 due to flattening of tree.h.
1949 * tree-ssa-forwprop.c: Ditto.
1950 * tree-ssa-ifcombine.c: Ditto.
1951 * tree-ssa-live.c: Ditto.
1952 * tree-ssa-loop.c: Ditto.
1953 * tree-ssa-loop-ch.c: Ditto.
1954 * tree-ssa-loop-im.c: Ditto.
1955 * tree-ssa-loop-ivcanon.c: Ditto.
1956 * tree-ssa-loop-ivopts.c: Ditto.
1957 * tree-ssa-loop-manip.c: Ditto.
1958 * tree-ssa-loop-niter.c: Ditto.
1959 * tree-ssa-loop-prefetch.c: Ditto.
1960 * tree-ssa-loop-unswitch.c: Ditto.
1961 * tree-ssa-loop-math-opts.c: Ditto.
1962 * tree-ssanames.c: Ditto.
1963 * tree-ssa-operands.c: Ditto.
1964 * tree-ssa-phiopt.c: Ditto.
1965 * tree-ssa-phiprop.c: Ditto.
1966 * tree-ssa-pre.c: Ditto.
1967 * tree-ssa-propagate.c: Ditto.
1968 * tree-ssa-reassoc.c: Ditto.
1969 * tree-ssa-sccvn.c: Ditto.
1970 * tree-ssa-sink.c: Ditto.
1971 * tree-ssa-strlen.c: Include hash-set.h, machmode.h, vec.h,
1972 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1973 wide-int.h and inchash.h due to flattening of tree.h.
1974 * tree-ssa-structalias.c: double-int.h, input.h, alias.h, symtab.h,
1975 fold-const.h, wide-int.h and inchash.h due to flattening of tree.h.
1976 * tree-ssa-tail-merge.c: Include hash-set.h, machmode.h, vec.h,
1977 double-int.h, input.h, alias.h, symtab.h, fold-const.h,
1978 wide-int.h and inchash.h due to flattening of tree.h.
1979 * tree-ssa-ter.c: Ditto.
1980 * tree-ssa-threadedge.c: Ditto.
1981 * tree-ssa-threadupdate.c: Include hash-set.h, machmode.h, vec.h,
1982 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1983 wide-int.h and inchash.h due to flattening of tree.h.
1984 * tree-ssa-uncprop.c: Include hash-set.h, machmode.h, vec.h,
1985 double-int.h, input.h, alias.h, symtab.h, fold-const.h,
1986 wide-int.h and inchash.h due to flattening of tree.h.
1987 * tree-ssa-uninit.c: Ditto.
1988 * tree-stdarg.c: Include vec.h, double-int.h, input.h, alias.h,
1989 symtab.h, fold-const.h, wide-int.h and inchash.h due to flattening
1991 * tree-streamer.c: Include vec.h, double-int.h, input.h, alias.h,
1992 symtab.h, options.h, fold-const.h, wide-int.h and
1993 inchash.h due to flattening of tree.h.
1994 * tree-streamer-in.c: Include hash-set.h, machmode.h, vec.h,
1995 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1996 wide-int.h, inchash.h, real.h and fixed-value.h due to flattening
1998 * tree-streamer-out.c: Dittoo.
1999 * tree-switch-conversion.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
2000 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
2001 due to flattening of tree.h.
2002 * tree-tailcall.c: Ditto.
2003 * tree-vect-data-refs.c: Ditto.
2004 * tree-vect-generic.c: Include hash-set.h, machmode.h, vec.h, double-int.h, input.h,
2005 alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
2006 due to flattening of tree.h.
2007 * tree-vect-loop.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
2008 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
2009 due to flattening of tree.h.
2010 * tree-vect-loop-manip.c: Ditto.
2011 * tree-vectorizer.c: Ditto.
2012 * tree-vect-patterns.c: Ditto.
2013 * tree-vect-slp.c: Ditto.
2014 * tree-vect-stmts.c: Ditto.
2015 * tree-vrp.c: Ditto.
2016 * tsan.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
2017 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
2018 due to flattening of tree.h.
2020 * value-prof.c.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
2021 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
2022 due to flattening of tree.h.
2025 * var-tracking.c: Ditto.
2026 * vmsdbgout.c: Ditto.
2027 * vtable-verify.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
2028 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
2029 due to flattening of tree.h.
2030 * wide-int.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
2031 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
2032 due to flattening of tree.h.
2033 * xcoffout.c: Ditto.
2035 2015-01-09 Tom de Vries <tom@codesourcery.com>
2037 PR rtl-optimization/64539
2038 * regcprop.c (kill_clobbered_values): Factor out of ...
2039 (copyprop_hardreg_forward_1): ... here. Use kill_clobbered_values
2040 instead of note_stores with kill_clobbered_value.
2042 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2044 * ginclude/unwind-arm-common.h: Revert previous commit.
2046 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2048 * config.gcc (arm*-*-freebsd*): New configuration.
2049 * config/arm/freebsd.h: New file.
2050 * config.host: Add extra components for arm*-*-freebsd*.
2051 * config/arm/arm.h: Introduce MAX_SYNC_LIBFUNC_SIZE.
2052 * config/arm/arm.c (arm_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE.
2054 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2056 * config/rs6000/rtems.h (CPP_OS_RTEMS_SPEC): Define __PPC_CPU_E6500__
2058 * config/rs6000/t-rtems: Add e6500 multilibs.
2060 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2062 * config/rs6000/t-rtems: Add -mno-spe to soft-float multilib for
2065 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2067 * config/rs6000/t-rtems: Use MULTILIB_REQUIRED instead of
2068 MULTILIB_EXCEPTIONS.
2070 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2072 * config/arm/t-rtems: Use MULTILIB_REQUIRED instead of
2073 MULTILIB_EXCEPTIONS.
2075 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2077 * config/arm/t-rtems-eabi: Rename to...
2078 * config/arm/t-rtems: ...this.
2079 * config/arm/rtems-eabi.h: Rename to...
2080 * config/arm/rtems.h: ...this.
2081 * config.gcc (arm*-*-rtems*): Reflect changes above.
2083 2015-01-09 Richard Biener <rguenther@suse.de>
2085 PR tree-optimization/64410
2086 * tree-ssa.c (non_rewritable_lvalue_p): Allow REALPART/IMAGPART_EXPR
2088 (execute_update_addresses_taken): Deal with that.
2089 * tree-ssa-forwprop.c (pass_forwprop::execute): Use component-wise
2090 loads/stores for complex variables.
2092 2015-01-09 Martin Liska <mliska@suse.cz>
2094 * ipa-icf-gimple.c (func_checker::compare_ssa_name): Enhance SSA
2096 (func_checker::compare_memory_operand): New function.
2097 (func_checker::compare_operand): Split case to newly
2099 (func_checker::compare_cst_or_decl): New function.
2100 (func_checker::compare_gimple_call): Identify
2102 (func_checker::compare_gimple_assign): Likewise.
2103 * ipa-icf-gimple.h: New function.
2105 2015-01-09 Martin Liska <mliska@suse.cz>
2108 * sreal.c (sreal::dump): Change unsigned format to signed for
2110 (sreal::to_double): Replace exp2 with scalbln.
2112 2015-01-09 Martin Liska <mliska@suse.cz>
2114 * cgraphunit.c (cgraph_node::create_wrapper): Fix level of indentation.
2115 * ipa-icf.c (sem_function::equals_private): Add support for target and
2116 (sem_item_optimizer::merge_classes): Remove redundant function
2117 optimization flags comparison.
2118 * tree.h (target_opts_for_fn): New function.
2120 2015-01-09 Tom de Vries <tom@codesourcery.com>
2122 * omp-low.c (expand_omp_for_static_chunk): Fix assert.
2124 2015-01-09 Kito Cheng <kito@0xlab.org>
2126 PR rtl-optimization/64348
2127 * lra-constraints.c (split_reg): Fix caller-save store/restore
2128 instruction generation.
2130 2015-01-08 John David Anglin <danglin@gcc.gnu.org>
2132 PR gcov-profile/61790
2133 * gcov-tool.c (do_rewrite): Use strtoll instead of atoll if host has
2134 long long. Fallback to int64_t if host doesn't have long long and
2135 use strtol if int64_t is long. Otherwise, use sscanf for conversion.
2137 2015-01-08 Jakub Jelinek <jakub@redhat.com>
2139 PR tree-optimization/63989
2140 * params.def (PARAM_MAX_TRACKED_STRLENS): Increment default
2142 * tree-ssa-strlen.c (get_strinfo): Moved earlier.
2143 (get_stridx): If we don't have a record for certain SSA_NAME,
2144 but it is POINTER_PLUS_EXPR of some SSA_NAME we do with
2145 constant offset, call get_stridx_plus_constant.
2146 (get_stridx_plus_constant): New function.
2147 (zero_length_string): Don't use get_stridx here.
2151 * dse.c (struct insn_info): Mention frame_read set also
2152 before reload for tail calls on some targets.
2153 (scan_insn): Revert 2014-12-22 change. Set frame_read
2154 also before reload for tail calls if
2155 HARD_FRAME_POINTER_IS_ARG_POINTER. Call add_wild_read
2156 instead of add_non_frame_wild_read for non-const/memset
2157 tail calls after reload.
2159 2015-01-08 Jason Merrill <jason@redhat.com>
2161 * ubsan.c (do_ubsan_in_current_function): New.
2162 (pass_ubsan::gate): Use it.
2163 * ubsan.h: Declare it.
2164 * convert.c (convert_to_integer): Use it.
2166 2015-01-08 Jakub Jelinek <jakub@redhat.com>
2169 * config/i386/i386.c (ix86_expand_int_movcc): Don't reverse
2170 compare_code when it is unconditionally overwritten afterwards.
2171 Use ix86_reverse_condition instead of reverse_condition. Don't
2172 change code if *reverse_condition* returned UNKNOWN and don't
2173 swap ct/cf and negate diff in that case.
2175 2015-01-08 Mike Stump <mikestump@comcast.net>
2177 * tsan.c (pass_tsan::gate): Add no_sanitize_thread support.
2178 (pass_tsan_O0::gate): Likewise.
2179 * extend.texi (Function Attributes): Add no_sanitize_thread
2182 2015-01-08 Thomas Schwinge <thomas@codesourcery.com>
2184 * builtins.def (DEF_GOMP_BUILTIN): Also consider flag_offload_abi
2185 for registering builtins.
2186 * config/i386/intelmic-mkoffload.c (prepare_target_image): Don't
2187 add -fopenmp to the argv_obstack used when invoking
2190 * config/i386/intelmic-mkoffload.c (compile_for_target): Always
2191 add "-m32" or "-m64" to argv_obstack.
2192 (generate_host_descr_file): Likewise, when invoking host_compiler.
2193 (main): Always add "-m elf_i386" or "-m elf_x86_64" when invoking
2196 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
2198 * config/sh/sh-mem.cc: Use constant as second operand when emitting
2201 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
2204 * config/sh/sh.md (*addsi3_compact): Emit reg-reg copy instead of
2205 constant load if constant operand fits into I08.
2207 2015-01-08 Jakub Jelinek <jakub@redhat.com>
2210 * tree.c (build2_stat): Fix up initialization of TREE_READONLY
2211 and TREE_THIS_VOLATILE for MEM_REFs.
2212 (build5_stat): Fix up initialization of TREE_READONLY and
2213 TREE_THIS_VOLATILE for TARGET_MEM_REFs.
2215 2015-01-08 Kaz Kojima <kkojima@gcc.gnu.org>
2218 * config/sh/sh.md (*addsi3_compact): Use u constraint instead
2219 of r for the second alternative of the destination operand.
2221 2015-01-07 Segher Boessenkool <segher@kernel.crashing.org>
2224 * config/rs6000/rs6000.md (*eqsi3_ext<mode>, *nesi3_ext<mode>): New.
2226 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
2228 * doc/invoke.texi ([-fvtable-verify]): Fix markup on option
2230 ([-fivar-visibility], [-fvisibility]): Likewise.
2232 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
2234 * doc/invoke.texi: Fix incorrect uses of @samp markup throughout
2235 the file where @code, @command, etc is more appropriate.
2237 2015-01-06 Sandra Loosemore <sandra@codesourcery.com>
2239 * doc/invoke.texi (RS/6000 and PowerPC Options): Tidy formatting
2240 of -mrecip= documentation.
2242 2015-01-06 Michael Meissner <meissner@linux.vnet.ibm.com>
2245 * config/rs6000/rs6000.c (rs6000_secondary_reload): Return the
2246 correct reload handler if -m32 -mpowerpc64 is used.
2248 2015-01-06 Tom de Vries <tom@codesourcery.com>
2250 * tree-ssa-tail-merge.c: Fix typo in struct same_succ_def comment.
2252 2015-01-08 Christian Bruel <christian.bruel@st.com>
2255 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Check 0 length.
2257 2015-01-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2259 PR tree-optimization/63259
2260 * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Stop checking
2261 if optab exists for 16bit byteswap.
2263 2015-01-06 Jakub Jelinek <jakub@redhat.com>
2265 * opts.c (common_handle_option): Add support for
2266 -fno-sanitize=all and -f{,no-}sanitize-recover=all.
2267 * doc/invoke.texi: Document -fno-sanitize=all,
2268 -f{,no-}sanitize-recover=all. Document that
2269 -fsanitize=float-cast-overflow is not enabled
2270 by -fsanitize=undefined. Fix up documentation
2271 of -f{,no-}sanitize-recover.
2273 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2275 * config.gcc: Add Visium support.
2276 * configure.ac: Likewise.
2277 * configure: Regenerate.
2278 * doc/extend.texi (interrupt attribute): Add Visium.
2279 * doc/invoke.texi: Document Visium options.
2280 * doc/install.texi: Document Visium target.
2281 * doc/md.texi: Document Visium constraints.
2282 * common/config/visium: New directory.
2283 * config/visium: Likewise.
2285 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
2287 * simplify-rtx.c (simplify_binary_operation_1): Handle more cases
2288 for the "(and X (ior (not X) Y) -> (and X Y)" transform.
2290 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
2292 * combine.c (combine_validate_cost): Do not count the cost of a
2293 split I2 twice. Do not display it twice in the dump, either.
2295 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
2297 Revert parts of r219199.
2298 * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
2300 ([-Wtraditional]): Restore markup on <limits.h>.
2302 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
2305 * doc/invoke.texi: Document -Wsuggest-override.
2307 2015-01-05 Radovan Obradovic <radovan.obradovic@imgtec.com>
2309 PR rtl-optimization/64287
2310 * toplev.c (HAVE_epilogue, HAVE_prologue): Provide default.
2311 (process_options): Disable flag_ipa_ra if profiling.
2313 2015-01-05 Eric Botcazou <ebotcazou@adacore.com>
2315 * config/nds32/nds32-peephole2.md: Do not mention define_peephole.
2317 2015-01-05 Max Filippov <jcmvbkbc@gmail.com>
2319 * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
2320 hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
2321 put under #if TARGET_LOOPS guard.
2323 2015-01-05 Uros Bizjak <ubizjak@gmail.com>
2325 * config/i386/i386.c (output_387_binary_op): Use std::swap.
2327 2015-01-05 Oleg Endo <olegendo@gcc.gnu.org>
2329 * rtlanal.c (refers_to_regno_p): Change return value from int to bool.
2330 * rtl.h (refers_to_regno_p): Add overload.
2332 * bt-load.c: Likewise.
2333 * combine.c: Likewise.
2334 * df-scan.c: Likewise.
2335 * sched-deps.c: Likewise.
2336 * config/s390/s390.c: Likewise.
2337 * config/m32r/m32r.c: Likewise.
2338 * config/rs6000/spe.md: Likewise.
2339 * config/rs6000/rs6000.c: Likewise.
2340 * config/pa/pa.c: Likewise.
2341 * config/stormy16/stormy16.c: Likewise.
2342 * config/cris/cris.c: Likewise.
2343 * config/arc/arc.md: Likewise.
2344 * config/arc/arc.c: Likewise.
2345 * config/sh/sh.md: Likewise.
2346 * config/sh/sh.c: Likewise.
2347 * config/frv/frv.c: Likewise.
2349 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2352 * gimplify.c (gimplify_function_tree): Add TSAN_FUNC_EXIT internal
2353 call as cleanup of the whole body.
2354 * internal-fn.def (TSAN_FUNC_EXIT): New internal call.
2355 * tsan.c (replace_func_exit): New function.
2356 (instrument_func_exit): Moved earlier.
2357 (instrument_memory_accesses): Adjust TSAN_FUNC_EXIT internal calls.
2358 Call instrument_func_exit if no TSAN_FUNC_EXIT internal calls have
2360 (tsan_pass): Don't call instrument_func_exit.
2361 * internal-fn.c (expand_TSAN_FUNC_EXIT): New function.
2362 * tree-inline.c (copy_bb): Drop TSAN_FUNC_EXIT internal calls during
2366 * ubsan.h (ubsan_instrument_float_cast): Add ARG argument.
2367 * ubsan.c (ubsan_instrument_float_cast): Add ARG argument, pass
2368 it to libubsan handler instead of EXPR. Fold comparisons earlier,
2369 if the result is integer_zerop, return NULL_TREE.
2370 * convert.c (convert_to_integer): Pass expr as ARG.
2372 PR tree-optimization/64465
2373 * tree-inline.c (redirect_all_calls): During inlining
2374 clean up EH stmts and EH edges if redirect_call_stmt_to_callee
2375 changed the stmt to a non-throwing call.
2377 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
2379 * doc/invoke.texi: Fix incorrect uses of @code, @option, @samp,
2380 etc markup throughout the file.
2382 2015-01-05 Bernd Edlinger <bernd.edlinger@hotmail.de>
2384 Enable experimental TSAN support for Ada.
2385 * tsan.c (instrument_expr): Handle VIEW_CONVERT_EXPR.
2387 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2389 PR tree-optimization/64494
2390 * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
2391 clear SSA_NAME_ANTI_RANGE_P flag.
2393 2015-01-05 Marek Polacek <polacek@redhat.com>
2395 * doc/extend.texi (Arrays of Length Zero): Add missing comma.
2397 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2399 Update copyright years.
2401 * gcc.c (process_command): Update copyright notice dates.
2402 * gcov-dump.c: Ditto.
2404 * doc/cpp.texi: Bump @copying's copyright year.
2405 * doc/cppinternals.texi: Ditto.
2406 * doc/gcc.texi: Ditto.
2407 * doc/gccint.texi: Ditto.
2408 * doc/gcov.texi: Ditto.
2409 * doc/install.texi: Ditto.
2410 * doc/invoke.texi: Ditto.
2412 * auto-profile.c, auto-profile.h: Fix up Copyright line.
2414 2015-01-04 Sandra Loosemore <sandra@codesourcery.com>
2416 * doc/invoke.texi ([-fsized-deallocation]): Copy-edit to fix
2418 ([-fvtable-verify], [-fvtv-debug]): Likewise.
2419 ([-Wabi]): Likewise.
2420 ([-fmessage-length]): Likewise.
2421 ([-Wsuggest-final-types], [-Wsuggest-final-methods]): Likewise.
2422 ([-Wno-discarded-qualifiers]): Likewise.
2423 ([-Wnodiscarded-array-qualifiers]): Likewise.
2424 ([-Wno-virtual-move-assign]): Likewise.
2425 ([-fsanitize=address], [-fsanitize=thread]): Likewise.
2426 ([-fsanitize=leak], [-fsanitize=undefined]): Likewise.
2427 ([-fsanitize=unreachable], [-fsanitize-recover]): Likewise.
2428 ([-fsanitize-undefined-trap-on-error]): Likewise.
2429 ([-floop-interchange]): Likewise.
2430 ([-ftree-coalesce-inlined-vars]): Likewise.
2431 ([-fvect-cost-model]): Likewise.
2432 ([-flto]): Likewise.
2433 ([--param]): Likewise.
2434 (Spec Files): Likewise.
2435 ([-mstrict-align]): Likewise.
2436 ([-mfix-cortex-a53-835769]): Likewise.
2437 ([-march], [-mtune]): Likewise.
2438 ([-mpic-register]): Likewise.
2439 ([-munaligned-access]): Likewise.
2440 ([-msp8]): Likewise.
2441 (EIND and Devices with more than 128 Ki Bytes of Flash): Likewise.
2442 (AVR Built-in Macros): Likewise.
2443 ([-mpreferred-stack-boundary]): Likewise.
2444 ([-mtune-crtl]): Likewise.
2445 ([-mashf]): Likewise.
2446 ([-mmcu=]): Likewise.
2447 ([-minrt]): Likewise.
2448 ([-maltivec], [-maltivec=be], [-maltivec=le]): Likewise.
2449 ([-mupper-regs]): Likewise.
2450 ([-matomic-model]): Likewise.
2451 ([-mdiv]): Likewise.
2452 ([-mzdcbranch]): Likewise.
2453 ([-mdisable-callt]): Likewise.
2454 ([-msoft-float]): Likewise.
2455 ([-m8byte-align]): Likewise.
2456 ([-fstack-reuse]): Likewise.
2458 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
2460 * doc/invoke.texi ([-fprofile-generate], [-fprofile-use]):
2461 Fix markup, light copy-editing.
2462 ([-fauto-profile]): Rewrite to fix formatting and content
2465 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
2467 * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]):
2468 Copy-edit description.
2469 ([-fisolate-erroneous-paths-attribute]): Likewise.
2470 * common.opt (fisolate-erroneous-paths-dereference):
2471 Copy-edit description.
2472 (fisolate-erroneous-paths-attribute): Likewise.
2474 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
2476 * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
2479 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
2481 * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
2482 ([-fvtv-debug]): Likewise.
2483 ([-Wc++-compat]): Likewise.
2484 ([-Wc++11-compat]): Likewise.
2485 ([-Wc++14-compat]): Likewise.
2486 ([-Wno-sized-deallocation]): Likewise.
2487 ([-femit-class-debug-always]): Likewise.
2488 ([-femit-struct-debug-detailed]): Likewise.
2489 ([-fno-keep-inline-dllexport]): Likewise.
2490 ([-fira-algorithm]): Likewise.
2491 ([-fira-region]): Likewise.
2492 ([-flra-remat]): Likewise.
2493 ([-fipa-ra]): Likewise.
2494 ([-fhoist-adjacent-loads]): Likewise.
2495 ([-fisolate-erroneous-paths-dereference]): Likewise.
2496 ([-fisolate-erroneous-paths-attribute]): Likewise.
2497 ([-ftree-switch-conversion]): Likewise.
2498 ([-ftree-tail-merge]): Likewise.
2499 ([-ftree-loop-if-convert]): Likewise.
2500 ([-ftree-loop-if-convert-stores]): Likewise.
2501 ([-ftree-loop-distribution]): Likewise.
2502 ([-ftree-loop-distribute-patterns]): Likewise.
2503 ([-flto-compression-level]): Likewise.
2504 ([-flto-report]): Likewise.
2505 ([-flto-report-wpa]): Likewise.
2506 ([-fuse-linker-plugin]): Likewise.
2507 ([-mfix-cortex-a53-835769]): Likewise.
2508 ([-mno-fix-cortex-a53-835769]): Likewise.
2509 ([-mmmx]...[-mno-3dnow]): Remove the -mno- forms from the
2510 explicit listing; add a note to the discussion indicating they
2511 exist. Reorder table to group similar options. Add missing
2512 @opindex entries. Add @need commands throughout the table to
2513 allow it to be split across multiple pages.
2514 ([-m8bit-idiv]): Fix @opindex.
2515 ([-mavx256-split-unaligned-load]): Likewise.
2516 ([-mavx256-split-unaligned-store]): Likewise.
2517 ([-mstack-protector-guard]): Likewise.
2518 ([-mcpu=]): Likewise.
2519 ([-mcpu]): Likewise.
2520 ([-mpointer-size=]): Likewise.
2522 2015-01-03 John David Anglin <danglin@gcc.gnu.org>
2524 * config/pa/pa.md (decrement_and_branch_until_zero): Use `Q' constraint
2525 instead of `m' constraint. Likewise for unnamed movb comparison
2526 patterns using reg_before_reload_operand predicate.
2527 * config/pa/predicates.md (reg_before_reload_operand): Tighten
2528 predicate to reject register index and LO_SUM DLT memory forms
2531 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
2533 * doc/invoke.texi (Option Summary): Fix spelling of
2534 -fdevirtualize-at-ltrans.
2535 ([-fdevirtualize]): Fix markup.
2536 ([-fdevirtualize-speculatively]): Fix typo.
2537 ([-fdevirtualize-at-ltrans]): Likewise. Make description less
2539 * common.opt (fdevirtualize-at-ltrans): Likewise.
2540 * ipa-devirt.c: Fix typos in comments throughout the file.
2541 (ipa_devirt): Fix typos in format strings for dump output.
2543 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
2545 * doc/invoke.texi ([-fopt-info]): Fix markup, consolidate
2546 discussion of defaults, light copy-editing.
2548 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
2550 * tsan.c (instrument_expr): corrected previous checkin.
2552 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
2554 Instrument bit field and unaligned accesses for TSAN.
2555 * sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
2556 (BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
2557 * tsan.c (instrument_expr): Handle COMPONENT_REF and BIT_FIELD_REF.
2558 Use BUILT_IN_TSAN_READ_RANGE and BUILT_IN_TSAN_WRITE_RANGE for
2559 unaligned memory regions.
2561 2015-01-01 Anthony Green <green@moxielogic.com>
2563 * config/moxie/predicates.md (moxie_general_movsrc_operand):
2564 Restrict move source register offsets to 16 bits.
2566 Copyright (C) 2015 Free Software Foundation, Inc.
2568 Copying and distribution of this file, with or without modification,
2569 are permitted in any medium without royalty provided the copyright
2570 notice and this notice are preserved.