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