]>
Commit | Line | Data |
---|---|---|
d783b2a2 JH |
1 | 2005-08-04 Jan Hubicka <jh@suse.cz> |
2 | ||
3 | * profile.c (branch_prob): Split edges with goto locus on them | |
4 | to get proper line counts. | |
5 | * tree-cfg.c (make_cond_expr_edges): Record user goto locuses, if any. | |
6 | ||
53366450 PB |
7 | 2005-08-03 Paul Brook <paul@codesourcery.com> |
8 | ||
9 | * function.c (assign_parms): Round current_function_args_size | |
10 | to PARM_BOUNDARY, not STACK_BOUNDARY. | |
11 | ||
e81d37df GK |
12 | 2005-08-03 Geoffrey Keating <geoffk@apple.com> |
13 | ||
14 | * config/i386/i386.c (x86_elf_aligned_common) | |
15 | (x86_output_aligned_bss): Don't try to use symbols that aren't defined. | |
16 | ||
279072c8 ZD |
17 | 2005-08-03 Zdenek Dvorak <dvorakz@suse.cz> |
18 | ||
19 | PR tree-optimization/23157 | |
20 | * tree-scalar-evolution.c (scev_const_prop): Unshare trees | |
21 | before emitting them. | |
22 | ||
9d2b0e12 VR |
23 | 2005-08-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
24 | ||
25 | PR tree-optimization/19899 | |
26 | * Makefile.in (tree-scalar-evolution.o): Add real.h. | |
27 | * tree-scalar-evolution.c: Include real.h. | |
28 | (add_to_evolution): Build constant -1 of correct type. | |
29 | ||
178df94f JH |
30 | 2005-08-03 Jan Hubicka <jh@suse.cz> |
31 | ||
32 | * cfgloop.h (DLTHE_FLAG_COMPLETTE_PEEL): New flag. | |
33 | * cfgloopmanip.c (duplicate_loop_to_header_edge): Special case | |
34 | profile updating for complette unrolling. | |
35 | * loop-unroll.c (peel_loop_completely): Use it. | |
36 | * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Likewise. | |
37 | (tree_unroll_loops_completely): Disable code growing unrolling of cold | |
38 | loops. | |
39 | ||
4164b2fb PB |
40 | 2005-08-03 Paul Brook <paul@codesourcery.com> |
41 | ||
42 | * combine.c (can_change_dest_mode): New function. | |
43 | (try_combine, simplify_set): Use it. | |
44 | ||
4e2b3c87 EB |
45 | 2005-08-03 Eric Botcazou <ebotcazou@adacore.com> |
46 | ||
47 | * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Only force | |
48 | TFmode to BLKmode. | |
49 | ||
1d7887ca GP |
50 | 2005-08-03 Gerald Pfeifer <gerald@pfeifer.com> |
51 | ||
52 | * doc/install.texi (Specific): Adjust link to openavr.org. | |
53 | (Specific): Remove broken reference to GCC 2.8.1 for OS/2. | |
54 | (Binaries): Adjust HP-UX Porting Center link. | |
55 | (Binaries): Adjust Free Software Foundation ordering link. | |
56 | (Binaries): Remove broken link to Sinix/Reliant Unix binaries. | |
57 | ||
c7f59e9c AP |
58 | 2005-08-03 Andrew Pinski <pinskia@physics.uc.edu> |
59 | ||
60 | * convert.c (convert_to_integer): Use fold_build1 instead of | |
61 | build1 when converting an integer to an integer. | |
62 | ||
65030b76 RH |
63 | 2005-08-02 Richard Henderson <rth@redhat.com> |
64 | ||
65 | * combine.c (combine_instructions): Don't use reg_equal/equiv | |
66 | results if the mode doesn't match. | |
67 | ||
6d1ab63a MM |
68 | 2005-08-02 Mark Mitchell <mark@codesourcery.com> |
69 | ||
70 | * config/i386/t-mingw32 (NATIVE_SYSTEM_HEADER_DIR): Set it. | |
71 | * doc/fragments.texi (NATIVE_SYSTEM_HEADER_DIR): Document it. | |
72 | ||
6d90db3a RH |
73 | 2005-08-02 Richard Henderson <rth@redhat.com> |
74 | ||
75 | PR 23196 | |
76 | * explow.c (memory_address): Remove special-case for | |
77 | virtual_stack_vars_rtx and virtual_incoming_args_rtx. | |
78 | ||
78234a86 DN |
79 | 2005-08-02 Diego Novillo <dnovillo@redhat.com> |
80 | ||
81 | PR 23164 | |
82 | * tree-cfgcleanup.c (cleanup_tree_cfg): Do not limit the | |
83 | number of calls to cleanup_tree_cfg_1. | |
84 | ||
5a006700 MR |
85 | 2005-08-02 Martin Reinecke <martin@mpa-garching.mpg.de> |
86 | ||
87 | * doc/invoke.texi: document file extensions .F90 and .F95 | |
88 | ||
237504fc RG |
89 | 2005-08-02 Richard Guenther <rguenther@suse.de> |
90 | ||
91 | * fold-const.c (tree_expr_nonnegative_p): frexp(x, &e) is | |
92 | positive if its first argument is positive. | |
93 | ||
e63c84d8 RG |
94 | 2005-08-02 Richard Guenther <rguenther@suse.de> |
95 | ||
96 | PR tree-optimization/23177 | |
97 | * tree-ssa-operands.c (get_tmr_operands): Use get_expr_operands | |
98 | on TMR_TAG. | |
99 | ||
08303d5b JM |
100 | 2005-08-02 James A. Morrison <phython@gcc.gnu.org> |
101 | ||
102 | PR tree-optimization/23129 | |
103 | * tree-vrp.c (extract_range_from_binary_expr): Set value range to | |
104 | varying for divisions with anti-ranges. | |
105 | ||
5e5a504e JH |
106 | 2005-08-02 Jan Hubicka <jh@suse.cz> |
107 | ||
108 | * tree-ssa-dom.c (thread_across_edge): Remove updating here. | |
109 | * tree-ssa-threadupdate.c (thread_block): Add it here. | |
110 | ||
4dbdb061 JW |
111 | 2005-08-01 James E Wilson <wilson@specifix.com> |
112 | ||
113 | * config/mips/mips.c (mips_encode_section_info, mips_attribute_table, | |
114 | TARGET_ENCODE_SECTION_INFO, TARGET_ATTRIBUTE_TABLE): New. | |
115 | * config/mips/mips.h (SYMBOL_FLAG_LONG_CALL, SYMBOL_REF_LONG_CALL_P): | |
116 | New. | |
117 | * config/mips/predicates.md (const_call_insn_operand): Add check for | |
118 | SYMBOL_REF_LONG_CALL_P. | |
119 | * doc/extend.texi (long_call): Document the new attribute. | |
120 | ||
9e254451 ILT |
121 | 2005-08-01 Ian Lance Taylor <ian@airs.com> |
122 | Richard Henderson <rth@redhat.com> | |
123 | ||
124 | * Makefile.in (RTL_BASE_H): Add real.h. | |
125 | * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Use structure copy | |
126 | instead of memcpy. | |
127 | * emit-rtl.c (const_double_from_real_value): Likewise; use rtx.u.rv | |
128 | directly. | |
129 | * rtl.c (rtl_check_failed_code_mode): New. | |
130 | * rtl.h (struct rtx_def): Add u.rv. | |
131 | (XCMWINT, XCNMPRV): New. | |
132 | (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Use XCMWINT. | |
133 | (CONST_DOUBLE_REAL_VALUE): Use XCNMPRV; constify. | |
134 | ||
5671655e RH |
135 | 2005-08-01 Richard Henderson <rth@redhat.com> |
136 | ||
75735872 RH |
137 | * dwarf2out.c (mem_loc_descriptor): Use XEXP, not SUBREG_REG, |
138 | with auto-inc codes. | |
139 | ||
5671655e RH |
140 | * config/alpha/predicates.md (and_operand): Test mode of CONST_DOUBLE. |
141 | ||
72ce3d4a JH |
142 | 2005-08-01 Jan Hubicka <jh@suse.cz> |
143 | ||
144 | * i386-protos.h (asm_preferred_eh_data_format): Declare. | |
145 | * i386.c: Include dwarf2.h | |
146 | (asm_preferred_eh_data_format): New. | |
147 | * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Move offline. | |
148 | ||
23d28bfe ILT |
149 | 2005-08-01 Ian Lance Taylor <ian@airs.com> |
150 | ||
151 | * config/host-linux.c (linux_gt_pch_get_address): Add new name | |
152 | randomize_va_space for virtual address randomization control. | |
153 | ||
d6e14e8f SB |
154 | 2005-08-01 Steven Bosscher <stevenb@suse.de> |
155 | ||
156 | * common.opt (flag_ipa_cp): Put in right place to maintain | |
157 | alphabetic sort. | |
158 | ||
5ded7254 JH |
159 | 2005-08-01 Jan Hubicka <jh@suse.cz> |
160 | ||
161 | * profile.c (compute_value_histograms): Fix thinko. | |
162 | * value-prof.c: Include toplev.h | |
163 | (check_counter): New function. | |
164 | (tree_divmod_fixed_value_transform, tree_mod_pow2_value_transform, | |
165 | tree_mod_subtract_transform): Add sanity check. | |
166 | ||
a8f82ec4 RG |
167 | 2005-08-01 Richard Guenther <rguenther@suse.de> |
168 | ||
169 | PR tree-optimization/23133 | |
170 | * tree-ssa-math-opts.c (execute_cse_reciprocals): Walk | |
171 | current functions parameter decls to find defs to cse | |
172 | reciprocals of. | |
173 | ||
ac264fef RG |
174 | 2005-08-01 Richard Guenther <rguenther@suse.de> |
175 | ||
176 | PR tree-optimization/23109 | |
177 | * tree-ssa-math-opts.c (execute_cse_reciprocals_1): | |
178 | If trapping math is in effect, use post-dominator information | |
179 | to check if we'd in any case reach a trapping point before | |
180 | doing the reciprocal insertion. | |
181 | (execute_cse_reciprocals): Compute post-dominators, if necessary. | |
182 | * tree-ssa-loop-im.c (determine_invariantness_stmt): RDIV | |
183 | expressions are invariant only if trapping math is not in effect. | |
184 | ||
57fb5341 RL |
185 | 2005-08-01 Razya Ladelsky <razya@il.ibm.com> |
186 | ||
5a006700 MR |
187 | * cgraph.h (update_call_expr, cgraph_copy_node_for_versioning, |
188 | cgraph_function_versioning): New declarations. | |
189 | * cgraphunit.c: Add include to ipa-prop.h. | |
190 | (update_call_expr, cgraph_copy_node_for_versioning, | |
191 | cgraph_function_versioning): New functions. | |
192 | * integrate.c (copy_decl_for_inlining): Remove. | |
193 | * ipa-prop.h (ipa_replace_map): New struct. | |
194 | (struct ipa_node): Add ipcp_orig_node, count_scale, new fields. | |
195 | * ipa-cp.c (ipcp_method_orig_node, ipcp_method_is_cloned, | |
196 | ipcp_method_set_orig_node, ipcp_cloned_create, ipcp_method_get_scale, | |
197 | ipcp_method_set_scale, ipcp_method_compute_scale, ipcp_after_propagate, | |
198 | ipcp_iterate_stage, ipcp_method_scale_print, | |
199 | ipcp_profile_mt_count_print, ipcp_profile_cs_count_print, | |
200 | ipcp_profile_edge_print, ipcp_profile_bb_print , ipcp_profile_print, | |
201 | ipcp_replace_map_create, ipcp_redirect, ipcp_update_callgraph, | |
202 | ipcp_update_bb_counts, ipcp_update_profiling, | |
203 | ipcp_update_edges_counts): New functions. | |
204 | (ipcp_method_cval_init): Remove restriction regarding local methods. | |
205 | (ipcp_init_stage): Add ipcp_method_compute_scale. | |
206 | (ipcp_insert_stage): Add versioning. | |
207 | (ipcp_structures_print): Add ipcp_method_scale_print. | |
208 | (ipcp_driver): Dump profiling info. | |
209 | * Makefile.in: Remove integrate.h dependency from tree-inline.o. | |
210 | Add ipa-prop.h dependency to tree-inline.o and cgraphunit.o. | |
211 | * tree-inline.c: Remove include to integrate.h, Add include ipa-prop.h. | |
212 | (struct inline_data): Add versioning_p, ipa_info, new fields. | |
213 | (remap_decl, mark_local_for_remap_r, setup_one_parameter, | |
214 | declare_return_variable): Replace calls to copy_decl_for_inlining with | |
215 | copy_decl_for_dup. | |
216 | (copy_body_r, copy_bb, copy_cfg_body, copy_tree_r, inlining_p): Add | |
217 | versioning support. | |
218 | (copy_decl_for_dup): Rename from copy_decl_for_inlining. | |
219 | Add argument VERSIONING. | |
220 | (copy_arguments_for_versioning, copy_static_chain, | |
221 | function_versionable_p, tree_versionable_function_p, | |
222 | tree_function_versioning, replace_ref_tree): New functions. | |
223 | * tree-inline.h: Include varray.h. | |
224 | (tree_versionable_function_p, tree_function_versioning, | |
225 | tree copy_decl_for_dup): New declarations. | |
57fb5341 RL |
226 | |
227 | 2005-08-01 Razya Ladelsky <razya@il.ibm.com> | |
228 | ||
5a006700 MR |
229 | * ipa-cp.c: New file. Contains IPCP specific functionality. |
230 | * ipa-prop.h: New file. Contains structures/definitions that can be | |
231 | used by several interprocedural data flow optimizations (and also IPCP). | |
232 | * ipa-prop.c: New file. | |
233 | * Makefile.in: Add ipa-cp.c, ipa-prop.h, ipa-prop.c. | |
234 | * common.opt: Add ipa-cp flag. | |
235 | * timevar.def: Add IPCP optimization. | |
236 | * tree-optimize.c (init_tree_optimization_passes): Schedule | |
237 | pass_ipa_cp. | |
238 | * tree-pass.h (pass_ipa_cp): Declare. | |
57fb5341 | 239 | |
569b7f6a KH |
240 | 2005-08-01 Kazu Hirata <kazu@codesourcery.com> |
241 | ||
242 | * dwarf2out.c, fold-const.c, ipa-type-escape.c, | |
243 | loop-invariant.c, predict.c, predict.def, reload1.c, reorg.c, | |
244 | tree-sra.c, config/arm/arm.c, config/crx/crx.c, | |
245 | config/i386/i386.c, config/mips/mips.h, | |
246 | config/rs6000/rs6000.h, config/sh/sh.c, | |
247 | config/stormy16/stormy16.c: Fix comment typos. | |
248 | ||
5922c215 JM |
249 | 2005-08-01 Joseph S. Myers <joseph@codesourcery.com> |
250 | ||
251 | PR c/22311 | |
252 | * c-typeck.c (build_binary_op): Use common_type wrapper on | |
253 | shortened types. | |
254 | (common_type): Update comment. | |
255 | ||
a3f4b7d8 SB |
256 | 2005-07-31 Steven Bosscher <stevenb@suse.de> |
257 | ||
258 | PR target/23095 | |
259 | * common.opt (flag_gcse_after_reload): Don't initialize to 2. | |
260 | (flag_rerun_cse_after_loop): Initialize this to 2 instead. | |
261 | * postreload-gcse.c (hash_scan_set): Do not consider stack regs. | |
262 | ||
baf7a0d3 JH |
263 | 2005-07-31 Jan Hubicka <jh@suse.cz> |
264 | ||
265 | * pretty-print.h (pp_widest_integer): New macro. | |
266 | * tree-pretty-print.c (dump_bb_header): Print BB frequencies and | |
267 | counts. | |
268 | ||
7dcbf659 JH |
269 | 2005-07-31 Jan Hubicka <jh@suse.cz> |
270 | ||
271 | * output.h (enum section_category): Export from varasm.c | |
272 | (categorize_decl_for_section): Likewise. | |
273 | * varasm.c (enum section_category): Kill. | |
274 | (categorize_decl_for_section): Make global. | |
275 | * i386-protos.h (x86_output_aligned_bss, x86_elf_aligned_common): | |
276 | Declare. | |
277 | * i386.c (ix86_section_threshold): New static variable. | |
278 | (ix86_in_large_data_p, ix86_encode_section_info, | |
279 | x86_64_elf_unique_section, | |
280 | x86_64_elf_select_section): New functions. | |
281 | (TARGET_ENCODE_SECTION_INFO): Define | |
282 | (override_options): Enable medium model for PIC. | |
283 | (ix86_expand_prologue): Expand gen_set_got_rex64. | |
284 | (legitimate_constant_p): Handle new UNSPECs. | |
285 | (legitimate_pic_address_disp_p): Likewise. | |
286 | (legitimize_pic_address): Lower MEDIUM model addressing. | |
287 | * i386.h (PIC_OFFSET_TABLE_REGNUM): Set for medium model PIC. | |
288 | (enum cmodel): Add MEDIUM_PIC. | |
289 | (SYMBOL_REF_FAR_ADDR_P): New macro. | |
290 | (SYMBOL_FLAG_FAR_ADDR): New flag. | |
291 | * i386.md (movdi): Support medium model. | |
292 | (set_got_rex64): New pattern. | |
293 | * i386.opt (mlarge-data-threshold): New flag. | |
294 | * predicates.md (zext_operand/sext_operand): Deal with medium model. | |
295 | * x86-64.h (ASM_OUTPUT_ALIGNED_BSS): Use x86_output_aligned_bss. | |
296 | (ASM_OUTPUT_ALIGNED_COMMON, TARGET_ASM_SELECT_SECTION, | |
297 | TARGET_ASM_UNIQUE_SECTION): New. | |
298 | ||
299 | * invoke.texi (-mlarge_data_threshold): Document | |
300 | ||
0bde02b3 JH |
301 | 2005-07-31 Jan Hubicka <jh@suse.cz> |
302 | ||
303 | * tree-outof-ssa.c (coalesce_ssa_name): Use coalesce_cost. | |
304 | (coalesce_vars): Likewise. | |
305 | * tree-ssa-live.c (coalesce_cost): New. | |
306 | (build_tree_conflict_graph): Use coalesce_cost. | |
307 | * tree-ssa-live.h (coalesce_cost): Declare. | |
308 | ||
a4ccc336 RE |
309 | 2005-07-30 Richard Earnshaw <richard.earnshaw@arm.com> |
310 | ||
311 | * arm.md (all peepholes for post-increment operations): Delete. | |
312 | (strqi_preinc, strqi_predec, loadqi_preinc, loadqi_predec) | |
313 | (loadqisi_preinc, loadqisi_predec, strsi_preinc, strsi_predec) | |
314 | (loadsi_preinc, loadsi_predec, strqi_shiftpreinc, strqi_shiftpredec) | |
315 | (loadqi_shiftpreinc, loadqi_shiftpredec, strsi_shiftpreinc) | |
316 | (strsishift_predec, loadsi_shiftpreinc, loadsi_shiftpredec): Delete. | |
317 | ||
06581725 JM |
318 | 2005-07-30 James A. Morrison <phython@gcc.gnu.org> |
319 | ||
320 | * fold-const.c (tree_expr_nonnegative_p): Always return true for | |
321 | non-integral types. | |
322 | ||
0cbc4d77 | 323 | 2005-07-29 Wolfgang Bangerth <bangerth@dealii.org> |
d6e14e8f | 324 | |
0cbc4d77 WB |
325 | PR target/22582 |
326 | * doc/invoke.texi: Document -rdynamic. | |
d6e14e8f | 327 | |
91d975b8 JM |
328 | 2005-07-30 Joseph S. Myers <joseph@codesourcery.com> |
329 | ||
330 | PR c/23143 | |
331 | * c-parser.c (c_parser_parms_list_declarator): Call | |
332 | mark_forward_parm_decls. | |
333 | * c-decl.c (merge_decls): Only check DECL_IN_SYSTEM_HEADER for | |
334 | decls with visibility structure. | |
335 | ||
f26b8ec9 PB |
336 | 2005-07-30 Paul Brook <paul@codesourcery.com> |
337 | ||
338 | * config/arm/arm.c (arm_coproc_mem_operand): Fix inaccurate comment. | |
339 | ||
a14b88bb PB |
340 | 2005-07-30 Paul Brook <paul@codesourcery.com> |
341 | ||
342 | * config/arm/arm-protos.h (arm_canonicalize_comparison): Update | |
343 | prototype. | |
344 | * config/arm/arm.c (arm_canonicalize_comparison): Use correct limit | |
345 | value for mode. | |
346 | * config/arm/arm.h (CANONICALIZE_COMPARISON): Pass mode argument. | |
347 | ||
7c47d6e9 JM |
348 | 2005-07-29 Joseph S. Myers <joseph@codesourcery.com> |
349 | ||
350 | PR c/529 | |
351 | * c-decl.c (warn_if_shadowing): Don't check for PARM_DECL in | |
352 | nested function declarators. | |
353 | (pushdecl): Don't call warn_if_shadowing for PARM_DECL. | |
354 | (grokparms): Call warn_if_shadowing for parameters used within the | |
355 | parameter list. | |
356 | (store_parm_decls_newstyle): Call warn_if_shadowing for parameters | |
357 | not used within the parameter list. | |
358 | (store_parm_decls_oldstyle): Call warn_if_shadowing for parameters. | |
359 | ||
3bc751bd JH |
360 | 2005-07-30 Jan Hubicka <jh@suse.cz> |
361 | ||
362 | * expr.c (expand_expr_real_1): Do not load mem targets into register. | |
363 | * i386.c (ix86_fixup_binary_operands): Likewise. | |
364 | (ix86_expand_unary_operator): Likewise. | |
365 | (ix86_expand_fp_absneg_operator): Likewise. | |
366 | * optabs.c (expand_vec_cond_expr): Validate dest. | |
367 | ||
bc1594c1 JM |
368 | 2005-07-29 Joseph S. Myers <joseph@codesourcery.com> |
369 | ||
370 | PR c/21720 | |
371 | * real.c (real_from_string): Also set last bit if there is a | |
372 | nonzero hex digit beyond GCC's internal precision after ".". | |
373 | ||
3aca4bff DE |
374 | 2005-07-29 David Edelsohn <edelsohn@gnu.org> |
375 | ||
376 | * config/rs6000/altivec.md: Convert UNSPEC numerical values to | |
377 | define_constants. Change duplicate values to unassigned numbers. | |
378 | Change UNSPEC_SUBS to UNSPEC_VSUBS. | |
379 | (*altivec_vspltsf): New. | |
380 | (altivec_vperm_v4sf): Delete. | |
381 | (altivec_vperm_<mode>): Use mode macro V. | |
382 | (altivec_vsldoi_<mode>): Convert to mode macro pattern. | |
383 | (altivec_predicate_v4sf): Delete. | |
384 | (altivec_predicate_<mode>): Use mode macro V. | |
385 | (*altivec_lvesfx): New. | |
386 | (*altivec_stvesfx): New. | |
387 | (vec_realign_load_v4sf): Delete. | |
388 | (vec_realign_load_<mode>): Use mode macro V. | |
389 | * config/rs6000/rs6000.c (generate_set_vrsave): Use | |
390 | UNSPECV_SET_VRSAVE. | |
391 | ||
b28250ab MM |
392 | 2005-07-29 Mark Mitchell <mark@codesourcery.com> |
393 | ||
394 | PR bootstrap/23131 | |
395 | * configure.ac (SYSTEM_HEADER_DIR): Avoid setting to empty | |
396 | string. | |
397 | * configure: Regenerated. | |
398 | ||
eae50c87 PB |
399 | 2005-07-29 Paul Brook <paul@codesourcery.com> |
400 | ||
401 | * doc/install.texi: Add link to GFortran binaries wiki page. | |
402 | ||
79dad081 DU |
403 | 2005-07-29 David Ung <davidu@mips.com> |
404 | ||
405 | * config/mips/mips.c (mips_cpu_info_table): Add 5kf to the table. | |
406 | (mips_rtx_cost_data): Add costs for 5kc and 5kf. | |
407 | * config/mips/mips.h (processor_type): Add PROCESSOR_5KF. | |
408 | * config/mips/mips.md (cpu): Add 5kf name. | |
409 | (includes): Includes 5k.md. | |
410 | * config/mips/5k.md: New DFA pipeline for the 5kc/5kf. | |
411 | * doc/invoke.texi (MIPS Options): Updated cpu name supported with | |
412 | -march flag. | |
413 | ||
89e80dd4 DN |
414 | 2005-07-29 Diego Novillo <dnovillo@redhat.com> |
415 | ||
416 | PR 22550 | |
417 | * tree-cfgcleanup.c (cleanup_tree_cfg_1): Extract from ... | |
418 | (cleanup_tree_cfg): ... here. | |
419 | Call cleanup_tree_cfg_1 until there are no more cleanups to | |
420 | do. | |
421 | ||
d2f3ffba JM |
422 | 2005-07-29 James A. Morrison <phython@gcc.gnu.org> |
423 | ||
424 | * tree-vrp.c (compare_range_with_value): Return true or false | |
425 | for ~[VAL_1, VAL_2] OP VAL if VAL_1 <= VAL <= VAL_2 for NE_EXPR and | |
426 | EQ_EXPR respectively. | |
427 | ||
536fa7b7 KH |
428 | 2005-07-29 Kazu Hirata <kazu@codesourcery.com> |
429 | ||
430 | * cfg.c, tree-complex.c, config/frv/frv.c, config/i386/i386.c: | |
431 | Fix comment typos. | |
432 | ||
6a2cf9dc DN |
433 | 2005-07-29 Diego Novillo <dnovillo@redhat.com> |
434 | ||
435 | * tree-ssa-dom.c (struct opt_stats_d): Add field num_iterations. | |
436 | (tree_ssa_dominator_optimize): Increment it. | |
437 | (dump_dominator_optimization_stats): Print it. | |
438 | ||
abf86bf2 RE |
439 | 2005-07-29 Richard Earnshaw <richard.earnshaw@arm.com> |
440 | Steven Bosscher <stevenb@suse.de> | |
441 | ||
442 | PR rtl-optimization/23117 | |
443 | * sched-rgn.c (add_branch_dependences): Handle COND_EXEC correctly | |
444 | when head == tail. Tidy comment. | |
445 | ||
37cf6116 RH |
446 | 2005-07-28 Richard Henderson <rth@redhat.com> |
447 | ||
448 | * cse.c (exp_equiv_p): Special case CONST_DOUBLE. | |
449 | * cselib.c (rtx_equal_for_cselib_p): Likewise. | |
450 | * jump.c (rtx_renumbered_equal_p): Likewise. | |
451 | * loop.c (rtx_equal_for_loop_p): Tidy and special case PC, CC0, | |
452 | CONST_INT and CONST_DOUBLE. | |
453 | (rtx_equal_for_prefetch_p): Likewise, plus LABEL_REF. | |
454 | * reload.c (operands_match_p): Special case CONST_INT and | |
455 | CONST_DOUBLE; check mode earlier. | |
456 | ||
13b22d3a JM |
457 | 2005-07-29 Joseph S. Myers <joseph@codesourcery.com> |
458 | ||
459 | PR c/22240 | |
460 | * c-typeck.c (convert_for_assignment): Do not check | |
461 | DECL_IN_SYSTEM_HEADER on NULL fundecl. | |
462 | ||
ca8bdb78 JM |
463 | 2005-07-29 Joseph S. Myers <joseph@codesourcery.com> |
464 | ||
465 | PR c/22192 | |
466 | * c-typeck.c (composite_type): Prefer constant size arrays to | |
467 | VLAs. | |
468 | ||
b608d27a JM |
469 | 2005-07-29 Joseph S. Myers <joseph@codesourcery.com> |
470 | ||
471 | PR c/21720 | |
472 | * real.c (real_from_string): Set last bit if there is a nonzero | |
473 | hex digit beyond GCC's internal precision. | |
474 | ||
a560c83a RH |
475 | 2005-07-28 Richard Henderson <rth@redhat.com> |
476 | ||
477 | PR rtl-opt/22619 | |
478 | * cfgcleanup.c (try_forward_edges): Watch out for end of | |
479 | insn chain. | |
480 | ||
66f33c03 JW |
481 | 2005-07-28 James E Wilson <wilson@specifixinc.com> |
482 | ||
483 | PR c/23106 | |
484 | * doc/invoke.texi (Wstrict-aliasing=2): Fix misleading wording. | |
485 | ||
c5a4444c JH |
486 | 2005-07-28 Jan Hubicka <jh@suse.cz> |
487 | ||
8a76829c JH |
488 | * Makefile.in (rtl-profile.o): Kill all traces of it. |
489 | * common.opt (fspeculative-prefetching, ftree-based-profiling): Kill. | |
490 | * coverage.h (rtl_coverage_counter_ref): Kill. | |
491 | * opts.c (flag_speculative_prefetching_set): Kill. | |
492 | (flag_loop_optimize_set): New. | |
493 | (common_handle_option): Disable loop optimizer when profiling; | |
494 | do not handle speculative prefetching. | |
495 | * passes.c (init_optimization_passes): Replace pass_profiling combo | |
496 | by branch_prob pass. | |
497 | * profile.c (compute_value_histograms): Update for simplified value | |
498 | profiles. | |
499 | (rtl_register_profile_hooks): Kill. | |
500 | (pass_profiling): Kill. | |
501 | (rest_of_handle_branch_prob): Do not profile. | |
502 | * toplev.c (process_options): Remove speculative prefetching. | |
503 | * toplev.h (flag_tree_based_profiling): Kill. | |
504 | * tree-profile.c (prepare_instrumented_value, | |
505 | tree_gen_interval_profiler, tree_gen_pow2_profiler, | |
506 | tree_gen_one_value_profiler, do_tree_profiling): Update for | |
507 | simplified datastructures. | |
508 | * value-prof.c: Add comment that speculative prefetching was dropped; | |
509 | update rest of file for simplified datastructures. | |
510 | (NOPREFETCH_RANGE_MIN, NOPREFETCH_RANGE_MAX, | |
511 | rtl_divmod_values_to_profile, insn_prefetch_values_to_profile, | |
512 | find_mem_reference_1, find_mem_reference_2, find_mem_reference, | |
513 | rtl_values_to_profile, rtl_divmod_fixed_value, rtl_mod_pow2, | |
514 | rtl_mod_subtract, gen_speculative_prefetch, | |
515 | rtl_divmod_fixed_value_transform, rtl_mod_pow2_value_transform, | |
516 | rtl_mod_subtract_transform, speculative_prefetching_transform): Kill. | |
517 | (gate_handle_value_profile_transformations, | |
518 | rest_of_handle_value_profile_transformations, | |
519 | pass_value_profile_transformations): Kill. | |
520 | * value-prof.h (histogram_value_t): Remove IL based unions. | |
521 | (rtl_register_value_prof_hooks, rtl_register_profile_hooks, | |
522 | rtl_profile_hooks): Remove hooks. | |
523 | ||
524 | * invoke.texi (-ftree-based-profiling, -fspeculative-prefetching): Kill. | |
525 | ||
c5a4444c JH |
526 | * cgraph.c (cgraph_clone_edge): New UPDATE_ORIGINAL argument. |
527 | (cgraph_clone_node): Likewise. | |
528 | * cgraph.h (cgraph_clone_edge): Update prototype. | |
529 | (cgraph_clone_node): Likewise. | |
530 | * ipa-inline.c (cgraph_clone_inlined_nodes): Update call of | |
531 | cgraph_clone_node. | |
532 | (lookup_recursive_calls): Consider profile. | |
533 | (cgraph_decide_recursive_inlining): Fix updating; use new | |
534 | probability argument; use profile. | |
535 | * params.def (PARAM_MIN_INLINE_RECURSIVE_PROBABILITY): New. | |
536 | * tree-inline.c (copy_bb): Update clal of clone_edge. | |
537 | * tree-optimize.c (tree_rest_of_compilation): UPdate cal of clone_node. | |
538 | ||
539 | * invoke.texi (min-inline-recursive-probability): Document. | |
540 | ||
ccf548a7 GP |
541 | 2005-07-28 Gerald Pfeifer <gerald@pfeifer.com> |
542 | ||
543 | * doc/install.texi (Configuration): Update Valgrind homepage. | |
544 | ||
2c97f8e4 RH |
545 | 2005-07-28 Richard Henderson <rth@redhat.com> |
546 | ||
407ab83b | 547 | PR middle-end/21362 |
2c97f8e4 RH |
548 | * cfgrtl.c (rtl_merge_blocks): Call maybe_remove_eh_handler on |
549 | labels we want to delete. | |
550 | (cfg_layout_merge_blocks): Likewise. | |
551 | ||
b188ebb1 RH |
552 | 2005-07-28 Richard Henderson <rth@redhat.com> |
553 | ||
554 | PR target/17692 | |
d6e14e8f SB |
555 | * config/i386/i386.c (ix86_split_sse_movcc): Emit DELETED note |
556 | when expanding to nothing. | |
b188ebb1 | 557 | |
facc20ee JC |
558 | 2005-07-28 Josh Conner <jconner@apple.com> |
559 | ||
560 | * ipa-inline.c (update_caller_keys): Fix estimated_growth caching. | |
561 | (cgraph_decide_inlining_of_small_functions): Likewise. | |
562 | ||
9de21a23 JC |
563 | 2005-07-28 Josh Conner <jconner@apple.com> |
564 | ||
565 | * ipa-inline.c (cgraph_edge_badness): Update comments. Invert shift | |
566 | direction of badness if negative. | |
567 | (cgraph_default_inline_p): Add reason to parameters, and assign it | |
568 | a value. | |
569 | (cgraph_decide_inlining_of_small_functions): New parameter in call | |
570 | to cgraph_default_inline_p. | |
571 | (cgraph_decide_inlining_incrementally): Likewise. | |
572 | * cgraphunit.c (decide_is_function_needed): Likewise. | |
573 | * cgraph.h (cgraph_default_inline_p): Likewise. | |
574 | ||
206048bd VR |
575 | 2005-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
576 | ||
577 | * builtins.c: Fix comment typo(s). | |
578 | * genautomata.c: Likewise. | |
579 | * gimplify.c: Likewise. | |
580 | * tree-dfa.c: Likewise. | |
581 | * tree-flow-inline.h: Likewise. | |
582 | * tree-into-ssa.c: Likewise. | |
583 | * tree-ssa-alias.c: Likewise. | |
584 | * tree-ssa-ccp.c: Likewise. | |
585 | * tree-ssa-copy.c: Likewise. | |
586 | * tree-ssa-dce.c: Likewise. | |
587 | * tree-ssa-dom.c: Likewise. | |
588 | * tree-ssa-operands.c: Likewise. | |
589 | * tree-tailcall.c: Likewise. | |
590 | * tree-vectorizer.c: Likewise. | |
591 | * tree-vrp.c: Likewise. | |
592 | * tree.c: Likewise. | |
593 | ||
d579f20b JL |
594 | 2005-07-28 Jeff Law <law@redhat.com> |
595 | ||
d6e14e8f SB |
596 | * tree-vrp.c (test_for_singularity): Extracted from ... |
597 | (simplify_cond_using_ranges): Attempt to simplify a relational | |
598 | test to NE_EXPR. Dump information when a COND_EXPR is simplified. | |
d579f20b | 599 | |
5bb1823d DN |
600 | 2005-07-28 Dorit Nuzman <dorit@il.ibm.com> |
601 | ||
602 | PR tree-optimization/22506 | |
603 | * tree-vectorizer.c (update_phi_nodes_for_guard2): Skip loop-closed | |
604 | phis whose argument is constant. | |
605 | ||
b92ba6ff R |
606 | 2005-07-28 J"orn Rennecke <joern.rennecke@st.com> |
607 | ||
608 | PR rtl-optimization/18992 | |
609 | Back out this patch: | |
610 | 2003-10-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | |
611 | PR optimization/12142 | |
612 | * cse.c (count_reg_usage): In a SET with a REG SET_DEST, count the | |
613 | uses of the register in the SET_SRC. Remove unnecessary argument. | |
614 | ||
615 | Replace it with this: | |
616 | * cse.c (count_reg_usage): In INSN, JUMP_INSN and CALL_INSN cases, | |
617 | if flag_non_call_exceptions is set and the insn may trap, pass | |
618 | pc_rtx as dest for recursion. | |
619 | In SET_SRC part of SET case, if dest is already set, pass it down | |
620 | unchanged. | |
621 | ||
09bac500 JH |
622 | 2005-07-28 Jan Hubicka <jh@suse.cz> |
623 | ||
624 | * cfg.c (update_bb_profile_for_threading): Use RDIV. | |
625 | (scale_bbs_frequencies_int): Likewise, assert for possible overflow. | |
626 | (scale_bbs_frequencies_gcov_type): Be more curefull about overflows and | |
627 | roundoff errors. | |
628 | * tree-cfg.c (tree_duplicate_sese_region): Use counts for updating | |
629 | profile when available. | |
630 | ||
631 | 2005-07-28 Jan Beulich <jbeulich@novell.com> | |
a71aef0b JB |
632 | |
633 | * config/ia64/ia64.c (ia64_load_pair_ok): New. | |
634 | (ia64_print_operand): Describe and handle 'X'. | |
635 | (ia64_register_move_cost): Also handle FP_REGS. | |
636 | (ia64_preferred_reload_class): Likewise. | |
637 | (ia64_secondary_reload_class): Likewise. | |
638 | (ia64_dependencies_evaluation_hook): New local variable c. Initialize | |
639 | it. Also check for ITANIUM_CLASS_FLDP. | |
640 | * config/ia64/ia64.h (FP_REGNO_P): New. | |
641 | (HARD_REGNO_MODE_OK): Remove explusion of TImode. | |
642 | (reg_class): Add FP_REGS. | |
643 | (REG_CLASS_NAMES): Adjust for it. | |
644 | (REG_CLASS_CONTENTS): Likewise. | |
645 | (REGNO_REG_CLASS): Use FP_REGS where appropriate. | |
646 | (REG_CLASS_FROM_LETTER): Handle 'x'. | |
647 | (CLASS_MAX_NREGS): Handle FP_REGS. | |
648 | (MEMORY_MOVE_COST): Likewise. | |
649 | * config/ia64/ia64.md (itanium_class): Add fldp. | |
650 | (type): Handle fldp. | |
651 | (movti_internal): More allowable operand combinations. Use ldfp8 when | |
652 | splitting unnecessary. Remove predicable attribute. Adjust | |
653 | itanium_class attribute. | |
654 | (smuldi3_highpart): Remove outdated comment. | |
655 | (mulditi3, umulditi3, rotlti3): New expanders. | |
656 | (addti3, subti3, mulditi3_internal, umulditi3_internal, negti2, rotlti3_internal): New insns. | |
657 | (absti2): Disabled new insn for future reference. | |
658 | Respective new splitters. | |
659 | * config/ia64/itanium1.md (1_fldp, 1b_fldp): New insn reservations. | |
660 | * config/ia64/itanium2.md (2_fldp, 2b_fldp): Likewise. | |
661 | * config/ia64/ia64-protos.h (ia64_load_pair_ok): New. | |
662 | ||
77d1d8e0 JM |
663 | 2005-07-25 James A. Morrison <phython@gcc.gnu.org> |
664 | ||
665 | PR rtl-optimization/23047 | |
666 | * simplify-rtx.c (simplify_const_relational_operation): Respect | |
667 | flag_wrapv for comparisons with ABS. | |
668 | ||
ff08cbee JM |
669 | 2005-07-27 James A. Morrison <phython@gcc.gnu.org> |
670 | ||
671 | PR tree-optimization/22493 | |
672 | * tree-vrp.c (extract_range_from_unary_expr): Deal with -fwrapv and | |
673 | VR_ANTI_RANGEs properly for NEGATE_EXPRs and ABS_EXPRs. | |
674 | ||
38c28a25 AH |
675 | 2005-07-27 Aldy Hernandez <aldyh@redhat.com> |
676 | ||
677 | * config/frv/frv.opt (moptimize-membar): New. | |
678 | ||
679 | * doc/invoke.texi: Document -moptimize-membar and its inverse. | |
680 | ||
681 | * config/frv/frv.h: Remove machine_function definition. | |
682 | ||
d6e14e8f SB |
683 | * config/frv/frv.c (struct frv_io): New. |
684 | (struct machine_function): Moved from frv.h. Add has_membar_p. | |
685 | (frv_same_doubleword_p, frv_io_fixed_order_p, frv_io_union) | |
686 | (frv_extract_membar, frv_io_check_address, frv_io_handle_set) | |
687 | (frv_io_handle_use_1, frv_io_handle_use, frv_optimize_membar_local) | |
688 | (frv_optimize_membar_global, frv_optimize_membar): New functions. | |
689 | (frv_reorg): Call frv_optimize_membar when appropriate. | |
690 | (bdesc_loads, bdesc_stores): Use the membar code as the icode field. | |
691 | (frv_expand_builtin): Adjust calls accordingly. | |
692 | (frv_io_address_cookie): New function. | |
693 | (frv_expand_load_builtin, frv_expand_store_builtin): Emit a normal | |
694 | load or store rather than a special insn. Add ccnstant address and | |
695 | io-type operands to the membar. | |
38c28a25 AH |
696 | (frv_ifcvt_modify_tests): Unsign regno. |
697 | (frv_ifcvt_modify_tests): Same. | |
698 | ||
699 | * config/frv/frv.md: Remove UNSPEC_BUILTIN_{LOAD,STORE}. Change | |
700 | UNSPEC_OPTIONAL_MEMBAR constant. | |
701 | (builtin_read_<mode>): Delete. | |
702 | (builtin_write_<mode>): Delete. | |
703 | ("optional_membar_<mode>"): Add operand. | |
704 | ||
705 | * testsuite/gcc.target/frv/all-builtin-read8.c: Delete. | |
706 | * testsuite/gcc.target/frv/all-builtin-read16.c: Delete. | |
707 | * testsuite/gcc.target/frv/all-builtin-read32.c: Delete. | |
708 | * testsuite/gcc.target/frv/all-builtin-read64.c: Delete. | |
709 | * testsuite/gcc.target/frv/all-builtin-write8.c: Delete. | |
710 | * testsuite/gcc.target/frv/all-builtin-write16.c: Delete. | |
711 | * testsuite/gcc.target/frv/all-builtin-write32.c: Delete. | |
712 | * testsuite/gcc.target/frv/all-builtin-write64.c: Delete. | |
713 | * testsuite/gcc.target/frv/all-read-write-1.c: New. | |
714 | ||
47c504ea KK |
715 | 2005-07-28 Kaz Kojima <kkojima@gcc.gnu.org> |
716 | ||
717 | * df.c (df_uses_record): Handle SCRATCH. | |
718 | ||
ef11c839 SB |
719 | 2005-07-28 Steven Bosscher <stevenb@suse.de> |
720 | ||
721 | PR debug/20161 | |
722 | * passes.c (rest_of_decl_compilation): If decl is a type and | |
723 | we have encountered errors, don't emit debug information. | |
724 | ||
1eb68dca | 725 | 2005-07-27 Kenneth Zadeck <zadeck@naturalbridge.com> |
ef11c839 | 726 | |
1eb68dca KZ |
727 | * params.def: Fixed comment. |
728 | ||
10252a62 BH |
729 | 2005-07-27 Bjoern Haase <bjoern.m.haase@web.de> |
730 | ||
731 | PR target/19885 | |
732 | * config/avr/avr.c (TARGET_ASM_ALIGNED_SI_OP): Add. | |
733 | (TARGET_ASM_UNALIGNED_HI_OP): Add. | |
734 | (TARGET_ASM_UNALIGNED_SI_OP): Add. | |
735 | ||
e4598783 SB |
736 | 2005-07-27 Steven Bosscher <stevenb@suse.de> |
737 | ||
738 | PR c++/22003 | |
739 | * varasm.c (assemble_start_function): Don't do anything that may | |
740 | require a CFG if the current function is a thunk. | |
741 | ||
a9fdd472 GK |
742 | 2005-07-25 Geoffrey Keating <geoffk@apple.com> |
743 | ||
744 | * doc/install.texi (Prerequisites): Mention that perl is needed | |
745 | to do export control in libstdc++ targetting Darwin. | |
746 | ||
2bd1e239 SB |
747 | 2005-07-27 Steven Bosscher <stevenb@suse.de> |
748 | ||
749 | PR rtl-optimization/17808 | |
750 | * sched-deps.c (sched_get_condition): Enable #if 0'ed code. | |
751 | (sched_insns_conditions_mutex_p): Split out from... | |
752 | (add_dependence): ...here. But don't call it from here. | |
753 | (add_dependence_list): Check sched_insns_conditions_mutex_p | |
754 | before calling add_dependence. | |
755 | (add_dependence_list_and_free): Likewise. | |
756 | (fixup_sched_groups): Likewise. | |
757 | (sched_analyze_1): Likewise. | |
758 | (sched_analyze_2): Likewise (and replace a "0" with REG_DEP_TRUE). | |
759 | (sched_analyze): Likewise. | |
760 | (sched_analyze_insn): Likewise. | |
761 | * sched-ebb.c (add_deps_for_risky_insns): Likewise. | |
762 | * sched-rgn.c (add_branch_dependences): Likewise. Also, add | |
763 | dependencies on all COND_EXEC insns to jumps ending basic blocks | |
764 | when doing intrablock scheduling. | |
765 | * sched-int.h (sched_insns_conditions_mutex_p): Add prototype. | |
766 | ||
880031e1 JL |
767 | 2005-07-27 Jeff Law <law@redhat.com> |
768 | ||
769 | * tree-vrp.c (vrp_meet): Intersect the equivalency sets when | |
770 | meeting a VR_ANTI_RANGE with a VR_RANGE. When intersecting | |
771 | equivalency sets, correctly handle the case were vr0 has an | |
772 | equivalency set, but vr1 does not. | |
773 | ||
b940ce0e DN |
774 | 2005-07-27 Dorit Nuzman <dorit@il.ibm.com> |
775 | ||
776 | PR tree-optimization/23073 | |
777 | * tree-vect-analyze.c (vect_analyze_data_refs_alignment): Call | |
778 | vect_print_dump_info before fprintf. | |
779 | ||
26c40640 ZD |
780 | 2005-07-27 Zdenek Dvorak <dvorakz@suse.cz> |
781 | ||
782 | PR tree-optimize/22348 | |
783 | * tree-ssa-loop-niter.c (number_of_iterations_cond): | |
784 | Fold the partial computation. | |
785 | ||
3ac01fde ZD |
786 | 2005-07-27 Zdenek Dvorak <dvorakz@suse.cz> |
787 | ||
788 | PR tree-optimization/22325 | |
789 | * tree-flow.h (compute_phi_arg_on_exit, force_expr_to_var_cost): | |
790 | Declare. | |
791 | * tree-scalar-evolution.c (scev_const_prop): Add generic final | |
792 | value replacement. | |
793 | * tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Split from ... | |
794 | (force_var_cost): ... this function. | |
795 | (compute_phi_arg_on_exit): Export. | |
796 | ||
77fcaf4b ZD |
797 | 2005-07-27 Zdenek Dvorak <dvorakz@suse.cz> |
798 | ||
799 | PR tree-optimization/20773 | |
800 | * tree-ssa-loop-ch.c (copy_loop_headers): Select the correct latch | |
801 | edge. | |
802 | ||
c11b0231 RG |
803 | 2005-07-27 Richard Guenther <rguenther@suse.de> |
804 | ||
805 | * tree-ssa-structalias.c (push_fields_onto_fieldstack): | |
806 | Avoid pushing again if current struct contains only | |
807 | fields we decomposed. | |
808 | ||
57a73709 JH |
809 | 2005-07-27 Jan Hubicka <jh@suse.cz> |
810 | ||
093c2329 JH |
811 | PR tree-optimization/22574 |
812 | * cgraph.c (cgraph_function_body_availability): Unanalyzed bodies are | |
813 | not available. | |
814 | ||
23504559 JH |
815 | * tree-tailcall.c (decrease_profile): New function. |
816 | (eliminate_tail_call): Use it. | |
817 | ||
57a73709 JH |
818 | * cgraphunit.c (cgraph_function_and_variable_visibility): Set |
819 | visibility flags correctly in whole program mode. | |
820 | ||
b5395c33 SE |
821 | 2005-07-26 Steve Ellcey <sje@cup.hp.com> |
822 | ||
823 | PR rtl-optimization/22472 | |
824 | * config/pa/pa.h (HARD_REGNO_RENAME_OK): Define. | |
825 | ||
86979811 SB |
826 | 2005-07-26 Steven Bosscher <stevenb@suse.de> |
827 | ||
828 | PR tree-optimization/22504 | |
829 | * tree-complex.c (expand_complex_addition): Use 'code' instead | |
830 | of MINUS_EXPR for (VARYING, ONLY_IMAG) and (ONLY_IMAG, VARYING). | |
831 | ||
faf9ab98 AH |
832 | 2005-07-26 Aldy Hernandez <aldyh@redhat.com> |
833 | ||
834 | * config.gcc (cpu_type): Add frv case. | |
835 | (with_cpu): Add frv400-*-*linux* and frv550-*-*linux* cases. | |
836 | (supported_defaults): Add fr550 case. | |
837 | ||
31521cd4 DN |
838 | 2005-07-26 Diego Novillo <dnovillo@redhat.com> |
839 | ||
840 | PR 22591 | |
841 | * tree-ssa-alias.c (may_alias_p): Remove shortcut that tests | |
842 | whether a pointer of type T * may point to objects of type T *. | |
843 | ||
45499411 DD |
844 | 2005-07-26 DJ Delorie <dj@redhat.com> |
845 | ||
846 | * configure: Regenerate. | |
847 | ||
576a4795 DJ |
848 | 2005-07-26 Dale Johannesen <dalej@apple.com> |
849 | ||
850 | * postreload-gcse.c (alloc_mem): Start CUID numbering at 1. | |
851 | ||
526635cb MM |
852 | 2005-07-26 Mark Mitchell <mark@codesourcery.com> |
853 | ||
854 | * doc/install.texi (--with-build-sysroot): Fix grammatical error. | |
855 | Clarify use of "build" in name. | |
856 | ||
c14ff86e AH |
857 | 2005-07-26 Aldy Hernandez <aldyh@redhat.com> |
858 | ||
859 | * doc/extend.texi (Raw read/write Functions): New section. | |
860 | * testsuite/gcc.target/frv/all-builtin-read8.c: New. | |
861 | * testsuite/gcc.target/frv/all-builtin-read16.c: New. | |
862 | * testsuite/gcc.target/frv/all-builtin-read32.c: New. | |
863 | * testsuite/gcc.target/frv/all-builtin-read64.c: New. | |
864 | * testsuite/gcc.target/frv/all-builtin-write8.c: New. | |
865 | * testsuite/gcc.target/frv/all-builtin-write16.c: New. | |
866 | * testsuite/gcc.target/frv/all-builtin-write32.c: New. | |
867 | * testsuite/gcc.target/frv/all-builtin-write64.c: New. | |
868 | * config/frv/frv.c: Add bdesc_loads global. | |
869 | Add bdesc_stores global. | |
870 | (frv_init_builtins): Add support for __builtin_{read/write}*. | |
871 | (frv_volatile_memref): New. | |
872 | (frv_expand_load_builtin): New. | |
873 | (frv_expand_store_builtin): New. | |
874 | * config/frv/frv.h (frv_builtins): Add FRV_BUILTIN_SCAN, | |
875 | FRV_BUILTIN_READ8, FRV_BUILTIN_READ16, FRV_BUILTIN_READ32, | |
876 | FRV_BUILTIN_READ64, FRV_BUILTIN_WRITE8, FRV_BUILTIN_WRITE16, | |
877 | FRV_BUILTIN_WRITE32, FRV_BUILTIN_WRITE64. | |
878 | * config/frv/frv.md (unspecs): Add UNSPEC_BUILTIN_LOAD, | |
879 | UNSPEC_BUILTIN_STORE, UNSPEC_OPTIONAL_MEMBAR. | |
880 | (builtin_read_<mode>): New. | |
881 | (builtin_write_<mode>): New. | |
882 | (builtin_write64): New. | |
883 | (optional_membar_<mode>): New. | |
884 | ||
db487452 R |
885 | 2005-07-26 J"orn Rennecke <joern.rennecke@st.com> |
886 | ||
887 | * emit-rtl.c (gen_lowpart_common): Compare size of MODE in bits | |
888 | (rather than units) against HOST_BITS_PER_WIDE_INT. | |
889 | ||
783455db KH |
890 | 2005-07-26 Kazu Hirata <kazu@codesourcery.com> |
891 | ||
892 | * ipa-pure-const.c, ipa-reference.c, ipa-reference.h, | |
893 | ipa-type-escape.c, ipa-type-escape.h, ipa-utils.c, | |
894 | ipa-utils.h, treestruct.def, config/crx/crx-protos.h, | |
895 | config/crx/crx.c, config/crx/crx.h, config/crx/crx.md: Update | |
896 | FSF address. | |
897 | ||
a4174ebf KH |
898 | * calls.c, fold-const.c, ipa-reference.c, ipa-type-escape.c, |
899 | tree-ssa-reassoc.c, tree-ssa-structalias.c, vec.h, | |
900 | config/crx/crx.c, config/m32c/m32c.c, config/m32c/m32c.h: Fix | |
901 | comment typos. | |
902 | * doc/c-tree.texi, doc/tree-ssa.texi: Fix typos. | |
903 | ||
46c0a59d RG |
904 | 2005-07-26 Richard Guenther <rguenther@suse.de> |
905 | ||
906 | PR tree-optimization/22486 | |
907 | * fold-const.c (fold_unary): Fold away useless component | |
908 | references of the form (T *)&T.x, if the address | |
909 | doesn't change. | |
910 | ||
3e2844cb JW |
911 | 2005-07-25 James E Wilson <wilson@specifixinc.com> |
912 | ||
913 | * dwarf2out.c (add_call_src_coords_attributes): New. | |
914 | (gen_inlined_subroutine_die): Call it. | |
915 | (maybe_emit_file, init_file_table): Add comments. | |
916 | (prune_unused_types_walk_attribs): Pass DW_AT_call_file through | |
917 | maybe_emit_file. | |
918 | * tree-inline.c (remap_block): Copy BLOCK_SOURCE_LOCATION. | |
919 | (expand_call_inline): Set BLOCK_SOURCE_LOCATION. | |
920 | * tree.h (BLOCK_SOURCE_LOCATION): New. | |
921 | (struct tree_block): New field locus. | |
922 | ||
9275de65 AS |
923 | 2005-07-26 Andreas Schwab <schwab@suse.de> |
924 | ||
925 | PR rtl-optimization/23043 | |
926 | * postreload-gcse.c (eliminate_partially_redundant_load): Fix typo | |
927 | when allocating a struct unoccr. | |
928 | ||
5306ec31 RH |
929 | 2005-07-25 Richard Henderson <rth@redhat.com> |
930 | ||
931 | PR 22626 | |
932 | * tree-complex.c (gate_no_optimization): True if errors. | |
933 | * Makefile.in (tree-complex.o): Update dependencies. | |
934 | ||
bfa653b3 AH |
935 | 2005-07-25 Aldy Hernandez <aldyh@redhat.com> |
936 | ||
937 | * config/frv/predicates.md (integer_register_operand): Use | |
938 | GPR_AP_OR_PSEUDO_P. | |
939 | ||
43e364dd AP |
940 | 2005-07-25 Andrew Pinski <pinskia@physics.uc.edu> |
941 | ||
942 | PR tree-opt/22484 | |
943 | * tree-ssa-ccp.c (fold_stmt_inplace): Strip useless type conversions | |
944 | after fold. | |
945 | * tree-ssa-propagate.c (set_rhs): Reject invalid conditional operands. | |
946 | ||
c72f711f AP |
947 | 2005-07-25 Andrew Pinski <pinskia@physics.uc.edu> |
948 | ||
949 | * tree-ssa-reassoc.c (reassociate_expr): Allow scaler floating point | |
950 | types when flag_unsafe_math_optimizations is true. | |
951 | ||
160633c6 MM |
952 | 2005-07-25 Mark Mitchell <mark@codesourcery.com> |
953 | ||
954 | * gcc.c (option_map): Add --sysroot. | |
955 | (process_command): Handle --sysroot. | |
956 | (display_help): Document it. | |
957 | * doc/cppopts.tex (-isysroot): Document. | |
958 | * doc/invoke.texi (--sysroot): Document. | |
959 | * doc/install.texi (--with-build-sysroot): Document. | |
960 | ||
961 | * Makefile.in (inhibit_libc): New variable. | |
962 | (INHIBIT_LIBC_CFLAGS): Likewise. | |
963 | (LIBGCC2_CFLAGS): Include | |
964 | $(INHIBIT_LIBC_CFLAGS). | |
965 | (CRTSTUFF_CFLAGS): Include $(INHIBIT_LIBC_CFLAGS). | |
966 | ($(T)crtbegin.o): Do not use @inhibit_libc@. | |
967 | ($(T)crtend.o): Likewise. | |
968 | ($(T)crtbeginS.o): Do not use @inhibit_libc@. | |
969 | ($(T)crtendS.o): Likewise. | |
970 | ($(T)crtbeginT.o): Do not use @inhibit_libc@. | |
971 | ($(T)crtendT.o): Likewise. | |
972 | (stmp-fixinc): Do not complain about missing headers if | |
973 | inhibit_libc. | |
974 | * configure.ac (inhibit_libc): Set it to true/false. | |
975 | (--with-build-sysroot): New option. Use it to set | |
976 | SYSTEM_HEADER_DIR. | |
977 | * configure: Regenerated. | |
978 | ||
1490f93a MH |
979 | 2005-07-25 Manfred Hollstein <mh@suse.com> |
980 | ||
981 | * calls.c (store_one_arg): Fix unsigned comparison warning. | |
982 | ||
76e20664 SB |
983 | 2005-07-25 Serge Belyshev <belyshev@depni.sinp.msu.ru> |
984 | ||
985 | PR other/22337 | |
986 | * ggc-zone.c (ggc_alloc_zone_stat): Do not use CHUNK_OVERHEAD. | |
987 | (ggc_print_statistics): Initialize variable before use. | |
988 | ||
5c97e2de RG |
989 | 2005-07-25 Richard Guenther <rguenther@suse.de> |
990 | ||
991 | * tree-dfa.c (mark_new_vars_to_rename): Protect against | |
992 | calling with a PHI_NODE argument. | |
993 | ||
994 | * tree-flow-inline.h (overlap_subvar): Protect against | |
995 | possible overflow. | |
996 | ||
7fefc172 PB |
997 | 2005-07-25 Paolo Bonzini <bonzini@gnu.org> |
998 | ||
999 | * aclocal.m4 (gcc_AC_CHECK_TOOL): Add /bin to default directory. | |
1000 | * configure: Regenerate. | |
1001 | ||
86a07404 IR |
1002 | 2005-07-25 Ira Rosen <irar@il.ibm.com> |
1003 | ||
1004 | * expr.c (highest_pow2_factor): Make extern. | |
1005 | * tree-data-ref.c (ptr_decl_may_alias_p): New function. | |
1006 | (ptr_ptr_may_alias_p, may_alias_p, record_ptr_differ_p, | |
1007 | record_array_differ_p, array_ptr_differ_p): Likewise. | |
1008 | (base_object_differ_p): Rename (from array_base_name_differ_p). Support | |
1009 | additional cases. Call the above functions. | |
1010 | (base_addr_differ_p): Moved from tree-vect-analyze.c. Call | |
1011 | base_object_differ_p when there are two base objects. Otherwise, compare | |
1012 | base address and offset. Call may_alias_p. | |
1013 | (dump_data_reference): Use a correct field name. | |
1014 | (analyze_array): Make static. Initialize new data-ref fields. | |
1015 | (analyze_indirect_ref): New function. | |
1016 | (init_data_ref): Initialize new data-ref fields. | |
1017 | (strip_conversion): Moved from tree-vect-analyze.c. | |
7fefc172 PB |
1018 | (analyze_offset_expr, get_ptr_offset, address_analysis, |
1019 | object_analysis): Likewise. | |
86a07404 | 1020 | (analyze_offset): New function. |
86979811 | 1021 | (create_data_ref): Likewise. |
86a07404 IR |
1022 | (initialize_data_dependence_relation): Call base_addr_differ_p. Compare |
1023 | dimensions for ARRAY_REFs only. | |
1024 | (build_classic_dist_vector): Make static. | |
1025 | (access_functions_are_affine_or_constant_p): Call macro to get the | |
1026 | address of access functions. | |
1027 | (compute_all_dependences): Add new parameter | |
1028 | compute_self_and_read_read_dependences. Compute self and read-read | |
1029 | dependences if it is true. | |
1030 | (find_data_references_in_loop): Call create_data_ref. Initialize new | |
1031 | data-ref fields. | |
1032 | (compute_data_dependences_for_loop): Add new parameter | |
1033 | compute_self_and_read_read_dependences. Remove parameter nb_loops, | |
7fefc172 PB |
1034 | compute nb_loops. Call compute_all_dependences, |
1035 | build_classic_dist_vector and build_classic_dir_vector with correct | |
1036 | parameters. | |
1037 | (analyze_all_data_dependences): Call compute_data_dependences_for_loop | |
1038 | with correct parameters. Compare dimensions for ARRAY_REFs only. | |
86a07404 IR |
1039 | (free_data_refs): Call macro to free access functions. |
1040 | * tree-data-ref.h (struct first_location_in_loop): New structure. Move | |
1041 | fields from stmt_vinfo. | |
1042 | (struct base_object_info): New structure. | |
1043 | (struct data_reference): Move fields to base_object_info. Add fields | |
1044 | first_location and object_info for above structures. Move fields from | |
7fefc172 PB |
1045 | stmt_info: memtag, ptr_info, subvars, misalignment. Add new field |
1046 | aligned_to. Add macros to access the new fields. | |
86a07404 IR |
1047 | Update functions declarations. |
1048 | * tree-flow.h (is_aliased_with): Declare. | |
1049 | * tree-loop-linear.c (linear_transform_loops): Call | |
1050 | compute_data_dependences_for_loop with correct parameters. | |
1051 | * tree-ssa-alias.c (is_aliased_with): New function. | |
86979811 | 1052 | * tree-vect-analyze.c (vect_get_ptr_offset): Remove. |
86a07404 IR |
1053 | (vect_analyze_offset_expr, vect_base_addr_differ_p): Likewise. |
1054 | (vect_analyze_data_ref_dependence): Get ddr. Remove call to | |
1055 | vect_base_addr_differ_p, compute_subscript_distance and | |
1056 | build_classic_dist_vector. Add printings. Check absolute value of | |
1057 | distance. | |
7fefc172 PB |
1058 | (vect_analyze_data_ref_dependences): Go through ddrs instead of |
1059 | data-refs. | |
86a07404 IR |
1060 | (vect_compute_data_ref_alignment): Get the fields of data-ref instead of |
1061 | stmt. Check aligned_to. Check if the base is aligned. Remove conversion | |
1062 | to bytes. Add printing. | |
7fefc172 PB |
1063 | (vect_compute_data_refs_alignment): Go through loads and stores in one |
1064 | loop. | |
86a07404 IR |
1065 | (vect_enhance_data_refs_alignment, vect_analyze_data_refs_alignment, |
1066 | vect_analyze_data_ref_access): Likewise. | |
1067 | (vect_analyze_pointer_ref_access): Remove. | |
1068 | (vect_address_analysis, vect_object_analysis): Likewise. | |
1069 | (vect_analyze_data_refs): Call compute_data_dependences_for_loop to find | |
1070 | and analyze data-refs in the loop. | |
7fefc172 PB |
1071 | * tree-vect-transform.c (vect_create_addr_base_for_vector_ref): Get the |
1072 | fields of data-ref instead of stmt. Add init to the offset from the | |
1073 | base. | |
86a07404 IR |
1074 | (vect_create_data_ref_ptr): Get the fields of data-ref instead of stmt. |
1075 | (vect_update_init_of_dr): Likewise. | |
1076 | (vect_update_inits_of_drs): Go through loads and stores in one loop. | |
7fefc172 PB |
1077 | * tree-vectorizer.c (new_stmt_vec_info): Remove initialization of |
1078 | removed fields. | |
86a07404 IR |
1079 | (new_loop_vec_info): Initialize new fields. |
1080 | (destroy_loop_vec_info): Free new fields. | |
1081 | (vect_strip_conversion): Remove. | |
1082 | * tree-vectorizer.h (enum verbosity_levels): Add new verbosity level. | |
1083 | (struct _loop_vec_info): Unify data_ref_writes and data_ref_reads into | |
1084 | datarefs. Add new field ddrs. | |
1085 | Add macros for the new fields access. | |
1086 | (struct _stmt_vec_info): Remove: base_address, initial_offset, step, | |
1087 | base_aligned_p, misalignment, memtag, ptr_info and subvars. | |
1088 | Remove their macros. | |
1089 | * tree.h (highest_pow2_factor): Declare. | |
1090 | ||
0dc42b03 JJ |
1091 | 2005-07-25 Jakub Jelinek <jakub@redhat.com> |
1092 | ||
1093 | * calls.c (store_one_arg): Check for sibling call MEM arguments | |
1094 | from already clobbered incoming argument area. | |
1095 | ||
104f8784 KG |
1096 | 2005-07-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1097 | ||
1098 | * c-common.c (check_missing_format_attribute): New. | |
1099 | * c-common.h (check_missing_format_attribute): Likewise. | |
1100 | * c-typeck.c (convert_for_assignment): Use it. | |
1101 | ||
1b8452d0 AS |
1102 | 2005-07-24 Andreas Schwab <schwab@suse.de> |
1103 | ||
1104 | * config/m68k/m68k.md ("extendqidi2"): When source is an address | |
1105 | register use a word move. Correct operand of ext.w in 68000 code. | |
1106 | ||
2b402955 MM |
1107 | 2005-07-23 Mark Mitchell <mark@codesourcery.com> |
1108 | ||
1109 | * dwarf2out.c (gen_variable_die): Treat un-emitted COMDAT | |
1110 | variables as declarations, rather than definitions. | |
1111 | ||
c8af1197 IR |
1112 | 2005-07-24 Ira Rosen <irar@il.ibm.com> |
1113 | ||
86979811 SB |
1114 | PR tree-optimization/22526 |
1115 | * tree-vectorizer.c (slpeel_tree_peel_loop_to_edge): Match the type | |
1116 | of the zero node. | |
c8af1197 | 1117 | |
1b135aa5 FXC |
1118 | 2005-07-24 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
1119 | ||
1120 | * builtins.def: Add DEF_EXT_C99RES_BUILTIN to define builtins | |
1121 | that C99 reserve for future use. Use it to define clog10, | |
1122 | clog10f and clog10l. | |
1123 | ||
ac0f3f39 KG |
1124 | 2005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1125 | ||
1126 | * Makefile.in (STRICT2_WARN): Add -Wmissing-format-attribute. | |
1127 | * configure.ac: Check for -Wmissing-format-attribute. | |
1128 | ||
1129 | * configure: Regenerate. | |
1130 | ||
db753fa1 RH |
1131 | 2005-07-23 Richard Henderson <rth@redhat.com> |
1132 | ||
1133 | PR tree-optimization/22623 | |
1134 | * tree-complex.c (set_component_ssa_name): Use replace_ssa_name_symbol. | |
1135 | ||
28f155be GB |
1136 | 2005-07-23 Giovanni Bajo <giovannibajo@libero.it> |
1137 | ||
1138 | PR target/22577 | |
1139 | * config/pa/pa.c (reloc_needed): Updated for VECs inside CONSTRUCTOR. | |
1140 | ||
db857e7d KG |
1141 | 2005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1142 | ||
1143 | * Makefile.in (C_TREE_H): Update dependencies. | |
1144 | * c-tree.h: Include toplev.h. | |
1145 | * diagnostic.h (diagnostic_set_info): Add format attribute. | |
1146 | * rtl-error.c (diagnostic_for_asm): Likewise. | |
1147 | ||
118ea793 CF |
1148 | 2005-07-23 Chao-ying Fu <fu@mips.com> |
1149 | ||
1150 | * config/mips/mips-dsp.md: New file. | |
1151 | * config/mips/mips-modes.def (V4QI, V2HI, CCDSP): New modes. | |
1152 | * config/mips/mips.c (mips_function_type): Add types for DSP builtin | |
1153 | functions. | |
1154 | (mips_builtin_type): Add MIPS_BUILTIN_DIRECT_NO_TARGET and | |
1155 | MIPS_BUILTIN_BPOSGE32. | |
1156 | (mips_expand_builtin_direct): Add one parameter to indicate that | |
1157 | builtin functions need to return a value. | |
1158 | (mips_expand_builtin_bposge): New for expanding "bposge" builtin | |
1159 | functions. | |
1160 | (mips_regno_to_class): Add classes for 12 new DSP registers. | |
1161 | (mips_subword): Change to check four HI registers. | |
1162 | (mips_output_move): Output move to and from 6 new DSP accumulators. | |
1163 | (override_options): Make sure -mdsp and -mips16 are not used together. | |
1164 | Map 'A' to DSP_ACC_REGS and 'a' to ACC_REGS. Enable DSP accumulators | |
1165 | for machine modes. | |
1166 | (mips_conditional_register_usage): Disable 6 new DSP accumulators | |
1167 | when !TARGET_DSP. | |
1168 | (print_operand): Add 'q' for printing DSP accumulators. | |
1169 | (mips_cannot_change_mode_class): Check ACC_REGS. | |
1170 | (mips_secondary_reload_class): Check ACC_REGS. | |
1171 | (mips_vector_mode_supported_p): Enable V2HI and V4QI when TARGET_DSP. | |
1172 | (mips_register_move_cost): Check ACC_REGS. | |
1173 | (CODE_FOR_mips_addq_ph, CODE_FOR_mips_addu_qb, CODE_FOR_mips_subq_ph) | |
1174 | (CODE_FOR_mips_subu_qb): New code-aliasing macros. | |
1175 | (DIRECT_NO_TARGET_BUILTIN, BPOSGE_BUILTIN): New macros. | |
1176 | (dsp_bdesc): New array. | |
1177 | (bdesc_arrays): Add DSP builtin function table. | |
1178 | (mips_prepare_builtin_arg): Check predicate again after | |
1179 | copy_to_mode_reg. | |
1180 | (mips_expand_builtin): Add one more parameter to | |
1181 | mips_expand_builtin_direct. Expand MIPS_BUILTIN_DIRECT_NO_TARGET and | |
1182 | MIPS_BUILTIN_BPOSGE32. | |
1183 | (mips_init_builtins): Initialize new function types. | |
1184 | (mips_expand_builtin_direct): Check if builtin functions need to | |
1185 | return a value and pass operands properly. | |
1186 | (mips_expand_builtin_bposge): New function. | |
1187 | * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Add __mips_dsp. | |
1188 | (ASM_SPEC): Map -mdsp to -mdsp in GAS. | |
1189 | (FIRST_PSEUDO_REGISTER): Increase to 188. | |
1190 | (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS): | |
1191 | Update for 12 new DSP registers. | |
1192 | (DSP_ACC_REG_FIRST, DSP_ACC_REG_LAST, DSP_ACC_REG_NUM, AC1HI_REGNUM) | |
1193 | (AC1LO_REGNUM, AC2HI_REGNUM, AC2LO_REGNUM, AC3HI_REGNUM, AC3LO_REGNUM): | |
1194 | (DSP_ACC_REG_P, ACC_REG_P, ACC_HI_REG_P): New macros. | |
1195 | (reg_class): Add DSP_ACC_REGS and ACC_REGS. | |
1196 | (REG_CLASS_NAMES): Add names for DSP_ACC_REGS and ACC_REGS. | |
1197 | (REG_CLASS_CONTENTS): Update for DSP_ACC_REGS, ACC_REGS and ALL_REGS. | |
1198 | (REG_ALLOC_ORDER): Update for 12 new DSP registers. | |
1199 | (mips_char_to_class): Add 'A' for DSP_ACC_REGS and 'a' for ACC_REGS. | |
1200 | (UIMM6_OPERAND, IMM10_OPERAND): New macros. | |
1201 | (EXTRA_CONSTRAINT_Y): Add YA and YB extra constraints. | |
1202 | (REGISTER_NAMES): Add names for 12 new DSP registers. | |
1203 | * config/mips/mips.md: Include mips-dsp.md. | |
1204 | (UNSPEC_ADDQ, UNSPEC_ADDQ_S, UNSPEC_SUBQ, UNSPEC_SUBQ_S, UNSPEC_ADDSC) | |
1205 | (UNSPEC_ADDWC, UNSPEC_MODSUB, UNSPEC_RADDU_W_QB, UNSPEC_ABSQ_S) | |
1206 | (UNSPEC_PRECRQ_QB_PH, UNSPEC_PRECRQ_PH_W, UNSPEC_PRECRQ_RS_PH_W) | |
1207 | (UNSPEC_PRECRQU_S_QB_PH, UNSPEC_PRECEQ_W_PHL, UNSPEC_PRECEQ_W_PHR) | |
1208 | (UNSPEC_PRECEQU_PH_QBL, UNSPEC_PRECEQU_PH_QBR, UNSPEC_PRECEQU_PH_QBLA) | |
1209 | (UNSPEC_PRECEQU_PH_QBRA, UNSPEC_PRECEU_PH_QBL, UNSPEC_PRECEU_PH_QBR) | |
1210 | (UNSPEC_PRECEU_PH_QBLA, UNSPEC_PRECEU_PH_QBRA, UNSPEC_SHLL) | |
1211 | (UNSPEC_SHLL_S, UNSPEC_SHRL_QB, UNSPEC_SHRA_PH, UNSPEC_SHRA_R) | |
1212 | (UNSPEC_MULEU_S_PH_QBL, UNSPEC_MULEU_S_PH_QBR, UNSPEC_MULQ_RS_PH) | |
1213 | (UNSPEC_MULEQ_S_W_PHL, UNSPEC_MULEQ_S_W_PHR, UNSPEC_DPAU_H_QBL) | |
1214 | (UNSPEC_DPAU_H_QBR, UNSPEC_DPSU_H_QBL, UNSPEC_DPSU_H_QBR) | |
1215 | (UNSPEC_DPAQ_S_W_PH, UNSPEC_DPSQ_S_W_PH, UNSPEC_MULSAQ_S_W_PH) | |
1216 | (UNSPEC_DPAQ_SA_L_W, UNSPEC_DPSQ_SA_L_W, UNSPEC_MAQ_S_W_PHL) | |
1217 | (UNSPEC_MAQ_S_W_PHR, UNSPEC_MAQ_SA_W_PHL, UNSPEC_MAQ_SA_W_PHR) | |
1218 | (UNSPEC_BITREV, UNSPEC_INSV, UNSPEC_REPL_QB, UNSPEC_REPL_PH) | |
1219 | (UNSPEC_CMP_EQ, UNSPEC_CMP_LT, UNSPEC_CMP_LE, UNSPEC_CMPGU_EQ_QB) | |
1220 | (UNSPEC_CMPGU_LT_QB, UNSPEC_CMPGU_LE_QB, UNSPEC_PICK, UNSPEC_PACKRL_PH) | |
1221 | (UNSPEC_EXTR_W, UNSPEC_EXTR_R_W, UNSPEC_EXTR_RS_W, UNSPEC_EXTR_S_H) | |
1222 | (UNSPEC_EXTP, UNSPEC_EXTPDP, UNSPEC_SHILO, UNSPEC_MTHLIP, UNSPEC_WRDSP) | |
1223 | (UNSPEC_RDDSP): New constants. | |
1224 | (*movdi_32bit): Change 'x' to 'a' for ACC_REGS. | |
1225 | (*movsi_internal): Change 'x' to 'a' for ACC_REGS. Add an | |
1226 | A<-d alternative. | |
1227 | * config/mips/mips.opt (-mdsp): New option. | |
1228 | * config/mips/predicates.md (const_uimm6_operand, const_imm10_operand) | |
1229 | (reg_imm10_operand): New predicates. | |
1230 | * doc/extend.texi (MIPS DSP Built-in Functions): New section. | |
1231 | * doc/invoke.texi (-mdsp): Document new option. | |
1232 | ||
d2fcbf6f DD |
1233 | 2005-07-22 DJ Delorie <dj@redhat.com> |
1234 | ||
1235 | * c-objc-common.c (c_cannot_inline_tree_fn): Add warning control | |
1236 | to warning calls. | |
1237 | * tree-inline.c (inlinable_function_p): Likewise. | |
1238 | ||
9881e3e5 MM |
1239 | 2005-07-22 Mark Mitchell <mark@codesourcery.com> |
1240 | ||
1241 | PR debug/21828 | |
1242 | * toplev.c (check_global_declarations): Do not mark undefined | |
1243 | variables as DECL_IGNORED_P. | |
1244 | * varasm.c (first_global_object_name): GTY it. | |
1245 | (weak_global_object_name): Likewise. | |
1246 | (notice_global_symbol): Use ggc_strdup, not xstrdup, when creating | |
1247 | a string to go into {weak,first}_global_object_name. | |
1248 | ||
1a8d0d41 DD |
1249 | 2005-07-22 DJ Delorie <dj@redhat.com> |
1250 | ||
1251 | * c-format.c (check_function_format): Change warning control | |
1252 | option from OPT_Wattribute to OPT_Wmissing_format_attribute. | |
1253 | ||
17c7e33e DN |
1254 | 2005-07-22 Diego Novillo <dnovillo@redhat.com> |
1255 | ||
1256 | * tree-ssa-alias.c (count_ptr_derefs): Do not consider | |
1257 | &PTR->FLD a dereference of PTR. | |
1258 | * tree-ssa-structalias.c (update_alias_info): Consider &PTR->FLD | |
1259 | a potential dereference of PTR. | |
1260 | ||
45002e59 R |
1261 | 2005-07-22 J"orn Rennecke <joern.rennecke@st.com> |
1262 | ||
191e1ff2 R |
1263 | PR rtl-optimization/20370 |
1264 | * ifcvt.c (dead_or_predicable): Before calling propagate_block, | |
1265 | call allocate_reg_info if necessary. | |
1266 | ||
475a3eef R |
1267 | PR rtl-optimization/21848 |
1268 | * calls.c (emit_library_call_value_1): For const functions, add | |
1269 | USEs of the stack slots to CALL_INSN_FUNCTION_USAGE. | |
1270 | ||
29c1846b R |
1271 | PR rtl-optimization/22445 |
1272 | * cselib.c (target.h): Include. | |
1273 | (rtx_equal_for_cselib_p): Allow commutative matches. | |
1274 | (cselib_hash_rtx): Don't use MODE for CONST_INT hashing. | |
1275 | Remove MODE parameter. Changed all callers. | |
1276 | ||
45002e59 R |
1277 | PR rtl-optimization/22258 |
1278 | * combine.c (likely_spilled_retval_1, likely_spilled_retval_p): | |
1279 | New functions. | |
1280 | (try_combine): Use likely_spilled_retval_p. | |
1281 | ||
db869733 PW |
1282 | 2005-07-22 Paul Woegerer <paul.woegerer@nsc.com> |
1283 | ||
1284 | * config.gcc: Add crx-elf support. | |
1285 | ||
1286 | * doc/contrib.texi: Mention crx. | |
1287 | * doc/extend.texi: Document crx extensions. | |
1288 | * doc/install.texi: Document crx install. | |
1289 | * doc/invoke.texi: Document crx options. | |
1290 | * doc/md.texi: Document crx constraints. | |
1291 | ||
1292 | * config/crx/crx-protos.h: New file. | |
1293 | * config/crx/crx.c: New file. | |
1294 | * config/crx/crx.h: New file. | |
1295 | * config/crx/crx.md: New file. | |
1296 | * config/crx/crx.opt: New file. | |
1297 | * config/crx/t-crx: New file. | |
1298 | ||
32cafd73 MH |
1299 | 2005-07-22 Manfred Hollstein <mh@suse.com> |
1300 | ||
1301 | * tree-ssa-structalias.c (merge_graph_nodes): Fix uninitialised | |
1302 | warnings. | |
1303 | (int_add_graph_edge): Likewise. | |
1304 | (collapse_nodes): Likewise. | |
1305 | (process_unification_queue): Likewise. | |
1306 | ||
ee184c4d | 1307 | 2005-07-22 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
86979811 | 1308 | Laurent GUERBY <laurent@guerby.net> |
ee184c4d | 1309 | |
86979811 SB |
1310 | PR tree-optimization/22336 |
1311 | * function.c (record_block_change): Check for | |
1312 | cfun->ib_boundaries_block. | |
ee184c4d | 1313 | |
b49ceb45 JM |
1314 | 2005-07-21 James A. Morrison <phython@gcc.gnu.org> |
1315 | ||
1316 | * fold-const.c (fold_unary): Don't strip signed nops from ABS_EXPRs. | |
1317 | (tree_expr_nonnegative_p): Return try for TYPE_UNSIGNED. | |
1318 | ||
30c54de9 DD |
1319 | 2005-07-21 DJ Delorie <dj@redhat.com> |
1320 | ||
1321 | * toplev.c (warn_deprecated_use): Add warning control to warning | |
1322 | call. | |
c303630a DD |
1323 | * c-typeck.c (parser_build_binary_op): Likewise. |
1324 | (c_finish_if_stmt): Likewise. | |
30480ec4 DD |
1325 | * c-common.c (check_function_sentinel): Likewise. |
1326 | (check_nonnull_arg): Likewise. | |
30c54de9 | 1327 | |
95a8c155 RH |
1328 | 2005-07-21 Richard Henderson <rth@redhat.com> |
1329 | ||
1330 | PR tree-opt/22504 | |
1331 | * tree-complex.c (complex_ssa_name_components): New. | |
1332 | (cvc_lookup): Allow entry not found. | |
1333 | (create_components): Remove. | |
1334 | (create_one_component_var, get_component_var): New. | |
1335 | (get_component_ssa_name, set_component_ssa_name): New. | |
1336 | (extract_component): Use get_component_ssa_name. | |
1337 | (update_complex_components): Use set_component_ssa_name. | |
1338 | (update_complex_components_on_edge): Likewise. | |
1339 | (update_phi_components): Create new PHI nodes directly, instead | |
1340 | of adding insns to edges. | |
1341 | (tree_lower_complex): Allocate and free complex_variable_components | |
1342 | and complex_ssa_name_components here. | |
1343 | ||
c05a0766 DB |
1344 | 2005-07-20 Daniel Berlin <dberlin@dberlin.org> |
1345 | ||
1346 | * alias.c (nonoverlapping_component_refs_p): Use TYPE_MAIN_VARIANT, | |
1347 | revert to returning false. | |
1348 | ||
de343c8d UB |
1349 | 2005-07-21 Uros Bizjak <uros@kss-loka.si> |
1350 | ||
86979811 SB |
1351 | PR target/21149 |
1352 | * config/i386/i386.md (sse_movhlps): Fix vec_select values. | |
de343c8d | 1353 | |
5acc26ef UB |
1354 | 2005-07-21 Uros Bizjak <uros@kss-loka.si> |
1355 | ||
1356 | PR target/22576 | |
1357 | * config/i386/i386.md (cmpxf): Change operand constraints | |
1358 | to "nonmemory_operand". | |
1359 | ||
61cb44fe AP |
1360 | 2005-07-21 Andrew Pinski <pinskia@physics.uc.edu> |
1361 | ||
1362 | * config/i386/i386.md (trap): Use "".word/t0x0b0f" instead of ud2. | |
1363 | ||
e2fe73f6 AP |
1364 | 2005-07-21 Andrew Pinski <pinskia@physics.uc.edu> |
1365 | ||
1366 | PR middle-end/21180 | |
1367 | * fold-const.c (fold_build1): Add checksum for the operands. | |
1368 | (fold_build2): Likewise. | |
1369 | (fold_build3): Likewise. | |
1370 | ||
9d24eb54 AP |
1371 | 2005-07-21 Andrew Pinski <pinskia@physics.uc.edu> |
1372 | ||
1373 | PR middle-end/19055 | |
1374 | * fold-const.c (fold_binary): Transform "(X | Y) ^ X" to "Y & ~ X". | |
1375 | ||
b2e0afa0 PB |
1376 | 2005-07-21 Paolo Bonzini <bonzini@gnu.org> |
1377 | ||
1378 | * common.opt (-fforward-propagate): Committed by mistake, | |
1379 | removed. | |
1380 | ||
2e48874f VR |
1381 | 2005-07-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
1382 | ||
1383 | * reg-stack.c: Fix comment typo(s). | |
1384 | * tree-ssa-operands.c: Likewise. | |
1385 | * tree-vectorizer: Likewise. | |
1386 | ||
889d8465 NC |
1387 | 2005-07-21 Nick Clifton <nickc@redhat.com> |
1388 | ||
1389 | * config/sh/symbian.c: Replace C++ style line comments with C | |
1390 | style line comments. | |
86979811 | 1391 | (symbian_add_attribute): Do not use a ? operator on the LHS of |
889d8465 | 1392 | an assignment. |
86979811 | 1393 | (sh_symbian_handle_dll_attribute): Change the type of the |
889d8465 NC |
1394 | method vector to "VEC(tree,gc)*" and use vector accessor |
1395 | macros to walk over the elements. | |
86979811 SB |
1396 | (symbian_export_vtable_and_rtti_p): Likewise. |
1397 | (symbian_class_needs_attribute_p): Likewise. | |
889d8465 | 1398 | |
2fab365e PB |
1399 | 2005-07-21 Paolo Bonzini <bonzini@gnu.org> |
1400 | ||
1401 | PR target/22085 | |
1402 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Do not | |
1403 | initialize targetm.resolve_overloaded_builtin here. | |
1404 | (altivec_expand_overloaded_builtin): Make it non-static. | |
1405 | * config/rs6000/rs6000-protos.h | |
1406 | (altivec_expand_overloaded_builtin): New prototype. | |
1407 | * config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Initialize | |
1408 | targetm.resolve_overloaded_builtin here. | |
1409 | * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Likewise. | |
1410 | ||
f9cc1a70 | 1411 | 2005-07-21 Paolo Bonzini <bonzini@gnu.org> |
86979811 | 1412 | Zdenek Dvorak <dvorakz@suse.cz> |
f9cc1a70 PB |
1413 | |
1414 | PR tree-optimization/19210 | |
1415 | * common.opt (Wunsafe-loop-optimizations, funsafe-loop-optimizations): | |
1416 | New. | |
1417 | * Makefile.in (tree-ssa-loop-niter.o): Depend intl.o. | |
1418 | * loop-iv.c (get_simple_loop_desc): If -funsafe-loop-optimizations, | |
1419 | rely on unproven assumptions. | |
1420 | * predict.c (predict_loops): Adjust call to number_of_iterations_exit. | |
1421 | * tree-flow.h (number_of_iterations_exit): Add final parameter. | |
1422 | * tree-scalar-evolution.c (number_of_iterations_in_loop): Adjust call | |
1423 | to number_of_iterations_exit. | |
1424 | * tree-ssa-loop-ivcanon.c (empty_loop_p): Likewise. | |
1425 | * tree-ssa-loop-ivopts.c (niter_for_exit): Likewise. | |
1426 | * tree-ssa-loop-niter.c (find_loop_niter, | |
1427 | estimate_numbers_of_iterations_loop): Likewise. | |
1428 | (number_of_iterations_exit): Honor the new options. | |
1429 | * doc/invoke.texi (Wunsafe-loop-optimizations, | |
1430 | funsafe-loop-optimizations): Document them. | |
1431 | ||
cb83c2ec RS |
1432 | 2005-07-21 Richard Sandiford <richard@codesourcery.com> |
1433 | ||
1434 | PR rtl-optimization/22167 | |
1435 | * gcse.c (hoist_code): Fix hoist_exprs[] check. | |
1436 | ||
5e5cbbfb AN |
1437 | 2005-07-20 Adam Nemet <anemet@lnxw.com> |
1438 | ||
1439 | * config/rs6000/lynx.h: Mark __do_global_ctors_aux and | |
1440 | __do_global_dtors_aux longcall. | |
1441 | ||
c2acaf06 KH |
1442 | 2005-07-20 Kazu Hirata <kazu@cs.umass.edu> |
1443 | ||
1444 | * gensupport.c (old_preds): Don't reference PREDICATE_CODES. | |
1445 | (old_special_pred_table): Don't reference | |
1446 | SPECIAL_MODE_PREDICATES. | |
1447 | * system.h (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): Poison. | |
1448 | * config/arc/arc.h: Don't mention PREDICATE_CODES. | |
1449 | * config/sh/predicates.h: Don't mention | |
1450 | SPECIAL_MODE_PREDICATES. | |
1451 | * doc/tm.texi (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): | |
1452 | Remove. | |
1453 | ||
38b2d076 DD |
1454 | 2005-07-20 DJ Delorie <dj@redhat.com> |
1455 | ||
1456 | * config.gcc: Add m32c-elf support. | |
1457 | ||
1458 | * doc/contrib.texi: Mention m32c. | |
1459 | * doc/extend.texi: Document m32c extensions. | |
1460 | * doc/install.texi: Mention m32c. | |
1461 | * doc/invoke.texi: Document m32c options. | |
1462 | * doc/md.texi: Document m32c constraints. | |
1463 | ||
1464 | * config/m32c/addsub.md: New file. | |
1465 | * config/m32c/bitops.md: New file. | |
1466 | * config/m32c/cond.md: New file. | |
1467 | * config/m32c/jump.md: New file. | |
1468 | * config/m32c/m32c-lib1.S: New file. | |
1469 | * config/m32c/m32c-lib2.c: New file. | |
1470 | * config/m32c/m32c-modes.def: New file. | |
1471 | * config/m32c/m32c-pragma.c: New file. | |
1472 | * config/m32c/m32c-protos.h: New file. | |
1473 | * config/m32c/m32c.abi: New file. | |
1474 | * config/m32c/m32c.c: New file. | |
1475 | * config/m32c/m32c.h: New file. | |
1476 | * config/m32c/m32c.md: New file. | |
1477 | * config/m32c/m32c.opt: New file. | |
1478 | * config/m32c/minmax.md: New file. | |
1479 | * config/m32c/mov.md: New file. | |
1480 | * config/m32c/muldiv.md: New file. | |
1481 | * config/m32c/predicates.md: New file. | |
1482 | * config/m32c/prologue.md: New file. | |
1483 | * config/m32c/shift.md: New file. | |
1484 | * config/m32c/t-m32c: New file. | |
1485 | ||
50b69666 KK |
1486 | 2005-07-20 Kaz Kojima <kkojima@gcc.gnu.org> |
1487 | ||
1488 | * config/sh/sh.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): New constants. | |
1489 | (stack_protect_set, stack_protect_test): New expanders. | |
86979811 | 1490 | (stack_protect_set_si, stack_protect_set_si_media, |
50b69666 | 1491 | stack_protect_set_di_media, stack_protect_test_si, |
86979811 | 1492 | stack_protect_test_si_media, stack_protect_test_di_media): |
50b69666 KK |
1493 | New insns. |
1494 | ||
71b50543 AP |
1495 | 2005-07-20 Andrew Pinski <pinskia@physics.uc.edu> |
1496 | ||
1497 | * c-typeck.c (output_init_element): Don't copy the INTEGER_CST. | |
1498 | ||
4db8040c JM |
1499 | 2005-07-20 James A. Morrison <phython@gcc.gnu.org> |
1500 | ||
1501 | * tree.h (tree_expr_nonzero_p): Export. | |
1502 | * fold-const.c (tree_expr_nonzero_p): Likewise. | |
1503 | Return true for CALL_EXPRs that are alloca calls. | |
1504 | (fold_binary): Use omit_one_operand when checking EQ_EXPRs or NE_EXPRs | |
1505 | against zero. | |
1506 | * tree-flow.h (expr_computes_nonzero): Remove. | |
1507 | * tree-vrp.c (expr_computes_nonzero): Remove. | |
86979811 | 1508 | (vrp_expr_computes_nonzero): Use tree_expr_nonzero_p. |
4db8040c JM |
1509 | (extract_range_from_unary_expr): Likewise. |
1510 | * tree-ssa-dom.c (record_equivalences_from_stmt): Use | |
1511 | tree_expr_nonzero_p. | |
1512 | ||
6d459e2b BS |
1513 | 2005-07-20 Bernd Schmidt <bernd.schmidt@analog.com> |
1514 | ||
09350e36 BS |
1515 | * config/bfin/bfin-protos.h (legitimize_pic_address): Don't declare. |
1516 | * config/bfin/bfin.c (legitimize_pic_address): Now static. Take | |
1517 | extra arg "picreg" and use it instead of pic_offset_table_rtx. | |
1518 | All callers changed. | |
1519 | (frame_related_constant_load): New arg "related" which controls | |
1520 | setting of RTX_FRAME_RELATED_P. All callers changed. | |
1521 | (bfin_load_pic_reg): New function, broken out of bfin_expand_prologue. | |
1522 | (bfin_expand_prologue): Add stack limit checking. | |
1523 | * config/bfin/bfin.md (trapifcc): New pattern. | |
1524 | ||
05905337 BS |
1525 | * config/bfin/bfin.c: Include "langhooks.h". |
1526 | (def_builtin): Go through lang_hooks to call builtin_function. | |
1527 | ||
6d459e2b BS |
1528 | * config/bfin/bfin-protos.h (bfin_longcall_p): Declare. |
1529 | * config/bfin/predicates.md (symbol_ref_operand): New. | |
1530 | (call_insn_operand): Delete. All callers changed to use | |
1531 | register_no_elim_operand. | |
1532 | * config/bfin/bfin.c (init_cumulative_args): Initialize the new | |
1533 | call_cookie field. | |
1534 | (function_arg): Use it to generate the call's operand 2. | |
1535 | (bfin_longcall_p): New function. | |
1536 | (bfin_expand_call): Extra arg "cookie". All callers and declaration | |
1537 | changed. Emit extra USE in the pattern. Use bfin_longcall_p to | |
1538 | determine if the address needs to be in a REG. | |
1539 | (bfin_handle_longcall_attribute): New function. | |
1540 | (bfin_attribute_table): Add "longcall" and "shortcall". | |
1541 | * config/bfin/bfin.h (CALL_NORMAL, CALL_LONG, CALL_SHORT): New macros. | |
1542 | (CUMULATIVE_ARGS): New member call_cookie. | |
1543 | (PREDICATE_CODES): Add symbol_ref_operand. | |
1544 | * config/bfin/bfin.md (call, call_value, sibcall, sibcall_value): Add | |
1545 | extra USE to the pattern. | |
1546 | (call_symbol, sibcall_symbol, call_value_symbol, sibcall_value_symbol): | |
1547 | New patterns, split off call_insn, sibcall_insn, call_value_insn and | |
1548 | sibcall_value_insn; now the new patterns handle direct calls and the | |
1549 | old ones indirect calls. | |
1550 | * doc/extend.texi: Mention Blackfin in longcall/shortcall docs. | |
1551 | ||
67135ef4 ZD |
1552 | 2005-07-20 Zdenek Dvorak <dvorakz@suse.cz> |
1553 | ||
1554 | * doc/trouble.texi: Update section on handling of empty loops. | |
1555 | ||
fdda361d KH |
1556 | 2005-07-20 Kazu Hirata <kazu@codesourcery.com> |
1557 | ||
1558 | * config.gcc: Remove support for sparc-*-openbsd*, | |
1559 | i860-*-sysv4*, ip2k-*-elf, ns32k-*-netbsdelf*, | |
1560 | ns32k-*-netbsd*. | |
1561 | * config.host: Remove support for i860-*-sysv4* as a host. | |
1562 | * config/i860/*, config/ip2k/*, config/ns32k/*, | |
1563 | config/sparc/openbsd.h, config/sparc/t-openbsd: Remove. | |
1564 | * doc/install.texi, doc/invoke.texi, doc/md.texi: Don't | |
1565 | mention obsolete ports. | |
1566 | ||
96a2347e KK |
1567 | 2005-07-20 Kaz Kojima <kkojima@gcc.gnu.org> |
1568 | ||
1569 | * config/sh/sh.c (regno_reg_class): Add GENERAL_REGS for | |
1570 | soft frame pointer. | |
1571 | (sh_expand_prologue): Use hard_frame_pointer_rtx instead | |
1572 | of frame_pointer_rtx. | |
1573 | (sh_expand_epilogue): Likewise. | |
1574 | (sh_set_return_address): Likewise. | |
1575 | (initial_elimination_offset): Use HARD_FRAME_POINTER_REGNUM | |
1576 | instead of FRAME_POINTER_REGNUM if needed. Add elimination | |
1577 | offsets from FRAME_POINTER_REGNUM. | |
1578 | * config/sh/sh.h (SH_REGISTER_NAMES_INITIALIZER): Add sfp. | |
1579 | (sh_register_names): Add initializer for sfp. | |
1580 | (GENERAL_OR_AP_REGISTER_P): Permit FRAME_POINTER_REGNUM. | |
1581 | (VALID_REGISTER_P): Likewise. | |
1582 | (FIRST_PSEUDO_REGISTER): Update. | |
1583 | (DWARF_FRAME_REGISTERS): Define. | |
1584 | (FIXED_REGISTERS, CALL_USED_REGISTERS): Add sfp. | |
1585 | (HARD_FRAME_POINTER_REGNUM): Define. | |
1586 | (FRAME_POINTER_REGNUM): Redefine. | |
1587 | (ELIMINABLE_REGS): Never eliminate to FRAME_POINTER_REGNUM, | |
1588 | but HARD_FRAME_POINTER_REGNUM instead. Add eliminations | |
1589 | from FRAME_POINTER_REGNUM. | |
1590 | (CAN_ELIMINATE): Use HARD_FRAME_POINTER_REGNUM instead of | |
1591 | FRAME_POINTER_REGNUM. | |
1592 | (REG_CLASS_CONTENTS): Add sfp. | |
1593 | (REG_ALLOC_ORDER): Likewise. | |
1594 | (FRAME_GROWS_DOWNWARD): Set to 1. Update comment. | |
1595 | (GO_IF_LEGITIMATE_ADDRESS): Use hard_frame_pointer_rtx instead | |
1596 | of frame_pointer_rtx. | |
1597 | (LEGITIMIZE_RELOAD_ADDRESS): Likewise. | |
1598 | ||
1ade5842 JM |
1599 | 2005-07-19 James A. Morrison <phython@gcc.gnu.org> |
1600 | ||
1601 | * fold-const.c (tree_expr_nonnegative_p): Only return true for | |
1602 | ABS_EXPR when flag_wrapv is false because of INT_MIN. | |
1603 | (tree_expr_nonzero_p): Always call tree_expr_nonzero_p on the argument | |
1604 | of an ABS_EXPR. | |
1605 | (fold_unary): Always fold ABS_EXPR<ABS_EXPR<x>> into | |
1606 | ABS_EXPR<x>. | |
1607 | ||
4038c495 GB |
1608 | 2005-07-20 Giovanni Bajo <giovannibajo@libero.it> |
1609 | ||
1610 | Make CONSTRUCTOR use VEC to store initializers. | |
1611 | * c-common.c (complete_array_type): Update to cope with VEC in | |
1612 | CONSTRUCTOR_ELTS. | |
1613 | * c-pretty-print.c (pp_c_initializer_list): Use pp_c_constructor_elts. | |
1614 | (pp_c_constructor_elts): New function. | |
1615 | * c-pretty-print.h (pp_c_constructor_elts): Declare. | |
1616 | * c-typeck.c (build_function_call, build_c_cast, digest_init, | |
1617 | struct constructor_stack, struct initializer_stack, | |
1618 | constructor_elements, push_init_level, pop_init_level, | |
1619 | add_pending_init, find_init_member, output_init_element): Update to | |
1620 | cope with VEC in CONSTRUCTOR_ELTS. | |
1621 | * coverage.c (build_fn_info_value, build_ctr_info_value, | |
1622 | build_gcov_info): Likewise. | |
1623 | * expr.c (categorize_ctor_elements_1, store_constructor, | |
1624 | expand_expr_real_1): Likewise. | |
1625 | * fold-const.c (fold_ternary): Likewise. | |
1626 | * gimplify.c (gimplify_init_ctor_preeval, zero_sized_field_decl, | |
1627 | gimplify_init_constructor, gimplify_expr): Likewise. | |
1628 | * tree-dump.c (dequeue_and_dump): Likewise. | |
1629 | * tree-inline.c (copy_tree_r): Add code to duplicate a CONSTRUCTOR | |
1630 | node. | |
1631 | * tree-pretty-print.c (dump_generic_node): Update to cope with VEC in | |
1632 | CONSTRUCTOR_ELTS. | |
1633 | * tree-sra.c (generate_element_init_1): Likewise. | |
1634 | * tree-ssa-ccp.c (fold_const_aggregate_ref): Likewise. | |
1635 | * tree-ssa-operands.c (get_expr_operands): Likewise. | |
1636 | * tree-vect-generic.c (expand_vector_piecewise): Likewise. | |
1637 | * tree-vect-transform.c (vect_get_vec_def_for_operand): | |
1638 | (get_initial_def_for_reduction): Likewise. | |
1639 | * tree-vn.c (set_value_handle, get_value_handle): CONSTURCTOR uses | |
1640 | value handle in annotations. | |
1641 | * tree.c (tree_node_kind, tree_code_size, make_node_stat, | |
1642 | tree_node_structure): Add support for constr_kind. | |
1643 | (build_vector_from_ctor, build_constructor_single, | |
1644 | build_constructor_from_list): New functions. | |
1645 | (build_constructor): Update to take a VEC instead of a TREE_LIST. | |
1646 | (simple_cst_equal, iterative_hash_expr, initializer_zerop, walk_tree): | |
1647 | Update to cope with VEC in CONSTRUCTOR_ELTS. | |
1648 | * tree.def (CONSTRUCTOR): Make it a tcc_exceptional node. | |
1649 | * tree.h (FOR_EACH_CONSTRUCTOR_VALUE, FOR_EACH_CONSTRUCTOR_ELT, | |
1650 | CONSTRUCTOR_APPEND_ELT): New macros. | |
1651 | (struct constructor_elt, struct tree_constructor): New data types. | |
1652 | (union tree_node): Add tree_constructor field. | |
1653 | * treestruct.def: Define TS_CONSTRUCTOR. | |
1654 | * varasm.c (const_hash_1, compare_constant, copy_constant, | |
1655 | compute_reloc_for_constant, output_addressed_constants, | |
1656 | initializer_constant_valid_p, output_constant, | |
1657 | array_size_for_constructor, output_constructor): Update to cope with | |
1658 | VEC in CONSTRUCTOR_ELTS. | |
1659 | * vec.h (VEC_empty, VEC_copy): New macros. | |
1660 | ||
f37d7c60 DP |
1661 | 2005-07-19 Devang Patel <dpatel@apple.com> |
1662 | ||
1663 | * dbxout.c (dbxout_type): Check Objective-C++ lang. | |
1664 | ||
af62f6f9 RH |
1665 | 2005-07-19 Richard Henderson <rth@redhat.com> |
1666 | ||
1667 | PR tree-opt/22278 | |
1668 | * gimplify.c (gimplify_expr): Use main variant type for the temp | |
1669 | destination for a discarded volatile read. | |
1670 | * tree-ssa.c (tree_ssa_useless_type_conversion_1): Don't elide | |
1671 | casts between non-void types that change volatility. | |
1672 | ||
b9b8dde3 DD |
1673 | 2005-07-15 DJ Delorie <dj@redhat.com> |
1674 | ||
1675 | * toplev.h: Add comment about the first parameter for warning(). | |
1676 | * errors.h: Likewise. | |
1677 | ||
1678 | * c.opt (Wpragmas): New. | |
1679 | * doc/invoke.texi: Document it. | |
1680 | ||
1681 | * function.c (do_warn_unused_parameter): Add warning control to | |
1682 | warning call. | |
1683 | * c-decl.c (warn_if_shadowing): Likewise. | |
1684 | * c-lex.c (cb_def_pragma): Likewise. | |
1685 | * c-pragma.c (GCC_BAD, GCC_BAD2): Likewise. | |
1686 | (pop_alignment): Likewise. | |
1687 | (handle_pragma_pack): Likewise. | |
1688 | (apply_pragma_weak): Likewise. | |
1689 | (handle_pragma_weak): Likewise. | |
1690 | (handle_pragma_redefine_extname): Likewise. | |
1691 | (add_to_renaming_pragma_list): Likewise. | |
1692 | (handle_pragma_extern_prefix): Likewise. | |
1693 | (maybe_apply_renaming_pragma): Likewise. | |
1694 | (handle_pragma_visibility): Likewise. | |
1695 | ||
1696 | * config/c4x/c4x-c.c (BAD): Likewise. | |
1697 | (c4x_parse_pragma): Likewise. | |
1698 | * config/ia64/ia64-c.c (ia64_hpux_handle_builtin_pragma): Likewise. | |
1699 | * config/rs6000/rs6000-c.c (SYNTAX_ERROR): Likewise. | |
1700 | (rs6000_pragma_longcall): Likewise. | |
1701 | * config/v850/v850-c.c (pop_data_area): Likewise. | |
1702 | (ghs_pragma_section): Likewise. | |
1703 | (ghs_pragma_section): Likewise. | |
1704 | (ghs_pragma_interrupt): Likewise. | |
1705 | (ghs_pragma_starttda): Likewise. | |
1706 | (ghs_pragma_startsda): Likewise. | |
1707 | (ghs_pragma_startzda): Likewise. | |
1708 | (ghs_pragma_endtda): Likewise. | |
1709 | (ghs_pragma_endsda): Likewise. | |
1710 | (ghs_pragma_endzda): Likewise. | |
1711 | ||
6a9a79a8 DB |
1712 | 2005-07-19 Danny Berlin <dberlin@dberlin.org> |
1713 | Kenneth Zadeck <zadeck@naturalbridge.com> | |
1714 | ||
1715 | * Makefile.in: Removed tree-promote-statics.c | |
1716 | * tree-promote-statics.c: Removed. | |
1717 | * common.opt: Removed flag-promote-statics. | |
1718 | * opts.c: Ditto. | |
1719 | * passes.c: Removed tree-promote-statics pass. | |
1720 | * tree-pass.h: Ditto. | |
1721 | * timevar.def: Removed TV_PROMOTE_STATICS. | |
1722 | ||
1723 | ||
0219cf3d GP |
1724 | 2005-07-19 Gerald Pfeifer <gerald@pfeifer.com> |
1725 | ||
1726 | * config.gcc: Add support for *-*-freebsd7, *-*-freebsd8, | |
1727 | and *-*-freebsd9. | |
1728 | * config/freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS): Ditto. | |
1729 | ||
7876a414 KG |
1730 | 2005-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1731 | ||
1732 | PR c/22476 | |
1733 | * c-common.c (check_function_arguments): Call | |
1734 | 'check_function_format' if either -Wformat or | |
1735 | -Wmissing-format-attribute are specified. | |
1736 | * c-format.c (check_function_format): Check -Wformat before | |
1737 | calling 'check_format_info'. | |
1738 | * c-opts.c (c_common_post_options): Don't warn for | |
1739 | -Wmissing-format-attribute without -Wformat. | |
1740 | * c-typeck.c (convert_for_assignment): Detect additional cases for | |
1741 | -Wmissing-format-attribute. | |
1742 | * doc/invoke.texi (-Wmissing-format-attribute): Document new | |
1743 | behavior. | |
1744 | ||
98ea7437 RG |
1745 | 2005-07-19 Richard Guenther <rguenther@suse.de> |
1746 | ||
1747 | * config/i386/i386.md (lrint<mode>2): Use temporary | |
1748 | instead of clobbering non-existent memory. | |
1749 | ||
89a0b917 NC |
1750 | 2005-07-19 Nick Clifton <nickc@redhat.com> |
1751 | ||
1752 | * config/avr/avr.c (legitimate_address_p): Fix debugging print | |
1753 | statement to avoid displaying ASCII control characters. | |
1754 | ||
dfea6c85 BE |
1755 | 2005-07-19 Ben Elliston <bje@au.ibm.com> |
1756 | ||
1757 | * bt-load.c (link_btr_uses): Fix uninitialised warnings. | |
1758 | * cfganal.c (find_edge_index): Ditto. | |
1759 | * combine.c (combine_instructions): Ditto. | |
1760 | * ddg.c (create_scc): Ditto. | |
1761 | (find_successors): Ditto. | |
1762 | (find_predecessors): Ditto. | |
1763 | (find_nodes_on_paths): Ditto. | |
1764 | (longest_simple_path): Ditto. | |
1765 | * flow.c (update_life_info): Ditto. | |
1766 | (count_or_remove_death_notes): Ditto. | |
1767 | (clear_log_links): Ditto. | |
1768 | * modulo-sched.c (generate_reg_moves): Ditto. | |
1769 | (find_max_asap): Ditto. | |
1770 | (find_max_hv_min_mob): Ditto. | |
1771 | (find_max_dv_min_mob): Ditto. | |
1772 | * sbitmap.c (sbitmap_first_set_bit): Ditto. | |
1773 | * sched-rgn.c (extract_edgelst): Ditto. | |
1774 | * tree-into-ssa.c (prepare_names_to_update): Ditto. | |
1775 | (dump_update_ssa): Ditto. | |
1776 | (ssa_names_to_replace) Ditto. | |
1777 | (switch_virtuals_to_full_rewrite): Ditto. | |
1778 | (update_ssa): Ditto. | |
1779 | * tree-vect-transform.c (vect_create_epilog_for_reduction): Ditto. | |
1780 | ||
b9d33488 DB |
1781 | 2005-07-18 Daniel Berlin <dberlin@dberlin.org> |
1782 | ||
1783 | Fix PR tree-optimization/22483 | |
1784 | ||
1785 | * tree-complex.c (create_components): Use | |
1786 | safe_referenced_var_iterator and FOR_EACH_REFERENCED_VAR_SAFE. | |
1787 | * tree-flow-inline.h (fill_referenced_var_vec): New function. | |
1788 | * tree-flow.h (safe_referenced_var_iterator): New structure. | |
1789 | (FOR_EACH_REFERENCED_VAR_SAFE): New macro. | |
1790 | * tree-ssa-alias.c (setup_pointers_and_addressables): Use | |
1791 | safe_referenced_var iterator. | |
1792 | (add_type_alias): Ditto. | |
1793 | ||
9fa26457 SB |
1794 | 2005-07-19 Steven Bosscher <stevenb@suse.de> |
1795 | ||
1796 | * loop-init.c (rest_of_handle_loop2): Remove. | |
1797 | (rtl_loop_init, rtl_loop_done, rtl_move_loop_invariants, | |
1798 | rtl_unswitch, rtl_unroll_and_peel_loops, rtl_doloop): New functions. | |
1799 | (pass_rtl_loop_init, pass_rtl_loop_done, | |
1800 | pass_rtl_move_loop_invariants, pass_rtl_unswitch, | |
1801 | pass_rtl_unroll_and_peel_loops, pass_rtl_doloop): New passes. | |
1802 | * tree-ssa-loop.c (pass_loop, pass_loop_init, pass_loop_done, | |
1803 | pass_unswitch): Rename to pass_tree_loop, pass_tree_loop_init, | |
1804 | pass_tree_loop_done, and pass_tree_unswitch. | |
1805 | (gate_loop): Rename to gate_tree_loop. | |
1806 | * passes.c (init_optimization_passes): Update for renamed tree | |
1807 | loop passes. Add the new loop2 passes as subpasses of loop2. | |
1808 | * tree-pass.h: Add extern declarations for the new loop2 subpasses. | |
1809 | Update for the renamed tree loop passes. | |
1810 | ||
7825308e ILT |
1811 | 2005-07-18 Ian Lance Taylor <ian@airs.com> |
1812 | ||
1813 | PR middle-end/22057 | |
1814 | * tree-cfgcleanup.c (cleanup_tree_cfg): Only remove forwarder | |
1815 | blocks when optimizing. | |
1816 | ||
2928d0f8 SE |
1817 | 2005-07-18 Steve Ellcey <sje@cup.hp.com> |
1818 | ||
1819 | * common.opt (frename-registers): Initialize to 2. | |
1820 | (fweb): Ditto. | |
1821 | (fgcse-after-reload): Ditto. | |
1822 | * toplev.c (AUTODETECT_FLAG_VAR_TRACKING): Rename to AUTODETECT_VALUE. | |
1823 | (process_options): Only change flag_web, flag_rename_registers, | |
1824 | and flag_rerun_cse_after_loop if not explicitly set by user. | |
1825 | ||
28356f52 JB |
1826 | 2005-07-18 Jan Beulich <jbeulich@novell.com> |
1827 | ||
1828 | * config/i386/i386.c (ix86_expand_branch, ix86_expand_setcc, | |
1829 | ix86_expand_carry_flag_compare, ix86_expand_int_movcc): Handle TImode | |
1830 | in 64-bit mode the same as DImode in 32-bit mode. | |
1831 | (ix86_expand_ashl_const, ix86_split_ashl, ix86_split_ashr, | |
1832 | ix86_split_lshr): Likewise. Rename to no longer refer to a specific | |
1833 | mode. Add new mode parameter. | |
1834 | * config/i386/i386.h (CONST_OK_FOR_LETTER_P): Describe and handle 'O'. | |
1835 | * config/i386/i386.md (cmpti, addti3, subti3, negti2, ashlti3, ashrti3, | |
1836 | x86_64_shift_adj): New expanders. | |
1837 | (*addti3_1, *subti3_1, *negti2_1, ashlti3_1, *ashlti3_2, ashrti3_1, | |
1838 | *ashrti3_2, lshrti3_1, *lshrti3_2, x86_64_shld, x86_64_shrd): New | |
1839 | insns. | |
1840 | Respective new splitters. Use renamed shift splitter helpers in 32-bit | |
1841 | DImode shift splitters. | |
1842 | * config/i386/i386-protos.h (ix86_split_ashl, ix86_split_ashr, | |
1843 | ix86_split_lshr): Renamed from ix86_split_[al]sh[rl]di. Added new | |
1844 | mode parameter. | |
1845 | ||
422edd6f JB |
1846 | 2005-07-18 Jan Beulich <jbeulich@novell.com> |
1847 | ||
1848 | * i386.md (movdi_extzv_1): New. | |
1849 | (zero_extendhidi2): Combine alternatives and never force use of | |
1850 | REX64 prefix. | |
1851 | (zero_extendqidi2): Likewise. Don't restrict input selection. | |
1852 | ||
c625053b DB |
1853 | 2005-07-17 Daniel Berlin <dberlin@dberlin.org> |
1854 | ||
1855 | Fix PR tree-optimization/22531 | |
1856 | * tree-ssa-pre.c (do_eustores): Make sure LHS is a decl for the | |
1857 | moment. | |
1858 | ||
3b1355f3 DB |
1859 | 2005-07-17 Daniel Berlin <dberlin@dberlin.org> |
1860 | ||
1861 | * tree-promote-statics.c (pass_promote_statics): Change dump file | |
1862 | name. | |
1863 | ||
1864 | 2005-07-17 Daniel Berlin <dberlin@dberlin.org> | |
45159bf6 DB |
1865 | |
1866 | * tree-optimize.c (init_tree_optimization_passes): Add | |
1867 | pass_eliminate_useless_stores pass. | |
1868 | * tree-pass.h (pass_eliminate_useless_stores): New pass structure. | |
1869 | * tree-ssa-pre.c (is_copy_stmt): New function. | |
1870 | (follow_copies_till_vuse): Ditto. | |
1871 | (do_eustores): Ditto. | |
1872 | (gate_eustores): Ditto. | |
1873 | ||
7544a87f RH |
1874 | 2005-07-16 Richard Henderson <rth@redhat.com> |
1875 | ||
1876 | * gcc.c (MFWRAP_SPEC): Don't wrap pthread_join or pthread_exit. | |
1877 | ||
bf0d50f1 KZ |
1878 | 2005-07-16 Danny Berlin <dberlin@dberlin.org> |
1879 | Kenneth Zadeck <zadeck@naturalbridge.com> | |
1880 | ||
1881 | * Makefile.in: Added rules for ipa-pure-const.c, ipa-reference.c, | |
1882 | ipa-reference.h, ipa-utils.c, ipa-utils.h, ipa-type-escape.c, | |
1883 | ipa-type-escape.h, tree-promote-statics.c | |
1884 | * ipa-pure-const.c, ipa-reference.c, ipa-reference.h, ipa-utils.c, | |
1885 | ipa-utils.h, ipa-type-escape.c, ipa-type-escape.h, | |
1886 | tree-promote-statics.c: new files. | |
1887 | * alias.c: (nonlocal_mentioned_p_1, nonlocal_mentioned_p, | |
1888 | nonlocal_referenced_p_1, nonlocal_referenced_p, nonlocal_set_p_1, | |
1889 | int nonlocal_set_p, mark_constant_function): Deleted. | |
1890 | (rest_of_handle_cfg): Removed call to mark_constant_function. | |
86979811 | 1891 | (nonoverlapping_component_refs_p): Added calls to support |
bf0d50f1 | 1892 | type based aliasing. |
86979811 | 1893 | * tree-ssa-alias.c (may_alias_p, |
bf0d50f1 KZ |
1894 | compute_flow_insensitive_aliasing): Ditto. |
1895 | * calls.c (flags_from_decl_or_type): Removed reference to | |
1896 | cgraph_rtl_info. | |
86979811 | 1897 | * c-typeck.c (convert_arguments): Make builtins tolerant of having |
bf0d50f1 KZ |
1898 | too many arguments. This is necessary for Spec 2000. |
1899 | * cgraph.h (const_function, pure_function): Removed. | |
1900 | * common.opt: Added "fipa-pure-const", "fipa-reference", | |
1901 | "fipa-type-escape", and "ftree-promote-static". | |
1902 | * opts.c: Ditto. | |
1903 | * passes.c: Added ipa and tree-promote-statics passes. | |
1904 | * timevar.def: Added TV_IPA_PURE_CONST, TV_IPA_REFERENCE, | |
1905 | TV_IPA_TYPE_ESCAPE, and TV_PROMOTE_STATICS. | |
bf0d50f1 KZ |
1906 | * tree-dfa.c (referenced_var_lookup_if_exists): New function. |
1907 | * tree-flow.h: Added exposed sra calls and addition of | |
1908 | reference_vars_info field for FUNCTION_DECLS. | |
1909 | * tree-pass.h: Added passes. | |
1910 | * tree-sra.c: (sra_init_cache): New function. | |
1911 | (sra_insert_before, sra_insert_after) Made public. | |
1912 | (type_can_be_decomposed_p): Renamed from type_can_be_decomposed_p | |
1913 | and made public. | |
1914 | * tree-ssa-alias.c (dump_alias_stats): Added stats for type based | |
1915 | aliasing. (may_alias_p): Added code to use type escape analysis to | |
1916 | improve alias sets. | |
1917 | * tree-ssa-operands.c (add_call_clobber_ops): Added parameter and | |
1918 | code to prune clobbers of static variables based on information | |
1919 | produced in ipa-reference pass. Changed call clobbering so that | |
1920 | statics are not marked as clobbered if the call does not clobber | |
1921 | them. | |
1922 | ||
b6e0bdbd DB |
1923 | 2005-07-16 Daniel Berlin <dberlin@dberlin.org> |
1924 | ||
1925 | * tree-ssa-structalias.c (need_to_solve): Need to check for preds, | |
1926 | too. | |
1927 | ||
2c00bd42 EB |
1928 | 2005-07-16 Eric Botcazou <ebotcazou@libertysurf.fr> |
1929 | ||
1930 | * doc/install.texi (*-*-solaris2*): Document recommended version | |
1931 | of GNU binutils and mention GNU linker problem on Solaris 10. | |
1932 | ||
0b359b01 JM |
1933 | 2005-07-16 Joseph S. Myers <joseph@codesourcery.com> |
1934 | ||
1935 | PR c/22421 | |
1936 | * c-decl.c (c_build_bitfield_integer_type): New function. | |
1937 | (finish_struct): Call it. | |
1938 | * c-pretty-print.c (pp_c_type_specifier): Handle bit-field types. | |
1939 | ||
8fcef540 KG |
1940 | 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1941 | ||
1942 | * c-typeck.c (digest_init): Call 'convert_for_assignment' | |
1943 | before returning. | |
1944 | ||
84fc24e8 JH |
1945 | 2005-07-16 Jan Hubicka <jh@suse.cz> |
1946 | ||
1947 | * cfg.c (update_bb_profile_for_threading): Fix profile updating. | |
1948 | (scale_bbs_frequencies_int): Watch roundoff errors. | |
1949 | * predict.c (return_prediction): Initialize return_stmt. | |
1950 | ||
3258272f JH |
1951 | 2005-07-16 Jan Hubicka <jh@suse.cz> |
1952 | ||
1953 | * profile.c (rest_of_handle_branch_prob): Fix handling of estimation | |
1954 | after RTL profiling. | |
1955 | ||
01c0a9fa AP |
1956 | 2005-07-11 Andrew Pinski <pinskia@physics.uc.edu> |
1957 | ||
1958 | PR middle-end/22398 | |
1959 | * fold-const.c (build_range_check): Convert high/low to etype | |
1960 | if we are only comparing against exp. | |
1961 | ||
27811bfe DB |
1962 | 2005-07-13 Daniel Berlin <dberlin@dberlin.org> |
1963 | ||
1964 | Fix PR tree-optimization/22376 | |
1965 | * tree-ssa-structalias.c (build_constraint_graph): We really meant | |
1966 | special var here. | |
1967 | (need_to_solve): New function. | |
1968 | (compute_points_to_sets): Use it. | |
1969 | ||
2b151cb2 JH |
1970 | 2005-07-15 Jan Hubicka <jh@suse.cz> |
1971 | ||
1972 | * cfg.c (update_bb_profile_for_threading): More diagnostic. | |
1973 | * tree-ssa-threadupdate.c (redirect_edges): Update profile of dup_block. | |
1974 | ||
0691d1d4 RG |
1975 | 2005-07-15 Richard Guenther <rguenther@suse.de> |
1976 | ||
1977 | * c-common.c (handle_flatten_attribute): New function. | |
1978 | Add flatten function attribute. | |
1979 | * doc/extend.texi: Document flatten function attribute. | |
1980 | * Makefile.in (ipa-inline.o): Depend on hashtab.h. | |
1981 | * ipa-inline.c (cgraph_find_cycles, cgraph_flatten_node): | |
1982 | New functions. | |
1983 | (cgraph_decide_inlining): Handle functions with flatten | |
1984 | attribute. | |
1985 | ||
9f0076e5 DE |
1986 | 2005-07-14 David Edelsohn <edelsohn@gnu.org> |
1987 | ||
1988 | * config/rs6000/rs6000.md (UNSPEC_SYNC, UNSPEC_LWSYNC, | |
1989 | UNSPEC_ISYNC, UNSPEC_SYNC_OP, UNSPEC_ATOMIC, UNSPEC_CMPXCHG, | |
1990 | UNSPEC_XCHG, UNSPEC_AND): New. | |
1991 | (UNSPECV_ATOMIC, UNSPECV_SYNC, UNSPECV_SYNC_OP, UNSPECV_CMPXCHG, | |
1992 | UNSPECV_LWSYNC, UNSPECV_ISYNC): Delete. | |
1993 | * config/rs6000/sync.md (FETCHOP): New code macro. | |
1994 | (fetchop_name, fetchop_pred, fetchopsi_constr, fetchopdi_constr): | |
1995 | New code attrs. | |
1996 | (memory_barrier, sync_internal): Use unspec instead of unspec_volatile. | |
1997 | (sync_compare_and_swap<mode>): Same. | |
1998 | (sync_lock_test_and_set<mode>): Same. | |
1999 | (sync_<fetchop><mode>, sync_nand<mode>): Only use rs6000_emit_sync | |
2000 | for QImode and HImode, and not PPC405. | |
2001 | (sync_old_<fetchop><mode>, sync_old_nand<mode>): Same. | |
2002 | (sync_new_<fetchop><mode>, sync_new_nand<mode>): Same. | |
2003 | (sync_<fetchop>{si,di}_internal): New. | |
2004 | (sync_nand{si,di}_internal): New. | |
2005 | (sync_old_<fetchop>{si,di}_internal): New. | |
2006 | (sync_old_nand{si,di}_internal): New | |
2007 | (sync_new_<fetchop>{si,di}_internal): New. | |
2008 | (sync_new_nand{si,di}_internal): New. | |
2009 | (atomic_and{si,di}): New. | |
2010 | (sync_new_nand{si,di}_internal): New. | |
2011 | (atomic_and{si,di}): New. | |
2012 | (sync_add<mode>_internal): Delete. | |
2013 | (sync_addshort_internal): Use unspec instead of unspec_volatile. | |
2014 | (sync_sub<mode>_internal): Delte. | |
2015 | (sync_subshort_internal): New. | |
2016 | (sync_andsi_internal): Use unspec instead of unspec_volatile. | |
2017 | (sync_anddi_internal): Delete. | |
2018 | (sync_boolsi_internal): Use unspec instead of unspec_volatile. | |
2019 | (sync_booldi_internal): Delete. | |
2020 | (sync_boolc<mode>_internal): Delete. | |
2021 | (sync_boolcshort_internal): Use unspec instead of unspec_volatile. | |
2022 | (sync_boolc<mode>_internal2): Delete. | |
2023 | (sync_boolcc<mode>_internal): Delete. | |
2024 | (isync, lwsync): Use unspec instead of unspec_volatile. | |
2025 | * config/rs6000/rs6000.c (rs6000_emit_sync): Implement MINUS. | |
2026 | Revert UNSPEC_VOLATILE. | |
2027 | (rs6000_split_atomic_op): New. | |
2028 | * config/rs6000/rs6000-protos.h (rs6000_split_atomic_op): Declare. | |
2029 | ||
06277571 EC |
2030 | 2005-07-14 Eric Christopher <echristo@redhat.com> |
2031 | ||
2032 | * config/mips/mips.c (mips_canonicalize_comparison): Cast | |
2033 | argument of trunc_int_for_mode to unsigned HOST_WIDE_INT. | |
2034 | ||
b838c72b EC |
2035 | 2005-07-14 Eric Christopher <echristo@redhat.com> |
2036 | ||
2037 | * config/s390/t-tpf (SHLIB_MAPFILES): Remove. | |
2038 | ||
3c341936 SB |
2039 | 2005-07-14 Steven Bosscher <stevenb@suse.de> |
2040 | ||
2041 | PR tree-optimization/22230 | |
2042 | * tree-vrp.c (extract_range_from_binary_expr): Fix logics thinko in | |
2043 | the computation of the four cross productions for "range op range". | |
2044 | ||
704b6cb5 | 2045 | 2005-07-14 Alexandre Oliva <aoliva@redhat.com> |
86979811 | 2046 | Ulrich Weigand <uweigand@de.ibm.com> |
704b6cb5 AO |
2047 | |
2048 | PR target/20126 | |
2049 | * loop.c (loop_givs_rescan): Do not ICE if unable to reduce an IV | |
2050 | in some insn. | |
2051 | ||
a771c4b3 UW |
2052 | 2005-07-14 Ulrich Weigand <uweigand@de.ibm.com> |
2053 | ||
2054 | * config/s390/s390.h (TARGET_TPF_PROFILING): Add default definition. | |
2055 | ||
6f3113ed SE |
2056 | 2005-07-14 Steve Ellcey <sje@cup.hp.com> |
2057 | ||
2058 | * config/ia64/ia64.c (ia64_output_dwarf_dtprel): Support ILP32 mode. | |
2059 | ||
cb1119b7 RG |
2060 | 2005-07-14 Richard Guenther <rguenther@suse.de> |
2061 | ||
2062 | PR middle-end/22347 | |
2063 | * config/i386/i386-protos.h (ix86_function_value): Change | |
2064 | prototype to match new target hook. | |
2065 | * config/i386/i386.c (ix86_value_regno): Change prototype | |
2066 | to take extra type argument. | |
2067 | (TARGET_FUNCTION_VALUE): Define. | |
2068 | (ix86_function_ok_for_sibcall): Pass extra argument to | |
2069 | ix86_value_regno, check return slot rtx for exact match. | |
2070 | (ix86_function_value): Take extra parameter. Dispatch to | |
2071 | ix86_value_regno with fndecl/fntype as provided. | |
2072 | (ix86_value_regno): Handle extra type argument. | |
2073 | * config/i386/i386.h (FUNCTION_VALUE): No longer define. | |
2074 | ||
2075 | * testsuite/gcc.target/i386/sseregparm-3.c: New testcase. | |
2076 | * testsuite/gcc.target/i386/sseregparm-4.c: New testcase. | |
2077 | * testsuite/gcc.target/i386/sseregparm-5.c: New testcase. | |
2078 | * testsuite/gcc.target/i386/sseregparm-6.c: New testcase. | |
2079 | * testsuite/gcc.target/i386/sseregparm-7.c: New testcase. | |
2080 | ||
1d636cc6 RG |
2081 | 2005-07-14 Richard Guenther <rguenther@suse.de> |
2082 | ||
2083 | * Makefile.in (explow.o, reg-stack.o): Depend on target.h. | |
2084 | * calls.c (expand_call): Pass fntype to hard_function_value. | |
2085 | (emit_library_call_value_1): Likewise. | |
2086 | * explow.c: Include target.h. | |
2087 | (hard_function_value): Take extra argument, the fntype. | |
2088 | Use new target hook for function_value. | |
2089 | * expr.h (hard_function_value): Change prototype. | |
2090 | * function.c (aggregate_value_p): Pass 0 as fntype to | |
2091 | hard_function_value. | |
2092 | (assign_parms): Use new target hook for function_value. | |
2093 | Pass 0 as fntype to hard_function_value. | |
2094 | (expand_function_end): Likewise. | |
2095 | * reg-stack.c: Include target.h. | |
2096 | (stack_result): Use new target hook for function_value. | |
2097 | * target-def.h: New target hook function_value. | |
2098 | * target.h: Likewise. | |
2099 | * targhooks.c (default_function_value): New function. | |
2100 | * targhooks.h (default_function_value): Declare. | |
2101 | ||
09d8cc0e ILT |
2102 | 2005-07-13 Ian Lance Taylor <ian@airs.com> |
2103 | ||
2104 | * config/mips/mips.h (CLZ_DEFINED_VALUE_AT_ZERO): Define. | |
2105 | ||
df1f6f31 JH |
2106 | 2005-07-14 Jan Hubicka <jh@suse.cz> |
2107 | ||
2108 | * tree-dfa.c (dump_variable): Use default_def function. | |
2109 | * tree-ssa-alias.c (dump_points_to_info): Likewise. | |
2110 | * tree-ssa.c (verify_use): Likewise. | |
2111 | * tree-ssanames.c (release_ssa_name): Likewise. | |
2112 | * tree-tailcall.c (eliminate_tail_call): Likewise. | |
2113 | (tree_optimize_tail_calls_1): Likewise. | |
2114 | * tree-vrp.c (get_value_range): Likewise. | |
2115 | ||
9ef0b1bd BE |
2116 | 2005-07-14 Ben Elliston <bje@au.ibm.com> |
2117 | ||
2118 | * gcc.c (main): Compare language[0] with '*' when iterating over | |
2119 | the infiles. | |
2120 | ||
69950452 AS |
2121 |