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