]>
Commit | Line | Data |
---|---|---|
c6fc44f3 JJ |
1 | 2011-04-28 Jakub Jelinek <jakub@redhat.com> |
2 | ||
3 | PR middle-end/48597 | |
4 | * final.c (final_scan_insn): Call dwarf2out_frame_debug even for | |
5 | inline asm. | |
6 | ||
6c0170ea JM |
7 | 2011-04-28 Joseph Myers <joseph@codesourcery.com> |
8 | ||
9 | * config.gcc (*-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | | |
10 | *-*-kopensolaris*-gnu): Don't define SINGLE_LIBC. | |
11 | (i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | | |
12 | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu, | |
13 | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu): Don't use | |
14 | linux*.h headers. | |
15 | * config/gnu-user.h (TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): | |
16 | Define. | |
17 | * config/i386/gnu.h (MD_UNWIND_SUPPORT): Don't undefine. | |
18 | * config/i386/kfreebsd-gnu.h (MD_UNWIND_SUPPORT): Don't undefine. | |
19 | * config/i386/knetbsd-gnu.h (MD_UNWIND_SUPPORT): Don't undefine. | |
20 | * config/i386/kopensolaris-gnu.h (MD_UNWIND_SUPPORT): Don't | |
21 | undefine. | |
22 | * config/i386/linux-unwind.h (x86_fallback_frame_state): Don't use | |
23 | REG_NAME. | |
24 | * config/i386/linux.h (REG_NAME): Don't define. | |
25 | * config/i386/linux64.h (REG_NAME): Don't define. | |
26 | * config/linux.h (TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): | |
27 | Undefine before defining. | |
28 | ||
970dabbd JH |
29 | 2011-04-28 Jan Hubicka <jh@suse.cz> |
30 | ||
31 | * ipa-inline-analysis.c (will_be_nonconstant_predicate): Take nonconstant_names | |
32 | array. | |
33 | (estimate_function_body_sizes): Build nonconstant_names array; handle | |
34 | BUILT_IN_CONSTANT_P. | |
35 | ||
8d3e3924 RG |
36 | 2011-04-28 Richard Guenther <rguenther@suse.de> |
37 | ||
38 | PR bootstrap/48804 | |
39 | Revert | |
40 | 2011-04-28 Richard Guenther <rguenther@suse.de> | |
41 | ||
42 | * tree-ssa-structalias.c (solve_constraints): Build succ graph | |
43 | as late as possible. | |
44 | ||
8576f20a RG |
45 | 2011-04-28 Richard Guenther <rguenther@suse.de> |
46 | ||
47 | * tree-ssa-structalias.c (dump_constraint): Don't end the line. | |
48 | (debug_constraint): Do it here. | |
49 | (dump_constraints): And here. | |
50 | (rewrite_constraints): And here. | |
51 | (dump_constraint_edge): Remove. | |
52 | (dump_constraint_graph): Rewrite to produce DOT output. | |
53 | (solve_constraints): Build succ graph as late as possible. | |
54 | Dump constraint graphs before and after solving. | |
55 | ||
e38811ce RG |
56 | 2011-04-28 Richard Guenther <rguenther@suse.de> |
57 | ||
58 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
59 | New function split out from ... | |
60 | (find_func_aliases): ... here. Call it. | |
61 | (find_func_aliases_for_call): Likewise. | |
62 | ||
fbaf0d0c GDR |
63 | 2011-04-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
64 | ||
65 | * internal-fn.h (internal_fn_name_array): Declare. | |
66 | (internal_fn_flags_array): Likewise. | |
67 | ||
cbb734aa UB |
68 | 2011-04-27 Uros Bizjak <ubizjak@gmail.com> |
69 | ||
70 | * config/i386/i386.md (ssemodesuffix): Merge with ssevecsize, | |
71 | ssemodefsuffix, ssescalarmodesuffix and avxmodesuffixp. | |
72 | Move from sse.md. | |
73 | (ssemodefsuffix): Remove. | |
74 | (ssevecmodesuffix): New mode attribute. | |
75 | (fix_trunc<mode>di_sse, fix_trunc<mode>si_sse, | |
76 | *float<SSEMODEI24:mode><MODEF:mode>2_mixed_interunit, | |
77 | *float<SSEMODEI24:mode><MODEF:mode>2_mixed_nointerunit, | |
78 | *float<SSEMODEI24:mode><MODEF:mode>2_sse_interunit, | |
79 | *float<SSEMODEI24:mode><MODEF:mode>2_sse_nointerunit, setcc_<mode>_sse, | |
80 | *sqrt<mode>2_sse, sse4_1_round<mode>2, <smaxmin:code><mode>3, | |
81 | *ieee_smin<mode>3, *ieee_smax<mode>3): Adjust assembler templates for | |
82 | ssemodesuffix mode attribute. | |
83 | (float splitters): Use ssevecmodesuffix mode attribute. | |
84 | * config/i386/sse.md (ssescalarmode): Merge with avxscalarmode. | |
85 | (sseinsmode): Rename from avxvecmode. | |
86 | (avxsizesuffix): Rename from avxmodesuffix. | |
87 | (sseintvecmode): Rename from avxpermvecmode. | |
88 | (ssedoublevecmode): Rename from ssedoublesizemode. | |
89 | (ssehalfvecmode): Rename from avxhalfvecmode. | |
90 | (ssescalarmode): Rename from avxscalarmode. | |
91 | (<sse>_comi, <sse>_ucomi, sse4a_movnt<mode>): Adjust assembler | |
92 | templates for ssemodesuffix mode attribute. | |
93 | (*andnot<mode>3, *<any_logic:code><mode>3): Use ssevecmodesuffix | |
94 | mode attribute. | |
95 | ||
96 | Adjust RTX patterns globally for renamed mode attributes. | |
97 | ||
991278ab JH |
98 | 2011-04-27 Jan Hubcika <jh@suse.cz> |
99 | ||
100 | * ipa-inline.h (struct inline_edge_summary): Add predicate pointer. | |
101 | * ipa-inline-analysis.c: Include alloc-pool.h. | |
102 | (edge_predicate_pool): New. | |
103 | (trye_predicate_p): New function | |
104 | (false_predicate_p): New function. | |
105 | (add_clause): Sanity check that false clauses are "optimized"; | |
106 | never add clauses to predicate that is already known to be false. | |
107 | (and_predicate): Use flase_predicate_p. | |
108 | (evaulate_predicate): Rename to ... | |
109 | (evaluate_predicate): ... this one; update all callers; assert | |
110 | that false is not listed among possible truths. | |
111 | (dump_predicate): Use true_predicate_p. | |
112 | (account_size_time): Use false_predicate_p. | |
113 | (evaulate_conditions_for_edge): Rename to ... | |
114 | (evaluate_conditions_for_edge) ... this one. | |
115 | (edge_set_predicate): New function. | |
116 | (inline_edge_duplication_hook): Duplicate edge predicates. | |
117 | (inline_edge_removal_hook): Free edge predicates. | |
cbb734aa | 118 | (dump_inline_edge_summary): Add INFO parameter; dump edge predicates. |
991278ab JH |
119 | (dump_inline_summary): Update. |
120 | (estimate_function_body_sizes): Set edge predicates. | |
121 | (estimate_calls_size_and_time): Handle predicates. | |
122 | (estimate_callee_size_and_time): Update. | |
123 | (remap_predicate): Add toplev_predicate; update comment. | |
124 | (remap_edge_predicates): New function. | |
125 | (inline_merge_summary): Compute toplev predicate; update. | |
126 | (read_predicate): New function. | |
127 | (read_inline_edge_summary): Use it. | |
128 | (inline_read_section): Likewise. | |
129 | (write_predicate): New function. | |
130 | (write_inline_edge_summary): Use it. | |
131 | (inline_write_summary): Likewise. | |
132 | (inline_free_summary): Free alloc pool and edge summary vec. | |
133 | ||
648b5f85 RG |
134 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
135 | ||
136 | * tree-ssa-structalias.c (changed_count): Remove. | |
137 | (changed): Use a bitmap. | |
138 | (unify_nodes): Adjust. | |
139 | (do_sd_constraint): Likewise. | |
140 | (do_ds_constraint): Likewise. | |
141 | (do_complex_constraint): Likewise. | |
142 | (solve_graph): Likewise. | |
143 | ||
4d5dcfb2 JH |
144 | 2011-04-27 Jan Hubicka <jh@suse.cz> |
145 | ||
146 | * cgraphunit.c (cgraph_process_new_functions): Fix ordering issue. | |
147 | ||
200eb7d2 UB |
148 | 2011-04-27 Uros Bizjak <ubizjak@gmail.com> |
149 | ||
150 | * config/i386/predicates.md (avx_vpermilp_*_operand): Remove. | |
151 | (avx_vperm2f128_*_operand): Ditto. | |
152 | * config/i386/sse.md (*avx_vpermilp<mode>): Remove operand2 predicate. | |
153 | Use avx_vpermilp_parallel in insn condition. | |
154 | (*avx_vperm2f128<mode>_nozero): Remove operand3 predicate. | |
155 | Use avx_vperm2f128_parallel in insn condition. | |
156 | ||
7d6e2521 RG |
157 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
158 | ||
159 | * Makefile.in (tree-ssa-structalias.o): Remove | |
160 | gt-tree-ssa-structalias.h dependency. | |
161 | (GTFILES): Remove tree-ssa-structalias.c. | |
162 | * tree.c (allocate_decl_uid): New function. | |
163 | (make_node_stat): Use it. | |
164 | (copy_node_stat): Likewise. | |
165 | * tree.h (allocate_decl_uid): Declare. | |
166 | * tree-ssa-alias.h (delete_alias_heapvars): Remove. | |
167 | * tree-ssa.c (delete_tree_ssa): Do not call delete_alias_heapvars. | |
168 | * tree-flow.h (struct var_ann_d): Remove is_heapvar flag. | |
200eb7d2 | 169 | * tree-ssa-live.c (remove_unused_locals): Do not check is_heapvar flag. |
7d6e2521 RG |
170 | * tree-ssa-structalias.c (heapvar_for_stmt): Remove. |
171 | (struct heapvar_map): Likewise. | |
172 | (heapvar_map_eq, heapvar_map_hash, heapvar_lookup, | |
173 | heapvar_insert): Likewise. | |
174 | (make_heapvar_for): Rename to ... | |
175 | (make_heapvar): ... this. Simplify. | |
176 | (fake_var_decl_obstack): New global var. | |
177 | (build_fake_var_decl): New function. | |
178 | (make_constraint_from_heapvar): Adjust. | |
179 | (handle_lhs_call): Likewise. | |
180 | (create_function_info_for): Likewise. | |
181 | (intra_create_variable_infos): Likewise. | |
182 | (init_alias_vars): Allocate fake_var_decl_obstack. | |
183 | (init_alias_heapvars, delete_alias_heapvars): Remove. | |
184 | (compute_points_to_sets): Do not call init_alias_heapvars. | |
185 | (ipa_pta_execute): Likewise. | |
186 | (delete_points_to_sets): Free fake_var_decl_obstack. | |
187 | ||
526ed6c2 UW |
188 | 2011-04-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
189 | ||
190 | * config/spu/divmovti4.c (union qword_UTItype): New data type. | |
191 | (si_from_UTItype, si_to_UTItype): New functions. | |
192 | (__udivmodti4): Use them to implement type-punning. | |
193 | * config/spu/multi3.c (union qword_TItype): New data type. | |
194 | (si_from_TItype, si_to_TItype): New functions. | |
195 | (__multi3): Use them to implement type-punning. | |
196 | ||
c187d33c UW |
197 | 2011-04-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
198 | ||
199 | * config/spu/spu.c (spu_expand_epilogue): Do not emit barrier. | |
200 | ||
40982661 JH |
201 | 2011-04-27 Jan Hubicka <jh@suse.cz> |
202 | ||
203 | * ipa-prop.c (function_insertion_hook_holder): New holder. | |
204 | (ipa_add_new_function): New function. | |
200eb7d2 UB |
205 | (ipa_register_cgraph_hooks, ipa_unregister_cgraph_hooks): |
206 | Register/deregister holder. | |
40982661 | 207 | |
9aef53ee RG |
208 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
209 | ||
210 | PR tree-optimization/48772 | |
200eb7d2 | 211 | * tree-ssa-pre.c (eliminate): Update call stmts after elimination only. |
9aef53ee | 212 | |
f63d806d RG |
213 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
214 | ||
215 | * tree-ssa-alias.c (indirect_refs_may_alias_p): Fix | |
216 | TARGET_MEM_REF handling. | |
217 | ||
e1ea7451 NC |
218 | 2011-04-27 Nick Clifton <nickc@redhat.com> |
219 | ||
9b5db25d NC |
220 | * config/frv/frv.h (enum reg_class): Delete EVEN_ACC_REGS, |
221 | ACC_REGS, FEVEN_REGS, FPR_REGS, EVEN_REGS. | |
222 | (REG_CLASS_NAMES): Likewise. | |
223 | (REG_CLASS_CONTENTS): Likewise. | |
224 | (EVEN_ACC_REGS): New macro. Alias for QUAD_ACC_REGS. | |
225 | (ACC_REGS): New macro. Alias for QUAD_ACC_REGS. | |
226 | (FEVEN_REGS): New macro. Alias for QUAD_ACC_REGS. | |
227 | (FPR_REGS): New macro. Alias for QUAD_ACC_REGS. | |
228 | (EVEN_REGS): New macro. Alias for QUAD_REGS. | |
229 | * config/frv/frv.c (frv_secondary_reload_class): Remove use of | |
230 | duplicate register classes. | |
97d20907 | 231 | (frv_class_likely_spilled_p): Likewise. |
9b5db25d NC |
232 | (frv_register_move_cost): Likewise. |
233 | ||
e1ea7451 NC |
234 | * config/mcore/mcore.h (REGNO_REG_CLASS): Do not index beyond the |
235 | end of the regno_reg_class array. | |
236 | ||
5c2f94b4 JJ |
237 | 2011-04-27 Jakub Jelinek <jakub@redhat.com> |
238 | ||
239 | PR c/48742 | |
240 | * c-typeck.c (build_binary_op): Don't wrap arguments if | |
241 | int_operands is true. | |
242 | ||
57a944d7 KK |
243 | 2011-04-26 Kaz Kojima <kkojima@gcc.gnu.org> |
244 | ||
245 | PR target/48767 | |
246 | * config/sh/sh.c (sh_gimplify_va_arg_expr): Don't call | |
247 | targetm.calls.must_pass_in_stack for void type. | |
248 | ||
898b8927 JH |
249 | 2011-04-26 Jan Hubicka <jh@suse.cz> |
250 | ||
251 | * cgraphbuild.c (build_cgraph_edges): Update call | |
252 | of cgraph_create_edge and cgraph_create_indirect_edge. | |
253 | * cgraph.c (cgraph_create_edge_including_clones, | |
254 | cgraph_create_edge_1, cgraph_allocate_init_indirect_info, | |
255 | cgraph_update_edges_for_call_stmt_node): Do not take nest | |
256 | argument; do not initialize call_stmt_size/time. | |
257 | (dump_cgraph_node): Do not dump nest. | |
258 | (cgraph_clone_edge): Do not take loop_nest argument; | |
259 | do not propagate it; do not clone call_stmt_size/time. | |
260 | (cgraph_clone_node): Likewise. | |
261 | (cgraph_create_virtual_clone): Update. | |
262 | * cgraph.h (struct cgraph_edge): Remove | |
263 | call_stmt_size/call_stmt_time/loop_nest. | |
264 | (cgraph_create_edge, cgraph_create_indirect_edge, | |
265 | cgraph_create_edge_including_clones, cgraph_clone_node): Update | |
266 | prototype. | |
267 | * tree-emutls.c (gen_emutls_addr): Update. | |
268 | * ipa-inline-transform.c (update_noncloned_frequencies): Do not handle | |
269 | loop_nest; handle indirect calls, too. | |
270 | (clone_inlined_nodes): Do not care about updating inline summaries. | |
271 | * cgraphunit.c (cgraph_copy_node_for_versioning): Update. | |
272 | * lto-cgraph.c (lto_output_edge, input_node, input_edge): Do not | |
273 | stream call_stmt_size/call_stmt_time/loop_nest. | |
274 | * ipa-inline.c (edge_badness): Update. | |
275 | (ipa_inline): dump summaries after inlining. | |
276 | * ipa-inline.h (struct inline_edge_summary, inline_edge_summary_t): | |
200eb7d2 | 277 | New. |
898b8927 JH |
278 | (inline_edge_summary): New function. |
279 | * ipa-inline-analysis.c (edge_duplication_hook_holder): New holder. | |
280 | (inline_edge_removal_hook): Handle edge summaries. | |
281 | (inline_edge_duplication_hook): New hook. | |
282 | (inline_summary_alloc): Alloc hooks. | |
283 | (initialize_growth_caches): Do not register removal hooks. | |
284 | (free_growth_caches); Do not free removal hook. | |
285 | (dump_inline_edge_summary): New function. | |
286 | (dump_inline_summary): Use it. | |
287 | (estimate_function_body_sizes, estimate_edge_size_and_time): Update. | |
288 | (inline_update_callee_summaries): New function. | |
289 | (inline_merge_summary): Use it. | |
290 | (do_estimate_edge_time, do_estimate_edge_growth): Update. | |
291 | (read_inline_edge_summary): New function. | |
292 | (inline_read_section): Use it. | |
293 | (write_inline_edge_summary): New function. | |
294 | (inline_write_summary): Use it. | |
295 | (inline_free_summary): Free edge new holders. | |
296 | * tree-inline.c (copy_bb): Update. | |
297 | ||
ffa03772 JM |
298 | 2011-04-26 Jason Merrill <jason@redhat.com> |
299 | ||
300 | * tree-eh.c (lower_try_finally_switch): Create the label along with | |
301 | the CASE_LABEL_EXPR. | |
302 | ||
6d7b45ad DM |
303 | 2011-04-26 David S. Miller <davem@davemloft.net> |
304 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
305 | ||
306 | * configure.ac (gcc_cv_as_sparc_gotdata_op): Specify alignment. | |
307 | * configure: Regenerate. | |
308 | ||
df10b6d4 MM |
309 | 2011-04-26 Michael Meissner <meissner@linux.vnet.ibm.com> |
310 | ||
311 | PR target/48258 | |
312 | * config/rs6000/vector.md (UNSPEC_REDUC): New unspec for vector | |
313 | reduction. | |
314 | (VEC_reduc): New code iterator and splitters for vector reduction. | |
315 | (VEC_reduc_name): Ditto. | |
316 | (VEC_reduc_rtx): Ditto. | |
317 | (reduc_<VEC_reduc_name>_v2df): Vector reduction expanders for VSX. | |
318 | (reduc_<VEC_reduc_name>_v4sf): Ditto. | |
319 | ||
320 | * config/rs6000/rs6000.c (rs6000_expand_vector_extract): Add | |
321 | support for extracting SF on VSX. | |
322 | ||
323 | * config/rs6000/vsx.md (vsx_xscvspdp_scalar2): New insn for | |
324 | generating xscvspdp. | |
325 | (vsx_extract_v4sf): New insn to extract SF from V4SF vector. | |
326 | (vsx_reduc_<VEC_reduc_name>_v2df): New insns and splitters for | |
327 | double add, minimum, maximum vector reduction. | |
328 | (vsx_reduc_<VEC_reduc_name>_v4sf): Ditto. | |
329 | (vsx_reduc_<VEC_reduc_name>_v2df2_scalar): New combiner insn to | |
330 | optimize double vector reduction. | |
331 | (vsx_reduc_<VEC_reduc_name>_v4sf_scalar): Ditto. | |
332 | ||
35a5db04 JM |
333 | 2011-04-26 Joseph Myers <joseph@codesourcery.com> |
334 | ||
335 | * config/fr30/fr30.h (inhibit_libc): Don't define. | |
336 | * config/m32r/m32r-protos.h: Correct comment. | |
337 | * config/v850/v850.h (GHS_default_section_names, | |
338 | GHS_current_section_names): Use tree, not union tree_node *. | |
339 | ||
2f964ad6 XDL |
340 | 2011-04-26 Xinliang David Li <davidxl@google.com> |
341 | ||
200eb7d2 | 342 | * tree-ssa-uninit.c (warn_uninitialized_phi): Pass warning code. |
2f964ad6 XDL |
343 | * c-family/c-opts.c (c_common_handle_option): Set |
344 | warn_maybe_uninitialized. | |
345 | * opts.c (common_handle_option): Ditto. | |
346 | * common.opt: New option. | |
347 | * tree-ssa.c (warn_uninit): Add one more parameter. | |
348 | (warn_uninitialized_var): Pass warning code. | |
349 | * tree-flow.h: Interface change. | |
350 | ||
351 | ||
9c7bd91a RO |
352 | 2011-04-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
353 | ||
200eb7d2 | 354 | * config/mips/iris6.h (LOCAL_LABEL_PREFIX): Don't test TARGET_NEWABI. |
9c7bd91a RO |
355 | (WINT_TYPE_SIZE): Use INT_TYPE_SIZE. |
356 | (TARGET_OS_CPP_BUILTINS): Remove TARGET_IRIX6 guards. | |
357 | ||
c2f36e21 RO |
358 | 2011-04-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
359 | ||
360 | * config/mips/mips.h (DBX_OUTPUT_SOURCE_LINE): Remove. | |
361 | * config/mips/mips.opt (mmips-tfile): Remove. | |
362 | ||
363 | * doc/install.texi (Specific, mips-*-*): Move mips-tfile, | |
364 | mips-tdump reference to ... | |
200eb7d2 | 365 | (Specific, alpha*-dec-osf5.1): ... here. Adapt for Tru64 UNIX. |
c2f36e21 RO |
366 | * doc/trouble.texi (Cross-Compiler Problems): Replace MIPS |
367 | reference by Tru64 UNIX. | |
368 | ||
2c9da85b JJ |
369 | 2011-04-26 Jakub Jelinek <jakub@redhat.com> |
370 | ||
0c5f6539 JJ |
371 | PR debug/48768 |
372 | * tree-ssa.c (insert_debug_temp_for_var_def): If degenerate_phi_result | |
373 | is error_mark_node, set value to NULL. | |
374 | ||
2c9da85b JJ |
375 | PR tree-optimization/48734 |
376 | * tree-ssa-reassoc.c (eliminate_redundant_comparison): Give up | |
377 | if return value from maybe_fold_*_comparsions isn't something | |
378 | the code is prepared to handle. | |
379 | ||
77fa1d54 UB |
380 | 2011-04-26 Uros Bizjak <ubizjak@gmail.com> |
381 | ||
382 | * config/i386/predicates.md (ext_QIreg_operand): Remove extra | |
383 | mode check. | |
384 | (ext_QIreg_nomode_operands): Remove. | |
385 | * config/i386/i386.md (*anddi_1): Use ext_QIreg_operand. | |
386 | (*andsi_1): Ditto. | |
387 | (*andhi_1): Ditto. | |
388 | ||
0e2a6c2b AS |
389 | 2011-04-26 Andrew Stubbs <ams@codesourcery.com> |
390 | ||
391 | * config/arm/arm.c (arm_gen_constant): Remove can_negate_initial. | |
392 | ||
961562d8 RB |
393 | 2011-04-26 Richard Guenther <rguenther@suse.de> |
394 | ||
395 | * c-typeck.c (build_unary_op): Do not expand array-refs via | |
396 | pointer arithmetic. Only adjust qualifiers for function types. | |
397 | ||
398 | 2011-04-26 Richard Guenther <rguenther@suse.de> | |
399 | ||
400 | PR middle-end/48694 | |
401 | * tree.h (OEP_CONSTANT_ADDRESS_OF): New operand_equal_flag. | |
402 | * fold-const.c (operand_equal_p): For TREE_CONSTANT ADDR_EXPRs | |
77fa1d54 UB |
403 | compare the operands with OEP_CONSTANT_ADDRESS_OF. Treat trees |
404 | with TREE_SIDE_EFFECTS equal when OEP_CONSTANT_ADDRESS_OF is set. | |
961562d8 | 405 | |
a0d260fc PC |
406 | 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com> |
407 | ||
77fa1d54 | 408 | * c-family/c-common.c (struct c_common_resword): Add __underlying_type. |
a0d260fc | 409 | * c-family/c-common.h (enum rid): Add RID_UNDERLYING_TYPE. |
74e883ce | 410 | * doc/extend.texi: Document __underlying_type. |
a0d260fc | 411 | |
4d583bb9 SB |
412 | 2011-04-25 Segher Boessenkool <segher@kernel.crashing.org> |
413 | ||
414 | * config/rs6000/titan.md (automata_option "progress"): Remove. | |
415 | ||
1f3fcdc3 JL |
416 | 2011-04-25 Jeff Law <law@redhat.com> |
417 | ||
418 | * tree-vrp.c (identify_jump_threads): Handle GIMPLE_SWITCH too. | |
419 | ||
e5b0dad8 JK |
420 | 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
421 | ||
422 | * system.h (ENUM_BITFIELD): Remove. | |
423 | ||
5157a881 MK |
424 | 2011-04-25 Maxim Kuvyrkov <maxim@codesourcery.com> |
425 | Eric Botcazou <ebotcazou@adacore.com> | |
426 | ||
427 | * combine.c (combine_simplify_rtx): Avoid mis-simplifying conditionals | |
428 | for STORE_FLAG_VALUE==-1 case. | |
429 | ||
ed4c109e RS |
430 | 2011-04-24 Richard Sandiford <richard.sandiford@linaro.org> |
431 | ||
432 | PR target/43804 | |
433 | * config/m68k/constraints.md (T): Allow PIC operands that satisfy | |
434 | LEGITIMATE_PIC_OPERAND_P. | |
435 | ||
f3181aa2 JH |
436 | 2011-04-24 Jan Hubicka <jh@suse.cz> |
437 | ||
438 | * ipa-prop.c (ipa_propagate_indirect_call_infos): Remove obsolette | |
439 | WPA hack. | |
77fa1d54 UB |
440 | * ipa-prop.h (ipa_get_param, ipa_is_param_used, |
441 | ipa_param_cannot_devirtualize_p, ipa_param_types_vec_empty, | |
442 | ipa_get_ith_jump_func, ipa_get_lattice): Fortify array bounds. | |
f3181aa2 JH |
443 | * ipa-inline-analysis.c (add_clause): Fix clause ordering. |
444 | (and_predicates, or_predicates, predicates_equal_p, evaulate_predicate): | |
445 | Sanity check predicate length. | |
446 | (remap_predicate): Likewise; sanity check jump functions. | |
447 | (inline_read_section, inline_write_summary): Sanity check | |
448 | predicate length. | |
449 | ||
5307cbaa PC |
450 | 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
451 | ||
452 | PR other/48748 | |
453 | * doc/extend.texi (Type Traits): Document __is_standard_layout, | |
454 | __is_literal_type, and __is_trivial; update throughout about | |
455 | possibly cv-qualified void types. | |
456 | ||
bebd5f99 GP |
457 | 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com> |
458 | ||
459 | * doc/sourcebuild.texi (Ada Tests): Adjust reference to ACATS | |
460 | testsuite and make it version agnostic. | |
461 | ||
7ee28a74 JH |
462 | 2011-04-22 Jan Hubicka <jh@suse.cz> |
463 | ||
464 | * ipa-inline-analysis.c (inline_write_summary): Fix thinko. | |
465 | ||
16997bc0 JJ |
466 | 2011-04-23 Jakub Jelinek <jakub@redhat.com> |
467 | ||
468 | PR c/48685 | |
469 | * fold-const.c (fold_convert_loc): Add NOP_EXPR when casting | |
470 | to VOID_TYPE even around MODIFY_EXPR. | |
471 | ||
f94d4ab1 MS |
472 | 2011-04-22 Mike Stump <mikestump@comcast.net> |
473 | ||
1a84c183 | 474 | * gensupport.c (read_md_rtx): Fix typo in comment. |
f94d4ab1 MS |
475 | * config/cris/cris.opt (moverride-best-lib-options): Fix typo in |
476 | comment. | |
477 | ||
632b4f8e JH |
478 | 2011-04-22 Jan Hubicka <jh@suse.cz> |
479 | ||
480 | * gengtype.c (open_base_files): Add ipa-inline.h include. | |
77fa1d54 UB |
481 | * ipa-cp.c (ipcp_get_lattice, ipcp_lattice_from_jfunc): Move to |
482 | ipa-prop.c; update all uses. | |
632b4f8e | 483 | * ipa-prop.c: (ipa_get_lattice, ipa_lattice_from_jfunc): ... here. |
77fa1d54 UB |
484 | * ipa-inline-transform.c (inline_call): Use inline_merge_summary to |
485 | merge summary of inlined function into former caller. | |
632b4f8e JH |
486 | * ipa-inline.c (max_benefit): Remove. |
487 | (edge_badness): Compensate for removal of benefits. | |
77fa1d54 UB |
488 | (update_caller_keys): Use |
489 | reset_node_growth_cache/reset_edge_growth_cache. | |
632b4f8e JH |
490 | (update_callee_keys): Likewise. |
491 | (update_all_callee_keys): Likewise. | |
77fa1d54 UB |
492 | (inline_small_functions): Do not collect max_benefit; do not reset |
493 | estimated_growth; call free_growth_caches and initialize_growth_caches. | |
494 | * ipa-inline.h (struct condition, type clause_t, struct predicate, | |
495 | struct size_time_entry): New structures. | |
632b4f8e | 496 | (INLINE_SIZE_SCALE, INLINE_TIME_SCALE, MAX_CLAUSES): New constants. |
77fa1d54 UB |
497 | (inline_summary): Remove size_inlining_benefit, time_inlining_benefit |
498 | and estimated_growth. | |
632b4f8e JH |
499 | (edge_growth_cache_entry): New structure. |
500 | (node_growth_cache, edge_growth_cache): New global vars. | |
501 | (estimate_growth): Turn into inline. | |
502 | (inline_merge_summary, do_estimate_edge_growth, do_estimate_edge_time, | |
503 | initialize_growth_caches, free_growth_caches): Declare. | |
504 | (estimate_edge_growth): Rewrite. | |
505 | (estimate_edge_time): Implement as inline cache lookup. | |
77fa1d54 UB |
506 | (reset_node_growth_cache, reset_edge_growth_cache): New inline |
507 | functions. | |
632b4f8e JH |
508 | (MAX_TIME): Reduce to allow multiplicatoin by INLINE_SIZE_SCALE. |
509 | (NUM_CONDITIONS): New constant. | |
510 | (predicate_conditions): New enum. | |
511 | (IS_NOT_CONSTANT): New constant. | |
512 | (edge_removal_hook_holder): New var. | |
513 | (node_growth_cache, edge_growth_cache): New global vars. | |
77fa1d54 UB |
514 | (true_predicate, single_cond_predicate, false_predicate, |
515 | not_inlined_predicate, add_condition, add_clause, and_predicates, | |
516 | or_predicates, predicates_equal_p, evaulate_predicate, dump_condition, | |
517 | dump_clause, dump_predicate, account_size_time, | |
632b4f8e JH |
518 | evaulate_conditions_for_edge): New functions. |
519 | (inline_summary_alloc): Move to heap. | |
520 | (inline_node_removal_hook): Clear condition and entry vectors. | |
521 | (inline_edge_removal_hook): New function. | |
522 | (initialize_growth_caches, free_growth_caches): New function. | |
523 | (dump_inline_summary): Update. | |
524 | (edge_execution_predicate): New function. | |
525 | (will_be_nonconstant_predicate): New function. | |
526 | (estimate_function_body_sizes): Compute BB and constantness predicates. | |
527 | (compute_inline_parameters): Do not clear estimated_growth. | |
528 | (estimate_edge_size_and_time): New function. | |
529 | (estimate_calls_size_and_time): New function. | |
530 | (estimate_callee_size_and_time): New function. | |
531 | (remap_predicate): New function. | |
532 | (inline_merge_summary): New function. | |
533 | (do_estimate_edge_time): New function based on... | |
534 | (estimate_edge_time): ... this one. | |
535 | (do_estimate_edge_growth): New function. | |
536 | (do_estimate_growth): New function based on.... | |
537 | (estimate_growth): ... this one. | |
538 | (inline_analyze_function): Analyze after deciding on jump functions. | |
539 | (inline_read_section): New function. | |
540 | (inline_read_summary): Use it. | |
541 | (inline_write_summary): Write all the new data. | |
542 | * ipa-prop.c (ipa_get_param_decl_index): Export. | |
543 | (ipa_lattice_from_jfunc): Move here from ipa-cp.c | |
77fa1d54 UB |
544 | * ipa-prop.h (ipa_get_param_decl_index, ipa_lattice_from_jfunc): |
545 | Declare. | |
546 | (ipa_get_lattice): Move here from ipa-cp.c | |
632b4f8e JH |
547 | * Makefile.in (GTFILES): Add ipa-inline.h and ipa-inline-analysis.c |
548 | * params.def (PARAM_EARLY_INLINING_INSNS): Set to 11. | |
549 | * cgraph.h (cgraph_clone_inlined_nodes, compute_inline_parameters, | |
550 | cgraph_edge_inlinable_p): Remove. | |
551 | * cgraphunit.c: Include ipainline.h | |
77fa1d54 UB |
552 | (cgraph_process_new_functions): Update call of |
553 | compute_inline_parameters. | |
632b4f8e | 554 | |
1df5b0db RG |
555 | 2011-04-22 Richard Guenther <rguenther@suse.de> |
556 | ||
557 | * tree.c (build_int_cst): Properly create canonicalized integer | |
558 | constants. | |
559 | (build_int_cst_type): Remove scary comments. | |
560 | ||
ae01169c XDL |
561 | 2011-04-22 Xinliang David Li <davidxl@google.com> |
562 | ||
563 | * toplev.c (process_options): Enable -Werror=coverage-mismatch | |
564 | by default when -Wno-error is not specified. | |
565 | * opts-global.c (decode_options): Remove call to | |
566 | control_warning_options. | |
567 | ||
93dfac24 JJ |
568 | 2011-04-22 Jakub Jelinek <jakub@redhat.com> |
569 | ||
570 | PR tree-optimization/48717 | |
571 | * tree-ssa-forwprop.c (associate_plusminus): For A + ~A and | |
572 | ~A + A optimizations use build_int_cst_type instead of build_int_cst. | |
573 | ||
1b5f5069 JM |
574 | 2011-04-22 Joseph Myers <joseph@codesourcery.com> |
575 | ||
576 | * config/bfin/bfin-protos.h (Mmode): Don't define. Expand | |
577 | definition where used. | |
578 | ||
144f4153 JJ |
579 | 2011-04-22 Jakub Jelinek <jakub@redhat.com> |
580 | ||
581 | PR c/48716 | |
582 | * gimplify.c (gimplify_bind_expr): Mark as GOVD_LOCAL also | |
583 | TREE_STATIC variables declared inside of some OpenMP construct. | |
584 | ||
f9fd305b MJ |
585 | 2011-04-22 Martin Jambor <mjambor@suse.cz> |
586 | ||
587 | PR middle-end/48585 | |
1d284ec5 | 588 | * tree-inline.c (copy_bb): Create new edges only for analyzed nodes. |
f9fd305b | 589 | |
49819fef AM |
590 | 2011-04-22 Alexander Monakov <amonakov@ispras.ru> |
591 | ||
592 | PR c/36750 | |
593 | * c-typeck.c (pop_init_level): Do not warn about initializing | |
594 | with ` = {0}'. | |
595 | ||
401f6699 AM |
596 | 2011-04-22 Alan Modra <amodra@gmail.com> |
597 | ||
598 | * config/rs6000/rs6000.c (rs6000_function_arg): Remove CALL_LIBCALL | |
599 | when returning call_cookie. | |
600 | (rs6000_function_ok_for_sibcall): Allow sibcalls via function | |
601 | pointers, to functions with no more vector args than the current | |
602 | function, and some non-local calls for ABI_V4. | |
603 | * config/rs6000/rs6000.md (sibcall_nonlocal_aix32, | |
604 | sibcall_nonlocal_aix64): Combine to .. | |
605 | (sibcall_nonlocal_aix<mode>): ..this. Handle function pointer calls. | |
606 | (sibcall_value_nonlocal_aix32, sibcall_value_nonlocal_aix64): Combine.. | |
607 | (sibcall_value_nonlocal_aix<mode>): ..likewise. | |
608 | (*sibcall_nonlocal_sysv<mode>): Handle function pointer calls. | |
609 | (sibcall_value_nonlocal_sysv<mode>): Likewise. Correct call cookie | |
610 | operand. | |
611 | * config/rs6000/darwin.md (sibcall_nonlocal_darwin64, | |
612 | sibcall_value_nonlocal_darwin64, sibcall_symbolic_64, | |
613 | sibcall_value_symbolic_64): Delete. | |
614 | ||
903d1e67 XDL |
615 | 2011-04-21 Xinliang David Li <davidxl@google.com> |
616 | ||
617 | * cgraph.h: Remove pid. | |
618 | * cgraph.c: Remove pid. | |
619 | * value-prof.c (init_node_map): New function. | |
620 | (del_node_map): New function. | |
621 | (find_func_by_funcdef_no): New function. | |
622 | (gimple_ic_transform): Call new function. | |
623 | * cgraphunit.c (cgraph_finalize_function): Remove pid. | |
624 | * function.c (get_last_funcdef_no): New function. | |
625 | * function.h (get_last_funcdef_no): New function. | |
626 | * tree-profile.c (gimple_gen_ic_func_profiler): Pass funcdef_no | |
627 | to libgcov function. | |
628 | (tree-profiling): Call node map init and delete function. | |
629 | ||
7378e95f ILT |
630 | 2011-04-21 Ian Lance Taylor <iant@google.com> |
631 | ||
632 | * godump.c (go_format_type): Use exported Go name for anonymous | |
633 | field name. | |
634 | ||
e84a6fcf NF |
635 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
636 | ||
637 | * config/frv/frv.c (frv_init_builtins): Delete `endlink' variable. | |
638 | Call builtin_function_type_list instead of builtin_function_type. | |
639 | (UNARY, BINARY, TRINARY, QUAD): Likewise. | |
640 | ||
4fe058e2 NF |
641 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
642 | ||
643 | * config/arm/arm.c (arm_init_iwmmxt_builtins): Call | |
644 | build_function_type_list instead of build_function_type. | |
645 | Delete variable `endlink'. | |
646 | ||
1ba0a2d2 NF |
647 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
648 | ||
649 | * config/s390/s390.c (s390_init_builtins): Call | |
650 | build_function_type_list instead of build_function_type. | |
651 | ||
c0676219 NF |
652 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
653 | ||
654 | * config/ia64/ia64.c (ia64_init_builtins): Call | |
655 | build_function_type_list instead of builtin_function_type. | |
656 | ||
6ddfda8a ER |
657 | 2011-04-21 Easwaran Raman <eraman@google.com> |
658 | ||
3a6448ea | 659 | * cfgexpand.c (stack_var): Remove OFFSET... |
6ddfda8a ER |
660 | (add_stack_var): ...and its reference here... |
661 | (expand_stack_vars): ...and here. | |
662 | (stack_var_cmp): Sort by descending order of size. | |
663 | (partition_stack_vars): Change heuristic. | |
1d284ec5 | 664 | (union_stack_vars): Fix to reflect changes in partition_stack_vars. |
6ddfda8a ER |
665 | (dump_stack_var_partition): Add newline after each partition. |
666 | ||
23756963 DA |
667 | 2011-04-21 Dimitrios Apostolou <jimis@gmx.net> |
668 | Jeff Law <law@redhat.com> | |
669 | ||
77fa1d54 | 670 | * gengtype-state.c (read_a_state_token): Fix argument to obstack_free. |
23756963 DA |
671 | * gengtype.c (matching_file_name_substitute): Likewise. |
672 | ||
aa2a43d2 RG |
673 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
674 | ||
675 | PR lto/48703 | |
1d284ec5 | 676 | * tree.c (free_lang_data_in_decl): Do not zero TREE_TYPE of DECL_NAME. |
aa2a43d2 | 677 | |
4d931f41 EB |
678 | 2011-04-21 Eric Botcazou <ebotcazou@adacore.com> |
679 | ||
680 | * gimple.c (walk_gimple_op) <GIMPLE_CALL>: Fix couple of oversights. | |
681 | ||
f103fa7a RG |
682 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
683 | ||
684 | * Makefile.in (site.exp): Do not use tmp0 but site.tmp as temporary | |
685 | file name. | |
686 | ||
e19f6650 RG |
687 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
688 | ||
689 | * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Handle | |
690 | MEM_REF and TARGET_MEM_REF, do not care about INDIRECT_REFs. | |
691 | Use DECL_P, not SSA_VAR_P. | |
692 | (ptr_derefs_may_alias_p): Likewise. | |
693 | (ptr_deref_may_alias_ref_p_1): Likewise. | |
694 | (decl_refs_may_alias_p): Likewise. | |
695 | (refs_may_alias_p_1): Likewise. | |
696 | (ref_maybe_used_by_call_p_1): Likewise. | |
697 | (call_may_clobber_ref_p_1): Likewise. | |
698 | (indirect_ref_may_alias_decl_p): Assume indirect refrences | |
699 | are either MEM_REF or TARGET_MEM_REF. | |
700 | (indirect_refs_may_alias_p): Likewise. | |
701 | * calls.c (emit_call_1): Build a MEM_REF instead of an INDIRECT_REF | |
702 | for MEM_EXPR of indirect calls. | |
703 | ||
9d1831bb TG |
704 | 2011-04-21 Tristan Gingold <gingold@adacore.com> |
705 | ||
706 | * vmsdbgout.c (write_srccorr): Compute file length from the string. | |
707 | (dst_file_info_struct): Remove flen field. | |
708 | (lookup_filename): Remove code that set flen field. | |
709 | ||
f199c029 TG |
710 | 2011-04-21 Tristan Gingold <gingold@adacore.com> |
711 | ||
712 | * config/ia64/ia64.c (ia64_start_function): Add a guard. | |
713 | ||
2894086e UB |
714 | 2011-04-21 Uros Bizjak <ubizjak@gmail.com> |
715 | ||
716 | PR target/48708 | |
717 | * config/i386/i386.c (ix86_expand_vector_set) <V2DImode>: Generate | |
718 | vec_extract and vec_concat for non-SSE4_1 targets. | |
719 | ||
53f94a5c RG |
720 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
721 | ||
722 | * tree-ssa-alias.c (ref_maybe_used_by_stmt_p): Handle | |
723 | return statements. | |
724 | ||
f0dca5ba JM |
725 | 2011-04-21 Joseph Myers <joseph@codesourcery.com> |
726 | ||
727 | * config/i386/cygming.h (union tree_node, TREE): Don't define or | |
728 | undefine. | |
729 | (FILE): Don't undefine. | |
730 | ||
984514ac JM |
731 | 2011-04-21 Joseph Myers <joseph@codesourcery.com> |
732 | ||
733 | * config/alpha/alpha.c (struct machine_function): Use rtx, not | |
734 | struct rtx_def *. | |
735 | * config/bfin/bfin.h (bfin_cc_rtx, bfin_rets_rtx): Use rtx, not | |
736 | struct rtx_def *. | |
737 | * config/cris/cris-protos.h (STDIO_INCLUDED): Don't define. | |
2894086e | 738 | * config/h8300/h8300.h (struct cum_arg): Use rtx, not struct rtx_def *. |
984514ac JM |
739 | * config/iq2000/iq2000.h (struct iq2000_args): Use rtx, not struct |
740 | rtx_def *. | |
741 | * config/m32c/m32c-protos.h (MM, UINT): Don't define. Expand | |
742 | definitions where used. | |
743 | * config/microblaze/microblaze.h (struct microblaze_args): Use | |
744 | rtx, not struct rtx_def *. | |
745 | * config/pa/pa-protos.h (return_addr_rtx): Use rtx, not struct | |
746 | rtx_def *. | |
2894086e UB |
747 | * config/pa/pa.h (hppa_pic_save_rtx): Use rtx, not struct rtx_def *. |
748 | * config/pdp11/pdp11.h (cc0_reg_rtx): Use rtx, not struct rtx_def *. | |
984514ac JM |
749 | * config/sh/sh-protos.h (sfunc_uses_reg, get_fpscr_rtx): Use rtx, |
750 | not struct rtx_def *. | |
751 | * config/sh/sh.h (sh_compare_op0, sh_compare_op1): Use rtx, not | |
752 | struct rtx_def *. | |
753 | * config/spu/spu-protos.h (spu_float_const): Use rtx, not struct | |
754 | rtx_def *. | |
2894086e | 755 | * config/spu/spu.c (spu_float_const): Use rtx, not struct rtx_def *. |
984514ac | 756 | |
0b5a2724 RS |
757 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
758 | ||
759 | * tree-vect-data-refs.c (vect_drs_dependent_in_basic_block): Use | |
760 | operand_equal_p to compare DR_BASE_ADDRESSes. | |
761 | (vect_check_interleaving): Likewise. | |
762 | ||
4b18d683 RS |
763 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
764 | ||
765 | PR target/46329 | |
766 | * config/arm/arm.c (arm_legitimate_constant_p_1): Return false | |
767 | for all Neon struct constants. | |
768 | ||
1a627b35 RS |
769 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
770 | ||
771 | * target.def (legitimate_constant_p): New hook. | |
772 | * doc/tm.texi.in (LEGITIMATE_CONSTANT_P): Replace with... | |
773 | (TARGET_LEGITIMATE_CONSTANT_P): ...this. | |
774 | * doc/tm.texi: Regenerate. | |
775 | * hooks.h (hook_bool_mode_rtx_true): Declare. | |
776 | * hooks.c (hook_bool_mode_rtx_true): Define. | |
777 | * system.h (LEGITIMATE_CONSTANT_P): Poison. | |
778 | * calls.c (precompute_register_parameters): Replace uses of | |
779 | LEGITIMATE_CONSTANT_P with targetm.legitimate_constant_p. | |
780 | (emit_library_call_value_1): Likewise. | |
781 | * expr.c (move_block_to_reg, can_store_by_pieces, emit_move_insn) | |
782 | (compress_float_constant, emit_push_insn, expand_expr_real_1): Likewise. | |
783 | * ira-costs.c (scan_one_insn): Likewise. | |
784 | * recog.c (general_operand, immediate_operand): Likewise. | |
785 | * reload.c (find_reloads_toplev, find_reloads_address_part): Likewise. | |
786 | * reload1.c (init_eliminable_invariants): Likewise. | |
787 | ||
788 | * config/alpha/alpha-protos.h (alpha_legitimate_constant_p): Add a | |
789 | mode argument. | |
790 | * config/alpha/alpha.h (LEGITIMATE_CONSTANT_P): Delete. | |
791 | * config/alpha/alpha.c (alpha_legitimate_constant_p): Add a mode | |
792 | argument. | |
793 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
794 | * config/alpha/predicates.md (input_operand): Update call to | |
795 | alpha_legitimate_constant_p. | |
796 | ||
797 | * config/arm/arm-protos.h (arm_cannot_force_const_mem): Delete. | |
798 | * config/arm/arm.h (ARM_LEGITIMATE_CONSTANT_P): Likewise. | |
799 | (THUMB_LEGITIMATE_CONSTANT_P, LEGITIMATE_CONSTANT_P): Likewise. | |
800 | * config/arm/arm.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
801 | (arm_legitimate_constant_p_1, thumb_legitimate_constant_p) | |
802 | (arm_legitimate_constant_p): New functions. | |
803 | (arm_cannot_force_const_mem): Make static. | |
804 | ||
805 | * config/avr/avr.h (LEGITIMATE_CONSTANT_P): Delete. | |
806 | ||
807 | * config/bfin/bfin-protos.h (bfin_legitimate_constant_p): Delete. | |
808 | * config/bfin/bfin.h (LEGITIMATE_CONSTANT_P): Delete. | |
809 | * config/bfin/bfin.c (expand_move): Use targetm.legitimate_constant_p | |
810 | instead of bfin_legitimate_constant_p. | |
811 | (bfin_legitimate_constant_p): Make static. Add a mode argument. | |
812 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
813 | ||
814 | * config/cris/cris.h (LEGITIMATE_CONSTANT_P): Delete. | |
815 | ||
816 | * config/fr30/fr30.h (LEGITIMATE_CONSTANT_P): Delete. | |
817 | ||
818 | * config/frv/frv-protos.h (frv_legitimate_constant_p): Delete. | |
819 | * config/frv/frv.h (LEGITIMATE_CONSTANT_P): Delete. | |
820 | * config/frv/frv.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
821 | (frv_legitimate_constant_p): Make static. Add a mode argument. | |
822 | ||
823 | * config/h8300/h8300-protos.h (h8300_legitimate_constant_p): Delete. | |
824 | * config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Likewise. | |
825 | * config/h8300/h8300.c (h8300_legitimate_constant_p): Likewise. | |
826 | ||
827 | * config/i386/i386-protos.h (legitimate_constant_p): Delete. | |
828 | * config/i386/i386.h (LEGITIMATE_CONSTANT_P): Likewise. | |
829 | * config/i386/i386.c (legitimate_constant_p): Rename to... | |
830 | (ix86_legitimate_constant_p): ...this. Make static. Add a mode | |
831 | argument. | |
832 | (ix86_cannot_force_const_mem): Update accordingly. | |
833 | (ix86_legitimate_address_p): Likewise. | |
834 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
835 | * config/i386/i386.md: Update commentary. | |
836 | ||
837 | * config/ia64/ia64-protos.h (ia64_legitimate_constant_p): Delete. | |
838 | * config/ia64/ia64.h (LEGITIMATE_CONSTANT_P): Likewise. | |
839 | * config/ia64/ia64.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
840 | (ia64_legitimate_constant_p): Make static. Add a mode argument. | |
841 | ||
842 | * config/iq2000/iq2000.h (LEGITIMATE_CONSTANT_P): Delete. | |
843 | ||
844 | * config/lm32/lm32-protos.h (lm32_legitimate_constant_p): Delete. | |
845 | * config/lm32/lm32.h (LEGITIMATE_CONSTANT_P): Likewise. | |
846 | * config/lm32/lm32.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
847 | (lm32_legitimate_constant_p): Make static. Add a mode argument. | |
848 | ||
849 | * config/m32c/m32c-protos.h (m32c_legitimate_constant_p): Delete. | |
850 | * config/m32c/m32c.h (LEGITIMATE_CONSTANT_P): Likewise. | |
851 | * config/m32c/m32c.c (m32c_legitimate_constant_p): Likewise. | |
852 | ||
853 | * config/m32r/m32r.h (LEGITIMATE_CONSTANT_P): Delete. | |
854 | * config/m32r/m32r.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
855 | (m32r_legitimate_constant_p): New function. | |
856 | ||
857 | * config/m68k/m68k-protos.h (m68k_legitimate_constant_p): Declare. | |
858 | * config/m68k/m68k.h (CONSTANT_ADDRESS_P): Call it instead of | |
859 | LEGITIMATE_CONSTANT_P. | |
860 | (LEGITIMATE_CONSTANT_P): Delete. | |
861 | * config/m68k/m68k.c (m68k_expand_prologue): Call | |
862 | m68k_legitimate_constant_p instead of LEGITIMATE_CONSTANT_P. | |
863 | (m68k_legitimate_constant_p): New function. | |
864 | * config/m68k/m68k.md: Update comments. | |
865 | ||
866 | * config/mcore/mcore.h (LEGITIMATE_CONSTANT_P): Delete. | |
867 | * config/mcore/mcore.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
868 | (mcore_legitimate_constant_p): New function. | |
869 | ||
870 | * config/mep/mep-protos.h (mep_legitimate_constant_p): Delete. | |
871 | * config/mep/mep.h (LEGITIMATE_CONSTANT_P): Likewise. | |
872 | * config/mep/mep.c (mep_legitimate_constant_p): Make static. | |
873 | Add a mode argument. | |
874 | (mep_legitimate_address): Update accordingly. | |
875 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
876 | ||
877 | * config/microblaze/microblaze-protos.h (microblaze_const_double_ok): | |
878 | Delete. | |
879 | * config/microblaze/microblaze.h (LEGITIMATE_CONSTANT_P): Likewise. | |
880 | * config/microblaze/microblaze.c (microblaze_const_double_ok): Make | |
881 | static. Check OP's mode for VOIDmode. | |
882 | (microblaze_legitimate_constant_p): New function. | |
883 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
884 | ||
885 | * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Delete. | |
886 | * config/mips/mips.c (mips_legitimate_constant_p): New function. | |
887 | (mips_cannot_force_const_mem): Use it instead of LEGITIMATE_CONSTANT_P. | |
888 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
889 | * config/mips/predicates.md: Update comments. | |
890 | ||
891 | * config/mmix/mmix-protos.h (mmix_legitimate_constant_p): Delete. | |
892 | * config/mmix/mmix.h (LEGITIMATE_CONSTANT_P): Likewise. | |
893 | * config/mmix/mmix.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
894 | (mmix_legitimate_constant_p): Make static, return a bool, and take | |
895 | a mode argument. | |
896 | (mmix_print_operand_address): Update accordingly. | |
897 | ||
898 | * config/mn10300/mn10300-protos.h (mn10300_legitimate_constant_p): | |
899 | Delete. | |
900 | * config/mn10300/mn10300.h (LEGITIMATE_CONSTANT_P): Likewise. | |
2894086e UB |
901 | * config/mn10300/mn10300.c (mn10300_legitimate_constant_p): Make |
902 | static. Add a mode argument. | |
1a627b35 RS |
903 | (TARGET_LEGITIMATE_CONSTANT_P): Define. |
904 | ||
905 | * config/moxie/moxie.h (LEGITIMATE_CONSTANT_P): Delete. | |
906 | ||
907 | * config/pa/pa.h (LEGITIMATE_CONSTANT_P): Delete. | |
908 | * config/pa/pa.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
909 | (pa_legitimate_constant_p): New function. | |
910 | ||
911 | * config/picochip/picochip.h (LEGITIMATE_CONSTANT_P): Delete. | |
912 | ||
913 | * config/pdp11/pdp11.h (LEGITIMATE_CONSTANT_P): Delete. | |
914 | * config/pdp11/pdp11.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
915 | (pdp11_legitimate_constant_p): New function. | |
916 | ||
917 | * config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Delete. | |
918 | * config/rs6000/rs6000.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
919 | (rs6000_legitimate_constant_p): New function. | |
920 | ||
921 | * config/rx/rx-protos.h (rx_is_legitimate_constant): Replace with... | |
922 | (rx_legitimate_constant_p): ...this. | |
923 | * config/rx/rx.h (LEGITIMATE_CONSTANT_P): Delete. | |
924 | * config/rx/rx.c (rx_is_legitimate_constant): Replace with... | |
925 | (rx_legitimate_constant_p): ...this. | |
926 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
927 | * config/rx/rx.md (mov<register_modes:mode>): Update accordingly. | |
928 | ||
929 | * config/s390/s390-protos.h (legitimate_constant_p): Delete. | |
930 | * config/s390/s390.h (LEGITIMATE_CONSTANT_P): Likewise. | |
931 | * config/s390/s390.c (legitimate_constant_p): Rename to... | |
932 | (s390_legitimate_constant_p): ...this. Make static, return a bool, | |
933 | and add a mode argument. | |
934 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
935 | ||
936 | * config/score/score.h (LEGITIMATE_CONSTANT_P): Delete. | |
937 | ||
938 | * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Delete. | |
939 | * config/sh/sh.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
940 | (sh_legitimate_constant_p): New function. | |
941 | ||
942 | * config/sparc/sparc-protos.h (legitimate_constant_p): Delete. | |
943 | * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Delete. | |
944 | * config/sparc/sparc.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
945 | (legitimate_constant_p): Rename to... | |
946 | (sparc_legitimate_constant_p): ...this. Make static. Add a mode | |
947 | argument. | |
948 | (constant_address_p): Update accordingly. | |
949 | ||
950 | * config/spu/spu-protos.h (spu_legitimate_constant_p): Add a mode | |
951 | argument and return a bool. | |
952 | * config/spu/spu.h (LEGITIMATE_CONSTANT_P): Delete. | |
953 | * config/spu/spu.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
954 | (spu_legitimate_constant_p): Add a mode argument and return a bool. | |
955 | (spu_rtx_costs): Update accordingly. | |
956 | * config/spu/predicates.md (vec_imm_operand): Likewise. | |
957 | ||
958 | * config/stormy16/stormy16.h (LEGITIMATE_CONSTANT_P): Delete. | |
959 | ||
960 | * config/v850/v850.h (LEGITIMATE_CONSTANT_P): Delete. | |
961 | * config/v850/v850.c (v850_legitimate_constant_p): New function. | |
962 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
963 | ||
964 | * config/vax/vax-protos.h (legitimate_constant_p): Delete. | |
965 | * config/vax/vax.h (LEGITIMATE_CONSTANT_P): Likewise. | |
966 | * config/vax/vax.c (legitimate_constant_p): Likewise. | |
967 | ||
968 | * config/xtensa/xtensa.h (LEGITIMATE_CONSTANT_P): Delete. | |
969 | * config/xtensa/xtensa.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
970 | (xtensa_legitimate_constant_p): New function. | |
971 | ||
fbbf66e7 RS |
972 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
973 | ||
974 | * target.def (cannot_force_const_mem): Add a mode argument. | |
975 | * doc/tm.texi.in (TARGET_CANNOT_FORCE_CONST_MEM): Update accordingly. | |
976 | * doc/tm.texi: Regenerate. | |
977 | * hooks.h (hook_bool_mode_rtx_false): Declare. | |
978 | * hooks.c (hook_bool_mode_const_rtx_false): Fix commentary. | |
979 | (hook_bool_mode_const_rtx_true): Likewise. | |
980 | (hook_bool_mode_rtx_false): New function. | |
981 | * reload.c (CONST_POOL_OK_P): Take a mode argument and require it | |
982 | to be non-VOID. Update call to cannot_force_const_mem. | |
983 | (find_reloads): Update accordingly. | |
984 | * varasm.c (force_const_mem): Update call to cannot_force_const_mem. | |
985 | * config/alpha/alpha.c (alpha_cannot_force_const_mem): Add a mode | |
986 | argument. | |
987 | * config/arm/arm-protos.h (arm_cannot_force_const_mem): Likewise. | |
988 | * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Update call. | |
989 | * config/arm/arm.c (arm_cannot_force_const_mem): Add a mode argument. | |
990 | * config/bfin/bfin.c (bfin_cannot_force_const_mem): Likewise. | |
991 | * config/frv/frv.c (frv_cannot_force_const_mem): Likewise. | |
992 | * config/i386/i386.c (ix86_cannot_force_const_mem): Likewise. | |
993 | * config/ia64/ia64.c (ia64_cannot_force_const_mem): Likewise. | |
994 | * config/m68k/m68k.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine to... | |
995 | (m68k_cannot_force_const_mem): ...this new function. | |
996 | * config/mips/mips.c (mips_cannot_force_const_mem): Add a mode | |
997 | argument. | |
998 | (mips_const_insns, mips_legitimize_const_move): Update calls. | |
999 | (mips_secondary_reload_class): Likewise. | |
1000 | * config/pa/pa.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine to... | |
1001 | (pa_cannot_force_const_mem): ...this new function. | |
2894086e | 1002 | * config/rs6000/rs6000.c (TARGET_CANNOT_FORCE_CONST_MEM): Reefine to... |
fbbf66e7 RS |
1003 | (rs6000_cannot_force_const_mem): ...this new function. |
1004 | * config/s390/s390.c (s390_cannot_force_const_mem): Add a mode | |
1005 | argument. | |
1006 | * config/sparc/sparc.c (sparc_cannot_force_const_mem): Likewise. | |
1007 | * config/xtensa/xtensa.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine | |
1008 | to... | |
1009 | (xtensa_cannot_force_const_mem): ...this new function. | |
1010 | ||
b861891b NF |
1011 | 2011-04-20 Nathan Froyd <froydnj@codesourcery.com> |
1012 | ||
1013 | * config/mips/mips.c (mips16_build_function_stub): Call | |
1014 | build_function_type_list instead of build_function_type. | |
1015 | (mips16_build_call_stub): Likewise. | |
1016 | ||
34149ed5 NF |
1017 | 2011-04-20 Nathan Froyd <froydnj@codesourcery.com> |
1018 | ||
1019 | * config/mep/mep.c (mep_init_builtins): Call build_function_type_list | |
1020 | instead of build_function_type. | |
1021 | ||
12526412 NF |
1022 | 2011-04-20 Nathan Froyd <froydnj@codesourcery.com> |
1023 | ||
1024 | * config/pa/pa.c (pa_init_builtins): Call build_function_type_list | |
1025 | instead of build_function_type. | |
1026 | ||
3b84d61f UB |
1027 | 2011-04-20 Uros Bizjak <ubizjak@gmail.com> |
1028 | ||
1029 | PR target/48678 | |
1030 | * config/i386/i386.md (insv): Change operand 0 constraint to | |
1031 | "register_operand". Change operand 1 and 2 constraint to | |
1032 | "const_int_operand". Expand to pinsr{b,w,d,q} * when appropriate. | |
1033 | * config/i386/sse.md (sse4_1_pinsrb): Export. | |
1034 | (sse2_pinsrw): Ditto. | |
1035 | (sse4_1_pinsrd): Ditto. | |
1036 | (sse4_1_pinsrq): Ditto. | |
1037 | * config/i386/i386-protos.h (ix86_expand_pinsr): Add prototype. | |
1038 | * config/i386/i386.c (ix86_expand_pinsr): New. | |
1039 | ||
4a25752b ER |
1040 | 2011-04-20 Easwaran Raman <eraman@google.com> |
1041 | ||
1042 | * cfgexpand.c (add_alias_set_conflicts): Add conflicts with a variable | |
1043 | containing union type only with -fstrict-aliasing. | |
1044 | ||
04695783 JM |
1045 | 2011-04-20 Jim Meyering <meyering@redhat.com> |
1046 | ||
1047 | Remove useless if-before-free tests. | |
1048 | * calls.c (expand_call, save_area): Likewise. | |
1049 | * cfgcleanup.c (try_forward_edges): Likewise. | |
1050 | * collect2.c (collect_execute): Likewise. | |
1051 | * config/i386/i386.c (ix86_valid_target_attribute_tree): Likewise. | |
1052 | * config/mcore/mcore.c (mcore_expand_prolog): Likewise. | |
1053 | * coverage.c (coverage_checksum_string): Likewise. | |
1054 | * cse.c (init_cse_reg_info, delete_trivially_dead_insns): Likewise. | |
1055 | * cselib.c (cselib_init): Likewise. | |
1056 | * df-core.c (rest_of_handle_df_finish, df_analyze): Likewise. | |
1057 | (df_set_clean_cfg): Likewise. | |
1058 | * function.c (free_after_compilation): Likewise. | |
1059 | * gcc.c (do_spec_1, main): Likewise. | |
1060 | * gcov.c (create_file_names): Likewise. | |
1061 | * gensupport.c (identify_predicable_attribute): Likewise. | |
1062 | * graphite-clast-to-gimple.c (save_clast_name_index): Likewise. | |
1063 | * graphite-sese-to-poly.c (free_data_refs_aux): Likewise. | |
1064 | * haifa-sched.c (haifa_finish_h_i_d): Likewise. | |
1065 | * ipa-prop.c (ipa_free_node_params_substructures): Likewise. | |
1066 | * ipa-pure-const.c (local_pure_const): Likewise. | |
1067 | * ipa-reference.c (propagate): Likewise. | |
1068 | * ira-costs.c (free_ira_costs): Likewise. | |
1069 | * ira.c (free_register_move_costs, build_insn_chain): Likewise. | |
1070 | * matrix-reorg.c (mat_free): Likewise. | |
1071 | * prefix.c (get_key_value): Likewise. | |
1072 | * profile.c (compute_value_histograms): Likewise. | |
1073 | * reload1.c (free_reg_equiv): Likewise. | |
1074 | * sched-deps.c (free_deps): Likewise. | |
1075 | * sel-sched-ir.c (fence_clear): Likewise. | |
1076 | * sese.c (set_rename, if_region_set_false_region): Likewise. | |
1077 | * tree-data-ref.c (free_rdg): Likewise. | |
1078 | * tree-eh.c (lower_try_finally): Likewise. | |
1079 | * tree-ssa-coalesce.c (delete_coalesce_list): Likewise. | |
1080 | * tree-ssa-live.c (delete_var_map): Likewise. | |
1081 | * tree-ssa-loop-ivopts.c (free_loop_data): Likewise. | |
1082 | * tree-ssa-pre.c (phi_trans_add): Likewise. | |
1083 | ||
6788475a JJ |
1084 | 2011-04-20 Jakub Jelinek <jakub@redhat.com> |
1085 | ||
1086 | PR tree-optimization/48611 | |
1087 | * tree-eh.c (note_eh_region_may_contain_throw): Don't propagate | |
1088 | beyond ERT_MUST_NOT_THROW region. | |
1089 | ||
0eda4033 CM |
1090 | 2011-04-20 Catherine Moore <clm@codesourcery.com> |
1091 | ||
1092 | * config/mips/mips.opt (mfix-24k): New. | |
1093 | * config/mips/mips.h (ASM_SPEC): Handle -mfix-24k. | |
1094 | * config/mips/mips.md (length): Increase by 4 for stores if | |
1095 | fixing 24K errata. | |
1096 | * config/mips/mips.c (mips_reorg_process_insns): Do not allow | |
1097 | all noreorder if fixing 24K errata. | |
1098 | * doc/invoke.texi: Document mfix-24k. | |
1099 | ||
01475747 CLT |
1100 | 2011-04-20 Chung-Lin Tang <cltang@codesourcery.com> |
1101 | ||
1102 | * config/arm/arm.c (arm_legitimize_reload_address): For NEON | |
2894086e | 1103 | quad-word modes, reduce to 9-bit index range when above 1016 limit. |
01475747 | 1104 | |
bc2c1a60 AS |
1105 | 2011-04-20 Andrew Stubbs <ams@codesourcery.com> |
1106 | ||
1107 | * config/arm/arm.c (arm_gen_constant): Move movw support .... | |
1108 | (const_ok_for_op): ... to here. | |
1109 | ||
583722ee KT |
1110 | 2011-04-20 Kai Tietz <ktietz@redhat.com> |
1111 | ||
2894086e UB |
1112 | * fold-const.c (fold_binary_loc): Add handling for (X & ~Y) | (~X & Y) |
1113 | and (X && !Y) | (!X && Y) optimization to (X ^ Y). | |
583722ee | 1114 | |
422c0989 AS |
1115 | 2011-04-20 Andrew Stubbs <ams@codesourcery.com> |
1116 | ||
1117 | * config/arm/arm.c (arm_gen_constant): Remove redundant can_invert. | |
1118 | ||
d7978bff RG |
1119 | 2011-04-20 Richard Guenther <rguenther@suse.de> |
1120 | ||
1121 | PR tree-optimization/47892 | |
1122 | * tree-if-conv.c (if_convertible_stmt_p): Const builtins | |
1123 | are if-convertible. | |
1124 | ||
818412ba EB |
1125 | 2011-04-20 Eric Botcazou <ebotcazou@adacore.com> |
1126 | ||
1127 | * config/alpha/vms.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not redefine. | |
1128 | ||
b501ce4e TG |
1129 | 2011-04-20 Tristan Gingold <gingold@adacore.com> |
1130 | ||
1131 | * config/alpha/vms.h (LINK_SPEC): Do not use vms-dwarf2.o for gnu-ld. | |
1132 | ||
516edfdd GJL |
1133 | 2011-04-20 Georg-Johann Lay <avr@gjlay.de> |
1134 | ||
1135 | PR target/18145 | |
1136 | ||
1137 | * config/avr/avr.h (TARGET_ASM_INIT_SECTIONS): Delete. | |
1138 | (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete. | |
1139 | (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. | |
1140 | (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Define. | |
1141 | (TARGET_ASM_NAMED_SECTION): Change to avr_asm_named_section. | |
1142 | ||
1143 | * config/avr/avr-protos.h (avr_asm_output_aligned_common): | |
1144 | New prototype. | |
1145 | ||
1146 | * config/avr/avr.c (TARGET_ASM_INIT_SECTIONS): Define. | |
1147 | (avr_asm_named_section, avr_asm_output_aligned_common, | |
1148 | avr_output_data_section_asm_op, avr_output_bss_section_asm_op): | |
1149 | New functions to update... | |
1150 | (avr_need_clear_bss_p, avr_need_copy_data_p): ...these new variables. | |
1151 | (avr_asm_init_sections): Overwrite section callbacks for | |
1152 | data_section, bss_section. | |
1153 | (avr_file_start): Move output of __do_copy_data, __do_clear_bss | |
1154 | from here to... | |
1155 | (avr_file_end): ...here. | |
1156 | ||
dafc9511 RG |
1157 | 2011-04-20 Richard Guenther <rguenther@suse.de> |
1158 | ||
1159 | PR middle-end/48695 | |
1160 | * tree-ssa-alias.c (aliasing_component_refs_p): Compute base | |
2894086e | 1161 | objects and types here. Adjust for their offset before comparing. |
dafc9511 | 1162 | |
1da0876c RS |
1163 | 2011-04-20 Richard Sandiford <richard.sandiford@linaro.org> |
1164 | ||
1165 | * tree-vect-stmts.c (vectorizable_store): Only chain one related | |
1166 | statement per copy. | |
1167 | ||
25583c4f RS |
1168 | 2011-04-20 Richard Sandiford <richard.sandiford@linaro.org> |
1169 | ||
1170 | * Makefile.in (INTERNAL_FN_DEF, INTERNAL_FN_H): Define. | |
1171 | (GIMPLE_H): Include $(INTERNAL_FN_H). | |
1172 | (OBJS-common): Add internal-fn.o. | |
1173 | (internal-fn.o): New rule. | |
1174 | * internal-fn.def: New file. | |
1175 | * internal-fn.h: Likewise. | |
1176 | * internal-fn.c: Likewise. | |
1177 | * gimple.h: Include internal-fn.h. | |
1178 | (GF_CALL_INTERNAL): New gf_mask. | |
1179 | (gimple_statement_call): Put fntype into a union with a new | |
1180 | internal_fn field. | |
1181 | (gimple_build_call_internal): Declare. | |
1182 | (gimple_build_call_internal_vec): Likewise. | |
1183 | (gimple_call_same_target_p): Likewise. | |
1184 | (gimple_call_internal_p): New function. | |
1185 | (gimple_call_internal_fn): Likewise. | |
1186 | (gimple_call_fntype): Return null for internal calls. | |
1187 | (gimple_call_set_fntype): Assert that the function is not internal. | |
1188 | (gimple_call_set_fn): Likewise. | |
1189 | (gimple_call_set_fndecl): Likewise. | |
1190 | (gimple_call_set_internal_fn): New function. | |
1191 | (gimple_call_addr_fndecl): Handle null functions. | |
1192 | (gimple_call_return_type): Likewise null types. | |
1193 | * gimple.c (gimple_build_call_internal_1): New function. | |
1194 | (gimple_build_call_internal): Likewise. | |
1195 | (gimple_build_call_internal_vec): Likewise. | |
1196 | (gimple_call_same_target_p): Likewise. | |
1197 | (gimple_call_flags): Handle calls to internal functions. | |
1198 | (gimple_call_fnspec): New function. | |
1199 | (gimple_call_arg_flags, gimple_call_return_flags): Use it. | |
1200 | (gimple_has_side_effects): Handle null functions. | |
1201 | (gimple_rhs_has_side_effects): Likewise. | |
1202 | (gimple_call_copy_skip_args): Handle calls to internal functions. | |
1203 | * cfgexpand.c (expand_call_stmt): Likewise. | |
1204 | * expr.c (expand_expr_real_1): Assert that the call isn't internal. | |
1205 | * gimple-fold.c (gimple_fold_call): Handle null functions. | |
1206 | (gimple_fold_stmt_to_constant_1): Don't fold | |
1207 | calls to internal functions. | |
1208 | * gimple-low.c (gimple_check_call_args): Handle calls to internal | |
1209 | functions. | |
1210 | * gimple-pretty-print.c (dump_gimple_call): Likewise. | |
1211 | * ipa-prop.c (ipa_analyze_call_uses): Handle null functions. | |
1212 | * tree-cfg.c (verify_gimple_call): Handle calls to internal functions. | |
1213 | (do_warn_unused_result): Likewise. | |
1214 | * tree-eh.c (same_handler_p): Use gimple_call_same_target_p. | |
1215 | * tree-ssa-ccp.c (ccp_fold_stmt): Handle calls to internal functions. | |
1216 | * tree-ssa-dom.c (hashable_expr): Use the gimple statement to record | |
1217 | the target of a call. | |
1218 | (initialize_hash_element): Update accordingly. | |
1219 | (hashable_expr_equal_p): Use gimple_call_same_target_p. | |
1220 | (iterative_hash_hashable_expr): Handle calls to internal functions. | |
1221 | (print_expr_hash_elt): Likewise. | |
1222 | * tree-ssa-pre.c (can_value_number_call): Likewise. | |
1223 | (eliminate): Handle null functions. | |
1224 | * tree-ssa-sccvn.c (visit_use): Handle calls to internal functions. | |
1225 | * tree-ssa-structalias.c (get_fi_for_callee): Likewise. | |
1226 | (find_func_aliases): Likewise. | |
1227 | * value-prof.c (gimple_ic_transform): Likewise. | |
1228 | (gimple_indirect_call_to_profile): Likewise. | |
1229 | * lto-streamer-in.c (input_gimple_stmt): Likewise. | |
1230 | * lto-streamer-out.c (output_gimple_stmt): Likewise. | |
1231 | ||
1a3118e9 JH |
1232 | 2011-04-19 Jan Hubicka <jh@suse.cz> |
1233 | ||
1234 | * ipa-inline-transform.c (save_inline_function_body): Add comments. | |
9d12f71a EB |
1235 | * ipa-inline.c (inline_small_functions): Compute summaries first, |
1236 | populate heap later. | |
1a3118e9 | 1237 | |
fee8b6da JH |
1238 | 2011-04-19 Jan Hubicka <jh@suse.cz> |
1239 | ||
1240 | * cgraph.h (save_inline_function_body): Remove. | |
1241 | * ipa-inline-transform.c: New file, broke out of... | |
1242 | * ipa-inline.c: ... this one; Update toplevel comment. | |
1243 | (ncalls_inlined, nfunctions_inlined): Move to ipa-inline-transform.c; | |
1244 | make global. | |
1245 | (update_noncloned_frequencies): Move to ipa-inline-transform.c | |
1246 | (cgraph_mark_inline_edge): Rename to inline_call; move to | |
1247 | ipa-inline-transform.c. | |
1248 | (cgraph_clone_inlined_nodes): Rename to clone_inlined_nodes; | |
1249 | move to ipa-inline-transform.c | |
1250 | (recursive_inlining, inline_small_functions, flatten_function, | |
1251 | ipa_inline, inline_always_inline_functions, | |
1252 | early_inline_small_functions): Update. | |
1253 | (inline_transform): Move to ipa-inline-transform.c. | |
1254 | * ipa-inline.h (inline_call, inline_transform, clone_inlined_nodes): | |
1255 | Declare. | |
1256 | * Makefile.in (ipa-inline-transform.o): New file. | |
1257 | * cgraphunit.c (save_inline_function_body): Move to | |
1258 | ipa-inline-transform.c | |
1259 | ||
f0679612 DD |
1260 | 2011-04-19 DJ Delorie <dj@redhat.com> |
1261 | ||
1262 | * config/m32c/m32c.c (m32c_emit_epilogue): Don't try to push | |
1263 | registers if we already know there aren't any. | |
1264 | (m32c_emit_epilogue): Don't emit a barrier here. | |
1265 | (m32c_emit_eh_epilogue): Likewise. | |
1266 | * config/m32c/blkmov.md (movstr): Don't fail on wrong-type | |
1267 | operands at expand time. | |
1268 | * config/m32c/m32c.h (WCHAR_TYPE_SIZE): Change to 4 to match "long | |
1269 | int" wchar type. | |
1270 | (REG_CLASS_CONTENTS, reg_class, REG_CLASS_NAMES): Remove | |
1271 | duplicates. Provide aliases instead. | |
1272 | * config/m32c/prologue.md (eh_return): Emit a barrier here. | |
1273 | (eh_epilogue): Add a "(return)" here as a hint to other parts of | |
1274 | the compiler. | |
1275 | ||
32257ddc AS |
1276 | 2011-04-19 Anatoly Sokolov <aesok@post.ru> |
1277 | ||
1278 | * config/sparc/sparc.h (GENERAL_OR_I64, REGISTER_MOVE_COST): Remove. | |
1279 | * config/sparc/sparc.c (TARGET_REGISTER_MOVE_COST): Define. | |
1280 | (general_or_i64_p, sparc_register_move_cost): New function. | |
1281 | ||
60bea929 RO |
1282 | 2011-04-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1283 | ||
1284 | * doc/install.texi (Configuration, --enable-threads): Remove mach. | |
3b84d61f | 1285 | Add lynx, mipssde. Sort table. |
60bea929 | 1286 | |
444b3995 | 1287 | 2011-04-19 Xinliang David Li <davidxl@google.com> |
3b84d61f | 1288 | |
9d12f71a EB |
1289 | * ipa-cp.c (ipcp_update_profiling): Assert that scale_completement is |
1290 | not negative. | |
444b3995 | 1291 | |
d708ce50 JJ |
1292 | 2011-04-19 Jakub Jelinek <jakub@redhat.com> |
1293 | ||
1294 | PR target/48678 | |
1295 | * config/i386/i386.md (movstrict<mode>): FAIL if operands[0] | |
1296 | is a SUBREG with non-MODE_INT mode inside of it. | |
1297 | ||
49c471e3 MJ |
1298 | 2011-04-19 Martin Jambor <mjambor@suse.cz> |
1299 | ||
1300 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): Devirtualize | |
1301 | also according to actual contants. | |
1302 | * gimple-fold.c (gimple_extract_devirt_binfo_from_cst): New function. | |
1303 | (gimple_fold_call): Use it. | |
1304 | * gimple.h (gimple_extract_devirt_binfo_from_cst): Declare. | |
1305 | ||
0004f992 MJ |
1306 | 2011-04-19 Martin Jambor <mjambor@suse.cz> |
1307 | ||
1308 | * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Return false for scalar | |
1309 | non-pointer assignments. | |
1310 | ||
40591473 MJ |
1311 | 2011-04-19 Martin Jambor <mjambor@suse.cz> |
1312 | ||
1313 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): Take into | |
1314 | account anc_offset and otr_type from the indirect edge info. | |
1315 | * ipa-prop.c (get_ancestor_addr_info): New function. | |
1316 | (compute_complex_ancestor_jump_func): Assignment analysis moved to | |
1317 | get_ancestor_addr_info, call it. | |
1318 | (ipa_note_param_call): Do not initialize information about polymorphic | |
1319 | calls, return the indirect call graph edge. Remove the last | |
1320 | parameter, adjust all callers. | |
1321 | (ipa_analyze_virtual_call_uses): Process also calls to ancestors of | |
1322 | parameters. Initialize polymorphic information in the indirect edge. | |
1323 | ||
abe36b81 EB |
1324 | 2011-04-19 Eric Botcazou <ebotcazou@adacore.com> |
1325 | ||
1326 | PR lto/48148 | |
1327 | * gimple.c (gimple_types_compatible_p_1) <ENUMERAL_TYPE>: Do not merge | |
1328 | the types if they have different enumeration identifiers. | |
1329 | ||
e6416b30 JH |
1330 | 2011-04-19 Jan Hubicka <jh@suse.cz> |
1331 | ||
1332 | * cgraph.h (cgraph_optimize_for_size_p): Declare. | |
1333 | * ipa-cp.c (ipcp_insert_stage): Use cgraph_optimize_for_size_p. | |
1334 | * predict.c (cgraph_optimize_for_size_p): Break out from ... | |
1335 | (optimize_function_for_size_p) ... here. | |
1336 | ||
d39132ea RG |
1337 | 2011-04-19 Richard Guenther <rguenther@suse.de> |
1338 | ||
1339 | PR lto/48207 | |
1340 | * tree.c (free_lang_data): Do not reset the decl-assembler-name | |
1341 | langhook. | |
1342 | ||
ff7037dc EB |
1343 | 2011-04-19 Eric Botcazou <ebotcazou@adacore.com> |
1344 | ||
1345 | * tree-inline.c (expand_call_inline): Do not issue a -Winline warning | |
1346 | if DECL_NO_INLINE_WARNING_P is set on the function. | |
1347 | ||
c1ee2892 BS |
1348 | 2011-04-19 Bernd Schmidt <bernds@codesourcery.com> |
1349 | ||
1350 | PR fortran/47976 | |
1351 | * reload1.c (inc_for_reload): Return void. All callers changed. | |
1352 | (emit_input_reload_insns): Don't try to delete previous output | |
1353 | reloads to a register, or record spill_reg_store for autoincs. | |
fbb20b29 BS |
1354 | |
1355 | 2011-04-19 Basile Starynkevitch <basile@starynkevitch.net> | |
1356 | ||
1357 | * gengtype.h: Updated copyright year. | |
1358 | (struct input_file_st): Add inpisplugin field. | |
1359 | (type_fileloc): New function. | |
1360 | * gengtype.c | |
1361 | (write_typed_struct_alloc_def): Add gcc_assert. | |
1362 | (write_typed_alloc_defns): Ditto. Don't output for plugin files. | |
1363 | (write_typed_alloc_defns): Don't output for plugin files. | |
1364 | (input_file_by_name): Clear inpisplugin field. | |
1365 | (main): Set inpisplugin field for plugin files. | |
1366 | ||
897e0a89 NP |
1367 | 2011-04-19 Nicola Pero <nicola.pero@meta-innovation.com> |
1368 | ||
1369 | * gengtype-state.c (string_eq): New. | |
1370 | (read_state): Use string_eq instead of strcmp when creating the | |
1371 | state_ident_tab. | |
1372 | ||
363ee90e WG |
1373 | 2011-04-19 Wei Guozhi <carrot@google.com> |
1374 | ||
1375 | PR target/47855 | |
1376 | * config/arm/arm-protos.h (thumb1_legitimate_address_p): New prototype. | |
1377 | * config/arm/arm.c (thumb1_legitimate_address_p): Remove the static | |
1378 | linkage. | |
1379 | * config/arm/constraints.md (Uu): New constraint. | |
1380 | * config/arm/arm.md (*arm_movqi_insn): Compute attr "length". | |
1381 | ||
18a24fed TG |
1382 | 2011-04-19 Tristan Gingold <gingold@adacore.com> |
1383 | ||
1384 | * config.gcc (-*-*-*vms): Added. | |
1385 | (alpha64-dec-*vms*,alpha*-dec-*vms*, ia64-hp-*vms*): Common | |
1386 | definitions moved. | |
1387 | * config/vms/vms-ld.c: New file. | |
1388 | * config/vms/vms-ar.c: New file. | |
1389 | * config/vms/t-vmsnative: New file. | |
1390 | ||
1c13f168 XDL |
1391 | 2011-04-18 Xinliang David Li <davidxl@google.com> |
1392 | ||
1393 | * final.c (dump_basic_block_info): Use ASM_COMMENT_START. | |
1394 | ||
84825707 JJ |
1395 | 2011-04-18 Jakub Jelinek <jakub@redhat.com> |
1396 | ||
1397 | PR middle-end/48661 | |
1398 | * gimple-fold.c (gimple_get_virt_method_for_binfo): Return NULL | |
1399 | if TREE_TYPE (v) is non-NULL. | |
1400 | ||
1401 | * gimple-fold.c (gimple_get_virt_method_for_binfo): Renamed from | |
1402 | gimple_get_virt_mehtod_for_binfo. | |
1403 | * gimple.h (gimple_get_virt_method_for_binfo): Likewise. | |
1404 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): Adjust | |
1405 | callers. | |
1406 | * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise. | |
1407 | ||
7d4f8d02 | 1408 | 2011-04-18 Michael Matz <matz@suse.de> |
7254cb57 MM |
1409 | Steve Ellcey <sje@cup.hp.com> |
1410 | ||
7d4f8d02 EB |
1411 | * expr.c (expand_expr_real_2) <CASE_CONVERT>: If OP0 is a constant, |
1412 | use its mode as source mode if it isn't VOIDmode. | |
7254cb57 | 1413 | |
474e8e70 DCR |
1414 | 2011-04-18 Dennis, CHENG Renquan <crquan@fedoraproject.org> |
1415 | ||
1416 | * doc/passes.texi: Fill crossref nodes. | |
1417 | ||
cff41484 JM |
1418 | 2011-04-18 Jim Meyering <meyering@redhat.com> |
1419 | ||
7d4f8d02 | 1420 | Fix doubled-word typos in comments and strings |
cff41484 JM |
1421 | * config/alpha/vms-unwind.h: s/for for/for/ |
1422 | * config/arm/unwind-arm.h: Likewise. | |
1423 | * config/microblaze/microblaze.c: Likewise. | |
1424 | * config/sh/constraints.md: s/in in/in/ | |
1425 | * tree-cfg.c (verify_types_in_gimple_reference): Likewise. | |
1426 | ||
f60c2554 UB |
1427 | 2011-04-18 Uros Bizjak <ubizjak@gmail.com> |
1428 | ||
1429 | * config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): Remove. | |
1430 | (AVX_FLOAT_MODE_P): Ditto. | |
1431 | (AVX128_VEC_FLOAT_MODE_P): Ditto. | |
1432 | (AVX256_VEC_FLOAT_MODE_P): Ditto. | |
1433 | (AVX_VEC_FLOAT_MODE_P): Ditto. | |
1434 | * config/i386/i386.md (UNSPEC_MASKLOAD): Remove. | |
1435 | (UNSPEC_MASKSTORE): Ditto. | |
1436 | * config/i386/sse.md (<sse>_movmsk<ssemodesuffix><avxmodesuffix>): | |
1437 | Merge from <sse>_movmsk<ssemodesuffix> and | |
1438 | avx_movmsk<ssemodesuffix>256. Use VF mode iterator. | |
1439 | (*sse2_maskmovdqu): Merge with *sse2_maskmovdqu_rex64. Use P mode | |
1440 | iterator. | |
1441 | (avx_maskload<ssemodesuffix><avxmodesuffix>): New expander. | |
1442 | (avx_maskstore<ssemodesuffix><avxmodesuffix>): Ditto. | |
1443 | (*avx_maskmov<ssemodesuffix><avxmodesuffix>): New insn. | |
1444 | ||
09a2806f JH |
1445 | 2011-04-18 Jan Hubicka <jh@suse.cz> |
1446 | ||
8a8dccb2 JH |
1447 | * ipa-inline.c (inline_small_functions): Fix pasto in previous patch. |
1448 | ||
09a2806f JH |
1449 | * ipa-inline.c: Fix comment typos; do not inline gt-ipa-inline.h |
1450 | (want_inline_function_called_once_p): Break out the logic from | |
1451 | ipa_inline. | |
1452 | (edge_badness): Ensure that profile is not misupdated. | |
1453 | (lookup_recursive_calls): Prioritize by call frequencies. | |
1454 | (inline_small_functions): Move program size estimates here; | |
1455 | actually process whole queue even when unit growth has been | |
1456 | met. (to properly compute inline_failed reasons and for the | |
f60c2554 | 1457 | case unit size decrease.) Revisit comments on recursive inlining. |
09a2806f JH |
1458 | (ipa_inline): Remove unit summary code; first inline hot calls |
1459 | of functions called once, cold calls next. | |
1460 | (order, nnodes): Remove unused variables. | |
1461 | * Makefile.in (ipa-inline.o): No longer depent on ggc files. | |
1462 | (GTFILES): Remove ipa-inline.c | |
1463 | * sel-sched.c (fill_insns): Silence uninitialized var warning. | |
1464 | ||
3eea52ef EB |
1465 | 2011-04-18 Eric Botcazou <ebotcazou@adacore.com> |
1466 | ||
1467 | * dwarf2out.c (is_redundant_typedef): Add 'inline' to prototype. | |
1468 | ||
229a1c59 | 1469 | 2011-04-18 Jie Zhang <jie@codesourcery.com> |
3eea52ef | 1470 | Richard Earnshaw <rearnsha@arm.com> |
229a1c59 JZ |
1471 | |
1472 | * arm.c (neon_builtin_type_bits): Remove. | |
1473 | (typedef enum neon_builtin_mode): New. | |
1474 | (T_MAX): Don't define. | |
1475 | (typedef enum neon_builtin_datum): Remove bits, codes[], | |
1476 | num_vars and base_fcode. Add mode, code and fcode. | |
1477 | (VAR1, VAR2, VAR3, VAR4, VAR5, VAR6, VAR7, VAR8, VAR9 | |
1478 | VAR10): Change accordingly. | |
1479 | (neon_builtin_data[]): Change accordingly | |
1480 | (arm_init_neon_builtins): Change accordingly. | |
1481 | (neon_builtin_compare): Remove. | |
1482 | (locate_neon_builtin_icode): Remove. | |
1483 | (arm_expand_neon_builtin): Change accordingly. | |
1484 | ||
1485 | * arm.h (enum arm_builtins): Move to ... | |
1486 | * arm.c (enum arm_builtins): ... here; and rearrange builtin code. | |
1487 | ||
1488 | * arm.c (arm_builtin_decl): Declare. | |
1489 | (TARGET_BUILTIN_DECL): Define. | |
1490 | (enum arm_builtins): Correct ARM_BUILTIN_MAX. | |
1491 | (arm_builtin_decls[]): New. | |
1492 | (arm_init_neon_builtins): Store builtin declarations in | |
1493 | arm_builtin_decls[]. | |
1494 | (arm_init_tls_builtins): Likewise. | |
1495 | (arm_init_iwmmxt_builtins): Likewise. Refactor initialization code. | |
1496 | (arm_builtin_decl): New. | |
1497 | ||
75e802cc RG |
1498 | 2011-04-18 Richard Guenther <rguenther@suse.de> |
1499 | ||
1500 | * tree.c (upper_bound_in_type): Build properly canonicalized | |
1501 | INTEGER_CSTs. | |
1502 | (lower_bound_in_type): Likewise. | |
1503 | ||
3b45a007 RG |
1504 | 2011-04-18 Richard Guenther <rguenther@suse.de> |
1505 | ||
1506 | * gimple.h (gimple_call_addr_fndecl): New function. | |
1507 | (gimple_call_fndecl): Use it. | |
1508 | * gimple-fold.c (gimple_fold_call): Fold away OBJ_TYPE_REFs | |
1509 | for direct calls. | |
1510 | * tree-ssa-ccp.c (ccp_fold_stmt): Remove OBJ_TYPE_REF folding. | |
1511 | * tree-ssa-pre.c (eliminate): Also simplify indirect OBJ_TYPE_REFs. | |
1512 | ||
d25a79ea RG |
1513 | 2011-04-18 Richard Guenther <rguenther@suse.de> |
1514 | ||
1515 | PR middle-end/48650 | |
1516 | * tree.c (build_string): STRING_CST is now derived from tree_typed. | |
1517 | ||
7d5fc814 EB |
1518 | 2011-04-18 Eric Botcazou <ebotcazou@adacore.com> |
1519 | ||
1520 | PR lto/48492 | |
1521 | * cfgexpand.c (expand_debug_expr) <VAR_DECL>: Return NULL for a | |
1522 | DECL_IN_CONSTANT_POOL without RTL. | |
1523 | ||
7e7cfcf6 UW |
1524 | 2011-04-18 Ulrich Weigand <ulrich.weigand@linaro.org> |
1525 | Ira Rosen <ira.rosen@linaro.org> | |
1526 | ||
1527 | PR target/48252 | |
1528 | * config/arm/arm.c (neon_emit_pair_result_insn): Swap arguments | |
1529 | to match neon_vzip/vuzp/vtrn_internal. | |
1530 | * config/arm/neon.md (neon_vtrn<mode>_internal): Make both | |
1531 | outputs explicitly dependent on both inputs. | |
1532 | (neon_vzip<mode>_internal, neon_vuzp<mode>_internal): Likewise. | |
1533 | ||
49eab32e JJ |
1534 | 2011-04-18 Jakub Jelinek <jakub@redhat.com> |
1535 | ||
1536 | PR tree-optimization/48616 | |
1537 | * tree-vect-stmts.c (vectorizable_shift): If SLP, determine | |
1538 | whether the shift is by scalar or vector based on whether all SLP | |
1539 | scalar stmts have the same rhs. | |
1540 | ||
e54170f4 CLT |
1541 | 2011-04-17 Chung-Lin Tang <cltang@codesourcery.com> |
1542 | ||
1543 | * config/arm/arm.c (neon_struct_mem_operand): Support POST_INC/PRE_DEC | |
1544 | memory operands. | |
1545 | ||
b14ee6c9 RS |
1546 | 2011-04-17 Richard Sandiford <rdsandiford@googlemail.com> |
1547 | ||
1548 | * config/mips/mips.c (mips_cfun_call_saved_reg_p): Handle global | |
1549 | registers. | |
1550 | ||
10158cd3 JH |
1551 | 2011-04-17 Jan Hubicka <jh@suse.cz> |
1552 | ||
1553 | * cgrpah.h (struct cgraph_node): Remove finalized_by_frontend. | |
7d5fc814 EB |
1554 | * cgrpahunit.c (cgraph_finalize_function): Do not set |
1555 | finalized_by_frontend. | |
10158cd3 JH |
1556 | * lto-cgraph.c (lto_output_node, input_overwrite_node): Do not stream |
1557 | finalized_by_frontend. | |
1558 | ||
2e9bb6ba JH |
1559 | 2011-04-17 Jan Hubicka <jh@suse.cz> |
1560 | ||
1561 | * cgraph.c (cgraph_clone_node): Do not handle vtable_method | |
1562 | * cgraph.h (struct cgraph_local_info): Drop vtable_method. | |
1563 | * cgraphunit.c (cgraph_copy_node_for_versioning): Drop vtable_method. | |
7d5fc814 EB |
1564 | * lto-cgraph.c (lto_output_node, input_overwrite_node): Drop vtable |
1565 | method. | |
2e9bb6ba JH |
1566 | * gimple-fold.c (can_refer_decl_in_current_unit_p): Mention PR20991 in |
1567 | gimple-fold.c | |
1568 | * varasm.c (mark_decl_referenced): Drop vtable_method handling code. | |
1569 | ||
beb628e1 EB |
1570 | 2011-04-17 Eric Botcazou <ebotcazou@adacore.com> |
1571 | ||
1572 | PR lto/48538 | |
1573 | * lto-cgraph.c (merge_profile_summaries): Check that lto_file_data | |
1574 | is non-null before accessing it. | |
1575 | (input_cgraph): Remove trailing spaces. | |
1576 | ||
3e2fdd24 RE |
1577 | 2011-04-17 Revital Eres <revital.eres@linaro.org> |
1578 | ||
1579 | * params.def (sms-min-sc): New param flag. | |
1580 | * modulo-sched.c (sms_schedule): Use it. | |
1581 | * doc/invoke.texi (sms-min-sc): Document it. | |
1582 | ||
4c0f7679 JH |
1583 | 2011-04-17 Jan Hubicka <jh@suse.cz> |
1584 | ||
1585 | * lto-symtab.c (lto_cgraph_replace_node): When call statement is | |
1586 | present, also set gimple_call_set_cannot_inline. | |
1587 | * ipa-inline.c: Update toplevel comment. | |
1588 | (MAX_TIME): Remove. | |
1589 | (cgraph_clone_inlined_nodes): Fix linebreaks. | |
1590 | (cgraph_check_inline_limits): Restructure to ... | |
1591 | (caller_growth_limits): ... this one; be more tolerant | |
1592 | on growth in nested inline chains; add explanatory comment; | |
1593 | fix stack accounting thinko introduced by previous patch. | |
1594 | (cgraph_default_inline_p): Remove. | |
1595 | (report_inline_failed_reason): New function. | |
1596 | (can_inline_edge_p): New function. | |
1597 | (can_early_inline_edge_p): New function. | |
1598 | (leaf_node_p): Move upwards in file. | |
1599 | (want_early_inline_function_p): New function. | |
1600 | (want_inline_small_function_p): New function. | |
1601 | (want_inline_self_recursive_call_p): New function. | |
1602 | (cgraph_edge_badness): Rename to ... | |
1603 | (edge_badness) ... this one; fix linebreaks. | |
1604 | (update_edge_key): Update call of edge_baddness; add | |
1605 | detailed dump about queue updates. | |
1606 | (update_caller_keys): Use can_inline_edge_p and | |
1607 | want_inline_small_function_p. | |
1608 | (cgraph_decide_recursive_inlining): Rename to... | |
1609 | (recursive_inlining): Use can_inline_edge_p and | |
f60c2554 UB |
1610 | want_inline_self_recursive_call_p; simplify and remove no longer |
1611 | valid FIXME. | |
4c0f7679 JH |
1612 | (cgraph_set_inline_failed): Remove. |
1613 | (add_new_edges_to_heap): Use can_inline_edge_p and | |
1614 | want_inline_small_function_p. | |
1615 | (cgraph_decide_inlining_of_small_functions): Rename to ... | |
1616 | (inline_small_functions): ... this one; cleanup; use | |
f60c2554 UB |
1617 | can/want predicates; cleanup debug ouput; work edges till fibheap |
1618 | is exhausted and do not stop once unit growth is reached; remove | |
1619 | later loop processing remaining edges. | |
4c0f7679 JH |
1620 | (cgraph_flatten): Rename to ... |
1621 | (flatten_function): ... this one; use can_inline_edge_p | |
1622 | and can_early_inline_edge_p predicates. | |
1623 | (cgraph_decide_inlining): Rename to ... | |
1624 | (ipa_inline): ... this one; remove unreachable nodes before | |
1625 | inlining functions called once; simplify the pass. | |
1626 | (cgraph_perform_always_inlining): Rename to ... | |
1627 | (inline_always_inline_functions): ... this one; use | |
f60c2554 | 1628 | DECL_DISREGARD_INLINE_LIMITS; use can_inline_edge_p predicate. |
4c0f7679 JH |
1629 | (cgraph_decide_inlining_incrementally): Rename to ... |
1630 | (early_inline_small_functions): ... this one; simplify | |
1631 | using new predicates; cleanup; make dumps prettier. | |
1632 | (cgraph_early_inlining): Rename to ... | |
1633 | (early_inliner): newer inline regular functions into always-inlines; | |
1634 | fix updating of call stmt summaries. | |
1635 | (pass_early_inline): Update for new names. | |
1636 | (inline_transform): Fix formating. | |
1637 | (gate_cgraph_decide_inlining): Rename to ... | |
1638 | (pass_ipa_inline): ... this one. | |
1639 | * ipa-inline.h (inline_summary): Remove disregard_inline_limits. | |
1640 | * ipa-inline-analysis.c (dump_inline_summary): Update. | |
1641 | (compute_inline_parameters): Do not compute disregard_inline_limits; | |
1642 | look for mismatching arguments. | |
1643 | (estimate_growth): Fix handlig of non-trivial self recursion. | |
1644 | (inline_read_summary): Do not read info->disregard_inline_limits. | |
1645 | (inline_write_summary): Do not write info->disregard_inline_limits. | |
beb628e1 EB |
1646 | * tree-inline.c (inline_forbidden_into_p, tree_can_inline_p): Remove |
1647 | and move all checks into can_inline_edge_p predicate; re-enable code | |
1648 | comparing optimization levels. | |
4c0f7679 JH |
1649 | (expand_call_inline): Do not test inline_forbidden_into_p. |
1650 | * Makefile.in (ipa-inline.o): Update arguments. | |
1651 | ||
54333b7c RE |
1652 | 2011-04-17 Revital Eres <revital.eres@linaro.org> |
1653 | ||
1654 | * ddg.c (free_ddg_all_sccs): Free sccs field in struct ddg_all_sccs. | |
1655 | ||
42c2bf92 RE |
1656 | 2011-04-17 Revital Eres <revital.eres@linaro.org> |
1657 | ||
1658 | * modulo-sched.c (sms_schedule): Avoid unfreed memory when SMS fails. | |
1659 | ||
b183e9e0 MM |
1660 | 2011-04-17 Michael Matz <matz@suse.de> |
1661 | ||
1662 | PR tree-optimization/48622 | |
1663 | PR lto/48645 | |
1664 | * ipa-inline-analysis.c (inline_read_summary): Read size/time | |
1665 | in same order as they're written. | |
1666 | ||
b8a17fa2 JDA |
1667 | 2011-04-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1668 | ||
1669 | * config/pa/predicates.md: Reorganize and simplify predicates. | |
1670 | Eliminate duplicate code checks. | |
1671 | (arith_operand): Rename to arith14_operand | |
1672 | (reg_or_ior_operand): Rename to reg_or_cint_ior_operand. | |
1673 | * config/pa/pa.md: Use renamed operands. | |
1674 | * config/pa/pa-protos.h (symbolic_operand): Delete declaration. | |
1675 | (tls_symbolic_operand, function_label_operand, lhs_lshift_cint_operand, | |
1676 | arith11_operand, adddi3_operand, indexed_memory_operand, | |
1677 | symbolic_memory_operand, int11_operand, reg_or_cint_move_operand, | |
1678 | arith5_operand, uint5_operand, pic_label_operand, plus_xor_ior_operator, | |
1679 | borx_reg_operand, shadd_operand, arith_operand, read_only_operand, | |
1680 | move_dest_operand, move_src_operand, prefetch_cc_operand, | |
1681 | prefetch_nocc_operand, and_operand, ior_operand, arith32_operand, | |
1682 | uint32_operand, reg_before_reload_operand, reg_or_0_operand, | |
1683 | reg_or_0_or_nonsymb_mem_operand, pre_cint_operand, post_cint_operand, | |
1684 | div_operand, int5_operand, movb_comparison_operator, | |
1685 | ireg_or_int5_operand, call_operand_address, ior_operand, fp_reg_operand, | |
1686 | arith_double_operand, ireg_operand, lhs_lshift_operand, | |
1687 | pc_or_label_operand, non_hard_reg_operand, eq_neq_comparison_operator, | |
1688 | integer_store_memory_operand): Likewise. | |
1689 | * config/pa/pa.c (adddi3_operand): Move to predicates.md. | |
1690 | (integer_store_memory_operand, read_only_operand, | |
1691 | function_label_operand, borx_reg_operand, | |
1692 | non_hard_reg_operand): Likewise. | |
1693 | (eq_neq_comparison_operator): Delete unused operator. | |
1694 | (legitimize_pic_address): Use VOIDmode for mode argument in calls to | |
1695 | function_label_operand. | |
1696 | (emit_move_sequence): Likewise. | |
1697 | ||
8dfb9f16 UB |
1698 | 2011-04-16 Uros Bizjak <ubizjak@gmail.com> |
1699 | ||
1700 | * config/i386/sse.md (sseunpackmode): New mode attribute. | |
1701 | (ssepackmode): Ditto. | |
1702 | (vec_pack_trunc_<mode>): Macroize expander from | |
1703 | vec_pack_trunc_{v8hi,v4si,v2di} using VI248_128 mode iterator. | |
1704 | (vec_unpacks_lo_<mode>): Macroize expander from | |
1705 | vec_unpacks_lo_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
1706 | (vec_unpacks_hi_<mode>): Macroize expander from | |
1707 | vec_unpacks_hi_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
1708 | (vec_unpacku_lo_<mode>): Macroize expander from | |
1709 | vec_unpacku_lo_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
1710 | (vec_unpacku_hi_<mode>): Macroize expander from | |
1711 | vec_unpacks_hi_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
1712 | * config/i386/i386.c (ix86_expand_sse_unpack): Merge with | |
1713 | ix86_expand_sse4_unpack. | |
1714 | * config/i386/i386-protos.h (ix86_expand_sse4_unpack): Remove. | |
1715 | ||
e7f23018 JH |
1716 | 2011-04-16 Jan Hubicka <jh@suse.cz> |
1717 | ||
1718 | * cgraphbuild.c: Include ipa-inline.h. | |
1719 | (reset_inline_failed): Use initialize_inline_failed. | |
1720 | * cgraph.c: Include ipa-inline.h. | |
1721 | (cgraph_create_node_1): Do not initialize estimated_growth. | |
1722 | (initialize_inline_failed): More to ipa-inline-analysis.c | |
1723 | (dump_cgraph_node): Do not dump inline flags. | |
1724 | * cgraph.h (cgraph_local_info): Remove inlineable, versionable | |
1725 | and disregard_inline_limits flags. | |
1726 | (cgrpah_global_info): Remove estimated_stack_size, stack_frame_offset, | |
1727 | time, size, estimated_growth. | |
8dfb9f16 UB |
1728 | * ipa-cp.c (ipcp_versionable_function_p, ipcp_generate_summary): |
1729 | Update. | |
e7f23018 JH |
1730 | * cgraphunit.c (cgraph_decide_is_function_needed): Use |
1731 | DECL_DISREGARD_INLINE_LIMITS. | |
1732 | (cgraph_analyze_function): Do not initialize | |
1733 | node->local.disregard_inline_limits. | |
1734 | * lto-cgraph.c (lto_output_node, input_overwrite_node): Do not stream | |
1735 | inlinable, versionable and disregard_inline_limits. | |
1736 | * ipa-inline.c (cgraph_clone_inlined_nodes, cgraph_mark_inline_edge, | |
8dfb9f16 UB |
1737 | cgraph_check_inline_limits, cgraph_default_inline_p, |
1738 | cgraph_edge_badness, update_caller_keys, update_callee_keys, | |
1739 | add_new_edges_to_heap): Update. | |
1740 | (cgraph_decide_inlining_of_small_function): Update; set | |
1741 | CIF_FUNCTION_NOT_INLINABLE for uninlinable functions. | |
e7f23018 JH |
1742 | (cgraph_decide_inlining, cgraph_edge_early_inlinable_p, |
1743 | cgraph_decide_inlining_incrementally): Update. | |
8dfb9f16 UB |
1744 | * ipa-inline.h (inline_summary): Add inlinable, versionable, |
1745 | disregard_inline_limits, estimated_stack_size, stack_frame_offset, | |
1746 | time, size and estimated_growth parameters. | |
e7f23018 JH |
1747 | (estimate_edge_growth): Update. |
1748 | (initialize_inline_failed): Declare. | |
1749 | * ipa-split.c: Include ipa-inline.h | |
1750 | (execute_split_functions): Update. | |
1751 | * ipa.c (cgraph_postorder): Use DECL_DISREGARD_INLINE_LIMITS. | |
1752 | (cgraph_remove_unreachable_nodes): Do not clear inlinable flag. | |
1753 | (record_cdtor_fn): Use DECL_DISREGARD_INLINE_LIMITS. | |
1754 | * ipa-inline-analysis.c (inline_node_removal_hook): Update; set | |
1755 | estimated_growth to INT_MIN. | |
1756 | (inline_node_duplication_hook): Likewise. | |
1757 | (dump_inline_summary): Dump new fields. | |
1758 | (compute_inline_parameters): Update. | |
1759 | (estimate_edge_time, estimate_time_after_inlining, | |
1760 | estimate_size_after_inlining, estimate_growth, inline_read_summary, | |
1761 | inline_write_summary): | |
1762 | (initialize_inline_failed): Move here from cgraph.c. | |
1763 | * tree-sra.c: Include ipa-inline.h. | |
1764 | (ipa_sra_preliminary_function_checks): Update. | |
f60c2554 UB |
1765 | * Makefile.in (cgraph.o, cgraphbuild.o): Add dependency on |
1766 | ipa-inline.h. | |
e7f23018 | 1767 | |
e81b8564 UB |
1768 | 2011-04-16 Uros Bizjak <ubizjak@gmail.com> |
1769 | ||
1770 | * config/i386/sse.md (V16): New mode iterator. | |
1771 | (VI1, VI8): Ditto. | |
1772 | (AVXMODEQI, AVXMODEDI): Remove. | |
1773 | (sse2, sse3): New mode attribute. | |
1774 | (mov<mode>): Use V16 mode iterator. | |
1775 | (*mov<mode>_internal): Merge with *avx_mov<mode>_internal. | |
1776 | (push<mode>1): Use V16 mode iterator. | |
1777 | (movmisalign<mode>): Ditto. | |
1778 | (<sse>_movu<ssemodesuffix><avxmodesuffix>): Merge from | |
1779 | <sse>_movu<ssemodesuffix> and avx_movu<ssemodesuffix><avxmodesuffix>. | |
1780 | (*<sse>_movu<ssemodesuffix><avxmodesuffix>): Merge from | |
1781 | *<sse>_movu<ssemodesuffix> and *avx_movu<ssemodesuffix><avxmodesuffix>. | |
1782 | (<sse2>_movdqu<avxmodesuffix>): Merge from sse2_movdqu and | |
1783 | avx_movdqu<avxmodesuffix>. | |
1784 | (*<sse2>_movdqu<avxmodesuffix>): Merge from *sse2_movdqu and | |
1785 | *avx_movdqu<avxmodesuffix>. | |
1786 | (<sse3>_lddqu<avxmodesuffix>) Merge from sse3_lddqu and | |
1787 | avx_lddqu<avxmodesuffix>. | |
1788 | (<sse>_movnt<mode>): Merge with avx_movnt<AVXMODEF2P:mode>. | |
1789 | (<sse2>_movnt<mode>): Merge from sse2_movntv2di and | |
1790 | avx_movnt<AVXMODEDI:mode>. | |
1791 | * config/i386/i386.c (ix86_expand_vector_move_misalign): Update for | |
1792 | renamed sse_movups, sse2_movupd and sse2_movdqu patterns. | |
1793 | ||
4743d438 BS |
1794 | 2011-04-16 Bernd Schmidt <bernds@codesourcery.com> |
1795 | ||
1796 | PR target/48629 | |
1797 | * haifa-sched.c (prune_ready_list, schedule_block): Use | |
1798 | sched_pressure_p rather than flag_sched_pressure. | |
1799 | ||
eb229cf4 PH |
1800 | 2011-04-15 Pat Haugen <pthaugen@us.ibm.com> |
1801 | ||
1802 | * config/rs6000/rs6000.c (call_ABI_of_interest): Call | |
1803 | cgraph_get_node instead of cgraph_get_create_node. | |
1804 | ||
2ba172e0 JJ |
1805 | 2011-04-15 Jakub Jelinek <jakub@redhat.com> |
1806 | ||
1807 | * cfgexpand.c (expand_debug_expr): Use | |
1808 | simplify_gen_{unary,binary,ternary} instead of gen_rtx_*. | |
1809 | ||
63d2a353 MM |
1810 | 2011-04-15 Michael Matz <matz@suse.de> |
1811 | ||
1812 | * tree.h (ALLOCA_FOR_VAR_P): Rename to CALL_ALLOCA_FOR_VAR_P. | |
1813 | * builtins.c (expand_builtin): Use CALL_ALLOCA_FOR_VAR_P. | |
1814 | * function.c (gimplify_parameters): Ditto. | |
1815 | * gimplify.c (gimplify_vla_decl): Ditto. | |
1816 | ||
1817 | * gimple.h (enum gf_mask): Add GF_CALL_ALLOCA_FOR_VAR. | |
1818 | (gimple_call_set_alloca_for_var): New inline function. | |
1819 | (gimple_call_alloca_for_var_p): Ditto. | |
e81b8564 UB |
1820 | * gimple.c (gimple_build_call_from_tree): Remember |
1821 | CALL_ALLOCA_FOR_VAR_P state. | |
63d2a353 MM |
1822 | * cfgexpand.c (expand_call_stmt): Restore CALL_ALLOCA_FOR_VAR_P state. |
1823 | ||
1824 | * tree-inline.c (inline_forbidden_p_stmt): Don't reject alloca | |
1825 | calls if they were for VLA objects. | |
1826 | ||
dee74c34 MJ |
1827 | 2011-04-15 Martin Jambor <mjambor@suse.cz> |
1828 | ||
1829 | * ipa-prop.c (ipa_analyze_virtual_call_uses): Remove handling | |
1830 | of ADR_EXPRs. | |
1831 | ||
8e5837bc MJ |
1832 | 2011-04-15 Martin Jambor <mjambor@suse.cz> |
1833 | ||
1834 | PR middle-end/48601 | |
1835 | * tree-emutls.c (lower_emutls_function_body): Call | |
1836 | cgraph_get_create_node instead of cgraph_get_node. Do not assert the | |
1837 | result is non-NULL. | |
1838 | ||
0dc33c3c NP |
1839 | 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com> |
1840 | ||
1841 | * c-decl.c (detect_field_duplicates): Call | |
1842 | objc_detect_field_duplicates instead of objc_get_interface_ivars. | |
1843 | ||
edcdea5b NF |
1844 | 2011-04-15 Nathan Froyd <froydnj@codesourcery.com> |
1845 | ||
1846 | * gimple.h (gimple_asm_clobbers_memory_p): Declare. | |
1847 | * gimple.c (gimple_asm_clobbers_memory_p): Define. | |
1848 | * ipa-pure-const.c (check_stmt): Call it. | |
1849 | * tree-ssa-operands.c (get_asm_expr_operands): Likewise. | |
1850 | ||
8456558d RG |
1851 | 2011-04-15 Richard Guenther <rguenther@suse.de> |
1852 | ||
1853 | PR tree-optimization/48290 | |
1854 | * tree-ssa-copy.c (copy_prop_visit_phi_node): Propagate constants. | |
1855 | Properly decide inhibiting propagation based on the valueized | |
1856 | operand. Do loop-closed SSA form preserving here ... | |
1857 | (init_copy_prop): ... not here. | |
1858 | ||
266446be L |
1859 | 2011-04-15 H.J. Lu <hongjiu.lu@intel.com> |
1860 | ||
1861 | PR target/48612 | |
1862 | * config/i386/sse.md (*ieee_smin<mode>3): Switch mnemonics. | |
1863 | (*ieee_smax<mode>3): Likewise. | |
1864 | ||
17465c6e AK |
1865 | 2011-04-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
1866 | ||
1867 | * config/s390/s390.md (popcountdi2, popcountsi2, popcounthi2): | |
1868 | Replace match_operand with match_dup for the third operand in | |
1869 | these expanders. | |
1870 | ||
bce204e5 MK |
1871 | 2011-04-15 Maxim Kuvyrkov <maxim@codesourcery.com> |
1872 | ||
1873 | * combine.c (subst, combine_simlify_rtx): Add new argument, use it | |
1874 | to track processing of conditionals. Update all callers. | |
1875 | (try_combine, simplify_if_then_else): Update. | |
1876 | ||
3162fdf4 MK |
1877 | 2011-04-15 Maxim Kuvyrkov <maxim@codesourcery.com> |
1878 | ||
1879 | * config/m68k/m68k.c (m68k_sched_variable_issue): Handle | |
1880 | -fsched-pressure. | |
1881 | ||
79002a57 | 1882 | 2011-04-15 Georg-Johann Lay <avr@gjlay.de> |
e81b8564 | 1883 | |
79002a57 GJL |
1884 | * config/avr/avr.md ("rotl<mode>3",mode=HIDI): Use match_dup |
1885 | instead of match_operand for operand 3. | |
1886 | ||
4fd3a105 RS |
1887 | 2011-04-15 Richard Sandiford <richard.sandiford@linaro.org> |
1888 | ||
1889 | * recog.h (insn_operand_data): Add an "allows_mem" field. | |
1890 | * genoutput.c (output_operand_data): Initialize it. | |
1891 | * optabs.c (maybe_legitimize_operand_same_code): New function. | |
1892 | (maybe_legitimize_operand): Use it when matching the original | |
1893 | op->value. | |
1894 | ||
ad19c4be EB |
1895 | 2011-04-15 Eric Botcazou <ebotcazou@adacore.com> |
1896 | ||
1897 | * gimplify.c: Fix issues in comments throughout. | |
1898 | (voidify_wrapper_expr): Fix long line. | |
1899 | (build_stack_save_restore): Likewise. | |
1900 | (gimplify_loop_expr): Likewise. | |
1901 | (gimplify_compound_lval): Likewise. | |
1902 | (gimplify_init_ctor_eval): Likewise. | |
1903 | (gimplify_modify_expr_rhs): Likewise. | |
1904 | (omp_notice_threadprivate_variable): Likewise. | |
1905 | ||
b25aa0e8 | 1906 | 2011-04-15 Eric Botcazou <ebotcazou@adacore.com> |
e7925582 | 1907 | |
b25aa0e8 EB |
1908 | * cfgexpand.c (expand_call_stmt): Convert the function type to the |
1909 | original one if this is not a builtin function. | |
e7925582 | 1910 | |
09db7afe JJ |
1911 | 2011-04-14 Jakub Jelinek <jakub@redhat.com> |
1912 | ||
1913 | PR target/48605 | |
1914 | * config/i386/sse.md (sse4_1_insertps): If operands[2] is a MEM, | |
1915 | offset it as needed based on top 2 bits in operands[3], change | |
1916 | MEM mode to SFmode and mask those 2 bits away from operands[3]. | |
1917 | ||
c59633d9 NP |
1918 | 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com> |
1919 | ||
1920 | * c-parser.c (c_parser_objc_protocol_definition): Updated for | |
1921 | change from objc_declare_protocols() to objc_declare_protocol(). | |
1922 | ||
5e60198b UB |
1923 | 2011-04-14 Uros Bizjak <ubizjak@gmail.com> |
1924 | ||
1925 | * config/i386/sse.md (sse4_1): New mode attribute. | |
1926 | (<sse4_1>_blend<ssemodesuffix><avxmodesuffix>): Macroize from | |
1927 | avx_blend<ssemodesuffix><avxmodesuffix> and | |
1928 | sse4_1_blend<ssemodesuffix> using VF mode iterator. | |
1929 | (<sse4_1>_blendv<ssemodesuffix><avxmodesuffix>): Macroize from | |
1930 | avx_blendv<ssemodesuffix><avxmodesuffix> and | |
1931 | sse4_1_blendv<ssemodesuffix> using VF mode iterator. | |
1932 | (<sse4_1>_dp<ssemodesuffix><avxmodesuffix>): Macroize from | |
1933 | avx_dp<ssemodesuffix><avxmodesuffix> and | |
1934 | sse4_1_dp<ssemodesuffix> using VF mode iterator. | |
1935 | (sse4_1_mpsadbw): Merge with *avx_mpsadbw. | |
1936 | (sse4_1_packusdw): Merge with *avx_packusdw. | |
1937 | (sse4_1_pblendvb): Merge with *avx_pblendvb. | |
1938 | (sse4_1_pblendw): Merge with *avx_pblendw. | |
1939 | (avx_vtest<ssemodesuffix><avxmodesuffix>): Use VF mode iterator. | |
1940 | (<sse4_1>_round<ssemodesuffix><avxmodesuffix>): Macroize from | |
1941 | avx_round<ssemodesuffix>256 and sse4_1_round<ssemodesuffix> using | |
1942 | VF mode iterator. | |
1943 | (sse4_1_round<ssescalarmodesuffix>): Merge with | |
1944 | *avx_round<ssescalarmodesuffix>. | |
1945 | (aesenc): Merge with *avx_aesenc. | |
1946 | (aesenclast): Merge with *avx_aesenclast. | |
1947 | (aesdec): Merge with *avx_aesdec. | |
1948 | (aesdeclast): Merge with *avx_aesdeclast. | |
1949 | (pclmulqdq): Merge with *pclmulqdq. | |
1950 | * config/i386/predicates.md (reg_not_xmm0_operand_maybe_avx): | |
1951 | New predicate. | |
1952 | (nonimm_not_xmm0_operand_maybe_avx): Ditto. | |
1953 | ||
6f197850 L |
1954 | 2011-04-14 H.J. Lu <hongjiu.lu@intel.com> |
1955 | ||
1956 | PR middle-end/48608 | |
1957 | * cfgexpand.c (get_decl_align_unit): Renamed to ... | |
1958 | (align_local_variable): This. Update DECL_ALIGN. | |
1959 | (add_stack_var): Updated. | |
1960 | (expand_one_stack_var): Likewise. | |
1961 | ||
4a5ba3ed RG |
1962 | 2011-04-14 Richard Guenther <rguenther@suse.de> |
1963 | ||
1964 | * tree-ssa-dse.c (struct dse_global_data, struct dse_block_local_data): | |
1965 | Remove. | |
1966 | (dse_initialize_block_local_data, dse_leave_block, | |
1967 | record_voperand_set, get_stmt_uid): Likewise. | |
1968 | (dse_possible_dead_store_p): Allow any kind of killing stmt. | |
1969 | (dse_optimize_stmt): Remove voperand set handling code. | |
1970 | Simplify and improve to handle any kind of killing stmt. | |
1971 | (dse_record_phi): Remove. | |
1972 | (dse_enter_block): Simplify. | |
1973 | (tree_ssa_dse): Likewise. | |
1974 | * tree-ssa-alias.c (stmt_kills_ref_p_1): Handle some builtins. | |
1975 | ||
10a5dd5d JH |
1976 | 2011-04-14 Jan Hubicka <jh@suse.cz> |
1977 | ||
1978 | * cgraph.c (dump_cgraph_node): Do not dump inline summaries. | |
1979 | * cgraph.h (struct inline_summary): Move to ipa-inline.h | |
1980 | (cgraph_local_info): Remove inline_summary. | |
1981 | * ipa-cp.c: Include ipa-inline.h. | |
1982 | (ipcp_cloning_candidate_p, ipcp_estimate_growth, | |
1983 | ipcp_estimate_cloning_cost, ipcp_insert_stage): Use inline_summary | |
1984 | accesor. | |
1985 | * lto-cgraph.c (lto_output_node): Do not stream inline summary. | |
1986 | (input_overwrite_node): Do not set inline summary. | |
1987 | (input_node): Do not stream inline summary. | |
1988 | * ipa-inline.c (cgraph_decide_inlining): Dump inline summaries. | |
1989 | (cgraph_decide_inlining_incrementally): Do not try to estimate overall | |
1990 | growth; we do not have inline parameters computed for that anyway. | |
1991 | (cgraph_early_inlining): After inlining compute call_stmt_sizes. | |
1992 | * ipa-inline.h (struct inline_summary): Move here from ipa-inline.h | |
1993 | (inline_summary_t): New type and VECtor. | |
1994 | (debug_inline_summary, dump_inline_summaries): Declare. | |
1995 | (inline_summary): Use VOCtor. | |
1996 | (estimate_edge_growth): Kill hack computing call stmt size directly. | |
1997 | * lto-section-in.c (lto_section_name): Add inline section. | |
1998 | * ipa-inline-analysis.c: Include lto-streamer.h | |
1999 | (node_removal_hook_holder, node_duplication_hook_holder): New holders | |
2000 | (inline_node_removal_hook, inline_node_duplication_hook): New functions. | |
2001 | (inline_summary_vec): Define. | |
2002 | (inline_summary_alloc, dump_inline_summary, debug_inline_summary, | |
2003 | dump_inline_summaries): New functions. | |
5e60198b UB |
2004 | (estimate_function_body_sizes): Properly compute size/time of outgoing |
2005 | calls. | |
2006 | (compute_inline_parameters): Alloc inline_summary; do not compute | |
2007 | size/time of incomming calls. | |
10a5dd5d JH |
2008 | (estimate_edge_time): Avoid missing time summary hack. |
2009 | (inline_read_summary): Read inline summary info. | |
2010 | (inline_write_summary): Write inline summary info. | |
2011 | (inline_free_summary): Free all hooks and inline summary vector. | |
2012 | * lto-streamer.h: Add LTO_section_inline_summary section. | |
2013 | * Makefile.in (ipa-cp.o, ipa-inline-analysis.o): Update dependencies. | |
2014 | * ipa.c (cgraph_remove_unreachable_nodes): Fix dump file formating. | |
2015 | ||
b602d918 RS |
2016 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
2017 | ||
2018 | * tree-vectorizer.h (vect_strided_store_supported): Add a | |
2019 | HOST_WIDE_INT argument. | |
2020 | (vect_strided_load_supported): Likewise. | |
2021 | (vect_permute_store_chain): Return void. | |
2022 | (vect_transform_strided_load): Likewise. | |
2023 | (vect_permute_load_chain): Delete. | |
2024 | * tree-vect-data-refs.c (vect_strided_store_supported): Take a | |
2025 | count argument. Check that the count is a power of two. | |
2026 | (vect_strided_load_supported): Likewise. | |
2027 | (vect_permute_store_chain): Return void. Update after above changes. | |
2028 | Assert that the access is supported. | |
2029 | (vect_permute_load_chain): Likewise. | |
2030 | (vect_transform_strided_load): Return void. | |
2031 | * tree-vect-stmts.c (vectorizable_store): Update calls after | |
2032 | above interface changes. | |
2033 | (vectorizable_load): Likewise. | |
2034 | (vect_analyze_stmt): Don't check for strided powers of two here. | |
2035 | ||
ab4472fa RG |
2036 | 2011-04-14 Richard Guenther <rguenther@suse.de> |
2037 | ||
2038 | PR tree-optimization/48590 | |
2039 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle | |
2040 | BUILT_IN_ALLOCA, BUILT_IN_STACK_SAVE and BUILT_IN_STACK_RESTORE. | |
2041 | (call_may_clobber_ref_p_1): Handle BUILT_IN_ALLOCA and | |
2042 | BUILT_IN_STACK_SAVE. | |
2043 | * tree-ssa-dce.c (propagate_necessity): Handle | |
2044 | BUILT_IN_ALLOCA, BUILT_IN_STACK_SAVE and BUILT_IN_STACK_RESTORE. | |
2045 | ||
32dabdaf NP |
2046 | 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com> |
2047 | ||
2048 | * c-parser.c (c_parser_objc_class_declaration): Updated call to | |
2049 | objc_declare_class. | |
2050 | ||
daade206 RG |
2051 | 2011-04-14 Richard Guenther <rguenther@suse.de> |
2052 | ||
2053 | * tree.h (get_object_alignment_1): Declare. | |
2054 | * builtins.c (get_object_alignment_1): Split out worker from ... | |
2055 | (get_object_alignment): ... here. | |
2056 | * fold-const.c (get_pointer_modulus_and_residue): Use | |
2057 | get_object_alignment_1. | |
2058 | ||
920e8172 RS |
2059 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
2060 | ||
2061 | * tree-vectorizer.h (vect_create_data_ref_ptr): Add an extra | |
2062 | type parameter. | |
2063 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add an aggr_type | |
2064 | parameter. Generalise code to handle arrays as well as vectors. | |
2065 | (vect_setup_realignment): Update accordingly. | |
2066 | * tree-vect-stmts.c (vectorizable_store): Likewise. | |
2067 | (vectorizable_load): Likewise. | |
2068 | ||
5ce1ee7f RS |
2069 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
2070 | ||
2071 | * tree-vect-stmts.c (vectorizable_load): Allocate and free dr_chain | |
2072 | within the per-copy loop. | |
2073 | ||
6438fe33 | 2074 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
0ea25ecd RS |
2075 | |
2076 | * tree-vect-stmts.c (vectorizable_load): Print the number of copies | |
2077 | in the dump file. | |
2078 | ||
6438fe33 | 2079 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
77b10485 RS |
2080 | |
2081 | * doc/options.texi (Negative): Explicitly mention that the | |
2082 | Negative chain must be circular. | |
2083 | ||
61e46a7d NF |
2084 | 2011-04-14 Nathan Froyd <froydnj@codesourcery.com> |
2085 | ||
2086 | * function.h (block_chainon): Declare. | |
2087 | * function.c (block_chainon): Define. | |
2088 | ||
43ea6502 | 2089 | 2011-04-14 Anatoly Sokolov <aesok@post.ru> |
5e60198b UB |
2090 | Eric Weddington <eric.weddington@atmel.com> |
2091 | Georg-Johann Lay <avr@gjlay.de> | |
2092 | ||
f60c2554 | 2093 | * config/avr/avr.c ("insn-codes.h", "optabs.h", "langhooks.h"): |
43ea6502 AS |
2094 | New Includes |
2095 | (avr_init_builtins, avr_expand_builtin, | |
2096 | avr_expand_delay_cycles, avr_expand_unop_builtin, | |
2097 | avr_expand_binop_builtin ): New functions. | |
2098 | (avr_builtin_id): New enum | |
2099 | (struct avr_builtin_description): New struct | |
2100 | (bdesc_1arg, bdesc_2arg): New arrays describing some RTL builtins. | |
2101 | (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define. | |
5e60198b | 2102 | |
43ea6502 | 2103 | * config/avr/avr.md (UNSPEC_FMUL, UNSPEC_FMULS, UNSPEC_FMULSU, |
5e60198b | 2104 | UNSPECV_ENABLE_IRQS, UNSPECV_NOP, UNSPECV_SLEEP, UNSPECV_WDR, |
43ea6502 AS |
2105 | UNSPECV_DELAY_CYCLES): new enumeration values |
2106 | (UNSPEC_SEI, UNSPEC_CLI): Remove enumeration values | |
2107 | ("enable_interrupt"): Use UNSPECV_ENABLE_IRQS | |
2108 | ("disable_interrupt"): Use UNSPECV_ENABLE_IRQS | |
2109 | ("*rotlqi3_4"): rename insn to "rotlqi3_4" | |
2110 | ("delay_cycles_1", "delay_cycles_2", "delay_cycles_3", | |
2111 | "delay_cycles_4", "nopv", "sleep", "wdr", "fmul", "fmuls", | |
2112 | "fmulsu"): New insns | |
5e60198b | 2113 | |
43ea6502 AS |
2114 | * config/avr/avr-c.c: fix line endings |
2115 | (avr_cpu_cpp_builtins): New builtin defines: __BUILTIN_AVR_NOP, | |
2116 | __BUILTIN_AVR_SEI, __BUILTIN_AVR_CLI, __BUILTIN_AVR_WDR, | |
2117 | __BUILTIN_AVR_SLEEP, __BUILTIN_AVR_SWAP, | |
2118 | __BUILTIN_AVR_DELAY_CYCLES, __BUILTIN_AVR_FMUL, | |
2119 | __BUILTIN_AVR_FMULS, __BUILTIN_AVR_FMULSU. | |
5e60198b | 2120 | |
43ea6502 AS |
2121 | * doc/extend.texi (AVR Built-in Functions): New node |
2122 | (Target Builtins): Add documentation of AVR | |
2123 | built-in functions. | |
2124 | ||
8a9b55f3 GJL |
2125 | 2011-04-14 Georg-Johann Lay <avr@gjlay.de> |
2126 | ||
2127 | PR target/44643 | |
2128 | * config/avr/avr.c (avr_insert_attributes): Leave TREE_READONLY | |
2129 | alone. Error if non-const data has attribute progmem. | |
2130 | ||
94bd1825 NF |
2131 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
2132 | ||
2133 | * tree.h (struct tree_constructor): Include tree_typed instead of | |
2134 | tree_common. | |
2135 | * tree.c (initialize_tree_contains_struct): Mark TS_CONSTRUCTOR as | |
2136 | TS_TYPED instead of TS_COMMON. | |
2137 | ||
5e60198b | 2138 | 2011-04-13 Uros Bizjak <ubizjak@gmail.com> |
81b1e7eb UB |
2139 | |
2140 | * config/i386/sse.md (*sse2_uavgv16qi3): Merge with *avx_uavgv16qi3. | |
2141 | (*sse2_uavgv8hi3): Merge with *avx_uavgv8hi3. | |
2142 | (sse2_psadbw): Merge with *avx_psadbw. | |
2143 | (ssse3_phaddwv8hi3): Merge with *avx_phaddwv8hi3. | |
2144 | (ssse3_phadddv4si3): Merge with *avx_phadddv4si3. | |
2145 | (ssse3_phaddswv8hi3): Merge with *avx_phaddswv8hi3. | |
2146 | (ssse3_phsubwv8hi3): Merge with *avx_phsubwv8hi3. | |
2147 | (ssse3_phsubdv4si3): Merge with *avx_phsubdv4si3. | |
2148 | (ssse3_phsubswv8hi3): Merge with *avx_phsubswv8hi3. | |
2149 | (ssse3_pmaddubsw128): Merge with *avx_pmaddubsw128. | |
2150 | (*ssse3_pmulhrswv8hi3): Merge with *avx_pmulhrswv8hi3. | |
2151 | (ssse3_pshufbv16qi3): Merge with *avx_pshufbv16qi3. | |
2152 | (ssse3_psign<mode>3): Merge with *avx_psign<mode>3. | |
2153 | (ssse3_palignrti): Merge with *avx_palignrti. | |
2154 | ||
4b1a4694 NF |
2155 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
2156 | ||
2157 | * tree-flow.h (struct gimple_df): Make free_ssanames a VEC. | |
2158 | * tree-ssanames.c (fini_ssanames): VEC_free it. | |
2159 | (make_ssa_name_fn): Update for VECness of free_ssanames. | |
2160 | (release_ssa_name, release_dead_ssa_names): Likewise. | |
2161 | * tree.h (struct tree_ssa_name): Include tree_typed instead of | |
2162 | tree_common. | |
2163 | * tree.c (initialize_tree_contains_struct): Mark TS_SSA_NAME as | |
2164 | TS_TYPED instead of TS_COMMON. | |
2165 | ||
4da3b811 NF |
2166 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
2167 | ||
2168 | * postreload-gcse.c (gcse_after_reload_main): Add calls to | |
2169 | statistics_counter_event. | |
2170 | * tree-ssa-copyrename.c (stats): Define. | |
2171 | (rename_ssa_copies): Count coalesced SSA_NAMEs. Add call to | |
2172 | statistics_counter_event. | |
2173 | * tree-ssa-math-opts.c (reciprocal_stats, sincos_stats): Define. | |
2174 | (bswap_stats, widen_mul_stats): Define. | |
2175 | (insert_reciprocals): Increment rdivs_inserted. | |
2176 | (execute_cse_reciprocals): Zeroize reciprocal_stats. Increment | |
2177 | rfuncs_inserted. Add calls to statistics_counter_event. | |
2178 | (execute_cse_sincos_1): Increment inserted. | |
2179 | (execute_cse_sincos): Zeroize sincos_stats. Add call to | |
2180 | statistics_counter_event. | |
2181 | (execute_optimize_bswap): Zeroize bswap_stats. Increment fields | |
2182 | of bswap_stats. Add calls to statistics_counter_event. | |
2183 | (convert_mult_to_widen): Increment widen_mults_inserted. | |
2184 | (convert_plusminus_to_widen): Increment maccs_inserted. | |
2185 | (convert_mult_to_fma): Increment fmas_inserted. | |
2186 | (execute_optimize_widening_mul): Zeroize widen_mul_stats. Add | |
2187 | calls to statistics_counter_event. | |
2188 | ||
89fa552a VM |
2189 | 2011-04-13 Vladimir Makarov <vmakarov@redhat.com> |
2190 | ||
2191 | PR rtl-optimization/48455 | |
2192 | * ira-costs.c (find_costs_and_classes): Use i_mem_cost instead of | |
2193 | `temp_costs->mem_cost'. | |
2194 | ||
03dfc36d JH |
2195 | 2011-04-13 Jan Hubicka <jh@suse.cz> |
2196 | ||
2197 | * ipa-inline.h: New file. | |
2198 | * ipa-inline-analysis.c: New file. Broken out of ... | |
2199 | * ipa-inline.c: ... this file; update toplevel comment; | |
2200 | include ipa-inline.h | |
2201 | (inline_summary): Move to ipa-inline.h | |
2202 | (cgraph_estimate_edge_time): Rename to estimate_edge_time; move to | |
2203 | ipa-inline-analysis.c. | |
7d4f8d02 EB |
2204 | (cgraph_estimate_time_after_inlining): Rename to |
2205 | estiamte_time_after_inlining; move to ipa-inline-analysis.c | |
03dfc36d JH |
2206 | (cgraph_estimate_edge_growth): Move to ipa-inline-analysis.c; rename |
2207 | to estimate_edge_growth. | |
2208 | (cgraph_estimate_size_after_inlining): Move to ipa-inline-analysis.c; | |
2209 | rename to estimate_size_after_inlining. | |
2210 | (cgraph_mark_inline_edge): Update for new naming convention. | |
2211 | (cgraph_check_inline_limits): Likewise. | |
2212 | (cgraph_edge_badness): Likewise. | |
2213 | (cgraph_decide_recursive_inlining): Likewise. | |
2214 | (cgraph_decide_inlining_of_small_functions): Likewise. | |
2215 | (cgraph_decide_inlining_incrementally): Likewise. | |
7d4f8d02 EB |
2216 | (cgraph_estimate_growth): Rename to estimate_growth; move to |
2217 | ipa-inline-analysis.c. | |
03dfc36d JH |
2218 | (eliminated_by_inlining_prob): Move to ipa-inline-analysis.c. |
2219 | (estimate_function_body_sizes): Move to ipa-inline-analysis.c. | |
2220 | (compute_inline_parameters): Likewise. | |
2221 | (compute_inline_parameters_for_current): Likewise. | |
2222 | (pass_inline_parameters): Likewise. | |
2223 | (inline_indirect_intraprocedural_analysis): Likewise. | |
2224 | (analyze_function): Rename to inline_analyze_function; likewise. | |
2225 | (add_new_function): Move to ipa-inline-analysis.c. | |
2226 | (inline_generate_summary): Likewise. | |
2227 | (inline_read_summary): Likewise. | |
2228 | (inline_write_summary): Likewise. | |
2229 | * Makefile.in (ipa-inline-analysis.c): New file. | |
2230 | ||
7673c962 RO |
2231 | 2011-04-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2232 | ||
2233 | * configure.ac (gcc_cv_as_sparc_gotdata_op): Remove GNU ld check. | |
2234 | * configure: Regenerate. | |
2235 | ||
9698252f NF |
2236 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
2237 | ||
2238 | * tree.h (struct tree_int_cst, struct real_value): Include tree_typed | |
2239 | instead of tree_common. | |
2240 | (struct tree_fixed_cst, struct tree_string, struct tree_complex): | |
2241 | Likewise. | |
2242 | * tree.c (initialize_tree_contains_struct): Mark such nodes as being | |
2243 | TS_TYPED rather than TS_COMMON. | |
2244 | * print-tree.c (print_node) [STRING_CST]: Don't print TREE_CHAIN. | |
2245 | ||
3a7bfdd5 GJL |
2246 | 2011-04-01 Georg-Johann Lay <avr@gjlay.de> |
2247 | ||
2248 | PR target/45263 | |
86d83530 GJL |
2249 | * config/avr/libgcc.S (__do_global_ctors, __do_global_dtors): Don't use |
2250 | r20 around calls of __tablejump_elpm__ | |
3a7bfdd5 | 2251 | |
20790697 JJ |
2252 | 2011-04-13 Jakub Jelinek <jakub@redhat.com> |
2253 | ||
2254 | PR middle-end/48591 | |
2255 | * omp-low.c (expand_omp_atomic_fetch_op): Return false if decl is | |
2256 | NULL. | |
2257 | (expand_omp_atomic_pipeline): Return false if cmpxchg is NULL. | |
2258 | ||
094d7661 BS |
2259 | 2011-04-13 Bernd Schmidt <bernds@codesourcery.com> |
2260 | ||
2261 | * dwarf2out.c (struct dw_cfi_struct): Remove member dw_cfi_next. | |
2262 | (dw_cfi_ref): Add DEF_VEC_P and some DEF_VEC_ALLOC_Ps. | |
2263 | (cfi_vec): New typedef. | |
2264 | (struct dw_fde_struct): Make dw_fde_cfi a cfi_vec. Replace | |
2265 | dw_fde_switch_cfi with an integer dw_fde_switch_cfi_index. | |
2266 | (cie_cfi_vec): New static variable. | |
2267 | (cie_cfi_head): Delete. | |
2268 | (add_cfi): Accept a cfi_vec * as first argument. All callers and | |
2269 | declaration changed. Use vector rather than list operations. | |
2270 | (new_cfi): Don't initialize the dw_cfi_next field. | |
2271 | (add_fde_cfi): Allocate cie_cfi_vec if necessary. Use vector | |
2272 | rather than list operations. | |
2273 | (lookup_cfa): Use vector rather than list operations. | |
2274 | (output_cfis): New argument upto. Accept a cfi_vec rather than | |
2275 | a dw_cfi_ref list head as argument. All callers changed. | |
2276 | Iterate over the vector using upto as a maximum index. | |
2277 | (output_all_cfis): New static function. | |
2278 | (output_fde): Use vector rather than list operations. Use the | |
2279 | new upto argument for output_cfis rather than manipulating a | |
2280 | list. | |
2281 | (dwarf2out_begin_prologue): Change initializations to match | |
2282 | new struct members. | |
2283 | (dwarf2out_switch_text_section): Initialize dw_fde_switch_cfi_index | |
2284 | from the vector length rather than searching for the end of a list. | |
2285 | Use output_all_cfis. | |
2286 | (convert_cfa_to_fb_loc_list): Use vector rather than list operations. | |
2287 | ||
673a5740 NC |
2288 | 2011-04-13 Nick Clifton <nickc@redhat.com> |
2289 | ||
2290 | * config/rx/rx.md (movmemsi): Do not use this pattern when | |
2291 | volatile pointers are involved. | |
2292 | ||
1ee8b298 UB |
2293 | 2011-04-13 Uros Bizjak <ubizjak@gmail.com> |
2294 | ||
2295 | * config/i386/sse.md (pinsrbits): Remove. | |
2296 | (sse2_packsswb): Merge with *avx_packsswb. | |
2297 | (sse2_packssdw): Merge with *avx_packssdw. | |
2298 | (sse2_packuswb): Merge with *avx_packuswb. | |
2299 | (vec_interleave_highv16qi): Merge with *avx_interleave_highv16qi. | |
2300 | (vec_interleave_lowv16qi): Merge with *avx_interleave_lowv16qi. | |
2301 | (vec_interleave_highv8hi): Merge with *avx_interleave_highv8hi. | |
2302 | (vec_interleave_lowv8hi): Merge with *avx_interleave_lowv8hi. | |
2303 | (vec_interleave_highv4si): Merge with *avx_interleave_highv4si. | |
2304 | (vec_interleave_lowv4si): Merge with *avx_interleave_lowv4si. | |
2305 | (*sse4_1_pinsrb): Merge with *avx_pinsr<ssevecsize>. | |
2306 | (*sse2_pinsrw): Merge with *avx_pinsr<ssevecsize>. | |
2307 | (*sse4_1_pinsrd): Merge with *avx_pinsr<ssevecsize>. | |
2308 | (*sse4_1_pinsrq): Merge with *avx_pinsrq. | |
2309 | (sse2_loadld): Merge with *avx_loadld. | |
2310 | (*vec_extractv2di_1_rex64): Merge with *vec_extractv2di_1_rex64_avx. | |
2311 | (*vec_extractv2di_1_sse2): Merge with *vec_extractv2di_1_avx. | |
2312 | (*vec_concatv2si_sse4_1): Merge with *vec_concatv2si_avx. | |
2313 | (*vec_concatv2di_rex64_sse4_1): Merge with *vec_concatv2di_rex64_avx. | |
2314 | (vec_concatv2di): Merge with *vec_concatv2di_avx. | |
2315 | ||
81f653d6 NF |
2316 | 2011-04-12 Nathan Froyd <froydnj@codesourcery.com> |
2317 | ||
2318 | * c-decl.c (union lang_tree_node): Check for TS_COMMON before | |
2319 | calling TREE_CHAIN. | |
2320 | * print-tree.c (print_node): Likewise. | |
2321 | * tree-inline.c (copy_tree_r): Likewise. | |
2322 | * c-lang.c (LANG_HOOKS_INIT_TS): Define. | |
2323 | * lto-streamer-in.c (lto_input_tree_pointers): Check for TS_TYPED | |
2324 | instead of TS_COMMON. | |
2325 | * lto-streamer-out.c (lto_output_tree_pointers): Likewise. | |
2326 | * tree.c (initialize_tree_contains_struct): Handle TS_TYPED. | |
2327 | (copy_node_stat): Zero TREE_CHAIN only if necessary. | |
2328 | (MARK_TS_BASE, MARK_TS_TYPED, MARK_TS_COMMON): Move these... | |
2329 | (MARK_TS_DECL_COMMON, MARK_TS_DECL_COMMON, MARK_TS_DECL_WRTL): | |
2330 | ...and these... | |
2331 | (MARK_TS_DECL_WITH_VIS, MARK_TS_DECL_NON_COMMON): ...and these... | |
2332 | * tree.h: ...here. | |
2333 | (TREE_CHAIN): Check for a TS_COMMON structure. | |
2334 | (TREE_TYPE): Check for a TS_TYPED structure. | |
2335 | ||
ed940a4a PH |
2336 | 2011-04-12 Pat Haugen <pthaugen@us.ibm.com> |
2337 | ||
2338 | * config/rs6000/rs6000.c (call_ABI_of_interest): Call | |
2339 | cgraph_get_create_node instead of cgraph_node. | |
2340 | ||
eb345401 NP |
2341 | 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com> |
2342 | ||
2343 | * c-parser.c (c_parser_initelt): Updated call to | |
2344 | objc_build_message_expr. | |
2345 | (c_parser_postfix_expression): Likewise. | |
2346 | ||
a6c46762 KT |
2347 | 2011-04-12 Kai Tietz <ktietz@redhat.com> |
2348 | ||
2349 | * config/i386/mingw32.h (TARGET_SUBTARGET_DEFAULT): Add | |
2350 | MASK_MS_BITFIELD_LAYOUT bit. | |
2351 | ||
b4ccfed9 JJ |
2352 | 2011-04-12 Jakub Jelinek <jakub@redhat.com> |
2353 | ||
2354 | * combine.c (update_cfg_for_uncondjump): Instead of testing at_end | |
2355 | assert it is always true. | |
2356 | (try_combine): Don't call update_cfg_for_uncondjump for noop non-jump | |
2357 | moves. | |
2358 | ||
0d8a2528 NP |
2359 | 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com> |
2360 | ||
2361 | * c-parser.c (c_lex_one_token): Rewritten conditional used when | |
2362 | compiling Objective-C to be more efficient. | |
2363 | ||
06bd234a AF |
2364 | 2011-04-12 Axel Freyn <axel-freyn@gmx.de> |
2365 | ||
2366 | * opts-common.c (decode_cmdline_options_to_array): Remove variable | |
2367 | argv_copied. | |
2368 | ||
28569ac3 RS |
2369 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
2370 | ||
2371 | * recog.h, genoutput.c, optabs.c: Revert last patch. | |
2372 | ||
ae59e00d RR |
2373 | 2011-04-12 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
2374 | ||
81b1e7eb UB |
2375 | PR target/48090 |
2376 | * config/arm/arm.md (*arm_negdi2): Fix early clobber constraints. | |
ae59e00d | 2377 | |
cff1b7e0 RS |
2378 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
2379 | ||
2380 | * recog.h (insn_operand_data): Add an "allows_mem" field. | |
2381 | * genoutput.c (output_operand_data): Initialize it. | |
2382 | * optabs.c (maybe_legitimize_operand_same_code): New function. | |
2383 | (maybe_legitimize_operand): Use it when matching the original | |
2384 | op->value. | |
2385 | ||
77059241 RS |
2386 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
2387 | ||
2388 | * genpreds.c (process_define_predicate): Move most processing | |
2389 | to gensupport.c. Continue to validate the expression. | |
2390 | * genrecog.c (did_you_mean_codes, compute_predicate_codes) | |
2391 | (process_define_predicate): Move processing to gensupport.c. | |
2392 | (main): Remove DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE cases. | |
2393 | * gensupport.c (did_you_mean_codes): Moved from genrecog.c. | |
2394 | (compute_predicate_codes): Moved from genrecog.c. Add lineno | |
2395 | argument. | |
2396 | (valid_predicate_name_p): New function, split out from old | |
2397 | genpreds.c:process_define_predicate. | |
2398 | (process_define_predicate): New function, combining code from | |
2399 | old genpreds.c and genrecog.c functions. | |
2400 | (process_rtx): Call it for DEFINE_PREDICATE and | |
2401 | DEFINE_SPECIAL_PREDICATE. | |
2402 | ||
6308e208 RS |
2403 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
2404 | ||
2405 | * config/arm/arm.c (arm_print_operand): Use MEM_SIZE to get the | |
2406 | size of a '%A' memory reference. | |
2407 | (T_DREG, T_QREG): New neon_builtin_type_bits. | |
2408 | (arm_init_neon_builtins): Assert that the load and store operands | |
2409 | are neon_struct_operands. | |
2410 | (locate_neon_builtin_icode): Provide the neon_builtin_type_bits. | |
2411 | (NEON_ARG_MEMORY): New builtin_arg. | |
2412 | (neon_dereference_pointer): New function. | |
2413 | (arm_expand_neon_args): Add a neon_builtin_type_bits argument. | |
2414 | Handle NEON_ARG_MEMORY. | |
2415 | (arm_expand_neon_builtin): Update after above interface changes. | |
2416 | Use NEON_ARG_MEMORY for loads and stores. | |
2417 | * config/arm/predicates.md (neon_struct_operand): New predicate. | |
2418 | * config/arm/iterators.md (V_two_elem): Tweak formatting. | |
2419 | (V_three_elem): Use BLKmode for accesses that have no associated mode. | |
2420 | (V_four_elem): Tweak formatting. | |
2421 | * config/arm/neon.md (neon_vld1<mode>, neon_vld1_dup<mode>) | |
2422 | (neon_vst1_lane<mode>, neon_vst1<mode>, neon_vld2<mode>) | |
2423 | (neon_vld2_lane<mode>, neon_vld2_dup<mode>, neon_vst2<mode>) | |
2424 | (neon_vst2_lane<mode>, neon_vld3<mode>, neon_vld3_lane<mode>) | |
2425 | (neon_vld3_dup<mode>, neon_vst3<mode>, neon_vst3_lane<mode>) | |
2426 | (neon_vld4<mode>, neon_vld4_lane<mode>, neon_vld4_dup<mode>) | |
2427 | (neon_vst4<mode>): Replace pointer operand with a memory operand. | |
2428 | Use %A in the output template. | |
2429 | (neon_vld3qa<mode>, neon_vld3qb<mode>, neon_vst3qa<mode>) | |
2430 | (neon_vst3qb<mode>, neon_vld4qa<mode>, neon_vld4qb<mode>) | |
2431 | (neon_vst4qa<mode>, neon_vst4qb<mode>): Likewise, but halve | |
2432 | the width of the memory access. Remove post-increment. | |
2433 | * config/arm/neon-testgen.ml: Allow addresses to have an alignment. | |
2434 | ||
e5db8f2f NC |
2435 | 2011-04-12 Nick Clifton <nickc@redhat.com> |
2436 | ||
2437 | * config/v850/v850.c (expand_prologue): Do not use the CALLT | |
2438 | instruction for interrupt handlers if the target is the basic V850 | |
2439 | architecture. | |
2440 | (expand_epilogue): Likewise. | |
2441 | ||
74f091d6 JJ |
2442 | 2011-04-12 Jakub Jelinek <jakub@redhat.com> |
2443 | ||
2444 | PR rtl-optimization/48549 | |
2445 | * combine.c (propagate_for_debug): Also stop after BB_END of | |
2446 | this_basic_block. Process LAST and just stop processing after it. | |
2447 | (combine_instructions): If last_combined_insn has been deleted, | |
2448 | set last_combined_insn to its PREV_INSN. | |
2449 | ||
f20ca725 RG |
2450 | 2011-04-12 Richard Guenther <rguenther@suse.de> |
2451 | ||
2452 | PR tree-optimization/46076 | |
2453 | * gimple.h (struct gimple_statement_call): Add fntype field. | |
2454 | (gimple_call_fntype): Adjust. | |
2455 | (gimple_call_set_fntype): New function. | |
2456 | * gimple.c (gimple_build_call_1): Set the call function type. | |
2457 | * gimplify.c (gimplify_call_expr): Preserve the function | |
2458 | type the frontend used for the call. | |
2459 | (gimplify_modify_expr): Likewise. | |
2460 | * lto-streamer-in.c (input_gimple_stmt): Input the call stmts | |
2461 | function type. | |
2462 | * lto-streamer-out.c (output_gimple_stmt): Output the call stmts | |
2463 | function type. | |
2464 | * tree-ssa.c (useless_type_conversion_p): Function pointer | |
2465 | conversions are useless. | |
2466 | ||
a358e188 MJ |
2467 | 2011-04-12 Martin Jambor <mjambor@suse.cz> |
2468 | ||
2469 | * cgraph.h (cgraph_node): Remove function declaration. | |
2470 | (cgraph_create_node): Declare. | |
2471 | (cgraph_get_create_node): Likewise. | |
2472 | * cgraph.c (cgraph_create_node): Renamed to cgraph_create_node_1. | |
2473 | Updated all callers. | |
2474 | (cgraph_node): Renamed to cgraph_create_node, assert that a node for | |
2475 | the decl does not already exist. Call cgraph_get_create_node instead | |
2476 | of cgraph_node. | |
2477 | (cgraph_get_create_node): New function. | |
2478 | (cgraph_same_body_alias): Update comment. | |
2479 | (cgraph_set_call_stmt): Call cgraph_get_node instead of cgraph_node, | |
2480 | assert it does not return NULL. | |
2481 | (cgraph_update_edges_for_call_stmt): Likewise. | |
2482 | (cgraph_clone_edge): Likewise. | |
2483 | (cgraph_create_virtual_clone): Likewise. | |
2484 | (cgraph_update_edges_for_call_stmt_node): Call cgraph_get_create_node | |
2485 | instead of cgraph_node. | |
2486 | (cgraph_add_new_function): Call cgraph_create_node or | |
2487 | cgraph_get_create_node instead of cgraph_node. | |
2488 | * cgraphbuild.c (record_reference): Call cgraph_get_create_node | |
2489 | instead of cgraph_node. | |
2490 | (record_eh_tables): Likewise. | |
2491 | (mark_address): Likewise. | |
2492 | (mark_load): Likewise. | |
2493 | (build_cgraph_edges): Call cgraph_get_create_node instead | |
2494 | of cgraph_node. | |
2495 | (rebuild_cgraph_edges): Likewise. | |
2496 | * cgraphunit.c (cgraph_finalize_function): Call cgraph_get_create_node | |
2497 | instead of cgraph_node. | |
2498 | (cgraph_copy_node_for_versioning): Call cgraph_create_node instead of | |
2499 | cgraph_node. | |
2500 | * lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Call | |
2501 | cgraph_create_node instead of cgraph_node. | |
2502 | * c-decl.c (finish_function): Call cgraph_get_create_node instead | |
2503 | of cgraph_node. | |
2504 | * lto-cgraph.c (input_node): Likewise. | |
2505 | * lto-streamer-in.c (input_function): Likewise. | |
2506 | * varasm.c (mark_decl_referenced): Likewise. | |
2507 | (assemble_alias): Likewise. | |
2508 | ||
fe660d7b MJ |
2509 | 2011-04-12 Martin Jambor <mjambor@suse.cz> |
2510 | ||
2511 | * tree-inline.c (tree_function_versioning): Call cgraph_get_node | |
2512 | instead of cgraph_node and assert it does not return NULL. | |
2513 | * lto-streamer-in.c (lto_read_body): Likewise. | |
2514 | * omp-low.c (new_omp_context): Likewise. | |
2515 | (create_task_copyfn): Likewise. | |
2516 | * tree-emutls.c (lower_emutls_function_body): Likewise. | |
2517 | * matrix-reorg.c (transform_allocation_sites): Likewise. | |
2518 | ||
bae5cddf JJ |
2519 | 2011-04-12 Jakub Jelinek <jakub@redhat.com> |
2520 | ||
2521 | PR c/48552 | |
2522 | * c-typeck.c (build_asm_expr): Error out on attempts to use | |
2523 | void type outputs or inputs for constraints that allow reg or | |
2524 | don't allow memory. | |
2525 | ||
06eb52ca CLT |
2526 | 2011-04-11 Chung-Lin Tang <cltang@codesourcery.com> |
2527 | Richard Earnshaw <rearnsha@arm.com> | |
2528 | ||
2529 | PR target/48250 | |
2530 | * config/arm/arm.c (arm_legitimize_reload_address): Update cases | |
2531 | to use sign-magnitude offsets. Reject unsupported unaligned | |
2532 | cases. Add detailed description in comments. | |
2533 | * config/arm/arm.md (reload_outdf): Disable for ARM mode; change | |
2534 | condition from TARGET_32BIT to TARGET_ARM. | |
2535 | ||
648a616b NF |
2536 | 2011-04-11 Nathan Froyd <froydnj@codesourcery.com> |
2537 | ||
2538 | * tree.h (struct typed_tree): New. | |
2539 | (struct tree_common): Include it instead of tree_base. | |
2540 | (TREE_TYPE): Update for new location of type field. | |
2541 | (TYPE_USER_ALIGN, TYPE_PACKED): Refer to base field directly. | |
2542 | (DECL_USER_ALIGN, DECL_PACKED): Likewise. | |
2543 | (union tree_node): Add typed field. | |
2544 | * treestruct.def (TS_TYPED): New. | |
2545 | * lto-streamer.c (check_handled_ts_structures): Handle it. | |
2546 | * tree.c (MARK_TS_TYPED): New macro. | |
2547 | (MARK_TS_COMMON): Call it instead of MARK_TS_BASE. | |
2548 | ||
1e6d1da0 EB |
2549 | 2011-04-11 Eric Botcazou <ebotcazou@adacore.com> |
2550 | ||
2551 | * cfghooks.c (redirect_edge_and_branch_force): Localize variable. | |
2552 | (force_nonfallthru): Do not alter the loop nest if no basic block | |
2553 | was created. | |
2554 | ||
2555 | 2011-04-11 Uros Bizjak <ubizjak@gmail.com> | |
d8700b1c UB |
2556 | |
2557 | * config/i386/sse.md (VI): New mode iterator. | |
2558 | (SSEMODEI): Remove. | |
2559 | (AVX256MODEI): Ditto. | |
2560 | (AVXMODEF4P): Ditto. | |
2561 | (avxvecpsmode): Ditto. | |
2562 | (one_cmpl<mode>2): Enable for TARGET_SSE. Use VI mode iterator. | |
2563 | (sse2_andnot<mode>3): New expander. | |
2564 | (*andnot<mode>3): Merge with *sse2_andnot<mode>3 and | |
2565 | *avx_andnot<mode>3. Enable for TARGET_SSE. Use VI mode iterator. | |
2566 | (<any_logic:code><mode>3): Use VI mode iterator. | |
2567 | (*<any_logic:code><mode>3): Merge with *sse2_<any_logic:code><mode>3 | |
2568 | and *avx_<any_logic:code><mode>3. Use VI mode iterator. | |
2569 | (*andnottf3): Handle AVX three-operand constraints. | |
2570 | (*<any_logic:code>tf3): Handle AVX three-operand constraints. | |
2571 | ||
b1372d5d | 2572 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
d8700b1c | 2573 | Robert Millan <rmh@gnu.org> |
b1372d5d JM |
2574 | |
2575 | * config.gcc (x86_64-*-kfreebsd*-gnu): Use i386/kfreebsd-gnu.h. | |
2576 | * config/i386/kfreebsd-gnu.h (GNU_USER_DYNAMIC_LINKER32, | |
2577 | GNU_USER_DYNAMIC_LINKER64): Define. | |
2578 | (REG_NAME): Don't undefine. | |
2579 | (MD_UNWIND_SUPPORT): Undefine. | |
2580 | * config/i386/knetbsd-gnu.h (GNU_USER_LINK_EMULATION): Define. | |
2581 | (REG_NAME): Don't undefine. | |
2582 | (MD_UNWIND_SUPPORT): Undefine. | |
d8700b1c | 2583 | * config/i386/kopensolaris-gnu.h (GNU_USER_LINK_EMULATION): Define. |
b1372d5d | 2584 | |
761c0c6e JM |
2585 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
2586 | ||
2587 | * config/i386/gnu.h (GNU_USER_LINK_EMULATION): Define. | |
2588 | (CPP_SPEC, CC1_SPEC, ENDFILE_SPEC): Remove. | |
2589 | ||
26e0228f XDL |
2590 | 2011-04-11 Xinliang David Li <davidxl@google.com> |
2591 | ||
2592 | * value-profile.c (check_ic_target): New function. | |
2593 | (gimple_ic_transform): Sanity check indirect call target. | |
2594 | * gimple-low.c (gimple_check_call_args): Interface change. | |
2595 | (gimple_check_call_matching_types): New function. | |
2596 | * tree-inline.c (tree_can_inline_p): Call new function. | |
6075765d BS |
2597 | |
2598 | 2011-04-11 Basile Starynkevitch <basile@starynkevitch.net> | |
2599 | ||
2600 | * Makefile.in (PLUGIN_HEADERS): Add gimple-pretty-print.h | |
2601 | tree-pretty-print.h & realmpfr.h. | |
2602 | ||
a58dfa49 VM |
2603 | 2011-04-11 Vladimir Makarov <vmakarov@redhat.com> |
2604 | ||
2605 | PR middle-end/48464 | |
2606 | * ira.c (setup_pressure_classes): Fix typo in loop condition. | |
2607 | (setup_allocno_and_important_classes): Ditto. | |
2608 | ||
107fd1c1 JM |
2609 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
2610 | ||
2611 | * config/alpha/linux-elf.h (LINUX_DYNAMIC_LINKER): Rename to | |
2612 | GNU_USER_DYNAMIC_LINKER. | |
2613 | * config/arm/linux-eabi.h (TARGET_OS_CPP_BUILTINS): Change | |
2614 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2615 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Change | |
2616 | LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. | |
2617 | (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to | |
2618 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2619 | * config/bfin/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
2620 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2621 | * config/bfin/uclinux.h (TARGET_OS_CPP_BUILTINS): Change | |
2622 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2623 | * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Change | |
2624 | LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. | |
2625 | (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to | |
2626 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2627 | * config/frv/linux.h (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
2628 | GNU_USER_DYNAMIC_LINKER. | |
2629 | * config/gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
2630 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2631 | * config/i386/gnu-user.h (TARGET_OS_CPP_BUILTINS): Change | |
2632 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2633 | * config/i386/gnu-user64.h (TARGET_OS_CPP_BUILTINS): Change | |
2634 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2635 | * config/i386/linux.h (GNU_USER_DYNAMIC_LINKER): Remove. | |
2636 | * config/i386/linux64.h (GNU_USER_DYNAMIC_LINKER32, | |
2637 | GNU_USER_DYNAMIC_LINKER64): Remove. | |
2638 | * config/ia64/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
2639 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2640 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
2641 | GNU_USER_DYNAMIC_LINKER. | |
2642 | * config/kfreebsd-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
2643 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2644 | * config/knetbsd-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
2645 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2646 | * config/kopensolaris-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename | |
2647 | to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2648 | * config/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
2649 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2650 | (LINUX_DYNAMIC_LINKER): Rename to GNU_USER_DYNAMIC_LINKER. | |
2651 | (LINUX_DYNAMIC_LINKER32): Rename to GNU_USER_DYNAMIC_LINKER32. | |
2652 | (LINUX_DYNAMIC_LINKER64): Rename to GNU_USER_DYNAMIC_LINKER64. | |
2653 | * config/lm32/uclinux-elf.h (TARGET_OS_CPP_BUILTINS): Change | |
2654 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2655 | * config/m32r/linux.h (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
2656 | GNU_USER_DYNAMIC_LINKER. | |
2657 | (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to | |
2658 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2659 | * config/m68k/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
2660 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2661 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
2662 | GNU_USER_DYNAMIC_LINKER. | |
2663 | * config/m68k/uclinux.h (TARGET_OS_CPP_BUILTINS): Change | |
2664 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2665 | * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
2666 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2667 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
2668 | GNU_USER_DYNAMIC_LINKER. | |
2669 | * config/mips/linux64.h (LINUX_DYNAMIC_LINKERN32): Rename to | |
2670 | GNU_USER_DYNAMIC_LINKERN32. | |
2671 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKERN32 to | |
2672 | GNU_USER_DYNAMIC_LINKERN32. Change LINUX_DYNAMIC_LINKER64 to | |
2673 | GNU_USER_DYNAMIC_LINKER64. Change LINUX_DYNAMIC_LINKER32 to | |
2674 | GNU_USER_DYNAMIC_LINKER32. | |
2675 | * config/mn10300/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
2676 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2677 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
2678 | GNU_USER_DYNAMIC_LINKER. | |
2679 | * config/moxie/uclinux.h (TARGET_OS_CPP_BUILTINS): Change | |
2680 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2681 | * config/pa/pa-linux.h (TARGET_OS_CPP_BUILTINS): Change | |
2682 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
d8700b1c | 2683 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. |
107fd1c1 JM |
2684 | * config/rs6000/linux64.h (LINUX_DYNAMIC_LINKER32): Rename to |
2685 | GNU_USER_DYNAMIC_LINKER32. | |
2686 | (LINUX_DYNAMIC_LINKER64): Rename to GNU_USER_DYNAMIC_LINKER64. | |
2687 | * config/rs6000/sysv4.h (LINUX_DYNAMIC_LINKER): Rename to | |
2688 | GNU_USER_DYNAMIC_LINKER. | |
2689 | * config/s390/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
2690 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2691 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER32 to | |
2692 | GNU_USER_DYNAMIC_LINKER32. Change LINUX_DYNAMIC_LINKER64 to | |
2693 | GNU_USER_DYNAMIC_LINKER64. | |
2694 | * config/sh/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
2695 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2696 | (SUBTARGET_LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
2697 | GNU_USER_DYNAMIC_LINKER. | |
2698 | * config/sparc/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
2699 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2700 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
2701 | GNU_USER_DYNAMIC_LINKER. | |
2702 | * config/sparc/linux64.h (TARGET_OS_CPP_BUILTINS): Change | |
2703 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2704 | (LINK_ARCH32_SPEC): Change LINUX_DYNAMIC_LINKER32 to | |
2705 | GNU_USER_DYNAMIC_LINKER32. | |
2706 | (LINK_ARCH64_SPEC): Change LINUX_DYNAMIC_LINKER64 to | |
2707 | GNU_USER_DYNAMIC_LINKER64. | |
2708 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER64 to | |
2709 | GNU_USER_DYNAMIC_LINKER64. | |
2710 | * config/vax/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
2711 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
2712 | * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
2713 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
d8700b1c | 2714 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. |
107fd1c1 | 2715 | |
e24609cf JM |
2716 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
2717 | ||
2718 | * config/i386/gnu-user.h: Copy from linux.h. Update comments. | |
2719 | (LINK_EMULATION, GLIBC_DYNAMIC_LINKER): Remove. | |
2720 | (SUBTARGET_EXTRA_SPECS): Use GNU_USER_LINK_EMULATION and | |
2721 | GNU_USER_DYNAMIC_LINKER. | |
2722 | (MD_UNWIND_SUPPORT, REG_NAME): Remove. | |
2723 | * config/i386/gnu-user64.h: Copy from linux64.h. Update comments. | |
2724 | (GLIBC_DYNAMIC_LINKER32, GLIBC_DYNAMIC_LINKER64): Remove. | |
2725 | (LINK_SPEC): Use GNU_USER_DYNAMIC_LINKER32 and | |
2726 | GNU_USER_DYNAMIC_LINKER64. | |
2727 | (MD_UNWIND_SUPPORT, REG_NAME): Remove. | |
2728 | * config/i386/kfreebsd-gnu.h (LINK_EMULATION): Change to | |
2729 | GNU_USER_LINK_EMULATION. | |
2730 | * config/i386/linux.h (TARGET_ASM_FILE_START_FILE_DIRECTIVE, | |
2731 | DEFAULT_PCC_STRUCT_RETURN, TARGET_TLS_DIRECT_SEG_REFS_DEFAULT, | |
2732 | ASM_COMMENT_START, DBX_REGISTER_NUMBER, NO_PROFILE_COUNTERS, | |
2733 | MCOUNT_NAME, SUBTARGET_FRAME_POINTER_REQUIRED, SIZE_TYPE, | |
2734 | PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE, TARGET_OS_CPP_BUILTINS, | |
2735 | CPP_SPEC, CC1_SPEC): Remove. | |
2736 | (LINK_EMULATION): Change to GNU_USER_LINK_EMULATION. | |
2737 | (GNU_USER_DYNAMIC_LINKER): Define. | |
2738 | (ASM_SPEC, SUBTARGET_EXTRA_SPECS, LINK_SPEC, ENDFILE_SPEC, | |
2739 | ASM_OUTPUT_ALIGNED_BSS, ASM_OUTPUT_MAX_SKIP_ALIGN, | |
2740 | ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX, CRT_GET_RFIB_DATA, | |
2741 | LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT, TF_SIZE, | |
2742 | TARGET_ASM_FILE_END, STACK_CHECK_MOVING_SP, | |
2743 | STACK_CHECK_STATIC_BUILTIN, TARGET_THREAD_SSP_OFFSET, | |
2744 | TARGET_CAN_SPLIT_STACK, TARGET_THREAD_SPLIT_STACK_OFFSET): Remove. | |
2745 | * config/i386/linux64.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC, | |
2746 | CC1_SPEC, DEFAULT_PCC_STRUCT_RETURN, | |
2747 | TARGET_TLS_DIRECT_SEG_REFS_DEFAULT, SPEC_32, SPEC_64, ASM_SPEC, | |
2748 | LINK_SPEC, ENDFILE_SPEC, MULTILIB_DEFAULTS, LIBGCC2_HAS_TF_MODE, | |
2749 | LIBGCC2_TF_CEXT, TF_SIZE, TARGET_ASM_FILE_END): Remove. | |
2750 | (GNU_USER_DYNAMIC_LINKER32, GNU_USER_DYNAMIC_LINKER64): Define. | |
2751 | (STACK_CHECK_MOVING_SP, STACK_CHECK_STATIC_BUILTIN, | |
2752 | TARGET_THREAD_SSP_OFFSET, TARGET_CAN_SPLIT_STACK, | |
2753 | TARGET_THREAD_SPLIT_STACK_OFFSET): Remove. | |
2754 | * config/i386/gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
2755 | GNU_USER_DYNAMIC_LINKER. | |
2756 | * config/kfreebsd-gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
2757 | GNU_USER_DYNAMIC_LINKER. Unconditionally undefine and redefine. | |
2758 | * config/knetbsd-gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
2759 | GNU_USER_DYNAMIC_LINKER. Unconditionally undefine and redefine. | |
2760 | * config/kopensolaris-gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
2761 | GNU_USER_DYNAMIC_LINKER. Unconditionally undefine and redefine. | |
2762 | * config.gcc (i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | | |
2763 | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* | | |
2764 | i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux* | | |
d8700b1c | 2765 | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu): Use the new headers. |
e24609cf | 2766 | |
b8ce4e94 KT |
2767 | 2011-04-11 Kai Tietz <ktietz@redhat.com> |
2768 | ||
2769 | PR target/9601 | |
2770 | PR target/11772 | |
2771 | * config/i386/i386-protos.h (ix86_get_callcvt): New prototype. | |
2772 | * config/i386/i386.c (ix86_handle_cconv_attribute): Adjust | |
2773 | comment. | |
2774 | (ix86_is_msabi_thiscall): Removed. | |
2775 | (ix86_is_type_thiscall): Likewise. | |
2776 | (ix86_get_callcvt): New function. | |
2777 | (ix86_comp_type_attributes): Simplify check. | |
2778 | (ix86_function_regparm): Use ix86_get_callcvt for calling | |
2779 | convention attribute checks. | |
2780 | (ix86_return_pops_args): Likewise. | |
2781 | (ix86_static_chain): Likewise. | |
2782 | (x86_this_parameter): Likewise. | |
2783 | (x86_output_mi_thunk): Likewise. | |
2784 | (ix86_function_type_abi): Optimize check for types without attributes. | |
2785 | * config/i386/i386.h (IX86_CALLCVT_CDECL, IX86_CALLCVT_STDCALL, | |
2786 | IX86_CALLCVT_FASTCALL, IX86_CALLCVT_THISCALL, IX86_CALLCVT_REGPARM, | |
2787 | IX86_CALLCVT_SSEREGPARM): New macros to represent calling convention | |
2788 | by flag-values. | |
2789 | (IX86_BASE_CALLCVT): Helper macro. | |
2790 | * config/i386/netware.c (i386_nlm_maybe_mangle_decl_assembler_name): | |
2791 | Use ix86_get_callcvt for calling convention attribute checks and avoid | |
2792 | symbol-decoration for stdcall in TARGET_RTD case. | |
2793 | * config/i386/winnt.c (i386_pe_maybe_mangle_decl_assembler_name): | |
2794 | Likewise. | |
2795 | (gen_stdcall_or_fastcall_suffix): Adjust ident and use DECL_ORIGIN | |
2796 | for declaration. | |
2797 | ||
798dd0ba UB |
2798 | 2011-04-11 Uros Bizjak <ubizjak@gmail.com> |
2799 | ||
2800 | * config/i386/sse.md (VI_128): New mode iterator. | |
2801 | (VI12_128): Rename from SSEMODE12. | |
2802 | (VI14_128): Rename from SSEMODE14. | |
2803 | (VI124_128): New mode iterator. | |
2804 | (VI24_128): Rename from SSEMODE248. | |
2805 | (VI248_128): Rename from SSEMODE248. | |
2806 | (SSEMODE124C8): Remove. | |
2807 | (*<plusminus_insn><mode>3): Merge with *avx_<plusminus_insn><mode>3. | |
2808 | (*sse2_<plusminus_insn><mode>3): Merge with | |
2809 | *avx_<plusminus_insn><mode>3. | |
2810 | (*mulv8hi3): Merge with *avx_mulv8hi3. | |
2811 | (*<s>mulv8hi3_highpart): Merge with *avx_<s>mulv8hi3_highpart. | |
2812 | (*sse2_umulv2siv2di3): Merge with *avx_umulv2siv2di3. | |
2813 | (*sse2_pmaddwd): Merge with *avx_pmaddwd. | |
2814 | (*sse4_1_mulv4si3): Merge with *avx_mulv4si3. | |
2815 | (ashr<mode>3): Merge with *avx_ashr<mode>3. | |
2816 | (lshr<mode>3): Merge with *avx_lshr<mode>3. | |
2817 | (ashl<mode>3): Merge with *avx_ashl<mode>3. | |
2818 | (sse2_ashlv1ti3): Merge with *avx_ashlv1ti3. | |
2819 | (sse2_lshrv1ti3): Merge with *avx_lshrv1ti3. | |
2820 | (*sse4_1_<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3. | |
2821 | (*<smaxmin:code>v8hi3): Ditto. | |
2822 | (*sse4_1_<umaxmin:code><mode>3): Merge with *avx_<umaxmin:code><mode>3. | |
2823 | (*<smaxmin:code>v16qi3): Ditto. | |
2824 | (*sse4_1_eqv2di3): Merge with *avx_eq<mode>3. | |
2825 | (*sse2_eq<mode>3): Ditto. | |
2826 | (*sse4_2_eqv2di3): Merge with *avx_gt<mode>3. | |
2827 | (*sse2_gt<mode>3): Ditto. | |
2828 | (vcondv2di): Split out of vcond<mode>. | |
2829 | (vconduv2di): Split out of vcondu<mode>. | |
2830 | ||
956011be RG |
2831 | 2011-04-11 Richard Guenther <rguenther@suse.de> |
2832 | ||
2833 | * gimplify.c (gimple_fold_indirect_ref): Check host_integerp | |
2834 | before calling tree_low_cst. | |
2835 | ||
e6313a78 RG |
2836 | 2011-04-11 Richard Guenther <rguenther@suse.de> |
2837 | ||
2838 | * stor-layout.c (layout_type): Compute all array index size operations | |
2839 | in the original type. | |
2840 | (initialize_sizetypes): Add comment. | |
2841 | (set_sizetype): Do not set TREE_TYPE of a TREE_VEC. | |
2842 | ||
e69d7376 JM |
2843 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
2844 | ||
2845 | * common.opt (Tbss=, Tdata=, Ttext=): New options. | |
2846 | ||
9f9ebcdf MJ |
2847 | 2011-04-11 Martin Jambor <mjambor@suse.cz> |
2848 | ||
2849 | * cgraph.c (cgraph_local_info): Call cgraph_get_node instead | |
2850 | of cgraph_node, handle NULL return value. | |
2851 | (cgraph_global_info): Likewise. | |
2852 | (cgraph_rtl_info): Likewise. | |
2853 | * tree-inline.c (estimate_num_insns): Likewise. | |
2854 | * gimplify.c (unshare_body): Likewise. | |
2855 | (unvisit_body): Likewise. | |
2856 | (gimplify_body): Likewise. | |
2857 | * predict.c (optimize_function_for_size_p): Likewise. | |
2858 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise. | |
2859 | (call_may_clobber_ref_p_1): Likewise. | |
2860 | * varasm.c (function_section_1): Likewise. | |
2861 | (assemble_start_function): Likewise. | |
2862 | ||
581985d7 MJ |
2863 | 2011-04-11 Martin Jambor <mjambor@suse.cz> |
2864 | ||
2865 | * except.c (set_nothrow_function_flags): Call cgraph_get_node instead | |
2866 | of cgraph_node. | |
2867 | * final.c (rest_of_clean_state): Likewise. | |
2868 | * gimple-iterator.c (update_call_edge_frequencies): Likewise. | |
2869 | * passes.c (pass_init_dump_file): Likewise. | |
2870 | (execute_all_ipa_transforms): Likewise. | |
2871 | (function_called_by_processed_nodes_p): Likewise. | |
2872 | * predict.c (maybe_hot_frequency_p): Likewise. | |
2873 | (probably_never_executed_bb_p): Likewise. | |
2874 | (compute_function_frequency): Likewise. | |
2875 | * tree-nested.c (check_for_nested_with_variably_modified): Likewise. | |
2876 | (unnest_nesting_tree_1): Likewise. | |
2877 | (lower_nested_functions): Likewise. | |
2878 | * tree-optimize.c (execute_fixup_cfg): Likewise. | |
2879 | (tree_rest_of_compilation): Likewise. | |
2880 | * tree-profile.c (gimple_gen_ic_func_profiler): Likewise. | |
2881 | * tree-sra.c (ipa_early_sra): Likewise. | |
2882 | * tree-ssa-loop-ivopts.c (computation_cost): Likewise. | |
2883 | * config/i386/i386.c (ix86_compute_frame_layout): Likewise. | |
2884 | * ipa.c (record_cdtor_fn): Likewise. | |
2885 | * ipa-inline.c (cgraph_early_inlining): Likewise. | |
2886 | (compute_inline_parameters_for_current): Likewise. | |
2887 | * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise. | |
2888 | * ipa-pure-const.c (local_pure_const): Likewise. | |
2889 | * ipa-split.c (split_function): Likewise. | |
2890 | (execute_split_functions): Likewise. | |
2891 | * cgraphbuild.c (build_cgraph_edges): Likewise. | |
2892 | (rebuild_cgraph_edges): Likewise. | |
2893 | (cgraph_rebuild_references): Likewise. | |
2894 | (remove_cgraph_callee_edges): Likewise. | |
2895 | * cgraphunit.c (cgraph_mark_if_needed): Likewise. | |
2896 | (verify_cgraph_node): Likewise. | |
2897 | (cgraph_analyze_functions): Likewise. | |
2898 | (cgraph_preserve_function_body_p): Likewise. | |
2899 | (save_inline_function_body): Likewise. | |
2900 | (save_inline_function_body): Likewise. | |
2901 | * tree-inline.c (copy_bb): Likewise. | |
2902 | (optimize_inline_calls): Likewise. | |
2903 | ||
57dbdc5a MJ |
2904 | 2011-04-11 Martin Jambor <mjambor@suse.cz> |
2905 | ||
2906 | PR tree-optimization/48195 | |
2907 | * ipa-cp.c (ipcp_driver): Call ipa_check_create_node_params and | |
2908 | ipa_check_create_edge_args. | |
2909 | (ipcp_generate_summary): Do not call ipa_check_create_node_params and | |
2910 | ipa_check_create_edge_args. | |
2911 | * ipa-inline.c (inline_generate_summary): Do not call | |
2912 | ipa_check_create_node_params and ipa_check_create_edge_args. | |
2913 | * ipa-prop.c (ipa_analyze_node): Call ipa_check_create_node_params and | |
2914 | ipa_check_create_edge_args. | |
2915 | ||
d108e679 AS |
2916 | 2011-04-09 Anatoly Sokolov <aesok@post.ru> |
2917 | ||
2918 | * expr.c (expand_expr_real_1): Use add_to_hard_reg_set function | |
2919 | instead of loop. | |
2920 | * sel-sched.c (mark_unavailable_hard_regs): Likewise. | |
2921 | * function.c (record_hard_reg_sets): Likewise. | |
2922 | * ira.c (compute_regs_asm_clobbered): Likewise. | |
2923 | * sched-deps.c (sched_analyze_1): Likewise. | |
2924 | * reload1.c (mark_reload_reg_in_use, choose_reload_regs): Likewise. | |
2925 | ||
3411bc59 XDL |
2926 | 2011-04-09 Xinliang David Li <davidxl@google.com> |
2927 | ||
2928 | PR tree-optimization/PR48484 | |
2929 | * tree-ssa-uninit.c (convert_control_dep_chain_into_preds): Set | |
2930 | has_valid_pred lazily | |
2931 | ||
b365495a DS |
2932 | 2011-04-09 Duncan Sands <baldrick@free.fr> |
2933 | ||
2934 | * tree.c (array_type_nelts): Bail out if TYPE_MAX_VALUE not set. | |
2935 | ||
68bc509a EB |
2936 | 2011-04-08 Eric Botcazou <ebotcazou@adacore.com> |
2937 | ||
2938 | * combine.c (combine_validate_cost): Adjust comments. Set registered | |
2939 | cost of I0 to zero at the end, if any. | |
2940 | ||
041e059f XDL |
2941 | 2011-04-08 Xinliang David Li <davidxl@google.com> |
2942 | ||
68bc509a EB |
2943 | * ipa-cp.c (ipcp_update_profiling): Correct negative scale factor due |
2944 | to insane profile data. | |
041e059f | 2945 | |
444b3995 XDL |
2946 | 2011-04-08 Xinliang David Li <davidxl@google.com> |
2947 | ||
2948 | * ipa-cp.c (ipcp_update_profiling): Correct | |
2949 | negative scale factor due to insane profile data. | |
2950 | ||
6a801cf2 XDL |
2951 | 2011-04-08 Xinliang David Li <davidxl@google.com> |
2952 | ||
2953 | * final.c (dump_basic_block_info): New function. | |
2954 | (final): Dump basic block. | |
2955 | (final_scan_insn): Remove old dump. | |
2956 | ||
d5f3624e SK |
2957 | 2011-04-08 Steven G. Kargl <kargl@gcc.gnu.org> |
2958 | ||
68bc509a EB |
2959 | PR target/47829 |
2960 | * config.gcc (i386-*-freebsd): Disable unwind table generation for | |
2961 | crtbegin/crtend. | |
d5f3624e | 2962 | |
42821aff MM |
2963 | 2011-04-08 Michael Matz <matz@suse.de> |
2964 | ||
2965 | PR middle-end/48389 | |
2966 | * jump.c (rebuild_jump_labels_1, rebuild_jump_labels_chain): New | |
2967 | functions. | |
2968 | (rebuild_jump_labels): Call rebuild_jump_labels_1. | |
2969 | * rtl.h (rebuild_jump_labels_chain): Declare. | |
2970 | * cfgexpand.c (gimple_expand_cfg): Initialize JUMP_LABEL also on | |
2971 | insns inserted on edges. | |
2972 | ||
ad7be009 JM |
2973 | 2011-04-08 Joseph Myers <joseph@codesourcery.com> |
2974 | ||
2975 | * config.gcc (arm*-*-*): Add arm/arm-tables.opt to extra_options. | |
2976 | * config/arm/arm-arches.def: New. | |
2977 | * config/arm/arm-opts.h: New. | |
2978 | * config/arm/genopt.sh: New. | |
2979 | * config/arm/arm-tables.opt: New (generated). | |
2980 | * config/arm/arm.c (arm_handle_option, arm_target_help, | |
2981 | TARGET_HANDLE_OPTION, TARGET_HELP, arm_find_cpu): Remove. | |
2982 | (all_architectures): Get most table contents from arm-arches.def. | |
2983 | (arm_option_override): Set arm_selected_arch, arm_selected_cpu and | |
2984 | arm_selected_tune here. | |
2985 | * config/arm/arm.h (enum processor_type): Move to arm-opts.h. | |
2986 | * config/arm/arm.opt (config/arm/arm-opts.h): New HeaderInclude. | |
2987 | (march=, mcpu=, mtune=): Use Enum and Var. | |
2988 | * config/arm/t-arm ($(srcdir)/config/arm/arm-tables.opt): New. | |
2989 | (arm.o): Update dependencies. | |
ecbb6fb7 | 2990 | |
42821aff | 2991 | 2011-04-08 Basile Starynkevitch <basile@starynkevitch.net> |
ecbb6fb7 BS |
2992 | |
2993 | * gengtype.c (write_typed_alloc_def): New argument f. Use it instead | |
2994 | of header_file. | |
2995 | (write_typed_struct_alloc_def, write_typed_typedef_alloc_def) | |
2996 | (write_typed_alloc_defns): Likewise. | |
2997 | (main): Calls write_typed_alloc_defns with output_header. | |
2998 | ||
8d189b3f VM |
2999 | 2011-04-08 Vladimir Makarov <vmakarov@redhat.com> |
3000 | ||
68bc509a | 3001 | PR inline-asm/48435 |
8d189b3f VM |
3002 | * ira-color.c (setup_profitable_hard_regs): Add comments. |
3003 | Don't take prohibited hard regs into account. | |
3004 | (setup_conflict_profitable_regs): Rename to | |
3005 | get_conflict_profitable_regs. | |
3006 | (check_hard_reg_p): Check prohibited hard regs. | |
3007 | ||
44f370bf NF |
3008 | 2011-04-08 Nathan Froyd <froydnj@codesourcery.com> |
3009 | ||
3010 | * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Call use_reg. | |
3011 | * config/xtensa/xtensa.c (xtensa_call_tls_desc): Likewise. | |
3012 | * config/sparc/sparc.c (sparc_legitimize_tls_address): Likewise. | |
3013 | ||
483d7ad3 JDA |
3014 | 2011-04-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3015 | ||
3016 | PR target/48366 | |
3017 | * config/pa/pa.c (hppa_register_move_cost): Increase to 18 cost of | |
b8a17fa2 | 3018 | move from floating point to shift amount register. |
483d7ad3 JDA |
3019 | (emit_move_sequence): Remove secondary reload support for floating |
3020 | point to shift amount amount register copies. | |
3021 | (pa_secondary_reload): Return GENERAL_REGS for floating point/shift | |
3022 | amount register copies. | |
3023 | * config/pa/pa32-regs.h (HARD_REGNO_MODE_OK): For shift amount | |
3024 | register, return false if mode isn't a scalar integer mode. | |
3025 | * config/pa/pa64-regs.h (HARD_REGNO_MODE_OK): Likewise. | |
3026 | ||
97e03fa1 RG |
3027 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
3028 | ||
3029 | * gimple.c (gimple_call_flags): Remove kludge. | |
3030 | ||
9d40778b AM |
3031 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
3032 | ||
3033 | * sel-sched.c (sel_region_init): Move call to | |
3034 | sel_setup_region_sched_flags after setup_current_loop_nest. | |
3035 | ||
19ac7892 AB |
3036 | 2011-04-08 Andrey Belevantsev <abel@ispras.ru> |
3037 | ||
3038 | PR rtl-optimization/48272 | |
19ac7892 AB |
3039 | * sched-deps.c (setup_insn_reg_pressure_info): Export and rename to |
3040 | init_insn_reg_pressure_info. Adjust a caller. | |
3041 | * sched-int.h (init_insn_reg_pressure_info): Declare. | |
3042 | * haifa-sched.c (haifa_init_insn): Call init_insn_reg_pressure_info | |
3043 | when sched-pressure is enabled. | |
3044 | ||
0f8c63cc RG |
3045 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
3046 | ||
3047 | * gimple.c (gimple_set_modified): Do not queue calls to | |
3048 | MODIFIED_NORETURN_CALLS here ... | |
3049 | * tree-ssa-operands.c (update_stmt_operands): ... but here. | |
3050 | ||
5e5a425e RG |
3051 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
3052 | ||
3053 | PR lto/48467 | |
3054 | * toplev.c (lang_dependent_init): Do not open asm_out_file | |
3055 | in WPA mode, nor perform debug machinery initialization. | |
3056 | (finalize): Do not unlink asm_out_file in WPA mode. | |
3057 | ||
9bfc434b RG |
3058 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
3059 | ||
3060 | * gimple.h (gimple_call_fntype): New function. | |
3061 | (gimple_call_return_type): Use it. | |
3062 | * expr.c (expand_expr_real_1): Use gimple_call_fntype. | |
3063 | * gimple-low.c (gimple_check_call_args): Likewise. | |
3064 | * gimple.c (gimple_call_flags): Likewise. | |
3065 | (gimple_call_arg_flags): Likewise. | |
3066 | (gimple_call_return_flags): Likewise. | |
3067 | * tree-cfg.c (verify_gimple_call): Likewise. | |
3068 | (do_warn_unused_result): Likewise. | |
3069 | * tree-ssa-ccp.c (ccp_fold_stmt): Likewise. | |
3070 | * value-prof.c (gimple_ic_transform): Fix fndecl check. | |
3071 | ||
7c1f0b40 DM |
3072 | 2011-04-08 Dmitry Melnik <dm@ispras.ru> |
3073 | ||
3074 | PR rtl-optimization/48235 | |
3075 | * sel-sched.c (code_motion_process_successors): Recompute the last | |
3076 | insn in basic block if control flow changed. | |
3077 | (code_motion_path_driver): Ditto. Recompute the first insn as well. | |
3078 | Update condition for ilist_remove. | |
3079 | ||
ea4d630f AM |
3080 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
3081 | ||
3082 | PR rtl-optimization/48302 | |
3083 | * sel-sched-ir.h (sel_add_loop_preheaders): Update prototype. | |
3084 | * sel-sched-ir.c (sel_add_loop_preheaders): Add 'bbs' argument. Use | |
3085 | it to record added preheader blocks. | |
3086 | * sel-sched.c (setup_current_loop_nest): Add 'bbs' argument. Pass it | |
3087 | on to sel_add_loop_preheaders. | |
3088 | (sel_region_init): Move call to setup_current_loop_nest after | |
3089 | sel_init_bbs. | |
3090 | ||
07643d76 AM |
3091 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
3092 | ||
3093 | PR target/48273 | |
3094 | * cfgloop.h (loop_has_exit_edges): New helper. | |
3095 | * sel-sched-ir.c (init_global_and_expr_for_insn): Make CALLs | |
3096 | non-clonable. | |
3097 | * sel-sched.c (sel_setup_region_sched_flags): Don't pipeline loops | |
3098 | that have no exit edges. | |
3099 | ||
1f3b2b4e AM |
3100 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
3101 | ||
3102 | PR rtl-optimization/48442 | |
3103 | * sel-sched.c (init_seqno): Remove number_of_insns argument. Update | |
3104 | all callers. Adjust assert. | |
3105 | ||
554f1948 JJ |
3106 | 2011-04-08 Jakub Jelinek <jakub@redhat.com> |
3107 | ||
3108 | PR tree-optimization/48377 | |
3109 | * tree-vect-data-refs.c (vector_alignment_reachable_p): Set | |
3110 | is_packed to true even for types with smaller TYPE_ALIGN than | |
3111 | TYPE_SIZE. | |
3112 | ||
ddf72388 RG |
3113 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
3114 | ||
3115 | PR bootstrap/48513 | |
3116 | * doc/tm.texi: Re-generate. | |
3117 | ||
0c27e2d8 WG |
3118 | 2011-04-08 Wei Guozhi <carrot@google.com> |
3119 | ||
3120 | PR target/47855 | |
3121 | * config/arm/arm-protos.h (arm_attr_length_push_multi): New prototype. | |
3122 | * config/arm/arm.c (arm_attr_length_push_multi): New function. | |
3123 | * config/arm/arm.md (*push_multi): Change the length computation to | |
3124 | call a C function. | |
3125 | ||
07c5f94e AS |
3126 | 2011-04-08 Anatoly Sokolov <aesok@post.ru> |
3127 | ||
3128 | * doc/tm.texi.in (ASM_OUTPUT_BSS): Remove documentation. | |
3129 | (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): Update documentation. | |
3130 | * doc/tm.texi: Regenerate. | |
3131 | * system.h (ASM_OUTPUT_BSS): Poison. | |
3132 | * varasm.c (asm_output_bss): Remove function. | |
3133 | (emit_bss, init_varasm_once): Don't use ASM_OUTPUT_BSS macro. | |
798dd0ba | 3134 | |
07c5f94e AS |
3135 | * config/frv/frv.h (BSS_SECTION_ASM_OP): Remove comment. |
3136 | * config/frv/fr30.h (BSS_SECTION_ASM_OP): Likewise. | |
3137 | * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Likewise. | |
3138 | * config/i386/i386elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
3139 | Likewise. | |
3140 | * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
3141 | Likewise. | |
3142 | * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
3143 | Likewise. | |
3144 | * config/m68k/netbsd-elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. | |
3145 | ||
5f2c36e1 JM |
3146 | 2011-04-07 Joseph Myers <joseph@codesourcery.com> |
3147 | ||
3148 | * config/rx/rx.opt (rx610, rx200, rx600): Use Enum not Name on | |
3149 | EnumValue lines. | |
3150 | ||
39e7722b JM |
3151 | 2011-04-07 Joseph Myers <joseph@codesourcery.com> |
3152 | ||
3153 | * config/m68k/m68k.c (m68k_handle_option): Don't handle | |
3154 | OPT_m68000, OPT_mc68000, OPT_m68010, OPT_m68020, OPT_mc68020, | |
3155 | OPT_m68030, OPT_m68040, OPT_m68060, OPT_m68302, OPT_m68332 and | |
3156 | OPT_mcpu32. | |
3157 | * config/m68k/m68k.h (OPTION_DEFAULT_SPECS, ASM_CPU_SPEC): Don't | |
3158 | handle -mc68000, -m68000, -m68302, -m68010, -mc68020, -m68020, | |
3159 | -m68030, -m68040, -m68060, -mcpu32 and -m68332. | |
3160 | * config/m68k/m68k.opt (m68000, m68010, m68020, m68030, m68040, | |
3161 | m68060, m68302, m68332, mc68000, mc68020, mcpu32): Use Alias. | |
3162 | * config/m68k/t-mlibs (CANONICALIZE_OPTIONS): Remove. | |
3163 | (MULTILIB_OPTIONS): Don't use $(CANONICALIZE_OPTIONS). | |
3164 | (MULTILIB_MATCHES): Map -march= options to corresponding -mcpu= | |
3165 | options. Don't map other m68k options manually. Don't handle | |
3166 | old-style options as canonical. | |
3167 | (MULTILIB_EXCEPTIONS): Don't use $(CANONICALIZE_OPTIONS). | |
798dd0ba | 3168 | * doc/install.texi (m68k-*-*): Document binutils version requirement. |
39e7722b | 3169 | |
cf103ca4 EB |
3170 | 2011-04-07 Eric Botcazou <ebotcazou@adacore.com> |
3171 | ||
3172 | * basic-block.h (force_nonfallthru): Move to... | |
3173 | * cfghooks.h (struct cfg_hooks): Add force_nonfallthru hook. | |
3174 | (force_nonfallthru): ...here. | |
3175 | * cfghooks.c (force_nonfallthru): New function. | |
3176 | * cfgrtl.c (force_nonfallthru): Rename into... | |
3177 | (rtl_force_nonfallthru): ...this. | |
3178 | (commit_one_edge_insertion): Do not set AUX field. | |
3179 | (commit_edge_insertions): Do not discover new basic blocks. | |
3180 | (rtl_cfg_hooks): Add rtl_force_nonfallthru. | |
3181 | (cfg_layout_rtl_cfg_hooks): Likewise. | |
3182 | * function.c (thread_prologue_and_epilogue_insns): Remove bogus | |
3183 | ATTRIBUTE_UNUSED. Discover new basic blocks in the prologue insns. | |
3184 | * tree-cfg.c (gimple_cfg_hooks): Add NULL for force_nonfallthru. | |
3185 | ||
14431f58 AS |
3186 | 2011-04-07 Anatoly Sokolov <aesok@post.ru> |
3187 | ||
3188 | * config/mips/mips.h (REG_MODE_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): | |
3189 | Remove macros. | |
3190 | ||
3729983c UB |
3191 | 2011-04-07 Uros Bizjak <ubizjak@gmail.com> |
3192 | ||
3193 | * config/i386/sse.md: Update copyright year. | |
3194 | (avxcvtvecmode): Remove. | |
3195 | (sse_movhlps): Merge with *avx_movhlps. | |
3196 | (sse_movlhps): Merge with *avx_movlhps. | |
3197 | (vec_interleave_highv4sf): Merge with *avx_interleave_highv4sf. | |
3198 | (vec_interleave_lowv4sf): Merge with *avx_interleave_lowv4sf. | |
3199 | (sse_shufps_<mode>): Merge with *avx_shufps_<mode>. | |
3200 | (sse_loadhps): Merge with *avx_loadhps. | |
3201 | (sse_storelps): Merge with *avx_storelps. | |
3202 | (sse_loadlps): Merge with *avx_loadlps. | |
3203 | (sse_movss): Merge with *avx_movss. | |
3204 | (*vec_concatv2sf_sse4_1): Merge with *vec_concatv2sf_avx. | |
3205 | (*vec_concatv4sf_sse): Merge with *vec_concatv4sf_avx. | |
3206 | (*vec_set<mode>_0_sse4_1): Merge with *vec_set<mode>_0_avx. | |
3207 | (*vec_set<mode>_0_sse2): Split multi-unit alternative. | |
3208 | (vec_set<mode>_0): Ditto. | |
3209 | (*vec_setv4sf_sse4_1): Merge with *vec_setv4sf_avx. | |
3210 | (sse4_1_insertps): Merge with *avx_insertps. | |
3211 | (*sse3_interleave_highv2df): Merge with *avx_interleave_highv2df. | |
3212 | (*sse3_interleave_lowv2df): Merge with *avx_interleave_lowv2df. | |
3213 | (vec_interleave_highv2di): Merge with *avx_interleave_highv2di. | |
3214 | (sse2_shufpd_<mode>): Merge with *avx_shufpd_<mode>. | |
3215 | (sse2_storehpd): Merge with *avx_storehpd. | |
3216 | (sse2_loadhpd): Merge with *avx_loadhpd. | |
3217 | (sse2_loadlpd): Merge with *avx_loadlpd. | |
3218 | (sse2_movsd): Merge with *avx_movsd. | |
3219 | (*vec_concatv2df): Merge with *vec_concatv2df. | |
3220 | ||
4e626909 JJ |
3221 | 2011-04-07 Jakub Jelinek <jakub@redhat.com> |
3222 | ||
3223 | PR debug/48343 | |
3224 | * combine.c (combine_instructions): Add last_combined_insn, | |
3729983c | 3225 | update it if insn is after it, pass it to all try_combine calls. |
4e626909 JJ |
3226 | (try_combine): Add last_combined_insn parameter, pass it instead of |
3227 | i3 to propagate_for_debug. | |
3228 | ||
3729983c | 3229 | 2011-04-07 Nick Clifton <nickc@redhat.com> |
5a10b0a9 NC |
3230 | |
3231 | * config/mn10300/mn10300.md (movqi_internal): Add alternatives | |
3232 | to handle MDR <-> data register transfers. | |
3233 | (movhi_internal): Likewise. | |
3234 | ||
20c03367 AM |
3235 | 2011-04-07 Alan Modra <amodra@gmail.com> |
3236 | ||
3237 | * config/rs6000/rs6000.c (rs6000_stack_info): Don't compare against | |
3238 | previous stack info. | |
3239 | ||
bf22920b TV |
3240 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
3241 | ||
3242 | PR target/43920 | |
3243 | * cfgcleanup.c (try_crossjump_to_edge): Add dir parameter. Pass dir to | |
3244 | flow_find_cross_jump. Swap variables to implement backward replacement. | |
3245 | (try_crossjump_bb): Add argument to try_crossjump_to_edge. | |
3246 | ||
823918ae TV |
3247 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
3248 | ||
3249 | PR target/43920 | |
3250 | * cfgcleanup.c (walk_to_nondebug_insn): New function. | |
3729983c UB |
3251 | (flow_find_cross_jump): Use walk_to_nondebug_insn. Recalculate bb1 |
3252 | and bb2. | |
3253 | (try_crossjump_to_edge): Handle case that newpos1 or newpos2 is not | |
3254 | src1 or src2. Redirect edges to the last basic block. Update | |
3255 | frequency and count on multiple basic blocks in case of fallthru. | |
823918ae | 3256 | |
472c95f5 TV |
3257 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
3258 | ||
3259 | PR target/43920 | |
3260 | * cfgcleanup.c (equal_different_set_p, can_replace_by, merge_dir): New | |
3261 | function. | |
3729983c UB |
3262 | (old_insns_match_p): Change return type. Replace return false/true |
3263 | with return dir_none/dir_both. Use can_replace_by. | |
3264 | (flow_find_cross_jump): Add dir_p parameter. Init replacement | |
3265 | direction from dir_p. Register replacement direction in dir, last_dir | |
3266 | and afterlast_dir. Handle new return type of old_insns_match_p using | |
472c95f5 TV |
3267 | merge_dir. Return replacement direction in dir_p. |
3268 | (flow_find_head_matching_sequence, outgoing_edges_match): Handle new | |
3269 | return type of old_insns_match_p. | |
3270 | (try_crossjump_to_edge): Add argument to call to flow_find_cross_jump. | |
3271 | * ifcvt.c ( cond_exec_process_if_block): Add argument to call to | |
3272 | flow_find_cross_jump. | |
3273 | * basic-block.h (enum replace_direction): New type. | |
3274 | (flow_find_cross_jump): Add parameter to declaration. | |
3275 | ||
a95d4000 UB |
3276 | 2011-04-06 Uros Bizjak <ubizjak@gmail.com> |
3277 | ||
3278 | * config/i386/sse.md (AVXMODEDCVTDQ2PS): Remove. | |
3279 | (AVXMODEDCVTPS2DQ): Ditto. | |
3280 | (VEC_FLOAT_MODE): Ditto. | |
3281 | (<sse>_andnot<mode>3): Merge with avx_andnot<mode>3. Use VF mode | |
3282 | iterator. Handle TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL target flag. | |
3283 | (<any_logic:code><mode>3): Use VF mode iterator. | |
3284 | (*<any_logic:code><mode>3): Merge with *avx_<any_logic:code><mode>3. | |
3285 | Use VF mode iterator. | |
3286 | (copysign<mode>3): Use VF mode iterator. | |
3287 | (*andnot<MODEF:mode>3): Merge with *avx_andnot<MODEF:mode>3. Handle | |
3288 | TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL target flag. | |
3289 | (*<any_logic:code><MODEF:mode>3): Merge with | |
3290 | *avx_<any_logic:code><MODEF:mode>3. | |
3291 | (sse_cvtsi2ss): Merge with *avx_cvtsi2ss. | |
3292 | (sse_cvtsi2ssq): Merge with *avx_cvtsi2ssq. | |
3293 | (avx_cvtdq2ps256): Split from avx_cvtdq2ps<avxmodesuffix>. | |
3294 | (avx_cvtdq2ps<avxmodesuffix>): Remove. | |
3295 | (sse2_cvtdq2ps): Use %v modifier. | |
3296 | (avx_cvtps2dq256): Split from avx_cvtps2dq<avxmodesuffix>. | |
3297 | (avx_cvtps2dq<avxmodesuffix>): Remove. | |
3298 | (sse2_cvtps2dq): Use %v modifier. | |
3299 | (avx_cvttps2dq256): Split from avx_cvttps2dq<avxmodesuffix>. | |
3300 | (avx_cvttps2dq<avxmodesuffix>): Remove. | |
3301 | (sse2_cvttps2dq): Use %v modifier. | |
3302 | (sse2_cvtsi2sd): Merge with *avx_cvtsi2sd. | |
3303 | (sse2_cvtsi2sdq): Merge with *avx_cvtsi2sdq. | |
3304 | (sse2_cvtsd2siq): Fix insn template. | |
3305 | (sse2_cvtsd2siq_2): Ditto. | |
3306 | (sse2_cvttsd2siq): Ditto. | |
3307 | (sse2_cvtsd2ss): Merge with *avx_cvtsd2ss. | |
3308 | (sse2_cvtss2sd): Merge with *avx_cvtss2sd. | |
3309 | ||
ad01c437 JM |
3310 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
3311 | ||
3312 | * gcov-io.c: Use GCC Runtime Library Exception. | |
3313 | ||
fe846284 JJ |
3314 | 2011-04-06 Jakub Jelinek <jakub@redhat.com> |
3315 | ||
3316 | PR debug/48466 | |
3317 | * dwarf2out.c (based_loc_descr): If drap_reg is INVALID_REGNUM, use | |
3318 | as base_reg whatever register reg has been eliminated to, instead | |
3319 | of hardcoding STACK_POINTER_REGNUM. | |
3320 | ||
acce4e77 JM |
3321 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
3322 | ||
3323 | * doc/tm.texi.in: Document C target hooks as separate from general | |
3324 | target hooks. | |
3325 | * doc/tm.texi: Regenerate. | |
3326 | * genhooks.c (struct hook_desc): Add docname field. | |
3327 | (HOOK_VECTOR_1, DEFHOOKPOD, DEFHOOK, DEFHOOK_UNDOC). Initialize | |
3328 | docname field. | |
3329 | (hook_array): Include c-target.def. | |
3330 | (emit_documentation): Use docname field in output. | |
3331 | (emit_init_macros): Take docname argument. Only emit definitions | |
3332 | for hooks matching docname. | |
3333 | (main): Expect additional arguments in all cases. Pass argument | |
3334 | to emit_init_macros. | |
3335 | * target.def: Move initial macro definitions and comments to | |
3336 | target-hooks-macros.h. | |
3337 | (gcc_targetcm): Move to c-family/c-target.def. | |
3338 | * target.h (targetcm): Move declaration to c-family/c-target.h. | |
3339 | * targhooks.c (default_handle_c_option): Move to | |
3340 | c-family/c-opts.c. | |
3341 | * targhooks.h (default_handle_c_option): Move declaration to | |
3342 | c-family/c-common.h. | |
3343 | * target-hooks-macros.h: New file. | |
3344 | * config.gcc (target_has_targetcm): Define and use to add to | |
3345 | c_target_objs and cxx_target_objs. | |
3346 | * config/default-c.c: New file. | |
3347 | * config/darwin-c.c: Include c-target.h and c-target-def.h instead | |
3348 | of target.h and target-def.h. | |
3349 | (TARGET_HANDLE_C_OPTION, targetcm): Define later in file. | |
3350 | (darwin_objc_construct_string, darwin_cfstring_ref_p, | |
3351 | darwin_check_cfstring_format_arg): Make static. | |
3352 | (TARGET_OBJC_CONSTRUCT_STRING_OBJECT, | |
3353 | TARGET_STRING_OBJECT_REF_TYPE_P, | |
3354 | TARGET_CHECK_STRING_OBJECT_FORMAT_ARG): Define here. | |
3355 | * config/darwin-protos.h (darwin_objc_construct_string, | |
3356 | darwin_cfstring_ref_p, darwin_check_cfstring_format_arg): Don't | |
3357 | declare. | |
3358 | * config/darwin.h (TARGET_OBJC_CONSTRUCT_STRING_OBJECT, | |
3359 | TARGET_STRING_OBJECT_REF_TYPE_P, | |
a95d4000 | 3360 | TARGET_CHECK_STRING_OBJECT_FORMAT_ARG, TARGET_HAS_TARGETCM): Remove. |
acce4e77 JM |
3361 | * config/t-darwin (darwin-c.o): Update dependencies. |
3362 | * system.h (TARGET_HAS_TARGETCM): Poison. | |
3363 | * Makefile.in (TARGET_H): Update. | |
3364 | (TARGET_DEF, C_TARGET_DEF, C_TARGET_H, C_TARGET_DEF_H): Define. | |
3365 | (c-family/c-format.o, c-family/c-opts.o): Update dependencies. | |
3366 | (default-c.o): New target. | |
3367 | (s-target-hooks-def-h): Pass "Target Hook" string to genhooks. | |
a95d4000 | 3368 | (c-family/c-target-hooks-def.h, s-c-target-hooks-def-h): New targets. |
acce4e77 JM |
3369 | (s-tm-texi): Pass -d option to genhooks. Also test timestamp on |
3370 | c-target.def. | |
3371 | (build/genhooks.o): Update dependencies. | |
3372 | ||
275b4baa | 3373 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
a95d4000 | 3374 | |
275b4baa RG |
3375 | * ipa-inline.c (enum inlining_mode): Remove. |
3376 | (cgraph_flatten): Use some other token. | |
3377 | (cgraph_edge_early_inlinable_p): New function, split out from ... | |
3378 | (cgraph_perform_always_inlining): New function, split out from ... | |
3379 | (cgraph_decide_inlining_incrementally): ... here. | |
3380 | (cgraph_mark_inline_edge): Adjust. | |
3381 | (cgraph_early_inlining): Re-structure. | |
3382 | (pass_early_inline): Require SSA form. | |
3383 | ||
f15b8bdf | 3384 | 2011-04-06 Andrew Stubbs <ams@codesourcery.com> |
9adc580c AS |
3385 | Julian Brown <julian@codesourcery.com> |
3386 | Mark Shinwell <shinwell@codesourcery.com> | |
3387 | ||
3388 | * config/arm/arm.h (arm_class_likely_spilled_p): Check against | |
3389 | LO_REGS only for Thumb-1. | |
3390 | (MODE_BASE_REG_CLASS): Restrict base registers to those which can | |
3391 | be used in short instructions when optimising for size on Thumb-2. | |
3392 | ||
516426da EB |
3393 | 2011-04-06 Eric Botcazou <ebotcazou@adacore.com> |
3394 | ||
3395 | * gimple-low.c (lower_gimple_return): When not optimizing, force labels | |
3396 | associated with user returns to be preserved. | |
3397 | ||
96621ebf TG |
3398 | 2011-04-06 Tristan Gingold <gingold@adacore.com> |
3399 | ||
f15b8bdf EB |
3400 | * dbxout.c (debug_nesting, symbol_queue, symbol_queue_index, |
3401 | symbol_queue_size, DBXOUT_DECR_NESTING, | |
96621ebf TG |
3402 | (DBXOUT_DECR_NESTING_AND_RETURN): Also define |
3403 | if XCOFF_DEBUGGING_INFO. | |
3404 | ||
07c0852e UB |
3405 | 2011-04-06 Uros Bizjak <ubizjak@gmail.com> |
3406 | ||
3407 | * config/i386/i386.md (attribute isa): New. | |
3408 | (attribute enabled): New. | |
3409 | (setcc_<mode>_sse): Merge from *{avx,sse}_setcc<mode>. | |
3410 | (*fop_<mode>_comm_mixed): Merge with *fop_<mode>_comm_mixed_avx. | |
3411 | (*fop_<mode>_comm_sse): Merge with *fop_<mode>_comm_avx. | |
3412 | (*fop_<mode>_1_mixed): Merge with *fop_<mode>_1_mixed_avx. | |
3413 | (*fop_<mode>_1_sse): Merge with *fop_<mode>_1_avx. | |
3414 | (<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3. | |
3415 | (*ieee_smin<mode>3): Merge with *avx_ieee_smin<mode>3. | |
3416 | (*ieee_smax<mode>3): Merge with *avx_ieee_smax<mode>3. | |
3417 | ||
3418 | * config/i386/sse.md (VF): New mode iterator. | |
3419 | (VF1): Ditto. | |
3420 | (VF2): Ditto. | |
3421 | (VF_128): Ditto. | |
3422 | (SSEMODEF4): Remove. | |
3423 | (attribute sse): Handle V8SF and V4DF modes. | |
3424 | (<absneg:code><mode>2): Use VF mode iterator. | |
3425 | (*absneg<mode>2): Merge from *{avx,sse}_absneg<mode>2. Use VF | |
3426 | mode iterator. | |
3427 | (<plusminus_insn><mode>3): Use VF mode iterator. | |
3428 | (*<plusminus_insn><mode>3): Merge with *avx_<plusminus_insn><mode>3. | |
3429 | Use VF mode iterator. | |
3430 | (<sse>_vm<plusminus_insn><mode>3): Merge with | |
3431 | *avx_vm<plusminus_insn><mode>3. Use VF_128 mode iterator. | |
3432 | (mul<mode>3): Use VF mode iterator. | |
3433 | (*mul<mode>3): Merge with *avx_mul<mode>3. Use VF mode iterator. | |
3434 | (<sse>_vmmul<mode>3): Merge with *avx_vmmul<mode>3. Use VF_128 | |
3435 | mode iterator. | |
3436 | (div<VF2:mode>3): Merge from divv2df3 and divv4df3. | |
3437 | (div<VF1:mode>3): Merge from divv4sf3 and divv8sf3. | |
3438 | (<sse>_div<mode>3): Merge with *avx_div<mode>3. Use VF mode iterator. | |
3439 | (<sse>_vmdiv<mode>3): Merge with *avx_vmdiv<mode>3. Use VF_128 | |
3440 | mode iterator. | |
3441 | (<sse>_rcp<mode>2): Merge from avx_rcpv8sf2 and sse_rcpv4sf2. | |
3442 | Use VF1 mode iterator. | |
3443 | (sse_vmrcpv4sf2): Merge with *avx_vmrcpv4sf2. | |
3444 | (sqrt<VF2:mode>2): New expander. | |
3445 | (sqrt<VF1:mode>2): Merge from sqrtv4sf2 and sqrtv8sf2. | |
3446 | (<sse>_sqrt<mode>2): Merge from avx_sqrtv8sf2, sse_sqrtv4sf, sqrtv4df2 | |
3447 | and sqrtv2df2. Use VF mode iterator. | |
3448 | (<sse>_vmsqrt<mode>2): Merge with *avx_vmsqrt<mode>2. Use VF_128 | |
3449 | mode iterator. | |
3450 | (rsqrt<VF1:mode>2): Merge from rsqrtv4sf2 and rsqrtv8sf2. | |
3451 | (<sse>_rsqrt<mode>2): Merge from avx_rsqrtv8sf2 and sse_rsqrt4sf2. | |
3452 | Use VF1 mode iterator. | |
3453 | (sse_vmrsqrtv4sf2): Merge with *avx_vmrsqrtv4sf2. | |
3454 | (<smaxmin:code><mode>3): Use VF mode iterator. | |
3455 | (*<smaxmin:code><mode>3_finite): Merge with | |
3456 | *avx_<smaxmin:code><mode>3_finite. Use VF mode iterator. | |
3457 | (*<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3. | |
3458 | (<sse>_vm<smaxmin:code><mode>2): Merge with | |
3459 | *avx_vm<smaxmin:code><mode>2. Use VF_128 mode iterator. | |
3460 | (*ieee_smin<mode>3): Merge with *avx_ieee_smin<mode>3. Use VF | |
3461 | mode iterator. | |
3462 | (*ieee_smax<mode>3): Merge with *avx_ieee_smax<mode>3. Use VF | |
3463 | mode iterator. | |
3464 | (sse3_addsubv2df3): Merge with *avx_addsubv2df3. | |
3465 | (sse3_addsubv4sf3): Merge with *avx_addsubv4sf3. | |
3466 | (sse3_h<plusminus_insn>v2df3): Merge with *avx_h<plusminus_insn>v2df3. | |
3467 | (sse3_h<plusminus_insn>v4sf3): Merge with *avx_h<plusminus_insn>v4sf3. | |
3468 | (avx_cmp<mode>3): Rename from avx_cmp<ssemodesuffix><mode>3. Use | |
3469 | VF mode iterator. | |
3470 | (avx_vmcmp<mode>3): Rename from avx_cmp<ssescalarmodesuffix><mode>3. | |
3471 | Use VF_128 mode iterator. | |
3472 | (<sse>_maskcmp<mode>3): Merge with *avx_maskcmp<mode>3. Use VF | |
3473 | mode iterator. | |
3474 | (<sse>_vmmaskcmp<mode>3): Merge with *avx_vmmaskcmp<mode>3. Use | |
3475 | VF_128 mode iterator. | |
3476 | (vcond<mode>): Use VF mode iterator. | |
3477 | * config/i386/predicates.md (sse_comparison_operator): Merge with | |
3478 | avx_comparison_float_operator. Do not declare as special_predicate. | |
3479 | * config/i386/i386.c (struct builtin_description): Update for renamed | |
3480 | compare patterns. | |
3481 | (ix86_expand_args_builtin): Ditto. | |
3482 | (ix86_expand_sse_compare_mask): Ditto. | |
3483 | ||
ff5d142c RG |
3484 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
3485 | ||
3486 | * tree-inline.c (estimate_num_insns): For calls simply account | |
3487 | for all passed arguments and a used return value. | |
3488 | ||
d7d1d041 | 3489 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
07c0852e | 3490 | |
d7d1d041 RG |
3491 | PR tree-optimization/47663 |
3492 | * cgraph.h (struct cgraph_edge): Add call_stmt_size and | |
3493 | call_stmt_time fields. | |
3494 | (cgraph_edge_inlinable_p): Declare. | |
3495 | (cgraph_edge_recursive_p): New inline function. | |
3496 | * cgraph.c (cgraph_create_edge_1): Initialize call_stmt_size. | |
3497 | (cgraph_clone_edge): Copy it. | |
3498 | * ipa-inline.c (cgraph_estimate_edge_time): New function. | |
3499 | Account for call stmt time. | |
3500 | (cgraph_estimate_time_after_inlining): Take edge argument. | |
3501 | (cgraph_estimate_edge_growth): Account call stmt size. | |
3502 | (cgraph_estimate_size_after_inlining): Take edge argument. | |
3503 | (cgraph_mark_inline_edge): Adjust. | |
3504 | (cgraph_check_inline_limits): Likewise. | |
3505 | (cgraph_recursive_inlining_p): Remove. | |
3506 | (cgraph_edge_badness): Use cgraph_edge_recursive_p. | |
3507 | (cgraph_decide_recursive_inlining): Take edge argument and | |
3508 | adjust. | |
3509 | (cgraph_decide_inlining_of_small_functions): Do not avoid | |
3510 | diags for recursive inlining here. | |
3511 | (cgraph_flatten): Adjust. | |
3512 | (cgraph_decide_inlining_incrementally): Likewise. | |
3513 | (estimate_function_body_sizes): Remove call cost handling. | |
3514 | (compute_inline_parameters): Initialize caller edge call costs. | |
3515 | (cgraph_estimate_edge_growth): New function. | |
3516 | (cgraph_estimate_growth): Use it. | |
3517 | (cgraph_edge_badness): Likewise. | |
3518 | (cgraph_check_inline_limits): Take an edge argument. | |
3519 | (cgraph_decide_inlining_of_small_functions): Adjust. | |
3520 | (cgraph_decide_inlining): Likewise. | |
3521 | * tree-inline.c (estimate_num_insns): Only account for call | |
3522 | return value if it is used. | |
3523 | (expand_call_inline): Avoid diagnostics on recursive inline | |
3524 | functions here. | |
3525 | * lto-cgraph.c (lto_output_edge): Output edge call costs. | |
3526 | (input_edge): Input edge call costs. | |
3527 | ||
2feb95f7 RO |
3528 | 2011-04-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3529 | ||
3530 | * config/alpha/osf5.h (MAX_OFILE_ALIGNMENT): Define. | |
3531 | ||
26fbd9c2 JW |
3532 | 2011-04-06 Jonathan Wakely <jwakely.gcc@gmail.com> |
3533 | ||
3534 | * doc/invoke.texi (Spec Files): Fix typo. | |
3535 | ||
694dc0ca EB |
3536 | 2011-04-06 Eric Botcazou <ebotcazou@adacore.com> |
3537 | ||
3538 | * profile.c (branch_prob): Move declaration of local variable. Remove | |
3539 | obsolete ??? comment. Expand the location explicitly instead of using | |
3540 | the LOCATION_FILE and LOCATION_LINE macros. | |
3541 | ||
4925d0d5 WG |
3542 | 2011-04-06 Wei Guozhi <carrot@google.com> |
3543 | ||
3544 | PR target/47855 | |
3545 | * config/arm/arm.md (arm_cmpsi_insn): Compute attr "length". | |
3546 | (arm_cond_branch): Likewise. | |
3547 | (arm_cond_branch_reversed): Likewise. | |
3548 | (arm_jump): Likewise. | |
3549 | (push_multi): Likewise. | |
3550 | * config/arm/constraints.md (Py): New constraint. | |
3551 | ||
f55dfa2f NF |
3552 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
3553 | ||
3554 | PR bootstrap/48471 | |
3555 | * dbxout.c (debug_nesting, symbol_queue, symbol_queue_index): | |
3556 | Move these... | |
3557 | (symbol_queue_size, DBXOUT_DECR_NESTING): ...and these... | |
3558 | (DBXOUT_DECR_NESTING_AND_RETURN): ...and this under | |
3559 | #ifdef DBX_DEBUGGING_INFO. | |
3560 | ||
fca96842 BS |
3561 | 2011-04-05 Bernd Schmidt <bernds@codesourcery.com> |
3562 | ||
3563 | PR bootstrap/48403 | |
3564 | * haifa-sched.c (schedule_block): Increment cycle_issued_insns only | |
3565 | if old and new states differ. | |
3566 | ||
30b83e38 JM |
3567 | 2011-04-05 Joseph Myers <joseph@codesourcery.com> |
3568 | ||
3569 | * config/m68k/m68k.c (m68k_handle_option): Don't handle OPT_m5200, | |
3570 | OPT_m5206e, OPT_m528x, OPT_m5307, OPT_m5407 and OPT_mcfv4e. | |
3571 | * config/m68k/m68k.h (OPTION_DEFAULT_SPECS, ASM_CPU_SPEC): Don't | |
3572 | handle -m5200, -m5206e, -m528x, -m5307, -m5407 and -mcfv4e. | |
3573 | * config/m68k/m68k.opt (m5200, m5206e, m528x, m5307, m5407, | |
3574 | mcfv4e): Use Alias. | |
3575 | * config/m68k/t-mlibs (MULTILIB_MATCHES): Don't map legacy | |
3576 | ColdFire options to -mcpu= options. | |
3577 | ||
277a9aa5 JL |
3578 | 2011-04-05 Jeff Law <law@redhat.com> |
3579 | ||
3580 | * tree-ssa-threadupdate.c (determine_bb_domination_status): Always | |
3581 | check if BB is a successor of LOOP->header and return | |
3582 | NONDOMINATING if it is not, regardless of ENABLE_CHECKING. | |
3583 | ||
c1e2610e SB |
3584 | 2011-04-05 Steven Bosscher <steven@gcc.gnu.org> |
3585 | ||
3586 | * cprop.c (struct reg_use): Remove. | |
3587 | (reg_use_table): Make an array of RTX. | |
3588 | (find_used_regs, constprop_register, local_cprop_pass, | |
3589 | bypass_block): Simplify users of reg_use_table. | |
3590 | (cprop_insn): Likewise. Iterate if copy propagation succeeded | |
3591 | on one of the uses found by find_used_regs. | |
3592 | ||
e532f586 NF |
3593 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
3594 | ||
3595 | PR bootstrap/48469 | |
3596 | * combine.c (combine_instructions): #ifdef AUTO_INC_DEC links | |
3597 | declaration. | |
3598 | ||
3fb7c055 NF |
3599 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
3600 | ||
3601 | * combine.c (combine_instructions) [AUTO_INC_DEC]: Declare links | |
3602 | as an rtx. | |
3603 | (try_combine) [AUTO_INC_DEC]: Declare a local link rtx. | |
3604 | ||
b71b43d9 SB |
3605 | 2011-04-05 Steven Bosscher <steven@gcc.gnu.org> |
3606 | ||
3607 | PR middle-end/48441 | |
3608 | * cprop.c (one_cprop_pass): Do not mark_oprs_set of deleted insns. | |
3609 | ||
b405b274 NF |
3610 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
3611 | ||
3612 | * combine.c: Include obstack.h. | |
3613 | (struct insn_link): Define. | |
3614 | (uid_log_links): Adjust type. | |
3615 | (FOR_EACH_LOG_LINK): New macro. | |
3616 | (insn_link_obstack): Declare. | |
3617 | (alloc_insn_link): Define. | |
3618 | (create_log_links): Call it. Use FOR_EACH_LOG_LINK and adjust | |
3619 | type of link variables. | |
3620 | (find_single_use, insn_a_feeds_b, combine_instructions): Likewise. | |
3621 | (try_combine, record_promoted_values, distribute_notes): Likewise. | |
3622 | (distribute_links): Likewise. Tweak prototype. | |
3623 | (clear_log_links): Delete. | |
3624 | (adjust_for_new_dest): Call alloc_insn_link. | |
3625 | * Makefile.in (combine.o): Depend on $(OBSTACK_H). | |
3626 | ||
6409abe3 NF |
3627 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
3628 | ||
3629 | * gcse.c (modify_mem_list): Convert to an array of VECs. | |
3630 | (canon_modify_mem_list, compute_transp): Tweak formatting. | |
3631 | (alloc_gcse_mem): Likewise. Adjust for modify_mem_list change. | |
3632 | (load_killed_in_block_p): Likewise. | |
3633 | (record_last_mem_set_info): Likewise. | |
3634 | (clear_modify_mem_tables): Likewise. | |
3635 | ||
170d8157 TV |
3636 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
3637 | ||
3638 | PR middle-end/48461 | |
3639 | * function.c (emit_use_return_register_into_block): Only define if | |
3640 | HAVE_return. | |
3641 | ||
c5911a55 EB |
3642 | 2011-04-05 Eric Botcazou <ebotcazou@adacore.com> |
3643 | ||
3644 | * stor-layout.c (self_referential_size): Fix 2010-07-13 commit. | |
3645 | ||
abd016e6 JM |
3646 | 2011-04-05 Joseph Myers <joseph@codesourcery.com> |
3647 | ||
3648 | * config/rx/rx-opts.h: New. | |
3649 | * config/rx/rx.c (rx_cpu_type): Remove. | |
3650 | (rx_handle_option): Don't assert that global structures are in | |
3651 | use. Access variables via opts pointer. Defer most handling of | |
3652 | OPT_mint_register_. Use error_at. | |
3653 | (rx_option_override): Handle deferred OPT_mint_register_ here. | |
3654 | * config/rx/rx.h (enum rx_cpu_types): Move to rx-opts.h. | |
3655 | * config/rx/rx.opt (config/rx/rx-opts.h: New HeaderInclude. | |
3656 | (mcpu=): Use Enum and specifiy rx_cpu_type with Var. | |
3657 | (rx_cpu_types): New Enum and EnumValue entries. | |
3658 | (mint-register=): Use Defer and use Var accordingly. | |
3659 | ||
1ed13f83 NF |
3660 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
3661 | ||
3662 | * debug.h (debug_flush_symbol_queue, debug_queue_symbol): Delete. | |
3663 | (debug_free_queue, debug_nesting, symbol_queue_index): Delete. | |
3664 | * final.c (debug_flush_symbol_queue, debug_queue_symbol): | |
3665 | Move these... | |
3666 | (debug_free_queue, debug_nesting, symbol_queue_index): | |
3667 | ...and these... | |
3668 | * dbxout.c: ...to here. Make static. | |
3669 | ||
6ce1edcf NF |
3670 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
3671 | ||
3672 | * gcse.c (modify_pair): Define. Define a VEC of it. | |
3673 | (canon_modify_mem_list): Convert to an array of VECs. | |
3674 | (free_insn_expr_list_list): Delete. | |
3675 | (clear_modify_mem_tables): Call VEC_free instead. | |
3676 | (record_last_mem_set_info): Don't modify canon_modify_mem_list. | |
3677 | (alloc_gcse_mem): Adjust for canon_modify_mem_list change. | |
3678 | (canon_list_insert, compute_transp): Likewise. | |
3679 | ||
c201ac94 TV |
3680 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
3681 | ||
3682 | PR target/43920 | |
3683 | * config/arm/arm.h (BRANCH_COST): Set to 1 for Thumb-2 when optimizing | |
3684 | for size. | |
3685 | ||
4c029f40 TV |
3686 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
3687 | ||
3688 | PR target/43920 | |
3689 | * function.c (emit_use_return_register_into_block): New function. | |
3690 | (thread_prologue_and_epilogue_insns): Use | |
3691 | emit_use_return_register_into_block. | |
3692 | ||
2a562b0a TV |
3693 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
3694 | ||
3695 | PR target/43920 | |
3696 | * cfgcleanup.c (flow_find_cross_jump): Don't count USE or CLOBBER as | |
3697 | insn. | |
3698 | ||
0248bceb TV |
3699 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
3700 | ||
3701 | * cfgcleanup.c (try_crossjump_bb): Remove 2 superfluous variables. | |
3702 | ||
ffa94123 YZ |
3703 | 2011-04-05 Yufeng Zhang <yufeng.zhang@arm.com> |
3704 | ||
798dd0ba UB |
3705 | * config/arm/arm.md (define_constants for unspec): Replace with |
3706 | define_c_enum. | |
3707 | (define_constants for unspecv): Replace with define_c_enum. | |
3708 | * config/arm/neon.md (define_constants for unspec): Replace with | |
3709 | define_c_enum. | |
ffa94123 | 3710 | |
3b8f9b46 RH |
3711 | 2011-04-04 Richard Henderson <rth@redhat.com> |
3712 | ||
720cf80f | 3713 | PR bootstrap/48400 |
3b8f9b46 RH |
3714 | * dwarf2out.c (output_line_info): Always emit line info from |
3715 | at least one section. | |
3716 | (dwarf2out_init): Create text_section_line_info here ... | |
3717 | (set_cur_line_info_table): ... not here. | |
3718 | ||
720cf80f | 3719 | 2011-04-04 Vladimir Makarov <vmakarov@redhat.com> |
e5b0e1ca VM |
3720 | |
3721 | PR target/48380 | |
3722 | * ira.c (ira): Call grow_reg_equivs when fix_reg_equiv_init is | |
720cf80f | 3723 | not called. |
e5b0e1ca | 3724 | |
720cf80f | 3725 | * ira-emit.c (emit_move_list): Update reg_equiv_init insn list. |
e5b0e1ca | 3726 | |
196565d4 SB |
3727 | 2011-04-04 Steven Bosscher <steven@gcc.gnu.org> |
3728 | ||
b77f9eab SB |
3729 | * cprop.c (struct expr): Split 'expr' field in 'dest' and 'src'. |
3730 | (expr_equiv_p): Remove. | |
3731 | (insert_set_in_table): Look at <dest, src> pair instead of expr. | |
3732 | (hash_scan_set): Update call to insert_set_in_table. | |
3733 | (dump_hash_table): Dump <dest, src> pair. | |
3734 | (lookup_set): Simplify. Lookup <dest, src> pair. | |
3735 | (compute_transp): Remove, fold heavily simplified code into... | |
3736 | (compute_local_properties): ...here. Expect COMP and TRANSP | |
3737 | unconditionally. | |
3738 | (find_avail_set): Take set directly from struct expr. | |
3739 | (find_bypass-set): Likewise. | |
3740 | (bypass_block): Likewise. | |
3741 | (cprop_insn): Likewise. Remove redundant INSN_P test. | |
3742 | ||
384d7a55 SB |
3743 | * cprop.c (implicit_set_cond_p): Assume nothing about COND, move |
3744 | checks on form of COND from find_implicit_sets to here. | |
3745 | (find_implicit_sets): Cleanup control flow. Split critical edges | |
3746 | if it exposes implicit sets. Allocate/resize implicit_sets as | |
3747 | necessary. | |
3748 | (one_cprop_pass): Only delete unreachable blocks if local_cprop_pass | |
3749 | changed something. Run df_analyze after find_implicit_sets if any | |
3750 | edges were split. Do not allocate implicit_sets here. | |
3751 | ||
3084ce69 SB |
3752 | * cprop.c: s/gcse/cprop/ everywhere except for flag_gcse. |
3753 | (gcse_obstack): Renamed to cprop_obstack. | |
3754 | (GNEW, GNEWVEC, GNEWVAR): Remove. | |
3755 | (gmalloc): Remove. | |
3756 | (alloc_hash_table): Use XNEWVAR instead of GNEWVAR. | |
3757 | (GOBNEW, GOBNEWVAR): Adjust for gcse_obstack renaming. | |
3758 | (gcse_alloc): Likewise, and rename to cprop_alloc. | |
3759 | (alloc_gcse_men, free_gcse_mem): Remove. | |
3760 | (gcse_constant_p): Rename to cprop_constant_p, and adjust all callers. | |
3761 | (compute_hash_table_work): Allocate and free reg_set_bitmap here. | |
3762 | (one_cprop_pass): Likewise. Adjust for gcse_obstack renaming. | |
3763 | ||
196565d4 SB |
3764 | * cprop.c (oprs_not_set_p): Remove. |
3765 | (mark_set, mark_clobber): Remove. | |
3766 | (mark_oprs_set): Rewrite using DF_INSN_INFO_DEFS cache. | |
3767 | (reg_not_set_p): New function. | |
3768 | (find_avail_set): Use reg_not_set_p instead of oprs_not_set_p. | |
3769 | (cprop_insn): Likewise. | |
3770 | (cprop_jump): Use FOR_EACH_EDGE. | |
3771 | ||
9b69cf83 BS |
3772 | 2011-04-04 Bernd Schmidt <bernds@codesourcery.com> |
3773 | ||
3774 | PR bootstrap/48403 | |
3775 | * haifa-sched.c (nonscheduled_insns_begin): New static variable. | |
3776 | (rank_for_schedule): Use scheduled_insns vector instead of | |
3777 | last_scheduled_insn. | |
3778 | (ok_for_early_queue_removal): Likewise. | |
3779 | (queue_to_ready): Search forward in nonscheduled_insns_begin if | |
3780 | we have a dbg_cnt. | |
3781 | (choose_ready): Likewise. | |
3782 | (commit_schedule): Use VEC_iterate. | |
3783 | (schedule_block): Initialize nonscheduled_insns_begin. If we have | |
3784 | a dbg_cnt, use it and ensure the first insn is in the ready list. | |
3785 | (haifa_sched_init): Allocate scheduled_insns. | |
3786 | (sched_extend_ready_list): Don't allocate it; reserve space. | |
3787 | (haifa_sched_finish): Free it. | |
3788 | ||
24f48c2f JM |
3789 | 2011-04-04 Joseph Myers <joseph@codesourcery.com> |
3790 | ||
3791 | * optc-gen.awk: Always remove type from Variable entry before | |
3792 | recording in var_seen. | |
3793 | ||
8effe856 EB |
3794 | 2011-04-04 Eric Botcazou <ebotcazou@adacore.com> |
3795 | ||
3796 | * cfghooks.c (tidy_fallthru_edges): Add ??? comment. | |
3797 | * tree-inline.c (delete_unreachable_blocks_update_callgraph): Remove | |
3798 | call to tidy_fallthru_edges. | |
3799 | ||
413519ae JM |
3800 | 2011-04-04 Joseph Myers <joseph@codesourcery.com> |
3801 | ||
3802 | * doc/options.texi (ToLower): Document. | |
3729983c | 3803 | * opt-functions.awk (switch_bit_fields): Initialize cl_tolower field. |
413519ae JM |
3804 | * opts-common.c (decode_cmdline_option): Handle cl_tolower. |
3805 | * opts.h (cl_option): Add cl_tolower field. | |
3806 | * config/rx/rx.c (rx_handle_option): Use strcmp of -mcpu= | |
3807 | arguments with lowercase strings. | |
3808 | * config/rx/rx.opt (mcpu=): Add ToLower. | |
3809 | * config/rx/t-rx (MULTILIB_MATCHES): Don't handle uppercase -mcpu= | |
3810 | argument. | |
3811 | ||
7d34a1b0 RS |
3812 | 2011-04-04 Richard Sandiford <richard.sandiford@linaro.org> |
3813 | ||
3814 | * config/pdp11/pdp11.h (IRA_COVER_CLASSES): Delete. | |
3815 | ||
c30e7434 RS |
3816 | 2011-04-04 Richard Sandiford <richard.sandiford@linaro.org> |
3817 | ||
3818 | * config/vax/vax.c: Include reload.h. | |
3819 | ||
112a861d AS |
3820 | 2011-04-04 Anatoly Sokolov <aesok@post.ru> |
3821 | ||
3822 | * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Remove. | |
3823 | * config/sparc/sparc.c (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
3824 | (sparc_preferred_reload_class): New function. | |
3825 | ||
e8c6bb74 JJ |
3826 | 2011-04-04 Jakub Jelinek <jakub@redhat.com> |
3827 | ||
2aeaa366 | 3828 | PR debug/48401 |
e8c6bb74 JJ |
3829 | * cfgexpand.c (expand_gimple_basic_block): Avoid useless assignment. |
3830 | Use PAT_VAR_LOCATION_LOC instead of INSN_VAR_LOCATION_LOC. | |
3831 | ||
2c081caf NF |
3832 | 2011-04-03 Nathan Froyd <froydnj@codesourcery.com> |
3833 | ||
3834 | * tree.h (struct tree_const_decl): Inherit from tree_decl_common. | |
3835 | * tree.c (initialize_tree_contains_struct): Adjust accordingly. | |
3836 | ||
53802f27 AS |
3837 | 2011-04-03 Anatoly Sokolov <aesok@post.ru> |
3838 | ||
3839 | * config/avr/avr.h (ASM_OUTPUT_BSS): Remove. | |
3840 | (ASM_OUTPUT_ALIGNED_BSS): Define. | |
3841 | ||
e89964e3 MM |
3842 | 2011-04-03 Michael Matz <matz@suse.de> |
3843 | ||
3844 | * lto-streamer.h (struct lto_streamer_cache_d): Remove offsets | |
3845 | and next_slot members. | |
3846 | (lto_streamer_cache_insert, lto_streamer_cache_insert_at, | |
3847 | lto_streamer_cache_lookup, lto_streamer_cache_get): Adjust prototypes. | |
3848 | (lto_streamer_cache_append): Declare. | |
3849 | * lto-streamer.c (lto_streamer_cache_add_to_node_array): Use | |
3850 | unsigned index, remove offset parameter, ensure that we append | |
3851 | or update existing entries. | |
3852 | (lto_streamer_cache_insert_1): Use unsigned index, remove offset_p | |
3853 | parameter, update next_slot for append. | |
3854 | (lto_streamer_cache_insert): Use unsigned index, remove offset_p | |
3855 | parameter. | |
3856 | (lto_streamer_cache_insert_at): Likewise. | |
3857 | (lto_streamer_cache_append): New function. | |
3858 | (lto_streamer_cache_lookup): Use unsigned index. | |
3859 | (lto_streamer_cache_get): Likewise. | |
3860 | (lto_record_common_node): Don't test tree_node_can_be_shared. | |
3861 | (preload_common_node): Adjust call to lto_streamer_cache_insert. | |
3862 | (lto_streamer_cache_delete): Don't free offsets member. | |
3863 | * lto-streamer-out.c (eq_string_slot_node): Use memcmp. | |
3864 | (lto_output_string_with_length): Use lto_output_data_stream. | |
3865 | (lto_output_tree_header): Remove ix parameter, don't write it. | |
3866 | (lto_output_builtin_tree): Likewise. | |
3867 | (lto_write_tree): Adjust callers to above, don't track and write | |
3868 | offset, write unsigned index. | |
3869 | (output_unreferenced_globals): Don't emit all global vars. | |
3870 | (write_global_references): Use unsigned indices. | |
3871 | (lto_output_decl_state_refs): Likewise. | |
3872 | (write_symbol): Likewise. | |
3873 | * lto-streamer-in.c (lto_input_chain): Move earlier. | |
3874 | (input_function): Use unsigned index. | |
3875 | (input_alias_pairs): Don't read and then ignore all global vars. | |
3876 | (lto_materialize_tree): Remove ix_p parameter, don't read index, | |
3877 | don't pass it back, use lto_streamer_cache_append. | |
3878 | (lto_register_var_decl_in_symtab): Use unsigned index. | |
3879 | (lto_register_function_decl_in_symtab): Likewise. | |
3880 | (lto_get_pickled_tree): Don't read in or handle offset, read unsigned | |
3881 | index. | |
3882 | (lto_get_builtin_tree): Don't read index, use | |
3883 | lto_streamer_cache_append. | |
3884 | (lto_read_tree): Adjust call to lto_materialize_tree. | |
3885 | ||
3886 | * ipa-inline.c (cgraph_edge_badness): Move growth calculaton, | |
3887 | don't use function calls in arguments to MIN. | |
3888 | ||
3889 | * varasm.c (decl_binds_to_current_def_p): Don't check TREE_PUBLIC | |
3890 | twice. | |
3891 | ||
3892 | * gimple.c (gimple_type_leader_entry): Mark deletable. | |
3893 | ||
b9a5b5b2 AM |
3894 | 2011-04-03 Alan Modra <amodra@gmail.com> |
3895 | ||
3896 | * dwarf2out.c (mem_loc_descriptor): Recurse on LO_SUM. | |
3897 | ||
ac6a641b MM |
3898 | 2011-04-03 Michael Matz <matz@suse.de> |
3899 | ||
3900 | * tree.c (free_lang_data_in_decl): Zero DECL_VINDEX if it's not | |
3901 | an integer. | |
3902 | * tree.h (tree_decl_non_common.vindex): Adjust comment. | |
3903 | ||
0038d4e0 MM |
3904 | 2011-04-03 Michael Matz <matz@suse.de> |
3905 | ||
e9c18386 | 3906 | * cgraphbuild.c (record_reference): Canonicalize constructor values. |
0038d4e0 MM |
3907 | * gimple-fold.c (canonicalize_constructor_val): Accept being called |
3908 | without function context. | |
3909 | * cgraphunit.c (cgraph_finalize_compilation_unit): Clear | |
3910 | current_function_decl and cfun. | |
3911 | ||
91f2fae8 MM |
3912 | 2011-04-03 Michael Matz <matz@suse.de> |
3913 | ||
3914 | * tree.c (decl_init_priority_insert): Don't create entry for | |
3915 | default priority. | |
3916 | (decl_fini_priority_insert): Ditto. | |
3917 | (fields_compatible_p, find_compatible_field): Remove. | |
3918 | * tree.h (fields_compatible_p, find_compatible_field): Remove. | |
3919 | * gimple.c (gimple_compare_field_offset): Adjust block comment. | |
3920 | ||
da29e070 EB |
3921 | 2011-04-03 Eric Botcazou <ebotcazou@adacore.com> |
3922 | ||
3923 | * combine.c (try_combine): Remove useless local variable. | |
3924 | ||
4979c28b | 3925 | 2011-04-03 Richard Guenther <rguenther@suse.de> |
91f2fae8 | 3926 | Ira Rosen <ira.rosen@linaro.org> |
4979c28b RG |
3927 | |
3928 | * tree-if-conv.c (memrefs_read_or_written_unconditionally): Strip all | |
3929 | non-variable offsets and compare the remaining bases of the two | |
3930 | accesses instead of looking for exact same data-ref. | |
3931 | ||
b4ddcaee KT |
3932 | 2011-04-02 Kai Tietz <ktietz@redhat.com> |
3933 | ||
f90298e1 KT |
3934 | PR target/48416 |
3935 | * i386.c (ix86_function_arg_boundary): Fix printf formatter. | |
3936 | ||
b4ddcaee KT |
3937 | * i386.c (ix86_is_msabi_thiscall): New helper function. |
3938 | (ix86_is_type_thiscall): New helper function. | |
3939 | (ix86_comp_type_attributes): Handle thiscall for method-functions | |
3940 | special. | |
3941 | (init_cumulative_args): Likewise. | |
3942 | (find_drap_reg): Likewise. | |
3943 | (ix86_static_chain): Likewise. | |
3944 | (x86_this_parameter): Likewise. | |
3945 | (x86_output_mi_thunk): Likewise. | |
3946 | ||
2a9d769a | 3947 | 2011-04-01 Olivier Hainque <hainque@adacore.com> |
91f2fae8 MM |
3948 | Nicolas Setton <setton@adacore.com> |
3949 | Eric Botcazou <ebotcazou@adacore.com> | |
2a9d769a OH |
3950 | |
3951 | * dwarf2out.c (dwarf_attr_name): Map DW_AT_GNAT_descriptive_type. | |
3952 | (add_gnat_descriptive_type_attribute): New function. | |
3953 | (gen_array_type_die): Call it. | |
3954 | (gen_enumeration_type_die): Likewise. | |
3955 | (gen_struct_or_union_type_die): Likewise. | |
3956 | (modified_type_die): Likewise. | |
3957 | * langhooks.h (lang_hooks_for_types): New descriptive_type hook. | |
3958 | * langhooks-def.h (LANG_HOOKS_DESCRIPTIVE_TYPE): Default to NULL. | |
3959 | (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add LANG_HOOKS_DESCRIPTIVE_TYPE. | |
3960 | ||
15a03a11 JJ |
3961 | 2011-04-01 Jakub Jelinek <jakub@redhat.com> |
3962 | ||
3963 | PR bootstrap/48148 | |
3964 | * dwarf2out.c (resolve_addr): Don't call force_decl_die | |
3965 | if DECL_EXTERNAL has non-NULL DECL_ABSTRACT_ORIGIN. | |
3966 | ||
3967 | Revert: | |
3968 | 2011-03-17 Richard Guenther <rguenther@suse.de> | |
3969 | ||
3970 | PR bootstrap/48148 | |
3971 | * lto-cgraph.c (input_overwrite_node): Clear the abstract | |
3972 | origin for decls in other ltrans units. | |
3973 | (input_varpool_node): Likewise. | |
3974 | ||
19228b93 JJ |
3975 | 2011-04-01 Jakub Jelinek <jakub@redhat.com> |
3976 | ||
3977 | PR middle-end/48335 | |
3978 | * expr.c (expand_assignment): Handle all possibilities | |
3979 | if TO_RTX is CONCAT. | |
e9c18386 | 3980 | * expmed.c (store_bit_field_1): Avoid trying to create invalid SUBREGs. |
19228b93 JJ |
3981 | (store_split_bit_field): If SUBREG_REG (op0) or |
3982 | op0 itself has smaller mode than word, return it | |
3983 | for offset 0 and const0_rtx for out-of-bounds stores. | |
3984 | If word is const0_rtx, skip it. | |
3985 | ||
88cb339e N |
3986 | 2011-04-01 Naveen H.S <naveen.S@kpitcummins.com> |
3987 | ||
3988 | * config/h8300/h8300.c (print_operand_address): Rename to... | |
3989 | (h8300_print_operand_address): ...this. Make static. Adjust comments. | |
3990 | Call h8300_print_operand and h8300_print_operand_address instead of | |
3991 | print_operand and print_operand_address. Declare. | |
3992 | (print_operand): Renake to... | |
3993 | (h8300_print_operand): ...this. Make static. Adjust comments. | |
3994 | Call h8300_print_operand instead of print_operand. Declare. | |
3995 | (h8300_print_operand_punct_valid_p): Moved from h8300.h file. | |
3996 | (h8300_register_move_cost): Likewise. | |
3997 | (TARGET_PRINT_OPERAND_PUNCT_VALID_P, TARGET_PRINT_OPERAND | |
3998 | TARGET_PRINT_OPERAND_ADDRESS, TARGET_REGISTER_MOVE_COST): Define. | |
3999 | * config/h8300/h8300.h (PRINT_OPERAND_ADDRESS, PRINT_OPERAND | |
4000 | PRINT_OPERAND_PUNCT_VALID_P, REGISTER_MOVE_COST): Delete. | |
4001 | * config/h8300/h8300-protos.h (print_operand): Delete. | |
4002 | (print_operand_address): Delete. | |
4003 | ||
756d6ee9 RH |
4004 | 2011-04-01 Richard Henderson <rth@redhat.com> |
4005 | ||
4006 | PR 48400 | |
4007 | * dwarf2out.c (dwarf2out_source_line): Disable discriminators | |
4008 | in strict mode before dwarf4. Re-order tests to early out | |
4009 | before switching sections. | |
4010 | ||
ceaaaeab NF |
4011 | 2011-04-01 Nathan Froyd <froydnj@codesourcery.com> |
4012 | ||
4013 | * config/h8300/constraints.md: New file. | |
4014 | * config/h8300/h8300.md: Include it. Use satisfies_constraint_J, | |
4015 | satisfies_constraint_L, and satisfies_constraint_N for peephole2s. | |
4016 | (*tst_extzv_1_n, *tstsi_variable_bit_qi): Use satisfies_constraint_U. | |
4017 | * config/h8300/predicates.md (bit_operand): Likewise. | |
4018 | (incdec_operand): Use satisfies_constraint_M and | |
4019 | satisfies_constraint_O. Don't use C code block. | |
4020 | * config/h8300/h8300-protos.h (h8300_reg_class_from_letter): Delete. | |
4021 | * config/h8300/h8300.c (h8300_reg_class_from_letter): Delete. | |
4022 | (compute_mov_length): Use satisfies_constraint_G. | |
4023 | (fix_bit_operand): Use satisfies_constraint_U. | |
4024 | * config/h8300/h8300.h (REG_CLASS_FROM_LETTER): Delete. | |
4025 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Delete. | |
4026 | (CONST_OK_FOR_M, CONST_OK_FOR_N, CONST_OK_FOR_O): Delete. | |
4027 | (CONST_OK_FOR_Ppositive, CONST_OK_FOR_Pnegative): Delete. | |
4028 | (CONST_OK_FOR_P, CONSTRAINT_LEN_FOR_P): Delete. | |
4029 | (CONST_OK_FOR_CONSTRAINT_P, CONST_OK_FOR_LETTER_P): Delete. | |
4030 | (CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
4031 | (OK_FOR_Q, OK_FOR_R, OK_FOR_S, OK_FOR_T, OK_FOR_U, OK_FOR_WU): Delete. | |
4032 | (OK_FOR_W, CONSTRAINT_LEN_FOR_W, OK_FOR_Y2, OK_FOR_Y0): Delete. | |
4033 | (OK_FOR_Y, CONSTRAINT_LEN_FOR_Y, OK_FOR_Z): Delete. | |
4034 | (EXTRA_CONSTRAINT_STR, CONSTRAINT_LEN): Delete. | |
4035 | (EXTRA_MEMORY_CONSTRAINT): Delete. | |
4036 | ||
08ae38e0 AP |
4037 | 2011-04-01 Andrew Pinski <pinskia@gmail.com> |
4038 | Michael Meissner <meissner@linux.vnet.ibm.com> | |
4039 | ||
4040 | PR target/48262 | |
4041 | * config/rs6000/vector.md (movmisalign<mode>): Allow for memory | |
4042 | operands, as per the specifications. | |
4043 | ||
4044 | * config/rs6000/altivec.md (vec_extract_evenv4si): Correct modes. | |
4045 | (vec_extract_evenv4sf): Ditto. | |
4046 | (vec_extract_evenv8hi): Ditto. | |
4047 | (vec_extract_evenv16qi): Ditto. | |
4048 | (vec_extract_oddv4si): Ditto. | |
4049 | ||
bdb0b0f6 MW |
4050 | 2011-03-31 Mark Wielaard <mjw@redhat.com> |
4051 | ||
4052 | * dwarf2out.c (dwarf2out_finish): Don't add low_pc and/or | |
4053 | high_pc attribute if the CU has no associated code. Only output | |
4054 | DW_AT_entry_pc for CU if not generating strict dwarf and | |
4055 | dwarf_version < 4. | |
4056 | ||
722279e4 BS |
4057 | 2011-04-01 Bernd Schmidt <bernds@codesourcery.com> |
4058 | ||
4059 | * dwarf2out.h (dwarf2out_frame_debug_init): Declare. | |
4060 | * dwarf2out.c (dwarf2out_frame_debug_init): New function, broken | |
4061 | out of ... | |
4062 | (dwarf2out_frame_debug): ... here. Don't handle a NULL argument. | |
4063 | * final.c (final_start_function): Call the new function rather | |
4064 | than using a NULL argument for dwarf2out_frame_debug. | |
4065 | ||
c5dd277d BS |
4066 | * ifcvt.c (cond_exec_process_insns): Disallow converting a block |
4067 | that contains the prologue. | |
4068 | ||
ec4efea9 BS |
4069 | * haifa-sched.c (queue_insn): New arg REASON. All callers |
4070 | changed. Print it in debugging output. | |
4071 | ||
2a6a0d80 BS |
4072 | * sched-ebb.c (schedule_ebbs): Honor the BB_DISABLE_SCHEDULE flag. |
4073 | ||
86014d07 BS |
4074 | * sched-ebb.c (begin_schedule_ready): Remove second argument. |
4075 | Split most of the code into... | |
4076 | (begin_move_insn): ... here. New function. | |
4077 | (ebb_sched_info): Add a pointer to it. | |
4078 | * haifa-sched.c (scheduled_insns): New static variable. | |
4079 | (sched_extend_ready_list): Allocate it. | |
4080 | (schedule_block): Use it to record the order of scheduled insns. | |
4081 | Perform RTL changes to move insns only after all scheduling | |
4082 | decisions have been made. | |
4083 | * modulo-sched.c (sms_sched_haifa_sched_info): Add NULL entry for the | |
4084 | begin_move_insn field. | |
4085 | * sel-sched-ir.c (sched_sel_haifa_sched_info): Likewise. | |
4086 | * sched-int.h (struct haifa_sched_info): Remove second argument | |
4087 | from begin_schedule_ready hook. Add new member begin_move_insn. | |
4088 | * sched-rgn.c (begin_schedule_ready): Remove second argument. | |
4089 | (rgn_const_sched_info): Add NULL entry for the begin_move_insn field. | |
4090 | ||
9d701248 BS |
4091 | * haifa-sched.c (prune_ready_list): New function, broken out of |
4092 | schedule_block. | |
4093 | (schedule_block): Use it. | |
4094 | ||
1ca1dad5 UW |
4095 | 2011-04-01 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
4096 | ||
4097 | * config/spu/t-spu-elf (dp-bit.c): Use > instead of >>. | |
4098 | ||
49568e45 KT |
4099 | 2011-04-01 Kai Tietz <ktietz@redhat.com> |
4100 | ||
4101 | * config.gcc (*-*-mingw*): Allow as option the | |
4102 | posix threading model. | |
07c0852e | 4103 | * config/i386/mingw32.h (SPEC_PTHREAD1, SPEC_PTHREAD2): |
49568e45 KT |
4104 | New macros defined dependent to TARGET_USE_PTHREAD_BY_DEFAULT |
4105 | definition. | |
4106 | (CPP_SPEC): Add pthread/no-pthread handling. | |
4107 | (LIB_SPEC): Likewise. | |
4108 | * config/i386/mingw-w64.h (CPP_SPEC):Likewise. | |
4109 | (LIB_SPEC): Likewise. | |
4110 | * config/i386/t-cygming (SHLIB_PTHREAD_CFLAG): New | |
4111 | flag to pass -pthread option for shared libgcc build. | |
4112 | (SHLIB_PTHREAD_LDFLAG): New option to pass -lpthread | |
4113 | for shared libgcc build. | |
4114 | * config/i386/t-mingw-pthread: New file. | |
4115 | * config/i386/mingw-pthread.h (TARGET_USE_PTHREAD_BY_DEFAULT): | |
4116 | New define to enable use of library pthread by default. | |
4117 | * config/i386/mingw.opt (pthread): New driver option. | |
4118 | (no-pthread): New driver option. | |
e9c18386 | 4119 | * config/i386/cygming.opt: Make sure trailing empty line is retained. |
49568e45 KT |
4120 | * config/i386/mingw-w64.opt: Likewise. |
4121 | ||
636b4106 GF |
4122 | 2011-04-01 Gary Funck <gary@intrepid.com> |
4123 | ||
4124 | * c-decl.c (grokdeclarator): Fix formatting. | |
4125 | ||
f04713ee RS |
4126 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
4127 | ||
4128 | * expr.c (emit_block_move_via_movmem): Use n_generator_args | |
4129 | instead of n_operands. | |
4130 | (set_storage_via_setmem): Likewise. | |
4131 | * optabs.c (maybe_gen_insn): Likewise. | |
4132 | * config/arm/arm.c (arm_init_neon_builtins): Likewise. | |
4133 | * config/mips/mips.c (mips_expand_builtin_compare_1): Likewise. | |
4134 | (mips_expand_builtin_direct): Likewise. | |
4135 | * config/spu/spu.c (expand_builtin_args): Likewise. | |
4136 | ||
b29387ee RS |
4137 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
4138 | ||
4139 | * recog.h (insn_data_d): Add n_generator_args. | |
4140 | * genoutput.c (data): Likewise. | |
4141 | (output_insn_data): Print it. | |
4142 | (max_opno, num_dups): Delete. | |
4143 | (scan_operands): Just fill in "d->operand[...]". | |
4144 | (gen_insn, gen_peephole, gen_expand, gen_split): Use get_pattern_stats. | |
4145 | ||
e792559a RS |
4146 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
4147 | ||
4148 | * gensupport.h (pattern_stats): New structure. | |
4149 | * gensupport.c (get_pattern_stats_1, get_pattern_stats): New functions. | |
4150 | * genemit.c (max_opno, max_dupno, max_scratch_opno): Delete. | |
4151 | (max_operand_1, max_operand_vec): Delete. | |
4152 | (gen_insn, gen_expand, gen_split): Use get_pattern_stats. | |
4153 | ||
e8110d6f NF |
4154 | 2011-03-31 Nathan Froyd <froydnj@codesourcery.com> |
4155 | ||
4156 | * emit-rtl.c (emit_pattern_after_setloc): New function. | |
4157 | (emit_insn_after_setloc, emit_jump_insn_after_setloc): Call it. | |
4158 | (emit_call_insn_after_setloc, emit_debug_insn_after_setloc): Likewise. | |
4159 | (emit_pattern_after): New function. | |
4160 | (emit_insn_after, emit_jump_insn_after): Call it. | |
4161 | (emit_call_insn_after, emit_debug_insn_after): Likewise. | |
4162 | (emit_pattern_before_setloc): New function. | |
4163 | (emit_insn_before_setloc, emit_jump_insn_before_setloc): Call it. | |
4164 | (emit_call_insn_before_setloc, emit_debug_insn_before_setloc): | |
4165 | Likewise. | |
4166 | (emit_pattern_before): New function. | |
4167 | (emit_insn_before, emit_jump_insn_before): Call it. | |
4168 | (emit_call_insn_before, emit_debug_insn_before): Likewise. | |
4169 | ||
576f85f1 RH |
4170 | 2011-03-31 Richard Henderson <rth@redhat.com> |
4171 | ||
4172 | * dwarf2out.c (dw_separate_line_info_ref): Remove. | |
4173 | (dw_separate_line_info_entry): Remove. | |
4174 | (enum dw_line_info_opcode): New. | |
4175 | (dw_line_info_entry): Use it. | |
4176 | (dw_line_info_table, dw_line_info_table_p): New. | |
4177 | (DWARF_LINE_OPCODE_BASE): Include dwarf3 opcodes. | |
4178 | (line_info_table, line_info_label_num): Remove. | |
4179 | (line_info_table_in_use): Remove. | |
4180 | (separate_line_info_table): Remove. | |
4181 | (separate_line_info_table_allocated): Remove. | |
4182 | (separate_line_info_table_in_use): Remove. | |
4183 | (LINE_INFO_TABLE_INCREMENT): Remove. | |
4184 | (line_info_label_num): New. | |
4185 | (cur_line_info_table): New. | |
4186 | (text_section_line_info, cold_text_section_line_info): New. | |
4187 | (separate_line_info): New. | |
4188 | (SEPARATE_LINE_CODE_LABEL): Remove. | |
4189 | (print_dwarf_line_table): Remove. | |
4190 | (debug_dwarf): Don't dump it. | |
4191 | (output_one_line_info_table): New. | |
4192 | (output_line_info): Use it. | |
4193 | (new_line_info_table): New. | |
4194 | (set_cur_line_info_table): New. | |
4195 | (dwarf2out_switch_text_section): Use it. | |
4196 | (dwarf2out_begin_function): Likewise. | |
4197 | (push_dw_line_info_entry): New. | |
4198 | (dwarf2out_source_line): Rewrite for new line info tables. | |
4199 | (dwarf2out_init): Remove dead initailizations. | |
4200 | ||
300d83d9 JM |
4201 | 2011-03-31 Joseph Myers <joseph@codesourcery.com> |
4202 | ||
4203 | * opts.h (cl_option): Add comments to fields. Add bit-fields for | |
4204 | various flags. | |
4205 | (CL_SEPARATE_NARGS_SHIFT, CL_SEPARATE_NARGS_MASK, | |
4206 | CL_SEPARATE_ALIAS, CL_NO_DRIVER_ARG, CL_REJECT_DRIVER, CL_SAVE, | |
4207 | CL_DISABLED, CL_REPOR, CL_REJECT_NEGATIVE, CL_MISSING_OK, | |
4208 | CL_UINTEGER, CL_NEGATIVE_ALIAS): Remove. | |
4209 | (CL_JOINED, CL_SEPARATE, CL_UNDOCUMENTED): Update bit positions. | |
4210 | * opt-functions.awk (flag_init, switch_bit_fields): New. | |
4211 | (switch_flags): Don't handle flags moved to bit-fields. Don't | |
4212 | generate CL_MISSING_OK or CL_SAVE. | |
4213 | * optc-gen.awk: Update to generate bit-field output as well as | |
4214 | flags field. | |
4215 | * gcc.c (driver_wrong_lang_callback): Use cl_reject_driver | |
4216 | bit-field instead of CL_REJECT_DRIVER flag. | |
4217 | * opts-common.c (generate_canonical_option, | |
4218 | decode_cmdline_option): Use bit-fields instead of CL_* flags. | |
4219 | * opts.c (maybe_default_option): Use cl_reject_negative bit-field | |
4220 | instead of CL_REJECT_NEGATIVE flag. | |
4221 | * toplev.c (print_switch_values): Use cl_report bit-field instead | |
4222 | of CL_REPORT flag. | |
4223 | ||
d4d73ce2 EB |
4224 | 2011-03-31 Eric Botcazou <ebotcazou@adacore.com> |
4225 | ||
4226 | * tree-ssa-pre.c (create_component_ref_by_pieces_1) <ARRAY_REF>: Drop | |
4227 | a zero minimum index only if it is redundant. | |
4228 | ||
b8faca75 VM |
4229 | 2011-03-31 Vladimir Makarov <vmakarov@redhat.com> |
4230 | ||
4231 | PR rtl-optimization/48381 | |
4232 | * ira-color.c (assign_hard_reg): Use hard reg set intersection | |
4233 | instead of ira_class_hard_reg_index for calculating conflicting | |
4234 | hard registers. | |
4235 | ||
7d11cebe SB |
4236 | 2011-03-31 Steven Bosscher <steven@gcc.gnu.org> |
4237 | ||
4238 | * cprop.c: Clean up hash table building. | |
4239 | (reg_avail_info): Remove. | |
4240 | (oprs_available_p): Remove. | |
4241 | (record_last_reg_set_info): Remove. | |
4242 | (record_last_set_info): Remove. | |
4243 | (reg_available_p): New function. | |
4244 | (gcse_constant_p): Do not treat unfolded conditions as constants. | |
4245 | (make_set_regs_unavailable): New function. | |
4246 | (hash_scan_set): Simplify with new reg_available_p. | |
4247 | (compute_hash_table_work): Traverse insns stream only once. | |
4248 | Do not compute reg_avail_info. Traverse insns in reverse order. | |
4249 | Record implicit sets after recording explicit sets from the block. | |
4250 | ||
98faf84f MM |
4251 | 2011-03-31 Michael Matz <matz@suse.de> |
4252 | ||
e9c18386 | 4253 | * builtins.c (build_va_arg_indirect_ref): Use build_simple_mem_ref_loc. |
98faf84f | 4254 | |
f52d97da AS |
4255 | 2011-03-31 Anatoly Sokolov <aesok@post.ru> |
4256 | ||
4257 | * config/h8300/h8300.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove macro. | |
4258 | * config/h8300/h8300-protos.h (h8300_get_index): Remove. | |
4259 | * config/h8300/h8300.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
4260 | (h8300_mode_dependent_address_p): New function. | |
4261 | (h8300_get_index): Make static. | |
4262 | ||
e16b6fd0 JL |
4263 | 2011-03-31 Jeff Law <law@redhat.com> |
4264 | ||
10c51983 JL |
4265 | * reload1.c (elimination_effects): Fix typo in recent change. |
4266 | ||
e9c18386 | 4267 | * tree-ssa-forwprop.c (forward_propagate_into_cond): Avoid |
e16b6fd0 JL |
4268 | typo potentially leading to null pointer dereference. |
4269 | ||
4270 | * caller-save.c (new_saved_hard_reg): Eliminate return value. | |
4271 | (setup_save_areas): Corresponding changes to avoid useless | |
4272 | assignments. | |
4273 | ||
4274 | * jump.c (reversed_comparison_code_parts): Avoid successive return | |
4275 | statements when REVERSE_CONDITION is defined. | |
4276 | ||
4277 | * expr.c (expand_assignment): Avoid useless assignments. | |
4278 | (expand_expr_real_1): Likewise. | |
4279 | (expand_expr_real_2): Avoid useless statements. | |
4280 | ||
4281 | * tree-ssa-phiopt.c (minmax_replacement): Avoid useless statement. | |
4282 | ||
4283 | * cfgexpand.c (expand_gimple_basic_block): Avoid useless assignment. | |
4284 | ||
4285 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Avoid useless | |
4286 | statements. | |
4287 | ||
4288 | * stmt.c (expand_expr_stmt): Avoid useless assignment. | |
4289 | ||
eb1eb914 JM |
4290 | 2011-03-31 Joseph Myers <joseph@codesourcery.com> |
4291 | ||
4292 | PR target/47109 | |
4293 | * doc/tm.texi.in (TARGET_VERSION): Remove. | |
4294 | * doc/tm.texi: Regenerate. | |
4295 | * system.h (TARGET_VERSION, MACHINE_TYPE): Poison. | |
4296 | * collect2.c (main): Don't use TARGET_VERSION. | |
4297 | * mips-tdump.c (main): Don't use TARGET_VERSION. | |
4298 | * mips-tfile.c (main): Don't use TARGET_VERSION. | |
e9c18386 | 4299 | * config.gcc (powerpc-wrs-vxworksae): Don't use rs6000/vxworksae.h. |
eb1eb914 JM |
4300 | * config/rs6000/vxworksae.h: Remove. |
4301 | * config/alpha/alpha.h (TARGET_VERSION): Remove. | |
4302 | * config/alpha/freebsd.h (TARGET_VERSION): Remove. | |
4303 | * config/alpha/linux-elf.h (TARGET_VERSION): Remove. | |
4304 | * config/alpha/netbsd.h (TARGET_VERSION): Remove. | |
4305 | * config/alpha/vms.h (TARGET_NAME, TARGET_VERSION): Remove. | |
4306 | * config/arm/arm.h (TARGET_VERSION): Remove. | |
4307 | * config/arm/coff.h (TARGET_VERSION): Remove. | |
4308 | * config/arm/ecos-elf.h (TARGET_VERSION): Remove. | |
4309 | * config/arm/elf.h (TARGET_VERSION): Remove. | |
4310 | * config/arm/freebsd.h (TARGET_VERSION): Remove. | |
4311 | * config/arm/linux-elf.h (TARGET_VERSION): Remove. | |
4312 | * config/arm/netbsd-elf.h (TARGET_VERSION): Remove. | |
4313 | * config/arm/pe.h (TARGET_VERSION): Remove. | |
4314 | * config/arm/rtems-elf.h (TARGET_VERSION): Remove. | |
4315 | * config/arm/semi.h (TARGET_VERSION): Remove. | |
4316 | * config/arm/uclinux-elf.h (TARGET_VERSION): Remove. | |
4317 | * config/arm/unknown-elf.h (TARGET_VERSION): Remove. | |
4318 | * config/arm/vxworks.h (TARGET_VERSION): Remove. | |
4319 | * config/avr/avr.h (TARGET_VERSION): Remove. | |
4320 | * config/bfin/bfin.h (TARGET_VERSION): Remove. | |
4321 | * config/fr30/fr30.h (TARGET_VERSION): Remove. | |
4322 | * config/frv/frv.h (TARGET_VERSION): Remove. | |
4323 | * config/h8300/h8300.h (TARGET_VERSION): Remove. | |
4324 | * config/i386/cygwin.h (TARGET_VERSION): Remove. | |
4325 | * config/i386/darwin.h (TARGET_VERSION): Remove. | |
4326 | * config/i386/darwin64.h (TARGET_VERSION): Remove. | |
4327 | * config/i386/djgpp.h (TARGET_VERSION): Remove. | |
4328 | * config/i386/freebsd.h (TARGET_VERSION): Remove. | |
4329 | * config/i386/freebsd64.h (TARGET_VERSION): Remove. | |
4330 | * config/i386/gnu.h (TARGET_VERSION): Remove. | |
4331 | * config/i386/i386-interix.h (TARGET_VERSION): Remove. | |
4332 | * config/i386/i386elf.h (TARGET_VERSION): Remove. | |
4333 | * config/i386/linux.h (TARGET_VERSION): Remove. | |
4334 | * config/i386/linux64.h (TARGET_VERSION): Remove. | |
4335 | * config/i386/lynx.h (TARGET_VERSION): Remove. | |
4336 | * config/i386/mingw32.h (TARGET_VERSION): Remove. | |
4337 | * config/i386/netbsd-elf.h (TARGET_VERSION): Remove. | |
4338 | * config/i386/netbsd64.h (TARGET_VERSION): Remove. | |
4339 | * config/i386/netware.h (TARGET_VERSION): Remove. | |
4340 | * config/i386/nto.h (TARGET_VERSION): Remove. | |
4341 | * config/i386/openbsd.h (TARGET_VERSION): Remove. | |
4342 | * config/i386/vxworks.h (TARGET_VERSION): Remove. | |
4343 | * config/ia64/elf.h (TARGET_VERSION): Remove. | |
4344 | * config/ia64/freebsd.h (TARGET_VERSION): Remove. | |
4345 | * config/ia64/hpux.h (TARGET_VERSION): Remove. | |
4346 | * config/ia64/linux.h (TARGET_VERSION): Remove. | |
4347 | * config/ia64/vms.h (TARGET_NAME, TARGET_VERSION): Remove. | |
4348 | * config/iq2000/iq2000.h (IQ2000_VERSION, MACHINE_TYPE, | |
4349 | TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove. | |
4350 | * config/lm32/lm32.h (TARGET_VERSION): Remove. | |
4351 | * config/lm32/uclinux-elf.h (TARGET_VERSION): Remove. | |
4352 | * config/m32c/m32c.h (TARGET_VERSION): Remove. | |
4353 | * config/m32r/linux.h (LINUX_DEFAULT_ELF, TARGET_VERSION): Remove. | |
4354 | * config/m32r/m32r.h (TARGET_VERSION): Remove. | |
4355 | * config/m68k/linux.h (TARGET_VERSION): Remove. | |
4356 | * config/m68k/m68k.h (TARGET_VERSION): Remove. | |
4357 | * config/m68k/netbsd-elf.h (TARGET_VERSION): Remove. | |
4358 | * config/m68k/uclinux.h (TARGET_VERSION): Remove. | |
4359 | * config/mcore/mcore-elf.h (TARGET_VERSION): Remove. | |
4360 | * config/mep/mep.h (TARGET_VERSION): Remove. | |
4361 | * config/microblaze/microblaze.h (MICROBLAZE_VERSION, | |
4362 | MACHINE_TYPE, TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove. | |
4363 | * config/mips/iris6.h (MACHINE_TYPE): Remove. | |
4364 | * config/mips/linux.h (TARGET_VERSION): Remove. | |
4365 | * config/mips/netbsd.h (MACHINE_TYPE): Remove. | |
4366 | * config/mips/vxworks.h (TARGET_VERSION): Remove. | |
4367 | * config/mmix/mmix.h (TARGET_VERSION): Remove. | |
4368 | * config/mn10300/linux.h (TARGET_VERSION): Remove. | |
4369 | * config/mn10300/mn10300.h (TARGET_VERSION): Remove. | |
4370 | * config/pa/pa.h (TARGET_VERSION): Remove. | |
4371 | * config/pdp11/pdp11.h (TARGET_VERSION): Remove. | |
4372 | * config/picochip/picochip.h (TARGET_VERSION): Remove. | |
4373 | * config/rs6000/aix.h (TARGET_VERSION): Remove. | |
4374 | * config/rs6000/darwin.h (TARGET_VERSION): Remove. | |
4375 | * config/rs6000/darwin64.h (TARGET_VERSION): Remove. | |
4376 | * config/rs6000/eabi.h (TARGET_VERSION): Remove. | |
4377 | * config/rs6000/eabialtivec.h (TARGET_VERSION): Remove. | |
4378 | * config/rs6000/eabisim.h (TARGET_VERSION): Remove. | |
4379 | * config/rs6000/eabispe.h (TARGET_VERSION): Remove. | |
4380 | * config/rs6000/freebsd.h (TARGET_VERSION): Remove. | |
4381 | * config/rs6000/linux.h (TARGET_VERSION): Remove. | |
4382 | * config/rs6000/linux64.h (TARGET_VERSION): Remove. | |
4383 | * config/rs6000/linuxaltivec.h (TARGET_VERSION): Remove. | |
4384 | * config/rs6000/linuxspe.h (TARGET_VERSION): Remove. | |
4385 | * config/rs6000/lynx.h (TARGET_VERSION): Remove. | |
4386 | * config/rs6000/netbsd.h (TARGET_VERSION): Remove. | |
4387 | * config/rs6000/sysv4.h (TARGET_VERSION): Remove. | |
4388 | * config/rs6000/vxworks.h (TARGET_VERSION): Remove. | |
4389 | * config/s390/linux.h (TARGET_VERSION): Remove. | |
4390 | * config/s390/s390.h (TARGET_VERSION): Remove. | |
4391 | * config/s390/tpf.h (TARGET_VERSION): Remove. | |
4392 | * config/score/score.h (TARGET_VERSION): Remove. | |
4393 | * config/sh/linux.h (TARGET_VERSION): Remove. | |
4394 | * config/sh/netbsd-elf.h (TARGET_VERSION_ENDIAN, | |
4395 | TARGET_VERSION_CPU, TARGET_VERSION): Remove. | |
4396 | * config/sh/sh.h (TARGET_VERSION): Remove. | |
4397 | * config/sh/sh64.h (TARGET_VERSION): Remove. | |
4398 | * config/sh/superh.h (TARGET_VERSION): Remove. | |
4399 | * config/sh/vxworks.h (TARGET_VERSION): Remove. | |
4400 | * config/sparc/freebsd.h (TARGET_VERSION): Remove. | |
4401 | * config/sparc/linux.h (TARGET_VERSION): Remove. | |
4402 | * config/sparc/linux64.h (TARGET_VERSION): Remove. | |
4403 | * config/sparc/netbsd-elf.h (TARGET_VERSION, TARGET_NAME64, | |
4404 | TARGET_NAME32, TARGET_NAME): Remove. | |
4405 | * config/sparc/openbsd64.h (TARGET_VERSION): Remove. | |
4406 | * config/sparc/sp-elf.h (TARGET_VERSION): Remove. | |
4407 | * config/sparc/sp64-elf.h (TARGET_VERSION): Remove. | |
4408 | * config/sparc/sysv4.h (TARGET_VERSION): Remove. | |
4409 | * config/sparc/vxworks.h (TARGET_VERSION): Remove. | |
4410 | * config/spu/spu.h (TARGET_VERSION): Remove. | |
4411 | * config/stormy16/stormy16.h (TARGET_VERSION): Remove. | |
4412 | * config/v850/v850.h (TARGET_VERSION): Remove. | |
4413 | * config/vax/linux.h (TARGET_VERSION): Remove. | |
4414 | * config/vax/vax.h (TARGET_NAME, TARGET_VERSION): Remove. | |
4415 | * config/xtensa/elf.h (TARGET_VERSION): Remove. | |
4416 | * config/xtensa/linux.h (TARGET_VERSION): Remove. | |
4417 | ||
ace31bca EB |
4418 | 2011-03-31 Eric Botcazou <ebotcazou@adacore.com> |
4419 | ||
4420 | PR target/48142 | |
4421 | * config/i386/i386.c (ix86_adjust_stack_and_probe): Differentiate | |
4422 | frame-related from frame-unrelated adjustments to the stack pointer. | |
4423 | ||
76f9db36 JJ |
4424 | 2011-03-31 Jakub Jelinek <jakub@redhat.com> |
4425 | ||
4426 | * common.opt (fdebug-types-section): Move earlier. | |
4427 | * doc/invoke.texi: Fix up -fno-debug-types-section documentation. | |
4428 | ||
b7826465 AT |
4429 | 2011-03-31 Andreas Tobler <andreast@fgznet.ch> |
4430 | ||
4431 | * config/rs6000/rs6000.c (rs6000_handle_option): Remove unused isel | |
4432 | var. | |
4433 | ||
1290e54c NF |
4434 | 2011-03-30 Nathan Froyd <froydnj@codesourcery.com> |
4435 | ||
4436 | * tree.h (CASE_CHAIN): Define. | |
4437 | * tree-cfg.c (edge_to_cases_cleanup, get_cases_for_edge): Use it. | |
4438 | (gimple_redirect_edge_and_branch): Likewise. | |
4439 | ||
bddc98e1 VM |
4440 | 2011-03-30 Vladimir Makarov <vmakarov@redhat.com> |
4441 | ||
4442 | PR middle-end/48367 | |
4443 | * ira-costs.c (find_costs_and_classes): Fix a typo in i_mem_cost | |
4444 | calculation. | |
4445 | ||
c865e437 JL |
4446 | 2011-03-30 Jeff Law <law@redhat.com> |
4447 | ||
b3750213 | 4448 | * PR bootstrap/48371 |
c865e437 JL |
4449 | * reload1.c (reload): Fix botch in last change. |
4450 | ||
4451 | * reload.h (struct reload): Fix typo introduced in last change. | |
4452 | ||
2cdf9574 JM |
4453 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
4454 | ||
4455 | * config/arm/arm.opt (mhard-float, msoft-float): Mark | |
4456 | Undocumented. Remove help text. | |
4457 | * doc/invoke.texi (ARM Options): Don't document -msoft-float and | |
4458 | -mhard-float. | |
4459 | ||
666a21a2 JM |
4460 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
4461 | ||
4462 | * doc/options.texi (NegativeAlias): Document. | |
4463 | (Alias): Mention NegativeAlias. | |
4464 | * opt-functions.awk: Handle NegativeAlias. | |
e9c18386 | 4465 | * optc-gen.awk: Disallow NegativeAlias with multiple Alias arguments. |
666a21a2 JM |
4466 | * opts-common.c (decode_cmdline_option): Handle CL_NEGATIVE_ALIAS. |
4467 | * opts.h (CL_NEGATIVE_ALIAS): Define. | |
4468 | * config/rs6000/rs6000.c (rs6000_parse_yes_no_option): Remove. | |
4469 | (rs6000_handle_option): Don't handle OPT_mvrsave_, OPT_misel_ and | |
4470 | OPT_mspe_. | |
4471 | * config/rs6000/rs6000.opt (mvrsave=, misel=, mspe=): Replace with | |
4472 | Alias entries. | |
4473 | * config/rs6000/t-spe (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use | |
4474 | mno-spe and mno-isel instead of mspe=no and -misel=no. | |
4475 | ||
0fa4e351 MW |
4476 | 2011-03-29 Mark Wielaard <mjw@redhat.com> |
4477 | ||
4478 | * common.opt (fdebug-types-section): New flag. | |
4479 | * doc/invoke.texi: Document new -fno-debug-types-section flag. | |
4480 | * dwarf2out.c (use_debug_types): New define. | |
4481 | (struct die_struct): Mark die_id with GTY desc use_debug_types. | |
4482 | (print_die): Guard output of type unit signatures using | |
4483 | use_debug_types. | |
4484 | (build_abbrev_table): Replace assert of dwarf_version >= 4 | |
4485 | with assert on use_debug_types. | |
4486 | (size_of_die): Likewise. | |
4487 | (unmark_dies): Likewise. | |
4488 | (value_format): Decide AT_ref_external form on use_debug_types. | |
4489 | (output_die): Replace dwarf_version version check guard with | |
4490 | use_debug_types where appropriate. | |
4491 | (modified_type_die): Likewise. | |
4492 | (gen_reference_type_die): Likewise. | |
4493 | (dwarf2out_start_source_file): Likewise. | |
4494 | (dwarf2out_end_source_file): Likewise. | |
4495 | (prune_unused_types_walk_attribs): Likewise. | |
4496 | (dwarf2out_finish): Likewise. | |
4497 | ||
4648deb4 VM |
4498 | 2011-03-30 Vladimir Makarov <vmakarov@redhat.com> |
4499 | ||
4500 | * ira-color.c (ira_assign_hard_reg): Use only one variable 'mode'. | |
4501 | ||
4f431835 RS |
4502 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
4503 | ||
4504 | PR rtl-optimization/48332 | |
4505 | * optabs.c (expand_binop_directly): Set xmodeN to the target-mandated | |
4506 | mode of input operand N and modeN to its actual mode. | |
4507 | ||
f2034d06 JL |
4508 | 2011-03-30 Jeff Law <law@redhat.com> |
4509 | ||
4510 | * reload.h (reg_equiv_constant): Move into new structure reg_equivs, | |
4511 | define accessor macro. | |
4512 | (reg_equiv_invariant, reg_equiv_memory_loc): Likewise. | |
4513 | (reg_equiv_address, reg_equiv_mem, reg_equiv_alt_mem_list): Likewise. | |
4514 | (reg_equiv_init): Likewise. | |
4515 | (reg_equivs_size): New variable. | |
4516 | (reg_equiv_init_size): Remove. | |
4517 | (allocate_initial_values): Move prototype to here from.... | |
4518 | * integrate.h (allocate_initial_values): Remove prototype. | |
4519 | * integrate.c: Include reload.h. | |
4520 | (allocate_initial_values): Corresponding changes. | |
4521 | * ira.c (find_reg_equiv_invariant_cost): Corresponding changes. | |
4522 | (fix_reg_equiv_init, no_equiv): Corresponding changes. | |
4523 | (update_equiv_regs): Corresponding changes. | |
4524 | (ira): Corresponding changes. | |
4525 | * reload.c (push_reg_equiv_alt_mem): Corresponding changes. | |
4526 | (push_secondary_reload): Corresponding changes. | |
4527 | (push_reload, find_reloads, find_reloads_toplev): Corresponding changes. | |
4528 | (make_memloc, find_reloads_address): Corresponding changes. | |
4529 | (subst_reg_equivs, subst_indexed_address): Corresponding changes. | |
4530 | (find_reloads_address_1): Corresponding changes. | |
4531 | (find_reloads_subreg_address, subst_reloads): Corresponding changes. | |
4532 | (refers_to_regno_for_reload_p): Corresponding changes. | |
4533 | (reg_overlap_mentioned_for_reload_p): Corresponding changes. | |
4534 | (refers_to_mem_for_reload_p, find_equiv_reg): Corresponding changes. | |
4535 | * reload1.c: Include ggc.h. | |
4536 | (grow_reg_equivs): New function. | |
4537 | (replace_pseudos_in, reload): Corresponding changes. | |
4538 | (calculate_needs_all_insns, alter_regs): Corresponding changes. | |
4539 | (eliminate_regs_1, elimination_effects): Corresponding changes. | |
4540 | (emit_input_reload_insns, emit_output_reload_insns): Likewise. | |
4541 | (delete_output_reload): Likewise. | |
4542 | * caller-save.c (mark_referenced_regs): Corresponding changes. | |
4543 | * alpha/alpha.c (resolve_reload_operand): Corresponding changes. | |
4544 | * frv/predicates.md (frv_load_operand): Corresponding changes. | |
4545 | * microblaze/microblaze.c (double_memory_operand): Corresponding | |
4546 | changes. | |
4547 | * avr/avr.h (LEGITIMIZE_RELOAD_ADDRESS): Corresponding changes. | |
4548 | * xtensa/xtensa.c (fixup_subreg_mem): Corresponding changes. | |
e9c18386 | 4549 | * mn10300/mn10300.c (mn10300_secondary_reload): Corresponding changes. |
f2034d06 JL |
4550 | * m68k/m68k.c (emit_move_sequence): Corresponding changes. |
4551 | * arm/arm.c (arm_reload_in_hi, arm_reload_out_hi): Corresponding | |
4552 | changes. | |
4553 | * pa/pa.c (emit_move_sequence): Corresponding changes. | |
4554 | * vax/vax.c (nonindexed_address_p): Corresponding changes. | |
4555 | ||
159b81b0 RS |
4556 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
4557 | ||
4558 | PR target/47551 | |
4559 | * config/arm/arm.c (coproc_secondary_reload_class): Handle | |
4560 | structure modes. Don't check neon_vector_mem_operand for | |
4561 | vector or structure modes. | |
4562 | ||
a6217191 RS |
4563 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
4564 | Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> | |
4565 | ||
4566 | PR target/43590 | |
4567 | * config/arm/neon.md (neon_vld3qa<mode>, neon_vld4qa<mode>): Remove | |
4568 | operand 1 and reshuffle the operands to match. | |
4569 | (neon_vld3<mode>, neon_vld4<mode>): Update accordingly. | |
4570 | ||
bd837408 CS |
4571 | 2011-03-30 Christian Schüler <cschueler@gmx.de> |
4572 | ||
6955d771 | 4573 | PR driver/48208 |
bd837408 | 4574 | * config/c.opt (F): Added 'Driver' to -F option. |
e9c18386 | 4575 | |
6955d771 | 4576 | PR driver/48260 |
bd837408 CS |
4577 | * config/darwin-driver.c (darwin_driver_init): Add '-arch' to |
4578 | handler function. | |
4579 | * config/darwin.opt: Added '-arch' option. | |
4580 | ||
e9c0470a NC |
4581 | 2011-03-30 Nick Clifton <nickc@redhat.com> |
4582 | ||
4583 | * config/rx/rx.md: Add peepholes and patterns to combine | |
4584 | extending loads and simple arithmetic instructions. | |
4585 | * config/rx/rx.h (ADJUST_INSN_LENGTH): Define. | |
e9c18386 UB |
4586 | * config/rx/rx-protos.h (rx_adjust_insn_length): Prototype. |
4587 | * config/rx/rx.c (rx_is_legitimate_address): Allow QI and HI | |
e9c0470a | 4588 | modes to use pre-decrement and post-increment addressing. |
e9c18386 | 4589 | (rx_is_restricted_memory_address): Add range checking of REG+INT |
e9c0470a | 4590 | addresses. |
e9c18386 UB |
4591 | (rx_print_operand): Add support for %Q. Fix handling of %Q. |
4592 | (rx_memory_move_cost): Adjust cost of stores. | |
4593 | (rx_adjust_insn_length): New function. | |
e9c0470a | 4594 | |
8a87e7ab JJ |
4595 | 2011-03-30 Jakub Jelinek <jakub@redhat.com> |
4596 | ||
4597 | PR c/48305 | |
4598 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure | |
4599 | arg10/arg11 in (X ^ Y) == (Z ^ W) are always fold converted to | |
4600 | matching arg00/arg01 types. | |
4601 | ||
12486e03 EB |
4602 | 2011-03-30 Eric Botcazou <ebotcazou@adacore.com> |
4603 | ||
4604 | * cfglayout.c (insn_locators_alloc): Initialize curr_location and | |
4605 | last_location to UNKNOWN_LOCATION. | |
4606 | ||
0b99eef6 L |
4607 | 2011-03-30 H.J. Lu <hongjiu.lu@intel.com> |
4608 | ||
4609 | PR target/48349 | |
4610 | * config/i386/i386.h (REG_CLASS_CONTENTS): Fix a typo in | |
4611 | FLOAT_SSE_REGS. | |
4612 | ||
023592aa JM |
4613 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
4614 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
4615 | ||
4616 | PR bootstrap/48337 | |
4617 | * config/sparc/sparc.opt (sparc_cpu_and_features): Add | |
4618 | Init(PROCESSOR_V7). | |
4619 | (sparc_cpu): Likewise. | |
4620 | * config/sparc/sparc.c (sparc_option_override): Replace 0 by | |
4621 | PROCESSOR_V7. | |
4622 | ||
ad3b266b VM |
4623 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
4624 | ||
4625 | PR target/48336 | |
4626 | PR middle-end/48342 | |
4627 | PR rtl-optimization/48345 | |
4628 | * ira-color.c (setup_conflict_profitable_regs): Exclude prohibited | |
4629 | hard regs for given mode from profitable regs when doing secondary | |
4630 | allocation. | |
4631 | ||
633c9126 JL |
4632 | 2011-03-29 Jeff Law <law@redhat.com> |
4633 | ||
4634 | PR bootstrap/48327 | |
4635 | * tree-ssa-threadupdate.c (struct redirection_data): Remove | |
4636 | do_not_duplicate field. | |
4637 | (lookup_redirection_data): Corresponding changes. | |
4638 | (create_duplicates): Always create a template block. | |
4639 | (redirect_edges): Remove code which reused the original block | |
4640 | when it was going to become unreachable code. | |
4641 | (thread_block): Don't set do_not_duplicate field. | |
4642 | ||
eb50f63a JM |
4643 | 2011-03-29 Joseph Myers <joseph@codesourcery.com> |
4644 | ||
4645 | * lto-opts.c (register_user_option_p, lto_register_user_option): | |
4646 | Make type argument unsigned. | |
4647 | * lto-streamer.h (lto_register_user_option): Make type argument | |
4648 | unsigned. | |
4649 | * opth-gen.awk: Make CL_* macros unsigned. | |
4650 | * opts-common.c (find_opt): Make lang_mask argument unsigned. | |
4651 | * opts.h (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_DRIVER, | |
4652 | CL_TARGET, CL_COMMON, CL_SEPARATE_NARGS_MASK, CL_SEPARATE_ALIAS, | |
4653 | CL_NO_DRIVER_ARG, CL_REJECT_DRIVER, CL_SAVE, CL_DISABLED, | |
4654 | CL_REPORT, CL_JOINED, CL_SEPARATE, CL_REJECT_NEGATIVE, | |
4655 | CL_MISSING_OK, CL_UINTEGER, CL_UNDOCUMENTED): Make unsigned. | |
4656 | (find_opt): Make lang_mask argument unsigned. | |
4657 | ||
76763a6d VM |
4658 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
4659 | ||
4660 | PR rtl-optimization/48331 | |
4661 | PR rtl-optimization/48334 | |
4662 | * ira-color.c (color_allocnos): Call setup_profitable_hard_regs | |
4663 | for any used algorithm. | |
4664 | ||
5c82436e VM |
4665 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
4666 | ||
4667 | * ira-conflicts.c (build_object_conflicts): Add unused attribute | |
4668 | to parent_max. | |
4669 | ||
7a81008b UB |
4670 | 2011-03-29 Uros Bizjak <ubizjak@gmail.com> |
4671 | ||
4672 | * config/alpha/alpha.c (alpha_sr_alias_set): Don't define. | |
4673 | (alpha_option_override): Don't set alpha_sr_alias_set. | |
4674 | (emit_frame_store_1): Use gen_frame_mem rather than calling | |
4675 | set_mem_alias_set. | |
4676 | (alpha_expand_epilogue): Ditto. | |
4677 | ||
86c8d1f6 IR |
4678 | 2011-03-29 Ira Rosen <ira.rosen@linaro.org> |
4679 | ||
4680 | PR tree-optimization/48290 | |
4681 | * tree-vect-loop.c (vect_analyze_loop_operations): In outer loop | |
4682 | vectorization, check that relevant phis in the basic block after | |
4683 | the inner loop are really inner loop's exit phis. | |
4684 | ||
0d12220f RS |
4685 | 2011-03-29 Richard Sandiford <richard.sandiford@linaro.org> |
4686 | ||
e8cf17e7 | 4687 | PR debug/48190 |
0d12220f RS |
4688 | * dwarf2out.c (dw_loc_list_node): Add resolved_addr and replaced. |
4689 | (cached_dw_loc_list_def): New structure. | |
4690 | (cached_dw_loc_list): New typedef. | |
4691 | (cached_dw_loc_list_table): New variable. | |
4692 | (cached_dw_loc_list_table_hash): New function. | |
4693 | (cached_dw_loc_list_table_eq): Likewise. | |
4694 | (add_location_or_const_value_attribute): Take a bool cache_p. | |
4695 | Cache the list when the parameter is true. | |
4696 | (gen_formal_parameter_die): Update caller. | |
4697 | (gen_variable_die): Likewise. | |
4698 | (dwarf2out_finish): Likewise. | |
4699 | (dwarf2out_abstract_function): Nullify cached_dw_loc_list_table | |
4700 | while generating debug info for the decl. | |
4701 | (dwarf2out_function_decl): Clear cached_dw_loc_list_table. | |
4702 | (dwarf2out_init): Initialize cached_dw_loc_list_table. | |
4703 | (resolve_addr): Cache the result of resolving a chain of | |
4704 | location lists. | |
4705 | ||
1756cb66 VM |
4706 | 2011-03-28 Vladimir Makarov <vmakarov@redhat.com> |
4707 | ||
4708 | * ira-color.c (update_left_conflict_sizes_p): Don't assume that | |
4709 | conflict object hard regset nodes have intersecting hard reg sets. | |
7a81008b | 4710 | |
1756cb66 VM |
4711 | * regmove.c (regmove_optimize): Move ira_set_pseudo_classes call |
4712 | after regstat_init_n_sets_and_refs. | |
4713 | ||
4714 | * ira.c: Add more comments at the top. | |
4715 | (setup_stack_reg_pressure_class, setup_pressure_classes): | |
4716 | Add comments how we compute the register pressure classes. | |
4717 | (setup_allocno_and_important_classes): Add more comments. | |
4718 | (setup_class_translate_array, reorder_important_classes) | |
4719 | (setup_reg_class_relations): Add comments. | |
4720 | ||
4721 | * ira-emit.c: Add 2011 to the Copyright line. Add comments at the | |
4722 | start of the file. | |
4723 | ||
4724 | * ira-color.c: Add 2011 to the Copyright line. | |
4725 | (assign_hard_reg): Add more comments. | |
4726 | (improve_allocation): Ditto. | |
4727 | ||
4728 | * ira-costs.c: Add 2011 to the Copyright line. | |
4729 | (setup_cost_classes, setup_regno_cost_classes_by_aclass): Add more | |
4730 | comments. | |
4731 | (setup_regno_cost_classes_by_mode): Ditto. | |
4732 | ||
4733 | Initial patches from ira-improv branch: | |
4734 | ||
4735 | 2010-08-13 Vladimir Makarov <vmakarov@redhat.com> | |
4736 | ||
f60c2554 | 4737 | * ira-build.c (ira_create_object): Remove initialization of |
1756cb66 VM |
4738 | OBJECT_PROFITABLE_HARD_REGS. Initialize OBJECT_ADD_DATA. |
4739 | (ira_create_allocno): Remove initialization of | |
4740 | ALLOCNO_MEM_OPTIMIZED_DEST, ALLOCNO_MEM_OPTIMIZED_DEST_P, | |
4741 | ALLOCNO_SOMEWHERE_RENAMED_P, ALLOCNO_CHILD_RENAMED_P, | |
4742 | ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P, ALLOCNO_COLORABLE_P, | |
4743 | ALLOCNO_NEXT_BUCKET_ALLOCNO, ALLOCNO_PREV_BUCKET_ALLOCNO, | |
4744 | ALLOCNO_FIRST_COALESCED_ALLOCNO, ALLOCNO_NEXT_COALESCED_ALLOCNO. | |
4745 | Initialize ALLOCNO_ADD_DATA. | |
4746 | (copy_info_to_removed_store_destinations): Use ALLOCNO_EMIT_DATA | |
4747 | and allocno_emit_reg instead of ALLOCNO_MEM_OPTIMIZED_DEST_P and | |
4748 | ALLOCNO_REG. | |
4749 | (ira_flattening): Ditto. Use ALLOCNO_EMIT_DATA instead of | |
4750 | ALLOCNO_MEM_OPTIMIZED_DEST and ALLOCNO_SOMEWHERE_RENAMED_P. | |
4751 | ||
4752 | * ira.c (ira_reallocate): Remove. | |
4753 | (setup_pressure_classes): Call | |
4754 | ira_init_register_move_cost_if_necessary. Use | |
4755 | ira_register_move_cost instead of ira_get_register_move_cost. | |
4756 | (setup_allocno_assignment_flags): Use ALLOCNO_EMIT_DATA. | |
4757 | (ira): Call ira_initiate_emit_data and ira_finish_emit_data. | |
4758 | ||
4759 | * ira-color.c: Use ALLOCNO_COLOR_DATA instead of | |
4760 | ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P, ALLOCNO_COLORABLE_P, | |
4761 | ALLOCNO_AVAILABLE_REGS_NUM, ALLOCNO_NEXT_BUCKET_ALLOCNO, | |
4762 | ALLOCNO_PREV_BUCKET_ALLOCNO. ALLOCNO_TEMP. Use OBJECT_COLOR_DATA | |
4763 | instead of OBJECT_PROFITABLE_HARD_REGS, OBJECT_HARD_REGS_NODE, | |
4764 | OBJECT_HARD_REGS_SUBNODES_START, OBJECT_HARD_REGS_SUBNODES_NUM. | |
4765 | Fix formatting. | |
7a81008b | 4766 | (object_hard_regs_t, object_hard_regs_node_t): Move from ira-int.h. |
1756cb66 VM |
4767 | (struct object_hard_regs, struct object_hard_regs_node): Ditto. |
4768 | (struct allocno_color_data): New. | |
4769 | (allocno_color_data_t): New typedef. | |
4770 | (allocno_color_data): New definition. | |
4771 | (ALLOCNO_COLOR_DATA): New macro. | |
4772 | (struct object_color_data): New. | |
4773 | (object_color_data_t): New typedef. | |
4774 | (object_color_data): New definition. | |
4775 | (OBJECT_COLOR_DATA): New macro. | |
4776 | (update_copy_costs, calculate_allocno_spill_cost): Call | |
4777 | ira_init_register_move_cost_if_necessary. Use | |
4778 | ira_register_move_cost instead of ira_get_register_move_cost. | |
4779 | (move_spill_restore, update_curr_costs): Ditto. | |
4780 | (allocno_spill_priority): Make it inline. | |
7a81008b | 4781 | (color_pass): Allocate and free allocno_color_dat and object_color_data. |
1756cb66 VM |
4782 | (struct coalesce_data, coalesce_data_t): New. |
4783 | (allocno_coalesce_data): New definition. | |
4784 | (ALLOCNO_COALESCE_DATA): New macro. | |
4785 | (merge_allocnos, coalesced_allocno_conflict_p): Use | |
4786 | ALLOCNO_COALESCED_DATA instead of ALLOCNO_FIRST_COALESCED_ALLOCNO, | |
4787 | ALLOCNO_NEXT_COALESCED_ALLOCNO, ALLOCNO_TEMP. | |
4788 | (coalesce_allocnos): Ditto. | |
4789 | (setup_coalesced_allocno_costs_and_nums): Ditto. | |
4790 | (collect_spilled_coalesced_allocnos): Ditto. | |
4791 | (slot_coalesced_allocno_live_ranges_intersect_p): Ditto. | |
4792 | (setup_slot_coalesced_allocno_live_ranges): Ditto. | |
4793 | (coalesce_spill_slots): Ditto. | |
4794 | (ira_sort_regnos_for_alter_reg): Ditto. Allocate, initialize and | |
4795 | free allocno_coalesce_data. | |
4796 | ||
4797 | * ira-conflicts.c: Fix formatting. | |
4798 | (process_regs_for_copy): Call | |
4799 | ira_init_register_move_cost_if_necessary. Use | |
4800 | ira_register_move_cost instead of ira_get_register_move_cost. | |
4801 | (build_object_conflicts): Optimize. | |
4802 | ||
4803 | * ira-costs.c (record_reg_classes): Optimize. Call | |
4804 | ira_init_register_move_cost_if_necessary. Use | |
4805 | ira_register_move_cost, ira_may_move_in_cost, and | |
4806 | ira_may_move_out_cost instead of ira_get_register_move_cost and | |
4807 | ira_get_may_move_cost. | |
4808 | (record_address_regs): Ditto. | |
4809 | (scan_one_insn): Optimize. | |
4810 | (find_costs_and_classes): Optimize. | |
4811 | (process_bb_node_for_hard_reg_moves): Call | |
4812 | ira_init_register_move_cost_if_necessary. Use | |
4813 | ira_register_move_cost instead of ira_get_register_move_cost. | |
4814 | ||
4815 | * ira-emit.c: Use allocno_emit_reg, ALLOCNO_EMIT_DATA instead of | |
4816 | ALLOCNO_REG, ALLOCNO_CHILD_RENAMED_P, ALLOCNO_MEM_OPTIMIZED_DEST, | |
4817 | ALLOCNO_MEM_OPTIMIZED_DEST_P, and ALLOCNO_SOMEWHERE_RENAMED_P. | |
4818 | (ira_allocno_emit_data, void_p, new_allocno_emit_data_vec): New | |
4819 | definitions. | |
4820 | (ira_initiate_emit_data, ira_finish_emit_data) | |
4821 | (create_new_allocno): New functions. | |
7a81008b | 4822 | (modify_move_list): Call create_new_alloc instead of ira_create_allocno. |
1756cb66 VM |
4823 | (emit_move_list): Call ira_init_register_move_cost_if_necessary. |
4824 | Use ira_register_move_cost instead of ira_get_register_move_cost. | |
4825 | ||
4826 | * ira-int.h: Fix some comments. | |
7a81008b UB |
4827 | (object_hard_regs_t, object_hard_regs_node_t): Move to ira-color.c. |
4828 | (struct object_hard_regs, struct object_hard_regs_node): Ditto. | |
1756cb66 VM |
4829 | (struct ira_object): Remove profitable_hard_regs, hard_regs_node, |
4830 | hard_regs_subnodes_start, hard_regs_subnodes_num. Add new member | |
4831 | add_data. | |
4832 | (struct ira_allocno): Make mode and aclass a bitfield. Move other | |
4833 | bitfield after mode. Make hard_regno a short int. Make | |
4834 | hard_regno short. Remove first_coalesced_allocno and | |
4835 | next_coalesced_allocno. Move mem_optimized_dest_p, | |
4836 | somewhere_renamed_p, child_renamed_p, reg, and mem_optimized_dest | |
4837 | into struct ira_emit_data. Remove in_graph_p, may_be_spilled_p, | |
4838 | available_regs_num, next_bucket_allocno, prev_bucket_allocno, | |
4839 | temp, colorable_p. Add new member add_data. | |
4840 | (ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P): Remove. | |
4841 | (ALLOCNO_COLORABLE_P, ALLOCNO_AVAILABLE_REGS_NUM): Remove. | |
4842 | (ALLOCNO_NEXT_BUCKET_ALLOCNO, ALLOCNO_PREV_BUCKET_ALLOCNO): Remove. | |
4843 | (ALLOCNO_TEMP, ALLOCNO_FIRST_COALESCED_ALLOCNO): Remove. | |
4844 | (ALLOCNO_NEXT_COALESCED_ALLOCNO): Remove. | |
4845 | (ALLOCNO_ADD_DATA): New macro. | |
4846 | (ira_emit_data_t): New typedef. | |
4847 | (struct ira_emit_data): New. Move mem_optimized_dest_p, | |
4848 | somewhere_renamed_p, child_renamed_p, reg, mem_optimized_dest | |
4849 | from struct ira_allocno. | |
4850 | (ALLOCNO_EMIT_DATA): New macro. | |
4851 | (ira_allocno_emit_data, allocno_emit_reg): New. | |
4852 | (ALLOCNO_PROFITABLE_HARD_REGS, OBJECT_HARD_REGS_NODE): Remove. | |
7a81008b | 4853 | (OBJECT_HARD_REGS_SUBNODES_STAR, OBJECT_HARD_REGS_SUBNODES_NUM): Remove. |
1756cb66 VM |
4854 | (OBJECT_ADD_DATA): New macro. |
4855 | (ira_reallocate): Remove. | |
4856 | (ira_initiate_emit_data, ira_finish_emit_data): New. | |
4857 | (ira_get_register_move_cost, ira_get_may_move_cost): Remove. | |
4858 | (ira_init_register_move_cost_if_necessary): New. | |
4859 | (ira_object_conflict_iter_next): Merge into | |
4860 | ira_object_conflict_iter_cond. | |
7a81008b | 4861 | (FOR_EACH_OBJECT_CONFLICT): Don't use ira_object_conflict_iter_next. |
1756cb66 | 4862 | |
f60c2554 | 4863 | * ira-live.c (process_single_reg_class_operands): Call |
1756cb66 VM |
4864 | ira_init_register_move_cost_if_necessary. Use |
4865 | ira_register_move_cost instead of ira_get_register_move_cost. | |
4866 | ||
4867 | 2010-08-13 Vladimir Makarov <vmakarov@redhat.com> | |
4868 | ||
4869 | * ira-int.h (struct target_ira_int): Remove x_cost_classes. | |
4870 | ||
4871 | * ira-costs.c: Fix formatting. | |
4872 | (cost_classes, cost_classes_num): Remove. | |
4873 | (struct cost_classes, cost_classes_t, const_cost_classes_t): New. | |
4874 | (regno_cost_classes, cost_classes_hash, cost_classes_eq): New. | |
4875 | (cost_classes_del, cost_classes_htab): New. | |
4876 | (cost_classes_aclass_cache, cost_classes_mode_cache): New. | |
4877 | (initiate_regno_cost_classes, setup_cost_classes): New. | |
4878 | (setup_regno_cost_classes_by_aclass): New. | |
7a81008b | 4879 | (setup_regno_cost_classes_by_mode, finish_regno_cost_classes): New. |
1756cb66 VM |
4880 | (record_reg_classes): Use regno_cost_classes instead of |
4881 | cost_classes. Move checking opposite operand up. | |
4882 | (record_address_regs): Use regno_cost_classes | |
4883 | instead of cost_classes. | |
4884 | (scan_one_insn): Ditto. Use always general register. | |
4885 | (print_allocno_costs): Use regno_cost_classes instead of | |
4886 | cost_classes. | |
4887 | (print_pseudo_costs): Ditto. Use Reg_N_REFS. | |
4888 | (find_costs_and_classes): Set up cost classes for each registers. | |
4889 | Use also their mode for this. Use regno_cost_classes instead of | |
4890 | cost_classes. | |
4891 | (setup_allocno_class_and_costs): Use regno_cost_classes instead of | |
4892 | cost_classes. | |
4893 | (free_ira_costs, ira_init_costs): Don't use cost_classes. | |
4894 | (ira_costs, ira_set_pseudo_classes): Call | |
4895 | initiate_regno_cost_classes and finish_regno_cost_classes. | |
4896 | ||
4897 | 2010-10-04 Vladimir Makarov <vmakarov@redhat.com> | |
4898 | ||
4899 | * target-def.h (TARGET_IRA_COVER_CLASSES): Remove. | |
4900 | ||
4901 | * target.def (ira_cover_classes): Remove. | |
4902 | ||
7a81008b | 4903 | * doc/tm.texi: Remove TARGET_IRA_COVER_CLASSES and IRA_COVER_CLASSES. |
1756cb66 VM |
4904 | |
4905 | * doc/tm.texi.in: Ditto. | |
4906 | ||
4907 | * ira-conflicts.c: Remove mentioning cover classes from the file. | |
4908 | Use ALLOCNO_CLASS instead of ALLOCNO_COVER_CLASS. Use | |
7a81008b | 4909 | ALLOCNO_COVER_CLASS_COST instead of ALLOCNO_CLASS_COST. Fix formatting. |
1756cb66 VM |
4910 | |
4911 | * targhooks.c (default_ira_cover_classes): Remove. | |
4912 | ||
4913 | * targhooks.h (default_ira_cover_classes): Ditto. | |
4914 | ||
4915 | * haifa-sched.c: Remove mentioning cover classes from the file. | |
4916 | Use ira_reg_pressure_cover instead of ira_reg_class_cover. Use | |
4917 | ira_pressure_classes and ira_pressure_classes_num instead of | |
4918 | ira_reg_class_cover_size and ira_reg_class_cover. Use | |
4919 | sched_regno_pressure_class instead of sched_regno_cover_class. | |
4920 | (mark_regno_birth_or_death, setup_insn_reg_pressure_info): Use | |
4921 | ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
4922 | ||
4923 | * ira-int.h: Add 2010 to Copyright. Remove mentioning cover | |
4924 | classes from the file. | |
4925 | (object_hard_regs_t, object_hard_regs_node_t): New typedefs. | |
4926 | (struct object_hard_regs, struct object_hard_regs_node): New. | |
4927 | (struct ira_object): New members profitable_hard_regs, | |
4928 | hard_regs_node, hard_regs_subnodes_start, hard_regs_subnodes_num. | |
4929 | (struct ira_allocno): Rename cover_class to aclass. Rename | |
4930 | cover_class_cost and updated_cover_class_cost to class_cost and | |
4931 | updated_class_cost. Remove splay_removed_p and | |
4932 | left_conflict_size. Add new members colorable_p. | |
4933 | (ALLOCNO_SPLAY_REMOVED_P, ALLOCNO_LEFT_CONFLICTS_SIZE): Remove. | |
4934 | (ALLOCNO_COLORABLE_P): New macro. | |
4935 | (ALLOCNO_COVER_CLASS): Rename to ALLOCNO_CLASS. | |
4936 | (ALLOCNO_COVER_CLASS_COST, ALLOCNO_UPDATED_COVER_CLASS_COST): | |
4937 | Rename to ALLOCNO_CLASS_COST and ALLOCNO_UPDATED__CLASS_COST. | |
4938 | (OBJECT_...): Rename parameter C to O. | |
4939 | (OBJECT_PROFITABLE_HARD_REGS): New macro. | |
4940 | (OBJECT_HARD_REGS_NODE, OBJECT_HARD_REGS_SUBNODES_START) | |
4941 | (OBJECT_HARD_REGS_SUBNODES_NUM): New macros. | |
4942 | (struct target_ira_int): New members x_ira_max_memory_move_cost, | |
4943 | x_ira_max_register_move_cost, x_ira_max_may_move_in_cost, | |
4944 | x_ira_max_may_move_out_cost, x_ira_reg_allocno_class_p, | |
4945 | x_ira_reg_pressure_class_p, x_ira_important_class_nums, | |
4946 | x_ira_reg_class_superunion. Rename x_prohibited_class_mode_reg to | |
4947 | x_ira_prohibited_class_mode_reg. Rename x_ira_reg_class_union to | |
4948 | x_ira_reg_class_subunion. | |
4949 | (ira_max_memory_move_cost, ira_max_register_move_cost) | |
4950 | (ira_max_may_move_in_cost, ira_max_may_move_out_cost) | |
4951 | (ira_reg_allocno_class_p, ira_reg_pressure_class_p) | |
4952 | (ira_important_class_nums, ira_reg_class_superunion): New macros. | |
7a81008b | 4953 | (prohibited_class_mode_regs): Rename to ira_prohibited_class_mode_regs. |
1756cb66 VM |
4954 | (ira_reg_class_union): Rename to ira_reg_class_subunion. |
4955 | (ira_debug_class_cover): Rename to ira_debug_allocno_classes. | |
4956 | (ira_set_allocno_cover_class): Rename to ira_set_allocno_class. | |
4957 | (ira_tune_allocno_costs_and_cover_classes): Rename to | |
4958 | ira_tune_allocno_costs. | |
4959 | (ira_debug_hard_regs_forest): New. | |
4960 | (ira_object_conflict_iter_init, ira_object_conflict_iter_cond) | |
4961 | (ira_object_conflict_iter_next): Fix comments. | |
7a81008b | 4962 | (ira_hard_reg_set_intersection_p, hard_reg_set_size): New functions. |
1756cb66 VM |
4963 | (ira_allocate_and_set_costs, ira_allocate_and_copy_costs): Rename |
4964 | cover_class to aclass. | |
4965 | (ira_allocate_and_accumulate_costs): Ditto. | |
4966 | (ira_allocate_and_set_or_copy_costs): Ditto. | |
4967 | ||
4968 | * opts.c (decode_options): Remove ira_cover_class check. | |
4969 | ||
4970 | * ira-color.c: Remove mentioning cover classes from the file. Use | |
4971 | ALLOCNO_CLASS, ALLOCNO_CLASS_COST, and ALLOCNO_UPDATED_CLASS_COST | |
4972 | instead of ALLOCNO_COVER_CLASS, ALLOCNO_COVER_CLASS_COST, and | |
4973 | ALLOCNO_UPDATED_COVER_CLASS_COST. Fix formatting. | |
4974 | (splay-tree.h): Remove include. | |
4975 | (allocno_coalesced_p, processed_coalesced_allocno_bitmap): Move | |
4976 | before copy_freq_compare_func. | |
4977 | (allocnos_for_spilling, removed_splay_allocno_vec): Remove. | |
4978 | (object_hard_regs_vec, object_hard_regs_htab, node_check_tick): | |
4979 | New definitions. | |
4980 | (hard_regs_roots, hard_regs_node_vec): Ditto. | |
4981 | (object_hard_regs_hash, object_hard_regs_eq, find_hard_regs): Ditto. | |
4982 | (insert_hard_regs, init_object_hard_regs, add_object_hard_regs): Ditto. | |
4983 | (finish_object_hard_regs, object_hard_regs_compare): Ditto. | |
4984 | (create_new_object_hard_regs_node): Ditto. | |
4985 | (add_new_object_hard_regs_node_to_forest): Ditto. | |
7a81008b | 4986 | (add_object_hard_regs_to_forest, collect_object_hard_regs_cover): Ditto. |
1756cb66 VM |
4987 | (setup_object_hard_regs_nodes_parent, first_common_ancestor_node): |
4988 | Ditto. | |
4989 | (print_hard_reg_set, print_hard_regs_subforest): Ditto. | |
4990 | (print_hard_regs_forest, ira_debug_hard_regs_forest): Ditto. | |
4991 | (remove_unused_object_hard_regs_nodes): Ditto. | |
4992 | (enumerate_object_hard_regs_nodes): Ditto. | |
4993 | (object_hard_regs_nodes_num, object_hard_regs_nodes): Ditto. | |
4994 | (object_hard_regs_subnode_t): Ditto. | |
4995 | (struct object_hard_regs_subnode): Ditto. | |
4996 | (object_hard_regs_subnodes, object_hard_regs_subnode_index): Ditto. | |
4997 | (setup_object_hard_regs_subnode_index): Ditto. | |
4998 | (get_object_hard_regs_subnodes_num): Ditto. | |
4999 | (form_object_hard_regs_nodes_forest): Ditto. | |
5000 | (finish_object_hard_regs_nodes_tree): Ditto. | |
5001 | (finish_object_hard_regs_nodes_forest): Ditto. | |
5002 | (allocnos_have_intersected_live_ranges_p): Rename to | |
7a81008b | 5003 | allocnos_conflict_by_live_ranges_p. Move before copy_freq_compare_func. |
1756cb66 VM |
5004 | (pseudos_have_intersected_live_ranges_p): Rename to |
5005 | conflict_by_live_ranges_p. Move before copy_freq_compare_func. | |
5006 | (setup_left_conflict_sizes_p, update_left_conflict_sizes_p): Ditto. | |
5007 | (empty_profitable_hard_regs, setup_profitable_hard_regs): Ditto. | |
5008 | (update_copy_costs): Remove assert. Skip cost update if the hard | |
5009 | reg does not belong the class. | |
5010 | (assign_hard_reg): Process only profitable hard regs. | |
5011 | (uncolorable_allocnos_num): Make it scalar. | |
5012 | (allocno_spill_priority): Use ALLOCNO_EXCESS_PRESSURE_POINTS_NUM | |
5013 | and ira_reg_class_max_nregs instead of ALLOCNO_LEFT_CONFLICTS_SIZE | |
5014 | and ira_reg_class_max_nregs. | |
5015 | (bucket_allocno_compare_func): Check frequency first. | |
5016 | (sort_bucket): Add compare function as a parameter. | |
5017 | (add_allocno_to_ordered_bucket): Assume no coalesced allocnos. | |
5018 | (uncolorable_allocnos_splay_tree, USE_SPLAY_P): Remove. | |
5019 | (push_allocno_to_stack): Rewrite for checking new allocno | |
5020 | colorability. | |
7a81008b | 5021 | (remove_allocno_from_bucket_and_push): Print cost too. Remove assert. |
1756cb66 VM |
5022 | (push_only_colorable): Pass new parameter to sort_bucket. |
5023 | (push_allocno_to_spill): Remove. | |
5024 | (allocno_spill_priority_compare): Make it inline and rewrite. | |
5025 | (splay_tree_allocate, splay_tree_free): Remove. | |
5026 | (allocno_spill_sort_compare): New function. | |
5027 | (push_allocnos_to_stack): Sort allocnos for spilling once. Don't | |
5028 | build and use splay tree. Choose first allocno in uncolorable | |
5029 | allocno bucket to spill. Remove setting spill cost. | |
5030 | (all_conflicting_hard_regs): Remove. | |
5031 | (setup_allocno_available_regs_num): Check only profitable hard | |
5032 | regs. Print info about hard regs nodes. | |
5033 | (setup_allocno_left_conflicts_size): Remove. | |
5034 | (put_allocno_into_bucket): Don't call | |
7a81008b | 5035 | setup_allocno_left_conflicts_size. Use setup_left_conflict_sizes_p. |
1756cb66 VM |
5036 | (improve_allocation): New. |
5037 | (color_allocnos): Call setup_profitable_hard_regs, | |
5038 | form_object_hard_regs_nodes_forest, improve_allocation, | |
5039 | finish_object_hard_regs_nodes_forest. Setup spill cost. | |
5040 | (print_loop_title): Use pressure classes. | |
5041 | (color_allocnso): Ditto. | |
5042 | (do_coloring): Remove allocation and freeing splay_tree_node_pool | |
5043 | and allocnos_for_spilling. | |
5044 | (ira_sort_regnos_for_alter_reg): Don't setup members | |
5045 | {first,next}_coalesced_allocno. | |
5046 | (color): Remove allocating and freeing removed_splay_allocno_vec. | |
5047 | (fast_allocation): Use ira_prohibited_class_mode_regs instead of | |
5048 | prohibited_class_mode_regs. | |
5049 | ||
5050 | * ira-lives.c: Remove mentioning cover classes from the file. Fix | |
5051 | formatting. | |
5052 | (update_allocno_pressure_excess_length): Use pressure classes. | |
5053 | (inc_register_pressure, dec_register_pressure): Check for pressure | |
5054 | class. | |
5055 | (mark_pseudo_regno_live, mark_pseudo_regno_subword_live): Use | |
5056 | pressure class. Use ira_reg_class_nregs instead of | |
5057 | ira_reg_class_max_nregs. | |
5058 | (mark_pseudo_regno_dead, mark_pseudo_regno_subword_dead): Ditto. | |
5059 | (mark_hard_reg_live, mark_hard_reg_dead): Use pressure class. | |
5060 | (single_reg_class): Use ira_reg_class_nregs instead of | |
5061 | ira_reg_class_max_nregs. | |
5062 | (process_bb_node_lives): Use pressure classes. | |
5063 | ||
5064 | * ira-emit.c: Remove mentioning cover classes from the file. Use | |
5065 | ALLOCNO_CLASS instead of ALLOCNO_COVER_CLASS. Fix formatting. | |
5066 | (change_loop): Use pressure classes. | |
5067 | (modify_move_list): Call ira_set_allocno_class instead of | |
5068 | ira_set_allocno_cover_class. | |
5069 | ||
5070 | * ira-build.c: Remove mentioning cover classes from the file. Use | |
5071 | ALLOCNO_CLASS and ALLOCNO_CLASS_COST instead of | |
5072 | ALLOCNO_COVER_CLASS and ALLOCNO_COVER_CLASS_COST. Use | |
5073 | ALLOCNO_UPDATED_CLASS_COST instead of | |
5074 | ALLOCNO_UPDATED_COVER_CLASS_COST. Fix formatting. | |
5075 | (ira_create_object): Initiate OBJECT_PROFITABLE_HARD_REGS. | |
5076 | (ira_create_allocno): Remove initialization of | |
5077 | ALLOCNO_SPLAY_REMOVED_P, ALLOCNO_LEFT_CONFLICT_SIZE. Initialize | |
5078 | ALLOCNO_COLORABLE_P. | |
5079 | (ira_set_allocno_cover_class): Rename to ira_set_allocno_class. | |
5080 | Update conflict regs for the objects. | |
5081 | (create_cap_allocno): Remove assert. Don't propagate | |
5082 | ALLOCNO_AVAILABLE_REGS_NUM. | |
5083 | (ira_free_allocno_costs): New function. | |
5084 | (finish_allocno): Change a part of code into call of | |
5085 | ira_free_allocno_costs. | |
5086 | (low_pressure_loop_node_p): Use pressure classes. | |
5087 | (object_range_compare_func): Don't compare classes. | |
5088 | (setup_min_max_conflict_allocno_ids): Ditto. | |
5089 | ||
5090 | * loop-invariant.c: Remove mentioning cover classes from the file. | |
5091 | Use ira_pressure_classes and ira_pressure_classes_num instead of | |
5092 | ira_reg_class_cover_size and ira_reg_class_cover. Fix formatting. | |
7a81008b UB |
5093 | (get_cover_class_and_nregs): Rename to get_cover_pressure_and_nregs. |
5094 | Use ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
5095 | Use reg_allocno_class instead of reg_cover_class. | |
1756cb66 VM |
5096 | (get_inv_cost): Use instead ira_stack_reg_pressure_class of |
5097 | STACK_REG_COVER_CLASS. | |
5098 | (get_regno_cover_class): Rename to get_regno_pressure_class. | |
5099 | (move_loop_invariants): Initialize and finalize regstat. | |
5100 | ||
5101 | * ira.c: Remove mentioning cover classes from the file. Add | |
5102 | comments about coloring without cover classes. Use ALLOCNO_CLASS | |
5103 | instead of ALLOCNO_COVER_CLASS. Fix formatting. | |
5104 | (alloc_reg_class_subclasses, setup_reg_subclasses): Move it before | |
5105 | setup_class_subset_and_memory_move_costs. | |
5106 | (setup_stack_reg_pressure_class, setup_pressure_classes): New. | |
5107 | (setup_cover_and_important_classes): Rename to | |
5108 | setup_allocno_and_important_classes. | |
5109 | (setup_class_translate_array): New. | |
5110 | (setup_class_translate): Call it for allocno and pressure classes. | |
5111 | (cover_class_order): Rename to allocno_class_order. | |
5112 | (comp_reg_classes_func): Use ira_allocno_class_translate instead | |
5113 | of ira_class_translate. | |
5114 | (reorder_important_classes): Set up ira_important_class_nums. | |
5115 | (setup_reg_class_relations): Set up ira_reg_class_superunion. | |
5116 | (print_class_cover): Rename to print_classes. Add parameter. | |
5117 | (ira_debug_class_cover): Rename to ira_debug_allocno_classes. | |
5118 | Print pressure classes too. | |
5119 | (find_reg_class_closure): Rename to find_reg_classes. Don't call | |
5120 | setup_reg_subclasses. | |
7a81008b | 5121 | (ira_hard_regno_cover_class): Rename to ira_hard_regno_allocno_class. |
1756cb66 VM |
5122 | (ira_reg_class_nregs): Rename to ira_reg_class_max_nregs. |
5123 | (setup_prohibited_class_mode_regs): Use | |
7a81008b | 5124 | ira_prohibited_class_mode_regs instead of prohibited_class_mode_regs. |
1756cb66 VM |
5125 | (clarify_prohibited_class_mode_regs): New function. |
5126 | (ira_init_register_move_cost): Set up ira_max_register_move_cost, | |
5127 | ira_max_may_move_in_cost, and ira_max_may_move_out_cost. | |
5128 | (ira_init_once): Initialize them. | |
5129 | (free_register_move_costs): Process them. | |
5130 | (ira_init): Move calls of find_reg_classes and | |
5131 | setup_hard_regno_aclass after setup_prohibited_class_mode_regs. | |
5132 | Call clarify_prohibited_class_mode_regs. | |
5133 | (ira_no_alloc_reg): Remove. | |
5134 | (too_high_register_pressure_p): Use pressure classes. | |
5135 | ||
5136 | * sched-deps.c: Remove mentioning cover classes from the file. | |
5137 | Use ira_reg_pressure_cover instead of ira_reg_class_cover. Use | |
5138 | ira_pressure_classes and ira_pressure_classes_num instead of | |
5139 | ira_reg_class_cover_size and ira_reg_class_cover. | |
5140 | (mark_insn_hard_regno_birth, mark_hard_regno_death): Use | |
5141 | sched_regno_pressure_class instead of sched_regno_cover_class. | |
5142 | (mark_insn_pseudo_birth, mark_pseudo_death): Ditto. Use | |
5143 | ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
5144 | ||
5145 | * ira.h: Add 2010 to Copyright. | |
5146 | (ira_no_alloc_reg): Remove external. | |
5147 | (struct target_ira): Rename x_ira_hard_regno_cover_class, | |
5148 | x_ira_reg_class_cover_size, x_ira_reg_class_cover, and | |
5149 | x_ira_class_translate to x_ira_hard_regno_allocno_class, | |
5150 | x_ira_allocno_classes_num, x_ira_allocno_classes, and | |
5151 | x_ira_allocno_class_translate. Add x_ira_pressure_classes_num, | |
5152 | x_ira_pressure_classes, x_ira_pressure_class_translate, and | |
5153 | x_ira_stack_reg_pressure_class. Rename x_ira_reg_class_nregs to | |
5154 | x_ira_reg_class_max_nregs. Add x_ira_reg_class_min_nregs and | |
5155 | x_ira_no_alloc_regs. | |
7a81008b | 5156 | (ira_hard_regno_cover_class): Rename to ira_hard_regno_allocno_class. |
1756cb66 VM |
5157 | (ira_reg_class_cover_size, ira_reg_class_cover): Rename to |
5158 | ira_allocno_classes_num and ira_allocno_classes. | |
5159 | (ira_class_translate): Rename to ira_allocno_class_translate. | |
5160 | (ira_pressure_classes_num, ira_pressure_classes): New definitions. | |
5161 | (ira_pressure_class_translate, ira_stack_reg_pressure_class): Ditto. | |
5162 | (ira_reg_class_nregs): Rename to ira_reg_class_max_nregs. | |
5163 | (ira_reg_class_min_nregs, ira_stack_reg_pressure_class): New | |
5164 | (ira_no_alloc_regs): New. | |
5165 | ||
5166 | * ira-costs.c: Add 2010 to Copyright. Remove mentioning cover | |
5167 | classes from the file. Use ALLOCNO_CLASS instead of | |
5168 | ALLOCNO_COVER_CLASS. Use ALLOCNO_CLASS_COST instead of | |
5169 | ALLOCNO_COVER_CLASS_COST. | |
5170 | (regno_cover_class): Rename to regno_aclass. | |
5171 | (record_reg_classes): Use ira_reg_class_subunion instead of | |
5172 | ira_reg_class_union. | |
5173 | (record_address_regs): Check overflow. | |
5174 | (scan_one_insn): Ditto. | |
7a81008b | 5175 | (print_allocno_costs): Print total mem cost fore regional allocation. |
1756cb66 VM |
5176 | (print_pseudo_costs): Use REG_N_REFS. |
5177 | (find_costs_and_classes): Use classes intersected with them on the | |
5178 | 1st pass. Check overflow. Use ira_reg_class_subunion instead of | |
5179 | ira_reg_class_union. Use ira_allocno_class_translate and | |
5180 | regno_aclass instead of ira_class_translate and regno_cover_class. | |
5181 | Modify code for finding regno_aclass. Setup preferred classes for | |
5182 | the next pass. | |
5183 | (setup_allocno_cover_class_and_costs): Rename to | |
5184 | setup_allocno_class_and_costs. Use regno_aclass instead of | |
5185 | regno_cover_class. Use ira_set_allocno_class instead of | |
5186 | ira_set_allocno_cover_class. | |
5187 | (init_costs, finish_costs): Use regno_aclass instead of | |
5188 | regno_cover_class. | |
5189 | (ira_costs): Use setup_allocno_class_and_costs instead of | |
5190 | setup_allocno_cover_class_and_costs. | |
5191 | (ira_tune_allocno_costs_and_cover_classes): Rename to | |
5192 | ira_tune_allocno_costs. Check overflow. Skip conflict hard regs | |
5193 | by processing objects. Use ira_reg_class_max_nregs instead of | |
5194 | ira_reg_class_nregs. | |
5195 | ||
5196 | * rtl.h (reg_cover_class): Rename to reg_allocno_class. | |
5197 | ||
5198 | * sched-int.h: Remove mentioning cover classes from the file. | |
5199 | (sched_regno_cover_class): Rename to sched_regno_pressure_class. | |
5200 | ||
5201 | * reginfo.c: Add 2010 to Copyright. Remove mentioning cover | |
5202 | classes from the file. | |
5203 | (struct reg_pref): Rename coverclass into allocnoclass. | |
5204 | (reg_cover_class): Rename to reg_allocno_class. | |
5205 | ||
7a81008b | 5206 | * Makefile.in (ira-color.o): Remove SPLAY_TREE_H from dependencies. |
1756cb66 VM |
5207 | |
5208 | * config/alpha/alpha.h (IRA_COVER_CLASSES): Remove. | |
5209 | ||
5210 | * config/arm/arm.h (IRA_COVER_CLASSES): Ditto. | |
5211 | ||
5212 | * config/avr/avr.h (IRA_COVER_CLASSES): Ditto. | |
5213 | ||
5214 | * config/bfin/bfin.h (IRA_COVER_CLASSES): Ditto. | |
5215 | ||
5216 | * config/cris/cris.h (IRA_COVER_CLASSES): Ditto. | |
5217 | ||
5218 | * config/fr30/fr30.h (IRA_COVER_CLASSES): Ditto. | |
5219 | ||
5220 | * config/frv/frv.h (IRA_COVER_CLASSES): Ditto. | |
5221 | ||
5222 | * config/h8300/h8300.h (IRA_COVER_CLASSES): Ditto. | |
5223 | ||
5224 | * config/i386/i386.h (STACK_REG_COVER_CLASS): Ditto. | |
5225 | ||
5226 | * config/i386/i386.c (TARGET_IRA_COVER_CLASSES) | |
5227 | (i386_ira_cover_classes): Ditto. | |
5228 | ||
5229 | * config/ia64/ia64.h (IRA_COVER_CLASSES): Ditto. | |
5230 | ||
5231 | * config/iq2000/iq2000.h (IRA_COVER_CLASSES): Ditto. | |
5232 | ||
5233 | * config/m32r/m32r.h (IRA_COVER_CLASSES): Ditto. | |
5234 | ||
5235 | * config/m68k/m68k.h (IRA_COVER_CLASSES): Ditto. | |
5236 | ||
5237 | * config/mcore/mcore.h (IRA_COVER_CLASSES): Ditto. | |
5238 | ||
5239 | * config/mep/mep.h (IRA_COVER_CLASSES): Ditto. | |
5240 | ||
5241 | * config/mips/mips.c (TARGET_IRA_COVER_CLASSES) | |
5242 | (mips_ira_cover_classes): Ditto. | |
5243 | ||
5244 | * config/mn10300/mn10300.h (IRA_COVER_CLASSES): Ditto. | |
5245 | ||
5246 | * config/moxie/moxie.h (IRA_COVER_CLASSES): Ditto. | |
5247 | ||
5248 | * config/pa/pa64-regs.h (IRA_COVER_CLASSES): Ditto. | |
5249 | ||
5250 | * config/pa/pa32-regs.h (IRA_COVER_CLASSES): Ditto. | |
5251 | ||
5252 | * config/picochip/picochip.h (IRA_COVER_CLASSES): Ditto. | |
5253 | ||
5254 | * config/rs6000/rs6000.h (IRA_COVER_CLASSES_PRE_VSX) | |
5255 | (IRA_COVER_CLASSES_VSX): Ditto. | |
5256 | ||
5257 | * config/rs6000/rs6000.c (TARGET_IRA_COVER_CLASSES) | |
5258 | (rs6000_ira_cover_classes): Ditto. | |
5259 | ||
5260 | * config/rx/rx.h (IRA_COVER_CLASSES): Ditto. | |
5261 | ||
5262 | * config/s390/s390.h (IRA_COVER_CLASSES): Ditto. | |
5263 | ||
5264 | * config/score/score.h (IRA_COVER_CLASSES): Ditto. | |
5265 | ||
5266 | * config/sh/sh.h (IRA_COVER_CLASSES): Ditto. | |
5267 | ||
5268 | * config/sparc/sparc.h (IRA_COVER_CLASSES): Ditto. | |
5269 | ||
5270 | * config/spu/spu.h (IRA_COVER_CLASSES): Ditto. | |
5271 | ||
5272 | * config/stormy16/stormy16.h (IRA_COVER_CLASSES): Ditto. | |
5273 | ||
5274 | * config/v850/v850.h (IRA_COVER_CLASSES): Ditto. | |
5275 | ||
5276 | * config/vax/vax.h (IRA_COVER_CLASSES): Ditto. | |
5277 | ||
5278 | * config/xtensa/xtensa.h (IRA_COVER_CLASSES): Ditto. | |
5279 | ||
2b80199f JJ |
5280 | 2011-03-29 Jakub Jelinek <jakub@redhat.com> |
5281 | ||
71dae1fe JJ |
5282 | PR debug/48253 |
5283 | * dwarf2out.c (struct dw_fde_struct): Remove dw_fde_hot_section_label, | |
5284 | dw_fde_hot_section_end_label, dw_fde_unlikely_section_label, | |
5285 | dw_fde_unlikely_section_end_label, cold_in_std_section, | |
5286 | dw_fde_switched_sections and dw_fde_switched_cold_to_hot fields. | |
5287 | Add dw_fde_second_begin, dw_fde_second_end and second_in_std_section | |
5288 | fields. | |
5289 | (output_fde): Use dw_fde_second_{begin,end} if second is | |
5290 | true, otherwise dw_fde_{begin,end}. | |
5291 | (output_call_frame_info): Test dw_fde_second_begin != NULL | |
5292 | instead of dw_fde_switched_sections. | |
5293 | (dwarf2out_begin_prologue): Stop initializing removed dw_fde_struct | |
5294 | fields, initialize new fields. Initialize in_std_section | |
5295 | unconditionally from the first partition. | |
5296 | (dwarf2out_end_epilogue): Don't override dw_fde_end when | |
5297 | dw_fde_second_begin is non-NULL. | |
5298 | (dwarf2out_switch_text_section): Stop initializing removed | |
5299 | dw_fde_struct fields, initialize new fields, initialize | |
5300 | also dw_fde_end here. Set dw_fde_switch_cfi even when | |
5301 | dwarf2out_do_cfi_asm (). Call var_location_switch_text_section. | |
5302 | (struct var_loc_list_def): Add last_before_switch field. | |
5303 | (arange_table, arange_table_allocated, arange_table_in_use, | |
5304 | ARANGE_TABLE_INCREMENT, add_arange): Removed. | |
5305 | (size_of_aranges): Count !in_std_section and !second_in_std_section | |
5306 | hunks in fdes, instead of looking at arange_table_in_use. | |
5307 | (output_aranges): Add aranges_length argument, don't call | |
5308 | size_of_aranges here. Instead of using aranges_table* | |
5309 | emit ranges for fdes when !in_std_section resp. | |
5310 | !second_in_std_section. | |
5311 | (dw_loc_list): Break ranges crossing section switch. | |
5312 | (convert_cfa_to_fb_loc_list): Likewise. If switched sections, | |
7a81008b | 5313 | use dw_fde_second_end instead of dw_fde_end as end of last range. |
71dae1fe JJ |
5314 | (gen_subprogram_die): Don't call add_arange. Use |
5315 | dw_fde_{begin,end} for first partition and if switched | |
5316 | section dw_fde_second_{begin,end} for the second. | |
5317 | (var_location_switch_text_section_1, | |
5318 | var_location_switch_text_section): New functions. | |
5319 | (dwarf2out_begin_function): Initialize cold_text_section even | |
5320 | when function_section () isn't text_section. | |
5321 | (prune_unused_types): Don't walk arange_table. | |
5322 | (dwarf2out_finish): Don't needlessly test | |
5323 | flag_reorder_blocks_and_partition when testing cold_text_section_used. | |
5324 | If info_section_emitted, call size_of_aranges and if it indicates | |
5325 | non-empty .debug_aranges, call output_aranges with the computed | |
5326 | size. Stop using removed dw_fde_struct fields, use | |
5327 | dw_fde_{begin,end} for first partition and dw_fde_second_{begin,end} | |
5328 | for second. | |
5329 | ||
2b80199f JJ |
5330 | PR debug/48203 |
5331 | * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Only | |
5332 | create ENTRY_VALUE if incoming or address of incoming's MEM | |
5333 | is a hard REG. | |
5334 | * dwarf2out.c (mem_loc_descriptor): Don't emit | |
5335 | DW_OP_GNU_entry_value of DW_OP_fbreg. | |
5336 | * var-tracking.c (vt_add_function_parameter): Ensure cselib_lookup | |
5337 | on ENTRY_VALUE is able to find the canonical parameter VALUE. | |
5338 | * cselib.c (rtx_equal_for_cselib_1) <case ENTRY_VALUE>: Use | |
5339 | rtx_equal_p instead of rtx_equal_for_cselib_1 to compare | |
5340 | ENTRY_VALUE_EXPs. | |
5341 | (cselib_hash_rtx) <case ENTRY_VALUE>: If ENTRY_VALUE_EXP | |
5342 | is a REG_P or MEM_P with REG_P address, compute hash directly | |
5343 | instead of calling cselib_hash_rtx on ENTRY_VALUE_EXP. | |
5344 | (preserve_only_constants): Don't clear VALUES forwaring | |
5345 | ENTRY_VALUE to some other VALUE. | |
5346 | ||
8a445129 RS |
5347 | 2011-03-28 Richard Sandiford <richard.sandiford@linaro.org> |
5348 | ||
5349 | * builtins.c (expand_builtin_memset_args): Use gen_int_mode | |
5350 | instead of GEN_INT. | |
5351 | ||
c82fee88 EB |
5352 | 2011-03-28 Eric Botcazou <ebotcazou@adacore.com> |
5353 | ||
5354 | * cfgexpand.c (expand_gimple_cond): Always set the source location and | |
5355 | block before expanding the statement. | |
5356 | (expand_gimple_stmt_1): Likewise. Set them here... | |
5357 | (expand_gimple_stmt): ...and not here. Tidy. | |
5358 | * cfglayout.c (curr_insn_locator): Return 0 if the current location is | |
5359 | unknown. | |
5360 | ||
e45425ec SB |
5361 | 2011-03-28 Steven Bosscher <steven@gcc.gnu.org> |
5362 | ||
5363 | * Makefile.in: New rule for cprop.o. | |
5364 | * gcse.c: Move constant/copy propagation to cprop.c. | |
5365 | (compute_local_properties): Only handle expression tables. | |
5366 | (hash_scan_set, compute_hash_table_work, alloc_hash_table,): Likewise. | |
5367 | (one_pre_gcse_pass, one_code_hoisting_pass): Likewise. | |
5368 | (hash_set, insert_set_in_table, gcse_constant_p, lookup_set, | |
5369 | next_set, reset_opr_set_tables, oprs_not_set_p, mark_call, mark_set, | |
7a81008b | 5370 | mark_clobber, mark_oprs_set, alloc_cprop_mem, free_cprop_mem, |
e45425ec SB |
5371 | compute_cprop_data, find_used_regs, try_replace_reg, |
5372 | find_avail_set, cprop_jump, constprop_register, cprop_insn, | |
5373 | local_cprop_find_used_regs, do_local_cprop, local_cprop_pass, | |
5374 | fis_get_condition, implicit_set_cond_p, find_implicit_sets, | |
5375 | find_bypass_set, reg_killed_on_edge, bypass_block, | |
5376 | bypass_conditional_jumps, one_cprop_pass, gate_rtl_cprop, | |
5377 | execute_rtl_cprop, pass_rtl_cprop): Move to... | |
5378 | * cprop.c: ...here. New file, constant/copy propagation for RTL | |
5379 | moved from gcse.c to here with minor cleanups in duplicated code. | |
5380 | ||
c09d5426 L |
5381 | 2011-03-28 H.J. Lu <hongjiu.lu@intel.com> |
5382 | ||
5383 | * config/i386/i386.c (flag_opts): Fix a typo in | |
5384 | -mavx256-split-unaligned-store. | |
5385 | ||
9eaa7740 AS |
5386 | 2011-03-28 Anatoly Sokolov <aesok@post.ru> |
5387 | ||
5388 | * config/h8300/h8300.h (FUNCTION_VALUE_REGNO_P, FUNCTION_VALUE, | |
5389 | LIBCALL_VALUE): Remove macros. | |
5390 | * config/h8300/h8300.c (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
5391 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
5392 | (h8300_function_value, h8300_libcall_value, | |
5393 | h8300_function_value_regno_p): New functions. | |
5394 | ||
dcec2be2 AS |
5395 | 2011-03-28 Anatoly Sokolov <aesok@post.ru> |
5396 | ||
5397 | * config/h8300/h8300.h (ASM_OUTPUT_BSS): Remove macro. | |
5398 | ||
520af9ec JL |
5399 | 2011-03-28 Jeff Law <law@redhat.com> |
5400 | ||
5401 | * tree-ssa-threadupdate.c (redirect_edges): Call | |
5402 | create_edge_and_update_destination_phis as needed. | |
5403 | (create_edge_and_update_destination_phis): Accept new BB argument. | |
5404 | All callers updated. | |
5405 | (thread_block): Do not update the profile when threading around | |
5406 | intermediate blocks. | |
5407 | (thread_single_edge): Likewise. | |
5408 | (determine_bb_domination_status): If BB is not a successor of the | |
5409 | loop header, return NONDOMINATING. | |
5410 | (register_jump_thread): Note when we register a jump thread around | |
5411 | an intermediate block. | |
5412 | * tree-ssa-threadedge.c (thread_around_empty_block): New function. | |
5413 | (thread_across_edge): Use it. | |
5414 | ||
7450b54f TG |
5415 | 2011-03-28 Tristan Gingold <gingold@adacore.com> |
5416 | ||
5417 | * config/ia64/ia64.c (ia64_promote_function_mode): Fix promotion | |
5418 | when for_return is 2. | |
5419 | ||
649beb33 JL |
5420 | 2011-03-28 Jeff Law <law@redhat.com> |
5421 | ||
5422 | * var-tracking.c (canonicalize_values_mark): Delete unused | |
5423 | lhs assignment. | |
5424 | (canonicalize_values_star, set_variable_part): Likewise. | |
5425 | (clobber_variable_part, delete_variable_part): Likewise. | |
5426 | ||
d5b8da97 SB |
5427 | 2011-03-28 Steven Bosscher <steven@gcc.gnu.org> |
5428 | ||
5429 | * gcse.c (free_gcse_mem): Free reg_set_bitmap. | |
5430 | ||
322dd859 MJ |
5431 | 2011-03-28 Martin Jambor <mjambor@suse.cz> |
5432 | ||
5433 | * tree-inline.c (expand_call_inline): Do not check that destination | |
5434 | node is analyzed. | |
5435 | (optimize_inline_calls): Assert that destination node is analyzed. | |
5436 | * cgraph.c (cgraph_add_new_function): Call cgraph_analyze_function, do | |
5437 | not call tree_lowering_passes. | |
5438 | * cgraph.h (cgraph_analyze_function): Declare. | |
5439 | * cgraphunit.c (cgraph_analyze_function): Make public. | |
5440 | ||
aa53e58b JM |
5441 | 2011-03-28 Joseph Myers <joseph@codesourcery.com> |
5442 | ||
5443 | * config/sparc/sparc-opts.h: New. | |
5444 | * config/sparc/sparc.c (sparc_handle_option, sparc_select, | |
5445 | sparc_cpu, fpu_option_set, TARGET_HANDLE_OPTION): Remove. | |
5446 | (sparc_option_override): Store processor_type enumeration rather | |
5447 | than string in cpu_default. Remove name and enumeration from | |
5448 | cpu_table. Directly default -mcpu then default -mtune from -mcpu | |
5449 | without using sparc_select. Use target_flags_explicit instead of | |
5450 | fpu_option_set. | |
5451 | * config/sparc/sparc.h (enum processor_type): Move to | |
5452 | sparc-opts.h. | |
5453 | (sparc_cpu, struct sparc_cpu_select, sparc_select): Remove. | |
5454 | * config/sparc/sparc.opt (config/sparc/sparc-opts.h): New | |
5455 | HeaderInclude entry. | |
5456 | (mcpu=, mtune=): Use Var and Enum. | |
5457 | (sparc_processor_type): New Enum and EnumValue entries. | |
5458 | ||
dd350eba RO |
5459 | 2011-03-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5460 | Iain Sandoe <iains@gcc.gnu.org> | |
5461 | ||
5462 | PR target/48245 | |
5463 | * config/darwin.h (LINK_COMMAND_SPEC_A): Use LINK_PLUGIN_SPEC. | |
5464 | ||
1b29f05e EB |
5465 | 2011-03-28 Eric Botcazou <ebotcazou@adacore.com> |
5466 | ||
5467 | * tree-vectorizer.h (vect_create_data_ref_ptr): Adjust prototype. | |
5468 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add GSI parameter. | |
5469 | Insert new statements at it in lieu of STMT. | |
5470 | (vect_setup_realignment): Adjust call to vect_create_data_ref_ptr. | |
5471 | * tree-vect-stmts.c (vectorizable_store): Likewise. | |
5472 | (vectorizable_load): Likewise. | |
5473 | ||
506e6808 UB |
5474 | 2011-03-28 Uros Bizjak <ubizjak@gmail.com> |
5475 | ||
5476 | * config/alpha/alpha.md (addtf3): Change mode of operands to TFmode. | |
5477 | (divtf3): Ditto. | |
5478 | (multf3): Ditto. | |
5479 | (subtf3): Ditto. | |
5480 | ||
2e939ee9 L |
5481 | 2011-03-27 H.J. Lu <hongjiu.lu@intel.com> |
5482 | ||
5483 | * config/i386/sse.md (*avx_mov<mode>_internal): Don't assert | |
5484 | unaligned 256bit load/store. | |
5485 | (*avx_movu<ssemodesuffix><avxmodesuffix>): Likewise. | |
5486 | (*avx_movdqu<avxmodesuffix>): Likewise. | |
5487 | ||
5e85ab88 JDA |
5488 | 2011-03-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
5489 | ||
5490 | PR target/48288 | |
5491 | * config/pa/predicates.md (reg_or_ior_operand): New predicate. | |
5492 | * config/pa/pa.md (iordi3): Use new predicate in expander. | |
5493 | (iorsi3): Likewise. | |
5494 | ||
47be3d6d AS |
5495 | 2011-03-27 Anatoly Sokolov <aesok@post.ru> |
5496 | ||
506e6808 | 5497 | * config/mips/mips.h (LIBCALL_VALUE, FUNCTION_VALUE, |
47be3d6d | 5498 | FUNCTION_VALUE_REGNO_P): Remove macros. |
506e6808 UB |
5499 | * config/mips/mips-protos.h (mips_function_value): Remove. |
5500 | * config/mips/mips.c (mips_function_value): Rename to... | |
47be3d6d AS |
5501 | (mips_function_value_1): ... this. Make static. Handle receiving |
5502 | the function type in 'fn_decl_or_type' argument. | |
5503 | (mips_function_value, mips_libcall_value, | |
5504 | mips_function_value_regno_p): New function. | |
5505 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
5506 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
5507 | ||
d253656a L |
5508 | 2011-03-27 H.J. Lu <hongjiu.lu@intel.com> |
5509 | ||
5510 | * config/i386/i386.c (flag_opts): Add -mavx256-split-unaligned-load | |
5511 | and -mavx256-split-unaligned-store. | |
5512 | (ix86_option_override_internal): Split 32-byte AVX unaligned | |
5513 | load/store by default. | |
5514 | (ix86_avx256_split_vector_move_misalign): New. | |
5515 | (ix86_expand_vector_move_misalign): Use it. | |
5516 | ||
5517 | * config/i386/i386.opt: Add -mavx256-split-unaligned-load and | |
5518 | -mavx256-split-unaligned-store. | |
5519 | ||
5520 | * config/i386/sse.md (*avx_mov<mode>_internal): Verify unaligned | |
5521 | 256bit load/store. Generate unaligned store on misaligned memory | |
5522 | operand. | |
5523 | (*avx_movu<ssemodesuffix><avxmodesuffix>): Verify unaligned | |
5524 | 256bit load/store. | |
5525 | (*avx_movdqu<avxmodesuffix>): Likewise. | |
5526 | ||
5527 | * doc/invoke.texi: Document -mavx256-split-unaligned-load and | |
5528 | -mavx256-split-unaligned-store. | |
5529 | ||
1ea9206a RS |
5530 | 2011-03-27 Richard Sandiford <rdsandiford@googlemail.com> |
5531 | ||
5532 | PR target/38598 | |
5533 | * config/mips/mips.md (extendsidi2): Add an "l" alternative. | |
5534 | Update commentary. | |
5535 | ||
b99ce2a8 RS |
5536 | 2011-03-27 Richard Sandiford <rdsandiford@googlemail.com> |
5537 | ||
5538 | * config/mips/mips.c (mips_prepare_builtin_arg): Replace icode and | |
5539 | opno arguments with an expand_operand. Use create_input_operand. | |
5540 | (mips_prepare_builtin_target): Delete. | |
5541 | (mips_expand_builtin_insn, mips_expand_builtin_compare_1): New | |
5542 | functions. | |
5543 | (mips_expand_builtin_direct): Use create_output_operand and | |
5544 | mips_expand_builtin_insn. Update call to mips_prepare_builtin_arg. | |
5545 | (mips_expand_builtin_movtf): Likewise. Use mips_expand_fp_comparison. | |
5546 | (mips_expand_builtin_compare): Use mips_expand_fp_comparison. | |
5547 | ||
69d52339 IR |
5548 | 2011-03-27 Ira Rosen <ira.rosen@linaro.org> |
5549 | ||
5550 | * config/arm/arm.c (arm_autovectorize_vector_sizes): New | |
5551 | function. | |
5552 | (TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES): Define. | |
5553 | ||
ba5e9aca EB |
5554 | 2011-03-26 Eric Botcazou <ebotcazou@adacore.com> |
5555 | ||
5556 | * basic-block.h (fixup_abnormal_edges): Adjust prototype. | |
5557 | * reload1.c (reload): Adjust call to fixup_abnormal_edges. Rediscover | |
5558 | basic blocks and call commit_edge_insertions directly. | |
5559 | (fixup_abnormal_edges): Move from here to... | |
5560 | * cfgrtl.c (fixup_abnormal_edges): ...here. Only insert instructions | |
5561 | on the edges and return whether some have actually been inserted. | |
5562 | * reg-stack.c (convert_regs): Fix up abnormal edges before inserting | |
5563 | compensation code. | |
5564 | ||
5d369d58 AB |
5565 | 2011-03-26 Andrey Belevantsev <abel@ispras.ru> |
5566 | ||
5567 | PR rtl-optimization/48144 | |
5568 | * sel-sched-ir.c (merge_history_vect): Factor out from ... | |
5569 | (merge_expr_data): ... here. | |
5570 | (av_set_intersect): Rename to av_set_code_motion_filter. | |
5571 | Update all callers. Call merge_history_vect when an expression | |
5572 | is found in both sets. | |
5573 | * sel-sched-ir.h (av_set_code_motion_filter): Add prototype. | |
5574 | ||
f082c000 AM |
5575 | 2011-03-26 Alan Modra <amodra@gmail.com> |
5576 | ||
5577 | * config/rs6000/predicates.md (word_offset_memref_op): Handle | |
5578 | cmodel medium addresses. | |
5579 | * config/rs6000/rs6000.c (rs6000_secondary_reload): Handle misaligned | |
5580 | 64-bit gpr loads and stores. | |
5581 | (rs6000_secondary_reload_ppc64): New function. | |
5582 | * config/rs6000/rs6000-protos.h: Declare it. | |
5583 | * config/rs6000/rs6000.md (reload_di_store, reload_di_load): New. | |
5584 | ||
8ac5e12e AM |
5585 | 2011-03-26 Alan Modra <amodra@gmail.com> |
5586 | ||
5587 | PR target/47487 | |
5588 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Support | |
5589 | GNU Go in traceback table. | |
5590 | ||
c2654ded RH |
5591 | 2011-03-25 Richard Henderson <rth@redhat.com> |
5592 | ||
5593 | * expr.c (emit_block_move_via_movmem): Only use 6 operand variant | |
5594 | if there are exactly 6 operands. | |
5595 | (set_storage_via_setmem): Similarly. | |
5596 | ||
ba78087b KT |
5597 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
5598 | ||
5599 | * collect2.c (write_c_file_stat): Handle backslash | |
5600 | as right-hand directory separator. | |
5601 | (resolve_lib_name): Use IS_DIR_SEPARATOR instead of | |
5602 | checking just for slash. | |
5603 | * coverage.c (coverage_init): Use IS_ABSOLUTE_PATH | |
5604 | instead of checking for trailing slash. | |
5605 | * gcc.c (record_temp_file): Use filename_cmp instead | |
5606 | of strcmp. | |
5607 | (do_spec_1): Likewise. | |
5608 | (replace_outfile_spec_function): Likewise. | |
5609 | (is_directory): Use filename_ncmp instead of strncmp. | |
5610 | (print_multilib_info): Likewise. | |
5611 | * gcov.c (find_source): Use filename_cmp instead | |
5612 | instead of strcmp. | |
5613 | (make_gcov_file_name): Fix order of slash/backslash | |
5614 | checks. | |
5615 | * incpath.c (DIRS_EQ): Use filename_cmp instead of strcmp. | |
5616 | (add_standard_paths): Likewise. | |
5617 | * mips-tfile.c (saber_stop): Handle backslash. | |
5618 | * prefix.c (update_path): Use filename_ncmp instead of | |
5619 | strncmp. | |
5620 | * profile.c (output_location): Use filename_cmp instead | |
5621 | of strcmp. | |
5622 | * read-md.c (handle_toplevel_file): Handle backslash. | |
5623 | * tlink.c (frob_extension): Likewise. | |
5624 | * tree-cfg.c (same_line_p): Use filename_cmp instead of | |
5625 | strcmp. | |
5626 | * tree-dump.c (dequeue_and_dump): Handle backslash. | |
5627 | * tree.c (get_file_function_name): Likewise. | |
5628 | * gengtype.c (read_input_list): Likewise. | |
5629 | (get_file_realbasename): Likewise. | |
5630 | (get_output_file_with_visibility): Use filename_cmp | |
5631 | instead of strcmp. | |
5632 | ||
75f6ec9a RS |
5633 | 2011-03-25 Richard Sandiford <richard.sandiford@linaro.org> |
5634 | ||
5635 | * config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Restrict FPA_REGS | |
5636 | case to VFPv1. | |
5637 | ||
6c4e2997 NF |
5638 | 2011-03-25 Nathan Froyd <froydnj@codesourcery.com> |
5639 | ||
5640 | * fold-const.c (expr_location_or): New function. | |
5641 | (fold_truth_not_expr): Call it. | |
5642 | ||
0edf1bb2 JL |
5643 | 2011-03-25 Jeff Law <law@redhat.com> |
5644 | ||
5645 | * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Add missing | |
5646 | va_end. | |
5647 | * c-family/c-common.c (def_fn_type): Likewise. | |
5648 | * ada/gcc-interface/utils.c (def_fn_type): Likewise. | |
5649 | * emit-rtl.c (gen_rtvec): Likewise. | |
5650 | * lto/lto-lang.c (def_fn_type): Likewise. | |
5651 | ||
fdc2de95 RG |
5652 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
5653 | ||
5654 | * tree-ssa-copy.c (stmt_may_generate_copy): Copies from constants | |
5655 | also generate copies. | |
5656 | (fini_copy_prop): Handle constant values properly. | |
5657 | ||
21385db0 JJ |
5658 | 2011-03-25 Jakub Jelinek <jakub@redhat.com> |
5659 | ||
5660 | * dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTRACT>: Compare | |
5661 | mode size instead of bitsize with DWARF2_ADDR_SIZE. | |
5662 | (hash_loc_operands, compare_loc_operands): Handle | |
5663 | DW_OP_GNU_entry_value. | |
5664 | ||
6510e8bb KT |
5665 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
5666 | ||
5667 | * config/i386/cygming.h (DWARF_FRAME_REGISTERS): Adjust comment. | |
5668 | (STACK_BOUNDARY): Check for bit-ness in case of MS_ABI. | |
5669 | * config/i386/i386.c (ix86_conditional_register_usage): Adjust | |
5670 | comment and use macro TARGET_64BIT_MS_ABI instead. | |
5671 | (ix86_keep_aggregate_return_pointer): Optimize for 64-bit case | |
5672 | and change default behavior for 32-bit MS_ABI. | |
5673 | (ix86_reg_parm_stack_space): Check additionally for bit-ness. | |
5674 | (ix86_function_type_abi): Allow check for ms_abi/sysv_abi for | |
5675 | 32-bit, too. | |
5676 | (ix86_cfun_abi): Likewise. | |
5677 | (ix86_maybe_switch_abi): Adjust comment. | |
5678 | (init_cumulative_args): Check for bit-ness in MS_ABI case. | |
5679 | (ix86_gimplify_va_arg): Check just for not TARGET_64BIT_MS_ABI | |
5680 | instead of checking for SYSV_ABI. | |
5681 | (ix86_nsaved_sseregs): Likewise. | |
5682 | (ix86_compute_frame_layout): Set only for 64-bit MS_ABI alignment | |
5683 | to 16 bytes. | |
5684 | (ix86_expand_call): Use TARGET_64BIT_MS_ABI macro. | |
5685 | * config/i386.h (TARGET_32BIT_MS_ABI): New macro. | |
5686 | (ACCUMULATE_OUTGOING_ARGS): Check explicit for 64-bit MS_ABI. | |
5687 | (OUTGOING_REG_PARM_STACK_SPACE): Likewise. | |
5688 | * config/mingw32.h (DEFAULT_ABI): Change default always to MS_ABI. | |
5689 | ||
34019e28 RG |
5690 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
5691 | ||
5692 | * tree-flow.h (verify_stmts): Rename to verify_gimple_in_cfg. | |
5693 | (verify_types_in_gimple_seq): Rename to verify_gimple_in_seq. | |
5694 | (verify_gimple): Remove. | |
5695 | * tree-cfg.c (verify_gimple_call): Merge verification | |
5696 | from verify_stmts. | |
5697 | (verify_gimple_phi): Merge verification from verify_stmts. | |
5698 | (verify_gimple_label): New function. | |
5699 | (verify_types_in_gimple_seq_2): Rename to verify_gimple_in_seq_2. | |
5700 | (verify_types_in_gimple_seq): Rename to verify_gimple_in_seq. | |
5701 | (verify_stmt): Merge into verify_gimple_in_cfg and callees. | |
5702 | (verify_stmts): Rename to verify_gimple_in_cfg. | |
5703 | (verify_gimple_in_cfg): New function. | |
5704 | * passes.c (execute_function_todo): Call verify_gimple_in_cfg. | |
5705 | * tree-ssa.c (verify_ssa): Likewise. | |
5706 | * gimplify.c (gimplify_body): Call verify_gimple_in_seq. | |
5707 | ||
605896f5 RG |
5708 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
5709 | ||
5710 | * passes.c (init_optimization_passes): Add FRE pass after | |
5711 | early SRA. | |
5712 | ||
7baa7c13 BS |
5713 | 2011-03-25 Bernd Schmidt <bernds@codesourcery.com> |
5714 | Andrew Stubbs <ams@codesourcery.com> | |
5715 | ||
5716 | * config/arm/vfp.md (arm_movdi_vfp): Enable only when not tuning | |
5717 | for Cortex-A8. | |
5718 | (arm_movdi_vfp_cortexa8): New pattern. | |
5719 | * config/arm/neon.md (adddi3_neon, subdi3_neon, anddi3_neon, | |
5720 | iordi3_neon, xordi3_neon): Add alternatives to discourage Neon | |
5721 | instructions when tuning for Cortex-A8. Set attribute "arch". | |
5722 | * config/arm/arm.md: Move include arm-tune.md up a bit. | |
5723 | (define_attr "arch"): Add "onlya8" and "nota8" values. | |
5724 | (define_attr "arch_enabled"): Handle "onlya8" and "nota8". | |
5725 | ||
45dbce1b NF |
5726 | 2011-03-25 Nathan Froyd <froydnj@codesourcery.com> |
5727 | ||
4ff08abf | 5728 | PR bootstrap/48282 |
45dbce1b NF |
5729 | Revert: |
5730 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> | |
5731 | ||
5732 | * function.c (instantiate_virtual_regs): Use FOR_EACH_BB and | |
5733 | FOR_BB_INSNS_SAFE to iterate through insns. Re-indent. | |
5734 | (pass_instantiate_virtual_regs): Require PROP_cfglayout. | |
5735 | * passes.c (init_optimization_passes): Move | |
5736 | pass_instantiate_virtual_regs after pass_into_cfg_layout_mode. | |
5737 | ||
ac9a30ae KT |
5738 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
5739 | ||
5740 | * c-typeck.c (comptypes_internal): Replace target | |
5741 | hook call of comp_type_attributes by version in tree.c file. | |
5742 | * gimple.c (gimple_types_compatible_p_1): Likewise. | |
5743 | * tree-ssa.c (useless_type_conversion_p): Likewise. | |
5744 | * tree.c (build_type_attribute_qual_variant): Likewise. | |
5745 | (attribute_value_equal): New static helper function. | |
5746 | (comp_type_attributes): New function. | |
5747 | (merge_attributes): Use attribute_value_equal for comparison. | |
5748 | (attribute_list_contained): Likewise. | |
5749 | * tree.h (comp_type_attributes): New prototype. | |
5750 | ||
afdac116 RG |
5751 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
5752 | ||
5753 | * tree-cfg.c (verify_gimple_assign_unary): Drop special casing | |
5754 | of complex types at -O0. | |
5755 | (verify_gimple_assign_binary): Likewise. | |
5756 | (verify_gimple_assign_ternary): Likewise. | |
5757 | ||
ec6165f8 MW |
5758 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
5759 | ||
5760 | * dwarf2out.c (size_of_die): Modify comment to say DW_FORM_ref_sig8. | |
5761 | (value_format): Use DW_FORM_ref_sig8, not DW_FORM_sig8. | |
5762 | ||
2a5ac39a MW |
5763 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
5764 | ||
5765 | PR debug/48041 | |
5766 | * dwarf2out.c (output_abbrev_section): Only write table when | |
5767 | abbrev_die_table_in_use > 1. | |
5768 | ||
e533b2a4 RH |
5769 | 2011-02-24 Richard Henderson <rth@redhat.com> |
5770 | ||
5771 | * config/alpha/alpha.c (alpha_expand_unaligned_load): Use extql. | |
5772 | (alpha_expand_unaligned_store): Use mskwl, mskll, mskql. | |
5773 | (alpha_expand_unaligned_load_words): Use extql. | |
5774 | (alpha_expand_unaligned_store_words): Use insqh, mskqh, mskql. | |
5775 | (emit_insxl): Handle all modes for consistency. | |
5776 | ||
0b2a7367 RH |
5777 | 2011-02-24 Richard Henderson <rth@redhat.com> |
5778 | ||
5779 | * config/alpha/alpha.c (get_aligned_mem): Don't test WORDS_BIG_ENDIAN. | |
5780 | (alpha_expand_unaligned_load): Likewise. | |
5781 | (alpha_expand_unaligned_store): Likewise. | |
5782 | (alpha_expand_unaligned_load_words): Likewise. | |
5783 | (alpha_expand_unaligned_store_words): Likewise. | |
5784 | (emit_insxl, alpha_split_compare_and_swap_12): Likewise. | |
5785 | (alpha_split_lock_test_and_set_12): Likewise. | |
5786 | (print_operand, alpha_fold_builtin_extxx): Likewise. | |
5787 | (alpha_fold_builtin_insxx, alpha_fold_builtin_mskxx): Likewise. | |
5788 | * config/alpha/alpha.md (bswapsi2, insv, extv, extzv): Likewise. | |
5789 | (builtin_extwh, builtin_extlh, builtin_extql): Likewise. | |
5790 | (unaligned_extendqidi_be, unaligned_extendhidi_be, extxl_be): Remove. | |
5791 | (*extxl_1_be, *extql_2_be, extqh_be, extlh_be, extwh_be): Remove. | |
5792 | (insbl_be, inswl_be, insll_be, insql_be, mskxl_be): Remove. | |
5793 | (unaligned_loadqi_be, unaligned_loadhi_be): Remove. | |
5794 | (unaligned_storeqi_be, unaligned_storehi_be): Remove. | |
5795 | (extbl): Rename from builtin_extbl; don't test WORDS_BIG_ENDIAN. | |
5796 | (extwl, extll, extql): Similarly. | |
5797 | (inswh, inslh, insqh): Similarly. | |
5798 | (mskbl, mskwl, mskll, mskql): Similarly. | |
5799 | (mskwh, msklh, mskqh): Similarly. | |
5800 | ||
315b2bef RH |
5801 | 2011-02-24 Richard Henderson <rth@redhat.com> |
5802 | ||
5803 | * config/alpha/alpha.md (attribute isa): Add er, ner. | |
5804 | (attribute enabled): Handle them. | |
5805 | (*movdi): Merge *movdi_{er_nofix,nofix,er_fix,fix}. | |
5806 | ||
67102517 RH |
5807 | 2011-02-24 Richard Henderson <rth@redhat.com> |
5808 | ||
5809 | * config/alpha/alpha.md (attribute isa): Add vms. | |
5810 | (attribute enabled): Handle it. | |
5811 | (*movsf): Merge *movsf_{nofix,fix,nofp}. | |
5812 | (*movdf): Merge *movdf_{nofix,fix,nofp}. | |
5813 | (*movtf): Rename from *movtf_internal for consistency. | |
5814 | (*movsi): Merge with *movsi_nt_vms. | |
5815 | (*movhi): Merge *movhi_nobwx, *movhi_bwx. | |
5816 | (*movqi): Merge *movqi_nobwx, *movqi_bwx. | |
5817 | (*mov<VEC>): Merge *mov<VEC>_fix, *mov<VEC>_nofix. | |
5818 | * config/alpha/constraint.md ("f"): Use NO_REGS when fpu is disabled. | |
5819 | ||
6aba5cb4 RH |
5820 | 2011-02-24 Richard Henderson <rth@redhat.com> |
5821 | ||
5822 | * config/alpha/alpha.md (extendqihi2): Implement for BWX only. | |
5823 | (extendqisi2, extendhisi2): Likewise. | |
5824 | (extendqidi2): Simplify BWX/non-BWX expansions. | |
5825 | (extendhidi2): Similarly. | |
5826 | ||
bdfb351b RH |
5827 | 2011-02-24 Richard Henderson <rth@redhat.com> |
5828 | ||
5829 | * config/alpha/alpha.md (attribute isa): New. | |
5830 | (attribute enabled): New. | |
5831 | (zero_extendqihi2): Merge from *zero_extendqihi2_{bwx,nobwx}. | |
5832 | (zero_extendqisi2, zero_extendqidi2): Similarly. | |
5833 | (zero_extendhisi2, zero_extendhidi2): Similarly. | |
5834 | * config/alpha/predicates.md (reg_or_bwx_memory_operand): New. | |
5835 | ||
6abe71eb RH |
5836 | 2011-02-24 Richard Henderson <rth@redhat.com> |
5837 | ||
5838 | * config/alpha/predicates.md (input_operand): Revert last change; | |
5839 | update comment to mention 32-bit VMS rather than Windows. | |
5840 | ||
7114321e NF |
5841 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
5842 | ||
5843 | * function.c (instantiate_virtual_regs): Use FOR_EACH_BB and | |
5844 | FOR_BB_INSNS_SAFE to iterate through insns. Re-indent. | |
5845 | (pass_instantiate_virtual_regs): Require PROP_cfglayout. | |
5846 | * passes.c (init_optimization_passes): Move | |
5847 | pass_instantiate_virtual_regs after pass_into_cfg_layout_mode. | |
5848 | ||
c8679567 EB |
5849 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
5850 | ||
5851 | * dojump.c (do_jump_by_parts_greater_rtx): Optimize in specific cases. | |
5852 | ||
27173058 UB |
5853 | 2011-03-24 Uros Bizjak <ubizjak@gmail.com> |
5854 | ||
5855 | * config/i386/i386.md (ix86_print_operand): Output DFmode const_double | |
5856 | correctly. | |
5857 | ||
6f0c9f06 JJ |
5858 | 2011-03-24 Jakub Jelinek <jakub@redhat.com> |
5859 | ||
5860 | PR debug/48204 | |
5861 | * simplify-rtx.c (simplify_const_unary_operation): Call | |
5862 | real_convert when changing mode class with FLOAT_EXTEND. | |
5863 | ||
662666e5 NC |
5864 | 2011-03-24 Nick Clifton <nickc@redhat.com> |
5865 | ||
5866 | * config/rx/rx.h (LABEL_ALIGN_FOR_BARRIER): Define. | |
5867 | (ASM_OUTPUT_MAX_SKIP_ALIGN): Define. | |
5868 | * config/rx/rx.c (rx_option_override): Set align_jumps, | |
5869 | align_loops and align_labels if not set by the user. | |
5870 | (rx_align_for_label): New function. | |
5871 | (rx_max_skip_for_label): New function. | |
5872 | (TARGET_ASM_JUMP_ALIGN_MAX_SKIP): Define. | |
5873 | (TARGET_ASM_LOOP_ALIGN_MAX_SKIP): Define. | |
5874 | (TARGET_ASM_LABEL_ALIGN_MAX_SKIP): Define. | |
5875 | (TARGET_ASM_LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Define. | |
5876 | * config/rx/rx-protos.h (rx_align_for_label): Add prototype. | |
5877 | ||
2b99b2b8 RS |
5878 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
5879 | ||
5880 | PR rtl-optimization/48263 | |
5881 | * optabs.c (expand_binop_directly): Reinstate convert_modes code | |
5882 | and original commutative_p handling. Use maybe_gen_insn. | |
5883 | ||
ccecd6ea AK |
5884 | 2011-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
5885 | ||
5886 | * reload.c (find_reloads_subreg_address): Add address_reloaded | |
5887 | parameter and return true there if the full address has been | |
5888 | reloaded. | |
5889 | (find_reloads_toplev): Pass address_reloaded flag. | |
5890 | (find_reloads_address_1): Don't use address_reloaded parameter. | |
5891 | ||
67295642 JL |
5892 | 2011-03-24 Jeff Law <law@redhat.com> |
5893 | ||
5894 | * tree-ssa-live.c (remove_unused_scope_block_p): Remove set but | |
5895 | unused variable "ann". | |
5896 | (remove_unused_locals): Likewise. | |
5897 | ||
5898 | * tree-ssa-copy.c (propagate_tree_value_into_stmt): Remove useless | |
5899 | statement. | |
5900 | ||
5901 | * cfglayout.c (fixup_reorder_chain): Do not dereference E_FALL | |
5902 | after it is freed. | |
5903 | ||
212aa74f AK |
5904 | 2011-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
5905 | ||
5906 | * config/s390/s390.c (s390_preferred_reload_class): Return NO_REGS | |
5907 | for invalid symbolic addresses. | |
5908 | (s390_secondary_reload): Don't use s390_check_symref_alignment for | |
5909 | larl operands. | |
5910 | ||
fe784e0d EB |
5911 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
5912 | ||
5913 | * fold-const.c (fold_ternary_loc): Preserve the location (if any) of | |
5914 | the argument in calls to fold_truth_not_expr. | |
5915 | ||
63ee8641 NF |
5916 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
5917 | ||
5918 | * tree.c (record_node_allocation_statistics): New function. | |
5919 | (make_node_stat, copy_node_stat, build_string): Call it. | |
5920 | (make_tree_binfo_stat, make_tree_vec_stat, tree_cons_stat): Likewise. | |
5921 | (build1_stat, build_omp_clause): Likewise. | |
5922 | ||
61be2a1c RS |
5923 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
5924 | ||
5925 | * builtins.c (expand_movstr): Fix endp == 1 adjustment after | |
5926 | last commit. | |
5927 | ||
a881aaa7 RG |
5928 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
5929 | ||
5930 | PR tree-optimization/48271 | |
5931 | * tree-ssa-dom.c (tree_ssa_dominator_optimize): Only cleanup | |
5932 | blocks that still exist. | |
5933 | ||
dbaa912c RG |
5934 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
5935 | ||
5936 | PR tree-optimization/48270 | |
5937 | * tree-ssa-phiopt.c (cond_if_else_store_replacement): Do | |
5938 | not free datarefs before ddrs. | |
5939 | ||
1d60cc55 EB |
5940 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
5941 | ||
5942 | * tree-sra.c (build_ref_for_offset): Strip useless type conversions | |
5943 | from the address built for a reference with variable offset. | |
5944 | ||
c78dd519 UB |
5945 | 2011-03-24 Uros Bizjak <ubizjak@gmail.com> |
5946 | ||
5947 | PR target/48237 | |
5948 | * config/i386/i386.md (*movdf_internal_rex64): Do not split | |
5949 | alternatives that can be handled with movq or movabsq insn. | |
5950 | (*movdf_internal): Disable for !TARGET_64BIT. | |
5951 | (*movdf_internal_nointeger): Ditto. | |
5952 | * config/i386/i386.c (ix86_print_operand): Handle DFmode immediates. | |
5953 | ||
b25b9e8f NF |
5954 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
5955 | ||
5956 | * system.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Poison. | |
5957 | (FUNCTION_ARG_ADVANCE): Likewise. | |
5958 | * tm.texi.in: Change references to them to hook references. | |
5959 | * tm.texi: Regenerate. | |
c78dd519 | 5960 | * targhooks.c (default_function_arg): Eliminate check for target macro. |
b25b9e8f NF |
5961 | (default_function_incoming_arg): Likewise. |
5962 | (default_function_arg_advance): Likewise. | |
c78dd519 | 5963 | * target.def (function_arg, function_incoming_arg): Change to DEFHOOK. |
b25b9e8f NF |
5964 | (function_arg_advance): Likewise. |
5965 | * target-def.h: Eliminate FUNCTION_INCOMING_ARG check. | |
5966 | ||
190b2187 RG |
5967 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
5968 | ||
5969 | PR middle-end/48269 | |
5970 | * tree-object-size.c (addr_object_size): Do not double-account | |
5971 | for MEM_REF offsets. | |
5972 | ||
a183b5c7 DN |
5973 | 2011-03-24 Diego Novillo <dnovillo@google.com> |
5974 | ||
5975 | * lto-opts.c (input_data_block): Move to lto-streamer-in.c. | |
c78dd519 | 5976 | * lto-streamer-in.c (input_string_internal): Add clarifying comments. |
a183b5c7 DN |
5977 | (lto_input_data_block): Move from lto-opts.c. Make extern. |
5978 | Update all users. | |
5979 | (lto_input_string): Rename from input_string. Make extern. | |
5980 | Update all users. | |
5981 | * lto-streamer-out.c (lto_output_string_with_length): Rename from | |
5982 | output_string_with_length. | |
5983 | Output 0 to indicate a non-NULL string. Update all callers to | |
5984 | not emit 0. | |
5985 | (lto_output_string): Rename from output_string. Make extern. | |
5986 | Update all users. | |
5987 | (lto_output_decl_state_streams): Make extern. | |
5988 | (lto_output_decl_state_refs): Make extern. | |
5989 | * lto-streamer.h (lto_input_string): Declare. | |
5990 | (lto_input_data_block): Declare. | |
5991 | (lto_output_string): Declare. | |
5992 | (lto_output_string_with_length): Declare. | |
5993 | (lto_output_decl_state_streams): Declare. | |
5994 | (lto_output_decl_state_refs): Declare. | |
5995 | ||
cfef45c8 RG |
5996 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
5997 | ||
5998 | PR tree-optimization/46562 | |
5999 | * tree.c (build_invariant_address): New function. | |
6000 | * tree.h (build_invariant_address): Declare. | |
6001 | * tree-dfa.c (get_addr_base_and_unit_offset): Wrap around | |
6002 | a renamed function moved ... | |
6003 | * tree-flow-inline.h (get_addr_base_and_unit_offset_1): ... here. | |
6004 | Take valueization callback parameter. | |
6005 | * tree-flow.h (gimple_fold_stmt_to_constant): Declare. | |
6006 | * gimple-fold.h: New file. | |
6007 | * tree-ssa-ccp.c (ccp_fold): Use gimple_fold_stmt_to_constant_1. | |
6008 | (ccp_fold, fold_const_aggregate_ref, | |
6009 | fold_ctor_reference, fold_nonarray_ctor_reference, | |
6010 | fold_array_ctor_reference, fold_string_cst_ctor_reference, | |
6011 | get_base_constructor): Move ... | |
6012 | * gimple-fold.c: ... here. | |
6013 | (gimple_fold_stmt_to_constant_1): New function | |
6014 | split out from ccp_fold. Take a valueization callback parameter. | |
6015 | Valueize all operands. | |
6016 | (gimple_fold_stmt_to_constant): New wrapper function. | |
6017 | (fold_const_aggregate_ref_1): New function split out from | |
6018 | fold_const_aggregate_ref. Take a valueization callback parameter. | |
6019 | (fold_const_aggregate_ref): Wrap fold_const_aggregate_ref_1. | |
6020 | * tree-ssa-sccvn.c (simplify_binary_expression): Simplify | |
6021 | invariant POINTER_PLUS_EXPRs to invariant form. | |
6022 | (vn_valueize): New function. | |
6023 | (try_to_simplify): Simplify by using gimple_fold_stmt_to_constant. | |
6024 | * tree-vrp.c (vrp_valueize): New function. | |
6025 | (vrp_visit_assignment_or_call): Use gimple_fold_stmt_to_constant | |
6026 | to fold statements to constants. | |
6027 | * tree-ssa-pre.c (eliminate): Properly guard propagation of | |
6028 | function declarations. | |
6029 | * Makefile.in (tree-ssa-sccvn.o, tree-vrp.o, gimple-fold.o, | |
6030 | tree-ssa-ccp.o): Add gimple-fold.h dependencies. | |
6031 | ||
5e0a7e40 RS |
6032 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
6033 | ||
6034 | * config/h8300/predicates.md (jump_address_operand): Fix register | |
6035 | mode check. | |
6036 | ||
bfe068c3 IR |
6037 | 2011-03-24 Ira Rosen <ira.rosen@linaro.org> |
6038 | ||
6039 | * doc/invoke.texi (max-stores-to-sink): Document. | |
6040 | * params.h (MAX_STORES_TO_SINK): Define. | |
6041 | * opts.c (finish_options): Set MAX_STORES_TO_SINK to 0 | |
6042 | if either vectorization or if-conversion is disabled. | |
6043 | * tree-data-ref.c (dr_equal_offsets_p1): Moved and renamed from | |
6044 | tree-vect-data-refs.c vect_equal_offsets. | |
6045 | (dr_equal_offsets_p): New function. | |
6046 | (find_data_references_in_bb): Remove static. | |
6047 | * tree-data-ref.h (find_data_references_in_bb): Declare. | |
6048 | (dr_equal_offsets_p): Likewise. | |
6049 | * tree-vect-data-refs.c (vect_equal_offsets): Move to tree-data-ref.c. | |
6050 | (vect_drs_dependent_in_basic_block): Update calls to | |
6051 | vect_equal_offsets. | |
6052 | (vect_check_interleaving): Likewise. | |
6053 | * tree-ssa-phiopt.c: Include cfgloop.h and tree-data-ref.h. | |
6054 | (cond_if_else_store_replacement): Rename to... | |
6055 | (cond_if_else_store_replacement_1): ... this. Change arguments and | |
6056 | documentation. | |
6057 | (cond_if_else_store_replacement): New function. | |
6058 | * Makefile.in (tree-ssa-phiopt.o): Adjust dependencies. | |
6059 | * params.def (PARAM_MAX_STORES_TO_SINK): Define. | |
6060 | ||
4908b0bf CLT |
6061 | 2011-03-23 Chung-Lin Tang <cltang@codesourcery.com> |
6062 | ||
6063 | PR target/46934 | |
6064 | * config/arm/arm.md (casesi): Use the gen_int_mode() function | |
6065 | to subtract lower bound instead of GEN_INT(). | |
6066 | ||
2be478a2 JW |
6067 | 2011-03-23 Jonathan Wakely <jwakely.gcc@gmail.com> |
6068 | ||
6069 | PR other/48179 | |
6070 | PR other/48221 | |
6071 | PR other/48234 | |
6072 | * doc/extend.texi (Alignment): Move section to match order in TOC. | |
6073 | * doc/invoke.texi (i386 and x86-64 Windows Options): Likewise. | |
6074 | (Warning Options): Adjust -Wno-cpp summary and remove stray backslash. | |
6075 | ||
0c617be4 JL |
6076 | 2011-03-23 Jeff Law <law@redhat.com> |
6077 | ||
6078 | * cfg.c (redirect_edge_succ_nodup): Duplicate the varm map | |
6079 | before removing the edge. | |
6080 | ||
6081 | * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Do not use E after | |
6082 | it may have been freed by redirect_branch_edge or | |
6083 | redirect_edge_succ_nodup. | |
6084 | ||
58da96fe RG |
6085 | 2011-03-23 Richard Guenther <rguenther@suse.de> |
6086 | ||
c78dd519 | 6087 | * tree-stdarg.c (va_list_counter_bump): Handle bumps via MEM_REF. |
58da96fe RG |
6088 | (check_va_list_escapes): Likewise. |
6089 | (check_all_va_list_escapes): Likewise. | |
6090 | ||
b8beb4d1 RG |
6091 | 2011-03-23 Richard Guenther <rguenther@suse.de> |
6092 | ||
6093 | * Makefile.in (IPA_TYPE_ESCAPE_H): Remove. | |
6094 | (OBJS-archive): Remove ipa-struct-reorg.o and ipa-type-escape.o. | |
6095 | (tree-ssa-alias.o): Do not depend on IPA_TYPE_ESCAPE_H. | |
6096 | (alias.o): Likewise. | |
6097 | (ipa-type-escape.o): Remove. | |
6098 | (ipa-struct-reorg.o): Likewise. | |
6099 | (GTFILES): Remove ipa-struct-reorg.c. | |
6100 | * alias.c: Do not include ipa-type-escape.h. | |
6101 | * tree-ssa-alias.c: Likewise. | |
6102 | * common.opt (fipa-struct-reorg): Preserve for backward compatibility. | |
6103 | * opts.c (finish_options): Do not reset flag_ipa_struct_reorg. | |
6104 | * passes.c (init_optimization_passes): Remove ipa-struct-reorg | |
6105 | and ipa-type-escape passes. | |
6106 | * tree-pass.h (pass_ipa_type_escape): Remove. | |
6107 | (pass_ipa_struct_reorg): Likewise. | |
6108 | * ipa-struct-reorg.h: Remove. | |
6109 | * ipa-struct-reorg.c: Likewise. | |
6110 | * ipa-type-escape.h: Likewise. | |
6111 | * ipa-type-escape.c: Likewise. | |
6112 | * doc/invoke.texi (-fipa-struct-reorg): Remove. | |
6113 | (--param struct-reorg-cold-struct-ratio): Likewise. | |
6114 | * params.def (PARAM_STRUCT_REORG_COLD_STRUCT_RATIO): Likewise. | |
6115 | * params.h (STRUCT_REORG_COLD_STRUCT_RATIO): Likewise. | |
6116 | * timevar.def (TV_IPA_TYPE_ESCAPE): Likewise. | |
6117 | ||
f137aa63 AK |
6118 | 2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
6119 | ||
6120 | * config/s390/2084.md: Enable all insn reservations also for z9_ec | |
6121 | cpu attribute value. | |
6122 | * config/s390/s390-opts.h (enum s390_arch_option): Remove. | |
6123 | (enum processor_type): Add PROCESSOR_2094_Z9_EC. | |
6124 | * config/s390/s390.c (processor_flags_table): New constant array. | |
6125 | (s390_handle_arch_option): Remove. | |
6126 | (s390_handle_option): Remove s390_handle_arch_option invocations | |
6127 | and OPT_mwarn_framesize_ handling. | |
6128 | (s390_option_override): Remove s390_handle_arch_option invocation. | |
6129 | (s390_emit_prologue): Remove use of HOST_WIDE_INT_PRINT_DEC in | |
6130 | warnings. | |
6131 | * config/s390/s390.md (cpu attribute): Add z9_ec value. | |
6132 | * config/s390/s390.opt (s390_tune, s390_arch) | |
6133 | (march=): Replace s390_arch_option enum and values with | |
6134 | processor_type. Set variable name to s390_arch. Set | |
6135 | initialization value. | |
6136 | (mtune=): Replace s390_arch_option with processor_type. Set | |
6137 | variable name to s390_tune. Set initialization value. | |
6138 | ||
bf90208f JB |
6139 | 2011-03-23 Julian Brown <julian@codesourcery.com> |
6140 | ||
6141 | * expr.c (expand_expr_real_1): Only use BLKmode for volatile | |
6142 | accesses which are not naturally aligned. | |
6143 | ||
3460fdf3 RS |
6144 | 2011-03-23 Richard Sandiford <richard.sandiford@linaro.org> |
6145 | ||
6146 | PR target/47553 | |
6147 | * config/arm/predicates.md (neon_lane_number): Accept 0..15. | |
6148 | ||
a5c7d693 RS |
6149 | 2011-03-23 Richard Sandiford <richard.sandiford@linaro.org> |
6150 | ||
6151 | * optabs.h (emit_unop_insn, maybe_emit_unop_insn): Change insn code | |
6152 | parameter from "int" to "enum insn_code". | |
6153 | (expand_operand_type): New enum. | |
6154 | (expand_operand): New structure. | |
6155 | (create_expand_operand): New function. | |
6156 | (create_fixed_operand, create_output_operand): Likewise | |
6157 | (create_input_operand, create_convert_operand_to): Likewise. | |
6158 | (create_convert_operand_from, create_address_operand): Likewise. | |
6159 | (create_integer_operand): Likewise. | |
6160 | (create_convert_operand_from_type, maybe_legitimize_operands): Declare. | |
6161 | (maybe_gen_insn, maybe_expand_insn, maybe_expand_jump_insn): Likewise. | |
6162 | (expand_insn, expand_jump_insn): Likewise. | |
6163 | * builtins.c (expand_builtin_prefetch): Use the new interfaces. | |
6164 | (expand_builtin_interclass_mathfn, expand_builtin_strlen): Likewise. | |
6165 | (expand_movstr, expand_builtin___clear_cache): Likewise. | |
6166 | (expand_builtin_lock_release): Likewise. | |
6167 | * explow.c (allocate_dynamic_stack_space): Likewise. | |
6168 | (probe_stack_range): Likewise. Allow check_stack to FAIL, | |
6169 | and use the default handling in that case. | |
6170 | * expmed.c (check_predicate_volatile_ok): Delete. | |
6171 | (store_bit_field_1, extract_bit_field_1): Use the new interfaces. | |
6172 | (emit_cstore): Likewise. | |
6173 | * expr.c (emit_block_move_via_movmem): Likewise. | |
6174 | (set_storage_via_setmem, expand_assignment): Likewise. | |
6175 | (emit_storent_insn, try_casesi): Likewise. | |
6176 | (emit_single_push_insn): Likewise. Allow the expansion to fail. | |
6177 | * optabs.c (expand_widen_pattern_expr, expand_ternary_op): Likewise. | |
6178 | (expand_vec_shift_expr, expand_binop_directly): Likewise. | |
6179 | (expand_twoval_unop, expand_twoval_binop): Likewise. | |
6180 | (expand_unop_direct, emit_indirect_jump): Likewise. | |
6181 | (emit_conditional_move, vector_compare_rtx): Likewise. | |
6182 | (expand_vec_cond_expr, expand_val_compare_and_swap_1): Likewise. | |
6183 | (expand_sync_operation, expand_sync_fetch_operation): Likewise. | |
6184 | (expand_sync_lock_test_and_set): Likewise. | |
6185 | (maybe_emit_unop_insn): Likewise. Change icode to an insn_code. | |
6186 | (emit_unop_insn): Likewise. | |
6187 | (expand_copysign_absneg): Change icode to an insn_code. | |
6188 | (create_convert_operand_from_type): New function. | |
6189 | (maybe_legitimize_operand, maybe_legitimize_operands): Likewise. | |
6190 | (maybe_gen_insn, maybe_expand_insn, maybe_expand_jump_insn): Likewise. | |
6191 | (expand_insn, expand_jump_insn): Likewise. | |
6192 | * config/i386/i386.md (setmem<mode>): Use nonmemory_operand rather | |
6193 | than const_int_operand for operand 2. | |
6194 | ||
78fadbab AK |
6195 | 2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
6196 | ||
6197 | * dwarf2out.c (const_ok_for_output_1): Print the unspec enum name | |
6198 | if possible. | |
6199 | ||
5f02387d NF |
6200 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
6201 | ||
6202 | * emit-rtl.c (emit_pattern_before_noloc): New function. | |
6203 | (emit_insn_before_noloc, emit_jump_insn_before_noloc): Call it. | |
6204 | (emit_call_insn_before_noloc, emit_debug_insn_before_noloc): Likewise. | |
6205 | (emit_pattern_after_noloc): New function. | |
6206 | (emit_insn_after_noloc, emit_jump_insn_after_noloc): Call it. | |
6207 | (emit_call_insn_after_noloc, emit_debug_insn_after_noloc): Likewise. | |
6208 | ||
fdf3e18a NF |
6209 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
6210 | ||
6211 | * libgcc2.c (__lshrdi3, __ashldi3, __ashrdi3): Use W_TYPE_SIZE. | |
6212 | (__ffsDI2): Likewise. | |
6213 | ||
42d085c1 RH |
6214 | 2011-03-22 Richard Henderson <rth@redhat.com> |
6215 | ||
6216 | * config/alpha/alpha.c (direct_return): Use TARGET_ABI_OSF instead | |
6217 | of !TARGET_ABI_OPEN_VMS. | |
6218 | (alpha_trampoline_init, alpha_start_function): Likewise. | |
6219 | (alpha_expand_epilogue, alpha_file_start): Likewise. | |
6220 | * config/alpha/alpha.md (divsi3, modsi3): Likewise. | |
6221 | (udivsi3, umodsi3, divdi3, moddi3, udivdi3, umoddi3): Likewise. | |
6222 | (*divmodsi_internal_er, *divmodsi_internal_er_1): Likewise. | |
6223 | (*divmodsi_internal, *divmoddi_internal_er): Likewise. | |
6224 | (*divmoddi_internal_er_1, *divmoddi_internal): Likewise. | |
6225 | ||
cabbe12a JM |
6226 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6227 | ||
6228 | * config/s390/s390-opts.h: New. | |
6229 | * config/s390/s390.c (s390_tune, s390_tune_flags, s390_arch, | |
6230 | s390_arch_flags, s390_warn_framesize, s390_stack_size, | |
6231 | s390_stack_guard): Remove. | |
6232 | (s390_handle_arch_option): Return void. Take enum | |
6233 | s390_arch_option value instead of string and searching array. | |
6234 | (s390_handle_option): Don't assert that global structures are in | |
6235 | use. Access variables via opts pointer. Use error_at. Don't use | |
6236 | sscanf for -mstack-guard= or -mstack-size=. Update call to | |
6237 | s390_handle_arch_option. | |
6238 | (s390_option_override): Update call to s390_handle_arch_option. | |
6239 | (s390_emit_prologue): Use %d format for s390_stack_size in | |
6240 | diagnostic. Use %wd for HOST_WIDE_INT. | |
6241 | * config/s390/s390.h (enum processor_type): Move to s390-opts.h. | |
6242 | (s390_tune, s390_tune_flags, s390_arch, s390_arch_flags): Remove. | |
6243 | * config/s390/s390.opt (config/s390/s390-opts.h): New | |
6244 | HeaderInclude entry. | |
6245 | (s390_arch_string, s390_tune, s390_tune_flags, s390_arch, | |
6246 | s390_arch_flags, s390_warn_framesize): New Variable entries. | |
6247 | (s390_arch_option): New Enum and EnumValue entries. | |
6248 | (march=): Use Enum instead of Var. | |
6249 | (mstack-guard=, mstack-size=): Use UInteger and Var. | |
6250 | (mtune=): Use Enum. | |
6251 | ||
05b12036 JM |
6252 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6253 | ||
6254 | * config/score/score.c (score_handle_option): Don't assert that | |
6255 | global structures are in use. Access target_flags via opts | |
6256 | pointer. Use value of -march= option to determine target_flags | |
6257 | settings. | |
6258 | * config/score/score.opt (march=): Use Enum. | |
6259 | (score_arch): New Enum and EnumValue entries. | |
6260 | ||
dd51e35a JM |
6261 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6262 | ||
6263 | * config/mep/mep.c (option_mtiny_specified): Remove. | |
6264 | (mep_option_override): Move register handling for -mivc2 from | |
6265 | mep_handle_option. Use global_options_set.x_mep_tiny_cutoff | |
6266 | instead of option_mtiny_specified. | |
6267 | (mep_handle_option): Access target_flags via opts pointer. Don't | |
6268 | assert that global structures are in use. Defer part of -mivc2 | |
6269 | handling and move it to mep_option_override. | |
6270 | * config/mep/mep.opt (IVC2): New Mask entry. | |
6271 | (mivc2): Use Var and Defer instead of Mask. | |
6272 | ||
4a8d3d91 JM |
6273 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6274 | ||
6275 | * config/v850/v850-opts.h: New. | |
6276 | * config/v850/v850.c (small_memory): Replace with | |
6277 | small_memory_physical_max array. Make that array static const. | |
6278 | (v850_handle_memory_option): Take integer value of argument. Take | |
6279 | gcc_options pointer, option text and location. Return void. | |
6280 | Update for changes to small memory structures. | |
6281 | (v850_handle_option): Access target_flags via opts pointer. Don't | |
6282 | assert that global structures are in use. Update calls to | |
6283 | v850_handle_memory_option. | |
c78dd519 UB |
6284 | (v850_encode_data_area): Update references to small memory settings. |
6285 | * config/v850/v850.h (struct small_memory_info, small_memory): Remove. | |
4a8d3d91 JM |
6286 | (enum small_memory_type): Move to v850-opts.h. |
6287 | * config/v850/v850.opt (config/v850/v850-opts.h): New | |
6288 | HeaderInclude entry. | |
6289 | (small_memory_max): New Variable entry. | |
6290 | (msda): Replace by pair of options msda= and msda-. Use UInteger. | |
6291 | (mtda, mzda): Likewise. | |
6292 | ||
117fdbfa JM |
6293 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6294 | ||
6295 | * config/sh/sh.c (sh_handle_option): Access target_flags via opts | |
6296 | pointer. Don't assert that global structures are in use. | |
6297 | ||
d715091c JM |
6298 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6299 | ||
6300 | * config/pdp11/pdp11.c (pdp11_handle_option): Access target_flags | |
6301 | via opts pointer. Don't assert that global structures are in use. | |
6302 | ||
1bb721dc JM |
6303 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6304 | ||
6305 | * config/pa/pa-hpux.opt (flag_pa_unix): New Variable entry. | |
6306 | (munix=93): Use Var. | |
6307 | * config/pa/pa-hpux1010.opt (munix=95): Use Var. | |
6308 | * config/pa/pa-hpux1111.opt (munix=98): Use Var. | |
6309 | * config/pa/pa-opts.h: New. | |
6310 | * config/pa/pa.c (pa_cpu, flag_pa_unix): Remove. | |
6311 | (pa_handle_option): Don't assert that global structures are in | |
6312 | use. Access target_flags via opts pointer. Don't handle | |
6313 | OPT_mschedule_, OPT_mfixed_range_, OPT_munix_93, OPT_munix_95 or | |
6314 | OPT_munix_98 here. | |
6315 | (pa_option_override): Handle deferred OPT_mfixed_range_. | |
6316 | ||
cd8d8754 JM |
6317 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6318 | ||
6319 | * config/mn10300/mn10300-opts.h: New. | |
6320 | * config/mn10300/mn10300.c (mn10300_processor, | |
6321 | mn10300_tune_string): Remove. | |
6322 | (mn10300_handle_option): Don't assert that global structures are | |
6323 | in use. Access mn10300_processor via opts pointer. Don't handle | |
6324 | OPT_mtune_ here. | |
6325 | * config/mn10300/mn10300.h (enum processor_type): Move to | |
6326 | mn10300-opts.h. | |
6327 | (mn10300_processor): Remove. | |
6328 | * config/mn10300/mn10300.opt (config/mn10300/mn10300-opts.h): New | |
6329 | HeaderInclude entry. | |
6330 | (mn10300_processor): New Variable entry. | |
6331 | (mtune=): Use Var. | |
6332 | ||
24e6e6b1 JM |
6333 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6334 | ||
6335 | * config/microblaze/microblaze.c: Don't include opts.h. | |
6336 | (microblaze_handle_option, TARGET_HANDLE_OPTION): Remove. | |
6337 | * config/microblaze/microblaze.opt (mxl-stack-check): Use Warn. | |
6338 | (mno-clearbss): Use Var and Warn. | |
6339 | ||
8a784afb JM |
6340 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6341 | ||
6342 | * config/m32r/m32r-opts.h: New. | |
6343 | * config/m32r/m32r.c (m32r_model, m32r_sdata): Remove. | |
6344 | (m32r_handle_option): Don't assert that global structures are in | |
6345 | use. Access target_flags and m32r_cache_flush_func via opts | |
6346 | pointer. Don't handle OPT_mmodel_, OPT_msdata_ or | |
6347 | OPT_mno_flush_trap here. | |
6348 | * config/m32r/m32r.h (Code Models, Small Data Area): Replace by | |
6349 | include of m32r-opts.h. | |
6350 | * config/m32r/m32r.opt (config/m32r/m32r-opts.h): New | |
6351 | HeaderInclude entry. | |
6352 | (m32r_model_selected, m32r_sdata_selected): New Variable entries. | |
6353 | (mmodel=): Use Enum and Var. | |
6354 | (m32r_model): New Enum and EnumValue entries. | |
6355 | (mno-flush-trap): Use Var. | |
6356 | (msdata=): Use Enum and Var. | |
6357 | (m32r_sdata): New Enum and EnumValue entries. | |
6358 | ||
bbfc9a8c JM |
6359 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6360 | ||
6361 | * config/m32c/m32c.c: Don't include opts.h. | |
6362 | (target_memregs, target_memregs_set, TARGET_HANDLE_OPTION, | |
6363 | m32c_handle_option): Remove. | |
6364 | (m32c_option_override): Check global_options_set.x_target_memregs | |
6365 | instead of target_memregs_set. | |
6366 | * config/m32c/m32c.h (target_memregs): Remove. | |
6367 | * config/m32c/m32c.opt (memregs=): Use UInteger with integer | |
6368 | variable. | |
6369 | ||
e24b8335 JM |
6370 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6371 | ||
6372 | * config/iq2000/iq2000-opts.h: New. | |
6373 | * config/iq2000/iq2000.c: Don't include opts.h. | |
6374 | (iq2000_tune, iq2000_handle_option, TARGET_HANDLE_OPTION): Remove. | |
c78dd519 | 6375 | * config/iq2000/iq2000.h (enum processor_type, iq2000_tune): Remove. |
e24b8335 JM |
6376 | * config/iq2000/iq2000.opt (config/iq2000/iq2000-opts.h): New |
6377 | HeaderInclude entry. | |
6378 | (iq2000_tune): New Variable entry. | |
6379 | (march=): Add comment. Use Enum. | |
6380 | (iq2000_arch): New Enum and EnumValue entries. | |
6381 | (mcpu=): Use Enum and Var. | |
6382 | (iq2000_tune): New Enum and EnumValue entries. | |
6383 | ||
e6cc0c98 JM |
6384 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6385 | ||
6386 | * config/ia64/ia64-opts.h: New. | |
6387 | * config/ia64/ia64.c (ia64_tune): Remove. | |
6388 | (ia64_handle_option): Don't handle OPT_mfixed_range_ or OPT_mtune_ | |
6389 | here. Use error_at. | |
6390 | (ia64_option_override): Handle deferred OPT_mfixed_range_. | |
6391 | * config/ia64/ia64.h (enum processor_type, ia64_tune): Remove. | |
6392 | * config/ia64/ia64.opt (config/ia64/ia64-opts.h): New | |
6393 | HeaderInclude entry. | |
6394 | (ia64_tune): New Variable entry. | |
6395 | (mfixed-range=): Use Defer and Var. | |
6396 | (mtune=): Use Enum and Var. | |
6397 | (ia64_tune): New Enum and EnumValue entries. | |
6398 | ||
db25893c JM |
6399 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6400 | ||
6401 | * config/frv/frv-opts.h: New. | |
6402 | * config/frv/frv-protos.h (enum frv_cpu, frv_cpu_t): Move to | |
6403 | frv-opts.h. | |
6404 | (frv_cpu_type): Remove. | |
6405 | * config/frv/frv.c: Don't include opts.h. | |
6406 | (frv_cpu_type, frv_handle_option, TARGET_HANDLE_OPTION): Remove. | |
c78dd519 | 6407 | * config/frv/frv.opt (config/frv/frv-opts.h): New HeaderInclude entry. |
db25893c JM |
6408 | (frv_cpu_type): New Variable entry. |
6409 | (frv_cpu): New Enum and EnumValue entries. | |
6410 | ||
6c223f5d JM |
6411 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6412 | ||
6413 | * config/cris/cris.c (cris_handle_option): Access target_flags via | |
6414 | opts pointer. Don't assert that global structures are in use. | |
6415 | Don't call CRIS_SUBTARGET_HANDLE_OPTION. | |
6416 | * config/cris/cris.h (CRIS_SUBTARGET_HANDLE_OPTION): Don't define. | |
6417 | ||
bbd399cf JM |
6418 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6419 | ||
6420 | * config/bfin/bfin-opts.h: New. | |
6421 | * config/bfin/bfin.c (bfin_lib_id_given, bfin_cpu_type, | |
6422 | bfin_si_revision, bfin_workarounds): Remove. | |
6423 | (bfin_cpus): Make static const. | |
6424 | (bfin_load_pic_reg): Check global_options_set.x_bfin_library_id | |
6425 | not bfin_lib_id_given. | |
6426 | (bfin_handle_option): Don't set bfin_lib_id_given. Access | |
6427 | bfin_cpu_type, bfin_si_revision and bfin_workarounds via opts | |
c78dd519 | 6428 | pointer. Use error_at. Don't assert that global structures are in use. |
bbd399cf JM |
6429 | * config/bfin/bfin.h: Include bfin-opts.h. |
6430 | (enum bfin_cpu_type, bfin_cpu_t): Move to bfin-opts.h. | |
6431 | (bfin_cpu_type, bfin_si_revision, bfin_workarounds): Remove. | |
6432 | * bfin.opt (config/bfin/bfin-opts.h): New HeaderInclude entry. | |
6433 | (bfin_cpu_type, bfin_si_revision, bfin_workarounds): New Variable | |
6434 | entries. | |
6435 | ||
5e1b4d5a JM |
6436 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6437 | ||
6438 | * config/arm/arm.opt (mhard-float, msoft-float): Use Alias. | |
6439 | * config/arm/arm.c (arm_handle_option): Don't handle -mhard-float | |
6440 | or -msoft-float here. | |
6441 | * config/arm/arm.h (CPP_SPEC): Handle -mfloat-abi=*, not | |
6442 | -msoft-float and -mhard-float. | |
c78dd519 | 6443 | (OPTION_DEFAULT_SPECS): Don't handle -mhard-float and -msoft-float. |
5e1b4d5a JM |
6444 | * config/arm/coff.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not |
6445 | msoft-float. | |
6446 | * config/arm/elf.h (ASM_SPEC): Don't handle -mhard-float and | |
6447 | -msoft-float. | |
6448 | (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not msoft-float. | |
6449 | * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Use mfloat-abi=hard, | |
6450 | not mhard-float. | |
6451 | (LIBGCC_SPEC): Don't handle -msoft-float. | |
6452 | * config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Don't handle | |
6453 | -mhard-float. | |
6454 | * config/arm/pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not | |
6455 | msoft-float. | |
6456 | * config/arm/rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Handle | |
6457 | -mfloat-abi=*, not -msoft-float and -mhard-float. | |
6458 | * config/arm/semi.h((ASM_SPEC): Don't handle -mhard-float and | |
6459 | -msoft-float. | |
6460 | * config/arm/t-arm-elf (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): | |
6461 | Use mfloat-abi=hard and mfloat-abi=soft in comments, not | |
6462 | mhard-float and msoft-float. | |
6463 | * config/arm/t-linux (MULTILIB_OPTIONS): Use mfloat-abi=hard and | |
6464 | mfloat-abi=soft in comments, not mhard-float and msoft-float. | |
6465 | * config/arm/t-rtems (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use | |
6466 | mfloat-abi=soft and mfloat-abi=hard, not msoft-float and | |
6467 | mhard-float. | |
6468 | * config/arm/t-strongarm-elf (MULTILIB_OPTIONS): Use | |
6469 | mfloat-abi=hard and mfloat-abi=soft, not mhard-float and | |
6470 | msoft-float. | |
6471 | * config/arm/t-wince-pe (MULTILIB_OPTIONS): Use mfloat-abi=hard, | |
6472 | not mhard-float. | |
6473 | * config/arm/wince-pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, | |
6474 | not msoft-float. | |
6475 | ||
800d1de1 RH |
6476 | 2011-03-22 Richard Henderson <rth@redhat.com> |
6477 | ||
6478 | * config/alpha/alpha.c (alpha_expand_prologue): Don't test | |
6479 | TARGET_ABI_WINDOWS_NT. | |
6480 | (alpha_output_function_end_prologue): Likewise. | |
6481 | * config/alpha/alpha.h (TARGET_ABI_OSF): Likewise. | |
6482 | (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
6483 | * config/alpha/alpha.md (call, call_value, tablejump): Likewise. | |
6484 | (trap, *movsi_nt_vms): Likewise. | |
6485 | (call_nt, call_value_nt, *call_nt_1, *call_value_nt_1): Remove. | |
6486 | (*tablejump_osf_nt_internal): Remove. | |
6487 | * config/alpha/predicates.md (input_operand): Only test Pmode. | |
6488 | ||
c59ddd2b JM |
6489 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6490 | ||
6491 | * config/alpha/alpha.c (alpha_handle_option): Access target_flags | |
6492 | via opts pointer. Use error_at. Don't assert that global | |
6493 | structures are in use. | |
6494 | ||
1333f97f JM |
6495 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6496 | ||
6497 | * config/i386/i386.c (ix86_isa_flags_explicit): Remove. | |
6498 | (ix86_handle_option): Access ix86_isa_flags and | |
6499 | ix86_isa_flags_explicit via opts pointer. Don't assert that | |
6500 | global structures are in use. | |
6501 | (ix86_function_specific_save, ix86_function_specific_restore): | |
6502 | Update ix86_isa_flags_explicit field name. | |
c78dd519 | 6503 | * config/i386/i386.opt (ix86_isa_flags_explicit): New Variable entry. |
1333f97f JM |
6504 | (ix86_isa_flags_explicit): Rename TargetSave entry to |
6505 | x_ix86_isa_flags_explicit. | |
6506 | ||
75db85d8 RH |
6507 | 2011-03-22 Richard Henderson <rth@redhat.com> |
6508 | ||
6509 | * config/alpha/alpha.c (NUM_ARGS): Don't test TARGET_ABI_UNICOSMK. | |
6510 | (alpha_option_override, direct_return): Likewise. | |
6511 | (alpha_arg_partial_bytes, alpha_setup_incoming_varargs): Likewise. | |
6512 | (alpha_va_start, alpha_gimplify_va_arg, alpha_sa_mask): Likewise. | |
6513 | (alpha_sa_size, compute_frame_size, alpha_expand_prologue): Likewise. | |
6514 | (alpha_start_function, alpha_output_function_end_prologue): Likewise. | |
6515 | (alpha_expand_epilogue, alpha_end_function): Likewise. | |
6516 | (alpha_init_libfuncs): Likewise. | |
6517 | (struct machine_function): Remove unicosmk members. | |
6518 | (print_operand) ['t']: Remove. | |
6519 | (unicosmk_must_pass_in_stack, unicosmk_initial_elimination_offset, | |
6520 | unicosmk_output_module_name, unicosmk_output_common, | |
6521 | current_section_align, unicosmk_output_text_section_asm_op, | |
6522 | unicosmk_output_data_section_asm_op, unicosmk_init_sections, | |
6523 | unicosmk_section_type_flags, unicosmk_unique_section, | |
6524 | unicosmk_asm_named_section, unicosmk_insert_attributes, | |
6525 | unicosmk_output_align, unicosmk_defer_case_vector, | |
6526 | unicosmk_output_addr_vec, unicosmk_output_deferred_case_vectors, | |
6527 | SSIB_PREFIX, SSIB_PREFIX_LEN, unicosmk_ssib_name, unicosmk_gen_dsib, | |
6528 | unicosmk_output_ssib, unicosmk_add_call_info_word, | |
6529 | unicosmk_extern_head, unicosmk_output_default_externs, | |
6530 | unicosmk_output_externs, unicosmk_add_extern, unicosmk_dex_list, | |
6531 | unicosmk_dex_count, unicosmk_special_name, unicosmk_need_dex, | |
6532 | unicosmk_output_dex, unicosmk_file_start, unicosmk_file_end): Remove. | |
6533 | * config/alpha/alpha-protos.h: Update. | |
6534 | * config/alpha/alpha.h (TARGET_ABI_OSF): Don't test TARGET_ABI_UNICOSMK. | |
6535 | * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM): Remove. | |
6536 | (UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): Remove. | |
6537 | (mulsi3): Don't test TARGET_ABI_UNICOSMK. | |
6538 | (*mulsi_se, mulvsi3): Likewise. | |
6539 | (divsi3, udivsi3, modsi3, umodsi3, divdi3, udivdi3): Likewise. | |
6540 | (*divmodsi_internal, call, call_value, realign): Likewise. | |
6541 | (moddi3, umoddi3): Likewise; remove duplicate expander. | |
6542 | (moddi3_umk, umoddi3_umk, call_umk, call_value_umk): Remove. | |
6543 | (*call_umk_1, *movsi, umk_laum, umk_lalm, *umk_load_ciw): Remove. | |
6544 | (*movdi_nofix): Remove r/U alternative. | |
6545 | (umk_mismatch_args, arg_home_umk, *call_value_umk): Remove. | |
6546 | * config/alpha/constraints.md ("U"): Remove. | |
6547 | * config/alpha/predicates.md (call_operand"): Don't test | |
6548 | TARGET_ABI_UNICOSMK. | |
6549 | ||
96e45421 JM |
6550 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6551 | ||
6552 | * target.def (handle_option): Take gcc_options and | |
6553 | cl_decoded_option pointers and location_t. | |
6554 | * doc/tm.texi.in (TARGET_HANDLE_OPTION): Update documentation. | |
6555 | * doc/tm.texi: Regenerate. | |
6556 | * hooks.c (hook_bool_size_t_constcharptr_int_true): Remove. | |
6557 | * hooks.h (hook_bool_size_t_constcharptr_int_true): Don't declare. | |
6558 | * lto-opts.c (lto_reissue_options): Generate option structure for | |
6559 | targetm.handle_option call. | |
6560 | * opts.c (target_handle_option): Update call to | |
6561 | targetm.handle_option. Remove assertions about values now passed | |
6562 | down to hook. | |
6563 | * targhooks.c (default_target_handle_option): New. | |
6564 | * targhooks.h (default_target_handle_option): Declare. | |
6565 | * config/alpha/alpha.c: Include opts.h. | |
6566 | (alpha_handle_option): Update to new hook interface. | |
6567 | * config/arm/arm.c: Include opts.h. | |
6568 | (arm_handle_option): Update to new hook interface. | |
6569 | * config/arm/t-arm (arm.o): Update dependencies. | |
6570 | * config/bfin/bfin.c: Include opts.h. | |
6571 | (bfin_handle_option): Update to new hook interface. | |
6572 | * config/cris/cris.c: Include opts.h. | |
6573 | (cris_handle_option): Update to new hook interface. | |
6574 | * config/frv/frv.c: Include opts.h. | |
6575 | (frv_handle_option): Update to new hook interface. | |
6576 | * config/i386/i386.c: Include opts.h. | |
6577 | (ix86_handle_option): Update to new hook interface. | |
6578 | (ix86_valid_target_attribute_inner_p): Generate option structure | |
6579 | for call to ix86_handle_option. | |
6580 | * config/i386/t-i386 (i386.o): Update dependencies. | |
6581 | * config/ia64/ia64.c: Include opts.h. | |
6582 | (ia64_handle_option): Update to new hook interface. | |
6583 | * config/ia64/t-ia64 (ia64.o): Update dependencies. | |
6584 | * config/iq2000/iq2000.c: Include opts.h. | |
6585 | (iq2000_handle_option): Update to new hook interface. | |
6586 | * config/m32c/m32c.c: Include opts.h. | |
6587 | (m32c_handle_option): Update to new hook interface. | |
6588 | * config/m32r/m32r.c: Include opts.h. | |
6589 | (m32r_handle_option): Update to new hook interface. | |
6590 | * config/m68k/m68k.c: Include opts.h. | |
6591 | (m68k_handle_option): Update to new hook interface. | |
6592 | * config/mep/mep.c: Include opts.h. | |
6593 | (mep_handle_option): Update to new hook interface. | |
6594 | * config/microblaze/microblaze.c: Include opts.h. | |
6595 | (microblaze_handle_option): Update to new hook interface. | |
6596 | * config/mips/mips.c: Include opts.h. | |
6597 | (mips_handle_option): Update to new hook interface. | |
6598 | * config/mn10300/mn10300.c: Include opts.h. | |
6599 | (mn10300_handle_option): Update to new hook interface. | |
6600 | * config/pa/pa.c: Include opts.h. | |
6601 | (pa_handle_option): Update to new hook interface. | |
6602 | * config/pdp11/pdp11.c: Include opts.h. | |
6603 | (pdp11_handle_option): Update to new hook interface. | |
6604 | * config/rs6000/rs6000.c: Include opts.h. | |
6605 | (rs6000_handle_option): Update to new hook interface. | |
6606 | * config/rs6000/t-rs6000 (rs6000.o): Update dependencies. | |
6607 | * config/rx/rx.c: Include opts.h. | |
6608 | (rx_handle_option): Update to new hook interface. | |
6609 | * config/s390/s390.c: Include opts.h. | |
6610 | (s390_handle_option): Update to new hook interface. | |
6611 | * config/score/score.c: Include opts.h. | |
6612 | (score_handle_option): Update to new hook interface. | |
6613 | * config/sh/sh.c: Include opts.h. | |
6614 | (sh_handle_option): Update to new hook interface. | |
6615 | * config/sparc/sparc.c: Include opts.h. | |
6616 | (sparc_handle_option): Update to new hook interface. | |
6617 | * config/v850/v850.c: Include opts.h. | |
6618 | (v850_handle_option): Update to new hook interface. | |
6619 | ||
66017846 JM |
6620 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6621 | ||
6622 | * gcc.c (driver_unknown_option_callback): Only permit and save | |
6623 | unknown -Wno- options. | |
6624 | (driver_wrong_lang_callback): Save options directly instead of via | |
6625 | driver_unknown_option_callback. | |
6626 | ||
e8b97ccd EB |
6627 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
6628 | ||
6629 | * combine.c (simplify_set): Try harder to find the best CC mode when | |
6630 | simplifying a nested COMPARE on the RHS. | |
6631 | ||
ebb9f8b0 JM |
6632 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
6633 | ||
6634 | * config/alpha/gnu.h: Remove. | |
6635 | * config/arc: Remove directory. | |
6636 | * config/arm/netbsd.h: Remove. | |
6637 | * config/arm/t-pe: Remove. | |
6638 | * config/crx: Remove directory. | |
6639 | * config/i386/netbsd.h: Remove. | |
6640 | * config/m68hc11: Remove directory. | |
6641 | * config/m68k/uclinux-oldabi.h: Remove. | |
6642 | * config/mcore/mcore-pe.h: Remove. | |
6643 | * config/mcore/t-mcore-pe: Remove. | |
6644 | * config/netbsd-aout.h: Remove. | |
6645 | * config/rs6000/gnu.h: Remove. | |
6646 | * config/sh/sh-symbian.h: Remove. | |
6647 | * config/sh/symbian-base.c: Remove. | |
6648 | * config/sh/symbian-c.c: Remove. | |
6649 | * config/sh/symbian-cxx.c: Remove. | |
6650 | * config/sh/symbian-post.h: Remove. | |
6651 | * config/sh/symbian-pre.h: Remove. | |
6652 | * config/sh/t-symbian: Remove. | |
6653 | * config/svr3.h: Remove. | |
6654 | * config/vax/netbsd.h: Remove. | |
6655 | * config.build: Don't handle i[34567]86-*-pe. | |
6656 | * config.gcc: Remove handling of deprecations for most deprecated | |
6657 | targets. | |
6658 | (m68k-*-uclinuxoldabi*): Add to second deprecated list. | |
6659 | (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*, arm-*-pe*, crx-*-elf, | |
6660 | i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*|m6811-*-*, | |
6661 | m68hc12-*-*|m6812-*-*, m68k-*-uclinuxoldabi*, mcore-*-pe*, | |
6662 | powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*, | |
6663 | sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*): | |
6664 | Remove cases. | |
6665 | * config.host: Don't handle i[34567]86-*-pe. | |
6666 | * config/rs6000/linux64.h (LINK_OS_GNU_SPEC): Remove. | |
6667 | (ASM_SPEC32): Don't handle -mcall-gnu. | |
6668 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't handle | |
6669 | -mcall-gnu. | |
6670 | (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, CPP_SPEC, | |
6671 | STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): Don't handle -mcall-gnu. | |
6672 | (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, | |
6673 | LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): Remove. | |
6674 | (SUBTARGET_EXTRA_SPECS): Remove *_gnu specs. | |
6675 | * config/sh/sh-protos.h, config/sh/sh.c: Remove all code | |
6676 | conditional on SYMBIAN. | |
6677 | * configure.ac: Don't handle powerpc*-*-gnu*. | |
6678 | * configure: Regenerate. | |
6679 | * doc/extend.texi (interrupt attribute): Don't mention CRX. | |
6680 | * doc/install-old.texi (m6811, m6812): Don't mention. | |
6681 | * doc/install.texi (arc-*-elf*): Don't document multilib option. | |
6682 | (arc-*-elf, CRX, m6811-elf, m6812-elf): Remove. | |
6683 | (m68k-uclinuxoldabi): Don't mention. | |
6684 | * doc/invoke.texi (ARC Options, CRX Options, M68hc1x Options): | |
6685 | Remove. | |
6686 | (-mcall-gnu): Remove. | |
6687 | * doc/md.texi (CRX Architecture, Motorola 68HC11 & 68HC12 | |
6688 | families): Remove constraint documentation. | |
6689 | ||
999a7d80 MS |
6690 | 2011-03-22 Marius Strobl <marius@FreeBSD.org> |
6691 | ||
6692 | * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Replace with... | |
6693 | (FBSD_TARGET_CPU_CPP_BUILTINS): ...this. | |
6694 | (TARGET_GNU_TLS, TARGET_SUN_TLS): Define. | |
6695 | ||
45540bcf MM |
6696 | 2011-03-21 Michael Meissner <meissner@linux.vnet.ibm.com> |
6697 | ||
6698 | PR target/48226 | |
6699 | * config/rs6000/rs6000-c.c (rs6000_macro_to_expand): If we see a | |
6700 | vector when peeking at the next token for vector, don't expand the | |
6701 | keywords. | |
6702 | ||
980a0ff4 GJL |
6703 | 2011-03-21 Georg-Johann Lay <avr@gjlay.de> |
6704 | ||
6705 | * config/avr/avr-protos.h (expand_epilogue): Change prototype | |
6706 | * config/avr/avr.h (struct machine_function): Add field sibcall_fails. | |
6707 | * config/avr/avr.c (init_cumulative_args) | |
6708 | (avr_function_arg_advance): Use it. | |
6709 | * config/avr/avr.c (expand_epilogue): Add bool parameter. Handle | |
6710 | sibcall epilogues. | |
6711 | (TARGET_FUNCTION_OK_FOR_SIBCALL): Define to... | |
6712 | (avr_function_ok_for_sibcall): ...this new function. | |
6713 | (avr_lookup_function_attribute1): New static Function. | |
6714 | (avr_naked_function_p, interrupt_function_p) | |
6715 | (signal_function_p, avr_OS_task_function_p) | |
6716 | (avr_OS_main_function_p): Use it. | |
6717 | * config/avr/avr.md ("sibcall", "sibcall_value") | |
6718 | ("sibcall_epilogue"): New expander. | |
6719 | ("*call_insn", "*call_value_insn"): New insn. | |
6720 | ("call_insn", "call_value_insn"): Remove | |
6721 | ("call", "call_value", "epilogue"): Change expander to handle | |
6722 | sibling calls. | |
6723 | ||
49168734 NC |
6724 | 2011-03-21 Nick Clifton <nickc@redhat.com> |
6725 | ||
6726 | * doc/invoke.texi (Overall Options): Move closing brace to end of | |
6727 | options list. | |
6728 | (Optimization Options): Add missing @gol. | |
6729 | (Directory Options): Likewise. | |
6730 | (i386 and x86-64 Options): Likewise. | |
6731 | (RS6000 and PowerPC Options): Likewise. | |
6732 | (i386 and x86-64 Windows Options): Likewise. | |
6733 | (V850 Options): Add text missing from descriptions. | |
6734 | ||
bdfe906f RH |
6735 | 2011-03-22 Richard Henderson <rth@redhat.com> |
6736 | ||
6737 | * config/avr/avr.c (TARGET_EXCEPT_UNWIND_INFO): New. | |
6738 | (avr_incoming_return_addr_rtx): New. | |
6739 | (emit_push_byte): New. | |
6740 | (expand_prologue): Use it. Remove incorrect dwarf annotation for | |
6741 | SREG, RAMPZ, zero register. Push frame pointer by bytes. Add dwarf | |
6742 | annotation for __prologue_saves__. Fixup dwarf annotation for CFA. | |
6743 | (emit_pop_byte): New. | |
6744 | (expand_epilogue): Use it. Pop frame pointer by bytes. | |
6745 | * config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Remove. | |
6746 | (INCOMING_RETURN_ADDR_RTX): New. | |
6747 | (INCOMING_FRAME_SP_OFFSET): New. | |
6748 | (ARG_POINTER_CFA_OFFSET): New. | |
6749 | * config/avr/avr.md (*pushqi): Fix mode of auto-inc. | |
6750 | (*pushhi, *pushsi, *pushsf, popqi): Likewise. | |
6751 | (pophi): Remove. | |
6752 | ||
d090a5aa RH |
6753 | * dwarf2out.c (dwarf2out_frame_debug_expr) [rule 11]: Handle post_dec. |
6754 | ||
fdf3e18a NF |
6755 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
6756 | ||
6757 | * system.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Poison. | |
6758 | (FUNCTION_ARG_ADVANCE): Likewise. | |
6759 | * tm.texi.in: Change references to them to hook references. | |
6760 | * tm.texi: Regenerate. | |
6761 | * targhooks.c (default_function_arg): Eliminate check for target | |
6762 | macro. | |
6763 | (default_function_incoming_arg): Likewise. | |
6764 | (default_function_arg_advance): Likewise. | |
c78dd519 | 6765 | * target.def (function_arg, function_incoming_arg): Change to DEFHOOK. |
fdf3e18a NF |
6766 | (function_arg_advance): Likewise. |
6767 | * target-def.h: Eliminate FUNCTION_INCOMING_ARG check. | |
6768 | ||
009d3fcf NF |
6769 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
6770 | ||
6771 | * tree.c (build_call_1): New function. | |
6772 | (build_call_valist, build_call_array_loc, build_call_vec): Call it. | |
6773 | ||
7bec30e1 RG |
6774 | 2011-03-22 Richard Guenther <rguenther@suse.de> |
6775 | ||
6776 | PR tree-optimization/48228 | |
6777 | * tree-vrp.c (vrp_visit_phi_node): Do not stop propagating | |
6778 | for single-arg PHIs. | |
6779 | ||
0b7e851b AB |
6780 | 2011-03-22 Andrey Belevantsev <abel@ispras.ru> |
6781 | ||
6782 | PR rtl-optimization/48143 | |
6783 | * config/i386/sse.md (*sse2_cvtpd2dq): Add athlon_decode attribute. | |
6784 | (*sse2_cvttpd2dq, sse2_cvtss2sd, *sse2_cvtpd2ps, | |
6785 | sse2_cvtps2pd): Likewise. | |
6786 | ||
d89afca5 AK |
6787 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
6788 | ||
6789 | * recog.c (canonicalize_change_group): Use validate_unshare_change. | |
6790 | ||
f471fe72 RG |
6791 | 2011-03-22 Richard Guenther <rguenther@suse.de> |
6792 | ||
6793 | * gimple.c (gimple_rhs_class_table): POLYNOMIAL_CHREC is not | |
6794 | a valid RHS. Make DOT_PROD_EXPR and REALIGN_LOAD_EXPR ternary. | |
6795 | * tree-cfg.c (verify_gimple_assign_ternary): Allow DOT_PROD_EXPR | |
6796 | and REALIGN_LOAD_EXPR. | |
6797 | (verify_gimple_assign_single): Do not allow POLYNOMIAL_CHREC, | |
6798 | DOT_PROD_EXPR or REALIGN_LOAD_EXPR. | |
6799 | * expr.c (expand_expr_real_1): Move REALIGN_LOAD_EXPR and | |
6800 | DOT_PROD_EXPR case ... | |
6801 | (expand_expr_real_2): ... here. | |
6802 | * gimple-pretty-print.c (dump_ternary_rhs): Handle DOT_PROD_EXPR | |
6803 | and REALIGN_LOAD_EXPR. | |
6804 | * tree-data-ref.c (split_constant_offset): Bail out for all CHRECs. | |
6805 | * tree-vect-loop.c (vect_model_reduction_cost): Handle ternaries. | |
6806 | (vect_create_epilog_for_reduction): Likewise. | |
6807 | (vectorizable_reduction): Likewise. | |
6808 | * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Adjust. | |
6809 | * tree-vect-stmts.c (vectorizable_load): Likewise. | |
6810 | ||
f2f81d57 EB |
6811 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
6812 | ||
6813 | * gimplify.c (gimplify_cond_expr): Gimplify COMPOUND_EXPR conditions. | |
6814 | ||
ab081dd6 AK |
6815 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
6816 | ||
6817 | * config/s390/s390.c (s390_delegitimize_address): Fix offset | |
6818 | handling for PLTOFF/GOTOFF. | |
6819 | ||
6fd5332b NC |
6820 | 2011-03-22 Nick Clifton <nickc@redhat.com> |
6821 | ||
6822 | * config/i386/cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Remove | |
6823 | trailing backslash from the end of the macro definition. | |
6824 | ||
01841ac0 AK |
6825 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
6826 | ||
6827 | * config/s390/s390.c (s390_delegitimize_address): Handle PLTOFF | |
6828 | and PLT unspecs. | |
6829 | ||
2ef6ce06 RS |
6830 | 2011-03-21 Richard Sandiford <richard.sandiford@linaro.org> |
6831 | ||
6832 | * expr.h (prepare_operand): Move to... | |
6833 | * optabs.h (prepare_operand): ...here and change the insn code | |
6834 | parameter from "int" to "enum insn_code". | |
6835 | (insn_operand_matches): Declare. | |
6836 | * expr.c (init_expr_target): Use insn_operand_matches. | |
6837 | (compress_float_constant): Likewise. | |
6838 | * function.c (safe_insn_predicate, assign_parm_setup_reg): Likewise. | |
6839 | * optabs.c (can_compare_p, prepare_cmp_insn): Likewise. | |
6840 | (emit_cmp_and_jump_insn_1, gen_add2_insn, gen_add3_insn): Likewise. | |
c78dd519 UB |
6841 | (have_add2_insn, gen_sub2_insn, gen_sub3_insn, have_sub2_insn): |
6842 | Likewise. | |
2ef6ce06 RS |
6843 | (gen_cond_trap): Likewise. |
6844 | (prepare_operand): Likewise. Change icode to an insn_code. | |
6845 | (insn_operand_matches): New function. | |
6846 | * reload.c (find_reloads_address_1): Use insn_operand_matches. | |
6847 | * reload1.c (gen_reload): Likewise. | |
6848 | * targhooks.c (default_secondary_reload): Likewise. | |
6849 | ||
9e43ad68 UB |
6850 | 2011-03-21 Uros Bizjak <ubizjak@gmail.com> |
6851 | ||
9a96da32 UB |
6852 | * config/alpha/alpha.md (unspec): New define_c_enum. |
6853 | (unspecv): Ditto. | |
6854 | ||
6855 | 2011-03-21 Uros Bizjak <ubizjak@gmail.com> | |
6856 | ||
6857 | PR debug/48214 | |
9e43ad68 UB |
6858 | * config/alpha/alpha.c (alpha_pad_noreturn): Do not emit an unop |
6859 | between a call and its CALL_ARG_LOCATION note. | |
6860 | ||
31408f60 EB |
6861 | 2011-03-21 Eric Botcazou <ebotcazou@adacore.com> |
6862 | ||
6863 | * gimplify.c (gimplify_vla_decl): Set TREE_THIS_NOTRAP flag. | |
6864 | ||
6865 | 2011-03-21 Jakub Jelinek <jakub@redhat.com> | |
126e6609 JJ |
6866 | |
6867 | PR c/42544 | |
6868 | PR c/48197 | |
6869 | * c-common.c (shorten_compare): If primopN is first sign-extended | |
6870 | to opN and then zero-extended to result type, set primopN to opN. | |
6871 | ||
9dfd55f5 DJ |
6872 | 2011-03-21 Daniel Jacobowitz <dan@codesourcery.com> |
6873 | ||
6874 | * config/arm/unwind-arm.c (__gnu_unwind_pr_common): Correct test | |
6875 | for barrier handlers. | |
6876 | ||
f3c33d9d MM |
6877 | 2011-03-21 Michael Meissner <meissner@linux.vnet.ibm.com> |
6878 | ||
6879 | * config/rs6000/rs6000.md (UNSPEC_*, UNSPECV_*): Redefine all | |
6880 | UNSPEC constants to be in the unspec enumeration, and redefine | |
6881 | all UNSPECV constants to be in the unspecv enumeration, so that | |
6882 | dumps print which unspec/unspec_volatile this is. | |
6883 | * config/rs6000/vector.md (UNSPEC_*): Ditto. | |
6884 | * config/rs6000/paired.md (UNSPEC_*): Ditto. | |
6885 | * config/rs6000/vsx.md (UNSPEC_*): Ditto. | |
6886 | * config/rs6000/altivec.md (UNSPEC_*, UNSPECV_*): Ditto. | |
6887 | * config/rs6000/dfp.md (UNSPEC_*): Ditto. | |
6888 | ||
6889 | * config/rs6000/rs6000.md (UNSPECV_ISYNC, UNSPECV_LWSYNC): Rename | |
6890 | UNSPEC_ISYNC and UNSPEC_HWSYNC to UNSPECV_ISYNC and | |
6891 | UNSPECV_LWSYNC, since these are used as unspec_volatile. | |
6892 | * config/rs6000/sync.md (isync, lwsync): Ditto. | |
6893 | ||
ac43f774 RG |
6894 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
6895 | ||
6896 | * params.def (lto-min-partition): Fix typo. | |
6897 | ||
411cdbd8 RG |
6898 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
6899 | ||
6900 | PR c/47939 | |
6901 | * c-decl.c (grokdeclarator): Drop to the main variant only | |
6902 | for array types. Drop flag_gen_aux_info check. | |
6903 | ||
1cd9e416 RG |
6904 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
6905 | ||
6906 | PR translation/47911 | |
6907 | * params.def (lto-partitions): Fix typo. | |
6908 | (lto-min-partition): Fix wording. | |
6909 | ||
ada5ad67 AT |
6910 | 2011-03-21 Andreas Tobler <andreast@fgznet.ch> |
6911 | ||
6912 | * config/rs6000/t-freebsd: Remove duplication from file. | |
6913 | ||
f9613c9a RG |
6914 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
6915 | ||
6916 | PR middle-end/47661 | |
6917 | * gimple.c (is_gimple_condexpr): Use tree_could_throw_p. | |
6918 | ||
9bfbc1eb RG |
6919 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
6920 | ||
6921 | PR lto/48210 | |
6922 | * params.def (lto-partitions): Require at least 1 partition. | |
6923 | ||
a2268084 RO |
6924 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6925 | ||
6926 | * gthr-solaris.h: Remove. | |
6927 | * gthr.h (_SOLARIS_THREADS): Don't include gthr-solaris.h, remove. | |
6928 | * config/sol2.h (CPP_SUBTARGET_SPEC): Remove -threads support. | |
6929 | (LIB_SPEC): Likewise. | |
6930 | * config/sol2.opt (threads): Remove. | |
9e43ad68 | 6931 | * config.gcc (i[34567]86-*-solaris2*): Remove solaris threads support. |
a2268084 RO |
6932 | (sparc*-*-solaris2*): Likewise. |
6933 | * configure.ac (enable_threads): Enable solaris support. | |
6934 | * configure: Regenerate. | |
9e43ad68 | 6935 | * doc/invoke.texi (Option Summary, Solaris 2 Options): Remove -threads. |
a2268084 RO |
6936 | * doc/install.texi (Configuration, --enable-threads=lib): Remove |
6937 | solaris. | |
6938 | ||
c43d9a1b RO |
6939 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6940 | ||
6941 | * config.gcc: Obsolete *-*-solaris2.8*. | |
6942 | * doc/install.texi (Specific, *-*-solaris2*): Document it. | |
6943 | ||
084239f4 RO |
6944 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6945 | ||
6946 | PR bootstrap/48135 | |
6947 | * doc/install.texi (Prerequisites, Perl): Remove Glob.pm | |
6948 | reference. Solaris 8 perl works. | |
6949 | ||
64cadbe7 RO |
6950 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6951 | ||
6952 | PR bootstrap/48135 | |
6953 | * doc/install.texi (Prerequisites): Move jar etc. up. | |
6954 | Explain support library version requirements. | |
6955 | ||
eb975109 RO |
6956 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6957 | ||
6958 | PR bootstrap/48135 | |
6959 | * doc/install.texi (Prerequisites): Move Perl to build | |
6960 | requirements. Always necessary on Solaris 2 with Sun ld. | |
6961 | ||
8a509ffd RO |
6962 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6963 | ||
6964 | * doc/install.texi (Specific, alpha*-dec-osf5.1): Update for | |
6965 | binutils 2.21. | |
6966 | (Specific, i?86-*-solaris2.[89]): Likewise. | |
6967 | (Specific, i?86-*-solaris2.10): Likewise. | |
6968 | (Specific, mips-sgi-irix6): Likewise. | |
6969 | (Specific, *-*-solaris2*): Remove Sun Studio download URL. | |
6970 | Update for binutils 2.21. | |
6971 | ||
8fbc58a1 RO |
6972 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6973 | ||
6974 | * configure.ac (gcc_cv_lto_plugin): Fix typo. | |
6975 | Allow -fuse-linker-plugin for non-default plugin linker. | |
6976 | * configure: Regenerate. | |
6977 | ||
7e84ad0b NP |
6978 | 2011-03-21 Nicola Pero <nicola.pero@meta-innovation.com> |
6979 | ||
6980 | PR bootstrap/48167 | |
6981 | * gengtype.c (files_rules): Added rule for cp/parser.h. | |
6982 | ||
2f36e14b JJ |
6983 | 2011-03-21 Jakub Jelinek <jakub@redhat.com> |
6984 | ||
6985 | PR target/48213 | |
6986 | * config/s390/s390.c (s390_delegitimize_address): Don't call | |
6987 | lowpart_subreg if orig_x has BLKmode. | |
6988 | ||
62d784f7 KT |
6989 | 2011-03-21 Kai Tietz <ktietz@redhat.com> |
6990 | ||
6991 | PR target/12171 | |
9e43ad68 UB |
6992 | * doc/plugins.texi: Adjust documentation for plugin register_callback. |
6993 | * tree.h (attribute_spec): Add new member affects_type_identity. | |
6994 | * attribs.c (empty_attribute_table): Adjust attribute_spec | |
6995 | initializers. | |
62d784f7 KT |
6996 | * config/alpha/alpha.c: Likewise. |
6997 | * config/arc/arc.c: Likewise. | |
6998 | * config/arm/arm.c: Likewise. | |
6999 | * config/avr/avr.c: Likewise. | |
7000 | * config/bfin/bfin.c: Likewise. | |
7001 | * config/crx/crx.c: Likewise. | |
7002 | * config/darwin.h: Likewise. | |
7003 | * config/h8300/h8300.c: Likewise. | |
7004 | * config/i386/cygming.h: Likewise. | |
7005 | * config/i386/i386.c: Likewise. | |
7006 | * config/ia64/ia64.c: Likewise. | |
7007 | * config/m32c/m32c.c: Likewise. | |
7008 | * config/m32r/m32r.c: Likewise. | |
7009 | * config/m68hc11/m68hc11.c: Likewise. | |
7010 | * config/m68k/m68k.c: Likewise. | |
7011 | * config/mcore/mcore.c: Likewise. | |
7012 | * config/mep/mep.c: Likewise. | |
7013 | * config/microblaze/microblaze.c: Likewise. | |
7014 | * config/mips/mips.c: Likewise. | |
7015 | * config/rs6000/rs6000.c: Likewise. | |
7016 | * config/rx/rx.c: Likewise. | |
7017 | * config/sh/sh.c: Likewise. | |
7018 | * config/sol2.h: Likewise. | |
7019 | * config/sparc/sparc.c: Likewise. | |
7020 | * config/spu/spu.c: Likewise. | |
7021 | * config/stormy16/stormy16.c: Likewise. | |
7022 | * config/v850/v850.c: Likewise. | |
7023 | ||
54833ec0 CLT |
7024 | 2011-03-21 Chung-Lin Tang <cltang@codesourcery.com> |
7025 | ||
7026 | * simplify-rtx.c (simplify_binary_operation_1): Handle | |
7027 | (xor (and A B) C) case when B and C are both constants. | |
7028 | ||
14a41392 MX |
7029 | 2011-03-21 Mingjie Xing <mingjie.xing@gmail.com> |
7030 | ||
7031 | * tree-dfa.c (add_referenced_var): Fix typo in comment. | |
7032 | ||
806c3492 EB |
7033 | 2011-03-20 Eric Botcazou <ebotcazou@adacore.com> |
7034 | ||
7035 | PR bootstrap/48168 | |
7036 | * config/sparc/sparc.c (sparc_delegitimize_address): Add new pattern. | |
7037 | ||
65e0a0f3 JJ |
7038 | 2011-03-20 Jakub Jelinek <jakub@redhat.com> |
7039 | ||
7040 | PR rtl-optimization/48156 | |
7041 | * df-core.c (df_get_bb_dirty): Use df_lr if df_live is NULL, | |
7042 | assume df and df_lr are not NULL. | |
7043 | ||
b6a75dda RR |
7044 | 2011-03-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
7045 | ||
7046 | PR debug/48023 | |
7047 | * config/arm/arm.c (create_fix_barrier): Do not emit a minipool | |
7048 | between a call and its CALL_ARG_LOCATION note. | |
7049 | ||
5969b52d KK |
7050 | 2011-03-19 Kaz Kojima <kkojima@gcc.gnu.org> |
7051 | ||
7052 | PR debug/48178 | |
7053 | * config/sh/sh.c (find_barrier): Don't emit a constant pool | |
7054 | between a call and its corresponding CALL_ARG_LOCATION note. | |
7055 | ||
f773c2bd AS |
7056 | 2011-03-19 Anatoly Sokolov <aesok@post.ru> |
7057 | ||
7058 | * cfgcleanup.c (mark_effect): Use bitmap_set_range/bitmap_clear_range | |
7059 | instead of loop. Use HARD_REGISTER_NUM_P predicate. | |
7060 | * haifa-sched.c (setup_ref_regs): Ditto. | |
7061 | * caller-save.c (add_used_regs_1): Ditto. | |
7062 | * dse.c (look_for_hardregs): Ditto. | |
7063 | * df-problems.c (df_simulate_one_insn_forwards): Ditto. | |
7064 | * sched-rgn.c (check_live_1): Ditto. | |
7065 | ||
8bf872f9 JM |
7066 | 2011-03-18 Joseph Myers <joseph@codesourcery.com> |
7067 | ||
7068 | * c-decl.c (diagnose_mismatched_decls): Give an error for | |
7069 | redefining a typedef with variably modified type. | |
7070 | ||
ff8e2159 JM |
7071 | 2011-03-18 Joseph Myers <joseph@codesourcery.com> |
7072 | ||
7073 | * c-decl.c (grokfield): Don't allow typedefs for structures or | |
7074 | unions with no tag by default. | |
7075 | * doc/extend.texi (Unnamed Fields): Update. | |
7076 | ||
16cc4440 UB |
7077 | 2011-03-18 Uros Bizjak <ubizjak@gmail.com> |
7078 | ||
7079 | * config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2): | |
7080 | Rewrite using indirect functions. | |
7081 | (lwp_slwpcb): Ditto. | |
7082 | * config/i386/sse.md (avx_vextractf128<mode>): Ditto. | |
7083 | (avx_vinsertf128<mode>): Ditto. | |
7084 | ||
e101e12e AK |
7085 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
7086 | ||
7087 | * config/s390/s390.c (s390_delegitimize_address): Handle GOTOFF | |
7088 | unspecs. | |
7089 | ||
4627c7fb AK |
7090 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
7091 | ||
7092 | * config/s390/s390.c (s390_chunkify_start): Prevent literal pool | |
9e43ad68 | 7093 | splitting between a call and its corresponding CALL_ARG_LOCATION note. |
4627c7fb | 7094 | |
2d36b47f MK |
7095 | 2011-03-18 Maxim Kuvyrkov <maxim@codesourcery.com> |
7096 | ||
7097 | PR rtl-optimization/48170 | |
7098 | * gcse.c (hoist_code): Remove bogus asserts. | |
7099 | ||
2a3d7659 JL |
7100 | 2011-03-18 Georg-Johann Lay <avr@gjlay.de> |
7101 | ||
7102 | * ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost | |
7103 | computation for prologue/epilogue. | |
7104 | ||
34c3ef05 RO |
7105 | 2011-03-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7106 | ||
7107 | * Makefile.in (check-consistency): Remove. | |
7108 | ||
81f2b976 JJ |
7109 | 2011-03-18 Jakub Jelinek <jakub@redhat.com> |
7110 | ||
7111 | PR debug/48176 | |
7112 | * dwarf2out.c (dwarf2out_finish): Call output_aranges even when | |
7113 | arange_table_in_use is 0, but either text_section_used or | |
7114 | cold_text_section_used is true. Don't call it if | |
7115 | !info_section_emitted. | |
7116 | ||
68fd7765 AS |
7117 | 2011-03-18 Anatoly Sokolov <aesok@post.ru> |
7118 | ||
7119 | * config/avr/avr.h (RET_REGISTER, LIBCALL_VALUE, | |
7120 | FUNCTION_VALUE_REGNO_P): Remove. | |
7121 | * config/avr/avr-protos.h (avr_ret_register, avr_libcall_value): | |
7122 | Remove. | |
7123 | * config/avr/avr.c (avr_ret_register): Make static inline. | |
7124 | (avr_function_value_regno_p): New function. | |
7125 | (avr_libcall_value): Make static. Add 'func' argument. | |
7126 | (avr_function_value): Make static. Rename 'func' argument to | |
7127 | 'fn_decl_or_type', forward it to avr_libcall_value. Call | |
7128 | avr_ret_register function instead of RET_REGISTER macro. | |
7129 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
7130 | ||
b4ef8aac JM |
7131 | 2011-03-18 Jason Merrill <jason@redhat.com> |
7132 | ||
7133 | PR c++/23372 | |
7134 | * gimplify.c (gimplify_arg): Strip redundant TARGET_EXPR. | |
7135 | ||
09a52fc3 RG |
7136 | 2011-03-18 Richard Guenther <rguenther@suse.de> |
7137 | ||
7138 | * doc/install.texi (--enable-gold): Remove. | |
7139 | (--with-plugin-ld): Document. | |
7140 | * doc/invoke.texi (-fuse-linker-plugin): Clarify. | |
7141 | ||
2a3d7659 | 7142 | 2011-03-18 Andrew Pinski <pinskia@gmail.com> |
3bf162a0 AP |
7143 | |
7144 | PR middle-end/47790 | |
7145 | * expr.c (optimize_bitfield_assignment_op): Revamp to work | |
7146 | again after expansion changes. | |
7147 | ||
2abbb0fe CLT |
7148 | 2011-03-18 Chung-Lin Tang <cltang@codesourcery.com> |
7149 | ||
7150 | * combine.c (try_combine): Do simplification only call of | |
7151 | subst() on i2 even when i1 is present. Update comments. | |
7152 | ||
2efd0aa6 KK |
7153 | 2011-03-18 Kaz Kojima <kkojima@gcc.gnu.org> |
7154 | ||
7155 | * config/sh/sh.c (sh_delegitimize_address): Handle UNSPEC_SYMOFF | |
7156 | and UNSPEC_PCREL_SYMOFF. | |
7157 | ||
30a49b23 AK |
7158 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
7159 | ||
7160 | * config/s390/s390.md: Use define_c_enum for the unspec constant | |
7161 | definitions. | |
7162 | ||
419e1853 JJ |
7163 | 2011-03-18 Richard Henderson <rth@redhat.com> |
7164 | Jakub Jelinek <jakub@redhat.com> | |
7165 | ||
7166 | PR bootstrap/48161 | |
7167 | * expr.c (expand_expr_addr_expr_1): Use simplify_gen_binary | |
7168 | instead of gen_rtx_PLUS if EXPAND_SUM or EXPAND_INITIALIZER. | |
7169 | ||
37875856 L |
7170 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
7171 | ||
7172 | PR middle-end/47725 | |
7173 | * combine.c (cant_combine_insn_p): Don't check zero/sign | |
7174 | extended hard registers. | |
7175 | ||
76069764 L |
7176 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
7177 | ||
7178 | PR middle-end/47725 | |
7179 | * combine.c (cant_combine_insn_p): Check zero/sign extended | |
7180 | hard registers. | |
7181 | ||
24da2019 AS |
7182 | 2011-03-17 Anatoly Sokolov <aesok@post.ru> |
7183 | ||
7184 | * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
7185 | * config/v850/v850-protos.h (v850_output_addr_const_extra): Remove. | |
7186 | * config/v850/v850.c (v850_output_addr_const_extra): Make static. | |
7187 | Change return type to bool. | |
7188 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
7189 | ||
a82ff31f JJ |
7190 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
7191 | ||
8b29c87a JJ |
7192 | PR debug/48163 |
7193 | * var-tracking.c (prepare_call_arguments): If CALL target | |
7194 | is a non-SYMBOL_REF CONSTANT_P, just add that into the list as | |
7195 | pc instead of looking it up using cselib_lookup and use | |
7196 | Pmode for it if x has VOIDmode. | |
7197 | * dwarf2out.c (gen_subprogram_die): If also both first and | |
7198 | second CONCAT arguments are VOIDmode, use mode of CONCAT itself. | |
7199 | ||
a82ff31f JJ |
7200 | PR debug/48163 |
7201 | * function.c (assign_parms): For data.passed_pointer parms | |
7202 | use MEM of data.entry_parm instead of data.entry_parm itself | |
7203 | as DECL_INCOMING_RTL. | |
7204 | * dwarf2out.c (rtl_for_decl_location): Use DECL_INCOMING_RTL | |
7205 | also when passed and declared mode is the same, DECL_RTL | |
7206 | is a MEM with pseudo as address and DECL_INCOMING_RTL is | |
7207 | a MEM too. | |
7208 | ||
82ce305c JL |
7209 | 2011-03-16 Jeff Law <law@redhat.com> |
7210 | ||
7211 | PR rtl-optimization/37273 | |
7212 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
7213 | handle them like argument loads from stack slots. Do not double | |
7214 | count memory for memory constants and argument loads from stack slots. | |
7215 | ||
fe58e02b L |
7216 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
7217 | ||
7218 | PR debug/48160 | |
7219 | * var-tracking.c (prepare_call_arguments): Check SUBREG. | |
7220 | ||
6fc4dbc7 L |
7221 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
7222 | ||
7223 | PR target/48171 | |
7224 | * config/i386/i386.opt: Add Save to -mavx and -mfma. | |
7225 | ||
db3ed0b3 JJ |
7226 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
7227 | ||
8054a389 JJ |
7228 | PR bootstrap/48153 |
7229 | * dwarf2out.c (mem_loc_descriptor) <case ENTRY_VALUE>: Return NULL | |
7230 | if dwarf_strict. | |
7231 | (gen_subprogram_die): Don't add call_site DIEs if dwarf_strict. | |
7232 | Clear call_arg_locations and call_arg_loc_last always. | |
7233 | ||
db3ed0b3 JJ |
7234 | PR middle-end/48152 |
7235 | * var-tracking.c (prepare_call_arguments): If argument needs to be | |
7236 | passed by reference, adjust argtype and mode. | |
7237 | ||
1bce4ff3 RG |
7238 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
7239 | ||
7240 | PR middle-end/48134 | |
7241 | * tree-ssa.c (insert_debug_temp_for_var_def): If we propagated | |
7242 | a value make sure to fold the statement. | |
7243 | ||
7c71147d CLT |
7244 | 2011-03-17 Chung-Lin Tang <cltang@codesourcery.com> |
7245 | ||
7246 | PR target/43872 | |
7247 | * config/arm/arm.c (arm_get_frame_offsets): Adjust early | |
7248 | return condition with !cfun->calls_alloca. | |
7249 | ||
0e1ee172 RG |
7250 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
7251 | ||
7252 | PR bootstrap/48148 | |
7253 | * lto-cgraph.c (input_overwrite_node): Clear the abstract | |
7254 | origin for decls in other ltrans units. | |
7255 | (input_varpool_node): Likewise. | |
7256 | ||
f8bce518 RG |
7257 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
7258 | ||
7259 | PR middle-end/48165 | |
7260 | * tree-object-size.c (compute_object_offset): Properly return | |
7261 | the offset operand of MEM_REFs as sizetype. | |
7262 | ||
1b6fa860 JJ |
7263 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
7264 | ||
dabd47e7 JJ |
7265 | PR rtl-optimization/48141 |
7266 | * params.def (PARAM_MAX_DSE_ACTIVE_LOCAL_STORES): New. | |
7267 | * dse.c: Include params.h. | |
7268 | (active_local_stores_len): New variable. | |
7269 | (add_wild_read, dse_step1): Clear it when setting active_local_stores | |
7270 | to NULL. | |
7271 | (record_store, check_mem_read_rtx): Decrease it when removing | |
7272 | from the chain. | |
7273 | (scan_insn): Likewise. Increase it when adding to chain, if it | |
7274 | reaches PARAM_MAX_DSE_ACTIVE_LOCAL_STORES limit, set to 1 and | |
7275 | set active_local_stores to NULL before the addition. | |
7276 | * Makefile.in (dse.o): Depend on $(PARAMS_H). | |
7277 | ||
1b6fa860 JJ |
7278 | PR rtl-optimization/48141 |
7279 | * dse.c (record_store): If no positions are needed in an insn | |
7280 | that cannot be deleted, at least unchain it from active_local_stores. | |
7281 | ||
7b5cb7d6 DS |
7282 | 2011-03-16 Dodji Seketeli <dodji@redhat.com> |
7283 | ||
7284 | PR debug/47510 | |
7285 | * dwarf2out.c (strip_naming_typedef): Factorize out of ... | |
7286 | (lookup_type_die_strip_naming_typedef): ... here. | |
7287 | (get_context_die): Use it. | |
7288 | (gen_typedef_die): Add a DW_AT_{,MIPS_}linkage_name attribute to | |
7289 | the anonymous struct named by the naming typedef. | |
7290 | ||
585e9d9d L |
7291 | 2011-03-16 H.J. Lu <hongjiu.lu@intel.com> |
7292 | ||
7293 | PR target/48154 | |
7294 | * config/i386/i386.c (ix86_builtin_vectorized_function): Check | |
7295 | TARGET_ROUND for BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins. | |
7296 | ||
6261ab0e JL |
7297 | 2011-03-16 Jeff Law <law@redhat.com> |
7298 | ||
7299 | * tree-vrp.c (identify_jump_threads): Slightly simplify type | |
16cc4440 | 7300 | check for operands of conditional. Allow type to be a pointer. |
6261ab0e | 7301 | |
0b0081ec RG |
7302 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
7303 | ||
7304 | PR tree-optimization/48149 | |
7305 | * fold-const.c (fold_binary_loc): Fold | |
7306 | COMPLEX_EXPR <REALPART_EXPR <x>, IMAGPART_EXPR <x>>. | |
7307 | ||
64a3d647 RG |
7308 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
7309 | ||
7310 | PR tree-optimization/26134 | |
7311 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Handle rewriting | |
7312 | complex part accesses to REALPART_EXPR and IMAGPART_EXPR. | |
7313 | (non_rewritable_mem_ref_base): Handle complex type component | |
7314 | accesses, constrain offsets for vector and complex extracts | |
7315 | more properly. | |
7316 | ||
ef13324e RG |
7317 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
7318 | ||
7319 | PR tree-optimization/48146 | |
7320 | * tree-ssa-sink.c (sink_code_in_bb): Manually update virtual | |
7321 | operands avoiding the need for renaming. | |
7322 | ||
f0eddb90 RG |
7323 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
7324 | ||
7325 | * gimple-fold.c (maybe_fold_reference): Open-code relevant | |
7326 | constant folding. Move MEM_REF canonicalization first. | |
7327 | Rely on fold_const_aggregate_ref for initializer folding. | |
7328 | * tree-ssa-ccp.c (ccp_fold): Handle constant vector extracts. | |
7329 | ||
e42348b8 JJ |
7330 | 2011-03-16 Jakub Jelinek <jakub@redhat.com> |
7331 | ||
29f10e71 JJ |
7332 | PR middle-end/48136 |
7333 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure | |
7334 | arg0/arg1 or their arguments are always fold converted to matching | |
7335 | types. | |
7336 | ||
e42348b8 JJ |
7337 | * var-tracking.c (prepare_call_arguments): Add ATTRIBUTE_UNUSED |
7338 | to nargs. | |
7339 | ||
55b46574 RO |
7340 | 2011-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7341 | ||
7342 | PR lto/46944 | |
7343 | * configure.ac (gcc_cv_gld_major_version, gcc_cv_gld_minor): | |
7344 | Handle in-tree gold. | |
7345 | (ld_vers): Extract binutils version for gold. | |
7346 | (gcc_cv_ld_hidden): Handle gold here. | |
7347 | (gcc_cv_lto_plugin): Determine level of linker plugin support. | |
7348 | * configure: Regenerate. | |
7349 | * config.in: Regenerate. | |
7350 | * gcc.c: Only use LTO plugin if HAVE_LTO_PLUGIN > 0, reject | |
7351 | -fuse-linker-plugin otherwise. | |
7352 | (LINK_PLUGIN_SPEC): Define. Extract from LINK_COMMAND_SPEC. | |
7353 | (LINK_COMMAND_SPEC): Use it. | |
7354 | (main): Only look for LTOPLUGINSONAME if HAVE_LTO_PLUGIN > 0. | |
7355 | ||
2b1c5433 JJ |
7356 | 2011-03-16 Jakub Jelinek <jakub@redhat.com> |
7357 | ||
c2969d8e JJ |
7358 | * emit-rtl.c (try_split): Don't call copy_call_info debug hook. |
7359 | * calls.c: Remove debug.h include. | |
7360 | (emit_call_1): Don't call virtual_call_token debug hook. | |
7361 | * dwarf2out.c (debug_dcall_section, debug_vcall_section, | |
7362 | dcall_entry, vcall_entry, dcall_table, vcall_table, vcall_insn, | |
7363 | vcall_insn_table, DEBUG_DCALL_SECTION, DEBUG_VCALL_SECTION, | |
7364 | size_of_dcall_table, output_dcall_table, size_of_vcall_table, | |
7365 | output_vcall_table, dwarf2out_direct_call, vcall_insn_table_hash, | |
7366 | vcall_insn_table_eq, store_vcall_insn, lookup_vcall_insn, | |
7367 | dwarf2out_virtual_call_token, dwarf2out_copy_call_info, | |
7368 | dwarf2out_virtual_call): Remove. | |
7369 | (dwarf2_debug_hooks): Remove direct_call, virtual_call_token, | |
7370 | copy_call_info and virtual_call hooks. | |
7371 | (dwarf2out_init): Don't initialize vcall_insn_table, | |
7372 | debug_dcall_section and debug_vcall_section. | |
7373 | (prune_unused_types): Don't mark nodes from dcall_table. | |
7374 | (dwarf2out_finish): Don't output dcall or vcall tables. | |
7375 | * final.c (final_scan_insn): Don't call direct_call or | |
7376 | virtual_call debug hooks. | |
7377 | * debug.h (struct gcc_debug_hooks): Remove direct_call, | |
7378 | virtual_call_token, copy_call_info and virtual_call hooks. | |
7379 | (debug_nothing_uid): Remove prototype. | |
7380 | * sdbout.c (sdb_debug_hooks): Remove direct_call, virtual_call_token, | |
7381 | copy_call_info and virtual_call hooks. | |
7382 | * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. | |
7383 | * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Likewise. | |
7384 | * debug.c (do_nothing_debug_hooks): Likewise. | |
7385 | (debug_nothing_uid): Remove. | |
7386 | * doc/invoke.texi (-fenable-icf-debug): Remove. | |
7387 | * common.opt (-fenable-icf-debug): Likewise. | |
7388 | ||
325f5379 JJ |
7389 | * calls.c (emit_call_1): Set MEM_EXPR on call's MEM. |
7390 | * var-tracking.c (prepare_call_arguments): Use MEM_EXPR on | |
7391 | call's MEM. Handle functions returning aggregate through a hidden | |
7392 | first pointer. For virtual calls add clobbered pc to call arguments | |
7393 | chain. | |
7394 | * dwarf2out.c (gen_subprogram_die): Emit | |
7395 | DW_AT_GNU_call_site_target_clobbered if DW_AT_GNU_call_site_target | |
7396 | can't be emitted. | |
7397 | ||
a58a8e4b JJ |
7398 | PR debug/45882 |
7399 | * rtl.def (ENTRY_VALUE): Change format from "e" to "0". | |
7400 | * rtl.h (ENTRY_VALUE_EXP): Define. | |
7401 | * rtl.c (rtx_equal_p_cb, rtx_equal_p): Handle ENTRY_VALUE. | |
7402 | * cselib.c (rtx_equal_for_cselib_p, cselib_hash_rtx): Likewise. | |
7403 | * print-rtl.c (print_rtx): Likewise. | |
7404 | * gengtype.c (adjust_field_rtx_def): Likewise. | |
7405 | * var-tracking.c (vt_add_function_parameter): Adjust | |
7406 | gen_rtx_ENTRY_VALUE uses, use ENTRY_VALUE_EXP macro. | |
7407 | * dwarf2out.c (mem_loc_descriptor): Use ENTRY_VALUE_EXP macro. | |
7408 | * cfgexpand.c (expand_debug_expr): If a SSA_NAME without | |
7409 | partition is a default definition of a PARM_DECL, use ENTRY_VALUE | |
7410 | of its DECL_INCOMING_RTL if possible, or its DECL_RTL if set. | |
7411 | ||
2b1c5433 JJ |
7412 | * final.c (final_scan_insn): Handle NOTE_INSN_CALL_ARG_LOCATION. |
7413 | Call var_location debug hook even on CALL_INSNs. | |
7414 | (rest_of_clean_state): Don't print NOTE_INSN_CALL_ARG_LOCATION. | |
7415 | * rtl.def (ENTRY_VALUE): New. | |
7416 | * dwarf2out.c: Include cfglayout.h. | |
7417 | (dwarf_stack_op_name, size_of_loc_descr, output_loc_operands, | |
7418 | output_loc_operands_raw): Handle DW_OP_GNU_entry_value. | |
7419 | (struct call_arg_loc_node): New type. | |
7420 | (call_arg_locations, call_arg_loc_last, block_map, call_site_count, | |
7421 | tail_call_site_count): New variables. | |
7422 | (dwarf_tag_name): Handle DW_TAG_GNU_call_site and | |
7423 | DW_TAG_GNU_call_site_parameter. | |
7424 | (dwarf_attr_name): Handle DW_AT_GNU_call_site_value, | |
7425 | DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target, | |
7426 | DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call, | |
7427 | DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites | |
7428 | and DW_AT_GNU_all_source_call_sites. | |
7429 | (mem_loc_descriptor): Handle ENTRY_VALUE. | |
7430 | (add_src_coords_attributes): Don't add enything if | |
7431 | DECL_SOURCE_LOCATION is UNKNOWN_LOCATION. | |
7432 | (dwarf2out_abstract_function): Save and clear call_arg_location, | |
7433 | call_site_count and tail_call_site_count around dwarf2out_decl call. | |
7434 | (gen_call_site_die): New function. | |
7435 | (gen_subprogram_die): Emit DW_TAG_GNU_call_site DIEs for call sites. | |
7436 | (gen_lexical_block_die, gen_inlined_subroutine_die): Update block_map. | |
7437 | (dwarf2out_function_decl): Clear call_arg_locations, | |
7438 | call_arg_loc_last, set call_site_count and tail_call_site_count | |
7439 | to -1 and free block_map. | |
7440 | (dwarf2out_var_location): Handle NOTE_INSN_CALL_ARG_LOCATION and | |
7441 | CALL_INSNs. Add NOTE_DURING_CALL_P var location notes even when not | |
7442 | followed by any real instructions. | |
7443 | (dwarf2out_begin_function): Set call_site_count and | |
7444 | tail_call_site_count to 0. | |
7445 | (resolve_addr): If DW_AT_abstract_origin of DW_TAG_GNU_call_site | |
7446 | is dw_val_class_addr, attempt to look it up again, for DECL_EXTERNAL | |
7447 | attempt to force a DIE for it and worst case remove the attribute. | |
7448 | (resolve_one_addr): For TREE_CONSTANT_POOL_ADDRESS_P SYMBOL_REFs | |
7449 | check TREE_ASM_WRITTEN of DECL_INITIAL of the decl instead of | |
7450 | the decl itself. | |
7451 | * var-tracking.c: Include tm_p.h. | |
7452 | (vt_stack_adjustments): For calls call note_register_arguments. | |
7453 | (argument_reg_set): New variable. | |
7454 | (add_stores): For MO_VAL_SET of non-tracked regs from argument_reg_set | |
7455 | ensure the VALUE is resolved. | |
7456 | (call_arguments): New variable. | |
7457 | (prepare_call_arguments): New function. | |
7458 | (add_with_sets): For MO_CALL set u.loc from call_arguments and clear it. | |
7459 | (struct expand_loc_callback_data): Add ignore_cur_loc field. | |
7460 | (vt_expand_loc_callback): If ignore_cur_loc, don't look at cur_loc and | |
7461 | always use the best expression. | |
7462 | (vt_expand_loc): Add ignore_cur_loc argument. | |
7463 | (vt_expand_loc_dummy): Clear ignore_cur_loc field. | |
7464 | (emit_note_insn_var_location): Adjust vt_expand_loc callers. | |
7465 | (emit_notes_in_bb) <case MO_CALL>: Add NOTE_INSN_CALL_ARG_LOCATION | |
7466 | note for all calls. | |
7467 | (vt_add_function_parameter): Use cselib_lookup_from_insn. | |
7468 | If dv is a VALUE, enter into hash table also ENTRY_VALUE for the | |
7469 | argument. Don't call cselib_preserve_only_values and | |
7470 | cselib_reset_table. | |
7471 | (note_register_arguments): New function. | |
7472 | (vt_initialize): Compute argument_reg_set. Call | |
7473 | vt_add_function_parameters before processing basic blocks instead of | |
7474 | afterwards. For calls call prepare_call_arguments before calling | |
7475 | cselib_process_insn. | |
7476 | * print-rtl.c (print_rtx): Handle NOTE_INSN_CALL_ARG_LOCATION. | |
7477 | * Makefile.in (dwarf2out.o): Depend on $(CFGLAYOUT_H). | |
7478 | (var-tracking.o): Depend on $(TM_P_H). | |
7479 | * cfglayout.h (insn_scope): New prototype. | |
7480 | * gengtype.c (adjust_field_rtx_def): Handle NOTE_INSN_CALL_ARG_LOCATION. | |
7481 | * cfglayout.c (insn_scope): No longer static. | |
7482 | * insn-notes.def (CALL_ARG_LOCATION): New. | |
7483 | * calls.c (expand_call, emit_library_call_value_1): Put USEs for | |
7484 | MEM arguments into CALL_INSN_FUNCTION_USAGE unconditionally. | |
7485 | * integrate.c (set_block_origin_self, set_block_abstract_flags): Do | |
7486 | nothing for DECL_EXTERNAL BLOCK_VARS. | |
7487 | ||
9ef13bd0 AM |
7488 | 2011-03-16 Alan Modra <amodra@gmail.com> |
7489 | ||
7490 | PR target/45844 | |
7491 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Don't | |
7492 | create invalid offset address for vsx splat insn. | |
7493 | * config/rs6000/predicates.md (splat_input_operand): New. | |
7494 | * config/rs6000/vsx.md (vsx_splat_*): Use it. | |
7495 | ||
56b67510 XDL |
7496 | 2011-03-15 Xinliang David Li <davidxl@google.com> |
7497 | ||
7498 | PR c/47837 | |
7499 | * tree-ssa-uninit.c (pred_chain_length_cmp): New function. | |
7500 | (normalize_preds): New function. | |
7501 | (is_use_properly_guarded): Normalize def predicates. | |
7502 | ||
80fffdef RR |
7503 | 2011-03-15 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
7504 | ||
732f37c6 | 7505 | PR target/46788 |
80fffdef RR |
7506 | * config/arm/arm.md (arm_movtas_ze): Use 'L' instead of 'c' |
7507 | in the output template. | |
7508 | ||
930672ad RG |
7509 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
7510 | ||
7511 | PR middle-end/47650 | |
7512 | * tree-pretty-print.c (dump_function_declaration): Properly | |
7513 | dump unprototyped and varargs function types. | |
7514 | ||
c7ee7b45 RG |
7515 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
7516 | ||
7517 | PR tree-optimization/13954 | |
7518 | * tree-ssa-sccvn.c (vn_reference_lookup_3): Look through memcpy | |
7519 | and friends. | |
7520 | ||
b2ad5e37 RG |
7521 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
7522 | ||
7523 | PR tree-optimization/48037 | |
7524 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Rewrite vector | |
7525 | selects into BIT_FIELD_REFs. | |
7526 | (non_rewritable_mem_ref_base): Check if a MEM_REF is a | |
7527 | vector select. | |
7528 | ||
7ee93d4e JJ |
7529 | 2011-03-15 Jakub Jelinek <jakub@redhat.com> |
7530 | ||
7531 | PR tree-optimization/48129 | |
7532 | * builtins.c (fold_builtin_snprintf): Convert to type of | |
7533 | built_in_decls[BUILT_IN_SNPRINTF] retval instead of | |
7534 | implicit_built_in_decls[BUILT_IN_SNPRINTF] retval. | |
7535 | ||
e106efc7 RG |
7536 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
7537 | ||
7538 | PR tree-optimization/41490 | |
7539 | * tree-ssa-dce.c (propagate_necessity): Handle returns without | |
7540 | value but with VUSE. | |
7541 | * tree-ssa-operands.c (parse_ssa_operands): Add a VUSE on all | |
7542 | return statements. | |
7543 | * tree-ssa-sink.c (statement_sink_location): Fix store sinking. | |
7544 | * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Handle virtual PHIs. | |
7545 | * tree-tailcall.c (find_tail_calls): Ignore returns. | |
7546 | ||
17dea42f RG |
7547 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
7548 | ||
7549 | PR middle-end/48031 | |
7550 | * fold-const.c (fold_indirect_ref_1): Do not create new variable-sized | |
7551 | or variable-indexed array accesses when in gimple form. | |
7552 | ||
01c77a60 RG |
7553 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
7554 | ||
16cc4440 | 7555 | * config/i386/i386.c (ix86_emit_swdivsf): Implement more efficiently. |
01c77a60 | 7556 | |
77b0791e AM |
7557 | 2011-03-15 Alan Modra <amodra@gmail.com> |
7558 | ||
7559 | PR target/48032 | |
7560 | * config/rs6000/rs6000.c (offsettable_ok_by_alignment): Do not | |
7561 | presume symbol_refs without a symbol_ref_decl are suitably | |
7562 | aligned, nor other trees we may see here. Handle anchor symbols. | |
7563 | (legitimate_constant_pool_address_p): Comment. Add mode param. | |
7564 | Check cmodel=medium addresses. Adjust all calls. | |
7565 | (rs6000_emit_move): Don't call offsettable_ok_by_alignment on | |
7566 | creating cmodel=medium optimized access to locals. | |
7567 | * config/rs6000/constraints.md (R): Pass QImode to | |
7568 | legitimate_constant_pool_address_p. | |
7569 | * config/rs6000/predicates.md (input_operand): Pass mode to | |
7570 | legitimate_constant_pool_address_p. | |
7571 | * config/rs6000/rs6000-protos.h (legitimate_constant_pool_address_p): | |
7572 | Update prototype. | |
7573 | ||
35f61ba4 MM |
7574 | 2011-03-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
7575 | ||
7576 | PR target/48053 | |
7577 | * config/rs6000/rs6000.md (movdi split for 32-bit): Don't split up | |
7578 | 64-bit constants being loaded into registers other than GPRs such | |
7579 | as loading 0 into a VSX register. | |
7580 | ||
07332e6d RO |
7581 | 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7582 | ||
16cc4440 | 7583 | * config/sol2.c (solaris_assemble_visibility): Remove obsolete URLs. |
07332e6d | 7584 | |
de888d90 JJ |
7585 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
7586 | ||
ba3ceb2d JJ |
7587 | PR middle-end/47917 |
7588 | * builtins.c (fold_builtin_snprintf): New function. | |
7589 | (fold_builtin_3): Call it for BUILT_IN_SNPRINTF. | |
7590 | (fold_builtin_4): Likewise. | |
7591 | ||
2e64f8b8 JJ |
7592 | PR middle-end/38878 |
7593 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Add | |
7594 | STRIP_NOPS on arg0 and arg1. When optimizing X +- C == X | |
7595 | and C - X == X also strip nops from +/-/p+ operand. | |
7596 | When optimizing -X == C, fold C to arg0's type. | |
7597 | ||
de888d90 JJ |
7598 | PR debug/47946 |
7599 | * dwarf2out.c (add_bit_offset_attribute): If bit_offset is negative, | |
7600 | emit it as add_AT_int instead of add_AT_unsigned. | |
7601 | ||
7602 | 2011-03-14 Tom Tromey <tromey@redhat.com> | |
f4e749b4 TT |
7603 | |
7604 | * unwind-dw2.c: Include sys/sdt.h if it exists. | |
7605 | (_Unwind_DebugHook): Use STAP_PROBE2. | |
7606 | * config.in, configure: Rebuild. | |
7607 | * configure.ac: Check for sys/sdt.h. | |
7608 | ||
d34abfd2 UB |
7609 | 2011-03-14 Uros Bizjak <ubizjak@gmail.com> |
7610 | ||
7611 | * config/i386/i386.md (ROUND_FLOOR): New constant. | |
7612 | (ROUND_CEIL): Ditto. | |
7613 | (ROUND_TRUNC): Ditto. | |
7614 | (ROUND_MXCSR): Ditto. | |
7615 | (ROUND_NO_EXC): Ditto. | |
7616 | (rint<mode>2): Use new defines instead of numerical constants. | |
7617 | (floor<mode>2): Ditto. | |
7618 | (ceil<mode>2): Ditto. | |
7619 | (btrunc<mode>2): Ditto. | |
7620 | * config/i386/i386-builtin-types.def: Define ROUND function type | |
7621 | aliases. | |
7622 | * config/i386/i386.c (enum ix86_builtins): Add | |
7623 | IX86_BUILTIN_{FLOOR,CEIL,TRUNC,RINT}{PS,PD}{,256} defines. | |
7624 | (struct builtin_description): Add | |
7625 | __builtin_ia32_{floor,ceil,trunc,rint}{pd,ps}{,256} descriptions. | |
7626 | (ix86_expand_sse_round): New static function. | |
7627 | (ix86_expand_args_builtin): Call ix86_expand_sse_round for ROUND | |
7628 | function types. | |
7629 | (ix86_builtin_vectorized_function): Handle | |
7630 | BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins. | |
7631 | ||
87f9e23d TT |
7632 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
7633 | ||
7634 | * c-parser.c (c_parser_asm_string_literal): Clear | |
7635 | warn_overlength_strings. | |
7636 | ||
b3ab9ea2 TT |
7637 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
7638 | ||
7639 | * c-parser.c (disable_extension_diagnostics): Save | |
7640 | warn_overlength_strings. | |
7641 | (restore_extension_diagnostics): Restore warn_overlength_strings. | |
7642 | ||
6bd73dd8 JJ |
7643 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
7644 | ||
7645 | * BASE-VER: Change to 4.7.0. | |
7646 | ||
7f4d6e1b RG |
7647 | 2011-03-14 Richard Guenther <rguenther@suse.de> |
7648 | ||
7649 | PR middle-end/48098 | |
7650 | * tree.c (build_vector_from_val): Adjust assert to requirements | |
7651 | and reality. | |
7652 | ||
c6104ef1 JJ |
7653 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
7654 | ||
7655 | PR bootstrap/48102 | |
d34abfd2 | 7656 | * graphite-cloog-compat.h (build_cloog_prog): Remove STATE parameter. |
c6104ef1 | 7657 | |
dfa95e19 AT |
7658 | 2011-03-14 Andreas Tobler <andreast@fgznet.ch> |
7659 | ||
f60c2554 | 7660 | * config/rs6000/freebsd.h (RELOCATABLE_NEEDS_FIXUP): Define in |
dfa95e19 AT |
7661 | terms of target_flags_explicit. Adjust copyright year. |
7662 | ||
7663 | * config.gcc: Add FreeBSD PowerPC soft-float libgcc bits. | |
7664 | * config/rs6000/t-freebsd: New file. Add override for | |
7665 | LIB2FUNCS_EXTRA. | |
7666 | ||
bb322018 CD |
7667 | 2011-03-13 Chris Demetriou <cgd@google.com> |
7668 | ||
7669 | * doc/invoke.texi (-fdiagnostics-show-option): Replace with... | |
7670 | (-fno-diagnostics-show-option): this, to reflect current default. | |
7671 | (-Werror=): Update text about -fno-diagnostics-show-option. | |
7672 | ||
12b1c80b PB |
7673 | 2011-03-12 Peter Bergner <bergner@vnet.ibm.com> |
7674 | ||
7675 | PR target/48053 | |
7676 | * config/rs6000/predicates.md (easy_vector_constant_add_self, | |
7677 | easy_vector_constant_msb): Do not handle V2DImode and V2DFmode. | |
7678 | * config/rs6000/rs6000.c (const_vector_elt_as_int): Add assert that | |
7679 | mode is not V2DImode or V2DFmode. | |
7680 | (vspltis_constant): Do not handle V2DImode and V2DFmode. | |
7681 | (rs6000_expand_vector_init): Replace copy_to_reg with copy_to_mode_reg. | |
7682 | * config/rs6000/rs6000.md (movdi_internal32): Allow setting VSX | |
7683 | registers to 0. | |
7684 | (movdi_internal64): Likewise. | |
7685 | ||
57d598f7 SP |
7686 | 2011-03-12 Sebastian Pop <sebastian.pop@amd.com> |
7687 | ||
7688 | PR tree-optimization/47127 | |
7689 | * graphite-clast-to-gimple.c (build_cloog_prog): Removed state | |
7690 | parameter. | |
7691 | (set_cloog_options): Same. | |
7692 | (scop_to_clast): Same. | |
7693 | (print_clast_stmt): Do not call cloog_state_malloc and | |
7694 | cloog_state_free. | |
7695 | (print_generated_program): Same. | |
7696 | (gloog): Same. | |
7697 | * graphite-clast-to-gimple.h (cloog_state): Declared. | |
7698 | (scop_to_clast): Adjust declaration. | |
7699 | * graphite.c (cloog_state): Defined here. | |
7700 | (graphite_initialize): Call cloog_state_malloc. | |
7701 | (graphite_finalize): Call cloog_state_free. | |
7702 | ||
f231b5ff JM |
7703 | 2011-03-11 Jason Merrill <jason@redhat.com> |
7704 | ||
7705 | * attribs.c (lookup_attribute_spec): Take const_tree. | |
7706 | * tree.h: Adjust. | |
7707 | ||
6a4e2bd5 JM |
7708 | 2011-03-11 Joseph Myers <joseph@codesourcery.com> |
7709 | ||
7710 | * config/sparc/sparc.c (sparc_option_override): Use | |
7711 | PROCESSOR_NIAGARA2 not PROCESSOR_NIAGARA for "niagara2". | |
7712 | ||
a758fd67 RG |
7713 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
7714 | ||
7715 | PR tree-optimization/48067 | |
7716 | * tree-ssa-math-opts.c (convert_mult_to_fma): Verify the | |
7717 | multiplication result will be only used once on the target | |
7718 | stmt. | |
7719 | ||
03dfda54 RG |
7720 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
7721 | ||
7722 | * doc/invoke.texi (max-inline-insns-single): Adjust default value. | |
7723 | ||
5f11a50a RG |
7724 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
7725 | ||
7726 | PR lto/48073 | |
7727 | * tree.c (find_decls_types_r): Do not walk types only reachable | |
7728 | from IDENTIFIER_NODEs. | |
7729 | ||
4074f163 JJ |
7730 | 2011-03-11 Jakub Jelinek <jakub@redhat.com> |
7731 | ||
7732 | PR middle-end/48044 | |
7733 | * ipa.c (cgraph_remove_unreachable_nodes): Enqueue | |
7734 | all vnode->force_output nodes as needed. | |
7735 | ||
30f7cdcd JM |
7736 | 2011-03-11 Jason Merrill <jason@redhat.com> |
7737 | ||
7738 | PR c++/48069 | |
7739 | * tree.c (type_hash_eq): Use COMPLETE_TYPE_P, not | |
7740 | COMPLETE_OR_UNBOUND_ARRAY_TYPE_P. | |
7741 | ||
62ecfeb8 MJ |
7742 | 2011-03-11 Martin Jambor <mjambor@suse.cz> |
7743 | ||
7744 | * cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of | |
7745 | cgraph_node. | |
7746 | ||
e89e03ab JJ |
7747 | 2011-03-11 Jakub Jelinek <jakub@redhat.com> |
7748 | ||
7749 | PR tree-optimization/48063 | |
7750 | * ipa-inline.c (cgraph_decide_inlining): Don't try to | |
7751 | inline functions called once if !tree_can_inline_p (node->callers). | |
7752 | ||
efbe978b | 7753 | 2011-03-11 Chen Liqin <liqin.gcc@gmail.com> |
9d6193a7 | 7754 | |
efbe978b EB |
7755 | * config.gcc (score-*-elf): Add extra_parts .., update tmake_file and |
7756 | extra_objs. | |
9d6193a7 CL |
7757 | * config/score/score3.c: Delete. |
7758 | * config/score/score3.h: Delete. | |
7759 | * config/score/mul-div.S: Delete. | |
7760 | * config/score/sfp-machine.h: Add new file. | |
7761 | * config/score/constraints.md: Add new file. | |
7762 | * config/score/t-score-softfp: Add new file. | |
efbe978b | 7763 | * config/score/t-score-elf: Remove score3.o, do not generate multilib. |
9d6193a7 CL |
7764 | * config/score/score7.c (score7_const_ok_for_letter_p): Delete. |
7765 | (score7_extra_constraint): Delete. | |
efbe978b | 7766 | (score7_option_override): Remove unused code. |
9d6193a7 CL |
7767 | * config/score/score.c: Remove score3 and score5 define and code. |
7768 | * config/score/score.h: Remove score3 and score5 define and code. | |
efbe978b | 7769 | * config/score/score.md: Remove score3 template and unusual insn. |
9d6193a7 CL |
7770 | * config/score/score.opt: Remove score3 and score5 options. |
7771 | ||
5de27cca JDA |
7772 | 2011-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
7773 | ||
7774 | * config/pa/pa-hpux10.h (TARGET_OS_CPP_BUILTINS): Define _REENTRANT | |
7775 | when _HPUX_SOURCE is defined. | |
7776 | (LIB_SPEC): Use -lc instead of -lc_r when -threads is specified. | |
7777 | ||
18d92053 JM |
7778 | 2011-03-10 Jason Merrill <jason@redhat.com> |
7779 | ||
7780 | PR c++/48029 | |
7781 | * stor-layout.c (layout_type): Don't set structural equality | |
7782 | on arrays of incomplete type. | |
7783 | * tree.c (type_hash_eq): Handle comparing them properly. | |
7784 | ||
67a2f76d JJ |
7785 | 2011-03-10 Jakub Jelinek <jakub@redhat.com> |
7786 | ||
7787 | PR debug/48043 | |
18d92053 | 7788 | * config/s390/s390.c (s390_delegitimize_address): Make sure the |
67a2f76d JJ |
7789 | result mode matches original rtl mode. |
7790 | ||
d845b2f9 NC |
7791 | 2011-03-10 Nick Clifton <nickc@redhat.com> |
7792 | ||
7793 | * config/rx/rx.md (bitset_in_memory, bitclr_in_memory: Fix timings. | |
39242686 | 7794 | (andsi3, andsi3_flags): Fix timings for three operand alternative. |
d845b2f9 | 7795 | |
db7ec035 JJ |
7796 | 2011-03-09 Jakub Jelinek <jakub@redhat.com> |
7797 | ||
7798 | PR rtl-optimization/47866 | |
7799 | * expr.c (store_field): If MEM_SCALAR_P (target), don't use | |
7800 | MEM_SET_IN_STRUCT_P (to_rtx, 1), just set MEM_IN_STRUCT_P (to_rtx) | |
7801 | if target wasn't scalar. | |
7802 | * function.c (assign_stack_temp_for_type): Assert that neither | |
7803 | MEM_SCALAR_P nor MEM_IN_STRUCT_P is set previously, set either | |
7804 | MEM_IN_STRUCT_P or MEM_SCALAR_P instead of using MEM_SET_IN_STRUCT_P | |
7805 | macro. | |
7806 | * rtl.h (MEM_SET_IN_STRUCT_P): Removed. | |
7807 | ||
5d304e47 AK |
7808 | 2011-03-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
7809 | ||
7810 | * config/s390/s390-protos.h (s390_label_align): New prototype. | |
7811 | * config/s390/s390.c (s390_label_align): New function. | |
7812 | * config/s390/s390.h (LABEL_ALIGN): New target macro definition. | |
7813 | ||
93b826f0 MM |
7814 | 2011-03-08 Michael Meissner <meissner@linux.vnet.ibm.com> |
7815 | ||
7816 | PR target/47755 | |
7817 | * config/rs6000/rs6000.c (easy_altivec_constant): Correctly handle | |
7818 | V2DI/V2DF constants. Only all 0's or all 1's are easy. | |
7819 | (output_vec_const_move): Ditto. | |
7820 | ||
ef78aed6 AS |
7821 | 2011-03-08 Anatoly Sokolov <aesok@post.ru> |
7822 | ||
7823 | * config/mips/mips.h (PREFERRED_RELOAD_CLASS): Remove macro. | |
7824 | * config/mips/mips-protos.h (mips_preferred_reload_class): Remove. | |
7825 | * config/mips/mips.c (mips_preferred_reload_class): Make static. | |
7826 | Change 'rclass' argument and result type to reg_class_t. | |
7827 | (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
7828 | ||
5f892aa0 GJL |
7829 | 2011-03-08 Georg-Johann Lay <avr@gjlay.de> |
7830 | ||
9e43ad68 UB |
7831 | * config/avr/avr.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. |
7832 | * config/avr/avr.c (TARGET_REGISTER_MOVE_COST) | |
7833 | (TARGET_MEMORY_MOVE_COST): Define. | |
7834 | (avr_register_move_cost, avr_memory_move_cost): New Functions. | |
5f892aa0 | 7835 | |
32bd2409 JJ |
7836 | 2011-03-08 Jakub Jelinek <jakub@redhat.com> |
7837 | ||
530a4800 JJ |
7838 | PR debug/47881 |
7839 | * ira.c (ira): Call df_analyze again if delete_trivially_dead_insns | |
7840 | removed anything. | |
7841 | ||
32bd2409 JJ |
7842 | PR tree-optimization/48022 |
7843 | * fold-const.c (fold_comparison): Don't call fold_overflow_warning | |
7844 | for EQ/NE_EXPR. | |
7845 | ||
c7148991 JJ |
7846 | 2011-03-07 Jakub Jelinek <jakub@redhat.com> |
7847 | ||
7848 | PR debug/47991 | |
7849 | * var-tracking.c (find_use_val): Return NULL for | |
7850 | cui->sets && cui->store_p BLKmode MEMs. | |
7851 | ||
43070a6e AS |
7852 | 2011-03-07 Anatoly Sokolov <aesok@post.ru> |
7853 | ||
7854 | * config/stormy16/stormy16.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): | |
7855 | Remove. | |
7856 | * config/stormy16/stormy16-protos.h (xstormy16_print_operand, | |
7857 | xstormy16_print_operand_address): Remove. | |
7858 | * config/stormy16/stormy16.c (xstormy16_print_operand, | |
7859 | xstormy16_print_operand_address): Make static. | |
7860 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
7861 | ||
efbe978b | 7862 | 2011-03-07 Pat Haugen <pthaugen@us.ibm.com> |
79eefb0d PH |
7863 | |
7864 | PR target/47862 | |
7865 | * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Define. | |
7866 | * config/rs6000/e500.h (HARD_REGNO_CALLER_SAVE_MODE): Undefine | |
7867 | before definition. | |
7868 | ||
cec8ac0b ZD |
7869 | 2011-03-07 Zdenek Dvorak <ook@ucw.cz> |
7870 | ||
7871 | PR bootstrap/48000 | |
7872 | * cfgloopmanip.c (fix_bb_placements): Return immediately | |
7873 | if FROM is BASE_LOOP's header. | |
7874 | ||
59527282 PW |
7875 | 2011-03-07 Paul Wögerer <paul_woegerer@mentor.com> |
7876 | ||
7877 | * gimplify.c (gimplify_function_tree): Fix building calls | |
7878 | to __builtin_return_address. | |
7879 | ||
617718f7 AM |
7880 | 2011-03-07 Alan Modra <amodra@gmail.com> |
7881 | ||
7882 | * config/rs6000/linux.h (TARGET_ASM_FILE_END): Don't define. | |
7883 | * config/rs6000/linux64.h (TARGET_ASM_FILE_END): Don't define. | |
7884 | * config/rs6000/sysv4.h (TARGET_ASM_FILE_END): Define. | |
7885 | * config/rs6000/rs6000-protos.h (init_cumulative_args): Add fndecl and | |
7886 | return_mode args. | |
7887 | * config/rs6000/rs6000.h (CUMULATIVE_ARGS): Add "escapes". | |
7888 | (INIT_CUMULATIVE_ARGS): Pass FNDECL, VOIDmode. | |
7889 | (INIT_CUMULATIVE_INCOMING_ARGS): Pass current_function_decl, VOIDmode. | |
7890 | (INIT_CUMULATIVE_LIBCALL_ARGS): Pass NULL_TREE, MODE. | |
7891 | * config/rs6000/rs6000.c | |
7892 | (rs6000_elf_end_indicate_exec_stack): Rename to.. | |
7893 | (rs6000_elf_file_end): ..this. Only call file_end_indicate_exec_stack | |
7894 | for POWERPC_LINUX. Move code emitting .gnu_attribute to here, from.. | |
7895 | (rs6000_file_start): ..here. | |
7896 | (rs6000_passes_float, rs6000_passes_vector, rs6000_returns_struct): New | |
7897 | file scope variables. | |
7898 | (call_ABI_of_interest): New function. | |
7899 | (init_cumulative_args): Set above vars when function return value | |
7900 | is a float, vector, or small struct. | |
7901 | (rs6000_function_arg_advance_1): Likewise for function args. | |
7902 | (rs6000_va_start): Set rs6000_passes_float if variable arg function | |
7903 | references float args. | |
7904 | ||
38528d50 MX |
7905 | 2011-03-07 Mingjie Xing <mingjie.xing@gmail.com> |
7906 | ||
7907 | * doc/cfg.texi: Remove "See" before @ref. | |
7908 | * doc/invoke.texi: Likewise. | |
7909 | ||
f42cf4f4 JM |
7910 | 2011-03-05 Jason Merrill <jason@redhat.com> |
7911 | ||
7912 | * doc/invoke.texi (C++ Dialect Options): Document ABI v5. | |
7913 | ||
804a304d AG |
7914 | 2011-03-05 Anthony Green <green@moxielogic.com> |
7915 | ||
7916 | * config.gcc (moxie-*-elf): Add newlib-stdint.h to tmfile. | |
7917 | ||
634ee309 ZD |
7918 | 2011-03-05 Zdenek Dvorak <ook@ucw.cz> |
7919 | ||
7920 | PR rtl-optimization/47899 | |
7921 | * cfgloopmanip.c (fix_bb_placements): Fix first argument | |
7922 | to flow_loop_nested_p when moving the loop upward. | |
7923 | ||
6fe471c8 RE |
7924 | 2011-03-05 Richard Earnshaw <rearnsha@arm.com> |
7925 | ||
7926 | PR target/47719 | |
7927 | * arm.md (movhi_insn_arch4): Accept any immediate constant. | |
7928 | ||
cc58ceee JJ |
7929 | 2011-03-05 Jakub Jelinek <jakub@redhat.com> |
7930 | ||
7931 | PR tree-optimization/47967 | |
7932 | * ipa-cp.c (build_const_val): Return NULL instead of creating | |
7933 | VIEW_CONVERT_EXPR for mismatching sizes. | |
7934 | (ipcp_create_replace_map): Return NULL if build_const_val failed. | |
7935 | (ipcp_insert_stage): If ipcp_create_replace_map returns NULL, | |
7936 | give up on versioning. | |
7937 | ||
ea868305 AM |
7938 | 2011-03-05 Alan Modra <amodra@gmail.com> |
7939 | ||
7940 | PR target/47986 | |
7941 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle | |
7942 | full cmodel medium/large lo_sum + high addresses. | |
7943 | ||
bc6ce334 AK |
7944 | 2011-03-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
7945 | ||
7946 | * config/s390/s390.c (s390_decompose_address): Reject non-literal | |
7947 | pool references in UNSPEC_LTREL_OFFSET. | |
7948 | ||
87e7b310 JH |
7949 | 2011-03-04 Jan Hubicka <jh@suse.cz> |
7950 | ||
7951 | PR lto/47497 | |
7952 | * lto-symtab.c (lto_cgraph_replace_node): Do not set thunk.alias. | |
7953 | (lto_symtab_merge_cgraph_nodes_1): Update thunk.alias pointers here. | |
d34abfd2 UB |
7954 | * cgraph.h (cgraph_same_body_alias, cgraph_add_thunk): |
7955 | Add node pointers. | |
87e7b310 JH |
7956 | * cgraph.c (cgraph_same_body_alias_1, cgraph_same_body_alias, |
7957 | cgraph_add_thunk): Add node pointers. | |
7958 | * lto-cgraph.c (lto_output_node): Verify that thunks&aliases are | |
7959 | associated to right node. | |
7960 | (input_node): Update use of cgraph_same_body_alias | |
7961 | and cgraph_add_thunk. | |
7962 | ||
d9c64246 CF |
7963 | 2011-03-04 Changpeng Fang <changpeng.fang@amd.com> |
7964 | ||
7965 | * config/i386/i386.opt (mprefer-avx128): New flag. | |
d34abfd2 UB |
7966 | * config/i386/i386.c (ix86_preferred_simd_mode): Prefer 128-bit AVX |
7967 | modes when the flag -mprefer-avx128 is on. | |
d9c64246 | 7968 | |
08707076 RS |
7969 | 2011-03-04 Richard Sandiford <richard.sandiford@linaro.org> |
7970 | ||
7971 | * dwarf2out.c (compare_loc_operands): Fix address handling. | |
7972 | ||
52517c81 AM |
7973 | 2011-03-04 Alan Modra <amodra@gmail.com> |
7974 | ||
7975 | * tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment. | |
7976 | ||
b147c5b9 RG |
7977 | 2011-03-04 Richard Guenther <rguenther@suse.de> |
7978 | ||
7979 | PR middle-end/47968 | |
7980 | * expmed.c (extract_bit_field_1): Prefer vector modes that | |
7981 | vec_extract patterns can handle. | |
7982 | ||
8750672f RG |
7983 | 2011-03-04 Richard Guenther <rguenther@suse.de> |
7984 | ||
7985 | PR middle-end/47975 | |
7986 | * optabs.c (optab_for_tree_code): Do not use VECTOR_MODE_P. | |
7987 | ||
9eac0f2a RH |
7988 | 2011-03-04 Richard Henderson <rth@redhat.com> |
7989 | ||
7990 | * explow.c (emit_stack_save): Remove 'after' parameter. | |
7991 | (emit_stack_restore): Likewise. | |
7992 | * expr.h: Update to match. | |
7993 | * builtins.c, calls.c, stmt.c: Likewise. | |
7994 | * config/alpha/alpha.md, config/avr/avr.md: Likewise. | |
7995 | * config/mips/mips.md, config/pa/pa.md, config/vax/vax.md: Likewise. | |
7996 | * function.c (expand_function_end): Insert the emit_stack_save | |
7997 | sequence before parm_birth_insn instead of after. | |
7998 | ||
dfee1406 UB |
7999 | 2011-03-03 Uros Bizjak <ubizjak@gmail.com> |
8000 | ||
8001 | * config/i386/sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX. | |
8002 | (ssse3_pmaddubsw128): Ditto. | |
8003 | (ssse3_pmaddubsw): Ditto. | |
8004 | ||
f1d4c3de SE |
8005 | 2011-03-03 Steve Ellcey <sje@cup.hp.com> |
8006 | ||
8007 | * config/ia64/t-hpux: Add $(srcdir)/unwind-c.c to LIB2ADDEH | |
8008 | ||
71f3a3f5 JJ |
8009 | 2011-03-03 Jakub Jelinek <jakub@redhat.com> |
8010 | ||
423ed416 JJ |
8011 | PR c/47963 |
8012 | * gimplify.c (omp_add_variable): Only call omp_notice_variable | |
8013 | on TYPE_SIZE_UNIT if it is a DECL. | |
8014 | ||
71f3a3f5 JJ |
8015 | PR debug/47283 |
8016 | * cfgexpand.c (expand_debug_expr) <case MEM_REF>: If MEM_REF | |
8017 | first operand is not is_gimple_mem_ref_addr, try to fold it. | |
8018 | If the operand still isn't is_gimple_mem_ref_addr, clear | |
8019 | MEM_EXPR on op0. | |
8020 | ||
4b1a5c0d RG |
8021 | 2011-03-03 Richard Guenther <rguenther@suse.de> |
8022 | ||
8023 | PR middle-end/47283 | |
8024 | * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Make code | |
8025 | match comment. | |
8026 | (refs_may_alias_p_1): For release branches return true if | |
8027 | we are confused by our input. | |
8028 | ||
b46616fd AK |
8029 | 2011-03-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
8030 | ||
8031 | * config/s390/s390.c (s390_function_value): Rename to ... | |
8032 | (s390_function_and_libcall_value): ... this. | |
8033 | (s390_function_value): New function. | |
8034 | (s390_libcall_value): New function. | |
dfee1406 | 8035 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Define target hooks. |
b46616fd AK |
8036 | * config/s390/s390.h (FUNCTION_VALUE, LIBCALL_VALUE): Remove |
8037 | target macro definitions. | |
8038 | * config/s390/s390-protos.h (s390_function_value): Remove prototype. | |
8039 | ||
46d8fabb JM |
8040 | 2011-03-02 Joseph Myers <joseph@codesourcery.com> |
8041 | ||
8042 | * config/i386/freebsd64.h (CC1_SPEC): Define. | |
8043 | * config/i386/linux64.h (CC1_SPEC): Define. | |
8044 | * config/i386/x86-64.h (CC1_SPEC): Don't define. | |
8045 | ||
6b1ce545 AS |
8046 | 2011-03-02 Anatoly Sokolov <aesok@post.ru> |
8047 | ||
8048 | * config/stormy16/stormy16.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): | |
8049 | Remove. | |
8050 | * config/stormy16/stormy16.c: Include reload.h. | |
8051 | (xstormy16_memory_move_cost): New function. | |
8052 | (TARGET_MEMORY_MOVE_COST): Define. | |
8053 | ||
34161e98 RS |
8054 | 2011-03-02 Richard Sandiford <richard.sandiford@linaro.org> |
8055 | ||
8056 | PR rtl-optimization/47925 | |
8057 | * cse.c (count_reg_usage): Don't ignore the SET_DEST of instructions | |
8058 | with side effects. Remove the more-specific check for volatile asms. | |
8059 | ||
f60a97cf AM |
8060 | 2011-03-02 Alan Modra <amodra@gmail.com> |
8061 | ||
8062 | PR target/47935 | |
8063 | * config/rs6000/predicates.md (lwa_operand): Check cmodel medium | |
8064 | toc relative addresses for valid offsets. | |
8065 | ||
f2ca11ca RG |
8066 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
8067 | ||
8068 | PR tree-optimization/47890 | |
8069 | * tree-vect-loop.c (get_initial_def_for_induction): Set | |
8070 | related stmt properly. | |
8071 | ||
7a00d9ea RG |
8072 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
8073 | ||
8074 | PR lto/47924 | |
8075 | * lto-streamer.c (lto_record_common_node): Also register | |
8076 | the canonical type. | |
8077 | ||
06c7edcc RG |
8078 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
8079 | ||
8080 | PR lto/46911 | |
8081 | * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers): | |
8082 | Do not stream DECL_ABSTRACT_ORIGIN. | |
8083 | (lto_input_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION, | |
8084 | BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN. | |
8085 | * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): | |
8086 | Do not stream DECL_ABSTRACT_ORIGIN. | |
8087 | (lto_output_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION, | |
8088 | BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN. | |
8089 | ||
998871e9 AS |
8090 | 2011-02-28 Anatoly Sokolov <aesok@post.ru> |
8091 | ||
8092 | * config/stormy16/stormy16.h (FUNCTION_VALUE, LIBCALL_VALUE, | |
8093 | FUNCTION_VALUE_REGNO_P): Remove. | |
b2e2ea67 | 8094 | * config/stormy16/stormy16-protos.h (xstormy16_function_value): Remove. |
998871e9 AS |
8095 | * config/stormy16/stormy16.c (xstormy16_function_value): Make static. |
8096 | Add 'outgoing' argument. | |
8097 | (xstormy16_libcall_value, xstormy16_function_value_regno_p): New | |
8098 | function. | |
8099 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
8100 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
8101 | ||
94369251 KT |
8102 | 2011-02-28 Kai Tietz <kai.tietz@onevision.com> |
8103 | ||
8104 | PR debug/28047 | |
8105 | * dwarf2out.c (file_table_eq): Use filename_cmp instead of strcmp. | |
8106 | (lookup_filename): Likewise. | |
b2e2ea67 | 8107 | * final.c (remap_debug_filename): Use filename_ncmp instead of strncmp. |
94369251 | 8108 | |
80a832cd JJ |
8109 | 2011-02-28 Bernd Schmidt <bernds@codesourcery.com> |
8110 | Jakub Jelinek <jakub@redhat.com> | |
8111 | ||
8112 | PR middle-end/47893 | |
8113 | * rtl.h (ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD): Define. | |
8114 | (assign_stack_local_1): Change last argument type to int. | |
8115 | * function.c (assign_stack_local_1): Replace reduce_alignment_ok | |
8116 | argument with kind. If bit ASLK_RECORD_PAD is not set in it, | |
b2e2ea67 | 8117 | don't record padding space into frame_space_list nor use those areas. |
80a832cd JJ |
8118 | (assign_stack_local): Adjust caller. |
8119 | (assign_stack_temp_for_type): Call assign_stack_local_1 instead | |
8120 | of assign_stack_local, pass 0 as last argument. | |
8121 | * caller-save.c (setup_save_areas): Adjust assign_stack_local_1 | |
8122 | callers. | |
8123 | ||
1b500976 JJ |
8124 | 2011-02-28 Jakub Jelinek <jakub@redhat.com> |
8125 | ||
f61c6f34 JJ |
8126 | PR debug/47283 |
8127 | * cfgexpand.c (convert_debug_memory_address): Add AS parameter. | |
8128 | Use target address_mode and pointer_mode hooks instead of hardcoded | |
8129 | Pmode and ptr_mode. Handle some simple cases of extending if | |
8130 | POINTERS_EXTEND_UNSIGNED < 0. | |
8131 | (expand_debug_expr) <case MEM_REF, INDIRECT_REF, TARGET_MEM_REF>: | |
8132 | Call convert_debug_memory_address. | |
8133 | (expand_debug_expr) <case ADDR_EXPR>: Pass as to | |
8134 | convert_debug_memory_address. | |
8135 | ||
1b500976 JJ |
8136 | PR middle-end/46790 |
8137 | * configure.ac (HAVE_LD_EH_GC_SECTIONS_BUG): New test. | |
8138 | * configure: Regenerated. | |
8139 | * config.in: Regenerated. | |
8140 | * varasm.c (default_function_section): Return NULL | |
b2e2ea67 | 8141 | if HAVE_LD_EH_GC_SECTIONS_BUG and decl has implicit section name. |
1b500976 | 8142 | |
2f2935b6 MJ |
8143 | 2011-02-28 Martin Jambor <mjambor@suse.cz> |
8144 | ||
8145 | * ipa-inline.c (cgraph_decide_inlining_of_small_functions): Fix | |
8146 | the description to match the printed values. | |
8147 | ||
474086eb RG |
8148 | 2011-02-28 Richard Guenther <rguenther@suse.de> |
8149 | ||
8150 | * tree-inline.c (tree_function_versioning): Set BLOCK_SUPERCONTEXT | |
8151 | of the copied scope tree. | |
8152 | ||
15bf6f3a RW |
8153 | 2011-02-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
8154 | ||
8155 | * doc/extend.texi (Function Attributes): Avoid deeply (and | |
8156 | wrongly) nested tables. | |
8157 | ||
f6b439c9 JJ |
8158 | 2011-02-27 Jakub Jelinek <jakub@redhat.com> |
8159 | ||
8160 | PR middle-end/47903 | |
8161 | * real.c (real_arithmetic) <case PLUS_EXPR, MINUS_EXPR, | |
8162 | MULT_EXPR, RDIV_EXPR>: Clear padding bits in *r first if | |
8163 | r isn't op0 nor op1. | |
8164 | ||
1d8ca2c7 GJL |
8165 | 2011-02-23 Georg-Johann Lay <avr@gjlay.de> |
8166 | ||
8167 | * config/avr/avr.md: Remove magic comment for emacs. | |
8168 | ||
593fca4b GJL |
8169 | 2011-02-23 Georg-Johann Lay <avr@gjlay.de> |
8170 | ||
8171 | PR target/45261 | |
8172 | * config/avr/avr.c (avr_option_override): Use error on bad options. | |
8173 | (avr_help): New function. | |
8174 | (TARGET_HELP): Define. | |
8175 | ||
6609216e GJL |
8176 | 2011-02-22 Georg-Johann Lay <avr@gjlay.de> |
8177 | ||
8178 | PR target/42240 | |
8179 | * config/avr/avr.c (avr_cannot_modify_jumps_p): New function. | |
8180 | (TARGET_CANNOT_MODIFY_JUMPS_P): Define. | |
8181 | ||
03d458af GP |
8182 | 2011-02-26 Gerald Pfeifer <gerald@pfeifer.com> |
8183 | ||
8184 | * doc/invoke.texi (ARC Options): Use CPU instead of cpu. | |
8185 | (ARM Options): Ditto. | |
8186 | (i386 and x86-64 Options): Ditto. | |
8187 | (RX Options): Ditto. | |
8188 | (SPARC Options): Ditto. | |
8189 | ||
1c379b78 TC |
8190 | 2011-02-26 Tijl Coosemans <tijl@coosemans.org> |
8191 | ||
8192 | * config.gcc (i386-*-freebsd*): Make i486 the default arch on | |
8193 | FreeBSD 6 and later. Generally use cpu generic. | |
8194 | ||
d5ed058c | 8195 | 2011-02-25 Gerald Pfeifer <gerald@pfeifer.com> |
b2e2ea67 | 8196 | |
d5ed058c GP |
8197 | * doc/cpp.texi: Update copyright years. |
8198 | ||
509d65dd | 8199 | 2011-02-25 Sebastien Bourdeauducq <sebastien@milkymist.org> |
308d39cd | 8200 | |
509d65dd | 8201 | PR target/46898 |
308d39cd SB |
8202 | * config/lm32/lm32.md (ashrsi3): Added needed variable. |
8203 | ||
509d65dd | 8204 | 2011-02-25 Jon Beniston <jon@beniston.com> |
308d39cd | 8205 | |
509d65dd | 8206 | PR target/46898 |
308d39cd SB |
8207 | * config/lm32/lm32.h (INCOMING_RETURN_ADDR_RTX): New. |
8208 | * config/lm32/lm32.md (ashlsi3): Remove unused variable. | |
8209 | * config/lm32/lm32.c (TARGET_EXCEPT_UNWIND_INFO): New. | |
8210 | (lm32_block_move_inline): Add type cast to remove warning. | |
b2e2ea67 | 8211 | (lm32_expand_prologue): Generate fp in a way compatible with dwarf2out. |
308d39cd SB |
8212 | (gen_int_relational): Move declarations to start of function. |
8213 | ||
822ba6d7 EB |
8214 | 2011-02-25 Eric Botcazou <ebotcazou@adacore.com> |
8215 | ||
8216 | PR tree-optimization/45470 | |
8217 | * tree-vect-data-refs.c (vect_analyze_data_refs): Fail if a statement | |
8218 | can throw internally only. | |
8219 | * tree-vect-stmts.c (vectorizable_call): Likewise. | |
8220 | ||
ef795fc2 AS |
8221 | 2011-02-24 Anatoly Sokolov <aesok@post.ru> |
8222 | ||
8223 | * config/stormy16/stormy16.h (PREFERRED_RELOAD_CLASS, | |
8224 | PREFERRED_OUTPUT_RELOAD_CLASS): Remove. | |
8225 | * config/stormy16/stormy16-protos.h | |
8226 | (xstormy16_preferred_reload_class): Remove. | |
8227 | * config/stormy16/stormy16.c (xstormy16_preferred_reload_class): Make | |
8228 | static. Change 'rclass' argument and return type to reg_class_t. | |
8229 | (TARGET_PREFERRED_RELOAD_CLASS, | |
8230 | TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. | |
8231 | ||
1c3277ee RG |
8232 | 2011-02-24 Richard Guenther <rguenther@suse.de> |
8233 | ||
8234 | * lto-streamer-in.c (input_bb): Do not find referenced vars | |
8235 | in debug statements. | |
8236 | ||
67e18edb JM |
8237 | 2011-02-23 Jason Merrill <jason@redhat.com> |
8238 | ||
8239 | * common.opt (fabi-version): Document v5 and v6. | |
8240 | ||
b14fad9d RG |
8241 | 2011-02-23 Richard Guenther <rguenther@suse.de> |
8242 | ||
8243 | PR tree-optimization/47849 | |
8244 | * tree-if-conv.c (main_tree_if_conversion): Free postdom info. | |
8245 | ||
7fcf46f5 JZ |
8246 | 2011-02-23 Jie Zhang <jie@codesourcery.com> |
8247 | ||
8248 | * opts-common.c (decode_cmdline_option): Print empty string | |
8249 | argument as "" in decoded->orig_option_with_args_text. | |
8250 | * gcc.c (execute): Print empty string argument as "" | |
8251 | in the verbose output. | |
8252 | (do_spec_1): Keep empty string argument. | |
8253 | ||
f85b70fd NF |
8254 | 2011-02-23 Nathan Froyd <froydnj@codesourcery.com> |
8255 | ||
8256 | * config.gcc: Declare score-* and crx-* obsolete. | |
8257 | ||
b152a615 JZ |
8258 | 2011-02-23 Jie Zhang <jie@codesourcery.com> |
8259 | ||
8260 | PR rtl-optimization/47763 | |
8261 | * web.c (web_main): Ignore naked clobber when replacing register. | |
8262 | ||
bb6e77bc AS |
8263 | 2011-02-22 Anatoly Sokolov <aesok@post.ru> |
8264 | ||
8265 | * config/stormy16/stormy16.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): | |
8266 | Remove. | |
8267 | ||
68bf6491 SP |
8268 | 2011-02-22 Sebastian Pop <sebastian.pop@amd.com> |
8269 | ||
8270 | PR doc/47848 | |
8271 | * doc/invoke.texi: Do not mention -ftree-loop-if-convert-memory-writes. | |
8272 | ||
88ee1fc7 MS |
8273 | 2011-02-22 Mike Stump <mikestump@comcast.net> |
8274 | ||
8275 | * acinclude.m4 (gcc_cv_gas_vers): Add -arch ppc for probing darwin | |
8276 | assembler. | |
8277 | * configure: Regenerate. | |
8278 | ||
6042d1dd CLT |
8279 | 2011-02-21 Chung-Lin Tang <cltang@codesourcery.com> |
8280 | ||
8281 | PR rtl-optimization/46002 | |
8282 | * ira-color.c (update_copy_costs): Change class intersection | |
8283 | test to reg_class_contents[] test of 'hard_regno'. | |
8284 | ||
7de97f9e JM |
8285 | 2011-02-21 Joseph Myers <joseph@codesourcery.com> |
8286 | ||
8287 | * config/alpha/osf5.opt (mno-mips-tfile): Mark as Target rather | |
8288 | than Driver option. | |
8289 | * config/hpux11.opt (mt): Likewise. | |
8290 | * config/microblaze/microblaze.opt (mxl-mode-xilkernel): Likewise. | |
8291 | * config/rs6000/xilinx.opt (mno-clearbss, mppcperflib): Likewise. | |
8292 | * config/vax/elf.opt (mno-asm-pic): Likewise. | |
8293 | * config/vms/vms.opt (map, mvms-return-codes): Likewise. | |
8294 | ||
d1d46f9f MS |
8295 | 2011-02-21 Mike Stump <mikestump@comcast.net> |
8296 | ||
8297 | PR target/47822 | |
8298 | * config/darwin-protos.h (darwin_init_cfstring_builtins): Return a | |
8299 | tree so we can get save the type. | |
8300 | * config/i386/darwin.h (SUBTARGET_INIT_BUILTINS): Reserve builtin slot | |
8301 | for CFString instead of trying to use past the end of the builtins. | |
8302 | * config/i386/i386.c (IX86_BUILTIN_CFSTRING): Likewise. | |
8303 | * config/rs6000/rs6000-builtin.def (RS6000_BUILTIN_CFSTRING): Likewise. | |
8304 | * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): Likewise. | |
8305 | * config/darwin.c (DARWIN_BUILTIN_CFSTRINGMAKECONSTANTSTRING): | |
8306 | Rename to darwin_builtin_cfstring. | |
8307 | (darwin_init_cfstring_builtins): Return the built type. | |
8308 | ||
23e0d930 UB |
8309 | 2011-02-21 Uros Bizjak <ubizjak@gmail.com> |
8310 | ||
8311 | PR target/47840 | |
8312 | * config/i386/avxintrin.h (_mm256_insert_epi32): Use _mm_insert_epi32. | |
8313 | (_mm256_insert_epi64): Use _mm_insert_epi64. | |
8314 | ||
192997cf AS |
8315 | 2011-02-21 Anatoly Sokolov <aesok@post.ru> |
8316 | ||
8317 | * config/stormy16/stormy16.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
8318 | * config/stormy16/stormy16-protos.h | |
8319 | (xstormy16_mode_dependent_address_p): Remove. | |
8320 | * config/stormy16/stormy16.c (xstormy16_mode_dependent_address_p): | |
8321 | Make static. Change return type to bool. Change argument type to | |
8322 | const_rtx. Remove dead code. | |
8323 | (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
8324 | ||
e292d003 RG |
8325 | 2011-02-21 Richard Guenther <rguenther@suse.de> |
8326 | ||
8327 | PR lto/47820 | |
8328 | * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers): | |
8329 | Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs. | |
8330 | (lto_input_ts_block_tree_pointers): Hook a BLOCK into the | |
8331 | TUs context. | |
23e0d930 | 8332 | * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): |
e292d003 RG |
8333 | Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs. |
8334 | ||
77f846e9 RG |
8335 | 2011-02-20 Richard Guenther <rguenther@suse.de> |
8336 | ||
8337 | PR lto/47822 | |
8338 | * tree.c (free_lang_data_in_decl): Clean builtins from | |
8339 | the TU decl BLOCK_VARS. | |
23e0d930 | 8340 | |
b2cddfc8 AO |
8341 | 2011-02-19 Alexandre Oliva <aoliva@redhat.com> |
8342 | ||
8343 | PR debug/47620 | |
8344 | PR debug/47630 | |
8345 | * haifa-sched.c (fix_tick_ready): Skip tick computation | |
8346 | for debug insns. | |
8347 | ||
becf4c11 RG |
8348 | 2011-02-19 Richard Guenther <rguenther@suse.de> |
8349 | ||
8350 | PR lto/47647 | |
8351 | * lto-streamer-in.c (lto_input_ts_decl_minimal_tree_pointers): | |
8352 | Remove lazy BLOCK_VARS streaming. | |
8353 | (lto_input_ts_block_tree_pointers): Likewise. | |
8354 | * lto-streamer-out.c (lto_output_ts_block_tree_pointers): Likewise. | |
8355 | ||
27f98305 JM |
8356 | 2011-02-19 Joseph Myers <joseph@codesourcery.com> |
8357 | ||
8358 | * config.gcc (i[34567]86-pc-msdosdjgpp*): Use i386/djgpp-stdint.h. | |
8359 | ||
064bf3f4 JM |
8360 | 2011-02-19 Joseph Myers <joseph@codesourcery.com> |
8361 | ||
8362 | * config/i386/biarch32.h, config/i386/mach.h, | |
8363 | config/rs6000/aix.opt, config/sh/superh64.h: Remove. | |
8364 | ||
9215ddc3 JJ |
8365 | 2011-02-19 Jakub Jelinek <jakub@redhat.com> |
8366 | ||
8367 | PR target/47800 | |
8368 | * config/i386/i386.md (peephole2 for shift and plus): Use | |
8369 | operands[1] original mode in the first insn. | |
8370 | ||
8b021004 MS |
8371 | 2011-02-18 Mike Stump <mikestump@comcast.net> |
8372 | ||
65ded153 | 8373 | * config/t-darwin (TM_H): Add dependency on darwin-sections.def. |
8b021004 | 8374 | |
f84ae14c JH |
8375 | 2011-02-18 Jan Hubicka <jh@suse.cz> |
8376 | ||
8377 | PR middle-end/47788 | |
65ded153 EB |
8378 | * ipa-inline.c (compute_inline_parameters): Set disregard_inline_limits |
8379 | to zero when the function is not inlinable at all. | |
f84ae14c | 8380 | |
eddabc80 JDA |
8381 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
8382 | ||
8383 | * config.gcc (hppa[12]*-*-hpux11*): Set extra_parts. | |
8384 | * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, | |
8385 | pthread_mutex_unlock, pthread_once): Reinstate pthread stubs. | |
8386 | * config/pa/t-pa-hpux11: Add rules to build pthread stubs. | |
8387 | * config/pa/t-pa64: Likewise. | |
8388 | * config/pa/pa-hpux11.h (LINK_GCC_C_SEQUENCE_SPEC): Define. | |
8389 | ||
ca3da783 JJ |
8390 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
8391 | ||
8392 | PR driver/47787 | |
8393 | * gcc.c (default_compilers): Clear combinable field for "@cpp-output". | |
8394 | ||
430aa868 JDA |
8395 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
8396 | ||
8397 | PR target/47792 | |
8398 | * gthr-dce.h (__gthread_mutx_destroy): Fix typo in name. | |
8399 | ||
4bf7ff7e AS |
8400 | 2011-02-18 Anatoly Sokolov <aesok@post.ru> |
8401 | ||
8402 | * config/m32r/m32r.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, | |
8403 | RTX_OK_FOR_BASE_P, RTX_OK_FOR_OFFSET_P, LEGITIMATE_OFFSET_ADDRESS_P, | |
8404 | LEGITIMATE_LO_SUM_ADDRESS_P, LOAD_POSTINC_P, STORE_PREINC_PREDEC_P, | |
8405 | GO_IF_LEGITIMATE_ADDRESS): Remove macros. | |
8406 | * config/m32r/m32r.c (TARGET_LEGITIMATE_ADDRESS_P): Define. | |
8407 | (m32r_rtx_ok_for_base_p, m32r_rtx_ok_for_offset_p, | |
8408 | m32r_legitimate_offset_addres_p, m32r_legitimate_lo_sum_addres_p, | |
8409 | m32r_load_postinc_p, m32r_store_preinc_predec_p, | |
8410 | m32r_legitimate_address_p): New functions. | |
8411 | * config/m32r/constraints.md (constraint "S"): Don't use | |
8412 | STORE_PREINC_PREDEC_P. | |
8413 | (constraint "U"): Don't use LOAD_POSTINC_P. | |
8414 | ||
7efcf910 CLT |
8415 | 2011-02-18 Chung-Lin Tang <cltang@codesourcery.com> |
8416 | ||
8417 | PR rtl-optimization/46178 | |
8418 | * ira.c (setup_hard_regno_class): Use ira_class_translate[] to | |
8419 | compute ira_hard_regno_cover_class[]. | |
8420 | ||
237d6259 RG |
8421 | 2011-02-18 Richard Guenther <rguenther@suse.de> |
8422 | ||
8423 | PR lto/47798 | |
8424 | * lto-streamer.h (lto_global_var_decls): Declare. | |
8425 | * lto-streamer-in.c (lto_register_var_decl_in_symtab): Register | |
8426 | statics for global var processing. | |
8427 | ||
12d80acc RG |
8428 | 2011-02-18 Richard Guenther <rguenther@suse.de> |
8429 | ||
8430 | PR tree-optimization/47737 | |
8431 | * tree-ssa-loop-im.c (extract_true_false_args_from_phi): Fix | |
8432 | edge dominance check. | |
8433 | ||
abfea58d JJ |
8434 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
8435 | ||
8436 | PR debug/47780 | |
8437 | * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Call copy_rtx to | |
8438 | avoid invalid rtx sharing. | |
8439 | ||
f73c8882 GP |
8440 | 2011-02-18 Gerald Pfeifer <gerald@pfeifer.com> |
8441 | ||
8442 | * doc/cpp.texi (Obsolete Features): Add background on the | |
8443 | origin of assertions. | |
8444 | ||
d764a8e6 IS |
8445 | 2011-02-17 Iain Sandoe <iains@gcc.gnu.org> |
8446 | ||
8447 | * config/darwin-c.c (darwin_cpp_builtins): Define __OBJC2__ for | |
23e0d930 | 8448 | objc_abi == 2. |
d764a8e6 IS |
8449 | * config/darwin.c (output_objc_section_asm_op): Added support for |
8450 | ABI v1 and v2. | |
8451 | (is_objc_metadata): New. | |
8452 | (darwin_objc2_section): New. | |
8453 | (darwin_objc1_section): New. | |
8454 | (machopic_select_section): Added support for ABI v1 and v2. | |
8455 | (darwin_emit_objc_zeroed): New. | |
8456 | (darwin_output_aligned_bss): Detect objc metadata and treat it | |
8457 | appropriately. | |
8458 | (darwin_asm_output_aligned_decl_common): Same. | |
8459 | (darwin_asm_output_aligned_decl_local): Same. | |
8460 | * config/darwin-sections.def: Updated for ABI v1 and v2. | |
8461 | * config/darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): When | |
8462 | compiling Objective-C code for the NeXT runtime, default to using | |
8463 | ABI version 0 for 32-bit, and version 2 for 64-bit. | |
8464 | ||
0a8134ca JM |
8465 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
8466 | ||
8467 | * common.opt (optimize_fast): New Variable. | |
8468 | * opts.c (default_options_optimization): Use opts->x_optimize_fast | |
8469 | instead of local variable ofast. | |
8470 | ||
0a256240 NP |
8471 | 2011-02-17 Nicola Pero <nicola.pero@meta-innovation.com> |
8472 | ||
8473 | * doc/invoke.texi (fobjc-abi-version): Documented. | |
8474 | (fobjc-nilcheck): Documented. | |
8475 | (fno-nil-receiver): Updated documentation to refer to the NeXT ABI | |
8476 | version. | |
8477 | ||
fa381cb2 JM |
8478 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
8479 | ||
8480 | PR driver/47390 | |
8481 | * common.opt (export-dynamic): New Driver option. | |
8482 | * gcc.c (LINK_COMMAND_SPEC): Add comment about %{e*}. | |
8483 | ||
5437eaa6 JM |
8484 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
8485 | ||
8486 | * config/rx/rx.h (LIB_SPEC): Match -msim not -msim*. | |
8487 | ||
bb7e6d55 AO |
8488 | 2011-02-17 Alexandre Oliva <aoliva@redhat.com> |
8489 | Jan Hubicka <jh@suse.cz> | |
8490 | ||
8491 | PR debug/47106 | |
8492 | PR debug/47402 | |
8493 | * cfgexpand.c (account_used_vars_for_block): Remove. | |
8494 | (estimated_stack_frame_size): Use referenced vars. | |
8495 | * tree-inline.c (remap_decl): Only mark VAR_DECLs as referenced | |
8496 | that were referenced in the original function. Test src_fn | |
8497 | rather than cfun. Drop redundant get_var_ann. | |
8498 | (setup_one_parameter): Drop redundant get_var_ann. | |
8499 | (declare_return_variable): Likewise. | |
8500 | (copy_decl_for_dup_finish): Mark VAR_DECLs referenced in src_fn. | |
8501 | (copy_arguments_for_versioning): Drop redundant get_var_ann. | |
8502 | * ipa-inline.c (compute_inline_parameters): Do not compute | |
8503 | disregard_inline_limits here. | |
bb7e6d55 AO |
8504 | (compute_inlinable_for_current, pass_inlinable): New. |
8505 | (pass_inline_parameters): Require PROP_referenced_vars. | |
8506 | * cgraphunit.c (cgraph_process_new_functions): Don't run | |
23e0d930 | 8507 | compute_inline_parameters explicitly unless function is in SSA form. |
bb7e6d55 AO |
8508 | (cgraph_analyze_function): Set .disregard_inline_limits. |
8509 | * tree-sra.c (convert_callers): Compute inliner parameters | |
8510 | only for functions already in SSA form. | |
8511 | ||
f181a8a7 JM |
8512 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
8513 | ||
8514 | * config/sparc/sparc.h (CPP_ENDIAN_SPEC): Don't handle | |
8515 | -mlittle-endian-data. | |
8516 | ||
c6869789 JM |
8517 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
8518 | ||
8519 | * config/sparc/linux64.h (OPTION_DEFAULT_SPECS): Match -mfpu and | |
8520 | -mno-fpu, not -fpu and -no-fpu. | |
8521 | * config/sparc/sol2-bi.h (OPTION_DEFAULT_SPECS): Likewise. | |
8522 | * config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Likewise. | |
8523 | ||
fbf4bfd3 UB |
8524 | 2011-02-17 Uros Bizjak <ubizjak@gmail.com> |
8525 | ||
8526 | PR target/43653 | |
8527 | * config/i386/i386.c (ix86_secondary_reload): Handle SSE | |
8528 | input reload with PLUS RTX. | |
8529 | ||
70be5dc7 JM |
8530 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
8531 | ||
8532 | * config/mips/mips.opt (mno-mdmx): Use Var(TARGET_MDMX, 0) instead | |
8533 | of InverseVar(MDMX). | |
8534 | ||
30b1646e JM |
8535 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
8536 | ||
8537 | * config/sh/embed-elf.h (LIBGCC_SPEC): Match -m4-340 instead of | |
8538 | --m4-340. | |
8539 | ||
ab7b71e9 JM |
8540 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
8541 | ||
8542 | * config/mn10300/mn10300.opt (mno-crt0): New. | |
8543 | ||
466f3f08 JM |
8544 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
8545 | ||
8546 | * config/m68k/uclinux.opt (static-libc): New Driver option. | |
8547 | ||
8226cd7b JM |
8548 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
8549 | ||
8550 | * config/m32c/m32c.h (LIB_SPEC): Match -msim not -msim*. | |
8551 | ||
45cab1d7 JM |
8552 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
8553 | ||
8554 | * config/lm32/lm32.h (ASM_SPEC): Use %{muser-enabled} instead of | |
8555 | %{muser-extend-enabled}. | |
8556 | ||
65aab64f RG |
8557 | 2011-02-16 Richard Guenther <rguenther@suse.de> |
8558 | ||
8559 | PR tree-optimization/47738 | |
8560 | * tree-ssa-loop.c (run_tree_predictive_commoning): Return | |
8561 | the TODO from tree_predictive_commoning. | |
8562 | ||
fc2fa4fb JL |
8563 | 2011-02-15 Jeff Law <law@redhat.com> |
8564 | ||
8565 | Revert | |
8566 | 2011-01-25 Jeff Law <law@redhat.com> | |
8567 | ||
8568 | PR rtl-optimization/37273 | |
8569 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
8570 | handle them like argument loads from stack slots. Do not double | |
8571 | count memory for memory constants and argument loads from stack slots. | |
8572 | ||
4e380b8e L |
8573 | 2011-02-15 H.J. Lu <hongjiu.lu@intel.com> |
8574 | ||
8575 | PR middle-end/47725 | |
8576 | * combine.c (cant_combine_insn_p): Revert the last change. | |
8577 | ||
e3a69bb4 MM |
8578 | 2011-02-15 Michael Meissner <meissner@linux.vnet.ibm.com> |
8579 | ||
8580 | PR target/47755 | |
8581 | * config/rs6000/predicates.md (easy_vector_constant): Allow V2DI | |
8582 | mode for vector constants. Remove code that checks for TImode. | |
8583 | ||
de650422 AO |
8584 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
8585 | ||
8586 | PR debug/47106 | |
8587 | PR debug/47402 | |
8588 | * cgraph.h (compute_inline_parameters): Return void. | |
8589 | * ipa-inline.c (compute_inline_parameters): Adjust. | |
8590 | ||
30925d94 AO |
8591 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
8592 | ||
8593 | PR debug/47106 | |
8594 | PR debug/47402 | |
8595 | * tree-inline.h (estimated_stack_frame_size): Take cgraph node | |
8596 | rather than decl. | |
8597 | * cfgexpand.c (estimated_stack_frame_size): Likewise. | |
8598 | * ipa-inline.c (compute_inline_parameters): Adjust. | |
8599 | ||
1b9a784a AO |
8600 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
8601 | ||
8602 | PR debug/47106 | |
8603 | PR debug/47402 | |
8604 | * tree-flow.h (FOR_EACH_REFERENCED_VAR): Add FN argument. | |
8605 | Adjust all users. Pass FN to... | |
8606 | * tree-flow-inline.h (first_referenced_var): ... this. Add | |
8607 | fn argument. | |
8608 | * ipa-struct-reorg.c: Adjust. | |
8609 | * tree-dfa.c: Adjust. | |
8610 | * tree-into-ssa.c: Adjust. | |
8611 | * tree-sra.c: Adjust. | |
8612 | * tree-ssa-alias.c: Adjust. | |
8613 | * tree-ssa-live.c: Adjust. | |
8614 | * tree-ssa.c: Adjust. | |
8615 | * tree-ssanames.c: Adjust. | |
8616 | * tree-tailcall.c: Adjust. | |
8617 | ||
27c6b086 AO |
8618 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
8619 | ||
8620 | PR debug/47106 | |
8621 | PR debug/47402 | |
8622 | * tree-flow.h (referenced_var_lookup): Add fn parameter. | |
8623 | Adjust all callers. | |
8624 | * tree-dfa.c (referenced_var_lookup): Use fn instead of cfun. | |
8625 | * tree-flow-inline.h: Adjust. | |
8626 | * gimple-pretty-print.c: Adjust. | |
8627 | * tree-into-ssa.c: Adjust. | |
8628 | * tree-ssa.c: Adjust. | |
8629 | * cfgexpand.c: Adjust. | |
8630 | ||
679e8183 NF |
8631 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
8632 | ||
fbf4bfd3 UB |
8633 | * config/iq2000/i2000.h (REG_CLASS_FROM_LETTER): Delete. |
8634 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
8635 | (EXTRA_CONSTRAINT): Delete. | |
8636 | * config/iq2000/constraints.md: New file. | |
8637 | * config/iq2000/iq2000.md: Include it. | |
679e8183 NF |
8638 | (define_insn ""): Delete. |
8639 | (movsi_internal2, movhi_internal2, movqi_internal2): Delete | |
8640 | unsupported constraint letters from patterns. | |
8641 | (call_value, call_value_internal1): Likewise. | |
8642 | (call_value_multiple_internal1): Likewise. | |
8643 | ||
a45d420a NC |
8644 | 2011-02-15 Nick Clifton <nickc@redhat.com> |
8645 | ||
8646 | * config/mn10300/mn10300.c: Include tm-constrs.h. | |
8647 | (struct liw_data): New data structure describing an LIW candidate | |
8648 | instruction. | |
8649 | (extract_bundle): Use struct liw_data. Allow small integer | |
8650 | operands for some instructions. | |
8651 | (check_liw_constraints): Use struct liw_data. Remove swapped | |
8652 | parameter. Add comments describing the checks. Fix bug when | |
8653 | assigning the source of liw1 to the source of liw2. | |
8654 | (liw_candidate): Delete. Code moved into extract_bundle. | |
8655 | (mn10300_bundle_liw): Use struct liw_data. Check constraints | |
8656 | before swapping. | |
8657 | * config/mn10300/predicates.md (liw_operand): New predicate. | |
8658 | Allows registers and small integer constants. | |
8659 | * config/mn10300/constraints.md (O): New constraint. Accetps | |
8660 | integers in the range -8 to +7 inclusive. | |
8661 | * config/mn10300/mn10300.md (movesi_internal): Add an alternative | |
8662 | for moving a small integer into a register. Give this alternative | |
8663 | LIW attributes. | |
8664 | (addsi3, subsi3, cmpsi, lshrsi3, ashrsi3): Likewise. | |
8665 | (ashlsi3): Likewise, plus give LIW attributes to the alternatives | |
8666 | using the J,K,L and M constraints, | |
8667 | (liw): Remove SI mode on second operands to allow for HI and QI | |
8668 | mode values. | |
8669 | (cmp_liw, liw_cmp): Likewise. Plus fix order of operands in the | |
8670 | instruction. | |
8671 | ||
8a73faf1 L |
8672 | 2011-02-15 H.J. Lu <hongjiu.lu@intel.com> |
8673 | ||
8674 | PR middle-end/47725 | |
8675 | * combine.c (cant_combine_insn_p): Check zero/sign extended | |
8676 | hard registers. | |
8677 | ||
48feba28 RG |
8678 | 2011-02-15 Richard Guenther <rguenther@suse.de> |
8679 | ||
8680 | PR tree-optimization/47743 | |
8681 | * tree-ssa-pre.c (phi_translate_1): If we didn't get a value-number | |
8682 | for a non-type-compatible VN lookup bail out. | |
8683 | ||
ad1c1eeb NF |
8684 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
8685 | ||
8686 | * config/fr30/constraints.md: New file. | |
8687 | * config/fr30/fr30.md: Include it. | |
8688 | * config/fr30/fr30.h (REG_CLASS_FROM_LETTER): Delete. | |
8689 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
8690 | (EXTRA_CONSTRAINT): Delete. | |
8691 | ||
49ac143d NF |
8692 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
8693 | ||
8694 | * config/frv/constraints.md: New file. | |
8695 | * config/frv/predicates.md: Include it. | |
8696 | * config/frv/frv.c (reg_class_from_letter): Delete. | |
8697 | (frv_option_override): Don't initialize it. | |
8698 | * config/frv/frv.h (REG_CLASS_FROM_LETTER): Delete. | |
8699 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_K): Delete. | |
8700 | (CONST_OK_FOR_L, CONST_OK_FOR_M, CONST_OK_FOR_N): Delete. | |
8701 | (CONST_OK_FOR_O, CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete. | |
8702 | (CONST_DOUBLE_OK_FOR_G, CONST_DOUBLE_OK_FOR_H): Delete. | |
8703 | (CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
8704 | (EXTRA_CONSTRAINT_FOR_Q, EXTRA_CONSTRAINT_FOR_R): Delete. | |
8705 | (EXTRA_CONSTRAINT_FOR_S, EXTRA_CONSTRAINT_FOR_T): Delete. | |
8706 | (EXTRA_CONSTRAINT_FOR_U, EXTRA_CONSTRAINT): Delete. | |
8707 | (EXTRA_MEMORY_CONSTRAINT, CONSTRAINT_LEN): Delete. | |
8708 | (REG_CLASS_FROM_CONSTRAINT): Delete. | |
8709 | ||
c95f9494 JJ |
8710 | 2011-02-15 Jakub Jelinek <jakub@redhat.com> |
8711 | ||
8712 | PR middle-end/47581 | |
8713 | * config/i386/i386.c (ix86_compute_frame_size): Don't align offset | |
8714 | if frame size is 0 in a leaf function. | |
8715 | ||
13aed611 RO |
8716 | 2011-02-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8717 | ||
8718 | PR pch/14940 | |
8719 | * config/alpha/host-osf.c: New file. | |
8720 | * config/alpha/x-osf: New file. | |
8721 | * config.host (alpha*-dec-osf*): Use it. | |
8722 | ||
b09c3081 AS |
8723 | 2011-02-14 Anatoly Sokolov <aesok@post.ru> |
8724 | ||
8725 | * config/rx/rx.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
8726 | * config/rx/rx-protos.h (rx_is_mode_dependent_addr): Remove. | |
8727 | * config/xtensa/xtensa.c (rx_is_mode_dependent_addr): Rename to... | |
8728 | (rx_mode_dependent_address_p): ...this. Make static. Change argument | |
8729 | type to const_rtx. | |
8730 | (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
8731 | ||
d634083b NF |
8732 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
8733 | ||
8734 | * config/stormy16/constraints.md: New file. | |
8735 | * config/stormy16/predicates.md (nonimmediate_nonstack_operand): | |
8736 | Use satisfies_constraint_Q and satisfies_constraint_R. | |
8737 | * config/stormy16/stomry16-protos.h (xstormy16_extra_constraint_p): | |
8738 | Delete. | |
8739 | (xstormy16_legitiamte_address_p): Declare. | |
8740 | * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Delete. | |
8741 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
8742 | (EXTRA_CONSTRAINT): Delete. | |
fbf4bfd3 | 8743 | * config/stormy16/stormy16.c (xstormy16_legitimate_address_p): |
d634083b NF |
8744 | Un-staticize. |
8745 | (xstormy16_extra_constraint_p): Delete. | |
8746 | ||
c7dd803e EB |
8747 | 2011-02-14 Eric Botcazou <ebotcazou@adacore.com> |
8748 | ||
8749 | PR tree-optimization/46494 | |
8750 | * loop-unroll.c (split_edge_and_insert): Adjust comment. | |
8751 | * loop-init.c (loop_optimizer_finalize): Do not call verify_flow_info. | |
8752 | (pass_rtl_loop_done): Add TODO_verify_flow. | |
8753 | * fwprop.c (pass_rtl_fwprop): Likewise. | |
8754 | * modulo-sched.c (pass_sms): Likewise. | |
8755 | * tree-ssa-dom.c (pass_dominator): Likewise. | |
8756 | * tree-ssa-loop-ch.c (pass_ch): Likewise. | |
8757 | * tree-ssa-loop.c (pass_complete_unrolli): Likewise. | |
8758 | (pass_tree_loop_done): Likewise. | |
8759 | * tree-ssa-pre.c (execute_pre): Likewise. | |
8760 | * tree-ssa-reassoc.c (pass_reassoc): Likewise. | |
8761 | * tree-ssa-sink.c (pass_sink_code): Likewise. | |
8762 | * tree-vrp.c (pass_vrp): Likewise. | |
8763 | ||
c6150df6 NF |
8764 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
8765 | ||
c7dd803e EB |
8766 | * config/v850/constraints.md: New file. |
8767 | * config/v850/v850.md: Include it. | |
8768 | * config/v850/predicates.md (reg_or_0_operand): Use | |
8769 | satisfies_constraint_G. | |
8770 | (special_symbolref_operand): Use satisfies_constraint_K. | |
8771 | * config/v850/v850.h (CONSTANT_ADDRESS_P): Use constraint_satisfied_p. | |
8772 | (GO_IF_LEGITIMATE_ADDRESS): Likewise. | |
8773 | (REG_CLASS_FROM_LETTER, INT_7_BITS, INT_8_BITS): Delete. | |
8774 | (CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete. | |
8775 | (EXTRA_CONSTRAINT): Delete. | |
8776 | (CONST_OK_FOR_I, CONST_OK_FOR_J): Use insn_const_int_ok_for_constraint. | |
8777 | (CONST_OK_FOR_K, CONST_OK_FOR_L, CONST_OK_FOR_M): Likewise. | |
8778 | (CONST_OK_FOR_N, CONST_OK_FOR_O): Likewise. | |
c6150df6 | 8779 | |
30dd1ea3 AS |
8780 | 2011-02-14 Anatoly Sokolov <aesok@post.ru> |
8781 | ||
8782 | PR target/47696 | |
8783 | * config/avr/avr-devices.c (avr_mcu_types): Fix ATmega2560 device | |
8784 | description. | |
8785 | ||
944f4bb3 NF |
8786 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
8787 | ||
8788 | * config/mcore/constraints.md: New file. | |
8789 | * config/mcore/mcore.md: Include it. | |
8790 | * config/mcore/mcore.c (reg_class_from_letter): Delete. | |
8791 | * config/mcore/mcore.h (reg_class_from_letter): Delete. | |
8792 | (REG_CLASS_FROM_LETTER): Delete. | |
8793 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Use | |
8794 | insn_const_int_ok_for_constraint. | |
8795 | (CONST_OK_FOR_K, CONST_OK_FOR_M, CONST_OK_FOR_N): Likewise. | |
8796 | (CONST_OK_FOR_O, CONST_OK_FOR_P): Likewise. | |
8797 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
8798 | (EXTRA_CONSTRAINT): Delete. | |
8799 | ||
ad56a54c RO |
8800 | 2011-02-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8801 | ||
8802 | PR ada/41929 | |
8803 | * config/sparc/sol2-unwind.h: Include <sys/frame.h>, <sys/stack.h> | |
8804 | (IS_SIGHANDLER): Define. | |
8805 | (sparc64_is_sighandler): New function, split off from | |
8806 | sparc64_fallback_frame_state. | |
8807 | (sparc_is_sighandler): New function, split off from | |
8808 | sparc_fallback_frame_state. | |
8809 | (sparc64_fallback_frame_state): Merge with ... | |
8810 | (sparc_fallback_frame_state): ... this into ... | |
8811 | (MD_FALLBACK_FRAME_STATE_FOR): ... this. | |
fbf4bfd3 UB |
8812 | Change new_cfa to long. Remove regs_off, fpu_save_off, fpu_save. |
8813 | Define nframes, mctx. Use IS_SIGHANDLER, handler_args, mctx, walk | |
8814 | stack instead of hardcoded offsets. | |
ad56a54c | 8815 | |
fbf4bfd3 | 8816 | 2011-02-14 Andriy Gapon <avg@freebsd.org> |
67932abf AG |
8817 | |
8818 | PR target/45808 | |
8819 | * config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case. | |
8820 | ||
029c8f3e RW |
8821 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
8822 | ||
8823 | * configure: Regenerate. | |
8824 | ||
a016dc83 JM |
8825 | 2011-02-12 Joseph Myers <joseph@codesourcery.com> |
8826 | ||
8827 | PR driver/45731 | |
8828 | * gcc.c (asm_options): Correct spec matching --target-help. | |
8829 | ||
8957a0ec MJ |
8830 | 2011-02-12 Martin Jambor <mjambor@suse.cz> |
8831 | ||
8832 | * tree-cfg.c (verify_gimple_call): Return true upon invalid argument | |
8833 | to gimple call error. | |
8834 | ||
6ef828bc MS |
8835 | 2011-02-12 Mike Stump <mikestump@comcast.net> |
8836 | ||
8837 | * config/frv/frv.h (TRANSFER_FROM_TRAMPOLINE): Canonicalize | |
8838 | comments in backslash regions. | |
8839 | ||
a4015be5 MS |
8840 | 2011-02-12 Mike Stump <mikestump@comcast.net> |
8841 | Jakub Jelinek <jakub@redhat.com> | |
8842 | Iain Sandoe <iains@gcc.gnu.org> | |
8843 | ||
8844 | PR target/47324 | |
8845 | * dwarf2out.c (output_cfa_loc): When required, apply the | |
8846 | DWARF2_FRAME_REG_OUT macro to adjust register numbers. | |
8847 | (output_loc_sequence): Likewise. | |
8848 | (output_loc_operands_raw): Likewise. | |
8849 | (output_loc_sequence_raw): Likewise. | |
8850 | (output_cfa_loc): Likewise. | |
8851 | (output_loc_list): Suppress register number adjustment when | |
8852 | calling output_loc_sequence() | |
8853 | (output_die): Likewise. | |
8854 | ||
5378dda2 AS |
8855 | 2011-02-12 Anatoly Sokolov <aesok@post.ru> |
8856 | ||
8857 | * config/xtensa/xtensa.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): | |
8858 | Remove macros. | |
8859 | * config/xtensa/xtensa.c (xtensa_register_move_cost, | |
8860 | xtensa_memory_move_cost): New functions. | |
8861 | (TARGET_REGISTER_MOVE_COST, TARGET_REGISTER_MOVE_COST): Define. | |
8862 | ||
f3d533d3 AO |
8863 | 2011-02-12 Alexandre Oliva <aoliva@redhat.com> |
8864 | ||
8865 | PR lto/47225 | |
8866 | * configure.ac (gcc_cv_lto_plugin): Test for liblto_plugin.la | |
8867 | in the current directory. | |
8868 | * configure: Rebuilt. | |
8869 | ||
9d53403c IS |
8870 | 2011-02-12 Iain Sandoe <iains@gcc.gnu.org> |
8871 | ||
8872 | * config/darwin.c (darwin_override_options): Add a hunk missed | |
fbf4bfd3 | 8873 | from the commit of r168571. Trim comment line lengths and |
9d53403c IS |
8874 | correct indents of the preceding block. |
8875 | ||
a350a6c8 IS |
8876 | 2011-02-12 Iain Sandoe <iains@gcc.gnu.org> |
8877 | ||
8878 | * gcc.c (driver_handle_option): Concatenate the argument to -F with | |
8879 | the switch. | |
8880 | ||
bab79a40 JM |
8881 | 2011-02-11 Joseph Myers <joseph@codesourcery.com> |
8882 | ||
8883 | * common.opt (nostartfiles): New Driver option. | |
8884 | ||
1bbc6693 XDL |
8885 | 2011-02-11 Xinliang David Li <davidxl@google.com> |
8886 | ||
8887 | PR tree-optimization/47707 | |
8888 | * tree-chrec.c (convert_affine_scev): Keep type precision. | |
8889 | ||
1da7d8c0 EB |
8890 | 2011-02-11 Eric Botcazou <ebotcazou@adacore.com> |
8891 | ||
8892 | PR tree-optimization/47420 | |
8893 | * ipa-split.c (visit_bb): Punt on any kind of GIMPLE_RESX. | |
8894 | ||
8895 | 2011-02-11 Pat Haugen <pthaugen@us.ibm.com> | |
3f82421f PH |
8896 | |
8897 | PR rtl-optimization/47614 | |
8898 | * rtl.h (check_for_inc_dec): Declare. | |
8899 | * dse.c (check_for_inc_dec): Externalize... | |
8900 | * postreload.c (reload_cse_simplify): ...use it before deleting stmt. | |
8901 | (reload_cse_simplify_operands): Don't simplify opnds with side effects. | |
8902 | ||
4df47bca JM |
8903 | 2011-02-11 Joseph Myers <joseph@codesourcery.com> |
8904 | ||
8905 | PR driver/47678 | |
8906 | * gcc.c (main): Do not compile inputs if there were errors in | |
8907 | option handling. | |
8908 | * opts-common.c (read_cmdline_option): Check for wrong language | |
8909 | after other error checks. | |
8910 | ||
61502ca8 NF |
8911 | 2011-02-11 Nathan Froyd <froydnj@codesourcery.com> |
8912 | ||
8913 | * cgraph.c: Fix comment typos. | |
8914 | * cgraph.h: Likewise. | |
8915 | * cgraphunit.c: Likewise. | |
8916 | * ipa-cp.c: Likewise. | |
8917 | * ipa-inline.c: Likewise. | |
8918 | * ipa-prop.c: Likewise. | |
8919 | * ipa-pure-const.c: Likewise. | |
8920 | * ipa-ref.c: Likewise. | |
8921 | * ipa-reference.c: Likewise. | |
8922 | ||
b63f974e JJ |
8923 | 2011-02-11 Jakub Jelinek <jakub@redhat.com> |
8924 | ||
d50c5e0c JJ |
8925 | PR debug/47684 |
8926 | * tree-predcom.c (single_nonlooparound_use): Ignore debug uses. | |
b63f974e | 8927 | |
6dd2a13c RO |
8928 | 2011-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8929 | ||
8930 | PR testsuite/47400 | |
8931 | * doc/sourcebuild.texi (Require Support): Document | |
8932 | dg-require-ascii-locale. | |
8933 | ||
4a087ccf MX |
8934 | 2011-02-11 Mingjie Xing <mingjie.xing@gmail.com> |
8935 | ||
8936 | * doc/lto.texi (Write summary): Fix missing parentheses. | |
8937 | ||
a4403164 DD |
8938 | 2011-02-10 DJ Delorie <dj@redhat.com> |
8939 | ||
8940 | * config/m32c/m32c.c (m32c_option_override): Disable | |
8941 | -fcombine-stack-adjustments until flag value tracking and compare | |
8942 | optimization can be rewritten. | |
8943 | ||
4fac45bd PB |
8944 | 2011-02-10 Peter Bergner <bergner@vnet.ibm.com> |
8945 | ||
8946 | * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Change to | |
8947 | PROCESSOR_POWER7. | |
8948 | (PROCESSOR_DEFAULT64): Likewise. | |
8949 | ||
72602cd1 RH |
8950 | 2011-02-10 Richard Henderson <rth@redhat.com> |
8951 | ||
8952 | * config/rx/predicates.md (rx_zs_comparison_operator): Revert | |
8953 | change from 2011-02-03. | |
8954 | * config/rx/rx.c (flags_from_code): Likewise. | |
8955 | (rx_print_operand) ['B']: For LT/GE, use lt/ge if overflow flag | |
8956 | is valid, n/pz otherwise. | |
8957 | (rx_select_cc_mode): Return CCmode if Y is not zero. | |
8958 | ||
ea57f573 RG |
8959 | 2011-02-10 Richard Guenther <rguenther@suse.de> |
8960 | ||
ea4c3e65 | 8961 | * tree-ssa-structalias.c (bitpos_of_field): Use BITS_PER_UNIT, not 8. |
ea57f573 | 8962 | |
92b1d23b RG |
8963 | 2011-02-10 Richard Guenther <rguenther@suse.de> |
8964 | ||
8965 | PR tree-optimization/47677 | |
8966 | * tree-vrp.c (vrp_bitmap_equal_p): Fix comparison of empty bitmaps. | |
8967 | ||
525a2d06 JJ |
8968 | 2011-02-10 Jakub Jelinek <jakub@redhat.com> |
8969 | ||
8970 | PR target/47665 | |
8971 | * combine.c (make_compound_operation): Only change shifts into | |
8972 | multiplication for SCALAR_INT_MODE_P. | |
8973 | ||
06c969bd JZ |
8974 | 2011-02-10 Jie Zhang <jie@codesourcery.com> |
8975 | ||
8976 | PR testsuite/47622 | |
8977 | Revert | |
8978 | 2011-02-05 Jie Zhang <jie@codesourcery.com> | |
8979 | PR debug/42631 | |
8980 | * web.c (entry_register): Don't clobber the number of the | |
8981 | first uninitialized reference in used[]. | |
8982 | ||
282ec48e RG |
8983 | 2011-02-09 Richard Guenther <rguenther@suse.de> |
8984 | ||
8985 | PR tree-optimization/47664 | |
8986 | * ipa-inline.c (cgraph_decide_inlining_incrementally): Visit | |
8987 | all edges again. | |
8988 | ||
df98c3e8 DE |
8989 | 2011-02-09 David Edelsohn <dje.gcc@gmail.com> |
8990 | ||
d0f21cd6 DE |
8991 | PR target/46481 |
8992 | PR target/47032 | |
df98c3e8 DE |
8993 | * config/rs6000/aix61.h (PROCESSOR_DEFAULT): Change to |
8994 | PROCESSOR_POWER7. | |
8995 | (PROCESSOR_DEFAULT64): Same. | |
8996 | (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Delete. | |
8997 | ||
67b6839f RO |
8998 | 2011-02-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8999 | ||
9000 | * config/mips/iris6.h (TARGET_C99_FUNCTIONS): Define. | |
9001 | ||
4fd73214 MJ |
9002 | 2011-02-09 Martin Jambor <mjambor@suse.cz> |
9003 | ||
9004 | PR middle-end/45505 | |
9005 | * tree-sra.c (struct access): New flags grp_scalar_read and | |
9006 | grp_scalar_write. Changed description of assignment read and write | |
9007 | flags. | |
9008 | (dump_access): Dump new flags, reorder all of them. | |
9009 | (sort_and_splice_var_accesses): Set the new flag accordingly, use them | |
9010 | to detect multiple scalar reads. | |
9011 | (analyze_access_subtree): Use the new scalar read write flags instead | |
9012 | of the old flags. Adjusted comments. | |
9013 | ||
91140cd3 DD |
9014 | 2011-02-08 DJ Delorie <dj@redhat.com> |
9015 | ||
9016 | PR target/47548 | |
9017 | * config/m32c/m32c.c (m32c_subreg): Don't try to validate interim | |
9018 | patterns. | |
9019 | ||
4254bbfe JM |
9020 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
9021 | ||
9022 | * config/m68k/uclinux.opt: New. | |
9023 | * config.gcc (m68k-*-uclinux*): Use m68k/uclinux.opt. | |
9024 | ||
f1fda84e JM |
9025 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
9026 | ||
9027 | * config/cris/elf.opt (sim): New Driver option. | |
9028 | ||
4933ae74 JM |
9029 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
9030 | ||
9031 | * config/xtensa/elf.opt: New. | |
9032 | * config.gcc (xtensa*-*-elf*): Use xtensa/elf.opt. | |
9033 | ||
4ad70280 JM |
9034 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
9035 | ||
9036 | * config/vax/elf.opt: New. | |
9037 | * config.gcc (vax-*-linux*, vax-*-netbsdelf*): Use vax/elf.opt. | |
9038 | ||
20893707 JM |
9039 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
9040 | ||
9041 | * config/rs6000/aix64.opt (posix, pthread): New Driver options. | |
9042 | ||
b8e7038e JM |
9043 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
9044 | ||
9045 | * config/gnu-user.opt: New. | |
9046 | * config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | | |
9047 | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu, | |
9048 | *-*-uclinux*): Use gnu-user.opt. | |
9049 | ||
e1c5225a TS |
9050 | 2011-02-08 Thomas Schwinge <thomas@schwinge.name> |
9051 | ||
9052 | * config/gnu.h (CPP_SPEC, LIB_SPEC): Remove handling of -bsd option. | |
9053 | * config/i386/gnu.h (CPP_SPEC): Likewise. | |
9054 | ||
5e46b0c6 ILT |
9055 | 2011-02-08 Ian Lance Taylor <iant@google.com> |
9056 | ||
9057 | * common.opt (fcx-limited-range): Add SetByCombined flag. | |
9058 | (ffinite-math-only, fmath-errno, frounding-math): Likewise. | |
9059 | (fsignaling-nans, fsigned-zeros, ftrapping-math): Likewise. | |
9060 | (fassociative-math, freciprocal-math): Likewise. | |
9061 | (funsafe-math-optimizations): Likewise. | |
9062 | * opth-gen.awk: Handle SetByCombined. | |
9063 | * optc-gen.awk: Likewise. | |
ea4c3e65 | 9064 | * opts.c (set_fast_math_flags): Don't override flag if set by frontend. |
5e46b0c6 ILT |
9065 | (set_unsafe_math_optimizations_flags): Likewise. |
9066 | * doc/options.texi (Option properties): Document SetByCombined. | |
9067 | ||
32243d46 JM |
9068 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
9069 | ||
9070 | * config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*, | |
9071 | i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe, | |
9072 | m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*, | |
9073 | m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*, | |
9074 | sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete. | |
9075 | ||
479c1fb3 SP |
9076 | 2011-02-08 Sebastian Pop <sebastian.pop@amd.com> |
9077 | ||
9078 | PR tree-optimization/46834 | |
9079 | PR tree-optimization/46994 | |
9080 | PR tree-optimization/46995 | |
9081 | * graphite-sese-to-poly.c (used_outside_reduction): New. | |
9082 | (detect_commutative_reduction): Call used_outside_reduction. | |
9083 | (rewrite_commutative_reductions_out_of_ssa_close_phi): Call | |
9084 | translate_scalar_reduction_to_array only when at least one | |
9085 | loop-phi/close-phi tuple has been detected. | |
9086 | ||
3865a06f RG |
9087 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
9088 | ||
9089 | PR middle-end/47639 | |
9090 | * tree-vect-generic.c (expand_vector_operations_1): Update | |
9091 | stmts here ... | |
9092 | (expand_vector_operations): ... not here. Cleanup EH info | |
9093 | and the CFG if required. | |
9094 | ||
62902f3f RG |
9095 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
9096 | ||
9097 | PR tree-optimization/47641 | |
9098 | * tree-ssa.c (execute_update_addresses_taken): For asm outputs | |
9099 | require type compatibility. | |
9100 | ||
0efb9d64 AK |
9101 | 2011-02-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
9102 | ||
9103 | * gimple-low.c (lower_function_body): Don't remove the location of | |
9104 | the return statement here. | |
9105 | (lower_gimple_return): Do it here instead but only if the return | |
9106 | statement is actually used twice. | |
9107 | ||
034b8ae4 RG |
9108 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
9109 | ||
9110 | PR tree-optimization/47632 | |
9111 | * tree-ssa-forwprop.c (remove_prop_source_from_use): Remove | |
9112 | unused up_to_stmt parameter, return whether cfg-cleanup is | |
9113 | necessary, remove EH info properly. | |
9114 | (forward_propagate_into_gimple_cond): Adjust caller. | |
9115 | (forward_propagate_into_cond): Likewise. | |
9116 | (forward_propagate_comparison): Likewise. | |
9117 | (tree_ssa_forward_propagate_single_use_vars): Make | |
9118 | forward_propagate_comparison case similar to the two others. | |
9119 | ||
298362c8 NC |
9120 | 2011-02-08 Nick Clifton <nickc@redhat.com> |
9121 | ||
9122 | * config/mn10300/mn10300.opt (mliw): New command line option. | |
9123 | * config/mn10300/mn10300.md (UNSPEC_LIW): New unspec. | |
9124 | (liw_bundling): New automaton. | |
9125 | (liw): New attribute. | |
9126 | (liw_op): New attribute. | |
9127 | (liw_op1, liw_op2, liw_both, liw_either): New reservations. | |
9128 | (movsi_internal): Add LIW attributes. | |
9129 | (andsi3): Likewise. | |
9130 | (iorsi3): Likewise. | |
9131 | (xorsi3): Likewise. | |
9132 | (addsi3): Separate register and immediate alternatives. | |
9133 | Add LIW attributes. | |
9134 | (subsi3): Likewise. | |
9135 | (cmpsi): Likewise. | |
9136 | (aslsi3): Likewise. | |
9137 | (lshrsi3): Likewise. | |
9138 | (ashrsi3): Likewise. | |
9139 | (liw): New pattern. | |
9140 | * config/mn10300/mn10300.c (liw_op_names): New | |
9141 | (mn10300_print_operand): Handle 'W' operand descriptor. | |
9142 | (extract_bundle): New function. | |
9143 | (check_liw_constraints): New function. | |
9144 | (liw_candidate): New function. | |
9145 | (mn10300_bundle_liw): New function. | |
9146 | (mn10300_reorg): New function. | |
9147 | (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
9148 | (TARGET_DEFAULT_TARGET_FLAGS): Add MASK_ALLOW_LIW. | |
9149 | * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Define | |
9150 | __LIW__ or __NO_LIW__. | |
9151 | * doc/invoke.texi: Describe the -mliw command line option. | |
9152 | ||
90488014 JDA |
9153 | 2011-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
9154 | ||
9155 | * config.gcc (hppa[12]*-*-hpux11*): Don't set extra_parts. | |
9156 | * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, | |
9157 | pthread_mutex_unlock): Remove. | |
9158 | * config/pa/t-pa-hpux11: Remove rules to build pthread stubs. | |
9159 | * config/pa/t-pa64: Likewise. | |
9160 | * config/pa/pa64-hpux.h (LIB_SPEC): In static links, link against | |
9161 | shared libc if not linking against libpthread. | |
9162 | * config/pa/pa-hpux11.h (LIB_SPEC): Likewise. | |
9163 | ||
689ff841 IS |
9164 | 2011-02-07 Iain Sandoe <iains@gcc.gnu.org> |
9165 | ||
9166 | PR target/47558 | |
9167 | * config/darwin10.h (LINK_GCC_C_SEQUENCE_SPEC): Put -lSystem first | |
9168 | on 10.6 and later to ensure that we always use the unwinder from | |
9169 | the system. Only add -no_compact_unwind when tarteting darwin | |
9170 | 10.6 or later. | |
9171 | ||
821014aa SE |
9172 | 2011-02-07 Steve Ellcey <sje@cup.hp.com> |
9173 | ||
9174 | PR target/46997 | |
9175 | * vect.md (vec_interleave_highv2sf): Change fmix for TARGET_BIG_ENDIAN. | |
9176 | (vec_interleave_lowv2sf): Ditto. | |
9177 | (vec_extract_evenv2sf): Add TARGET_BIG_ENDIAN check. | |
9178 | (vec_extract_oddv2sf): Ditto. | |
9179 | ||
41cf94fb MS |
9180 | 2011-02-07 Mike Stump <mikestump@comcast.net> |
9181 | ||
62dea57d | 9182 | PR target/42333 |
41cf94fb MS |
9183 | Add __ieee_divdc3 entry point. |
9184 | * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Retain ___divdc3 | |
9185 | entry point. | |
9186 | (SUBTARGET_INIT_BUILTINS): Call darwin_rename_builtins. | |
9187 | * config/i386/i386.c (TARGET_INIT_LIBFUNCS): Likewise. | |
9188 | * config/darwin.c (darwin_rename_builtins): Add. | |
9189 | * config/darwin-protos.h (darwin_rename_builtins): Add. | |
9190 | ||
ee09a3dd MM |
9191 | 2011-02-07 Michael Meissner <meissner@linux.vnet.ibm.com> |
9192 | ||
9193 | PR target/47636 | |
9194 | * config/rs6000/rs6000.md (rsqrt<mode>2): Use the correct macro | |
9195 | for the condition. | |
9196 | ||
83296cd0 MS |
9197 | 2011-02-07 Mike Stump <mikestump@comcast.net> |
9198 | ||
ea4c3e65 | 9199 | * config/darwin.opt (mmacosx-version-min): Update default OS version. |
83296cd0 | 9200 | |
0f4e946f DC |
9201 | 2011-02-07 Denis Chertykov <chertykov@gmail.com> |
9202 | ||
9203 | PR target/47534 | |
9204 | * config/avr/libgcc.S (exit): Move .endfunc | |
9205 | ||
1ec87690 RG |
9206 | 2011-02-07 Richard Guenther <rguenther@suse.de> |
9207 | ||
9208 | PR tree-optimization/47615 | |
9209 | * tree-ssa-sccvn.h (run_scc_vn): Take a vn-walk mode argument. | |
9210 | * tree-ssa-sccvn.c (default_vn_walk_kind): New global. | |
9211 | (run_scc_vn): Initialize it. | |
9212 | (visit_reference_op_load): Use it. | |
9213 | * tree-ssa-pre.c (execute_pre): Use VN_WALK if in PRE. | |
9214 | ||
b46ae6da UW |
9215 | 2011-02-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
9216 | ||
9217 | * config/spu/spu.c (spu_init_libfuncs): Install SImode and | |
9218 | DImode trapping arithmetic libfuncs. | |
9219 | ||
c0aae19c RG |
9220 | 2011-02-07 Richard Guenther <rguenther@suse.de> |
9221 | ||
9222 | PR tree-optimization/47621 | |
9223 | * tree-ssa.c (non_rewritable_lvalue_p): New function, split out from | |
9224 | two duplicates ... | |
9225 | (execute_update_addresses_taken): ... here. Make it more | |
9226 | conservative in what we accept. | |
9227 | ||
295d926b JM |
9228 | 2011-02-06 Joseph Myers <joseph@codesourcery.com> |
9229 | ||
9230 | * config/sparc/freebsd.h (ASM_SPEC): Define. | |
9231 | * config/sparc/vxworks.h (ASM_SPEC): Define. | |
9232 | ||
bdeb2471 JM |
9233 | 2011-02-06 Joseph Myers <joseph@codesourcery.com> |
9234 | ||
9235 | * config/sparc/sol2-bi.h (CC1_SPEC): Remove %{sun4:} %{target:}. | |
9236 | ||
d5d3781a SB |
9237 | 2011-02-06 Steven Bosscher <steven@gcc.gnu.org> |
9238 | ||
9239 | * doc/invoke.texi: Remove reference to compiler internals from | |
9240 | user documentation. | |
9241 | ||
9242 | * reg-notes.def: Remove REG_VALUE_PROFILE. | |
9243 | * combine.c (distribute_notes): Do not handle REG_VALUE_PROFILE. | |
9244 | ||
c42c09fc JJ |
9245 | 2011-02-05 Jakub Jelinek <jakub@redhat.com> |
9246 | ||
9247 | PR middle-end/47610 | |
9248 | * varasm.c (default_section_type_flags): If decl is NULL, | |
38be4072 | 9249 | and name is .data.rel.ro or .data.rel.ro.local, set SECTION_RELRO bit. |
c42c09fc | 9250 | |
beea2755 JZ |
9251 | 2011-02-05 Jie Zhang <jie@codesourcery.com> |
9252 | ||
9253 | PR debug/42631 | |
9254 | * web.c (entry_register): Don't clobber the number of the | |
9255 | first uninitialized reference in used[]. | |
9256 | ||
a130584a SP |
9257 | 2011-02-04 Sebastian Pop <sebastian.pop@amd.com> |
9258 | ||
9259 | PR tree-optimization/46194 | |
9260 | * tree-data-ref.c (analyze_miv_subscript): Remove comment. | |
9261 | (build_classic_dist_vector_1): Do not represent classic distance | |
9262 | vectors when the access functions are variating in different loops. | |
9263 | ||
962101ac JM |
9264 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
9265 | ||
9266 | * config/mips/iris6.opt: New. | |
9267 | * config.gcc (mips-sgi-irix6.5*): Use mips/iris6.opt. | |
9268 | ||
55eaaa5b RH |
9269 | 2011-02-04 Richard Henderson <rth@redhat.com> |
9270 | Steve Ellcey <sje@cup.hp.com> | |
9271 | ||
9272 | PR target/46997 | |
9273 | * config/ia64/predicates.md (mux1_brcst_element): New. | |
9274 | * config/ia64/ia64-protos.h (ia64_unpack_assemble): New. | |
9275 | * config/ia64/ia64.c (ia64_unpack_assemble): New. | |
9276 | (ia64_unpack_sign): New. | |
9277 | (ia64_expand_unpack): Rewrite using new routines. | |
9278 | (ia64_expand_widen_sum): Ditto. | |
9279 | (ia64_expand_dot_prod_v8qi): Ditto. | |
9280 | * config/ia64/vect.md (mulv8qi3): Rewrite to use new | |
9281 | routines, add endian check. | |
9282 | (pmpy2_even): Rename from pmpy2_r, add endian check. | |
9283 | (pmpy2_odd): Rename from pmpy2_l, add endian check. | |
9284 | (vec_widen_smult_lo_v4hi): Rewrite using new routines. | |
9285 | (vec_widen_smult_hi_v4hi): Ditto. | |
9286 | (vec_widen_umult_lo_v4hi): Ditto. | |
9287 | (vec_widen_umult_hi_v4hi): Ditto. | |
9288 | (mulv2si3): Change endian checks. | |
9289 | (sdot_prodv4hi): Rewrite with new calls. | |
9290 | (udot_prodv4hi): New. | |
9291 | (vec_pack_ssat_v4hi): Add endian check. | |
9292 | (vec_pack_usat_v4hi): Ditto. | |
9293 | (vec_pack_ssat_v2si): Ditto. | |
9294 | (max1_even): Rename from max1_r, add endian check. | |
9295 | (max1_odd): Rename from max1_l, add endian check. | |
9296 | (*mux1_rev): Format change. | |
9297 | (*mux1_mix): Ditto. | |
9298 | (*mux1_shuf): Ditto. | |
9299 | (*mux1_alt): Ditto. | |
9300 | (*mux1_brcst_v8qi): Use new predicate. | |
9301 | (vec_extract_evenv8qi): Remove endian check. | |
9302 | (vec_extract_oddv8qi): Ditto. | |
9303 | (vec_interleave_lowv4hi): Format change. | |
9304 | (vec_interleave_highv4hi): Ditto. | |
9305 | (mix2_even): Rename from mix2_r, add endian check. | |
9306 | (mix2_odd): Rename from mux2_l, add endian check. | |
9307 | (*mux2): Fix mask setting for TARGET_BIG_ENDIAN. | |
9308 | (vec_extract_evenodd_helper): Format change. | |
9309 | (vec_extract_evenv4hi): Remove endian check. | |
9310 | (vec_extract_oddv4hi): Remove endian check. | |
9311 | (vec_interleave_lowv2si): Format change. | |
9312 | (vec_interleave_highv2si): Format change. | |
9313 | (vec_initv2si): Remove endian check. | |
9314 | (vecinit_v2si): Add endian check. | |
9315 | (reduc_splus_v2sf): Add endian check. | |
9316 | (reduc_smax_v2sf): Ditto. | |
9317 | (reduc_smin_v2sf): Ditto. | |
9318 | (vec_initv2sf): Remove endian check. | |
9319 | (fpack): Add endian check. | |
9320 | (fswap): Add endian check. | |
9321 | (vec_interleave_highv2sf): Add endian check. | |
9322 | (vec_interleave_lowv2sf): Add endian check. | |
9323 | (fmix_lr): Add endian check. | |
9324 | (vec_setv2sf): Format change. | |
9325 | (*vec_extractv2sf_0_be): Use shift to extract operand. | |
9326 | (*vec_extractv2sf_1_be): New. | |
9327 | (vec_pack_trunc_v4hi): Add endian check. | |
9328 | (vec_pack_trunc_v2si): Format change. | |
9329 | ||
dcde5957 JJ |
9330 | 2011-02-04 Jakub Jelinek <jakub@redhat.com> |
9331 | ||
9332 | PR inline-asm/23200 | |
9333 | * tree-ssa-ter.c (is_replaceable_p): Add TER argument. Don't | |
38be4072 | 9334 | do bb, locus and block comparison and disallow loads if it is not set. |
dcde5957 JJ |
9335 | (stmt_is_replaceable_p): New function. |
9336 | (process_replaceable, find_replaceable_in_bb): Adjust is_replaceable_p | |
9337 | callers. | |
9338 | * expr.c (expand_expr_real_1) <case SSA_NAME>: If | |
9339 | get_gimple_for_ssa_name try for EXPAND_INITIALIZER harder to use | |
9340 | SSA_NAME_DEF_STMT. | |
9341 | * tree-flow.h (stmt_is_replaceable_p): New prototype. | |
9342 | ||
a64a8e5a JM |
9343 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
9344 | ||
9345 | * config/rs6000/xilinx.opt: New. | |
9346 | * config.gcc (powerpc-xilinx-eabi*): Use rs6000/xilinx.opt. | |
9347 | ||
4da2ed2f JM |
9348 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
9349 | ||
9350 | * config/mips/mips.opt (EB, EL, noasmopt): New Driver options. | |
9351 | ||
a6e508f9 AS |
9352 | 2011-02-03 Anatoly Sokolov <aesok@post.ru> |
9353 | ||
9354 | * config/xtensa/xtensa.h (PREFERRED_RELOAD_CLASS, | |
9355 | PREFERRED_OUTPUT_RELOAD_CLASS): Remove. | |
9356 | * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class, | |
9357 | secondary_reload_info, xtensa_secondary_reload): Remove. | |
9358 | * config/xtensa/xtensa.c (TARGET_PREFERRED_RELOAD_CLASS, | |
9359 | TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. | |
9360 | (xtensa_preferred_reload_class): Make static. Change return and | |
9361 | 'rclass' argument type to reg_class_t. Remove 'isoutput' argument. | |
9362 | Use CONST_DOUBLE_P predicate. | |
9363 | (xtensa_preferred_output_reload_class): New function. | |
9364 | (xtensa_secondary_reload): Make static. | |
9365 | ||
82dc0de3 JM |
9366 | 2011-02-03 Joseph Myers <joseph@codesourcery.com> |
9367 | ||
9368 | * config/microblaze/microblaze.opt (Zxl-mode-bootstrap, | |
9369 | Zxl-mode-executable, Zxl-mode-novectors, Zxl-mode-xilkernel, | |
9370 | Zxl-mode-xmdstub, mxl-mode-xilkernel): New Driver options. | |
9371 | ||
7fece979 JJ |
9372 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
9373 | ||
9374 | PR middle-end/31490 | |
9375 | * output.h (SECTION_RELRO): Define. | |
9376 | (SECTION_MACH_DEP): Adjust. | |
9377 | (get_variable_section): New prototype. | |
9378 | * varpool.c (varpool_finalize_named_section_flags): New function. | |
9379 | (varpool_assemble_pending_decls): Call it. | |
9380 | * cgraph.h (varpool_finalize_named_section_flags): New prototype. | |
9381 | * cgraphunit.c (cgraph_output_in_order): Call | |
9382 | varpool_finalize_named_section_flags. | |
9383 | * varasm.c (get_section): Allow section flags conflicts between | |
9384 | relro and read-only sections if the section hasn't been declared yet. | |
9385 | Set SECTION_OVERRIDE after diagnosing section type conflict. | |
9386 | (get_variable_section): No longer static. | |
9387 | (default_section_type_flags): Use SECTION_WRITE | SECTION_RELRO for | |
9388 | readonly sections that need relocations. | |
9389 | (decl_readonly_section_1): New function. | |
9390 | (decl_readonly_section): Use it. | |
9391 | ||
9392 | Revert: | |
509d65dd | 9393 | 2010-11-17 Dinar Temirbulatov <dtemirbulatov@gmail.com> |
7fece979 JJ |
9394 | Steve Ellcey <sje@cup.hp.com> |
9395 | ||
9396 | PR middle-end/31490 | |
9397 | * varasm.c (categorize_decl_for_section): Ignore reloc_rw_mask | |
9398 | if section attribute used. | |
9399 | ||
d18d5478 JJ |
9400 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
9401 | ||
9402 | * config/darwin.h (SECTION_NO_ANCHOR): Remove. | |
9403 | * config/darwin.c (SECTION_NO_ANCHOR): Define. | |
9404 | (darwin_init_sections): Remove assertion. | |
9405 | ||
6479ed4b NC |
9406 | 2011-02-03 Nick Clifton <nickc@redhat.com> |
9407 | ||
9408 | * config/rx/predicates.md (rx_zs_comparison_operator): Remove | |
9409 | lt and ge. | |
38be4072 | 9410 | * config/rx/rx.md (abssi2_flags): Use CC_ZSmode rather than CC_ZSOmode. |
6479ed4b NC |
9411 | * config/rx/rx.c (rx_print_operand): Use "lt" and "ge" suffixes |
9412 | instead of "n" and "pz". | |
9413 | (flags_from_code): LT and GE tests need CC_FLAG_O as well as | |
9414 | CC_FLAG_S. | |
9415 | ||
89843f5d JJ |
9416 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
9417 | ||
65450d64 JJ |
9418 | PR target/47312 |
9419 | * expr.c (expand_expr_real_2) <case FMA_EXPR>: If target doesn't expand | |
9420 | fma, expand FMA_EXPR as fma{,f,l} call. | |
9421 | ||
7d58701c JJ |
9422 | PR lto/47274 |
9423 | * lto-streamer-out.c (write_symbol): When writing kind and visibility, | |
9424 | copy them into a unsigned char variable and pass address of it to | |
9425 | lto_output_data_stream. | |
9426 | ||
89843f5d JJ |
9427 | PR target/47564 |
9428 | * toplev.c (target_reinit): Save and restore *crtl and regno_reg_rtx | |
9429 | around backend_init_target and lang_dependent_init_target calls. | |
9430 | * cgraphunit.c (cgraph_debug_gimple_stmt): New function. | |
9431 | (verify_cgraph_node): Don't call set_cfun here. Use | |
9432 | cgraph_debug_gimple_stmt instead of debug_gimple_stmt. | |
9433 | Set error_found for incorrectly represented calls to thunks. | |
9434 | ||
4deef538 AO |
9435 | 2011-02-03 Alexandre Oliva <aoliva@redhat.com> |
9436 | ||
9437 | PR debug/43092 | |
9438 | PR rtl-optimization/43494 | |
9439 | * rtl.h (for_each_inc_dec_fn): New type. | |
9440 | (for_each_inc_dec): Declare. | |
9441 | * rtlanal.c (struct for_each_inc_dec_ops): New type. | |
9442 | (for_each_inc_dec_find_inc_dec): New fn. | |
9443 | (for_each_inc_dec_find_mem): New fn. | |
9444 | (for_each_inc_dec): New fn. | |
9445 | * dse.c (struct insn_size): Remove. | |
9446 | (replace_inc_dec, replace_inc_dec_mem): Remove. | |
9447 | (emit_inc_dec_insn_before): New fn. | |
9448 | (check_for_inc_dec): Use it, along with for_each_inc_dec. | |
9449 | (canon_address): Pass mem modes to cselib_lookup. | |
9450 | * cselib.h (cselib_lookup): Add memmode argument. Adjust callers. | |
9451 | (cselib_lookup_from_insn): Likewise. | |
9452 | (cselib_subst_to_values): Likewise. | |
9453 | * cselib.c (find_slot_memmode): New var. | |
9454 | (cselib_find_slot): New fn. Use it instead of | |
9455 | htab_find_slot_with_hash everywhere. | |
9456 | (entry_and_rtx_equal_p): Use find_slot_memmode. | |
9457 | (autoinc_split): New fn. | |
9458 | (rtx_equal_for_cselib_p): Rename and implement in terms of... | |
9459 | (rtx_equal_for_cselib_1): ... this. Take memmode, pass it on. | |
9460 | Deal with autoinc. Special-case recursion into MEMs. | |
9461 | (cselib_hash_rtx): Likewise. | |
9462 | (cselib_lookup_mem): Infer pmode from address mode. Distinguish | |
9463 | address and MEM modes. | |
9464 | (cselib_subst_to_values): Add memmode, pass it on. | |
9465 | Deal with autoinc. | |
9466 | (cselib_lookup): Add memmode argument, pass it on. | |
9467 | (cselib_lookup_from_insn): Add memmode. | |
9468 | (cselib_invalidate_rtx): Discard obsolete push_operand handling. | |
9469 | (struct cselib_record_autoinc_data): New. | |
9470 | (cselib_record_autoinc_cb): New fn. | |
9471 | (cselib_record_sets): Use it, along with for_each_inc_dec. Pass MEM | |
9472 | mode to cselib_lookup. Reset autoinced REGs here instead of... | |
9473 | (cselib_process_insn): ... here. | |
9474 | * var-tracking.c (replace_expr_with_values, use_type): Pass MEM mode | |
9475 | to cselib_lookup. | |
9476 | (add_uses): Likewise, also to cselib_subst_to_values. | |
9477 | (add_stores): Likewise. | |
9478 | * sched-deps.c (add_insn_mem_dependence): Pass mode to | |
9479 | cselib_subst_to_values. | |
9480 | (sched_analyze_1, sched_analyze_2): Likewise. Adjusted. | |
9481 | * gcse.c (do_local_cprop): Adjusted. | |
9482 | * postreload.c (reload_cse_simplify_set): Adjusted. | |
9483 | (reload_cse_simplify_operands): Adjusted. | |
9484 | * sel-sched-dump (debug_mem_addr_value): Pass mode. | |
9485 | ||
1551d44a AO |
9486 | 2011-02-03 Alexandre Oliva <aoliva@redhat.com> |
9487 | ||
9488 | PR tree-optimization/45122 | |
9489 | * tree-ssa-loop-niter.c (number_of_iterations_exit): Don't make | |
9490 | unsafe assumptions when there's more than one loop exit. | |
9491 | ||
c9485473 MM |
9492 | 2011-02-02 Michael Meissner <meissner@linux.vnet.ibm.com> |
9493 | ||
9494 | PR target/47272 | |
9495 | * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): | |
9496 | Document using vector double with the load/store builtins, and | |
9497 | that the load/store builtins always use Altivec instructions. | |
9498 | ||
9499 | * config/rs6000/vector.md (vector_altivec_load_<mode>): New insns | |
9500 | to use altivec memory instructions, even on VSX. | |
9501 | (vector_altivec_store_<mode>): Ditto. | |
9502 | ||
9503 | * config/rs6000/rs6000-protos.h (rs6000_address_for_altivec): New | |
9504 | function. | |
9505 | ||
9506 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add | |
9507 | V2DF, V2DI support to load/store overloaded builtins. | |
9508 | ||
9509 | * config/rs6000/rs6000-builtin.def (ALTIVEC_BUILTIN_*): Add | |
9510 | altivec load/store builtins for V2DF/V2DI types. | |
9511 | ||
9512 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't | |
9513 | set avoid indexed addresses on power6 if -maltivec. | |
9514 | (altivec_expand_ld_builtin): Add V2DF, V2DI support, use | |
9515 | vector_altivec_load/vector_altivec_store builtins. | |
9516 | (altivec_expand_st_builtin): Ditto. | |
9517 | (altivec_expand_builtin): Add VSX memory builtins. | |
9518 | (rs6000_init_builtins): Add V2DI types to internal types. | |
9519 | (altivec_init_builtins): Add support for V2DF/V2DI altivec | |
9520 | load/store builtins. | |
9521 | (rs6000_address_for_altivec): Insure memory address is appropriate | |
9522 | for Altivec. | |
9523 | ||
9524 | * config/rs6000/vsx.md (vsx_load_<mode>): New expanders for | |
9525 | vec_vsx_ld and vec_vsx_st. | |
9526 | (vsx_store_<mode>): Ditto. | |
9527 | ||
9528 | * config/rs6000/rs6000.h (RS6000_BTI_long_long): New type | |
9529 | variables to hold long long types for VSX vector memory builtins. | |
9530 | (RS6000_BTI_unsigned_long_long): Ditto. | |
9531 | (long_long_integer_type_internal_node): Ditti. | |
9532 | (long_long_unsigned_type_internal_node): Ditti. | |
9533 | ||
9534 | * config/rs6000/altivec.md (UNSPEC_LVX): New UNSPEC. | |
9535 | (altivec_lvx_<mode>): Make altivec_lvx use a mode iterator. | |
9536 | (altivec_stvx_<mode>): Make altivec_stvx use a mode iterator. | |
9537 | ||
9538 | * config/rs6000/altivec.h (vec_vsx_ld): Define VSX memory builtin | |
9539 | short cuts. | |
9540 | (vec_vsx_st): Ditto. | |
9541 | ||
b24d1acf JM |
9542 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
9543 | ||
9544 | * config/pa/pa-hpux10.opt: New. | |
9545 | * config/hpux11.opt (pthread): New Driver option. | |
9546 | * config/pa/pa-hpux.opt (nolibdld, rdynamic): New Driver options. | |
9547 | * config.gcc (hppa[12]*-*-hpux10*): Use pa/pa-hpux10.opt. | |
9548 | ||
aa18dd0f JM |
9549 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
9550 | ||
9551 | * config/ia64/vms.opt: New. | |
9552 | * config.gcc (ia64-hp-*vms*): Use ia64/vms.opt. | |
9553 | ||
28fc3eee MM |
9554 | 2011-02-01 Michael Meissner <meissner@linux.vnet.ibm.com> |
9555 | ||
9556 | PR target/47580 | |
9557 | * config/rs6000/vsx.md (vsx_float<VSi><mode>2): Use | |
9558 | gpc_reg_operand instead of vsx_register_operand to match rs6000.md | |
9559 | generator functions. | |
9560 | (vsx_floatuns<VSi><mode>2): Ditto. | |
9561 | (vsx_fix_trunc<mode><VSi>2): Ditto. | |
9562 | (vsx_fixuns_trunc<mode><VSi>2): Ditto. | |
9563 | ||
b5838b1f JM |
9564 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
9565 | ||
9566 | * config/i386/djgpp.opt (posix): New Driver option. | |
9567 | ||
0db8fa89 GP |
9568 | 2011-02-02 Gerald Pfeifer <gerald@pfeifer.com> |
9569 | ||
9570 | * config.gcc (*-*-freebsd[12], *-*-freebsd[12].*, *-*-freebsd*aout*): | |
9571 | Move to the unsupported targets list. | |
9572 | ||
9cd4f22a PB |
9573 | 2011-02-02 Peter Bergner <bergner@vnet.ibm.com> |
9574 | ||
9575 | PR rtl-optimization/47525 | |
9576 | * df-scan.c: Update copyright years. | |
9577 | (df_get_call_refs): Do not mark global registers as DF_REF_REG_USE | |
9578 | and non-clobber DF_REF_REG_DEF for calls to const and pure functions. | |
9579 | ||
9ed8059c RO |
9580 | 2011-02-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9581 | ||
9582 | * config/i386/sysv4.h (TARGET_VERSION): Remove. | |
9583 | (SUBTARGET_RETURN_IN_MEMORY): Remove. | |
9584 | (ASM_OUTPUT_ASCII): Remove. | |
9585 | * config/i386/sol2.h (SUBTARGET_RETURN_IN_MEMORY): Remove #undef. | |
9586 | ||
2a737389 JL |
9587 | 2011-02-02 Jeff Law <law@redhat.com> |
9588 | ||
9589 | PR middle-end/47543 | |
9590 | * reload.c (find_reloads_address): Handle reg+d address where both | |
9591 | components are invalid by reloading the entire address. | |
9592 | ||
9dac82c4 SP |
9593 | 2011-02-02 Sebastian Pop <sebastian.pop@amd.com> |
9594 | Richard Guenther <rguenther@suse.de> | |
9595 | ||
9596 | PR tree-optimization/40979 | |
9597 | PR bootstrap/47044 | |
9598 | * passes.c (init_optimization_passes): After LIM call copy_prop | |
9599 | and DCE to clean up. | |
9600 | * tree-ssa-loop.c (pass_graphite_transforms): Add TODO_dump_func. | |
9601 | ||
14dd9aab SP |
9602 | 2011-02-02 Sebastian Pop <sebastian.pop@amd.com> |
9603 | ||
9604 | PR tree-optimization/47576 | |
9605 | PR tree-optimization/47555 | |
9606 | * doc/invoke.texi (scev-max-expr-complexity): Documented. | |
9607 | * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. | |
9608 | (PARAM_SCEV_MAX_EXPR_COMPLEXITY): Declared. | |
9609 | * tree-scalar-evolution.c (follow_ssa_edge): Use | |
9610 | PARAM_SCEV_MAX_EXPR_COMPLEXITY. | |
9611 | ||
5cbf5c20 RG |
9612 | 2011-02-02 Richard Guenther <rguenther@suse.de> |
9613 | ||
9614 | PR tree-optimization/47566 | |
9615 | * builtins.c (builtin_save_expr): No SAVE_EXPR for SSA_NAMEs. | |
9616 | ||
83d70792 AO |
9617 | 2011-02-02 Alexandre Oliva <aoliva@redhat.com> |
9618 | ||
e829c321 AO |
9619 | PR debug/47106 |
9620 | PR debug/47402 | |
9621 | * tree-inline.c (declare_return_variable): Remove unused caller | |
9622 | variable. | |
9623 | ||
83d70792 AO |
9624 | PR debug/47106 |
9625 | PR debug/47402 | |
9626 | * tree-flow-inline.h (clear_is_used, is_used_p): New. | |
9627 | * cfgexpand.c (account_used_vars_for_block): Use them. | |
9628 | * tree-nrv.c (tree_nrv): Likewise. | |
9629 | * tree-ssa-live.c (remove_unused_scope_block_p): Likewise. | |
9630 | (dump_scope_block): Likewise. | |
9631 | (remove_unused_locals): Likewise. | |
9632 | ||
aaa2ac93 AO |
9633 | PR debug/47106 |
9634 | PR debug/47402 | |
9635 | * tree-inline.c (declare_return_variable): Add result decl to | |
9636 | local decls only once. | |
9637 | * gimple-low.c (record_vars_into): Mark newly-created variables | |
9638 | as referenced. | |
9639 | ||
a59d15cf AO |
9640 | 2011-02-02 Alexandre Oliva <aoliva@redhat.com> |
9641 | ||
9642 | PR debug/47498 | |
9643 | PR debug/47501 | |
9644 | PR debug/45136 | |
9645 | PR debug/45130 | |
9646 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
9647 | debug insns. | |
9648 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
9649 | treatment of boundary debug insns. | |
38be4072 | 9650 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
a59d15cf AO |
9651 | * sched-ebb.c (schedule_ebbs): Adjust skipping of debug insns. |
9652 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
9653 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
9654 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
9655 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
9656 | boundary debug insns. | |
9657 | * final.c (rest_of_clean_state): Clear notes' BB. | |
9658 | ||
6fc2f091 JM |
9659 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
9660 | ||
9661 | * config/openbsd.opt (assert=): New Driver option. | |
9662 | ||
fc523387 JM |
9663 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
9664 | ||
9665 | * config/i386/nto.opt: New. | |
9666 | * config.gcc (i[34567]86-*-nto-qnx*): Use i386/nto.opt. | |
9667 | ||
6d9821e5 JM |
9668 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
9669 | ||
9670 | * config/i386/netware.opt: New. | |
9671 | * config.gcc (i[3456x]86-*-netware*): Use i386/netware.opt. | |
9672 | ||
cef932d4 JM |
9673 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
9674 | ||
9675 | * config/interix.opt (posix): New Driver option. | |
9676 | ||
22843acd DD |
9677 | 2011-02-01 DJ Delorie <dj@redhat.com> |
9678 | ||
56490b74 DD |
9679 | * config/m32c/m32c.h (PTRDIFF_TYPE): Remove extra definition. |
9680 | ||
22843acd DD |
9681 | * config/m32c/m32c.c (m32c_regno_reg_class): Return smallest reg |
9682 | class for A0/A1. | |
9683 | ||
199c8f2f SP |
9684 | 2011-02-01 Sebastian Pop <sebastian.pop@amd.com> |
9685 | ||
9686 | PR tree-optimization/47561 | |
9687 | * toplev.c (process_options): Print the Graphite flags. Add | |
9688 | flag_loop_flatten to the list of options requiring Graphite. | |
9689 | ||
926bcf22 JM |
9690 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
9691 | ||
9692 | * config/i386/cygming.opt (posix): New Driver option. | |
9693 | ||
59793c51 JM |
9694 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
9695 | ||
9696 | * config/arm/vxworks.opt: New. | |
9697 | * config.gcc (arm-wrs-vxworks): Use arm/vxworks.opt. | |
9698 | ||
183c38a4 JM |
9699 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
9700 | ||
9701 | * config/alpha/elf.opt: New. | |
9702 | * config.gcc (alpha*-*-linux*, alpha*-*-gnu*, alpha*-*-freebsd*, | |
9703 | alpha*-*-netbsd*, alpha*-*-openbsd*): Use alpha/elf.opt. | |
9704 | ||
9939e416 RG |
9705 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
9706 | ||
9707 | PR tree-optimization/47559 | |
9708 | * tree-ssa-loop-im.c (can_sm_ref_p): Do not perform | |
9709 | store-motion on references that can throw. | |
9710 | ||
4a3c9687 BS |
9711 | 2011-02-01 Bernd Schmidt <bernds@codesourcery.com> |
9712 | ||
9713 | * tree-dump.c (dump_option_value_info): Add entry for TDF_CSELIB. | |
9714 | * tree-pass.h (TDF_CSELIB): New macro. | |
9715 | * cselib.c (new_cselib_val, expand_loc, cselib_expand_value_rtx_1, | |
9716 | cselib_lookup): Check for it rather than for TDF_DETAILS. | |
9717 | ||
dd3b31fb L |
9718 | 2011-02-01 H.J. Lu <hongjiu.lu@intel.com> |
9719 | ||
9720 | PR driver/47547 | |
9721 | * lto-wrapper.c (run_gcc): Don't add -dumpdir if linker_output | |
9722 | is HOST_BIT_BUCKET. | |
9723 | ||
9724 | * opts.c (finish_options): Don't add x_aux_base_name if it is | |
9725 | HOST_BIT_BUCKET. | |
9726 | ||
34c1de79 RG |
9727 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
9728 | ||
9729 | PR tree-optimization/47555 | |
9730 | Revert | |
9731 | 2010-07-15 Sebastian Pop <sebastian.pop@amd.com> | |
9732 | ||
9733 | * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. | |
9734 | ||
dd2804d2 SB |
9735 | 2011-02-01 Sebastien Bourdeauducq <sebastien@milkymist.org> |
9736 | ||
9737 | PR gcc/46692 | |
9738 | * config/lm32/t-lm32: Add multilib for all CPU options. | |
9739 | ||
3fd3b156 RG |
9740 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
9741 | ||
9742 | PR tree-optimization/47541 | |
9743 | * tree-ssa-structalias.c (push_fields_onto_fieldstack): Make | |
9744 | sure to have a field at offset zero. | |
9745 | ||
f16072b6 JM |
9746 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
9747 | ||
9748 | * config/arc/arc.opt (EB, EL): New Driver options. | |
9749 | ||
6456cf2e JM |
9750 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
9751 | ||
9752 | * config/alpha/osf5.opt: New. | |
9753 | * config.gcc (alpha*-dec-osf5.1*): Use alpha/osf5.opt. | |
9754 | ||
cdde6ab4 JM |
9755 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
9756 | ||
9757 | * config/vms/vms.opt (map, mvms-return-codes): New Driver options. | |
9758 | ||
7633415c SP |
9759 | 2011-01-31 Sebastian Pop <sebastian.pop@amd.com> |
9760 | ||
9761 | * common.opt (ftree-loop-linear): Use Alias to make it an alias of | |
9762 | -floop-interchange. | |
9763 | * invoke.texi (-ftree-loop-linear): Make it clear that this flag | |
9764 | is an alias of -floop-interchange and that it requires the | |
9765 | Graphite infrastructure. | |
9766 | * tree-ssa-loop.c (gate_graphite_transforms): Do not set | |
9767 | flag_loop_interchange based on the value of flag_tree_loop_linear. | |
9768 | ||
0425d6f5 JJ |
9769 | 2011-01-31 Jakub Jelinek <jakub@redhat.com> |
9770 | Richard Guenther <rguenther@suse.de> | |
9771 | ||
9772 | PR tree-optimization/47538 | |
9773 | * tree-ssa-ccp.c (bit_value_binop_1): For uns computation use | |
9774 | type instead of r1type, except for comparisons. For right | |
9775 | shifts and comparisons punt if there are mismatches in | |
9776 | sizetype vs. non-sizetype types. | |
9777 | ||
500b16c3 RO |
9778 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9779 | ||
9780 | * doc/sourcebuild.texi (Effective-Target Keywords): Document | |
9781 | avx_runtime. | |
9782 | ||
e279edb0 RO |
9783 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9784 | ||
9785 | * configure.ac (gcc_cv_ld_eh_frame_hdr): Update minimal Sun ld | |
9786 | version number. | |
9787 | * configure: Regenerate. | |
9788 | ||
c6092243 RO |
9789 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9790 | ||
9791 | * configure.ac (gcc_cv_ld_static_option): Define. | |
9792 | (gcc_cv_ld_dynamic_option): Define. | |
9793 | (gcc_cv_ld_static_dynamic): Tru64 UNIX support -noso/-so_archive | |
9794 | instead. | |
9795 | (HAVE_LD_STATIC_DYNAMIC): Update message. | |
9796 | (LD_STATIC_OPTION): Define. | |
9797 | (LD_DYNAMIC_OPTION): Define. | |
9798 | * configure: Regenerate. | |
9799 | * config.in: Regenerate. | |
9800 | * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS && | |
9801 | HAVE_LD_STATIC_DYNAMIC]: Use them. | |
9802 | ||
d7862be3 NC |
9803 | 2011-01-31 Nick Clifton <nickc@redhat.com> |
9804 | ||
9805 | * config/rx/rx.c (rx_get_stack_layout): Only save call clobbered | |
9806 | registers inside interrupt handlers if the handler is not a leaf | |
9807 | function. | |
9808 | ||
ba4ec0e0 NC |
9809 | 2011-01-31 Nick Clifton <nickc@redhat.com> |
9810 | ||
9811 | * config/mn10300/mn10300.c (mn10300_regno_in_class_p): Check for | |
9812 | reg_renumber returning an INVALID_REGNUM. | |
9813 | ||
29a63921 AO |
9814 | 2011-01-31 Alexandre Oliva <aoliva@redhat.com> |
9815 | ||
9816 | PR libgcj/44341 | |
9817 | * doc/install.texi: Document host options discarded when cross | |
9818 | configuring target libraries. | |
9819 | ||
ef591d3f AO |
9820 | 2011-01-31 Alexandre Oliva <aoliva@redhat.com> |
9821 | ||
9822 | Reverted: | |
9823 | 2011-01-25 Alexandre Oliva <aoliva@redhat.com> | |
9824 | PR debug/45136 | |
9825 | PR debug/45130 | |
9826 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
9827 | debug insns. | |
9828 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
9829 | treatment of boundary debug insns. | |
38be4072 | 9830 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
ef591d3f AO |
9831 | * sched-ebb.c (schedule_ebbs): Don't skip debug insns. |
9832 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
9833 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
9834 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
9835 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
9836 | boundary debug insns. | |
9837 | * final.c (rest_of_clean-state): Clear notes' BB. | |
9838 | ||
61052244 AM |
9839 | 2011-01-31 Alan Modra <amodra@gmail.com> |
9840 | ||
9841 | * config/rs6000/rs6000.c (print_operand): Rearrange addends in | |
9842 | toc relative expressions as we do in print_operand_address. | |
9843 | ||
c4c8962b KH |
9844 | 2011-01-30 Kazu Hirata <kazu@codesourcery.com> |
9845 | ||
9846 | * doc/extend.texi: Follow spelling conventions. | |
9847 | * doc/invoke.texi: Fix a typo. | |
9848 | ||
e543b94c JM |
9849 | 2011-01-30 Joseph Myers <joseph@codesourcery.com> |
9850 | ||
9851 | * config/hpux11.opt: New. | |
9852 | * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*, | |
9853 | ia64*-*-hpux*): Use hpux11.opt. | |
9854 | ||
509d65dd | 9855 | 2011-01-30 Jonathan Yong <jon_y@users.sourceforge.net> |
a70e0551 JY |
9856 | |
9857 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules | |
9858 | to tmake_file. | |
9859 | ||
7be03a0e GP |
9860 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> |
9861 | ||
9862 | * doc/install.texi (hppa-hp-hpux10): Remove references to HP | |
9863 | support sites. | |
9864 | ||
419d1d37 GP |
9865 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> |
9866 | ||
b596ed64 GP |
9867 | * doc/install.texi (Binaries): Remove outdated reference for |
9868 | Motorola 68HC11/68HC12 downloads. | |
9869 | ||
9870 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> | |
61052244 | 9871 | |
419d1d37 GP |
9872 | * doc/extend.texi (Thread-Local): Adjust reference to Ulrich |
9873 | Drepper's paper. | |
9874 | ||
4406d0e9 JW |
9875 | 2011-01-29 Jonathan Wakely <jwakely.gcc@gmail.com> |
9876 | ||
9877 | PR bootstrap/47147 | |
9878 | * ginclude/stddef.h: Check for _X86_64_ANSI_H_ and _I386_ANSI_H_ as | |
9879 | used by NetBSD. | |
9880 | ||
38be4072 | 9881 | 2011-01-28 Ahmad Sharif <asharif@google.com> |
e0b77418 AS |
9882 | |
9883 | * value-prof.c (check_counter): Corrected error message. | |
9884 | ||
0cd98787 JZ |
9885 | 2011-01-29 Jie Zhang <jie@codesourcery.com> |
9886 | ||
9887 | * config/arm/arm.c (arm_legitimize_reload_address): New. | |
9888 | * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use | |
9889 | arm_legitimize_reload_address. | |
38be4072 | 9890 | * config/arm/arm-protos.h (arm_legitimize_reload_address): Declare. |
0cd98787 | 9891 | |
9b798ac5 ILT |
9892 | 2011-01-28 Ian Lance Taylor <iant@google.com> |
9893 | ||
9894 | * godump.c (go_define): Ignore macros whose definitions include | |
9895 | two adjacent operands. | |
9896 | ||
591e29d9 JJ |
9897 | 2011-01-28 Jakub Jelinek <jakub@redhat.com> |
9898 | ||
9899 | PR target/42894 | |
9900 | * varasm.c (force_const_mem): Store copy of x in desc->constant | |
9901 | instead of x itself. | |
9902 | * expr.c (emit_move_insn): Add a copy of y_cst instead of y_cst | |
9903 | itself into REG_EQUAL note. | |
9904 | ||
62dcc44a JM |
9905 | 2011-01-28 Joseph Myers <joseph@codesourcery.com> |
9906 | ||
9907 | * config/freebsd.opt (posix, rdynamic): New Driver options. | |
9908 | ||
c9f58b9a RO |
9909 | 2011-01-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9910 | ||
9911 | * configure.ac (gcc_cv_ld_static_dynamic): IRIX 6 ld supports | |
9912 | -Bstatic/-Bdynamic. | |
9913 | * configure: Regenerate. | |
9914 | ||
5f02b9db JM |
9915 | 2011-01-27 Joseph Myers <joseph@codesourcery.com> |
9916 | ||
9917 | * config/rs6000/sysv4.h (LIB_NETBSD_SPEC): Don't handle -profile. | |
9918 | * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -profile. | |
9919 | ||
5df97412 AS |
9920 | 2011-01-27 Anatoly Sokolov <aesok@post.ru> |
9921 | ||
9922 | * config/s390/s390.h (PREFERRED_RELOAD_CLASS): Remove. | |
9923 | * config/s390/s390-protos.h (s390_preferred_reload_class): Remove. | |
9924 | * config/s390/s390.c (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
9925 | (s390_preferred_reload_class): Make static. Change return and | |
9926 | 'rclass' argument type to reg_class_t. | |
9927 | ||
779d4b91 JH |
9928 | 2011-01-27 Jan Hubicka <jh@suse.cz> |
9929 | ||
9930 | PR middle-end/46949 | |
9931 | * cgraphunit.c (process_common_attributes): Fix use of remove_attribute. | |
9932 | (process_function_and_variable_attributes): Check defined weakrefs. | |
9933 | ||
e80b21ed MJ |
9934 | 2011-01-27 Martin Jambor <mjambor@suse.cz> |
9935 | ||
9936 | PR tree-optimization/47228 | |
9937 | * tree-sra.c (sra_modify_assign): Use build_ref_for_model instead of | |
9938 | build_ref_for_offset. | |
9939 | ||
6dcc4f31 UW |
9940 | 2011-01-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
9941 | ||
9942 | * config/spu/spu-elf.h (ASM_SPEC): Remove. | |
9943 | ||
509d65dd | 9944 | 2011-01-26 Mikael Pettersson <mikpe@it.uu.se> |
3b8ff89f MP |
9945 | |
9946 | PR rtl-optimization/46856 | |
9947 | * postreload.c (reload_combine_recognize_const_pattern): Do not | |
9948 | separate cc0 setter and user on cc0 targets. | |
9949 | ||
04af8788 NP |
9950 | 2011-01-26 Nicola Pero <nicola.pero@meta-innovation.com> |
9951 | ||
9952 | PR c/43082 | |
9953 | * c-typeck.c (c_objc_common_truthvalue_conversion): If we are | |
9954 | passed a VOID_TYPE expression, immediately emit an error and | |
9955 | return error_mark_node. | |
9956 | ||
f7a60085 JL |
9957 | 2011-01-26 Jeff Law <law@redhat.com> |
9958 | ||
9959 | PR rtl-optimization/47464 | |
9960 | * df-problems.c (can_move_insn_across): Use may_trap_or_fault_p | |
9961 | rather than may_trap_p as needed. | |
9962 | ||
5c2917ec DD |
9963 | 2011-01-26 DJ Delorie <dj@redhat.com> |
9964 | ||
9965 | PR rtl-optimization/46878 | |
9966 | * combine.c (insn_a_feeds_b): Check for the implicit cc0 | |
9967 | setter/user dependency as well. | |
9968 | ||
bef16e87 EB |
9969 | 2011-01-26 Eric Botcazou <ebotcazou@adacore.com> |
9970 | ||
9971 | PR rtl-optimization/44469 | |
9972 | * cfgcleanup.c (try_optimize_cfg): Iterate in CFG layout mode too | |
9973 | after removing trivially dead basic blocks. | |
9974 | ||
c75d884b JM |
9975 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
9976 | ||
9977 | * config/bfin/bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}. | |
9978 | * config/frv/frv.h (LINK_SPEC): Likewise. | |
9979 | * config/i386/netware.h (LINK_SPEC): Likewise. | |
9980 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
9981 | * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise. | |
9982 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
9983 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
9984 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
9985 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
9986 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
9987 | ||
d3153553 JM |
9988 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
9989 | ||
9990 | * config/bfin/bfin.h (ASM_SPEC): Remove %{Ym,*}. | |
9991 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
9992 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
9993 | * config/pa/pa-linux.h (ASM_SPEC): Likewise. | |
9994 | * config/rs6000/linux64.h (ASM_SPEC): Likewise. | |
9995 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
9996 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
9997 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
9998 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
9999 | ||
b89b1e9d JM |
10000 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
10001 | ||
10002 | * config/bfin/bfin.h (LINK_SPEC): Remove %{YP,*}. | |
10003 | * config/frv/frv.h (LINK_SPEC): Likewise. | |
10004 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
10005 | ||
12eb1a9c JM |
10006 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
10007 | ||
10008 | * config/bfin/bfin.h (ASM_SPEC): Remove %{Yd,*}. | |
10009 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
10010 | * config/i386/sol2-10.h (ASM_SPEC): Likewise. | |
10011 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
10012 | * config/pa/pa-linux.h (ASM_SPEC): Likewise. | |
10013 | * config/rs6000/linux64.h (ASM_SPEC32): Likewise. | |
10014 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
10015 | * config/sol2.h (ASM_SPEC): Remove comment about -Yd,. | |
10016 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
10017 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
10018 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
10019 | * config/sparc/sysv4.h (ASM_SPEC): Remove %{Yd,*}. | |
10020 | ||
e435f098 SE |
10021 | 2011-01-26 Steve Ellcey <sje@cup.hp.com> |
10022 | ||
10023 | PR target/46997 | |
10024 | * config/ia64/vect.md (mulv2si3): Enable and fix for TARGET_BIG_ENDIAN. | |
10025 | (*mux2): Ditto. | |
10026 | (vec_extract_evenodd_help): Ditto. | |
10027 | (vec_extract_evenv4hi): Ditto. | |
10028 | (vec_extract_oddv4hi): Ditto. | |
10029 | (vec_interleave_lowv2si): Ditto. | |
10030 | (vec_interleave_highv2si): Ditto. | |
10031 | (vec_extract_evenv2si): Ditto. | |
10032 | (vec_extract_oddv2si: Ditto. | |
10033 | (vec_pack_trunc_v2si): Ditto. | |
10034 | ||
34f0eee0 JH |
10035 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
10036 | ||
10037 | PR target/47237 | |
10038 | * cgraph.h (cgraph_local_info): New field can_change_signature. | |
10039 | * ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee | |
10040 | signature can change. | |
10041 | (ipcp_estimate_growth): Call sequence simplify only if calle signature | |
10042 | can change. | |
10043 | (ipcp_insert_stage): Only compute args_to_skip if signature can change. | |
10044 | (cgraph_function_versioning): We can not change signature of functions | |
10045 | that don't allow that. | |
10046 | * lto-cgraph.c (lto_output_node): Stream local.can_change_signature. | |
10047 | (lto_input_node): Likewise. | |
38be4072 UB |
10048 | * ipa-inline.c (compute_inline_parameters): Compute |
10049 | local.can_change_signature. | |
34f0eee0 | 10050 | * ipa-split.c (visit_bb): Never split away APPLY_ARGS. |
38be4072 UB |
10051 | * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on |
10052 | functions that can not change signature. | |
34f0eee0 | 10053 | * i386.c (ix86_function_regparm, ix86_function_sseregparm, |
38be4072 UB |
10054 | init_cumulative_args): Do not use local calling conventions |
10055 | for functions that can not change signature. | |
34f0eee0 | 10056 | |
980ca891 JH |
10057 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
10058 | ||
10059 | * doc/invoke.texi (hot-bb-frequency-fraction): Commit forgotten hunk. | |
10060 | ||
768e3c60 RG |
10061 | 2011-01-26 Richard Guenther <rguenther@suse.de> |
10062 | ||
10063 | PR tree-optimization/47190 | |
61052244 AM |
10064 | * cgraphunit.c (process_common_attributes): New function. |
10065 | (process_function_and_variable_attributes): Use it. | |
768e3c60 | 10066 | |
21d6a1c7 RG |
10067 | 2011-01-26 Richard Guenther <rguenther@suse.de> |
10068 | ||
10069 | PR lto/47423 | |
10070 | * cgraphbuild.c (record_eh_tables): Record reference to personality | |
10071 | function. | |
10072 | ||
48bb58b1 AO |
10073 | 2011-01-26 Alexandre Oliva <aoliva@redhat.com> |
10074 | ||
10075 | PR debug/45454 | |
10076 | * sel-sched.c (moveup_expr): Don't let debug insns prevent | |
10077 | non-debug insns from moving up. | |
10078 | ||
58c741a6 DK |
10079 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
10080 | ||
10081 | PR target/40125 | |
10082 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable | |
10083 | t-dlldir{,-x} fragment for build and add it to tmake_file. | |
10084 | (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise. | |
10085 | * Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc. | |
10086 | * config/i386/t-dlldir: New file. | |
10087 | (SHLIB_DLLDIR): Define. | |
10088 | * config/i386/t-dlldir-x: New file. | |
10089 | (SHLIB_DLLDIR): Define. | |
10090 | * config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set. | |
10091 | (SHLIB_INSTALL): Use it. | |
10092 | ||
bff99262 CLT |
10093 | 2011-01-26 Chung-Lin Tang <cltang@codesourcery.com> |
10094 | ||
10095 | PR target/47246 | |
10096 | * config/arm/arm.c (thumb2_legitimate_index_p): Change the | |
10097 | lower bound of the allowed Thumb-2 coprocessor load/store | |
10098 | index range to -256. Add explaining comment. | |
10099 | ||
82c03907 ILT |
10100 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
10101 | ||
10102 | * godump.c (go_define): Improve lexing of macro expansion to only | |
10103 | accept expressions which match Go spec. | |
10104 | ||
47ea1edf DK |
10105 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
10106 | ||
d4dba752 | 10107 | PR c++/43601 |
47ea1edf DK |
10108 | * tree.c (handle_dll_attribute): Handle it. |
10109 | * doc/extend.texi (@item dllexport): Mention it. | |
10110 | * doc/invoke.texi (@item -fno-keep-inline-dllexport): Document it. | |
10111 | ||
744f0946 ILT |
10112 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
10113 | ||
10114 | PR tree-optimization/26854 | |
10115 | * c-decl.c (struct c_scope): Add field has_jump_unsafe_decl. | |
10116 | (decl_jump_unsafe): Move higher in file, with no other change. | |
10117 | (bind): Set has_jump_unsafe_decl if appropriate. | |
10118 | (update_label_decls): Test has_jump_unsafe_decl to avoid loop. | |
10119 | (check_earlier_gotos): Likewise. | |
10120 | (c_check_switch_jump_warnings): Likewise. | |
10121 | ||
5734f2b3 JW |
10122 | 2011-01-25 Jonathan Wakely <jwakely.gcc@gmail.com> |
10123 | ||
10124 | * doc/invoke.texi (Warning Options): Add missing hyphen. | |
10125 | (-fprofile-dir): Minor grammatical fixes. | |
10126 | (-fbranch-probabilities): Likewise. | |
10127 | ||
9bdbdcef AO |
10128 | 2011-01-25 Alexandre Oliva <aoliva@redhat.com> |
10129 | ||
10130 | PR debug/45136 | |
10131 | PR debug/45130 | |
10132 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
10133 | debug insns. | |
10134 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
10135 | treatment of boundary debug insns. | |
38be4072 | 10136 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
9bdbdcef AO |
10137 | * sched-ebb.c (schedule_ebbs): Don't skip debug insns. |
10138 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
10139 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
10140 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
10141 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
10142 | boundary debug insns. | |
10143 | * final.c (rest_of_clean-state): Clear notes' BB. | |
10144 | ||
b305e3da SP |
10145 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10146 | ||
10147 | * Makefile.in (LAMBDA_H): Removed. | |
10148 | (TREE_DATA_REF_H): Remove dependence on LAMBDA_H. | |
10149 | (OBJS-common): Remove dependence on lambda-code.o, lambda-mat.o, | |
10150 | lambda-trans.o, and tree-loop-linear.o. | |
10151 | (lto-symtab.o): Remove dependence on LAMBDA_H. | |
10152 | (tree-loop-linear.o): Remove rule. | |
10153 | (lambda-mat.o): Same. | |
10154 | (lambda-trans.o): Same. | |
10155 | (lambda-code.o): Same. | |
10156 | (tree-vect-loop.o): Add missing dependence on TREE_DATA_REF_H. | |
10157 | (tree-vect-slp.o): Same. | |
10158 | * hwint.h (gcd): Moved here. | |
10159 | (least_common_multiple): Same. | |
10160 | * lambda-code.c: Removed. | |
10161 | * lambda-mat.c: Removed. | |
10162 | * lambda-trans.c: Removed. | |
10163 | * lambda.h: Removed. | |
10164 | * tree-loop-linear.c: Removed. | |
10165 | * lto-symtab.c: Do not include lambda.h. | |
10166 | * omega.c (gcd): Removed. | |
10167 | * passes.c (init_optimization_passes): Remove pass_linear_transform. | |
10168 | * tree-data-ref.c (print_lambda_vector): Moved here. | |
10169 | (lambda_vector_copy): Same. | |
10170 | (lambda_matrix_copy): Same. | |
10171 | (lambda_matrix_id): Same. | |
10172 | (lambda_vector_first_nz): Same. | |
10173 | (lambda_matrix_row_add): Same. | |
10174 | (lambda_matrix_row_exchange): Same. | |
10175 | (lambda_vector_mult_const): Same. | |
10176 | (lambda_vector_negate): Same. | |
10177 | (lambda_matrix_row_negate): Same. | |
10178 | (lambda_vector_equal): Same. | |
10179 | (lambda_matrix_right_hermite): Same. | |
10180 | * tree-data-ref.h: Do not include lambda.h. | |
10181 | (lambda_vector): Moved here. | |
10182 | (lambda_matrix): Same. | |
10183 | (dependence_level): Same. | |
10184 | (lambda_transform_legal_p): Removed declaration. | |
10185 | (lambda_collect_parameters): Same. | |
10186 | (lambda_compute_access_matrices): Same. | |
10187 | (lambda_vector_gcd): Same. | |
10188 | (lambda_vector_new): Same. | |
10189 | (lambda_vector_clear): Same. | |
10190 | (lambda_vector_lexico_pos): Same. | |
10191 | (lambda_vector_zerop): Same. | |
10192 | (lambda_matrix_new): Same. | |
10193 | * tree-flow.h (least_common_multiple): Removed declaration. | |
10194 | * tree-parloops.c (lambda_trans_matrix): Moved here. | |
10195 | (LTM_MATRIX): Same. | |
10196 | (LTM_ROWSIZE): Same. | |
10197 | (LTM_COLSIZE): Same. | |
10198 | (LTM_DENOMINATOR): Same. | |
10199 | (lambda_trans_matrix_new): Same. | |
10200 | (lambda_matrix_vector_mult): Same. | |
10201 | (lambda_transform_legal_p): Same. | |
10202 | * tree-pass.h (pass_linear_transform): Removed declaration. | |
10203 | * tree-ssa-loop.c (tree_linear_transform): Removed. | |
10204 | (gate_tree_linear_transform): Removed. | |
10205 | (pass_linear_transform): Removed. | |
10206 | (gate_graphite_transforms): Make flag_tree_loop_linear an alias of | |
10207 | flag_loop_interchange. | |
10208 | ||
6bdfdb96 JJ |
10209 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
10210 | ||
10211 | PR tree-optimization/47265 | |
10212 | PR tree-optimization/47443 | |
10213 | * tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false | |
10214 | if name still has some uses. | |
10215 | ||
e4cba915 MJ |
10216 | 2011-01-25 Martin Jambor <mjambor@suse.cz> |
10217 | ||
10218 | PR tree-optimization/47382 | |
10219 | * gimple-fold.c (gimple_fold_obj_type_ref_call): Removed. | |
10220 | (gimple_fold_call): Do not call gimple_fold_obj_type_ref_call. | |
10221 | ||
509d65dd | 10222 | 2011-01-25 Joel Sherrill <joel.sherrill@oarcorp.com> |
f822b8ea JS |
10223 | |
10224 | * config/m32r/m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to | |
10225 | sjlj_except_unwind_info. | |
10226 | ||
194313e2 RG |
10227 | 2011-01-25 Richard Guenther <rguenther@suse.de> |
10228 | ||
10229 | PR tree-optimization/47426 | |
10230 | * tree-ssa-structalias.c (ipa_pta_execute): Make externally | |
10231 | visible functions results escape. | |
10232 | ||
147a0bcf JJ |
10233 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
10234 | ||
10235 | PR target/45701 | |
10236 | * config/arm/arm.c (any_sibcall_uses_r3): New function. | |
10237 | (arm_get_frame_offsets): Use it. | |
10238 | ||
db963b52 SP |
10239 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10240 | Jakub Jelinek <jakub@redhat.com> | |
10241 | ||
10242 | PR tree-optimization/47271 | |
10243 | * tree-if-conv.c (bb_postdominates_preds): New. | |
10244 | (if_convertible_bb_p): Call bb_postdominates_preds. | |
10245 | (if_convertible_loop_p_1): Compute CDI_POST_DOMINATORS. | |
10246 | (predicate_scalar_phi): Call bb_postdominates_preds. | |
10247 | ||
bcddd3b9 NC |
10248 | 2011-01-25 Nick Clifton <nickc@redhat.com> |
10249 | ||
10250 | * config/rx/rx.h (LIBCALL_VALUE): Do not promote complex types. | |
10251 | * config/rx/rx.c (rx_function_value): Likewise. | |
10252 | (rx_promote_function_mode): Likewise. | |
10253 | (gen_safe_add): Place an outsized immediate value inside an UNSPEC | |
10254 | in order to make it legitimate. | |
38be4072 UB |
10255 | * config/rx/rx.md (adddi3_internal): If the second operand is a MEM |
10256 | make sure that the first operand is the same as the result register. | |
bcddd3b9 NC |
10257 | (addsi3_unspec): Delete. |
10258 | (subdi3): Do not accept immediate operands. | |
10259 | (subdi3_internal): Likewise. | |
10260 | ||
7e6cb022 JL |
10261 | 2011-01-25 Jeff Law <law@redhat.com> |
10262 | ||
10263 | PR rtl-optimization/37273 | |
10264 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
10265 | handle them like argument loads from stack slots. Do not double | |
10266 | count memory for memory constants and argument loads from stack slots. | |
10267 | ||
9ffa621e JJ |
10268 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
10269 | ||
10270 | PR tree-optimization/47427 | |
10271 | PR tree-optimization/47428 | |
10272 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't | |
10273 | coalesce if the new root var would be TREE_READONLY. | |
10274 | ||
5bd6e652 RG |
10275 | 2011-01-25 Richard Guenther <rguenther@suse.de> |
10276 | ||
10277 | PR middle-end/47414 | |
10278 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Use the | |
10279 | correct type for TBAA. | |
10280 | ||
7c48ea69 SP |
10281 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10282 | ||
10283 | * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New. | |
10284 | (close_phi_written_to_memory): Call for_each_index with | |
10285 | dr_indices_valid_in_loop. | |
10286 | ||
38013f25 SP |
10287 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10288 | ||
10289 | * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN | |
10290 | when it is initialized. | |
10291 | ||
5c640e29 SP |
10292 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10293 | ||
10294 | * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Update | |
10295 | call to graphite_find_data_references_in_stmt. | |
10296 | * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New. | |
10297 | (try_generate_gimple_bb): Call outermost_loop_in_sese_1. Update | |
10298 | call to graphite_find_data_references_in_stmt. | |
10299 | (analyze_drs_in_stmts): Same. | |
10300 | * tree-data-ref.c (dr_analyze_indices): Pass in parameter the loop | |
10301 | in which the scalar analysis of indices is performed. | |
10302 | (create_data_ref): Same. Update call to dr_analyze_indices. | |
10303 | (find_data_references_in_stmt): Update call to create_data_ref. | |
10304 | (graphite_find_data_references_in_stmt): Same. | |
10305 | * tree-data-ref.h (graphite_find_data_references_in_stmt): Update | |
10306 | declaration. | |
10307 | (create_data_ref): Same. | |
10308 | * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Update | |
10309 | call to create_data_ref. | |
10310 | ||
ac53c069 SP |
10311 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10312 | ||
10313 | * graphite-sese-to-poly.c (build_poly_scop): Move | |
38be4072 | 10314 | rewrite_commutative_reductions_out_of_ssa before find_scop_parameters. |
ac53c069 | 10315 | |
3d17df15 SP |
10316 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10317 | ||
10318 | * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow | |
10319 | VAR_DECL, PARM_DECL, and RESULT_DECL. | |
10320 | ||
c513da01 SP |
10321 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10322 | ||
10323 | * graphite-dependences.c (reduction_dr_1): Allow several reductions | |
10324 | in a reduction PBB. | |
10325 | * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs | |
10326 | that have already been marked as PBB_IS_REDUCTION. | |
10327 | ||
3a292d59 SP |
10328 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10329 | ||
10330 | * graphite-scop-detection.c (same_close_phi_node): New. | |
10331 | (remove_duplicate_close_phi): New. | |
10332 | (make_close_phi_nodes_unique): New. | |
10333 | (canonicalize_loop_closed_ssa): Call make_close_phi_nodes_unique. | |
10334 | ||
ba858447 SP |
10335 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10336 | ||
10337 | * graphite-dependences.c (new_poly_ddr): Call same_pdr_p. | |
10338 | * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE | |
10339 | of both data references to be the same. | |
10340 | ||
8d865c56 SP |
10341 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10342 | ||
38be4072 UB |
10343 | * graphite-dependences.c (build_lexicographical_constraint): Remove |
10344 | the gdim parameter. | |
10345 | (build_lexicographical_constraint): Adjust call to | |
10346 | ppl_powerset_is_empty. | |
8d865c56 SP |
10347 | (dependence_polyhedron): Same. |
10348 | (graphite_legal_transform_dr): Same. | |
10349 | (graphite_carried_dependence_level_k): Same. | |
38be4072 UB |
10350 | * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params |
10351 | parameter. | |
8d865c56 SP |
10352 | * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration. |
10353 | ||
50034a36 SP |
10354 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10355 | ||
10356 | * graphite-sese-to-poly.c | |
10357 | (translate_scalar_reduction_to_array_for_stmt): Call unshare_expr. | |
10358 | (close_phi_written_to_memory): New. | |
10359 | (translate_scalar_reduction_to_array): Call close_phi_written_to_memory | |
10360 | and unshare_expr. | |
10361 | ||
0deada9e SP |
10362 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10363 | ||
10364 | * doc/install.texi: Update the expected version number of PPL to 0.11. | |
10365 | * graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under | |
10366 | #if PPL_VERSION_MINOR < 11. | |
10367 | ||
d7d3d6af SP |
10368 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10369 | ||
10370 | * graphite-dependences.c: Include graphite-cloog-util.h. | |
10371 | (new_poly_ddr): Inlined into dependence_polyhedron. | |
10372 | (free_poly_ddr): Moved close by new_poly_ddr. | |
10373 | (dependence_polyhedron_1): Renamed dependence_polyhedron. | |
10374 | Early return NULL when ppl_powerset_is_empty returns true. | |
10375 | (dependence_polyhedron): Renamed new_poly_ddr. Call only once | |
10376 | poly_drs_may_alias_p. Avoid one call to ppl_powerset_is_empty. | |
10377 | (graphite_legal_transform_dr): Call new_poly_ddr. | |
10378 | (graphite_carried_dependence_level_k): Same. | |
10379 | (dot_original_deps_stmt_1): Renamed dot_deps_stmt_2. Use new_poly_ddr. | |
10380 | (dot_transformed_deps_stmt_1): Removed. | |
10381 | (dot_deps_stmt_1): Call dot_deps_stmt_2. | |
10382 | (dot_original_deps): Renamed dot_deps_2. Call new_poly_ddr. | |
10383 | (dot_deps_1): Call dot_deps_2. | |
10384 | * Makefile.in (graphite-dependences.o): Add missing dependence on | |
10385 | graphite-cloog-util.h. | |
10386 | ||
28c5db57 SP |
10387 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10388 | ||
10389 | * graphite-dependences.c (new_poly_dr): Call ppl_powerset_is_empty. | |
10390 | (build_lexicographical_constraint): Same. | |
10391 | (dependence_polyhedron_1): Same. | |
10392 | (graphite_legal_transform_dr): Same. | |
10393 | (graphite_carried_dependence_level_k): Same. | |
10394 | * graphite-ppl.c (ppl_powerset_is_empty): New. | |
10395 | * graphite-ppl.h (ppl_powerset_is_empty): Declared. | |
10396 | * tree-data-ref.c (dump_data_reference): Print the basic block index. | |
10397 | ||
5168d98f SP |
10398 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10399 | ||
10400 | * graphite-dependences.c (build_pairwise_scheduling): Correctly compute | |
10401 | the "a followed by b" relation and document it. | |
10402 | ||
4a40293a SP |
10403 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10404 | ||
10405 | * graphite-dependences.c (build_lexicographical_constraint): Stop the | |
10406 | iteration when the bag of constraints is empty. | |
10407 | ||
271fb6fa SP |
10408 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10409 | ||
10410 | * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work. | |
10411 | ||
92d23680 SP |
10412 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10413 | ||
10414 | * graphite-interchange.c (lst_interchange_profitable_p): Takes a loop | |
10415 | nest and two loop depths as parameters. | |
10416 | (lst_try_interchange_loops): Call lst_interchange_profitable_p after | |
10417 | lst_perfect_nestify. | |
10418 | ||
2f51deff SP |
10419 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10420 | ||
10421 | * graphite-dependences.c (print_pddr): Call | |
10422 | ppl_io_fprint_Pointset_Powerset_C_Polyhedron. | |
10423 | ||
07f3593c SP |
10424 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
10425 | ||
10426 | * graphite-ppl.c (debug_gmp_value): New. | |
10427 | * graphite-ppl.h (debug_gmp_value): Declared. | |
10428 | ||
3fae6099 TG |
10429 | 2011-01-25 Tobias Grosser <grosser@fim.uni-passau.de> |
10430 | ||
10431 | * doc/install.texi: Document availability of cloog-0.16. | |
10432 | ||
1c3ba85b SP |
10433 | 2011-01-25 Vladimir Kargov <kargov@gmail.com> |
10434 | ||
10435 | * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Free | |
10436 | invalid postdominance info. | |
10437 | ||
e8ba94fc JH |
10438 | 2011-01-24 Jan Hubicka <jh@suse.cz> |
10439 | ||
10440 | PR c/21659 | |
10441 | * doc/extend.texi (weak pragma): Drop claim that it must | |
10442 | appear before definition. | |
10443 | * varasm.c (merge_weak, declare_weak): Only sanity check | |
10444 | that DECL is not output at a time it is declared weak. | |
10445 | ||
2b6e2d13 KZ |
10446 | 2011-01-24 Kenneth Zadeck <zadeck@naturalbridge.com> |
10447 | ||
10448 | * machmode.def: Fixed comments. | |
1c3ba85b | 10449 | |
9841210f KT |
10450 | 2011-01-24 Kai Tietz <kai.tietz@onevision.com> |
10451 | ||
10452 | * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t. | |
10453 | ||
10454 | 2011-01-24 Paul Koning <ni1d@arrl.net> | |
e046112d PK |
10455 | |
10456 | * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN != | |
1c3ba85b | 10457 | WORDS_BIG_ENDIAN. |
e046112d | 10458 | |
a6c5070a L |
10459 | 2011-01-24 H.J. Lu <hongjiu.lu@intel.com> |
10460 | ||
10461 | PR target/46519 | |
10462 | * config/i386/i386.c: Include sbitmap.h and fibheap.h. | |
10463 | (block_info): Add scanned and prev. | |
10464 | (move_or_delete_vzeroupper_2): Return if the basic block | |
10465 | has been scanned and the upper 128bit state is unchanged | |
10466 | from the last scan. | |
10467 | (move_or_delete_vzeroupper_1): Return true if the exit | |
10468 | state is changed. | |
10469 | (move_or_delete_vzeroupper): Visit basic blocks using the | |
10470 | work-list based algorithm based on vt_find_locations in | |
10471 | var-tracking.c. | |
10472 | ||
10473 | * config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H). | |
10474 | ||
a40d79d7 NC |
10475 | 2011-01-24 Nick Clifton <nickc@redhat.com> |
10476 | ||
10477 | * config/v850/v850.opt (mv850es): New option - alias for -mv850e1. | |
10478 | * config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass | |
10479 | -mv850e1 to the assembler. If -mv850e1 or -mv850es is specified | |
10480 | then define __v850e1__. | |
10481 | * doc/invoke.texi: Document -mv850es. | |
10482 | ||
440eb8de RH |
10483 | 2011-01-24 Richard Henderson <rth@redhat.com> |
10484 | ||
10485 | * config/rx/predicates.md (rx_fp_comparison_operator): Don't accept | |
10486 | compound unordered comparisons. | |
10487 | * config/rx/rx.c (rx_split_fp_compare): Remove. | |
10488 | * config/rx/rx-protos.h: Update. | |
10489 | * config/rx/rx.md (gcc_conds, rx_conds): Remove. | |
10490 | (cbranchsf4): Don't call rx_split_fp_compare. | |
10491 | (*cbranchsf4): Use rx_split_cbranch. | |
10492 | (*cmpsf): Don't accept "i" constraint. | |
10493 | (*conditional_branch): Only valid after reload. | |
10494 | (cstoresf4): Merge expander with insn. Don't call rx_split_fp_compare. | |
10495 | ||
3ff79f99 MM |
10496 | 2011-01-24 Michael Meissner <meissner@linux.vnet.ibm.com> |
10497 | ||
10498 | PR target/47385 | |
10499 | * config/rs6000/altivec.md (vector constant splitters): Add | |
10500 | support for creating vector single precision constants if -mvsx is | |
10501 | used and we would create the constant using Altivec primitives. | |
10502 | ||
ff3d9d08 BS |
10503 | 2011-01-23 Bernd Schmidt <bernds@codesourcery.com> |
10504 | Richard Sandiford <rdsandiford@googlemail.com> | |
10505 | ||
10506 | PR rtl-optimization/47166 | |
10507 | * reload1.c (emit_reload_insns): Disable the spill_reg_store | |
10508 | mechanism for PRE_MODIFY and POST_MODIFY. | |
10509 | (inc_for_reload): For PRE_MODIFY, return the insn that sets the | |
10510 | reloadreg. | |
10511 | ||
7fcaf152 AS |
10512 | 2011-01-23 Andreas Schwab <schwab@linux-m68k.org> |
10513 | ||
8788adb6 | 10514 | * compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers. |
7fcaf152 | 10515 | |
d09b58c4 JH |
10516 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
10517 | ||
10518 | PR lto/47333 | |
10519 | * lto-cgraph.c (reachable_from_this_partition_p): Fix pasto. | |
10520 | ||
e8ff8c5a JH |
10521 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
10522 | ||
10523 | PR tree-optimization/43884 | |
10524 | PR lto/44334 | |
8788adb6 | 10525 | * predict.c (maybe_hot_frequency_p): Use entry block frequency as base. |
e8ff8c5a JH |
10526 | * doc/invoke.texi (hot-bb-frequency-fraction): Update docs. |
10527 | ||
ccaed3ba AS |
10528 | 2011-01-22 Anatoly Sokolov <aesok@post.ru> |
10529 | ||
10530 | * config/s390/s390.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. | |
10531 | * config/s390/s390.c (s390_register_move_cost, | |
10532 | s390_memory_move_cost): New. | |
10533 | (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define. | |
10534 | ||
0cecee06 UW |
10535 | 2011-01-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
10536 | ||
10537 | PR middle-end/47401 | |
10538 | * except.c (sjlj_assign_call_site_values): Move setting the | |
10539 | crtl->uses_eh_lsda flag to ... | |
10540 | (sjlj_mark_call_sites): ... here. | |
10541 | (sjlj_emit_function_enter): Support NULL dispatch label. | |
10542 | (sjlj_build_landing_pads): In a function with no landing pads | |
10543 | that still has must-not-throw regions, generate code to register | |
10544 | a personality function with empty LSDA. | |
10545 | ||
e692f276 RH |
10546 | 2011-01-21 Richard Henderson <rth@redhat.com> |
10547 | ||
1b7ae0b7 RH |
10548 | * config/rx/rx.c (TARGET_FLAGS_REGNUM): New. |
10549 | ||
3843787f RH |
10550 | * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New. |
10551 | ||
e692f276 RH |
10552 | * compare-elim.c: New file. |
10553 | * Makefile.in (OBJS-common): Add it. | |
10554 | (compare-elim.o): New. | |
10555 | * common.opt (fcompare-elim): New. | |
10556 | * opts.c (default_options_table): Add OPT_fcompare_elim. | |
10557 | * tree-pass.h (pass_compare_elim_after_reload): New. | |
10558 | * passes.c (init_optimization_passes): Add it. | |
10559 | * recog.h: Protect against re-inclusion. | |
10560 | * target.def (TARGET_FLAGS_REGNUM): New POD hook. | |
10561 | * doc/invoke.texi (-fcompare-elim): Document it. | |
10562 | * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Document it. | |
10563 | * doc/tm.texi: Rebuild. | |
10564 | ||
9a7c2050 NC |
10565 | 2011-01-22 Nick Clifton <nickc@redhat.com> |
10566 | ||
10567 | * config/rx/rx.md (cstoresf4): Pass comparison operator to | |
10568 | rx_split_fp_compare. | |
10569 | ||
15ba5696 NC |
10570 | 2011-01-22 Nick Clifton <nickc@redhat.com> |
10571 | ||
10572 | * config/rx/rx.md (UNSPEC_CONST): New. | |
10573 | (deallocate_and_return): Wrap the amount popped off the stack in | |
10574 | an UNSPEC_CONST in order to stop it being rejected by | |
10575 | -mmax-constant-size. | |
10576 | (pop_and_return): Add a "(return)" rtx. | |
10577 | (call): Drop the immediate operand. | |
10578 | (call_internal): Likewise. | |
10579 | (call_value): Likewise. | |
10580 | (call_value_internal): Likewise. | |
10581 | (sibcall_internal): Likewise. | |
10582 | (sibcall_value_internal): Likewise. | |
10583 | (sibcall): Likewise. Generate an explicit call using | |
10584 | sibcall_internal. | |
10585 | (sibcall_value): Likewise. | |
10586 | (mov<>): FAIL if a constant operand is not legitimate. | |
10587 | (addsi3_unpsec): New pattern. | |
9a7c2050 | 10588 | |
38be4072 | 10589 | * config/rx/rx.c (rx_print_operand_address): Handle UNSPEC CONSTs. |
15ba5696 NC |
10590 | (ok_for_max_constant): New function. |
10591 | (gen_safe_add): New function. | |
10592 | (rx_expand_prologue): Use gen_safe_add. | |
10593 | (rx_expand_epilogue): Likewise. | |
10594 | (rx_is_legitimate_constant): Use ok_for_max_constant. Handle | |
10595 | UNSPEC CONSTs. | |
10596 | ||
caaf13d3 JL |
10597 | 2011-01-21 Jeff Law <law@redhat.com> |
10598 | ||
10599 | PR tree-optimization/47053 | |
10600 | * tree-ssa-dse.c (need_eh_cleanup): New bitmap. | |
10601 | (dse_optimize_stmt): Set the appropriate bit in NEED_EH_CLEANUP when | |
10602 | statements are deleted. | |
10603 | (tree_ssa_dse): Allocate & free NEED_EH_CLEANUP. If NEED_EH_CLEANUP | |
10604 | is nonempty, then purge dead edges and cleanup the CFG. | |
10605 | ||
12c30f2f AO |
10606 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> |
10607 | ||
10608 | PR debug/47402 | |
10609 | Temporarily revert: | |
10610 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> | |
10611 | PR debug/47106 | |
10612 | * tree-dfa.c (create_var_ann): Mark variable as used. | |
10613 | ||
7360d2ac JJ |
10614 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
10615 | ||
aaa52a96 JJ |
10616 | PR middle-end/45566 |
10617 | * except.c (convert_to_eh_region_ranges): Emit queued no-region | |
10618 | notes from other section in hot/cold partitioning even if | |
10619 | last_action is -3. Increment call_site_base. | |
10620 | ||
7360d2ac JJ |
10621 | PR rtl-optimization/47366 |
10622 | * fwprop.c (forward_propagate_into): Return bool. If | |
10623 | any changes are made, -fnon-call-exceptions is used and | |
10624 | REG_EH_REGION note is present, call purge_dead_edges | |
10625 | and return true if it purged anything. | |
10626 | (fwprop_addr): Adjust callers, call cleanup_cfg (0) if | |
10627 | any EH edges were purged. | |
10628 | ||
e90b336f JL |
10629 | 2011-01-21 Jeff Law <law@redhat.com> |
10630 | ||
10631 | PR rtl-optimization/41619 | |
10632 | * caller-save.c (setup_save_areas): Break out code to determine | |
10633 | which hard regs are live across calls by examining the reload chains | |
10634 | so that it is always used. | |
10635 | Eliminate code which checked REG_N_CALLS_CROSSED. | |
10636 | ||
3ffe07e1 JJ |
10637 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
10638 | ||
10639 | PR tree-optimization/47355 | |
10640 | * tree-eh.c (cleanup_empty_eh_merge_phis): Give up if | |
10641 | NOP has non-debug uses beyond PHIs in new_bb. | |
10642 | ||
1c7d0b34 AO |
10643 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> |
10644 | ||
10645 | PR debug/47106 | |
10646 | * cfgexpand.c (account_used_vars_for_block): Only account vars | |
10647 | that are annotated as used. | |
10648 | (estimated_stack_frame_size): Don't set TREE_USED. | |
10649 | * tree-dfa.c (create_var_ann): Mark variable as used. | |
10650 | ||
f99cc488 RG |
10651 | 2011-01-21 Richard Guenther <rguenther@suse.de> |
10652 | ||
10653 | PR middle-end/47395 | |
10654 | * tree.def (WIDEN_MULT_MINUS_EXPR): Fix printed name. | |
10655 | ||
3bc27de7 RG |
10656 | 2011-01-21 Richard Guenther <rguenther@suse.de> |
10657 | ||
10658 | PR tree-optimization/47365 | |
10659 | * tree-ssa-sccvn.h (vn_lookup_kind): Declare. | |
10660 | (vn_reference_lookup_pieces): Adjust. | |
10661 | (vn_reference_lookup): Likewise. | |
10662 | * tree-ssa-sccvn.c (vn_walk_kind): New static global. | |
10663 | (vn_reference_lookup_3): Only look through kills if in | |
10664 | VN_WALKREWRITE mode. | |
10665 | (vn_reference_lookup_pieces): Adjust. | |
10666 | (vn_reference_lookup): Likewise. | |
10667 | (visit_reference_op_load): Likewise. | |
10668 | (visit_reference_op_store): Likewise. | |
10669 | * tree-ssa-pre.c (phi_translate_1): Use VN_WALK mode. | |
10670 | (compute_avail): Likewise. | |
10671 | (eliminate): Likewise. | |
10672 | ||
d8debb1d JJ |
10673 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
10674 | ||
10675 | * tree-ssa-live.c (remove_unused_scope_block_p): Don't remove | |
10676 | DECL_IGNORED_P non-reg vars if they are used. | |
10677 | ||
3a2df831 JJ |
10678 | PR tree-optimization/47391 |
10679 | * varpool.c (const_value_known_p): Return false if | |
10680 | decl is volatile. | |
10681 | ||
1dd584a2 KT |
10682 | 2011-01-21 Kai Tietz <kai.tietz@onevision.com> |
10683 | ||
10684 | PR bootstrap/47215 | |
10685 | * config/i386/i386.c (ix86_local_alignment): Handle | |
10686 | case for va_list_type_node is nil. | |
10687 | (ix86_canonical_va_list_type): Likewise. | |
10688 | ||
7f9f095e AM |
10689 | 2011-01-21 Alan Modra <amodra@gmail.com> |
10690 | ||
10691 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Add | |
10692 | builtin_define __CMODEL_MEDIUM__ and __CMODEL_LARGE__. | |
10693 | ||
837b01f6 RR |
10694 | 2011-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
10695 | ||
10696 | * config/arm/arm.md (define_attr type): Rename f_load | |
10697 | and f_store to f_fpa_load and f_fpa_store. Update. | |
10698 | (write_conflict): Deal with rename fallout. | |
10699 | (*push_fp_multi): Likewise. | |
10700 | * config/arm/fpa.md (f_load): Use f_fpa_load. | |
10701 | (f_store): Use f_fpa_store. | |
10702 | (*movsf_fpa): Likewise. | |
10703 | (*movdf_fpa): Likewise. | |
10704 | (*movxf_fpa): Likewise. | |
10705 | (*thumb2_movsf_fpa): Likewise. | |
10706 | (*thumb2_movdf_fpa): Likewise. | |
10707 | (*thumb2_movxf_fpa): Likewise. | |
10708 | * config/arm/vfp.md (*thumb2_movdf_vfp): Fix attribute to | |
10709 | f_loadd and f_stored. | |
10710 | (*thumb2_movdi_vfp): Likewise. | |
10711 | (*thumb2_movsf_vfp): Fix attribute to f_loads. | |
10712 | (*thumb2_movsi_vfp): Likewise. | |
10713 | * config/arm/cortex-m4-fpu.md (cortex_m4_f_load): | |
10714 | Use f_loads instead of f_load. | |
10715 | * config/arm/cortex-a5.md (cortex_a5_f_loads): Remove f_load. | |
10716 | ||
a1a79768 AS |
10717 | 2011-01-20 Anatoly Sokolov <aesok@post.ru> |
10718 | ||
10719 | * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
10720 | * config/xtensa/xtensa-protos.h (constantpool_address_p): Remove. | |
10721 | * config/xtensa/xtensa.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
10722 | (xtensa_mode_dependent_address_p): New function. | |
10723 | (constantpool_address_p): Make static. Change return type to bool. | |
10724 | Change argument type to const_rtx. Use CONST_INT_P predicate. | |
10725 | ||
427f6cec AO |
10726 | 2011-01-20 Alexandre Oliva <aoliva@redhat.com> |
10727 | ||
10728 | PR debug/46583 | |
10729 | * tree-ssa-live.c (remove_unused_scope_block_p): Keep type decls. | |
10730 | ||
583ac69c JJ |
10731 | 2011-01-20 Jakub Jelinek <jakub@redhat.com> |
10732 | ||
10733 | PR debug/47283 | |
10734 | * cfgexpand.c (expand_debug_expr): Instead of generating | |
10735 | (mem (debug_implicit_ptr)) for MEM_REFs use COMPONENT_REF | |
10736 | etc. handling. | |
10737 | ||
93e452ed RG |
10738 | 2011-01-20 Richard Guenther <rguenther@suse.de> |
10739 | ||
10740 | PR middle-end/47370 | |
10741 | * tree-inline.c (remap_gimple_op_r): Recurse manually for | |
10742 | the pointer operand of MEM_REFs. | |
10743 | ||
28fc44f3 JJ |
10744 | 2011-01-20 Jakub Jelinek <jakub@redhat.com> |
10745 | ||
10746 | PR tree-optimization/46130 | |
10747 | * ipa-split.c (consider_split): If return_bb contains non-virtual | |
10748 | PHIs other than for retval or if split_function would not adjust it, | |
10749 | refuse to split. | |
10750 | ||
ddd268f2 RG |
10751 | 2011-01-20 Richard Guenther <rguenther@suse.de> |
10752 | ||
10753 | PR tree-optimization/47167 | |
10754 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): | |
10755 | Revert previous change, only avoid enumeral type changes. | |
10756 | ||
882020aa MS |
10757 | 2011-01-19 Mike Stump <mikestump@comcast.net> |
10758 | ||
10759 | * doc/tm.texi.in (BRANCH_COST): Englishify. | |
10760 | * doc/tm.texi (BRANCH_COST): Likewise. | |
10761 | ||
7edb6247 DS |
10762 | 2011-01-19 Dodji Seketeli <dodji@redhat.com> |
10763 | ||
10764 | PR c++/47291 | |
10765 | * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen) | |
61052244 AM |
10766 | (gen_scheduled_generic_parms_dies): New functions. |
10767 | (gen_struct_or_union_type_die): Schedule template parameters DIEs | |
10768 | generation for the end of CU compilation. | |
10769 | (dwarf2out_finish): Generate template parameters DIEs here. | |
7edb6247 | 10770 | |
23d5ed5d AO |
10771 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
10772 | ||
10773 | PR debug/46240 | |
10774 | * tree-into-ssa.c (maybe_register_def): Do not attempt to add | |
10775 | debug bind stmt on merge edges. | |
10776 | ||
37d6a488 AO |
10777 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
10778 | ||
10779 | PR debug/47079 | |
10780 | PR debug/46724 | |
10781 | * function.c (instantiate_expr): Instantiate incoming rtl of | |
10782 | implicit arguments, and recurse on VALUE_EXPRs. | |
10783 | (instantiate_decls): Instantiate rtl and VALUE_EXPR of result. | |
10784 | * var-tracking.c (adjust_mems): Reject virtual_incoming_args_rtx. | |
10785 | ||
689f2c82 AO |
10786 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
10787 | ||
10788 | * c-parser.c (c_parser_for_statement): Initialize | |
10789 | collection_expression. | |
10790 | ||
03029de4 JM |
10791 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
10792 | ||
10793 | * config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}. | |
10794 | ||
3e03217e JM |
10795 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
10796 | ||
10797 | * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove. | |
10798 | (LINK_SHLIB_SPEC): Don't use %(link_path). | |
10799 | (SUBTARGET_EXTRA_SPECS): Remove link_path. | |
10800 | ||
5bbe9b3f JM |
10801 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
10802 | ||
10803 | * config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional. | |
10804 | (NO_SHARED_LIB_SUPPORT): Remove. | |
10805 | (LINK_SHLIB_SPEC): Remove one conditional definition. | |
10806 | ||
368e0b39 JM |
10807 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
10808 | ||
10809 | * config/mips/linux64.h (LINK_SPEC): Remove %{non_shared} | |
10810 | %{call_shared}. | |
10811 | * config/mips/mips.h (LINK_SPEC): Remove %{non_shared}. | |
10812 | * config/mips/netbsd.h (LINK_SPEC): Remove %{call_shared}. | |
10813 | * config/mips/openbsd.h (LINK_SPEC): Remove %{non_shared} | |
10814 | %{call_shared} and conditionals on these options not being passed. | |
10815 | * config/mips/sde.h (LINK_SPEC): Remove %{non_shared} | |
10816 | %{call_shared}. | |
10817 | ||
ed7656f6 JJ |
10818 | 2011-01-19 Jakub Jelinek <jakub@redhat.com> |
10819 | ||
68457901 JJ |
10820 | * ipa-split.c (find_return_bb): Use single_pred_p/single_pred_edge, |
10821 | simplify. | |
10822 | ||
ed7656f6 JJ |
10823 | * ipa-split.c: Spelling fixes. |
10824 | ||
e0d1958f RH |
10825 | 2011-01-19 Richard Henderson <rth@redhat.com> |
10826 | ||
10827 | * config/mn10300/mn10300.md (mulsi3): Use reg_or_am33_const_operand. | |
10828 | (*mulsi3): Likewise. | |
10829 | ||
27098b6b RH |
10830 | * longlong.h [__mn10300__] (count_leading_zeros): New. |
10831 | [__mn10300__] (umul_ppmm, smul_ppmm): New. | |
10832 | [__mn10300__] (add_ssaaaa, subddmmss): New. | |
10833 | [__mn10300__] (udiv_qrnnd, sdiv_qrnnd): New. | |
10834 | [__mn10300__] (UMUL_TIME, UDIV_TIME): New. | |
10835 | ||
d6be7c36 UW |
10836 | 2011-01-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
10837 | ||
10838 | * config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case. | |
10839 | ||
b1efde2a RH |
10840 | 2011-01-19 Richard Henderson <rth@redhat.com> |
10841 | ||
44217823 RH |
10842 | * config/mn10300/mn10300.md (addsi3_flags): New. |
10843 | (addc_internal, adddi3, adddi3_internal, *adddi3_degenerate): New. | |
10844 | (subsi3_flags, subc_internal, subdi3): New. | |
10845 | (subdi3_internal, *subdi3_degenerate): New. | |
10846 | * config/mn10300/predicates.md (reg_or_am33_const_operand): New. | |
10847 | ||
37a185d7 RH |
10848 | * config/mn10300/mn10300.c (mn10300_can_use_retf_insn): New. |
10849 | (mn10300_can_use_rets_insn): Rename from mn10300_can_use_return_insn. | |
10850 | (mn10300_expand_epilogue): Use it. Compute REG_SAVE_BYTES once. | |
10851 | * config/mn10300/mn10300-protos.h: Update. | |
10852 | * config/mn10300/mn10300.md (return): Use mn10300_can_use_retf_insn. | |
10853 | (return_ret): Likewise. Rename from return_internal_regs. | |
10854 | (return_internal): Remove. | |
10855 | ||
040c5757 RH |
10856 | * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): Remove. |
10857 | (mn10300_asm_output_addr_const_extra): Don't handle UNSPEC_INT_LABEL. | |
10858 | (mn10300_legitimate_constant_p): Likewise. | |
10859 | (mn10300_can_use_return_insn): Use mn10300_initial_offset. | |
10860 | (mn10300_frame_size): New. | |
10861 | (mn10300_expand_prologue): Use it. | |
10862 | (mn10300_expand_epilogue): Likewise. | |
10863 | (mn10300_initial_offset): Likewise. | |
10864 | * config/mn10300/mn10300-protos.h: Update. | |
10865 | * config/mn10300/mn10300.h (mn10300_unspec_int_label_counter): Remove. | |
10866 | * config/mn10300/mn10300.md (UNSPEC_INT_LABEL): Remove. | |
10867 | (prologue, epilogue, return_internal): Tidy output code. | |
10868 | (mn10300_store_multiple_operation, return): Likewise. | |
10869 | (int_label, pop_pic_reg, GOTaddr2picreg): Remove. | |
10870 | (am33_loadPC, mn10300_loadPC, call_next_insn): Remove. | |
10871 | (add_GOT_to_pic_reg, add_GOT_to_any_reg): Remove. | |
10872 | (load_pic, am33_load_pic): New. | |
10873 | (mn10300_load_pic0, mn10300_load_pic1): New. | |
10874 | ||
bad41521 RH |
10875 | * config/mn10300/mn10300-modes.def (CCZN, CCZNC): New modes. |
10876 | * config/mn10300/mn10300.c (CC_FLAG_Z): New. | |
10877 | (CC_FLAG_N, CC_FLAG_C, CC_FLAG_V): New. | |
10878 | (cc_flags_for_mode, cc_flags_for_code): New. | |
10879 | (mn10300_print_operand) ['B']: Use nc/ns for GE/LT when the | |
10880 | overflow flag is not valid. Validate that the flags we need | |
10881 | for the comparison are valid. | |
10882 | (mn10300_output_cmp): Remove. | |
10883 | (mn10300_output_add): New. | |
10884 | (mn10300_select_cc_mode): Use cc_flags_for_code. | |
10885 | (mn10300_split_cbranch): New. | |
10886 | (mn10300_match_ccmode): New. | |
10887 | (mn10300_split_and_operand_count): New. | |
10888 | * config/mn10300/mn10300.h (SELECT_CC_MODE): Pass all of the arguments | |
10889 | to the function. | |
10890 | * config/mn10300/mn10300.md (*am33_addsi3, *mn10300_addsi3): Merge... | |
10891 | (addsi3): ... here. Use mn10300_output_add. | |
10892 | (*addsi3_flags): New. | |
10893 | (*am33_subsi3, *mn10300_subsi3): Merge... | |
10894 | (subsi3): ... here. Use attribute isa. | |
10895 | (*subsi3_flags): New. | |
10896 | (negsi2): Rewrite from expander to insn_and_split. Use NOT+INC | |
10897 | when possible. | |
10898 | (*am33_andsi3, *mn10300_andsi3): Merge... | |
10899 | (andsi3): ... here. | |
10900 | (*andsi3_flags): New. | |
10901 | (andsi3 splitters): New. | |
10902 | (*am33_iorsi3, *mn10300_iorsi3): Merge... | |
10903 | (iorsi3): ... here. | |
10904 | (*iorsi3_flags): New. | |
10905 | (*am33_xorsi3, *mn10300_xorsi3): Merge... | |
10906 | (xorsi3): ... here. | |
10907 | (*xorsi3_flags): New. | |
10908 | (*am33_cmpsi2, *mn10300_cmplsi2): Merge... | |
10909 | (one_cmplsi2): ... here. | |
10910 | (*one_cmplsi2_flags): New. | |
10911 | (*cbranchsi4_cmp): Rename from cbranchsi4_post_reload. Use "r" | |
10912 | instead of "dax" in constraints. Use mn10300_split_cbranch. | |
10913 | (*cmpsi): Rename from cmpsi. Do not use mn10300_output_cmp. Do not | |
10914 | use matching constraints to eliminate a self-comparison. | |
10915 | (*integer_conditional_branch): Rename from integer_conditional_branch. | |
10916 | Use int_mode_flags to match CC_REG. | |
10917 | (*cbranchsi4_btst, *btstsi): New. | |
10918 | (*cbranchsf4_cmp): Rename from *cbranchsf4_post_reload. Use | |
10919 | mn10300_split_cbranch. | |
10920 | (*am33_cmpsf): Rename from am33_cmpsf. | |
10921 | (*float_conditional_branch): Rename from float_conditional_branch. | |
10922 | (*zero_extendqisi2_am33, *zero_extendqisi2_mn10300): Merge... | |
10923 | (zero_extendqisi2): ... here. | |
10924 | (*zero_extendhisi2_am33, *zero_extendhisi2_mn10300): Merge... | |
10925 | (zero_extendhisi2): ... here. | |
10926 | (*extendqisi2_am33, *extendqisi2_mn10300): Merge... | |
10927 | (extendqisi2): ... here. | |
10928 | (*extendhisi2_am33, *extendhisi2_mn10300): Merge... | |
10929 | (extendhisi2): ... here. | |
10930 | (*am33_ashlsi3, *mn10300_ashlsi3): Merge... | |
10931 | (ashlsi3): ... here. | |
10932 | (*am33_lshrsi3, *mn10300_lshrsi3): Merge... | |
10933 | (lshrsi3): ... here. | |
10934 | (*am33_ashrisi3, *mn10300_ashrsi3): Merge... | |
10935 | (ashrsi3): ... here. | |
10936 | (consecutive add peephole): Remove. | |
10937 | * config/mn10300/predicates.md (label_ref_operand): New. | |
10938 | (int_mode_flags): New. | |
10939 | (CCZN_comparison_operator): New. | |
10940 | ||
9efb4993 RH |
10941 | * config/mn10300/mn10300.md (UNSPEC_EXT): New. |
10942 | (throughput_42_latency_43): New reservation. | |
10943 | (mulsidi3, umulsidi3): New expanders. | |
10944 | (mulsidi3_internal): Rewrite from old mulsidi3 pattern. Expose | |
10945 | the MDR register to allocation; separately allocate the low and | |
10946 | high parts of the DImode result. | |
10947 | (umulsidi3_internal): Similarly. | |
10948 | (*am33_mulsi3, *mn10300_mulsi3): Merge into ... | |
10949 | (*mulsi3): ... here. Clobber MDR as a scratch as necessary. | |
10950 | (udivsi3, umodsi3): Remove. | |
10951 | (udivmodsi4, divmodsi4): New expanders. | |
10952 | (*udivmodsi4): Rename from udivmodsi4. Expose MDR properly. | |
10953 | (*divmodsi4): Simiarly. | |
10954 | (ext_internal): New. | |
10955 | ||
c25a21f5 RH |
10956 | * config/mn10300/constraints.md ("z"): New constraint. |
10957 | * config/mn10300/mn10300.h (MDR_REGNUM): Remove. | |
10958 | (FIXED_REGISTERS): Don't fix MDR. | |
10959 | (CALL_USED_REGSITERS): Reformat nicely. | |
10960 | (REG_ALLOC_ORDER): Add MDR. | |
10961 | (enum regclass): Add MDR_REGS. | |
10962 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update to match. | |
10963 | (IRA_COVER_CLASSES): Add MDR_REGS. | |
10964 | (REGNO_REG_CLASS): Handle MDR_REG. | |
10965 | * config/mn10300/mn10300.c (mn10300_secondary_reload): Handle MDR_REGS. | |
10966 | (mn10300_register_move_cost): Likewise. | |
10967 | * config/mn10300/mn10300.md (MDR_REG): New. | |
10968 | (*movsi_internal): Handle moves to/from MDR_REGS. | |
10969 | ||
36846b26 RH |
10970 | * config/mn10300/mn10300.c (mn10300_print_operand_address): Handle |
10971 | POST_MODIFY. | |
10972 | (mn10300_secondary_reload): Tidy combination reload classes. | |
10973 | (mn10300_legitimate_address_p): Allow post-modify and reg+reg | |
10974 | addresses for AM33. Allow symbolic offsets for reg+imm. | |
10975 | (mn10300_regno_in_class_p): New. | |
10976 | (mn10300_legitimize_reload_address): New. | |
10977 | * config/mn10300/mn10300.h (enum reg_class): Remove | |
10978 | DATA_OR_ADDRESS_REGS, DATA_OR_EXTENDED_REGS, ADDRESS_OR_EXTENDED_REGS, | |
10979 | SP_OR_EXTENDED_REGS, SP_OR_ADDRESS_OR_EXTENDED_REGS. Add | |
10980 | SP_OR_GENERAL_REGS. | |
10981 | (REG_CLASS_NAMES): Update to match. | |
10982 | (REG_CLASS_CONTENTS): Likewise. | |
10983 | (INDEX_REG_CLASS): Use GENERAL_REGS for AM33. | |
10984 | (BASE_REG_CLASS): Use SP_OR_GENERAL_REGS for AM33. | |
10985 | (REGNO_IN_RANGE_P): Remove. | |
10986 | (REGNO_DATA_P): Use mn10300_regno_in_class_p. | |
10987 | (REGNO_ADDRESS_P, REGNO_EXTENDED_P): Likewise. | |
10988 | (REGNO_STRICT_OK_FOR_BASE_P): Likewise. | |
10989 | (REGNO_STRICT_OK_FOR_BIT_BASE_P): Likewise. | |
10990 | (REGNO_STRICT_OK_FOR_INDEX_P): Likewise. | |
10991 | (REGNO_SP_P, REGNO_AM33_P, REGNO_FP_P): Remove. | |
10992 | (REGNO_GENERAL_P): New. | |
10993 | (HAVE_POST_MODIFY_DISP): New. | |
10994 | (USE_LOAD_POST_INCREMENT, USE_STORE_POST_INCREMENT): New. | |
10995 | (LEGITIMIZE_RELOAD_ADDRESS): New. | |
10996 | * config/mn10300/mn10300-protos.h: Update. | |
10997 | ||
8b119bb6 RH |
10998 | * config/mn10300/mn10300.c (mn10300_preferred_reload_class): Allow |
10999 | DATA_REGS for AM33 stack-pointer destination. | |
11000 | (mn10300_preferred_output_reload_class): Likewise. | |
11001 | (mn10300_secondary_reload): Rearrange mn10300_secondary_reload_class | |
11002 | into a form appropriate for ... | |
11003 | (TARGET_SECONDARY_RELOAD): New. | |
11004 | * config/mn10300/mn10300.h (SECONDARY_RELOAD_CLASS): Remove. | |
11005 | * config/mn10300/mn10300-protos.h: Update. | |
11006 | * config/mn10300/mn10300.md (reload_plus_sp_const): Rename from | |
11007 | reload_insi; use the "A" constraint for the scratch; handle AM33 | |
11008 | moves of sp to non-address registers. | |
11009 | ||
b1efde2a RH |
11010 | * config/mn10300/mn10300.md (*am33_movqi, *mn10300_movqi): Merge into |
11011 | (*movqi_internal): ... here. | |
11012 | (*am33_movhi, *mn10300_movhi): Merge into... | |
11013 | (*movhi_internal): ... here. | |
11014 | (*movsi_internal): Use "r" instead of "dax" in constraints. Use "A" | |
11015 | as the source/destination of moves from/to SP. | |
11016 | (movsf): Only allow for AM33-2. | |
1c3ba85b | 11017 | (*movsf_internal): Use "r" instead of "dax"; use "F" instead of |
b1efde2a RH |
11018 | any integer constant constraint. Only allow for AM33-2. Tidy |
11019 | all of the alternative outputs. | |
11020 | (movdi, movdf, *am33_2_movdf, *mn10300_movdf): Remove. | |
11021 | (udivmodsi4): Delete expander and promote *udivmodsi4. Disallow | |
11022 | for MN103. | |
11023 | (udivsi3, umodsi3): New patterns for MN103 only. | |
11024 | ||
b899fd78 JR |
11025 | 2011-01-19 Joern Rennecke <amylaar@spamcop.net> |
11026 | ||
11027 | * doc/tm.texi.in: Spell out that a lack of register class unions | |
11028 | can lead to ICEs. | |
11029 | * doc/tm.texi: Regenerate. | |
11030 | ||
afaaa67d JJ |
11031 | 2011-01-19 Jakub Jelinek <jakub@redhat.com> |
11032 | ||
2e0642cd JJ |
11033 | PR rtl-optimization/47337 |
11034 | * dce.c (check_argument_store): New function. | |
11035 | (find_call_stack_args): Ignore debug insns. Use check_argument_store. | |
11036 | ||
afaaa67d JJ |
11037 | PR tree-optimization/47290 |
11038 | * tree-eh.c (infinite_empty_loop_p): New function. | |
11039 | (cleanup_empty_eh): Use it. | |
11040 | ||
d2cd871f SE |
11041 | 2011-01-18 Steve Ellcey <sje@cup.hp.com> |
11042 | ||
11043 | PR target/46997 | |
11044 | * ia64.c (ia64_expand_unpack): Fix code for TARGET_BIG_ENDIAN. | |
11045 | (a64_expand_widen_sum): Ditto. | |
11046 | * vect.md (mulv2si3): Disable for TARGET_BIG_ENDIAN. | |
11047 | (vec_extract_evenodd_help): Ditto. | |
11048 | (vec_extract_evenv4hi): Ditto. | |
11049 | (vec_extract_oddv4hi): Ditto. | |
11050 | (vec_extract_evenv2si): Ditto. | |
11051 | (vec_extract_oddv2si): Ditto. | |
11052 | (vec_extract_evenv2sf): Ditto. | |
11053 | (vec_extract_oddv2sf): Ditto. | |
11054 | (vec_pack_trunc_v4hi: Ditto. | |
11055 | (vec_pack_trunc_v2si): Ditto. | |
11056 | (vec_interleave_lowv8qi): Fix for TARGET_BIG_ENDIAN. | |
11057 | (vec_interleave_highv8qi): Ditto. | |
11058 | (mix1_r): Ditto. | |
11059 | (vec_extract_oddv8qi): Ditto. | |
11060 | (vec_interleave_lowv4hi): Ditto. | |
11061 | (vec_interleave_highv4hi): Ditto. | |
11062 | (vec_interleave_lowv2si): Ditto. | |
11063 | (vec_interleave_highv2si): Ditto. | |
11064 | ||
41a1208a JDA |
11065 | 2011-01-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
11066 | ||
11067 | * doc/extend.texi: Mention __float128 support on hppa HP-UX. | |
11068 | * config/pa/pa-hpux.h (HPUX_LONG_DOUBLE_LIBRARY): Define to 1. | |
11069 | * config/pa/pa.c (pa_expand_builtin): New. Include "langhooks.h". | |
11070 | (pa_c_mode_for_suffix): New. | |
11071 | (TARGET_EXPAND_BUILTIN): Define. | |
11072 | (TARGET_C_MODE_FOR_SUFFIX): Define. | |
11073 | (pa_builtins): Define. | |
11074 | (pa_init_builtins): Register __float128 type and init new support | |
11075 | builtins. | |
11076 | * config/pa/pa.h (HPUX_LONG_DOUBLE_LIBRARY): Define if not defined. | |
11077 | * config/pa/quadlib.c (_U_Qfcopysign): New. | |
11078 | ||
1ecad98e EB |
11079 | 2011-01-18 Eric Botcazou <ebotcazou@adacore.com> |
11080 | ||
11081 | PR middle-end/46894 | |
11082 | * explow.c (allocate_dynamic_stack_space): Do not assume more than | |
11083 | BITS_PER_UNIT alignment if STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET | |
11084 | are defined. | |
11085 | ||
d4f2460a UW |
11086 | 2011-01-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
11087 | ||
11088 | PR tree-optimization/47179 | |
11089 | * config/spu/spu.c (spu_ref_may_alias_errno): New function. | |
11090 | (TARGET_REF_MAY_ALIAS_ERRNO): Define. | |
11091 | ||
4994da65 RG |
11092 | 2011-01-18 Richard Guenther <rguenther@suse.de> |
11093 | ||
11094 | PR rtl-optimization/47216 | |
11095 | * emit-rtl.c: Include tree-flow.h. | |
11096 | (set_mem_attributes_minus_bitpos): Use tree_could_trap_p instead | |
11097 | of replicating it with different semantics. | |
11098 | * Makefile.in (emit-rtl.o): Adjust. | |
11099 | ||
1eb458d1 RR |
11100 | 2011-01-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
11101 | ||
38be4072 | 11102 | * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually include. |
61052244 | 11103 | (cortex_a9_dp): Handle neon types correctly. |
1eb458d1 | 11104 | |
e7ef91dc JJ |
11105 | 2011-01-18 Jakub Jelinek <jakub@redhat.com> |
11106 | ||
11107 | PR rtl-optimization/47299 | |
11108 | * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use | |
38be4072 | 11109 | subtarget. Use normal multiplication if both operands are constants. |
e7ef91dc JJ |
11110 | * expmed.c (expand_widening_mult): Don't try to optimize constant |
11111 | multiplication if op0 has VOIDmode. Convert op1 constant to mode | |
11112 | before using it. | |
11113 | ||
535b7874 RW |
11114 | 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
11115 | ||
11116 | * doc/lto.texi (LTO): Ensure two spaces after period. Fix | |
11117 | spacing after 'e.g.', typos, comma, hyphenation. | |
11118 | ||
27bf36f3 RH |
11119 | 2011-01-17 Richard Henderson <rth@redhat.com> |
11120 | ||
8a5b5449 RH |
11121 | * config/rx/predicates.md (rx_constshift_operand): Use match_test. |
11122 | (rx_restricted_mem_operand): New. | |
11123 | (rx_shift_operand): Use register_operand. | |
11124 | (rx_source_operand, rx_compare_operand): Likewise. | |
11125 | * config/rx/rx.md (addsi3_flags): New expander. | |
11126 | (adddi3): Rewrite as expander. | |
11127 | (adc_internal, *adc_flags, adddi3_internal): New patterns. | |
11128 | (subsi3_flags): New expander. | |
11129 | (subdi3): Rewrite as expander. | |
11130 | (sbb_internal, *sbb_flags, subdi3_internal): New patterns. | |
11131 | ||
784f69be RH |
11132 | * config/rx/rx.c (RX_BUILTIN_SAT): Remove. |
11133 | (rx_init_builtins): Remove sat builtin. | |
11134 | (rx_expand_builtin): Likewise. | |
11135 | * config/rx/rx.md (ssaddsi3): New. | |
11136 | (*sat): Rename from sat. Represent the CC_REG input. | |
11137 | ||
f033541c RH |
11138 | * config/rx/predicates.md (rshift_operator): New. |
11139 | * config/rx/rx.c (rx_expand_insv): Remove. | |
11140 | * config/rx/rx-protos.h: Update. | |
11141 | * config/rx/rx.md (*bitset): Rename from bitset. Swap the ashift | |
11142 | operand to the canonical position. | |
11143 | (*bitset_in_memory, *bitinvert, *bitinvert_in_memory): Similarly. | |
11144 | (*bitclr, *bitclr_in_memory): Similarly. | |
11145 | (*insv_imm, rx_insv_reg, *insv_cond, *bmcc, *insv_cond_lt): New. | |
11146 | (insv): Retain the zero_extract in the expansion. | |
11147 | ||
34fee389 RH |
11148 | * config/rx/rx.md (bswapsi2): Use = not + for output reload. |
11149 | (bswaphi2, bitinvert, revw): Likewise. | |
11150 | ||
265c835f RH |
11151 | * config/rx/rx.c (gen_rx_store_vector): Use VOIDmode for gen_rtx_SET. |
11152 | (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise. | |
11153 | * config/rx/rx.md (pop_and_return): Use VOIDmode for SET. | |
11154 | (stack_push, stack_pushm, stack_pop, stack_popm): Likewise. | |
11155 | (bitset, bitset_in_memory): Likewise. | |
11156 | (bitinvert, bitinvert_in_memory): Likewise. | |
11157 | (bitclr, bitclr_in_memory): Likewise. | |
11158 | (insv, sync_lock_test_and_setsi, movstr, rx_movstr): Likewise. | |
11159 | (rx_strend, rx_cmpstrn): Likewise. | |
11160 | (rx_setmem): Likewise. Make the source BLKmode to match the dest. | |
11161 | (bitop peep2 patterns): Remove. | |
11162 | ||
b4d83be3 RH |
11163 | * config/rx/rx.c (rx_match_ccmode): New. |
11164 | * config/rx/rx-protos.h: Update. | |
11165 | * config/rx/rx.md (abssi2): Clobber, don't set flags. | |
11166 | (addsi3, adddi3, andsi3, negsi2, one_cmplsi2, iorsi3): Likewise. | |
11167 | (rotlsi3, rotrsi3, ashrsi3, lshrsi3, ashlsi3): Likewise. | |
11168 | (subsi3, subdi3, xorsi3, addsf3, divsf3, mulsf3, subsf3): Likewise. | |
11169 | (fix_truncsfsi2, floatsisf2): Likewise. | |
11170 | (*abssi2_flags, *addsi3_flags, *andsi3_flags, *negsi2_flags): New. | |
11171 | (*one_cmplsi2_flags, *iorsi3_flags, *rotlsi3_flags): New. | |
11172 | (*rotrsi3_flags, *ashrsi3_flags, *lshrsi3_flags, *ashlsi3_flags): New. | |
11173 | (*subsi3_flags, *xorsi3_flags): New. | |
11174 | ||
d0acb939 RH |
11175 | * config/rx/rx.md (cstoresf4, *cstoresf4): New patterns. |
11176 | ||
c06fc3d9 RH |
11177 | * config/rx/rx.c (rx_print_operand): Remove workaround for |
11178 | unsplit comparison operations. | |
11179 | ||
2882702b RH |
11180 | * config/rx/rx.md (movsicc): Split after reload. |
11181 | (*movsicc): Merge *movsieq and *movsine via match_operator. | |
11182 | (*stcc): New pattern. | |
11183 | ||
6f7310f2 RH |
11184 | * config/rx/rx.c (rx_float_compare_mode): Remove. |
11185 | * config/rx/rx.h (rx_float_compare_mode): Remove. | |
11186 | * config/rx/rx.md (cstoresi4): Split after reload. | |
11187 | (*sccc): New pattern. | |
11188 | ||
e963cb1a RH |
11189 | * config/rx/predicates.md (label_ref_operand): New. |
11190 | (rx_z_comparison_operator): New. | |
11191 | (rx_zs_comparison_operator): New. | |
11192 | (rx_fp_comparison_operator): New. | |
11193 | * config/rx/rx.c (rx_print_operand) [B]: Examine comparison modes. | |
11194 | Validate that the flags are set properly for the comparison. | |
11195 | (rx_gen_cond_branch_template): Remove. | |
11196 | (rx_cc_modes_compatible): Remove. | |
11197 | (mode_from_flags): New. | |
11198 | (flags_from_code): Rename from flags_needed_for_conditional. | |
11199 | (rx_cc_modes_compatible): Re-write in terms of flags_from_mode. | |
11200 | (rx_select_cc_mode): Likewise. | |
11201 | (rx_split_fp_compare): New. | |
11202 | (rx_split_cbranch): New. | |
11203 | * config/rx/rx.md (most_cond, zs_cond): Remove iterators. | |
11204 | (*cbranchsi4): Use match_operator and rx_split_cbranch. | |
11205 | (*cbranchsf4): Similarly. | |
11206 | (*cbranchsi4_tst): Rename from *tstbranchsi4_<code>. Use | |
11207 | match_operator and rx_split_cbranch. | |
11208 | (*cbranchsi4_tst_ext): Combine *tstbranchsi4m_eq and | |
11209 | tstbranchsi4m_ne. Use match_operator and rx_split_cbranch. | |
11210 | (*cmpsi): Rename from cmpsi. | |
11211 | (*tstsi): Rename from tstsi. | |
11212 | (*cmpsf): Rename from cmpsf; use CC_Fmode. | |
11213 | (*conditional_branch): Rename from conditional_branch. | |
11214 | (*reveresed_conditional_branch): Remove. | |
11215 | (b<code>): Remove expander. | |
11216 | * config/rx/rx-protos.h: Update. | |
11217 | ||
af530bb4 RH |
11218 | * config/rx/rx.c (rx_compare_redundant): Remove. |
11219 | * config/rx/rx.md (cmpsi): Don't use it. | |
11220 | * config/rx/rx-protos.h: Update. | |
11221 | ||
27bf36f3 RH |
11222 | * config/rx/rx-modes.def (CC_F): New mode. |
11223 | * config/rx/rx.c (rx_select_cc_mode): New. | |
11224 | * config/rx/rx.h (SELECT_CC_MODE): Use it. | |
11225 | * config/rx/rx-protos.h: Update. | |
11226 | ||
d7fde127 RH |
11227 | 2011-01-17 Richard Henderson <rth@redhat.com> |
11228 | ||
11229 | * except.c (dump_eh_tree): Fix stray ; after for statement. | |
11230 | ||
6ff38230 RG |
11231 | 2011-01-17 Richard Guenther <rguenther@suse.de> |
11232 | ||
11233 | PR tree-optimization/47313 | |
11234 | * tree-inline.c (tree_function_versioning): Move DECL_RESULT | |
11235 | handling before copying the body. Properly deal with | |
11236 | by-reference result in SSA form. | |
11237 | ||
114ce554 ILT |
11238 | 2011-01-17 Ian Lance Taylor <iant@google.com> |
11239 | ||
bf5cd92b | 11240 | PR target/47219 |
114ce554 ILT |
11241 | * config/sparc/sparc.c (sparc_sr_alias_set): Don't define. |
11242 | (struct_value_alias_set): Don't define. | |
11243 | (sparc_option_override): Don't set sparc_sr_alias_set and | |
11244 | struct_value_alias_set. | |
11245 | (save_or_restore_regs): Use gen_frame_mem rather than calling | |
11246 | set_mem_alias_set. | |
11247 | (sparc_struct_value_rtx): Likewise. | |
11248 | ||
98c6d93c L |
11249 | 2011-01-17 H.J. Lu <hongjiu.lu@intel.com> |
11250 | ||
11251 | PR target/47318 | |
7a81008b | 11252 | * config/i386/avxintrin.h (_mm_maskload_pd): Change mask to __m128i. |
98c6d93c L |
11253 | (_mm_maskstore_pd): Likewise. |
11254 | (_mm_maskload_ps): Likewise. | |
11255 | (_mm_maskstore_ps): Likewise. | |
11256 | (_mm256_maskload_pd): Change mask to __m256i. | |
11257 | (_mm256_maskstore_pd): Likewise. | |
11258 | (_mm256_maskload_ps): Likewise. | |
11259 | (_mm256_maskstore_ps): Likewise. | |
11260 | ||
11261 | * config/i386/i386-builtin-types.def: Updated. | |
11262 | (ix86_expand_special_args_builtin): Likewise. | |
11263 | ||
11264 | * config/i386/i386.c (bdesc_special_args): Update | |
11265 | __builtin_ia32_maskloadpd, __builtin_ia32_maskloadps, | |
11266 | __builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256, | |
11267 | __builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps, | |
11268 | __builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256. | |
11269 | ||
11270 | * config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>): | |
11271 | Use <avxpermvecmode> on mask register. | |
11272 | (avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise. | |
11273 | ||
b9361af2 | 11274 | 2011-01-17 Olivier Hainque <hainque@adacore.com> |
61052244 AM |
11275 | Michael Haubenwallner <michael.haubenwallner@salomon.at> |
11276 | Eric Botcazou <ebotcazou@adacore.com> | |
b9361af2 OH |
11277 | |
11278 | PR target/46655 | |
11279 | * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only | |
11280 | if <= USHRT_MAX in 32-bit mode. | |
11281 | ||
b7ae9eb5 RW |
11282 | 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
11283 | ||
11284 | * doc/install.texi (Configuration, Specific): Wrap long | |
11285 | lines in examples. Allow line wrapping in long options | |
11286 | and URLs where beneficial for PDF output. | |
11287 | ||
4377fad9 RS |
11288 | 2011-01-16 Richard Sandiford <rdsandiford@googlemail.com> |
11289 | ||
11290 | * config/mips/mips.c (mips_classify_symbol): Don't return | |
11291 | SYMBOL_PC_RELATIVE for nonlocal labels. | |
11292 | ||
55959ffa | 11293 | 2011-01-15 Eric Botcazou <ebotcazou@adacore.com> |
be46831f | 11294 | |
55959ffa EB |
11295 | * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo. |
11296 | ||
11297 | 2011-01-15 Jan Hubicka <jh@suse.cz> | |
11298 | ||
11299 | PR tree-optimization/47276 | |
be46831f JH |
11300 | * ipa.c (function_and_variable_visibility): Do not try to mark alias |
11301 | declarations as needed. | |
11302 | ||
05842ff5 MJ |
11303 | 2011-01-15 Martin Jambor <mjambor@suse.cz> |
11304 | ||
11305 | * common.opt (fdevirtualize): New flag. | |
11306 | * doc/invoke.texi (Option Summary): Document it. | |
11307 | * opts.c (default_options_table): Add devirtualize flag. | |
11308 | * ipa-prop.c (detect_type_change): Return immediately if | |
11309 | devirtualize flag is not set. | |
11310 | (detect_type_change_ssa): Likewise. | |
11311 | (compute_known_type_jump_func): Likewise. | |
11312 | (ipa_analyze_virtual_call_uses): Likewise. | |
11313 | ||
f65cf2b7 MJ |
11314 | 2011-01-14 Martin Jambor <mjambor@suse.cz> |
11315 | ||
11316 | PR tree-optimization/45934 | |
11317 | PR tree-optimization/46302 | |
11318 | * ipa-prop.c (type_change_info): New type. | |
11319 | (stmt_may_be_vtbl_ptr_store): New function. | |
11320 | (check_stmt_for_type_change): Likewise. | |
11321 | (detect_type_change): Likewise. | |
11322 | (detect_type_change_ssa): Likewise. | |
11323 | (compute_complex_assign_jump_func): Check for dynamic type change. | |
11324 | (compute_complex_ancestor_jump_func): Likewise. | |
11325 | (compute_known_type_jump_func): Likewise. | |
11326 | (compute_scalar_jump_functions): Likewise. | |
11327 | (ipa_analyze_virtual_call_uses): Likewise. | |
11328 | (ipa_analyze_node): Push and pop cfun, set current_function_decl. | |
11329 | ||
eb5bb0fd JM |
11330 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
11331 | ||
11332 | * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5. | |
11333 | * config/i386/i386.opt (msse5): New Alias. | |
11334 | ||
f2060fbe JM |
11335 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
11336 | ||
11337 | * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}. | |
11338 | * config/sparc/linux64.h (CC1_SPEC): Likewise. | |
11339 | * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
11340 | * config/sparc/sparc.h (CC1_SPEC): Likewise. | |
11341 | ||
3a7b4385 JM |
11342 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
11343 | ||
11344 | * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of | |
11345 | -mcpu options. | |
11346 | * config/sparc/linux64.h (CC1_SPEC): Likewise. | |
11347 | * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
11348 | * config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise. | |
11349 | * config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC): | |
11350 | Likewise. | |
11351 | * config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8. | |
11352 | ||
a7b778f8 JM |
11353 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
11354 | ||
38be4072 | 11355 | * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or -fvec-eabi. |
a7b778f8 | 11356 | |
a7edae0a MS |
11357 | 2011-01-14 Mike Stump <mikestump@comcast.net> |
11358 | ||
11359 | * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set. | |
11360 | * config/fr30/fr30.md: Likweise | |
11361 | (movsi_push): Likewise. | |
11362 | (movsi_pop): Likewise. | |
11363 | (enter_func): Likewise. | |
11364 | * config/moxie/moxie.md (movsi_push): Likewise. | |
11365 | (movsi_pop): Likewise. | |
11366 | ||
cbabf03f JM |
11367 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
11368 | ||
11369 | * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum} | |
11370 | %{no_archive} %{exact_version}. | |
11371 | * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}. | |
11372 | * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum} | |
11373 | %{no_archive} %{exact_version}. | |
11374 | * config/mips/openbsd.h (LINK_SPEC): Likewise. | |
11375 | * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}. | |
11376 | * config/mips/vxworks.h: Likewise. | |
11377 | ||
438da41a JM |
11378 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
11379 | ||
38be4072 | 11380 | * config/microblaze/microblaze.h (ASM_SPEC): Remove %{microblaze1}. |
438da41a | 11381 | |
da290a42 JM |
11382 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
11383 | ||
11384 | * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC, | |
11385 | ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove. | |
11386 | ||
8989d00e JM |
11387 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
11388 | ||
11389 | * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not | |
11390 | -nodefaultlib. | |
11391 | ||
a3010a69 JM |
11392 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
11393 | ||
11394 | * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check | |
11395 | for mcpu not cpu. | |
11396 | * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC, | |
11397 | CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu | |
11398 | not cpu. | |
11399 | (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options. | |
11400 | Don't handle -shlib. | |
11401 | ||
e7f2f537 JM |
11402 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
11403 | ||
11404 | * config/avr/avr.h (CPP_SPEC): Don't handle -posix. | |
11405 | (CC1_SPEC): Don't handle -profile. | |
11406 | ||
34830bfd JM |
11407 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
11408 | ||
11409 | * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec. | |
11410 | * config/mips/mips.h (CC1_SPEC): Likewise. | |
11411 | ||
b2d36e74 JM |
11412 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
11413 | ||
11414 | * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }. | |
11415 | * config/mips/mips.h (CC1_SPEC): Likewise. | |
11416 | ||
dabadc52 JM |
11417 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
11418 | ||
11419 | * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional. | |
11420 | * config/m32r/linux.h (LINK_SPEC): Likewise. | |
11421 | * config/mips/linux.h (LINK_SPEC): Likewise. | |
11422 | * config/mips/linux64.h (LINK_SPEC): Likewise. | |
11423 | * config/sparc/linux.h (LINK_SPEC): Likewise. | |
11424 | * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC, | |
11425 | LINK_SPEC): Likewise. | |
11426 | * config/xtensa/linux.h (LINK_SPEC): Likewise. | |
11427 | ||
43ee6785 JM |
11428 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
11429 | ||
11430 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove | |
11431 | %{version:-v}. | |
11432 | * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise. | |
11433 | ||
45e79dfd JM |
11434 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
11435 | ||
11436 | * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}. | |
11437 | * config/sparc/sp64-elf.h (ASM_SPEC): Likewise. | |
11438 | ||
37e9e71d JM |
11439 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
11440 | ||
11441 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}. | |
11442 | ||
bb127cd8 RO |
11443 | 2011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11444 | ||
11445 | * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always | |
11446 | supports -Bstatic/-Bdynamic. | |
11447 | * configure: Regenerate. | |
11448 | ||
89a012ea | 11449 | 2011-01-14 Jan Hubicka <jh@suse.cz> |
509d65dd | 11450 | Jack Howarth <howarth@bromo.med.uc.edu> |
89a012ea JH |
11451 | |
11452 | PR target/46037 | |
11453 | * config/darwin.c (darwin_override_options): Honor flag_gtoggle | |
11454 | when checking debug_info_level. Test write_symbols instead of | |
11455 | debug_hooks->var_location when setting flag_var_tracking_uninit. | |
11456 | ||
7352c013 RG |
11457 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
11458 | ||
11459 | PR tree-optimization/47179 | |
11460 | * target.def (ref_may_alias_errno): New target hook. | |
11461 | * targhooks.h (default_ref_may_alias_errno): Declare. | |
11462 | * targhooks.c: Include tree-ssa-alias.h and tree-flow.h. | |
11463 | (default_ref_may_alias_errno): New function. | |
11464 | * target.h (struct ao_ref_s): Declare. | |
11465 | * tree-ssa-alias.c: Include target.h. | |
11466 | (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook. | |
11467 | * Makefile.in (tree-ssa-alias.o): Adjust dependencies. | |
11468 | (targhooks.o): Likewise. | |
11469 | * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document. | |
11470 | * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation. | |
11471 | ||
9a6c9288 RG |
11472 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
11473 | ||
11474 | * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER. | |
11475 | ||
0fdb0d27 RG |
11476 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
11477 | ||
11478 | PR tree-optimization/47280 | |
11479 | * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and | |
11480 | return CFG changes. | |
11481 | (tree_ssa_forward_propagate_single_use_vars): Deal with | |
11482 | CFG changes from associate_plusminus. | |
11483 | ||
8f66db3b RG |
11484 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
11485 | ||
11486 | PR middle-end/47281 | |
11487 | Revert | |
11488 | 2011-01-11 Richard Guenther <rguenther@suse.de> | |
11489 | ||
280d9630 EB |
11490 | PR tree-optimization/46076 |
11491 | * tree-ssa.c (useless_type_conversion_p): Conversions from | |
11492 | unprototyped to empty argument list function types are useless. | |
8f66db3b | 11493 | |
6c0c92e6 RG |
11494 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
11495 | ||
11496 | PR tree-optimization/47286 | |
280d9630 | 11497 | * tree-ssa-structalias.c (new_var_info): Register variables are global. |
6c0c92e6 | 11498 | |
db09f943 MJ |
11499 | 2011-01-14 Martin Jambor <mjambor@suse.cz> |
11500 | ||
11501 | PR middle-end/46823 | |
11502 | * tree-inline.c (expand_call_inline): Get fndecl from call graph edge. | |
11503 | ||
dde8a3a4 AS |
11504 | 2011-01-13 Anatoly Sokolov <aesok@post.ru> |
11505 | ||
11506 | * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE, | |
11507 | LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. | |
11508 | * config/xtensa/xtensa.c (xtensa_libcall_value, | |
11509 | xtensa_function_value_regno_p): New functions. | |
11510 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
11511 | ||
a2b63a20 KT |
11512 | 2011-01-13 Kai Tietz <kai.tietz@onevision.com> |
11513 | ||
11514 | PR c++/47213 | |
11515 | * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY): | |
11516 | PE specific hook. | |
11517 | * config/i386/i386-protos.h (i386_pe_assemble_visibility): | |
11518 | New function prototype. | |
11519 | * config/i386/winnt.c (i386_pe_assemble_visibility): | |
11520 | Warn only if attribute was specified by user. | |
11521 | ||
b41f0b34 MM |
11522 | 2011-01-13 Michael Meissner <meissner@linux.vnet.ibm.com> |
11523 | ||
11524 | PR target/47251 | |
11525 | * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware | |
11526 | floating point. | |
11527 | (floatunsdidf2_fcfidu): Ditto. | |
11528 | ||
3f3c098d AK |
11529 | 2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
11530 | ||
11531 | * config/s390/s390.c (print_operand_address): Replace 'error' with | |
11532 | 'output_operand_lossage'. | |
11533 | (print_operand): Likewise. | |
11534 | ||
29fa95ed JL |
11535 | 2011-01-13 Jeff Law <law@redhat.com> |
11536 | ||
280d9630 | 11537 | PR rtl-optimization/39077 |
29fa95ed JL |
11538 | * doc/invoke.texi (max-gcse-insertion-ratio): Document. |
11539 | * params.h (MAX_GCSE_INSERTION_RATIO): Define. | |
11540 | * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define. | |
11541 | * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps. | |
11542 | * gcse.c (prune_insertions_deletions): New function. | |
11543 | (compute_pre_data): Use it. | |
11544 | ||
71d12276 DS |
11545 | 2011-01-13 Dodji Seketeli <dodji@redhat.com> |
11546 | ||
11547 | PR debug/PR46973 | |
11548 | * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New | |
11549 | static function. | |
61052244 | 11550 | (prune_unused_types_mark): Use it. |
71d12276 | 11551 | |
9b0f04e7 AB |
11552 | 2011-01-13 Andrey Belevantsev <abel@ispras.ru> |
11553 | ||
11554 | PR rtl-optimization/45352 | |
1c3ba85b | 11555 | * sel-sched.c: Update copyright years. |
9b0f04e7 | 11556 | (reset_sched_cycles_in_current_ebb): Also recheck the DFA state |
1c3ba85b | 11557 | in the advancing loop when we have issued issue_rate insns. |
9b0f04e7 | 11558 | |
d6a3e264 RH |
11559 | 2011-01-12 Richard Henderson <rth@redhat.com> |
11560 | ||
a49b692a RH |
11561 | * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New. |
11562 | (TARGET_MD_ASM_CLOBBERS): New. | |
11563 | ||
126b1483 RH |
11564 | * config/mn10300/mn10300.c (mn10300_delegitimize_address): New. |
11565 | (TARGET_DELEGITIMIZE_ADDRESS): New. | |
11566 | ||
f3d9d2e0 RH |
11567 | * config/mn10300/mn10300.md (UNSPEC_BSCH): New. |
11568 | (clzsi2, *bsch): New patterns. | |
11569 | ||
d84760c9 RH |
11570 | * config/mn10300/mn10300.md (INT): New mode iterator. |
11571 | (*mov<INT>_clr): New pattern, and peep2 to generate it. | |
11572 | ||
ec815d65 RH |
11573 | * config/mn10300/mn10300.c (mn10300_option_override): Force enable |
11574 | flag_split_wide_types. | |
11575 | ||
d6a3e264 RH |
11576 | * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove. |
11577 | (mn10300_trampoline_init): Rewrite without a template, an immediate | |
11578 | load and a direct branch. | |
11579 | * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16. | |
11580 | ||
0f8ab434 AS |
11581 | 2011-01-12 Anatoly Sokolov <aesok@post.ru> |
11582 | ||
11583 | * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
11584 | * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove. | |
11585 | * config/s390/s390.c (s390_output_addr_const_extra): Make static. | |
11586 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
11587 | ||
d8a24b65 KT |
11588 | 2011-01-12 Kai Tietz <kai.tietz@onevision.com> |
11589 | ||
11590 | PR debug/47209 | |
11591 | * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT | |
11592 | of type. | |
11593 | ||
56e22cab JH |
11594 | 2011-01-12 Jan Hubicka <jh@suse.cz> |
11595 | ||
11596 | PR driver/47244 | |
11597 | * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used. | |
11598 | (PLUGIN_COND_CLOSE): New macro. | |
11599 | (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE. | |
11600 | ||
4b18b3c2 RG |
11601 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
11602 | ||
11603 | PR lto/47259 | |
11604 | * lto-streamer-out.c (output_gimple_stmt): Do not wrap | |
11605 | register variables in a MEM_REF. | |
11606 | ||
8e38461c JM |
11607 | 2011-01-12 Joseph Myers <joseph@codesourcery.com> |
11608 | ||
11609 | * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*, | |
11610 | crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*, | |
11611 | hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* | | |
11612 | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | | |
11613 | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu, | |
11614 | x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu, | |
11615 | ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*, | |
11616 | m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*, | |
11617 | mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*, | |
11618 | s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*, | |
11619 | sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*, | |
11620 | am33_2.0-*-linux*): Use gnu-user.h before linux.h. | |
11621 | * config/gnu-user.h: New. Copied from linux.h. | |
11622 | (LINUX_TARGET_STARTFILE_SPEC): Rename to | |
11623 | GNU_USER_TARGET_STARTFILE_SPEC. | |
11624 | (LINUX_TARGET_ENDFILE_SPEC): Rename to | |
11625 | GNU_USER_TARGET_ENDFILE_SPEC. | |
11626 | (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC. | |
11627 | (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC. | |
11628 | (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC, | |
11629 | LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1, | |
11630 | CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER, | |
11631 | UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64, | |
11632 | BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32, | |
11633 | BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER, | |
11634 | LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64, | |
11635 | TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove. | |
11636 | * config/arm/linux-eabi.h (CC1_SPEC): Use | |
11637 | GNU_USER_TARGET_CC1_SPEC. | |
11638 | (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC. | |
11639 | (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC. | |
11640 | (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC | |
11641 | * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF, | |
11642 | LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC, | |
11643 | LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC, | |
11644 | CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC, | |
11645 | LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove. | |
11646 | ||
a570fc16 RG |
11647 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
11648 | ||
11649 | PR other/46946 | |
11650 | * doc/invoke.texi (ffast-math): Document it is turned on | |
11651 | with -Ofast. | |
11652 | ||
b0223c3e JH |
11653 | 2011-01-12 Jan Hubicka <jh@suse.cz> |
11654 | ||
11655 | PR tree-optimization/47233 | |
ca1e00b3 EB |
11656 | * opts.c (common_handle_option): Disable ipa-reference with profile |
11657 | feedback. | |
b0223c3e | 11658 | |
1c3ba85b | 11659 | 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> |
d853ee42 NP |
11660 | |
11661 | * c-parser.c (c_parser_objc_at_property_declaration): Improved | |
ca1e00b3 EB |
11662 | error message. |
11663 | ||
d853ee42 NP |
11664 | 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> |
11665 | ||
11666 | * c-parser.c (c_lex_one_token): Updated and reindented some | |
11667 | comments. No changes in code. | |
11668 | ||
4053a5a0 ILT |
11669 | 2011-01-11 Ian Lance Taylor <iant@google.com> |
11670 | ||
11671 | * godump.c (go_output_var): Don't output the variable if there is | |
11672 | already a type with the same name. | |
11673 | ||
fa3e04d2 ILT |
11674 | 2011-01-11 Ian Lance Taylor <iant@google.com> |
11675 | ||
11676 | * godump.c (go_format_type): Don't generate float80. | |
11677 | ||
885fe07c RH |
11678 | 2011-01-11 Richard Henderson <rth@redhat.com> |
11679 | ||
72d6e3c5 RH |
11680 | * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward |
11681 | declaration. Rewrite for both speed and size. | |
11682 | (mn10300_address_cost_1): Remove. | |
11683 | (mn10300_register_move_cost): New. | |
11684 | (mn10300_memory_move_cost): New. | |
11685 | (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle | |
11686 | ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare, | |
11687 | extensions, shifts, BSWAP, CLZ. | |
11688 | (mn10300_wide_const_load_uses_clr): Remove. | |
11689 | (TARGET_REGISTER_MOVE_COST): New. | |
11690 | (TARGET_MEMORY_MOVE_COST): New. | |
11691 | * config/mn10300/mn10300-protos.h: Update. | |
11692 | * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove. | |
11693 | ||
df37c023 RH |
11694 | * config/mn10300/constraints.md ("R", "T"): Remove constraints. |
11695 | * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove. | |
11696 | * config/mn10300/mn10300-protos.h: Update. | |
11697 | * config/mn10300/mn10300.md (movsi_internal): Don't use "R". | |
11698 | (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove. | |
11699 | (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove. | |
11700 | (*test_int_bitfield, *test_byte_bitfield): Remove. | |
11701 | (*bit_test, *subreg_bit_test): Remove. | |
62d3f9b2 | 11702 | * config/mn10300/predicates.md (const_8bit_operand): Remove. |
df37c023 | 11703 | |
85a337b5 RH |
11704 | * config/mn10300/constraints.md ("c"): Rename from "A". |
11705 | ("A", "D"): New constraint letters. | |
11706 | * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint. | |
11707 | (fmssf4, fnmasf4, fnmssf4): Likewise. | |
11708 | ||
a5c727e3 RH |
11709 | * config/mn10300/mn10300.md (isa): New attribute. |
11710 | (enabled): New attribute. | |
11711 | ||
0d9e23f4 RH |
11712 | * config/mn10300/mn10300.md (absdf2, negdf2): Remove. |
11713 | (abssf2, negsf2): Define only for hardware fp. | |
11714 | (sqrtsf2): Reformat. | |
11715 | (addsf3, subsf3, mulsf3): Merge expander and insn. | |
11716 | ||
c157b3f0 RH |
11717 | * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New. |
11718 | (DEBUGGER_AUTO_OFFSET): Remove. | |
11719 | (DEBUGGER_ARG_OFFSET): Remove. | |
11720 | ||
cc909bba RH |
11721 | * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static. |
11722 | Emit register stores with the same offsets as the hardware. | |
11723 | (mn10300_store_multiple_operation): Don't check that the register | |
11724 | save offsets are monotonic. | |
11725 | * config/mn10300/mn10300-protos.h: Update. | |
11726 | ||
e3b5c2f3 RH |
11727 | * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete. |
11728 | ||
885fe07c RH |
11729 | * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define |
11730 | in terms of the value on the stack, not the MDR register. | |
11731 | ||
6e701822 JH |
11732 | 2011-01-11 Jan Hubicka <jh@suse.cz> |
11733 | ||
11734 | PR lto/45721 | |
11735 | PR lto/45375 | |
11736 | * tree.h (symbol_alias_set_t): Move typedef here from varasm.c | |
11737 | (symbol_alias_set_destroy, symbol_alias_set_contains, | |
11738 | propagate_aliases_backward): Declare. | |
11739 | * lto-streamer-out.c (struct sets): New sturcture. | |
11740 | (trivally_defined_alias): New function. | |
11741 | (output_alias_pair_p): Rewrite. | |
11742 | (output_unreferenced_globals): Fix output of alias pairs. | |
11743 | (produce_symtab): Likewise. | |
11744 | * ipa.c (function_and_variable_visibility): Set weak alias destination | |
11745 | as needed in lto. | |
11746 | * varasm.c (symbol_alias_set_t): Remove. | |
11747 | (symbol_alias_set_destroy): Export. | |
11748 | (propagate_aliases_forward, propagate_aliases_backward): New functions | |
11749 | based on ... | |
11750 | (compute_visible_aliases): ... this one; remove. | |
11751 | (trivially_visible_alias): New | |
11752 | (trivially_defined_alias): New. | |
11753 | (remove_unreachable_alias_pairs): Rewrite. | |
11754 | (finish_aliases_1): Reorganize code checking if alias is defined. | |
11755 | * passes.c (rest_of_decl_compilation): Do not call assemble_alias when | |
11756 | in LTO mode. | |
11757 | ||
1b248907 RG |
11758 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
11759 | ||
11760 | PR tree-optimization/46076 | |
11761 | * tree-ssa.c (useless_type_conversion_p): Conversions from | |
11762 | unprototyped to empty argument list function types are useless. | |
11763 | ||
b1923f0a RG |
11764 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
11765 | ||
11766 | PR middle-end/45235 | |
11767 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark | |
11768 | volatile MEMs as MEM_READONLY_P. | |
11769 | ||
e98965af RG |
11770 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
11771 | ||
11772 | PR tree-optimization/47239 | |
11773 | * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs. | |
11774 | ||
9f9ca914 JL |
11775 | 2011-01-11 Jeff Law <law@redhat.com> |
11776 | ||
1ee3ea05 | 11777 | PR tree-optimization/47086 |
9f9ca914 JL |
11778 | * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record |
11779 | IVs from statements that might throw. | |
11780 | ||
345fdcb7 JH |
11781 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
11782 | ||
11783 | PR lto/45375 | |
11784 | * lto-cgraph.c (input_profile_summary): Remove overactive sanity check. | |
11785 | ||
c459c97b JH |
11786 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
11787 | ||
11788 | PR lto/45375 | |
11789 | * profile.c (read_profile_edge_counts): Ignore profile inconistency | |
11790 | when correcting profile. | |
11791 | ||
06c9eb51 JH |
11792 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
11793 | ||
11794 | PR lto/46083 | |
11795 | * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store | |
11796 | DECL_FINI_PRIORITY. | |
11797 | * lto-streamer-in.c (unpack_ts_function_decl_value_fields): | |
11798 | Restore DECL_FINI_PRIORITY. | |
11799 | ||
ae9fd815 RW |
11800 | 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
11801 | ||
11802 | * doc/gimple.texi: Fix quoting of multi-word return values in | |
11803 | @deftypefn statements. Ensure presence of return value. Wrap | |
11804 | overlong @deftypefn lines. | |
11805 | (is_gimple_operand, is_gimple_min_invariant_address): Remove | |
11806 | descriptions of removed functions. | |
11807 | * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting | |
11808 | of multi-word return value in @deftypefn statement. | |
11809 | ||
0ecb4a7c RW |
11810 | 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
11811 | ||
11812 | * doc/gimple.texi (Temporaries, Operands, Compound Lvalues) | |
11813 | (Conditional Expressions, Logical Operators) | |
11814 | (Statement and operand traversals): Do not indent smallexample | |
11815 | code. Fix duplicate function argument in example. | |
11816 | ||
2e5e346d JL |
11817 | 2011-01-10 Jeff Law <law@redhat.com> |
11818 | ||
1ee3ea05 | 11819 | PR tree-optimization/47141 |
2e5e346d JL |
11820 | * ipa-split.c (split_function): Handle case where we are |
11821 | returning a value and the return block has a virtual operand phi. | |
11822 | ||
cf9712cc JH |
11823 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
11824 | ||
1c3ba85b | 11825 | PR tree-optimization/47234 |
cf9712cc JH |
11826 | * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO. |
11827 | (pass_feedback_split_functions): Declare. | |
11828 | * passes.c (init_optimization_passes): Add ipa-split as subpass of | |
11829 | tree-profile. | |
11830 | * ipa-split.c (gate_split_functions): Update comments; disable | |
11831 | split-functions for profile_arc_flag and branch_probabilities. | |
11832 | (gate_feedback_split_functions): New function. | |
11833 | (execute_feedback_split_functions): New function. | |
11834 | (pass_feedback_split_functions): New global var. | |
11835 | ||
94cd932c L |
11836 | 2011-01-10 H.J. Lu <hongjiu.lu@intel.com> |
11837 | ||
11838 | PR lto/46760 | |
11839 | * tree-inline.c (tree_can_inline_p): Check e->call_stmt before | |
11840 | calling gimple_call_set_cannot_inline. | |
11841 | ||
fbbfcaf1 IS |
11842 | 2011-01-10 Iain Sandoe <iains@gcc.gnu.org> |
11843 | ||
11844 | * config/darwin-sections.def: Remove unused section. | |
11845 | ||
d06865bf DK |
11846 | 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com> |
11847 | ||
11848 | PR c++/47218 | |
11849 | * cgraphunit.c (assemble_thunk): Call resolve_unique_section. | |
11850 | ||
96bbfbac NP |
11851 | 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com> |
11852 | ||
11853 | PR objc/47232 | |
11854 | * c-parser.c (c_parser_declaration_or_fndef): Improved | |
11855 | error message. | |
11856 | ||
1ba6516f KT |
11857 | 2011-01-09 Kai Tietz <kai.tietz@onevision.com> |
11858 | ||
11859 | * config/i386/winnt.c (i386_pe_start_function): Make sure | |
11860 | to switch back to function's section. | |
11861 | ||
0c5d770e IS |
11862 | 2011-01-09 Iain Sandoe <iains@gcc.gnu.org> |
11863 | ||
11864 | PR gcc/46902 | |
11865 | PR testsuite/46912 | |
11866 | * plugin.c: Move include of dlfcn.h from here... | |
11867 | * system.h: ... to here. | |
11868 | ||
11869 | 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | |
4ee1aa2a RW |
11870 | |
11871 | * doc/cpp.texi (C++ Named Operators): Fix markup for header | |
11872 | file name. | |
11873 | * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid | |
11874 | two extra empty pages in PDF output. | |
11875 | ||
046608a3 NP |
11876 | 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com> |
11877 | ||
11878 | PR objc/47078 | |
11879 | * c-parser.c (c_parser_objc_type_name): If the type is unknown, | |
11880 | for error recovery purposes behave as if it was not specified so | |
11881 | that the default type is usd. | |
11882 | ||
8cb114b9 JH |
11883 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
11884 | ||
11885 | PR tree-optmization/46469 | |
11886 | * ipa.c (function_and_variable_visibility): Clear needed flags on | |
11887 | nodes with external decls; handle weakrefs merging correctly. | |
11888 | ||
b294a75e JM |
11889 | 2011-01-07 Joseph Myers <joseph@codesourcery.com> |
11890 | ||
11891 | * opts.c (finish_options): Set opts->x_flag_opts_finished to true, | |
11892 | not false. | |
11893 | ||
96bdf9b4 JH |
11894 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
11895 | ||
f60c2554 | 11896 | * doc/invoke.texi (-flto, -fuse-linker-plugin): Update defaults |
96bdf9b4 JH |
11897 | and no longer claim that gold is required for linker plugin. |
11898 | * configure: Regenerate. | |
11899 | * gcc.c (PLUGIN_COND): New macro. | |
11900 | (LINK_COMMAND_SPEC): Use it. | |
11901 | (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set. | |
11902 | * config.in (HAVE_LTO_PLUGIN): New. | |
11903 | * configure.ac (--with-lto-plugin): New parameter; autodetect | |
11904 | HAVE_LTO_PLUGIN. | |
11905 | ||
17afc0fe JH |
11906 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
11907 | ||
11908 | PR tree-optimization/46367 | |
11909 | * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only | |
11910 | when we can update original. | |
11911 | (cgraph_mark_inline_edge): Sanity check. | |
11912 | * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check. | |
11913 | ||
d4c48c0f UW |
11914 | 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
11915 | ||
11916 | * config/spu/spu.h (ASM_COMMENT_START): Define. | |
11917 | ||
96f5b137 L |
11918 | 2011-01-07 H.J. Lu <hongjiu.lu@intel.com> |
11919 | ||
11920 | PR driver/42445 | |
11921 | * gcc.c (%>S): New. | |
11922 | (SWITCH_KEEP_FOR_GCC): Likewise. | |
11923 | (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC. | |
11924 | (do_spec_1): Handle "%>". | |
11925 | ||
11926 | * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>". | |
11927 | ||
c6a8f6de JJ |
11928 | 2011-01-07 Jakub Jelinek <jakub@redhat.com> |
11929 | ||
c21bbd7a JJ |
11930 | PR target/47201 |
11931 | * config/i386/i386.c (ix86_delegitimize_address): If | |
11932 | simplify_gen_subreg fails, return orig_x. | |
11933 | ||
c6a8f6de JJ |
11934 | PR bootstrap/47187 |
11935 | * value-prof.c (gimple_stringop_fixed_value): Handle | |
11936 | lhs of the call properly. | |
11937 | ||
fe95fbf9 JH |
11938 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
11939 | ||
11940 | PR lto/45375 | |
11941 | * lto-opt.c (lto_reissue_options): Set flag_shlib. | |
11942 | ||
14d11d40 IS |
11943 | 2011-01-07 Iain Sandoe <iains@gcc.gnu.org> |
11944 | ||
72e961c8 EB |
11945 | * target.def (function_switched_text_sections): New hook. |
11946 | * doc/tm.texi: Regenerated. | |
11947 | * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New. | |
14d11d40 | 11948 | * final.c (default_function_switched_text_sections): New. |
72e961c8 EB |
11949 | (final_scan_insn): Call function_switched_text_sections when a |
11950 | mid-function section change occurs. | |
14d11d40 | 11951 | * output.h (default_function_switched_text_sections): Declare. |
72e961c8 EB |
11952 | * config/darwin-protos.h (darwin_function_switched_text_sections): |
11953 | Likewise. | |
14d11d40 | 11954 | * config/darwin.c (darwin_function_switched_text_sections): New. |
72e961c8 | 11955 | * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New. |
14d11d40 | 11956 | |
0b764288 IS |
11957 | 2011-01-07 Iain Sandoe <iains@gcc.gnu.org> |
11958 | ||
11959 | * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for | |
11960 | DWARF >= 3. Add pubnames for the primary section and a reduced DIE for | |
11961 | the secondary code fragment when outputting for DWARF == 2. | |
11962 | ||
2ac6bb04 AS |
11963 | 2011-01-07 Anatoly Sokolov <aesok@post.ru> |
11964 | ||
11965 | * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
11966 | * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra): | |
11967 | Remove. | |
11968 | * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static. | |
11969 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
11970 | ||
9f82de11 EB |
11971 | 2011-01-06 Eric Botcazou <ebotcazou@adacore.com> |
11972 | ||
11973 | PR debug/46704 | |
280d9630 EB |
11974 | * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only |
11975 | when it is not empty. | |
9f82de11 EB |
11976 | |
11977 | 2011-01-06 Changpeng Fang <changpeng.fang@amd.com> | |
14b52538 | 11978 | |
1ed72abf | 11979 | Bobcat Enablement |
14b52538 | 11980 | * config.gcc (i[34567]86-*-linux* | ...): Add btver1. |
1ed72abf | 11981 | (case ${target}): Add btver1. |
14b52538 | 11982 | * config/i386/driver-i386.c (host_detect_local_cpu): Let |
1ed72abf | 11983 | -march=native recognize btver1 processors. |
14b52538 | 11984 | * config/i386/i386-c.c (ix86_target_macros_internal): Add |
1ed72abf | 11985 | btver1 def_and_undef |
14b52538 | 11986 | * config/i386/i386.c (struct processor_costs btver1_cost): New |
1ed72abf CF |
11987 | btver1 cost table. |
11988 | (m_BTVER1): New definition. | |
11989 | (m_AMD_MULTIPLE): Includes m_BTVER1. | |
11990 | (initial_ix86_tune_features): Add btver1 tune. | |
11991 | (processor_target_table): Add btver1 entry. | |
11992 | (static const char *const cpu_names): Add btver1 entry. | |
11993 | (software_prefetching_beneficial_p): Add btver1. | |
11994 | (ix86_option_override_internal): Add btver1 instruction sets. | |
11995 | (ix86_issue_rate): Add btver1. | |
11996 | (ix86_adjust_cost): Add btver1. | |
14b52538 | 11997 | * config/i386/i386.h (TARGET_BTVER1): New definition. |
1ed72abf CF |
11998 | (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1. |
11999 | (enum processor_type): Add PROCESSOR_BTVER1. | |
14b52538 CF |
12000 | * config/i386/i386.md (define_attr "cpu"): Add btver1. |
12001 | ||
e1a973d8 RO |
12002 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
12003 | ||
12004 | PR target/43309 | |
12005 | * config/i386/i386.c (legitimize_tls_address) | |
12006 | <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS. | |
12007 | * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare. | |
12008 | (tls_initial_exec_64_sun): New pattern. | |
12009 | ||
c73f67c5 GP |
12010 | 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com> |
12011 | ||
12012 | * doc/invoke.texi (Overall Options): Improve wording and markup | |
12013 | of the description of -wrapper. | |
12014 | ||
bc4c6f9c JM |
12015 | 2011-01-06 Joseph Myers <joseph@codesourcery.com> |
12016 | ||
12017 | * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads, | |
12018 | rdynamic, threads): New Driver options. | |
12019 | ||
adb75db0 RO |
12020 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
12021 | ||
12022 | PR target/38118 | |
12023 | * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss | |
12024 | if coming from .tdata. | |
12025 | * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. | |
12026 | ||
402c1cb4 JH |
12027 | 2011-01-06 Jan Hubicka <jh@suse.cz> |
12028 | ||
12029 | PR lto/47188 | |
12030 | * collect2.c (main): Do not enable LTOmode when plugin is active. | |
12031 | ||
a4da6485 RO |
12032 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
12033 | ||
12034 | PR other/45915 | |
12035 | * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd | |
12036 | --version output if supported. | |
12037 | * configure: Regenerate. | |
12038 | ||
028dbdf4 JM |
12039 | 2011-01-06 Joseph Myers <joseph@codesourcery.com> |
12040 | ||
12041 | * config/linux-android.opt (tno-android-cc, tno-android-ld): New | |
12042 | Driver options. | |
12043 | ||
dfe776dd JJ |
12044 | 2011-01-06 Jakub Jelinek <jakub@redhat.com> |
12045 | ||
12046 | PR c/47150 | |
12047 | * c-convert.c (convert): When converting a complex expression | |
12048 | other than COMPLEX_EXPR to a different complex type, ensure | |
12049 | c_save_expr is called instead of save_expr, unless in_late_binary_op. | |
12050 | * c-typeck.c (convert_for_assignment): Set in_late_binary_op also | |
12051 | when converting COMPLEX_TYPE. | |
12052 | ||
210dedfe IR |
12053 | 2011-01-06 Ira Rosen <irar@il.ibm.com> |
12054 | ||
12055 | PR tree-optimization/47139 | |
12056 | * tree-vect-loop.c (vect_is_simple_reduction_1): Check that | |
12057 | only the last reduction value is used outside the loop. Update | |
12058 | documentation. | |
12059 | ||
cd33a412 JM |
12060 | 2011-01-05 Joseph Myers <joseph@codesourcery.com> |
12061 | ||
12062 | * config/rtems.opt: New. | |
12063 | * config.gcc (*-*-rtems*): Use rtems.opt. | |
12064 | ||
819edd94 CF |
12065 | 2011-01-05 Changpeng Fang <changpeng.fang@amd.com> |
12066 | ||
12067 | * config/i386/i386.c (ix86_option_override_internal): Bulldozer | |
12068 | processors do not support 3DNow instructions. | |
12069 | ||
dc242c4a UW |
12070 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
12071 | ||
12072 | * config/spu/spu.c (spu_option_override): Set parameter | |
12073 | PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1. | |
12074 | ||
be286227 JH |
12075 | 2011-01-05 Jan Hubicka <jh@suse.cz> |
12076 | ||
12077 | * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified | |
12078 | at the command line. | |
12079 | ||
644e637f MJ |
12080 | 2011-01-05 Martin Jambor <mjambor@suse.cz> |
12081 | ||
12082 | PR lto/47162 | |
12083 | * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk | |
12084 | deltas on streamed outgoing edges. | |
12085 | (output_node_opt_summary): Output info for outgoing edges only when | |
12086 | the node is in new parameter set. | |
12087 | (output_cgraph_opt_summary): New parameter set, passed to the two | |
12088 | aforementioned functions. Update its forward declaration and its | |
12089 | callee too. | |
12090 | ||
7bd11157 TT |
12091 | 2011-01-05 Tom Tromey <tromey@redhat.com> |
12092 | ||
12093 | * c-parser.c (c_parser_omp_atomic): Pass location of assignment | |
12094 | operator to c_finish_omp_atomic. | |
12095 | * c-typeck.c (lvalue_or_else): Add 'loc' argument. | |
12096 | (build_unary_op): Update. | |
12097 | (build_modify_expr): Update. | |
12098 | (build_asm_expr): Update. | |
12099 | ||
f626b979 UW |
12100 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
12101 | ||
12102 | * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for | |
12103 | newly inserted insns. | |
12104 | (pad_bb): Likewise. | |
12105 | (spu_emit_branch_hint): Likewise. | |
12106 | (insert_hbrp_for_ilb_runout): Likewise. | |
12107 | (spu_machine_dependent_reorg): Call df_finish_pass after | |
12108 | schedule_insns returns. | |
12109 | ||
4c825c02 UW |
12110 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
12111 | ||
12112 | * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage. | |
12113 | ||
5e9fba51 EB |
12114 | 2011-01-05 Eric Botcazou <ebotcazou@adacore.com> |
12115 | ||
12116 | PR tree-optimization/47005 | |
12117 | * tree-sra.c (struct access): Add 'non_addressable' bit. | |
12118 | (create_access): Set it for a DECL_NONADDRESSABLE_P field. | |
12119 | (decide_one_param_reduction): Return 0 if the parameter is passed by | |
12120 | reference and one of the accesses in the group is non_addressable. | |
12121 | ||
3ebb5ca6 EB |
12122 | 2011-01-04 Eric Botcazou <ebotcazou@adacore.com> |
12123 | ||
12124 | PR tree-optimization/47056 | |
12125 | * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers. | |
12126 | (mark_load): Likewise. Handle FUNCTION_DECL specially. | |
12127 | (mark_store): Likewise. Pass STMT to ipa_record_reference. | |
12128 | ||
d5d4d14e EB |
12129 | 2011-01-04 Eric Botcazou <ebotcazou@adacore.com> |
12130 | ||
12131 | * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the | |
12132 | initializer. Skip view conversions from aggregate types. | |
12133 | ||
d996ef70 KT |
12134 | 2011-01-04 Kai Tietz <kai.tietz@onevision.com> |
12135 | ||
12136 | PR bootstrap/47055 | |
12137 | * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC. | |
12138 | ||
509d65dd | 12139 | 2011-01-04 Philipp Thomas <pth@suse.de> |
017096ca PT |
12140 | |
12141 | * config/microblaze/microbalse.opt (mxl-float-convert): Fix | |
12142 | obvious typo. | |
12143 | ||
55c623b5 UW |
12144 | 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
12145 | ||
12146 | * function.c (thread_prologue_and_epilogue_insns): Do not crash | |
12147 | on empty epilogue sequences. | |
12148 | ||
b98d6b35 JM |
12149 | 2011-01-04 Joseph Myers <joseph@codesourcery.com> |
12150 | ||
12151 | * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now, | |
12152 | non-static): New Driver options. | |
12153 | ||
a0d43bac JZ |
12154 | 2011-01-04 Jie Zhang <jie@codesourcery.com> |
12155 | ||
12156 | PR driver/47137 | |
12157 | * gcc.c (default_compilers[]): Set combinable field to 0 | |
12158 | for all assembly languages. | |
12159 | ||
2b18eb32 MX |
12160 | 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com> |
12161 | ||
12162 | * config/mips/loongson3a.md: New file. | |
12163 | * config/mips/mips.md: Include loongson3a.md. | |
12164 | * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when | |
12165 | TUNE_LOONGSON_3A. | |
12166 | ||
42a48c4f EB |
12167 | 2011-01-03 Eric Botcazou <ebotcazou@adacore.com> |
12168 | ||
12169 | PR middle-end/47017 | |
12170 | * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space | |
12171 | instead of convert_memory_address_addr_space on the base expression. | |
12172 | ||
9c1732c4 UW |
12173 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
12174 | ||
12175 | * config/spu/spu.c (spu_option_override): Update error text | |
12176 | for bad -march= / -mtune= values. | |
12177 | ||
aa474365 UW |
12178 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
12179 | ||
12180 | * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking | |
12181 | if branch-hint optimization will be performed. | |
12182 | ||
9766135b JJ |
12183 | 2011-01-03 Jakub Jelinek <jakub@redhat.com> |
12184 | ||
371556ee JJ |
12185 | PR tree-optimization/47148 |
12186 | * ipa-split.c (split_function): Convert arguments to | |
12187 | DECL_ARG_TYPE if possible. | |
12188 | ||
1ac12fa2 JJ |
12189 | PR tree-optimization/47155 |
12190 | * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type | |
12191 | when computing uns. | |
12192 | ||
9766135b JJ |
12193 | PR rtl-optimization/47157 |
12194 | * combine.c (try_combine): If undobuf.other_insn becomes | |
12195 | (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it | |
12196 | and set *new_direct_jump_p too. | |
12197 | ||
f4a2e571 SP |
12198 | 2011-01-03 Sebastian Pop <sebastian.pop@amd.com> |
12199 | ||
12200 | PR tree-optimization/47021 | |
12201 | * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR. | |
12202 | ||
9f8e43c0 JJ |
12203 | 2011-01-03 Jakub Jelinek <jakub@redhat.com> |
12204 | ||
12205 | * gcc.c (process_command): Update copyright notice dates. | |
12206 | * gcov.c (print_version): Likewise. | |
12207 | * gcov-dump.c (print_version): Likewise. | |
12208 | * mips-tfile.c (main): Likewise. | |
12209 | * mips-tdump.c (main): Likewise. | |
12210 | ||
1a2e38f3 MJ |
12211 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
12212 | ||
12213 | PR tree-optimization/46801 | |
12214 | * tree-sra.c (type_internals_preclude_sra_p): Check whether | |
12215 | aggregate fields start at byte boundary instead of the bit-field flag. | |
12216 | ||
56b721c5 L |
12217 | 2011-01-03 H.J. Lu <hongjiu.lu@intel.com> |
12218 | ||
12219 | PR driver/47137 | |
12220 | * gcc.c (main): Revert revision 168407. | |
12221 | ||
839d549b MJ |
12222 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
12223 | ||
12224 | * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type. | |
12225 | ||
4ce99a20 | 12226 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
2fa6eeff UW |
12227 | |
12228 | * tree-vect-generic.c (expand_vector_operations_1): When using vector/ | |
12229 | vector optab to expand vector/scalar shift, update gimple to vector. | |
12230 | ||
76df0ae6 MJ |
12231 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
12232 | ||
12233 | * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to | |
12234 | a thunk. | |
12235 | ||
ce47fda3 MJ |
12236 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
12237 | ||
12238 | PR tree-optimization/46984 | |
12239 | * cgraph.h (cgraph_indirect_call_info): make field thunk_delta | |
12240 | HOST_WIDE_INT. | |
12241 | (cgraph_create_indirect_edge): Fixed line length. | |
12242 | (cgraph_indirect_call_info): Declare. | |
12243 | (cgraph_make_edge_direct) Update declaration. | |
12244 | * cgraph.c (cgraph_allocate_init_indirect_info): New function. | |
12245 | (cgraph_create_indirect_edge): Use it. | |
12246 | (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all | |
12247 | callees. | |
12248 | * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for | |
12249 | the new thunk_delta representation. | |
12250 | * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to | |
12251 | HOST_WIDE_INT. | |
12252 | (ipa_write_indirect_edge_info): Remove streaming of thunk_delta. | |
12253 | (ipa_read_indirect_edge_info): Likewise. | |
12254 | * lto-cgraph.c (output_edge_opt_summary): New function. | |
12255 | (output_node_opt_summary): Call it on all outgoing edges. | |
12256 | (input_edge_opt_summary): New function. | |
12257 | (input_node_opt_summary): Call it on all outgoing edges. | |
12258 | ||
1e67fa1f L |
12259 | 2011-01-02 H.J. Lu <hongjiu.lu@intel.com> |
12260 | ||
12261 | PR driver/47137 | |
12262 | * gcc.c (main): Don't check have_o when settting combine_inputs. | |
12263 | ||
6656b2ac EB |
12264 | 2011-01-02 Eric Botcazou <ebotcazou@adacore.com> |
12265 | ||
12266 | * regrename.c: Add general comment describing the pass. | |
12267 | (struct du_head): Remove 'length' field. | |
12268 | (get_element, merge_sort_comparison, merge, sort_du_head): Remove. | |
12269 | (regrename_optimize): Do not sort chains. Rework comments, add others. | |
12270 | Force renaming to the preferred class (if any) in the first pass and do | |
12271 | not consider registers that belong to it in the second pass. | |
12272 | (create_new_chain): Do not set 'length' field. | |
12273 | (scan_rtx_reg): Likewise. | |
12274 | ||
bc470c24 JJ |
12275 | 2011-01-02 Jakub Jelinek <jakub@redhat.com> |
12276 | ||
4e996296 JJ |
12277 | PR tree-optimization/47140 |
12278 | * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use | |
12279 | TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument | |
12280 | to bit_value_binop. | |
12281 | ||
bc470c24 | 12282 | PR rtl-optimization/47028 |
6656b2ac EB |
12283 | * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after |
12284 | parm_birth_insn instead of at the beginning of first bb. | |
bc470c24 | 12285 | |
5af62fcd | 12286 | 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com> |
0d52f2a8 MX |
12287 | |
12288 | * doc/generic.texi: Remove duplicated "@subsubsection Statements". | |
12289 | Remove the word "see" before "@pxref". | |
12290 | * doc/rtl.texi: Remove the word "see" before "@pxref". | |
12291 | ||
0e20c89f JH |
12292 | 2011-01-01 Jan Hubicka <jh@suse.cz> |
12293 | ||
6656b2ac EB |
12294 | * tree-loop-distribution.c (tree_loop_distribution): Do not use freed |
12295 | memory. | |
0e20c89f | 12296 | |
220e83ca KT |
12297 | 2011-01-01 Kai Tietz <kai.tietz@onevision.com> |
12298 | ||
12299 | PR target/38662 | |
6656b2ac | 12300 | * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too. |
220e83ca | 12301 | |
ad41bd84 | 12302 | \f |
797103eb | 12303 | Copyright (C) 2011 Free Software Foundation, Inc. |
ad41bd84 JM |
12304 | |
12305 | Copying and distribution of this file, with or without modification, | |
12306 | are permitted in any medium without royalty provided the copyright | |
12307 | notice and this notice are preserved. |