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