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