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