]>
Commit | Line | Data |
---|---|---|
f20731b7 JL |
1 | 2005-09-27 Jeff Law <law@redhat.com> |
2 | ||
3 | * passes.c (init_optimization_passes): Replace copy propagation | |
4 | passes immediately after DOM with phi-only copy propagation | |
5 | pases. Add phi-only copy propagation pass after first DOM pass. | |
6 | * tree-pass.h (pass_phi_only_copy_prop): Declare. | |
7 | * tree-ssa-copy.c (init_copy_prop): Accept new PHI_ONLY argument. | |
8 | If true, then mark all non-control statements with DONT_SIMULATE_AGAIN. | |
9 | (execute_copy_prop): Accept new PHI_ONLY argument. Pass it along | |
10 | to init_copy_prop. Callers updated. | |
11 | (do_phi_only_copy_prop): New function. | |
12 | (pass_phi_only_copy_prop): New pass descriptor. | |
13 | ||
3542b7cc NC |
14 | 2005-09-27 Nick Clifton <nickc@redhat.com> |
15 | ||
16 | * libgcc2.c (__popcount_tab): Remove redundant prototype. | |
17 | ||
4381020e JM |
18 | 2005-09-26 Jason Merrill <jason@redhat.com> |
19 | ||
86ad3aa9 JM |
20 | PR c++/13764 |
21 | * c-common.c (finish_fname_decls): Use append_to_statement_list_force. | |
22 | ||
4381020e JM |
23 | * doc/invoke.texi: Clarify documentation of -fno-enforce-eh-specs. |
24 | ||
92b4f0af JW |
25 | 2005-09-26 James E Wilson <wilson@specifix.com> |
26 | ||
27 | * config/ia64/crtbegin.asm, config/ia64/crtend.asm: Remove glibc | |
28 | copyright. Add gcc copyright plus libgcc exception. | |
29 | * config/ia64/crtfastmath.asm: Remove glibc copyright. Add gcc | |
30 | copyright. | |
31 | * config/ia64/lib1funcs.asm: Add gcc copyright plus libgcc exception. | |
32 | ||
608af77d JL |
33 | 2005-09-26 Jeff Law <law@redhat.com> |
34 | ||
35 | * tree-ssa-dom.c (tree_ssa_dominator_optimize): Be more selective | |
36 | about when to iterate. | |
37 | ||
0f086e42 FJ |
38 | 2005-09-23 Fariborz Jahanian <fjahanian@apple.com> |
39 | ||
40 | PR target/23847 | |
41 | * config/rs6000/rs6000.c (rs6000_function_value): Parallel pattern | |
42 | for __complex__ double in -mcpu=G5 mode. | |
43 | ||
c59dabbe SP |
44 | 2005-09-26 Sebastian Pop <pop@cri.ensmp.fr> |
45 | ||
46 | PR tree-optimization/23942 | |
47 | * Makefile.in (SCEV_H): Depends on PARAMS_H. | |
48 | * tree-scalar-evolution.c: Include params.h. | |
49 | (t_bool): New enum. | |
50 | (follow_ssa_edge, follow_ssa_edge_in_rhs, | |
51 | follow_ssa_edge_in_condition_phi_branch, | |
52 | follow_ssa_edge_in_condition_phi, follow_ssa_edge_inner_loop_phi): | |
53 | Change return type to t_bool. Use a parameter to limit the size of | |
54 | trees that are walked before stopping | |
55 | (analyze_evolution_in_loop): Initialize the limit to 0. | |
56 | (follow_ssa_edge): Give up by returning t_dont_know if the limit | |
57 | exceeds PARAM_SCEV_MAX_EXPR_SIZE. | |
58 | ||
3242fbd8 UB |
59 | 2005-09-26 Uros Bizjak <uros@kss-loka.si> |
60 | ||
61 | PR middle-end/23831 | |
62 | * simplify-rtx.c (simplify_immed_subreg) [MODE_INT]: Skip | |
63 | simplification if elem_bitsize > 2 * HOST_BITS_PER_WIDE_INT. | |
64 | ||
b166bfd2 FJ |
65 | 2005-09-26 Fariborz Jahanian <fjahanian@apple.com> |
66 | ||
67 | * combine.c (make_extraction): Check for valid use of subreg. | |
68 | ||
4d06b0a2 UB |
69 | 2005-09-26 Uros Bizjak <uros@kss-loka.si> |
70 | ||
71 | PR target/24055 | |
72 | * config/i386/i386.md ("*fistdi2_1"): New pattern. | |
73 | ("*fist<mode>2_1"): Use only HImode and SImode register operands. | |
74 | ("fist<mode>2_with_temp"): Use only register operands. | |
75 | ||
76dd5923 R |
76 | 2005-09-26 J"orn Rennecke <joern.rennecke@st.com> |
77 | ||
78 | * rtlanal.c (reg_used_between_p): Don't check for CLOBBERs in | |
79 | CALL_INSN_FUNCTION_USAGE. | |
80 | ||
9727e468 RG |
81 | 2005-09-26 Richard Guenther <rguenther@suse.de> |
82 | ||
83 | PR middle-end/15855 | |
84 | * gcse.c: Include hashtab.h, define ldst entry hashtable. | |
85 | (pre_ldst_expr_hash, pre_ldst_expr_eq): New functions. | |
86 | (ldst_entry): Use the hashtable instead of list-walking. | |
87 | (find_rtx_in_ldst): Likewise. | |
88 | (free_ldst_entry): Free the hashtable. | |
89 | (compute_ld_motion_mems): Create the hashtable. | |
90 | (trim_ld_motion_mems): Remove entry from hashtable if | |
91 | removing it from list. | |
92 | (compute_store_table): Likewise^2. | |
93 | (store_motion): Free hashtable in case we did not see | |
94 | any stores. | |
95 | ||
3f1dfb41 KH |
96 | 2005-09-25 Kazu Hirata <kazu@codesourcery.com> |
97 | ||
98 | * fold-const.c (fold_binary): Use op0 and op1 instead of arg0 | |
99 | and arg1 if we are passing them to fold_build2. | |
100 | ||
ad90e28f DN |
101 | 2005-09-25 Dan Nicolaescu <dann@ics.uci.edu> |
102 | ||
103 | PR 23828 | |
104 | * config/i386/i386.c (ix86_function_regparm): Fix the test for | |
105 | a nested function. | |
106 | ||
f6326c19 RH |
107 | 2005-09-25 Richard Henderson <rth@redhat.com> |
108 | ||
109 | * config/alpha/alpha.c (tls_symbolic_operand_1): Trust | |
110 | SYMBOL_REF_TLS_MODEL to be correct. | |
111 | ||
2eca7d15 RH |
112 | 2005-09-24 Richard Henderson <rth@redhat.com> |
113 | ||
114 | * ipa-type-escape.c (discover_unique_type): Remove dead code at | |
115 | end of function. Reindent. | |
116 | ||
1f6f3d15 ILT |
117 | 2005-09-24 Ian Lance Taylor <ian@airs.com> |
118 | ||
119 | * convert.c (convert_to_integer): Don't test for ENUMERAL_TYPE in | |
120 | NEGATE_EXPR/BIT_NOT_EXPR case. | |
121 | ||
99db1ef0 RH |
122 | 2005-09-24 Richard Henderson <rth@redhat.com> |
123 | ||
124 | * c-common.c (handle_mode_attribute): When not modifying in place, | |
125 | create subtypes for enumerations. | |
126 | (sync_resolve_return): Use TYPE_MAIN_VARIANT. | |
127 | * gimplify.c (create_tmp_from_val): Likewise. | |
128 | ||
e347ff9e AO |
129 | 2005-09-24 Alexandre Oliva <aoliva@redhat.com> |
130 | ||
131 | * config/i386/i386.md (*tls_global_dynamic_64, | |
132 | *tls_local_dynamic_base_64): Add missing mode to call. | |
133 | (tls_global_dynamic_64, tls_local_dynamic_base_64): Likewise. | |
134 | ||
06191a23 JH |
135 | 2005-09-24 Jan Hubicka <jh@suse.cz> |
136 | ||
137 | * cgraph.c (cgraph_clone_edge): Make the scale gcov_type. | |
138 | (cgraph_clone_node): Likewise. | |
139 | * cgraph.h (cgraph_clone_edge): Update prototype. | |
140 | (cgraph_mark_inline_edge, cgraph_clone_inlined_nodes): Remove | |
141 | duplicated prototypes; add updating argument. | |
142 | * cgraphunit.c (verify_cgraph_node): Verify that counts are non-negative. | |
143 | * ipa-inline.c (cgraph_clone_inlined_nodes): Allow clonning without | |
144 | updating profile. | |
145 | (cgraph_mark_inline_edge): Likewise. | |
146 | (cgraph_mark_inline): Update use of cgraph_mark_inline_edge. | |
147 | (cgraph_flatten_node): Likewise. | |
148 | (cgraph_decide_recursive_inlining): Likewise. | |
149 | (cgraph_decide_inlining_of_small_function): Likewise. | |
150 | * tree-optimize.c (tree_rest_of_compilation): Likewise. | |
151 | ||
9c6fdb46 DE |
152 | 2005-09-23 David Edelsohn <edelsohn@gnu.org> |
153 | Pete Steinmetz <steinmtz@us.ibm.com> | |
154 | ||
155 | * config/rs6000/rs6000.md (neg-minus-mult): Set type to dmul. | |
156 | (rldic.): Set type to "compare". | |
157 | (rldicr.): Same. | |
158 | (movsf_hardfloat): Set type to mtjmpr for MTCTR/MTLR. Set type to | |
159 | mfjmpr for MFCTR/MFLR. | |
160 | (movdf_hardfloat64): Same. | |
161 | (movdf_softfloat64): Same. Correct order of store and move types. | |
162 | (movti_string): Set type to store_ux/load_ux. | |
163 | (load_multiple): Set type to load_ux. | |
164 | (store_multiple): Set type to store_ux. | |
165 | (movmemsi): Set type to store_ux. | |
166 | (output_cbranch direct_return): Set type to jmpreg. | |
167 | (stmw): Set type to store_ux. | |
168 | (lmw): Set type to load_ux. | |
169 | * config/rs6000/40x.md (ppc403-store): Increase latency to 2. | |
170 | * config/rs6000/440.md (ppc440-store): Increase latency to 6. | |
171 | * config/rs6000/603.md (ppc603-store): Occupy LSU for 2 cycles. | |
172 | * config/rs6000/6xx.md (ppc604-store): Increase latency to 3. | |
173 | * config/rs6000/mpc.md (mpccore-store): Increase latency to 2. | |
174 | * config/rs6000/rios1.md (rios1-store): Increase latency to 2. | |
175 | (rios1-fpstore): Increase latency to 3. | |
176 | * config/rs6000/rios2.md (rios2-store): Increase latency to 2. | |
177 | * config/rs6000/rs64.md (rs64a-store): Increase latency to 2. | |
178 | ||
66684b7e DE |
179 | 2005-09-23 David Edelsohn <edelsohn@gnu.org> |
180 | Andrew Pinski <pinskia@physics.uc.edu> | |
181 | ||
182 | * config/rs6000/sync.md (sync_<fetchop_name>si_internal): Change | |
183 | operand2 constraint to "b". | |
184 | (sync_<fetchop_name>di_internal): Same. | |
185 | (sync_old_<fetchop_name>si_internal): Change operand3 constraint | |
186 | to "b". | |
187 | (sync_old_<fetchop_name>di_internal): Same. | |
188 | (sync_new_<fetchop_name>si_internal): Same. | |
189 | (sync_new_<fetchop_name>di_internal): Same. | |
190 | ||
a9305dcb R |
191 | 2005-09-23 J"orn Rennecke <joern.rennecke@st.com> |
192 | ||
3a1680a5 | 193 | PR middle-end/23991 |
a9305dcb R |
194 | * final.c (insn_default_length, insn_min_length): In !HAVE_ATTR_length |
195 | case, define as macros. | |
196 | ||
9617ccfd R |
197 | PR rtl-optimization/23837 |
198 | * optabs.c (no_conflict_move_test): Don't set must_stay for a | |
199 | clobber / clobber match between dest and p->first. | |
200 | ||
748ebfc7 R |
201 | * optabs.c (emit_libcall_block): Use no_conflict_move_test. |
202 | (no_conflict_move_test): Update comments. | |
203 | ||
07a647a3 RM |
204 | 2005-09-22 Ranjit Mathew <rmathew@gcc.gnu.org> |
205 | ||
206 | * doc/install.texi: Update URL for Jacks. | |
207 | * doc/sourcebuild.texi: Likewise. | |
208 | ||
fb3249ef DE |
209 | 2005-09-22 David Edelsohn <edelsohn@gnu.org> |
210 | ||
211 | PR target/24007 | |
212 | * config/rs6000/rs6000.md (movsf_hardfloat): Ignore special | |
213 | registers when choosing register preferences. | |
861fd9a0 | 214 | (movdf_hardfloat64): Same. |
fb3249ef | 215 | |
6231646a AK |
216 | 2005-09-22 Andreas Krebbel <krebbel1@de.ibm.com> |
217 | ||
218 | * expmed.c (expand_shift): Don't use the target of the rotate as | |
219 | target for the first expanded shift insn. | |
220 | * testsuite/gcc.dg/20050922-1.c: Testcase added. | |
221 | ||
7b9d4f70 ZD |
222 | 2005-09-21 Zdenek Dvorak <dvorakz@suse.cz> |
223 | ||
224 | PR tree-optimization/22438 | |
225 | * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Handle all | |
226 | preserved iv rhs rewriting specially. | |
227 | ||
b1347638 DB |
228 | 2005-09-21 Daniel Berlin <dberlin@dberlin.org> |
229 | ||
230 | * tree-data-ref.c (analyze_array_indexes): Only estimate when | |
231 | estimate_only is true. | |
232 | * tree-flow.h (ref_contains_indirect_ref): New prototype. | |
233 | * tree-flow-inline.h (ref_contains_indirect_ref): Moved from | |
234 | tree-ssa-structalias.c | |
235 | * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined): Use | |
236 | ref_contains_indirect_ref. | |
237 | * tree-ssa-structalias.c (ref_contains_indirect_ref): Moved. | |
238 | ||
b1eb8119 DD |
239 | 2005-09-21 DJ Delorie <dj@redhat.com> |
240 | ||
241 | * config/mn10300/mn10300.c (TARGET_DEFAULT_TARGET_FLAGS): Add | |
242 | MASK_PTR_A0D0. | |
243 | (mn10300_return_in_memory): Support variable size types also. | |
244 | (mn10300_pass_by_reference): Likewise. | |
245 | (mn10300_function_value): New. | |
246 | * config/mn10300/mn10300.h (FUNCTION_VALUE): Call the above. | |
247 | (FUNCTION_OUTGOING_VALUE): Likewise. | |
248 | * config/mn10300/mn10300.opt: Add -mreturn-pointer-on-d0. | |
249 | * doc/invoke.texi: Document it. | |
250 | ||
d06e6434 UB |
251 | 2005-09-21 Uros Bizjak <uros@kss-loka.si> |
252 | ||
253 | PR target/22585 | |
254 | * config/i386/i386.c (ix86_prepare_fp_compare_args): Do not | |
255 | force integer op1 into register for XFmode compares. | |
256 | ||
0178027c KH |
257 | 2005-09-21 Kazu Hirata <kazu@codesourcery.com> |
258 | ||
647c66cd | 259 | PR middle-end/23971 |
0178027c KH |
260 | * expmed.c (alg_code): Add alg_impossible. |
261 | (alg_hash_entry): Add cost. | |
262 | (synth_mult): Record alg_impossible in the hash table if | |
263 | multiplication by a given integer is impossble within the | |
264 | limit. Speed up using alg_impossible. | |
265 | ||
d52225be DB |
266 | 2005-09-20 Daniel Berlin <dberlin@dberlin.org> |
267 | ||
268 | * tree-ssa-structalias.c (get_constraint_for_component_ref): Add | |
269 | argument. Allow and set any offset if needs_anyoffset is passed | |
270 | in. | |
271 | (get_constraint_for): Add argument here too. | |
272 | Pass it down. | |
273 | (do_structure_copy): Pass NULL to get_constraint_for. | |
274 | (handle_ptr_arith): Ditto. | |
275 | (find_func_aliases): Ditto. | |
276 | ||
070a7956 R |
277 | 2005-09-20 J"orn Rennecke <joern.rennecke@st.com> |
278 | ||
279 | PR rtl-optimization/23898 | |
280 | * output.h (get_attr_min_length): Declare. | |
281 | * final.c (get_attr_length_1): New function, broken out of: | |
282 | (get_attr_length). | |
283 | (get_attr_min_length): New function. | |
284 | * bb-reorder.c (copy_bb_p, get_uncond_jump_length): Use it. | |
285 | (duplicate_computed_gotos): Likewise. | |
286 | * genattr.c (insn_min_length): Generate declaration. | |
287 | * genattrtab.c (min_fn, min_attr_value): New functions. | |
288 | (make_length_attrs): Generate insn_min_length. | |
289 | ||
9972f30d SE |
290 | 2005-09-20 Steve Ellcey <sje@cup.hp.com> |
291 | ||
292 | * config/pa/pa.c (output_cbranch): Check for zero in operands[2]. | |
293 | ||
29b2d867 RH |
294 | 2005-09-20 Richard Henderson <rth@redhat.com> |
295 | ||
296 | * expr.c (expand_expr_real_1) <INDIRECT_REF>: Allow modifier | |
297 | EXPAND_STACK_PARM. | |
298 | ||
af15a2fe JM |
299 | 2005-09-20 Joseph S. Myers <joseph@codesourcery.com> |
300 | ||
301 | * c.opt (fextended-identifiers): New. | |
302 | * c-opts.c (c_common_handle_option): Handle | |
303 | -fextended-identifiers. | |
304 | * doc/cpp.texi: Update documentation of extended identifiers. | |
305 | * doc/cppopts.texi (-fextended-identifiers): Document. | |
306 | ||
18c57f2c JJ |
307 | 2005-09-20 Jakub Jelinek <jakub@redhat.com> |
308 | ||
6fff2603 JJ |
309 | PR tree-optimization/23929 |
310 | * tree-ssa-loop-niter.c (expand_simple_operations): Return immediately | |
311 | if expr is NULL. | |
312 | ||
18c57f2c JJ |
313 | PR tree-optimization/23818 |
314 | * tree-stdarg.c (execute_optimize_stdarg): Call | |
315 | calculate_dominance_info. | |
316 | ||
1c8cd54d | 317 | 2005-09-20 Daniel Berlin <dberlin@dberlin.org> |
416f403e DB |
318 | |
319 | * tree-data-ref.c (get_number_of_iters_for_loop): New function. | |
320 | (analyze_siv_subscript_cst_affine): Add weak SIV test. | |
321 | (compute_overlap_steps_for_affine_1_2): Use | |
322 | get_number_of_iters_for_loop. | |
323 | (analyze_subscript_affine_affine): Check whether difference is | |
324 | zero first. | |
325 | Use get_number_of_iters_for_loop. | |
326 | Check whether overlap occurs outside of bounds. | |
327 | (analyze_miv_subscript): Use get_number_of_iters_for_loop. | |
328 | ||
39278c14 AK |
329 | 2005-09-20 Andreas Krebbel <krebbel1@de.ibm.com> |
330 | ||
331 | * tree-ssa-address.c (create_mem_ref): Put the symbol reference into the | |
332 | base register if possible. | |
333 | ||
2282a0e6 ZD |
334 | 2005-09-20 Zdenek Dvorak <dvorakz@suse.cz> |
335 | ||
336 | PR tree-optimization/18463 | |
337 | * tree-chrec.c (chrec_convert): Return fold_converted chrec if | |
338 | converting it directly is not possible. | |
339 | (chrec_convert_aggressive): New function. | |
340 | * tree-chrec.h (chrec_convert_aggressive): Declare. | |
341 | * tree-scalar-evolution.c (instantiate_parameters_1, resolve_mixers): | |
342 | Fold chrec conversions aggressively if asked to. | |
343 | (instantiate_parameters): Modified because of changes in | |
344 | instantiate_parameters_1. | |
345 | ||
e20524fa RH |
346 | 2005-09-19 Richard Henderson <rth@redhat.com> |
347 | ||
348 | * config/i386/sse.md (reduc_splus_v4sf): Rename from reduc_plus_v4sf. | |
349 | (reduc_splus_v2df): New. | |
350 | ||
20de58d9 RS |
351 | 2005-09-19 Richard Sandiford <richard@codesourcery.com> |
352 | ||
353 | * config/arm/aof.h (REGISTER_NAMES): Add missing backslash. | |
354 | (ADDITIONAL_REGISTER_NAMES): Add missing comma. Remove final comma. | |
355 | ||
2a23f9a7 RH |
356 | 2005-09-19 Richard Henderson <rth@redhat.com> |
357 | ||
358 | * config/i386/sse.md (vcondu<SSEMODE124>): Rename from | |
359 | vcondu<SSEMODE12>. | |
360 | ||
e898620c RH |
361 | 2005-09-19 Richard Henderson <rth@redhat.com> |
362 | ||
363 | * config/ia64/ia64.c (ia64_expand_widen_sum): New. | |
364 | (ia64_expand_dot_prod_v8qi): New. | |
365 | * config/ia64/ia64-protos.h: Update. | |
366 | * config/ia64/vect.md (pmpy2_r, pmpy2_l, widen_usumv8qi3, | |
367 | widen_usumv4hi3, widen_ssumv8qi3, widen_ssumv4hi3, udot_prodv8qi, | |
368 | sdot_prodv8qi, sdot_prodv4hi): New. | |
369 | (reduc_splus_v2sf): Rename from reduc_plus_v2sf. | |
370 | ||
d289e37a RH |
371 | 2005-09-19 Richard Henderson <rth@redhat.com> |
372 | ||
373 | PR 23941 | |
374 | * real.c (exact_real_truncate): Return false if the format cannot | |
375 | represent the number as a normal. | |
376 | ||
a220ee34 RH |
377 | * config/alpha/alpha.c (alpha_rtx_costs) <FLOAT_EXTEND>: Cost 0 |
378 | for a memory source. | |
379 | ||
3c7d0735 DN |
380 | 2005-09-19 Dorit Nuzman <dorit@il.ibm.com> |
381 | ||
382 | * tree-ssa-operands.c (swap_tree_operands): Export. | |
383 | * tree.h (swap_tree_operands): Declare. | |
384 | * tree-vectorizer.c (vect_is_simple_reduction): Remove ATTRIBUTE_UNUSED. | |
385 | Call swap_tree_operands. | |
386 | ||
99c09897 RH |
387 | 2005-09-19 Richard Henderson <rth@redhat.com> |
388 | ||
389 | * tree-flow.h (merge_alias_info): Declare. | |
390 | * tree-ssa-copy.c (merge_alias_info): Export. | |
391 | * tree-vect-transform.c (vect_create_index_for_vector_ref): Remove. | |
392 | (vect_create_data_ref_ptr): Use create_iv directly. | |
393 | (vectorizable_load): Use correct types for integer constants. | |
394 | (vect_generate_tmps_on_preheader): Likewise. | |
395 | (vect_gen_niters_for_prolog_loop): Likewise. | |
396 | ||
31c304ba SB |
397 | 2005-09-19 Steven Bosscher <stevenb@suse.de> |
398 | ||
399 | PR rtl-optimization/23943 | |
400 | * cse.c (find_best_addr): Never propagate an EXPR_LIST rtx. | |
401 | ||
e238ccac JH |
402 | 2005-09-18 Jan Hubicka <jh@suse.cz> |
403 | ||
404 | * calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK. | |
405 | ||
f7952e0a EB |
406 | 2005-09-18 Eric Botcazou <ebotcazou@adacore.com> |
407 | ||
408 | * varasm.c (output_constant): Do not abort on conversions to union | |
409 | types between different sizes. | |
410 | ||
c2953725 RG |
411 | 2005-09-18 Richard Guenther <rguenther@suse.de> |
412 | ||
413 | PR middle-end/23944 | |
414 | * gimplify.c (fold_indirect_ref_rhs): Fix thinko in | |
415 | fallback. | |
416 | ||
798d7d9d PB |
417 | 2005-09-18 Paul Brook <paul@codesourcery.com> |
418 | ||
419 | * config/m68k/fpgnuib.c (__floatsidf): Don't rely on signed overflow. | |
420 | ||
b1e8be10 RH |
421 | 2005-09-17 Richard Henderson <rth@redhat.com> |
422 | ||
423 | * tree-pass.h, tree-flow.h, tree-ssa-dce.c: Revert last change. | |
424 | * tree-ssa-loop.c (pass_vect_dce): Remove. | |
425 | * passes.c (init_optimization_passes): Add pass_dce as a sub-pass | |
426 | of pass_vectorize. | |
427 | ||
8fe07c42 RH |
428 | 2005-09-17 Richard Henderson <rth@redhat.com> |
429 | ||
430 | * tree-pass.h (pass_vect_dce): Declare. | |
431 | * passes.c (init_optimization_passes): Add it. | |
432 | * tree-flow.h (tree_ssa_dce): Declare. | |
433 | * tree-ssa-dce.c (tree_ssa_dce): Export. | |
434 | * tree-ssa-loop.c (tree_vectorize): Move current_loops check ... | |
435 | (gate_tree_vectorize): ... here. | |
436 | (pass_vect_dce): New. | |
437 | ||
0856ee98 JH |
438 | 2005-09-17 Jan Hubicka <jh@suse.cz> |
439 | ||
440 | * except.c (struct eh_status): Turn region_array into vec. | |
441 | (expand_resx_expr, collect_eh_region_array, remove_unreachable_regions, | |
442 | convert_from_eh_region_ranges, find_exception_handler_labels, | |
443 | current_function_has_exception_handlers, assign_filter_values, | |
444 | build_post_landing_pads, dw2_build_landing_pads, | |
445 | sjlj_find_directly_reachable_regions, sjlj_mark_call_sites, | |
446 | sjlj_emit_dispatch_table, remove_eh_handler, for_each_eh_region, | |
447 | foreach_reachable_handler, can_throw_internal_1, | |
448 | convert_to_eh_region_ranges, verify_eh_tree): Update uses of | |
449 | region_array. | |
450 | (duplicate_eh_region_1): Update region_array. | |
451 | (duplicate_eh_regions): Resize region_array and avoid recomputing. | |
452 | ||
53c4ca47 DE |
453 | 2005-09-17 David Edelsohn <edelsohn@gnu.org> |
454 | ||
455 | PR middle-end/22067 | |
456 | * expmed.c (expand_mult): Substitute simple register for op0 when | |
457 | computing max_cost. | |
458 | ||
652b0932 RH |
459 | 2005-09-17 Richard Henderson <rth@redhat.com> |
460 | ||
461 | * expr.c (emit_move_via_integer): Add force argument, pass it on | |
462 | to emit_move_change_mode. Update callers. | |
463 | (emit_move_complex): Pass true to new force argument. | |
464 | * function.c (expand_function_end): Move expand_eh_return call | |
465 | earlier. Merge sub-word complex values into a pseudo before | |
466 | copying to the return hard register. | |
467 | ||
69fcfd68 EB |
468 | 2005-09-17 Eric Botcazou <ebotcazou@adacore.com> |
469 | ||
470 | * varasm.c (output_constant): Do not abort on VIEW_CONVERT_EXPRs | |
471 | between different sizes. | |
472 | ||
6a4e4778 PB |
473 | 2005-09-16 Paolo Bonzini <bonzini@gnu.org> |
474 | ||
475 | PR 23903 | |
476 | ||
477 | * passes.c (init_optimization_passes): Register dump files for | |
478 | IPA passes first. | |
479 | ||
bcf8c1cc AK |
480 | 2005-09-16 Andreas Krebbel <krebbel1@de.ibm.com> |
481 | ||
482 | * config/s390/s390-protos.h (s390_overlap_p): Prototype added. | |
483 | * config/s390/s390.c (s390_overlap_p): New function. | |
484 | * config/s390/s390.md ("*mvc" peephole2, "*nc" peephole2, "*oc" | |
485 | peephole2, "*xc" peephole2): Added overlap check to the peephole2 | |
486 | condition. | |
487 | ||
f7acf1c2 RG |
488 | 2005-09-16 Richard Guenther <rguenther@suse.de> |
489 | ||
490 | * ipa-pure-const.c (static_execute): Free auxiliar information. | |
491 | * ipa-type-escape.c (discover_unique_type): Free temporary key. | |
492 | * tree-vrp.c (remove_range_assertions): Free blocks_visited sbitmap. | |
493 | ||
f5ea2dca DD |
494 | 2005-09-15 DJ Delorie <dj@redhat.com> |
495 | ||
496 | * config/m32c/m32c-lib1.S (__m32c_eh_return): Fix typo. | |
497 | ||
9026e8d4 PB |
498 | 2005-09-15 Paolo Bonzini <bonzini@gnu.org> |
499 | ||
500 | * optabs.c (expand_binop): Use swap_commutative_operands_with_target | |
501 | to order operands. | |
502 | (swap_commutative_operands_with_target): New. | |
503 | ||
14b33c04 DB |
504 | 2005-09-15 Daniel Berlin <dberlin@dberlin.org> |
505 | ||
506 | * tree-data-ref.c (analyze_array_indexes): Add estimate_only | |
507 | parameter. | |
508 | Update callers. | |
509 | (estimate_iters_using_array): New function. | |
510 | * tree-data-ref.h (estimate_iters_using_array): Prototype | |
511 | * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined): | |
512 | Use estimate_iters_using_array instead of analyze_array. | |
513 | ||
d430cbe7 EB |
514 | 2005-09-15 Eric Botcazou <ebotcazou@adacore.com> |
515 | ||
516 | * tree-nested.c (get_frame_type): Mark the "non-local frame structure" | |
517 | as addressable. | |
518 | ||
fca59ed2 MM |
519 | 2005-09-15 Michael Matz <matz@suse.de> |
520 | ||
521 | * tree-vrp.c (vrp_int_const_binop <MINUS_EXPR>): Handle 0 - -INF. | |
522 | ||
fd312e90 DB |
523 | 2005-09-14 Daniel Berlin <dberlin@dberlin.org> |
524 | ||
525 | PR tree-optimization/23835 | |
526 | * tree-ssa-alias.c (sort_pointers_by_pt_vars): New function. | |
527 | (create_name_tags): Rewrite to be not O(num_ssa_names^2). | |
528 | ||
47b71abb RH |
529 | 2005-09-14 Richard Henderson <rth@redhat.com> |
530 | ||
531 | * config/ia64/vect.md (addv2sf3, subv2sf3): Rewrite as expand. | |
532 | (addv2sf3_1, addv2sf3_2, subv2sf3_1, subv2sf3_2): New. | |
533 | ||
5139c66b AP |
534 | 2005-09-14 Andrew Pinski <pinskia@physics.uc.edu> |
535 | ||
536 | * config/i386/i386.c (contains_128bit_aligned_vector_p): Add break | |
537 | in the ARRAY_TYPE case. | |
538 | ||
7ad00e13 EB |
539 | 2005-09-14 Eric Botcazou <ebotcazou@adacore.com> |
540 | ||
541 | * tree.c (substitute_in_expr, case 4): New case, for ARRAY_REF. | |
542 | ||
b2d16a23 UB |
543 | 2005-09-14 Uros Bizjak <uros@kss-loka.si> |
544 | ||
545 | PR middle-end/22480 | |
546 | * tree-vect-transform.c (vectorizable_operation): Return false for | |
547 | scalar shift operations and for vector shift operations with | |
548 | non-invariant shift arguments. Use scalar tree operand op1 as | |
549 | a shift operand when vector shift insn pattern uses scalar shift | |
550 | operand. | |
551 | * Makefile.in (tree-vect-transform.o): Depend on recog.h. | |
552 | ||
816fa80a OH |
553 | 2005-09-14 Olivier Hainque <hainque@adacore.com> |
554 | ||
555 | * gimplify.c (gimplify_init_ctor_eval): Don't discard a zero-sized | |
556 | value if it has side-effects. | |
557 | ||
c9692532 DE |
558 | 2005-09-14 David Edelsohn <edelsohn@gnu.org> |
559 | ||
560 | PR target/22068 | |
561 | * config/rs6000/rs6000.md (muldi3): Add mulli alternative. | |
562 | ||
00754468 AM |
563 | 2005-09-14 Alan Modra <amodra@bigpond.net.au> |
564 | ||
565 | * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Treat function name | |
566 | passed as NAME as if it were label at start of function code. | |
567 | ||
18943792 KK |
568 | 2005-09-13 Kaz Kojima <kkojima@gcc.gnu.org> |
569 | ||
570 | * config/sh/sh.md (*movv4sf_i): Add general register cases to | |
571 | the constraints. | |
572 | ||
af8e8908 AP |
573 | 2005-09-13 Andrew Pinski <pinskia@physics.uc.edu> |
574 | ||
575 | * config/rs6000/darwin.md (movdf_low_si): Mark the outgoing r constraint | |
576 | as early clobber. Rewrite so the PIC register is not implicitly used. | |
577 | ||
282c3fdc VR |
578 | 2005-09-13 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
579 | ||
580 | * tree.c (annotate_with_file_line): Compare line numbers before | |
581 | file names. | |
582 | ||
79e72538 UB |
583 | 2005-09-13 Uros Bizjak <uros@kss-loka.si> |
584 | ||
585 | PR target/23816 | |
586 | * config/i386/sse.md (*ieee_sminv4sf3, *ieee_smaxv4sf3) | |
587 | (*ieee_sminv2df3, *ieee_smaxv2df3): New insn patterns. | |
588 | ||
1984d2e8 ILT |
589 | 2005-09-13 Ian Lance Taylor <ian@airs.com> |
590 | ||
591 | * loop-doloop.c (doloop_modify): Use GEN_INT to pass an rtx rather | |
592 | than a HOST_WIDEST_INT to gen_doloop_begin. | |
593 | ||
5681f1ab DN |
594 | 2005-09-13 Diego Novillo <dnovillo@redhat.com> |
595 | ||
596 | * tree-dfa.c (dump_variable): Guard against NULL annotations. | |
597 | ||
d7f0e25c ZD |
598 | 2005-09-13 Zdenek Dvorak <dvorakz@suse.cz> |
599 | ||
600 | PR tree-optimize/23817 | |
601 | * tree-cfg.c (tree_merge_blocks): Preserve loop closed ssa. | |
602 | ||
2eef28ec AM |
603 | 2005-09-13 Alan Modra <amodra@bigpond.net.au> |
604 | ||
605 | PR target/23774 | |
606 | * config/rs6000/rs6000.md (restore_stack_block): Write the backchain | |
607 | word before changing the stack pointer. Use gen_frame_mem for MEMs. | |
608 | Use UNSPEC_TIE to prevent insn scheduling reordering the insns. | |
609 | (restore_stack_nonlocal): Likewise. | |
610 | (save_stack_nonlocal): Use template to emit insns, and gen_frame_mem. | |
611 | ||
d63d5d0c ILT |
612 | 2005-09-12 Ian Lance Taylor <ian@airs.com> |
613 | ||
614 | PR g++/7874 | |
615 | * c.opt (ffriend-injection): New C++ option. | |
616 | * doc/invoke.texi (Option Summary): Mention -ffriend-injection. | |
617 | (C++ Dialect Options): Document -ffriend-injection. | |
618 | ||
d840283a JC |
619 | 2005-09-12 Josh Conner <jconner@apple.com> |
620 | ||
621 | PR middle-end/23237 | |
622 | * ipa-reference.c (static_execute): Don't mark variables in | |
623 | named sections TREE_READONLY. | |
624 | ||
309ebcd0 AM |
625 | 2005-09-12 Alan Modra <amodra@bigpond.net.au> |
626 | ||
627 | * config/rs6000/rs6000.c (get_next_active_insn): Simplify test for | |
628 | stack_tie. | |
629 | ||
8d099498 AP |
630 | 2005-09-12 Andrew Pinski <pinskia@physics.uc.edu> |
631 | ||
632 | * tree-ssa-dse.c (dse_optimize_stmt): Fix up all of V_MAY_DEF and | |
633 | V_MUST_DEF instead of just the first_use_p. | |
634 | Don't mark the virtual variables for renaming on the statement which | |
635 | is being removed. | |
636 | (pass_dse): Remove TODO_update_ssa. | |
637 | ||
cd41bae5 R |
638 | 2005-09-12 J"orn Rennecke <joern.rennecke@st.com> |
639 | ||
f439f9a5 R |
640 | PR middle-end/23290 |
641 | * stor-layout.c (compute_record_mode): For records with a single | |
642 | field, actually check the field's mode size against the type size. | |
643 | ||
cd41bae5 R |
644 | * sh.h (HARD_REGNO_MODE_OK): Allow V4SFmode in general purpose |
645 | registers for TARGET_SHMEDIA. | |
646 | (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Rename | |
647 | GENERAL_FP_REGS to GENERAL_DF_REGS. Add GENERAL_FP_REGS as union | |
648 | of GENERAL_REGS and FP_REGS. | |
649 | ||
b99791d1 BS |
650 | 2005-09-12 Bernd Schmidt <bernd.schmidt@analog.com> |
651 | ||
309ebcd0 | 652 | * config/bfin/bfin.c (legimitize_pic_address): Use gen_const_mem. |
b99791d1 | 653 | |
f489aff8 AM |
654 | 2005-09-12 Alan Modra <amodra@bigpond.net.au> |
655 | ||
656 | * config/rs6000/rs6000.c (get_next_active_insn): Rewrite using | |
657 | CALL_P, JUMP_P and NONJUMP_INSN_P, so that barriers and labels | |
658 | are omitted. Exclude stack_tie insn too. | |
659 | ||
8308679f DE |
660 | 2005-09-11 David Edelsohn <edelsohn@gnu.org> |
661 | ||
662 | PR rtl-optimization/23098 | |
663 | * config/rs6000/predicates.md (easy_fp_constant): SFmode constant | |
664 | 0.0f is easy. | |
665 | * config/rs6000/rs6000.md (movdf splitter): Use | |
666 | const_double_operand predicate for TARGET_POWERPC64. | |
667 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Expand | |
668 | SYMBOL_REF method to ABI_V4. | |
669 | ||
670 | * config/rs6000/altivec.md (build_vector_mask_for_load): Use | |
671 | replace_equiv_address. | |
672 | * config/rs6000/rs6000.c (rs6000_emit_eh_reg_restore): Mark MEM as | |
673 | rs6000_sr_alias_set and MEM_NOTRAP. | |
674 | (rs6000_aix_emit_builtin_unwind_init): Use gen_frame_mem(). | |
675 | ||
4c223d6a EB |
676 | 2005-09-11 Eric Botcazou <ebotcazou@adacore.com> |
677 | ||
678 | * tree.c (contains_placeholder_p) <tcc_expression>: Properly | |
679 | handle CALL_EXPR again. | |
680 | ||
2347f5c9 RE |
681 | 2005-09-11 Richard Earnshaw <richard.earnshaw@arm.com> |
682 | ||
683 | * arm/predicates.md (alignable_memory_operand): Delete. | |
684 | ||
4e0e2698 RH |
685 | 2005-09-10 Richard Henderson <rth@redhat.com> |
686 | ||
687 | PR debug/23806 | |
688 | * dbxout.c (dbxout_expand_expr): New. | |
689 | (dbxout_symbol): Use it. | |
690 | ||
31fa16b6 RE |
691 | 2005-09-10 Richard Earnshaw <richard.earnshaw@arm.com> |
692 | ||
693 | * arm.c (arm_gen_rotated_half_load): Delete. | |
694 | (vfp_emit_fstmx, arm_set_return_address): Use gen_frame_mem. | |
695 | (emit_multi_reg_push, emit_sfm, arm_expand_prologue) | |
696 | (thumb_set_return_address): Likewise. | |
697 | (thumb_load_double_from_address): Use adjust_address. | |
698 | * arm.md (splits calling arm_gen_rotated_half_load): Delete. | |
699 | (extendhsisi2_mem, movhi_bytes): Use change_address. | |
700 | (movhi): Use widen_memory_access. | |
701 | (reload_out_df): Use replace_equiv_address. | |
702 | * arm-protos.h (arm_gen_rotated_half_load): Delete prototype. | |
703 | ||
9bfa80fb RH |
704 | 2005-09-09 Richard Henderson <rth@redhat.com> |
705 | ||
706 | PR debug/20998 | |
707 | * dbxout.c: Include expr.h. | |
708 | (dbxout_global_decl): Don't suppress for DECL_RTL unset. | |
709 | (dbxout_symbol): Handle DECL_VALUE_EXPR. | |
710 | * Makefile.in (dbxout.o): Add EXPR_H. | |
711 | ||
2360a4c1 ZD |
712 | 2005-09-09 Zdenek Dvorak <dvorakz@suse.cz> |
713 | ||
714 | PR tree-optimization/23509 | |
715 | * tree-cfg.c (replace_uses_by): Use replace_exp. | |
716 | * tree-ssa-loop-ivopts.c (get_ref_tag): Assert that dereferenced | |
717 | pointers have name_mem_tag or type_mem_tag set. | |
718 | ||
7ce7896c SP |
719 | 2005-09-09 Sebastian Pop <pop@cri.ensmp.fr> |
720 | ||
721 | * tree-chrec.c (evolution_function_is_invariant_rec_p): Use | |
722 | CHREC_LEFT and CHREC_RIGHT for accessing chrec components instead | |
723 | of wrongly accessing operands. | |
724 | ||
18aed06a SP |
725 | 2005-09-09 Sebastian Pop <pop@cri.ensmp.fr> |
726 | ||
727 | * Makefile.in (tree-chrec.o): Depends on SCEV_H. | |
728 | * tree-chrec.c: Include tree-scalar-evolution.h. | |
729 | (chrec_convert): Instantiate the base and step before calling | |
730 | scev_probably_wraps_p that would fail on parametric evolutions. | |
731 | Collect all the fails into a single section failed_to_convert, | |
732 | print a diagnostic, and return chrec_dont_know instead of calling | |
733 | fold_convert. | |
734 | * tree-scalar-evolution.c (loop_closed_phi_def): New. | |
735 | (instantiate_parameters_1): Avoid instantiation of loop closed ssa | |
736 | phi nodes. | |
737 | (scev_const_prop): Don't replace the definition of a loop closed ssa | |
738 | phi node by itself, or by another loop closed ssa phi node. | |
739 | * tree-ssa-loop-niter.c (scev_probably_wraps_p, convert_step): Check | |
740 | that base and step are defined. | |
741 | ||
3dac16bd RG |
742 | 2005-09-09 Richard Guenther <rguenther@suse.de> |
743 | ||
744 | PR c++/23624 | |
745 | * fold-const.c (fold_ternary): Check truth_value_p before | |
746 | calling invert_truthvalue. | |
747 | ||
dcfae47c NC |
748 | 2005-09-09 Nick Clifton <nickc@redhat.com> |
749 | ||
750 | * Makefile.in (LIBGCC_DEPS): Add libgcc2.h. | |
751 | * libgcc2.c (__clz_tab[], __popcount_tab[]): Set the fixed | |
752 | dimension of these arrays. | |
753 | * libgcc2.h (__clz_tab[], __popcount_tab[]): Add exports of | |
754 | these arrays. | |
755 | * longlong.h: Only provide a prototype for the __clz_tab[] array | |
756 | if this header has not been included from libgcc2.h. | |
757 | * config/stormy16/stormy16-lib2.c: Include libgcc2.h rather than | |
758 | defining own types. | |
759 | Provide prototypes for exported functions. | |
760 | Use the __clz_tab[] and __popcount_tab[] arrays provided by | |
761 | libgcc2.c. | |
762 | ||
d047a201 JC |
763 | 2005-09-08 Josh Conner <jconner@apple.com> |
764 | ||
70e9e3d6 | 765 | PR c++/21135 |
d047a201 JC |
766 | PR c++/23180 |
767 | * expr.c (expand_expr_addr_expr_1): Don't invoke | |
768 | expand_simple_binop for EXPAND_INITIALIZER. | |
769 | ||
db5f8b93 RH |
770 | 2005-09-08 Richard Henderson <rth@redhat.com> |
771 | ||
772 | PR debug/23190 | |
773 | * toplev.c (wrapup_global_declaration_1): Split out ... | |
774 | (wrapup_global_declaration_2): ... from ... | |
775 | (wrapup_global_declarations): ... here. Return bool. | |
776 | (check_global_declaration_1): Split out ... | |
777 | (check_global_declarations): from here. | |
778 | (emit_debug_global_declarations): New. | |
779 | * toplev.h (wrapup_global_declaration_1, wrapup_global_declaration_2, | |
780 | check_global_declaration_1, emit_debug_global_declarations): Declare. | |
781 | * c-decl.c (c_write_global_declarations_1): Don't create a vector | |
782 | of decls. Call wrapup_global_declaration_1, | |
783 | wrapup_global_declaration_2, check_global_declaration_1 directly. | |
784 | (c_write_global_declarations_2): New. | |
785 | (ext_block): New. | |
786 | (c_write_global_declarations): Call c_write_global_declarations_2. | |
787 | * langhooks.c (write_global_declarations): Call | |
788 | emit_debug_global_declarations. | |
789 | ||
790 | * cgraphunit.c (cgraph_varpool_remove_unreferenced_decls): Don't | |
791 | remove decls that have DECL_RTL_SET_P. | |
792 | * passes.c (rest_of_decl_compilation): Invoke | |
793 | cgraph_varpool_finalize_decl for all but functions. | |
794 | ||
5c9186ce EB |
795 | 2005-09-08 Eric Botcazou <ebotcazou@libertysurf.fr> |
796 | ||
797 | * tree-vrp.c (extract_range_from_unary_expr): Do not set the range for | |
798 | the result of a conversion if the new min and max cannot be compared. | |
799 | ||
dcc9eb26 AK |
800 | 2005-09-08 Andreas Krebbel <krebbel1@de.ibm.com> |
801 | ||
802 | * config/s390/s390.c (s390_sr_alias_set): Variable removed. | |
803 | (override_options): Setting s390_sr_alias_set removed. | |
804 | (save_fpr, save_gprs): Set alias set to vararg or frame. | |
805 | (restore_fpr, restore_gprs, s390_emit_prologue): Replace | |
806 | s390_sr_alias_set with get_frame_alias_set (). | |
807 | (s390_gimplify_va_arg): Replace s390_sr_alias_set with | |
808 | get_varargs_alias_set (). | |
809 | ||
8f078c08 AP |
810 | 2005-09-08 Andrew Pinski <pinskia@physics.uc.edu> |
811 | ||
812 | PR objc/20574 | |
813 | PR objc/19324 | |
814 | * c-parser.c (c_parser_objc_method_definition): If the next | |
815 | token is not "{", error out and don't start the function. | |
816 | ||
0c924d5c AP |
817 | 2005-09-08 Andrew Pinski <pinskia@physics.uc.edu> |
818 | ||
819 | * tree-vrp.c (extract_range_from_expr): Move the check for non | |
820 | nullness after the check for gimple invariant. | |
821 | ||
9f36bc49 RK |
822 | 2005-09-08 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
823 | ||
824 | * tree.c (host_integerp, tree_low_cst): Correct function comment. | |
825 | ||
085fd657 KI |
826 | 2005-09-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
827 | ||
828 | PR target/23747 | |
829 | * config/m32r.md (movmemsi_internal): Canonicalize order of | |
830 | operands in PLUS component of template. | |
831 | ||
b735f45d AK |
832 | 2005-09-07 Andreas Krebbel <krebbel1@de.ibm.com> |
833 | ||
834 | * reload1.c (fixup_eh_region_note): Remove assertion. | |
835 | (fixup_abnormal_edges): Reverted removal of call to | |
836 | find_many_sub_basic_blocks made on 2005-08-31. | |
837 | ||
30e6f306 RH |
838 | 2005-09-07 Richard Henderson <rth@redhat.com> |
839 | ||
8fe07c42 RH |
840 | * function.c (ARG_POINTER_CFA_OFFSET): Move ... |
841 | * defaults.h (ARG_POINTER_CFA_OFFSET): ... here. | |
30e6f306 | 842 | (INCOMING_FRAME_SP_OFFSET): Move from dwarf2out.c. |
8fe07c42 RH |
843 | * dwarf2out.c (struct cfa_loc): Change reg to unsigned int, |
844 | rearrange for better packing. | |
30e6f306 | 845 | (INCOMING_FRAME_SP_OFFSET): Move to defaults.h. |
8fe07c42 RH |
846 | (lookup_cfa_1): Remove inline marker. |
847 | (cfa_equal_p): Split out of ... | |
848 | (def_cfa_1): ... here. Use INVALID_REGNUM. | |
849 | (build_cfa_loc): Handle !cfa->indirect. | |
850 | (frame_pointer_cfa_offset): New. | |
851 | (dbx_reg_number): Assert register elimination performed; do | |
852 | leaf register remapping. | |
853 | (reg_loc_descriptor): Avoid calling dbx_reg_number when unused. | |
854 | (eliminate_reg_to_offset): New. | |
855 | (based_loc_descr): Remove can_use_fbreg argument. Use fbreg only | |
856 | for verifiably local stack frame addresses; re-base to CFA. | |
857 | (mem_loc_descriptor): Remove can_use_fbreg argument. | |
858 | (concat_loc_descriptor, loc_descriptor): Likewise. | |
859 | (containing_function_has_frame_base): Remove. | |
860 | (rtl_for_decl_location): Don't do register elimination or | |
861 | leaf register remapping here. | |
862 | (secname_for_decl): Split out from .. | |
863 | (add_location_or_const_value_attribute): ... here. | |
864 | (convert_cfa_to_loc_list): New. | |
865 | (compute_frame_pointer_to_cfa_displacement): New. | |
866 | (gen_subprogram_die): Use them. | |
867 | * tree.h (frame_base_decl): Remove. | |
868 | * var-tracking.c (frame_base_decl, frame_stack_adjust): Remove. | |
869 | (prologue_stack_adjust): Remove. | |
870 | (vt_stack_adjustments): Use INCOMING_FRAME_SP_OFFSET. | |
871 | (adjust_stack_reference): Re-base memories to arg_pointer_rtx. | |
872 | (set_frame_base_location): Remove. | |
873 | (compute_bb_dataflow, emit_notes_in_bb): Don't call it. | |
874 | (dump_attrs_list, dump_dataflow_set): Use string concatenation. | |
875 | (vt_add_function_parameters): Don't eliminate_regs. | |
876 | (vt_initialize): Don't create frame_base_decl. | |
30e6f306 | 877 | |
ff8f80f2 EB |
878 | 2005-09-07 Eric Botcazou <ebotcazou@libertysurf.fr> |
879 | ||
880 | * doc/install.texi (*-*-solaris2*): Clarify wording on the recommended | |
881 | version of GNU binutils for 4.x and later. | |
882 | ||
6f02b1db MM |
883 | 2005-09-06 Mark Mitchell <mark@codesourcery.com> |
884 | ||
885 | * ggc-page.c (ggc_push_context): Remove. | |
886 | (ggc_pop_context): Likewise. | |
887 | * ggc.h (ggc_push_context): Remove. | |
888 | (ggc_pop_context): Likewise. | |
889 | ||
3273516f SV |
890 | 2005-09-06 Saurabh Verma <saurabh.verma@codito.com> |
891 | ||
892 | PR target/8973 | |
893 | * config/arc/arc.c (arc_output_function_epilogue): Update flags while | |
894 | returning from an interrupt handler. | |
895 | ||
006fa7d4 SV |
896 | 2005-09-06 Saurabh Verma <saurabh.verma@codito.com> |
897 | ||
898 | PR target/8972 | |
899 | * config/arc/arc.c (output_shift): Add check for loop count when | |
900 | optimizing. | |
901 | ||
800dd123 SB |
902 | 2005-09-06 Steven Bosscher <stevenb@suse.de> |
903 | ||
904 | * tree-ssa-phiopt.c (conditional_replacement): Construct proper SSA | |
905 | form manually. | |
906 | (abs_replacement): Likewise. | |
907 | (pass_phiopt): Remove TODO_update_ssa. | |
908 | ||
73109af7 JJ |
909 | 2005-09-06 Jakub Jelinek <jakub@redhat.com> |
910 | ||
0c9b182b JJ |
911 | PR c/23075 |
912 | * c-typeck.c (c_finish_return): Set TREE_NO_WARNING on RETURN_EXPR | |
913 | if "return with no value, in function returning non-void" warning | |
914 | has been issued. | |
800dd123 | 915 | * tree-cfg.c (execute_warn_function_return): Don't look at |
0c9b182b JJ |
916 | RETURN_EXPRs with TREE_NO_WARNING set. |
917 | ||
73109af7 JJ |
918 | PR target/22362 |
919 | * config/i386/i386.c (ix86_function_regparm): Make sure automatic regparm | |
920 | for internal functions doesn't use registers used by global registers | |
921 | variables. Use fewer register parameters if there are global register | |
922 | variables. | |
923 | ||
60a23e2e | 924 | 2005-09-06 Olivier Hainque <hainque@adacore.com> |
800dd123 | 925 | Eric Botcazou <ebotcazou@adacore.com> |
60a23e2e OH |
926 | |
927 | PR middle-end/14997 | |
928 | * expr.c (expand_expr_real) <normal_inner_ref>: Force op0 to mem | |
929 | when we would be extracting outside its bit span (bitpos+bitsize | |
930 | larger than its mode), possible with some VIEW_CONVERT_EXPRs from | |
931 | Ada unchecked conversions. | |
932 | ||
dda243de SB |
933 | 2005-09-06 Steven Bosscher <stevenb@suse.de> |
934 | ||
935 | * tree-ssa-pre.c (try_look_through_load): New function. | |
936 | (compute_avail): Use it to try to look through loads for some | |
937 | more useful expressions. | |
938 | ||
f5d1572a SV |
939 | 2005-09-06 Saurabh Verma <saurabh.verma@codito.com> |
940 | ||
941 | * simplify-rtx.c (simplify_binary_operation_1): Correct the | |
942 | condition for detecting cases like (a&a) and (a^a). | |
943 | ||
c12cc930 KB |
944 | 2005-09-06 Keith Besaw <kbesaw@us.ibm.com> |
945 | ||
946 | * common.opt: Add option ftree-vect-loop-version. | |
947 | * params.def: Add --param vect-max-version-checks. | |
948 | * doc/invoke.texi: Document ftree-vect-loop-version and | |
949 | --param vect-max-version-checks. | |
950 | * tree-vectorizer.h (_loop_vec_info): Add ptr_mask and | |
951 | may_misalign_stmts and defines for accessors. | |
952 | * tree-vectorizer.c : (new_loop_vec_info): VEC_alloc for | |
953 | LOOP_VINFO_MAY_MISALIGN_STMTS. | |
954 | (destroy_loop_vec_info): VEC_free for | |
955 | LOOP_VINFO_MAY_MISALIGN_STMTS. | |
956 | * tree-vect-analyze.c (vect_compute_data_ref_alignment): | |
957 | Update documentation. | |
958 | (vect_update_misalignment_for_peel): New. | |
959 | (vect_enhance_data_refs_alignment): Update to choose loop | |
960 | peeling or loop versioning if appropriate for the (potentially) | |
961 | unaligned data references in the loop. | |
962 | (vect_analyze_data_refs_alignment): Remove call to | |
963 | vect_enhance_data_refs_alignment so the checks can be done | |
964 | earlier. | |
965 | (vect_analyze_loop): Add call to vect_enhance_data_refs_alignment | |
966 | and move up call to vect_analyze_data_refs_alignment. | |
967 | * tree-vect-transform.c (vect_create_cond_for_align_checks): New. | |
968 | (vect_transform_loop): Add call to loop_version. | |
969 | ||
1c653a41 JJ |
970 | 2005-09-06 Jakub Jelinek <jakub@redhat.com> |
971 | ||
972 | PR rtl-optimization/23098 | |
973 | * cse.c (fold_rtx_mem): Call delegitimize_address target hook. | |
974 | * simplify-rtx.c (constant_pool_reference_p): New function. | |
975 | * rtl.h (constant_pool_reference_p): New prototype. | |
976 | * config/i386/i386.md (pushf split, mov[sdx]f split): Use | |
977 | constant_pool_reference_p in condition and | |
978 | avoid_constant_pool_reference in preparation statements. | |
979 | ||
70a640af AK |
980 | 2005-09-06 Andreas Krebbel <krebbel1@de.ibm.com> |
981 | ||
982 | * gcse.c (try_replace_reg): Disallow REG_EQUAL notes for | |
983 | STRICT_LOW_PART SETs. | |
984 | ||
fc781ee0 AM |
985 | 2005-09-06 Alan Modra <amodra@bigpond.net.au> |
986 | ||
987 | PR middle-end/21460 | |
988 | * except.c (sjlj_emit_function_enter): Find the function begin | |
989 | note even when it's not in first basic block. | |
990 | ||
67da1534 KC |
991 | 2005-09-06 Kelley Cook <kcook@gcc.gnu.org> |
992 | ||
993 | * acinclude.m4: Renamed from aclocal.m4. Delete AM_LANGINFO_CODESET, | |
994 | AM_PROG_CC_C_O, and AM_AUX_DIR_EXPAND. | |
995 | * aclocal.m4: Regenerate. | |
996 | ||
dc019eb8 DD |
997 | 2005-09-05 DJ Delorie <dj@redhat.com> |
998 | ||
999 | * config/m32c/m32c.h (TRAMPOLINE_ALIGNMENT): Correct misspelling | |
1000 | of macro. | |
1001 | ||
57b51d4d KH |
1002 | 2005-09-06 Kazu Hirata <kazu@codesourcery.com> |
1003 | ||
1004 | * gimplify.c, ipa-prop.h, varasm.c, config/vxlib.c, | |
1005 | config/vxworks.h, config/crx/crx.c, config/ms1/ms1.c, | |
1006 | config/ms1/ms1.md, config/rs6000/rs6000.c: Fix comment typos. | |
1007 | Follow spelling conventions. | |
1008 | * doc/invoke.texi: Follow spelling conventions. | |
1009 | ||
bf877a76 R |
1010 | 2005-09-05 J"orn Rennecke <joern.rennecke@st.com> |
1011 | ||
1012 | * rtl.h (gen_frame_mem, gen_tmp_stack_mem): Declare. | |
1013 | * emit-rtl.c (gen_frame_mem, gen_tmp_stack_mem): New functions. | |
1014 | * builtins.c (expand_builtin_return_addr): Use gen_frame_mem. | |
1015 | ||
57d38024 R |
1016 | 2005-09-05 J"orn Rennecke <joern.rennecke@st.com> |
1017 | ||
1018 | PR target/23683 | |
1019 | * sh.c (sh_reorg, emit_load_ptr): Use gen_const_mem. | |
1020 | (output_stack_adjust): Use gen_tmp_stack_mem. | |
1021 | (sh_expand_prologue, sh_expand_epilogue): Use gen_frame_mem. | |
1022 | (sh_set_return_address, sh_allocate_initial_value): Likewise. | |
1023 | (sh_get_pr_initial_val): Likewise. | |
1024 | (sh_builtin_saveregs): Use gen_frame_mem and change_address. | |
1025 | (sh_initialize_trampoline): Likewise. Also use adjust_address. | |
1026 | * sh.md (divsi_inv_m0): Use gen_const_mem. | |
1027 | (push_fpscr, pop_fpscr, load_ra): Use gen_frame_mem. | |
1028 | (movdf_i4+1): Use gen_tmp_stack_mem. | |
1029 | (reload_outdf+3, reload_outdf+4, fpu_switch+1): Use change_address. | |
1030 | (fpu_switch+2): Likewise. | |
1031 | (movv4sf_i, movv16sf_i): Use adjust_address. | |
1032 | (symGOT_load): Set MEM_NOTRAP_P bit. | |
1033 | ||
1c9ef36d JDA |
1034 | 2005-09-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1035 | ||
1036 | PR target/23721 | |
1037 | * pa.c (emit_move_sequence): Fix typo in last change. | |
1038 | ||
7a6b7528 JJ |
1039 | 2005-09-03 Jakub Jelinek <jakub@redhat.com> |
1040 | ||
1041 | PR rtl-optimization/23454 | |
1042 | * reorg.c (relax_delay_slots): Only call invert_jump if any_condjump_p | |
1043 | is true. | |
1044 | ||
7c95bbfb RH |
1045 | 2005-09-03 Richard Henderson <rth@redhat.com> |
1046 | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | |
1047 | ||
1048 | PR middle-end/23671 | |
800dd123 | 1049 | * pa.c (emit_move_sequence): Use replace_equiv_address instead of |
7c95bbfb RH |
1050 | gen_rtx_MEM. |
1051 | ||
b107d743 NP |
1052 | 2005-09-02 Nicolas Pitre <nico@cam.org> |
1053 | ||
1054 | * config/arm/arm.c (arm_legitimize_address): Limit the value passed | |
1055 | to bit_count to 32 bits. | |
1056 | ||
a38578e1 MM |
1057 | 2005-08-31 Mark Mitchell <mark@codesourcery.com> |
1058 | ||
1059 | PR c++/23167 | |
1060 | * gimplify.c (gimplify_expr): Handle TREE_ADDRESSABLE types when | |
1061 | generating synthetic loads from volatile lvalues. | |
1062 | ||
ebf178cd NC |
1063 | 005-09-02 Nick Clifton <nickc@redhat.com> |
1064 | ||
1065 | * config/stormy16/stormy16-lib2.c (__popcounthi2, __parityhi2, | |
1066 | __ctzhi2, __clzhi2): New functions. | |
1067 | ||
9bf777ee AP |
1068 | 2005-09-02 Andrew Pinski <pinskia@physics.uc.edu> |
1069 | ||
1070 | PR middle-end/23547 | |
1071 | * tree-nested.c (struct var_map_elt): Mark with GTY. | |
1072 | (struct nesting_info): Mark with GTY. Mark var_map's param is struct | |
1073 | var_map_elt. | |
1074 | (lookup_field_for_decl): Allocate new element in GC memory. | |
1075 | (lookup_tramp_for_decl): Likewise. | |
1076 | (convert_nl_goto_reference): Likewise | |
1077 | (create_nesting_tree): Allocate info in GC memory. Likewise for | |
1078 | info->var_map. | |
1079 | (free_nesting_tree): Free with ggc_free instead of free. | |
1080 | (root): New static variable. | |
1081 | (lower_nested_functions): Remove root as local variable. And zero out | |
1082 | root at the end of the function. | |
1083 | ||
f805670f R |
1084 | 2005-09-02 J"orn Rennecke <joern.rennecke@st.com> |
1085 | ||
1086 | PR rtl-optimization/20365 | |
1087 | * simplify-rtx.c (simplify_plus_minus_op_data): Change type of neg | |
1088 | to short. New member ix. | |
1089 | (simplify_plus_minus_op_data_cmp): Break ties using ix member. | |
1090 | (simplify_plus_minus): Initialize ix members before calling qsort. | |
1091 | ||
b8c4f9a4 ZD |
1092 | 2005-09-02 Zdenek Dvorak <dvorakz@suse.cz> |
1093 | ||
1094 | PR tree-optimization/23626 | |
1095 | * tree-cfg.c (replace_uses_by): Clean up eh info. | |
1096 | ||
73eb8cb6 DD |
1097 | 2005-09-01 DJ Delorie <dj@redhat.com> |
1098 | ||
1099 | * config/m32c/m32c.c (m32c_valid_pointer_mode): Remove stray debug | |
1100 | fprintf. | |
1101 | ||
13e2e16e DE |
1102 | 2005-09-01 David Edelsohn <edelsohn@gnu.org> |
1103 | ||
1104 | * config/rs6000/rs6000.c (setup_incoming_varargs): Set MEM_NOTRAP_P. | |
1105 | (rs6000_split_multireg_move): Use replace_equiv_address instead of | |
1106 | gen_rtx_MEM. | |
1107 | ||
52d09157 CR |
1108 | 2005-09-01 Craig Rodrigues <rodrigc@gcc.gnu.org> |
1109 | ||
1110 | * c-decl.c (diagnose_mismatched_decls): With -Wredundant-decls, | |
1111 | do not issue warning for a variable definition following | |
1112 | a declaration. | |
1113 | ||
277fc67e RH |
1114 | 2005-09-01 Richard Henderson <rth@redhat.com> |
1115 | ||
1116 | PR 23668 | |
1117 | * config/i386/i386.c (ix86_expand_vector_init_one_var): Restore | |
1118 | conversion to CONST_VECTOR. | |
1119 | ||
e3947b34 RH |
1120 | 2005-09-01 Richard Henderson <rth@redhat.com> |
1121 | ||
1122 | PR 23676 | |
1123 | * reload1.c (reload_as_needed): Check !CALL_P before calling | |
1124 | fixup_eh_region_note. | |
1125 | * rtlanal.c (may_trap_p): SUBREG by itself cannot trap. | |
1126 | ||
056061d8 DD |
1127 | 2005-09-01 DJ Delorie <dj@redhat.com> |
1128 | ||
1129 | * varasm.c (output_constant): Let the target resolve | |
1130 | conversions of addresses to non-default pointer sizes. | |
1131 | ||
86805759 NP |
1132 | 2005-09-01 Nicolas Pitre <nico@cam.org> |
1133 | ||
1134 | * config/arm/arm.c (arm_legitimize_address): Split absolute addresses | |
1135 | to alow matching ARM pre-indexed addressing mode. | |
1136 | (arm_override_options): Remove now irrelevant comment. | |
1137 | ||
d442d7d9 PE |
1138 | 2005-09-01 Phil Edwards <phil@codesourcery.com> |
1139 | ||
1140 | * config.gcc (i*86-wrs-vxworks): Update. Split out vxworksae target. | |
1141 | * config/i386/t-vxworks: Update multilibs for VxWorks 6 and RTP mode. | |
1142 | * config/i386/vxworks.h: Likewise. | |
1143 | * config/i386/t-vxworksae: New file, for VxWorks AE. | |
1144 | * config/i386/vxworksae.h: Likewise. | |
1145 | ||
ab02cc4e SP |
1146 | 2005-09-01 Sebastian Pop <pop@cri.ensmp.fr> |
1147 | ||
1148 | PR tree-optimization/23410 | |
1149 | * tree-ssa-loop-niter.c (scev_probably_wraps_p): Check that the | |
1150 | sequence is not wrapping during the first step. | |
1151 | ||
ac156e91 JJ |
1152 | 2005-09-01 Jakub Jelinek <jakub@redhat.com> |
1153 | ||
1154 | PR debug/7241 | |
1155 | * dwarf2out.c (base_type_die): Compare char_type_node with | |
1156 | TYPE_MAIN_VARIANT (type), not type. | |
1157 | ||
355866de RG |
1158 | 2005-09-01 Richard Guenther <rguenther@suse.de> |
1159 | ||
1160 | PR tree-optimization/15366 | |
1161 | * common.opt: Add -finline-functions-called-once. | |
1162 | Put -fearly-inlining in alphabetically ordered place. | |
1163 | * doc/invoke.texi: Document new option. | |
1164 | * ipa-inline.c (cgraph_decide_inlining): Honour | |
1165 | flag_inline_functions_called_once. | |
1166 | ||
95c37cdb JJ |
1167 | 2005-09-01 Jakub Jelinek <jakub@redhat.com> |
1168 | ||
1169 | PR rtl-optimization/23478 | |
1170 | * local-alloc.c (struct qty): Add n_throwing_calls_crossed field. | |
1171 | (alloc_qty): Initialize it. | |
1172 | (update_equiv_regs): Clear REG_N_THROWING_CALLS_CROSSED. | |
1173 | (combine_regs): Combine also n_throwing_calls_crossed fields. | |
1174 | (find_free_reg): Don't attempt to caller-save pseudos crossing | |
1175 | calls that might throw. | |
1176 | * global.c (struct allocno): Add throwing_calls_crossed field. | |
1177 | (global_alloc): Revert 2005-08-22 change. Initialize | |
1178 | throwing_calls_crossed. | |
1179 | (find_reg): Don't attempt to caller-save pseudos crossing calls that | |
1180 | might throw. | |
1181 | ||
1990cd79 AM |
1182 | 2005-09-01 Alan Modra <amodra@bigpond.net.au> |
1183 | ||
1184 | PR target/23649 | |
1185 | * config/rs6000/predicates.md (mask_operand): Only handle rlwinm masks. | |
1186 | (mask64_operand): Reinstate code prior to 2005-06-11 change. | |
1187 | (mask64_2_operand): Reinstate code prior to 2004-11-11 change. | |
1188 | (and64_2_operand): Tweak to use predicate. | |
1189 | (and_operand): Adjust for mask_operand changes. | |
1190 | * config/rs6000/rs6000.c (num_insns_constant): Revert 2005-06-11. | |
1191 | (print_operand): Likewise. | |
1192 | (rs6000_rtx_costs): Pass mode to mask_operand and use mask64_operand. | |
1193 | (mask64_1or2_operand): Delete. | |
1194 | * rs6000/rs6000-protos.h (mask64_1or2_operand): Delete. | |
1195 | * config/rs6000/rs6000.h (EXTRA_CONSTRAINT <S>): Revert 2005-06-11. | |
1196 | (EXTRA_CONSTRAINT <T>): Pass operand mode to predicate. | |
1197 | (EXTRA_CONSTRAINT <t>): Disallow mask64_operand matches. | |
1198 | * config/rs6000/rs6000.md (andsi3_internal3 split): Revert 2005-06-11. | |
1199 | (rotldi3_internal4): Likewise. | |
1200 | (rotldi3_internal5, rotldi3_internal5 split): Likewise. | |
1201 | (rotldi3_internal6, rotldi3_internal6 split): Likewise. | |
1202 | (ashldi3_internal7): Likewise. | |
1203 | (ashldi3_internal8, ashldi3_internal8 split): Likewise. | |
1204 | (ashldi3_internal, ashldi3_internal9 split): Likewise. | |
1205 | (anddi3 split): Don't match mask64_operand. | |
1206 | (anddi3_internal2): Add rlwinm. Modify 't' splitter predicate. | |
1207 | (anddi3_internal3): Add rlwinm. Use and64_2_operand in non-cr0 | |
1208 | splitter and match TARGET_64BIT not TARGET_POWERPC64. Modify | |
1209 | 't' splitter predicate. | |
1210 | (movdi_internal64 + 2): Revert 2005-06-11 change. | |
1211 | ||
e9555b13 DD |
1212 | 2005-08-31 DJ Delorie <dj@redhat.com> |
1213 | ||
1214 | * config/m32c/m32c.c (m32c_valid_pointer_mode): New. | |
1215 | (m32c_asm_integer): Add support for 32 bit pointers. | |
1216 | ||
8476af98 RH |
1217 | 2005-08-31 Richard Henderson <rth@redhat.com> |
1218 | ||
1219 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Look through | |
1220 | component-like references for setting MEM_NOTRAP_P. | |
1221 | ||
1222 | * config/i386/i386.c (ix86_setup_incoming_varargs): Set MEM_NOTRAP_P. | |
1223 | * config/alpha/alpha.c (alpha_setup_incoming_varargs): Likewise. | |
1224 | ||
0fd662ee RH |
1225 | 2005-08-31 Richard Henderson <rth@redhat.com> |
1226 | ||
1227 | * expr.c (expand_expr_real_1) <VIEW_CONVERT_EXPR>: Force subregs | |
1228 | into a pseudo before applying gen_lowpart. | |
1229 | ||
960ac6e1 GK |
1230 | 2005-08-31 Geoffrey Keating <geoffk@apple.com> |
1231 | ||
1232 | * doc/install.texi (Specific): Update cctools version required | |
1233 | for full functionality. | |
1234 | * config/darwin.h (LINK_SPEC): Pass -mmacosx-version-min to the | |
1235 | linkers as -macosx_version_min. | |
1236 | ||
4802062c R |
1237 | 2005-08-31 J"orn Rennecke <joern.rennecke@st.com> |
1238 | ||
1239 | PR target/21255 | |
1240 | * sh.c (print_operand, %R and %S): Add handling of floating point | |
1241 | registers, memory, constants and invalid operands. | |
1242 | ||
d4feded7 DB |
1243 | 2005-08-31 Daniel Berlin <dberlin@dberlin.org> |
1244 | ||
1245 | * ipa-pure-const.c: Change dump name. | |
1246 | ||
d16093fd UB |
1247 | 2005-08-31 Uros Bizjak <uros@kss-loka.si> |
1248 | ||
1249 | PR target/23570 | |
1250 | * config/i386/sse.md (*sse_concatv2sf): Change operand 2 constraint | |
1251 | to "reg_or_0_operand". | |
1252 | (sse2_loadld): Change operand 1 constraint to "reg_or_0_operand". | |
1253 | ||
c9eb8097 DJ |
1254 | 2005-08-31 Dale Johannesen <dalej@apple.com> |
1255 | ||
1256 | * loop-iv.c (iv_number_of_iterations): Fix overflow check for | |
1257 | loops that count down. | |
1258 | ||
be0c514c RH |
1259 | 2005-08-31 Richard Henderson <rth@redhat.com> |
1260 | ||
35210087 | 1261 | PR rtl-opt/23601 |
be0c514c RH |
1262 | * reload1.c (reload): Set MEM_NOTRAP_P in spill slots. |
1263 | (fixup_eh_region_note): New. | |
1264 | (reload_as_needed): Call it. | |
1265 | (fixup_abnormal_edges): Allow all throwing insns to be deleted; | |
1266 | don't call find_many_sub_basic_blocks; call verify_flow_info. | |
1267 | * function.c (assign_stack_local_1): Set MEM_NOTRAP_P. | |
1268 | (keep_stack_depressed): Likewise. | |
1269 | (assign_stack_temp_for_type): Likewise; use adjust_address_nv. | |
1270 | ||
5d3018ce RH |
1271 | 2005-08-31 Richard Henderson <rth@redhat.com> |
1272 | ||
1273 | * config/i386/i386.c (ix86_function_ok_for_sibcall): Fix test for | |
1274 | fp return matching. | |
1275 | ||
dc38a610 FJ |
1276 | 2005-08-31 Fariborz Jahanian <fjahanian@apple.com> |
1277 | ||
1278 | * expr.c (expand_expr_real_1): Compare size of address | |
1279 | mode to target's address mode size in deciding expansion of | |
1280 | the constant address. | |
1281 | ||
c5250139 RG |
1282 | 2005-08-31 Richard Guenther <rguenther@suse.de> |
1283 | ||
1284 | PR middle-end/23477 | |
1285 | * expr.c (all_zeros_p): New function. | |
1286 | (expand_expr_real_1): Handle the case of an all-zero | |
1287 | non-addressable constructor separately. | |
1288 | ||
ab173928 AS |
1289 | 2005-08-31 Adrian Straetling <straetling@de.ibm.com> |
1290 | ||
1291 | * builtins.c: (expand_builtin_strcpy, expand_builtin_strcat): Change | |
1292 | arguments, adjust all callers. | |
1293 | (expand_builtin_strcat): Rewrite to call strcpy instead of mempcpy. | |
1294 | ||
fabaaf36 RH |
1295 | 2005-08-30 Richard Henderson <rth@redhat.com> |
1296 | ||
1297 | PR target/23630 | |
1298 | * expr.c (expand_expr_real_1) <VIEW_CONVERT_EXPR>: Use gen_lowpart | |
1299 | whenever the mode sizes match. | |
1300 | ||
40b0345d AM |
1301 | 2005-08-31 Alan Modra <amodra@bigpond.net.au> |
1302 | ||
1303 | * calls.c (load_register_parameters): Fix comment typo. | |
1304 | * expr.c (emit_push_insn): Comment formatting. | |
1305 | ||
c2e493dc ILT |
1306 | 2005-08-30 Ian Lance Taylor <ian@airs.com> |
1307 | ||
1308 | * config/i386/x-cygwin (host-cygwin): Change dependency from | |
1309 | hosthooks-def.h to $(HOSTHOOKS_DEF_H). | |
1310 | ||
9fc5fa7b GK |
1311 | 2005-08-29 Geoffrey Keating <geoffk@apple.com> |
1312 | ||
1313 | * config/i386/i386.c (ix86_expand_vector_init_one_var): Don't modify | |
1314 | parts of 'vals'. | |
1315 | ||
f471f0fc | 1316 | 2005-08-29 Andrew Pinski <pinskia@physics.uc.edu> |
57247f4b AP |
1317 | |
1318 | PR middle-end/23408 | |
1319 | * ipa-inline.c (cgraph_decide_inlining_incrementally): Remove the | |
1320 | call to ggc_collect. | |
1321 | ||
f471f0fc | 1322 | 2005-08-29 Paolo Bonzini <bonzini@gnu.org> |
3a6ebcdc PB |
1323 | |
1324 | PR bootstrap/21268 | |
1325 | * Makefile.in (ALL_CPPFLAGS): Include $(INCLUDES) at the | |
1326 | beginning. Remove $(INCLUDES) from all the rules, if following | |
1327 | $(ALL_CPPFLAGS) or $(BUILD_CPPFLAGS). | |
1328 | ||
f28d3046 JJ |
1329 | 2005-08-29 Jakub Jelinek <jakub@redhat.com> |
1330 | ||
1331 | PR middle-end/23484 | |
1332 | * builtins.c (fold_builtin_memory_chk, fold_builtin_stxcpy_chk, | |
1333 | fold_builtin_strncpy_chk, fold_builtin_snprintf_chk): If len is | |
1334 | not constant, but maxlen is, don't set len to maxlen, rather | |
1335 | set maxlen to len if len is a constant. | |
1336 | ||
37261a5c ZD |
1337 | 2005-08-29 Zdenek Dvorak <dvorakz@suse.cz> |
1338 | ||
1339 | PR tree-optimization/23475 | |
1340 | * tree-ssa-loop-ivcanon.c (remove_empty_loop): Update frequencies | |
1341 | and counts. | |
1342 | ||
46c5394b DB |
1343 | 2005-08-28 Daniel Berlin <dberlin@dberlin.org> |
1344 | ||
1345 | Fix PR middle-end/22455 | |
1346 | ||
1347 | * fold-const.c (fold_checksum_tree): Adjust for now-largest tree size. | |
1348 | Checksum only the parts of the tree that exist for the tree code. | |
1349 | ||
ea407814 DJ |
1350 | 2005-08-28 Dale Johannesen <dalej@apple.com> |
1351 | ||
1352 | * config/i386/i386.c (nocona_cost): Increase MOVE_RATIO. | |
1353 | ||
87e71ff4 AP |
1354 | 2005-08-28 Andrew Pinski <pinskia@physics.uc.edu> |
1355 | ||
1356 | * tree-vrp.c: Remove obsolete comment in front of vrp_initialize. | |
1357 | ||
490272b4 RH |
1358 | 2005-08-28 Richard Henderson <rth@redhat.com> |
1359 | ||
1360 | * stor-layout.c (finalize_type_size): Revert workaround from 08-26. | |
1361 | * tree.c (make_node_stat): Use BITS_PER_UNIT instead of alignment | |
1362 | of char_type_node. | |
1363 | ||
a6017253 JJ |
1364 | 2005-08-28 Jakub Jelinek <jakub@redhat.com> |
1365 | ||
1366 | PR ada/23593 | |
1367 | * builtins.c (get_memory_rtx): Don't strip nops | |
1368 | in between COMPONENT_REFs. | |
1369 | ||
412f8986 AP |
1370 | 2005-08-27 Andrew Pinski <pinskia@physics.uc.edu> |
1371 | ||
1372 | PR middle-end/23463 | |
1373 | * gimplify.c (gimplify_modify_expr_rhs): Remove check for zero sized | |
1374 | types. | |
1375 | (gimplify_modify_expr): Check for zero sized types and gimplify the | |
1376 | rhs and lhs as statements. | |
1377 | ||
147a8fb1 JDA |
1378 | 2005-08-27 John David Anglin <dave.anflin@nrc-cnrc.gc.ca> |
1379 | ||
1380 | PR libgcj/23508 | |
1381 | * pa/linux-unwind.h (pa32_fallback_frame_state): Use r0 slot in frame | |
1382 | state for return address column of signal frames. | |
1383 | ||
ec53fc93 DE |
1384 | 2005-08-27 David Edelsohn <edelsohn@gnu.org> |
1385 | ||
1386 | PR target/23539 | |
fabaaf36 RH |
1387 | * config/rs6000/rs6000.c (expand_block_clear): Use HImode when |
1388 | bytes >= 2 not bytes == 2. | |
ec53fc93 DE |
1389 | (expand_block_move): Same. |
1390 | ||
f013cadc RG |
1391 | 2005-08-27 Richard Guenther <rguenther@suse.de> |
1392 | ||
1393 | PR target/23575 | |
1394 | * config/i386/sse.md (sse2_movsd): Add missing closing | |
1395 | braces. | |
1396 | ||
0cd6c85a PB |
1397 | 2005-08-27 Paul Brook <paul@codesourcery.com> |
1398 | ||
1399 | * genrecog.c (enum decision_type): Add DT_num_insns. | |
1400 | (struct decision_test): Add u.num_insns. | |
1401 | (add_to_sequence): Add DT_num_insns test. | |
1402 | (maybe_both_true_2, nodes_identical_1): Handle DT_num_insns. | |
1403 | (write_cond, debug_decision_2): Ditto. | |
1404 | (change_state): Assume peep2_next_insn never fails. | |
1405 | Remove "afterward" argument. | |
1406 | (write afterward, write_tree): Update to match. | |
1407 | * recog.c (peep2_current_count): New variable. | |
1408 | (peep2_next_insn): Check it. | |
1409 | (peephole2_optimize): Set peep2_current_count. | |
1410 | * recog.h (peep2_current_count): Declare. | |
1411 | ||
1b0d2d17 JC |
1412 | 2005-08-26 Josh Conner <jconner@apple.com> |
1413 | ||
1414 | PR middle-end/23584 | |
1415 | * ipa-pure-const.c (check_tree): Check for volatile-ness | |
1416 | when considering a dereference. | |
1417 | ||
24b7d7c3 JJ |
1418 | 2005-08-27 Jakub Jelinek <jakub@redhat.com> |
1419 | ||
1420 | * rtl.h (MEM_IN_STRUCT_P): Fix comment typo. | |
1421 | ||
435bb2a1 JJ |
1422 | 2005-08-26 Jakub Jelinek <jakub@redhat.com> |
1423 | ||
1424 | PR rtl-optimization/23561 | |
1425 | * builtins.c (get_memory_rtx): Add LEN argument. If MEM_EXPR is | |
1426 | a COMPONENT_REF, remove all COMPONENT_REF from MEM_EXPR unless | |
1427 | at most LEN bytes long memory fits into the field. | |
1428 | (expand_builtin_memcpy, expand_builtin_mempcpy, expand_movstr, | |
1429 | expand_builtin_strncpy, expand_builtin_memset, expand_builtin_memcmp, | |
1430 | expand_builtin_strcmp, expand_builtin_strncmp): Adjust callers. | |
1431 | ||
52e772ba RH |
1432 | 2005-08-26 Richard Henderson <rth@redhat.com> |
1433 | ||
1434 | PR rtl-opt/23560 | |
1435 | * loop.c (biased_biv_may_wrap_p): New. | |
1436 | (maybe_eliminate_biv_1): Use it to suppress non-equality | |
1437 | comparison transformations. Delete disabled code. | |
1438 | ||
8f34bde6 ILT |
1439 | 2005-08-26 Ian Lance Taylor <ian@airs.com> |
1440 | ||
1441 | * combine.c (make_extraction): Avoid reference outside object. | |
1442 | ||
d6cde480 R |
1443 | 2005-08-26 J"orn Rennecke <joern.rennecke@st.com> |
1444 | ||
1445 | * stor-layout.c (finalize_type_size): Restore behaviour for | |
1446 | non-aggregate types to the status quo ante of the patch for | |
1447 | pr 23467. Document why it matters. | |
1448 | ||
39627fed JJ |
1449 | 2005-08-26 Jakub Jelinek <jakub@redhat.com> |
1450 | ||
1451 | PR c/23506 | |
1452 | * c-common.c (c_common_nodes_and_builtins): Increase builtin_types | |
1453 | array by one element, initialize the BT_LAST element with NULL. | |
1454 | ||
297abd0d DE |
1455 | 2005-08-26 David Edelsohn <edelsohn@gnu.org> |
1456 | ||
1457 | * config/rs6000/rs6000.md (eq<mode>_compare): Only enable when | |
1458 | optimizing for size. | |
1459 | (plus_eqsi): Same. | |
1460 | (compare_plus_eqsi): Same. | |
1461 | (plus_eqsi_compare): Same. | |
1462 | (neg_eq0<mode>): Same. | |
1463 | (neg_eq<mode>): Same. | |
1464 | ||
1465 | * config/rs6000/aix52.h (PROCESSOR_DEFAULT): Change to | |
1466 | PROCESSOR_POWER4. | |
1467 | ||
2ec6cd51 NC |
1468 | 2005-08-26 Nick Clifton <nickc@redhat.com> |
1469 | ||
1470 | * config/v850/v850.c (ep_memory_operand): Return FALSE if | |
1471 | TARGET_EP is not defined. | |
1472 | * config/v850/c850.h (TARGET_CPU_CPP_BUILTINS): Define __EP__ if | |
1473 | TARGET_EP is enabled. | |
1474 | (OPTIMIZATION_OPTIONS): Do not define MASK_EP when optimizing. | |
1475 | * config/v850/v850.md (save_all_interrupt): Only use the EP | |
1476 | register if TARGET_EP is defined. | |
1477 | (restore_all_interrupt): Likewise. | |
1478 | * config/v850/lib1funcs.asm: Update functions so that the EP | |
1479 | register is only used if __EP__ is defined. | |
1480 | ||
e296c00c DU |
1481 | 2005-08-26 David Ung <davidu@mips.com> |
1482 | ||
1483 | * config/mips/mips.c (mips_expand_prologue): Handle case when | |
1484 | generating for MIPS16 and the outgoing argument area is more than | |
1485 | SMALL_OPERAND. Use the frame pointer as temporary to generate the | |
1486 | add instruction. | |
1487 | ||
55d61dba PW |
1488 | 2005-08-26 Paul Woegerer <paul.woegerer@nsc.com> |
1489 | ||
1490 | * config/crx/crx.md: Make doloop_end pattern usage controllable | |
1491 | via mloop-nesting=<max-nesting> command line switch. Make sure | |
1492 | the combiner cannot use doloop_end_<mode> in an illegal way. | |
1493 | * config/crx/crx.c: Use regs up to r6 for argument passing. | |
1494 | Refine crx_address_cost (non cst4 displacements are expensive). | |
1495 | * config/crx/crx.opt: Add switch for mloop-nesting=. | |
1496 | ||
742090fc AS |
1497 | 2005-08-26 Adrian Straetling <straetling@de.ibm.com> |
1498 | ||
1499 | * config/s390/s390.md: ("movstr", "*movstr"): Add patterns. | |
1500 | (UNSPEC_MVST): New constant. | |
1501 | ||
db21e1d0 AK |
1502 | 2005-08-26 Andreas Krebbel <krebbel1@de.ibm.com> |
1503 | ||
1504 | * config/s390/predicates.md ("shift_count_operand", "setmem_operand"): | |
1505 | Reject operands containing eliminable registers. | |
1506 | * testsuite/gcc.dg/20050825-1.c: New testcase. | |
1507 | ||
0621d71a PB |
1508 | 2005-08-24 Paolo Bonzini <bonzini@gnu.org> |
1509 | Jan Hubicka <jh@suse.cz> | |
1510 | ||
1511 | * regmove.c (reg_is_remote_constant_p): Reorganize to not use log links. | |
1512 | ||
e2889823 PB |
1513 | 2005-08-24 Paolo Bonzini <bonzini@gnu.org> |
1514 | ||
1515 | PR tree-optimization/23546 | |
1516 | * tree-ssa-loop-im.c (for_each_index): Handle INTEGER_CST | |
1517 | and REAL_CST nodes. | |
1518 | ||
6f48c21a PS |
1519 | 2005-08-24 Pete Steinmetz <steinmtz@us.ibm.com> |
1520 | ||
1521 | * params.def (PARAM_MIN_SPEC_PROB): New. | |
1522 | * sched-rgn.c (MIN_PROBABILITY): Delete. | |
1523 | (compute_trg_info): Convert to PARAM_VALUE. | |
1524 | * doc/invoke.texi (param): Document min-spec-prob. | |
1525 | ||
1a1e6a9d FJ |
1526 | 2005-08-24 Fariborz Jahanian <fjahanian@apple.com> |
1527 | ||
1528 | * config/darwin.h: define __PIC__ | |
1529 | * config/rs6000/darwin.h: Add SUBTARGET_OS_CPP_BUILTINS to | |
1530 | TARGET_OS_CPP_BUILTINS macro. | |
1531 | ||
130869aa PB |
1532 | 2005-08-24 Paolo Bonzini <bonzini@gnu.org> |
1533 | ||
1534 | * config/rs6000/rs6000.md: Fix thinko in the peephole2 I added | |
1535 | yesterday. | |
1536 | ||
b9a66240 ZD |
1537 | 2005-08-24 Zdenek Dvorak <dvorakz@suse.cz> |
1538 | ||
1539 | * bb-reorder.c (copy_bb, duplicate_computed_gotos): Add argument | |
1540 | to duplicate_block. | |
1541 | * cfghooks.c (duplicate_block): Added position where to place | |
1542 | new block as argument. | |
1543 | * cfghooks.h (duplicate_block): Declaration changed. | |
1544 | * cfglayout.c (copy_bbs): Add argument after. Pass it to | |
1545 | duplicate_block. | |
1546 | * cfglayout.h (copy_bbs): Declaration changed. | |
1547 | * cfgloop.h (loop_version): Declaration changed. | |
1548 | * cfgloopmanip.c (duplicate_loop_to_header_edge): Pass | |
1549 | position to copy_bbs. | |
1550 | (loop_version): Pass position to duplicate_loop_to_header_edge. | |
1551 | Add place_after argument and position new blocks according to | |
1552 | it. | |
1553 | * modulo-sched.c (sms_schedule): Pass place_after argument | |
1554 | to loop_version. | |
1555 | * tracer.c (tail_duplicate): Pass argument to duplicate_block. | |
1556 | * tree-cfg.c (split_edge_bb_loc): New function. | |
1557 | (tree_split_edge, tree_duplicate_sese_region): Use split_edge_bb_loc | |
1558 | to determine position of new blocks. | |
1559 | * tree-ssa-loop-unswitch.c (tree_unswitch_loop): Pass argument | |
1560 | to loop_version. | |
1561 | * tree-ssa-threadupdate.c (create_block_for_threading): Pass | |
1562 | argument to duplicate_block. | |
1563 | * tree-vectorizer.c (slpeel_tree_duplicate_loop_to_edge_cfg): | |
1564 | Pass position to copy_bbs. | |
1565 | ||
87de2376 ZD |
1566 | 2005-08-24 Zdenek Dvorak <dvorakz@suse.cz> |
1567 | ||
1568 | * fold-const.c (ptr_difference_const): Use | |
1569 | cst_and_fits_in_hwi instead of host_integerp. | |
1570 | ||
14a07c92 PB |
1571 | 2005-08-24 Paolo Bonzini <bonzini@gnu.org> |
1572 | ||
1573 | * config/darwin.c (gen_pic_offset): New. | |
1574 | (machopic_indirect_data_reference, machopic_legitimize_pic_address): | |
1575 | Use it. | |
1576 | ||
d49195a3 ZD |
1577 | 2005-08-23 Zdenek Dvorak <dvorakz@suse.cz> |
1578 | ||
1579 | PR tree-optimization/23486 | |
1580 | * tree-ssa-loop.c (pass_scev_cprop): Add TODO_update_ssa_only_virtuals. | |
1581 | ||
2eab15c9 PE |
1582 | 2005-08-23 Phil Edwards <phil@codesourcery.com> |
1583 | ||
1584 | * config.gcc (*-*-vxworks*): Update tm_file, add extra_options, | |
1585 | remove use_collect2. | |
1586 | (powerpc-wrs-vxworks): Update, split out *-*-vxworksae target. | |
1587 | ||
1588 | * target-def.h (TARGET_HAVE_CTORS_DTORS): Allow target | |
1589 | configuration files to override the default value. | |
1590 | ||
1591 | * config/t-vxworks: Remove INSTALL_ASSERT_H. Define STMP_FIXPROTO, | |
1592 | EXTRA_HEADERS, and EXTRA_MULTILIB_PARTS. | |
1593 | * config/vx-common.h: New file, split out from... | |
1594 | * config/vxworks.h: here. Update for VxWorks 6.x and RTP mode. | |
1595 | * config/vxworksae.h: New file, for VxWorks AE. | |
1596 | * config/vxworks.opt: New file. | |
1597 | * config/vxlib.c: Update for VxWorks 6. | |
1598 | ||
1599 | * config/rs6000/t-vxworks (MULTILIB_OPTIONS): New list. Adjust | |
1600 | other MULTILIB_* variables appropriately. | |
1601 | (LIB2FUNCS_EXTRA, EXTRA_MULTILIB_PARTS): Correct from t-ppccomm. | |
1602 | * config/rs6000/t-vxworksae: New file, adjust multilibs for AE. | |
1603 | * config/rs6000/vxworks.h: Update for VxWorks 6. | |
1604 | * config/rs6000/vxworksae.h: New file, mostly placeholder for now. | |
1605 | ||
2501b167 AP |
1606 | 2005-08-23 Andrew Pinski <pinskia@physics.uc.edu> |
1607 | ||
1608 | PR target/20799 | |
1609 | * config/darwin.c (machopic_select_section): Remove the hack to | |
1610 | mark "::operator new" and "::operator delete" for coalescing | |
1611 | even though they are not weak. | |
1612 | ||
d82bf747 AM |
1613 | 2005-08-24 Alan Modra <amodra@bigpond.net.au> |
1614 | ||
1615 | * configure.ac (HAVE_LD_NO_DOT_SYMS): Set for powerpc-linux biarch. | |
1616 | * configure: Regenerate. | |
1617 | ||
4d3c798d PB |
1618 | 2005-08-23 Paolo Bonzini <bonzini@gnu.org> |
1619 | ||
1620 | PR middle-end/23517 | |
1621 | * fold-const.c (fold_convert): Use VIEW_CONVERT_EXPR to convert | |
1622 | between vectors. | |
1623 | * convert.c (convert_to_integer, convert_to_vector): Likewise. | |
1624 | * tree-vect-generic.c (tree_vec_extract, expand_vector_operations_1): | |
1625 | Likewise. | |
1626 | ||
28d0e143 PB |
1627 | 2005-08-23 Paolo Bonzini <bonzini@gnu.org> |
1628 | ||
1629 | * config/rs6000/predicates.md (equality_operator): New. | |
1630 | * config/rs6000/rs6000.md: Rewrite as a peephole2 the split for | |
1631 | comparison with a large constant. | |
1632 | ||
6194fd98 MM |
1633 | 2005-08-23 Mark Mitchell <mark@codesourcery.com> |
1634 | ||
1635 | * hwint.h (HOST_WIDE_INT_PRINT): Use HOST_LONG_LONG_FORMAT. | |
1636 | ||
39d67d5b R |
1637 | 2005-08-23 J"orn Rennecke <joern.rennecke@st.com> |
1638 | ||
a11c004b R |
1639 | * sh.c (sh_builtin_saveregs): If the number of to-be-saved fp |
1640 | registers is even, and we have a hardware double precision fp, | |
1641 | align the buffer. | |
1642 | (sh_gimplify_va_arg_expr): For floating point arguments, consider | |
1643 | size of current argument when checking if argument was passed in | |
1644 | registers. | |
1645 | ||
1646 | * sh.c (sh_attr_renesas_p): Handle error_mark_node. | |
1647 | ||
39d67d5b R |
1648 | PR middle-end/23467 |
1649 | * stor-layout.c (finalize_type_size): Dont override | |
1650 | existing alignment with a smaller alignment from the mode. | |
1651 | ||
37b8a73b SP |
1652 | 2005-08-23 Sebastian Pop <pop@cri.ensmp.fr> |
1653 | ||
1654 | * lambda-code.c (lambda_vector_lexico_pos): Moved... | |
1655 | * lambda.h (lambda_vector_lexico_pos): ... here. | |
1656 | * tree-data-ref.c (build_classic_dist_vector): Return false when | |
1657 | the distance vector is lexicographically negative. | |
1658 | ||
ce8f9416 SP |
1659 | 2005-08-23 Sebastian Pop <pop@cri.ensmp.fr> |
1660 | ||
1661 | PR tree-optimization/23511 | |
1662 | * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined): Don't | |
1663 | handle cases where TYPE_MIN_VALUE or TYPE_MAX_VALUE are NULL_TREE. | |
1664 | ||
73ed17ff JJ |
1665 | 2005-08-23 Jakub Jelinek <jakub@redhat.com> |
1666 | ||
1667 | PR tree-optimization/22043 | |
1668 | * tree.h (count_type_elements): Add ALLOW_FLEXARR argument. | |
1669 | * expr.c (count_type_elements): Add ALLOW_FLEXARR argument. | |
1670 | If ALLOW_FLEXARR, handle types ending with flexible array member. | |
1671 | Pass false as second argument to recursive count_type_elements calls. | |
1672 | (categorize_ctor_elements_1, mostly_zeros_p): Pass false as second | |
1673 | argument to count_type_elements call. | |
1674 | * tree-sra.c (decide_block_copy): Likewise. | |
1675 | * gimplify.c (gimplify_init_constructor): If num_type_elements < 0 | |
1676 | for a constant-sized object, set cleared as well. Pass true as | |
1677 | second argument to count_type_elements call. | |
1678 | ||
18b10a72 AM |
1679 | 2005-08-23 Alan Modra <amodra@bigpond.net.au> |
1680 | ||
1681 | PR target/21571 | |
1682 | * config/rs6000/rs6000.c (rs6000_legitimate_small_data_p): Rename | |
1683 | from legitimate_small_data_p, and make global. Update use. | |
1684 | Remove forward declaration. | |
1685 | * config/rs6000/rs6000-protos.h (rs6000_legitimate_small_data_p): | |
1686 | Declare. | |
1687 | * config/rs6000/rs6000.md (movdf_hardfloat32): Allow small data mems. | |
1688 | ||
d0515b39 DE |
1689 | 2005-08-23 David Edelsohn <edelsohn@gnu.org> |
1690 | ||
1691 | * config/rs6000/rs6000.md (eq<mode>): Use output operand instead | |
1692 | of scratch intermediates. | |
1693 | (eq<mode>_compare): Same. | |
1694 | (neg_eq0<mode>): New. | |
1695 | (neg_eq<mode>): Convert to define_insn_and_split. | |
1696 | ||
c1fa753e AM |
1697 | 2005-08-23 Alan Modra <amodra@bigpond.net.au> |
1698 | ||
1699 | PR target/23070 | |
1700 | * config/rs6000/rs6000.c (function_arg): For ABI_V4 calls to | |
1701 | stdarg functions, set/clear the fp marker even when no variable | |
1702 | args are passed. | |
1703 | * config/rs6000/sysv4.opt (mprototype): Describe. | |
1704 | ||
27004606 JJ |
1705 | 2005-08-22 Jakub Jelinek <jakub@redhat.com> |
1706 | ||
1707 | PR rtl-optimization/23478 | |
1708 | * regs.h (reg_info): Add throw_calls_crossed. | |
1709 | (REG_N_THROWING_CALLS_CROSSED): Define. | |
1710 | * flow.c (allocate_reg_life_data): Initialize | |
1711 | REG_N_THROWING_CALLS_CROSSED. | |
1712 | (propagate_one_insn, attempt_auto_inc): Update | |
1713 | REG_N_THROWING_CALLS_CROSSED. | |
1714 | * global.c (global_alloc): Don't allocate pseudos across | |
1715 | calls that may throw. | |
1716 | ||
201ae393 AP |
1717 | 2005-08-22 Andrew Pinski <pinskia@physics.uc.edu> |
1718 | ||
1719 | PR c/18715 | |
1720 | * c-common.c (c_do_switch_warnings): Look for a node where the enum's | |
1721 | value is inbetween the range if we did not find an exact match. | |
1722 | ||
c85ba4fb AH |
1723 | 2005-08-22 Aldy Hernandez <aldyh@redhat.com> |
1724 | ||
1725 | * doc/invoke.texi (Option Summary): Add ms1 options. | |
1726 | * doc/extend.texi: Document interrupt handler attribute for ms1. | |
1727 | * doc/md.texi: Document ms1 constraints. | |
1728 | * config.gcc: Add ms1-*-elf. | |
1729 | * config/ms1/ms1.h: New. | |
1730 | * config/ms1/ms1.c: New. | |
1731 | * config/ms1/ms1.md: New. | |
1732 | * config/ms1/ms1-protos.h: New. | |
1733 | * config/ms1/ABI.txt: New. | |
1734 | * config/ms1/crti.asm: New. | |
1735 | * config/ms1/crtn.asm: New. | |
1736 | * config/ms1/lib2extra-funcs.c: New. | |
1737 | * config/ms1/t-ms1: New. | |
1738 | * config/ms1/ms1.opt: New. | |
1739 | ||
70a39602 IR |
1740 | 2005-08-22 Ira Rosen <irar@il.ibm.com> |
1741 | ||
1742 | * config/rs6000/altivec.md (xorv4sf3): New. | |
1743 | (negv4sf2, neg<mode>2): Likewise. | |
1744 | ||
85199961 L |
1745 | 2005-08-21 H.J. Lu <hongjiu.lu@intel.com> |
1746 | ||
1747 | PR target/23485 | |
1748 | * config/ia64/ia64.md (divsi3): Check divide by zero. | |
1749 | (udivsi3): Likewise. | |
1750 | (divdi3): Likewise. | |
1751 | (udivdi3): Likewise. | |
1752 | ||
1125164c JJ |
1753 | 2005-08-21 Jakub Jelinek <jakub@redhat.com> |
1754 | ||
1755 | * simplify-rtx.c (simplify_immed_subreg) <case CONST_DOUBLE>: Only clear | |
1756 | up to elem_bitsize bits, not max_bitsize. | |
1757 | ||
3c0c8f9d SP |
1758 | 2005-08-21 Sebastian Pop <pop@cri.ensmp.fr> |
1759 | ||
1760 | PR tree-optimization/23433 | |
85199961 L |
1761 | * tree-chrec.c (chrec_apply): Translate INTEGER_CST to a |
1762 | REAL_CST when the type is SCALAR_FLOAT_TYPE_P. | |
3c0c8f9d | 1763 | |
a1596edc SP |
1764 | 2005-08-21 Sebastian Pop <pop@cri.ensmp.fr> |
1765 | ||
1766 | PR tree-optimization/23434 | |
85199961 L |
1767 | * tree-ssa-loop-niter.c (proved_non_wrapping_p): Give up when |
1768 | the iteration bound is not an INTEGER_CST. | |
a1596edc | 1769 | |
429268fc DN |
1770 | 2005-08-21 Dorit Nuzman <dorit@il.ibm.com> |
1771 | ||
1772 | * tree-vect-transform.c (get_initial_def_for_reduction): Set | |
1773 | need_epilog_adjust back to false for MIN/MAX case. Set *scalar_def to | |
1774 | NULL if need_epilog_adjust is false. | |
1775 | (vect_create_epilog_for_reduction): Variable adjust_in_epilog removed. | |
1776 | Case 3 always peels first itration, not just for PLUS case, and no need | |
1777 | to use scalar_initial_def here. Create an epilog adjustment only if | |
1778 | scalar_initial_def is not NULL. | |
1779 | ||
1780 | (vectorizable_reduction): Remove assert. | |
1781 | ||
eea1d14a L |
1782 | 2005-08-20 H.J. Lu <hongjiu.lu@intel.com> |
1783 | ||
1784 | PR target/23485 | |
1785 | * config/ia64/lib1funcs.asm (__divdi3): Check divide by zero. | |
1786 | (__moddi3): Likewise. | |
1787 | (__udivdi3): Likewise. | |
1788 | (__umoddi3): Likewise. | |
1789 | (__divsi3): Likewise. | |
1790 | (__modsi3): Likewise. | |
1791 | (__udivsi3): Likewise. | |
1792 | (__umodsi3): Likewise. | |
1793 | ||
5e34206b JJ |
1794 | 2005-08-20 Jakub Jelinek <jakub@redhat.com> |
1795 | ||
1796 | * tree-pass.h (TDF_GRAPH): Define. | |
1797 | * tree-dump.c (dump_options): Don't set TDF_GRAPH in "all". | |
1798 | * passes.c (finish_optimization_passes): Only call | |
1799 | finish_graph_dump_file if TDF_GRAPH is set. | |
1800 | (execute_one_pass): Only call clean_graph_dump_file if dump_file != | |
1801 | NULL. Set TDF_GRAPH bit. | |
1802 | (execute_todo): Call print_rtl_graph_with_bb if TDF_GRAPH is set. | |
1803 | ||
2591db65 RE |
1804 | 2005-08-20 Richard Earnshaw <richard.earnshaw@arm.com> |
1805 | ||
1806 | * arm.h (arm_stack_offsets): Add locals_base field. | |
1807 | * arm.c (arm_get_frame_offsets): Compute it. | |
1808 | (thumb_compute_initial_elimination offset): Make the Thumb frame | |
1809 | pointer point to the base of the local variables. | |
1810 | (thumb_expand_prologue): Update accordingly. | |
1811 | (thumb_expand_epilogue): Likewise. | |
1812 | ||
1813 | * arm.md (thumb_movhi_clobber): Make this insn a define_expand. Change | |
1814 | mode of clobbered scratch to DImode. Handle a case that's known to | |
1815 | need this. | |
1816 | ||
fc437ce9 DE |
1817 | 2005-08-19 David Edelsohn <edelsohn@gnu.org> |
1818 | ||
1819 | * config/rs6000/rs6000.md (gt0<mode>): Delete. | |
1820 | (gt0<mode>_compare): Delete. | |
1821 | (neg_gt0<mode>): Delete. | |
1822 | ||
c414ac1d EC |
1823 | 2005-08-19 Eric Christopher <echristo@apple.com> |
1824 | ||
1825 | * optabs.h: Change CTI_ to COI_. | |
1826 | * optabs.c: Ditto. | |
1827 | ||
c8f27794 JW |
1828 | 2005-08-19 James E Wilson <wilson@specifix.com> |
1829 | ||
1830 | * builtins.c (expand_builtin_return_addr): Set | |
1831 | current_function_accesses_prior_frames when count != 0. Use | |
1832 | frame_pointer_rtx when count == 0. | |
1833 | * function.h (struct function): Add accesses_prior_frames field. | |
1834 | (current_function_accesses_prior_frames): Define. | |
1835 | * reload1.c (init_elim_table): Check | |
1836 | current_function_accesses_prior_frames. | |
1837 | * doc/tm.texi (INITIAL_FRAME_ADDRESS_RTX): Update docs. | |
1838 | ||
e3594cb3 DN |
1839 | 2005-08-19 Diego Novillo <dnovillo@redhat.com> |
1840 | ||
1841 | * tree-cfgcleanup.c (cleanup_tree_cfg): Fix flowgraph change | |
1842 | indicator. Return true if the flowgraph changed during | |
1843 | cleanup. | |
1844 | ||
52270a3c DN |
1845 | 2005-08-19 Diego Novillo <dnovillo@redhat.com> |
1846 | ||
1847 | PR 23476 | |
1848 | * tree-cfgcleanup.c (cleanup_control_expr_graph): Fold the | |
1849 | conditional expression before testing its value. | |
1850 | ||
5c1c631e DN |
1851 | 2005-08-19 Diego Novillo <dnovillo@redhat.com> |
1852 | ||
1853 | * doc/invoke.texi: Fix documentation for -ftree-dominator-opts. | |
1854 | ||
3d91803a DP |
1855 | 2005-08-19 Devang Patel <dpatel@apple.com> |
1856 | ||
1857 | PR tree-optimization/23048 | |
1858 | * tree-if-conv.c (if_convertible_bb_p): Supply basic_block as | |
1859 | third parameter. Check whether latch is dominated by exit | |
1860 | block or not. | |
1861 | (if_convertible_loop_p): Supply exit block itself to | |
1862 | if_convertible_bb_p. | |
c414ac1d | 1863 | |
e55ef7f4 RE |
1864 | 2005-08-19 Richard Earnshaw <richard.earnshaw@arm.com> |
1865 | ||
1866 | PR target/23473 | |
1867 | * arm.md (arm_load_pic_register): Change argument to the mask of | |
c414ac1d | 1868 | saved registers. Call thumb_find_work_register if we need a |
e55ef7f4 | 1869 | scratch register on Thumb. |
c414ac1d | 1870 | (arm_expand_prologue): Pass empty register set to |
e55ef7f4 RE |
1871 | arm_load_pic_register. |
1872 | (thumb_expand_prologue): Pass live_regs_mask directly to | |
1873 | arm_load_pic_register. | |
1874 | * arm-protos.h (arm_load_pic_register): Update prototype. | |
1875 | ||
d102596b JR |
1876 | 2005-08-19 J"orn Rennecke <joern.rennecke@st.com> |
1877 | ||
1878 | * sh.c (find_sole_member): New function. | |
1879 | (sh_gimplify_va_arg_expr): Use it. Allow RECORD_TYPE mode mismatch | |
1880 | if the record's alignment is larger than the size of its only member. | |
1881 | ||
a132dad6 RE |
1882 | 2005-08-19 Richard Earnshaw <richard.earnshaw@arm.com> |
1883 | ||
1884 | PR target/23436 | |
1885 | * arm.c (thumb_legitimize_reload_address): New function. | |
1886 | * arm-protos.h (thumb_legitimize_reload_address): Add prototype. | |
1887 | * arm.h (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Call it. | |
1888 | ||
4221d00a PW |
1889 | 2005-08-19 Paul Woegerer <paul.woegerer@nsc.com> |
1890 | ||
1891 | * config/crx/crx.c: Implement crx_decompose_address. Reject | |
1892 | symbolic displacements since CRX register relative adressing | |
1893 | mode can't handle unsigned 32-bit values as displacements. | |
1894 | * config/crx/crx.h: Simplify definitions, remove redundant | |
1895 | parenthesis and obsolete macros. | |
1896 | * config/crx/crx.opt: Add new switch for debugging addresses. | |
1897 | * config/crx/crx-protos.h: Add new declarations for above. | |
1898 | ||
1581a9a1 AP |
1899 | 2005-08-19 Andrew Pinski <pinskia@physics.uc.edu> |
1900 | ||
1901 | PR middle-end/20624 | |
1902 | * gimple-low.c (block_may_fallthru): Handle CLEANUP_POINT_EXPR by | |
1903 | looking past it. | |
1904 | ||
52a6edcc KG |
1905 | 2005-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1906 | ||
1907 | * collect2.c (dup2): Delete. | |
1908 | * configure.ac: Don't check for dup2. | |
1909 | ||
1910 | * config.in, configure: Regenerate. | |
1911 | ||
8a2209bf R |
1912 | 2005-08-18 J"orn Rennecke <joern.rennecke@st.com> |
1913 | ||
1914 | * sh.c (sh_gimplify_va_arg_expr): Loop to substitute a RECORD_TYPE | |
1915 | record with the type of its only member. | |
1916 | ||
1e24ce83 DE |
1917 | 2005-08-18 David Edelsohn <edelsohn@gnu.org> |
1918 | ||
1919 | * config/rs6000/rs6000.md (ltu<mode>_compare): Convert to | |
1920 | define_insn_and_split. | |
1921 | (plus_ltu<mode>_compare): Same. | |
1922 | (gtu<mode>_compare): Same. | |
1923 | (plus_gtu<mode>_compare): Same. | |
1924 | ||
90ff949f DN |
1925 | 2005-08-18 Dorit Nuzman <dorit@il.ibm.com> |
1926 | ||
1927 | PR tree-optimization/22228 | |
1e24ce83 DE |
1928 | * tree-ssa-loop (pass_vectorize): Add TODO_verify_loops to |
1929 | todo_flags_start. | |
90ff949f DN |
1930 | * tree-vect-transform.c (vect_transform_loop): Mark the variables that |
1931 | are recorded in vect_vnames_to_rename for renaming. | |
1932 | * tree-vectorizer.c (vect_vnames_to_rename): New global bitmap. | |
1933 | (slpeel_update_phi_nodes_for_guard1): Record virtual vars for renaming | |
1934 | in vect_vnames_to_rename. | |
1935 | (vectorize_loops): Allocate and free the vect_vnames_to_rename bitmap. | |
1936 | * tree-vectorizer.h (vect_vnames_to_rename): New extern variable. | |
1937 | ||
f17db6cd JH |
1938 | 2005-08-18 Jan Hubicka <jh@suse.cz> |
1939 | ||
1940 | PR c++/22034 | |
1941 | * cgraphunit.c (cgraph_varpool_assemble_pending_decls): Emit debug | |
1942 | info only for local statics, not for member variables. | |
1943 | ||
4286d8ce VR |
1944 | 2005-08-18 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
1945 | ||
1946 | * tree-data-ref.c (analyze_siv_subscript_cst_affine): Fix comment typo. | |
1947 | ||
b06df647 VR |
1948 | 2005-08-18 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
1949 | ||
1950 | * c-typeck.c (designator_errorneous): Rename to designator_erroneous. | |
1951 | ||
75634129 AP |
1952 | 2005-08-18 Andrew Pinski <pinskia@physics.uc.edu> |
1953 | ||
1954 | PR middle-end/16045 | |
1955 | * builtins.c (fold_builtin): Create a new NOP_EXPR all the time. | |
1956 | ||
9bc2a5cb JW |
1957 | 2005-08-17 James E Wilson <wilson@specifix.com> |
1958 | ||
1959 | * c-decl.c (grokdeclarator): Use TYPE_SIZE_UNIT not TYPE_SIZE in | |
1960 | array size check. | |
1961 | ||
a2dba291 DE |
1962 | 2005-08-17 David Edelsohn <edelsohn@gnu.org> |
1963 | ||
1964 | * config/rs6000/rs6000.md (leu<mode>): Convert to mode macro. | |
1965 | (leu<mode>_compare): Same. | |
1966 | (plus_leu<mode>): Same. | |
1967 | (neg_leu<mode>): Same. | |
1968 | (and_neg_leu<mode): Same. | |
1969 | (ltu<mode>_compare): Same. | |
1970 | (plus_ltu<mode>): Same. | |
1971 | (geu<mode>): Same. | |
1972 | (geu<mode>_compare): Same. | |
1973 | (plus_geu<mode>): Same. | |
1974 | (neg_geu<mode>): Same. | |
1975 | (and_neg_geu<mode>): Same. | |
1976 | (plus_gt<mode>): Same. | |
1977 | (gtu<mode>_compare): Same. | |
1978 | (plus_gtu<mode>): Same. | |
1979 | ||
aa29dfeb | 1980 | 2005-08-17 Erik Christiansen <erik@dd.nec.com.au> |
c414ac1d | 1981 | |
aa29dfeb EC |
1982 | * config/v850/lib1funcs.asm (callt_save_interrupt): Fix comment typos. |
1983 | Move call_table_data to end. Delete spurious .text. | |
1984 | (callt_save_all_interrupt): Fix comment typo. | |
1985 | ||
90e0c734 JW |
1986 | 2005-08-17 James E Wilson <wilson@specifix.com> |
1987 | Kevin Winchester <winchester@amirix.com> | |
1988 | ||
1989 | PR target/21684 | |
1990 | * config/mcore/mcore.h (SHIFT_COUNT_TRUNCATED): Define to 0. | |
1991 | ||
87bb8864 UB |
1992 | 2005-08-17 Uros Bizjak <uros@kss-loka.si> |
1993 | ||
1994 | PR target/23268 | |
1995 | * config/i386/i386.md ("*fist<mode>2_1"): New pattern. | |
1996 | ("lrint<mode>2"): Change expander to use "*fist<mode>2_1" pattern. | |
1997 | ||
dd0ae678 R |
1998 | 2005-08-17 J"orn Rennecke <joern.rennecke@st.com> |
1999 | ||
8a2209bf R |
2000 | * sh.c (sh_gimplify_va_arg_expr): Don't substitute a RECORD_TYPE |
2001 | record with the type of its only member if the modes don't match. | |
2002 | ||
a2dba291 | 2003 | * varasm.c (decode_reg_name): Skip empty additional register names. |
dd0ae678 | 2004 | |
d28cbb07 ZD |
2005 | 2005-08-16 Zdenek Dvorak <dvorakz@suse.cz> |
2006 | ||
2007 | * tree-ssa-loop-im.c (MAX_LSM_NAME_LENGTH, lsm_tmp_name, | |
2008 | lsm_tmp_name_length): New. | |
2009 | (lsm_tmp_name_add, gen_lsm_tmp_name, get_lsm_tmp_name): New functions. | |
2010 | (schedule_sm): Use get_lsm_tmp_name instead of "lsm_tmp". | |
2011 | ||
39bd07e8 UW |
2012 | 2005-08-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
2013 | Andreas Krebbel <krebbel1@de.ibm.com> | |
2014 | ||
2015 | * config.gcc: Added z9-109 switch. | |
2016 | * config/s390/2084.md ("x_int", "x_agen", "x_lr", "x_la", "x_larl", | |
2017 | "x_load", "x_store", "x_branch", "x_call", "x_mul_hi", "x_mul_sidi", | |
c414ac1d EC |
2018 | "x_div", "x_sem", "x_cs", "x_vs", "x_stm", "x_lm", "x_other", |
2019 | "x_fsimpdf", "x_fsimpsf", "x_fdivdf", "x_fdivsf", "x_floaddf", | |
39bd07e8 UW |
2020 | "x_floadsf", "x_fstore_df", "x_fstoresf", "x_ftoi", "x_itof"): Enable |
2021 | for "z9_109" cpu attribute. | |
2022 | * config/s390/s390.c (z9_109_cost): New processor cost structure. | |
2023 | (CONST_OK_FOR_Os, CONST_OK_FOR_Op, CONST_OK_FOR_On): New macros. | |
2024 | (s390_handle_arch_option): Added z9-109 switch. | |
2025 | (override_options): Set respective cost function for z9-109. | |
2026 | (s390_const_ok_for_constraint_p): New constraints Os, Op, On. | |
2027 | (legitimate_reload_constant_p): Accept extended immediates. | |
2028 | (print_operand): Three new output modifiers added: k, m and o. | |
2029 | (s390_adjust_priority, s390_issue_rate): Handle Z9_109 like Z990. | |
2030 | (s390_output_mi_thunk): Use extended immediate when possible. | |
2031 | * config/s390/s390.h (processor_flags): Added PF_EXTIMM. | |
2032 | (TARGET_CPU_EXTIMM, TARGET_EXTIMM): New macros. | |
2033 | (CONSTRAINT_LEN): Added length of O constraint. | |
2034 | (CLZ_DEFINED_VALUE_AT_ZERO): Definition added. | |
2035 | * config/s390/s390.md ("cpu"): New value z9_109 added. | |
c414ac1d | 2036 | ("*tstdi_extimm", "*tstdi_ccconly_extimm", "*tstsi_extimm", |
39bd07e8 UW |
2037 | "*tstsi_cconly_extimm", "*movdi_64extimm", "*extendhidi2_extimm", |
2038 | "*extendqidi2_extimm", "*extendhisi2_extimm", "*extendqisi2_extimm", | |
2039 | "*zero_extend<mode>si2_extimm", "*anddi3_extimm", "*iordi3_extimm", | |
2040 | "*xordi3_extimm", "clzdi2", "clztidi2"): New patterns. | |
2041 | ("*tstdi", "*tstsi", "*movdi_64", "*extendhisi2", "*extendqisi2", | |
2042 | "*zero_extend<mode>si2_64", "zero_extendqihi2", "*zero_extendqihi2_64", | |
2043 | "*anddi3", "*iordi3", "*xordi3"): Disable for TARGET_EXTIMM. | |
2044 | ("*cmpdi_cct", "*cmpsi_cct", "*cmpdi_ccs", "*cmpsi_ccs", "*cmpdi_ccu", | |
2045 | "*cmpsi_ccu", "*movsi_zarch", "*adddi3_imm_cc", "*adddi3_carry1_cc", | |
2046 | "*adddi3_carry2_cc", "*adddi3_cc", "*adddi3_64", "*addsi3_imm_cc", | |
2047 | "*addsi3_carry1_cc", "*addsi3_carry2_cc", "*addsi3_cc", "addsi3", | |
2048 | "*andsi3_cc", "*andsi3_cconly", "*andsi3_zarch", "*iorsi3_cc", | |
2049 | "*iorsi3_cconly", "*iorsi3_zarch", "*xorsi3_cc", "*xorsi3_cconly", | |
c414ac1d | 2050 | "*xorsi3", "*xorhi3", "*xorqi3"): Added instruction using extended |
39bd07e8 UW |
2051 | immediates. |
2052 | ("extend<mode>di2", "extend<mode>si2", "zero_extend<mode>di2", | |
2053 | "zero_extend<mode>si2"): Allow memory operands and don't manually emit | |
2054 | insns for TARGET_EXTIMM. | |
2055 | ||
33d2e547 AK |
2056 | 2005-08-17 Andreas Krebbel <krebbel1@de.ibm.com> |
2057 | ||
2058 | * testsuite/gcc.dg/20020926-1.c: Added "-mesa" to dg-options. | |
2059 | ||
e5eb9a52 NC |
2060 | 2005-08-17 Nick Clifton <nickc@redhat.com> |
2061 | ||
2062 | * config/stormy16/stormy16.c (xstormy16_encode_section_info): | |
2063 | Call default_encode_section_info. | |
2064 | ||
a318e3ac SB |
2065 | 2005-08-17 Steven Bosscher <stevenb@suse.de> |
2066 | ||
2067 | PR tree-optimization/21574 | |
2068 | * tree-ssa-ccp.c (likely_value): If the right hand side is a | |
2069 | constant, return CONSTANT. | |
2070 | (ccp_lattice_meet): Use operand_equal_p instead of simple_cst_equal. | |
2071 | (ccp_fold, visit_assignment): Likewise. | |
2072 | (evaluate_stmt): Handle UNDEFINED and UNKNOWN_VAL the same way. | |
2073 | ||
00d1b1d6 JM |
2074 | 2005-08-16 James A. Morrison <phython@gcc.gnu.org> |
2075 | ||
2076 | * c-typeck.c (build_function_call): Call fold_buildN_initializer or | |
2077 | fold_buildN instead of buildN then fold_initializer or fold. | |
2078 | (build_unary_op): Likewise. | |
2079 | (build_binary_op): Likewise. | |
2080 | * fold-const.c (fold_initializer): Remove. | |
2081 | (fold_build1_initializer): New function. | |
2082 | (fold_build2_initializer): New function. | |
2083 | (fold_build3_initializer): New function. | |
2084 | * tree.h (fold_initializer): Remove. | |
2085 | (fold_build1_initializer): New function. | |
2086 | (fold_build2_initializer): New function. | |
2087 | (fold_build3_initializer): New function. | |
2088 | ||
f457cf40 JM |
2089 | 2005-08-16 James A. Morrison <phython@gcc.gnu.org> |
2090 | ||
2091 | * fold-const.c (optimize_bit_field_compare): Remove extra fold call. | |
2092 | (try_move_mult_to_index): Call fold_build2 instead of build2. | |
2093 | (fold_binary): Don't call fold after calls to try_move_mult_to_index. | |
2094 | * tree-ssa-loop-niter.c (inverse): Call int_const_binop instead of | |
2095 | fold_binary_to_constant. | |
2096 | (infer_loop_bounds_from_undefined): Call fold_build2 instead of | |
2097 | fold (build. | |
2098 | * tree-data-ref.c (tree_fold_divides_p): Use tree_int_cst_equal to | |
2099 | check if A == gcd (A, B). Remove TYPE argument. | |
2100 | (analyze_offset) Use fold_build2 instead of fold (build. | |
2101 | (create_data_ref): Likewise. | |
2102 | (analyze_siv_subscript_cst_affine): Update calls to tree_fold_divides_p. | |
2103 | * tree-ssa-ccp.c (widen_bitfield): Call fold_build2 instead of build2 | |
2104 | then fold. | |
2105 | ||
4c617d12 KC |
2106 | 2005-08-17 Kelley Cook <kcook@gcc.gnu.org> |
2107 | ||
2108 | * config/arm/unaligned-funcs.c,config/i386/crtfastmath.c, | |
2109 | ipa-cp.c,ipa-prop.c,ipa-prop.h: Update FSF address. | |
2110 | ||
d06526b7 AP |
2111 | 2005-08-16 Andrew Pinski <pinskia@physics.uc.edu> |
2112 | ||
2113 | PR tree-opt/23402 | |
2114 | * gimplify.c (zero_sized_type): New function. | |
2115 | (gimplify_modify_expr_rhs): If we have a zero sized type, | |
2116 | replace the statement with an empty statement. | |
2117 | ||
e9e68ae3 L |
2118 | 2005-08-16 H.J. Lu <hongjiu.lu@intel.com> |
2119 | ||
2120 | * config/i386/crtfastmath.c (set_fast_math): Add "=m" for | |
2121 | fxsave. | |
2122 | ||
e374d5c9 ILT |
2123 | 2005-08-16 Ian Lance Taylor <ian@airs.com> |
2124 | ||
2125 | * doc/tm.texi (Label Output): Correct typo. | |
2126 | ||
f2dd440f SB |
2127 | 2005-08-16 Steven Bosscher <stevenb@suse.de> |
2128 | ||
2129 | PR target/23376 | |
2130 | * loop-unroll.c (analyze_insn_to_expand_var): Make sure that | |
2131 | force_operand will work later on using have_insn_for. | |
2132 | ||
196f5a8d VR |
2133 | 2005-08-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
2134 | ||
2135 | * fold-const.c (tree_expr_nonnegative_p): Regroup cases. | |
2136 | ||
cf0efa6a ILT |
2137 | 2005-08-16 Ian Lance Taylor <ian@airs.com> |
2138 | ||
2139 | PR c++/23337 | |
2140 | * gimplify.c (gimplify_init_ctor_eval): If we see an element of | |
2141 | vector type, don't try to construct it element by element. Add an | |
2142 | assertion that we use a FIELD_DECL when building a COMPONENT_REF. | |
2143 | ||
3a69437a VR |
2144 | 2005-08-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
2145 | ||
2146 | * fold-const.c (fold_ternary): Simplify folding of a CALL_EXPR. | |
2147 | ||
17ccdd2c GK |
2148 | 2005-08-16 Geoffrey Keating <geoffk@apple.com> |
2149 | ||
2150 | * doc/invoke.texi (Precompiled Headers): Document some more options | |
2151 | which are known to be safe. | |
2152 | ||
355a9e43 JW |
2153 | 2005-08-16 James E Wilson <wilson@specifix.com> |
2154 | ||
2155 | PR tree-optimization/21105 | |
2156 | * c-decl.c (grokdeclarator): Use TYPE_SIZE_UNIT not TYPE_SIZE in | |
2157 | TREE_OVERFLOW check. | |
2158 | ||
ce45ef46 DE |
2159 | 2005-08-16 David Edelsohn <edelsohn@gnu.org> |
2160 | ||
2161 | * config/rs6000/rs6000.md (ltu<mode>): Convert to mode macro. | |
2162 | (neg_ltu<mode>): Same. | |
2163 | (gtu<mode>): Same. | |
2164 | (neg_gtu<mode>): Same. | |
2165 | ||
543e2cc3 VR |
2166 | 2005-08-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
2167 | ||
2168 | * builtins.c (expand_builtin_strcat): Remove superfluous call to fold. | |
2169 | (fold_builtin_isdigit): Use fold_buildN. | |
2170 | (build_function_call_expr): Likewise. | |
2171 | * c-typeck.c (c_finish_loop): Likewise. | |
2172 | ||
28f52a4d | 2173 | 2005-08-16 J"orn Rennecke <joern.rennecke@st.com> |
85199961 | 2174 | Richard Shann <rshann@superh.com> |
28f52a4d R |
2175 | |
2176 | PR middle-end/20396: | |
2177 | * optabs.c (expand_binop): Take TRULY_NOOP_TRUNCATION into account. | |
2178 | ||
546ad2d9 SP |
2179 | 2005-08-16 Sebastian Pop <pop@cri.ensmp.fr> |
2180 | ||
2181 | * tree-ssa-loop-niter.c (scev_probably_wraps_p): Reword a comment. | |
2182 | ||
39c39be0 RE |
2183 | 2005-08-15 Richard Earnshaw <richard.earnshaw@arm.com> |
2184 | ||
2185 | PR target/23355 | |
c414ac1d | 2186 | * arm.c (thumb_compute_save_reg_mask): Use similar logic to |
39c39be0 RE |
2187 | arm_compure_save_reg0_reg12_mask to determine when the PIC register |
2188 | must be saved. | |
2189 | ||
f60c951c JDA |
2190 | 2005-08-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2191 | ||
2192 | PR middle-end/23369 | |
2193 | * fold-const.c (build_range_check): Disable optimization for function | |
2194 | pointer expressions on targets that require function pointer | |
2195 | canonicalization. | |
2196 | ||
5b5dc475 UW |
2197 | 2005-08-15 Ulrich Weigand <uweigand@de.ibm.com> |
2198 | ||
2199 | * simplify-rtx.c (simplify_const_relational_operation): When | |
2200 | extracting arguments of a COMPARE, recompute the mode as well. | |
2201 | ||
1595ec20 ILT |
2202 | 2005-08-15 Ian Lance Taylor <ian@airs.com> |
2203 | ||
2204 | * tree.c (build_string): Mark tree CONSTANT and INVARIANT. | |
2205 | ||
eb5f0c07 DD |
2206 | 2005-08-15 DJ Delorie <dj@redhat.com> |
2207 | ||
2208 | * config/m32c/mov.md (movqi_op): Immediates can't be moved to | |
2209 | the stack. | |
2210 | (movsi_splittable): Allow, but split, moves to the stack. | |
2211 | * config/m32c/m32c.c (m32c_split_move): Always split moves to the | |
2212 | stack. | |
2213 | ||
06145cb9 KG |
2214 | 2005-08-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2215 | ||
2216 | * aclocal.m4 (gcc_AC_FUNC_PRINTF_PTR): Delete. | |
2217 | * configure.ac: Don't call gcc_AC_FUNC_PRINTF_PTR. | |
2218 | * system.h (HOST_PTR_PRINTF): Don't define, poison it. | |
c414ac1d | 2219 | |
06145cb9 KG |
2220 | * bitmap.c, c-decl.c, config/i386/i386-interix.h, |
2221 | config/iq2000/iq2000.c, mips-tfile.c, print-rtl.c, print-tree.c: | |
2222 | Delete HOST_PTR_PRINTF. | |
2223 | ||
2224 | * configure, config.in: Regenerate. | |
2225 | ||
b5568f07 DE |
2226 | 2005-08-15 David Edelsohn <edelsohn@gnu.org> |
2227 | ||
2228 | * config/rs6000/rs6000.md (QHSI): New mode macro. | |
2229 | (wd): Extend mode attr for QImode and HImode | |
2230 | (dbits): New mode attr. | |
2231 | (zero_extend<mode>di2): Convert to mode macro. | |
2232 | ||
a73035ae SE |
2233 | 2005-08-15 Steve Ellcey <sje@cup.hp.com> |
2234 | ||
2235 | PR target/21841 | |
2236 | * doc/invoke.texi (-mgnu-ld): Update description. | |
2237 | (-mhp-ld): Ditto. | |
2238 | ||
7e0923cd SP |
2239 | 2005-08-15 Sebastian Pop <pop@cri.ensmp.fr> |
2240 | ||
2241 | PR 23391 | |
2242 | * Makefile.in (tree-chrec.o): Depends on real.h. | |
2243 | * tree-chrec.c: Include real.h. | |
2244 | (chrec_fold_plus_poly_poly, chrec_fold_multiply_poly_poly, | |
2245 | chrec_fold_plus_1): Use build_real for SCALAR_FLOAT_TYPE_P. | |
2246 | * tree-scalar-evolution.c (add_to_evolution_1, | |
2247 | interpret_rhs_modify_expr): Ditto. | |
2248 | ||
852c19aa SP |
2249 | 2005-08-15 Sebastian Pop <pop@cri.ensmp.fr> |
2250 | ||
2251 | PR 23386 | |
2252 | * tree-data-ref.c (estimate_niter_from_size_of_data): When | |
2253 | step is negative compute the estimation from init downwards to zero. | |
c414ac1d | 2254 | |
b23dce24 JM |
2255 | 2005-08-14 James A. Morrison <phython@gcc.gnu.org> |
2256 | ||
2257 | * fold-const (fold_binary): Call fold_build2 instead of fold (build. | |
2258 | ||
11598938 UW |
2259 | 2005-08-14 Ulrich Weigand <uweigand@de.ibm.com> |
2260 | ||
2261 | * config/s390/s390.c (s390_const_ok_for_constraint_p): Add 'P' | |
2262 | constraint. | |
2263 | (legitimate_reload_constant_p): Fix handling of lliXX operands. | |
2264 | Accept double-word constants that can be split. | |
2265 | * config/s390/s390.md ("movti"): Use 'P' constraint. | |
2266 | ("*movdi_31", "*movdf_31"): Likewise. | |
2267 | ||
8971094d DB |
2268 | 2005-08-14 Daniel Berlin <dberlin@dberlin.org> |
2269 | ||
2270 | Fix PR tree-optimization/22615 | |
c414ac1d | 2271 | |
8971094d | 2272 | * tree-ssa-structalias.c (solution_set_add): Handle |
c414ac1d | 2273 | first_vi_for_offset returning NULL. |
8971094d DB |
2274 | (do_da_constraint): Ditto. |
2275 | (do_sd_constraint): Ditto. | |
2276 | (do_ds_constraint): Ditto | |
2277 | (find_func_aliases): Ditto. | |
2278 | (build_constraint_graph): RHS is allowed be ANYTHING. | |
2279 | (first_vi_for_offset): Return NULL if we couldn't find anything at | |
2280 | the offset. | |
c414ac1d | 2281 | |
c5b2a111 UW |
2282 | 2005-08-14 Ulrich Weigand <uweigand@de.ibm.com> |
2283 | ||
2284 | * config/s390/s390.c (s390_canonicalize_comparison): Prefer register | |
2285 | over memory as first operand. | |
2286 | ||
adb7b764 L |
2287 | 2005-08-14 H.J. Lu <hongjiu.lu@intel.com> |
2288 | ||
2289 | PR target/23360 | |
2290 | * config/i386/crtfastmath.c (set_fast_math): Check if DAZ is | |
2291 | available for setting it. | |
2292 | ||
1f400bbb IR |
2293 | 2005-08-14 Ira Rosen <irar@il.ibm.com> |
2294 | ||
2295 | PR tree-optimization/23320 | |
c414ac1d EC |
2296 | * tree-data-ref.c (base_addr_differ_p): Add comment. Check |
2297 | data-refs' types instead of base object nullness. Add check for | |
2298 | pointer type data-refs before first location comparison. Remove | |
1f400bbb IR |
2299 | assert. |
2300 | ||
db875b15 AS |
2301 | 2005-08-14 Andreas Schwab <schwab@suse.de> |
2302 | ||
2303 | * doc/md.texi (Machine Constraints): Fix misplaced @end table. | |
2304 | ||
0aca9021 JW |
2305 | 2005-08-13 James E Wilson <wilson@specifix.com> |
2306 | ||
2307 | * doc/cpp.texi (__SSP__, __SSP_ALL__): Document. | |
2308 | * doc/invoke.texi (-Wstack-protector, -fstack-protector, | |
2309 | -fstack-protector-all, --param ssp-buffer-size): Document. | |
2310 | (-Wvariadic-macros): Alphabetize. | |
2311 | (-fsched-stalled-insns-dep): Add missing 'f'. | |
2312 | ||
0ffb94cd JW |
2313 | * c-cppbuiltin.c (c_cpp_builtins): Add comment for flag_stack_protect |
2314 | macros. | |
2315 | ||
3256a76e DE |
2316 | 2005-08-13 David Edelsohn <edelsohn@gnu.org> |
2317 | ||
2318 | * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 'a' for indexed | |
2319 | or indirect address operand. | |
2320 | (EXTRA_ADDRESS_CONSTRAINT): New. | |
2321 | * config/rs6000/rs6000.md (prefetch): Change constraint "p" to "a". | |
2322 | ||
d7770457 SP |
2323 | 2005-08-13 Sebastian Pop <pop@cri.ensmp.fr> |
2324 | ||
2325 | PR tree-optimization/22236 | |
2326 | * tree-cfg.c (print_pred_bbs, print_succ_bbs): Correctly print | |
2327 | successors and predecessors. | |
2328 | * tree-chrec.c (chrec_convert): Before converting, check that | |
2329 | sequences don't wrap. | |
2330 | * tree-data-ref.c (compute_estimated_nb_iterations): Moved ... | |
2331 | (analyze_array): Extern. | |
2332 | (find_data_references_in_loop): Remove call to | |
2333 | compute_estimated_nb_iterations. | |
2334 | * tree-data-ref.h (analyze_array): Declared. | |
2335 | * tree-flow-inline.h (single_ssa_tree_operand, single_ssa_use_operand, | |
2336 | single_ssa_def_operand, zero_ssa_operands): Fix documentation. | |
2337 | * tree-flow.h (scev_probably_wraps_p): Declare with an extra parameter. | |
c414ac1d | 2338 | * tree-scalar-evolution.c (instantiate_parameters_1): Factor entry |
d7770457 SP |
2339 | condition. |
2340 | * tree-ssa-loop-ivcanon.c: Fix documentation. | |
2341 | * tree-ssa-loop-ivopts.c (idx_find_step): Add a fixme note. | |
2342 | * tree-ssa-loop-niter.c (compute_estimated_nb_iterations): ... here. | |
2343 | (infer_loop_bounds_from_undefined): New. | |
2344 | (estimate_numbers_of_iterations_loop): Use | |
2345 | infer_loop_bounds_from_undefined. | |
2346 | (used_in_pointer_arithmetic_p): New. | |
2347 | (scev_probably_wraps_p): Pass an extra parameter. Call | |
2348 | used_in_pointer_arithmetic_p. Check that AT_STMT is not null. | |
2349 | (convert_step): Fix documentation. | |
2350 | * tree-vrp.c (adjust_range_with_scev): Call instantiate_parameters. | |
2351 | Use initial_condition_in_loop_num and evolution_part_in_loop_num | |
2352 | instead of CHREC_LEFT and CHREC_RIGHT. Adjust the call to | |
2353 | scev_probably_wraps_p. | |
2354 | ||
e2df5c1d UW |
2355 | 2005-08-13 Ulrich Weigand <uweigand@de.ibm.com> |
2356 | ||
2357 | * config/s390/s390.c (s390_split_branches): Revert 2005-08-12 change. | |
2358 | (s390_register_info): Ignore clobbered_regs information for fixed | |
2359 | registers, and only fixed registers. | |
2360 | (s390_init_frame_layout): Remove redundant call. | |
2361 | ||
7cd5c075 GP |
2362 | 2005-08-12 Gerald Pfeifer <gerald@pfeifer.com> |
2363 | ||
c414ac1d | 2364 | * doc/invoke.texi (C++ Dialect Options): Add dynamic_cast to |
7cd5c075 GP |
2365 | description of -Wold-style-casts. |
2366 | ||
7b8acc34 AK |
2367 | 2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> |
2368 | Jakub Jelinek <jakub@redhat.com> | |
2369 | ||
2370 | * config/s390/linux.h (TARGET_THREAD_SSP_OFFSET): Define. | |
2371 | * config/s390/s390-protos.h (s390_get_thread_pointer): Prototype added. | |
2372 | * config/s390/s390.c (print_operand): New output modifier 'G' added. | |
2373 | (get_thread_pointer): Renamed to s390_get_thread_pointer. | |
2374 | * config/s390/s390.md (stack_protect_set, stack_protect_test): If | |
2375 | TARGET_THREAD_SSP_OFFSET is defined, change operands[1] to | |
2376 | (MEM:P (PLUS:P (tp, TARGET_THREAD_SSP_OFFSET))). | |
2377 | (UNSPEC_SP_SET, UNSPEC_SP_TEST): New constants. | |
2378 | ("stack_protect_set", "stack_protect_test"): New expanders. | |
2379 | ("stack_protect_setsi", "stack_protect_setdi", "stack_protect_testsi", | |
2380 | "stack_protect_testdi"): New insn definitions. | |
2381 | ||
4700982d AK |
2382 | 2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> |
2383 | ||
2384 | * config/s390/s390.md ("*movdf_31"): Changed constraint from P to K. | |
2385 | ||
3c60bed5 PB |
2386 | 2005-08-12 Paul Brook <paul@codesourcery.com> |
2387 | ||
2388 | * config/arm/lib1funcs.asm: Error if __ARM_ARCH__ not set. | |
2389 | ||
f83a336d AK |
2390 | 2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> |
2391 | ||
2392 | * config/s390/predicates.md (setmem_operand): New predicate. | |
2393 | (shift_count_operand): Accept ANDs with special constants as | |
2394 | operand. | |
2395 | * config/s390/s390.c (print_shift_count_operand): Skip ANDs | |
2396 | with special constants. | |
2397 | * config/s390/s390.md ("setmem_long", "*setmem_long"): Replaced | |
2398 | shift_count_operand with setmem_operand. | |
2399 | ||
c4d50129 AK |
2400 | 2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> |
2401 | ||
2402 | * config/s390/s390.c (s390_extract_part, s390_single_part): | |
2403 | Type cast added. | |
2404 | (s390_const_ok_for_constraint_p): Added SImode to the N constraint. | |
2405 | (s390_output_mi_thunk): Don't use lg on 31 bit. | |
2406 | * config/s390/s390.md ("*movdi_31", "*movdf_31"): Added lmy and stmy. | |
2407 | ("*llgt_sisi" and splitter): Replaced TARGET_64BIT with TARGET_ZARCH. | |
2408 | ||
b5c67a49 AK |
2409 | 2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> |
2410 | ||
2411 | * config/s390/s390.c (CONST_OK_FOR_J, CONST_OK_FOR_K): New macros. | |
2412 | (s390_select_ccmode, s390_rtx_costs, legitimate_reload_constant_p, | |
2413 | s390_init_frame_layout, s390_emit_prologue, s390_emit_epilogue, | |
2414 | s390_output_mi_thunk): Replaced uses of CONST_OK_FOR_CONSTRAINT_P | |
2415 | with one of the new macros. | |
2416 | ||
dc4477f5 AK |
2417 | 2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> |
2418 | ||
c414ac1d | 2419 | * config/s390/s390.c (s390_split_branches, s390_init_frame_layout): |
dc4477f5 AK |
2420 | Don't set save_return_addr_p. |
2421 | (s390_register_info): Make clobbered_regs not depending on | |
2422 | save_return_addr_p. | |
2423 | ||
ec92bd4b KK |
2424 | 2005-08-12 Kaz Kojima <kkojima@gcc.gnu.org> |
2425 | ||
2426 | * gcc.c (LINK_SSP_SPEC): Remove space before a trailing }. | |
2427 | (LINK_COMMAND_SPEC): Add space after %(link_ssp). | |
2428 | ||
8c2efff7 JW |
2429 | 2005-08-11 James E. Wilson <wilson@specifix.com> |
2430 | ||
2431 | * config/ia64/ia64.h (EXTRA_MEMORY_CONSTRAINT): New. | |
2432 | ||
ea93971a JJ |
2433 | 2005-08-11 Jakub Jelinek <jakub@redhat.com> |
2434 | ||
86bd8ebf JJ |
2435 | * dwarf2out.c (add_location_or_const_value_attribute): Prefer |
2436 | locations gathered by var-tracking in single entry loc_list | |
2437 | over loc_descriptor_from_tree. | |
2438 | ||
ea93971a JJ |
2439 | * dwarf2out.c (concat_loc_descriptor): Add can_use_fbreg argument, |
2440 | pass it down to loc_descriptor. | |
2441 | (loc_descriptor): Pass can_use_fbreg to concat_loc_descriptor. | |
2442 | (containing_function_has_frame_base): Move earlier in the file. | |
2443 | (loc_descriptor_from_tree_1): Use containing_function_has_frame_base | |
2444 | instead of always assuming fbreg can't be used. | |
2445 | ||
dec1f3aa DE |
2446 | 2005-08-11 David Edelsohn <edelsohn@gnu.org> |
2447 | ||
2448 | * config/rs6000/altivec.md: Change constraint "m" to "Z". | |
2449 | * config/rs6000/predicates.md (indexed_or_indirect_operand): | |
2450 | Accept address wrapped in AND for Altivec. | |
2451 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): | |
2452 | Strip AND wrapping offset address for Altivec. | |
2453 | ||
7fd6694b RH |
2454 | 2005-08-11 Richard Henderson <rth@redhat.com> |
2455 | ||
2456 | PR middle-end/23312 | |
2457 | * gimplify.c (gimplify_one_sizepos): Check for INTEGER_TYPE | |
2458 | before using TYPE_IS_SIZETYPE. | |
2459 | ||
4ead2a39 RH |
2460 | 2005-08-11 Richard Henderson <rth@redhat.com> |
2461 | ||
2462 | PR target/22225 | |
2463 | * config/alpha/alpha.c (alphaev4_insn_pipe): Add take pipes for | |
2464 | insn types not present on ev4. | |
2465 | (alphaev5_insn_pipe): Similarly. | |
2466 | ||
da8ce8be RE |
2467 | 2005-08-11 Richard Earnshaw <richard.earnshaw@arm.com> |
2468 | ||
2469 | PR target/23250 | |
2470 | * arm.c (arm_override_options): If the user has selected callee-super- | |
2471 | interworking, then enable normal interworking. | |
2472 | ||
eb2b0cc0 RO |
2473 | 2005-08-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2474 | ||
2475 | * config/i386/x86-64.h (ASM_OUTPUT_ALIGNED_BSS): Undef before | |
2476 | redefinition. | |
2477 | ||
b630e240 WZ |
2478 | 2005-08-11 Wu Zhou <woodzltc@cn.ibm.com> |
2479 | ||
2480 | * doc/rtl.texi: Fix two typos. | |
2481 | ||
cac32996 RG |
2482 | 2005-08-11 Richard Guenther <rguenther@suse.de> |
2483 | ||
2484 | PR target/23289 | |
2485 | * config/i386/i386.c (ix86_function_ok_for_sibcall): Handle | |
2486 | cases where we call to/from functions returning void. | |
2487 | ||
a4faac50 JM |
2488 | 2005-08-10 James A. Morrison <phython@gcc.gnu.org> |
2489 | ||
2490 | PR c++/23225 | |
2491 | * tree.c (build_pointer_type_for_mode): Robustify. | |
2492 | ||
907f033f JW |
2493 | 2005-08-10 James E Wilson <wilson@specifix.com> |
2494 | ||
2495 | * defaults.h, config/alpha/alpha.h, config/ia64/ia64.h | |
2496 | (ASM_OUTPUT_ADDR_VEC_ELT): Delete. | |
2497 | ||
2498 | * config/alpha/alpha.c (alpha_arg_partial_bytes): Change "(CUM)." to | |
2499 | "cum->". | |
2500 | ||
bb8df8a6 EC |
2501 | 2005-08-10 Eric Christopher <echristo@apple.com> |
2502 | ||
2503 | * config/rs6000/rs6000.c (mems_ok_for_quad_peep): Rewrite. | |
2504 | * config/rs6000/rs6000.md (*lfq_power2, *stfq_power2): Use | |
2505 | V2DFmode. | |
2506 | ||
4f8dbd34 AP |
2507 | 2005-08-10 Andrew Pinski <pinskia@physics.uc.edu> |
2508 | ||
ce31ea84 | 2509 | PR target/21887 |
4f8dbd34 AP |
2510 | * config/darwin.c (machopic_indirect_data_reference): Use a new register |
2511 | for the high part when generating dynamic-no-pic code. | |
2512 | ||
d75e02d6 L |
2513 | 2005-08-10 H.J. Lu <hongjiu.lu@intel.com> |
2514 | ||
2515 | * config.gcc (i[34567]86-*-linux*): Add i386/t-crtfm to tm-file. | |
2516 | (x86_64-*-linux*): Likewise. | |
2517 | ||
2518 | * config/i386/crtfastmath.c: New file. | |
2519 | * config/i386/t-crtfm: Likewise. | |
2520 | ||
2521 | * config/i386/linux.h (ENDFILE_SPEC): New. | |
2522 | * config/i386/linux64.h (ENDFILE_SPEC): Likewise. | |
2523 | ||
2524 | * config/i386/t-linux64 (EXTRA_MULTILIB_PARTS): Add | |
2525 | crtfastmath.o. | |
2526 | ||
61abee65 DN |
2527 | 2005-08-10 Dorit Nuzman <dorit@il.ibm.com> |
2528 | ||
2529 | * doc/md.texi: (reduc_smin, reduc_umin, reduc_splus, reduc_uplus): | |
2530 | (vec_shl, vec_shr): Document new operations. | |
2531 | * tree.def (VEC_RSHIFT_EXPR, VEC_LSHIFT_EXPR): Fix comment. | |
2532 | ||
11aac14f DE |
2533 | 2005-08-10 David Edelsohn <edelsohn@gnu.org> |
2534 | ||
2535 | * config/rs6000/predicates.md (indexed_or_indirect_address): New. | |
2536 | * config/rs6000/rs6000.md (prefetch): Remove operand 0 mode and | |
2537 | change predicate to indexed_or_indirect_address. | |
2538 | ||
9bd05108 RS |
2539 | 2005-08-10 Richard Sandiford <richard@codesourcery.com> |
2540 | ||
2541 | * config/arm/lib1funcs.asm (__aeabi_uidiv, __aeabi_idiv): New aliases. | |
2542 | * config/arm/libgcc-bpabi.ver (GCC_3.5): Add __aeabi_idiv, | |
2543 | __aeabi_uidiv, __aeabi_uread4, __aeabi_uread8, __aeabi_uwrite4 | |
2544 | and __aeabi_uwrite8. | |
2545 | * config/arm/unaligned-funcs.c: New file. | |
2546 | * config/arm/t-bpabi (LIB2FUNCS_EXTRA): Add unaligned-funcs.c. | |
2547 | ||
defb77dc PB |
2548 | 2005-08-09 Paolo Bonzini <bonzini@gnu.org> |
2549 | ||
2550 | * bb-reorder.c (pass_duplicate_computed_gotos, pass_partition_blocks): | |
2551 | Add dump. | |
2552 | * cfglayout.c (pass_insn_locators_initialize): Add dump. | |
2553 | * emit-rtl.c (pass_unshare_all_rtl, pass_remove_unnecessary_notes): | |
2554 | Add dump. | |
2555 | * except.c (pass_convert_to_eh_region_ranges): Add dump. | |
2556 | * final.c (pass_shorten_branches): Add dump. | |
2557 | * flow.c (pass_recompute_reg_usage, pass_remove_death_notes): Add dump. | |
2558 | (pass_life): Rename dump. | |
2559 | (rest_of_handle_flow2): Remove initial verify_flow_info. | |
2560 | * function.c (pass_instantiate_virtual_regs): Add dump. | |
2561 | * integrate.c (pass_initial_value_sets): Add dump. | |
2562 | * jump.c (pass_cleanup_barriers, pass_purge_lineno_notes): Add dump. | |
2563 | * loop-init.c (pass_rtl_loop_init, pass_rtl_loop_done): Rename dump. | |
2564 | (pass_rtl_move_loop_invariants, pass_rtl_unswitch, pass_rtl_doloop, | |
2565 | pass_rtl_unroll_and_peel_loops): Rename dump and add gate. | |
2566 | (gate_rtl_move_loop_invariants, gate_rtl_unswitch, gate_rtl_doloop, | |
2567 | gate_rtl_unrool_and_peel_loops): New. | |
2568 | (rtl_move_loop_invariants, rtl_unswitch, rtl_unrool_and_peel_loops, | |
2569 | rtl_doloop): Do not look at flags. | |
2570 | * mode-switching.c (pass_mode_switching): Add dump. | |
2571 | * recog.c (pass_split_all_insns, pass_split_for_shorten_branches, | |
2572 | pass_split_before_regstack): Add dump. | |
2573 | * regmove.c (pass_stack_adjustments): Add dump. | |
2574 | * tree-optimize.c (pass_fixup_cfg): Add dump. | |
2575 | ||
2a6a63c1 KI |
2576 | 2005-08-10 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
2577 | ||
2578 | PR 23309 | |
2579 | * config/m32r/m32r.c (m32r_reload_lr): Fix off by one error when | |
2580 | deciding which instruction sequence to use. | |
2581 | ||
0ed414a4 DN |
2582 | 2005-08-09 Dorit Nuzman <dorit@il.ibm.com> |
2583 | ||
bb8df8a6 | 2584 | * tree-vect-transform.c (vect_create_epilog_for_reduction): Set |
0ed414a4 DN |
2585 | BIT_FIELD_REF_UNSIGNED for newly created BIT_FIELD_REFs. |
2586 | ||
9bc15050 RG |
2587 | 2005-08-09 Richard Guenther <rguenther@suse.de> |
2588 | ||
2589 | * c-common.c (builtin_function_2): Remove. | |
2590 | (def_builtin_1): New function. | |
2591 | (c_common_nodes_and_builtins): Use def_builtin_1 to | |
2592 | build builtin functions. | |
2593 | ||
07da68fd JZ |
2594 | 2005-08-09 Jie Zhang <jie.zhang@analog.com> |
2595 | ||
2596 | * config/bfin/uclinux.h (NO_IMPLICIT_EXTERN_C): Define. | |
2597 | * config/bfin/elf.h (NO_IMPLICIT_EXTERN_C): Define. | |
2598 | * config/bfin/bfin.c (bfin_return_in_memory): Update to really match | |
2599 | Visual DSP. | |
2600 | ||
2f133f46 JM |
2601 | 2005-08-09 James A. Morrison <phython@gcc.gnu.org> |
2602 | ||
2603 | * tree-ssa-loop-niter.c (tree_simplify_using_condition_1): Use | |
2604 | fold_binary instead of fold_build2 since we don't care about the | |
2605 | resulting tree. | |
2606 | (loop_niter_by_eval): Likewise. | |
2607 | (compare_trees): Likewise. | |
2608 | (proved_non_wrapping_p): Likewise. | |
2609 | ||
f14e694e JM |
2610 | 2005-08-09 James A. Morrison <phython@gcc.gnu.org> |
2611 | ||
2612 | PR c/23161 | |
2613 | PR c/23165 | |
2614 | * c-typeck.c (c_finish_if_stmt): Look into STATEMENT_LISTs to see | |
2615 | if the if is really empty. | |
2616 | ||
2ef571e2 SB |
2617 | 2005-08-09 Steven Bosscher <stevenb@suse.de> |
2618 | ||
2619 | PR tree-optimization/23234 | |
2620 | * tree-ssa-math-opts.c (place_reciprocal): New enum. | |
2621 | (execute_cse_reciprocals_1): Replace the 'phi' argument with an | |
2622 | argument of the new enum. | |
2623 | (execute_cse_reciprocals): Add reciprocals for function arguments | |
2624 | on the unique successor edge of the entry block. Update other calls | |
2625 | to execute_cse_reciprocals_1. | |
2626 | ||
a9c5ddf9 RH |
2627 | 2005-08-08 Richard Henderson <rth@redhat.com> |
2628 | ||
2629 | PR 22439 | |
2630 | * gimplify.c (gimplify_one_sizepos): Preserve the original type. | |
2631 | ||
22469409 BW |
2632 | 2005-08-08 Bob Wilson <bob.wilson@acm.org> |
2633 | ||
2634 | * expr.c (write_complex_part): Return after handling MEM. | |
2635 | ||
2d88fcc2 JC |
2636 | 2005-08-08 Josh Conner <jconner@apple.com> |
2637 | ||
2638 | PR rtl-optimization/23241 | |
2639 | * combine.c (simplify_comparison): Fix error in determining | |
2640 | whether to lift a subreg from comparison. | |
2641 | ||
7a4eca66 DE |
2642 | 2005-08-08 David Edelsohn <edelsohn@gnu.org> |
2643 | ||
2644 | PR target/18506 | |
2645 | * config/rs6000/altivec.md (vec_init<mode>): New. | |
2646 | (vec_set<mode>): New. | |
2647 | (vec_extract<mode>): New. | |
2648 | * config/rs6000/rs6000.c (rs6000_expand_vector_init): New. | |
2649 | (rs6000_expand_vector_set): New. | |
2650 | (rs6000_expand_vector_extract): New. | |
2651 | (rs6000_legitimate_offset_address_p): Offset addresses are valid | |
2652 | for Altivec modes before reload. | |
2653 | (altivec_expand_vec_init_builtin): New. | |
2654 | (get_element_number): New. | |
2655 | (altivec_expand_vec_set_builtin): New. | |
2656 | (altivec_expand_vec_ext_builtin): New. | |
2657 | (altivec_expand_builtin): Expand vec_init, vec_set, and vec_ext | |
2658 | builtins. | |
2659 | (altivec_init_builtins): Init vec_init, vec_set, and vec_ext | |
2660 | builtins. | |
2661 | * config/rs6000/rs6000.h (rs6000_builtins): Add | |
2662 | ALTIVEC_BUILTIN_VEC_INIT_<mode>, ALTIVEC_BUILTIN_VEC_SET_<mode>, | |
2663 | ALTIVEC_BUILTIN_VEC_EXT_<mode>. | |
2664 | * config/rs6000/rs6000-protos.h: Declare new functions. | |
2665 | ||
47efdea4 JH |
2666 | 2005-08-08 Jan Hubicka <jh@suse.cz> |
2667 | ||
2668 | * i386.c (legitimate_pic_address_disp_p): Refuse GOTOFF in 64bit mode. | |
2669 | (legitimate_address_p): Refuse GOT and GOTOFF in 64bit mode. | |
2670 | * i386.md (movdi*): Use pic_32bit_operand. | |
2671 | * predicates.md (pic_32bit_operand): New. | |
2672 | ||
f303a996 NS |
2673 | 2005-08-08 Nathan Sidwell <nathan@codesourcery.com> |
2674 | ||
2675 | PR c++/21166 | |
2676 | * stor-layout.c (finalize_type_size): Undo DECL_PACKED when possible. | |
2677 | ||
a5ad7269 JM |
2678 | 2005-08-07 James A. Morrison <phython@gcc.gnu.org> |
2679 | ||
2680 | * tree-vrp.c (simplify_div_or_mod_using_range): Use build2. | |
2681 | (test_for_singularity): Use fold_build2. | |
2682 | ||
914a6ee8 JDA |
2683 | 2005-08-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2684 | ||
2685 | * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Fix loop upper bound. | |
2686 | ||
f18faab7 DS |
2687 | 2005-08-07 Danny Smith <dannysmith@users.sourceforge.net> |
2688 | ||
2689 | * config/i386/cygming.h (SUBTARGET_ENCODE_SECTION_INFO): Define. | |
2690 | (COMMON_ASM_OP) Define. | |
2691 | * config/i386/i386.c (ix86_in_large_data_p): Add ATTRIBUTE_UNUSED | |
2692 | (ix86_encode_section_info): Likewise. | |
2693 | (TARGET_ENCODE_SECTION_INFO): Conditionally define as | |
2694 | SUBTARGET_ENCODE_SECTION_INFO. | |
2695 | ||
455c08cb RH |
2696 | 2005-08-06 Richard Henderson <rth@redhat.com> |
2697 | ||
2698 | PR 21894 | |
2699 | * tree-nested.c (convert_local_reference): Save and restore val_only | |
2700 | around component_ref and friends. Clear walk_subtrees by default. | |
2701 | ||
3300bf07 PG |
2702 | 2005-08-06 Peter O'Gorman <peter@pogma.com> |
2703 | ||
2704 | PR 21366 | |
2705 | * gcc.c (process_command): Check the argument to -b has a dash. | |
2706 | * doc/invoke.texi: Update -b and -V docs. | |
2707 | ||
e2ba06d6 JW |
2708 | 2005-08-06 James E Wilson <wilson@specifix.com> |
2709 | ||
2710 | * config/mips/cross64.h, config/mips/t-cross64: Delete. | |
2711 | ||
3e0a6ca6 MM |
2712 | 2005-08-06 Michael Matz <matz@suse.de> |
2713 | ||
2714 | * genattrtab.c (write_attr_get, write_attr_case): Use insn_code | |
2715 | member only if only one insn is associated with the value. | |
2716 | ||
2f806f3b NC |
2717 | 2005-08-06 Nick Clifton <nickc@redhat.com> |
2718 | ||
2719 | * config/stormy16/stormy16.h (SYMBOL_FLAG_XSTORMY16_BELOW100): | |
2720 | New define. | |
3e0a6ca6 | 2721 | (ASM_OUTPUT_LABELREF): Delete - it is no longer needed. |
2f806f3b NC |
2722 | * config/stormy16/stormy16.c (xstormy16_below100_symbol): |
2723 | Check symbol flags instead of symbol name mangling. | |
3e0a6ca6 | 2724 | (xstormy16_asm_output_aligned_common): Likewise. Also |
2f806f3b NC |
2725 | simplify code since the bss100_section cass is the only case |
2726 | where the below100 code will be triggered. | |
3e0a6ca6 | 2727 | (xstormy16_encode_section_info): Encode below100 attribute |
2f806f3b NC |
2728 | using the SYMBOL_FLAG_XSTORMY16_BELOW100 instead of mangling |
2729 | the name. | |
3e0a6ca6 | 2730 | (xstormy16_strip_name_encoding): Delete - this function is no |
2f806f3b | 2731 | longer needed. |
3e0a6ca6 | 2732 | (TARGET_STRIP_NAME_ENCODING): Undefine. |
2f806f3b NC |
2733 | * config/stormy16/stormy16-protos.h: Delete prototype for |
2734 | xstormy16_strip_name_encoding. | |
2735 | ||
a4d05547 KH |
2736 | 2005-08-06 Kazu Hirata <kazu@codesourcery.com> |
2737 | ||
2738 | * Makefile.in, cfgexpand.c, cfgloop.h, cfgloopmanip.c, | |
2739 | config.gcc, ipa-cp.c, ipa-prop.c, ipa-prop.h, reg-stack.c, | |
2740 | tree-ssa-structalias.c, tree-vrp.c, value-prof.c, vec.h, | |
2741 | config/linux.h, config/alpha/alpha.h, config/alpha/linux.h, | |
2742 | config/alpha/predicates.md, config/arc/arc.h, | |
2743 | config/arm/arm.h, config/arm/ieee754-df.S, | |
2744 | config/arm/ieee754-sf.S, config/bfin/bfin.c, | |
2745 | config/bfin/bfin.h, config/c4x/c4x.h, config/crx/crx.c, | |
2746 | config/fr30/fr30.h, config/frv/frv.h, config/h8300/h8300.h, | |
2747 | config/i386/i386.h, config/ia64/ia64.c, config/ia64/ia64.h, | |
2748 | config/m68hc11/m68hc11.h, config/mips/mips.c, | |
2749 | config/mips/mips.h, config/mips/openbsd.h, | |
2750 | config/mn10300/mn10300.h, config/pa/pa.c, config/pa/pa.h, | |
2751 | config/pdp11/pdp11.h, config/rs6000/linux-unwind.h, | |
2752 | config/rs6000/rs6000.c, config/rs6000/rs6000.h, | |
2753 | config/s390/s390.c, config/sh/sh.c, config/sh/sh.h, | |
2754 | config/sparc/linux.h, config/sparc/linux64.h, | |
2755 | config/sparc/sparc.h, config/v850/v850.h, config/vax/vax.h, | |
2756 | doc/extend.texi, doc/gcov.texi, doc/install.texi, | |
2757 | doc/invoke.texi, doc/rtl.texi, doc/tm.texi: Fix comment/doc | |
2758 | typos. Follow spelling conventions. | |
2759 | ||
591baeb0 JM |
2760 | 2005-08-06 Joseph S. Myers <joseph@codesourcery.com> |
2761 | ||
2762 | PR c/23113 | |
2763 | * stmt.c (warn_if_unused_value): Check TREE_NO_WARNING at start. | |
2764 | Don't handle NOP_EXPR, CONVERT_EXPR and NON_LVALUE_EXPR | |
2765 | specially. Check for side effects only for COND_EXPR. | |
2766 | * c-typeck.c (c_finish_stmt_expr): Mark statement expression | |
2767 | return with TREE_NO_WARNING. | |
2768 | ||
f7a064b5 RS |
2769 | 2005-08-06 Richard Sandiford <richard@codesourcery.com> |
2770 | ||
2771 | PR rtl-optimization/23233 | |
2772 | * loop.c (combine_movables): Require the modes to be the same. | |
2773 | (move_movables): Remove handling of cases where the replacement | |
2774 | had a different mode to the original. | |
2775 | ||
b17775ab JM |
2776 | 2005-08-05 James A. Morrison <phython@gcc.gnu.org> |
2777 | ||
2778 | PR tree-optimization/23128 | |
2779 | * tree-vrp.c (vrp_int_const_binop): Check if unsigned addition or | |
2780 | subtraction wrap, and set TREE_OVERFLOW if they do. | |
2781 | ||
bb1ecfe8 RH |
2782 | 2005-08-05 Richard Henderson <rth@redhat.com> |
2783 | ||
2784 | PR 21728 | |
2785 | * tree-cfg.c (remove_bb): Transmute DECL_NONLOCAL labels into | |
2786 | FORCED_LABEL labels. | |
2787 | ||
50aa8e71 R |
2788 | 2005-08-05 J"orn Rennecke <joern.rennecke@st.com> |
2789 | ||
2790 | PR middle-end/23135 | |
2791 | * reload.c (find_reloads_subreg_address): Pass down TYPE | |
2792 | unchanged. Change all callers except find_reloads_toplev. | |
2793 | ||
b01896cc MM |
2794 | 2005-08-05 Michael Matz <matz@suse.de> |
2795 | ||
2796 | * genattrtab.c (current_alternative_string): Remove. | |
2797 | (SIMPLIFY_ALTERNATIVE): Ditto. | |
2798 | (attr_alt_bit_p): Ditto. | |
2799 | (alternative_name): Make const char *. | |
2800 | (evaluate_eq_attr): Remove use of above things. | |
2801 | (simplify_test_exp): Ditto. | |
2802 | (simplify_test_exp <EQ_ATTR>): Guard for insn_code < 0 . | |
2803 | (simplify_test_exp <AND>): Correct typo (test 'right' not 'left'). | |
2804 | ||
3f94bdec JW |
2805 | 2005-08-04 James E Wilson <wilson@specifix.com> |
2806 | ||
2807 | * config/ptx4.h, config/sol2.h, config/arm/freebsd.h, | |
2808 | config/arm/linux-elf.h, config/frv/frv.h, config/i386/freebsd.h, | |
2809 | config/i386/freebsd64.h, config/i386/netware.h, config/i386/sco5.h, | |
2810 | config/ia64/freebsd.h, config/rs6000/sysv4.h, config/sparc/freebsd.h | |
2811 | (LINK_SPEC): Delete useless %{Wl,*:%*} item. | |
2812 | ||
460f84ed RH |
2813 | 2005-08-04 Richard Henderson <rth@redhat.com> |
2814 | ||
2815 | PR 21529 | |
2816 | * params.def (PARAM_SRA_MAX_STRUCTURE_COUNT): New. | |
2817 | * params.h (SRA_MAX_STRUCTURE_COUNT): New. | |
2818 | * tree-sra.c (decide_block_copy): Use it. Disable element copy | |
2819 | if we'd have to instantiate too many members. | |
2820 | ||
5a910e43 RH |
2821 | 2005-08-04 Richard Henderson <rth@redhat.com> |
2822 | ||
2823 | PR 21291 | |
2824 | * tree-outof-ssa.c (coalesce_asm_operands): New. | |
2825 | (coalesce_ssa_name): Use it. Split out ... | |
2826 | (coalesce_phi_operands, coalesce_result_decls): ... these. | |
2827 | ||
27c37000 PB |
2828 | 2005-08-04 Paul Brook <paul@codesourcery.com> |
2829 | ||
2830 | * read-rtl.c (read_quoted_string): Break if EOF. | |
2831 | ||
5808968e AP |
2832 | 2005-08-04 Andrew Pinski <pinskia@physics.uc.edu> |
2833 | ||
2834 | * tree.h (fold_build1): Change to macro and call fold_build1_stat. | |
2835 | (fold_build2): Likewise. | |
2836 | (fold_build3): Likewise. | |
2837 | (fold_build1_stat): New function prototype. | |
2838 | (fold_build2_stat): Likewise. | |
2839 | (fold_build3_stat): Likewise. | |
2840 | * fold-const.c (fold_build1): Rename to .. | |
2841 | (fold_build1_stat): this. Add MEM_STAT_DECL. Pass the mem stats | |
2842 | through to build1_stat. | |
2843 | (fold_build2): Rename to .. | |
2844 | (fold_build2_stat): this. Add MEM_STAT_DECL. Pass the mem stats | |
2845 | through to build2_stat. | |
2846 | (fold_build3): Rename to .. | |
2847 | (fold_build3_stat): this. Add MEM_STAT_DECL. Pass the mem stats | |
2848 | through to build3_stat. | |
2849 | ||
d70eadf7 | 2850 | 2005-08-04 David Edelsohn <edelsohn@gnu.org> |
6d62ac14 | 2851 | Ian Lance Taylor <ian@airs.com> |
d70eadf7 DE |
2852 | |
2853 | * function.c (assign_stack_local_1): Do not correct stack slot | |
2854 | address if allocation size is smaller than mode size. | |
2855 | ||
c4f548b8 DN |
2856 | 2005-08-04 Diego Novillo <dnovillo@redhat.com> |
2857 | ||
2858 | PR 22037 | |
2859 | * tree-cfg.c (replace_uses_by): Call mark_new_vars_to_rename. | |
2860 | (tree_merge_blocks): Propagate anything allowed by | |
2861 | may_propagate_copy. | |
2862 | Clarify documentation. | |
2863 | * passes.c (execute_todo): If cleanup_tree_cfg invalidated the | |
2864 | SSA form, schedule an update if necessary. | |
2865 | ||
2b7c3273 GP |
2866 | 2005-08-04 Gerald Pfeifer <gerald@pfeifer.com> |
2867 | ||
2868 | * doc/install.texi (Binaries): Remove broken link to | |
2869 | Sinix/Reliant Unix binaries. | |
2870 | ||
b755446c RH |
2871 | 2005-08-03 Richard Henderson <rth@redhat.com> |
2872 | ||
2873 | PR 23221 | |
2874 | * function.c (stack_protect_epilogue): Export. | |
2875 | * tree.h (stack_protect_epilogue): Declare. | |
2876 | * calls.c (expand_call): Call it. | |
2877 | ||
7904f95f EC |
2878 | 2005-08-03 Eric Christopher <echristo@apple.com> |
2879 | ||
2880 | * gcc.c (LINK_SSP_SPEC): Add fstack-protector-all. | |
2881 | * config/darwin.h (LINK_COMMAND_SPEC): Add link_ssp | |
2882 | spec. | |
2883 | ||
d783b2a2 JH |
2884 | 2005-08-04 Jan Hubicka <jh@suse.cz> |
2885 | ||
2886 | * profile.c (branch_prob): Split edges with goto locus on them | |
2887 | to get proper line counts. | |
2888 | * tree-cfg.c (make_cond_expr_edges): Record user goto locuses, if any. | |
2889 | ||
53366450 PB |
2890 | 2005-08-03 Paul Brook <paul@codesourcery.com> |
2891 | ||
2892 | * function.c (assign_parms): Round current_function_args_size | |
2893 | to PARM_BOUNDARY, not STACK_BOUNDARY. | |
2894 | ||
e81d37df GK |
2895 | 2005-08-03 Geoffrey Keating <geoffk@apple.com> |
2896 | ||
2897 | * config/i386/i386.c (x86_elf_aligned_common) | |
2898 | (x86_output_aligned_bss): Don't try to use symbols that aren't defined. | |
2899 | ||
279072c8 ZD |
2900 | 2005-08-03 Zdenek Dvorak <dvorakz@suse.cz> |
2901 | ||
2902 | PR tree-optimization/23157 | |
2903 | * tree-scalar-evolution.c (scev_const_prop): Unshare trees | |
2904 | before emitting them. | |
2905 | ||
9d2b0e12 VR |
2906 | 2005-08-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
2907 | ||
2908 | PR tree-optimization/19899 | |
2909 | * Makefile.in (tree-scalar-evolution.o): Add real.h. | |
2910 | * tree-scalar-evolution.c: Include real.h. | |
2911 | (add_to_evolution): Build constant -1 of correct type. | |
2912 | ||
178df94f JH |
2913 | 2005-08-03 Jan Hubicka <jh@suse.cz> |
2914 | ||
2915 | * cfgloop.h (DLTHE_FLAG_COMPLETTE_PEEL): New flag. | |
2916 | * cfgloopmanip.c (duplicate_loop_to_header_edge): Special case | |
2917 | profile updating for complette unrolling. | |
2918 | * loop-unroll.c (peel_loop_completely): Use it. | |
2919 | * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Likewise. | |
2920 | (tree_unroll_loops_completely): Disable code growing unrolling of cold | |
2921 | loops. | |
2922 | ||
4164b2fb PB |
2923 | 2005-08-03 Paul Brook <paul@codesourcery.com> |
2924 | ||
2925 | * combine.c (can_change_dest_mode): New function. | |
2926 | (try_combine, simplify_set): Use it. | |
2927 | ||
4e2b3c87 EB |
2928 | 2005-08-03 Eric Botcazou <ebotcazou@adacore.com> |
2929 | ||
2930 | * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Only force | |
2931 | TFmode to BLKmode. | |
2932 | ||
1d7887ca GP |
2933 | 2005-08-03 Gerald Pfeifer <gerald@pfeifer.com> |
2934 | ||
2935 | * doc/install.texi (Specific): Adjust link to openavr.org. | |
2936 | (Specific): Remove broken reference to GCC 2.8.1 for OS/2. | |
2937 | (Binaries): Adjust HP-UX Porting Center link. | |
2938 | (Binaries): Adjust Free Software Foundation ordering link. | |
1d7887ca | 2939 | |
c7f59e9c AP |
2940 | 2005-08-03 Andrew Pinski <pinskia@physics.uc.edu> |
2941 | ||
2942 | * convert.c (convert_to_integer): Use fold_build1 instead of | |
2943 | build1 when converting an integer to an integer. | |
2944 | ||
65030b76 RH |
2945 | 2005-08-02 Richard Henderson <rth@redhat.com> |
2946 | ||
2947 | * combine.c (combine_instructions): Don't use reg_equal/equiv | |
2948 | results if the mode doesn't match. | |
2949 | ||
6d1ab63a MM |
2950 | 2005-08-02 Mark Mitchell <mark@codesourcery.com> |
2951 | ||
2952 | * config/i386/t-mingw32 (NATIVE_SYSTEM_HEADER_DIR): Set it. | |
2953 | * doc/fragments.texi (NATIVE_SYSTEM_HEADER_DIR): Document it. | |
2954 | ||
6d90db3a RH |
2955 | 2005-08-02 Richard Henderson <rth@redhat.com> |
2956 | ||
2957 | PR 23196 | |
7904f95f | 2958 | * explow.c (memory_address): Remove special-case for |
6d90db3a RH |
2959 | virtual_stack_vars_rtx and virtual_incoming_args_rtx. |
2960 | ||
78234a86 DN |
2961 | 2005-08-02 Diego Novillo <dnovillo@redhat.com> |
2962 | ||
2963 | PR 23164 | |
2964 | * tree-cfgcleanup.c (cleanup_tree_cfg): Do not limit the | |
2965 | number of calls to cleanup_tree_cfg_1. | |
2966 | ||
5a006700 MR |
2967 | 2005-08-02 Martin Reinecke <martin@mpa-garching.mpg.de> |
2968 | ||
2969 | * doc/invoke.texi: document file extensions .F90 and .F95 | |
2970 | ||
237504fc RG |
2971 | 2005-08-02 Richard Guenther <rguenther@suse.de> |
2972 | ||
2973 | * fold-const.c (tree_expr_nonnegative_p): frexp(x, &e) is | |
2974 | positive if its first argument is positive. | |
2975 | ||
e63c84d8 RG |
2976 | 2005-08-02 Richard Guenther <rguenther@suse.de> |
2977 | ||
2978 | PR tree-optimization/23177 | |
2979 | * tree-ssa-operands.c (get_tmr_operands): Use get_expr_operands | |
2980 | on TMR_TAG. | |
2981 | ||
08303d5b JM |
2982 | 2005-08-02 James A. Morrison <phython@gcc.gnu.org> |
2983 | ||
2984 | PR tree-optimization/23129 | |
2985 | * tree-vrp.c (extract_range_from_binary_expr): Set value range to | |
2986 | varying for divisions with anti-ranges. | |
2987 | ||
5e5a504e JH |
2988 | 2005-08-02 Jan Hubicka <jh@suse.cz> |
2989 | ||
2990 | * tree-ssa-dom.c (thread_across_edge): Remove updating here. | |
2991 | * tree-ssa-threadupdate.c (thread_block): Add it here. | |
2992 | ||
4dbdb061 JW |
2993 | 2005-08-01 James E Wilson <wilson@specifix.com> |
2994 | ||
2995 | * config/mips/mips.c (mips_encode_section_info, mips_attribute_table, | |
2996 | TARGET_ENCODE_SECTION_INFO, TARGET_ATTRIBUTE_TABLE): New. | |
2997 | * config/mips/mips.h (SYMBOL_FLAG_LONG_CALL, SYMBOL_REF_LONG_CALL_P): | |
2998 | New. | |
2999 | * config/mips/predicates.md (const_call_insn_operand): Add check for | |
3000 | SYMBOL_REF_LONG_CALL_P. | |
3001 | * doc/extend.texi (long_call): Document the new attribute. | |
3002 | ||
9e254451 ILT |
3003 | 2005-08-01 Ian Lance Taylor <ian@airs.com> |
3004 | Richard Henderson <rth@redhat.com> | |
3005 | ||
3006 | * Makefile.in (RTL_BASE_H): Add real.h. | |
3007 | * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Use structure copy | |
3008 | instead of memcpy. | |
3009 | * emit-rtl.c (const_double_from_real_value): Likewise; use rtx.u.rv | |
3010 | directly. | |
3011 | * rtl.c (rtl_check_failed_code_mode): New. | |
3012 | * rtl.h (struct rtx_def): Add u.rv. | |
3013 | (XCMWINT, XCNMPRV): New. | |
3014 | (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Use XCMWINT. | |
3015 | (CONST_DOUBLE_REAL_VALUE): Use XCNMPRV; constify. | |
3016 | ||
5671655e RH |
3017 | 2005-08-01 Richard Henderson <rth@redhat.com> |
3018 | ||
75735872 RH |
3019 | * dwarf2out.c (mem_loc_descriptor): Use XEXP, not SUBREG_REG, |
3020 | with auto-inc codes. | |
3021 | ||
5671655e RH |
3022 | * config/alpha/predicates.md (and_operand): Test mode of CONST_DOUBLE. |
3023 | ||
72ce3d4a JH |
3024 | 2005-08-01 Jan Hubicka <jh@suse.cz> |
3025 | ||
3026 | * i386-protos.h (asm_preferred_eh_data_format): Declare. | |
3027 | * i386.c: Include dwarf2.h | |
3028 | (asm_preferred_eh_data_format): New. | |
3029 | * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Move offline. | |
3030 | ||
23d28bfe ILT |
3031 | 2005-08-01 Ian Lance Taylor <ian@airs.com> |
3032 | ||
3033 | * config/host-linux.c (linux_gt_pch_get_address): Add new name | |
3034 | randomize_va_space for virtual address randomization control. | |
3035 | ||
d6e14e8f SB |
3036 | 2005-08-01 Steven Bosscher <stevenb@suse.de> |
3037 | ||
3038 | * common.opt (flag_ipa_cp): Put in right place to maintain | |
3039 | alphabetic sort. | |
3040 | ||
5ded7254 JH |
3041 | 2005-08-01 Jan Hubicka <jh@suse.cz> |
3042 | ||
3043 | * profile.c (compute_value_histograms): Fix thinko. | |
3044 | * value-prof.c: Include toplev.h | |
3045 | (check_counter): New function. | |
3046 | (tree_divmod_fixed_value_transform, tree_mod_pow2_value_transform, | |
3047 | tree_mod_subtract_transform): Add sanity check. | |
3048 | ||
a8f82ec4 RG |
3049 | 2005-08-01 Richard Guenther <rguenther@suse.de> |
3050 | ||
3051 | PR tree-optimization/23133 | |
3052 | * tree-ssa-math-opts.c (execute_cse_reciprocals): Walk | |
3053 | current functions parameter decls to find defs to cse | |
3054 | reciprocals of. | |
3055 | ||
ac264fef RG |
3056 | 2005-08-01 Richard Guenther <rguenther@suse.de> |
3057 | ||
3058 | PR tree-optimization/23109 | |
3059 | * tree-ssa-math-opts.c (execute_cse_reciprocals_1): | |
3060 | If trapping math is in effect, use post-dominator information | |
3061 | to check if we'd in any case reach a trapping point before | |
3062 | doing the reciprocal insertion. | |
3063 | (execute_cse_reciprocals): Compute post-dominators, if necessary. | |
3064 | * tree-ssa-loop-im.c (determine_invariantness_stmt): RDIV | |
3065 | expressions are invariant only if trapping math is not in effect. | |
3066 | ||
57fb5341 RL |
3067 | 2005-08-01 Razya Ladelsky <razya@il.ibm.com> |
3068 | ||
5a006700 MR |
3069 | * cgraph.h (update_call_expr, cgraph_copy_node_for_versioning, |
3070 | cgraph_function_versioning): New declarations. | |
3071 | * cgraphunit.c: Add include to ipa-prop.h. | |
3072 | (update_call_expr, cgraph_copy_node_for_versioning, | |
3073 | cgraph_function_versioning): New functions. | |
3074 | * integrate.c (copy_decl_for_inlining): Remove. | |
3075 | * ipa-prop.h (ipa_replace_map): New struct. | |
3076 | (struct ipa_node): Add ipcp_orig_node, count_scale, new fields. | |
3077 | * ipa-cp.c (ipcp_method_orig_node, ipcp_method_is_cloned, | |
3078 | ipcp_method_set_orig_node, ipcp_cloned_create, ipcp_method_get_scale, | |
3079 | ipcp_method_set_scale, ipcp_method_compute_scale, ipcp_after_propagate, | |
3080 | ipcp_iterate_stage, ipcp_method_scale_print, | |
3081 | ipcp_profile_mt_count_print, ipcp_profile_cs_count_print, | |
3082 | ipcp_profile_edge_print, ipcp_profile_bb_print , ipcp_profile_print, | |
3083 | ipcp_replace_map_create, ipcp_redirect, ipcp_update_callgraph, | |
3084 | ipcp_update_bb_counts, ipcp_update_profiling, | |
3085 | ipcp_update_edges_counts): New functions. | |
3086 | (ipcp_method_cval_init): Remove restriction regarding local methods. | |
3087 | (ipcp_init_stage): Add ipcp_method_compute_scale. | |
3088 | (ipcp_insert_stage): Add versioning. | |
3089 | (ipcp_structures_print): Add ipcp_method_scale_print. | |
3090 | (ipcp_driver): Dump profiling info. | |
3091 | * Makefile.in: Remove integrate.h dependency from tree-inline.o. | |
3092 | Add ipa-prop.h dependency to tree-inline.o and cgraphunit.o. | |
3093 | * tree-inline.c: Remove include to integrate.h, Add include ipa-prop.h. | |
3094 | (struct inline_data): Add versioning_p, ipa_info, new fields. | |
3095 | (remap_decl, mark_local_for_remap_r, setup_one_parameter, | |
3096 | declare_return_variable): Replace calls to copy_decl_for_inlining with | |
3097 | copy_decl_for_dup. | |
3098 | (copy_body_r, copy_bb, copy_cfg_body, copy_tree_r, inlining_p): Add | |
3099 | versioning support. | |
3100 | (copy_decl_for_dup): Rename from copy_decl_for_inlining. | |
3101 | Add argument VERSIONING. | |
3102 | (copy_arguments_for_versioning, copy_static_chain, | |
3103 | function_versionable_p, tree_versionable_function_p, | |
3104 | tree_function_versioning, replace_ref_tree): New functions. | |
3105 | * tree-inline.h: Include varray.h. | |
3106 | (tree_versionable_function_p, tree_function_versioning, | |
3107 | tree copy_decl_for_dup): New declarations. | |
57fb5341 RL |
3108 | |
3109 | 2005-08-01 Razya Ladelsky <razya@il.ibm.com> | |
3110 | ||
5a006700 MR |
3111 | * ipa-cp.c: New file. Contains IPCP specific functionality. |
3112 | * ipa-prop.h: New file. Contains structures/definitions that can be | |
3113 | used by several interprocedural data flow optimizations (and also IPCP). | |
3114 | * ipa-prop.c: New file. | |
3115 | * Makefile.in: Add ipa-cp.c, ipa-prop.h, ipa-prop.c. | |
3116 | * common.opt: Add ipa-cp flag. | |
3117 | * timevar.def: Add IPCP optimization. | |
3118 | * tree-optimize.c (init_tree_optimization_passes): Schedule | |
3119 | pass_ipa_cp. | |
3120 | * tree-pass.h (pass_ipa_cp): Declare. | |
57fb5341 | 3121 | |
569b7f6a KH |
3122 | 2005-08-01 Kazu Hirata <kazu@codesourcery.com> |
3123 | ||
3124 | * dwarf2out.c, fold-const.c, ipa-type-escape.c, | |
3125 | loop-invariant.c, predict.c, predict.def, reload1.c, reorg.c, | |
3126 | tree-sra.c, config/arm/arm.c, config/crx/crx.c, | |
3127 | config/i386/i386.c, config/mips/mips.h, | |
3128 | config/rs6000/rs6000.h, config/sh/sh.c, | |
3129 | config/stormy16/stormy16.c: Fix comment typos. | |
3130 | ||
5922c215 JM |
3131 | 2005-08-01 Joseph S. Myers <joseph@codesourcery.com> |
3132 | ||
3133 | PR c/22311 | |
3134 | * c-typeck.c (build_binary_op): Use common_type wrapper on | |
3135 | shortened types. | |
3136 | (common_type): Update comment. | |
3137 | ||
a3f4b7d8 SB |
3138 | 2005-07-31 Steven Bosscher <stevenb@suse.de> |
3139 | ||
3140 | PR target/23095 | |
3141 | * common.opt (flag_gcse_after_reload): Don't initialize to 2. | |
3142 | (flag_rerun_cse_after_loop): Initialize this to 2 instead. | |
3143 | * postreload-gcse.c (hash_scan_set): Do not consider stack regs. | |
3144 | ||
baf7a0d3 JH |
3145 | 2005-07-31 Jan Hubicka <jh@suse.cz> |
3146 | ||
3147 | * pretty-print.h (pp_widest_integer): New macro. | |
3148 | * tree-pretty-print.c (dump_bb_header): Print BB frequencies and | |
3149 | counts. | |
3150 | ||
7dcbf659 JH |
3151 | 2005-07-31 Jan Hubicka <jh@suse.cz> |
3152 | ||
3153 | * output.h (enum section_category): Export from varasm.c | |
3154 | (categorize_decl_for_section): Likewise. | |
3155 | * varasm.c (enum section_category): Kill. | |
3156 | (categorize_decl_for_section): Make global. | |
3157 | * i386-protos.h (x86_output_aligned_bss, x86_elf_aligned_common): | |
3158 | Declare. | |
3159 | * i386.c (ix86_section_threshold): New static variable. | |
3160 | (ix86_in_large_data_p, ix86_encode_section_info, | |
3161 | x86_64_elf_unique_section, | |
3162 | x86_64_elf_select_section): New functions. | |
3163 | (TARGET_ENCODE_SECTION_INFO): Define | |
3164 | (override_options): Enable medium model for PIC. | |
3165 | (ix86_expand_prologue): Expand gen_set_got_rex64. | |
3166 | (legitimate_constant_p): Handle new UNSPECs. | |
3167 | (legitimate_pic_address_disp_p): Likewise. | |
3168 | (legitimize_pic_address): Lower MEDIUM model addressing. | |
3169 | * i386.h (PIC_OFFSET_TABLE_REGNUM): Set for medium model PIC. | |
3170 | (enum cmodel): Add MEDIUM_PIC. | |
3171 | (SYMBOL_REF_FAR_ADDR_P): New macro. | |
3172 | (SYMBOL_FLAG_FAR_ADDR): New flag. | |
3173 | * i386.md (movdi): Support medium model. | |
3174 | (set_got_rex64): New pattern. | |
3175 | * i386.opt (mlarge-data-threshold): New flag. | |
3176 | * predicates.md (zext_operand/sext_operand): Deal with medium model. | |
3177 | * x86-64.h (ASM_OUTPUT_ALIGNED_BSS): Use x86_output_aligned_bss. | |
3178 | (ASM_OUTPUT_ALIGNED_COMMON, TARGET_ASM_SELECT_SECTION, | |
3179 | TARGET_ASM_UNIQUE_SECTION): New. | |
3180 | ||
3181 | * invoke.texi (-mlarge_data_threshold): Document | |
3182 | ||
0bde02b3 JH |
3183 | 2005-07-31 Jan Hubicka <jh@suse.cz> |
3184 | ||
3185 | * tree-outof-ssa.c (coalesce_ssa_name): Use coalesce_cost. | |
3186 | (coalesce_vars): Likewise. | |
3187 | * tree-ssa-live.c (coalesce_cost): New. | |
3188 | (build_tree_conflict_graph): Use coalesce_cost. | |
3189 | * tree-ssa-live.h (coalesce_cost): Declare. | |
3190 | ||
a4ccc336 RE |
3191 | 2005-07-30 Richard Earnshaw <richard.earnshaw@arm.com> |
3192 | ||
3193 | * arm.md (all peepholes for post-increment operations): Delete. | |
3194 | (strqi_preinc, strqi_predec, loadqi_preinc, loadqi_predec) | |
3195 | (loadqisi_preinc, loadqisi_predec, strsi_preinc, strsi_predec) | |
3196 | (loadsi_preinc, loadsi_predec, strqi_shiftpreinc, strqi_shiftpredec) | |
3197 | (loadqi_shiftpreinc, loadqi_shiftpredec, strsi_shiftpreinc) | |
3198 | (strsishift_predec, loadsi_shiftpreinc, loadsi_shiftpredec): Delete. | |
3199 | ||
06581725 JM |
3200 | 2005-07-30 James A. Morrison <phython@gcc.gnu.org> |
3201 | ||
3202 | * fold-const.c (tree_expr_nonnegative_p): Always return true for | |
3203 | non-integral types. | |
3204 | ||
0cbc4d77 | 3205 | 2005-07-29 Wolfgang Bangerth <bangerth@dealii.org> |
d6e14e8f | 3206 | |
0cbc4d77 WB |
3207 | PR target/22582 |
3208 | * doc/invoke.texi: Document -rdynamic. | |
d6e14e8f | 3209 | |
91d975b8 JM |
3210 | 2005-07-30 Joseph S. Myers <joseph@codesourcery.com> |
3211 | ||
3212 | PR c/23143 | |
3213 | * c-parser.c (c_parser_parms_list_declarator): Call | |
3214 | mark_forward_parm_decls. | |
3215 | * c-decl.c (merge_decls): Only check DECL_IN_SYSTEM_HEADER for | |
3216 | decls with visibility structure. | |
3217 | ||
f26b8ec9 PB |
3218 | 2005-07-30 Paul Brook <paul@codesourcery.com> |
3219 | ||
3220 | * config/arm/arm.c (arm_coproc_mem_operand): Fix inaccurate comment. | |
3221 | ||
a14b88bb PB |
3222 | 2005-07-30 Paul Brook <paul@codesourcery.com> |
3223 | ||
3224 | * config/arm/arm-protos.h (arm_canonicalize_comparison): Update | |
3225 | prototype. | |
3226 | * config/arm/arm.c (arm_canonicalize_comparison): Use correct limit | |
3227 | value for mode. | |
3228 | * config/arm/arm.h (CANONICALIZE_COMPARISON): Pass mode argument. | |
3229 | ||
7c47d6e9 JM |
3230 | 2005-07-29 Joseph S. Myers <joseph@codesourcery.com> |
3231 | ||
3232 | PR c/529 | |
3233 | * c-decl.c (warn_if_shadowing): Don't check for PARM_DECL in | |
3234 | nested function declarators. | |
3235 | (pushdecl): Don't call warn_if_shadowing for PARM_DECL. | |
3236 | (grokparms): Call warn_if_shadowing for parameters used within the | |
3237 | parameter list. | |
3238 | (store_parm_decls_newstyle): Call warn_if_shadowing for parameters | |
3239 | not used within the parameter list. | |
3240 | (store_parm_decls_oldstyle): Call warn_if_shadowing for parameters. | |
3241 | ||
3bc751bd JH |
3242 | 2005-07-30 Jan Hubicka <jh@suse.cz> |
3243 | ||
3244 | * expr.c (expand_expr_real_1): Do not load mem targets into register. | |
3245 | * i386.c (ix86_fixup_binary_operands): Likewise. | |
3246 | (ix86_expand_unary_operator): Likewise. | |
3247 | (ix86_expand_fp_absneg_operator): Likewise. | |
3248 | * optabs.c (expand_vec_cond_expr): Validate dest. | |
3249 | ||
bc1594c1 JM |
3250 | 2005-07-29 Joseph S. Myers <joseph@codesourcery.com> |
3251 | ||
3252 | PR c/21720 | |
3253 | * real.c (real_from_string): Also set last bit if there is a | |
3254 | nonzero hex digit beyond GCC's internal precision after ".". | |
3255 | ||
3aca4bff DE |
3256 | 2005-07-29 David Edelsohn <edelsohn@gnu.org> |
3257 | ||
3258 | * config/rs6000/altivec.md: Convert UNSPEC numerical values to | |
3259 | define_constants. Change duplicate values to unassigned numbers. | |
3260 | Change UNSPEC_SUBS to UNSPEC_VSUBS. | |
3261 | (*altivec_vspltsf): New. | |
3262 | (altivec_vperm_v4sf): Delete. | |
3263 | (altivec_vperm_<mode>): Use mode macro V. | |
3264 | (altivec_vsldoi_<mode>): Convert to mode macro pattern. | |
3265 | (altivec_predicate_v4sf): Delete. | |
3266 | (altivec_predicate_<mode>): Use mode macro V. | |
3267 | (*altivec_lvesfx): New. | |
3268 | (*altivec_stvesfx): New. | |
3269 | (vec_realign_load_v4sf): Delete. | |
3270 | (vec_realign_load_<mode>): Use mode macro V. | |
3271 | * config/rs6000/rs6000.c (generate_set_vrsave): Use | |
3272 | UNSPECV_SET_VRSAVE. | |
3273 | ||
b28250ab MM |
3274 | 2005-07-29 Mark Mitchell <mark@codesourcery.com> |
3275 | ||
3276 | PR bootstrap/23131 | |
3277 | * configure.ac (SYSTEM_HEADER_DIR): Avoid setting to empty | |
7904f95f | 3278 | string. |
b28250ab MM |
3279 | * configure: Regenerated. |
3280 | ||
eae50c87 PB |
3281 | 2005-07-29 Paul Brook <paul@codesourcery.com> |
3282 | ||
3283 | * doc/install.texi: Add link to GFortran binaries wiki page. | |
3284 | ||
79dad081 DU |
3285 | 2005-07-29 David Ung <davidu@mips.com> |
3286 | ||
3287 | * config/mips/mips.c (mips_cpu_info_table): Add 5kf to the table. | |
3288 | (mips_rtx_cost_data): Add costs for 5kc and 5kf. | |
3289 | * config/mips/mips.h (processor_type): Add PROCESSOR_5KF. | |
3290 | * config/mips/mips.md (cpu): Add 5kf name. | |
3291 | (includes): Includes 5k.md. | |
3292 | * config/mips/5k.md: New DFA pipeline for the 5kc/5kf. | |
3293 | * doc/invoke.texi (MIPS Options): Updated cpu name supported with | |
7904f95f | 3294 | -march flag. |
79dad081 | 3295 | |
89e80dd4 DN |
3296 | 2005-07-29 Diego Novillo <dnovillo@redhat.com> |
3297 | ||
3298 | PR 22550 | |
3299 | * tree-cfgcleanup.c (cleanup_tree_cfg_1): Extract from ... | |
3300 | (cleanup_tree_cfg): ... here. | |
3301 | Call cleanup_tree_cfg_1 until there are no more cleanups to | |
3302 | do. | |
3303 | ||
d2f3ffba JM |
3304 | 2005-07-29 James A. Morrison <phython@gcc.gnu.org> |
3305 | ||
3306 | * tree-vrp.c (compare_range_with_value): Return true or false | |
3307 | for ~[VAL_1, VAL_2] OP VAL if VAL_1 <= VAL <= VAL_2 for NE_EXPR and | |
3308 | EQ_EXPR respectively. | |
3309 | ||
536fa7b7 KH |
3310 | 2005-07-29 Kazu Hirata <kazu@codesourcery.com> |
3311 | ||
3312 | * cfg.c, tree-complex.c, config/frv/frv.c, config/i386/i386.c: | |
3313 | Fix comment typos. | |
3314 | ||
6a2cf9dc DN |
3315 | 2005-07-29 Diego Novillo <dnovillo@redhat.com> |
3316 | ||
3317 | * tree-ssa-dom.c (struct opt_stats_d): Add field num_iterations. | |
3318 | (tree_ssa_dominator_optimize): Increment it. | |
3319 | (dump_dominator_optimization_stats): Print it. | |
3320 | ||
abf86bf2 RE |
3321 | 2005-07-29 Richard Earnshaw <richard.earnshaw@arm.com> |
3322 | Steven Bosscher <stevenb@suse.de> | |
3323 | ||
3324 | PR rtl-optimization/23117 | |
3325 | * sched-rgn.c (add_branch_dependences): Handle COND_EXEC correctly | |
3326 | when head == tail. Tidy comment. | |
3327 | ||
37cf6116 RH |
3328 | 2005-07-28 Richard Henderson <rth@redhat.com> |
3329 | ||
3330 | * cse.c (exp_equiv_p): Special case CONST_DOUBLE. | |
3331 | * cselib.c (rtx_equal_for_cselib_p): Likewise. | |
3332 | * jump.c (rtx_renumbered_equal_p): Likewise. | |
3333 | * loop.c (rtx_equal_for_loop_p): Tidy and special case PC, CC0, | |
3334 | CONST_INT and CONST_DOUBLE. | |
3335 | (rtx_equal_for_prefetch_p): Likewise, plus LABEL_REF. | |
3336 | * reload.c (operands_match_p): Special case CONST_INT and | |
3337 | CONST_DOUBLE; check mode earlier. | |
3338 | ||
13b22d3a JM |
3339 | 2005-07-29 Joseph S. Myers <joseph@codesourcery.com> |
3340 | ||
3341 | PR c/22240 | |
3342 | * c-typeck.c (convert_for_assignment): Do not check | |
3343 | DECL_IN_SYSTEM_HEADER on NULL fundecl. | |
3344 | ||
ca8bdb78 JM |
3345 | 2005-07-29 Joseph S. Myers <joseph@codesourcery.com> |
3346 | ||
3347 | PR c/22192 | |
3348 | * c-typeck.c (composite_type): Prefer constant size arrays to | |
3349 | VLAs. | |
3350 | ||
b608d27a JM |
3351 | 2005-07-29 Joseph S. Myers <joseph@codesourcery.com> |
3352 | ||
3353 | PR c/21720 | |
3354 | * real.c (real_from_string): Set last bit if there is a nonzero | |
3355 | hex digit beyond GCC's internal precision. | |
3356 | ||
a560c83a RH |
3357 | 2005-07-28 Richard Henderson <rth@redhat.com> |
3358 | ||
3359 | PR rtl-opt/22619 | |
3360 | * cfgcleanup.c (try_forward_edges): Watch out for end of | |
3361 | insn chain. | |
3362 | ||
66f33c03 JW |
3363 | 2005-07-28 James E Wilson <wilson@specifixinc.com> |
3364 | ||
3365 | PR c/23106 | |
3366 | * doc/invoke.texi (Wstrict-aliasing=2): Fix misleading wording. | |
3367 | ||
c5a4444c JH |
3368 | 2005-07-28 Jan Hubicka <jh@suse.cz> |
3369 | ||
8a76829c JH |
3370 | * Makefile.in (rtl-profile.o): Kill all traces of it. |
3371 | * common.opt (fspeculative-prefetching, ftree-based-profiling): Kill. | |
3372 | * coverage.h (rtl_coverage_counter_ref): Kill. | |
3373 | * opts.c (flag_speculative_prefetching_set): Kill. | |
3374 | (flag_loop_optimize_set): New. | |
3375 | (common_handle_option): Disable loop optimizer when profiling; | |
3376 | do not handle speculative prefetching. | |
3377 | * passes.c (init_optimization_passes): Replace pass_profiling combo | |
3378 | by branch_prob pass. | |
3379 | * profile.c (compute_value_histograms): Update for simplified value | |
3380 | profiles. | |
3381 | (rtl_register_profile_hooks): Kill. | |
3382 | (pass_profiling): Kill. | |
3383 | (rest_of_handle_branch_prob): Do not profile. | |
3384 | * toplev.c (process_options): Remove speculative prefetching. | |
3385 | * toplev.h (flag_tree_based_profiling): Kill. | |
3386 | * tree-profile.c (prepare_instrumented_value, | |
3387 | tree_gen_interval_profiler, tree_gen_pow2_profiler, | |
3388 | tree_gen_one_value_profiler, do_tree_profiling): Update for | |
3389 | simplified datastructures. | |
3390 | * value-prof.c: Add comment that speculative prefetching was dropped; | |
3391 | update rest of file for simplified datastructures. | |
3392 | (NOPREFETCH_RANGE_MIN, NOPREFETCH_RANGE_MAX, | |
3393 | rtl_divmod_values_to_profile, insn_prefetch_values_to_profile, | |
3394 | find_mem_reference_1, find_mem_reference_2, find_mem_reference, | |
3395 | rtl_values_to_profile, rtl_divmod_fixed_value, rtl_mod_pow2, | |
3396 | rtl_mod_subtract, gen_speculative_prefetch, | |
3397 | rtl_divmod_fixed_value_transform, rtl_mod_pow2_value_transform, | |
3398 | rtl_mod_subtract_transform, speculative_prefetching_transform): Kill. | |
3399 | (gate_handle_value_profile_transformations, | |
3400 | rest_of_handle_value_profile_transformations, | |
3401 | pass_value_profile_transformations): Kill. | |
3402 | * value-prof.h (histogram_value_t): Remove IL based unions. | |
3403 | (rtl_register_value_prof_hooks, rtl_register_profile_hooks, | |
3404 | rtl_profile_hooks): Remove hooks. | |
3405 | ||
3406 | * invoke.texi (-ftree-based-profiling, -fspeculative-prefetching): Kill. | |
3407 | ||
c5a4444c JH |
3408 | * cgraph.c (cgraph_clone_edge): New UPDATE_ORIGINAL argument. |
3409 | (cgraph_clone_node): Likewise. | |
3410 | * cgraph.h (cgraph_clone_edge): Update prototype. | |
3411 | (cgraph_clone_node): Likewise. | |
3412 | * ipa-inline.c (cgraph_clone_inlined_nodes): Update call of | |
3413 | cgraph_clone_node. | |
3414 | (lookup_recursive_calls): Consider profile. | |
3415 | (cgraph_decide_recursive_inlining): Fix updating; use new | |
3416 | probability argument; use profile. | |
3417 | * params.def (PARAM_MIN_INLINE_RECURSIVE_PROBABILITY): New. | |
3418 | * tree-inline.c (copy_bb): Update clal of clone_edge. | |
3419 | * tree-optimize.c (tree_rest_of_compilation): UPdate cal of clone_node. | |
3420 | ||
3421 | * invoke.texi (min-inline-recursive-probability): Document. | |
3422 | ||
ccf548a7 GP |
3423 | 2005-07-28 Gerald Pfeifer <gerald@pfeifer.com> |
3424 | ||
3425 | * doc/install.texi (Configuration): Update Valgrind homepage. | |
3426 | ||
2c97f8e4 RH |
3427 | 2005-07-28 Richard Henderson <rth@redhat.com> |
3428 | ||
407ab83b | 3429 | PR middle-end/21362 |
2c97f8e4 RH |
3430 | * cfgrtl.c (rtl_merge_blocks): Call maybe_remove_eh_handler on |
3431 | labels we want to delete. | |
3432 | (cfg_layout_merge_blocks): Likewise. | |
3433 | ||
b188ebb1 RH |
3434 | 2005-07-28 Richard Henderson <rth@redhat.com> |
3435 | ||
3436 | PR target/17692 | |
d6e14e8f SB |
3437 | * config/i386/i386.c (ix86_split_sse_movcc): Emit DELETED note |
3438 | when expanding to nothing. | |
b188ebb1 | 3439 | |
facc20ee JC |
3440 | 2005-07-28 Josh Conner <jconner@apple.com> |
3441 | ||
3442 | * ipa-inline.c (update_caller_keys): Fix estimated_growth caching. | |
3443 | (cgraph_decide_inlining_of_small_functions): Likewise. | |
3444 | ||
9de21a23 JC |
3445 | 2005-07-28 Josh Conner <jconner@apple.com> |
3446 | ||
3447 | * ipa-inline.c (cgraph_edge_badness): Update comments. Invert shift | |
3448 | direction of badness if negative. | |
3449 | (cgraph_default_inline_p): Add reason to parameters, and assign it | |
3450 | a value. | |
3451 | (cgraph_decide_inlining_of_small_functions): New parameter in call | |
3452 | to cgraph_default_inline_p. | |
3453 | (cgraph_decide_inlining_incrementally): Likewise. | |
3454 | * cgraphunit.c (decide_is_function_needed): Likewise. | |
3455 | * cgraph.h (cgraph_default_inline_p): Likewise. | |
3456 | ||
206048bd VR |
3457 | 2005-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
3458 | ||
3459 | * builtins.c: Fix comment typo(s). | |
3460 | * genautomata.c: Likewise. | |
3461 | * gimplify.c: Likewise. | |
3462 | * tree-dfa.c: Likewise. | |
3463 | * tree-flow-inline.h: Likewise. | |
3464 | * tree-into-ssa.c: Likewise. | |
3465 | * tree-ssa-alias.c: Likewise. | |
3466 | * tree-ssa-ccp.c: Likewise. | |
3467 | * tree-ssa-copy.c: Likewise. | |
3468 | * tree-ssa-dce.c: Likewise. | |
3469 | * tree-ssa-dom.c: Likewise. | |
3470 | * tree-ssa-operands.c: Likewise. | |
3471 | * tree-tailcall.c: Likewise. | |
3472 | * tree-vectorizer.c: Likewise. | |
3473 | * tree-vrp.c: Likewise. | |
3474 | * tree.c: Likewise. | |
3475 | ||
d579f20b JL |
3476 | 2005-07-28 Jeff Law <law@redhat.com> |
3477 | ||
d6e14e8f SB |
3478 | * tree-vrp.c (test_for_singularity): Extracted from ... |
3479 | (simplify_cond_using_ranges): Attempt to simplify a relational | |
3480 | test to NE_EXPR. Dump information when a COND_EXPR is simplified. | |
d579f20b | 3481 | |
5bb1823d DN |
3482 | 2005-07-28 Dorit Nuzman <dorit@il.ibm.com> |
3483 | ||
3484 | PR tree-optimization/22506 | |
3485 | * tree-vectorizer.c (update_phi_nodes_for_guard2): Skip loop-closed | |
3486 | phis whose argument is constant. | |
3487 | ||
b92ba6ff R |
3488 | 2005-07-28 J"orn Rennecke <joern.rennecke@st.com> |
3489 | ||
3490 | PR rtl-optimization/18992 | |
3491 | Back out this patch: | |
3492 | 2003-10-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | |
3493 | PR optimization/12142 | |
3494 | * cse.c (count_reg_usage): In a SET with a REG SET_DEST, count the | |
3495 | uses of the register in the SET_SRC. Remove unnecessary argument. | |
3496 | ||
3497 | Replace it with this: | |
3498 | * cse.c (count_reg_usage): In INSN, JUMP_INSN and CALL_INSN cases, | |
3499 | if flag_non_call_exceptions is set and the insn may trap, pass | |
3500 | pc_rtx as dest for recursion. | |
3501 | In SET_SRC part of SET case, if dest is already set, pass it down | |
3502 | unchanged. | |
3503 | ||
09bac500 JH |
3504 | 2005-07-28 Jan Hubicka <jh@suse.cz> |
3505 | ||
3506 | * cfg.c (update_bb_profile_for_threading): Use RDIV. | |
3507 | (scale_bbs_frequencies_int): Likewise, assert for possible overflow. | |
3508 | (scale_bbs_frequencies_gcov_type): Be more curefull about overflows and | |
3509 | roundoff errors. | |
3510 | * tree-cfg.c (tree_duplicate_sese_region): Use counts for updating | |
3511 | profile when available. | |
3512 | ||
3513 | 2005-07-28 Jan Beulich <jbeulich@novell.com> | |
a71aef0b JB |
3514 | |
3515 | * config/ia64/ia64.c (ia64_load_pair_ok): New. | |
3516 | (ia64_print_operand): Describe and handle 'X'. | |
3517 | (ia64_register_move_cost): Also handle FP_REGS. | |
3518 | (ia64_preferred_reload_class): Likewise. | |
3519 | (ia64_secondary_reload_class): Likewise. | |
3520 | (ia64_dependencies_evaluation_hook): New local variable c. Initialize | |
3521 | it. Also check for ITANIUM_CLASS_FLDP. | |
3522 | * config/ia64/ia64.h (FP_REGNO_P): New. | |
3523 | (HARD_REGNO_MODE_OK): Remove explusion of TImode. | |
3524 | (reg_class): Add FP_REGS. | |
3525 | (REG_CLASS_NAMES): Adjust for it. | |
3526 | (REG_CLASS_CONTENTS): Likewise. | |
3527 | (REGNO_REG_CLASS): Use FP_REGS where appropriate. | |
3528 | (REG_CLASS_FROM_LETTER): Handle 'x'. | |
3529 | (CLASS_MAX_NREGS): Handle FP_REGS. | |
3530 | (MEMORY_MOVE_COST): Likewise. | |
3531 | * config/ia64/ia64.md (itanium_class): Add fldp. | |
3532 | (type): Handle fldp. | |
3533 | (movti_internal): More allowable operand combinations. Use ldfp8 when | |
3534 | splitting unnecessary. Remove predicable attribute. Adjust | |
3535 | itanium_class attribute. | |
3536 | (smuldi3_highpart): Remove outdated comment. | |
3537 | (mulditi3, umulditi3, rotlti3): New expanders. | |
3538 | (addti3, subti3, mulditi3_internal, umulditi3_internal, negti2, rotlti3_internal): New insns. | |
3539 | (absti2): Disabled new insn for future reference. | |
3540 | Respective new splitters. | |
3541 | * config/ia64/itanium1.md (1_fldp, 1b_fldp): New insn reservations. | |
3542 | * config/ia64/itanium2.md (2_fldp, 2b_fldp): Likewise. | |
3543 | * config/ia64/ia64-protos.h (ia64_load_pair_ok): New. | |
3544 | ||
77d1d8e0 JM |
3545 | 2005-07-25 James A. Morrison <phython@gcc.gnu.org> |
3546 | ||
3547 | PR rtl-optimization/23047 | |
3548 | * simplify-rtx.c (simplify_const_relational_operation): Respect | |
3549 | flag_wrapv for comparisons with ABS. | |
3550 | ||
ff08cbee JM |
3551 | 2005-07-27 James A. Morrison <phython@gcc.gnu.org> |
3552 | ||
3553 | PR tree-optimization/22493 | |
3554 | * tree-vrp.c (extract_range_from_unary_expr): Deal with -fwrapv and | |
3555 | VR_ANTI_RANGEs properly for NEGATE_EXPRs and ABS_EXPRs. | |
3556 | ||
38c28a25 AH |
3557 | 2005-07-27 Aldy Hernandez <aldyh@redhat.com> |
3558 | ||
3559 | * config/frv/frv.opt (moptimize-membar): New. | |
3560 | ||
3561 | * doc/invoke.texi: Document -moptimize-membar and its inverse. | |
3562 | ||
3563 | * config/frv/frv.h: Remove machine_function definition. | |
3564 | ||
d6e14e8f SB |
3565 | * config/frv/frv.c (struct frv_io): New. |
3566 | (struct machine_function): Moved from frv.h. Add has_membar_p. | |
3567 | (frv_same_doubleword_p, frv_io_fixed_order_p, frv_io_union) | |
3568 | (frv_extract_membar, frv_io_check_address, frv_io_handle_set) | |
3569 | (frv_io_handle_use_1, frv_io_handle_use, frv_optimize_membar_local) | |
3570 | (frv_optimize_membar_global, frv_optimize_membar): New functions. | |
3571 | (frv_reorg): Call frv_optimize_membar when appropriate. | |
3572 | (bdesc_loads, bdesc_stores): Use the membar code as the icode field. | |
3573 | (frv_expand_builtin): Adjust calls accordingly. | |
3574 | (frv_io_address_cookie): New function. | |
3575 | (frv_expand_load_builtin, frv_expand_store_builtin): Emit a normal | |
3576 | load or store rather than a special insn. Add ccnstant address and | |
3577 | io-type operands to the membar. | |
38c28a25 AH |
3578 | (frv_ifcvt_modify_tests): Unsign regno. |
3579 | (frv_ifcvt_modify_tests): Same. | |
3580 | ||
3581 | * config/frv/frv.md: Remove UNSPEC_BUILTIN_{LOAD,STORE}. Change | |
3582 | UNSPEC_OPTIONAL_MEMBAR constant. | |
3583 | (builtin_read_<mode>): Delete. | |
3584 | (builtin_write_<mode>): Delete. | |
3585 | ("optional_membar_<mode>"): Add operand. | |
3586 | ||
3587 | * testsuite/gcc.target/frv/all-builtin-read8.c: Delete. | |
3588 | * testsuite/gcc.target/frv/all-builtin-read16.c: Delete. | |
3589 | * testsuite/gcc.target/frv/all-builtin-read32.c: Delete. | |
3590 | * testsuite/gcc.target/frv/all-builtin-read64.c: Delete. | |
3591 | * testsuite/gcc.target/frv/all-builtin-write8.c: Delete. | |
3592 | * testsuite/gcc.target/frv/all-builtin-write16.c: Delete. | |
3593 | * testsuite/gcc.target/frv/all-builtin-write32.c: Delete. | |
3594 | * testsuite/gcc.target/frv/all-builtin-write64.c: Delete. | |
3595 | * testsuite/gcc.target/frv/all-read-write-1.c: New. | |
3596 | ||
47c504ea KK |
3597 | 2005-07-28 Kaz Kojima <kkojima@gcc.gnu.org> |
3598 | ||
3599 | * df.c (df_uses_record): Handle SCRATCH. | |
3600 | ||
ef11c839 SB |
3601 | 2005-07-28 Steven Bosscher <stevenb@suse.de> |
3602 | ||
3603 | PR debug/20161 | |
3604 | * passes.c (rest_of_decl_compilation): If decl is a type and | |
3605 | we have encountered errors, don't emit debug information. | |
3606 | ||
1eb68dca | 3607 | 2005-07-27 Kenneth Zadeck <zadeck@naturalbridge.com> |
ef11c839 | 3608 | |
1eb68dca | 3609 | * params.def: Fixed comment. |
7904f95f | 3610 | |
10252a62 BH |
3611 | 2005-07-27 Bjoern Haase <bjoern.m.haase@web.de> |
3612 | ||
3613 | PR target/19885 | |
3614 | * config/avr/avr.c (TARGET_ASM_ALIGNED_SI_OP): Add. | |
3615 | (TARGET_ASM_UNALIGNED_HI_OP): Add. | |
3616 | (TARGET_ASM_UNALIGNED_SI_OP): Add. | |
3617 | ||
e4598783 SB |
3618 | 2005-07-27 Steven Bosscher <stevenb@suse.de> |
3619 | ||
3620 | PR c++/22003 | |
3621 | * varasm.c (assemble_start_function): Don't do anything that may | |
3622 | require a CFG if the current function is a thunk. | |
3623 | ||
a9fdd472 GK |
3624 | 2005-07-25 Geoffrey Keating <geoffk@apple.com> |
3625 | ||
3626 | * doc/install.texi (Prerequisites): Mention that perl is needed | |
3627 | to do export control in libstdc++ targetting Darwin. | |
3628 | ||
2bd1e239 SB |
3629 | 2005-07-27 Steven Bosscher <stevenb@suse.de> |
3630 | ||
3631 | PR rtl-optimization/17808 | |
3632 | * sched-deps.c (sched_get_condition): Enable #if 0'ed code. | |
3633 | (sched_insns_conditions_mutex_p): Split out from... | |
3634 | (add_dependence): ...here. But don't call it from here. | |
3635 | (add_dependence_list): Check sched_insns_conditions_mutex_p | |
3636 | before calling add_dependence. | |
3637 | (add_dependence_list_and_free): Likewise. | |
3638 | (fixup_sched_groups): Likewise. | |
3639 | (sched_analyze_1): Likewise. | |
3640 | (sched_analyze_2): Likewise (and replace a "0" with REG_DEP_TRUE). | |
3641 | (sched_analyze): Likewise. | |
3642 | (sched_analyze_insn): Likewise. | |
3643 | * sched-ebb.c (add_deps_for_risky_insns): Likewise. | |
3644 | * sched-rgn.c (add_branch_dependences): Likewise. Also, add | |
3645 | dependencies on all COND_EXEC insns to jumps ending basic blocks | |
3646 | when doing intrablock scheduling. | |
3647 | * sched-int.h (sched_insns_conditions_mutex_p): Add prototype. | |
3648 | ||
880031e1 JL |
3649 | 2005-07-27 Jeff Law <law@redhat.com> |
3650 | ||
3651 | * tree-vrp.c (vrp_meet): Intersect the equivalency sets when | |
3652 | meeting a VR_ANTI_RANGE with a VR_RANGE. When intersecting | |
3653 | equivalency sets, correctly handle the case were vr0 has an | |
3654 | equivalency set, but vr1 does not. | |
3655 | ||
b940ce0e DN |
3656 | 2005-07-27 Dorit Nuzman <dorit@il.ibm.com> |
3657 | ||
3658 | PR tree-optimization/23073 | |
7904f95f | 3659 | * tree-vect-analyze.c (vect_analyze_data_refs_alignment): Call |
b940ce0e DN |
3660 | vect_print_dump_info before fprintf. |
3661 | ||
26c40640 ZD |
3662 | 2005-07-27 Zdenek Dvorak <dvorakz@suse.cz> |
3663 | ||
3664 | PR tree-optimize/22348 | |
3665 | * tree-ssa-loop-niter.c (number_of_iterations_cond): | |
3666 | Fold the partial computation. | |
3667 | ||
3ac01fde ZD |
3668 | 2005-07-27 Zdenek Dvorak <dvorakz@suse.cz> |
3669 | ||
3670 | PR tree-optimization/22325 | |
3671 | * tree-flow.h (compute_phi_arg_on_exit, force_expr_to_var_cost): | |
3672 | Declare. | |
3673 | * tree-scalar-evolution.c (scev_const_prop): Add generic final | |
3674 | value replacement. | |
3675 | * tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Split from ... | |
3676 | (force_var_cost): ... this function. | |
3677 | (compute_phi_arg_on_exit): Export. | |
3678 | ||
77fcaf4b ZD |
3679 | 2005-07-27 Zdenek Dvorak <dvorakz@suse.cz> |
3680 | ||
3681 | PR tree-optimization/20773 | |
3682 | * tree-ssa-loop-ch.c (copy_loop_headers): Select the correct latch | |
3683 | edge. | |
3684 | ||
c11b0231 RG |
3685 | 2005-07-27 Richard Guenther <rguenther@suse.de> |
3686 | ||
3687 | * tree-ssa-structalias.c (push_fields_onto_fieldstack): | |
3688 | Avoid pushing again if current struct contains only | |
3689 | fields we decomposed. | |
3690 | ||
57a73709 JH |
3691 | 2005-07-27 Jan Hubicka <jh@suse.cz> |
3692 | ||
093c2329 JH |
3693 | PR tree-optimization/22574 |
3694 | * cgraph.c (cgraph_function_body_availability): Unanalyzed bodies are | |
3695 | not available. | |
3696 | ||
23504559 JH |
3697 | * tree-tailcall.c (decrease_profile): New function. |
3698 | (eliminate_tail_call): Use it. | |
3699 | ||
57a73709 JH |
3700 | * cgraphunit.c (cgraph_function_and_variable_visibility): Set |
3701 | visibility flags correctly in whole program mode. | |
3702 | ||
b5395c33 SE |
3703 | 2005-07-26 Steve Ellcey <sje@cup.hp.com> |
3704 | ||
3705 | PR rtl-optimization/22472 | |
3706 | * config/pa/pa.h (HARD_REGNO_RENAME_OK): Define. | |
3707 | ||
86979811 SB |
3708 | 2005-07-26 Steven Bosscher <stevenb@suse.de> |
3709 | ||
3710 | PR tree-optimization/22504 | |
3711 | * tree-complex.c (expand_complex_addition): Use 'code' instead | |
3712 | of MINUS_EXPR for (VARYING, ONLY_IMAG) and (ONLY_IMAG, VARYING). | |
3713 | ||
faf9ab98 AH |
3714 | 2005-07-26 Aldy Hernandez <aldyh@redhat.com> |
3715 | ||
3716 | * config.gcc (cpu_type): Add frv case. | |
3717 | (with_cpu): Add frv400-*-*linux* and frv550-*-*linux* cases. | |
3718 | (supported_defaults): Add fr550 case. | |
3719 | ||
31521cd4 DN |
3720 | 2005-07-26 Diego Novillo <dnovillo@redhat.com> |
3721 | ||
3722 | PR 22591 | |
3723 | * tree-ssa-alias.c (may_alias_p): Remove shortcut that tests | |
3724 | whether a pointer of type T * may point to objects of type T *. | |
3725 | ||
45499411 DD |
3726 | 2005-07-26 DJ Delorie <dj@redhat.com> |
3727 | ||
3728 | * configure: Regenerate. | |
3729 | ||
576a4795 DJ |
3730 | 2005-07-26 Dale Johannesen <dalej@apple.com> |
3731 | ||
3732 | * postreload-gcse.c (alloc_mem): Start CUID numbering at 1. | |
3733 | ||
526635cb MM |
3734 | 2005-07-26 Mark Mitchell <mark@codesourcery.com> |
3735 | ||
3736 | * doc/install.texi (--with-build-sysroot): Fix grammatical error. | |
3737 | Clarify use of "build" in name. | |
3738 | ||
c14ff86e AH |
3739 | 2005-07-26 Aldy Hernandez <aldyh@redhat.com> |
3740 | ||
3741 | * doc/extend.texi (Raw read/write Functions): New section. | |
3742 | * testsuite/gcc.target/frv/all-builtin-read8.c: New. | |
3743 | * testsuite/gcc.target/frv/all-builtin-read16.c: New. | |
3744 | * testsuite/gcc.target/frv/all-builtin-read32.c: New. | |
3745 | * testsuite/gcc.target/frv/all-builtin-read64.c: New. | |
3746 | * testsuite/gcc.target/frv/all-builtin-write8.c: New. | |
3747 | * testsuite/gcc.target/frv/all-builtin-write16.c: New. | |
3748 | * testsuite/gcc.target/frv/all-builtin-write32.c: New. | |
3749 | * testsuite/gcc.target/frv/all-builtin-write64.c: New. | |
3750 | * config/frv/frv.c: Add bdesc_loads global. | |
3751 | Add bdesc_stores global. | |
3752 | (frv_init_builtins): Add support for __builtin_{read/write}*. | |
3753 | (frv_volatile_memref): New. | |
3754 | (frv_expand_load_builtin): New. | |
3755 | (frv_expand_store_builtin): New. | |
3756 | * config/frv/frv.h (frv_builtins): Add FRV_BUILTIN_SCAN, | |
3757 | FRV_BUILTIN_READ8, FRV_BUILTIN_READ16, FRV_BUILTIN_READ32, | |
3758 | FRV_BUILTIN_READ64, FRV_BUILTIN_WRITE8, FRV_BUILTIN_WRITE16, | |
3759 | FRV_BUILTIN_WRITE32, FRV_BUILTIN_WRITE64. | |
3760 | * config/frv/frv.md (unspecs): Add UNSPEC_BUILTIN_LOAD, | |
3761 | UNSPEC_BUILTIN_STORE, UNSPEC_OPTIONAL_MEMBAR. | |
3762 | (builtin_read_<mode>): New. | |
3763 | (builtin_write_<mode>): New. | |
3764 | (builtin_write64): New. | |
3765 | (optional_membar_<mode>): New. | |
3766 | ||
db487452 R |
3767 | 2005-07-26 J"orn Rennecke <joern.rennecke@st.com> |
3768 | ||
3769 | * emit-rtl.c (gen_lowpart_common): Compare size of MODE in bits | |
3770 | (rather than units) against HOST_BITS_PER_WIDE_INT. | |
3771 | ||
783455db KH |
3772 | 2005-07-26 Kazu Hirata <kazu@codesourcery.com> |
3773 | ||
3774 | * ipa-pure-const.c, ipa-reference.c, ipa-reference.h, | |
3775 | ipa-type-escape.c, ipa-type-escape.h, ipa-utils.c, | |
3776 | ipa-utils.h, treestruct.def, config/crx/crx-protos.h, | |
3777 | config/crx/crx.c, config/crx/crx.h, config/crx/crx.md: Update | |
3778 | FSF address. | |
3779 | ||
a4174ebf KH |
3780 | * calls.c, fold-const.c, ipa-reference.c, ipa-type-escape.c, |
3781 | tree-ssa-reassoc.c, tree-ssa-structalias.c, vec.h, | |
3782 | config/crx/crx.c, config/m32c/m32c.c, config/m32c/m32c.h: Fix | |
3783 | comment typos. | |
3784 | * doc/c-tree.texi, doc/tree-ssa.texi: Fix typos. | |
3785 | ||
46c0a59d RG |
3786 | 2005-07-26 Richard Guenther <rguenther@suse.de> |
3787 | ||
3788 | PR tree-optimization/22486 | |
3789 | * fold-const.c (fold_unary): Fold away useless component | |
3790 | references of the form (T *)&T.x, if the address | |
3791 | doesn't change. | |
3792 | ||
3e2844cb JW |
3793 | 2005-07-25 James E Wilson <wilson@specifixinc.com> |
3794 | ||
3795 | * dwarf2out.c (add_call_src_coords_attributes): New. | |
3796 | (gen_inlined_subroutine_die): Call it. | |
3797 | (maybe_emit_file, init_file_table): Add comments. | |
3798 | (prune_unused_types_walk_attribs): Pass DW_AT_call_file through | |
3799 | maybe_emit_file. | |
3800 | * tree-inline.c (remap_block): Copy BLOCK_SOURCE_LOCATION. | |
3801 | (expand_call_inline): Set BLOCK_SOURCE_LOCATION. | |
3802 | * tree.h (BLOCK_SOURCE_LOCATION): New. | |
3803 | (struct tree_block): New field locus. | |
3804 | ||
9275de65 AS |
3805 | 2005-07-26 Andreas Schwab <schwab@suse.de> |
3806 | ||
3807 | PR rtl-optimization/23043 | |
3808 | * postreload-gcse.c (eliminate_partially_redundant_load): Fix typo | |
3809 | when allocating a struct unoccr. | |
3810 | ||
5306ec31 RH |
3811 | 2005-07-25 Richard Henderson <rth@redhat.com> |
3812 | ||
3813 | PR 22626 | |
3814 | * tree-complex.c (gate_no_optimization): True if errors. | |
3815 | * Makefile.in (tree-complex.o): Update dependencies. | |
3816 | ||
bfa653b3 AH |
3817 | 2005-07-25 Aldy Hernandez <aldyh@redhat.com> |
3818 | ||
3819 | * config/frv/predicates.md (integer_register_operand): Use | |
3820 | GPR_AP_OR_PSEUDO_P. | |
3821 | ||
43e364dd AP |
3822 | 2005-07-25 Andrew Pinski <pinskia@physics.uc.edu> |
3823 | ||
3824 | PR tree-opt/22484 | |
3825 | * tree-ssa-ccp.c (fold_stmt_inplace): Strip useless type conversions | |
3826 | after fold. | |
3827 | * tree-ssa-propagate.c (set_rhs): Reject invalid conditional operands. | |
3828 | ||
c72f711f AP |
3829 | 2005-07-25 Andrew Pinski <pinskia@physics.uc.edu> |
3830 | ||
3831 | * tree-ssa-reassoc.c (reassociate_expr): Allow scaler floating point | |
3832 | types when flag_unsafe_math_optimizations is true. | |
3833 | ||
160633c6 MM |
3834 | 2005-07-25 Mark Mitchell <mark@codesourcery.com> |
3835 | ||
3836 | * gcc.c (option_map): Add --sysroot. | |
3837 | (process_command): Handle --sysroot. | |
3838 | (display_help): Document it. | |
3839 | * doc/cppopts.tex (-isysroot): Document. | |
3840 | * doc/invoke.texi (--sysroot): Document. | |
3841 | * doc/install.texi (--with-build-sysroot): Document. | |
3842 | ||
3843 | * Makefile.in (inhibit_libc): New variable. | |
3844 | (INHIBIT_LIBC_CFLAGS): Likewise. | |
3845 | (LIBGCC2_CFLAGS): Include | |
3846 | $(INHIBIT_LIBC_CFLAGS). | |
3847 | (CRTSTUFF_CFLAGS): Include $(INHIBIT_LIBC_CFLAGS). | |
3848 | ($(T)crtbegin.o): Do not use @inhibit_libc@. | |
3849 | ($(T)crtend.o): Likewise. | |
3850 | ($(T)crtbeginS.o): Do not use @inhibit_libc@. | |
3851 | ($(T)crtendS.o): Likewise. | |
3852 | ($(T)crtbeginT.o): Do not use @inhibit_libc@. | |
3853 | ($(T)crtendT.o): Likewise. | |
3854 | (stmp-fixinc): Do not complain about missing headers if | |
3855 | inhibit_libc. | |
3856 | * configure.ac (inhibit_libc): Set it to true/false. | |
3857 | (--with-build-sysroot): New option. Use it to set | |
7904f95f | 3858 | SYSTEM_HEADER_DIR. |
160633c6 MM |
3859 | * configure: Regenerated. |
3860 | ||
1490f93a MH |
3861 | 2005-07-25 Manfred Hollstein <mh@suse.com> |
3862 | ||
3863 | * calls.c (store_one_arg): Fix unsigned comparison warning. | |
3864 | ||
76e20664 SB |
3865 | 2005-07-25 Serge Belyshev <belyshev@depni.sinp.msu.ru> |
3866 | ||
3867 | PR other/22337 | |
3868 | * ggc-zone.c (ggc_alloc_zone_stat): Do not use CHUNK_OVERHEAD. | |
3869 | (ggc_print_statistics): Initialize variable before use. | |
3870 | ||
5c97e2de RG |
3871 | 2005-07-25 Richard Guenther <rguenther@suse.de> |
3872 | ||
3873 | * tree-dfa.c (mark_new_vars_to_rename): Protect against | |
3874 | calling with a PHI_NODE argument. | |
3875 | ||
3876 | * tree-flow-inline.h (overlap_subvar): Protect against | |
3877 | possible overflow. | |
3878 | ||
7fefc172 PB |
3879 | 2005-07-25 Paolo Bonzini <bonzini@gnu.org> |
3880 | ||
3881 | * aclocal.m4 (gcc_AC_CHECK_TOOL): Add /bin to default directory. | |
3882 | * configure: Regenerate. | |
3883 | ||
86a07404 IR |
3884 | 2005-07-25 Ira Rosen <irar@il.ibm.com> |
3885 | ||
3886 | * expr.c (highest_pow2_factor): Make extern. | |
3887 | * tree-data-ref.c (ptr_decl_may_alias_p): New function. | |
3888 | (ptr_ptr_may_alias_p, may_alias_p, record_ptr_differ_p, | |
3889 | record_array_differ_p, array_ptr_differ_p): Likewise. | |
3890 | (base_object_differ_p): Rename (from array_base_name_differ_p). Support | |
3891 | additional cases. Call the above functions. | |
3892 | (base_addr_differ_p): Moved from tree-vect-analyze.c. Call | |
3893 | base_object_differ_p when there are two base objects. Otherwise, compare | |
3894 | base address and offset. Call may_alias_p. | |
3895 | (dump_data_reference): Use a correct field name. | |
3896 | (analyze_array): Make static. Initialize new data-ref fields. | |
3897 | (analyze_indirect_ref): New function. | |
7904f95f EC |
3898 | (init_data_ref): Initialize new data-ref fields. |
3899 | (strip_conversion): Moved from tree-vect-analyze.c. | |
7fefc172 PB |
3900 | (analyze_offset_expr, get_ptr_offset, address_analysis, |
3901 | object_analysis): Likewise. | |
86a07404 | 3902 | (analyze_offset): New function. |
86979811 | 3903 | (create_data_ref): Likewise. |
86a07404 IR |
3904 | (initialize_data_dependence_relation): Call base_addr_differ_p. Compare |
3905 | dimensions for ARRAY_REFs only. | |
3906 | (build_classic_dist_vector): Make static. | |
3907 | (access_functions_are_affine_or_constant_p): Call macro to get the | |
3908 | address of access functions. | |
3909 | (compute_all_dependences): Add new parameter | |
7904f95f | 3910 | compute_self_and_read_read_dependences. Compute self and read-read |
86a07404 IR |
3911 | dependences if it is true. |
3912 | (find_data_references_in_loop): Call create_data_ref. Initialize new | |
3913 | data-ref fields. | |
3914 | (compute_data_dependences_for_loop): Add new parameter | |
3915 | compute_self_and_read_read_dependences. Remove parameter nb_loops, | |
7fefc172 PB |
3916 | compute nb_loops. Call compute_all_dependences, |
3917 | build_classic_dist_vector and build_classic_dir_vector with correct | |
3918 | parameters. | |
3919 | (analyze_all_data_dependences): Call compute_data_dependences_for_loop | |
3920 | with correct parameters. Compare dimensions for ARRAY_REFs only. | |
86a07404 IR |
3921 | (free_data_refs): Call macro to free access functions. |
3922 | * tree-data-ref.h (struct first_location_in_loop): New structure. Move | |
3923 | fields from stmt_vinfo. | |
3924 | (struct base_object_info): New structure. | |
7904f95f | 3925 | (struct data_reference): Move fields to base_object_info. Add fields |
86a07404 | 3926 | first_location and object_info for above structures. Move fields from |
7fefc172 PB |
3927 | stmt_info: memtag, ptr_info, subvars, misalignment. Add new field |
3928 | aligned_to. Add macros to access the new fields. | |
86a07404 IR |
3929 | Update functions declarations. |
3930 | * tree-flow.h (is_aliased_with): Declare. | |
3931 | * tree-loop-linear.c (linear_transform_loops): Call | |
3932 | compute_data_dependences_for_loop with correct parameters. | |
3933 | * tree-ssa-alias.c (is_aliased_with): New function. | |
86979811 | 3934 | * tree-vect-analyze.c (vect_get_ptr_offset): Remove. |
86a07404 IR |
3935 | (vect_analyze_offset_expr, vect_base_addr_differ_p): Likewise. |
3936 | (vect_analyze_data_ref_dependence): Get ddr. Remove call to | |
3937 | vect_base_addr_differ_p, compute_subscript_distance and | |
3938 | build_classic_dist_vector. Add printings. Check absolute value of | |
3939 | distance. | |
7fefc172 PB |
3940 | (vect_analyze_data_ref_dependences): Go through ddrs instead of |
3941 | data-refs. | |
86a07404 IR |
3942 | (vect_compute_data_ref_alignment): Get the fields of data-ref instead of |
3943 | stmt. Check aligned_to. Check if the base is aligned. Remove conversion | |
3944 | to bytes. Add printing. | |
7fefc172 PB |
3945 | (vect_compute_data_refs_alignment): Go through loads and stores in one |
3946 | loop. | |
86a07404 IR |
3947 | (vect_enhance_data_refs_alignment, vect_analyze_data_refs_alignment, |
3948 | vect_analyze_data_ref_access): Likewise. | |
3949 | (vect_analyze_pointer_ref_access): Remove. | |
3950 | (vect_address_analysis, vect_object_analysis): Likewise. | |
3951 | (vect_analyze_data_refs): Call compute_data_dependences_for_loop to find | |
3952 | and analyze data-refs in the loop. | |
7fefc172 PB |
3953 | * tree-vect-transform.c (vect_create_addr_base_for_vector_ref): Get the |
3954 | fields of data-ref instead of stmt. Add init to the offset from the | |
3955 | base. | |
86a07404 IR |
3956 | (vect_create_data_ref_ptr): Get the fields of data-ref instead of stmt. |
3957 | (vect_update_init_of_dr): Likewise. | |
3958 | (vect_update_inits_of_drs): Go through loads and stores in one loop. | |
7fefc172 PB |
3959 | * tree-vectorizer.c (new_stmt_vec_info): Remove initialization of |
3960 | removed fields. | |
86a07404 IR |
3961 | (new_loop_vec_info): Initialize new fields. |
3962 | (destroy_loop_vec_info): Free new fields. | |
3963 | (vect_strip_conversion): Remove. | |
3964 | * tree-vectorizer.h (enum verbosity_levels): Add new verbosity level. | |
3965 | (struct _loop_vec_info): Unify data_ref_writes and data_ref_reads into | |
7904f95f | 3966 | datarefs. Add new field ddrs. |
86a07404 IR |
3967 | Add macros for the new fields access. |
3968 | (struct _stmt_vec_info): Remove: base_address, initial_offset, step, | |
3969 | base_aligned_p, misalignment, memtag, ptr_info and subvars. | |
3970 | Remove their macros. | |
3971 | * tree.h (highest_pow2_factor): Declare. | |
3972 | ||
0dc42b03 JJ |
3973 | 2005-07-25 Jakub Jelinek <jakub@redhat.com> |
3974 | ||
3975 | * calls.c (store_one_arg): Check for sibling call MEM arguments | |
3976 | from already clobbered incoming argument area. | |
3977 | ||
104f8784 KG |
3978 | 2005-07-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3979 | ||
3980 | * c-common.c (check_missing_format_attribute): New. | |
3981 | * c-common.h (check_missing_format_attribute): Likewise. | |
3982 | * c-typeck.c (convert_for_assignment): Use it. | |
3983 | ||
1b8452d0 AS |
3984 | 2005-07-24 Andreas Schwab <schwab@suse.de> |
3985 | ||
3986 | * config/m68k/m68k.md ("extendqidi2"): When source is an address | |
3987 | register use a word move. Correct operand of ext.w in 68000 code. | |
3988 | ||
2b402955 MM |
3989 | 2005-07-23 Mark Mitchell <mark@codesourcery.com> |
3990 | ||
3991 | * dwarf2out.c (gen_variable_die): Treat un-emitted COMDAT | |
3992 | variables as declarations, rather than definitions. | |
3993 | ||
c8af1197 IR |
3994 | 2005-07-24 Ira Rosen <irar@il.ibm.com> |
3995 | ||
86979811 SB |
3996 | PR tree-optimization/22526 |
3997 | * tree-vectorizer.c (slpeel_tree_peel_loop_to_edge): Match the type | |
3998 | of the zero node. | |
c8af1197 | 3999 | |
1b135aa5 FXC |
4000 | 2005-07-24 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
4001 | ||
4002 | * builtins.def: Add DEF_EXT_C99RES_BUILTIN to define builtins | |
4003 | that C99 reserve for future use. Use it to define clog10, | |
4004 | clog10f and clog10l. | |
4005 | ||
ac0f3f39 KG |
4006 | 2005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4007 | ||
4008 | * Makefile.in (STRICT2_WARN): Add -Wmissing-format-attribute. | |
4009 | * configure.ac: Check for -Wmissing-format-attribute. | |
7904f95f | 4010 | |
ac0f3f39 KG |
4011 | * configure: Regenerate. |
4012 | ||
db753fa1 RH |
4013 | 2005-07-23 Richard Henderson <rth@redhat.com> |
4014 | ||
4015 | PR tree-optimization/22623 | |
4016 | * tree-complex.c (set_component_ssa_name): Use replace_ssa_name_symbol. | |
4017 | ||
28f155be GB |
4018 | 2005-07-23 Giovanni Bajo <giovannibajo@libero.it> |
4019 | ||
4020 | PR target/22577 | |
4021 | * config/pa/pa.c (reloc_needed): Updated for VECs inside CONSTRUCTOR. | |
4022 | ||
db857e7d KG |
4023 | 2005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4024 | ||
4025 | * Makefile.in (C_TREE_H): Update dependencies. | |
4026 | * c-tree.h: Include toplev.h. | |
4027 | * diagnostic.h (diagnostic_set_info): Add format attribute. | |
4028 | * rtl-error.c (diagnostic_for_asm): Likewise. | |
4029 | ||
118ea793 CF |
4030 | 2005-07-23 Chao-ying Fu <fu@mips.com> |
4031 | ||
4032 | * config/mips/mips-dsp.md: New file. | |
4033 | * config/mips/mips-modes.def (V4QI, V2HI, CCDSP): New modes. | |
4034 | * config/mips/mips.c (mips_function_type): Add types for DSP builtin | |
4035 | functions. | |
4036 | (mips_builtin_type): Add MIPS_BUILTIN_DIRECT_NO_TARGET and | |
4037 | MIPS_BUILTIN_BPOSGE32. | |
4038 | (mips_expand_builtin_direct): Add one parameter to indicate that | |
4039 | builtin functions need to return a value. | |
4040 | (mips_expand_builtin_bposge): New for expanding "bposge" builtin | |
4041 | functions. | |
4042 | (mips_regno_to_class): Add classes for 12 new DSP registers. | |
4043 | (mips_subword): Change to check four HI registers. | |
4044 | (mips_output_move): Output move to and from 6 new DSP accumulators. | |
4045 | (override_options): Make sure -mdsp and -mips16 are not used together. | |
4046 | Map 'A' to DSP_ACC_REGS and 'a' to ACC_REGS. Enable DSP accumulators | |
4047 | for machine modes. | |
4048 | (mips_conditional_register_usage): Disable 6 new DSP accumulators | |
4049 | when !TARGET_DSP. | |
4050 | (print_operand): Add 'q' for printing DSP accumulators. | |
4051 | (mips_cannot_change_mode_class): Check ACC_REGS. | |
4052 | (mips_secondary_reload_class): Check ACC_REGS. | |
4053 | (mips_vector_mode_supported_p): Enable V2HI and V4QI when TARGET_DSP. | |
4054 | (mips_register_move_cost): Check ACC_REGS. | |
4055 | (CODE_FOR_mips_addq_ph, CODE_FOR_mips_addu_qb, CODE_FOR_mips_subq_ph) | |
4056 | (CODE_FOR_mips_subu_qb): New code-aliasing macros. | |
4057 | (DIRECT_NO_TARGET_BUILTIN, BPOSGE_BUILTIN): New macros. | |
4058 | (dsp_bdesc): New array. | |
4059 | (bdesc_arrays): Add DSP builtin function table. | |
4060 | (mips_prepare_builtin_arg): Check predicate again after | |
4061 | copy_to_mode_reg. | |
4062 | (mips_expand_builtin): Add one more parameter to | |
4063 | mips_expand_builtin_direct. Expand MIPS_BUILTIN_DIRECT_NO_TARGET and | |
4064 | MIPS_BUILTIN_BPOSGE32. | |
4065 | (mips_init_builtins): Initialize new function types. | |
4066 | (mips_expand_builtin_direct): Check if builtin functions need to | |
4067 | return a value and pass operands properly. | |
4068 | (mips_expand_builtin_bposge): New function. | |
4069 | * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Add __mips_dsp. | |
4070 | (ASM_SPEC): Map -mdsp to -mdsp in GAS. | |
4071 | (FIRST_PSEUDO_REGISTER): Increase to 188. | |
4072 | (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS): | |
4073 | Update for 12 new DSP registers. | |
4074 | (DSP_ACC_REG_FIRST, DSP_ACC_REG_LAST, DSP_ACC_REG_NUM, AC1HI_REGNUM) | |
4075 | (AC1LO_REGNUM, AC2HI_REGNUM, AC2LO_REGNUM, AC3HI_REGNUM, AC3LO_REGNUM): | |
4076 | (DSP_ACC_REG_P, ACC_REG_P, ACC_HI_REG_P): New macros. | |
4077 | (reg_class): Add DSP_ACC_REGS and ACC_REGS. | |
4078 | (REG_CLASS_NAMES): Add names for DSP_ACC_REGS and ACC_REGS. | |
4079 | (REG_CLASS_CONTENTS): Update for DSP_ACC_REGS, ACC_REGS and ALL_REGS. | |
4080 | (REG_ALLOC_ORDER): Update for 12 new DSP registers. | |
4081 | (mips_char_to_class): Add 'A' for DSP_ACC_REGS and 'a' for ACC_REGS. | |
4082 | (UIMM6_OPERAND, IMM10_OPERAND): New macros. | |
4083 | (EXTRA_CONSTRAINT_Y): Add YA and YB extra constraints. | |
4084 | (REGISTER_NAMES): Add names for 12 new DSP registers. | |
4085 | * config/mips/mips.md: Include mips-dsp.md. | |
4086 | (UNSPEC_ADDQ, UNSPEC_ADDQ_S, UNSPEC_SUBQ, UNSPEC_SUBQ_S, UNSPEC_ADDSC) | |
4087 | (UNSPEC_ADDWC, UNSPEC_MODSUB, UNSPEC_RADDU_W_QB, UNSPEC_ABSQ_S) | |
4088 | (UNSPEC_PRECRQ_QB_PH, UNSPEC_PRECRQ_PH_W, UNSPEC_PRECRQ_RS_PH_W) | |
4089 | (UNSPEC_PRECRQU_S_QB_PH, UNSPEC_PRECEQ_W_PHL, UNSPEC_PRECEQ_W_PHR) | |
4090 | (UNSPEC_PRECEQU_PH_QBL, UNSPEC_PRECEQU_PH_QBR, UNSPEC_PRECEQU_PH_QBLA) | |
4091 | (UNSPEC_PRECEQU_PH_QBRA, UNSPEC_PRECEU_PH_QBL, UNSPEC_PRECEU_PH_QBR) | |
4092 | (UNSPEC_PRECEU_PH_QBLA, UNSPEC_PRECEU_PH_QBRA, UNSPEC_SHLL) | |
4093 | (UNSPEC_SHLL_S, UNSPEC_SHRL_QB, UNSPEC_SHRA_PH, UNSPEC_SHRA_R) | |
4094 | (UNSPEC_MULEU_S_PH_QBL, UNSPEC_MULEU_S_PH_QBR, UNSPEC_MULQ_RS_PH) | |
4095 | (UNSPEC_MULEQ_S_W_PHL, UNSPEC_MULEQ_S_W_PHR, UNSPEC_DPAU_H_QBL) | |
4096 | (UNSPEC_DPAU_H_QBR, UNSPEC_DPSU_H_QBL, UNSPEC_DPSU_H_QBR) | |
4097 | (UNSPEC_DPAQ_S_W_PH, UNSPEC_DPSQ_S_W_PH, UNSPEC_MULSAQ_S_W_PH) | |
4098 | (UNSPEC_DPAQ_SA_L_W, UNSPEC_DPSQ_SA_L_W, UNSPEC_MAQ_S_W_PHL) | |
4099 | (UNSPEC_MAQ_S_W_PHR, UNSPEC_MAQ_SA_W_PHL, UNSPEC_MAQ_SA_W_PHR) | |
4100 | (UNSPEC_BITREV, UNSPEC_INSV, UNSPEC_REPL_QB, UNSPEC_REPL_PH) | |
4101 | (UNSPEC_CMP_EQ, UNSPEC_CMP_LT, UNSPEC_CMP_LE, UNSPEC_CMPGU_EQ_QB) | |
4102 | (UNSPEC_CMPGU_LT_QB, UNSPEC_CMPGU_LE_QB, UNSPEC_PICK, UNSPEC_PACKRL_PH) | |
4103 | (UNSPEC_EXTR_W, UNSPEC_EXTR_R_W, UNSPEC_EXTR_RS_W, UNSPEC_EXTR_S_H) | |
4104 | (UNSPEC_EXTP, UNSPEC_EXTPDP, UNSPEC_SHILO, UNSPEC_MTHLIP, UNSPEC_WRDSP) | |
4105 | (UNSPEC_RDDSP): New constants. | |
4106 | (*movdi_32bit): Change 'x' to 'a' for ACC_REGS. | |
4107 | (*movsi_internal): Change 'x' to 'a' for ACC_REGS. Add an | |
4108 | A<-d alternative. | |
4109 | * config/mips/mips.opt (-mdsp): New option. | |
4110 | * config/mips/predicates.md (const_uimm6_operand, const_imm10_operand) | |
4111 | (reg_imm10_operand): New predicates. | |
4112 | * doc/extend.texi (MIPS DSP Built-in Functions): New section. | |
4113 | * doc/invoke.texi (-mdsp): Document new option. | |
4114 | ||
d2fcbf6f DD |
4115 | 2005-07-22 DJ Delorie <dj@redhat.com> |
4116 | ||
4117 | * c-objc-common.c (c_cannot_inline_tree_fn): Add warning control | |
4118 | to warning calls. | |
4119 | * tree-inline.c (inlinable_function_p): Likewise. | |
4120 | ||
9881e3e5 MM |
4121 | 2005-07-22 Mark Mitchell <mark@codesourcery.com> |
4122 | ||
4123 | PR debug/21828 | |
4124 | * toplev.c (check_global_declarations): Do not mark undefined | |
4125 | variables as DECL_IGNORED_P. | |
4126 | * varasm.c (first_global_object_name): GTY it. | |
4127 | (weak_global_object_name): Likewise. | |
4128 | (notice_global_symbol): Use ggc_strdup, not xstrdup, when creating | |
4129 | a string to go into {weak,first}_global_object_name. | |
4130 | ||
1a8d0d41 DD |
4131 | 2005-07-22 DJ Delorie <dj@redhat.com> |
4132 | ||
4133 | * c-format.c (check_function_format): Change warning control | |
4134 | option from OPT_Wattribute to OPT_Wmissing_format_attribute. | |
4135 | ||
17c7e33e DN |
4136 | 2005-07-22 Diego Novillo <dnovillo@redhat.com> |
4137 | ||
4138 | * tree-ssa-alias.c (count_ptr_derefs): Do not consider | |
4139 | &PTR->FLD a dereference of PTR. | |
4140 | * tree-ssa-structalias.c (update_alias_info): Consider &PTR->FLD | |
4141 | a potential dereference of PTR. | |
4142 | ||
45002e59 R |
4143 | 2005-07-22 J"orn Rennecke <joern.rennecke@st.com> |
4144 | ||
191e1ff2 R |
4145 | PR rtl-optimization/20370 |
4146 | * ifcvt.c (dead_or_predicable): Before calling propagate_block, | |
4147 | call allocate_reg_info if necessary. | |
4148 | ||
475a3eef R |
4149 | PR rtl-optimization/21848 |
4150 | * calls.c (emit_library_call_value_1): For const functions, add | |
4151 | USEs of the stack slots to CALL_INSN_FUNCTION_USAGE. | |
4152 | ||
29c1846b R |
4153 | PR rtl-optimization/22445 |
4154 | * cselib.c (target.h): Include. | |
4155 | (rtx_equal_for_cselib_p): Allow commutative matches. | |
4156 | (cselib_hash_rtx): Don't use MODE for CONST_INT hashing. | |
4157 | Remove MODE parameter. Changed all callers. | |
4158 | ||
45002e59 R |
4159 | PR rtl-optimization/22258 |
4160 | * combine.c (likely_spilled_retval_1, likely_spilled_retval_p): | |
4161 | New functions. | |
4162 | (try_combine): Use likely_spilled_retval_p. | |
4163 | ||
db869733 PW |
4164 | 2005-07-22 Paul Woegerer <paul.woegerer@nsc.com> |
4165 | ||
4166 | * config.gcc: Add crx-elf support. | |
4167 | ||
4168 | * doc/contrib.texi: Mention crx. | |
4169 | * doc/extend.texi: Document crx extensions. | |
4170 | * doc/install.texi: Document crx install. | |
4171 | * doc/invoke.texi: Document crx options. | |
4172 | * doc/md.texi: Document crx constraints. | |
4173 | ||
4174 | * config/crx/crx-protos.h: New file. | |
4175 | * config/crx/crx.c: New file. | |
4176 | * config/crx/crx.h: New file. | |
4177 | * config/crx/crx.md: New file. | |
4178 | * config/crx/crx.opt: New file. | |
4179 | * config/crx/t-crx: New file. | |
7904f95f | 4180 | |
32cafd73 MH |
4181 | 2005-07-22 Manfred Hollstein <mh@suse.com> |
4182 | ||
4183 | * tree-ssa-structalias.c (merge_graph_nodes): Fix uninitialised | |
4184 | warnings. | |
4185 | (int_add_graph_edge): Likewise. | |
4186 | (collapse_nodes): Likewise. | |
4187 | (process_unification_queue): Likewise. | |
4188 | ||
ee184c4d | 4189 | 2005-07-22 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
86979811 | 4190 | Laurent GUERBY <laurent@guerby.net> |
ee184c4d | 4191 | |
86979811 | 4192 | PR tree-optimization/22336 |
7904f95f | 4193 | * function.c (record_block_change): Check for |
86979811 | 4194 | cfun->ib_boundaries_block. |
7904f95f | 4195 | |
b49ceb45 JM |
4196 | 2005-07-21 James A. Morrison <phython@gcc.gnu.org> |
4197 | ||
4198 | * fold-const.c (fold_unary): Don't strip signed nops from ABS_EXPRs. | |
4199 | (tree_expr_nonnegative_p): Return try for TYPE_UNSIGNED. | |
4200 | ||
30c54de9 DD |
4201 | 2005-07-21 DJ Delorie <dj@redhat.com> |
4202 | ||
4203 | * toplev.c (warn_deprecated_use): Add warning control to warning | |
4204 | call. | |
c303630a DD |
4205 | * c-typeck.c (parser_build_binary_op): Likewise. |
4206 | (c_finish_if_stmt): Likewise. | |
30480ec4 DD |
4207 | * c-common.c (check_function_sentinel): Likewise. |
4208 | (check_nonnull_arg): Likewise. | |
30c54de9 | 4209 | |
95a8c155 RH |
4210 | 2005-07-21 Richard Henderson <rth@redhat.com> |
4211 | ||
4212 | PR tree-opt/22504 | |
4213 | * tree-complex.c (complex_ssa_name_components): New. | |
4214 | (cvc_lookup): Allow entry not found. | |
4215 | (create_components): Remove. | |
4216 | (create_one_component_var, get_component_var): New. | |
4217 | (get_component_ssa_name, set_component_ssa_name): New. | |
4218 | (extract_component): Use get_component_ssa_name. | |
4219 | (update_complex_components): Use set_component_ssa_name. | |
4220 | (update_complex_components_on_edge): Likewise. | |
4221 | (update_phi_components): Create new PHI nodes directly, instead | |
4222 | of adding insns to edges. | |
4223 | (tree_lower_complex): Allocate and free complex_variable_components | |
4224 | and complex_ssa_name_components here. | |
4225 | ||
c05a0766 | 4226 | 2005-07-20 Daniel Berlin <dberlin@dberlin.org> |
7904f95f | 4227 | |
c05a0766 DB |
4228 | * alias.c (nonoverlapping_component_refs_p): Use TYPE_MAIN_VARIANT, |
4229 | revert to returning false. | |
4230 | ||
de343c8d UB |
4231 | 2005-07-21 Uros Bizjak <uros@kss-loka.si> |
4232 | ||
86979811 SB |
4233 | PR target/21149 |
4234 | * config/i386/i386.md (sse_movhlps): Fix vec_select values. | |
de343c8d | 4235 | |
5acc26ef UB |
4236 | 2005-07-21 Uros Bizjak <uros@kss-loka.si> |
4237 | ||
4238 | PR target/22576 | |
4239 | * config/i386/i386.md (cmpxf): Change operand constraints | |
4240 | to "nonmemory_operand". | |
4241 | ||
61cb44fe AP |
4242 | 2005-07-21 Andrew Pinski <pinskia@physics.uc.edu> |
4243 | ||
4244 | * config/i386/i386.md (trap): Use "".word/t0x0b0f" instead of ud2. | |
4245 | ||
e2fe73f6 AP |
4246 | 2005-07-21 Andrew Pinski <pinskia@physics.uc.edu> |
4247 | ||
4248 | PR middle-end/21180 | |
4249 | * fold-const.c (fold_build1): Add checksum for the operands. | |
7904f95f | 4250 | (fold_build2): Likewise. |
e2fe73f6 AP |
4251 | (fold_build3): Likewise. |
4252 | ||
9d24eb54 AP |
4253 | 2005-07-21 Andrew Pinski <pinskia@physics.uc.edu> |
4254 | ||
4255 | PR middle-end/19055 | |
4256 | * fold-const.c (fold_binary): Transform "(X | Y) ^ X" to "Y & ~ X". | |
4257 | ||
b2e0afa0 PB |
4258 | 2005-07-21 Paolo Bonzini <bonzini@gnu.org> |
4259 | ||
4260 | * common.opt (-fforward-propagate): Committed by mistake, | |
4261 | removed. | |
4262 | ||
2e48874f VR |
4263 | 2005-07-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
4264 | ||
4265 | * reg-stack.c: Fix comment typo(s). | |
4266 | * tree-ssa-operands.c: Likewise. | |
4267 | * tree-vectorizer: Likewise. | |
4268 | ||
889d8465 NC |
4269 | 2005-07-21 Nick Clifton <nickc@redhat.com> |
4270 | ||
4271 | * config/sh/symbian.c: Replace C++ style line comments with C | |
4272 | style line comments. | |
86979811 | 4273 | (symbian_add_attribute): Do not use a ? operator on the LHS of |
889d8465 | 4274 | an assignment. |
86979811 | 4275 | (sh_symbian_handle_dll_attribute): Change the type of the |
889d8465 NC |
4276 | method vector to "VEC(tree,gc)*" and use vector accessor |
4277 | macros to walk over the elements. | |
86979811 SB |
4278 | (symbian_export_vtable_and_rtti_p): Likewise. |
4279 | (symbian_class_needs_attribute_p): Likewise. | |
889d8465 | 4280 | |
2fab365e PB |
4281 | 2005-07-21 Paolo Bonzini <bonzini@gnu.org> |
4282 | ||
4283 | PR target/22085 | |
4284 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Do not | |
4285 | initialize targetm.resolve_overloaded_builtin here. | |
4286 | (altivec_expand_overloaded_builtin): Make it non-static. | |
4287 | * config/rs6000/rs6000-protos.h | |
4288 | (altivec_expand_overloaded_builtin): New prototype. | |
4289 | * config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Initialize | |
4290 | targetm.resolve_overloaded_builtin here. | |
4291 | * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Likewise. | |
4292 | ||
f9cc1a70 | 4293 | 2005-07-21 Paolo Bonzini <bonzini@gnu.org> |
86979811 | 4294 | Zdenek Dvorak <dvorakz@suse.cz> |
f9cc1a70 PB |
4295 | |
4296 | PR tree-optimization/19210 | |
4297 | * common.opt (Wunsafe-loop-optimizations, funsafe-loop-optimizations): | |
4298 | New. | |
4299 | * Makefile.in (tree-ssa-loop-niter.o): Depend intl.o. | |
4300 | * loop-iv.c (get_simple_loop_desc): If -funsafe-loop-optimizations, | |
4301 | rely on unproven assumptions. | |
4302 | * predict.c (predict_loops): Adjust call to number_of_iterations_exit. | |
4303 | * tree-flow.h (number_of_iterations_exit): Add final parameter. | |
4304 | * tree-scalar-evolution.c (number_of_iterations_in_loop): Adjust call | |
4305 | to number_of_iterations_exit. | |
4306 | * tree-ssa-loop-ivcanon.c (empty_loop_p): Likewise. | |
4307 | * tree-ssa-loop-ivopts.c (niter_for_exit): Likewise. | |
4308 | * tree-ssa-loop-niter.c (find_loop_niter, | |
4309 | estimate_numbers_of_iterations_loop): Likewise. | |
4310 | (number_of_iterations_exit): Honor the new options. | |
4311 | * doc/invoke.texi (Wunsafe-loop-optimizations, | |
4312 | funsafe-loop-optimizations): Document them. | |
4313 | ||
cb83c2ec RS |
4314 | 2005-07-21 Richard Sandiford <richard@codesourcery.com> |
4315 | ||
4316 | PR rtl-optimization/22167 | |
4317 | * gcse.c (hoist_code): Fix hoist_exprs[] check. | |
4318 | ||
5e5cbbfb AN |
4319 | 2005-07-20 Adam Nemet <anemet@lnxw.com> |
4320 | ||
4321 | * config/rs6000/lynx.h: Mark __do_global_ctors_aux and | |
4322 | __do_global_dtors_aux longcall. | |
4323 | ||
c2acaf06 KH |
4324 | 2005-07-20 Kazu Hirata <kazu@cs.umass.edu> |
4325 | ||
4326 | * gensupport.c (old_preds): Don't reference PREDICATE_CODES. | |
4327 | (old_special_pred_table): Don't reference | |
4328 | SPECIAL_MODE_PREDICATES. | |
4329 | * system.h (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): Poison. | |
4330 | * config/arc/arc.h: Don't mention PREDICATE_CODES. | |
4331 | * config/sh/predicates.h: Don't mention | |
4332 | SPECIAL_MODE_PREDICATES. | |
4333 | * doc/tm.texi (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): | |
4334 | Remove. | |
4335 | ||
38b2d076 DD |
4336 | 2005-07-20 DJ Delorie <dj@redhat.com> |
4337 | ||
4338 | * config.gcc: Add m32c-elf support. | |
4339 | ||
4340 | * doc/contrib.texi: Mention m32c. | |
4341 | * doc/extend.texi: Document m32c extensions. | |
4342 | * doc/install.texi: Mention m32c. | |
4343 | * doc/invoke.texi: Document m32c options. | |
4344 | * doc/md.texi: Document m32c constraints. | |
4345 | ||
4346 | * config/m32c/addsub.md: New file. | |
4347 | * config/m32c/bitops.md: New file. | |
4348 | * config/m32c/cond.md: New file. | |
4349 | * config/m32c/jump.md: New file. | |
4350 | * config/m32c/m32c-lib1.S: New file. | |
4351 | * config/m32c/m32c-lib2.c: New file. | |
4352 | * config/m32c/m32c-modes.def: New file. | |
4353 | * config/m32c/m32c-pragma.c: New file. | |
4354 | * config/m32c/m32c-protos.h: New file. | |
4355 | * config/m32c/m32c.abi: New file. | |
4356 | * config/m32c/m32c.c: New file. | |
4357 | * config/m32c/m32c.h: New file. | |
4358 | * config/m32c/m32c.md: New file. | |
4359 | * config/m32c/m32c.opt: New file. | |
4360 | * config/m32c/minmax.md: New file. | |
4361 | * config/m32c/mov.md: New file. | |
4362 | * config/m32c/muldiv.md: New file. | |
4363 | * config/m32c/predicates.md: New file. | |
4364 | * config/m32c/prologue.md: New file. | |
4365 | * config/m32c/shift.md: New file. | |
4366 | * config/m32c/t-m32c: New file. | |
4367 | ||
50b69666 KK |
4368 | 2005-07-20 Kaz Kojima <kkojima@gcc.gnu.org> |
4369 | ||
4370 | * config/sh/sh.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): New constants. | |
4371 | (stack_protect_set, stack_protect_test): New expanders. | |
86979811 | 4372 | (stack_protect_set_si, stack_protect_set_si_media, |
50b69666 | 4373 | stack_protect_set_di_media, stack_protect_test_si, |
86979811 | 4374 | stack_protect_test_si_media, stack_protect_test_di_media): |
50b69666 KK |
4375 | New insns. |
4376 | ||
71b50543 AP |
4377 | 2005-07-20 Andrew Pinski <pinskia@physics.uc.edu> |
4378 | ||
4379 | * c-typeck.c (output_init_element): Don't copy the INTEGER_CST. | |
4380 | ||
4db8040c JM |
4381 | 2005-07-20 James A. Morrison <phython@gcc.gnu.org> |
4382 | ||
4383 | * tree.h (tree_expr_nonzero_p): Export. | |
4384 | * fold-const.c (tree_expr_nonzero_p): Likewise. | |
4385 | Return true for CALL_EXPRs that are alloca calls. | |
4386 | (fold_binary): Use omit_one_operand when checking EQ_EXPRs or NE_EXPRs | |
4387 | against zero. | |
4388 | * tree-flow.h (expr_computes_nonzero): Remove. | |
4389 | * tree-vrp.c (expr_computes_nonzero): Remove. | |
86979811 | 4390 | (vrp_expr_computes_nonzero): Use tree_expr_nonzero_p. |
4db8040c JM |
4391 | (extract_range_from_unary_expr): Likewise. |
4392 | * tree-ssa-dom.c (record_equivalences_from_stmt): Use | |
4393 | tree_expr_nonzero_p. | |
4394 | ||
6d459e2b BS |
4395 | 2005-07-20 Bernd Schmidt <bernd.schmidt@analog.com> |
4396 | ||
09350e36 BS |
4397 | * config/bfin/bfin-protos.h (legitimize_pic_address): Don't declare. |
4398 | * config/bfin/bfin.c (legitimize_pic_address): Now static. Take | |
4399 | extra arg "picreg" and use it instead of pic_offset_table_rtx. | |
4400 | All callers changed. | |
4401 | (frame_related_constant_load): New arg "related" which controls | |
4402 | setting of RTX_FRAME_RELATED_P. All callers changed. | |
4403 | (bfin_load_pic_reg): New function, broken out of bfin_expand_prologue. | |
4404 | (bfin_expand_prologue): Add stack limit checking. | |
4405 | * config/bfin/bfin.md (trapifcc): New pattern. | |
4406 | ||
05905337 BS |
4407 | * config/bfin/bfin.c: Include "langhooks.h". |
4408 | (def_builtin): Go through lang_hooks to call builtin_function. | |
4409 | ||
6d459e2b BS |
4410 | * config/bfin/bfin-protos.h (bfin_longcall_p): Declare. |
4411 | * config/bfin/predicates.md (symbol_ref_operand): New. | |
4412 | (call_insn_operand): Delete. All callers changed to use | |
4413 | register_no_elim_operand. | |
4414 | * config/bfin/bfin.c (init_cumulative_args): Initialize the new | |
4415 | call_cookie field. | |
4416 | (function_arg): Use it to generate the call's operand 2. | |
4417 | (bfin_longcall_p): New function. | |
4418 | (bfin_expand_call): Extra arg "cookie". All callers and declaration | |
4419 | changed. Emit extra USE in the pattern. Use bfin_longcall_p to | |
4420 | determine if the address needs to be in a REG. | |
4421 | (bfin_handle_longcall_attribute): New function. | |
4422 | (bfin_attribute_table): Add "longcall" and "shortcall". | |
4423 | * config/bfin/bfin.h (CALL_NORMAL, CALL_LONG, CALL_SHORT): New macros. | |
4424 | (CUMULATIVE_ARGS): New member call_cookie. | |
4425 | (PREDICATE_CODES): Add symbol_ref_operand. | |
4426 | * config/bfin/bfin.md (call, call_value, sibcall, sibcall_value): Add | |
4427 | extra USE to the pattern. | |
4428 | (call_symbol, sibcall_symbol, call_value_symbol, sibcall_value_symbol): | |
4429 | New patterns, split off call_insn, sibcall_insn, call_value_insn and | |
4430 | sibcall_value_insn; now the new patterns handle direct calls and the | |
4431 | old ones indirect calls. | |
4432 | * doc/extend.texi: Mention Blackfin in longcall/shortcall docs. | |
4433 | ||
67135ef4 ZD |
4434 | 2005-07-20 Zdenek Dvorak <dvorakz@suse.cz> |
4435 | ||
4436 | * doc/trouble.texi: Update section on handling of empty loops. | |
4437 | ||
fdda361d KH |
4438 | 2005-07-20 Kazu Hirata <kazu@codesourcery.com> |
4439 | ||
4440 | * config.gcc: Remove support for sparc-*-openbsd*, | |
4441 | i860-*-sysv4*, ip2k-*-elf, ns32k-*-netbsdelf*, | |
4442 | ns32k-*-netbsd*. | |
4443 | * config.host: Remove support for i860-*-sysv4* as a host. | |
4444 | * config/i860/*, config/ip2k/*, config/ns32k/*, | |
4445 | config/sparc/openbsd.h, config/sparc/t-openbsd: Remove. | |
4446 | * doc/install.texi, doc/invoke.texi, doc/md.texi: Don't | |
4447 | mention obsolete ports. | |
4448 | ||
96a2347e KK |
4449 | 2005-07-20 Kaz Kojima <kkojima@gcc.gnu.org> |
4450 | ||
4451 | * config/sh/sh.c (regno_reg_class): Add GENERAL_REGS for | |
4452 | soft frame pointer. | |
4453 | (sh_expand_prologue): Use hard_frame_pointer_rtx instead | |
4454 | of frame_pointer_rtx. | |
4455 | (sh_expand_epilogue): Likewise. | |
4456 | (sh_set_return_address): Likewise. | |
4457 | (initial_elimination_offset): Use HARD_FRAME_POINTER_REGNUM | |
4458 | instead of FRAME_POINTER_REGNUM if needed. Add elimination | |
4459 | offsets from FRAME_POINTER_REGNUM. | |
4460 | * config/sh/sh.h (SH_REGISTER_NAMES_INITIALIZER): Add sfp. | |
4461 | (sh_register_names): Add initializer for sfp. | |
4462 | (GENERAL_OR_AP_REGISTER_P): Permit FRAME_POINTER_REGNUM. | |
4463 | (VALID_REGISTER_P): Likewise. | |
4464 | (FIRST_PSEUDO_REGISTER): Update. | |
4465 | (DWARF_FRAME_REGISTERS): Define. | |
4466 | (FIXED_REGISTERS, CALL_USED_REGISTERS): Add sfp. | |
4467 | (HARD_FRAME_POINTER_REGNUM): Define. | |
4468 | (FRAME_POINTER_REGNUM): Redefine. | |
4469 | (ELIMINABLE_REGS): Never eliminate to FRAME_POINTER_REGNUM, | |
4470 | but HARD_FRAME_POINTER_REGNUM instead. Add eliminations | |
4471 | from FRAME_POINTER_REGNUM. | |
4472 | (CAN_ELIMINATE): Use HARD_FRAME_POINTER_REGNUM instead of | |
4473 | FRAME_POINTER_REGNUM. | |
4474 | (REG_CLASS_CONTENTS): Add sfp. | |
4475 | (REG_ALLOC_ORDER): Likewise. | |
4476 | (FRAME_GROWS_DOWNWARD): Set to 1. Update comment. | |
4477 | (GO_IF_LEGITIMATE_ADDRESS): Use hard_frame_pointer_rtx instead | |
4478 | of frame_pointer_rtx. | |
4479 | (LEGITIMIZE_RELOAD_ADDRESS): Likewise. | |
4480 | ||
1ade5842 JM |
4481 | 2005-07-19 James A. Morrison <phython@gcc.gnu.org> |
4482 | ||
4483 | * fold-const.c (tree_expr_nonnegative_p): Only return true for | |
4484 | ABS_EXPR when flag_wrapv is false because of INT_MIN. | |
4485 | (tree_expr_nonzero_p): Always call tree_expr_nonzero_p on the argument | |
4486 | of an ABS_EXPR. | |
4487 | (fold_unary): Always fold ABS_EXPR<ABS_EXPR<x>> into | |
4488 | ABS_EXPR<x>. | |
4489 | ||
4038c495 GB |
4490 | 2005-07-20 Giovanni Bajo <giovannibajo@libero.it> |
4491 | ||
4492 | Make CONSTRUCTOR use VEC to store initializers. | |
4493 | * c-common.c (complete_array_type): Update to cope with VEC in | |
4494 | CONSTRUCTOR_ELTS. | |
4495 | * c-pretty-print.c (pp_c_initializer_list): Use pp_c_constructor_elts. | |
4496 | (pp_c_constructor_elts): New function. | |
4497 | * c-pretty-print.h (pp_c_constructor_elts): Declare. | |
4498 | * c-typeck.c (build_function_call, build_c_cast, digest_init, | |
4499 | struct constructor_stack, struct initializer_stack, | |
4500 | constructor_elements, push_init_level, pop_init_level, | |
4501 | add_pending_init, find_init_member, output_init_element): Update to | |
4502 | cope with VEC in CONSTRUCTOR_ELTS. | |
4503 | * coverage.c (build_fn_info_value, build_ctr_info_value, | |
4504 | build_gcov_info): Likewise. | |
4505 | * expr.c (categorize_ctor_elements_1, store_constructor, | |
4506 | expand_expr_real_1): Likewise. | |
4507 | * fold-const.c (fold_ternary): Likewise. | |
4508 | * gimplify.c (gimplify_init_ctor_preeval, zero_sized_field_decl, | |
4509 | gimplify_init_constructor, gimplify_expr): Likewise. | |
4510 | * tree-dump.c (dequeue_and_dump): Likewise. | |
4511 | * tree-inline.c (copy_tree_r): Add code to duplicate a CONSTRUCTOR | |
4512 | node. | |
4513 | * tree-pretty-print.c (dump_generic_node): Update to cope with VEC in | |
4514 | CONSTRUCTOR_ELTS. | |
4515 | * tree-sra.c (generate_element_init_1): Likewise. | |
4516 | * tree-ssa-ccp.c (fold_const_aggregate_ref): Likewise. | |
4517 | * tree-ssa-operands.c (get_expr_operands): Likewise. | |
4518 | * tree-vect-generic.c (expand_vector_piecewise): Likewise. | |
4519 | * tree-vect-transform.c (vect_get_vec_def_for_operand): | |
4520 | (get_initial_def_for_reduction): Likewise. | |
4521 | * tree-vn.c (set_value_handle, get_value_handle): CONSTURCTOR uses | |
4522 | value handle in annotations. | |
4523 | * tree.c (tree_node_kind, tree_code_size, make_node_stat, | |
4524 | tree_node_structure): Add support for constr_kind. | |
4525 | (build_vector_from_ctor, build_constructor_single, | |
4526 | build_constructor_from_list): New functions. | |
4527 | (build_constructor): Update to take a VEC instead of a TREE_LIST. | |
4528 | (simple_cst_equal, iterative_hash_expr, initializer_zerop, walk_tree): | |
4529 | Update to cope with VEC in CONSTRUCTOR_ELTS. | |
4530 | * tree.def (CONSTRUCTOR): Make it a tcc_exceptional node. | |
4531 | * tree.h (FOR_EACH_CONSTRUCTOR_VALUE, FOR_EACH_CONSTRUCTOR_ELT, | |
4532 | CONSTRUCTOR_APPEND_ELT): New macros. | |
4533 | (struct constructor_elt, struct tree_constructor): New data types. | |
4534 | (union tree_node): Add tree_constructor field. | |
4535 | * treestruct.def: Define TS_CONSTRUCTOR. | |
4536 | * varasm.c (const_hash_1, compare_constant, copy_constant, | |
4537 | compute_reloc_for_constant, output_addressed_constants, | |
4538 | initializer_constant_valid_p, output_constant, | |
4539 | array_size_for_constructor, output_constructor): Update to cope with | |
4540 | VEC in CONSTRUCTOR_ELTS. | |
4541 | * vec.h (VEC_empty, VEC_copy): New macros. | |
4542 | ||
f37d7c60 DP |
4543 | 2005-07-19 Devang Patel <dpatel@apple.com> |
4544 | ||
4545 | * dbxout.c (dbxout_type): Check Objective-C++ lang. | |
7904f95f | 4546 | |
af62f6f9 RH |
4547 | 2005-07-19 Richard Henderson <rth@redhat.com> |
4548 | ||
4549 | PR tree-opt/22278 | |
4550 | * gimplify.c (gimplify_expr): Use main variant type for the temp | |
4551 | destination for a discarded volatile read. | |
4552 | * tree-ssa.c (tree_ssa_useless_type_conversion_1): Don't elide | |
4553 | casts between non-void types that change volatility. | |
4554 | ||
b9b8dde3 DD |
4555 | 2005-07-15 DJ Delorie <dj@redhat.com> |
4556 | ||
4557 | * toplev.h: Add comment about the first parameter for warning(). | |
4558 | * errors.h: Likewise. | |
4559 | ||
4560 | * c.opt (Wpragmas): New. | |
4561 | * doc/invoke.texi: Document it. | |
7904f95f | 4562 | |
b9b8dde3 DD |
4563 | * function.c (do_warn_unused_parameter): Add warning control to |
4564 | warning call. | |
4565 | * c-decl.c (warn_if_shadowing): Likewise. | |
4566 | * c-lex.c (cb_def_pragma): Likewise. | |
4567 | * c-pragma.c (GCC_BAD, GCC_BAD2): Likewise. | |
4568 | (pop_alignment): Likewise. | |
4569 | (handle_pragma_pack): Likewise. | |
4570 | (apply_pragma_weak): Likewise. | |
4571 | (handle_pragma_weak): Likewise. | |
4572 | (handle_pragma_redefine_extname): Likewise. | |
4573 | (add_to_renaming_pragma_list): Likewise. | |
4574 | (handle_pragma_extern_prefix): Likewise. | |
4575 | (maybe_apply_renaming_pragma): Likewise. | |
4576 | (handle_pragma_visibility): Likewise. | |
7904f95f | 4577 | |
b9b8dde3 DD |
4578 | * config/c4x/c4x-c.c (BAD): Likewise. |
4579 | (c4x_parse_pragma): Likewise. | |
4580 | * config/ia64/ia64-c.c (ia64_hpux_handle_builtin_pragma): Likewise. | |
4581 | * config/rs6000/rs6000-c.c (SYNTAX_ERROR): Likewise. | |
4582 | (rs6000_pragma_longcall): Likewise. | |
4583 | * config/v850/v850-c.c (pop_data_area): Likewise. | |
4584 | (ghs_pragma_section): Likewise. | |
4585 | (ghs_pragma_section): Likewise. | |
4586 | (ghs_pragma_interrupt): Likewise. | |
4587 | (ghs_pragma_starttda): Likewise. | |
4588 | (ghs_pragma_startsda): Likewise. | |
4589 | (ghs_pragma_startzda): Likewise. | |
4590 | (ghs_pragma_endtda): Likewise. | |
4591 | (ghs_pragma_endsda): Likewise. | |
4592 | (ghs_pragma_endzda): Likewise. | |
4593 | ||
6a9a79a8 DB |
4594 | 2005-07-19 Danny Berlin <dberlin@dberlin.org> |
4595 | Kenneth Zadeck <zadeck@naturalbridge.com> | |
4596 | ||
4597 | * Makefile.in: Removed tree-promote-statics.c | |
4598 | * tree-promote-statics.c: Removed. | |
4599 | * common.opt: Removed flag-promote-statics. | |
4600 | * opts.c: Ditto. | |
7904f95f | 4601 | * passes.c: Removed tree-promote-statics pass. |
6a9a79a8 DB |
4602 | * tree-pass.h: Ditto. |
4603 | * timevar.def: Removed TV_PROMOTE_STATICS. | |
4604 | ||
4605 | ||
0219cf3d GP |
4606 | 2005-07-19 Gerald Pfeifer <gerald@pfeifer.com> |
4607 | ||
4608 | * config.gcc: Add support for *-*-freebsd7, *-*-freebsd8, | |
4609 | and *-*-freebsd9. | |
4610 | * config/freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS): Ditto. | |
7904f95f | 4611 | |
7876a414 KG |
4612 | 2005-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4613 | ||
4614 | PR c/22476 | |
4615 | * c-common.c (check_function_arguments): Call | |
4616 | 'check_function_format' if either -Wformat or | |
4617 | -Wmissing-format-attribute are specified. | |
4618 | * c-format.c (check_function_format): Check -Wformat before | |
4619 | calling 'check_format_info'. | |
4620 | * c-opts.c (c_common_post_options): Don't warn for | |
4621 | -Wmissing-format-attribute without -Wformat. | |
4622 | * c-typeck.c (convert_for_assignment): Detect additional cases for | |
4623 | -Wmissing-format-attribute. | |
4624 | * doc/invoke.texi (-Wmissing-format-attribute): Document new | |
4625 | behavior. | |
4626 | ||
98ea7437 RG |
4627 | 2005-07-19 Richard Guenther <rguenther@suse.de> |
4628 | ||
4629 | * config/i386/i386.md (lrint<mode>2): Use temporary | |
4630 | instead of clobbering non-existent memory. | |
4631 | ||
89a0b917 NC |
4632 | 2005-07-19 Nick Clifton <nickc@redhat.com> |
4633 | ||
4634 | * config/avr/avr.c (legitimate_address_p): Fix debugging print | |
4635 | statement to avoid displaying ASCII control characters. | |
4636 | ||
dfea6c85 BE |
4637 | 2005-07-19 Ben Elliston <bje@au.ibm.com> |
4638 | ||
4639 | * bt-load.c (link_btr_uses): Fix uninitialised warnings. | |
4640 | * cfganal.c (find_edge_index): Ditto. | |
4641 | * combine.c (combine_instructions): Ditto. | |
4642 | * ddg.c (create_scc): Ditto. | |
4643 | (find_successors): Ditto. | |
4644 | (find_predecessors): Ditto. | |
4645 | (find_nodes_on_paths): Ditto. | |
4646 | (longest_simple_path): Ditto. | |
4647 | * flow.c (update_life_info): Ditto. | |
4648 | (count_or_remove_death_notes): Ditto. | |
4649 | (clear_log_links): Ditto. | |
4650 | * modulo-sched.c (generate_reg_moves): Ditto. | |
4651 | (find_max_asap): Ditto. | |
4652 | (find_max_hv_min_mob): Ditto. | |
4653 | (find_max_dv_min_mob): Ditto. | |
4654 | * sbitmap.c (sbitmap_first_set_bit): Ditto. | |
4655 | * sched-rgn.c (extract_edgelst): Ditto. | |
4656 | * tree-into-ssa.c (prepare_names_to_update): Ditto. | |
4657 | (dump_update_ssa): Ditto. | |
4658 | (ssa_names_to_replace) Ditto. | |
4659 | (switch_virtuals_to_full_rewrite): Ditto. | |
4660 | (update_ssa): Ditto. | |
4661 | * tree-vect-transform.c (vect_create_epilog_for_reduction): Ditto. | |
4662 | ||
b9d33488 DB |
4663 | 2005-07-18 Daniel Berlin <dberlin@dberlin.org> |
4664 | ||
4665 | Fix PR tree-optimization/22483 | |
7904f95f | 4666 | |
b9d33488 DB |
4667 | * tree-complex.c (create_components): Use |
4668 | safe_referenced_var_iterator and FOR_EACH_REFERENCED_VAR_SAFE. | |
4669 | * tree-flow-inline.h (fill_referenced_var_vec): New function. | |
4670 | * tree-flow.h (safe_referenced_var_iterator): New structure. | |
4671 | (FOR_EACH_REFERENCED_VAR_SAFE): New macro. | |
4672 | * tree-ssa-alias.c (setup_pointers_and_addressables): Use | |
4673 | safe_referenced_var iterator. | |
4674 | (add_type_alias): Ditto. | |
4675 | ||
9fa26457 SB |
4676 | 2005-07-19 Steven Bosscher <stevenb@suse.de> |
4677 | ||
4678 | * loop-init.c (rest_of_handle_loop2): Remove. | |
4679 | (rtl_loop_init, rtl_loop_done, rtl_move_loop_invariants, | |
4680 | rtl_unswitch, rtl_unroll_and_peel_loops, rtl_doloop): New functions. | |
4681 | (pass_rtl_loop_init, pass_rtl_loop_done, | |
4682 | pass_rtl_move_loop_invariants, pass_rtl_unswitch, | |
4683 | pass_rtl_unroll_and_peel_loops, pass_rtl_doloop): New passes. | |
4684 | * tree-ssa-loop.c (pass_loop, pass_loop_init, pass_loop_done, | |
4685 | pass_unswitch): Rename to pass_tree_loop, pass_tree_loop_init, | |
4686 | pass_tree_loop_done, and pass_tree_unswitch. | |
4687 | (gate_loop): Rename to gate_tree_loop. | |
4688 | * passes.c (init_optimization_passes): Update for renamed tree | |
4689 | loop passes. Add the new loop2 passes as subpasses of loop2. | |
4690 | * tree-pass.h: Add extern declarations for the new loop2 subpasses. | |
4691 | Update for the renamed tree loop passes. | |
4692 | ||
7825308e ILT |
4693 | 2005-07-18 Ian Lance Taylor <ian@airs.com> |
4694 | ||
4695 | PR middle-end/22057 | |
4696 | * tree-cfgcleanup.c (cleanup_tree_cfg): Only remove forwarder | |
4697 | blocks when optimizing. | |
4698 | ||
2928d0f8 SE |
4699 | 2005-07-18 Steve Ellcey <sje@cup.hp.com> |
4700 | ||
4701 | * common.opt (frename-registers): Initialize to 2. | |
4702 | (fweb): Ditto. | |
4703 | (fgcse-after-reload): Ditto. | |
4704 | * toplev.c (AUTODETECT_FLAG_VAR_TRACKING): Rename to AUTODETECT_VALUE. | |
4705 | (process_options): Only change flag_web, flag_rename_registers, | |
4706 | and flag_rerun_cse_after_loop if not explicitly set by user. | |
4707 | ||
28356f52 JB |
4708 | 2005-07-18 Jan Beulich <jbeulich@novell.com> |
4709 | ||
4710 | * config/i386/i386.c (ix86_expand_branch, ix86_expand_setcc, | |
4711 | ix86_expand_carry_flag_compare, ix86_expand_int_movcc): Handle TImode | |
4712 | in 64-bit mode the same as DImode in 32-bit mode. | |
4713 | (ix86_expand_ashl_const, ix86_split_ashl, ix86_split_ashr, | |
4714 | ix86_split_lshr): Likewise. Rename to no longer refer to a specific | |
7904f95f | 4715 | mode. Add new mode parameter. |
28356f52 JB |
4716 | * config/i386/i386.h (CONST_OK_FOR_LETTER_P): Describe and handle 'O'. |
4717 | * config/i386/i386.md (cmpti, addti3, subti3, negti2, ashlti3, ashrti3, | |
4718 | x86_64_shift_adj): New expanders. | |
4719 | (*addti3_1, *subti3_1, *negti2_1, ashlti3_1, *ashlti3_2, ashrti3_1, | |
4720 | *ashrti3_2, lshrti3_1, *lshrti3_2, x86_64_shld, x86_64_shrd): New | |
4721 | insns. | |
4722 | Respective new splitters. Use renamed shift splitter helpers in 32-bit | |
4723 | DImode shift splitters. | |
4724 | * config/i386/i386-protos.h (ix86_split_ashl, ix86_split_ashr, | |
4725 | ix86_split_lshr): Renamed from ix86_split_[al]sh[rl]di. Added new | |
4726 | mode parameter. | |
4727 | ||
422edd6f JB |
4728 | 2005-07-18 Jan Beulich <jbeulich@novell.com> |
4729 | ||
4730 | * i386.md (movdi_extzv_1): New. | |
4731 | (zero_extendhidi2): Combine alternatives and never force use of | |
4732 | REX64 prefix. | |
4733 | (zero_extendqidi2): Likewise. Don't restrict input selection. | |
4734 | ||
c625053b DB |
4735 | 2005-07-17 Daniel Berlin <dberlin@dberlin.org> |
4736 | ||
4737 | Fix PR tree-optimization/22531 | |
4738 | * tree-ssa-pre.c (do_eustores): Make sure LHS is a decl for the | |
4739 | moment. | |
4740 | ||
3b1355f3 DB |
4741 | 2005-07-17 Daniel Berlin <dberlin@dberlin.org> |
4742 | ||
4743 | * tree-promote-statics.c (pass_promote_statics): Change dump file | |
4744 | name. | |
4745 | ||
4746 | 2005-07-17 Daniel Berlin <dberlin@dberlin.org> | |
45159bf6 DB |
4747 | |
4748 | * tree-optimize.c (init_tree_optimization_passes): Add | |
4749 | pass_eliminate_useless_stores pass. | |
4750 | * tree-pass.h (pass_eliminate_useless_stores): New pass structure. | |
4751 | * tree-ssa-pre.c (is_copy_stmt): New function. | |
4752 | (follow_copies_till_vuse): Ditto. | |
4753 | (do_eustores): Ditto. | |
7904f95f EC |
4754 | (gate_eustores): Ditto. |
4755 | ||
7544a87f RH |
4756 | 2005-07-16 Richard Henderson <rth@redhat.com> |
4757 | ||
4758 | * gcc.c (MFWRAP_SPEC): Don't wrap pthread_join or pthread_exit. | |
4759 | ||
bf0d50f1 KZ |
4760 | 2005-07-16 Danny Berlin <dberlin@dberlin.org> |
4761 | Kenneth Zadeck <zadeck@naturalbridge.com> | |
4762 | ||
4763 | * Makefile.in: Added rules for ipa-pure-const.c, ipa-reference.c, | |
4764 | ipa-reference.h, ipa-utils.c, ipa-utils.h, ipa-type-escape.c, | |
4765 | ipa-type-escape.h, tree-promote-statics.c | |
4766 | * ipa-pure-const.c, ipa-reference.c, ipa-reference.h, ipa-utils.c, | |
7904f95f | 4767 | ipa-utils.h, ipa-type-escape.c, ipa-type-escape.h, |
bf0d50f1 KZ |
4768 | tree-promote-statics.c: new files. |
4769 | * alias.c: (nonlocal_mentioned_p_1, nonlocal_mentioned_p, | |
4770 | nonlocal_referenced_p_1, nonlocal_referenced_p, nonlocal_set_p_1, | |
4771 | int nonlocal_set_p, mark_constant_function): Deleted. | |
7904f95f | 4772 | (rest_of_handle_cfg): Removed call to mark_constant_function. |
86979811 | 4773 | (nonoverlapping_component_refs_p): Added calls to support |
7904f95f | 4774 | type based aliasing. |
86979811 | 4775 | * tree-ssa-alias.c (may_alias_p, |
bf0d50f1 KZ |
4776 | compute_flow_insensitive_aliasing): Ditto. |
4777 | * calls.c (flags_from_decl_or_type): Removed reference to | |
7904f95f | 4778 | cgraph_rtl_info. |
86979811 | 4779 | * c-typeck.c (convert_arguments): Make builtins tolerant of having |
bf0d50f1 KZ |
4780 | too many arguments. This is necessary for Spec 2000. |
4781 | * cgraph.h (const_function, pure_function): Removed. | |
7904f95f | 4782 | * common.opt: Added "fipa-pure-const", "fipa-reference", |
bf0d50f1 KZ |
4783 | "fipa-type-escape", and "ftree-promote-static". |
4784 | * opts.c: Ditto. | |
7904f95f | 4785 | * passes.c: Added ipa and tree-promote-statics passes. |
bf0d50f1 KZ |
4786 | * timevar.def: Added TV_IPA_PURE_CONST, TV_IPA_REFERENCE, |
4787 | TV_IPA_TYPE_ESCAPE, and TV_PROMOTE_STATICS. | |
bf0d50f1 | 4788 | * tree-dfa.c (referenced_var_lookup_if_exists): New function. |
7904f95f | 4789 | * tree-flow.h: Added exposed sra calls and addition of |
bf0d50f1 KZ |
4790 | reference_vars_info field for FUNCTION_DECLS. |
4791 | * tree-pass.h: Added passes. | |
4792 | * tree-sra.c: (sra_init_cache): New function. | |
4793 | (sra_insert_before, sra_insert_after) Made public. | |
4794 | (type_can_be_decomposed_p): Renamed from type_can_be_decomposed_p | |
4795 | and made public. | |
4796 | * tree-ssa-alias.c (dump_alias_stats): Added stats for type based | |
4797 | aliasing. (may_alias_p): Added code to use type escape analysis to | |
4798 | improve alias sets. | |
4799 | * tree-ssa-operands.c (add_call_clobber_ops): Added parameter and | |
4800 | code to prune clobbers of static variables based on information | |
4801 | produced in ipa-reference pass. Changed call clobbering so that | |
4802 | statics are not marked as clobbered if the call does not clobber | |
4803 | them. | |
4804 | ||
b6e0bdbd DB |
4805 | 2005-07-16 Daniel Berlin <dberlin@dberlin.org> |
4806 | ||
4807 | * tree-ssa-structalias.c (need_to_solve): Need to check for preds, | |
4808 | too. | |
4809 | ||
ff8f80f2 | 4810 | 2005-07-16 Eric Botcazou <ebotcazou@libertysurf.fr> |
2c00bd42 EB |
4811 | |
4812 | * doc/install.texi (*-*-solaris2*): Document recommended version | |
4813 | of GNU binutils and mention GNU linker problem on Solaris 10. | |
4814 | ||
0b359b01 JM |
4815 | 2005-07-16 Joseph S. Myers <joseph@codesourcery.com> |
4816 | ||
4817 | PR c/22421 | |
4818 | * c-decl.c (c_build_bitfield_integer_type): New function. | |
4819 | (finish_struct): Call it. | |
4820 | * c-pretty-print.c (pp_c_type_specifier): Handle bit-field types. | |
4821 | ||
8fcef540 KG |
4822 | 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4823 | ||
4824 | * c-typeck.c (digest_init): Call 'convert_for_assignment' | |
4825 | before returning. | |
4826 | ||
84fc24e8 JH |
4827 | 2005-07-16 Jan Hubicka <jh@suse.cz> |
4828 | ||
4829 | * cfg.c (update_bb_profile_for_threading): Fix profile updating. | |
4830 | (scale_bbs_frequencies_int): Watch roundoff errors. | |
4831 | * predict.c (return_prediction): Initialize return_stmt. | |
4832 | ||
3258272f JH |
4833 | 2005-07-16 Jan Hubicka <jh@suse.cz> |
4834 | ||
4835 | * profile.c (rest_of_handle_branch_prob): Fix handling of estimation | |
4836 | after RTL profiling. | |
4837 | ||
01c0a9fa AP |
4838 | 2005-07-11 Andrew Pinski <pinskia@physics.uc.edu> |
4839 | ||
4840 | PR middle-end/22398 | |
4841 | * fold-const.c (build_range_check): Convert high/low to etype | |
4842 | if we are only comparing against exp. | |
4843 | ||
27811bfe DB |
4844 | 2005-07-13 Daniel Berlin <dberlin@dberlin.org> |
4845 | ||
4846 | Fix PR tree-optimization/22376 | |
4847 | * tree-ssa-structalias.c (build_constraint_graph): We really meant | |
4848 | special var here. | |
4849 | (need_to_solve): New function. | |
4850 | (compute_points_to_sets): Use it. | |
7904f95f | 4851 | |
2b151cb2 JH |
4852 | 2005-07-15 Jan Hubicka <jh@suse.cz> |
4853 | ||
4854 | * cfg.c (update_bb_profile_for_threading): More diagnostic. | |
4855 | * tree-ssa-threadupdate.c (redirect_edges): Update profile of dup_block. | |
4856 | ||
0691d1d4 RG |
4857 | 2005-07-15 Richard Guenther <rguenther@suse.de> |
4858 | ||
4859 | * c-common.c (handle_flatten_attribute): New function. | |
4860 | Add flatten function attribute. | |
4861 | * doc/extend.texi: Document flatten function attribute. | |
4862 | * Makefile.in (ipa-inline.o): Depend on hashtab.h. | |
4863 | * ipa-inline.c (cgraph_find_cycles, cgraph_flatten_node): | |
4864 | New functions. | |
4865 | (cgraph_decide_inlining): Handle functions with flatten | |
4866 | attribute. | |
4867 | ||
9f0076e5 DE |
4868 | 2005-07-14 David Edelsohn <edelsohn@gnu.org> |
4869 | ||
4870 | * config/rs6000/rs6000.md (UNSPEC_SYNC, UNSPEC_LWSYNC, | |
4871 | UNSPEC_ISYNC, UNSPEC_SYNC_OP, UNSPEC_ATOMIC, UNSPEC_CMPXCHG, | |
4872 | UNSPEC_XCHG, UNSPEC_AND): New. | |
4873 | (UNSPECV_ATOMIC, UNSPECV_SYNC, UNSPECV_SYNC_OP, UNSPECV_CMPXCHG, | |
4874 | UNSPECV_LWSYNC, UNSPECV_ISYNC): Delete. | |
4875 | * config/rs6000/sync.md (FETCHOP): New code macro. | |
4876 | (fetchop_name, fetchop_pred, fetchopsi_constr, fetchopdi_constr): | |
4877 | New code attrs. | |
4878 | (memory_barrier, sync_internal): Use unspec instead of unspec_volatile. | |
4879 | (sync_compare_and_swap<mode>): Same. | |
4880 | (sync_lock_test_and_set<mode>): Same. | |
4881 | (sync_<fetchop><mode>, sync_nand<mode>): Only use rs6000_emit_sync | |
4882 | for QImode and HImode, and not PPC405. | |
4883 | (sync_old_<fetchop><mode>, sync_old_nand<mode>): Same. | |
4884 | (sync_new_<fetchop><mode>, sync_new_nand<mode>): Same. | |
4885 | (sync_<fetchop>{si,di}_internal): New. | |
4886 | (sync_nand{si,di}_internal): New. | |
4887 | (sync_old_<fetchop>{si,di}_internal): New. | |
4888 | (sync_old_nand{si,di}_internal): New | |
4889 | (sync_new_<fetchop>{si,di}_internal): New. | |
4890 | (sync_new_nand{si,di}_internal): New. | |
4891 | (atomic_and{si,di}): New. | |
4892 | (sync_new_nand{si,di}_internal): New. | |
4893 | (atomic_and{si,di}): New. | |
4894 | (sync_add<mode>_internal): Delete. | |
4895 | (sync_addshort_internal): Use unspec instead of unspec_volatile. | |
4896 | (sync_sub<mode>_internal): Delte. | |
4897 | (sync_subshort_internal): New. | |
4898 | (sync_andsi_internal): Use unspec instead of unspec_volatile. | |
4899 | (sync_anddi_internal): Delete. | |
4900 | (sync_boolsi_internal): Use unspec instead of unspec_volatile. | |
4901 | (sync_booldi_internal): Delete. | |
4902 | (sync_boolc<mode>_internal): Delete. | |
4903 | (sync_boolcshort_internal): Use unspec instead of unspec_volatile. | |
4904 | (sync_boolc<mode>_internal2): Delete. | |
4905 | (sync_boolcc<mode>_internal): Delete. | |
4906 | (isync, lwsync): Use unspec instead of unspec_volatile. | |
4907 | * config/rs6000/rs6000.c (rs6000_emit_sync): Implement MINUS. | |
4908 | Revert UNSPEC_VOLATILE. | |
4909 | (rs6000_split_atomic_op): New. | |
4910 | * config/rs6000/rs6000-protos.h (rs6000_split_atomic_op): Declare. | |
4911 | ||
06277571 EC |
4912 | 2005-07-14 Eric Christopher <echristo@redhat.com> |
4913 | ||
4914 | * config/mips/mips.c (mips_canonicalize_comparison): Cast | |
4915 | argument of trunc_int_for_mode to unsigned HOST_WIDE_INT. | |
4916 | ||
b838c72b EC |
4917 | 2005-07-14 Eric Christopher <echristo@redhat.com> |
4918 | ||
4919 | * config/s390/t-tpf (SHLIB_MAPFILES): Remove. | |
4920 | ||
3c341936 SB |
4921 | 2005-07-14 Steven Bosscher <stevenb@suse.de> |
4922 | ||
4923 | PR tree-optimization/22230 | |
4924 | * tree-vrp.c (extract_range_from_binary_expr): Fix logics thinko in | |
4925 | the computation of the four cross productions for "range op range". | |
4926 | ||
704b6cb5 | 4927 | 2005-07-14 Alexandre Oliva <aoliva@redhat.com> |
86979811 | 4928 | Ulrich Weigand <uweigand@de.ibm.com> |
704b6cb5 AO |
4929 | |
4930 | PR target/20126 | |
4931 | * loop.c (loop_givs_rescan): Do not ICE if unable to reduce an IV | |
4932 | in some insn. | |
4933 | ||
a771c4b3 UW |
4934 | 2005-07-14 Ulrich Weigand <uweigand@de.ibm.com> |
4935 | ||
4936 | * config/s390/s390.h (TARGET_TPF_PROFILING): Add default definition. | |
4937 | ||
6f3113ed SE |
4938 | 2005-07-14 Steve Ellcey <sje@cup.hp.com> |
4939 | ||
4940 | * config/ia64/ia64.c (ia64_output_dwarf_dtprel): Support ILP32 mode. | |
4941 | ||
cb1119b7 RG |
4942 | 2005-07-14 Richard Guenther <rguenther@suse.de> |
4943 | ||
4944 | PR middle-end/22347 | |
4945 | * config/i386/i386-protos.h (ix86_function_value): Change | |
4946 | prototype to match new target hook. | |
4947 | * config/i386/i386.c (ix86_value_regno): Change prototype | |
4948 | to take extra type argument. | |
4949 | (TARGET_FUNCTION_VALUE): Define. | |
4950 | (ix86_function_ok_for_sibcall): Pass extra argument to | |
4951 | ix86_value_regno, check return slot rtx for exact match. | |
4952 | (ix86_function_value): Take extra parameter. Dispatch to | |
4953 | ix86_value_regno with fndecl/fntype as provided. | |
4954 | (ix86_value_regno): Handle extra type argument. | |
4955 | * config/i386/i386.h (FUNCTION_VALUE): No longer define. | |
4956 | ||
4957 | * testsuite/gcc.target/i386/sseregparm-3.c: New testcase. | |
4958 | * testsuite/gcc.target/i386/sseregparm-4.c: New testcase. | |
4959 | * testsuite/gcc.target/i386/sseregparm-5.c: New testcase. | |
4960 | * testsuite/gcc.target/i386/sseregparm-6.c: New testcase. | |
4961 | * testsuite/gcc.target/i386/sseregparm-7.c: New testcase. | |
4962 | ||
1d636cc6 RG |
4963 | 2005-07-14 Richard Guenther <rguenther@suse.de> |
4964 | ||
4965 | * Makefile.in (explow.o, reg-stack.o): Depend on target.h. | |
4966 | * calls.c (expand_call): Pass fntype to hard_function_value. | |
4967 | (emit_library_call_value_1): Likewise. | |
4968 | * explow.c: Include target.h. | |
4969 | (hard_function_value): Take extra argument, the fntype. | |
4970 | Use new target hook for function_value. | |
4971 | * expr.h (hard_function_value): Change prototype. | |
4972 | * function.c (aggregate_value_p): Pass 0 as fntype to | |
4973 | hard_function_value. | |
4974 | (assign_parms): Use new target hook for function_value. | |
4975 | Pass 0 as fntype to hard_function_value. | |
4976 | (expand_function_end): Likewise. | |
4977 | * reg-stack.c: Include target.h. | |
4978 | (stack_result): Use new target hook for function_value. | |
4979 | * target-def.h: New target hook function_value. | |
4980 | * target.h: Likewise. | |
4981 | * targhooks.c (default_function_value): New function. | |
4982 | * targhooks.h (default_function_value): Declare. | |
4983 | ||
09d8cc0e ILT |
4984 | 2005-07-13 Ian Lance Taylor <ian@airs.com> |
4985 | ||
4986 | * config/mips/mips.h (CLZ_DEFINED_VALUE_AT_ZERO): Define. | |
4987 | ||
df1f6f31 JH |
4988 | 2005-07-14 Jan Hubicka <jh@suse.cz> |
4989 | ||
4990 | * tree-dfa.c (dump_variable): Use default_def function. | |
4991 | * tree-ssa-alias.c (dump_points_to_info): Likewise. | |
4992 | * tree-ssa.c (verify_use): Likewise. | |
4993 | * tree-ssanames.c (release_ssa_name): Likewise. | |
4994 | * tree-tailcall.c (eliminate_tail_call): Likewise. | |
4995 | (tree_optimize_tail_calls_1): Likewise. | |
4996 | * tree-vrp.c (get_value_range): Likewise. | |
4997 | ||
9ef0b1bd BE |
4998 | 2005-07-14 Ben Elliston <bje@au.ibm.com> |
4999 | ||
5000 | * gcc.c (main): Compare language[0] with '*' when iterating over | |
5001 | the infiles. | |
5002 | ||
69950452 AS |
5003 |