]>
Commit | Line | Data |
---|---|---|
146b8692 JJ |
1 | 2013-04-11 Jakub Jelinek <jakub@redhat.com> |
2 | ||
3 | PR tree-optimization/56899 | |
4 | * fold-const.c (extract_muldiv_1): Apply distributive law | |
5 | only if TYPE_OVERFLOW_WRAPS (ctype). | |
6 | ||
b8578ff7 BC |
7 | 2013-04-11 Bin Cheng <bin.cheng@arm.com> |
8 | ||
9 | PR target/56124 | |
10 | * ira-costs.c (scan_one_insn): Check whether the source rtx of | |
11 | loading has side effect. | |
12 | ||
0ea8a6f9 SB |
13 | 2013-04-10 Steven Bosscher <steven@gcc.gnu.org> |
14 | ||
15 | * config/sparc/sparc.c: Include tree-pass.h. | |
16 | (TARGET_MACHINE_DEPENDENT_REORG): Do not redefine. | |
17 | (sparc_reorg): Rename to sparc_do_work_around_errata. Move to | |
18 | head of file. Change return type. Split off gate function. | |
19 | (sparc_gate_work_around_errata): New function. | |
20 | (pass_work_around_errata): New pass definition. | |
21 | (insert_pass_work_around_errata) New pass insert definition to | |
22 | insert pass_work_around_errata just after delayed-branch scheduling. | |
23 | (sparc_option_override): Insert the pass. | |
24 | * config/sparc/t-sparc (sparc.o): Add TREE_PASS_H dependence. | |
25 | ||
42e37616 DM |
26 | 2013-04-10 David S. Miller <davem@davemloft.net> |
27 | ||
89deeb3b DM |
28 | * config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=supersparc |
29 | or -mcpu=hypersparc. | |
30 | ||
42e37616 DM |
31 | * target.def (cstore_mode): New hook. |
32 | * target.h: Include insn-codes.h | |
33 | * targhooks.c: Likewise. | |
34 | (default_cstore_mode): New function. | |
35 | * targhooks.h: Declare it. | |
36 | * doc/tm.texi.in: New hook slot for TARGET_CSTORE_MODE. | |
37 | * doc/tm.texi: Rebuild. | |
38 | * expmed.c (emit_cstore): Obtain cstore boolean result mode using | |
39 | target hook, rather than inspecting the insn_data. | |
40 | * config/sparc/sparc.c (sparc_cstore_mode): New function. | |
41 | (TARGET_CSTORE_MODE): Redefine. | |
42 | (emit_scc_insn): When TARGET_ARCH64, emit new 64-bit boolean | |
43 | result patterns. | |
44 | * config/sparc/predicates.md (cstore_result_operand): New special | |
45 | predicate. | |
46 | * config/sparc/sparc.md (cstoresi4, cstoredi4, cstore<F:mode>4): | |
47 | Use it for operand 0. | |
48 | (*seqsi_special): Rewrite using 'P' mode iterator on operand 0. | |
49 | (*snesi_special): Likewise. | |
50 | (*snesi_zero): Likewise. | |
51 | (*seqsi_zero): Likewise. | |
52 | (*sltu_insn): Likewise. | |
53 | (*sgeu_insn): Likewise. | |
54 | (*seqdi_special): Make operand 0 and comparison operation be of | |
55 | DImode. | |
56 | (*snedi_special): Likewise. | |
57 | (*snedi_special_vis3): Likewise. | |
58 | (*neg_snesi_zero): Rename to *neg_snesisi_zero. | |
59 | (*neg_snesi_sign_extend): Rename to *neg_snesidi_zero. | |
60 | (*snesi_zero_extend): Delete, covered by 'P' mode iterator. | |
61 | (*neg_seqsi_zero): Rename to *neg_seqsisi_zero. | |
62 | (*neg_seqsi_sign_extend): Rename to *neg_seqsidi_zero. | |
63 | (*seqsi_zero_extend): Delete, covered by 'P' mode iterator. | |
64 | (*sltu_extend_sp64): Likewise. | |
65 | (*neg_sltu_insn): Rename to *neg_sltusi_insn. | |
66 | (*neg_sltu_extend_sp64): Rename to *neg_sltudi_insn. | |
67 | (*sgeu_extend_sp64): Delete, covered by 'P' mode iterator. | |
68 | (*neg_sgeu_insn): Rename to *neg_sgeusi_insn. | |
69 | (*neg_sgeu_extend_sp64): Rename to *neg_sgeudi_insn. | |
70 | ||
95ca411e YZ |
71 | 2013-04-10 Yufeng Zhang <yufeng.zhang@arm.com> |
72 | ||
73 | * config/aarch64/aarch64.c (aarch64_print_extension): New function. | |
74 | (aarch64_start_file): Use the new function. | |
75 | ||
6782438d SKS |
76 | 2013-04-10 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
77 | Jason Merrill <jason@redhat.com> | |
78 | ||
79 | * common.opt: Add -gdwarf. | |
80 | * opts.c (common_handle_option): Handle it. | |
81 | * gcc.c (ASM_DEBUG_SPEC): Don't expect "-2" for DWARF. | |
82 | ||
bb313b93 RB |
83 | 2013-04-10 Richard Biener <rguenther@suse.de> |
84 | ||
85 | * passes.c (execute_todo): Do not call ggc_collect conditional here. | |
86 | (execute_one_ipa_transform_pass): But unconditionally here. | |
87 | (execute_one_pass): And here. | |
88 | (init_optimization_passes): Remove reload pass. | |
89 | * tree-pass.h (TODO_ggc_collect): Remove. | |
90 | (pass_reload): Likewise. | |
91 | * ira.c (do_reload): Merge into ... | |
92 | (ira): ... this. | |
93 | (rest_of_handle_reload): Remove. | |
94 | (pass_reload): Likewise. | |
95 | * config/i386/i386.c (ix86_option_override): Refer to ira instead | |
96 | of reload for vzeroupper pass placement. | |
97 | * <everywhere>: Remove TODO_ggc_collect from todo_flags_start | |
98 | and todo_flags_finish of all passes. | |
99 | ||
793d9a16 RB |
100 | 2013-04-10 Richard Biener <rguenther@suse.de> |
101 | ||
102 | * tree-vectorizer.h (struct _slp_oprnd_info): Remove | |
103 | first_const_oprnd field, rename first_def_type to first_op_type. | |
104 | * tree-vect-slp.c (vect_create_oprnd_info): Adjust. | |
105 | (vect_get_and_check_slp_defs): Always use the type of the | |
106 | operand. Allow mixed vect_external_def, vect_constant_def types. | |
107 | (vect_get_constant_vectors): Handle mixed vect_external_def, | |
108 | vect_constant_def types. | |
109 | ||
ee8a9b7b JR |
110 | 2013-04-10 Joern Rennecke <joern.rennecke@embecosm.com> |
111 | ||
112 | PR tree-optimization/55524 | |
113 | * tree-ssa-math-opts.c | |
114 | (convert_mult_to_fma): Don't use an fms construct | |
115 | when we don't have an fms operation, but fnma, and it looks | |
116 | likely that we'll be able to use the latter. | |
117 | ||
6957a6f6 ZZ |
118 | 2013-04-10 Zhouyi Zhou <yizhouzhou@ict.ac.cn> |
119 | ||
120 | * cif-code.def (OVERWRITABLE): Correct the comment for overwritable | |
121 | function. | |
122 | * ipa-inline.c (can_inline_edge_p): Let dump mechanism report the | |
123 | inline fail caused by overwritable functions. | |
124 | ||
34ab4a5b CJW |
125 | 2013-04-10 Chung-Ju Wu <jasonwucj@gmail.com> |
126 | ||
127 | * combine.c (simplify_compare_const): Use GET_MODE_MASK to filter out | |
128 | unnecessary bits in the constant power of two case. | |
129 | ||
abf9bfbc RB |
130 | 2013-04-10 Richard Biener <rguenther@suse.de> |
131 | ||
132 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Remove | |
133 | broken code swapping operands. | |
134 | (vect_build_slp_tree): Do not compute load permutations here. | |
135 | (vect_analyze_slp_instance): Compute load permutations here, | |
136 | after building the SLP tree. | |
137 | ||
f408477e CB |
138 | 2013-04-09 Christian Bruel <christian.bruel@st.com> |
139 | ||
140 | * config/sh/sh.md (barrier_align): Use next/prev_active_insn instead | |
141 | of next/prev_real_insn. | |
142 | ||
5ac42672 JH |
143 | 2013-04-09 Jan Hubicka <jh@suse.cz> |
144 | ||
abf9bfbc RB |
145 | * ipa.c (cgraph_externally_visible_p, varpool_externally_visible_p): |
146 | Drop aliased parameter. | |
5ac42672 JH |
147 | (function_and_variable_visibility): Do not handle alias pairs. |
148 | * cgraph.c (varpool_externally_visible_p): Update prototype. | |
149 | * varpool.c (varpool_add_new_variable): Update. | |
150 | ||
5017f1d2 KT |
151 | 2013-04-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
152 | ||
153 | * config/arm/arm.md (minmax_arithsi_non_canon): New pattern. | |
154 | ||
48eecbee SB |
155 | 2013-04-09 Steven Bosscher <steven@gcc.gnu.org> |
156 | ||
a949cf1c SB |
157 | * sched-vis.c (print_pattern): Print SEQUENCE of insns as insns. |
158 | ||
48eecbee SB |
159 | * config/sparc/sparc.md: Use define_c_enum for "unspec" and "unspecv". |
160 | ||
75ef8e3d MP |
161 | 2013-04-09 Marek Polacek <polacek@redhat.com> |
162 | ||
163 | PR tree-optimization/48762 | |
164 | * params.def (PARAM_MAX_CSE_INSNS): Increase the minimum | |
165 | value to 1. | |
166 | ||
23847df4 RB |
167 | 2013-04-09 Richard Biener <rguenther@suse.de> |
168 | ||
169 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Remove code | |
170 | dealing with cost. | |
171 | (vect_build_slp_tree): Likewise. | |
172 | (vect_analyze_slp_cost_1, vect_analyze_slp_cost): New functions | |
173 | calculating the cost of a SLP instance. | |
174 | (vect_analyze_slp_instance): Use it from here, after building | |
175 | the SLP tree. | |
176 | ||
ea3a0fde JJ |
177 | 2013-04-09 Jakub Jelinek <jakub@redhat.com> |
178 | ||
179 | PR middle-end/56883 | |
180 | * omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk, | |
181 | expand_omp_for_static_chunk): Use simple_p = true in | |
182 | force_gimple_operand_gsi calls when assigning to addressable decls. | |
183 | ||
a32dfe9d JL |
184 | 2013-04-09 Jeff Law <law@redhat.com> |
185 | ||
186 | * tree-vrp.c (simplify_cond_using_ranges): Simplify test of boolean | |
187 | when the boolean was created by converting a wider object which | |
188 | had a boolean range. | |
189 | ||
d755c7ef RB |
190 | 2013-04-09 Richard Biener <rguenther@suse.de> |
191 | ||
192 | * tree-vectorizer.h (slp_void_p): Remove. | |
193 | (slp_tree): Typedef before _slp_tree declaration. | |
194 | (struct _slp_tree): Use a vector of slp_tree as children. | |
195 | (vect_get_place_in_interleaving_chain): Remove. | |
196 | * tree-vect-data-refs.c (vect_get_place_in_interleaving_chain): | |
197 | Move ... | |
198 | * tree-vect-slp.c (vect_get_place_in_interleaving_chain): ... here | |
199 | and make static. | |
200 | (vect_free_slp_tree, vect_print_slp_tree, vect_mark_slp_stmts, | |
201 | vect_mark_slp_stmts_relevant, vect_slp_rearrange_stmts, | |
202 | vect_detect_hybrid_slp_stmts, vect_slp_analyze_node_operations, | |
203 | vect_schedule_slp_instance, vect_remove_slp_scalar_calls): | |
204 | Use slp_node instead of slp_void_p and adjust. | |
205 | ||
3d741091 RB |
206 | 2013-04-09 Richard Biener <rguenther@suse.de> |
207 | ||
208 | * tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa): Avoid | |
209 | work that is not necessary. | |
210 | ||
39307ba7 JJ |
211 | 2013-04-09 Jakub Jelinek <jakub@redhat.com> |
212 | ||
213 | PR tree-optimization/56854 | |
214 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Don't | |
215 | forward into clobber stmts if it would change MEM_REF lhs into | |
216 | non-MEM_REF. | |
217 | ||
343881fd MK |
218 | 2013-04-09 Maxim Kuvyrkov <maxim@kugelworks.com> |
219 | ||
220 | * tree.c (type_hash_lookup, type_hash_add): Make static. | |
221 | * tree.h (type_hash_lookup, type_hash_add): Remove global declarations. | |
222 | ||
3922658a RB |
223 | 2013-04-09 Richard Biener <rguenther@suse.de> |
224 | ||
225 | * tree.h (unsave_expr_now): Remove. | |
226 | * tree-inline.c (mark_local_for_remap_r): Remove. | |
227 | (unsave_expr_1): Likewise. | |
228 | (unsave_r): Likewise. | |
229 | (unsave_expr_now): Likewise. | |
230 | * tree-ssa-copy.c (replace_exp_1): Use unshare_expr. | |
231 | (propagate_tree_value): Likewise. | |
232 | ||
9fb6b620 SB |
233 | 2013-04-08 Steven Bosscher <steven@gcc.gnu.org> |
234 | ||
235 | * doc/rtl.texi (sequence): Rewrite documentation to match the | |
236 | current use of SEQUENCE rtl objects. | |
237 | * rtl.def (SEQUENCE): Likewise. | |
238 | ||
239 | * doc/rtl.texi (NOTE_INSN_EH_REGION_BEG, NOTE_INSN_EH_REGION_END): | |
240 | Update documentation. | |
241 | (NOTE_INSN_LOOP_BEG, NOTE_INSN_LOOP_END, NOTE_INSN_LOOP_CONT, | |
242 | NOTE_INSN_LOOP_VTOP): Remove documentation for non-existing notes. | |
243 | ||
244 | * reg-notes.def (REG_EH_CONTEXT): Remove unused note. | |
245 | ||
8ddb5a29 TJ |
246 | 2013-04-08 Teresa Johnson <tejohnson@google.com> |
247 | ||
248 | * basic-block.h (GCOV_COMPUTE_SCALE): Define. | |
249 | * ipa-inline-analysis.c (param_change_prob): Use helper rounding divide | |
250 | methods. | |
251 | (estimate_edge_size_and_time): Add comment to suggest using rounding | |
252 | methods. | |
253 | (estimate_node_size_and_time): Ditto. | |
254 | (remap_edge_change_prob): Use helper rounding divide methods. | |
255 | * value-prof.c (gimple_divmod_fixed_value_transform): Ditto. | |
256 | (gimple_mod_pow2_value_transform): Ditto. | |
257 | (gimple_mod_subtract_transform): Ditto. | |
258 | (gimple_ic_transform): Ditto. | |
259 | (gimple_stringops_transform): Ditto. | |
260 | * stmt.c (conditional_probability): Ditto. | |
261 | (emit_case_dispatch_table): Ditto. | |
262 | * lto-cgraph.c (merge_profile_summaries): Ditto. | |
263 | * tree-optimize.c (execute_fixup_cfg): Ditto. | |
264 | * cfgcleanup.c (try_forward_edges): Ditto. | |
265 | * cfgloopmanip.c (scale_loop_profile): Ditto. | |
266 | (loopify): Ditto. | |
267 | (duplicate_loop_to_header_edge): Ditto. | |
268 | (lv_adjust_loop_entry_edge): Ditto. | |
269 | * tree-vect-loop.c (vect_transform_loop): Ditto. | |
270 | * profile.c (compute_branch_probabilities): Ditto. | |
271 | * cfgbuild.c (compute_outgoing_frequencies): Ditto. | |
272 | * lto-streamer-in.c (input_cfg): Ditto. | |
273 | * gimple-streamer-in.c (input_bb): Ditto. | |
274 | * ipa-cp.c (update_profiling_info): Ditto. | |
275 | (update_specialized_profile): Ditto. | |
276 | * tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): Ditto. | |
277 | * cfg.c (update_bb_profile_for_threading): Add comment to suggest using | |
278 | rounding methods. | |
279 | * sched-rgn.c (compute_dom_prob_ps): Ditto. | |
280 | (compute_trg_info): Ditto. | |
281 | * cfgrtl.c (force_nonfallthru_and_redirect): Ditto. | |
282 | (purge_dead_edges): Ditto. | |
283 | * loop-unswitch.c (unswitch_loop): Ditto. | |
284 | * cgraphclones.c (cgraph_clone_edge): Ditto. | |
285 | (cgraph_clone_node): Ditto. | |
286 | * tree-inline.c (copy_bb): Ditto. | |
287 | (copy_edges_for_bb): Ditto. | |
288 | (initialize_cfun): Ditto. | |
289 | (copy_cfg_body): Ditto. | |
290 | (expand_call_inline): Ditto. | |
291 | ||
661e6bd7 KT |
292 | 2013-04-08 Kai Tietz <ktietz@redhat.com> |
293 | ||
294 | * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): Replaced | |
295 | TARGET_CYGWIN64 by TARGET_64BIT. | |
296 | ||
105766f3 JR |
297 | 2013-04-08 Joern Rennecke <joern.rennecke@embecosm.com> |
298 | ||
299 | * config/epiphany/epiphany.md (GPR_1): New constant. | |
300 | (define_expand "mov<mode>cc): FAIL if gen_compare_reg returned 0. | |
301 | * config/epiphany/epiphany.c (gen_compare_reg): | |
302 | For flag_finite_math_only, avoid swapping operands when r0 and/or r1 | |
303 | is already in place. | |
304 | Use GPR_0 / GPR_1 instead of 0/1 for r0/r1 register numbers. | |
305 | Don't require being called during rtl expansion; If y operlaps r0, | |
306 | return 0. | |
307 | (epiphany_compute_frame_size, epiphany_expand_prologue): Use GPR_1. | |
308 | (epiphany_expand_epilogue): Likewise. | |
309 | ||
8afab237 JR |
310 | * config/epiphany/epiphany.c (epiphany_select_cc_mode): |
311 | Don't use CC_FPmode for ORDERED / UNORDERED. | |
312 | * config/epiphany/epiphany.md (cmpsf_ord): Make pattern | |
313 | unconditional. | |
314 | ||
fa7707d6 JR |
315 | * config/epiphany/constraints.md (CnL): New constraint. |
316 | * config/epiphany/epiphany.md (addsi3_i): Add r/r/CnL alternative. | |
317 | * config/epiphany/predicates.md (add_operand): Allow 1024. | |
318 | ||
5138e18d JR |
319 | * config/epiphany/epiphany.md (logical_op): New code iterator. |
320 | (op_mnc): New code attribute. | |
321 | (<op_mnc>_f, mov_f, cstoresi4): New patterns. | |
322 | (mov_f+1, mov_f+2): New peephole2 patterns. | |
323 | ||
2ccc703d JR |
324 | * config/epiphany/epiphany.md (mov_f+2): New peephole2 pattern. |
325 | (cstoresi4): Also allow re-use of zero result when doing a NE | |
326 | comparison to a non-zero operand. | |
aefb0819 | 327 | Use (clobber (scratch)) for first insn if the gpr output is not needed. |
2ccc703d | 328 | |
093ac0a5 JR |
329 | * config/epiphany/epiphany.md (<insn_opname>v2si3): |
330 | Use gen_addsi3_i / gen_subsi3_i. | |
331 | ||
f223bb13 JJ |
332 | 2013-04-08 Jakub Jelinek <jakub@redhat.com> |
333 | ||
334 | PR c++/34949 | |
335 | PR c++/50243 | |
336 | * tree-eh.c (optimize_clobbers): Only remove clobbers if bb doesn't | |
337 | contain anything but clobbers, at most one __builtin_stack_restore, | |
338 | optionally debug stmts and final resx, and if it has at least one | |
339 | incoming EH edge. Don't check for SSA_NAME on LHS of a clobber. | |
340 | (sink_clobbers): Don't check for SSA_NAME on LHS of a clobber. | |
341 | Instead of moving clobbers with MEM_REF LHS with SSA_NAME address | |
342 | which isn't defaut definition, remove them. | |
343 | (unsplit_eh, cleanup_empty_eh): Use single_{pred,succ}_{p,edge} | |
344 | instead of EDGE_COUNT comparisons or EDGE_{PRED,SUCC}. | |
345 | * tree-ssa-ccp.c (execute_fold_all_builtins): Remove clobbers | |
346 | with MEM_REF LHS with SSA_NAME address. | |
347 | ||
4481581f JL |
348 | 2013-04-08 Jeff Law <law@redhat.com> |
349 | ||
350 | * gimple.c (canonicalize_cond_expr_cond): Rewrite x ^ y into x != y. | |
a32dfe9d | 351 | |
451dabda RB |
352 | 2013-04-08 Richard Biener <rguenther@suse.de> |
353 | ||
354 | * gimple-pretty-print.c (debug_gimple_stmt): Do not print | |
355 | extra newline. | |
356 | * tree-vect-loop.c (vect_determine_vectorization_factor): Dump | |
357 | determined vector type. | |
358 | (vect_analyze_data_refs): Likewise. | |
359 | (vect_get_new_vect_var): Adjust. | |
360 | (vect_create_destination_var): Preserve SSA name versions. | |
361 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): Do | |
362 | not dump anything here. | |
363 | ||
3b088b47 JR |
364 | 2013-04-08 Joern Rennecke <joern.rennecke@embecosm.com> |
365 | ||
366 | * config/epiphany/epiphany.h (struct GTY (()) machine_function): | |
367 | Add member lr_slot_known. | |
368 | * config/epiphany/epiphany.md (reload_insi_ra): Compute lr_slot_offs | |
369 | if necessary. | |
370 | * config/epiphany/epiphany.c (epiphany_compute_frame_size): | |
371 | Remove code that sets lr_slot_offset according to what a previous | |
372 | version of epiphany_emit_save_restore used to do. | |
373 | (epiphany_emit_save_restore): When doing an lr save or restore, | |
374 | set/verify lr_slot_known and lr_slot_offset. | |
375 | ||
d8484d41 XQ |
376 | 2013-04-08 Xinyu Qi <xyqi@marvell.com> |
377 | ||
378 | PR target/54338 | |
379 | * config/arm/arm.h (REG_CLASS_CONTENTS): Include IWMMXT_GR_REGS | |
380 | in ALL_REGS. | |
381 | ||
481be1c4 RB |
382 | 2013-04-08 Richard Biener <rguenther@suse.de> |
383 | ||
384 | * alias.c (find_base_term): Fix thinko in previous change. | |
385 | ||
401f3a81 JJ |
386 | 2013-04-08 Jakub Jelinek <jakub@redhat.com> |
387 | ||
388 | * tree-loop-distribution.c (const_with_all_bytes_same): New function. | |
389 | (generate_memset_builtin): Only handle integer_all_onesp as -1 val if | |
390 | TYPE_PRECISION is equal to mode bitsize. Use const_with_all_bytes_same | |
391 | if possible to compute val. | |
392 | (classify_partition): Verify CONSTRUCTOR doesn't have any elts. | |
393 | For QImode integers don't require anything about precision. Use | |
394 | const_with_all_bytes_same to find out if the constant doesn't have | |
395 | repeated bytes in it. | |
396 | ||
03ed99a8 AK |
397 | 2013-04-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
398 | ||
399 | * config/s390/s390.c (s390_expand_insv): Only accept insertions | |
400 | within mode size. | |
401 | ||
781b2e62 MP |
402 | 2013-04-08 Marek Polacek <polacek@redhat.com> |
403 | ||
404 | PR rtl-optimization/48182 | |
405 | * params.def (PARAM_MIN_CROSSJUMP_INSNS): Increase the minimum | |
406 | value to 1. | |
407 | ||
27e430a2 JDA |
408 | 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
409 | ||
410 | PR target/55487 | |
411 | * config/pa/pa.c (legitimize_pic_address): Before incrementing label | |
412 | nuses, make sure we have a label. | |
413 | ||
4902aa64 BS |
414 | 2013-04-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
415 | ||
416 | PR target/56843 | |
417 | * config/rs6000/rs6000.c (rs6000_emit_swdiv_high_precision): Remove. | |
418 | (rs6000_emit_swdiv_low_precision): Remove. | |
419 | (rs6000_emit_swdiv): Rewrite to handle between one and four | |
420 | iterations of Newton-Raphson generally; modify required number of | |
421 | iterations for some cases. | |
422 | * config/rs6000/rs6000.h (RS6000_RECIP_HIGH_PRECISION_P): Remove. | |
423 | ||
7bca81dc SB |
424 | 2013-04-05 Steven Bosscher <steven@gcc.gnu.org> |
425 | ||
426 | * bb-reorder.c (fix_crossing_unconditional_branches): Remove a | |
427 | set-but-unused variable. | |
428 | ||
429 | * cgraph.c (cgraph_release_function_body): Clear cfun->cfg to make | |
430 | basic blocks of released function bodies garbage-collectable. | |
431 | ||
432 | * ree.c (find_and_remove_re): Do not call df_finish_pass here. | |
433 | (struct rtl_opt_pass): Add TODO_df_finish. | |
434 | ||
435 | * rtl.def (DEFINE_SUBST, DEFINE_SUBST_ATTR): Add documentation. | |
436 | ||
4542a38a GY |
437 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
438 | ||
439 | * config/arm/constraints.md (q): New constraint. | |
440 | * config/arm/ldrdstrd.md: New file. | |
441 | * config/arm/arm.md (ldrdstrd.md) New include. | |
442 | (arm_movdi): Use "q" instead of "r" constraint | |
443 | for double-word memory access. | |
444 | (movdf_soft_insn): Likewise. | |
445 | * config/arm/vfp.md (movdi_vfp): Likewise. | |
446 | * config/arm/t-arm (MD_INCLUDES): Add ldrdstrd.md. | |
447 | * config/arm/arm-protos.h (gen_operands_ldrd_strd): New declaration. | |
448 | * config/arm/arm.c (gen_operands_ldrd_strd): New function. | |
449 | (mem_ok_for_ldrd_strd): Likewise. | |
450 | (output_move_double): Update assertion. | |
451 | ||
2385b218 GY |
452 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
453 | ||
454 | * config/arm/arm.md: Comment on splitting Thumb1 patterns. | |
455 | ||
75fe1cb5 GY |
456 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
457 | ||
458 | * config/arm/arm.md (arm_smax_insn): Convert define_insn into | |
459 | define_insn_and_split. | |
460 | (arm_smin_insn,arm_umaxsi3,arm_uminsi3): Likewise. | |
461 | ||
dd660e8e GY |
462 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
463 | ||
464 | * config/arm/arm.md (arm_ashldi3_1bit): Convert define_insn into | |
465 | define_insn_and_split. | |
466 | (arm_ashrdi3_1bit,arm_lshrdi3_1bit): Likewise. | |
467 | (shiftsi3_compare): New pattern. | |
468 | (rrx): New pattern. | |
469 | * config/arm/unspecs.md (UNSPEC_RRX): New. | |
470 | ||
045e472c GY |
471 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
472 | ||
473 | * config/arm/arm.md (negdi_extendsidi): New pattern. | |
474 | (negdi_zero_extendsidi): Likewise. | |
475 | ||
3f3bf1a8 GY |
476 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
477 | ||
478 | * config/arm/arm.md (andsi_iorsi3_notsi): Convert define_insn into | |
479 | define_insn_and_split. | |
480 | (arm_negdi2,arm_abssi2,arm_neg_abssi2): Likewise. | |
481 | (arm_cmpdi_insn,arm_cmpdi_unsigned): Likewise. | |
482 | ||
b0b49556 GY |
483 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
484 | ||
485 | * config/arm/arm.md (arm_subdi3): Convert define_insn into | |
486 | define_insn_and_split. | |
487 | (subdi_di_zesidi,subdi_di_sesidi): Likewise. | |
488 | (subdi_zesidi_di,subdi_sesidi_di,subdi_zesidi_zesidi): Likewise. | |
489 | ||
d633dd84 GY |
490 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
491 | ||
492 | * config/arm/arm.md (subsi3_carryin): New pattern. | |
493 | (subsi3_carryin_const): Likewise. | |
494 | (subsi3_carryin_compare,subsi3_carryin_compare_const): Likewise. | |
495 | (subsi3_carryin_shift,rsbsi3_carryin_shift): Likewise. | |
496 | ||
f4499066 GY |
497 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
498 | ||
499 | * config/arm/arm.md (incscc,arm_incscc,decscc,arm_decscc): Delete. | |
500 | ||
ceef6fd9 GY |
501 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
502 | ||
503 | * config/arm/arm.md (addsi3_carryin_<optab>): Set attribute predicable. | |
d633dd84 | 504 | (addsi3_carryin_alt2_<optab>,addsi3_carryin_shift_<optab>): Likewise. |
ceef6fd9 | 505 | |
ddbdd8a7 KT |
506 | 2013-04-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
507 | ||
508 | * config/arm/arm.c (arm_expand_builtin): Change fcode | |
509 | type to unsigned int. | |
510 | ||
8456d78a RR |
511 | 2013-04-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
512 | ||
513 | * doc/invoke.texi (ARM Options): Document cortex-a53 support. | |
514 | ||
526c230f ILT |
515 | 2013-04-04 Ian Lance Taylor <iant@google.com> |
516 | ||
517 | * doc/standards.texi (Standards): The Go frontend supports the Go | |
518 | 1 language standard. | |
519 | ||
3cfbe04d SB |
520 | 2013-04-04 Steven Bosscher <steven@gcc.gnu.org> |
521 | ||
522 | PR middle-end/56729 | |
523 | * df-scan.c (df_insn_delete): Disable failing assert. | |
524 | ||
dfa3f8d0 KT |
525 | 2013-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
526 | ||
527 | * config/arm/arm-protos.h (arm_builtin_vectorized_function): | |
528 | New function prototype. | |
529 | * config/arm/arm.c (TARGET_VECTORIZE_BUILTINS): Define. | |
530 | (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): Likewise. | |
531 | (arm_builtin_vectorized_function): New function. | |
532 | ||
f7837758 KT |
533 | 2013-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
534 | ||
535 | * config/arm/arm_neon_builtins.def: New file. | |
536 | * config/arm/arm.c (neon_builtin_data): Move contents to | |
537 | arm_neon_builtins.def. | |
538 | (enum arm_builtins): Include neon builtin definitions. | |
539 | (ARM_BUILTIN_NEON_BASE): Move from enum to macro. | |
540 | * config/arm/t-arm (arm.o): Add dependency on | |
541 | arm_neon_builtins.def. | |
542 | ||
39c1b6db MP |
543 | 2013-04-04 Marek Polacek <polacek@redhat.com> |
544 | ||
545 | PR tree-optimization/48186 | |
546 | * predict.c (maybe_hot_frequency_p): Return false if | |
547 | HOT_BB_FREQUENCY_FRACTION is 0. | |
548 | (cgraph_maybe_hot_edge_p): Likewise. | |
549 | ||
314f64eb RB |
550 | 2013-04-04 Richard Biener <rguenther@suse.de> |
551 | ||
552 | PR tree-optimization/56826 | |
553 | * tree-vect-slp.c (vect_build_slp_tree): Compute ncopies | |
554 | more accurately. | |
555 | ||
51a905b2 RB |
556 | 2013-04-04 Richard Biener <rguenther@suse.de> |
557 | ||
558 | PR tree-optimization/56213 | |
559 | * tree-vect-data-refs.c (vect_check_strided_load): Remove. | |
560 | (vect_analyze_data_refs): Allow all non-nested loads as | |
561 | strided loads. | |
562 | ||
f1bf4f3a RB |
563 | 2013-04-04 Richard Biener <rguenther@suse.de> |
564 | ||
565 | PR tree-optimization/56837 | |
566 | * tree-loop-distribution.c (classify_partition): For non-zero | |
567 | values require that the value has the same precision as its | |
568 | mode to be useful as memset value. | |
569 | ||
0bca7ded NC |
570 | 2013-04-03 Nick Clifton <nickc@redhat.com> |
571 | ||
572 | * config/v850/v850e3v5.md (fmasf4): Use fmaf.s on E3V5 | |
573 | architectures. | |
574 | (fmssf4): Use fmsf.s on E3V5 architectures. | |
575 | (fnmasf4): Use fnmaf.s on E3V5 architectures. | |
576 | (fnmssf4): Use fnmsf.s on E3V5 architectures. | |
577 | ||
b4019227 JL |
578 | 2013-04-03 Jeff Law <law@redhat.com> |
579 | ||
580 | * Makefile.in (lra-constraints.o): Depend on $(OPTABS_H). | |
581 | (lra-eliminations.o): Likewise. | |
582 | ||
f57ddb5b TJ |
583 | 2013-04-03 Teresa Johnson <tejohnson@google.com> |
584 | ||
585 | * gcov-io.c (compute_working_sets): Moved most of body of old | |
586 | compute_working_sets here from profile.c. | |
587 | * gcov-io.h (NUM_GCOV_WORKING_SETS): Moved here from profile.c. | |
588 | (gcov_working_set_t): Moved typedef here from basic-block.h | |
589 | (compute_working_set): Declare. | |
590 | * profile.c (NUM_GCOV_WORKING_SETS): Moved to gcov-io.h. | |
591 | (get_working_sets): Renamed from compute_working_set, | |
592 | replace most of body with call to new compute_working_sets. | |
593 | (get_exec_counts): Replace call to compute_working_sets | |
594 | to get_working_sets. | |
595 | * profile.h (get_working_sets): Renamed from | |
596 | compute_working_set. | |
597 | * lto-cgraph.c (input_symtab): Replace call to compute_working_sets | |
598 | to get_working_sets. | |
599 | * basic-block.h (gcov_working_set_t): Moved to gcov-io.h. | |
600 | * gcov-dump.c (dump_working_sets): New function. | |
601 | ||
5e0919f1 KZ |
602 | 2013-04-03 Kenneth Zadeck <zadeck@naturalbridge.com> |
603 | ||
604 | * hwint.c (sext_hwi, zext_hwi): New functions. | |
605 | * hwint.h (HOST_BITS_PER_HALF_WIDE_INT, HOST_HALF_WIDE_INT, | |
606 | HOST_HALF_WIDE_INT_PRINT, HOST_HALF_WIDE_INT_PRINT_C, | |
607 | HOST_HALF_WIDE_INT_PRINT_DEC, HOST_HALF_WIDE_INT_PRINT_DEC_C, | |
608 | HOST_HALF_WIDE_INT_PRINT_UNSIGNED, HOST_HALF_WIDE_INT_PRINT_HEX, | |
609 | HOST_HALF_WIDE_INT_PRINT_HEX_PURE): New symbols. | |
610 | (sext_hwi, zext_hwi): New functions. | |
0bca7ded | 611 | |
be672e08 JL |
612 | 2013-04-03 Jeff Law <law@redhat.com> |
613 | ||
614 | PR tree-optimization/56799 | |
615 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Bring | |
616 | back test for widening conversion erroneously dropped in prior | |
617 | change. | |
618 | ||
9d821fa5 KT |
619 | 2013-04-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
620 | ||
621 | PR target/56809 | |
622 | * config/aarch64/aarch64.c (is_jump_table): Use next_active_insn | |
623 | instead of next_real_insn. | |
624 | ||
71c581e7 MP |
625 | 2013-04-03 Marek Polacek <polacek@redhat.com> |
626 | ||
627 | PR sanitizer/55702 | |
628 | * tsan.c (instrument_func_exit): Allow BUILT_IN_RETURN | |
629 | functions. | |
630 | ||
4a32ef80 KT |
631 | 2013-04-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
632 | ||
633 | PR target/56809 | |
634 | * config/arm/arm.c (is_jump_table): Use next_active_insn instead of | |
635 | next_real_insn. | |
636 | (thumb1_output_casesi): Likewise. | |
637 | (thumb2_output_casesi): Likewise. | |
638 | ||
1b2253d4 RB |
639 | 2013-04-03 Richard Biener <rguenther@suse.de> |
640 | ||
641 | PR tree-optimization/56817 | |
642 | * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely): | |
643 | Split out ... | |
644 | (tree_unroll_loops_completely_1): ... new function to manually | |
645 | walk the loop tree, properly defering outer loops of unrolled | |
646 | loops to later iterations. | |
647 | ||
38000232 MG |
648 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
649 | ||
650 | * tree-vect-stmts.c (vectorizable_store): Accept BIT_FIELD_REF. | |
651 | (vectorizable_load): Likewise. | |
652 | * tree-vect-slp.c (vect_build_slp_tree): Likewise. | |
653 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Handle VECTOR_TYPE. | |
654 | ||
3fa35298 MG |
655 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
656 | ||
657 | * tree-flow-inline.h (get_addr_base_and_unit_offset_1): Handle | |
658 | BIT_FIELD_REF. | |
659 | ||
b3d45ff0 UW |
660 | 2013-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
661 | ||
662 | * config/spu/spu.c (emit_nop_for_insn): Handle JUMP_TABLE_DATA. | |
663 | ||
ec9202a8 BC |
664 | 2013-04-03 Bin Cheng <bin.cheng@arm.com> |
665 | ||
666 | * rtl.h (AUTO_INC_DEC): Fix typo of HAVE_POST_MODIFY_DISP. | |
667 | ||
6805bd36 MG |
668 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
669 | ||
670 | PR tree-optimization/56790 | |
671 | * fold-const.c (fold_ternary_loc) <VEC_COND_EXPR>: Add constant folding. | |
672 | ||
da694a77 MG |
673 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
674 | ||
675 | * simplify-rtx.c (simplify_binary_operation_1) <VEC_SELECT>: | |
676 | Handle VEC_MERGE. | |
677 | (simplify_ternary_operation) <VEC_MERGE>: Use unsigned HOST_WIDE_INT | |
678 | for masks. Test for side effects. Handle nested VEC_MERGE. Handle | |
679 | equal arguments. | |
680 | ||
4e7d7b3d JJ |
681 | 2013-04-03 Jakub Jelinek <jakub@redhat.com> |
682 | ||
683 | PR c/19449 | |
684 | * tree.h (force_folding_builtin_constant_p): New decl. | |
685 | * builtins.c (force_folding_builtin_constant_p): New variable. | |
686 | (fold_builtin_constant_p): Fold immediately also if | |
687 | force_folding_builtin_constant_p. | |
688 | ||
e6c9d234 RB |
689 | 2013-04-03 Richard Biener <rguenther@suse.de> |
690 | ||
691 | PR tree-optimization/56812 | |
692 | * tree-vect-data-refs.c (vect_slp_analyze_data_ref_dependence): | |
693 | DRs of the same interleaving chain are independent. | |
694 | ||
984d07dd JM |
695 | 2013-04-02 Jason Merrill <jason@redhat.com> |
696 | ||
697 | * gdbinit.in (pbb): Use debug fn. | |
698 | ||
622849c9 LC |
699 | 2013-04-02 Lawrence Crowl <crowl@google.com> |
700 | ||
701 | * sese.h (struct ivtype_map_elt_s): Remove unused. | |
702 | (extern debug_ivtype_map): Remove unused. | |
703 | (extern eq_ivtype_map_elts): Remove unused. | |
704 | * sese.c (debug_ivtype_map): Removed unused. | |
705 | (debug_ivtype_map_1): Removed unused. | |
706 | (debug_ivtype_elt): Remove unused. | |
707 | (eq_ivtype_map_elts): Remove unused. | |
708 | ||
709 | ||
82c0e1a0 KT |
710 | 2013-04-02 Kai Tietz <ktietz@redhat.com> |
711 | ||
712 | PR target/52790 | |
713 | * config/i386/cygming.h (SUB_TARGET_RECORD_STUB): New sub-target macro. | |
714 | * config/i386/i386-protos.h (i386_pe_record_stub): Add new prototype. | |
715 | * config/i386/i386.c (legitimize_pe_coff_extern_decl): New static function. | |
716 | (legitimize_pe_coff_symbol): Likewise. | |
717 | (is_imported_p): New helper-function. | |
718 | (ix86_option_override_internal): Make MEDIUM_PIC the default code-model | |
719 | for Windows x64 targets. | |
720 | (ix86_expand_prologue): Optimize for pe-coff targets. | |
721 | (ix86_expand_split_stack_prologue): Adjust for pe-coff targets. | |
722 | (legitimate_pic_address_disp_p): Adjust for x64 pe-coff to support | |
723 | medium/large code-model. | |
724 | (legitimize_pic_address): Likewise. | |
725 | (legitimize_tls_address): Likewise. | |
726 | (ix86_expand_call): Likewise. | |
727 | (x86_output_mi_thunk): Likewise. | |
728 | (get_dllimport_decl): Add new beimport argument. | |
729 | (construct_plt_address): Don't assert for x64 pe-coff targets. | |
730 | * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Adjust for x64 pe-coff | |
731 | targets. | |
732 | (SYMBOL_FLAG_STUBVAR): New macro. | |
733 | (SYMBOL_REF_STUBVAR_P): Likewise. | |
734 | * config/i386/winnt.c (stub_list): New structure. | |
735 | (stub_head): New local variable. | |
736 | (i386_pe_record_stub): New function. | |
737 | (i386_pe_file_end): Emit refptr-stubs. | |
738 | ||
5d751b0c JJ |
739 | 2013-04-02 Jakub Jelinek <jakub@redhat.com> |
740 | ||
09bb4c99 JJ |
741 | PR rtl-optimization/56745 |
742 | * ifcvt.c (cond_exec_find_if_block): Don't try to optimize | |
743 | if then_bb has no successors and else_bb is EXIT_BLOCK_PTR. | |
744 | ||
a1d8947a JJ |
745 | PR c++/34949 |
746 | * tree-ssa-alias.c (stmt_kills_ref_p_1): If base != ref->base | |
747 | and both of them are MEM_REFs, just compare first argument for | |
748 | equality and attempt to deal even with differing offsets. | |
749 | ||
5d751b0c JJ |
750 | PR c++/34949 |
751 | * tree-cfg.c (verify_gimple_assign_single): Allow lhs | |
752 | of gimple_clobber_p to be MEM_REF. | |
753 | * gimplify.c (gimplify_modify_expr): Gimplify *to_p of | |
754 | an assignment from TREE_CLOBBER_P. Allow it to be MEM_REF | |
755 | after gimplification. | |
756 | * asan.c (get_mem_ref_of_assignment): Don't instrument | |
757 | gimple_clobber_p stmts. | |
758 | * tree-ssa-dse.c (dse_optimize_stmt): Allow DSE of | |
759 | gimple_clobber_p stmt if they have MEM_REF lhs and | |
760 | are dead because of another gimple_clobber_p stmt. | |
761 | * tree-ssa-live.c (clear_unused_block_pointer): Treat | |
762 | gimple_clobber_p stmts like debug stmts. | |
763 | (remove_unused_locals): Remove clobbers with MEM_REF lhs | |
764 | that refer to unused VAR_DECLs or uninitialized values. | |
765 | * tree-sra.c (sra_ipa_reset_debug_stmts): Also remove | |
766 | gimple_clobber_p stmts if they refer to removed parameters. | |
767 | (get_repl_default_def_ssa_name, sra_ipa_modify_expr): Fix up | |
768 | formatting. | |
769 | ||
e594716a UB |
770 | 2013-04-02 Uros Bizjak <ubizjak@gmail.com> |
771 | ||
772 | * config/i386/i386.md (*testqi_ext_3): Merge with *testqi_ext_3_rex64 | |
773 | using SWI48 mode attribute. | |
774 | ||
7a80735b WM |
775 | 2013-04-02 Wei Mi <wmi@google.com> |
776 | ||
777 | * config/i386/i386.c (ix86_rtx_costs): Set proper rtx cost for | |
778 | ashl<mode>3_mask, *<shift_insn><mode>3_mask and | |
779 | *<rotate_insn><mode>3_mask in i386.md. | |
780 | ||
f423a9e4 AI |
781 | 2013-04-02 Alexander Ivchenko <alexander.ivchenko@intel.com> |
782 | ||
783 | * config.gcc (arm*-*-linux-*): Remove duplicate t-linux-android. | |
784 | ||
90eb75f2 RB |
785 | 2013-04-02 Richard Biener <rguenther@suse.de> |
786 | ||
787 | PR tree-optimization/56778 | |
788 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): | |
789 | Runtime alias tests are not supported for gather loads. | |
790 | * tree-vect-loop-manip.c (vect_loop_versioning): Insert | |
791 | stmts referenced from SSA operands before updating SSA form. | |
792 | ||
d8c69a92 IC |
793 | 2013-04-02 Ian Caulfield <ian.caulfield@arm.com> |
794 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
795 | ||
796 | * config/arm/arm-arches.def (armv8-a): Default to cortex-a53. | |
e594716a UB |
797 | * config/arm/t-arm (MD_INCLUDES): Depend on cortex-a53.md. |
798 | * config/arm/cortex-a53.md: New file. | |
799 | * config/arm/bpabi.h (BE8_LINK_SPEC): Handle cortex-a53. | |
800 | * config/arm/arm.md (generic_sched, generic_vfp): Handle cortex-a53. | |
801 | * config/arm/arm.c (arm_issue_rate): Likewise. | |
802 | * config/arm/arm-tune.md: Regenerate | |
803 | * config/arm/arm-tables.opt: Regenerate. | |
804 | * config/arm/arm-cores.def: Add cortex-a53. | |
d8c69a92 | 805 | |
239eb04c ZC |
806 | 2013-04-02 Zhenqiang Chen <zhenqiang.chen@arm.com> |
807 | ||
808 | * config/arm/uclinux-elf.h: Add %L to LINK_GCC_C_SEQUENCE_SPEC for | |
809 | non-static link. | |
810 | ||
c902d3c8 SN |
811 | 2013-04-02 Sofiane Naci <sofiane.naci@arm.com> |
812 | ||
d8c69a92 IC |
813 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add variants for |
814 | scalar load/store operations using B/H registers. | |
c902d3c8 SN |
815 | (*zero_extend<SHORT:mode><GPI:mode>2_aarch64): Likewise. |
816 | ||
051d0e2f SN |
817 | 2013-04-02 Sofiane Naci <sofiane.naci@arm.com> |
818 | ||
819 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add alternatives for | |
820 | scalar move. | |
821 | * config/aarch64/aarch64.c | |
822 | (aarch64_simd_scalar_immediate_valid_for_move): New. | |
823 | * config/aarch64/aarch64-protos.h | |
824 | (aarch64_simd_scalar_immediate_valid_for_move): New. | |
825 | * config/aarch64/constraints.md (Dh, Dq): New. | |
826 | * config/aarch64/iterators.md (hq): New. | |
827 | ||
0ee1e3d9 EB |
828 | 2013-04-02 Eric Botcazou <ebotcazou@adacore.com> |
829 | ||
830 | * reorg.c (get_branch_condition): Deal with conditional returns. | |
831 | (fill_simple_delay_slots): Remove dead code dealing with jumps. | |
832 | ||
136fb3f7 WM |
833 | 2013-04-01 Wei Mi <wmi@google.com> |
834 | ||
835 | * config/i386/i386.md (*ashl<mode>3_mask): Rewrite as define_insn. | |
836 | Truncate operand 2 using %b asm operand modifier. | |
837 | (*<shift_insn><mode>3_mask): Ditto. | |
838 | (*<rotate_insn><mode>3_mask): Ditto. | |
839 | ||
6388c738 SB |
840 | 2013-04-01 Steven Bosscher <steven@gcc.gnu.org> |
841 | ||
842 | PR middle-end/56798 | |
843 | * cfgbuild.c (inside_basic_block_p): Restore check broken at r197234. | |
844 | ||
f7a4d826 KK |
845 | 2013-03-31 Kaz Kojima <kkojima@gcc.gnu.org> |
846 | ||
847 | * config/sh/sh.md (casesi_worker_1): Use next_active_insn instead | |
848 | of next_real_insn. | |
849 | (casesi_worker_2, casesi_shift_media, casesi_load_media): Likewise. | |
850 | ||
4b943a49 LC |
851 | 2013-03-30 Lawrence Crowl <crowl@google.com> |
852 | ||
853 | * dse.c (clear_alias_sets): Remove never set. | |
854 | (disqualified_clear_alias_sets): Remove never set. | |
855 | (clear_alias_mode_pool): Remove never set. | |
856 | (dse_step0): Remove condition that is never true. | |
857 | (canon_address): Remove condition that is never true. | |
858 | (dse_step7): Remove condition that is never true. | |
859 | (rest_of_handle_dse): Remove condition that is never true. | |
860 | (rest_of_handle_dse::did_global): Remove never read from above. | |
861 | (dse_step2_spill): Remove never called from above. | |
862 | (dse_step5_spill): Remove never called from above. | |
863 | ||
39718607 SB |
864 | 2013-03-30 Steven Bosscher <steven@gcc.gnu.org> |
865 | ||
da5c6bde SB |
866 | * doc/md.texi (Standard Names) <casesi>: Update documentation for |
867 | JUMP_TABLE_DATA changes. | |
868 | * doc/tm.texi.in (Dispatch Tables) <ASM_OUTPUT_CASE_LABEL>: Likewise. | |
869 | * doc/rtl.texi (Flags) <INSN_DELETED_P, SCHED_GROUP_P>: Likewise. | |
870 | (Insns) <jump_table_data>: New entry. | |
871 | * doc/tm.texi: Regenerate. | |
872 | ||
39718607 SB |
873 | * cfgrtl.c (fixup_reorder_chain): Do not emit barriers to BB_FOOTER. |
874 | ||
875 | * postreload-gcse.c (bb_has_well_behaved_predecessors): Correct test | |
876 | for table jump at the end of a basic block using tablejump_p. | |
877 | * targhooks.c (default_invalid_within_doloop): Likewise. | |
878 | * config/rs6000/rs6000.c (TARGET_INVALID_WITHIN_DOLOOP): Remove | |
879 | target hook implementation that is identical to the default hook. | |
880 | (rs6000_invalid_within_doloop): Remove. | |
881 | ||
882 | * bb-reorder.c (fix_crossing_unconditional_branches): Remove set but | |
883 | unused variable from tablejump_p call. | |
884 | ||
885 | * rtl.def (JUMP_TABLE_DATA): New RTX_INSN object. | |
886 | * rtl.h (RTX_PREV, RTX_NEXT): Adjust for new JUMP_TABLE_DATA. | |
887 | (INSN_DELETED_P): Likewise. | |
888 | (emit_jump_table_data): New prototype. | |
889 | * gengtype.c (adjust_field_rtx_def): Handle JUMP_TABLE_DATA fields | |
890 | after 4th as unused. | |
891 | * print-rtl.c (print_rtl): Handle JUMP_TABLE_DATA. | |
892 | * sched-vis.c (print_insn): Likewise. | |
893 | * emit-rtl.c (active_insn_p): Consider JUMP_TABLE_DATA an active | |
894 | insn for compatibility with back ends that use next_active_insn to | |
895 | identify jump table data. | |
896 | (set_insn_deleted): Remove no longer useful JUMP_TABLE_DATA_P check. | |
897 | (remove_insn): Likewise. | |
898 | (emit_insn): Do not accept JUMP_TABLE_DATA objects in insn chains | |
899 | to be emitted. | |
900 | (emit_debug_insn, emit_jump_insn, emit_call_insn, emit_label): Idem. | |
901 | (emit_jump_table_data): New function. | |
902 | ||
903 | * cfgbuild.c (inside_basic_block_p): A JUMP_INSN is always inside a | |
904 | basic block, a JUMP_TABLE_DATA never is. | |
905 | (control_flow_insn_p): JUMP_TABLE_DATA is not a control flow insn. | |
906 | * cfgrtl.c (duplicate_insn_chain): Split handling of JUMP_TABLE_DATA | |
907 | off from code handling real insns. | |
908 | * final.c (get_attr_length_1): Simplify for JUMP_INSNs. | |
909 | * function.c (instantiate_virtual_regs): Remove JUMP_TABLE_DATA_P | |
910 | test, now redundant because JUMP_TABLE_DATA is not an INSN_P insn. | |
911 | * gcse.c (insert_insn_end_basic_block): Likewise, JUMP_TABLE_DATA_P | |
912 | is not a NONDEBUG_INSN_P. | |
913 | * ira-costs.c (scan_one_insn): Likewise. | |
914 | * jump.c (mark_all_labels): Likewise. | |
915 | (mark_jump_label_1): Likewise. | |
916 | * lra-eliminations.c (eliminate_regs_in_insn): Likewise. | |
917 | * lra.c (get_insn_freq): Expect all insns reaching here to be in | |
918 | a basic block. | |
919 | (check_rtl): Remove JUMP_TABLE_DATA_P test, not a NONDEBUG_INSN_P insn. | |
920 | * predict.c (expensive_function_p): Use FOR_BB_INSNS. | |
921 | * reload1.c (calculate_needs_all_insns): Call set_label_offsets for | |
922 | JUMP_TABLE_DATA_P insns. | |
923 | (calculate_elim_costs_all_insns): Likewise. | |
924 | (set_label_offsets): Recurse on the PATTERN of JUMP_TABLE_DATA insns. | |
925 | (elimination_costs_in_insn): Remove redundant JUMP_TABLE_DATA_P test. | |
926 | (delete_output_reload): Code style fixups. | |
927 | * reorg.c (dbr_schedule): Move JUMP_TABLE_DATA_P up to avoid setting | |
928 | insn flags on this non-insn. | |
929 | * sched-rgn.c (add_branch_dependences): Treat JUMP_TABLE_DATA insns | |
930 | as scheduling barriers, for pre-change compatibility. | |
931 | * stmt.c (emit_case_dispatch_table): Emit jump table data not as | |
932 | JUMP_INSN objects but instead as JUMP_TABLE_DATA objects. | |
933 | ||
934 | * config/alpha/alpha.c (alpha_does_function_need_gp): Remove | |
935 | redundant JUMP_TABLE_DATA_P test. | |
936 | * config/arm/arm.c (thumb_far_jump_used_p): Likewise. | |
937 | * config/frv/frv.c (frv_function_contains_far_jump): Likewise. | |
938 | (frv_for_each_packet): Likewise. | |
939 | * config/i386/i386.c (min_insn_size): Likewise. | |
940 | (ix86_avoid_jump_mispredicts): Likewise. | |
941 | * config/m32r/m32r.c (m32r_is_insn): Likewise. | |
942 | * config/mep/mep.c (mep_reorg_erepeat): Likewise. | |
943 | * config/mips/mips.c (USEFUL_INSN_P): Likewise. | |
944 | (mips16_insn_length): Robustify. | |
945 | (mips_has_long_branch_p): Remove redundant JUMP_TABLE_DATA_P test. | |
946 | (mips16_split_long_branches): Likewise. | |
947 | * config/pa/pa.c (pa_combine_instructions): Likewise. | |
948 | * config/rs6000/rs6000.c (get_next_active_insn): Treat | |
949 | JUMP_TABLE_DATA objects as active insns, like in active_insn_p. | |
950 | * config/s390/s390.c (s390_chunkify_start): Treat JUMP_TABLE_DATA | |
951 | as contributing to pool range lengths. | |
952 | * config/sh/sh.c (find_barrier): Restore check for ADDR_DIFF_VEC. | |
953 | Remove redundant JUMP_TABLE_DATA_P test. | |
954 | (sh_loop_align): Likewise. | |
955 | (split_branches): Likewise. | |
956 | (sh_insn_length_adjustment): Likewise. | |
957 | * config/spu/spu.c (get_branch_target): Likewise. | |
958 | ||
0208f7da JH |
959 | 2013-03-29 Jan Hubicka <jh@suse.cz> |
960 | ||
961 | * lto-cgraph.c (output_profile_summary, input_profile_summary): Use | |
962 | gcov streaming; stream hot bb threshold to ltrans. | |
963 | * predict.c (get_hot_bb_threshold): Break out from .... | |
964 | (maybe_hot_count_p): ... here. | |
965 | (set_hot_bb_threshold): New function. | |
966 | * lto-section-in.c (lto_section_name): Add profile. | |
967 | * profile.h (get_hot_bb_threshold, set_hot_bb_threshold): Declare. | |
968 | * ipa.c: Include hash-table.h, tree-inline.h, profile.h, lto-streamer.h | |
969 | and data-streamer.h | |
970 | (histogram_entry): New structure. | |
971 | (histogram, histogram_pool): New global vars. | |
972 | (histogram_hash): New structure. | |
973 | (histogram_hash::hash): New method. | |
974 | (histogram_hash::equal): Likewise. | |
975 | (account_time_size): New function. | |
976 | (cmp_counts): New function. | |
977 | (dump_histogram): New function. | |
978 | (ipa_profile_generate_summary): New function. | |
979 | (ipa_profile_write_summary): New function. | |
980 | (ipa_profile_read_summary): New function. | |
981 | (ipa_profile): Decide on threshold. | |
e594716a UB |
982 | (pass_ipa_profile): Add ipa_profile_write_summary and |
983 | ipa_profile_read_summary. | |
0208f7da JH |
984 | * Makefile.in (ipa.o): Update dependencies. |
985 | * lto-streamer.h (LTO_section_ipa_profile): New section. | |
986 | ||
5a6ccc94 GDR |
987 | 2013-03-29 Gabriel Dos Reis <gdr@integrable-solutions.net> |
988 | ||
989 | * tree.h (VAR_P): New. | |
990 | ||
39385fa6 PC |
991 | 2013-03-29 Paolo Carlini <paolo.carlini@oracle.com> |
992 | ||
993 | PR lto/56777 | |
994 | * doc/invoke.texi ([-fwhole-program]): Fix typo. | |
995 | ||
34f0d87a SB |
996 | 2013-03-29 Steven Bosscher <steven@gcc.gnu.org> |
997 | ||
998 | * cfgbuild.c (inside_basic_block_p): Use JUMP_TABLE_DATA_P in lieu | |
999 | of tests for JUMP_P and a ADDR_DIFF_VEC or ADDR_VEC pattern. | |
1000 | (control_flow_insn_p): Likewise. | |
1001 | * cfgrtl.c (duplicate_insn_chain): Likewise. | |
1002 | * final.c (get_attr_length_1): Likewise. | |
1003 | (shorten_branches): Likewise. | |
1004 | (final_scan_insn): Likewise. | |
1005 | * function.c (instantiate_virtual_regs): Likewise. | |
1006 | * gcse.c (insert_insn_end_basic_block): Likewise. | |
1007 | * ira-costs.c (scan_one_insn): Likewise. | |
1008 | * lra-eliminations.c (eliminate_regs_in_insn): Likewise. | |
1009 | * lra.c (check_rtl): Likewise. | |
1010 | * reload1.c (elimination_costs_in_insn): Likewise. | |
1011 | * reorg.c (follow_jumps): Likewise. | |
1012 | ||
1013 | * config/arm/arm.c (is_jump_table): Use JUMP_TABLE_DATA_P in lieu | |
1014 | of tests for JUMP_P and a ADDR_DIFF_VEC or ADDR_VEC pattern. | |
1015 | (thumb_far_jump_used_p): Likewise. | |
1016 | * config/bfin/bfin.c (workaround_rts_anomaly): Likewise. | |
1017 | (workaround_speculation): Likewise. | |
1018 | (add_sched_insns_for_speculation): Likewise. | |
1019 | * config/c6x/c6x.c (reorg_emit_nops): Likewise. | |
1020 | * config/frv/frv.c (frv_function_contains_far_jump): Likewise. | |
1021 | (frv_for_each_packet): Likewise. | |
1022 | * config/i386/i386.c (ix86_avoid_jump_mispredicts): Likewise. | |
1023 | * config/ia64/ia64.c (emit_all_insn_group_barriers): Likewise. | |
1024 | (final_emit_insn_group_barriers): Likewise. | |
1025 | * config/m32r/m32r.c (m32r_is_insn): Likewise. | |
1026 | * config/mips/mips.c (USEFUL_INSN_P): Likewise. | |
1027 | (mips16_insn_length): Likewise. | |
1028 | * config/pa/pa.c (pa_reorg): Likewise. | |
1029 | (pa_combine_instructions): Likewise. | |
1030 | * config/rs6000/rs6000.c (rs6000_invalid_within_doloop): Likewise. | |
1031 | * config/sh/sh.c (fixup_addr_diff_vecs): Likewise. | |
1032 | (sh_reorg): Likewise. | |
1033 | (split_branches): Likewise. | |
1034 | * config/spu/spu.c (get_branch_target): Likewise. | |
1035 | ||
1036 | * config/s390/s390.c (s390_chunkify_start): Simplify logic using | |
1037 | JUMP_TABLE_DATA_P. | |
1038 | ||
4ac761b0 KY |
1039 | 2013-03-29 Kirill Yukhin <kirill.yukhin@intel.com> |
1040 | ||
39385fa6 | 1041 | * config/i386/avx2intrin.h (_mm256_broadcastsi128_si256): |
4ac761b0 KY |
1042 | Fix declaration name. |
1043 | ||
58a49189 LC |
1044 | 2013-03-28 Lawrence Crowl <crowl@google.com> |
1045 | ||
1046 | * graphds.h (struct graph.indicies): Remove unused. | |
1047 | * graphite-poly.h (struct graph.original_pddrs): Remove unused. | |
1048 | (SCOP_ORIGINAL_PDDRS): Remove unused. | |
1049 | * sese.h (extern insert_loop_close_phis): Removed unused. | |
1050 | (extern insert_guard_phis): Removed unused. | |
1051 | (extern ivtype_map_elt_info): Removed unused. | |
1052 | (new_ivtype_map_elt): Removed unused. | |
1053 | * sese.c (ivtype_map_elt_info): Removed unused. | |
1054 | ||
7b3b6ae4 LC |
1055 | 2013-03-28 Lawrence Crowl <crowl@google.com> |
1056 | ||
1057 | * Makefile.in: Add several missing include dependences. | |
1058 | (DUMPFILE_H): New. | |
1059 | (test-dump.o): New. This object is not added to any executable, | |
1060 | but is present for ad-hoc testing. | |
1061 | * bitmap.c | |
1062 | (debug (const bitmap_head_def &)): New. | |
1063 | (debug (const bitmap_head_def *)): New. | |
1064 | * bitmap.h | |
1065 | (extern debug (const bitmap_head_def &)): New. | |
1066 | (extern debug (const bitmap_head_def *)): New. | |
1067 | * cfg.c | |
1068 | (debug (edge_def &)): New. | |
1069 | (debug (edge_def *)): New. | |
1070 | * cfghooks.c | |
1071 | (debug (basic_block_def &)): New. | |
1072 | (debug (basic_block_def *)): New. | |
1073 | * dumpfile.h | |
1074 | (dump_node (const_tree, int, FILE *)): Correct source file. | |
1075 | * dwarf2out.c | |
1076 | (debug (die_struct &)): New. | |
1077 | (debug (die_struct *)): New. | |
1078 | * dwarf2out.h | |
1079 | (extern debug (die_struct &)): New. | |
1080 | (extern debug (die_struct *)): New. | |
1081 | * gimple-pretty-print.c | |
1082 | (debug (gimple_statement_d &)): New. | |
1083 | (debug (gimple_statement_d *)): New. | |
1084 | * gimple-pretty-print.h | |
1085 | (extern debug (gimple_statement_d &)): New. | |
1086 | (extern debug (gimple_statement_d *)): New. | |
1087 | * ira-build.c | |
1088 | (debug (ira_allocno_copy &)): New. | |
1089 | (debug (ira_allocno_copy *)): New. | |
1090 | (debug (ira_allocno &)): New. | |
1091 | (debug (ira_allocno *)): New. | |
1092 | * ira-int.h | |
1093 | (extern debug (ira_allocno_copy &)): New. | |
1094 | (extern debug (ira_allocno_copy *)): New. | |
1095 | (extern debug (ira_allocno &)): New. | |
1096 | (extern debug (ira_allocno *)): New. | |
1097 | * ira-lives.c | |
1098 | (debug (live_range &)): New. | |
1099 | (debug (live_range *)): New. | |
1100 | * lra-int.h | |
1101 | (debug (lra_live_range &)): New. | |
1102 | (debug (lra_live_range *)): New. | |
1103 | * lra-lives.c | |
1104 | (debug (lra_live_range &)): New. | |
1105 | (debug (lra_live_range *)): New. | |
1106 | * omega.c | |
1107 | (debug (omega_pb_d &)): New. | |
1108 | (debug (omega_pb_d *)): New. | |
1109 | * omega.h | |
1110 | (extern debug (omega_pb_d &)): New. | |
1111 | (extern debug (omega_pb_d *)): New. | |
1112 | * print-rtl.c | |
1113 | (debug (const rtx_def &)): New. | |
1114 | (debug (const rtx_def *)): New. | |
1115 | * print-tree.c | |
1116 | (debug_tree (tree): Move within file. | |
1117 | (debug_raw (const tree_node &)): New. | |
1118 | (debug_raw (const tree_node *)): New. | |
1119 | (dump_tree_via_hooks (const tree_node *, int)): New. | |
1120 | (debug (const tree_node &)): New. | |
1121 | (debug (const tree_node *)): New. | |
1122 | (debug_verbose (const tree_node &)): New. | |
1123 | (debug_verbose (const tree_node *)): New. | |
1124 | (debug_head (const tree_node &)): New. | |
1125 | (debug_head (const tree_node *)): New. | |
1126 | (debug_body (const tree_node &)): New. | |
1127 | (debug_body (const tree_node *)): New. | |
1128 | (debug_vec_tree (tree): Move and reimplement in terms of dump. | |
1129 | (debug (vec<tree, va_gc> &)): New. | |
1130 | (debug (vec<tree, va_gc> *)): New. | |
1131 | * rtl.h | |
1132 | (extern debug (const rtx_def &)): New. | |
1133 | (extern debug (const rtx_def *)): New. | |
1134 | * sbitmap.c | |
1135 | (debug_raw (simple_bitmap_def &)): New. | |
1136 | (debug_raw (simple_bitmap_def *)): New. | |
1137 | (debug (simple_bitmap_def &)): New. | |
1138 | (debug (simple_bitmap_def *)): New. | |
1139 | * sbitmap.h | |
1140 | (extern debug (simple_bitmap_def &)): New. | |
1141 | (extern debug (simple_bitmap_def *)): New. | |
1142 | (extern debug_raw (simple_bitmap_def &)): New. | |
1143 | (extern debug_raw (simple_bitmap_def *)): New. | |
1144 | * sel-sched-dump.c | |
1145 | (debug (vinsn_def &)): New. | |
1146 | (debug (vinsn_def *)): New. | |
1147 | (debug_verbose (vinsn_def &)): New. | |
1148 | (debug_verbose (vinsn_def *)): New. | |
1149 | (debug (expr_def &)): New. | |
1150 | (debug (expr_def *)): New. | |
1151 | (debug_verbose (expr_def &)): New. | |
1152 | (debug_verbose (expr_def *)): New. | |
1153 | (debug (vec<rtx> &)): New. | |
1154 | (debug (vec<rtx> *)): New. | |
1155 | * sel-sched-dump.h | |
1156 | (extern debug (vinsn_def &)): New. | |
1157 | (extern debug (vinsn_def *)): New. | |
1158 | (extern debug_verbose (vinsn_def &)): New. | |
1159 | (extern debug_verbose (vinsn_def *)): New. | |
1160 | (extern debug (expr_def &)): New. | |
1161 | (extern debug (expr_def *)): New. | |
1162 | (extern debug_verbose (expr_def &)): New. | |
1163 | (extern debug_verbose (expr_def *)): New. | |
1164 | (extern debug (vec<rtx> &)): New. | |
1165 | (extern debug (vec<rtx> *)): New. | |
1166 | * sel-sched-ir.h | |
1167 | (_list_iter_cond_expr): Make inline instead of static. | |
1168 | * sreal.c | |
1169 | (debug (sreal &)): New. | |
1170 | (debug (sreal *)): New. | |
1171 | * sreal.h | |
1172 | (extern debug (sreal &)): New. | |
1173 | (extern debug (sreal *)): New. | |
1174 | * tree.h | |
1175 | (extern debug_raw (const tree_node &)): New. | |
1176 | (extern debug_raw (const tree_node *)): New. | |
1177 | (extern debug (const tree_node &)): New. | |
1178 | (extern debug (const tree_node *)): New. | |
1179 | (extern debug_verbose (const tree_node &)): New. | |
1180 | (extern debug_verbose (const tree_node *)): New. | |
1181 | (extern debug_head (const tree_node &)): New. | |
1182 | (extern debug_head (const tree_node *)): New. | |
1183 | (extern debug_body (const tree_node &)): New. | |
1184 | (extern debug_body (const tree_node *)): New. | |
1185 | (extern debug (vec<tree, va_gc> &)): New. | |
1186 | (extern debug (vec<tree, va_gc> *)): New. | |
1187 | * tree-cfg.c | |
1188 | (debug (struct loop &)): New. | |
1189 | (debug (struct loop *)): New. | |
1190 | (debug_verbose (struct loop &)): New. | |
1191 | (debug_verbose (struct loop *)): New. | |
1192 | * tree-dump.c: Add header dependence. | |
1193 | * tree-flow.h | |
1194 | (extern debug (struct loop &)): New. | |
1195 | (extern debug (struct loop *)): New. | |
1196 | (extern debug_verbose (struct loop &)): New. | |
1197 | (extern debug_verbose (struct loop *)): New. | |
1198 | * tree-data-ref.c | |
1199 | (debug (data_reference &)): New. | |
1200 | (debug (data_reference *)): New. | |
1201 | (debug (vec<data_reference_p> &)): New. | |
1202 | (debug (vec<data_reference_p> *)): New. | |
1203 | (debug (vec<ddr_p> &)): New. | |
1204 | (debug (vec<ddr_p> *)): New. | |
1205 | * tree-data-ref.h | |
1206 | (extern debug (data_reference &)): New. | |
1207 | (extern debug (data_reference *)): New. | |
1208 | (extern debug (vec<data_reference_p> &)): New. | |
1209 | (extern debug (vec<data_reference_p> *)): New. | |
1210 | (extern debug (vec<ddr_p> &)): New. | |
1211 | (extern debug (vec<ddr_p> *)): New. | |
1212 | * tree-ssa-alias.c | |
1213 | (debug (pt_solution &)): New. | |
1214 | (debug (pt_solution *)): New. | |
1215 | * tree-ssa-alias.h | |
1216 | (extern debug (pt_solution &)): New. | |
1217 | (extern debug (pt_solution *)): New. | |
1218 | * tree-ssa-alias.c | |
1219 | (debug (_var_map &)): New. | |
1220 | (debug (_var_map *)): New. | |
1221 | (debug (tree_live_info_d &)): New. | |
1222 | (debug (tree_live_info_d *)): New. | |
1223 | * tree-ssa-alias.h | |
1224 | (extern debug (_var_map &)): New. | |
1225 | (extern debug (_var_map *)): New. | |
1226 | (extern debug (tree_live_info_d &)): New. | |
1227 | (extern debug (tree_live_info_d *)): New. | |
1228 | ||
be77e1e5 JH |
1229 | 2013-03-28 Jan Hubicka <jh@suse.cz> |
1230 | ||
1231 | * lto-cgraph.c (merge_profile_summaries): Fix overflows. | |
1232 | ||
777e6976 IB |
1233 | 2013-03-28 Ian Bolton <ian.bolton@arm.com> |
1234 | ||
1235 | * config/aarch64/aarch64.md (aarch64_can_eliminate): Keep frame | |
1236 | record only when desired or required. | |
1237 | ||
9cd347ae UB |
1238 | 2013-03-28 Uros Bizjak <ubizjak@gmail.com> |
1239 | ||
1240 | * config/i386/i386.md (*vec_extract2vdi_1): Merge with | |
1241 | *vec_extractv2di_1_rex64. Use x64 isa attribute. | |
1242 | ||
2a1d1991 N |
1243 | 2013-03-28 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
1244 | ||
1245 | * config/aarch64/aarch64.md (*and<mode>3_compare0): New pattern. | |
1246 | (*andsi3_compare0_uxtw): New pattern. | |
1247 | (*and_<SHIFT:optab><mode>3_compare0): New pattern. | |
1248 | (*and_<SHIFT:optab>si3_compare0_uxtw): New pattern. | |
1249 | ||
89ab31c1 JH |
1250 | 2013-03-28 Jan Hubicka <jh@suse.cz> |
1251 | ||
1252 | * data-streamer-in.c (streamer_read_gcov_count): New function. | |
1253 | * gimple-streamer-out.c: Include value-prof.h. | |
1254 | (output_gimple_stmt): Output histogram. | |
1255 | (output_bb): Use streamer_write_gcov_count. | |
1256 | * value-prof.c: Include data-streamer.h | |
1257 | (dump_histogram_value): Add HIST_TYPE_MAX. | |
1258 | (stream_out_histogram_value): New function. | |
1259 | (stream_in_histogram_value): New function. | |
1260 | * value-prof.h (enum hist_type): Add HIST_TYPE_MAX. | |
1261 | (stream_out_histogram_value, stream_in_histogram_value): Declare. | |
1262 | * data-streamer-out.c (streamer_write_gcov_count): New function. | |
1263 | (streamer_write_gcov_count_stream): New function. | |
1264 | * lto-cgraph.c (lto_output_edge): Update counter streaming. | |
1265 | (lto_output_node): Likewise. | |
1266 | (input_node, input_edge): Likewise. | |
1267 | * lto-streamer-out.c (output_cfg): Update streaming. | |
1268 | * lto-streamer-in.c (input_cfg): Likewise. | |
1269 | * data-streamer.h (streamer_write_gcov_count, | |
1270 | streamer_write_gcov_count_stream, streamer_read_gcov_count): Declare. | |
1271 | * gimple-streamer-in.c: Include value-prof.h | |
1272 | (input_gimple_stmt): Input histograms. | |
1273 | (input_bb): Update profile streaming. | |
1274 | ||
e594716a | 1275 | 2013-03-28 Kenneth Zadeck <zadeck@naturalbridge.com> |
b4c73eed | 1276 | |
8697be17 KZ |
1277 | * genmodes.c (emit_max_int): New function. |
1278 | (emit_insn_modes_h): Added call to emit_max_function. | |
39385fa6 PC |
1279 | * doc/rtl.texi (MAX_BITSIZE_MODE_ANY_INT, MAX_BITSIZE_MODE_ANY_MODE): |
1280 | Added doc. | |
8697be17 | 1281 | * machmode.def: Fixed comment. |
89ab31c1 | 1282 | |
e594716a | 1283 | 2013-03-28 Kenneth Zadeck <zadeck@naturalbridge.com> |
8697be17 KZ |
1284 | |
1285 | * combine.c (try_combine): Removed useless assert. | |
b4c73eed KZ |
1286 | * cselib.c (rtx_equal_for_cselib_1): Removed unnecessary parens. |
1287 | ||
74946978 MP |
1288 | 2013-03-28 Marek Polacek <polacek@redhat.com> |
1289 | Richard Biener <rguenther@suse.de> | |
1290 | ||
1291 | PR tree-optimization/56695 | |
1292 | * tree-vect-stmts.c (vectorizable_condition): Unconditionally | |
1293 | build signed result of a vector comparison. | |
1294 | * tree-cfg.c (verify_gimple_comparison): Check that a result | |
1295 | of a vector comparison has signed type. | |
1296 | ||
a64b9c26 RB |
1297 | 2013-03-28 Richard Biener <rguenther@suse.de> |
1298 | ||
1299 | PR tree-optimization/37021 | |
1300 | * tree-vect-slp.c (vect_build_slp_tree): When not unrolling | |
1301 | do not restrict gaps between groups. | |
1302 | * tree-vect-stmts.c (vectorizable_load): Properly account for | |
1303 | a gap between groups. | |
1304 | ||
a9dc2a2f EB |
1305 | 2013-03-28 Eric Botcazou <ebotcazou@adacore.com> |
1306 | ||
1307 | * toplev.c (process_options): Do not disable -fomit-frame-pointer on a | |
1308 | general basis if unwind info is requested and ACCUMULATE_OUTGOING_ARGS | |
1309 | is not enabled. | |
1310 | ||
53cb97f9 GP |
1311 | 2013-03-27 Gerald Pfeifer <gerald@pfeifer.com> |
1312 | ||
1313 | * doc/invoke.texi (AVR Options): Tweak link for AVR-LibC user manual. | |
1314 | * doc/extend.texi (Named Address Spaces): Ditto. | |
1315 | (Variable Attributes): Ditto. | |
1316 | ||
b802ae5c KT |
1317 | 2013-03-27 Kai Tietz <ktietz@redhat.com> |
1318 | ||
eddae10a KT |
1319 | * config.build: Add support for cygwin x64 target. |
1320 | * config.gcc: Likewise. | |
1321 | * config.host: Likewise. | |
1322 | * configure.ac: Likewise | |
1323 | * configure: Regenerated. | |
b802ae5c | 1324 | |
8269de54 KT |
1325 | 2013-03-27 Kai Tietz <ktietz@redhat.com> |
1326 | ||
1327 | * config/i386/cygwin-stdint.h: Add support for cygwin x64 target. | |
1328 | * config/i386/t-cygwin-w64: New file. | |
1329 | * config/i386/cygwin-w64.h: New file. | |
1330 | * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): Extend | |
1331 | and add support for x64-cygwin target. | |
1332 | (CPP_SPEC): Likewise. | |
1333 | (CXX_WRAP_SPEC_LIST): Undefine before define. | |
1334 | (LIBGCJ_SONAME): Use 15 as version. | |
1335 | ||
f49b33cb RB |
1336 | 2013-03-27 Richard Biener <rguenther@suse.de> |
1337 | ||
1338 | PR tree-optimization/56716 | |
1339 | * tree-ssa-structalias.c (perform_var_substitution): Adjust | |
1340 | dumping for ref nodes. | |
1341 | ||
b37a6ce5 MJ |
1342 | 2013-03-27 Martin Jambor <mjambor@suse.cz> |
1343 | ||
1344 | PR tree-optimization/55334 | |
1345 | * ipa-cp.c (initialize_node_lattices): Allow IPA-CP through and to | |
1346 | restricted pointers to arrays. | |
1347 | ||
9469b9b2 GDR |
1348 | 2013-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1349 | ||
1350 | * Makefile.in (.SUFFIXES): Add .cc. | |
1351 | (.c.o): Apply same recipe for implicit rule .cc.o. | |
1352 | ||
7d24f650 RB |
1353 | 2013-03-27 Richard Biener <rguenther@suse.de> |
1354 | ||
1355 | PR tree-optimization/37021 | |
1356 | * tree-vect-data-refs.c (vect_check_strided_load): Allow | |
1357 | REALPART/IMAGPART_EXPRs around the supported refs. | |
1358 | * tree-ssa-structalias.c (find_func_aliases): Assume that | |
1359 | floating-point values are not used to transfer pointers. | |
1360 | ||
2f251a05 AI |
1361 | 2013-03-27 Alexander Ivchenko <alexander.ivchenko@intel.com> |
1362 | ||
39385fa6 PC |
1363 | * target.def (TARGET_HAS_IFUNC_P): New target hook. |
1364 | * doc/tm.texi.in (TARGET_HAS_IFUNC_P): New. | |
1365 | * doc/tm.texi: Regenerate. | |
1366 | * targhooks.h (default_has_ifunc_p): New. | |
1367 | * targhooks.c (default_has_ifunc_p): Ditto. | |
1368 | * config/linux-protos.h: New file. | |
1369 | * config/linux-android.h (TARGET_HAS_IFUNC_P): Using version of | |
2f251a05 AI |
1370 | this hook for linux which disables support of indirect functions in |
1371 | android. | |
39385fa6 PC |
1372 | * config/linux-android.c: New file. |
1373 | * config/t-linux-android.c: Ditto. | |
1374 | * config.gcc: Added new object file linux-android.o. | |
1375 | * config/i386/i386.c (ix86_get_function_versions_dispatcher): | |
2f251a05 | 1376 | Using TARGET_HAS_IFUNC hook instead of HAVE_GNU_INDIRECT_FUNCTION. |
39385fa6 | 1377 | * varasm.c (do_assemble_alias): Likewise. |
2f251a05 AI |
1378 | * configure.ac: Define HAVE_GNU_INDIRECT_FUNCTION as zero if the target |
1379 | doesn't support indirect functions. | |
1380 | * configure: Regenerate. | |
1381 | ||
78b4e425 BC |
1382 | 2013-03-27 Bin Cheng <bin.cheng@arm.com> |
1383 | ||
1384 | PR target/56102 | |
1385 | * config/arm/arm.c (thumb1_rtx_costs, thumb1_size_rtx_costs): Fix | |
1386 | rtx costs for SET/ASHIFT/ASHIFTRT/LSHIFTRT/ROTATERT patterns with | |
1387 | mult-word mode. | |
1388 | ||
a5ba7b92 AK |
1389 | 2013-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
1390 | ||
1391 | * config/s390/s390.h (TARGET_FLT_EVAL_METHOD): Define. | |
1392 | ||
be624986 TG |
1393 | 2013-03-27 Terry Guo <terry.guo@arm.com> |
1394 | ||
1395 | * config/arm/arm-cores.def: Added core cortex-r7. | |
1396 | * config/arm/arm-tune.md: Regenerated. | |
1397 | * config/arm/arm-tables.opt: Regenerated. | |
1398 | * doc/invoke.texi: Added entry for core cortex-r7. | |
1399 | ||
0a514f47 WL |
1400 | 2013-03-27 Walter Lee <walt@tilera.com> |
1401 | ||
1402 | * config/tilegx/tilegx.c (tilegx_expand_prologue): Avoid | |
1403 | double-decrement of next_scratch_regno. | |
1404 | ||
9332b0d2 WL |
1405 | 2013-03-27 Walter Lee <walt@tilera.com> |
1406 | ||
801d9b2a | 1407 | * config/tilegx/tilegx.md (insn_v1mulu): Fix predicates on |
9332b0d2 WL |
1408 | input operands. |
1409 | (insn_v1mulus): Ditto. | |
1410 | (insn_v2muls): Ditto. | |
1411 | ||
f54ea5dd WL |
1412 | 2013-03-27 Walter Lee <walt@tilera.com> |
1413 | ||
e594716a | 1414 | * config/tilegx/tilegx.h (ASM_OUTPUT_ADDR_VEC_ELT): Delete extra tab. |
f54ea5dd WL |
1415 | (ASM_OUTPUT_ADDR_DIFF_ELT): Ditto. |
1416 | ||
bf60f4ca WL |
1417 | 2013-03-27 Walter Lee <walt@tilera.com> |
1418 | ||
e594716a | 1419 | * config/tilegx/tilegx.md (*sibcall_insn): Fix type atribute for jr. |
bf60f4ca WL |
1420 | (*sibcall_value): Ditto. |
1421 | ||
e3b51eeb WL |
1422 | 2013-03-27 Walter Lee <walt@tilera.com> |
1423 | ||
1424 | * config/tilegx/tilegx.md (insn_mnz_<mode>): Replaced by ... | |
1425 | (insn_mnz_v8qi): ... this ... | |
1426 | (insn_mnz_v4hi): ... and this. Replace (const_int 0) with the | |
1427 | vector equivalent. | |
1428 | (insn_v<n>mnz): Replaced by ... | |
1429 | (insn_v1mnz): ... this ... | |
1430 | (insn_v2mnz): ... and this. Replace (const_int 0) with the vector | |
1431 | equivalent. | |
1432 | (insn_mz_<mode>): Replaced by ... | |
1433 | (insn_mz_v8qi): ... this ... | |
1434 | (insn_mz_v4hi): ... and this. Replace (const_int 0) with the | |
1435 | vector equivalent. | |
1436 | (insn_v<n>mz): Replaced by ... | |
1437 | (insn_v1mz): ... this ... | |
1438 | (insn_v2mz): ... and this. Replace (const_int 0) with the vector | |
1439 | equivalent. | |
1440 | ||
4fc7b145 EB |
1441 | 2013-03-26 Eric Botcazou <ebotcazou@adacore.com> |
1442 | ||
1443 | * doc/invoke.texi (SPARC options): Remove -mlittle-endian. | |
1444 | ||
6f33817e RM |
1445 | 2013-03-26 Roland McGrath <mcgrathr@google.com> |
1446 | ||
1447 | * config/arm/arm.c (arm_print_operand: case 'w'): Use fputs rather | |
1448 | than fprintf with a non-constant, non-format string. | |
1449 | ||
93a4145b UB |
1450 | 2013-03-26 Uros Bizjak <ubizjak@gmail.com> |
1451 | ||
1452 | * config/i386/i386.md (*cmpqi_ext_1): Merge with *cmpqi_ext_1_rex64 | |
1453 | using nox64 isa attribute. Use nonimmediate_x86nomem_operand as | |
1454 | operand 0 predicate. | |
1455 | (*cmpqi_ext_3): Merge with *cmpqi_ext_3_rex64 using nox64 isa | |
1456 | attribute. Use general_x64nomem_operand as operand 1 predicate. | |
1457 | (*movqi_extv_1): Merge with *movqi_extv_1_rex64 using nox64 isa | |
1458 | attribute. Use nonimmediate_x64nomem_operand as operand 0 predicate. | |
1459 | (*movqi_extzv_2): Merge with *movqi_extzv_2_rex64 using nox64 isa | |
1460 | attribute. Use nonimmediate_x64nomem_operand as operand 0 predicate. | |
1461 | (mov<mode>_insv_1): Remove expander. Merge insn with | |
1462 | movsi_insv_1 using SWI48 mode iterator and nox64 isa attribute. | |
1463 | Use general_x64nomem_operand as operand 1 predicate. | |
1464 | (addqi_ext_1): Merge with *addqi_ext_1_rex64 using nox64 isa attribute. | |
1465 | (*testqi_ext_1): Merge with *testqi_ext_1_rex64 using nox64 isa | |
1466 | attribute. Use nonimmediate_x64nomem_operand as operand 1 predicate. | |
1467 | (*andqi_ext_1): Merge with *andqi_ext_1_rex64 using nox64 isa | |
1468 | attribute. Use nonimmediate_x64nomem_operand as operand 2 predicate. | |
1469 | (*<code>qi_ext_1): Merge with *<code>qi_ext_1_rex64 using nox64 isa | |
1470 | attribute. Use nonimmediate_x64nomem_operand as operand 1 predicate. | |
1471 | (*xorqi_cc_ext_1): Merge with *xorqi_cc_ext_1_rex64 using nox64 | |
1472 | isa attribute. Use general_x64nomem_operand as operand 2 predicate. | |
1473 | * config/i386/predicates.md (nonimmediate_x64nomem_operand): New. | |
1474 | (general_x64nomem_operand): Ditto. | |
1475 | ||
c6a9ed5a | 1476 | 2013-03-26 Sebastian Huber <sebastian.huber@embedded-brains.de> |
df599020 SH |
1477 | |
1478 | * config/rtems.opt: Add -pthread option. | |
1479 | ||
31b0a960 RB |
1480 | 2013-03-26 Richard Biener <rguenther@suse.de> |
1481 | ||
93a4145b UB |
1482 | * alias.c (find_base_term): Avoid redundant and not used recursion. |
1483 | (base_alias_check): Get the initial base term from the caller. | |
31b0a960 RB |
1484 | (true_dependence_1): Compute and pass base terms to base_alias_check. |
1485 | (write_dependence_p): Likewise. | |
1486 | (may_alias_p): Likewise. | |
1487 | ||
79517551 SN |
1488 | 2013-03-26 Sofiane Naci <sofiane.naci@arm.com> |
1489 | ||
1490 | * config/aarch64/aarch64.c (aarch64_classify_address): Support | |
1491 | PC-relative load in SI modes and above only. | |
1492 | ||
a76213b9 XQ |
1493 | 2013-03-26 Xinyu Qi <xyqi@marvell.com> |
1494 | ||
1495 | * config/arm/arm.h (FIRST_IWMMXT_GR_REGNUM): Add comment. | |
1496 | * config/arm/iwmmxt.md (WCGR0): Update. | |
1497 | (WCGR1, WCGR2, WCGR3): Likewise. | |
1498 | ||
37ff9355 UB |
1499 | 2013-03-26 Uros Bizjak <ubizjak@gmail.com> |
1500 | ||
1501 | * config/i386/i386.md (*movdfcc_1): Merge with *movdfcc_1_rex64. | |
1502 | Use x64 and nox64 isa attributes. | |
1503 | ||
30b0317c RB |
1504 | 2013-03-26 Richard Biener <rguenther@suse.de> |
1505 | ||
1506 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Remove | |
1507 | alignment computations and rely on get_object_alignment_1 | |
1508 | for the !TYPE_P case. | |
1509 | Commonize DECL/COMPONENT_REF handling in the ARRAY_REF path. | |
1510 | ||
cbcdb140 WL |
1511 | 2013-03-26 Walter Lee <walt@tilera.com> |
1512 | ||
1513 | * config/tilegx/tilegx.h (PROFILE_BEFORE_PROLOGUE): Define. | |
1514 | * config/tilegx/tilepro.h (PROFILE_BEFORE_PROLOGUE): Define. | |
1515 | ||
dd884525 | 1516 | 2013-03-25 Jeff Law <law@redhat.com> |
be672e08 | 1517 | |
dd884525 JL |
1518 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Add missing |
1519 | check for INTEGRAL_TYPE_P that was missing due to checking in | |
1520 | wrong version of prior patch. | |
1521 | ||
0051d3ec WL |
1522 | 2013-03-25 Walter Lee <walt@tilera.com> |
1523 | ||
1524 | * config/tilegx/tilegx-builtins.h (enum tilegx_builtin): Add | |
1525 | TILEGX_INSN_SHUFFLEBYTES1. | |
1526 | * config/tilegx/tilegx.c (tilegx_builtin_info): Add entry for | |
1527 | shufflebytes1. | |
1528 | (tilegx_builtins): Ditto. | |
1529 | * config/tilegx/tilegx.md (insn_shufflebytes1): New pattern. | |
1530 | ||
065a3605 WL |
1531 | 2013-03-25 Walter Lee <walt@tilera.com> |
1532 | ||
1533 | * config/tilegx/tilegx.md (floatsisf2): New pattern. | |
0051d3ec WL |
1534 | (floatunssisf2): New pattern. |
1535 | (floatsidf2): New pattern. | |
1536 | (floatunssidf2): New pattern. | |
065a3605 | 1537 | |
5b2a3c82 WL |
1538 | 2013-03-25 Walter Lee <walt@tilera.com> |
1539 | ||
1540 | * config/tilegx/tilegx.c (expand_set_cint64_one_inst): Inline | |
1541 | tests for constraint J, K, N, P. | |
1542 | ||
192ea533 WL |
1543 | 2013-03-25 Walter Lee <walt@tilera.com> |
1544 | ||
1545 | * config/tilegx/tilegx.c (tilegx_asm_preferred_eh_data_format): | |
1546 | Use indirect/pcrel encoding. | |
1547 | * config/tilepro/tilepro.c (tilepro_asm_preferred_eh_data_format): | |
1548 | Ditto. | |
1549 | ||
855e0d0b SE |
1550 | 2013-03-25 Steve Ellcey <sellcey@mips.com> |
1551 | ||
1552 | * config/mips/mmips-cpus.def (74kc, 74kf2_1, 74kf, 74kf, 74kf1_1, | |
1553 | 74kfx, 74kx, 74kf3_2): Add PTF_AVOID_IMADD. | |
1554 | * config/mips/mips.c (mips_option_override): Set IMADD default. | |
1555 | * config/mips/mips.h (PTF_AVOID_IMADD): New. | |
1556 | (ISA_HAS_MADD_MSUB): Remove MIPS16 check. | |
1557 | (GENERATE_MADD_MSUB): Remove TUNE_74K check, add MIPS16 check. | |
1558 | * config/mips/mips.md (mimadd): New flag for integer madd/msub. | |
1559 | * doc/invoke.texi (-mimadd/-mno-imadd): New. | |
1560 | ||
39e45653 JL |
1561 | 2013-03-25 Jeff Law <law@redhat.com> |
1562 | ||
1563 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Rework | |
1564 | slightly to avoid creating and folding useless trees. Simplify | |
1565 | slightly by restricting to INTEGER_CSTs and using int_fits_type_p. | |
1566 | ||
7482c470 UB |
1567 | 2013-03-25 Uros Bizjak <ubizjak@gmail.com> |
1568 | ||
1569 | * config/i386/i386.md (*zero_extendsidi2): Merge with | |
1570 | *zero_extendsidi2_rex64. Use x64 and nox64 isa attributes. | |
1571 | * config/i386/predicates.md (x86_64_zext_operand): Rename from | |
1572 | x86_64_zext_general_operand. Use nonimmediate_operand on 32bit | |
1573 | targets. Clarify comment. | |
1574 | ||
4a53743e MJ |
1575 | 2013-03-25 Martin Jambor <mjambor@suse.cz> |
1576 | ||
1577 | * ipa-prop.c (ipa_write_jump_function): Stream simple and aritmetic | |
1578 | pass-through jump functions differently. | |
1579 | (ipa_read_jump_function): Likewise. Also use setter functions to set | |
1580 | up jump functions. | |
1581 | ||
162712de MJ |
1582 | 2013-03-25 Martin Jambor <mjambor@suse.cz> |
1583 | ||
1584 | * ipa-cp.c (ipa_get_indirect_edge_target): Renamed to | |
1585 | ipa_get_indirect_edge_target_1, added parameter agg_reps and ability to | |
1586 | process it. | |
1587 | (ipa_get_indirect_edge_target): New function. | |
1588 | (devirtualization_time_bonus): New parameter known_aggs, pass it to | |
1589 | ipa_get_indirect_edge_target. Update all callers. | |
1590 | (ipcp_discover_new_direct_edges): New parameter aggvals. Pass it to | |
1591 | ipa_get_indirect_edge_target_1 instead of calling | |
1592 | ipa_get_indirect_edge_target. | |
1593 | (create_specialized_node): Pass aggvlas to | |
1594 | ipcp_discover_new_direct_edges. | |
1595 | ||
a5a4c20a KT |
1596 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
1597 | ||
1598 | * config/arm/arm.md (f_sels, f_seld): New types. | |
1599 | (*cmov<mode>): New pattern. | |
1600 | * config/arm/predicates.md (arm_vsel_comparison_operator): New | |
1601 | predicate. | |
1602 | ||
f992b9fc KT |
1603 | 2013-03-25 Kai Tietz <ktietz@redhat.com> |
1604 | ||
1605 | * config/i386/xm-mingw32.h (__USE_MINGW_ANSI_STDIO): Enable | |
1606 | POSIX-printf for mingw-hosted builds. | |
1607 | ||
c16fd676 RB |
1608 | 2013-03-25 Richard Biener <rguenther@suse.de> |
1609 | ||
1610 | PR middle-end/56694 | |
1611 | * tree-eh.c (lower_eh_must_not_throw): Strip BLOCKs from the | |
1612 | must-not-throw stmt location. | |
1613 | ||
5ad29f12 KT |
1614 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
1615 | ||
1616 | * config/arm/arm.c (arm_emit_load_exclusive): Add acq parameter. | |
1617 | Emit load-acquire versions when acq is true. | |
1618 | (arm_emit_store_exclusive): Add rel parameter. | |
1619 | Emit store-release versions when rel is true. | |
1620 | (arm_split_compare_and_swap): Use acquire-release instructions | |
1621 | instead. | |
1622 | of barriers when appropriate. | |
1623 | (arm_split_atomic_op): Likewise. | |
1624 | * config/arm/arm.h (TARGET_HAVE_LDACQ): New macro. | |
1625 | * config/arm/unspecs.md (VUNSPEC_LAX): New unspec. | |
1626 | (VUNSPEC_SLX): Likewise. | |
1627 | (VUNSPEC_LDA): Likewise. | |
1628 | (VUNSPEC_STL): Likewise. | |
1629 | * config/arm/sync.md (atomic_load<mode>): New pattern. | |
1630 | (atomic_store<mode>): Likewise. | |
1631 | (arm_load_acquire_exclusive<mode>): Likewise. | |
1632 | (arm_load_acquire_exclusivesi): Likewise. | |
1633 | (arm_load_acquire_exclusivedi): Likewise. | |
1634 | (arm_store_release_exclusive<mode>): Likewise. | |
1635 | ||
03a7dddb CM |
1636 | 2013-03-25 Catherine Moore <clm@codesourcery.com> |
1637 | ||
1638 | * config/mips/constraints.md (u, Udb7 Uead, Uean, Uesp, Uib3, | |
1639 | Uuw6, Usb4, ZS, ZT, ZU, ZV, ZW): New constraints. | |
1640 | * config/mip/predicates.md (lwsp_swsp_operand, | |
1641 | lw16_sw16_operand, lhu16_sh16_operand, lbu16_operand, | |
1642 | sb16_operand, db4_operand, db7_operand, ib3_operand, | |
1643 | sb4_operand, ub4_operand, uh4_operand, uw4_operand, | |
1644 | uw5_operand, uw6_operand, addiur2_operand, addiusp_operand, | |
1645 | andi16_operand): New predicates. | |
1646 | * config/mips/mips.md (compression): New attribute. | |
1647 | (enabled): New attribute. | |
1648 | (length): Consider compression in computing length. | |
1649 | (shift_compression): New code attribute. | |
1650 | (*add<mode>3): New operands. Record compression. | |
1651 | (sub<mode>3): Likewise. | |
1652 | (one_cmpl<mode>2): Likewise. | |
1653 | (*and<mode>3): Likewise. | |
1654 | (*ior<mode>3): Likewise. | |
1655 | (unnamed pattern for xor): Likewise. | |
1656 | (*zero_extend<SHORT:mode><GPR:mode>2): Likewise. | |
1657 | (*<optab><mode>3): Likewise. | |
1658 | (*mov<mode>_internal: Likewise. | |
1659 | * config/mips/mips-protos.h (mips_signed_immediate_p): New. | |
1660 | (mips_unsigned_immediate_p): New. | |
1661 | (umips_lwsp_swsp_address_p): New. | |
1662 | (m16_based_address_p): New. | |
1663 | * config/mips/mips-protos.h (mips_signed_immediate_p): New prototype. | |
1664 | (mips_unsigned_immediate_p): New prototype. | |
1665 | (lwsp_swsp_address_p): New prototype. | |
1666 | (m16_based_address_p): New prototype. | |
1667 | * config/mips/mips.c (mips_unsigned_immediate_p): New function. | |
1668 | (mips_signed_immediate_p): New function. | |
1669 | (m16_based_address_p): New function. | |
1670 | (lwsp_swsp_address_p): New function. | |
1671 | (mips_print_operand_punctuation): Recognize short delay slot insns | |
1672 | for microMIPS.add<mode>3" | |
1673 | ||
f35c297f | 1674 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
a5784ce6 | 1675 | |
f35c297f KT |
1676 | PR target/56720 |
1677 | * config/arm/iterators.md (v_cmp_result): New mode attribute. | |
1678 | * config/arm/neon.md (vcond<mode><mode>): Handle unordered cases. | |
1679 | ||
051b9446 RB |
1680 | 2013-03-25 Richard Biener <rguenther@suse.de> |
1681 | ||
1682 | PR tree-optimization/56689 | |
1683 | * tree-vrp.c (execute_vrp): Mark loops for fixup if we removed | |
1684 | any edge. | |
1685 | ||
374001cb RB |
1686 | 2013-03-25 Richard Biener <rguenther@suse.de> |
1687 | ||
1688 | * tree-ssa-loop-im.c (struct mem_ref): Use bitmap_head instead | |
1689 | of bitmap. | |
1690 | (memory_references): Likewise. | |
1691 | (outermost_indep_loop, mem_ref_alloc, mark_ref_stored, | |
1692 | gather_mem_refs_stmt, record_dep_loop, ref_indep_loop_p_1, | |
1693 | ref_indep_loop_p_2, find_refs_for_sm): Adjust. | |
1694 | (gather_mem_refs_in_loops): Fold into ... | |
1695 | (analyze_memory_references): ... this. Move initialization | |
1696 | to tree_ssa_lim_initialize. | |
1697 | (fill_always_executed_in): Rename to ... | |
1698 | (fill_always_executed_in_1): ... this. | |
1699 | (fill_always_executed_in): Move contains_call computation to | |
1700 | this new function from ... | |
1701 | (tree_ssa_lim_initialize): ... here. | |
1702 | (tree_ssa_lim): Call fill_always_executed_in. | |
1703 | ||
57895947 EB |
1704 | 2013-03-25 Eric Botcazou <ebotcazou@adacore.com> |
1705 | ||
1706 | * postreload.c (reload_combine): Fix code detecting returns. | |
1707 | ||
1e1b18c1 EB |
1708 | 2013-03-25 Eric Botcazou <ebotcazou@adacore.com> |
1709 | ||
1710 | * function.c (emit_use_return_register_into_block): On cc0 targets, | |
1711 | do not emit the sequence between cc0 setter and user. | |
1712 | ||
9216baf1 KT |
1713 | 2013-03-25 Kai Tietz <ktietz@redhat.com> |
1714 | ||
1e1b18c1 EB |
1715 | * config/i386/predicates.md (local_symbolic_operand): Interpret |
1716 | dll-imported symbols as none-local. | |
9216baf1 | 1717 | |
76421b44 RB |
1718 | 2013-03-25 Richard Biener <rguenther@suse.de> |
1719 | ||
1720 | * tree-ssa-loop-im.c (struct depend): Remove. | |
1721 | (struct lim_aux_data): Make depends a vec of gimples. | |
1722 | (free_lim_aux_data): Adjust. | |
1723 | (add_dependency): Likewise. | |
1724 | (set_level): Likewise. | |
1725 | ||
d154bfa2 RB |
1726 | 2013-03-25 Richard Biener <rguenther@suse.de> |
1727 | ||
1728 | PR middle-end/56434 | |
1729 | * calls.c (expand_call): Use MALLOC_ABI_ALIGNMENT to annotate | |
1730 | the pointer returned by calls with ECF_MALLOC set. | |
1731 | ||
2cd9804e UB |
1732 | 2013-03-24 Uros Bizjak <ubizjak@gmail.com> |
1733 | ||
acef5fe0 UB |
1734 | * config/i386/mmx.md (mov<mode>): Add ?!Ym,r and r,?!Ym alternatives. |
1735 | ||
1736 | 2013-03-24 Uros Bizjak <ubizjak@gmail.com> | |
1737 | ||
1738 | * config/i386/mmx.md (mov<mode>): Merge with movv2sf expander | |
2cd9804e UB |
1739 | using MMXMODE mode iterator. |
1740 | (*move<mode>_internal): Merge with *movv2sf_internal and | |
1741 | *movv2sf_internal_rex64 using MMXMODE mode iterator. | |
1742 | ||
225ccc68 SB |
1743 | 2013-03-23 Steven Bosscher <steven@gcc.gnu.org> |
1744 | ||
85c0f02d SB |
1745 | * gcse.c (oprs_unchanged_p): Respect flag_gcse_lm. |
1746 | (record_last_mem_set_info): Likewise. | |
1747 | ||
225ccc68 SB |
1748 | * df-core.c (rest_of_handle_df_initialize): Use XCNEWVEC instead |
1749 | of XNEWVEC followed by memset. | |
1750 | (df_worklist_dataflow): Use XNEWVEC instead of xmalloc with a cast. | |
1751 | ||
b64925dc SB |
1752 | 2013-03-23 Steven Bosscher <steven@gcc.gnu.org> |
1753 | ||
1754 | * config/avr/avr.c, config/bfin/bfin.c, config/c6x/c6x.c, | |
1755 | config/epiphany/epiphany.c, config/frv/frv.c, config/ia64/ia64.c, | |
1756 | config/iq2000/iq2000.c, config/mcore/mcore.c, config/mep/mep.c, | |
1757 | config/mmix/mmix.c, config/pa/pa.c, config/rs6000/rs6000.c, | |
1758 | config/s390/s390.c, config/sparc/sparc.c, config/spu/spu.c, | |
1759 | config/stormy16/stormy16.c, config/v850/v850.c, config/xtensa/xtensa.c, | |
1760 | dwarf2out.c, hw-doloop.c, resource.c, rtl.h : Where applicable, use | |
1761 | the predicates NOTE_P, NONJUMP_INSN_P, JUMP_P, CALL_P, LABEL_P, and | |
1762 | BARRIER_P instead of GET_CODE. | |
1763 | ||
b9aaf52e EB |
1764 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
1765 | ||
1766 | * config/sparc/sparc.c (sparc_emit_probe_stack_range): Fix small | |
1767 | inaccuracy in the probing code. | |
1768 | ||
1769 | * config/sparc/sparc.md (ctrapsi4): Add predicate for operand #3. | |
1770 | (ctrapdi4): Likewise. | |
1771 | ||
66de4d7c EB |
1772 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
1773 | ||
1774 | * calls.c (expand_call): Add missing guard to code handling return | |
1775 | of non-BLKmode structures in MSB. | |
1776 | * function.c (expand_function_end): Likewise. | |
1777 | ||
4f25c8fb EB |
1778 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
1779 | ||
1780 | * combine.c (try_combine): Adjust comment. Do not add the set of | |
1781 | insn #0 if the destination indirectly is set or dies in insn #2. | |
1782 | Tidy up code to distribute a new note. | |
1783 | ||
23b7850d UB |
1784 | 2013-03-22 Uros Bizjak <ubizjak@gmail.com> |
1785 | ||
1786 | * config/i386/i386.md (*movdi_internal): Set prefix_rex attribute | |
1787 | also for alternatives 16 and 17. | |
1788 | ||
bed852cf UB |
1789 | 2013-03-22 Uros Bizjak <ubizjak@gmail.com> |
1790 | ||
1791 | * config/i386/sse.md (*mov<mode>_internal): Merge with | |
1792 | *mov<mode>_internal_rex64. Use x64 and nox64 isa attributes. | |
1793 | Emit insn template depending on type attribute. Use | |
1794 | HAVE_AS_IX86_INTERUNIT_MOVQ to handle broken assemblers that require | |
1795 | movd instead of movq mnemonic for interunit moves. Rewrite mode | |
1796 | attribute calculation. Remove unit attribute calculation. | |
1797 | Set prefix attribute to maybe_vex for sselog1 and ssemov types. | |
1798 | Set prefix_data16 attribute for DImode ssemov types. | |
1799 | Use Ym instead of y for SSE-MMX conversion alternatives. | |
1800 | Reorder operand constraints. | |
1801 | ||
1e8a7937 SB |
1802 | 2013-03-22 Steven Bosscher <steven@gcc.gnu.org> |
1803 | ||
1804 | * df.h (df_insn_delete): Adjust prototype. | |
1805 | * emit-rtl.c (remove_insn): Pass a basic block to df_insn_delete | |
1806 | and let it decide whether mark the basic block dirty. | |
1807 | (set_insn_deleted): Only pass INSN_P insns to df_insn_delete. | |
1808 | * df-scan.c (df_insn_info_delete): New helper function, split | |
1809 | off from df_insn_delete. | |
1810 | (df_scan_free_bb_info): Use it. | |
1811 | (df_insn_rescan, df_insn_rescan_all, df_process_deferred_rescans): | |
1812 | Likewise. | |
1813 | (df_insn_delete): Likewise. Take insn rtx as argument. Verify | |
1814 | that the insn is actually an insn and it has a non-NULL basic block. | |
1815 | Do not mark basic block dirty if only deleting a DEBUG_INSN. | |
1816 | ||
e14d094c RB |
1817 | 2013-03-22 Richard Biener <rguenther@suse.de> |
1818 | ||
1819 | * tree-ssa-loop-im.c (struct mem_ref): Remove indep_ref and | |
1820 | dep_ref members. | |
1821 | (mem_ref_alloc): Do not allocate them. | |
1822 | (refs_independent_p): Do not query or maintain a cache. | |
1823 | ||
e9cf7316 RB |
1824 | 2013-03-22 Richard Biener <rguenther@suse.de> |
1825 | ||
1826 | * tree-ssa-loop-im.c (memory_references): Drop all_refs_in_loop. | |
1827 | (gather_mem_refs_in_loops): Do not compute it. | |
1828 | (analyze_memory_references): Do not allocate it. | |
1829 | (tree_ssa_lim_finalize): Do not free it. | |
1830 | (for_all_locs_in_loop): Do not query all_refs_in_loop. | |
1831 | ||
f046e81b RB |
1832 | 2013-03-22 Richard Biener <rguenther@suse.de> |
1833 | ||
1834 | * is-a.h (as_a): Use gcc_checking_assert. | |
bed852cf | 1835 | |
a05c0ddf IB |
1836 | 2013-03-22 Ian Bolton <ian.bolton@arm.com> |
1837 | ||
1838 | * config/aarch64/aarch64.c (aarch64_print_operand): New | |
1839 | format specifier for printing a constant in hex. | |
1840 | * config/aarch64/aarch64.md (insv_imm<mode>): Use the X | |
1841 | format specifier for printing second operand. | |
1842 | ||
c00217fc RB |
1843 | 2013-03-22 Richard Biener <rguenther@suse.de> |
1844 | ||
1845 | * tree-ssa-loop-im.c (memory_references): Add refs_stored_in_loop | |
1846 | bitmaps. | |
1847 | (gather_mem_refs_in_loops): Perform store accumulation here. | |
1848 | (create_vop_ref_mapping_loop): Remove. | |
1849 | (create_vop_ref_mapping): Likewise. | |
1850 | (analyze_memory_references): Initialize refs_stored_in_loop. | |
bed852cf | 1851 | (LOOP_DEP_BIT): New define to map to bits in (in)dep_loop bitmaps. |
c00217fc RB |
1852 | (record_indep_loop): Remove. |
1853 | (record_dep_loop): New function. | |
1854 | (ref_indep_loop_p_1): Adjust to only walk over references | |
1855 | in the loop, not its subloops. | |
1856 | (ref_indep_loop_p): Rename to ... | |
1857 | (ref_indep_loop_p_2): ... this and recurse over the loop tree, | |
1858 | maintaining a more fine-grained cache. | |
1859 | (ref_indep_loop_p): Wrap ref_indep_loop_p_2. | |
1860 | (tree_ssa_lim_finalize): Free refs_stored_in_loop. | |
1861 | ||
15d19bf8 RB |
1862 | 2013-03-22 Richard Biener <rguenther@suse.de> |
1863 | ||
1864 | * tree-ssa-loop-im.c (struct mem_ref_locs): Remove. | |
1865 | (struct mem_ref): Make accesses_in_loop a vec of a vec of | |
1866 | aggregate mem_ref_loc. | |
1867 | (free_mem_ref_locs): Inline into ... | |
1868 | (memref_free): ... this and adjust. | |
1869 | (mem_ref_alloc): Adjust. | |
1870 | (mem_ref_locs_alloc): Remove. | |
1871 | (record_mem_ref_loc): Adjust. | |
1872 | (get_all_locs_in_loop): Rewrite into ... | |
1873 | (for_all_locs_in_loop): ... this iterator. | |
1874 | (rewrite_mem_ref_loc): New functor. | |
1875 | (rewrite_mem_refs): Use for_all_locs_in_loop. | |
1876 | (sm_set_flag_if_changed): New functor. | |
1877 | (execute_sm_if_changed_flag_set): Use for_all_locs_in_loop. | |
1878 | (ref_always_accessed): New functor. | |
1879 | (ref_always_accessed_p): Use for_all_locs_in_loop. | |
1880 | ||
6f37411d MG |
1881 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
1882 | ||
1883 | * tree-pass.h (PROP_gimple_lvec): New. | |
1884 | * passes.c (dump_properties): Handle PROP_gimple_lvec. | |
1885 | (init_optimization_passes): Move pass_lower_vector. | |
1886 | * tree-vect-generic.c (gate_expand_vector_operations_ssa): Test | |
1887 | PROP_gimple_lvec. | |
1888 | (pass_lower_vector): Provide PROP_gimple_lvec. | |
1889 | (pass_lower_vector_ssa): Likewise. | |
1890 | * cfgexpand.c (pass_expand): Require PROP_gimple_lvec. | |
1891 | ||
511ef689 MW |
1892 | 2013-03-21 Mark Wielaard <mjw@redhat.com> |
1893 | ||
1894 | * dwarf2out.c (size_of_aranges): Skip DECL_IGNORED_P functions. | |
1895 | ||
cc1df30b UB |
1896 | 2013-03-21 Uros Bizjak <ubizjak@gmail.com> |
1897 | ||
1898 | * config/i386/i386.md (*movdi_internal): Disparage slightly | |
1899 | all MMX moves to/from memory. Use Yi instead of x for SSE-MMX | |
1900 | conversion alternatives. | |
1901 | ||
c845cfe1 JJ |
1902 | 2013-03-21 Jakub Jelinek <jakub@redhat.com> |
1903 | ||
37e99116 JJ |
1904 | PR middle-end/48087 |
1905 | * diagnostic.def (DK_WERROR): New kind. | |
1906 | * diagnostic.h (werrorcount): Define. | |
1907 | * diagnostic.c (diagnostic_report_diagnostic): For DK_WARNING | |
1908 | promoted to DK_ERROR, increment DK_WERROR counter instead of | |
1909 | DK_ERROR counter. | |
1910 | * toplev.c (toplev_main): Call print_ignored_options even if | |
1911 | just werrorcount is non-zero. Exit with FATAL_EXIT_CODE | |
1912 | even if just werrorcount is non-zero. | |
1913 | ||
c845cfe1 JJ |
1914 | PR debug/55608 |
1915 | * dwarf2out.c (tree_add_const_value_attribute): Call ggc_free (array) | |
1916 | on failure. | |
1917 | (resolve_one_addr): Fail if referenced STRING_CST hasn't been written. | |
1918 | (string_cst_pool_decl): New function. | |
1919 | (optimize_one_addr_into_implicit_ptr): New function. | |
1920 | (resolve_addr_in_expr): Optimize DWARF location expression | |
1921 | DW_OP_addr DW_OP_stack_value where DW_OP_addr refers to some variable | |
1922 | which doesn't live in memory, but has DW_AT_location or | |
1923 | DW_AT_const_value, or refers to a string literal, into | |
1924 | DW_OP_GNU_implicit_pointer. | |
1925 | (optimize_location_into_implicit_ptr): New function. | |
1926 | (resolve_addr): If removing DW_AT_location of a variable because | |
1927 | it was DW_OP_addr of address of the variable, but the variable doesn't | |
1928 | live in memory, try to emit const value attribute for the initializer. | |
1929 | ||
08e0cda6 MG |
1930 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
1931 | ||
1932 | * tree.h (VECTOR_TYPE_P): New macro. | |
1933 | (VECTOR_INTEGER_TYPE_P, VECTOR_FLOAT_TYPE_P, FLOAT_TYPE_P, | |
1934 | TYPE_MODE): Use it. | |
1935 | * fold-const.c (fold_cond_expr_with_comparison): Use build_zero_cst. | |
1936 | VEC_COND_EXPR cannot be lvalues. | |
1937 | (fold_ternary_loc) <VEC_COND_EXPR>: Merge with the COND_EXPR case. | |
1938 | ||
d08633b4 MG |
1939 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
1940 | ||
1941 | * simplify-rtx.c (simplify_binary_operation_1) <VEC_CONCAT>: | |
1942 | Restrict the transformation to equal modes. | |
1943 | ||
e6647190 RB |
1944 | 2013-03-21 Richard Biener <rguenther@suse.de> |
1945 | ||
1946 | PR tree-optimization/39326 | |
1947 | * tree-ssa-loop-im.c (UNANALYZABLE_MEM_ID): New define. | |
1948 | (MEM_ANALYZABLE): Adjust. | |
1949 | (record_mem_ref_loc): Move bitmap ops ... | |
1950 | (gather_mem_refs_stmt): ... here. Use the shared mem-ref for | |
1951 | unanalyzable refs, do not record locations for it. | |
1952 | (analyze_memory_references): Allocate ref zero as shared | |
1953 | unanalyzable ref. | |
1954 | (refs_independent_p): Do not test for unanalyzed mems here. | |
1955 | (ref_indep_loop_p_1): Special-case disambiguation against | |
1956 | the unanalyzed ref. | |
cc1df30b | 1957 | (ref_indep_loop_p): Assert we are not queried for the unanalyzed mem. |
e6647190 | 1958 | |
65074f54 CL |
1959 | 2013-03-21 Christophe Lyon <christophe.lyon@linaro.org> |
1960 | ||
1961 | * config/arm/arm-protos.h (tune_params): Add | |
1962 | prefer_neon_for_64bits field. | |
1963 | * config/arm/arm.c (prefer_neon_for_64bits): New variable. | |
1964 | (arm_slowmul_tune): Default prefer_neon_for_64bits to false. | |
1965 | (arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto. | |
1966 | (arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto. | |
1967 | (arm_cortex_a15_tune, arm_cortex_a5_tune): Ditto. | |
1968 | (arm_cortex_a9_tune, arm_v6m_tune, arm_fa726te_tune): Ditto. | |
1969 | (arm_option_override): Handle -mneon-for-64bits new option. | |
1970 | * config/arm/arm.h (TARGET_PREFER_NEON_64BITS): New macro. | |
1971 | (prefer_neon_for_64bits): Declare new variable. | |
1972 | * config/arm/arm.md (arch): Rename neon_onlya8 and neon_nota8 to | |
cc1df30b | 1973 | avoid_neon_for_64bits and neon_for_64bits. Remove onlya8 and nota8. |
65074f54 CL |
1974 | (arch_enabled): Handle new arch types. Remove support for onlya8 |
1975 | and nota8. | |
1976 | (one_cmpldi2): Use new arch names. | |
bc5faa5b | 1977 | (zero_extend<mode>di2, extend<mode>di2): Ditto. |
65074f54 CL |
1978 | * config/arm/arm.opt (mneon-for-64bits): Add option. |
1979 | * config/arm/neon.md (adddi3_neon, subdi3_neon, iordi3_neon) | |
1980 | (anddi3_neon, xordi3_neon, ashldi3_neon, <shift>di3_neon): Use | |
1981 | neon_for_64bits instead of nota8 and avoid_neon_for_64bits instead | |
1982 | of onlya8. | |
1983 | * doc/invoke.texi (-mneon-for-64bits): Document. | |
1984 | ||
5a2d2a79 RB |
1985 | 2013-03-21 Richard Biener <rguenther@suse.de> |
1986 | ||
1987 | PR tree-optimization/39326 | |
1988 | * tree-ssa-loop-im.c (bb_loop_postorder): New global static. | |
1989 | (sort_bbs_in_loop_postorder_cmp): New function. | |
cc1df30b | 1990 | (gather_mem_refs_in_loops): Assign mem-ref IDs in loop postorder. |
5a2d2a79 | 1991 | |
5abe1e05 RB |
1992 | 2013-03-21 Richard Biener <rguenther@suse.de> |
1993 | ||
1994 | * tree-vect-data-refs.c (vect_update_interleaving_chain): Remove. | |
1995 | (vect_insert_into_interleaving_chain): Likewise. | |
1996 | (vect_drs_dependent_in_basic_block): Inline ... | |
1997 | (vect_slp_analyze_data_ref_dependence): ... here. New function, | |
1998 | split out from ... | |
1999 | (vect_analyze_data_ref_dependence): ... here. Simplify. | |
2000 | (vect_check_interleaving): Simplify. | |
2001 | (vect_analyze_data_ref_dependences): Likewise. Split out ... | |
2002 | (vect_slp_analyze_data_ref_dependences): ... this new function. | |
2003 | (dr_group_sort_cmp): New function. | |
2004 | (vect_analyze_data_ref_accesses): Compute data-reference groups | |
2005 | here instead of in vect_analyze_data_ref_dependence. Use | |
2006 | a more efficient algorithm. | |
2007 | * tree-vect-slp.c (vect_slp_analyze_bb_1): Use | |
2008 | vect_slp_analyze_data_ref_dependences. Call | |
2009 | vect_analyze_data_ref_accesses earlier. | |
2010 | * tree-vect-loop.c (vect_analyze_loop_2): Likewise. | |
2011 | * tree-vectorizer.h (vect_analyze_data_ref_dependences): Adjust. | |
2012 | (vect_slp_analyze_data_ref_dependences): New prototype. | |
2013 | ||
cad1735b RB |
2014 | 2013-03-21 Richard Biener <rguenther@suse.de> |
2015 | ||
2016 | * tree-ssa-loop-im.c (can_sm_ref_p): Do not test whether | |
2017 | ref is stored in the loop. | |
2018 | (find_refs_for_sm): Walk only over all stores. | |
2019 | (store_motion_loop): Allocate from lim_bitmap_obstack. | |
2020 | (store_motion): Likewise. | |
2021 | ||
141310ef RB |
2022 | 2013-03-21 Richard Biener <rguenther@suse.de> |
2023 | ||
2024 | * tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): | |
2025 | Update virtual SSA form. | |
2026 | ||
5022315a RO |
2027 | 2013-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2028 | ||
2029 | * configure.ac (gcc_cv_ld_eh_frame_ciev3): New test. | |
2030 | * configure: Regenerate. | |
2031 | * config.in: Regenerate. | |
2032 | * config/sol2.c (solaris_override_options): Only enforce DWARF 2 | |
2033 | if !HAVE_LD_EH_FRAME_CIEV3. | |
2034 | ||
50d4421c RB |
2035 | 2013-03-21 Richard Biener <rguenther@suse.de> |
2036 | ||
2037 | * tree-cfg.c (verify_expr_no_block): New function. | |
2038 | (verify_expr_location_1): Verify that neither DECL_DEBUG_EXPR | |
2039 | nor DECL_VALUE_EXPR have locations with associated blocks. | |
2040 | * tree-ssa-live.c (clear_unused_block_pointer_1): Remove. | |
2041 | (clear_unused_block_pointer): Remove code dealing with | |
2042 | blocks in DECL_DEBUG_EXPR locations. | |
2043 | ||
839b422f RB |
2044 | 2013-03-21 Richard Biener <rguenther@suse.de> |
2045 | ||
2046 | * tree.h (DECL_DEBUG_EXPR_IS_FROM): Rename to ... | |
2047 | (DECL_HAS_DEBUG_EXPR_P): ... this. Guard properly. | |
2048 | * tree.c (copy_node_stat): Do not copy DECL_HAS_DEBUG_EXPR_P. | |
2049 | * dwarf2out.c (add_var_loc_to_decl): Use DECL_HAS_DEBUG_EXPR_P | |
2050 | instead of DECL_DEBUG_EXPR_IS_FROM. | |
2051 | * gimplify.c (gimplify_modify_expr): Likewise. | |
2052 | * tree-cfg.c (verify_expr_location_1): Likewise. | |
2053 | * tree-complex.c (create_one_component_var): Likewise. | |
2054 | * tree-sra.c (create_access_replacement): Likewise. | |
2055 | * tree-ssa-live.c (clear_unused_block_pointer_1): Likewise. | |
2056 | (clear_unused_block_pointer): Likewise. | |
2057 | * tree-streamer-in.c (unpack_ts_decl_common_value_fields): Likewise. | |
2058 | * tree-streamer-out.c (pack_ts_decl_common_value_fields): Likewise. | |
2059 | * var-tracking.c (var_debug_decl): Likewise. | |
2060 | (track_expr_p): Likewise. | |
2061 | * tree-inline.c (add_local_variables): Likewise. Set | |
2062 | DECL_HAS_DEBUG_EXPR_P after copying it. | |
2063 | * tree-diagnostic.c (default_tree_printer): Use DECL_HAS_DEBUG_EXPR_P | |
2064 | instead of DECL_DEBUG_EXPR_IS_FROM. Guard properly. | |
2065 | ||
fe04878d UB |
2066 | 2013-03-21 Uros Bizjak <ubizjak@gmail.com> |
2067 | ||
2068 | PR bootstrap/56656 | |
2069 | * configure.ac (HAVE_AS_IX86_INTERUNIT_MOVQ): New test. | |
2070 | * configure: Regenerate. | |
2071 | * config.in: Regenerate. | |
2072 | * config/i386/i386.md (*movdf_internal): Use | |
2073 | HAVE_AS_IX86_INTERUNIT_MOVQ to handle broken assemblers that require | |
2074 | movd instead of movq mnemonic for interunit moves. | |
2075 | (*movdi_internal): Ditto. | |
2076 | ||
bd059b26 | 2077 | 2013-03-21 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
fa2e9a58 N |
2078 | |
2079 | * config/aarch64/aarch64-simd.md (simd_fabd): New Attribute. | |
2080 | (abd<mode>_3): New pattern. | |
2081 | (aba<mode>_3): New pattern. | |
2082 | (fabd<mode>_3): New pattern. | |
2083 | ||
bd059b26 | 2084 | 2013-03-21 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
50ce6f88 N |
2085 | |
2086 | * config/aarch64/aarch64-elf.h (REGISTER_PREFIX): Remove. | |
2087 | * config/aarch64/aarch64.c (aarch64_print_operand): Remove all | |
2088 | occurrence of REGISTER_PREFIX as its empty string. | |
2089 | ||
4f1f78b9 JL |
2090 | 2013-03-20 Jeff Law <law@redhat.com> |
2091 | ||
2092 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Record | |
2093 | addititional equivalences for equality comparisons between an SSA_NAME | |
2094 | and a constant where the SSA_NAME was set from a widening conversion. | |
2095 | ||
327a1118 WL |
2096 | 2013-03-20 Walter Lee <walt@tilera.com> |
2097 | ||
2098 | * config/tilegx/sync.md (atomic_test_and_set): New pattern. | |
2099 | ||
813e0036 UB |
2100 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
2101 | ||
2102 | * config/i386/i386.md (*movoi_internal_avx): Emit insn template | |
2103 | depending on type attribute. | |
2104 | (*movti_internal): Ditto. | |
2105 | (*movtf_internal): Ditto. | |
2106 | (*movxf_internal): Ditto. | |
2107 | (*movdf_internal): Ditto. | |
2108 | (*movsf_internal): Ditto. | |
2109 | ||
7cf34aae UB |
2110 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
2111 | ||
2112 | * config/i386/i386.md (*movti_internal): Set prefix attribute to | |
2113 | maybe_vex for sselog1 and ssemov types. | |
2114 | (*movdi_internal): Reorder operand constraints. | |
2115 | (*movsi_internal): Ditto. Set prefix attribute to | |
2116 | maybe_vex for sselog1 and ssemov types. | |
2117 | (*movtf_internal): Set prefix attribute to maybe_vex | |
2118 | for sselog1 and ssemov types. | |
2119 | (*movdf_internal): Ditto. Set prefix_data16 attribute for | |
2120 | DImode ssemov types. Reorder operand constraints. | |
2121 | (*movsf_internal): Set type of alternatives 3,4 to imov. Set prefix | |
2122 | attribute to maybe_vex for sselog1 and ssemov types. Set prefix_data16 | |
2123 | attribute for SImode ssemov types. Reorder operand constraints. | |
2124 | ||
19321415 MJ |
2125 | 2013-03-20 Martin Jambor <mjambor@suse.cz> |
2126 | ||
2127 | * params.def (PARAM_IPA_CP_ARRAY_INDEX_HINT_BONUS): New parameter. | |
2128 | * ipa-cp.c (hint_time_bonus): Add abonus for known array indices. | |
2129 | ||
c6d5ff83 MM |
2130 | 2013-03-20 Pat Haugen <pthaugen@us.ibm.com> |
2131 | ||
2132 | * config/rs6000/predicates.md (indexed_address, update_address_mem | |
2133 | update_indexed_address_mem): New predicates. | |
2134 | * config/rs6000/vsx.md (vsx_extract_<mode>_zero): Set correct "type" | |
2135 | attribute for load/store instructions. | |
2136 | * config/rs6000/dfp.md (movsd_store): Likewise. | |
2137 | (movsd_load): Likewise. | |
2138 | * config/rs6000/rs6000.md (zero_extend<mode>di2_internal1): Likewise. | |
2139 | (unnamed HI->DI extend define_insn): Likewise. | |
2140 | (unnamed SI->DI extend define_insn): Likewise. | |
2141 | (unnamed QI->SI extend define_insn): Likewise. | |
2142 | (unnamed QI->HI extend define_insn): Likewise. | |
2143 | (unnamed HI->SI extend define_insn): Likewise. | |
2144 | (unnamed HI->SI extend define_insn): Likewise. | |
2145 | (extendsfdf2_fpr): Likewise. | |
2146 | (movsi_internal1): Likewise. | |
2147 | (movsi_internal1_single): Likewise. | |
2148 | (movhi_internal): Likewise. | |
2149 | (movqi_internal): Likewise. | |
2150 | (movcc_internal1): Correct mnemonic for stw insn. Set correct "type" | |
2151 | attribute for load/store instructions. | |
2152 | (mov<mode>_hardfloat): Set correct "type" attribute for load/store | |
2153 | instructions. | |
2154 | (mov<mode>_softfloat): Likewise. | |
2155 | (mov<mode>_hardfloat32): Likewise. | |
2156 | (mov<mode>_hardfloat64): Likewise. | |
2157 | (mov<mode>_softfloat64): Likewise. | |
2158 | (movdi_internal32): Likewise. | |
2159 | (movdi_internal64): Likewise. | |
2160 | (probe_stack_<mode>): Likewise. | |
2161 | ||
2162 | 2013-03-20 Michael Meissner <meissner@linux.vnet.ibm.com> | |
2163 | ||
2164 | * config/rs6000/vector.md (VEC_R): Add 32-bit integer, binary | |
2165 | floating point, and decimal floating point to reload iterator. | |
2166 | ||
2167 | * config/rs6000/constraints.md (wl constraint): New constraints to | |
2168 | return FLOAT_REGS if certain options are used to reduce the number | |
2169 | of separate patterns that exist in the file. | |
2170 | (wx constraint): Likewise. | |
2171 | (wz constraint): Likewise. | |
2172 | ||
2173 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): If | |
2174 | -mdebug=reg, print wg, wl, wx, and wz constraints. | |
2175 | (rs6000_init_hard_regno_mode_ok): Initialize new constraints. | |
2176 | Initialize the reload functions for 64-bit binary/decimal floating | |
2177 | point types. | |
2178 | (reg_offset_addressing_ok_p): If we are on a power7 or later, use | |
2179 | LFIWZX and STFIWX to load/store 32-bit decimal types, and don't | |
2180 | create the buffer on the stack to overcome not having a 32-bit | |
2181 | load and store. | |
2182 | (rs6000_emit_move): Likewise. | |
2183 | (rs6000_secondary_memory_needed_rtx): Likewise. | |
2184 | (rs6000_alloc_sdmode_stack_slot): Likewise. | |
2185 | (rs6000_preferred_reload_class): On VSX, we can create SFmode 0.0f | |
2186 | via xxlxor, just like DFmode 0.0. | |
2187 | ||
2188 | * config/rs6000/rs6000.h (TARGET_NO_SDMODE_STACK): New macro, | |
2189 | define as 1 if we are running on a power7 or newer. | |
2190 | (enum r6000_reg_class_enum): Add new constraints. | |
2191 | ||
2192 | * config/rs6000/dfp.md (movsd): Delete, combine with binary | |
2193 | floating point moves in rs6000.md. Combine power6x (mfpgpr) moves | |
2194 | with other moves by using conditional constraits (wg). Use LFIWZX | |
bd059b26 | 2195 | and STFIWX for loading SDmode on power7. Use xxlxor to create 0.0f. |
c6d5ff83 MM |
2196 | (movsd splitter): Likewise. |
2197 | (movsd_hardfloat): Likewise. | |
2198 | (movsd_softfloat): Likewise. | |
2199 | ||
2200 | * config/rs6000/rs6000.md (FMOVE32): New iterators to combine | |
2201 | binary and decimal floating point moves. | |
2202 | (fmove_ok): New attributes to combine binary and decimal floating | |
2203 | point moves, and to combine power6x (mfpgpr) moves along normal | |
2204 | floating moves. | |
2205 | (real_value_to_target): Likewise. | |
2206 | (f32_lr): Likewise. | |
2207 | (f32_lm): Likewise. | |
2208 | (f32_li): Likewise. | |
2209 | (f32_sr): Likewise. | |
2210 | (f32_sm): Likewise. | |
2211 | (f32_si): Likewise. | |
2212 | (movsf): Combine binary and decimal floating point moves. Combine | |
2213 | power6x (mfpgpr) moves with other moves by using conditional | |
bd059b26 | 2214 | constraits (wg). Use LFIWZX and STFIWX for loading SDmode on power7. |
c6d5ff83 MM |
2215 | (mov<mode> for SFmode/SDmode); Likewise. |
2216 | (SFmode/SDmode splitters): Likewise. | |
2217 | (movsf_hardfloat): Likewise. | |
2218 | (mov<mode>_hardfloat for SFmode/SDmode): Likewise. | |
2219 | (movsf_softfloat): Likewise. | |
2220 | (mov<mode>_softfloat for SFmode/SDmode): Likewise. | |
2221 | ||
2222 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wl, | |
2223 | wx and wz constraints. | |
2224 | ||
2225 | * config/rs6000/constraints.md (wg constraint): New constraint to | |
2226 | return FLOAT_REGS if -mmfpgpr (power6x) was used. | |
2227 | ||
2228 | * config/rs6000/rs6000.h (enum r6000_reg_class_enum): Add wg | |
2229 | constraint. | |
2230 | ||
2231 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): If | |
2232 | -mdebug=reg, print wg, wl, wx, and wz constraints. | |
2233 | (rs6000_init_hard_regno_mode_ok): Initialize new constraints. | |
2234 | Initialize the reload functions for 64-bit binary/decimal floating | |
2235 | point types. | |
2236 | (reg_offset_addressing_ok_p): If we are on a power7 or later, use | |
2237 | LFIWZX and STFIWX to load/store 32-bit decimal types, and don't | |
2238 | create the buffer on the stack to overcome not having a 32-bit | |
2239 | load and store. | |
2240 | (rs6000_emit_move): Likewise. | |
2241 | (rs6000_secondary_memory_needed_rtx): Likewise. | |
2242 | (rs6000_alloc_sdmode_stack_slot): Likewise. | |
2243 | (rs6000_preferred_reload_class): On VSX, we can create SFmode 0.0f | |
2244 | via xxlxor, just like DFmode 0.0. | |
2245 | ||
c6d5ff83 MM |
2246 | * config/rs6000/dfp.md (movdd): Delete, combine with binary |
2247 | floating point moves in rs6000.md. Combine power6x (mfpgpr) moves | |
2248 | with other moves by using conditional constraits (wg). Use LFIWZX | |
2249 | and STFIWX for loading SDmode on power7. | |
2250 | (movdd splitters): Likewise. | |
2251 | (movdd_hardfloat32): Likewise. | |
2252 | (movdd_softfloat32): Likewise. | |
2253 | (movdd_hardfloat64_mfpgpr): Likewise. | |
2254 | (movdd_hardfloat64): Likewise. | |
2255 | (movdd_softfloat64): Likewise. | |
2256 | ||
2257 | * config/rs6000/rs6000.md (FMOVE64): New iterators to combine | |
2258 | 64-bit binary and decimal floating point moves. | |
2259 | (FMOVE64X): Likewise. | |
2260 | (movdf): Combine 64-bit binary and decimal floating point moves. | |
2261 | Combine power6x (mfpgpr) moves with other moves by using | |
2262 | conditional constraits (wg). | |
2263 | (mov<mode> for DFmode/DDmode): Likewise. | |
2264 | (DFmode/DDmode splitters): Likewise. | |
2265 | (movdf_hardfloat32): Likewise. | |
2266 | (mov<mode>_hardfloat32 for DFmode/DDmode): Likewise. | |
2267 | (movdf_softfloat32): Likewise. | |
2268 | (movdf_hardfloat64_mfpgpr): Likewise. | |
2269 | (movdf_hardfloat64): Likewise. | |
2270 | (mov<mode>_hardfloat64 for DFmode/DDmode): Likewise. | |
2271 | (movdf_softfloat64): Likewise. | |
2272 | (mov<mode>_softfloat64 for DFmode/DDmode): Likewise. | |
2273 | (reload_<mode>_load): Move to later in the file so they aren't in | |
2274 | the middle of the floating point move insns. | |
2275 | (reload_<mode>_store): Likewise. | |
2276 | ||
2277 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wg | |
2278 | constraint. | |
2279 | ||
2280 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print out wg | |
2281 | constraint if -mdebug=reg. | |
bd059b26 UB |
2282 | (rs6000_initi_hard_regno_mode_ok): Enable wg constraint if -mfpgpr. |
2283 | Enable using dd reload support if needed. | |
c6d5ff83 MM |
2284 | |
2285 | * config/rs6000/dfp.md (movtd): Delete, combine with 128-bit | |
2286 | binary and decimal floating point moves in rs6000.md. | |
2287 | (movtd_internal): Likewise. | |
2288 | ||
2289 | * config/rs6000/rs6000.md (FMOVE128): Combine 128-bit binary and | |
2290 | decimal floating point moves. | |
2291 | (movtf): Likewise. | |
2292 | (movtf_internal): Likewise. | |
2293 | (mov<mode>_internal, TDmode/TFmode): Likewise. | |
2294 | (movtf_softfloat): Likewise. | |
2295 | (mov<mode>_softfloat, TDmode/TFmode): Likewise. | |
2296 | ||
2297 | * config/rs6000/rs6000.md (movdi_mfpgpr): Delete, combine with | |
2298 | movdi_internal64, using wg constraint for move direct operations. | |
2299 | (movdi_internal64): Likewise. | |
2300 | ||
2301 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print | |
2302 | MODES_TIEABLE_P for selected modes. Print the numerical value of | |
2303 | the various virtual registers. Use GPR/FPR first/last values, | |
2304 | instead of hard coding the register numbers. Print which modes | |
2305 | have reload functions registered. | |
bd059b26 UB |
2306 | (rs6000_option_override_internal): If -mdebug=reg, trace the options |
2307 | settings before/after setting cpu, target and subtarget settings. | |
2308 | (rs6000_secondary_reload_trace): Improve the RTL dump for -mdebug=addr | |
2309 | and for secondary reload failures in rs6000_secondary_reload_inner. | |
c6d5ff83 MM |
2310 | (rs6000_secondary_reload_fail): Likewise. |
2311 | (rs6000_secondary_reload_inner): Likewise. | |
2312 | ||
2313 | * config/rs6000/rs6000.md (FIRST_GPR_REGNO): Add convenience | |
2314 | macros for first/last GPR and FPR registers. | |
2315 | (LAST_GPR_REGNO): Likewise. | |
2316 | (FIRST_FPR_REGNO): Likewise. | |
2317 | (LAST_FPR_REGNO): Likewise. | |
2318 | ||
2319 | * config/rs6000/vector.md (mul<mode>3): Use the combined macro | |
2320 | VECTOR_UNIT_ALTIVEC_OR_VSX_P instead of separate calls to | |
2321 | VECTOR_UNIT_ALTIVEC_P and VECTOR_UNIT_VSX_P. | |
2322 | (vcond<mode><mode>): Likewise. | |
2323 | (vcondu<mode><mode>): Likewise. | |
2324 | (vector_gtu<mode>): Likewise. | |
2325 | (vector_gte<mode>): Likewise. | |
2326 | (xor<mode>3): Don't allow logical operations on TImode in 32-bit | |
bd059b26 | 2327 | to prevent the compiler from converting DImode operations to TImode. |
c6d5ff83 MM |
2328 | (ior<mode>3): Likewise. |
2329 | (and<mode>3): Likewise. | |
2330 | (one_cmpl<mode>2): Likewise. | |
2331 | (nor<mode>3): Likewise. | |
2332 | (andc<mode>3): Likewise. | |
2333 | ||
2334 | * config/rs6000/constraints.md (wt constraint): New constraint | |
2335 | that returns VSX_REGS if TImode is allowed in VSX registers. | |
2336 | ||
2337 | * config/rs6000/predicates.md (easy_fp_constant): 0.0f is an easy | |
2338 | constant under VSX. | |
2339 | ||
2340 | * config/rs6000/rs6000-modes.def (PTImode): Define, PTImode is | |
2341 | similar to TImode, but it is restricted to being in the GPRs. | |
2342 | ||
2343 | * config/rs6000/rs6000.opt (-mvsx-timode): New switch to allow | |
2344 | TImode to occupy a single VSX register. | |
2345 | ||
2346 | * config/rs6000/rs6000-cpus.def (ISA_2_6_MASKS_SERVER): Default to | |
2347 | -mvsx-timode for power7/power8. | |
2348 | (power7 cpu): Likewise. | |
2349 | (power8 cpu): Likewise. | |
2350 | ||
2351 | * config/rs6000/rs6000.c (rs6000_hard_regno_nregs_internal): Make | |
2352 | sure that TFmode/TDmode take up two registers if they are ever | |
2353 | allowed in the upper VSX registers. | |
2354 | (rs6000_hard_regno_mode_ok): If -mvsx-timode, allow TImode in VSX | |
2355 | registers. | |
2356 | (rs6000_init_hard_regno_mode_ok): Likewise. | |
2357 | (rs6000_debug_reg_global): Add debugging for PTImode and wt | |
2358 | constraint. Print if LRA is turned on. | |
2359 | (rs6000_option_override_internal): Give an error if -mvsx-timode | |
2360 | and VSX is not enabled. | |
2361 | (invalid_e500_subreg): Handle PTImode, restricting it to GPRs. If | |
2362 | -mvsx-timode, restrict TImode to reg+reg addressing, and PTImode | |
2363 | to reg+offset addressing. Use PTImode when checking offset | |
2364 | addresses for validity. | |
2365 | (reg_offset_addressing_ok_p): Likewise. | |
2366 | (rs6000_legitimate_offset_address_p): Likewise. | |
2367 | (rs6000_legitimize_address): Likewise. | |
2368 | (rs6000_legitimize_reload_address): Likewise. | |
2369 | (rs6000_legitimate_address_p): Likewise. | |
2370 | (rs6000_eliminate_indexed_memrefs): Likewise. | |
2371 | (rs6000_emit_move): Likewise. | |
2372 | (rs6000_secondary_reload): Likewise. | |
2373 | (rs6000_secondary_reload_inner): Handle PTImode. Allow 64-bit | |
2374 | reloads to fpr registers to continue to use reg+offset addressing, | |
2375 | but 64-bit reloads to altivec registers need reg+reg addressing. | |
2376 | Drop test for PRE_MODIFY, since VSX loads/stores no longer support | |
2377 | it. Treat LO_SUM like a PLUS operation. | |
2378 | (rs6000_secondary_reload_class): If type is 64-bit, prefer to use | |
bd059b26 | 2379 | FLOAT_REGS instead of VSX_RGS to allow use of reg+offset addressing. |
c6d5ff83 MM |
2380 | (rs6000_cannot_change_mode_class): Do not allow TImode in VSX |
2381 | registers to share a register with a smaller sized type, since VSX | |
2382 | puts scalars in the upper 64-bits. | |
2383 | (print_operand): Add support for PTImode. | |
2384 | (rs6000_register_move_cost): Use VECTOR_MEM_VSX_P instead of | |
2385 | VECTOR_UNIT_VSX_P to catch types that can be loaded in VSX | |
2386 | registers, but don't have arithmetic support. | |
2387 | (rs6000_memory_move_cost): Add test for VSX. | |
2388 | (rs6000_opt_masks): Add -mvsx-timode. | |
2389 | ||
2390 | * config/rs6000/vsx.md (VSm): Change to use 64-bit aligned moves | |
2391 | for TImode. | |
2392 | (VSs): Likewise. | |
2393 | (VSr): Use wt constraint for TImode. | |
2394 | (VSv): Drop TImode support. | |
2395 | (vsx_movti): Delete, replace with versions for 32-bit and 64-bit. | |
2396 | (vsx_movti_64bit): Likewise. | |
2397 | (vsx_movti_32bit): Likewise. | |
2398 | (vec_store_<mode>): Use VSX iterator instead of vector iterator. | |
2399 | (vsx_and<mode>3): Delete use of '?' constraint on inputs, just put | |
2400 | one '?' on the appropriate output constraint. Do not allow TImode | |
2401 | logical operations on 32-bit systems. | |
2402 | (vsx_ior<mode>3): Likewise. | |
2403 | (vsx_xor<mode>3): Likewise. | |
2404 | (vsx_one_cmpl<mode>2): Likewise. | |
2405 | (vsx_nor<mode>3): Likewise. | |
2406 | (vsx_andc<mode>3): Likewise. | |
2407 | (vsx_concat_<mode>): Likewise. | |
2408 | (vsx_xxpermdi_<mode>): Fix thinko for non V2DF/V2DI modes. | |
2409 | ||
2410 | * config/rs6000/rs6000.h (MASK_VSX_TIMODE): Map from | |
2411 | OPTION_MASK_VSX_TIMODE. | |
2412 | (enum rs6000_reg_class_enum): Add RS6000_CONSTRAINT_wt. | |
2413 | (STACK_SAVEAREA_MODE): Use PTImode instead of TImode. | |
2414 | ||
2415 | * config/rs6000/rs6000.md (INT mode attribute): Add PTImode. | |
2416 | (TI2 iterator): New iterator for TImode, PTImode. | |
2417 | (wd mode attribute): Add values for vector types. | |
bd059b26 UB |
2418 | (movti_string): Replace TI move operations with operations for TImode |
2419 | and PTImode. Add support for TImode being allowed in VSX registers. | |
c6d5ff83 MM |
2420 | (mov<mode>_string, TImode/PTImode): Likewise. |
2421 | (movti_ppc64): Likewise. | |
2422 | (mov<mode>_ppc64, TImode/PTImode): Likewise. | |
2423 | (TI mode splitters): Likewise. | |
2424 | ||
2425 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wt | |
2426 | constraint. | |
2427 | ||
1fc5eced MG |
2428 | 2013-03-20 Marc Glisse <marc.glisse@inria.fr> |
2429 | ||
2430 | PR tree-optimization/56355 | |
2431 | * fold-const.c (tree_binary_nonnegative_warnv_p) <MULT_EXPR>: | |
2432 | Also handle integers with undefined overflow. | |
2433 | ||
22c4c869 CM |
2434 | 2013-03-20 Catherine Moore <clm@codesourcery.com> |
2435 | Maciej W. Rozycki <macro@codesourcery.com> | |
2436 | Tom de Vries <tom@codesourcery.com> | |
2437 | Nathan Sidwell <nathan@codesourcery.com> | |
2438 | Iain Sandoe <iain@codesourcery.com> | |
2439 | Nathan Froyd <froydnj@codesourcery.com> | |
2440 | Chao-ying Fu <fu@mips.com> | |
2441 | ||
2442 | * doc/extend.texi: (micromips, nomicromips, nocompression): | |
7cf34aae | 2443 | Document new function attributes. |
22c4c869 CM |
2444 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
2445 | m14k, m14ke, m14kec): Document new options. | |
2446 | (minterlink-mips16): Update documentation. | |
2447 | * doc/md.texi (ZC, ZD): Document new constraints. | |
2448 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
2449 | supports the .set micromips directive. | |
2450 | * configure: Regenerate. | |
2451 | * config.in: Regenerate. | |
2452 | * config/mips/mips-tables.opt: Regenerate. | |
2453 | * config/mips/micromips.md: New file. | |
2454 | * constraints.md (ZC, ZD): New constraints. | |
2455 | * config/mips/predicates.md (movep_src_register): New predicate. | |
2456 | (movep_src_operand): New predicate. | |
2457 | (non_volatile_mem_operand): New predicate. | |
2458 | * config/mips/mips.md (multimem): New type. | |
2459 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
2460 | (MOVEP1, MOVEP2): New mode iterator. | |
2461 | (mov_<load>l): Use ZC constraint. | |
2462 | (mov_<load>r): Likewise. | |
2463 | (mov_<store>l): Likewise. | |
2464 | (mov_<store>r): Likewise. | |
2465 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
2466 | (*branch_equality<mode>): Likewise. | |
2467 | (*jump_absolute): Likewise. | |
2468 | (indirect_jump_<mode>): Likewise. | |
2469 | (tablejump_<mode>): Likewise. | |
2470 | (<optab>_internal): Likewise. | |
2471 | (sibcall_internal): Likewise. | |
2472 | (sibcall_value_internal): Likewise. | |
2473 | (prefetch): Use constraint ZD. | |
2474 | * config/mips/mips.opt (minterlink-compressed): New option. | |
2475 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
2476 | (mmicromips): New option. | |
2477 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
2478 | (compare_and_swap_12): Likewise. | |
2479 | (sync_add<mode>): Likewise. | |
2480 | (sync_<optab>_12): Likewise. | |
2481 | (sync_old_<optab>_12): Likewise. | |
2482 | (sync_new_<optab>_12): Likewise. | |
2483 | (sync_nand_12): Likewise. | |
2484 | (sync_old_nand_12): Likewise. | |
2485 | (sync_new_nand_12): Likewise. | |
2486 | (sync_sub<mode>): Likewise. | |
2487 | (sync_old_add<mode>): Likewise. | |
2488 | (sync_old_sub<mode>): Likewise. | |
2489 | (sync_new_add<mode>): Likewise. | |
2490 | (sync_new_sub<mode>): Likewise. | |
2491 | (sync_<optab><mode>): Likewise. | |
2492 | (sync_old_<optab><mode>): Likewise. | |
2493 | (sync_new_<optab><mode>): Likewise. | |
2494 | (sync_nand<mode>): Likewise. | |
2495 | (sync_old_nand<mode>): Likewise. | |
2496 | (sync_new_nand<mode>): Likewise. | |
2497 | (sync_lock_test_and_set<mode>): Likewise. | |
2498 | (test_and_set_12): Likewise. | |
2499 | (atomic_compare_and_swap<mode>): Likewise. | |
2500 | (atomic_exchange<mode>_llsc): Likewise. | |
2501 | (atomic_fetch_add<mode>_llsc): Likewise. | |
2502 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
2503 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
2504 | (umips_save_restore_pattern_p): Likewise. | |
2505 | (umips_load_store_pair_p): Likewise. | |
2506 | (umips_output_load_store_pair): Likewise. | |
2507 | (umips_movep_target_p): Likewise. | |
2508 | (umips_12bit_offset_address_p): Likewise. | |
2509 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
2510 | (mips_base_mips16): Rename this... | |
2511 | (mips_base_compression_flags): ...to this. Update all uses. | |
2512 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
2513 | (mips_mips16_decl_p): Delete. | |
2514 | (mips_nomips16_decl_p): Delete. | |
2515 | (mips_get_compress_on_flags): New function. | |
2516 | (mips_get_compress_off_flags): New function. | |
2517 | (mips_get_compress_mode): New function. | |
2518 | (mips_get_compress_on_name): New function. | |
2519 | (mips_get_compress_off_name): New function. | |
2520 | (mips_insert_attributes): Support multiple compression types. | |
2521 | (mips_merge_decl_attributes): Likewise. | |
2522 | (umips_12bit_offset_address_p): New function. | |
2523 | (mips_start_function_definition): Emit .set micromips directive. | |
2524 | (mips_call_may_need_jalx_p): New function. | |
2525 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
2526 | (mips_print_operand_punctuation): Support short delay slots and | |
2527 | compact jumps. | |
2528 | (umips_swm_mask, umips_swm_encoding): New. | |
2529 | (umips_build_save_restore): New function. | |
2530 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
2531 | (was_mips16_p): Remove. | |
2532 | (old_compression_mode): New. | |
2533 | (mips_set_compression_mode): New function. | |
2534 | (mips_set_current_function): Add microMIPS support. | |
2535 | (mips_option_override): Likewise. | |
2536 | (umips_save_restore_pattern_p): New function. | |
2537 | (umips_output_save_restore): New function. | |
2538 | (umips_load_store_pair_p_1): New function. | |
2539 | (umips_load_store_pair_p): New function. | |
2540 | (umips_output_load_store_pair_1): New function. | |
2541 | (umips_output_load_store_pair): New function. | |
2542 | (umips_movep_target_p) New function. | |
2543 | (mips_prepare_pch_save): Add microMIPS support. | |
2544 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
2545 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
2546 | to use new compression flags and to support microMIPS. | |
2547 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
2548 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
2549 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
2550 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
2551 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
2552 | (M16STORE_REG_P): New macro. | |
2553 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
2554 | (MICROMIPS_J): New macro. | |
2555 | (mips_base_mips16): Rename this... | |
2556 | (mips_base_compression_flags): ...to this. | |
2557 | (UMIPS_12BIT_OFFSET_P): New macro. | |
2558 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
2559 | (MULTILIB_DIRNAMES): Likewise. | |
92a8d7a7 RB |
2560 | 2013-03-20 Richard Biener <rguenther@suse.de> |
2561 | ||
2562 | PR tree-optimization/56661 | |
2563 | * tree-ssa-sccvn.c (visit_use): Only value-number calls if | |
2564 | the result does not have to be distinct. | |
2565 | ||
54714c68 RB |
2566 | 2013-03-20 Richard Biener <rguenther@suse.de> |
2567 | ||
2568 | * tree-inline.c (copy_tree_body_r): Sync MEM_REF code with | |
2569 | remap_gimple_op_r. | |
2570 | ||
cca1130d BS |
2571 | 2013-03-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
2572 | Steven Bosscher <steven@gcc.gnu.org> | |
2573 | ||
2574 | PR rtl-optimization/56605 | |
2575 | * loop-iv.c (implies_p): Handle equal RTXs and subregs. | |
2576 | ||
2a930377 UB |
2577 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
2578 | ||
2579 | PR bootstrap/56656 | |
2580 | * config/i386/i386.md (*movdi_internal): Handle broken assemblers | |
2581 | that require movd instead of movq. | |
2582 | ||
d6d305fe RB |
2583 | 2013-03-20 Richard Biener <rguenther@suse.de> |
2584 | ||
2585 | * tree-ssa-structalias.c (struct variable_info): Add pointer | |
2586 | to the first field of an aggregate with sub-vars. Make | |
2587 | this and the pointer to the next subfield its ID. | |
2588 | (vi_next): New function. | |
2589 | (nothing_id, anything_id, readonly_id, escaped_id, nonlocal_id, | |
2590 | storedanything_id, integer_id): Increment by one. | |
2591 | (new_var_info, get_call_vi, lookup_call_clobber_vi, | |
2592 | get_call_clobber_vi): Adjust. | |
2593 | (solution_set_expand): Simplify and speedup. | |
2594 | (solution_set_add): Inline into ... | |
2595 | (set_union_with_increment): ... this. Adjust accordingly. | |
2596 | (do_sd_constraint): Likewise. | |
2597 | (do_ds_constraint): Likewise. | |
2598 | (do_complex_constraint): Simplify. | |
2599 | (build_pred_graph): Adjust. | |
2600 | (solve_graph): Likewise. Simplify and speedup. | |
2601 | (get_constraint_for_ssa_var, get_constraint_for_ptr_offset, | |
2602 | get_constraint_for_component_ref, get_constraint_for_1, | |
2603 | first_vi_for_offset, first_or_preceding_vi_for_offset, | |
2604 | create_function_info_for, create_variable_info_for_1, | |
2605 | create_variable_info_for, intra_create_variable_infos): Adjust. | |
2606 | (init_base_vars): Push NULL for ID zero. | |
2607 | (compute_points_to_sets): Adjust. | |
2608 | ||
a271b42d RB |
2609 | 2013-03-20 Richard Biener <rguenther@suse.de> |
2610 | ||
2611 | * cfgloop.c (verify_loop_structure): Streamline and avoid | |
2612 | ICEing on corrupt loop tree. | |
2613 | * graph.c (draw_cfg_nodes_for_loop): Avoid ICEing on corrupt | |
2614 | loop tree. | |
2615 | ||
ebd65954 RB |
2616 | 2013-03-20 Richard Biener <rguenther@suse.de> |
2617 | ||
2618 | * tree-vect-loop-manip.c (slpeel_can_duplicate_loop_p): Do not | |
2619 | check whether an SSA update is needed. | |
2620 | ||
4547b7ee RS |
2621 | 2013-03-20 Richard Sandiford <rdsandiford@googlemail.com> |
2622 | ||
2623 | * config/mips/constraints.md (T): Rename to... | |
2624 | (Yf): ...this. | |
2625 | (U): Rename to... | |
2626 | (Yd): ...this. | |
2627 | * config/mips/mips.md (*movdi_64bit, *movdi_64bit_mips16) | |
2628 | (*mov<mode>_internal, *mov<mode>_mips16): Update accordingly. | |
2629 | ||
0b8cdc58 IB |
2630 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
2631 | ||
2632 | * config/aarch64/aarch64.md (*sub<mode>3_carryin): New pattern. | |
2633 | (*subsi3_carryin_uxtw): Likewise. | |
2634 | ||
5977a10d IB |
2635 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
2636 | ||
2637 | * config/aarch64/aarch64.md (*ror<mode>3_insn): New pattern. | |
2638 | (*rorsi3_insn_uxtw): Likewise. | |
2639 | ||
bd83ff2c IB |
2640 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
2641 | ||
2642 | * config/aarch64/aarch64.md (*extr<mode>5_insn): New pattern. | |
2643 | (*extrsi5_insn_uxtw): Likewise. | |
2644 | ||
ba65123c RB |
2645 | 2013-03-19 Richard Biener <rguenther@suse.de> |
2646 | ||
2647 | PR tree-optimization/56273 | |
2648 | * passes.c (init_optimization_passes): Move second VRP after DOM. | |
2649 | ||
2eac0476 UB |
2650 | 2013-03-19 Uros Bizjak <ubizjak@gmail.com> |
2651 | ||
2652 | * config/i386/i386.md (*movti_internal): Merge from | |
2653 | *movti_internal_rex64 and *movti_internal_sse. Use x64 isa attribute. | |
2654 | (*movdi_internal): Merge with *movdi_internal_rex64. Use x64 and | |
2655 | nox64 isa attributes. | |
2656 | ||
6e55eda7 RB |
2657 | 2013-03-18 Richard Biener <rguenther@suse.de> |
2658 | ||
2659 | * tree-ssa-structalias.c (find): Use gcc_checking_assert. | |
2660 | (unite): Likewise. | |
2661 | (merge_node_constraints): Likewise. | |
2662 | (build_succ_graph): Likewise. | |
2663 | (valid_graph_edge): Inline into single caller. | |
2664 | (unify_nodes): Likewise. Use bitmap_set_bit return value | |
2665 | and cache varinfo. | |
2666 | (scc_visit): Fix formatting and variable use. | |
2667 | (do_sd_constraint): Use gcc_checking_assert. | |
2668 | (do_ds_constraint): Likewise. | |
2669 | (do_complex_constraint): Likewise. | |
2670 | (condense_visit): Likewise. Cleanup. | |
2671 | (dump_pred_graph): New function. | |
2672 | (perform_var_substitution): Dump the pred-graph before | |
2673 | variable substitution. | |
2674 | (find_equivalent_node): Use gcc_checking_assert. | |
2675 | (rewrite_constraints): Guard checking loop with ENABLE_CHECKING. | |
2676 | ||
4bdd44c4 RB |
2677 | 2013-03-18 Richard Biener <rguenther@suse.de> |
2678 | ||
2679 | * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): | |
2680 | Remove cond_expr_stmt_list argument and do not gimplify the | |
2681 | built expression. | |
2682 | (vect_loop_versioning): Adjust. | |
2683 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): | |
2684 | Cleanup to use less temporaries. | |
2685 | (vect_create_data_ref_ptr): Cleanup. | |
2686 | ||
38c56a5b JJ |
2687 | 2013-03-18 Jakub Jelinek <jakub@redhat.com> |
2688 | ||
2689 | PR tree-optimization/56635 | |
2690 | * fold-const.c (operand_equal_p): For MEM_REF and TARGET_MEM_REF, | |
2691 | require types_compatible_p types. | |
2692 | ||
20b2e6a0 NC |
2693 | 2013-03-18 Nick Clifton <nickc@redhat.com> |
2694 | ||
a6178a25 NC |
2695 | * config/stormy16/stormy16.c (xstormy16_expand_prologue): Remove |
2696 | spurious backslash. | |
2697 | ||
20b2e6a0 NC |
2698 | * config/mn10300/mn10300.c (mn10300_get_live_callee_saved_regs): |
2699 | Add missing line to comment describing function. | |
2700 | ||
92608d0e RB |
2701 | 2013-03-18 Richard Biener <rguenther@suse.de> |
2702 | ||
2703 | PR tree-optimization/56210 | |
2704 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
2705 | Handle string / character search functions. | |
2706 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise. | |
2707 | ||
31348d52 RB |
2708 | 2013-03-18 Richard Biener <rguenther@suse.de> |
2709 | ||
2710 | PR middle-end/56483 | |
2711 | * cfgexpand.c (expand_gimple_cond): Inline gimple_cond_single_var_p | |
2712 | and implement properly. | |
2713 | * gimple.h (gimple_cond_single_var_p): Remove. | |
2714 | ||
fcac74a1 RB |
2715 | 2013-03-18 Richard Biener <rguenther@suse.de> |
2716 | ||
2717 | * tree-data-ref.h (find_data_references_in_loop): Declare. | |
2718 | * tree-data-ref.c (get_references_in_stmt): Use a stack | |
2719 | vector pre-allocated in the callers. | |
2720 | (find_data_references_in_stmt): Adjust. | |
2721 | (graphite_find_data_references_in_stmt): Likewise. | |
2722 | (create_rdg_vertices): Likewise. | |
2723 | (find_data_references_in_loop): Export. | |
2724 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependences): | |
2725 | Compute dependences here... | |
2726 | (vect_analyze_data_refs): ...not here. When we encounter | |
2727 | a non-vectorizable data reference in basic-block vectorization | |
2728 | truncate the data reference vector. Do not bother to | |
2729 | fixup data-dependence information for gather loads. | |
2730 | * tree-vect-slp.c (vect_slp_analyze_bb_1): Check the number | |
2731 | of data references, as reported. | |
2732 | ||
0d5a1b56 RB |
2733 | 2013-03-18 Richard Biener <rguenther@suse.de> |
2734 | ||
2735 | PR tree-optimization/3713 | |
2736 | * tree-ssa-sccvn.c (visit_copy): Simplify. Always propagate | |
2737 | has_constants and expr. | |
2738 | (stmt_has_constants): Properly valueize SSA names when deciding | |
2739 | whether the stmt has constants. | |
2740 | ||
789c34e3 RB |
2741 | 2013-03-18 Richard Biener <rguenther@suse.de> |
2742 | ||
2743 | * tree-ssa-loop-manip.c (find_uses_to_rename): Do not scan the | |
2744 | whole function when there is nothing to do. | |
2745 | * tree-ssa-loop.c (pass_vectorize): Remove TODO_update_ssa. | |
2746 | * tree-vectorizer.c (vectorize_loops): Update virtual and | |
2747 | loop-closed SSA once. | |
2748 | * tree-vect-loop.c (vect_transform_loop): Do not update SSA here. | |
2749 | ||
076b4605 RB |
2750 | 2013-03-18 Richard Biener <rguenther@suse.de> |
2751 | ||
2752 | PR middle-end/56113 | |
2753 | * domwalk.c (bb_postorder): New global static. | |
2754 | (cmp_bb_postorder): New function. | |
2755 | (walk_dominator_tree): Replace scheme imposing an order for | |
2756 | visiting dominator sons by one sorting them at the time they | |
2757 | are pushed on the stack. | |
2758 | ||
bdb01696 RB |
2759 | 2013-03-18 Richard Biener <rguenther@suse.de> |
2760 | ||
2761 | PR tree-optimization/39326 | |
2762 | * tree-ssa-loop-im.c (refs_independent_p): Exploit symmetry. | |
2763 | (struct mem_ref): Replace mem member with ao_ref typed member. | |
2764 | (MEM_ANALYZABLE): Adjust. | |
2765 | (memref_eq): Likewise. | |
2766 | (mem_ref_alloc): Likewise. | |
2767 | (gather_mem_refs_stmt): Likewise. | |
2768 | (mem_refs_may_alias_p): Use the ao_ref to query the alias oracle. | |
2769 | (execute_sm_if_changed_flag_set): Adjust. | |
2770 | (execute_sm): Likewise. | |
2771 | (ref_always_accessed_p): Likewise. | |
2772 | (refs_independent_p): Likewise. | |
2773 | (can_sm_ref_p): Likewise. | |
2774 | ||
12d2dc5e JJ |
2775 | 2013-03-18 Jakub Jelinek <jakub@redhat.com> |
2776 | ||
2777 | PR c/56566 | |
2778 | * tree.c (tree_int_cst_min_precision): For integer_zerop (value) | |
2779 | return 1 even for !unsignedp. | |
2780 | ||
286fb677 UB |
2781 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> |
2782 | ||
2783 | * config/i386/i386.md (isa): Add x64 and nox64. | |
2784 | (enabled): Define x64 for TARGET_64BIT and nox64 for !TARGET_64BIT. | |
2785 | (*pushtf): Enable *roF alternative for x64 isa only. | |
2786 | (*pushxf): Merge with *pushxf_nointeger. Use Yx*r constraint. Set | |
2787 | mode attribute of integer alternatives to DImode for TARGET_64BIT. | |
2788 | (*pushdf): Merge with *pushdf_rex64. Use x64 and nox64 isa attributes. | |
2789 | (*movtf_internal): Merge from *movtf_internal_rex64 and | |
2790 | *movtf_internal_sse. Use x64 and nox64 isa attributes. | |
2791 | (*movxf_internal): Merge with *movxf_internal_rex64. Use x64 and | |
2792 | nox64 isa attributes. | |
2793 | (*movdf_internal): Merge with *movdf_internal_rex64. Use x64 and | |
2794 | nox64 isa attributes. | |
2795 | * config/i386/constraints.md (Yd): Do not set for TARGET_64BIT. | |
2796 | ||
88b97037 UB |
2797 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> |
2798 | ||
2799 | * config/alpha/alpha.c (TARGET_LRA_P): New define. | |
2800 | ||
9f4f1735 JJ |
2801 | 2013-03-17 Jakub Jelinek <jakub@redhat.com> |
2802 | ||
2803 | PR target/56640 | |
2804 | * config/arm/arm.h (REG_CLASS_NAMES): Add "SFP_REG" and "AFP_REG" | |
2805 | class names. Remove trailing comma after "ALL_REGS". | |
2806 | ||
48f4a6fa JH |
2807 | 2013-03-16 Jan Hubicka <jh@suse.cz> |
2808 | ||
2809 | * cgraph.h (cgraph_get_create_real_symbol_node): Declare. | |
2810 | * cgraph.c (cgraph_get_create_real_symbol_node): New function. | |
2811 | * cgrpahbuild.c: Use cgraph_get_create_real_symbol_node instead | |
2812 | of cgraph_get_create_node. | |
2813 | * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise. | |
2814 | ||
98e81123 JM |
2815 | 2013-03-16 Jason Merrill <jason@redhat.com> |
2816 | ||
2817 | PR debug/49090 | |
2818 | * dwarf2out.c (gen_generic_params_dies): Indicate default arguments | |
2819 | with DW_AT_default_value. | |
2820 | ||
8a298c04 JJ |
2821 | 2013-03-16 Jakub Jelinek <jakub@redhat.com> |
2822 | ||
2823 | * BASE-VER: Set to 4.9.0. | |
2824 | ||
4323afa0 AK |
2825 | 2013-03-14 Andi Kleen <ak@linux.intel.com> |
2826 | ||
2827 | PR target/56619 | |
2828 | * doc/extend.texi: Document __ATOMIC_HLE_ACQUIRE, | |
2829 | __ATOMIC_HLE_RELEASE. Document __builtin_ia32 TSX intrincs. | |
2830 | Document _x* TSX intrinsics. | |
2831 | ||
b3c0d469 JJ |
2832 | 2013-03-14 Edgar E. Iglesias <edgar.iglesias@xilinx.com> |
2833 | David Holsgrove <david.holsgrove@xilinx.com> | |
8cc9a5a5 EI |
2834 | |
2835 | * configure.ac: Add MicroBlaze TLS support detection. | |
2836 | * configure: Regenerate. | |
88b97037 UB |
2837 | * config/microblaze/microblaze-protos.h |
2838 | (microblaze_cannot_force_const_mem, microblaze_tls_referenced_p, | |
2839 | symbol_mentioned_p, label_mentioned_p): Add prototypes. | |
2840 | * config/microblaze/microblaze.c (microblaze_address_type): Add | |
2841 | ADDRESS_TLS and tls_reloc address types. | |
8cc9a5a5 EI |
2842 | (microblaze_address_info): Add tls_reloc. |
2843 | (TARGET_HAVE_TLS): Define. | |
2844 | (get_tls_get_addr, microblaze_tls_symbol_p, microblaze_tls_operand_p_1, | |
2845 | microblaze_tls_referenced_p, microblaze_cannot_force_const_mem, | |
88b97037 UB |
2846 | symbol_mentioned_p, label_mentioned_p, tls_mentioned_p, |
2847 | load_tls_operand, microblaze_call_tls_get_addr, | |
2848 | microblaze_legitimize_tls_address): New functions. | |
8cc9a5a5 EI |
2849 | (microblaze_classify_unspec): Handle UNSPEC_TLS. |
2850 | (get_base_reg): Use microblaze_tls_symbol_p. | |
2851 | (microblaze_classify_address): Handle TLS. | |
88b97037 UB |
2852 | (microblaze_legitimate_pic_operand): Use symbol_mentioned_p, |
2853 | label_mentioned_p and microblaze_tls_referenced_p. | |
8cc9a5a5 EI |
2854 | (microblaze_legitimize_address): Handle TLS. |
2855 | (microblaze_address_insns): Handle ADDRESS_TLS. | |
2856 | (pic_address_needs_scratch): Handle TLS. | |
2857 | (print_operand_address): Handle TLS. | |
2858 | (microblaze_expand_prologue): Check TLS_NEEDS_GOT. | |
2859 | (microblaze_expand_move): Handle TLS. | |
88b97037 UB |
2860 | (microblaze_legitimate_constant_p): Check |
2861 | microblaze_cannot_force_const_mem and microblaze_tls_symbol_p. | |
8cc9a5a5 EI |
2862 | (TARGET_CANNOT_FORCE_CONST_MEM): Define. |
2863 | * config/microblaze/microblaze.h (TLS_NEEDS_GOT): Define | |
2864 | (PIC_OFFSET_TABLE_REGNUM): Set. | |
2865 | * config/microblaze/linux.h (TLS_NEEDS_GOT): Define. | |
2866 | * config/microblaze/microblaze.md (UNSPEC_TLS): Define. | |
2867 | (addsi3, movsi_internal2, movdf_internal): Update constraints | |
2868 | * config/microblaze/predicates.md (arith_plus_operand): Define | |
88b97037 UB |
2869 | (move_operand): Redefine as move_src_operand, |
2870 | check microblaze_tls_referenced_p. | |
8cc9a5a5 | 2871 | |
d803a491 IB |
2872 | 2013-03-14 Ian Bolton <ian.bolton@arm.com> |
2873 | ||
2874 | * config/aarch64/aarch64.md: (*and<mode>3nr_compare0): Use CC_NZ. | |
2875 | (*and_<SHIFT:optab><mode>3nr_compare0): Likewise. | |
2876 | ||
a8504f22 IB |
2877 | 2013-03-14 Ian Bolton <ian.bolton@arm.com> |
2878 | ||
2879 | * config/aarch64/aarch64.c (aarch64_select_cc_mode): Return correct | |
2880 | CC mode for AND. | |
2881 | ||
df2dfaea JJ |
2882 | 2013-03-14 Jakub Jelinek <jakub@redhat.com> |
2883 | ||
fbd28bc3 JJ |
2884 | PR tree-optimization/53265 |
2885 | * common.opt (Waggressive-loop-optimizations): New option. | |
2886 | * tree-ssa-loop-niter.c: Include tree-pass.h. | |
2887 | (do_warn_aggressive_loop_optimizations): New function. | |
2888 | (record_estimate): Call it. Don't add !is_exit bounds to loop->bounds | |
2889 | if number_of_latch_executions returned constant. | |
2890 | (estimate_numbers_of_iterations_loop): Call number_of_latch_executions | |
2891 | early. If number_of_latch_executions returned constant, set | |
2892 | nb_iterations_upper_bound back to it. | |
2893 | * cfgloop.h (struct loop): Add warned_aggressive_loop_optimizations | |
2894 | field. | |
2895 | * Makefile.in (tree-ssa-loop-niter.o): Depend on $(TREE_PASS_H). | |
2896 | * doc/invoke.texi (-Wno-aggressive-loop-optimizations): Document. | |
2897 | ||
df2dfaea JJ |
2898 | * config/aarch64/t-aarch64-linux (MULTARCH_DIRNAME): Remove. |
2899 | (MULTILIB_OSDIRNAMES): Set. | |
2900 | * genmultilib: If defaultosdirname doesn't start with :: , set | |
2901 | defaultosdirname2 instead, clear it and emit two . multilib_raw | |
2902 | entries instead of just one. | |
2903 | ||
ee0d2b68 KK |
2904 | 2013-03-14 Kaz Kojima <kkojima@gcc.gnu.org> |
2905 | ||
2906 | * config/sh/linux.h (TARGET_DEFAULT): Remove MASK_USERMODE. | |
2907 | (SUBTARGET_OVERRIDE_OPTIONS): Set TARGET_USERMODE as default. | |
2908 | * config/sh/netbsd-elf.h (TARGET_DEFAULT): Remove MASK_USERMODE. | |
2909 | (SUBTARGET_OVERRIDE_OPTIONS): New. | |
2910 | ||
decc676e OE |
2911 | 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org> |
2912 | ||
2913 | PR target/49880 | |
2914 | * config/sh/sh.opt (FPU_SINGLE_ONLY): New mask. | |
2915 | (musermode): Convert to Var(TARGET_USERMODE). | |
2916 | * config/sh/sh.h (SELECT_SH2A_SINGLE_ONLY, SELECT_SH4_SINGLE_ONLY, | |
2917 | MASK_ARCH): Add MASK_FPU_SINGLE_ONLY. | |
2918 | * config/sh/sh.c (sh_option_override): Use | |
2919 | TARGET_FPU_DOUBLE || TARGET_FPU_SINGLE_ONLY for call-fp case. | |
2920 | * config/sh/sh.md (udivsi3_i1, divsi3_i1): Remove ! TARGET_SH4 | |
2921 | condition. | |
2922 | (udivsi3_i4, divsi3_i4): Use TARGET_FPU_DOUBLE condition instead of | |
2923 | TARGET_SH4. | |
2924 | (udivsi3_i4_single, divsi3_i4_single): Use | |
2925 | TARGET_FPU_SINGLE_ONLY || TARGET_FPU_DOUBLE instead of TARGET_HARD_SH4. | |
2926 | ||
f4b719c7 DK |
2927 | 2013-03-13 Dave Korn <dave.korn.cygwin@....> |
2928 | ||
2929 | * config/i386/cygwin.h (SHARED_LIBGCC_SPEC): Make shared libgcc the | |
2930 | default setting. | |
2931 | ||
c40eced0 RB |
2932 | 2013-03-13 Richard Biener <rguenther@suse.de> |
2933 | ||
2934 | PR tree-optimization/56608 | |
2935 | * tree-vect-slp.c (vect_schedule_slp): Do not remove scalar | |
2936 | calls when vectorizing basic-blocks. | |
2937 | ||
1bfa5973 JJ |
2938 | 2013-03-13 Jakub Jelinek <jakub@redhat.com> |
2939 | ||
2940 | PR plugins/45078 | |
2941 | * config.gcc: On arm, mips, sh and sparc add vxworks-dummy.h to | |
2942 | tm_file. | |
2943 | ||
6fcf5434 JJ |
2944 | 2013-03-12 Jakub Jelinek <jakub@redhat.com> |
2945 | ||
2946 | * doc/invoke.texi (-Waddr-space-convert): Move into the table earlier. | |
2947 | ||
4f38fa8c JH |
2948 | 2013-03-11 Jan Hubicka <jh@suse.cz> |
2949 | ||
2950 | PR lto/56557 | |
2951 | * lto-streamer-out.c (output_symbol_p): Skip references from | |
2952 | constructors of external variables. | |
2953 | ||
c5c5ba89 JH |
2954 | 2013-03-11 Jan Hubicka <jh@suse.cz> |
2955 | ||
2956 | PR middle-end/56571 | |
2957 | * valtrack.c (cleanup_auto_inc_dec): Unshare clobbers originating | |
2958 | from pseudos. | |
2959 | * emit-rtl.c (verify_rtx_sharing): Likewise. | |
2960 | (copy_insn_1): Likewise. | |
2961 | * rtl.c (copy_rtx): Likewise. | |
2962 | ||
c2a939b1 GJL |
2963 | 2013-03-11 Georg-Johann Lay <avr@gjlay.de> |
2964 | ||
2965 | PR target/56591 | |
2966 | * config/avr/avr.c (avr_print_operand): Add space after '%c' in | |
2967 | output_operand_lossage message. | |
88b97037 | 2968 | |
3c3279fb RE |
2969 | 2013-03-11 Richard Earnshaw <rearnsha@arm.com> |
2970 | ||
2971 | PR target/56470 | |
2972 | * arm.c (shift_op): Validate RTL pattern on the fly. | |
2973 | (arm_print_operand, case 'S'): Don't use shift_operator to validate | |
2974 | the RTL. | |
2975 | ||
aef5ef9d JDA |
2976 | 2013-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2977 | ||
2978 | PR target/56347 | |
2979 | * config/pa/pa.md (call_value): Check for calls to powf and direct to | |
2980 | new call patterns that clobber %fr12. | |
2981 | (call_val_powf, call_val_powf_pic, call_val_powf_64bit): New insn, | |
2982 | split and postreload patterns. | |
2983 | * config/pa/pa.c (pa_conditional_register_usage): Revert marking | |
2984 | registers %fr12 and %fr12R as call used. | |
2985 | ||
456610d3 SB |
2986 | 2013-03-09 Steven Bosscher <steven@gcc.gnu.org> |
2987 | ||
2988 | * dse.c (delete_dead_store_insn): Respect TDF_DETAILS. | |
2989 | (canon_address, record_store, replace_read, check_mem_read_rtx, | |
2990 | scan_insn, dse_step1, dse_step2_init, dse_step2_spill, | |
2991 | dse_step4, dse_step5_nospill, dse_step5_spill, dse_step6, | |
2992 | rest_of_handle_dse): Likewise. | |
2993 | ||
4b1baac8 RS |
2994 | 2013-03-09 Richard Sandiford <rdsandiford@googlemail.com> |
2995 | ||
2996 | PR middle-end/56524 | |
2997 | * tree.h (tree_optimization_option): Rename target_optabs to optabs. | |
2998 | Add base_optabs. | |
2999 | (TREE_OPTIMIZATION_OPTABS): Update after previous field change. | |
3000 | (TREE_OPTIMIZATION_BASE_OPTABS): New macro. | |
3001 | (save_optabs_if_changed): Replace with... | |
3002 | (init_tree_optimization_optabs): ...this. | |
3003 | * optabs.c (save_optabs_if_changed): Rename to... | |
3004 | (init_tree_optimization_optabs): ...this. Take the optimization node | |
3005 | as argument. Do nothing if the base optabs are already correct. | |
3006 | Reuse the existing TREE_OPTIMIZATION_OPTABS memory if we need | |
3007 | to recompute optabs. | |
3008 | * function.h (function): Remove optabs field. | |
3009 | * function.c (invoke_set_current_function_hook): Call | |
3010 | init_tree_optimization_optabs. Use the result to initialize | |
3011 | this_fn_optabs. | |
3012 | ||
b7a78683 AH |
3013 | 2013-02-27 Aldy Hernandez <aldyh@redhat.com> |
3014 | ||
3015 | * trans-mem.c (expand_transaction): Do not set PR_INSTRUMENTEDCODE | |
3016 | if GTMA_HAS_NO_INSTRUMENTATION. | |
3017 | (generate_tm_state): Keep GTMA_HAS_NO_INSTRUMENTATION bit. | |
3018 | (ipa_tm_transform_transaction): Set GTMA_HAS_NO_INSTRUMENTATION. | |
3019 | * gimple.h (GTMA_HAS_NO_INSTRUMENTATION): Define. | |
3020 | * gimple-pretty-print.c (dump_gimple_transaction): Handle | |
3021 | GTMA_HAS_NO_INSTRUMENTATION. | |
3022 | ||
6384c29b JJ |
3023 | 2013-03-08 Jakub Jelinek <jakub@redhat.com> |
3024 | ||
3025 | * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link against | |
3026 | libasan_preinit.o. | |
3027 | ||
ecd4f20a MP |
3028 | 2013-03-08 Marek Polacek <polacek@redhat.com> |
3029 | Jakub Jelinek <jakub@redhat.com> | |
3030 | ||
3031 | PR tree-optimization/56478 | |
3032 | * predict.c (is_comparison_with_loop_invariant_p): Change the | |
3033 | type of loop_step to tree. | |
3034 | (predict_loops): Adjust. | |
3035 | (predict_iv_comparison): Perform the computations on double_ints. | |
3036 | ||
64366d35 RB |
3037 | 2013-03-08 Richard Biener <rguenther@suse.de> |
3038 | ||
3039 | PR tree-optimization/56570 | |
3040 | * tree-cfg.c (verify_expr_location_1): Verify locations for | |
3041 | DECL_DEBUG_EXPR. | |
3042 | * tree-sra.c (create_access_replacement): Strip locations | |
3043 | from DECL_DEBUG_EXPRs. | |
3044 | ||
a9d5a059 RB |
3045 | 2013-03-08 Richard Biener <rguenther@suse.de> |
3046 | ||
3047 | * tree-inline.c (expand_call_inline): Do not associate | |
3048 | a BLOCK with the location in BLOCK_SOURCE_LOCATION. | |
3049 | * tree-cfg.c (verify_location): Verify BLOCK_SOURCE_LOCATION. | |
3050 | ||
b7aa4e9a RB |
3051 | 2013-03-08 Richard Biener <rguenther@suse.de> |
3052 | ||
3053 | * tree-ssa-ter.c (is_replaceable_p): Do not TER across location | |
3054 | or block changes with -Og. Fix for location / block encoding | |
3055 | changes and PHI arguments with locations. | |
3056 | ||
c4c2f9fa SB |
3057 | 2013-03-07 Steven Bosscher <steven@gcc.gnu.org> |
3058 | ||
3059 | * bitmap.c (struct bitmap_descriptor_d): Use unsigned HOST_WIDEST_INT | |
3060 | for all counters. | |
3061 | (struct output_info): Likewise. | |
3062 | (register_overhead): Remove bad gcc_assert. | |
3063 | (bitmap_find_bit): If there is only a single bitmap element, do not | |
3064 | count a miss as a search. | |
3065 | (print_statistics): Update for counter type changes. | |
3066 | (dump_bitmap_statistics): Likewise. Print headers such that they | |
3067 | are properly lined up with the printed counters. | |
3068 | ||
5bf6606a JJ |
3069 | 2013-03-07 Jakub Jelinek <jakub@redhat.com> |
3070 | ||
3071 | PR tree-optimization/56559 | |
3072 | * tree-ssa-reassoc.c (zero_one_operation): When looking at rhs2, | |
3073 | check that it has only a single use. | |
3074 | ||
2c653d46 RB |
3075 | 2013-03-07 Richard Biener <rguenther@suse.de> |
3076 | ||
3077 | * doc/invoke.texi (fwhole-program): Discourage use in combination | |
3078 | with -flto. | |
3079 | ||
a72d8780 JJ |
3080 | 2013-03-06 Jakub Jelinek <jakub@redhat.com> |
3081 | ||
01a454df JJ |
3082 | * config/arm/t-arm (TM_H, OPTIONS_H_EXTRA): Add arm-cores.def. |
3083 | ||
c1781047 JJ |
3084 | PR tree-optimization/56539 |
3085 | * tree-tailcall.c (adjust_return_value_with_ops): Use GSI_SAME_STMT | |
3086 | instead of GSI_CONTINUE_LINKING as last argument to | |
3087 | force_gimple_operand_gsi. Adjust function comment. | |
3088 | ||
9772c47a JJ |
3089 | * config/aarch64/t-aarch64 (TM_H, OPTIONS_H_EXTRA): Add |
3090 | aarch64-cores.def. | |
3091 | ||
a72d8780 JJ |
3092 | PR middle-end/56548 |
3093 | * expr.c (expand_cond_expr_using_cmove): When expanding cmove in | |
3094 | promoted mode, convert the result back to the original mode. | |
3095 | ||
fa5556de RB |
3096 | 2013-03-06 Richard Biener <rguenther@suse.de> |
3097 | ||
3098 | PR middle-end/56294 | |
3099 | * tree-into-ssa.c (insert_phi_nodes_for): Add dumping. | |
3100 | (insert_updated_phi_nodes_compare_uids): New function. | |
3101 | (update_ssa): Sort symbols_to_rename after UID before | |
3102 | traversing it to insert PHI nodes. | |
3103 | ||
010403d1 RB |
3104 | 2013-03-06 Richard Biener <rguenther@suse.de> |
3105 | ||
3106 | PR middle-end/50494 | |
3107 | * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): | |
3108 | Do not adjust alignment of DECL_IN_CONSTANT_POOL decls. | |
3109 | ||
3110 | Revert | |
3111 | 2013-02-13 Richard Biener <rguenther@suse.de> | |
3112 | ||
3113 | PR lto/50494 | |
3114 | * varasm.c (output_constant_def_1): Get the decl representing | |
3115 | the constant as argument. | |
3116 | (output_constant_def): Wrap output_constant_def_1. | |
3117 | (make_decl_rtl): Use output_constant_def_1 with the decl | |
3118 | representing the constant. | |
3119 | (build_constant_desc): Optionally re-use a decl already | |
3120 | representing the constant. | |
3121 | (tree_output_constant_def): Adjust. | |
3122 | ||
3c27ce4c JY |
3123 | 2013-03-06 Joey Ye <joey.ye@arm.com> |
3124 | ||
3125 | PR lto/50293 | |
3126 | * gcc.c (convert_white_space): New function. | |
3127 | (main): Handles white space in function name. | |
3128 | ||
8f6d1c86 OE |
3129 | 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org> |
3130 | ||
3131 | PR target/56529 | |
3132 | * config/sh/sh.c (sh_option_override): Check for TARGET_DYNSHIFT | |
3133 | instead of TARGET_SH2 for call-table case. Do not set sh_div_strategy | |
3134 | to SH_DIV_CALL_TABLE for TARGET_SH2. | |
3135 | * config.gcc (sh_multilibs): Add m2 and m2a to sh*-*-linux* multilib | |
3136 | list. | |
3137 | * doc/invoke.texi (SH options): Document mdiv= call-div1, call-fp, | |
3138 | call-table options. | |
3139 | ||
798a209f SA |
3140 | 2013-03-05 Sterling Augustine <saugustine@google.com> |
3141 | Cary Coutant <ccoutant@google.com> | |
3142 | ||
3143 | PR debug/55364 | |
3144 | * dwarf2out.c (resolve_addr): Don't call | |
3145 | remove_loc_list_addr_table_entries a second time for the same | |
3146 | expression. | |
3147 | ||
6cfa417f | 3148 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
ee61ea38 | 3149 | |
6cfa417f JJ |
3150 | PR debug/56510 |
3151 | * cfgexpand.c (expand_debug_parm_decl): Call copy_rtx on incoming. | |
3152 | (avoid_complex_debug_insns): New function. | |
3153 | (expand_debug_locations): Call it. | |
3154 | ||
3155 | PR rtl-optimization/56484 | |
3156 | * ifcvt.c (noce_process_if_block): If else_bb is NULL, avoid extending | |
3157 | lifetimes of hard registers on small register class machines. | |
3158 | ||
3159 | 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com> | |
3160 | ||
3161 | * config/microblaze/microblaze-protos.h: Rename | |
ee61ea38 | 3162 | microblaze_is_interrupt_handler to microblaze_is_interrupt_variant. |
6cfa417f | 3163 | * config/microblaze/microblaze.c (microblaze_attribute_table): Add |
ee61ea38 DH |
3164 | fast_interrupt. |
3165 | (microblaze_fast_interrupt_function_p): New function. | |
3166 | (microblaze_is_interrupt_handler): Rename to | |
3167 | microblaze_is_interrupt_variant and add fast_interrupt check. | |
3168 | (microblaze_must_save_register): Use microblaze_is_interrupt_variant. | |
3169 | (save_restore_insns): Likewise. | |
3170 | (compute_frame_size): Likewise. | |
3171 | (microblaze_function_prologue): Add FAST_INTERRUPT_NAME. | |
3172 | (microblaze_globalize_label): Likewise. | |
6cfa417f JJ |
3173 | * config/microblaze/microblaze.h: Define FAST_INTERRUPT_NAME. |
3174 | * config/microblaze/microblaze.md: Use wrapper | |
ee61ea38 DH |
3175 | microblaze_is_interrupt_variant. |
3176 | ||
731aefac KT |
3177 | 2013-03-05 Kai Tietz <ktietz@redhat.com> |
3178 | ||
3179 | * sdbout.c (sdbout_one_type): Switch to current function's section | |
3180 | supporting cold/hot. | |
3181 | ||
a72d8780 | 3182 | 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com> |
e34fd5a7 DH |
3183 | |
3184 | * doc/invoke.texi (MicroBlaze): Add -mbig-endian, -mlittle-endian, | |
3185 | -mxl-reorder. | |
3186 | ||
334e71e8 JJ |
3187 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
3188 | ||
0b50e654 JJ |
3189 | PR middle-end/56461 |
3190 | * ggc-common.c (gt_pch_save): For ENABLE_VALGRIND_CHECKING, | |
3191 | if VALGRIND_GET_VBITS is defined, temporarily make object | |
3192 | memory all defined, and restore previous valgrind addressability | |
3193 | and definability afterwards. Free this_object at the end. | |
3194 | ||
4ccf8f43 JJ |
3195 | PR middle-end/56461 |
3196 | * lra.c (lra): Call lra_clear_live_ranges if live_p, | |
3197 | right before calling lra_create_live_ranges, also call it | |
3198 | when clearing live_p. Only call lra_clear_live_ranges | |
3199 | at the end if live_p. | |
3200 | ||
334e71e8 JJ |
3201 | PR middle-end/56461 |
3202 | * sched-deps.c (delete_dep_node): Free DEP_REPLACE. | |
3203 | ||
9ca966ca RB |
3204 | 2013-03-05 Richard Biener <rguenther@suse.de> |
3205 | ||
3206 | PR tree-optimization/56521 | |
3207 | * tree-ssa-sccvn.c (set_value_id_for_result): Always initialize | |
3208 | value-id. | |
3209 | ||
d273b176 SB |
3210 | 2013-03-05 Steven Bosscher <steven@gcc.gnu.org> |
3211 | ||
3212 | PR c++/55135 | |
3213 | * except.h (remove_unreachable_eh_regions): New prototype. | |
3214 | * except.c (remove_eh_handler_splicer): New function, split out | |
3215 | of remove_eh_handler. | |
3216 | (remove_eh_handler): Use remove_eh_handler_splicer. Add comment | |
3217 | warning about running it on many EH regions one at a time. | |
3218 | (remove_unreachable_eh_regions_worker): New function, walk the | |
3219 | EH tree in depth-first order and remove non-marked regions. | |
3220 | (remove_unreachable_eh_regions): New function. | |
3221 | * tree-eh.c (mark_reachable_handlers): New function, split out | |
3222 | from remove_unreachable_handlers. | |
3223 | (remove_unreachable_handlers): Use mark_reachable_handlers and | |
3224 | remove_unreachable_eh_regions. | |
3225 | (remove_unreachable_handlers_no_lp): Use mark_reachable_handlers | |
3226 | and remove_unreachable_eh_regions. | |
3227 | ||
5e7f1aef RB |
3228 | 2013-03-05 Richard Biener <rguenther@suse.de> |
3229 | ||
3230 | PR middle-end/56525 | |
3231 | * loop-init.c (fix_loop_structure): Remove loops in two stages, | |
3232 | not freeing them until the end. | |
3233 | ||
f276b762 AK |
3234 | 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
3235 | ||
3236 | * config/s390/s390.h: Define DWARF2_ASM_LINE_DEBUG_INFO. | |
3237 | ||
12a43ab8 RB |
3238 | 2013-03-05 Richard Biener <rguenther@suse.de> |
3239 | ||
3240 | PR tree-optimization/56270 | |
3241 | * tree-vect-slp.c (vect_schedule_slp): Clear vectorized stmts | |
3242 | of loads after scheduling an SLP instance. | |
3243 | ||
93675444 JJ |
3244 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
3245 | ||
db4138e3 JJ |
3246 | * Makefile.in (dg_target_exps): Add aarch64.exp, epiphany.exp and |
3247 | tic6x.exp. | |
3248 | (check_gcc_parallelize): Run guality.exp as a separate job from | |
3249 | vect.exp with unsorted.exp and $(dg_target_exps) separately from | |
3250 | struct-layout-1.exp with stackalign.exp. | |
3251 | ||
dd3d1ec0 JJ |
3252 | * alias.c (init_alias_analysis): Clear reg_known_equiv_p bitmap. |
3253 | ||
b8d381a3 JJ |
3254 | PR middle-end/56461 |
3255 | * tree-vect-slp.c (vect_supported_load_permutation_p): Free | |
3256 | load_index sbitmap even if some bit in it isn't set. | |
3257 | ||
b4f9786b JJ |
3258 | PR middle-end/56461 |
3259 | * tree-ssa-loop-niter.c (bb_queue): Remove typedef. | |
3260 | (discover_iteration_bound_by_body_walk): Change queues to | |
3261 | vec<vec<basic_block> > and queue to vec<basic_block>. Fix up | |
3262 | spelling in comment. Call safe_push on queues[bound_index] directly. | |
3263 | Release queues[queue_index] in every iteration unconditionally. | |
3264 | Release bounds vector. | |
3265 | ||
93675444 JJ |
3266 | PR middle-end/56461 |
3267 | * tree-vect-stmts.c (free_stmt_vec_info_vec): Call | |
3268 | free_stmt_vec_info on any left-over stmt_vec_info in the vector. | |
3269 | * tree-vect-loop.c (vect_create_epilog_for_reduction): Release | |
3270 | inner_phis vector. | |
3271 | ||
3e492e9c RB |
3272 | 2013-03-05 Richard Biener <rguenther@suse.de> |
3273 | ||
3274 | PR lto/56515 | |
3275 | * tree-inline.c (remap_blocks_to_null): New function. | |
3276 | (expand_call_inline): When expanding a call stmt without | |
3277 | an associated block inline remap all callee blocks to NULL. | |
3278 | ||
a5d1569a JJ |
3279 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
3280 | ||
86efb5cd JJ |
3281 | PR rtl-optimization/56494 |
3282 | * simplify-rtx.c (simplify_truncation): If C is narrower than A, | |
3283 | optimize (truncate:A (subreg:B (truncate:C X) 0)) into | |
3284 | (subreg:A (truncate:C X) 0) instead of (truncate:A X). | |
3285 | ||
85f5dbea JJ |
3286 | PR middle-end/56461 |
3287 | * sel-sched-ir.c (free_sched_pools): Release | |
3288 | succs_info_pool.stack[succs_info_pool.max_top] vectors too | |
3289 | if succs_info_pool.max_top isn't -1. | |
3290 | ||
a5d1569a JJ |
3291 | PR bootstrap/56509 |
3292 | * opts.c (opts_obstack, opts_concat): Moved to... | |
3293 | * opts-common.c (opts_obstack, opts_concat): ... here. | |
3294 | ||
4432aa6c JJ |
3295 | 2013-03-04 Jakub Jelinek <jakub@redhat.com> |
3296 | ||
3297 | PR middle-end/56461 | |
3298 | * diagnostic.c (diagnostic_append_note): Save and restore old prefix. | |
3299 | ||
f3a1fb91 MJ |
3300 | 2013-03-04 Martin Jambor <mjambor@suse.cz> |
3301 | ||
3302 | * tree-dfa.c (get_or_create_ssa_default_def): Use parameter fn in | |
3303 | all appropriate places. | |
3304 | ||
22110e6c EB |
3305 | 2013-01-04 Eric Botcazou <ebotcazou@adacore.com> |
3306 | ||
3307 | PR tree-optimization/56424 | |
3308 | * ipa-split.c (split_function): Do not set the RSO flag if result is | |
3309 | not by reference and its type is a register type. | |
3310 | ||
a72d8780 | 3311 | 2013-03-04 David Holsgrove <david.holsgrove@xilinx.com> |
91c4e421 | 3312 | |
88b97037 | 3313 | * config/microblaze/microblaze.c (microblaze_valid_pic_const): New |
91c4e421 | 3314 | (microblaze_legitimate_pic_operand): Likewise |
88b97037 | 3315 | * config/microblaze/microblaze.h (LEGITIMATE_PIC_OPERAND_P): calls |
91c4e421 DH |
3316 | new function microblaze_legitimate_pic_operand |
3317 | * config/microblaze/microblaze-protos.h | |
3318 | (microblaze_legitimate_pic_operand): Declare. | |
3319 | ||
a72d8780 | 3320 | 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
82f8f53a | 3321 | |
a72d8780 | 3322 | * config/microblaze/predicates.md (call_insn_simple_operand): |
82f8f53a | 3323 | New predicate for supported rtx code types. |
a72d8780 | 3324 | * config/microblaze/microblaze.md (call_internal1): Use |
82f8f53a EI |
3325 | call_insn_simple_operand predicate. |
3326 | ||
541d9ac8 JJ |
3327 | 2013-03-04 Jakub Jelinek <jakub@redhat.com> |
3328 | ||
5eb010bc JJ |
3329 | PR middle-end/56461 |
3330 | * tree-loop-distribution.c (ldist_gen): Call partition_free after each | |
3331 | partitions.ordered_remove. | |
3332 | ||
30862efc JJ |
3333 | PR middle-end/56461 |
3334 | * tree-vect-stmts.c (vectorizable_conversion): Don't call | |
3335 | vec_oprnds0.create (1) for modifier == NONE. | |
3336 | ||
8930f723 JJ |
3337 | PR middle-end/56461 |
3338 | * tree-vect-stmts.c (vectorizable_shift): Don't call create methods | |
3339 | on vec_oprnds0 or vec_oprnds1 before loop, only call it on | |
3340 | vec_oprnds1 right before pushing anything to it for | |
3341 | scalar_shift_arg. | |
3342 | ||
541d9ac8 JJ |
3343 | PR middle-end/56461 |
3344 | * tree-vect-loop.c (destroy_loop_vec_info): For !clean_stmts, just | |
3345 | set nbbs to 0 instead of having separate code path. | |
3346 | (vect_analyze_loop_form): Call destroy_loop_vec_info with true | |
3347 | instead of false as last argument if returning NULL. | |
3348 | ||
7aa7f2e3 SL |
3349 | 2013-03-03 Sandra Loosemore <sandra@codesourcery.com> |
3350 | ||
3351 | * target.def (TARGET_OPTION_VALID_ATTRIBUTE_P): Update comments; | |
3352 | the attribute is now called "target" instead of "option". | |
3353 | (TARGET_OPTION_PRAGMA_PARSE): Likewise, for the pragma. | |
3354 | * doc/tm.texi.in (Target Attributes): Likewise document the correct | |
3355 | attribute/pragma name for TARGET_OPTION_VALID_P and | |
3356 | TARGET_OPTION_PRAGMA_PARSE. Also copy-edit and correct markup. | |
3357 | * doc/tm.texi: Regenerated. | |
3358 | ||
8930f723 | 3359 | 2013-03-02 David Holsgrove <david.holsgrove@xilinx.com> |
cb8a1637 | 3360 | |
8930f723 | 3361 | * config/microblaze/microblaze.c: |
cb8a1637 | 3362 | Check mcpu, pcmp requirement and set TARGET_REORDER to 0 if not met. |
8930f723 JJ |
3363 | * config/microblaze/microblaze.h: Add -mxl-reorder to |
3364 | DRIVER_SELF_SPECS. | |
3365 | * config/microblaze/microblaze.md: New bswapsi2 and bswaphi2. | |
3366 | instructions emitted if TARGET_REORDER. | |
88b97037 UB |
3367 | * config/microblaze/microblaze.opt: New option -mxl-reorder set to 1 |
3368 | or 0 for -m/-mno case, but initialises as 2 to detect default use case | |
8930f723 | 3369 | separately. |
cb8a1637 | 3370 | |
4dc1d68c XDL |
3371 | 2013-03-01 Xinliang David Li <davidxl@google.com> |
3372 | ||
3373 | * tree-ssa-uninit.c (compute_control_dep_chain): Limit post-dom | |
3374 | walk length. | |
3375 | ||
689eaba3 JJ |
3376 | 2013-03-01 Jakub Jelinek <jakub@redhat.com> |
3377 | ||
9d676bf6 JJ |
3378 | PR middle-end/56461 |
3379 | * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Release path | |
3380 | vector even when returning true. Fix up function comment formatting. | |
3381 | ||
caff7edf JJ |
3382 | PR middle-end/56461 |
3383 | * ira-build.c (ira_loop_nodes_count): New variable. | |
3384 | (create_loop_tree_nodes): Initialize it. | |
3385 | (finish_loop_tree_nodes): Use it instead of looking at current_loops. | |
3386 | ||
b6b9227d JJ |
3387 | PR middle-end/56461 |
3388 | * tree-vect-data-refs.c (vect_permute_store_chain): Avoid using copy | |
3389 | method on dr_chain and result_chain. | |
3390 | * tree-vect-stmts.c (vectorizable_store): Only call | |
3391 | result_chain.create if j == 0. | |
3392 | ||
689eaba3 JJ |
3393 | PR middle-end/56461 |
3394 | * tree-vect-stmts.c (vect_create_vectorized_promotion_stmts): Call | |
3395 | vec_oprnds0->release (); rather than vec_oprnds0->truncate (0) | |
3396 | before overwriting it. | |
3397 | ||
40bf31ed TB |
3398 | 2013-03-01 Tobias Burnus <burnus@net-b.de> |
3399 | ||
3400 | * doc/extended.texi (C Extensions): Change order in @menu | |
3401 | to match @node. | |
3402 | (Other MIPS Built-in Functions): Move last MIPS entry before | |
3403 | "picoChip Built-in Functions". | |
3404 | (SH Built-in Functions): Move after RX Built-in Functions. | |
3405 | * doc/gcc.texi (Introduction): Change order in @menu | |
3406 | to match @node. | |
3407 | * doc/md.texi (Constraints): Ditto. | |
3408 | * gty.texi (Type Information): Ditto. | |
3409 | (User-provided marking routines for template types): Make | |
3410 | subsection. | |
3411 | * doc/invoke.texi (AArch64 Options): Move before | |
3412 | "Adapteva Epiphany Options". | |
3413 | ||
e664c61c KS |
3414 | 2013-02-28 Konstantin Serebryany <konstantin.s.serebryany@gmail.com> |
3415 | Jakub Jelinek <jakub@redhat.com> | |
3416 | ||
3417 | PR sanitizer/56454 | |
3418 | * asan.c (gate_asan): Lookup no_sanitize_address instead of | |
3419 | no_address_safety_analysis attribute. | |
3420 | * doc/extend.texi (no_address_safety_attribute): Rename to | |
3421 | no_sanitize_address attribute, mention no_address_safety_analysis | |
3422 | attribute as deprecated alias. | |
3423 | ||
37b5ec8f JJ |
3424 | 2013-02-28 Jakub Jelinek <jakub@redhat.com> |
3425 | ||
3426 | PR middle-end/56461 | |
3427 | * tree-vectorizer.h (vect_get_slp_defs): Change 3rd argument | |
3428 | type to vec<vec<tree> > *. | |
3429 | * tree-vect-slp.c (vect_get_slp_defs): Likewise. Change vec_defs | |
3430 | to be vec<tree> instead of vec<tree> *, set vec_defs | |
3431 | to vNULL and call vec_defs.create (number_of_vects), adjust other | |
3432 | uses of vec_defs. | |
3433 | * tree-vect-stmts.c (vect_get_vec_defs, vectorizable_call, | |
3434 | vectorizable_condition): Adjust vect_get_slp_defs callers. | |
3435 | ||
ba96cdfb JG |
3436 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
3437 | ||
3438 | * config/aarch64/aarch64.c | |
3439 | (aarch64_float_const_representable): Remove unused variable. | |
3440 | ||
6f549691 JG |
3441 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
3442 | ||
3443 | * config/aarch64/aarch64.c (aarch64_mangle_type): Make static. | |
3444 | ||
af55e82d JG |
3445 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
3446 | ||
3447 | * config/aarch64/aarch64-builtins.c | |
3448 | (aarch64_init_simd_builtins): Make static. | |
3449 | ||
1df3f464 JG |
3450 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
3451 | ||
3452 | * config/aarch64/aarch64.c | |
3453 | (aarch64_simd_make_constant): Make static. | |
3454 | ||
f8f42513 MJ |
3455 | 2013-02-28 Martin Jambor <mjambor@suse.cz> |
3456 | ||
3457 | * tree-sra.c (load_assign_lhs_subreplacements): Do not put replacements | |
3458 | with no initialization to the RHS of debug statements. | |
3459 | ||
b48b3fc4 MJ |
3460 | 2013-02-28 Martin Jambor <mjambor@suse.cz> |
3461 | ||
3462 | PR tree-optimization/56294 | |
3463 | * tree-sra.c (analyze_access_subtree): Create replacement declarations. | |
3464 | Adjust dumping. | |
3465 | (get_access_replacement): Do not call create_access_replacement. | |
3466 | Assert a replacement exists. | |
3467 | (get_repl_default_def_ssa_name): Create the replacement declaration | |
3468 | itself. | |
3469 | ||
c3ae224c RR |
3470 | 2013-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
3471 | ||
3472 | * config/arm/arm.c (arm_output_mi_thunk): Call final_start_function and | |
3473 | final_end_function. | |
3474 | ||
45fa0eef MP |
3475 | 2013-02-28 Marek Polacek <polacek@redhat.com> |
3476 | ||
3477 | PR rtl-optimization/56466 | |
3478 | * loop-unroll.c (unroll_and_peel_loops): Call fix_loop_structure | |
3479 | if we're changing a loop. | |
3480 | (peel_loops_completely): Likewise. | |
3481 | ||
502c067d PC |
3482 | 2013-02-28 Paolo Carlini <paolo.carlini@oracle.com> |
3483 | ||
3484 | PR c++/55813 | |
3485 | * doc/invoke.texi ([-Wctor-dtor-privacy]): Complete. | |
3486 | ||
ff24afc8 GJL |
3487 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
3488 | ||
3489 | PR target/56445 | |
3490 | * config/avr/avr.c (avr_init_builtins): Use 'n' instead of empty | |
3491 | macro parameters with: FX_FTYPE_FX, FX_FTYPE_FX_INT, INT_FTYPE_FX, | |
3492 | INTX_FTYPE_FX, FX_FTYPE_INTX. | |
3493 | * config/avr/builtins.def: Adjust respective DEF_BUILTIN. | |
3494 | ||
c7b1fc1b GJL |
3495 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
3496 | ||
3497 | * avr/avr-mcus.def (ata5272, ata5505, attiny1634, ata6285) | |
3498 | (ata6286, atmega8a, atmega48pa, ata5790, ata5790n, ata5795) | |
3499 | (atmega164pa, atmega165pa, atmega168pa, atmega16hva, atmega16hvb) | |
3500 | (atmega16hvbrevb, atmega16m1, atmega16u4, atmega26hvg, atmega32a) | |
3501 | (atmega32a, atmega3250pa, atmega3290pa, atmega32c1, atmega32m1) | |
3502 | (atmega32u4, atmega32u6, atmega64a, atmega6490a, atmega6490p) | |
3503 | (atmega64c1, atmega64m1, atmega64rfa2, atmega64rfr2, atmega32hvb) | |
3504 | (atmega32hvbrevb, atmega16hva2, atmega48hvf, at90pwm161) | |
3505 | (atmega128a, atmega1284, atmxt112sl, atmxt224, atmxt224e) | |
3506 | (atmxt336s, atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4) | |
3507 | (atxmega32e5, atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3) | |
3508 | (atxmega64c3, atxmega64d4, atxmega128a3u, atxmega128b1) | |
3509 | (atxmega128b3, atxmega128c3, atxmega128d4, atmxt540s, atmxt540sreva) | |
3510 | (atxmega192a3u, atxmega192c3, atxmega256a3u, atxmega256c3) | |
3511 | (atxmega384c3, atxmega384d3, atxmega128a4u): New AVR_MCU. | |
3512 | (avrxmega6): Increase max flash segments from 5 to 6. | |
3513 | * config/avr/t-multilib: Regenerate. | |
3514 | * config/avr/avr-tables.opt: Regenerate. | |
3515 | * doc/avr-mmcu.texi: Regenerate. | |
3516 | ||
4a0e3cfe GJL |
3517 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
3518 | ||
3519 | * config/avr/avr.h (device_to_arch): Rename to device_to_ld. | |
3520 | (avr_device_to_arch): Rename to avr_device_to_ld. | |
3521 | (avr_device_to_as): New prototype. | |
3522 | (EXTRA_SPEC_FUNCTIONS): Add device_to_as. | |
3523 | (ASM_SPEC): Use device_to_as to get -mmcu= and -mno-skip-bug=. | |
3524 | * config/avr/driver-avr.c (avr_device_to_as): New. | |
3525 | (avr_device_to_arch): Rename to avr_device_to_ld. | |
3526 | ||
97785e52 JJ |
3527 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
3528 | ||
3f292312 JJ |
3529 | PR middle-end/56461 |
3530 | * tree-vect-data-refs.c (vect_permute_load_chain): Avoid using copy | |
3531 | method on dr_chain and result_chain. | |
3532 | ||
a344216b JJ |
3533 | PR middle-end/56461 |
3534 | * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Call | |
3535 | pointer_set_destroy on not_executed_last_iteration. | |
3536 | ||
f121ad02 | 3537 | PR middle-end/56461 |
88b97037 | 3538 | * tree-vect-loop.c (vectorizable_reduction): Release vect_defs vector. |
f121ad02 | 3539 | |
307f83a3 JJ |
3540 | PR middle-end/56461 |
3541 | * ipa-pure-const.c (propagate): Use FOR_EACH_FUNCTION instead of | |
3542 | FOR_EACH_DEFINED_FUNCTION when freeing state. | |
3543 | ||
e19624ee JJ |
3544 | PR middle-end/56461 |
3545 | * df-scan.c (df_insn_delete): Use df_scan_free_mws_vec before | |
3546 | pool_free. | |
3547 | (df_insn_rescan_debug_internal): Use df_scan_free_mws_vec before | |
3548 | overwriting it. | |
3549 | ||
90e709fd JJ |
3550 | PR middle-end/56461 |
3551 | * ipa-cp.c (decide_whether_version_node): Call vec_free on | |
3552 | known_aggs[i].items and release known_aggs vector. | |
3553 | ||
97785e52 JJ |
3554 | PR middle-end/56461 |
3555 | * ipa-reference.c (propagate): Free node_info even for alias nodes. | |
3556 | ||
3557 | 2013-02-27 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
bbb3a9e2 | 3558 | |
97785e52 JJ |
3559 | * config/microblaze/microblaze.c (microblaze_emit_compare): |
3560 | Use xor for EQ/NE comparisions. | |
3561 | * config/microblaze/microblaze.md (cstoresf4): Add constraints | |
3562 | (cbranchsf4): Adjust operator to comparison_operator. | |
bbb3a9e2 | 3563 | |
6fa5e0ed JJ |
3564 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
3565 | ||
3566 | PR middle-end/56461 | |
3567 | * tree-flow.h (edge_var_map_vector): Change into va_heap, vl_embed | |
3568 | vector. | |
3569 | * tree-ssa.c (redirect_edge_var_map_add): Use vec_safe_reserve and | |
3570 | vec_safe_push, always update *slot. | |
3571 | (redirect_edge_var_map_clear): Use vec_free. | |
3572 | (redirect_edge_var_map_dup): Use vec_safe_copy and vec_safe_reserve. | |
3573 | (free_var_map_entry): Use vec_free. | |
3574 | * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Use | |
3575 | FOR_EACH_VEC_SAFE_ELT instead of FOR_EACH_VEC_ELT. | |
3576 | ||
436a956a AB |
3577 | 2013-02-27 Andrey Belevantsev <abel@ispras.ru> |
3578 | ||
3579 | PR middle-end/45472 | |
436a956a AB |
3580 | * sel-sched-ir.c (merge_expr): Also change vinsn of merged expr |
3581 | when the may_trap_p bit of the exprs being merged differs. | |
436a956a AB |
3582 | Reorder tests for speculativeness in the logical and operator. |
3583 | ||
f5c2caca JJ |
3584 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
3585 | ||
0fcb564b JJ |
3586 | * incpath.c (add_standard_paths): Use reconcat instead of concat |
3587 | where appropriate and avoid leaking memory. | |
3588 | ||
dc357798 JJ |
3589 | * opts.h: Include obstack.h. |
3590 | (opts_concat): New prototype. | |
3591 | (opts_obstack): New declaration. | |
3592 | * opts.c (opts_concat): New function. | |
3593 | (opts_obstack): New variable. | |
3594 | (init_options_struct): Call gcc_init_obstack on opts_obstack. | |
3595 | (finish_options): Use opts_concat instead of concat | |
3596 | and XOBNEWVEC instead of XNEWVEC. | |
3597 | * opts-common.c (generate_canonical_option, decode_cmdline_option, | |
3598 | generate_option): Likewise. | |
3599 | * Makefile.in (OPTS_H): Depend on $(OBSTACK_H). | |
3600 | * lto-wrapper.c (main): Call gcc_init_obstack on opts_obstack. | |
3601 | ||
f5c2caca JJ |
3602 | PR target/56455 |
3603 | * stmt.c (expand_switch_as_decision_tree_p): If flag_pic | |
3604 | and ASM_OUTPUT_ADDR_DIFF_ELT isn't defined, return true. | |
3605 | ||
d0163673 JJ |
3606 | 2013-02-26 Jakub Jelinek <jakub@redhat.com> |
3607 | ||
3608 | PR middle-end/56461 | |
3609 | * lra-spills.c (lra_spill): Free spill_hard_reg at the end. | |
3610 | ||
b5ad2b8e JR |
3611 | 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com> |
3612 | ||
3613 | * config/arm/arm.c (const_ok_for_dimode_op): Back out last change. | |
3614 | (arm_block_move_unaligned_straight): Likewise. | |
3615 | (arm_adjust_block_mem): Likewise. | |
3616 | ||
9b639e2c JR |
3617 | 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com> |
3618 | ||
3619 | PR target/48901 | |
3620 | * config/lm32/lm32.c (gen_int_relational): Remove unused variables | |
3621 | temp, cond and label. | |
3622 | * config/lm32/lm32.md (ashlsi3): Remove unused variable one. | |
3623 | ||
e13a0ccb JR |
3624 | PR target/52500 |
3625 | * config/c6x/c6x.c (dbx_register_map): Change to unsigned. | |
3626 | * config/c6x/c6x.h (dbx_register_map): Update declaration. | |
3627 | ||
fbe4f171 JR |
3628 | PR target/52501 |
3629 | * config/cr16/cr16-protos.h: Move end of RTX_CODE guard below end | |
3630 | of prologue/epilogue functions. | |
3631 | ||
ae006543 JR |
3632 | PR target/52550 |
3633 | * config/tilegx/tilegx.c (tilegx_expand_prologue): | |
3634 | Remove unused variable cfa_offset. | |
3635 | * config/tilepro/tilepro.c (tilepro_expand_prologue): Likewise. | |
3636 | ||
c81369fa JR |
3637 | PR target/54639 |
3638 | * config/mn10300/mn10300.c (mn10300_expand_epilogue): Avoid offset | |
3639 | type promotion to unsigned. | |
3640 | ||
f8a8fea7 JR |
3641 | PR target/54640 |
3642 | * config/arm/arm.c (const_ok_for_dimode_op): Make code consistent | |
3643 | for HOST_WIDE_INT of 32 bit / same size as int. | |
3644 | (arm_block_move_unaligned_straight): Likewise. | |
3645 | (arm_adjust_block_mem): Likewise. | |
3646 | ||
f8be5169 JR |
3647 | PR target/54662 |
3648 | * config/mep/t-mep (mep-pragma.o): Use ALL_COMPILERFLAGS instead of | |
3649 | ALL_CFLAGS. | |
3650 | ||
f1ad3354 MP |
3651 | 2013-02-26 Marek Polacek <polacek@redhat.com> |
3652 | ||
3653 | PR tree-optimization/56426 | |
88b97037 | 3654 | * tree-ssa-loop.c (tree_ssa_loop_init): Always call scev_initialize. |
f1ad3354 | 3655 | |
a6af0f42 RB |
3656 | 2013-02-26 Richard Biener <rguenther@suse.de> |
3657 | ||
3658 | PR target/56444 | |
3659 | * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): Remove | |
3660 | unused variable loops. | |
3661 | ||
aca43c6c JJ |
3662 | 2013-02-26 Jakub Jelinek <jakub@redhat.com> |
3663 | ||
cecbe5d9 JJ |
3664 | PR tree-optimization/56448 |
3665 | * fold-const.c (operand_equal_p) <case tcc_reference>: Don't look at | |
3666 | TREE_SIDE_EFFECTS if flags contain OEP_CONSTANT_ADDRESS_OF. | |
3667 | Clear OEP_CONSTANT_ADDRESS_OF from flags before recursing on second or | |
3668 | later operands of the references, or even first operand for | |
3669 | INDIRECT_REF, TARGET_MEM_REF or MEM_REF. | |
3670 | ||
aca43c6c JJ |
3671 | PR tree-optimization/56443 |
3672 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): For | |
3673 | overaligned types, pass TYPE_UNSIGNED (scalar_type) as second argument | |
3674 | to type_for_mode langhook. | |
3675 | ||
53e2e141 MT |
3676 | 2013-02-25 Matt Turner <mattst88@gmail.com> |
3677 | ||
3678 | * doc/invoke.texi: Document r4700. | |
3679 | ||
259ee451 RB |
3680 | 2013-02-25 Richard Biener <rguenther@suse.de> |
3681 | ||
3682 | PR tree-optimization/56175 | |
3683 | * tree-ssa-forwprop.c (hoist_conversion_for_bitop_p): New predicate, | |
3684 | split out from ... | |
3685 | (simplify_bitwise_binary): ... here. Also guard the conversion | |
3686 | of (type) X op CST to (type) (X op ((type-x) CST)) with it. | |
3687 | ||
6d65e8f1 CM |
3688 | 2013-02-25 Catherine Moore <clm@codesourcery.com> |
3689 | ||
3690 | Revert: | |
3691 | 2013-02-24 Catherine Moore <clm@codesourcery.com> | |
3692 | Maciej W. Rozycki <macro@codesourcery.com> | |
3693 | Tom de Vries <tom@codesourcery.com> | |
a72d8780 | 3694 | Nathan Sidwell <nathan@codesourcery.com> |
6d65e8f1 CM |
3695 | Iain Sandoe <iain@codesourcery.com> |
3696 | Nathan Froyd <froydnj@codesourcery.com> | |
a72d8780 | 3697 | Chao-ying Fu <fu@mips.com> |
88b97037 | 3698 | |
6d65e8f1 | 3699 | * doc/extend.texi: (micromips, nomicromips, nocompression): |
88b97037 | 3700 | Document new function attributes. |
6d65e8f1 CM |
3701 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
3702 | m14k, m14ke, m14kec): Document new options. | |
3703 | (minterlink-mips16): Update documentation. | |
3704 | * doc/md.texi (ZC, ZD): Document new constraints. | |
3705 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
3706 | supports the .set micromips directive. | |
3707 | * configure: Regenerate. | |
3708 | * config.in: Regenerate. | |
3709 | * config/mips/mips-tables.opt: Regenerate. | |
3710 | * config/mips/micromips.md: New file. | |
3711 | * constraints.md (ZC, AD): New constraints. | |
3712 | * config/mips/predicates.md (movep_src_register): New predicate. | |
3713 | (movep_src_operand): New predicate. | |
3714 | (non_volatile_mem_operand): New predicate. | |
3715 | * config/mips/mips.md (multimem): New type. | |
3716 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
3717 | (MOVEP1, MOVEP2): New mode iterator. | |
3718 | (mov_<load>l): Use ZC constraint. | |
3719 | (mov_<load>r): Likewise. | |
3720 | (mov_<store>l): Likewise. | |
3721 | (mov_<store>r): Likewise. | |
3722 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
3723 | (*branch_equality<mode>): Likewise. | |
3724 | (*jump_absolute): Likewise. | |
3725 | (indirect_jump_<mode>): Likewise. | |
3726 | (tablejump_<mode>): Likewise. | |
3727 | (<optab>_internal): Likewise. | |
3728 | (sibcall_internal): Likewise. | |
3729 | (sibcall_value_internal): Likewise. | |
3730 | (prefetch): Use constraint ZD. | |
3731 | * config/mips/mips.opt (minterlink-compressed): New option. | |
3732 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
3733 | (mmicromips): New option. | |
3734 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
3735 | (compare_and_swap_12): Likewise. | |
3736 | (sync_add<mode>): Likewise. | |
3737 | (sync_<optab>_12): Likewise. | |
3738 | (sync_old_<optab>_12): Likewise. | |
3739 | (sync_new_<optab>_12): Likewise. | |
3740 | (sync_nand_12): Likewise. | |
3741 | (sync_old_nand_12): Likewise. | |
3742 | (sync_new_nand_12): Likewise. | |
3743 | (sync_sub<mode>): Likewise. | |
3744 | (sync_old_add<mode>): Likewise. | |
3745 | (sync_old_sub<mode>): Likewise. | |
3746 | (sync_new_add<mode>): Likewise. | |
3747 | (sync_new_sub<mode>): Likewise. | |
3748 | (sync_<optab><mode>): Likewise. | |
3749 | (sync_old_<optab><mode>): Likewise. | |
3750 | (sync_new_<optab><mode>): Likewise. | |
3751 | (sync_nand<mode>): Likewise. | |
3752 | (sync_old_nand<mode>): Likewise. | |
3753 | (sync_new_nand<mode>): Likewise. | |
3754 | (sync_lock_test_and_set<mode>): Likewise. | |
3755 | (test_and_set_12): Likewise. | |
3756 | (atomic_compare_and_swap<mode>): Likewise. | |
3757 | (atomic_exchange<mode>_llsc): Likewise. | |
3758 | (atomic_fetch_add<mode>_llsc): Likewise. | |
3759 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
3760 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
3761 | (umips_save_restore_pattern_p): Likewise. | |
3762 | (umips_load_store_pair_p): Likewise. | |
3763 | (umips_output_load_store_pair): Likewise. | |
3764 | (umips_movep_target_p): Likewise. | |
3765 | (umips_12bit_offset_address_p): Likewise. | |
3766 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
3767 | (mips_base_mips16): Rename this... | |
3768 | (mips_base_compression_flags): ...to this. Update all uses. | |
3769 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
3770 | (mips_mips16_decl_p): Delete. | |
3771 | (mips_nomips16_decl_p): Delete. | |
3772 | (mips_get_compress_on_flags): New function. | |
3773 | (mips_get_compress_off_flags): New function. | |
3774 | (mips_get_compress_mode): New function. | |
3775 | (mips_get_compress_on_name): New function. | |
3776 | (mips_get_compress_off_name): New function. | |
3777 | (mips_insert_attributes): Support multiple compression types. | |
3778 | (mips_merge_decl_attributes): Likewise. | |
3779 | (umips_12bit_offset_address_p): New function. | |
3780 | (mips_start_function_definition): Emit .set micromips directive. | |
3781 | (mips_call_may_need_jalx_p): New function. | |
3782 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
3783 | (mips_print_operand_punctuation): Support short delay slots and | |
3784 | compact jumps. | |
3785 | (umips_swm_mask, umips_swm_encoding): New. | |
3786 | (umips_build_save_restore): New function. | |
3787 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
3788 | (was_mips16_p): Remove. | |
3789 | (old_compression_mode): New. | |
3790 | (mips_set_compression_mode): New function. | |
3791 | (mips_set_current_function): Add microMIPS support. | |
3792 | (mips_option_override): Likewise. | |
3793 | (umips_save_restore_pattern_p): New function. | |
3794 | (umips_output_save_restore): New function. | |
3795 | (umips_load_store_pair_p_1): New function. | |
3796 | (umips_load_store_pair_p): New function. | |
3797 | (umips_output_load_store_pair_1): New function. | |
3798 | (umips_output_load_store_pair): New function. | |
3799 | (umips_movep_target_p) New function. | |
3800 | (mips_prepare_pch_save): Add microMIPS support. | |
3801 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
3802 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
3803 | to use new compression flags and to support microMIPS. | |
3804 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
3805 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
3806 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
3807 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
3808 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
3809 | (M16STORE_REG_P): New macro. | |
3810 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
3811 | (MICROMIPS_J): New macro. | |
3812 | (mips_base_mips16): Rename this... | |
3813 | (mips_base_compression_flags): ...to this. | |
3814 | (UMIPS_12BIT_OFFSET_P): New macro. | |
3815 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
3816 | (MULTILIB_DIRNAMES): Likewise. | |
3817 | ||
5e5df392 TV |
3818 | 2013-02-25 Tom de Vries <tom@codesourcery.com> |
3819 | ||
3820 | PR rtl-optimization/56131 | |
3821 | * insn-notes.def (INSN_NOTE_BASIC_BLOCK): Update comment. | |
3822 | * cfgrtl.c (delete_insn): Don't reorder NOTE_INSN_DELETED_LABEL and | |
3823 | NOTE_INSN_BASIC_BLOCK if BLOCK_FOR_INSN == NULL. | |
3824 | ||
3fdb53c1 TB |
3825 | 2013-02-25 Tobias Burnus <burnus@net-b.de> |
3826 | ||
3827 | * doc/invoke.texi (-fsanitize=): Move from optimization | |
3828 | to debugging options. | |
3829 | ||
ed358aea AB |
3830 | 2013-02-25 Andrey Belevantsev <abel@ispras.ru> |
3831 | ||
3832 | * sched-deps.c (sched_analyze_insn): Fix typo in comment. | |
3833 | ||
f45e9053 AB |
3834 | 2013-02-25 Andrey Belevantsev <abel@ispras.ru> |
3835 | Alexander Monakov <amonakov@ispras.ru> | |
3836 | ||
3837 | PR middle-end/56077 | |
3838 | * sched-deps.c (sched_analyze_insn): When reg_pending_barrier, | |
3839 | flush pending lists also on non-jumps. Adjust comment. | |
3840 | ||
6941b508 CM |
3841 | 2013-02-24 Catherine Moore <clm@codesourcery.com> |
3842 | Maciej W. Rozycki <macro@codesourcery.com> | |
3843 | Tom de Vries <tom@codesourcery.com> | |
a72d8780 | 3844 | Nathan Sidwell <nathan@codesourcery.com> |
6941b508 CM |
3845 | Iain Sandoe <iain@codesourcery.com> |
3846 | Nathan Froyd <froydnj@codesourcery.com> | |
a72d8780 | 3847 | Chao-ying Fu <fu@mips.com> |
6941b508 CM |
3848 | |
3849 | * doc/extend.texi: (micromips, nomicromips, nocompression): | |
88b97037 | 3850 | Document new function attributes. |
6941b508 CM |
3851 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
3852 | m14k, m14ke, m14kec): Document new options. | |
3853 | (minterlink-mips16): Update documentation. | |
3854 | * doc/md.texi (ZC, ZD): Document new constraints. | |
3855 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
3856 | supports the .set micromips directive. | |
3857 | * configure: Regenerate. | |
3858 | * config.in: Regenerate. | |
3859 | * config/mips/mips-tables.opt: Regenerate. | |
3860 | * config/mips/micromips.md: New file. | |
3861 | * constraints.md (ZC, AD): New constraints. | |
3862 | * config/mips/predicates.md (movep_src_register): New predicate. | |
3863 | (movep_src_operand): New predicate. | |
3864 | (non_volatile_mem_operand): New predicate. | |
3865 | * config/mips/mips.md (multimem): New type. | |
3866 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
3867 | (MOVEP1, MOVEP2): New mode iterator. | |
3fdb53c1 | 3868 | (mov_<load>l): Use ZC constraint. |
6941b508 CM |
3869 | (mov_<load>r): Likewise. |
3870 | (mov_<store>l): Likewise. | |
3871 | (mov_<store>r): Likewise. | |
3872 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
3873 | (*branch_equality<mode>): Likewise. | |
3874 | (*jump_absolute): Likewise. | |
3875 | (indirect_jump_<mode>): Likewise. | |
3876 | (tablejump_<mode>): Likewise. | |
3877 | (<optab>_internal): Likewise. | |
3878 | (sibcall_internal): Likewise. | |
3879 | (sibcall_value_internal): Likewise. | |
3880 | (prefetch): Use constraint ZD. | |
3881 | * config/mips/mips.opt (minterlink-compressed): New option. | |
3882 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
3883 | (mmicromips): New option. | |
3884 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
3885 | (compare_and_swap_12): Likewise. | |
3886 | (sync_add<mode>): Likewise. | |
3887 | (sync_<optab>_12): Likewise. | |
3888 | (sync_old_<optab>_12): Likewise. | |
3889 | (sync_new_<optab>_12): Likewise. | |
3890 | (sync_nand_12): Likewise. | |
3891 | (sync_old_nand_12): Likewise. | |
3892 | (sync_new_nand_12): Likewise. | |
3893 | (sync_sub<mode>): Likewise. | |
3894 | (sync_old_add<mode>): Likewise. | |
3895 | (sync_old_sub<mode>): Likewise. | |
3896 | (sync_new_add<mode>): Likewise. | |
3897 | (sync_new_sub<mode>): Likewise. | |
3898 | (sync_<optab><mode>): Likewise. | |
3899 | (sync_old_<optab><mode>): Likewise. | |
3900 | (sync_new_<optab><mode>): Likewise. | |
3901 | (sync_nand<mode>): Likewise. | |
3902 | (sync_old_nand<mode>): Likewise. | |
3903 | (sync_new_nand<mode>): Likewise. | |
3904 | (sync_lock_test_and_set<mode>): Likewise. | |
3905 | (test_and_set_12): Likewise. | |
3906 | (atomic_compare_and_swap<mode>): Likewise. | |
3907 | (atomic_exchange<mode>_llsc): Likewise. | |
3908 | (atomic_fetch_add<mode>_llsc): Likewise. | |
3909 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
3910 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
3911 | (umips_save_restore_pattern_p): Likewise. | |
3912 | (umips_load_store_pair_p): Likewise. | |
3913 | (umips_output_load_store_pair): Likewise. | |
3914 | (umips_movep_target_p): Likewise. | |
3915 | (umips_12bit_offset_address_p): Likewise. | |
3916 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
3917 | (mips_base_mips16): Rename this... | |
3918 | (mips_base_compression_flags): ...to this. Update all uses. | |
3919 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
3920 | (mips_mips16_decl_p): Delete. | |
3921 | (mips_nomips16_decl_p): Delete. | |
3fdb53c1 | 3922 | (mips_get_compress_on_flags): New function. |
6941b508 CM |
3923 | (mips_get_compress_off_flags): New function. |
3924 | (mips_get_compress_mode): New function. | |
3925 | (mips_get_compress_on_name): New function. | |
3926 | (mips_get_compress_off_name): New function. | |
3927 | (mips_insert_attributes): Support multiple compression types. | |
3928 | (mips_merge_decl_attributes): Likewise. | |
3929 | (umips_12bit_offset_address_p): New function. | |
3930 | (mips_start_function_definition): Emit .set micromips directive. | |
3931 | (mips_call_may_need_jalx_p): New function. | |
3932 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
3933 | (mips_print_operand_punctuation): Support short delay slots and | |
3934 | compact jumps. | |
3935 | (umips_swm_mask, umips_swm_encoding): New. | |
3936 | (umips_build_save_restore): New function. | |
3937 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
3938 | (was_mips16_p): Remove. | |
3939 | (old_compression_mode): New. | |
3940 | (mips_set_compression_mode): New function. | |
3941 | (mips_set_current_function): Add microMIPS support. | |
3942 | (mips_option_override): Likewise. | |
3943 | (umips_save_restore_pattern_p): New function. | |
3944 | (umips_output_save_restore): New function. | |
3945 | (umips_load_store_pair_p_1): New function. | |
3946 | (umips_load_store_pair_p): New function. | |
3947 | (umips_output_load_store_pair_1): New function. | |
3948 | (umips_output_load_store_pair): New function. | |
3949 | (umips_movep_target_p) New function. | |
3950 | (mips_prepare_pch_save): Add microMIPS support. | |
3951 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
3952 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
3953 | to use new compression flags and to support microMIPS. | |
3954 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
3955 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
3956 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
3957 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
3958 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
3959 | (M16STORE_REG_P): New macro. | |
3960 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
3961 | (MICROMIPS_J): New macro. | |
3962 | (mips_base_mips16): Rename this... | |
3963 | (mips_base_compression_flags): ...to this. | |
3964 | (UMIPS_12BIT_OFFSET_P): New macro. | |
3965 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
3966 | (MULTILIB_DIRNAMES): Likewise. | |
3967 | ||
cdebbc6d JJ |
3968 | 2013-02-24 Jakub Jelinek <jakub@redhat.com> |
3969 | ||
3970 | PR target/52555 | |
3971 | * target-globals.c (save_target_globals): For init_reg_sets and | |
3972 | target_reinit remporarily set this_fn_optabs to this_target_optabs. | |
3973 | ||
18c63565 JG |
3974 | 2013-02-22 James Grennahlgh <james.greenhalgh@arm.com> |
3975 | ||
3976 | * config/aarch64/aarch64-simd-builtins.def: Add copyright header. | |
3977 | * config/aarch64/t-aarch64 | |
3978 | (aarch64-builtins.o): Depend on aarch64-simd-builtins.def. | |
3979 | ||
2194f7a2 VM |
3980 | 2013-02-22 Vladimir Makarov <vmakarov@redhat.com> |
3981 | ||
3982 | PR inline-asm/56148 | |
3983 | * lra-constraints.c (process_alt_operands): Reload operand | |
3984 | conflicting with earlier clobber only if no more other conflicting | |
3985 | operands. | |
3986 | ||
7d613735 JJ |
3987 | 2013-02-22 Jakub Jelinek <jakub@redhat.com> |
3988 | ||
3989 | PR sanitizer/56393 | |
3990 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Link in libasan_preinit.o | |
3991 | if not linking a shared library. | |
3992 | ||
ac8d93a7 SL |
3993 | 2013-02-22 Seth LaForge <sethml@google.com> |
3994 | ||
3995 | * config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian. | |
3996 | ||
e0237780 GY |
3997 | 2013-02-22 Greta Yorsh <Greta.Yorsh@arm.com> |
3998 | ||
3fdb53c1 TB |
3999 | * config/arm/arm.md (split for extendsidi): Update condition. |
4000 | (zero_extend<mode>di2,extend<mode>di2): Add an alternative. | |
4001 | * config/arm/iterators.md (qhs_extenddi_cstr): Likewise. | |
4002 | (qhs_zextenddi_cstr): Likewise. | |
e0237780 | 4003 | |
d7fde18c JJ |
4004 | 2013-02-21 Jakub Jelinek <jakub@redhat.com> |
4005 | ||
be63b77d JJ |
4006 | PR middle-end/56420 |
4007 | * expmed.c (EXACT_POWER_OF_2_OR_ZERO_P): Do subtraction in uhwi, to | |
4008 | avoid signed wrapping. | |
4009 | (expand_mult): Handle properly multiplication by | |
4010 | ((dword_type) -1) << (BITS_PER_WORD - 1). Improve multiplication by | |
4011 | ((dword_type) 1) << (BITS_PER_WORD - 1). Avoid undefined behavior | |
4012 | in the compiler if coeff is HOST_WIDE_INT_MIN. | |
4013 | (expand_divmod): Don't make ext_op1 static, change it's type to | |
4014 | uhwi. Avoid undefined behavior in -INTVAL (op1). | |
4015 | ||
d7fde18c JJ |
4016 | PR rtl-optimization/50339 |
4017 | * lower-subreg.h (struct lower_subreg_choices): Add splitting_ashiftrt | |
4018 | field. | |
4019 | * lower-subreg.c (compute_splitting_shift): Handle ASHIFTRT. | |
4020 | (compute_costs): Call compute_splitting_shift also for ASHIFTRT | |
4021 | into splitting_ashiftrt field. | |
4022 | (find_decomposable_shift_zext, resolve_shift_zext): Handle also | |
4023 | ASHIFTRT. | |
4024 | (dump_choices): Fix up printing LSHIFTRT choices, print ASHIFTRT | |
4025 | choices. | |
4026 | ||
6aad4455 AH |
4027 | 2013-02-20 Aldy Hernandez <aldyh@redhat.com> |
4028 | ||
4029 | PR middle-end/56108 | |
4030 | * trans-mem.c (execute_tm_mark): Do not expand transactions that | |
4031 | are sure to go irrevocable. | |
4032 | ||
38fe784d HPN |
4033 | 2013-02-21 Hans-Peter Nilsson <hp@axis.com> |
4034 | ||
4035 | * doc/rtl.texi (vec_concat, vec_duplicate): Mention that | |
4036 | scalars are valid operands. | |
4037 | ||
0fd44da3 MJ |
4038 | 2013-02-21 Martin Jambor <mjambor@suse.cz> |
4039 | ||
4040 | PR tree-optimization/56310 | |
4041 | * ipa-cp.c (agg_replacements_to_vector): New parameter index, copy | |
4042 | only matching indices and non-negative final offsets. | |
4043 | (intersect_aggregates_with_edge): Pass src_idx to | |
4044 | agg_replacements_to_vector. Pass src_idx insstead of index to | |
4045 | intersect_with_agg_replacements. | |
4046 | ||
7a92038b MJ |
4047 | 2013-02-21 Martin Jambor <mjambor@suse.cz> |
4048 | ||
4049 | * ipa-cp.c (good_cloning_opportunity_p): Dump the real threshold | |
4050 | instead of hard-wired defaults. | |
4051 | ||
c0da9c37 MR |
4052 | 2013-02-21 Maciej W. Rozycki <macro@codesourcery.com> |
4053 | ||
4054 | * doc/invoke.texi (MIPS Options): Update documentation of the | |
4055 | floating-point multiply-accumulate instruction restrictions. | |
4056 | ||
d247ea0c | 4057 | 2013-02-21 Kostya Serebryany <kcc@google.com> |
7df59255 KS |
4058 | |
4059 | * config/i386/i386.c (ix86_asan_shadow_offset): Use 0x7fff8000 as | |
4060 | asan_shadow_offset on x86_64 linux. | |
4061 | ||
22deefcb RB |
4062 | 2013-02-21 Richard Biener <rguenther@suse.de> |
4063 | ||
4064 | PR tree-optimization/56415 | |
4065 | Revert | |
4066 | 2013-02-11 Richard Biener <rguenther@suse.de> | |
4067 | ||
4068 | PR tree-optimization/56273 | |
4069 | * tree-vrp.c (simplify_cond_using_ranges): Disable for the | |
4070 | first VRP run. | |
4071 | ||
7bcc6e75 JJ |
4072 | 2013-02-21 Jakub Jelinek <jakub@redhat.com> |
4073 | ||
a0ad148f JJ |
4074 | PR bootstrap/56258 |
4075 | * doc/invoke.texi (-fdump-rtl-pro_and_epilogue): Use @item | |
4076 | instead of @itemx. | |
4077 | ||
7bcc6e75 JJ |
4078 | PR inline-asm/56405 |
4079 | * expr.c (expand_expr_real_1) <case TARGET_MEM_REF, MEM_REF>: Don't | |
4080 | use movmisalign or extract_bit_field for EXPAND_MEMORY modifier. | |
4081 | ||
a0a7b611 JH |
4082 | 2013-02-20 Jan Hubicka <jh@suse.cz> |
4083 | ||
4084 | PR tree-optimization/56265 | |
88b97037 UB |
4085 | * ipa-prop.c (ipa_make_edge_direct_to_target): Fixup callgraph |
4086 | when target is referenced for first time. | |
a0a7b611 | 4087 | |
c0e50f72 RB |
4088 | 2013-02-20 Richard Biener <rguenther@suse.de> |
4089 | ||
4090 | * tree-call-cdce.c (tree_call_cdce): Do not remove unused locals. | |
4091 | * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Likewise. | |
4092 | * tree-ssa-dce.c (perform_tree_ssa_dce): Likewise. | |
4093 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Do | |
4094 | not return anything. | |
4095 | (rename_ssa_copies): Do not remove unused locals. | |
4096 | * tree-ssa-ccp.c (do_ssa_ccp): Likewise. | |
88b97037 | 4097 | * tree-ssanames.c (pass_release_ssa_names): Remove unused locals first. |
c0e50f72 RB |
4098 | * passes.c (execute_function_todo): Do not schedule unused locals |
4099 | removal if cleanup_tree_cfg did something. | |
4100 | * tree-ssa-live.c (remove_unused_locals): Dump statistics | |
4101 | about the number of removed locals. | |
4102 | ||
a52ca739 RB |
4103 | 2013-02-20 Richard Biener <rguenther@suse.de> |
4104 | ||
4105 | PR tree-optimization/56398 | |
88b97037 | 4106 | * tree-vect-loop-manip.c (adjust_debug_stmts): Skip SSA default defs. |
a52ca739 | 4107 | |
ec9c9d1b MJ |
4108 | 2013-02-20 Martin Jambor <mjambor@suse.cz> |
4109 | ||
4110 | PR tree-optimization/55334 | |
4111 | * ipa-cp.c (initialize_node_lattices): Disable IPA-CP through and to | |
4112 | restricted pointers to arrays. | |
4113 | ||
e91c8ed6 | 4114 | 2013-02-20 Richard Biener <rguenther@suse.de> |
88b97037 | 4115 | Jakub Jelinek <jakub@redhat.com> |
e91c8ed6 RB |
4116 | |
4117 | PR tree-optimization/56396 | |
4118 | * tree-ssa-ccp.c (n_const_val): New static variable. | |
4119 | (get_value): Return NULL for SSA names we don't have a lattice | |
4120 | entry for. | |
4121 | (ccp_initialize): Initialize n_const_val. | |
4122 | * tree-ssa-copy.c (n_copy_of): New static variable. | |
4123 | (init_copy_prop): Initialize n_copy_of. | |
4124 | (get_value): Return NULL_TREE for SSA names we don't have a | |
4125 | lattice entry for. | |
4126 | ||
3d916479 MJ |
4127 | 2013-02-20 Martin Jambor <mjambor@suse.cz> |
4128 | ||
4129 | * ipa-cp.c (initialize_node_lattices): Fix dumping condition. | |
4130 | ||
71a86758 RB |
4131 | 2013-02-20 Richard Biener <rguenther@suse.de> |
4132 | ||
4133 | * genpreds.c (write_lookup_constraint): Do not compare first | |
4134 | letter of the constraint again. | |
4135 | ||
79836a12 RB |
4136 | 2013-02-20 Richard Biener <rguenther@suse.de> |
4137 | ||
4138 | * tree-ssa-loop-ivopts.c (alloc_use_cost_map): Use bitmap_count_bits | |
4139 | and ceil_log2. | |
4140 | (get_use_iv_cost): Terminate hashtable walk when coming across | |
4141 | an empty entry. | |
4142 | ||
bbe4fb2c IZ |
4143 | 2013-02-20 Igor Zamyatin <igor.zamyatin@intel.com> |
4144 | ||
4145 | * config/i386/i386.c (initial_ix86_tune_features): Turn on fp | |
4146 | reassociation for avx2 targets. | |
4147 | ||
a72d8780 | 4148 | 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
79836a12 | 4149 | |
c77f83d5 EI |
4150 | * config/microblaze/microblaze.c: microblaze_has_clz = 0 |
4151 | Add version check for v8.10.a to enable microblaze_has_clz | |
88b97037 | 4152 | * config/microblaze/microblaze.h: Add TARGET_HAS_CLZ as combined |
c77f83d5 EI |
4153 | version and TARGET_PATTERN_COMPARE check |
4154 | * config/microblaze/microblaze.md: New clzsi2 instruction | |
3fdb53c1 | 4155 | |
a72d8780 | 4156 | 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
959434e6 | 4157 | |
a72d8780 | 4158 | * config/microblaze/microblaze.md (call_value_intern): Check symbol is |
959434e6 EI |
4159 | function before branching. |
4160 | ||
242387fa AB |
4161 | 2012-02-19 Andrey Belevantsev <abel@ispras.ru> |
4162 | ||
4163 | * sel-sched-dump.c (dump_insn_rtx_flags): Explicitly set | |
4164 | DUMP_INSN_RTX_UID. | |
4165 | (dump_insn_rtx_1): Pass PATTERN (insn) to str_pattern_slim. | |
4166 | ||
b4979ab9 AB |
4167 | 2012-02-19 Andrey Belevantsev <abel@ispras.ru> |
4168 | ||
4169 | PR middle-end/55889 | |
b4979ab9 AB |
4170 | * sel-sched.c: Include ira.h. |
4171 | (implicit_clobber_conflict_p): New function. | |
4172 | (moveup_expr): Use it. | |
88b97037 | 4173 | * Makefile.in (sel-sched.o): Depend on ira.h. |
b4979ab9 | 4174 | |
24d63016 RB |
4175 | 2013-02-19 Richard Biener <rguenther@suse.de> |
4176 | ||
4177 | PR tree-optimization/56384 | |
4178 | * tree-ssa-sccvn.h (struct vn_phi_s): Add type member. | |
4179 | (vn_hash_type): Split out from ... | |
4180 | (vn_hash_constant_with_type): ... here. | |
4181 | * tree-ssa-sccvn.c (vn_phi_compute_hash): Use vn_hash_type. | |
4182 | (vn_phi_eq): Compare types from vn_phi_s structure. | |
4183 | (vn_phi_lookup): Populate vn_phi_s type. | |
4184 | (vn_phi_insert): Likewise. | |
4185 | ||
a475fd3d JJ |
4186 | 2013-02-19 Jakub Jelinek <jakub@redhat.com> |
4187 | ||
47cc28f5 JJ |
4188 | PR tree-optimization/56350 |
4189 | * tree-vect-loop.c (vectorizable_reduction): If orig_stmt, return false | |
4190 | if haven't found reduction or nested cycle operand, rather than | |
4191 | asserting we must find it. | |
4192 | ||
a475fd3d JJ |
4193 | PR tree-optimization/56381 |
4194 | * tree-ssa-pre.c (create_expression_by_pieces): Fix up last argument | |
4195 | to fold_build3. | |
4196 | ||
4197 | 2013-02-18 Aldy Hernandez <aldyh@redhat.com> | |
135204dd AH |
4198 | Jakub Jelinek <jakub@redhat.com> |
4199 | ||
4200 | PR target/52555 | |
4201 | * genopinit.c (raw_optab_handler): Use this_fn_optabs. | |
4202 | (swap_optab_enable): Same. | |
4203 | (init_all_optabs): Use argument instead of global. | |
88b97037 | 4204 | * tree.h (struct tree_optimization_option): New field target_optabs. |
135204dd AH |
4205 | * expr.h (init_all_optabs): Add argument to prototype. |
4206 | (TREE_OPTIMIZATION_OPTABS): New. | |
4207 | (save_optabs_if_changed): Protoize. | |
4208 | * optabs.h: Declare this_fn_optabs. | |
4209 | * optabs.c (save_optabs_if_changed): New. | |
4210 | Declare this_fn_optabs. | |
4211 | (init_optabs): Add argument to init_all_optabs() call. | |
4212 | * function.c (invoke_set_current_function_hook): Handle per | |
4213 | function optabs. | |
4214 | * function.h (struct function): New field optabs. | |
4215 | * config/mips/mips.c (mips_set_mips16_mode): Handle when | |
4216 | optimization_current_node has changed. | |
4217 | * target-globals.h (save_target_globals_default_opts): Protoize. | |
4218 | * target-globals.c (save_target_globals_default_opts): New. | |
4219 | ||
3f587ca3 JDA |
4220 | 2013-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4221 | ||
4222 | PR target/56347 | |
4223 | * config/pa/pa.c (pa_conditional_register_usage): On HP-UX, mark | |
4224 | registers %fr12 and %fr12R as call used. | |
ceaca33e JDA |
4225 | |
4226 | PR target/56214 | |
4227 | * config/pa/predicates.md (base14_operand): Except for BLKmode, QImode | |
88b97037 UB |
4228 | and HImode, require all displacements to be an integer multiple of |
4229 | their mode size. | |
ceaca33e JDA |
4230 | * config/pa/pa.c (pa_legitimate_address_p): For REG+BASE addresses, |
4231 | only allow QImode and HImode when reload is in progress and strict is | |
4232 | true. Likewise for symbolic addresses. Use base14_operand to check | |
4233 | displacements in REG+BASE addresses. | |
4234 | ||
fe0b4796 RB |
4235 | 2013-02-18 Richard Biener <rguenther@suse.de> |
4236 | ||
4237 | PR tree-optimization/56366 | |
4238 | * tree-vect-loop.c (get_initial_def_for_induction): Properly | |
4239 | handle sign-conversion of outer-loop initial induction value. | |
4240 | ||
6aaf596b RB |
4241 | 2013-02-18 Richard Biener <rguenther@suse.de> |
4242 | ||
73db8ff1 | 4243 | PR middle-end/56349 |
6aaf596b RB |
4244 | * cfghooks.c (merge_blocks): If we merge a latch into another |
4245 | block adjust references to it. | |
4246 | * cfgloop.c (flow_loops_find): Reset latch before recomputing it. | |
4247 | (verify_loop_structure): Verify that a recorded latch is in fact | |
4248 | a latch. | |
4249 | ||
5e97dfb6 RB |
4250 | 2013-02-18 Richard Biener <rguenther@suse.de> |
4251 | ||
4252 | PR tree-optimization/56321 | |
4253 | * tree-ssa-reassoc.c (propagate_op_to_single_use): Properly | |
4254 | order SSA name release and virtual operand unlinking. | |
4255 | ||
825527e8 EI |
4256 | 2013-02-17 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
4257 | ||
4258 | * config/microblaze/microblaze.md (save_stack_block): Define. | |
4259 | (restore_stack_block): Likewise. | |
4260 | ||
debd11d9 EI |
4261 | 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
4262 | ||
4263 | * config/microblaze/linux.h (TARGET_SUPPORTS_PIC): Define as 1. | |
4264 | * config/microblaze/microblaze.h (TARGET_SUPPORTS_PIC): Define as 1. | |
4265 | * config/microblaze/microblaze.c (microblaze_option_override): | |
4266 | Bail out early for PIC modes when target does not support PIC. | |
4267 | ||
8ec77be0 EI |
4268 | 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
4269 | ||
88b97037 | 4270 | * config/microblaze/microblaze.c (microblaze_asm_trampoline_template): |
8ec77be0 EI |
4271 | Replace with a microblaze version. |
4272 | (microblaze_trampoline_init): Adapt for microblaze. | |
a752b80f | 4273 | * config/microblaze/microblaze.h (TRAMPOLINE_SIZE): Adapt for |
8ec77be0 EI |
4274 | microblaze. |
4275 | ||
b41288b3 JJ |
4276 | 2013-02-16 Jakub Jelinek <jakub@redhat.com> |
4277 | Dodji Seketeli <dodji@redhat.com> | |
4278 | ||
4279 | PR asan/56330 | |
88b97037 | 4280 | * asan.c (get_mem_refs_of_builtin_call): White space and style cleanup. |
b41288b3 JJ |
4281 | (instrument_mem_region_access): Do not forget to always put |
4282 | instrumentation of the of 'base' and 'base + len' in a "if (len != | |
4283 | 0) statement, even for cases where either 'base' or 'base + len' | |
4284 | are not instrumented -- because they have been previously | |
4285 | instrumented. Simplify the logic by putting all the statements | |
4286 | instrument 'base + len' inside a sequence, and then insert that | |
4287 | sequence right before the current insertion point. Then, to | |
4288 | instrument 'base + len', just get an iterator on that statement. | |
4289 | And do not forget to update the pointer to iterator the function | |
4290 | received as argument. | |
4291 | ||
47918951 VM |
4292 | 2013-02-15 Vladimir Makarov <vmakarov@redhat.com> |
4293 | ||
4294 | PR rtl-optimization/56348 | |
4295 | * lra-assigns.c (reload_pseudo_compare_func): Prefer bigger pseudos. | |
4296 | ||
3fb7c699 SB |
4297 | 2013-02-15 Steven Bosscher <steven@gcc.gnu.org> |
4298 | ||
4299 | * graph.c (start_graph_dump): Print dumpfile base as digraph label. | |
4300 | (clean_graph_dump_file): Pass base to start_graph_dump. | |
4301 | ||
576fe41a RH |
4302 | 2013-02-14 Richard Henderson <rth@redhat.com> |
4303 | ||
4304 | PR target/55941 | |
4305 | * lower-subreg.c (simple_move): Check dest mode instead of src mode. | |
4306 | ||
bb3accfa SB |
4307 | 2013-02-14 Steven Bosscher <steven@gcc.gnu.org> |
4308 | ||
4309 | * collect2-aix.h: Define F_LOADONLY. | |
4310 | ||
03143140 RB |
4311 | 2013-02-14 Richard Biener <rguenther@suse.de> |
4312 | ||
4313 | PR lto/50494 | |
4314 | * varasm.c (output_constant_def_1): Get the decl representing | |
4315 | the constant as argument. | |
4316 | (output_constant_def): Wrap output_constant_def_1. | |
4317 | (make_decl_rtl): Use output_constant_def_1 with the decl | |
4318 | representing the constant. | |
4319 | (build_constant_desc): Optionally re-use a decl already | |
4320 | representing the constant. | |
4321 | (tree_output_constant_def): Adjust. | |
4322 | ||
8fb06726 DS |
4323 | 2013-02-14 Dodji Seketeli <dodji@redhat.com> |
4324 | ||
4325 | Fix an asan crash | |
4326 | * asan.c (instrument_builtin_call): Really put the length of the | |
4327 | second source argument into src1_len. | |
4328 | ||
c4bfe8bf JJ |
4329 | 2013-02-13 Jakub Jelinek <jakub@redhat.com> |
4330 | ||
4331 | * asan.c (create_cond_insert_point): Add create_then_fallthru_edge | |
4332 | argument. If it is false, don't create edge from then_bb to | |
4333 | fallthru_bb. | |
4334 | (insert_if_then_before_iter): Pass true to it. | |
4335 | (build_check_stmt): Pass false to it. | |
4336 | (transform_statements): Flush hash table only on extended basic | |
4337 | block boundaries, rather than at the beginning of every bb. | |
4338 | Don't flush hash table on nonfreeing_call_p calls. | |
4339 | * tree-flow.h (nonfreeing_call_p): New prototype. | |
4340 | * tree-ssa-phiopt.c (nonfreeing_call_p): No longer static. | |
4341 | ||
7afe2801 DM |
4342 | 2013-02-13 David S. Miller <davem@davemloft.net> |
4343 | ||
4344 | * expmed.c (expand_shift_1): Only strip scalar integer subregs. | |
4345 | ||
70cc3288 VM |
4346 | 2013-02-13 Vladimir Makarov <vmakarov@redhat.com> |
4347 | ||
4348 | PR target/56184 | |
4349 | * ira.c (max_regno_before_ira): Move from ... | |
4350 | (ira): ... here. | |
4351 | (fix_reg_equiv_init): Use max_regno_before_ira instead of | |
4352 | vec_safe_length. | |
4353 | ||
6422242b JJ |
4354 | 2013-02-13 Jakub Jelinek <jakub@redhat.com> |
4355 | ||
4356 | * config/i386/i386.c (ix86_asan_shadow_offset): Revert last change. | |
4357 | ||
976a81ee RB |
4358 | 2013-02-13 Richard Biener <rguenther@suse.de> |
4359 | ||
4360 | PR lto/56295 | |
4361 | * gimple-streamer-out.c (output_gimple_stmt): Undo wrapping | |
4362 | globals in MEM_REFs. | |
4363 | ||
c1874a87 RB |
4364 | 2013-02-13 Richard Biener <rguenther@suse.de> |
4365 | ||
4366 | * loop-init.c (loop_optimizer_init): Clear loop state when | |
4367 | re-initializing preserved loops. | |
4368 | * loop-unswitch.c (unswitch_single_loop): Return whether | |
4369 | we unswitched the loop. Do not verify loop state here. | |
88b97037 | 4370 | (unswitch_loops): When we unswitched a loop discover new loops. |
c1874a87 | 4371 | |
b4ab7d34 KS |
4372 | 2013-02-13 Kostya Serebryany <kcc@google.com> |
4373 | ||
88b97037 UB |
4374 | * config/i386/i386.c: Use 0x7fff8000 as asan_shadow_offset |
4375 | on x86_64 linux. | |
b4ab7d34 KS |
4376 | * sanitizer.def: Rename __asan_init to __asan_init_v1. |
4377 | ||
bdcbe80c DS |
4378 | 2013-02-12 Dodji Seketeli <dodji@redhat.com> |
4379 | ||
4380 | Avoid instrumenting duplicated memory access in the same basic block | |
4381 | * Makefile.in (asan.o): Add new dependency on hash-table.h | |
4382 | * asan.c (struct asan_mem_ref, struct mem_ref_hasher): New types. | |
4383 | (asan_mem_ref_init, asan_mem_ref_get_end, get_mem_ref_hash_table) | |
4384 | (has_stmt_been_instrumented_p, empty_mem_ref_hash_table) | |
4385 | (free_mem_ref_resources, has_mem_ref_been_instrumented) | |
4386 | (has_stmt_been_instrumented_p, update_mem_ref_hash_table) | |
4387 | (get_mem_ref_of_assignment): New functions. | |
4388 | (get_mem_refs_of_builtin_call): Extract from | |
4389 | instrument_builtin_call and tweak a little bit to make it fit with | |
4390 | the new signature. | |
4391 | (instrument_builtin_call): Use the new | |
4392 | get_mem_refs_of_builtin_call. Use gimple_call_builtin_p instead | |
4393 | of is_gimple_builtin_call. | |
4394 | (instrument_derefs, instrument_mem_region_access): Insert the | |
4395 | instrumented memory reference into the hash table. | |
4396 | (maybe_instrument_assignment): Renamed instrument_assignment into | |
4397 | this, and change it to advance the iterator when instrumentation | |
4398 | actually happened and return true in that case. This makes it | |
4399 | homogeneous with maybe_instrument_assignment, and thus give a | |
4400 | chance to callers to be more 'regular'. | |
4401 | (transform_statements): Clear the memory reference hash table | |
4402 | whenever we enter a new BB, when we cross a function call, or when | |
4403 | we are done transforming statements. Use | |
4404 | maybe_instrument_assignment instead of instrumentation. No more | |
4405 | need to special case maybe_instrument_assignment and advance the | |
4406 | iterator after calling it; it's now handled just like | |
4407 | maybe_instrument_call. Update comment. | |
4408 | ||
4861a1f7 RB |
4409 | 2013-02-13 Richard Biener <rguenther@suse.de> |
4410 | ||
4411 | * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): | |
4412 | Fix loop discovery code. | |
4413 | ||
1c86bd80 VM |
4414 | 2013-02-12 Vladimir Makarov <vmakarov@redhat.com> |
4415 | ||
4416 | PR inline-asm/56148 | |
4417 | * lra-constraints.c (process_alt_operands): Match early clobber | |
70cc3288 | 4418 | operand with itself. Check conflicts with earlyclobber only if |
1c86bd80 VM |
4419 | the operand is not reloaded. Prefer to reload conflicting operand |
4420 | if earlyclobber and matching operands are the same. | |
4421 | ||
7cbda518 RB |
4422 | 2013-02-12 Richard Biener <rguenther@suse.de> |
4423 | ||
4424 | PR lto/56297 | |
4425 | * lto-streamer-out.c (write_symbol): Do not output symbols | |
4426 | for hard register variables. | |
4427 | ||
e68a4ef6 GJL |
4428 | 2013-02-12 Georg-Johann Lay <avr@gjlay.de> |
4429 | ||
4430 | PR target/54222 | |
4431 | * config/avr/avr-dimode.md (umulsidi3, mulsidi3): New expanders. | |
4432 | (umulsidi3_insn, mulsidi3_insn): New insns. | |
4433 | ||
a72d8780 | 4434 | 2013-02-12 Christophe Lyon <christophe.lyon@linaro.org> |
2597da22 CL |
4435 | |
4436 | * config/arm/arm-protos.h (struct cpu_vec_costs): New struct type. | |
4437 | (struct tune_params): Add vec_costs field. | |
4438 | * config/arm/arm.c (arm_builtin_vectorization_cost) | |
4439 | (arm_add_stmt_cost): New functions. | |
4440 | (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST) | |
4441 | (TARGET_VECTORIZE_ADD_STMT_COST): Define. | |
4442 | (arm_default_vec_cost): New struct of type cpu_vec_costs. | |
4443 | (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune) | |
4444 | (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune) | |
4445 | (arm_cortex_a15_tune, arm_cortex_a5_tune, arm_cortex_a9_tune) | |
4446 | (arm_v6m_tune, arm_fa726te_tune): Define new vec_costs field. | |
4447 | ||
43320568 RB |
4448 | 2013-02-12 Richard Biener <rguenther@suse.de> |
4449 | ||
4450 | PR lto/56295 | |
4451 | * gimple-streamer-in.c (input_gimple_stmt): Strip MEM_REFs off | |
4452 | decls again if possible. | |
4453 | ||
a011aa39 RB |
4454 | 2013-02-12 Richard Biener <rguenther@suse.de> |
4455 | ||
4456 | PR middle-end/56288 | |
4457 | * tree-ssa.c (verify_ssa_name): Fix check, move | |
4458 | SSA_NAME_IN_FREE_LIST check up. | |
4459 | ||
6da26889 JJ |
4460 | 2013-02-12 Jakub Jelinek <jakub@redhat.com> |
4461 | Steven Bosscher <steven@gcc.gnu.org> | |
4462 | ||
4463 | PR rtl-optimization/56151 | |
4464 | * optabs.c (add_equal_note): Don't return 0 if target is a MEM, | |
4465 | equal to op0 or op1, and last_insn pattern is CODE operation | |
4466 | with MEM dest and one of the operands matches that MEM. | |
4467 | ||
f80e0faf ST |
4468 | 2013-02-11 Sriraman Tallam <tmsriramgoogle.com> |
4469 | ||
4470 | * doc/extend.texi: Document Function Multiversioning and "default" | |
4471 | parameter string to target attribute. | |
4472 | * config/i386/i386.c (get_builtin_code_for_version): Return 0 if | |
4473 | target attribute parameter is "default". | |
4474 | (ix86_compare_version_priority): Remove checks for target attribute. | |
4475 | (ix86_mangle_function_version_assembler_name): Change error to sorry. | |
4476 | Remove check for target attribute equal to NULL. Add assert. | |
4477 | (ix86_generate_version_dispatcher_body): Change error to sorry. | |
4478 | ||
6c59ffd1 IS |
4479 | 2013-02-11 Iain Sandoe <iain@codesourcery.com> |
4480 | Jack Howarth <howarth@bromo.med.uc.edu> | |
4481 | Patrick Marlier <patrick.marlier@gmail.com> | |
4482 | ||
4483 | PR libitm/55693 | |
4484 | * config/darwin.h: Replace ENDFILE_SPEC with TM_DESTRUCTOR and | |
4485 | define ENDFILE_SPEC as TM_DESTRUCTOR. | |
4486 | * config/i386/darwin.h (ENDFILE_SPEC): Use TM_DESTRUCTOR. | |
4487 | ||
a72d8780 | 4488 | 2013-02-11 Alexander Potapenko <glider@google.com> |
6a52ccb3 AP |
4489 | Jack Howarth <howarth@bromo.med.uc.edu> |
4490 | Jakub Jelinek <jakub@redhat.com> | |
4491 | ||
4492 | PR sanitizer/55617 | |
4493 | * config/darwin.c (cdtor_record): Rename ctor_record. | |
4494 | (sort_cdtor_records): Rename sort_ctor_records. | |
4495 | (finalize_dtors): New routine to sort destructors by | |
4496 | priority before use in assemble_integer. | |
4497 | (machopic_asm_out_destructor): Use finalize_dtors if needed. | |
4498 | ||
b63fe007 UB |
4499 | 2013-02-11 Uros Bizjak <ubizjak@gmail.com> |
4500 | ||
4501 | PR rtl-optimization/56275 | |
4502 | * simplify-rtx.c (avoid_constant_pool_reference): Check that | |
4503 | offset is non-negative and less than cmode size before | |
4504 | calling simplify_subreg. | |
4505 | ||
8e89b5b5 RB |
4506 | 2013-02-11 Richard Biener <rguenther@suse.de> |
4507 | ||
4508 | PR tree-optimization/56264 | |
4509 | * cfgloop.h (fix_loop_structure): Adjust prototype. | |
4510 | * loop-init.c (fix_loop_structure): Return the number of | |
4511 | newly discovered loops. | |
4512 | * tree-cfgcleanup.c (repair_loop_structures): When new loops | |
4513 | are discovered, do a full loop-closed SSA rewrite. | |
4514 | ||
b4a4b56d RB |
4515 | 2013-02-11 Richard Biener <rguenther@suse.de> |
4516 | ||
4517 | PR tree-optimization/56273 | |
4518 | * tree-vrp.c (simplify_cond_using_ranges): Disable for the | |
4519 | first VRP run. | |
4520 | (check_array_ref): Fix missing newline in dumps. | |
4521 | (search_for_addr_array): Likewise. | |
4522 | ||
0c885229 DE |
4523 | 2013-02-09 David Edelsohn <dje.gcc@gmail.com> |
4524 | ||
4525 | * config/rs6000/aix61.h (OS_MISSING_ALTIVEC): Undefine. | |
4526 | ||
59ac9a55 JJ |
4527 | 2013-02-09 Jakub Jelinek <jakub@redhat.com> |
4528 | ||
4529 | PR target/56256 | |
4530 | * config/rs6000/rs6000.h (ASSEMBLER_DIALECT): Define. | |
4531 | ||
25bb0bb5 VM |
4532 | 2013-02-08 Vladimir Makarov <vmakarov@redhat.com> |
4533 | ||
4534 | PR rtl-optimization/56246 | |
0c885229 | 4535 | * lra-constraints.c (simplify_operand_subreg): Try to reuse |
25bb0bb5 VM |
4536 | reload pseudo. |
4537 | * lra.c (lra): Clear lra_optional_reload_pseudos only when all | |
4538 | constraints are satisfied. | |
4539 | ||
a698cc03 JL |
4540 | 2013-02-08 Jeff Law <law@redhat.com> |
4541 | ||
4542 | PR debug/53948 | |
4543 | * emit-rtl.c (reg_is_parm_p): New function. | |
4544 | * regs.h (reg_is_parm_p): New prototype. | |
4545 | * ira-conflicts.c (ira_build_conflicts): Allow parameters in | |
4546 | callee-clobbered registers. | |
4547 | ||
e1122ddd MM |
4548 | 2013-02-08 Michael Meissner <meissner@linux.vnet.ibm.com> |
4549 | ||
4550 | PR target/56043 | |
4551 | * config/rs6000/rs6000.c (rs6000_builtin_vectorized_libmass): | |
4552 | If there is no implicit builtin declaration, just return NULL. | |
4553 | ||
19c5f6e6 UB |
4554 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
4555 | ||
4556 | * config/i386/sse.md (FMAMODEM): New mode iterator. | |
4557 | (fma<mode>4, fms<mode>4, fnma<mode>4, fnms<mode>4): Use FMAMODEM | |
4558 | mode iterator. Do not use TARGET_SSE_MATH in insn constraint. | |
4559 | ||
2480f2ca | 4560 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
76ef61fb | 4561 | |
2480f2ca UB |
4562 | * config/i386/gnu-user.h (TARGET_CAN_SPLIT_STACK): Define only |
4563 | when HAVE_GAS_CFI_PERSONALITY_DIRECTIVE is set. | |
4564 | * config/i386/gnu-user64.h (TARGET_CAN_SPLIT_STACK): Ditto. | |
4565 | ||
4566 | 2013-02-08 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
4567 | ||
4568 | * config.gcc (microblaze*-linux*): Add TARGET_BIG_ENDIAN_DEFAULT. | |
4569 | (microblaze*-*-elf): Likewise. | |
4570 | * config/microblaze/linux.h: Add -mbig-endian / -mlittle-endian to | |
4571 | LINK_SPEC. | |
4572 | * config/microblaze/microblaze-c.c: Add builtin defines for | |
4573 | _LITTLE_ENDIAN and _BIG_ENDIAN. | |
4574 | * config/microblaze/microblaze.h: Add TARGET_ENDIAN_DEFAULT and | |
4575 | add to TARGET_DEFAULT flags. | |
76ef61fb | 4576 | Expand ASM_SPEC and LINK_SPEC. |
2480f2ca UB |
4577 | Update BYTES_BIG_ENDIAN and WORDS_BIG_ENDIAN. |
4578 | * config/microblaze/microblaze.md: Update extendsidi2 and | |
4579 | movdi_internal instructions to use low-order / high-order reg | |
4580 | print_operands. | |
4581 | * config/microblaze/microblaze.opt: Add mbig-endian and mlittle-endian | |
4582 | options and inversemask / mask of LITTLE_ENDIAN. | |
4583 | * config/microblaze/t-microblaze: Expand multilib options to | |
4584 | include mlittle-endian (le) and update exceptions patterns. | |
4585 | ||
600a5961 JJ |
4586 | 2013-02-08 Jakub Jelinek <jakub@redhat.com> |
4587 | ||
5df81313 JJ |
4588 | PR rtl-optimization/56195 |
4589 | * lra-constraints.c (get_reload_reg): Don't reuse regs | |
4590 | if they have smaller mode than requested, if they have | |
4591 | wider mode than requested, try to return a SUBREG. | |
4592 | ||
600a5961 JJ |
4593 | PR tree-optimization/56250 |
4594 | * fold-const.c (extract_muldiv_1) <case NEGATE_EXPR>: Don't optimize | |
4595 | if type is unsigned and code isn't MULT_EXPR. | |
4596 | ||
ff544649 GJL |
4597 | 2013-02-08 Georg-Johann Lay <avr@gjlay.de> |
4598 | ||
4599 | PR tree-optimization/56064 | |
4600 | * fixed-value.c (fixed_from_double_int): Sign/zero extend payload | |
4601 | bits according to mode. | |
4602 | * fixed-value.h (fixed_from_double_int) | |
4603 | (const_fixed_from_double_int): Adjust comments. | |
4604 | ||
e45cde98 RB |
4605 | 2013-02-08 Richard Biener <rguenther@suse.de> |
4606 | ||
4607 | PR lto/56231 | |
4608 | * lto-streamer.h (struct data_in): Remove current_file, current_line | |
4609 | and current_col members. | |
4610 | * lto-streamer-out.c (lto_output_location): Stream changed bits | |
4611 | en-block for efficiency. | |
4612 | * lto-streamer-in.c (clear_line_info): Remove. | |
4613 | (lto_input_location): Cache current file, line and column | |
4614 | globally via local statics. Read changed bits en-block. | |
4615 | (input_function): Do not call clear_line_info. | |
4616 | (lto_read_body): Likewise. | |
4617 | (lto_input_toplevel_asms): Likewise. | |
4618 | ||
c1ca73d8 MM |
4619 | 2013-02-08 Michael Matz <matz@suse.de> |
4620 | ||
4621 | PR tree-optimization/52448 | |
4622 | * tree-ssa-phiopt.c (struct name_to_bb): Add phase member. | |
4623 | (nt_call_phase): New static. | |
4624 | (add_or_mark_expr): Only mark accesses with newer phase than any | |
4625 | call seen. | |
4626 | (nonfreeing_call_p): New. | |
4627 | (nt_init_block): Update nt_call_phase, mark blocks as visited. | |
4628 | (nt_fini_block): Keep blocks marked as visited. | |
4629 | (get_non_trapping): Initialize nt_call_phase, and reset aux pointer. | |
4630 | ||
57548aa2 RB |
4631 | 2013-02-08 Richard Biener <rguenther@suse.de> |
4632 | ||
4633 | * ira.c (ira): Free broken dominator information. | |
4634 | ||
8e10366f UB |
4635 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
4636 | ||
4637 | * config/i386/i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro. | |
4638 | ||
f64fb0fa MP |
4639 | 2013-02-08 Marek Polacek <polacek@redhat.com> |
4640 | ||
8e10366f | 4641 | * cfgloop.c (verify_loop_structure): Add more checking of headers. |
f64fb0fa | 4642 | |
0375167b RB |
4643 | 2013-02-08 Richard Biener <rguenther@suse.de> |
4644 | ||
4645 | PR middle-end/56181 | |
4646 | * cfgloop.h (flow_loops_find): Adjust. | |
4647 | (bb_loop_header_p): Declare. | |
4648 | * cfgloop.c (bb_loop_header_p): New function split out from ... | |
4649 | (flow_loops_find): ... here. Adjust function signature, | |
4650 | support incremental loop structure update. | |
4651 | (verify_loop_structure): Cleanup. Verify a loop is a loop. | |
4652 | * cfgloopmanip.c (fix_loop_structure): Move ... | |
4653 | * loop-init.c (fix_loop_structure): ... here. | |
4654 | (apply_loop_flags): Split out from ... | |
4655 | (loop_optimizer_init): ... here. | |
4656 | (fix_loop_structure): Use apply_loop_flags. Use flow_loops_find | |
4657 | in incremental mode, only remove dead loops here. | |
4658 | ||
85d768f3 GJL |
4659 | 2013-02-08 Georg-Johann Lay <avr@gjlay.de> |
4660 | ||
4661 | PR target/54222 | |
4662 | * config/avr/avr.md (unspec) <UNSPEC_ROUND>: Add. | |
4663 | * config/avr/avr-fixed.md (ALL4QA, ALL124QA): New mode iterators. | |
4664 | (round<mode>3, round<mode>3_const): New expanders for fixed-mode. | |
4665 | (*round<mode>3.libgcc): New insns for fixed-modes. | |
4666 | * config/avr/builtins.def (ABSxx): Use a non-NULL LIBNAME. | |
4667 | (ROUNDxx, COUNTLSxx, BITSxx, xxBITS): New DEF_BUILTINs. | |
4668 | (ROUNDFX, COUNTLSFX, ABSFX): New DEF_BUILTINs. | |
4669 | * config/avr/stdfix.h (absFX, bitsFX, FXbits): Remove inline | |
4670 | implementations. Define to __builtin_avr_absFX, | |
4671 | __builtin_avr_bitsFX, __builtin_avr_FXbits, respectively. | |
4672 | (roundFX, countlsFX): Define to __builtin_avr_roundFX, | |
4673 | __builtin_avr_countlsFX, respectively. | |
4674 | * config/avr/avr-c.c (target.h): Include it. | |
4675 | (enum avr_builtin_id): New enum. | |
4676 | (avr_resolve_overloaded_builtin): New static function. | |
4677 | (avr_register_target_pragmas): Use it to set | |
4678 | targetm.resolve_overloaded_builtin. | |
4679 | * config/avr/avr.c (avr_init_builtins): Supply myriads of local | |
4680 | tree nodes used by DEF_BUILTIN. | |
4681 | (avr_expand_builtin) <AVR_BUILTIN_ROUNDxx>: Sanity-check them. | |
4682 | (avr_fold_builtin) <AVR_BUILTIN_BITSxx>: Fold to VIEW_COVERT_EXPR. | |
4683 | <AVR_BUILTIN_xxBITS>: Same. | |
4684 | ||
661bc682 RB |
4685 | 2013-02-08 Richard Biener <rguenther@suse.de> |
4686 | ||
4687 | * cfgloop.c (verify_loop_structure): Properly handle | |
4688 | a loop exiting to another loop header. | |
4689 | * ira-int.h (ira_loops): Remove. | |
4690 | * ira.c (ira_loops): Remove. | |
4691 | (ira): Use loop_optimizer_init and loop_optimizer_finalize. | |
4692 | (do_reload): Use loop_optimizer_finalize. | |
4693 | * ira-build.c (create_loop_tree_nodes): Use get_loops and | |
4694 | number_of_loops to access the loop tree. | |
4695 | (more_one_region_p): Likewise. | |
4696 | (finish_loop_tree_nodes): Likewise. | |
4697 | (rebuild_regno_allocno_maps): Likewise. | |
4698 | (mark_loops_for_removal): Likewise. | |
4699 | (mark_all_loops_for_removal): Likewise. | |
4700 | (remove_unnecessary_regions): Likewise. | |
4701 | (ira_build): Likewise. | |
4702 | * ira-emit.c (setup_entered_from_non_parent_p): Likewise. | |
4703 | ||
0d5049b2 RB |
4704 | 2013-02-08 Richard Biener <rguenther@suse.de> |
4705 | ||
4706 | * Makefile.in (tree-tailcall.o): Add $(CFGLOOP_H) dependency. | |
4707 | * ipa-pure-const.c (analyze_function): Avoid calling | |
4708 | mark_irreducible_loops twice. | |
8e10366f | 4709 | * tree-tailcall.c (tree_optimize_tail_calls_1): Mark loops for fixup. |
0d5049b2 | 4710 | |
499f32e8 DM |
4711 | 2013-02-07 David S. Miller <davem@davemloft.net> |
4712 | ||
4713 | * dwarf2out.c (based_loc_descr): Perform leaf register remapping | |
4714 | on 'reg'. | |
4715 | * var-tracking.c (vt_add_function_parameter): Test the presence of | |
4716 | HAVE_window_save properly and do not remap argument registers when | |
4717 | we have a leaf function. | |
4718 | ||
6edc3e32 UB |
4719 | 2013-02-07 Uros Bizjak <ubizjak@gmail.com> |
4720 | ||
4721 | PR bootstrap/56227 | |
4722 | * ggc-page.c (ggc_print_statistics): Use HOST_LONG_LONG_FORMAT | |
4723 | instead of "ll". | |
4724 | * config/i386/i386.c (ix86_print_operand): Ditto. | |
4725 | ||
5306401f VM |
4726 | 2013-02-07 Vladimir Makarov <vmakarov@redhat.com> |
4727 | ||
6edc3e32 | 4728 | * lra-constraints.c (process_alt_operands): Fix recently added comment. |
5306401f | 4729 | |
027ece11 VM |
4730 | 2013-02-07 Vladimir Makarov <vmakarov@redhat.com> |
4731 | ||
4732 | PR rtl-optimization/56225 | |
4733 | * lra-constraints.c (process_alt_operands): Check that reload hard | |
4734 | reg can hold value for strict_low_part. | |
4735 | ||
f980dfdb JJ |
4736 | 2013-02-07 Jakub Jelinek <jakub@redhat.com> |
4737 | ||
4738 | PR debug/56154 | |
4739 | * dwarf2out.c (dwarf2_debug_hooks): Set end_function hook to | |
4740 | dwarf2out_end_function. | |
4741 | (in_first_function_p, maybe_at_text_label_p, | |
4742 | first_loclabel_num_not_at_text_label): New variables. | |
4743 | (dwarf2out_var_location): In the first function find out | |
6edc3e32 | 4744 | lowest loclabel_num N where .LVLN is known not to be equal to .Ltext0. |
f980dfdb JJ |
4745 | (find_empty_loc_ranges_at_text_label, dwarf2out_end_function): New |
4746 | functions. | |
4747 | ||
73dd3123 EB |
4748 | 2013-02-07 Eric Botcazou <ebotcazou@adacore.com> |
4749 | ||
4750 | PR rtl-optimization/56178 | |
4751 | * cse.c (cse_insn): Do not create a REG_EQUAL note if the source is a | |
4752 | SUBREG of a register. Tidy up related block of code. | |
4753 | * fwprop.c (forward_propagate_and_simplify): Do not create a REG_EQUAL | |
4754 | note if the source is a register or a SUBREG of a register. | |
4755 | ||
e3936f47 JJ |
4756 | 2013-02-07 Jakub Jelinek <jakub@redhat.com> |
4757 | ||
4758 | PR target/56228 | |
4759 | * config/rs6000/rs6000.md (ptrm): New mode attr. | |
4760 | (call_indirect_aix<ptrsize>, call_indirect_aix<ptrsize>_nor11, | |
4761 | call_value_indirect_aix<pttrsize>, | |
4762 | call_value_indirect_aix<pttrsize>_nor11): Use <ptrm> instead of | |
4763 | m in constraints. | |
4764 | ||
d96d674b MH |
4765 | 2013-02-07 Michael Haubenwallner <michael.haubenwallner@salomon.at> |
4766 | ||
4767 | * collect2.c (main): Set aix64_flag for -G and -bsvr4 too, disable | |
4768 | if -bnortl. Convert to strcmp and strncmp. | |
4769 | ||
921f2dee AM |
4770 | 2013-02-07 Alan Modra <amodra@gmail.com> |
4771 | ||
4772 | PR target/54009 | |
4773 | * config/rs6000/rs6000.c (mem_operand_gpr): Check that LO_SUM | |
4774 | addresses won't wrap when offsetting. | |
4775 | (rs6000_secondary_reload): Provide secondary reloads needed for | |
4776 | wrapping LO_SUM addresses. | |
4777 | ||
d09c7dba TS |
4778 | 2013-02-06 Thomas Schwinge <thomas@codesourcery.com> |
4779 | ||
4780 | * config/gnu.h (GNU_USER_TARGET_OS_CPP_BUILTINS): Never define | |
4781 | MACH, just __MACH__. | |
4782 | ||
a44bbd48 RB |
4783 | 2013-02-06 Richard Biener <rguenther@suse.de> |
4784 | ||
4785 | * tracer.c (tracer): Mark loops with LOOPS_NEED_FIXUP | |
4786 | instead of calling fix_loop_structure. | |
4787 | ||
6d840d99 JJ |
4788 | 2013-02-06 Jakub Jelinek <jakub@redhat.com> |
4789 | ||
4790 | PR middle-end/56217 | |
4791 | * omp-low.c (use_pointer_for_field): Return false if | |
4792 | lower_send_shared_vars doesn't generate any copy-out code. | |
4793 | ||
0f33baa9 TV |
4794 | 2013-02-06 Tom de Vries <tom@codesourcery.com> |
4795 | ||
4796 | PR rtl-optimization/56131 | |
4797 | * cfgrtl.c (delete_insn): Use NOTE_BASIC_BLOCK instead of BLOCK_FOR_INSN | |
4798 | to get the bb of a NOTE_INSN_BASIC_BLOCK. Handle the case that the bb | |
4799 | of the label is NULL. Add comment. | |
4800 | ||
11f1e3ab JJ |
4801 | 2013-02-05 Jakub Jelinek <jakub@redhat.com> |
4802 | ||
31502f9f JJ |
4803 | * tree.h (struct tree_decl_with_vis): Remove thread_local field. |
4804 | ||
a74db9bd JJ |
4805 | PR sanitizer/55374 |
4806 | * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Define. | |
4807 | (STATIC_LIBTSAN_LIBS): Likewise. | |
4808 | * gcc.c (ADD_STATIC_LIBTSAN_LIBS, LIBTSAN_EARLY_SPEC): Define. | |
4809 | (LIBTSAN_SPEC): Add ADD_STATIC_LIBTSAN_LIBS, if LIBTSAN_EARLY_SPEC | |
4810 | is defined, don't add anything else beyond that. | |
4811 | (SANITIZER_EARLY_SPEC, SANITIZER_SPEC): Define. | |
4812 | (LINK_COMMAND_SPEC): Use them. | |
4813 | ||
11f1e3ab JJ |
4814 | PR tree-optimization/56205 |
4815 | * tree-stdarg.c (check_all_va_list_escapes): Return true if | |
4816 | there are any PHI nodes that set non-va_list_escape_vars SSA_NAME | |
4817 | and some va_list_escape_vars SSA_NAME appears in some PHI argument. | |
4818 | ||
14ac6aa2 RB |
4819 | 2013-02-05 Richard Biener <rguenther@suse.de> |
4820 | ||
4821 | PR tree-optimization/53342 | |
4822 | PR tree-optimization/53185 | |
4823 | * tree-vectorizer.h (vect_check_strided_load): Remove. | |
4824 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Do | |
4825 | not disallow peeling for vectorized strided loads. | |
4826 | (vect_check_strided_load): Make static and simplify. | |
4827 | (vect_analyze_data_refs): Adjust. | |
4828 | * tree-vect-stmts.c (vectorizable_load): Handle peeled loops | |
4829 | correctly when vectorizing strided loads. | |
4830 | ||
6f22445a RB |
4831 | 2013-02-05 Richard Biener <rguenther@suse.de> |
4832 | ||
4833 | * doc/install.texi: Refer to ISL, not PPL. | |
4834 | ||
39f9719e JH |
4835 | 2013-02-05 Jan Hubicka <jh@suse.cz> |
4836 | ||
ec4224ac JH |
4837 | PR tree-optimization/55789 |
4838 | * params.def (PARAM_EARLY_INLINER_MAX_ITERATIONS): Drop to 1. | |
4839 | ||
4840 | 2013-02-05 Jan Hubicka <jh@suse.cz> | |
4841 | ||
4842 | PR tree-optimization/55789 | |
39f9719e JH |
4843 | * cgraphclones.c (cgraph_remove_node_and_inline_clones): Remove |
4844 | the dead call anyway. | |
4845 | ||
956d3b33 EB |
4846 | 2013-02-05 Eric Botcazou <ebotcazou@adacore.com> |
4847 | ||
4848 | PR sanitizer/55374 | |
4849 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Add missing guard. | |
4850 | ||
4851 | 2013-02-04 Alexander Potapenko <glider@google.com> | |
4852 | Jack Howarth <howarth@bromo.med.uc.edu> | |
ae526fe5 AP |
4853 | Jakub Jelinek <jakub@redhat.com> |
4854 | ||
4855 | PR sanitizer/55617 | |
4856 | * config/darwin.c (sort_ctor_records): Stabilized qsort | |
4857 | on constructor priority by using original position. | |
4858 | (finalize_ctors): New routine to sort constructors by | |
4859 | priority before use in assemble_integer. | |
4860 | (machopic_asm_out_constructor): Use finalize_ctors if needed. | |
4861 | ||
7ac3af38 JJ |
4862 | 2013-02-04 Jakub Jelinek <jakub@redhat.com> |
4863 | ||
4864 | PR libstdc++/54314 | |
4865 | * config/i386/winnt.c (i386_pe_assemble_visibility): Don't warn | |
4866 | about visibility on artificial decls. | |
4867 | * config/sol2.c (solaris_assemble_visibility): Likewise. | |
4868 | ||
152689dc KT |
4869 | 2013-02-04 Kai Tietz <ktietz@redhat.com> |
4870 | ||
4871 | PR target/56186 | |
4872 | * config/i386/i386.c (function_value_ms_64): Add additional valtype | |
4873 | argument and improve checking of return-argument types for 16-byte | |
4874 | modes. | |
4875 | (ix86_function_value_1): Add additional valtype argument on call | |
4876 | of function_value_64. | |
4877 | (return_in_memory_ms_64): Sync 16-byte sized mode handling with | |
4878 | handling infunction_value_64 function. | |
4879 | ||
2b5987b5 MGD |
4880 | 2013-02-04 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org> |
4881 | ||
7ac3af38 | 4882 | * reload.c (subst_reloads): Fix DEBUG_RELOAD build issue. |
2b5987b5 | 4883 | |
14597080 RB |
4884 | 2013-02-04 Richard Biener <rguenther@suse.de> |
4885 | ||
4886 | PR tree-optimization/56188 | |
4887 | * tree-ssa-structalias.c (label_visit): Consider case with | |
4888 | initially non-empty points-to set. | |
4889 | (perform_var_substitution): Dump node mapping and clean up. | |
4890 | ||
ed73881e RG |
4891 | 2013-02-04 Richard Guenther <rguenther@suse.de> |
4892 | ||
4893 | PR lto/56168 | |
4894 | * lto-symtab.c (lto_symtab_merge_decls_1): Make non-builtin | |
4895 | node prevail as last resort. | |
4896 | (lto_symtab_merge_decls): Remove guard on LTRANS here. | |
6edc3e32 | 4897 | (lto_symtab_prevailing_decl): Builtins are their own prevailing decl. |
ed73881e | 4898 | |
139a0707 RB |
4899 | 2013-02-04 Richard Biener <rguenther@suse.de> |
4900 | ||
4901 | PR tree-optimization/56113 | |
4902 | * tree-ssa-structalias.c (equiv_class_lookup, equiv_class_add): | |
4903 | Merge into ... | |
4904 | (equiv_class_lookup_or_add): ... this. | |
4905 | (label_visit): Adjust and fix error in previous patch. | |
4906 | (perform_var_substitution): Adjust. | |
4907 | ||
50fe8924 OE |
4908 | 2013-02-03 Oleg Endo <olegendo@gcc.gnu.org> |
4909 | ||
4910 | * config/sh/divtab.c: Fix formatting and comments throughout the file. | |
4911 | * config/sh/sh4-300.md: Likewise. | |
4912 | * config/sh/sh4a.md: Likewise. | |
4913 | * config/sh/constraints.md: Likewise. | |
4914 | * config/sh/sh.md: Likewise. | |
4915 | * config/sh/netbsd-elf.h: Likewise. | |
4916 | * config/sh/predicates.md: Likewise. | |
4917 | * config/sh/sh-protos.h: Likewise. | |
4918 | * config/sh/ushmedia.h: Likewise. | |
4919 | * config/sh/linux.h: Likewise. | |
4920 | * config/sh/sh.c: Likewise. | |
4921 | * config/sh/superh.h: Likewise. | |
4922 | * config/sh/elf.h: Likewise. | |
4923 | * config/sh/sh4.md: Likewise. | |
4924 | * config/sh/sh.h: Likewise. | |
4925 | ||
1a04ac2b JDA |
4926 | 2013-02-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4927 | ||
4928 | * config/pa/constraints.md: Adjust unused letters. Change "T" | |
4929 | constraint to match_test floating_point_store_memory_operand(). | |
4930 | * config/pa/predicates.md (reg_plus_base_memory_operand): New. | |
4931 | (base14_operand): New. | |
4932 | (floating_point_store_memory_operand): New. | |
4933 | (integer_store_memory_operand): Revise to use base14_operand and | |
4934 | reg_plus_base_memory_operand. | |
4935 | (move_dest_operand): Allow symbolic_memory_operands. | |
4936 | (symbolic_memory_operand): Check for LO_SOM. | |
4937 | (symbolic_operand): Change default case to break. | |
4938 | * config/pa/pa.md: Remove unamed DFmode and SFmode patterns to force | |
4939 | CONST_DOUBLE values to be reloaded by putting them into memory when | |
4940 | the destination is a floating point register. | |
4941 | (movdf): Remove code to handle CONST_DOUBLE. | |
4942 | (movsf): Likewise. | |
4943 | (reload_indf_r1): New. | |
4944 | (reload_insf_r1): New. | |
4945 | Consistently use "Q" and "T" constraints with integer and floating | |
4946 | point move instructions, respectively. | |
4947 | (movdi): Remove FAIL. | |
4948 | Change predicate for source operand unamed DImode move from | |
4949 | general_operand to move_src_operand. | |
4950 | (umulsidi3): Change predicate for destination operand to | |
4951 | register_operand. | |
4952 | Likewise for similar unamed patterns. | |
4953 | * config/pa/pa-protos.h (pa_legitimize_reload_address): Declare. | |
4954 | * config/pa/pa.c (pa_symbolic_expression_p): Remove extra parenthesis. | |
4955 | (hppa_legitimize_address): Simplify mask calculation. | |
4956 | (pa_emit_move_sequence): Revised handling of secondary reloads from | |
4957 | REG+D addresses for floating point loads and stores. Directly handle | |
4958 | loading CONST0_RTX (mode) to a floating point register. | |
4959 | (pa_secondary_reload): Handle reloading DF and SFmode constant values | |
4960 | to floating point registers. Don't restrict secondary reloads to | |
4961 | floating point registers to integer modes. Revise some comments and | |
4962 | cleanup some code. | |
4963 | (TARGET_LEGITIMATE_ADDRESS_P): Define. | |
4964 | (pa_legitimate_address_p): New. | |
4965 | (pa_legitimize_reload_address): New. | |
4966 | * config/pa/pa.h (STRICT_REG_OK_FOR_INDEX_P): New. | |
4967 | (STRICT_REG_OK_FOR_BASE_P): New. | |
4968 | (GO_IF_LEGITIMATE_ADDRESS): Delete. Update some related comments. | |
4969 | (LEGITIMIZE_RELOAD_ADDRESS): Revise to use pa_legitimize_reload_address. | |
4970 | ||
3bf65591 DE |
4971 | 2013-02-03 David Edelsohn <dje.gcc@gmail.com> |
4972 | Andrew Dixie <andrewd@gentrack.com> | |
4973 | ||
4974 | * collect2.c (GCC_CHECK_HDR): Do not scan objects with F_LOADONLY | |
4975 | flag set. | |
4976 | ||
c0a8a3e6 RS |
4977 | 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com> |
4978 | ||
4979 | * expmed.c (extract_bit_field_1): Pass the full width of the | |
4980 | structure to get_best_reg_extraction_insn. | |
4981 | ||
99113dff DE |
4982 | 2013-02-01 David Edelsohn <dje.gcc@gmail.com> |
4983 | ||
4984 | PR target/54601 | |
4985 | * configure.ac (use_cxa_atexit): Add AIX. | |
4986 | * configure: Regenerate. | |
4987 | ||
4988 | * config/rs6000/aix61.h (STARTFILE_SPEC): Add crtcxa.o. | |
4989 | ||
ddd84654 JJ |
4990 | 2013-02-01 Jakub Jelinek <jakub@redhat.com> |
4991 | ||
4992 | PR debug/54793 | |
4993 | * final.c (need_profile_function): New variable. | |
4994 | (final_start_function): Drop ATTRIBUTE_UNUSED from first argument. | |
4995 | If first of NOTE_INSN_BASIC_BLOCK or NOTE_INSN_FUNCTION_BEG | |
4996 | is only preceeded by NOTE_INSN_VAR_LOCATION or NOTE_INSN_DELETED | |
4997 | notes, targetm.asm_out.function_prologue doesn't emit anything, | |
4998 | HAVE_prologue and profiler should be emitted before prologue, | |
4999 | set need_profile_function instead of emitting it. | |
5000 | (final_scan_insn): If need_profile_function, emit | |
5001 | profile_function on the first NOTE_INSN_BASIC_BLOCK or | |
5002 | NOTE_INSN_FUNCTION_BEG note. | |
5003 | ||
5004 | 2013-02-01 Richard Henderson <rth@redhat.com> | |
749af8ee RH |
5005 | |
5006 | * config/rs6000/rs6000.md (smulditi3): New. | |
5007 | (umulditi3): New. | |
5008 | ||
ff2a9d88 RH |
5009 | * config/alpha/alpha.md (umulditi3): New. |
5010 | ||
14d52b90 DE |
5011 | 2013-02-01 David Edelsohn <dje.gcc@gmail.com> |
5012 | ||
5013 | * config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_COMMON): Use floor_log2. | |
5014 | (ASM_OUTPUT_ALIGNED_LOCAL): New. | |
5015 | ||
8c7ca45c RB |
5016 | 2013-02-01 Richard Biener <rguenther@suse.de> |
5017 | ||
5018 | PR tree-optimization/56113 | |
5019 | * tree-ssa-structalias.c (label_visit): Reduce work for | |
5020 | single-predecessor nodes. | |
5021 | ||
9f419393 EB |
5022 | 2013-02-01 Eric Botcazou <ebotcazou@adacore.com> |
5023 | ||
5024 | * fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the | |
5025 | range isn't testing for zero. | |
5026 | ||
c5f4be84 SB |
5027 | 2013-01-31 Steven Bosscher <steven@gcc.gnu.org> |
5028 | ||
5029 | PR middle-end/56113 | |
5030 | * fwprop.c (fwprop_init): Set up loops without CFG modifications. | |
5031 | ||
dbdbd982 NC |
5032 | 2013-01-31 Hiroyuki Ono <hiroyuki.ono.jc@renesas.com> |
5033 | Nick Clifton <nickc@redhat.com> | |
5034 | ||
5035 | * config/v850/constraints.md (Q): Define as a memory constraint. | |
5036 | * config/v850/predicates.md (label_ref_operand): New predicate. | |
5037 | (e3v5_shift_operand): New predicate. | |
5038 | (ior_operator): New predicate. | |
5039 | * config/v850/t-v850: Add e3v5 multilib. | |
5040 | * config/v850/v850-protos.h (v850_adjust_insn_length): Prototype. | |
5041 | (v850_gen_movdi): Prototype. | |
5042 | * config/v850/v850.c: Add support for e3v5 architecture. | |
5043 | Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to | |
5044 | TARGET_V850E_UP. | |
5045 | (construct_save_jarl): Add e3v5 long JARL support. | |
5046 | (v850_adjust_insn_length): New function. Adjust length of call | |
5047 | insns when using e3v5 instructions. | |
5048 | (v850_gen_movdi): New function: Generate instructions to move a | |
5049 | DImode value. | |
5050 | * config/v850/v850.h (TARGET_CPU_v850e3v5): Define. | |
5051 | (CPP_SPEC): Define __v850e3v5__ as appropriate. | |
5052 | (TARGET_USE_FPU): Enable for e3v5. | |
5053 | (CONST_OK_FOR_W): New macro. | |
5054 | (ADJUST_INSN_LENGTH): Define. | |
5055 | * config/v850/v850.md (UNSPEC_LOOP): Define. | |
5056 | (attr cpu): Add v850e3v5. | |
5057 | Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP. | |
5058 | (movdi): New pattern. | |
5059 | (movdi_internal): New pattern. | |
5060 | (cbranchsf4): Conditionalize on TARGET_USE_FPU. | |
5061 | (cbranchdf4): Conditionalize on TARGET_USE_FPU. | |
5062 | (cstoresf4): Likewise. | |
5063 | (cstoredf4): Likewise. | |
5064 | (insv): New pattern. | |
5065 | (rotlso3_a): New pattern. | |
5066 | (rotlsi3_b): New pattern | |
5067 | (rotlsi3_v850e3v5): New pattern. | |
5068 | (doloop_begin): New pattern. | |
5069 | (fix_loop_counter): New pattern. | |
5070 | (doloop_end): New pattern. | |
5071 | (branch_normal): Add e3v5 long branch support. | |
5072 | (branch_invert): Likewise. | |
5073 | (branch_z_normal): Likewise. | |
5074 | (branch_z_invert): Likewise. | |
5075 | (branch_nz_normal): Likewise. | |
5076 | (branch_nz_invert): Likewise. | |
5077 | (call_internal_short): Add e3v5 register-indirect JARL support. | |
5078 | (call_internal_long): Likewise. | |
5079 | (call_value_internal_short): Likewise. | |
5080 | (call_value_internal_long): Likewise. | |
5081 | * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options. | |
5082 | (mloop): New option. | |
5083 | * config.gcc: Add support for configuring v840e3v5 target. | |
6edc3e32 | 5084 | * doc/invoke.texi: Document new v850 specific command line options. |
dbdbd982 | 5085 | |
73861a41 PK |
5086 | 2013-01-31 Paul Koning <ni1d@arrl.net> |
5087 | ||
5088 | PR debug/55059 | |
5089 | PR debug/54508 | |
5090 | * dwarf2out.c (prune_unused_types_mark): Mark all of parent's | |
5091 | children if parent is a class. | |
5092 | (prune_unused_types_prune): Don't add DW_AT_declaration. | |
5093 | ||
e44978dc RB |
5094 | 2013-01-31 Richard Biener <rguenther@suse.de> |
5095 | ||
5096 | PR tree-optimization/56157 | |
5097 | * tree-vect-slp.c (vect_get_slp_defs): More thoroughly try to | |
5098 | match up operand with SLP child. | |
5099 | ||
90b10dec JM |
5100 | 2013-01-31 Jason Merrill <jason@redhat.com> |
5101 | ||
04d2dadd | 5102 | PR debug/54410 |
90b10dec JM |
5103 | * dwarf2out.c (gen_struct_or_union_type_die): Always schedule template |
5104 | parameters the first time. | |
5105 | (gen_scheduled_generic_parms_dies): Check completeness here. | |
5106 | ||
6e616110 RB |
5107 | 2013-01-31 Richard Biener <rguenther@suse.de> |
5108 | ||
5109 | PR middle-end/53073 | |
5110 | * common.opt (faggressive-loop-optimizations): New flag, | |
5111 | enabled by default. | |
5112 | * doc/invoke.texi (faggressive-loop-optimizations): Document. | |
5113 | * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard | |
5114 | infer_loop_bounds_from_undefined by it. | |
5115 | ||
636f59cf RB |
5116 | 2013-01-31 Richard Biener <rguenther@suse.de> |
5117 | ||
5118 | PR tree-optimization/56150 | |
5119 | * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Do not | |
5120 | visit virtual operands. | |
5121 | (find_uses_to_rename_bb): Likewise. | |
5122 | ||
5123 | 2013-01-31 Richard Biener <rguenther@suse.de> | |
fcfa87ac RB |
5124 | |
5125 | PR tree-optimization/56150 | |
5126 | * tree-ssa-tail-merge.c (gimple_equal_p): Properly handle | |
5127 | mixed store non-store stmts. | |
5128 | ||
32887460 JJ |
5129 | 2013-01-30 Jakub Jelinek <jakub@redhat.com> |
5130 | ||
e60e09a0 JJ |
5131 | PR sanitizer/55374 |
5132 | * gcc.c (LIBASAN_SPEC): Define just to ADD_STATIC_LIBASAN_LIBS if | |
5133 | LIBASAN_EARLY_SPEC is defined. | |
5134 | (LIBASAN_EARLY_SPEC): Define to empty string if not already defined. | |
5135 | (LINK_COMMAND_SPEC): Add LIBASAN_EARLY_SPEC for -fsanitize=address, | |
5136 | before %o. | |
5137 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Define. | |
5138 | ||
32887460 JJ |
5139 | PR c++/55742 |
5140 | * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose | |
5141 | invalid args instead of ICEing on it. | |
5142 | (ix86_valid_target_attribute_tree): Return error_mark_node if | |
5143 | ix86_valid_target_attribute_inner_p failed. | |
5144 | (ix86_valid_target_attribute_p): Return false only if | |
5145 | ix86_valid_target_attribute_tree returned error_mark_node. Allow | |
5146 | target("default") attribute. | |
5147 | (sorted_attr_string): Change argument from const char * to tree, | |
5148 | merge in all target attribute arguments rather than just one. | |
5149 | Formatting fix. Use XNEWVEC instead of xmalloc and XDELETEVEC | |
5150 | instead of free. Avoid using strcat. | |
5151 | (ix86_mangle_function_version_assembler_name): Mangle | |
5152 | target("default") as if no target attribute is present. Adjust | |
5153 | sorted_attr_string caller. Avoid leaking memory. Use XNEWVEC | |
5154 | instead of xmalloc and XDELETEVEC instead of free. | |
5155 | (ix86_function_versions): Don't return true if one of the decls | |
5156 | doesn't have target attribute. If they don't and one of the decls | |
5157 | is DECL_FUNCTION_VERSIONED, report an error. Adjust | |
5158 | sorted_attr_string caller. Use XDELETEVEC instead of free. | |
5159 | (ix86_supports_function_versions): Remove. | |
5160 | (make_name): Fix up formatting. | |
5161 | (make_dispatcher_decl): Remove resolver_name and its initialization. | |
5162 | Avoid leaking memory. | |
5163 | (is_function_default_version): Return true if there is | |
5164 | target("default") attribute rather than no target attribute at all. | |
5165 | (make_resolver_func): Avoid leaking memory. | |
5166 | (ix86_generate_version_dispatcher_body): Likewise. | |
5167 | (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove. | |
5168 | * target.def (supports_function_versions): Remove. | |
5169 | * doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove. | |
5170 | * doc/tm.texi: Regenerated. | |
5171 | ||
73cca0cc VM |
5172 | 2013-01-30 Vladimir Makarov <vmakarov@redhat.com> |
5173 | ||
5174 | PR rtl-optimization/56144 | |
5175 | * lra-constraints.c (get_reload_reg): Don't reuse reload pseudo | |
5176 | for values with side effects. | |
5177 | ||
11452e7b RB |
5178 | 2013-01-30 Richard Biener <rguenther@suse.de> |
5179 | ||
5180 | * sparseset.h (sparseset_bit_p): Use gcc_checking_assert. | |
5181 | (sparseset_pop): Likewise. | |
5182 | * cfganal.c (compute_idf): Likewise. Increase work-stack size | |
5183 | to be able to use quick_push in the worker loop. | |
5184 | ||
01cb1ef5 MP |
5185 | 2013-01-30 Marek Polacek <polacek@redhat.com> |
5186 | ||
5187 | * cfgcleanup.c (cleanup_cfg): Don't mark affected BBs. | |
5188 | ||
e892936e RB |
5189 | 2013-01-30 Richard Biener <rguenther@suse.de> |
5190 | ||
5191 | PR lto/56147 | |
6edc3e32 | 5192 | * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN check. |
e892936e | 5193 | |
cc06c01d GJL |
5194 | 2013-01-30 Georg-Johann Lay <avr@gjlay.de> |
5195 | ||
5196 | PR tree-optimization/56064 | |
5197 | * fixed-value.c (fixed_from_double_int): New function. | |
5198 | * fixed-value.h (fixed_from_double_int): New prototype. | |
5199 | (const_fixed_from_double_int): New static inline function. | |
5200 | * fold-const.c (native_interpret_fixed): New static function. | |
5201 | (native_interpret_expr) <FIXED_POINT_TYPE>: Use it. | |
5202 | (can_native_interpret_type_p) <FIXED_POINT_TYPE>: Return true. | |
5203 | (native_encode_fixed): New static function. | |
5204 | (native_encode_expr) <FIXED_CST>: Use it. | |
5205 | (native_interpret_int): Move double_int worker code to... | |
5206 | * double-int.c (double_int::from_buffer): ...this new static method. | |
5207 | * double-int.h (double_int::from_buffer): Prototype it. | |
5208 | ||
d394a308 RB |
5209 | 2013-01-30 Richard Biener <rguenther@suse.de> |
5210 | ||
5211 | * tree-ssa-structalias.c (final_solutions, final_solutions_obstack): | |
5212 | New pointer-map and obstack. | |
5213 | (init_alias_vars): Allocate pointer-map and obstack. | |
5214 | (delete_points_to_sets): Free them. | |
5215 | (find_what_var_points_to): Cache result. | |
5216 | (find_what_p_points_to): Adjust for changed interface of | |
5217 | find_what_var_points_to. | |
5218 | (compute_points_to_sets): Likewise. | |
5219 | (ipa_pta_execute): Likewise. | |
5220 | ||
20804d96 RO |
5221 | 2013-01-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5222 | ||
5223 | * configure.ac (HAVE_AS_SPARC_NOBITS): New test. | |
5224 | * configure: Regenerate. | |
5225 | * config.in: Regenerate. | |
5226 | * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Emit | |
5227 | #nobits/#progbits if supported. | |
5228 | ||
a7ad88a2 OE |
5229 | 2013-01-29 Oleg Endo <olegendo@gcc.gnu.org> |
5230 | ||
5231 | PR target/56121 | |
5232 | * config/sh/sh.md (bclr_m2a, bset_m2a, bst_m2a, bld_m2a, bldsign_m2a, | |
5233 | bld_reg, *bld_regqi, band_m2a, bandreg_m2a, bor_m2a, borreg_m2a, | |
5234 | bxor_m2a, bxorreg_m2a): Add satisfies_constraint_K03 condition. | |
5235 | ||
7af79f92 GY |
5236 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
5237 | ||
91bfca59 OE |
5238 | * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove. |
5239 | (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all. | |
7af79f92 | 5240 | |
753bcf7b GY |
5241 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
5242 | ||
91bfca59 OE |
5243 | * config/arm/arm.c (cortexa7_younger): Return true for TYPE_CALL. |
5244 | * config/arm/cortex-a7.md (cortex_a7_call): Update required units. | |
753bcf7b | 5245 | |
8cbc2ea8 GY |
5246 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
5247 | ||
91bfca59 OE |
5248 | * config/arm/arm-protos.h (arm_mac_accumulator_is_result): New |
5249 | declaration. | |
5250 | * config/arm/arm.c (arm_mac_accumulator_is_result): New function. | |
5251 | * config/arm/cortex-a7.md: New bypasses using | |
5252 | arm_mac_accumulator_is_result. | |
8cbc2ea8 | 5253 | |
697a3325 GY |
5254 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
5255 | ||
91bfca59 | 5256 | * config/arm/cortex-a7.md (cortex_a7_neon_mul): New reservation. |
697a3325 | 5257 | (cortex_a7_neon_mla): Likewise. |
91bfca59 OE |
5258 | (cortex_a7_fpfmad): New reservation. |
5259 | (cortex_a7_fpmacs): Use ffmas and update required units. | |
5260 | (cortex_a7_fpmuld): Update required units and latency. | |
5261 | (cortex_a7_fpmacd): Likewise. | |
5262 | (cortex_a7_fdivs, cortex_a7_fdivd): Likewise. | |
5263 | (cortex_a7_neon). Likewise. | |
5264 | (bypass) Update participating units. | |
697a3325 | 5265 | |
29637783 GY |
5266 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
5267 | ||
91bfca59 OE |
5268 | * config/arm/arm.md (type): Add ffmas and ffmad to "type" attribute. |
5269 | * config/arm/vfp.md (fma,fmsub,fnmsub,fnmadd): Change type | |
5270 | from fmac to ffma. | |
5271 | * config/arm/vfp11.md (vfp_farith): Use ffmas. | |
5272 | (vfp_fmul): Use ffmad. | |
5273 | * config/arm/cortex-r4f.md (cortex_r4_fmacs): Use ffmas. | |
5274 | (cortex_r4_fmacd): Use ffmad. | |
5275 | * config/arm/cortex-m4-fpu.md (cortex_m4_fmacs): Use ffmas. | |
5276 | * config/arm/cortex-a9.md (cortex_a9_fmacs): Use ffmas. | |
5277 | (cortex_a9_fmacd): Use ffmad. | |
5278 | * config/arm/cortex-a8-neon.md (cortex_a8_vfp_macs): Use ffmas. | |
5279 | (cortex_a8_vfp_macd): Use ffmad. | |
5280 | * config/arm/cortex-a5.md (cortex_a5_fpmacs): Use ffmas. | |
5281 | (cortex_a5_fpmacd): Use ffmad. | |
5282 | * config/arm/cortex-a15-neon.md (cortex_a15_vfp_macs) Use ffmas. | |
5283 | (cortex_a15_vfp_macd): Use ffmad. | |
5284 | * config/arm/arm1020e.md (v10_fmul): Use ffmas and ffmad. | |
29637783 | 5285 | |
2ee8a2d5 JM |
5286 | 2013-01-29 Jason Merrill <jason@redhat.com> |
5287 | ||
5288 | PR libstdc++/54314 | |
5289 | * varasm.c (default_assemble_visibility): Don't warn about | |
5290 | visibility on artificial decls. | |
5291 | ||
78d087bc RB |
5292 | 2013-01-29 Richard Biener <rguenther@suse.de> |
5293 | ||
5294 | PR tree-optimization/56113 | |
5295 | * tree-ssa-structalias.c (equiv_class_lookup): Also return | |
5296 | the bitmap leader. | |
5297 | (label_visit): Free duplicate bitmaps and record the leader instead. | |
5298 | (perform_var_substitution): Adjust. | |
5299 | ||
83ba4d6f RB |
5300 | 2013-01-29 Richard Biener <rguenther@suse.de> |
5301 | ||
5302 | PR tree-optimization/55270 | |
5303 | * tree-ssa-dom.c (eliminate_degenerate_phis): If we changed | |
5304 | the CFG, schedule loops for fixup. | |
5305 | ||
66dfe13f NC |
5306 | 2013-01-29 Nick Clifton <nickc@redhat.com> |
5307 | ||
5308 | * config/rl78/rl78.c (rl78_regno_mode_code_ok_for_base_p): Allow | |
5309 | SP_REG. | |
5310 | ||
5a579c3b LE |
5311 | 2013-01-28 Leif Ekblad <leif@rdos.net> |
5312 | ||
5313 | * config.gcc (i[34567]86-*-rdos*, x86_64-*-rdos*): New targets. | |
5314 | * config/i386/i386.h (TARGET_RDOS): New macro. | |
5315 | (DEFAULT_LARGE_SECTION_THRESHOLD): New macro. | |
5316 | * config/i386/i386.c (ix86_option_override_internal): For 64bit | |
5317 | TARGET_RDOS, set ix86_cmodel to CM_MEDIUM_PIC and flag_pic to 1. | |
5318 | * config/i386/i386.opt (mlarge-data-threshold): Initialize to | |
5319 | DEFAULT_LARGE_SECTION_THRESHOLD. | |
5320 | * config/i386/i386.md (R14_REG, R15_REG): New constants. | |
5321 | * config/i386/rdos.h: New file. | |
5322 | * config/i386/rdos64.h: New file. | |
5323 | ||
51e44392 BS |
5324 | 2013-01-28 Bernd Schmidt <bernds@codesourcery.com> |
5325 | ||
5326 | PR other/54814 | |
5327 | * reload.c (find_valid_class_1): Use in_hard_reg_set_p instead of | |
5328 | TEST_HARD_REG_BIT. | |
5329 | ||
db1fb332 JJ |
5330 | 2013-01-28 Jakub Jelinek <jakub@redhat.com> |
5331 | ||
5332 | PR rtl-optimization/56117 | |
5333 | * sched-deps.c (sched_analyze_2) <case PREFETCH>: For use_cselib | |
5334 | call cselib_lookup_from_insn on the MEM before calling | |
5335 | add_insn_mem_dependence. | |
5336 | ||
16917761 RB |
5337 | 2013-01-28 Richard Biener <rguenther@suse.de> |
5338 | ||
5339 | * tree-inline.c (remap_gimple_stmt): Do not assing a BLOCK | |
5340 | to a stmt that didn't have one. | |
5341 | (copy_phis_for_bb): Likewise for PHI arguments. | |
5342 | (copy_debug_stmt): Likewise for debug stmts. | |
5343 | ||
b9fc0497 RB |
5344 | 2013-01-28 Richard Biener <rguenther@suse.de> |
5345 | ||
5346 | PR tree-optimization/56034 | |
6edc3e32 | 5347 | * tree-loop-distribution.c (enum partition_kind): Add PKIND_REDUCTION. |
b9fc0497 RB |
5348 | (partition_builtin_p): Adjust. |
5349 | (generate_code_for_partition): Handle PKIND_REDUCTION. Assert | |
5350 | it is the last partition. | |
5351 | (rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking | |
5352 | up the vertex for the definition. | |
5353 | (classify_partition): Classify whether a partition is a | |
5354 | PKIND_REDUCTION, thus has uses outside of the loop. | |
5355 | (ldist_gen): Inherit PKIND_REDUCTION when merging partitions. | |
5356 | Merge all PKIND_REDUCTION partitions into the last partition. | |
5357 | (tree_loop_distribution): Seed partitions from reductions as well. | |
5358 | ||
aa710d25 JJ |
5359 | 2013-01-28 Jakub Jelinek <jakub@redhat.com> |
5360 | ||
0bfbca58 JJ |
5361 | PR tree-optimization/56125 |
5362 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Don't optimize | |
5363 | pow(x,c) into sqrt(x) * powi(x, n/2) or | |
5364 | 1.0 / (sqrt(x) * powi(x, abs(n/2))) if c is an integer or when | |
5365 | optimizing for size. | |
5366 | Don't optimize pow(x,c) into powi(x, n/3) * powi(cbrt(x), n%3) or | |
5367 | 1.0 / (powi(x, abs(n)/3) * powi(cbrt(x), abs(n)%3)) if 2c is an | |
5368 | integer. | |
5369 | ||
aa710d25 JJ |
5370 | PR tree-optimization/56094 |
5371 | * gimplify.c (force_gimple_operand_1): Temporarily set input_location | |
5372 | to UNKNOWN_LOCATION while gimplifying expr. | |
5373 | ||
77dc5297 UB |
5374 | 2013-01-27 Uros Bizjak <ubizjak@gmail.com> |
5375 | ||
5376 | PR target/56114 | |
5377 | * config/i386/i386.md (*movabs<mode>_1): Add square brackets around | |
5378 | operand 0 in movabs insn template for -masm=intel asm alternative. | |
5379 | (*movabs<mode>_2): Ditto for operand 1. | |
5380 | ||
0bfbca58 | 5381 | 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com> |
fbf0cf90 DH |
5382 | |
5383 | PR target/54663 | |
5384 | * config.gcc (microblaze*-linux*): Add tmake_file to allow building | |
5385 | of microblaze-c.o | |
5386 | ||
0bfbca58 | 5387 | 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
6f14eef2 EI |
5388 | |
5389 | * config.gcc (microblaze*-*-*): Rename microblaze*-*-elf, update | |
5390 | tm_file. | |
5391 | ||
0bfbca58 | 5392 | 2013-01-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
706b2314 N |
5393 | |
5394 | * config/aarch64/aarch64.c (TARGET_FIXED_CONDITION_CODE_REGS): | |
5395 | Undef to avoid warning. | |
5396 | ||
478f60f9 MH |
5397 | 2013-01-25 Michael Haubenwallner <michael.haubenwallner@salomon.at> |
5398 | ||
5399 | * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld. | |
5400 | * configure: Regenerate. | |
5401 | ||
d7fa6ee2 JJ |
5402 | 2013-01-25 Jakub Jelinek <jakub@redhat.com> |
5403 | ||
5404 | PR tree-optimization/56098 | |
5405 | * tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr | |
5406 | for stmts with volatile ops. | |
5407 | (cond_store_replacement): Don't optimize if assign has volatile ops. | |
5408 | (cond_if_else_store_replacement_1): Don't optimize if either | |
5409 | then_assign or else_assign have volatile ops. | |
5410 | (hoist_adjacent_loads): Don't optimize if either def1 or def2 have | |
5411 | volatile ops. | |
5412 | ||
f8fe87bd GJL |
5413 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
5414 | ||
5415 | * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__. | |
5416 | ||
28398d0d GJL |
5417 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
5418 | ||
5419 | * doc/extend.texi (Example of asm with clobbered asm reg): Fix | |
5420 | missing ':' in asm example. | |
5421 | ||
b7d7d917 TB |
5422 | 2013-01-25 Tejas Belagod <tejas.belagod@arm.com> |
5423 | ||
5424 | * config/aarch64/aarch64-simd-builtins.def: Separate sq<r>dmulh_lane | |
5425 | entries into lane and laneq entries. | |
77dc5297 UB |
5426 | * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh_lane<mode>): |
5427 | Remove AdvSIMD scalar modes. | |
b7d7d917 TB |
5428 | (aarch64_sq<r>dmulh_laneq<mode>): New. |
5429 | (aarch64_sq<r>dmulh_lane<mode>): New RTL pattern for Scalar AdvSIMD | |
5430 | modes. | |
5431 | * config/aarch64/arm_neon.h: Fix all the vq<r>dmulh_lane* intrinsics' | |
5432 | builtin implementations to relfect changes in RTL in aarch64-simd.md. | |
5433 | * config/aarch64/iterators.md (VCOND): New. | |
5434 | (VCONQ): New. | |
5435 | ||
556f9906 GJL |
5436 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
5437 | ||
5438 | PR target/54222 | |
5439 | * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument. | |
5440 | Add NULL LIBNAME argument to existing definitions. | |
5441 | (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New. | |
5442 | * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument. | |
5443 | * config/avr/avr.c (DEF_BUILTIN): Same. | |
5444 | (avr_init_builtins): Pass down LIBNAME to add_builtin_function. | |
5445 | (avr_expand_builtin): Expand to a vanilla call if a libgcc | |
5446 | implementation is available (DECL_ASSEMBLER_NAME is set). | |
5447 | (avr_fold_absfx): New static function. | |
5448 | (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR, | |
5449 | AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR, | |
5450 | AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK, | |
5451 | AVR_BUILTIN_ABSLLK. | |
5452 | * config/avr/stdfix.h (abshr, absr, abslr, absllr) | |
5453 | (abshk, absk, abslk, absllk): Provide as static inline functions. | |
5454 | ||
1f546bbb MP |
5455 | 2013-01-25 Marek Polacek <polacek@redhat.com> |
5456 | ||
5457 | PR tree-optimization/56035 | |
5458 | * cfgloopmanip.c (fix_loop_structure): Remove redundant condition. | |
5459 | ||
7e184bd7 UB |
5460 | 2012-01-24 Uros Bizjak <ubizjak@gmail.com> |
5461 | ||
5462 | * config/i386/i386.md (*movti_internal_rex64): Add (o,e) alternative. | |
5463 | (*movtf_internal_rex64): Add (!o,C) alternative | |
5464 | (*movxf_internal_rex64): Ditto. | |
5465 | (*movdf_internal_rex64): Add (?r,C) and (?m,C) alternatives. | |
5466 | ||
f5ba49ac SM |
5467 | 2013-01-24 Shenghou Ma <minux.ma@gmail.com> |
5468 | ||
5469 | * doc/invoke.texi: fix typo. | |
5470 | * doc/objc.texi: fix typo. | |
5471 | ||
a6343728 RS |
5472 | 2013-01-24 Richard Sandiford <rdsandiford@googlemail.com> |
5473 | ||
5474 | * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint | |
5475 | for the first two alternatives. | |
5476 | ||
cd030c07 DN |
5477 | 2013-01-24 Diego Novillo <dnovillo@google.com> |
5478 | ||
77dc5297 | 5479 | * Makefile.in (GGC): Remove. Replace all instances with ggc-page.o. |
cd030c07 DN |
5480 | (ggc-zone.o): Remove. |
5481 | * configure.ac: Remove option --with-gc. | |
5482 | * configure: Re-generate. | |
5483 | * doc/install.texi: Remove documentation for --with-gc. | |
5484 | * gengtype.c (write_enum_defn): Remove. Update all users. | |
5485 | (write_Types_process_field): Remove generation of gt_e_* argument. | |
5486 | (output_type_enum): Remove. Update all users. | |
5487 | (write_enum_defn): Remove. Update all users. | |
5488 | (enum alloc_zone): Remove. Update all users. | |
77dc5297 | 5489 | (write_splay_tree_allocator_def): Remove generation of gt_e_* argument. |
cd030c07 DN |
5490 | * ggc-common.c (ggc_splay_alloc): Remove first argument. |
5491 | Update all callers. | |
5492 | (struct ptr_data): Remove field TYPE. Update all users. | |
77dc5297 | 5493 | (gt_pch_note_object): Remove argument TYPE. Update all users. |
cd030c07 DN |
5494 | * ggc-internal.h (ggc_pch_alloc_object): Remove last argument. |
5495 | Update all users. | |
aaf1e810 | 5496 | * ggc-none.c (ggc_alloc_typed_stat): Remove. |
cd030c07 DN |
5497 | (struct alloc_zone): Remove. |
5498 | (ggc_internal_alloc_zone_stat): Remove. | |
5499 | (ggc_internal_cleared_alloc_zone_stat): Remove. | |
5500 | * ggc-page.c (ggc_alloc_typed_stat): Remove. | |
77dc5297 UB |
5501 | (ggc_pch_count_object): Remove last argument. Update all users. |
5502 | (ggc_pch_alloc_object): Remove last argument. Update all users. | |
cd030c07 DN |
5503 | (struct alloc_zone): Remove. |
5504 | * ggc-zone.c: Remove. | |
77dc5297 | 5505 | * ggc.h (gt_pch_note_object): Remove last argument. Update all users. |
cd030c07 DN |
5506 | (struct alloc_zone): Remove. |
5507 | (ggc_alloc_typed_stat): Remove. | |
5508 | (ggc_alloc_typed): Remove. | |
5509 | (ggc_splay_alloc): Remove first argument. | |
5510 | (rtl_zone): Remove. Update all users. | |
5511 | (tree_zone): Remove. Update all users. | |
5512 | (tree_id_zone): Remove. Update all users. | |
5513 | (ggc_internal_zone_alloc_stat): Remove. Update all users. | |
77dc5297 | 5514 | (ggc_internal_zone_cleared_alloc_stat): Remove. Update all users. |
cd030c07 | 5515 | (ggc_internal_zone_vec_alloc_stat): Remove. Update all users. |
77dc5297 | 5516 | * tree-ssanames.c: Remove references to zone allocator in comments. |
cd030c07 | 5517 | |
a861ffa4 GJL |
5518 | 2013-01-24 Georg-Johann Lay <avr@gjlay.de> |
5519 | ||
5520 | * config/avr/avr.c (avr_out_fract): Make register numbers that | |
5521 | might be outside of source operand signed. | |
5522 | ||
593c0ddd UB |
5523 | 2013-01-24 Uros Bizjak <ubizjak@gmail.com> |
5524 | ||
5525 | * config/i386/constraints.md (Yf): New constraint. | |
5526 | * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead | |
5527 | of f constraint to conditionaly disable x87 register preferences. | |
5528 | (*movdf_internal): Ditto. | |
5529 | (*movsf_internal): Ditto. | |
5530 | ||
e86c0101 SB |
5531 | 2013-01-24 Steven Bosscher <steven@gcc.gnu.org> |
5532 | ||
5533 | PR inline-asm/55934 | |
5534 | * lra-assigns.c (assign_by_spills): Throw away the pattern of asms | |
5535 | that have operands with impossible constraints. | |
5536 | Add a FIXME for a speed-up opportunity. | |
5537 | * lra-constraints.c (process_alt_operands): Verify that a class | |
5538 | selected from constraints on asms is valid for the operand mode. | |
5539 | (curr_insn_transform): Remove incorrect comment. | |
5540 | ||
f6fee35f DE |
5541 | 2013-01-23 David Edelsohn <dje.gcc@gmail.com> |
5542 | ||
5543 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that | |
5544 | TOC operand is a valid symbol ref in the constant pool. | |
5545 | ||
5546 | 2013-01-23 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
c7729184 | 5547 | |
aaf1e810 | 5548 | * config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS |
c7729184 | 5549 | |
dc62d7d1 GJL |
5550 | 2013-01-23 Georg-Johann Lay <avr@gjlay.de> |
5551 | ||
5552 | PR target/54222 | |
5553 | * config/avr/stdfix.h: New file. | |
5554 | * t-avr (stdfix-gcc.h): New rule to build it. | |
5555 | (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h. | |
5556 | ||
2660d12d KS |
5557 | 2013-01-23 Kostya Serebryany <kcc@google.com> |
5558 | ||
77dc5297 UB |
5559 | * config/darwin.h: remove dependency on |
5560 | CoreFoundation (asan on Mac OS). | |
2660d12d | 5561 | |
a70418fc JJ |
5562 | 2013-01-23 Jakub Jelinek <jakub@redhat.com> |
5563 | ||
5564 | PR target/49069 | |
5565 | * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand | |
5566 | instead of cmpdi_operand for first comparison operand. | |
5567 | Don't assert that comparison operands aren't both constants. | |
5568 | ||
47876a2a JW |
5569 | 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com> |
5570 | ||
5571 | * doc/install.texi (Downloading the Source): Update references to | |
5572 | downloading separate components. | |
5573 | ||
5574 | 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com> | |
4ebd56a5 JW |
5575 | |
5576 | * doc/extend.texi (__int128): Improve grammar. | |
5577 | ||
47876a2a | 5578 | 2013-01-22 Uros Bizjak <ubizjak@gmail.com> |
32fc5b8a UB |
5579 | |
5580 | PR target/56028 | |
5581 | * config/i386/i386.md (*movti_internal_rex64): Change (o,riF) | |
5582 | alternative to (o,r). | |
5583 | (*movdi_internal_rex64): Remove (!o,n) alternative. | |
5584 | (DImode immediate->memory splitter): Remove. | |
5585 | (DImode immediate->memory peephole2): Remove. | |
5586 | (movtf): Enable for TARGET_64BIT || TARGET_SSE. | |
5587 | (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r) | |
5588 | alternative to (!o,*r). | |
5589 | (*movtf_internal_sse): New pattern. | |
5590 | (*movxf_internal_rex64): New pattern. | |
5591 | (*movxf_internal): Disable for TARGET_64BIT. | |
5592 | (*movdf_internal_rex64): Remove (!o,F) alternative. | |
5593 | ||
3a984f10 JJ |
5594 | 2013-01-22 Jakub Jelinek <jakub@redhat.com> |
5595 | ||
502498d5 JJ |
5596 | PR middle-end/56074 |
5597 | * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc) | |
5598 | isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION. | |
5599 | * tree-vect-loop-manip.c (find_loop_location): Also ignore | |
5600 | stmt locations where LOCATION_LOCUS of the stmt location is | |
5601 | UNKNOWN_LOCATION or BUILTINS_LOCATION. | |
5602 | ||
3a984f10 JJ |
5603 | PR target/55686 |
5604 | * config/i386/i386.md (UNSPEC_STOS): New. | |
5605 | (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1, | |
5606 | *strsetqi_1): Add UNSPEC_STOS. | |
5607 | ||
fa817f7f PC |
5608 | 2013-01-22 Paolo Carlini <paolo.carlini@oracle.com> |
5609 | ||
5610 | PR c++/56067 | |
5611 | * doc/invoke.texi: Remove left over -Wsynth example. | |
5612 | ||
8f498c1b JJ |
5613 | 2013-01-21 Jakub Jelinek <jakub@redhat.com> |
5614 | ||
5615 | PR tree-optimization/56051 | |
5616 | * fold-const.c (fold_binary_loc): Don't fold | |
5617 | X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either | |
5618 | a narrowing conversion, or widening conversion from signed | |
5619 | to unsigned. | |
5620 | ||
47876a2a | 5621 | 2013-01-21 Uros Bizjak <ubizjak@gmail.com> |
35d59da7 UB |
5622 | |
5623 | PR rtl-optimization/56023 | |
5624 | * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions, | |
5625 | dependent on debug instruction. | |
5626 | ||
5b9db1bc MJ |
5627 | 2013-01-21 Martin Jambor <mjambor@suse.cz> |
5628 | ||
5629 | PR middle-end/56022 | |
5630 | * function.c (allocate_struct_function): Call | |
5631 | invoke_set_current_function_hook earlier. | |
5632 | ||
e8bb7d68 JJ |
5633 | 2013-01-21 Jakub Jelinek <jakub@redhat.com> |
5634 | ||
5635 | * reload1.c (init_reload): Only initialize reload_obstack | |
5636 | during the first call. | |
5637 | ||
616a4e32 MP |
5638 | 2013-01-21 Marek Polacek <polacek@redhat.com> |
5639 | ||
5640 | * cfgloop.c (verify_loop_structure): Fix up grammar. | |
5641 | ||
4401981b YHH |
5642 | 2013-01-21 Yi-Hsiu Hsu <ahsu@marvell.com> |
5643 | ||
5644 | * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift, | |
5645 | pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift. | |
5646 | ||
8e87740b RR |
5647 | 2013-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
5648 | ||
5649 | PR target/56058 | |
5650 | * config/arm/marvell-pj4.md: Update copyright year. | |
5651 | Fix up use of alu to alu_reg and simple_alu_imm. | |
5652 | ||
47876a2a | 5653 | 2013-01-21 Uros Bizjak <ubizjak@gmail.com> |
1f6bc337 UB |
5654 | |
5655 | * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA. | |
5656 | ||
89d56d79 VM |
5657 | 2013-01-20 Vladimir Makarov <vmakarov@redhat.com> |
5658 | ||
5659 | PR target/55433 | |
5660 | * lra-constraints.c (curr_insn_transform): Don't reuse original | |
1f6bc337 | 5661 | insn for secondary memory move when memory mode should be different. |
89d56d79 | 5662 | |
fe603553 JDA |
5663 | 2013-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
5664 | ||
5665 | * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi, | |
5666 | atomic_storedi_1): New patterns. | |
5667 | ||
01284895 VK |
5668 | 2013-01-20 Venkataramanan Kumar <venkataramanan.kumar@amd.com> |
5669 | ||
5670 | btver2 pipeline descriptions. | |
5671 | * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline | |
5672 | descriptions. | |
5673 | * config/i386/i386.md (btver2_decode): New type attributes. | |
1f6bc337 | 5674 | * config/i386/sse.md (btver2_decode, btver2_sse_attr): New |
01284895 VK |
5675 | type attributes. |
5676 | * config/i386/btver2.md: New file describing btver2 pipelines. | |
5677 | ||
5630e3e1 JL |
5678 | 2013-01-19 Andrew Pinski <apinski@cavium.com> |
5679 | ||
5680 | PR tree-optimization/52631 | |
5681 | * tree-ssa-sccvn (visit_use): Before looking up the original | |
5682 | statement, try looking up the simplified expression. | |
5683 | ||
650ae806 AG |
5684 | 2013-01-19 Anthony Green <green@moxielogic.com> |
5685 | ||
5686 | * config/moxie/moxie.c (moxie_expand_prologue): Set | |
5687 | current_function_static_stack_size. | |
5688 | ||
e300ec2d JJ |
5689 | 2013-01-18 Jakub Jelinek <jakub@redhat.com> |
5690 | ||
5691 | PR tree-optimization/56029 | |
5692 | * tree-phinodes.c (reserve_phi_args_for_new_edge): Set | |
5693 | gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION. | |
5694 | ||
a3d7af04 SS |
5695 | 2013-01-18 Sharad Singhai <singhai@google.com> |
5696 | ||
5697 | PR tree-optimization/55995 | |
5698 | * dumpfile.c (dump_loc): Print location only if available. | |
5699 | * tree-vectorizer.c (increase_alignment): Intialize vect_location. | |
5700 | ||
66aa7879 VM |
5701 | 2013-01-18 Vladimir Makarov <vmakarov@redhat.com> |
5702 | ||
5703 | PR target/55433 | |
5704 | * lra-constraints.c (curr_insn_transform): Reuse original insn for | |
5705 | secondary memory move. | |
5706 | (inherit_reload_reg): Use rclass instead of cl for | |
5707 | check_secondary_memory_needed_p. | |
5708 | ||
3f0fee7b JJ |
5709 | 2013-01-18 Jakub Jelinek <jakub@redhat.com> |
5710 | ||
5711 | PR middle-end/56015 | |
5712 | * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle | |
1f6bc337 | 5713 | the case where writing real complex part of target modifies op1. |
3f0fee7b | 5714 | |
70c67693 JG |
5715 | 2013-01-18 James Greenhalgh <james.greenhalgh@arm.com> |
5716 | ||
5717 | * config/aarch64/aarch64-simd.md | |
5718 | (aarch64_vcond_internal<mode>): Handle unordered cases. | |
5719 | * config/aarch64/iterators.md (v_cmp_result): New. | |
5720 | ||
df8de9b3 YHH |
5721 | 2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com> |
5722 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
5723 | ||
5724 | * config/arm/marvell-pj4.md: New file. | |
5725 | * config/arm/arm.c (arm_issue_rate): Add marvell_pj4. | |
5726 | * config/arm/arm.md (generic_sched): Add marvell_pj4. | |
5727 | (generic_vfp): Likewise. | |
5728 | * config/arm/arm-cores.def: Add marvell-pj4. | |
5729 | * config/arm/arm-tune.md: Regenerate. | |
5730 | * config/arm/arm-tables.opt: Regenerate. | |
5731 | * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4. | |
5732 | * doc/invoke.texi: Document marvell-pj4. | |
5733 | ||
be30c356 TB |
5734 | 2013-01-18 Tejas Belagod <tejas.belagod@arm.com> |
5735 | ||
5736 | * config/aarch64/arm_neon.h: Map scalar types to standard types. | |
5737 | ||
0bfbca58 | 5738 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
af6236c1 AO |
5739 | |
5740 | PR debug/54114 | |
5741 | PR debug/54402 | |
5742 | PR debug/49888 | |
5743 | * var-tracking.c (negative_power_of_two_p): New. | |
5744 | (global_get_addr_cache, local_get_addr_cache): New. | |
5745 | (get_addr_from_global_cache, get_addr_from_local_cache): New. | |
5746 | (vt_canonicalize_addr): Rewrite using the above. Adjust the | |
5747 | heading comment. | |
5748 | (vt_stack_offset_p): Remove. | |
5749 | (vt_canon_true_dep): Always canonicalize loc's address. | |
5750 | (clobber_overlapping_mems): Make sure we have a MEM. | |
5751 | (local_get_addr_clear_given_value): New. | |
5752 | (val_reset): Clear local cached entries. | |
5753 | (compute_bb_dataflow): Create and release the local cache. | |
5754 | Disable duplicate MEMs clobbering. | |
5755 | (emit_notes_in_bb): Clobber MEMs likewise. | |
5756 | (vt_emit_notes): Create and release the local cache. | |
5757 | (vt_initialize, vt_finalize): Create and release the global | |
5758 | cache, respectively. | |
1f6bc337 | 5759 | * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs. |
af6236c1 | 5760 | |
0bfbca58 | 5761 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
7ff37ffa AO |
5762 | |
5763 | PR libmudflap/53359 | |
5764 | * tree-mudflap.c (mudflap_finish_file): Skip deferred decls | |
5765 | not found in the symtab. | |
5766 | ||
0bfbca58 | 5767 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
3aa03517 | 5768 | |
c350ba53 | 5769 | PR debug/56006 |
3aa03517 AO |
5770 | PR rtl-optimization/55547 |
5771 | PR rtl-optimization/53827 | |
5772 | PR debug/53671 | |
5773 | PR debug/49888 | |
5774 | * alias.c (offset_overlap_p): New, factored out of... | |
5775 | (memrefs_conflict_p): ... this. Use absolute sizes. Retain | |
5776 | the conservative special case for symbolic constants. Don't | |
5777 | adjust zero sizes on alignment. | |
5778 | ||
c664546f JL |
5779 | 2013-01-18 Bernd Schmidt <bernds@codesourcery.com> |
5780 | ||
5781 | PR rtl-optimization/52573 | |
5782 | * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a | |
5783 | REG_UNUSED for the same register. | |
5784 | ||
1bd3f750 MP |
5785 | 2013-01-17 Richard Biener <rguenther@suse.de> |
5786 | Marek Polacek <polacek@redhat.com> | |
5787 | ||
5788 | PR rtl-optimization/55833 | |
5789 | * loop-unswitch.c (unswitch_loops): Move loop verification... | |
5790 | (unswitch_single_loop): ...here. Call mark_irreducible_loops. | |
5791 | * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter. | |
5792 | Set it to true when we're removing a loop from hierarchy tree in | |
5793 | an irreducible region. | |
5794 | (fix_bb_placements): Adjust caller. | |
5795 | (fix_loop_placements): Likewise. | |
5796 | ||
e52a8b71 GJL |
5797 | 2013-01-17 Georg-Johann Lay <avr@gjlay.de> |
5798 | ||
5799 | * config/avr/builtins.def (DEF_BUILTIN): Factor out | |
5800 | "__builtin_avr_" from NAME, turn NAME to an uppercase identifier. | |
5801 | Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'. | |
5802 | Remove ID. Adjust comments. | |
5803 | * config/avr/avr-c.c (avr_builtin_name): Remove. | |
5804 | (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop. | |
5805 | * config/avr/avr.c (avr_tolower): New static function. | |
5806 | (DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'. | |
5807 | Stringify NAME, prefix it with "__builtin_avr_" and lowercase it. | |
5808 | (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for | |
5809 | default expansion. | |
5810 | ||
8386a7ea JH |
5811 | 2013-01-17 Jan Hubicka <jh@suse.cz> |
5812 | ||
610fb637 | 5813 | PR tree-optimization/55273 |
8386a7ea JH |
5814 | * loop-iv.c (iv_number_of_iterations): Consider zero iteration case. |
5815 | ||
47876a2a | 5816 | 2013-01-17 Uros Bizjak <ubizjak@gmail.com> |
8abaebcd UB |
5817 | |
5818 | PR target/55981 | |
5819 | * config/i386/sync.md (atomic_store<mode>): Always generate SWImode | |
5820 | store through atomic_store<mode>_1. | |
5821 | (atomic_store<mode>_1): Macroize insn using SWI mode iterator. | |
5822 | ||
8222c37e MJ |
5823 | 2013-01-17 Martin Jambor <mjambor@suse.cz> |
5824 | ||
5825 | PR tree-optimizations/55264 | |
5826 | * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true | |
5827 | for virtual methods. | |
5828 | * ipa.c (symtab_remove_unreachable_nodes): Never return true for | |
5829 | virtual methods before inlining is over. | |
5830 | * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for | |
5831 | virtual functions. | |
5832 | * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as | |
5833 | non-virtual. | |
5834 | ||
79f01c76 VM |
5835 | 2013-01-16 Vladimir Makarov <vmakarov@redhat.com> |
5836 | ||
5837 | PR rtl-optimization/56005 | |
5838 | * sched-deps.c (sched_analyze_2): Check deps->readonly for adding | |
5839 | pending reads for prefetch. | |
5840 | ||
d0b6bb1b IB |
5841 | 2013-01-16 Ian Bolton <ian.bolton@arm.com> |
5842 | ||
aaf1e810 | 5843 | * config/aarch64/aarch64.md |
d0b6bb1b IB |
5844 | (*cstoresi_neg_uxtw): New pattern. |
5845 | (*cmovsi_insn_uxtw): New pattern. | |
5846 | (*<optab>si3_uxtw): New pattern. | |
5847 | (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern. | |
5848 | (*<optab>si3_insn_uxtw): New pattern. | |
5849 | (*bswapsi2_uxtw): New pattern. | |
5850 | ||
cb9cf03b RB |
5851 | 2013-01-16 Richard Biener <rguenther@suse.de> |
5852 | ||
5853 | * tree-inline.c (tree_function_versioning): Remove set but | |
5854 | never used variable. | |
5855 | ||
2cfc56b9 RB |
5856 | 2013-01-16 Richard Biener <rguenther@suse.de> |
5857 | ||
5858 | PR tree-optimization/55964 | |
5859 | * tree-flow.h (rename_variables_in_loop): Remove. | |
5860 | (rename_variables_in_bb): Likewise. | |
5861 | * tree-loop-distribution.c (update_phis_for_loop_copy): Remove. | |
5862 | (copy_loop_before): Adjust and delete update-ssa status. | |
5863 | * tree-vect-loop-manip.c (rename_variables_in_bb): Make static. | |
8abaebcd | 5864 | (rename_variables_in_bb): Likewise. Properly walk over predecessors. |
2cfc56b9 RB |
5865 | (rename_variables_in_loop): Remove. |
5866 | (slpeel_update_phis_for_duplicate_loop): Likewise. | |
5867 | (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops, | |
5868 | use available cfg machinery instead of duplicating it. | |
5869 | Update PHI nodes and perform poor-mans SSA update here. | |
5870 | (slpeel_tree_peel_loop_to_edge): Adjust. | |
5871 | ||
c25a0c60 RB |
5872 | 2013-01-16 Richard Biener <rguenther@suse.de> |
5873 | ||
5874 | PR tree-optimization/54767 | |
5875 | PR tree-optimization/53465 | |
5876 | * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465. | |
5877 | (vrp_visit_phi_node): For PHI arguments coming via backedges | |
5878 | drop all symbolical range information. | |
5879 | (execute_vrp): Compute backedges. | |
5880 | ||
04b535af RB |
5881 | 2013-01-16 Richard Biener <rguenther@suse.de> |
5882 | ||
5883 | * doc/install.texi: Update CLooG and ISL requirements to | |
5884 | 0.18.0 and 0.11.1. | |
5885 | ||
8b0a1e0b CB |
5886 | 2013-01-16 Christian Bruel <christian.bruel@st.com> |
5887 | ||
5888 | PR target/55301 | |
5889 | * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol. | |
5890 | (broken_move): Handle UNSPECV_SP_SWITCH_B. | |
5891 | * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG). | |
5892 | ||
5893 | 2013-01-16 DJ Delorie <dj@redhat.com> | |
5894 | ||
5895 | * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New. | |
5896 | (UNSPECV_SP_SWITCH_E): New. | |
5897 | (sp_switch_1): Change to an unspec. | |
5898 | (sp_switch_2): Change to an unspec. Don't use post-inc when we | |
5899 | replace $r15. | |
5900 | ||
5901 | 2013-01-16 Uros Bizjak <ubizjak@gmail.com> | |
88e784e6 UB |
5902 | |
5903 | * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument | |
5904 | with MEMMODEL_MASK before comparing with MEMMODEL_* memory types. | |
5905 | * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto. | |
5906 | (expand_mem_thread_fence): Ditto. | |
5907 | (expand_mem_signal_fence): Ditto. | |
5908 | (expand_atomic_load): Ditto. | |
5909 | (expand_atomic_store): Ditto. | |
5910 | ||
0bfbca58 | 5911 | 2013-01-16 Alexandre Oliva <aoliva@redhat.com> |
5147bf6a AO |
5912 | |
5913 | PR rtl-optimization/55547 | |
5914 | PR rtl-optimization/53827 | |
5915 | PR debug/53671 | |
5916 | PR debug/49888 | |
5917 | * alias.c (memrefs_conflict_p): Set sizes to negative after | |
5918 | AND adjustments. | |
5919 | ||
305e3ac1 JJ |
5920 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
5921 | ||
5922 | PR target/55940 | |
5923 | * function.c (thread_prologue_and_epilogue_insns): Always | |
5924 | add crtl->drap_reg to set_up_by_prologue.set, even if | |
5925 | stack_realign_drap is false. | |
5926 | ||
f78ac4f2 JBG |
5927 | 2013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
5928 | ||
5929 | * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3, | |
5930 | and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3, | |
5931 | *call): Fix indention. | |
5932 | ||
a78a8cc4 TV |
5933 | 2013-01-15 Tom de Vries <tom@codesourcery.com> |
5934 | ||
5935 | PR target/55876 | |
5936 | * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG. | |
5937 | Update comment. | |
5938 | ||
0e80383f VM |
5939 | 2013-01-15 Vladimir Makarov <vmakarov@redhat.com> |
5940 | ||
305e3ac1 | 5941 | PR rtl-optimization/55153 |
0e80383f VM |
5942 | * sched-deps.c (sched_analyze_2): Add pending reads for prefetch. |
5943 | ||
207b5956 MJ |
5944 | 2013-01-15 Martin Jambor <mjambor@suse.cz> |
5945 | ||
5946 | PR tree-optimization/55920 | |
5947 | * tree-sra.c (analyze_access_subtree): Do not mark non-removable | |
5948 | accesses as grp_to_be_debug_replaced. | |
5949 | ||
a7818b54 JJ |
5950 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
5951 | ||
5952 | PR tree-optimization/55920 | |
5953 | * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced | |
5954 | there is non-useless type conversion needed from debug rhs to lhs, | |
5955 | use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR. | |
5956 | ||
b0fe107e JM |
5957 | 2013-01-15 Joseph Myers <joseph@codesourcery.com> |
5958 | Mikael Pettersson <mikpe@it.uu.se> | |
5959 | ||
5960 | PR target/43961 | |
5961 | * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for | |
5962 | Thumb. | |
5963 | (ASM_OUTPUT_CASE_LABEL): Remove. | |
5964 | (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty. | |
5965 | * final.c (shorten_branches): Update alignment of labels before | |
5966 | jump tables if CASE_VECTOR_SHORTEN_MODE. | |
5967 | ||
34ab62ee RB |
5968 | 2013-01-15 Richard Biener <rguenther@suse.de> |
5969 | ||
5970 | PR bootstrap/55961 | |
5971 | * system.h: Do not include gmp.h for building host tools. | |
5972 | ||
783a3a05 RB |
5973 | 2013-01-15 Richard Biener <rguenther@suse.de> |
5974 | ||
5975 | PR middle-end/55882 | |
5976 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly | |
5977 | account for bitpos when computing alignment. | |
5978 | ||
3a579e09 VY |
5979 | 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com> |
5980 | ||
5981 | * config/i386/i386-c.c (ix86_target_macros_internal): New case. | |
5982 | (ix86_target_macros_internal): Likewise. | |
5983 | ||
5984 | * config/i386/i386.c (m_CORE2I7): Removed. | |
5985 | (m_CORE_HASWELL): New macro. | |
5986 | (m_CORE_ALL): Likewise. | |
5987 | (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL. | |
5988 | (initial_ix86_arch_features): Likewise. | |
5989 | (processor_target_table): Initializations for Core avx2. | |
5990 | (cpu_names): New names "core-avx2". | |
5991 | (ix86_option_override_internal): Changed PROCESSOR_COREI7 by | |
5992 | PROCESSOR_CORE_HASWELL. | |
5993 | (ix86_issue_rate): New case. | |
5994 | (ia32_multipass_dfa_lookahead): Likewise. | |
5995 | (ix86_sched_init_global): Likewise. | |
5996 | ||
5997 | * config/i386/i386.h (TARGET_HASWELL): New macro. | |
5998 | (target_cpu_default): New TARGET_CPU_DEFAULT_haswell. | |
5999 | (processor_type): New PROCESSOR_HASWELL. | |
6000 | ||
955f5a07 JJ |
6001 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
6002 | ||
ff784829 JJ |
6003 | PR tree-optimization/55955 |
6004 | * tree-vect-loop.c (vectorizable_reduction): Give up early on | |
6005 | *SHIFT_EXPR and *ROTATE_EXPR codes. | |
6006 | ||
955f5a07 JJ |
6007 | PR tree-optimization/48766 |
6008 | * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for | |
6009 | -ftrapv disable -fwrapv. | |
6010 | ||
aeb8b4e9 GJL |
6011 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
6012 | ||
6013 | PR target/55974 | |
6014 | * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH | |
6015 | etc. to 1 and not to __flash. | |
6016 | Use LL suffix for __INT24_MAX__ with -mint8. | |
6017 | Use ULL suffix for __UINT24_MAX__ with -mint8. | |
6018 | ||
1c494c6a GJL |
6019 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
6020 | ||
6021 | * config/avr/avr-arch.h | |
6022 | (struct base_arch_s): Use typedef avr_arch_t instead. | |
6023 | (struct arch_info_s): Use typedef avr_arch_info_t instead. | |
6024 | (struct mcu_type_s): Use typedef avr_mcu_t instead. | |
6025 | * config/avr/avr.c: Same. | |
6026 | * config/avr/avr-devices.c: Same. | |
6027 | * config/avr/driver-avr.c: Same. | |
6028 | * config/avr/gen-avr-mmcu-texi.c: Same. | |
6029 | * config/avr/avr-mcus.def: Adjust comment. | |
6030 | ||
a50344cb TB |
6031 | 2013-01-14 Tejas Belagod <tejas.belagod@arm.com> |
6032 | ||
88e784e6 UB |
6033 | * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New. |
6034 | * config/aarch64/iterators.md (VALLDI): New. | |
a50344cb | 6035 | |
47876a2a | 6036 | 2013-01-14 Uros Bizjak <ubizjak@gmail.com> |
e6f0e052 UB |
6037 | Andi Kleen <ak@linux.intel.com> |
6038 | ||
6039 | PR target/55948 | |
6040 | * config/i386/sync.md (atomic_store<mode>_1): New pattern. | |
6041 | (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE | |
6042 | memmodel flag. | |
6043 | ||
00892272 GJL |
6044 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
6045 | ||
6046 | * config/avr/avr-stdint.h: Remove trailing blanks. | |
6047 | * config/avr/avr-log.h: Same. | |
6048 | * config/avr/avr-arch.h: Same. | |
6049 | * config/avr/avr-devices.c: Same. | |
6050 | * config/avr/avr-dimode.md: Same. | |
6051 | * config/avr/predicates.md: Same. | |
6052 | * config/avr/avr-c.c: Same. And fix typo. | |
e6f0e052 | 6053 | |
00892272 GJL |
6054 | * config/avr/avr-protos.h: Same. And: |
6055 | (function_arg_regno_p): Rename to avr_function_arg_regno_p. | |
6056 | (init_cumulative_args): Rename to avr_init_cumulative_args. | |
6057 | (expand_prologue): Rename to avr_expand_prologue. | |
6058 | (expand_epilogue): Rename to avr_expand_epilogue. | |
6059 | (adjust_insn_length): Rename to avr_adjust_insn_length. | |
6060 | (notice_update_cc): Rename to avr_notice_update_cc. | |
6061 | (final_prescan_insn): Rename to avr_final_prescan_insn. | |
6062 | * config/avr/avr.c: Same. | |
6063 | * config/avr/avr.h: Same. | |
6064 | * config/avr/avr.md: Remove trailing blanks. | |
6065 | (prologue): Use avr_expand_prologue. | |
6066 | (epilogue, sibcall_epilogue): Use avr_expand_epilogue. | |
6067 | ||
7bb01996 RB |
6068 | 2013-01-14 Richard Biener <rguenther@suse.de> |
6069 | ||
6070 | * tree-cfg.c (verify_expr_location, verify_expr_location_1, | |
6071 | verify_location, collect_subblocks): New functions. | |
6072 | (verify_gimple_in_cfg): Verify that locations only reference | |
6073 | BLOCKs in the functions BLOCK tree. | |
6074 | ||
2724573f RB |
6075 | 2013-01-14 Richard Biener <rguenther@suse.de> |
6076 | ||
6077 | * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated | |
6078 | PHI argument. | |
6079 | * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly | |
6080 | unshare reference. | |
6081 | (insert_out_of_ssa_copy_on_edge): Likewise. | |
6082 | (rewrite_close_phi_out_of_ssa): Likewise. | |
6083 | * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare | |
6084 | debug expressions. | |
6085 | * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare | |
6086 | propagated constants. | |
6087 | * tree-cfg.c (tree_node_can_be_shared): Handled component-refs | |
6088 | can not be shared. | |
6089 | ||
9a0bbab6 GJL |
6090 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
6091 | ||
6092 | * config/avr/avr-modes.def: Add GPL copyright notice. | |
6093 | ||
45805f17 UB |
6094 | 2013-01-13 Uros Bizjak <ubizjak@gmail.com> |
6095 | ||
6096 | * config/i386/sync.md (mem_thread_fence): Mask operands[0] with | |
6097 | MEMMODEL_MASK to determine memory model. | |
6098 | (atomic_store<mode>): Ditto from operands[2]. | |
6099 | * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool. | |
6100 | ||
9d60be38 JJ |
6101 | 2013-01-13 Jakub Jelinek <jakub@redhat.com> |
6102 | ||
6103 | PR fortran/55935 | |
45805f17 | 6104 | * gimple-fold.c (get_symbol_constant_value): Call unshare_expr. |
9d60be38 JJ |
6105 | (fold_gimple_assign): Don't call unshare_expr here. |
6106 | (fold_ctor_reference): Call unshare_expr. | |
6107 | ||
e7f49d92 TG |
6108 | 2013-01-13 Terry Guo <terry.guo@arm.com> |
6109 | ||
aaf1e810 EB |
6110 | * Makefile.in (s-mlib): New argument MULTILIB_REUSE. |
6111 | * doc/fragments.texi: Document MULTILIB_REUSE. | |
6112 | * gcc.c (multilib_reuse): New internal spec. | |
e7f49d92 | 6113 | (set_multilib_dir): Also search multilib from multilib_reuse. |
aaf1e810 | 6114 | * genmultilib (tmpmultilib3): Refactor code. |
e7f49d92 TG |
6115 | (tmpmultilib4): Ditto. |
6116 | (multilib_reuse): New multilib argument. | |
6117 | ||
fbd03a27 RS |
6118 | 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com> |
6119 | ||
6120 | * Makefile.in: Update copyright. | |
6121 | ||
b3681f13 TV |
6122 | 2013-01-12 Tom de Vries <tom@codesourcery.com> |
6123 | ||
6124 | PR middle-end/55890 | |
6125 | * calls.c (expand_call): Check if arg_nr is valid. | |
6126 | ||
3f287e4b MM |
6127 | 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com> |
6128 | ||
6129 | * doc/extend.texi (X86 Built-in Functions): Add whitespace in | |
6130 | __builtin_ia32_paddb256 and __builtin_ia32_pavgb256 | |
5bc35113 MM |
6131 | documentation. Add missing '__' in front of |
6132 | __builtin_ia32_packssdw256. | |
3f287e4b | 6133 | |
1abcd5eb AK |
6134 | 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
6135 | ||
6136 | PR target/55719 | |
6137 | * config/s390/s390.c (s390_preferred_reload_class): Do not return | |
6138 | NO_REGS for larl operands. | |
6139 | (s390_reload_larl_operand): Use s390_load_address instead of | |
6140 | emit_move_insn. | |
6141 | ||
980d0812 RB |
6142 | 2013-01-11 Richard Biener <rguenther@suse.de> |
6143 | ||
6144 | * tree-cfg.c (verify_node_sharing_1): Split out from ... | |
6145 | (verify_node_sharing): ... here. | |
6146 | (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree. | |
6147 | ||
7cb9fd07 EB |
6148 | 2013-01-11 Eric Botcazou <ebotcazou@adacore.com> |
6149 | ||
6150 | * configure.ac (Tree checking): Set TREECHECKING to yes if enabled. | |
6151 | Substitute TREECHECKING. | |
6152 | * configure: Regenerate. | |
6153 | * Makefile.in (TREECHECKING): New. | |
6154 | ||
47876a2a | 6155 | 2013-01-11 Richard Guenther <rguenther@suse.de> |
c7ab2530 RG |
6156 | |
6157 | PR tree-optimization/44061 | |
6158 | * tree-vrp.c (extract_range_basic): Compute zero as | |
6159 | value-range for __builtin_constant_p of function parameters. | |
6160 | ||
d1e082c2 RS |
6161 | 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com> |
6162 | ||
45805f17 | 6163 | Update copyright years. |
d1e082c2 | 6164 | |
f85021b0 VM |
6165 | 2013-01-10 Vladimir Makarov <vmakarov@redhat.com> |
6166 | ||
9d60be38 | 6167 | PR rtl-optimization/55672 |
0160442c VM |
6168 | * lra-eliminations.c (mark_not_eliminable): Permit addition with |
6169 | const to be eliminable. | |
f85021b0 | 6170 | |
7a8b1ec4 DE |
6171 | 2013-01-10 David Edelsohn <dje.gcc@gmail.com> |
6172 | ||
6173 | * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix. | |
6174 | * configure: Regenerate. | |
6175 | ||
ad2e5b71 RB |
6176 | 2013-01-10 Richard Biener <rguenther@suse.de> |
6177 | ||
ddf9322d | 6178 | * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes. |
ad2e5b71 | 6179 | |
ffc5b2bb RB |
6180 | 2013-01-10 Richard Biener <rguenther@suse.de> |
6181 | ||
6182 | PR bootstrap/55792 | |
6183 | * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set | |
6184 | locations for virtual PHI arguments. | |
6185 | (rewrite_update_phi_arguments): Likewise. | |
6186 | ||
e1f674e4 JS |
6187 | 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com> |
6188 | ||
6189 | * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi | |
6190 | on to assembler. | |
6191 | ||
a57fc743 JJ |
6192 | 2013-01-10 Jakub Jelinek <jakub@redhat.com> |
6193 | ||
6194 | PR tree-optimization/55921 | |
6195 | * tree-complex.c (expand_complex_asm): New function. | |
6196 | (expand_complex_operations_1): Call it for GIMPLE_ASM. | |
6197 | ||
0ff4390d AK |
6198 | 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
6199 | ||
6200 | PR target/55718 | |
6201 | * config/s390/s390.c (s390_symref_operand_p) | |
6202 | (s390_loadrelative_operand_p): Merge the two functions. | |
6203 | (s390_check_qrst_address, print_operand_address): Add parameters | |
6204 | to s390_loadrelative_operand_p invokation. | |
6205 | (s390_check_symref_alignment): Use s390_loadrelative_operand_p. | |
6206 | (s390_reload_larl_operand, s390_secondary_reload): Use | |
6207 | s390_loadrelative_operand_p instead of s390_symref_operand_p. | |
6208 | (legitimize_pic_address): Handle @GOTENT and @PLT + addend. | |
6209 | ||
6f557e0e MS |
6210 | 2013-01-09 Mike Stump <mikestump@comcast.net> |
6211 | ||
6212 | * dse.c (record_store): Remove unnecessary assert. | |
6213 | ||
7770c9e9 JH |
6214 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
6215 | ||
6216 | PR tree-optimization/55569 | |
6217 | * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type. | |
6218 | * cfgloop.h (scale_loop_profile): Likewise. | |
6219 | ||
a19b1432 JH |
6220 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
6221 | ||
6222 | PR lto/45375 | |
ddf9322d UB |
6223 | * ipa-inline.c (ipa_inline): Remove extern inlines and virtual |
6224 | functions. | |
a19b1432 JH |
6225 | * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data. |
6226 | ||
9a002da8 RS |
6227 | 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com> |
6228 | ||
6229 | PR middle-end/55114 | |
6230 | * expr.h (maybe_emit_group_store): Declare. | |
6231 | * expr.c (maybe_emit_group_store): New function. | |
6232 | * builtins.c (expand_builtin_int_roundingfn): Call it. | |
6233 | (expand_builtin_int_roundingfn_2): Likewise. | |
6234 | ||
511dcace VM |
6235 | 2013-01-09 Vladimir Makarov <vmakarov@redhat.com> |
6236 | ||
e1f2b729 | 6237 | PR rtl-optimization/55829 |
511dcace VM |
6238 | * lra-constraints.c (match_reload): Add code for absent output. |
6239 | (curr_insn_transform): Add code for reloads of matched inputs | |
6240 | without output. | |
6241 | ||
7b0fe4f4 UB |
6242 | 2013-01-09 Uros Bizjak <ubizjak@gmail.com> |
6243 | ||
6244 | * config/i386/sse.md (*vec_interleave_highv2df): Change mode | |
6245 | attribute of movddup insn to DF. | |
6246 | (*vec_interleave_lowv2df): Ditto. | |
6247 | (vec_dupv2df): Ditto. | |
6248 | ||
870ca331 JH |
6249 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
6250 | ||
6251 | PR tree-optimiation/55875 | |
6252 | * tree-ssa-loop-niter.c (number_of_iterations_cond): Add | |
6253 | EVERY_ITERATION parameter. | |
7b0fe4f4 | 6254 | (number_of_iterations_exit): Check if exit is executed every iteration. |
870ca331 JH |
6255 | (idx_infer_loop_bounds): Similarly here. |
6256 | (n_of_executions_at_most): Simplify | |
6257 | to only test for cases where statement is dominated by the | |
7b0fe4f4 | 6258 | particular bound; handle correctly the "postdominance" test. |
870ca331 JH |
6259 | (scev_probably_wraps_p): Use max loop iterations info |
6260 | as a global bound first. | |
6261 | ||
6f575fe4 | 6262 | 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com> |
3cd232b5 NDD |
6263 | Nick Clifton <nickc@redhat.com> |
6264 | ||
6265 | * config/v850/v850.md (cbranchsf4): New pattern. | |
6266 | (cstoresf4): New pattern. | |
6267 | (cbranchdf4): New pattern. | |
6268 | (cstoredf4): New pattern. | |
6269 | (movsicc): Disallow floating point comparisons. | |
6270 | (cmpsf_le_insn): Fix order of operators. | |
6271 | (cmpsf_lt_insn): Likewise. | |
6272 | (cmpsf_eq_insn): Likewise. | |
6273 | (cmpdf_le_insn): Likewise. | |
6274 | (cmpdf_lt_insn): Likewise. | |
6275 | (cmpdf_eq_insn): Likewise. | |
6276 | (cmpsf_ge_insn): Use LE comparison. | |
6277 | (cmpdf_ge_insn): Likewise. | |
6278 | (cmpsf_gt_insn): Use LT comparison. | |
6279 | (cmpdf_gt_insn): Likewise. | |
6280 | (cmpsf_ne_insn): Delete pattern. | |
6281 | (cmpdf_ne_insn): Delete pattern. | |
6282 | * config/v850/v850.c (v850_gen_float_compare): Use | |
6283 | gen_cmpdf_eq_insn for NE comparison. | |
6284 | (v850_float_z_comparison_operator) | |
6285 | (v850_float_nz_comparison_operator): Move from here ... | |
6286 | * config/v850/predicates.md: ... to here. Move GT and GE | |
6287 | comparisons into v850_float_z_comparison_operator. | |
6288 | * config/v850/v850-protos.h (v850_float_z_comparison_operator): | |
6289 | Delete prototype. | |
6290 | (v850_float_nz_comparison_operator): Likewise. | |
6291 | ||
f0d54148 JDA |
6292 | 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6293 | ||
6294 | * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv | |
6295 | with calls to gen_insvsi/gen_insvdi. | |
6296 | ||
8f01beca VK |
6297 | 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com> |
6298 | ||
6299 | * config/i386/i386.c (initial_ix86_tune_features): Set up | |
6300 | X86_TUNE_AVX128_OPTIMAL for m_BTVER2. | |
6301 | ||
2aa579ad JJ |
6302 | 2013-01-09 Steven Bosscher <steven@gcc.gnu.org> |
6303 | Jakub Jelinek <jakub@redhat.com> | |
6304 | ||
6305 | PR tree-optimization/48189 | |
6306 | * predict.c (predict_loops): If max is 0, don't call compare_tree_int. | |
6307 | If nitercst is 0, don't predict the exit edge. | |
6308 | ||
6edc3e32 | 6309 | 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
01a3a324 N |
6310 | |
6311 | * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r | |
6312 | in asm_fprintf with reg_names. | |
6313 | (aarch64_print_operand_address): Likewise. | |
6314 | (aarch64_return_addr): Likewise. | |
6315 | * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove. | |
6316 | ||
f6f94d94 JDA |
6317 | 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6318 | ||
6319 | * config/pa/pa.h (VAL_U6_BITS_P): Define. | |
6320 | (INT_U6_BITS): Likewise. | |
6321 | * config/pa/predicates.md (uint6_operand): New predicate. | |
6322 | (shift5_operand, shift6_operand): Likewise. | |
6323 | * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of | |
6324 | arith32_operand. | |
6325 | (lshrdi3): Use shift6_operand. | |
6326 | (shrpsi4, shrpdi4): New insn patterns. | |
6327 | (extzv): Delete expander. | |
6328 | (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand | |
6329 | predicates in unamed zero extract patterns. Tighten common constraint. | |
6330 | (extv): Delete expander. | |
6331 | (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand | |
6332 | predicates in unamed sign extract patterns. Tighten common constraint. | |
6333 | (insv): Delete expander. | |
6334 | (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand | |
6335 | predicates in unamed insert patterns. Tighten common constraint. | |
6336 | Change uint32_operand predicate to uint6_operand predicate in unamed | |
6337 | DImode pattern to insert constant values of type 1...1xxxx. | |
6338 | ||
36b72910 JH |
6339 | 2013-01-04 Jan Hubicka <jh@suse.cz> |
6340 | ||
6341 | PR tree-optimization/55823 | |
7b0fe4f4 UB |
6342 | * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering |
6343 | issue. | |
36b72910 | 6344 | |
47876a2a | 6345 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
c6d851b9 JJ |
6346 | Uros Bizjak <ubizjak@gmail.com> |
6347 | ||
6348 | PR rtl-optimization/55845 | |
6349 | * df-problems.c (can_move_insns_across): Stop scanning at | |
6350 | volatile_insn_p source instruction or give up if | |
6351 | across_from .. across_to range contains any volatile_insn_p | |
6352 | instructions. | |
6353 | ||
4369c11e TB |
6354 | 2013-01-08 Tejas Belagod <tejas.belagod@arm.com> |
6355 | ||
7b0fe4f4 UB |
6356 | * config/aarch64/aarch64-simd.md (vec_init<mode>): New. |
6357 | * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init): | |
6358 | Declare. | |
4369c11e | 6359 | * config/aarch64/aarch64.c (aarch64_simd_dup_constant, |
7b0fe4f4 | 6360 | aarch64_simd_make_constant, aarch64_expand_vector_init): New. |
4369c11e | 6361 | |
aeb7e7c1 JJ |
6362 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
6363 | ||
6364 | PR fortran/55341 | |
6365 | * asan.c (asan_clear_shadow): New function. | |
6366 | (asan_emit_stack_protection): Use it. | |
6367 | ||
a02ad1aa TB |
6368 | 2013-01-08 Tejas Belagod <tejas.belagod@arm.com> |
6369 | ||
6370 | * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>, | |
6371 | aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand | |
6372 | with tab instead of space. | |
6373 | ||
f90d87f5 NC |
6374 | 2013-01-08 Nick Clifton <nickc@redhat.com> |
6375 | ||
6376 | * config/rl78/rl78.c (rl78_expand_prologue): Always select | |
6377 | register bank 0 at the start of an interrupt handler. | |
83ffd964 NC |
6378 | * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and |
6379 | MDBH registers. | |
f90d87f5 | 6380 | |
385eb93d JG |
6381 | 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com> |
6382 | ||
6383 | * config/aarch64/aarch64-simd.md | |
6384 | (aarch64_simd_bsl<mode>_internal): Add floating-point modes. | |
6385 | (aarch64_simd_bsl): Likewise. | |
6386 | (aarch64_vcond_internal<mode>): Likewise. | |
6387 | (vcond<mode><mode>): Likewise. | |
6388 | (aarch64_cm<cmp><mode>): Fix constraints, add new modes. | |
6389 | * config/aarch64/iterators.md (V_cmp_result): Add V2DF. | |
6390 | ||
4dcd1054 JG |
6391 | 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com> |
6392 | ||
6393 | * config/aarch64/aarch64-builtins.c | |
6394 | (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf. | |
6395 | ||
4267a4a6 MJ |
6396 | 2013-01-08 Martin Jambor <mjambor@suse.cz> |
6397 | ||
6398 | PR debug/55579 | |
6399 | * tree-sra.c (analyze_access_subtree): Return true also after | |
6400 | potentially creating a debug-only replacement. | |
6401 | ||
5f4e6de3 JJ |
6402 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
6403 | ||
3138f224 JJ |
6404 | PR middle-end/55890 |
6405 | * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p. | |
6406 | ||
5f4e6de3 JJ |
6407 | PR tree-optimization/54120 |
6408 | * tree-vrp.c (range_fits_type_p): Don't allow | |
6409 | src_precision < precision from signed vr to unsigned_p | |
6410 | if vr->min or vr->max is negative. | |
6411 | (simplify_float_conversion_using_ranges): Test can_float_p | |
6412 | against CODE_FOR_nothing. | |
6413 | ||
f3ef18ff JJ |
6414 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
6415 | Richard Biener <rguenther@suse.de> | |
6416 | ||
6417 | PR middle-end/55851 | |
6418 | * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P | |
6419 | types instead of just INTEGER_TYPE types. | |
6420 | ||
25c210f9 MK |
6421 | 2013-01-07 Mark Kettenis <kettenis@openbsd.org> |
6422 | ||
6423 | * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT, | |
6424 | TF_SIZE): Define. | |
f90d87f5 | 6425 | |
81826a7b SE |
6426 | 2013-01-07 Steve Ellcey <sellcey@mips.com> |
6427 | ||
6428 | PR target/42661 | |
6429 | * config/mips/mips.opt: Change mad to mmad to match documentation. | |
6430 | ||
35678514 GJL |
6431 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
6432 | ||
6433 | PR target/55897 | |
6434 | * doc/extend.texi (AVR Named Address Spaces): __memx goes into | |
6435 | .progmemx.data now. | |
6436 | ||
e5669488 GJL |
6437 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
6438 | ||
6439 | PR target/55897 | |
6440 | * config/avr/avr.h (ADDR_SPACE_COUNT): New enum. | |
6441 | (avr_addrspace_t): Add .section_name field. | |
6442 | * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as | |
6443 | array size. | |
6444 | (avr_addrspace): Same. Initialize .section_name. Remove last | |
6445 | NULL entry. Put __memx into .progmemx.data. | |
6446 | (progmem_section_prefix): Remove. | |
6447 | (avr_asm_init_sections): No need to initialize progmem_section. | |
6448 | (avr_asm_named_section): Use avr_addrspace[].section_name to get | |
6449 | section name prefix. | |
6450 | (avr_asm_select_section): Ditto. And use get_unnamed_section to | |
6451 | retrieve the progmem section. | |
6452 | * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop | |
6453 | boundary to run over avr_addrspace[]. | |
6454 | (avr_register_target_pragmas): Ditto. | |
6455 | ||
656e6f37 JJ |
6456 | 2013-01-06 Jakub Jelinek <jakub@redhat.com> |
6457 | ||
6458 | * varasm.c (output_constant_def_contents): For asan_protect_global | |
6459 | protected strings, adjust DECL_ALIGN if needed, before testing for | |
6460 | anchored symbols. | |
6461 | (place_block_symbol): Adjust size for asan protected STRING_CSTs if | |
6462 | TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected | |
6463 | normal decls. | |
6464 | (output_object_block): For asan protected decls, emit asan padding | |
6465 | after their contents. | |
6466 | * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here. | |
6467 | (asan_finish_file): Test it here instead. | |
6468 | ||
6edc3e32 UB |
6469 | 2013-01-07 Nick Clifton <nickc@redhat.com> |
6470 | Matthias Klose <doko@debian.org> | |
6471 | Doug Kwan <dougkwan@google.com> | |
6472 | H.J. Lu <hongjiu.lu@intel.com> | |
b352afba NC |
6473 | |
6474 | PR driver/55470 | |
6475 | * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold. | |
6476 | ||
6477 | * common.opt: Add fuse-ld=bfd and fuse-ld=gold. | |
6478 | ||
6479 | * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2. | |
6480 | ||
7b0fe4f4 | 6481 | * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold. |
b352afba NC |
6482 | |
6483 | * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold. | |
6484 | ||
2a095093 GJL |
6485 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
6486 | ||
f3b503f4 | 6487 | PR target/54461 |
2a095093 GJL |
6488 | * doc/install.texi (Cross-Compiler-Specific Options): Document |
6489 | --with-avrlibc. | |
6490 | ||
383f9b34 TB |
6491 | 2013-01-07 Tejas Belagod <tejas.belagod@arm.com> |
6492 | ||
6493 | * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32, | |
6494 | vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64, | |
6495 | vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16, | |
6496 | vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32, | |
6497 | vqmovun_high_s64): Fix source operand number and update copyright. | |
6498 | ||
3626621a RB |
6499 | 2013-01-07 Richard Biener <rguenther@suse.de> |
6500 | ||
6501 | PR middle-end/55890 | |
6502 | * gimple.h (gimple_call_builtin_p): New overload. | |
6503 | * gimple.c (validate_call): New function. | |
6504 | (gimple_call_builtin_p): Likewise. | |
6505 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
6506 | Use gimple_call_builtin_p. | |
6507 | (find_func_clobbers): Likewise. | |
6508 | * tree-ssa-strlen.c (adjust_last_stmt): Likewise. | |
6509 | (strlen_optimize_stmt): Likewise. | |
6510 | ||
8b2ea410 JG |
6511 | 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com> |
6512 | ||
6513 | * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const. | |
6514 | (vld1q_dup_*): Likewise. | |
6515 | (vld1_*): Likewise. | |
6516 | (vld1q_*): Likewise. | |
6517 | (vld1_lane_*): Likewise. | |
6518 | (vld1q_lane_*): Likewise. | |
6519 | ||
9713d329 RB |
6520 | 2013-01-07 Richard Biener <rguenther@suse.de> |
6521 | ||
6522 | * lto-streamer.h (LTO_minor_version): Bump to 2. | |
6523 | ||
3520f7cc JG |
6524 | 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com> |
6525 | ||
6526 | * config/aarch64/aarch64-protos.h | |
6527 | (aarch64_const_double_zero_rtx_p): Rename to... | |
6528 | (aarch64_float_const_zero_rtx_p): ...this. | |
6529 | (aarch64_float_const_representable_p): New. | |
6530 | (aarch64_output_simd_mov_immediate): Likewise. | |
6531 | * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor | |
6532 | move immediate case. | |
6533 | * config/aarch64/aarch64.c | |
6534 | (aarch64_const_double_zero_rtx_p): Rename to... | |
6535 | (aarch64_float_const_zero_rtx_p): ...this. | |
6536 | (aarch64_print_operand): Allow printing of new constants. | |
6537 | (aarch64_valid_floating_const): New. | |
6538 | (aarch64_legitimate_constant_p): Check for valid floating-point | |
6539 | constants. | |
6540 | (aarch64_simd_valid_immediate): Likewise. | |
6541 | (aarch64_vect_float_const_representable_p): New. | |
6542 | (aarch64_float_const_representable_p): Likewise. | |
6543 | (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0. | |
6544 | (aarch64_output_simd_mov_immediate): New. | |
6545 | * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative. | |
6546 | (*movdf_aarch64): Likewise. | |
6547 | * config/aarch64/constraints.md (Ufc): New. | |
6548 | (Y): call aarch64_float_const_zero_rtx. | |
6549 | * config/aarch64/predicates.md (aarch64_fp_compare_operand): New. | |
6550 | ||
e167c04d RB |
6551 | 2013-01-07 Richard Biener <rguenther@suse.de> |
6552 | ||
6553 | PR tree-optimization/55888 | |
6554 | PR tree-optimization/55862 | |
6555 | * tree-ssa-pre.c (phi_translate_1): Revert previous change. | |
6556 | (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT, | |
6557 | not if it is contained therein. | |
6558 | ||
0139aaab GJL |
6559 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
6560 | ||
6561 | * config/avr/t-avr: Typo. | |
6562 | ||
4a176b23 GJL |
6563 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
6564 | ||
6565 | PR55243 | |
6566 | * config/avr/t-avr: Don't automatically rebuild | |
6567 | $(srcdir)/config/avr/t-multilib | |
6568 | $(srcdir)/config/avr/avr-tables.opt | |
6569 | $(srcdir)/doc/avr-mmcu.texi | |
6570 | (avr-mcus): New phony target to build them on request. | |
6571 | (s-avr-mlib, s-avr-mmcu-texi): Remove. | |
6572 | * avr/avr-mcus.def: Adjust comments. | |
6573 | ||
c7afdc98 UB |
6574 | 2013-01-07 Uros Bizjak <ubizjak@gmail.com> |
6575 | ||
6576 | * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove. | |
6577 | ||
1ab05c31 RS |
6578 | 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
6579 | ||
6580 | * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder. | |
6581 | ||
488e3acc RS |
6582 | 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
6583 | ||
6584 | * config/tilepro/gen-mul-tables.cc: Put copyright on one line. | |
6585 | ||
a89599d2 DE |
6586 | 2013-01-05 David Edelsohn <dje.gcc@gmail.com> |
6587 | ||
6588 | * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling | |
6589 | to generate profiling. | |
6590 | * config/rs6000/aix64.h (LIB_SPEC): Same. | |
6591 | ||
70f09188 AP |
6592 | 2013-01-04 Andrew Pinski <apinski@cavium.com> |
6593 | ||
6594 | * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs): | |
6595 | New function. | |
6596 | (TARGET_FIXED_CONDITION_CODE_REGS): Define. | |
6597 | ||
918d445f UB |
6598 | 2013-01-04 Uros Bizjak <ubizjak@gmail.com> |
6599 | ||
6600 | * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode | |
6601 | unconditionally. | |
6602 | (ix86_expand_move): Ditto. | |
6603 | (ix86_zero_extend_to_Pmode): Ditto. | |
6604 | (ix86_expand_call): Ditto. | |
6605 | (ix86_expand_special_args_builtin): Ditto. | |
6606 | (ix86_expand_builtin): Ditto. | |
6607 | ||
361618ec RB |
6608 | 2013-01-04 Richard Biener <rguenther@suse.de> |
6609 | ||
6610 | PR tree-optimization/55862 | |
6611 | * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after | |
6612 | translating them through PHI nodes. | |
6613 | ||
87eab554 MJ |
6614 | 2013-01-04 Martin Jambor <mjambor@suse.cz> |
6615 | ||
6616 | PR tree-optimization/55755 | |
6617 | * tree-sra.c (sra_modify_assign): Do not check that an access has no | |
6618 | children when trying to avoid producing a VIEW_CONVERT_EXPR. | |
6619 | ||
33879b9f MP |
6620 | 2013-01-04 Marek Polacek <polacek@redhat.com> |
6621 | ||
6622 | PR middle-end/55859 | |
6623 | * opts.c (default_options_optimization): Clarify error message. | |
6624 | ||
3068819a RB |
6625 | 2013-01-04 Richard Biener <rguenther@suse.de> |
6626 | ||
6627 | PR middle-end/55863 | |
6628 | * fold-const.c (split_tree): Undo -X - 1 to ~X folding for | |
6629 | reassociation. | |
6630 | ||
0e4ae794 JDA |
6631 | 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6632 | ||
6633 | PR target/53789 | |
6634 | * config/pa/pa.md (movsi): Revert previous change. | |
e58d2e48 JDA |
6635 | * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol |
6636 | references. | |
0e4ae794 | 6637 | |
65c88cef RH |
6638 | 2013-01-03 Richard Henderson <rth@redhat.com> |
6639 | ||
6640 | * config/i386/i386.c (ix86_expand_move): Always assign to op1 | |
6641 | after eliminating TLS symbols. | |
6642 | ||
8ac16127 MG |
6643 | 2013-01-03 Marc Glisse <marc.glisse@inria.fr> |
6644 | ||
6645 | PR bootstrap/50167 | |
6646 | * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf. | |
6647 | * graphite-poly.c (debug_gmp_value): Likewise. | |
6648 | ||
bb664f09 UB |
6649 | 2013-01-03 Uros Bizjak <ubizjak@gmail.com> |
6650 | ||
6651 | PR target/55712 | |
6652 | * config/i386/i386-c.c (ix86_target_macros_internal): Depending on | |
6653 | selected code model, define __code_mode_small__, __code_model_medium__, | |
6654 | __code_model_large__, __code_model_32__ or __code_model_kernel__. | |
6655 | * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix | |
6656 | xchg temporary register with %k. Declare temporary register as | |
6657 | early clobbered. | |
6658 | [__x86_64__]: For medium and large code models, preserve %rbx register. | |
6659 | ||
bcf1ef00 RB |
6660 | 2013-01-03 Richard Biener <rguenther@suse.de> |
6661 | ||
0506634a | 6662 | * tree-data-ref.c (dump_conflict_function): Use less vertical spacing. |
bcf1ef00 RB |
6663 | (dump_subscript): Adjust. |
6664 | (finalize_ddr_dependent): Do not dump redundant info. | |
6665 | (analyze_siv_subscript): Adjust. | |
6666 | (subscript_dependence_tester): Likewise. | |
6667 | (compute_affine_dependence): Likewise. | |
6668 | ||
59fd17e3 RB |
6669 | 2013-01-03 Richard Biener <rguenther@suse.de> |
6670 | ||
6671 | Revert | |
6672 | 2013-01-03 Richard Biener <rguenther@suse.de> | |
6673 | ||
6674 | PR tree-optimization/55857 | |
6675 | * tree-vect-stmts.c (vectorizable_load): Do not setup | |
6676 | re-alignment for invariant loads. | |
6677 | ||
6678 | 2013-01-02 Richard Biener <rguenther@suse.de> | |
6679 | ||
6680 | * tree-vect-stmts.c (vectorizable_load): When vectorizing an | |
0506634a | 6681 | invariant load do not generate a vector load from the scalar location. |
59fd17e3 | 6682 | |
595c2679 RB |
6683 | 2013-01-03 Richard Biener <rguenther@suse.de> |
6684 | ||
6685 | * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason | |
6686 | for not vectorizing. | |
6687 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do | |
6688 | not build INDIRECT_REFs, call get_name once only. | |
6689 | (vect_create_data_ref_ptr): Likewise. Dump base object kind | |
6690 | based on DR_BASE_OBJECT, not DR_BASE_ADDRESS. | |
6691 | ||
90bb7d7a RB |
6692 | 2013-01-03 Richard Biener <rguenther@suse.de> |
6693 | ||
6694 | PR tree-optimization/55857 | |
6695 | * tree-vect-stmts.c (vectorizable_load): Do not setup | |
6696 | re-alignment for invariant loads. | |
6697 | ||
f09b77ca RB |
6698 | 2013-01-03 Richard Biener <rguenther@suse.de> |
6699 | ||
6700 | PR lto/55848 | |
6701 | * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always | |
6702 | prefer a built-in decl. | |
6703 | ||
3461a16e JJ |
6704 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
6705 | ||
df8e2b4f JJ |
6706 | * gcc.c (process_command): Update copyright notice dates. |
6707 | * gcov.c (print_version): Likewise. | |
6708 | * gcov-dump.c (print_version): Likewise. | |
6709 | ||
3461a16e JJ |
6710 | PR rtl-optimization/55838 |
6711 | * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on | |
6712 | iv0.step, iv1.step and step. | |
6713 | ||
8b5546d6 JJ |
6714 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
6715 | Marc Glisse <marc.glisse@inria.fr> | |
6716 | ||
6717 | PR tree-optimization/55832 | |
6718 | * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and | |
6719 | ABS_EXPR<x> < 0 folding use constant_boolean_node instead of | |
6720 | integer_{one,zero}_node. | |
6721 | ||
8ab1d2e9 JJ |
6722 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
6723 | ||
6724 | PR debug/54402 | |
6725 | * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param. | |
6726 | * var-tracking.c (reverse_op): Don't add reverse ops to | |
6727 | VALUEs that have already | |
0506634a | 6728 | PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list. |
8ab1d2e9 | 6729 | |
5b9ad1d4 GP |
6730 | 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com> |
6731 | ||
6732 | * doc/contrib.texi: Note years as release manager for Mark Mitchell. | |
6733 | ||
e25a6711 TJ |
6734 | 2013-01-02 Teresa Johnson <tejohnson@google.com> |
6735 | ||
6736 | * dumpfile.c (dump_loc): Print filename with location. | |
6737 | * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use | |
6738 | new location_t parameter to emit complete unroll message with | |
6739 | new dump framework. | |
6740 | (canonicalize_loop_induction_variables): Compute loops location | |
6741 | and pass to try_unroll_loop_completely. | |
6742 | * loop-unroll.c (report_unroll_peel): New function. | |
6743 | (peel_loops_completely): Use new dump format with location | |
6744 | for main dumpfile message, and invoke report_unroll_peel on success. | |
6745 | (decide_unrolling_and_peeling): Ditto. | |
6746 | (decide_peel_once_rolling): Remove old dumpfile message subsumed | |
6747 | by report_unroll_peel. | |
6748 | (decide_peel_completely): Ditto. | |
6749 | (decide_unroll_constant_iterations): Ditto. | |
6750 | (decide_unroll_runtime_iterations): Ditto. | |
6751 | (decide_peel_simple): Ditto. | |
6752 | (decide_unroll_stupid): Ditto. | |
6753 | * cfgloop.c (get_loop_location): New function. | |
6754 | * cfgloop.h (get_loop_location): Declare. | |
6755 | ||
77878621 ST |
6756 | 2013-01-02 Sriraman Tallam <tmsriram@google.com> |
6757 | ||
6758 | * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for | |
6759 | NULL. | |
6760 | ||
9e65d03e JDA |
6761 | 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6762 | ||
6763 | PR middle-end/55198 | |
6764 | * expr.c (expand_expr_real_1): Don't use bitfield extraction for non | |
6765 | BLKmode objects when EXPAND_MEMORY is specified. | |
6766 | ||
6a7da30f ST |
6767 | 2013-01-02 Sriraman Tallam <tmsriram@google.com> |
6768 | ||
6769 | * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug | |
6770 | in loop predicate. | |
6771 | (fold_builtin_cpu): Do not share cpu model decls across statements. | |
6772 | ||
e78167f2 JM |
6773 | 2013-01-02 Jason Merrill <jason@redhat.com> |
6774 | ||
6775 | PR c++/55804 | |
6776 | * tree.c (build_array_type_1): Revert earlier change. | |
6777 | ||
8c075fb4 YZ |
6778 | 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com> |
6779 | ||
6780 | * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and | |
6781 | "cortex-a57". | |
6782 | * config/aarch64/aarch64-tune.md: Re-generate. | |
6783 | ||
0682ed3e RB |
6784 | 2013-01-02 Richard Biener <rguenther@suse.de> |
6785 | ||
6786 | * tree-vect-stmts.c (vectorizable_load): When vectorizing an | |
0506634a | 6787 | invariant load do not generate a vector load from the scalar location. |
0682ed3e | 6788 | |
b8f6a302 RB |
6789 | 2013-01-02 Richard Biener <rguenther@suse.de> |
6790 | ||
6791 | PR bootstrap/55784 | |
6792 | * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS. | |
6793 | * configure: Regenerate. | |
6794 | ||
04b80dbb RS |
6795 | 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
6796 | ||
6797 | * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2) | |
6798 | (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3) | |
6799 | (expand_builtin_int_roundingfn_2): Keep the original target around | |
6800 | for the fallback case. | |
6801 | ||
635b0b0c RS |
6802 | 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
6803 | ||
6804 | * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int | |
6805 | to be clear for sign changes. | |
6806 | ||
42d57399 JH |
6807 | 2013-01-01 Jan Hubicka <jh@suse.cz> |
6808 | ||
6809 | * ipa-inline-analysis.c: Fix formatting. | |
6810 | ||
5bb6669d JJ |
6811 | 2013-01-01 Jakub Jelinek <jakub@redhat.com> |
6812 | ||
6813 | PR tree-optimization/55831 | |
6814 | * tree-vect-loop.c (get_initial_def_for_induction): Use | |
6815 | gsi_after_labels instead of gsi_start_bb. | |
ad41bd84 | 6816 | \f |
86a2db33 | 6817 | Copyright (C) 2013 Free Software Foundation, Inc. |
ad41bd84 JM |
6818 | |
6819 | Copying and distribution of this file, with or without modification, | |
6820 | are permitted in any medium without royalty provided the copyright | |
6821 | notice and this notice are preserved. |