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