]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ChangeLog
configure.ac (ACX_PROG_CC_WARNING_OPTS): add -Wmissing-format-attribute.
[thirdparty/gcc.git] / gcc / ChangeLog
CommitLineData
ac0f3f39
KG
12005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2
3 * Makefile.in (STRICT2_WARN): Add -Wmissing-format-attribute.
4 * configure.ac: Check for -Wmissing-format-attribute.
5
6 * configure: Regenerate.
7
db753fa1
RH
82005-07-23 Richard Henderson <rth@redhat.com>
9
10 PR tree-optimization/22623
11 * tree-complex.c (set_component_ssa_name): Use replace_ssa_name_symbol.
12
28f155be
GB
132005-07-23 Giovanni Bajo <giovannibajo@libero.it>
14
15 PR target/22577
16 * config/pa/pa.c (reloc_needed): Updated for VECs inside CONSTRUCTOR.
17
db857e7d
KG
182005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19
20 * Makefile.in (C_TREE_H): Update dependencies.
21 * c-tree.h: Include toplev.h.
22 * diagnostic.h (diagnostic_set_info): Add format attribute.
23 * rtl-error.c (diagnostic_for_asm): Likewise.
24
118ea793
CF
252005-07-23 Chao-ying Fu <fu@mips.com>
26
27 * config/mips/mips-dsp.md: New file.
28 * config/mips/mips-modes.def (V4QI, V2HI, CCDSP): New modes.
29 * config/mips/mips.c (mips_function_type): Add types for DSP builtin
30 functions.
31 (mips_builtin_type): Add MIPS_BUILTIN_DIRECT_NO_TARGET and
32 MIPS_BUILTIN_BPOSGE32.
33 (mips_expand_builtin_direct): Add one parameter to indicate that
34 builtin functions need to return a value.
35 (mips_expand_builtin_bposge): New for expanding "bposge" builtin
36 functions.
37 (mips_regno_to_class): Add classes for 12 new DSP registers.
38 (mips_subword): Change to check four HI registers.
39 (mips_output_move): Output move to and from 6 new DSP accumulators.
40 (override_options): Make sure -mdsp and -mips16 are not used together.
41 Map 'A' to DSP_ACC_REGS and 'a' to ACC_REGS. Enable DSP accumulators
42 for machine modes.
43 (mips_conditional_register_usage): Disable 6 new DSP accumulators
44 when !TARGET_DSP.
45 (print_operand): Add 'q' for printing DSP accumulators.
46 (mips_cannot_change_mode_class): Check ACC_REGS.
47 (mips_secondary_reload_class): Check ACC_REGS.
48 (mips_vector_mode_supported_p): Enable V2HI and V4QI when TARGET_DSP.
49 (mips_register_move_cost): Check ACC_REGS.
50 (CODE_FOR_mips_addq_ph, CODE_FOR_mips_addu_qb, CODE_FOR_mips_subq_ph)
51 (CODE_FOR_mips_subu_qb): New code-aliasing macros.
52 (DIRECT_NO_TARGET_BUILTIN, BPOSGE_BUILTIN): New macros.
53 (dsp_bdesc): New array.
54 (bdesc_arrays): Add DSP builtin function table.
55 (mips_prepare_builtin_arg): Check predicate again after
56 copy_to_mode_reg.
57 (mips_expand_builtin): Add one more parameter to
58 mips_expand_builtin_direct. Expand MIPS_BUILTIN_DIRECT_NO_TARGET and
59 MIPS_BUILTIN_BPOSGE32.
60 (mips_init_builtins): Initialize new function types.
61 (mips_expand_builtin_direct): Check if builtin functions need to
62 return a value and pass operands properly.
63 (mips_expand_builtin_bposge): New function.
64 * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Add __mips_dsp.
65 (ASM_SPEC): Map -mdsp to -mdsp in GAS.
66 (FIRST_PSEUDO_REGISTER): Increase to 188.
67 (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS):
68 Update for 12 new DSP registers.
69 (DSP_ACC_REG_FIRST, DSP_ACC_REG_LAST, DSP_ACC_REG_NUM, AC1HI_REGNUM)
70 (AC1LO_REGNUM, AC2HI_REGNUM, AC2LO_REGNUM, AC3HI_REGNUM, AC3LO_REGNUM):
71 (DSP_ACC_REG_P, ACC_REG_P, ACC_HI_REG_P): New macros.
72 (reg_class): Add DSP_ACC_REGS and ACC_REGS.
73 (REG_CLASS_NAMES): Add names for DSP_ACC_REGS and ACC_REGS.
74 (REG_CLASS_CONTENTS): Update for DSP_ACC_REGS, ACC_REGS and ALL_REGS.
75 (REG_ALLOC_ORDER): Update for 12 new DSP registers.
76 (mips_char_to_class): Add 'A' for DSP_ACC_REGS and 'a' for ACC_REGS.
77 (UIMM6_OPERAND, IMM10_OPERAND): New macros.
78 (EXTRA_CONSTRAINT_Y): Add YA and YB extra constraints.
79 (REGISTER_NAMES): Add names for 12 new DSP registers.
80 * config/mips/mips.md: Include mips-dsp.md.
81 (UNSPEC_ADDQ, UNSPEC_ADDQ_S, UNSPEC_SUBQ, UNSPEC_SUBQ_S, UNSPEC_ADDSC)
82 (UNSPEC_ADDWC, UNSPEC_MODSUB, UNSPEC_RADDU_W_QB, UNSPEC_ABSQ_S)
83 (UNSPEC_PRECRQ_QB_PH, UNSPEC_PRECRQ_PH_W, UNSPEC_PRECRQ_RS_PH_W)
84 (UNSPEC_PRECRQU_S_QB_PH, UNSPEC_PRECEQ_W_PHL, UNSPEC_PRECEQ_W_PHR)
85 (UNSPEC_PRECEQU_PH_QBL, UNSPEC_PRECEQU_PH_QBR, UNSPEC_PRECEQU_PH_QBLA)
86 (UNSPEC_PRECEQU_PH_QBRA, UNSPEC_PRECEU_PH_QBL, UNSPEC_PRECEU_PH_QBR)
87 (UNSPEC_PRECEU_PH_QBLA, UNSPEC_PRECEU_PH_QBRA, UNSPEC_SHLL)
88 (UNSPEC_SHLL_S, UNSPEC_SHRL_QB, UNSPEC_SHRA_PH, UNSPEC_SHRA_R)
89 (UNSPEC_MULEU_S_PH_QBL, UNSPEC_MULEU_S_PH_QBR, UNSPEC_MULQ_RS_PH)
90 (UNSPEC_MULEQ_S_W_PHL, UNSPEC_MULEQ_S_W_PHR, UNSPEC_DPAU_H_QBL)
91 (UNSPEC_DPAU_H_QBR, UNSPEC_DPSU_H_QBL, UNSPEC_DPSU_H_QBR)
92 (UNSPEC_DPAQ_S_W_PH, UNSPEC_DPSQ_S_W_PH, UNSPEC_MULSAQ_S_W_PH)
93 (UNSPEC_DPAQ_SA_L_W, UNSPEC_DPSQ_SA_L_W, UNSPEC_MAQ_S_W_PHL)
94 (UNSPEC_MAQ_S_W_PHR, UNSPEC_MAQ_SA_W_PHL, UNSPEC_MAQ_SA_W_PHR)
95 (UNSPEC_BITREV, UNSPEC_INSV, UNSPEC_REPL_QB, UNSPEC_REPL_PH)
96 (UNSPEC_CMP_EQ, UNSPEC_CMP_LT, UNSPEC_CMP_LE, UNSPEC_CMPGU_EQ_QB)
97 (UNSPEC_CMPGU_LT_QB, UNSPEC_CMPGU_LE_QB, UNSPEC_PICK, UNSPEC_PACKRL_PH)
98 (UNSPEC_EXTR_W, UNSPEC_EXTR_R_W, UNSPEC_EXTR_RS_W, UNSPEC_EXTR_S_H)
99 (UNSPEC_EXTP, UNSPEC_EXTPDP, UNSPEC_SHILO, UNSPEC_MTHLIP, UNSPEC_WRDSP)
100 (UNSPEC_RDDSP): New constants.
101 (*movdi_32bit): Change 'x' to 'a' for ACC_REGS.
102 (*movsi_internal): Change 'x' to 'a' for ACC_REGS. Add an
103 A<-d alternative.
104 * config/mips/mips.opt (-mdsp): New option.
105 * config/mips/predicates.md (const_uimm6_operand, const_imm10_operand)
106 (reg_imm10_operand): New predicates.
107 * doc/extend.texi (MIPS DSP Built-in Functions): New section.
108 * doc/invoke.texi (-mdsp): Document new option.
109
d2fcbf6f
DD
1102005-07-22 DJ Delorie <dj@redhat.com>
111
112 * c-objc-common.c (c_cannot_inline_tree_fn): Add warning control
113 to warning calls.
114 * tree-inline.c (inlinable_function_p): Likewise.
115
9881e3e5
MM
1162005-07-22 Mark Mitchell <mark@codesourcery.com>
117
118 PR debug/21828
119 * toplev.c (check_global_declarations): Do not mark undefined
120 variables as DECL_IGNORED_P.
121 * varasm.c (first_global_object_name): GTY it.
122 (weak_global_object_name): Likewise.
123 (notice_global_symbol): Use ggc_strdup, not xstrdup, when creating
124 a string to go into {weak,first}_global_object_name.
125
1a8d0d41
DD
1262005-07-22 DJ Delorie <dj@redhat.com>
127
128 * c-format.c (check_function_format): Change warning control
129 option from OPT_Wattribute to OPT_Wmissing_format_attribute.
130
17c7e33e
DN
1312005-07-22 Diego Novillo <dnovillo@redhat.com>
132
133 * tree-ssa-alias.c (count_ptr_derefs): Do not consider
134 &PTR->FLD a dereference of PTR.
135 * tree-ssa-structalias.c (update_alias_info): Consider &PTR->FLD
136 a potential dereference of PTR.
137
45002e59
R
1382005-07-22 J"orn Rennecke <joern.rennecke@st.com>
139
191e1ff2
R
140 PR rtl-optimization/20370
141 * ifcvt.c (dead_or_predicable): Before calling propagate_block,
142 call allocate_reg_info if necessary.
143
475a3eef
R
144 PR rtl-optimization/21848
145 * calls.c (emit_library_call_value_1): For const functions, add
146 USEs of the stack slots to CALL_INSN_FUNCTION_USAGE.
147
29c1846b
R
148 PR rtl-optimization/22445
149 * cselib.c (target.h): Include.
150 (rtx_equal_for_cselib_p): Allow commutative matches.
151 (cselib_hash_rtx): Don't use MODE for CONST_INT hashing.
152 Remove MODE parameter. Changed all callers.
153
45002e59
R
154 PR rtl-optimization/22258
155 * combine.c (likely_spilled_retval_1, likely_spilled_retval_p):
156 New functions.
157 (try_combine): Use likely_spilled_retval_p.
158
db869733
PW
1592005-07-22 Paul Woegerer <paul.woegerer@nsc.com>
160
161 * config.gcc: Add crx-elf support.
162
163 * doc/contrib.texi: Mention crx.
164 * doc/extend.texi: Document crx extensions.
165 * doc/install.texi: Document crx install.
166 * doc/invoke.texi: Document crx options.
167 * doc/md.texi: Document crx constraints.
168
169 * config/crx/crx-protos.h: New file.
170 * config/crx/crx.c: New file.
171 * config/crx/crx.h: New file.
172 * config/crx/crx.md: New file.
173 * config/crx/crx.opt: New file.
174 * config/crx/t-crx: New file.
175
32cafd73
MH
1762005-07-22 Manfred Hollstein <mh@suse.com>
177
178 * tree-ssa-structalias.c (merge_graph_nodes): Fix uninitialised
179 warnings.
180 (int_add_graph_edge): Likewise.
181 (collapse_nodes): Likewise.
182 (process_unification_queue): Likewise.
183
ee184c4d
RK
1842005-07-22 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
185 Laurent GUERBY <laurent@guerby.net>
186
187 PR tree-optimization/22336
188 * function.c (record_block_change): Check for
189 cfun->ib_boundaries_block.
190
b49ceb45
JM
1912005-07-21 James A. Morrison <phython@gcc.gnu.org>
192
193 * fold-const.c (fold_unary): Don't strip signed nops from ABS_EXPRs.
194 (tree_expr_nonnegative_p): Return try for TYPE_UNSIGNED.
195
30c54de9
DD
1962005-07-21 DJ Delorie <dj@redhat.com>
197
198 * toplev.c (warn_deprecated_use): Add warning control to warning
199 call.
c303630a
DD
200 * c-typeck.c (parser_build_binary_op): Likewise.
201 (c_finish_if_stmt): Likewise.
30480ec4
DD
202 * c-common.c (check_function_sentinel): Likewise.
203 (check_nonnull_arg): Likewise.
30c54de9 204
95a8c155
RH
2052005-07-21 Richard Henderson <rth@redhat.com>
206
207 PR tree-opt/22504
208 * tree-complex.c (complex_ssa_name_components): New.
209 (cvc_lookup): Allow entry not found.
210 (create_components): Remove.
211 (create_one_component_var, get_component_var): New.
212 (get_component_ssa_name, set_component_ssa_name): New.
213 (extract_component): Use get_component_ssa_name.
214 (update_complex_components): Use set_component_ssa_name.
215 (update_complex_components_on_edge): Likewise.
216 (update_phi_components): Create new PHI nodes directly, instead
217 of adding insns to edges.
218 (tree_lower_complex): Allocate and free complex_variable_components
219 and complex_ssa_name_components here.
220
c05a0766
DB
2212005-07-20 Daniel Berlin <dberlin@dberlin.org>
222
223 * alias.c (nonoverlapping_component_refs_p): Use TYPE_MAIN_VARIANT,
224 revert to returning false.
225
de343c8d
UB
2262005-07-21 Uros Bizjak <uros@kss-loka.si>
227
228 PR target/21149
229 * config/i386/i386.md (sse_movhlps): Fix vec_select values.
230
5acc26ef
UB
2312005-07-21 Uros Bizjak <uros@kss-loka.si>
232
233 PR target/22576
234 * config/i386/i386.md (cmpxf): Change operand constraints
235 to "nonmemory_operand".
236
61cb44fe
AP
2372005-07-21 Andrew Pinski <pinskia@physics.uc.edu>
238
239 * config/i386/i386.md (trap): Use "".word/t0x0b0f" instead of ud2.
240
e2fe73f6
AP
2412005-07-21 Andrew Pinski <pinskia@physics.uc.edu>
242
243 PR middle-end/21180
244 * fold-const.c (fold_build1): Add checksum for the operands.
245 (fold_build2): Likewise.
246 (fold_build3): Likewise.
247
9d24eb54
AP
2482005-07-21 Andrew Pinski <pinskia@physics.uc.edu>
249
250 PR middle-end/19055
251 * fold-const.c (fold_binary): Transform "(X | Y) ^ X" to "Y & ~ X".
252
b2e0afa0
PB
2532005-07-21 Paolo Bonzini <bonzini@gnu.org>
254
255 * common.opt (-fforward-propagate): Committed by mistake,
256 removed.
257
2e48874f
VR
2582005-07-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
259
260 * reg-stack.c: Fix comment typo(s).
261 * tree-ssa-operands.c: Likewise.
262 * tree-vectorizer: Likewise.
263
889d8465
NC
2642005-07-21 Nick Clifton <nickc@redhat.com>
265
266 * config/sh/symbian.c: Replace C++ style line comments with C
267 style line comments.
268 (symbian_add_attribute): Do not use a ? operator on the LHS of
269 an assignment.
270 (sh_symbian_handle_dll_attribute): Change the type of the
271 method vector to "VEC(tree,gc)*" and use vector accessor
272 macros to walk over the elements.
273 (symbian_export_vtable_and_rtti_p): Likewise.
274 (symbian_class_needs_attribute_p): Likewise.
275
2fab365e
PB
2762005-07-21 Paolo Bonzini <bonzini@gnu.org>
277
278 PR target/22085
279 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Do not
280 initialize targetm.resolve_overloaded_builtin here.
281 (altivec_expand_overloaded_builtin): Make it non-static.
282 * config/rs6000/rs6000-protos.h
283 (altivec_expand_overloaded_builtin): New prototype.
284 * config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Initialize
285 targetm.resolve_overloaded_builtin here.
286 * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Likewise.
287
f9cc1a70
PB
2882005-07-21 Paolo Bonzini <bonzini@gnu.org>
289 Zdenek Dvorak <dvorakz@suse.cz>
290
291 PR tree-optimization/19210
292 * common.opt (Wunsafe-loop-optimizations, funsafe-loop-optimizations):
293 New.
294 * Makefile.in (tree-ssa-loop-niter.o): Depend intl.o.
295 * loop-iv.c (get_simple_loop_desc): If -funsafe-loop-optimizations,
296 rely on unproven assumptions.
297 * predict.c (predict_loops): Adjust call to number_of_iterations_exit.
298 * tree-flow.h (number_of_iterations_exit): Add final parameter.
299 * tree-scalar-evolution.c (number_of_iterations_in_loop): Adjust call
300 to number_of_iterations_exit.
301 * tree-ssa-loop-ivcanon.c (empty_loop_p): Likewise.
302 * tree-ssa-loop-ivopts.c (niter_for_exit): Likewise.
303 * tree-ssa-loop-niter.c (find_loop_niter,
304 estimate_numbers_of_iterations_loop): Likewise.
305 (number_of_iterations_exit): Honor the new options.
306 * doc/invoke.texi (Wunsafe-loop-optimizations,
307 funsafe-loop-optimizations): Document them.
308
cb83c2ec
RS
3092005-07-21 Richard Sandiford <richard@codesourcery.com>
310
311 PR rtl-optimization/22167
312 * gcse.c (hoist_code): Fix hoist_exprs[] check.
313
5e5cbbfb
AN
3142005-07-20 Adam Nemet <anemet@lnxw.com>
315
316 * config/rs6000/lynx.h: Mark __do_global_ctors_aux and
317 __do_global_dtors_aux longcall.
318
c2acaf06
KH
3192005-07-20 Kazu Hirata <kazu@cs.umass.edu>
320
321 * gensupport.c (old_preds): Don't reference PREDICATE_CODES.
322 (old_special_pred_table): Don't reference
323 SPECIAL_MODE_PREDICATES.
324 * system.h (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): Poison.
325 * config/arc/arc.h: Don't mention PREDICATE_CODES.
326 * config/sh/predicates.h: Don't mention
327 SPECIAL_MODE_PREDICATES.
328 * doc/tm.texi (PREDICATE_CODES, SPECIAL_MODE_PREDICATES):
329 Remove.
330
38b2d076
DD
3312005-07-20 DJ Delorie <dj@redhat.com>
332
333 * config.gcc: Add m32c-elf support.
334
335 * doc/contrib.texi: Mention m32c.
336 * doc/extend.texi: Document m32c extensions.
337 * doc/install.texi: Mention m32c.
338 * doc/invoke.texi: Document m32c options.
339 * doc/md.texi: Document m32c constraints.
340
341 * config/m32c/addsub.md: New file.
342 * config/m32c/bitops.md: New file.
343 * config/m32c/cond.md: New file.
344 * config/m32c/jump.md: New file.
345 * config/m32c/m32c-lib1.S: New file.
346 * config/m32c/m32c-lib2.c: New file.
347 * config/m32c/m32c-modes.def: New file.
348 * config/m32c/m32c-pragma.c: New file.
349 * config/m32c/m32c-protos.h: New file.
350 * config/m32c/m32c.abi: New file.
351 * config/m32c/m32c.c: New file.
352 * config/m32c/m32c.h: New file.
353 * config/m32c/m32c.md: New file.
354 * config/m32c/m32c.opt: New file.
355 * config/m32c/minmax.md: New file.
356 * config/m32c/mov.md: New file.
357 * config/m32c/muldiv.md: New file.
358 * config/m32c/predicates.md: New file.
359 * config/m32c/prologue.md: New file.
360 * config/m32c/shift.md: New file.
361 * config/m32c/t-m32c: New file.
362
50b69666
KK
3632005-07-20 Kaz Kojima <kkojima@gcc.gnu.org>
364
365 * config/sh/sh.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): New constants.
366 (stack_protect_set, stack_protect_test): New expanders.
367 (stack_protect_set_si, stack_protect_set_si_media,
368 stack_protect_set_di_media, stack_protect_test_si,
369 stack_protect_test_si_media, stack_protect_test_di_media):
370 New insns.
371
71b50543
AP
3722005-07-20 Andrew Pinski <pinskia@physics.uc.edu>
373
374 * c-typeck.c (output_init_element): Don't copy the INTEGER_CST.
375
4db8040c
JM
3762005-07-20 James A. Morrison <phython@gcc.gnu.org>
377
378 * tree.h (tree_expr_nonzero_p): Export.
379 * fold-const.c (tree_expr_nonzero_p): Likewise.
380 Return true for CALL_EXPRs that are alloca calls.
381 (fold_binary): Use omit_one_operand when checking EQ_EXPRs or NE_EXPRs
382 against zero.
383 * tree-flow.h (expr_computes_nonzero): Remove.
384 * tree-vrp.c (expr_computes_nonzero): Remove.
385 (vrp_expr_computes_nonzero): Use tree_expr_nonzero_p.
386 (extract_range_from_unary_expr): Likewise.
387 * tree-ssa-dom.c (record_equivalences_from_stmt): Use
388 tree_expr_nonzero_p.
389
6d459e2b
BS
3902005-07-20 Bernd Schmidt <bernd.schmidt@analog.com>
391
09350e36
BS
392 * config/bfin/bfin-protos.h (legitimize_pic_address): Don't declare.
393 * config/bfin/bfin.c (legitimize_pic_address): Now static. Take
394 extra arg "picreg" and use it instead of pic_offset_table_rtx.
395 All callers changed.
396 (frame_related_constant_load): New arg "related" which controls
397 setting of RTX_FRAME_RELATED_P. All callers changed.
398 (bfin_load_pic_reg): New function, broken out of bfin_expand_prologue.
399 (bfin_expand_prologue): Add stack limit checking.
400 * config/bfin/bfin.md (trapifcc): New pattern.
401
05905337
BS
402 * config/bfin/bfin.c: Include "langhooks.h".
403 (def_builtin): Go through lang_hooks to call builtin_function.
404
6d459e2b
BS
405 * config/bfin/bfin-protos.h (bfin_longcall_p): Declare.
406 * config/bfin/predicates.md (symbol_ref_operand): New.
407 (call_insn_operand): Delete. All callers changed to use
408 register_no_elim_operand.
409 * config/bfin/bfin.c (init_cumulative_args): Initialize the new
410 call_cookie field.
411 (function_arg): Use it to generate the call's operand 2.
412 (bfin_longcall_p): New function.
413 (bfin_expand_call): Extra arg "cookie". All callers and declaration
414 changed. Emit extra USE in the pattern. Use bfin_longcall_p to
415 determine if the address needs to be in a REG.
416 (bfin_handle_longcall_attribute): New function.
417 (bfin_attribute_table): Add "longcall" and "shortcall".
418 * config/bfin/bfin.h (CALL_NORMAL, CALL_LONG, CALL_SHORT): New macros.
419 (CUMULATIVE_ARGS): New member call_cookie.
420 (PREDICATE_CODES): Add symbol_ref_operand.
421 * config/bfin/bfin.md (call, call_value, sibcall, sibcall_value): Add
422 extra USE to the pattern.
423 (call_symbol, sibcall_symbol, call_value_symbol, sibcall_value_symbol):
424 New patterns, split off call_insn, sibcall_insn, call_value_insn and
425 sibcall_value_insn; now the new patterns handle direct calls and the
426 old ones indirect calls.
427 * doc/extend.texi: Mention Blackfin in longcall/shortcall docs.
428
67135ef4
ZD
4292005-07-20 Zdenek Dvorak <dvorakz@suse.cz>
430
431 * doc/trouble.texi: Update section on handling of empty loops.
432
fdda361d
KH
4332005-07-20 Kazu Hirata <kazu@codesourcery.com>
434
435 * config.gcc: Remove support for sparc-*-openbsd*,
436 i860-*-sysv4*, ip2k-*-elf, ns32k-*-netbsdelf*,
437 ns32k-*-netbsd*.
438 * config.host: Remove support for i860-*-sysv4* as a host.
439 * config/i860/*, config/ip2k/*, config/ns32k/*,
440 config/sparc/openbsd.h, config/sparc/t-openbsd: Remove.
441 * doc/install.texi, doc/invoke.texi, doc/md.texi: Don't
442 mention obsolete ports.
443
96a2347e
KK
4442005-07-20 Kaz Kojima <kkojima@gcc.gnu.org>
445
446 * config/sh/sh.c (regno_reg_class): Add GENERAL_REGS for
447 soft frame pointer.
448 (sh_expand_prologue): Use hard_frame_pointer_rtx instead
449 of frame_pointer_rtx.
450 (sh_expand_epilogue): Likewise.
451 (sh_set_return_address): Likewise.
452 (initial_elimination_offset): Use HARD_FRAME_POINTER_REGNUM
453 instead of FRAME_POINTER_REGNUM if needed. Add elimination
454 offsets from FRAME_POINTER_REGNUM.
455 * config/sh/sh.h (SH_REGISTER_NAMES_INITIALIZER): Add sfp.
456 (sh_register_names): Add initializer for sfp.
457 (GENERAL_OR_AP_REGISTER_P): Permit FRAME_POINTER_REGNUM.
458 (VALID_REGISTER_P): Likewise.
459 (FIRST_PSEUDO_REGISTER): Update.
460 (DWARF_FRAME_REGISTERS): Define.
461 (FIXED_REGISTERS, CALL_USED_REGISTERS): Add sfp.
462 (HARD_FRAME_POINTER_REGNUM): Define.
463 (FRAME_POINTER_REGNUM): Redefine.
464 (ELIMINABLE_REGS): Never eliminate to FRAME_POINTER_REGNUM,
465 but HARD_FRAME_POINTER_REGNUM instead. Add eliminations
466 from FRAME_POINTER_REGNUM.
467 (CAN_ELIMINATE): Use HARD_FRAME_POINTER_REGNUM instead of
468 FRAME_POINTER_REGNUM.
469 (REG_CLASS_CONTENTS): Add sfp.
470 (REG_ALLOC_ORDER): Likewise.
471 (FRAME_GROWS_DOWNWARD): Set to 1. Update comment.
472 (GO_IF_LEGITIMATE_ADDRESS): Use hard_frame_pointer_rtx instead
473 of frame_pointer_rtx.
474 (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
475
1ade5842
JM
4762005-07-19 James A. Morrison <phython@gcc.gnu.org>
477
478 * fold-const.c (tree_expr_nonnegative_p): Only return true for
479 ABS_EXPR when flag_wrapv is false because of INT_MIN.
480 (tree_expr_nonzero_p): Always call tree_expr_nonzero_p on the argument
481 of an ABS_EXPR.
482 (fold_unary): Always fold ABS_EXPR<ABS_EXPR<x>> into
483 ABS_EXPR<x>.
484
4038c495
GB
4852005-07-20 Giovanni Bajo <giovannibajo@libero.it>
486
487 Make CONSTRUCTOR use VEC to store initializers.
488 * c-common.c (complete_array_type): Update to cope with VEC in
489 CONSTRUCTOR_ELTS.
490 * c-pretty-print.c (pp_c_initializer_list): Use pp_c_constructor_elts.
491 (pp_c_constructor_elts): New function.
492 * c-pretty-print.h (pp_c_constructor_elts): Declare.
493 * c-typeck.c (build_function_call, build_c_cast, digest_init,
494 struct constructor_stack, struct initializer_stack,
495 constructor_elements, push_init_level, pop_init_level,
496 add_pending_init, find_init_member, output_init_element): Update to
497 cope with VEC in CONSTRUCTOR_ELTS.
498 * coverage.c (build_fn_info_value, build_ctr_info_value,
499 build_gcov_info): Likewise.
500 * expr.c (categorize_ctor_elements_1, store_constructor,
501 expand_expr_real_1): Likewise.
502 * fold-const.c (fold_ternary): Likewise.
503 * gimplify.c (gimplify_init_ctor_preeval, zero_sized_field_decl,
504 gimplify_init_constructor, gimplify_expr): Likewise.
505 * tree-dump.c (dequeue_and_dump): Likewise.
506 * tree-inline.c (copy_tree_r): Add code to duplicate a CONSTRUCTOR
507 node.
508 * tree-pretty-print.c (dump_generic_node): Update to cope with VEC in
509 CONSTRUCTOR_ELTS.
510 * tree-sra.c (generate_element_init_1): Likewise.
511 * tree-ssa-ccp.c (fold_const_aggregate_ref): Likewise.
512 * tree-ssa-operands.c (get_expr_operands): Likewise.
513 * tree-vect-generic.c (expand_vector_piecewise): Likewise.
514 * tree-vect-transform.c (vect_get_vec_def_for_operand):
515 (get_initial_def_for_reduction): Likewise.
516 * tree-vn.c (set_value_handle, get_value_handle): CONSTURCTOR uses
517 value handle in annotations.
518 * tree.c (tree_node_kind, tree_code_size, make_node_stat,
519 tree_node_structure): Add support for constr_kind.
520 (build_vector_from_ctor, build_constructor_single,
521 build_constructor_from_list): New functions.
522 (build_constructor): Update to take a VEC instead of a TREE_LIST.
523 (simple_cst_equal, iterative_hash_expr, initializer_zerop, walk_tree):
524 Update to cope with VEC in CONSTRUCTOR_ELTS.
525 * tree.def (CONSTRUCTOR): Make it a tcc_exceptional node.
526 * tree.h (FOR_EACH_CONSTRUCTOR_VALUE, FOR_EACH_CONSTRUCTOR_ELT,
527 CONSTRUCTOR_APPEND_ELT): New macros.
528 (struct constructor_elt, struct tree_constructor): New data types.
529 (union tree_node): Add tree_constructor field.
530 * treestruct.def: Define TS_CONSTRUCTOR.
531 * varasm.c (const_hash_1, compare_constant, copy_constant,
532 compute_reloc_for_constant, output_addressed_constants,
533 initializer_constant_valid_p, output_constant,
534 array_size_for_constructor, output_constructor): Update to cope with
535 VEC in CONSTRUCTOR_ELTS.
536 * vec.h (VEC_empty, VEC_copy): New macros.
537
f37d7c60
DP
5382005-07-19 Devang Patel <dpatel@apple.com>
539
540 * dbxout.c (dbxout_type): Check Objective-C++ lang.
541
af62f6f9
RH
5422005-07-19 Richard Henderson <rth@redhat.com>
543
544 PR tree-opt/22278
545 * gimplify.c (gimplify_expr): Use main variant type for the temp
546 destination for a discarded volatile read.
547 * tree-ssa.c (tree_ssa_useless_type_conversion_1): Don't elide
548 casts between non-void types that change volatility.
549
b9b8dde3
DD
5502005-07-15 DJ Delorie <dj@redhat.com>
551
552 * toplev.h: Add comment about the first parameter for warning().
553 * errors.h: Likewise.
554
555 * c.opt (Wpragmas): New.
556 * doc/invoke.texi: Document it.
557
558 * function.c (do_warn_unused_parameter): Add warning control to
559 warning call.
560 * c-decl.c (warn_if_shadowing): Likewise.
561 * c-lex.c (cb_def_pragma): Likewise.
562 * c-pragma.c (GCC_BAD, GCC_BAD2): Likewise.
563 (pop_alignment): Likewise.
564 (handle_pragma_pack): Likewise.
565 (apply_pragma_weak): Likewise.
566 (handle_pragma_weak): Likewise.
567 (handle_pragma_redefine_extname): Likewise.
568 (add_to_renaming_pragma_list): Likewise.
569 (handle_pragma_extern_prefix): Likewise.
570 (maybe_apply_renaming_pragma): Likewise.
571 (handle_pragma_visibility): Likewise.
572
573 * config/c4x/c4x-c.c (BAD): Likewise.
574 (c4x_parse_pragma): Likewise.
575 * config/ia64/ia64-c.c (ia64_hpux_handle_builtin_pragma): Likewise.
576 * config/rs6000/rs6000-c.c (SYNTAX_ERROR): Likewise.
577 (rs6000_pragma_longcall): Likewise.
578 * config/v850/v850-c.c (pop_data_area): Likewise.
579 (ghs_pragma_section): Likewise.
580 (ghs_pragma_section): Likewise.
581 (ghs_pragma_interrupt): Likewise.
582 (ghs_pragma_starttda): Likewise.
583 (ghs_pragma_startsda): Likewise.
584 (ghs_pragma_startzda): Likewise.
585 (ghs_pragma_endtda): Likewise.
586 (ghs_pragma_endsda): Likewise.
587 (ghs_pragma_endzda): Likewise.
588
6a9a79a8
DB
5892005-07-19 Danny Berlin <dberlin@dberlin.org>
590 Kenneth Zadeck <zadeck@naturalbridge.com>
591
592 * Makefile.in: Removed tree-promote-statics.c
593 * tree-promote-statics.c: Removed.
594 * common.opt: Removed flag-promote-statics.
595 * opts.c: Ditto.
596 * passes.c: Removed tree-promote-statics pass.
597 * tree-pass.h: Ditto.
598 * timevar.def: Removed TV_PROMOTE_STATICS.
599
600
0219cf3d
GP
6012005-07-19 Gerald Pfeifer <gerald@pfeifer.com>
602
603 * config.gcc: Add support for *-*-freebsd7, *-*-freebsd8,
604 and *-*-freebsd9.
605 * config/freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS): Ditto.
606
7876a414
KG
6072005-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
608
609 PR c/22476
610 * c-common.c (check_function_arguments): Call
611 'check_function_format' if either -Wformat or
612 -Wmissing-format-attribute are specified.
613 * c-format.c (check_function_format): Check -Wformat before
614 calling 'check_format_info'.
615 * c-opts.c (c_common_post_options): Don't warn for
616 -Wmissing-format-attribute without -Wformat.
617 * c-typeck.c (convert_for_assignment): Detect additional cases for
618 -Wmissing-format-attribute.
619 * doc/invoke.texi (-Wmissing-format-attribute): Document new
620 behavior.
621
98ea7437
RG
6222005-07-19 Richard Guenther <rguenther@suse.de>
623
624 * config/i386/i386.md (lrint<mode>2): Use temporary
625 instead of clobbering non-existent memory.
626
89a0b917
NC
6272005-07-19 Nick Clifton <nickc@redhat.com>
628
629 * config/avr/avr.c (legitimate_address_p): Fix debugging print
630 statement to avoid displaying ASCII control characters.
631
dfea6c85
BE
6322005-07-19 Ben Elliston <bje@au.ibm.com>
633
634 * bt-load.c (link_btr_uses): Fix uninitialised warnings.
635 * cfganal.c (find_edge_index): Ditto.
636 * combine.c (combine_instructions): Ditto.
637 * ddg.c (create_scc): Ditto.
638 (find_successors): Ditto.
639 (find_predecessors): Ditto.
640 (find_nodes_on_paths): Ditto.
641 (longest_simple_path): Ditto.
642 * flow.c (update_life_info): Ditto.
643 (count_or_remove_death_notes): Ditto.
644 (clear_log_links): Ditto.
645 * modulo-sched.c (generate_reg_moves): Ditto.
646 (find_max_asap): Ditto.
647 (find_max_hv_min_mob): Ditto.
648 (find_max_dv_min_mob): Ditto.
649 * sbitmap.c (sbitmap_first_set_bit): Ditto.
650 * sched-rgn.c (extract_edgelst): Ditto.
651 * tree-into-ssa.c (prepare_names_to_update): Ditto.
652 (dump_update_ssa): Ditto.
653 (ssa_names_to_replace) Ditto.
654 (switch_virtuals_to_full_rewrite): Ditto.
655 (update_ssa): Ditto.
656 * tree-vect-transform.c (vect_create_epilog_for_reduction): Ditto.
657
b9d33488
DB
6582005-07-18 Daniel Berlin <dberlin@dberlin.org>
659
660 Fix PR tree-optimization/22483
661
662 * tree-complex.c (create_components): Use
663 safe_referenced_var_iterator and FOR_EACH_REFERENCED_VAR_SAFE.
664 * tree-flow-inline.h (fill_referenced_var_vec): New function.
665 * tree-flow.h (safe_referenced_var_iterator): New structure.
666 (FOR_EACH_REFERENCED_VAR_SAFE): New macro.
667 * tree-ssa-alias.c (setup_pointers_and_addressables): Use
668 safe_referenced_var iterator.
669 (add_type_alias): Ditto.
670
9fa26457
SB
6712005-07-19 Steven Bosscher <stevenb@suse.de>
672
673 * loop-init.c (rest_of_handle_loop2): Remove.
674 (rtl_loop_init, rtl_loop_done, rtl_move_loop_invariants,
675 rtl_unswitch, rtl_unroll_and_peel_loops, rtl_doloop): New functions.
676 (pass_rtl_loop_init, pass_rtl_loop_done,
677 pass_rtl_move_loop_invariants, pass_rtl_unswitch,
678 pass_rtl_unroll_and_peel_loops, pass_rtl_doloop): New passes.
679 * tree-ssa-loop.c (pass_loop, pass_loop_init, pass_loop_done,
680 pass_unswitch): Rename to pass_tree_loop, pass_tree_loop_init,
681 pass_tree_loop_done, and pass_tree_unswitch.
682 (gate_loop): Rename to gate_tree_loop.
683 * passes.c (init_optimization_passes): Update for renamed tree
684 loop passes. Add the new loop2 passes as subpasses of loop2.
685 * tree-pass.h: Add extern declarations for the new loop2 subpasses.
686 Update for the renamed tree loop passes.
687
7825308e
ILT
6882005-07-18 Ian Lance Taylor <ian@airs.com>
689
690 PR middle-end/22057
691 * tree-cfgcleanup.c (cleanup_tree_cfg): Only remove forwarder
692 blocks when optimizing.
693
2928d0f8
SE
6942005-07-18 Steve Ellcey <sje@cup.hp.com>
695
696 * common.opt (frename-registers): Initialize to 2.
697 (fweb): Ditto.
698 (fgcse-after-reload): Ditto.
699 * toplev.c (AUTODETECT_FLAG_VAR_TRACKING): Rename to AUTODETECT_VALUE.
700 (process_options): Only change flag_web, flag_rename_registers,
701 and flag_rerun_cse_after_loop if not explicitly set by user.
702
28356f52
JB
7032005-07-18 Jan Beulich <jbeulich@novell.com>
704
705 * config/i386/i386.c (ix86_expand_branch, ix86_expand_setcc,
706 ix86_expand_carry_flag_compare, ix86_expand_int_movcc): Handle TImode
707 in 64-bit mode the same as DImode in 32-bit mode.
708 (ix86_expand_ashl_const, ix86_split_ashl, ix86_split_ashr,
709 ix86_split_lshr): Likewise. Rename to no longer refer to a specific
710 mode. Add new mode parameter.
711 * config/i386/i386.h (CONST_OK_FOR_LETTER_P): Describe and handle 'O'.
712 * config/i386/i386.md (cmpti, addti3, subti3, negti2, ashlti3, ashrti3,
713 x86_64_shift_adj): New expanders.
714 (*addti3_1, *subti3_1, *negti2_1, ashlti3_1, *ashlti3_2, ashrti3_1,
715 *ashrti3_2, lshrti3_1, *lshrti3_2, x86_64_shld, x86_64_shrd): New
716 insns.
717 Respective new splitters. Use renamed shift splitter helpers in 32-bit
718 DImode shift splitters.
719 * config/i386/i386-protos.h (ix86_split_ashl, ix86_split_ashr,
720 ix86_split_lshr): Renamed from ix86_split_[al]sh[rl]di. Added new
721 mode parameter.
722
422edd6f
JB
7232005-07-18 Jan Beulich <jbeulich@novell.com>
724
725 * i386.md (movdi_extzv_1): New.
726 (zero_extendhidi2): Combine alternatives and never force use of
727 REX64 prefix.
728 (zero_extendqidi2): Likewise. Don't restrict input selection.
729
c625053b
DB
7302005-07-17 Daniel Berlin <dberlin@dberlin.org>
731
732 Fix PR tree-optimization/22531
733 * tree-ssa-pre.c (do_eustores): Make sure LHS is a decl for the
734 moment.
735
3b1355f3
DB
7362005-07-17 Daniel Berlin <dberlin@dberlin.org>
737
738 * tree-promote-statics.c (pass_promote_statics): Change dump file
739 name.
740
7412005-07-17 Daniel Berlin <dberlin@dberlin.org>
45159bf6
DB
742
743 * tree-optimize.c (init_tree_optimization_passes): Add
744 pass_eliminate_useless_stores pass.
745 * tree-pass.h (pass_eliminate_useless_stores): New pass structure.
746 * tree-ssa-pre.c (is_copy_stmt): New function.
747 (follow_copies_till_vuse): Ditto.
748 (do_eustores): Ditto.
749 (gate_eustores): Ditto.
750
7544a87f
RH
7512005-07-16 Richard Henderson <rth@redhat.com>
752
753 * gcc.c (MFWRAP_SPEC): Don't wrap pthread_join or pthread_exit.
754
bf0d50f1
KZ
7552005-07-16 Danny Berlin <dberlin@dberlin.org>
756 Kenneth Zadeck <zadeck@naturalbridge.com>
757
758 * Makefile.in: Added rules for ipa-pure-const.c, ipa-reference.c,
759 ipa-reference.h, ipa-utils.c, ipa-utils.h, ipa-type-escape.c,
760 ipa-type-escape.h, tree-promote-statics.c
761 * ipa-pure-const.c, ipa-reference.c, ipa-reference.h, ipa-utils.c,
762 ipa-utils.h, ipa-type-escape.c, ipa-type-escape.h,
763 tree-promote-statics.c: new files.
764 * alias.c: (nonlocal_mentioned_p_1, nonlocal_mentioned_p,
765 nonlocal_referenced_p_1, nonlocal_referenced_p, nonlocal_set_p_1,
766 int nonlocal_set_p, mark_constant_function): Deleted.
767 (rest_of_handle_cfg): Removed call to mark_constant_function.
768 (nonoverlapping_component_refs_p): Added calls to support
769 type based aliasing.
770 * tree-ssa-alias.c (may_alias_p,
771 compute_flow_insensitive_aliasing): Ditto.
772 * calls.c (flags_from_decl_or_type): Removed reference to
773 cgraph_rtl_info.
bf0d50f1
KZ
774 * c-typeck.c (convert_arguments): Make builtins tolerant of having
775 too many arguments. This is necessary for Spec 2000.
776 * cgraph.h (const_function, pure_function): Removed.
777 * common.opt: Added "fipa-pure-const", "fipa-reference",
778 "fipa-type-escape", and "ftree-promote-static".
779 * opts.c: Ditto.
780 * passes.c: Added ipa and tree-promote-statics passes.
781 * timevar.def: Added TV_IPA_PURE_CONST, TV_IPA_REFERENCE,
782 TV_IPA_TYPE_ESCAPE, and TV_PROMOTE_STATICS.
bf0d50f1
KZ
783 * tree-dfa.c (referenced_var_lookup_if_exists): New function.
784 * tree-flow.h: Added exposed sra calls and addition of
785 reference_vars_info field for FUNCTION_DECLS.
786 * tree-pass.h: Added passes.
787 * tree-sra.c: (sra_init_cache): New function.
788 (sra_insert_before, sra_insert_after) Made public.
789 (type_can_be_decomposed_p): Renamed from type_can_be_decomposed_p
790 and made public.
791 * tree-ssa-alias.c (dump_alias_stats): Added stats for type based
792 aliasing. (may_alias_p): Added code to use type escape analysis to
793 improve alias sets.
794 * tree-ssa-operands.c (add_call_clobber_ops): Added parameter and
795 code to prune clobbers of static variables based on information
796 produced in ipa-reference pass. Changed call clobbering so that
797 statics are not marked as clobbered if the call does not clobber
798 them.
799
b6e0bdbd
DB
8002005-07-16 Daniel Berlin <dberlin@dberlin.org>
801
802 * tree-ssa-structalias.c (need_to_solve): Need to check for preds,
803 too.
804
2c00bd42
EB
8052005-07-16 Eric Botcazou <ebotcazou@libertysurf.fr>
806
807 * doc/install.texi (*-*-solaris2*): Document recommended version
808 of GNU binutils and mention GNU linker problem on Solaris 10.
809
0b359b01
JM
8102005-07-16 Joseph S. Myers <joseph@codesourcery.com>
811
812 PR c/22421
813 * c-decl.c (c_build_bitfield_integer_type): New function.
814 (finish_struct): Call it.
815 * c-pretty-print.c (pp_c_type_specifier): Handle bit-field types.
816
8fcef540
KG
8172005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
818
819 * c-typeck.c (digest_init): Call 'convert_for_assignment'
820 before returning.
821
84fc24e8
JH
8222005-07-16 Jan Hubicka <jh@suse.cz>
823
824 * cfg.c (update_bb_profile_for_threading): Fix profile updating.
825 (scale_bbs_frequencies_int): Watch roundoff errors.
826 * predict.c (return_prediction): Initialize return_stmt.
827
3258272f
JH
8282005-07-16 Jan Hubicka <jh@suse.cz>
829
830 * profile.c (rest_of_handle_branch_prob): Fix handling of estimation
831 after RTL profiling.
832
01c0a9fa
AP
8332005-07-11 Andrew Pinski <pinskia@physics.uc.edu>
834
835 PR middle-end/22398
836 * fold-const.c (build_range_check): Convert high/low to etype
837 if we are only comparing against exp.
838
27811bfe
DB
8392005-07-13 Daniel Berlin <dberlin@dberlin.org>
840
841 Fix PR tree-optimization/22376
842 * tree-ssa-structalias.c (build_constraint_graph): We really meant
843 special var here.
844 (need_to_solve): New function.
845 (compute_points_to_sets): Use it.
846
2b151cb2
JH
8472005-07-15 Jan Hubicka <jh@suse.cz>
848
849 * cfg.c (update_bb_profile_for_threading): More diagnostic.
850 * tree-ssa-threadupdate.c (redirect_edges): Update profile of dup_block.
851
0691d1d4
RG
8522005-07-15 Richard Guenther <rguenther@suse.de>
853
854 * c-common.c (handle_flatten_attribute): New function.
855 Add flatten function attribute.
856 * doc/extend.texi: Document flatten function attribute.
857 * Makefile.in (ipa-inline.o): Depend on hashtab.h.
858 * ipa-inline.c (cgraph_find_cycles, cgraph_flatten_node):
859 New functions.
860 (cgraph_decide_inlining): Handle functions with flatten
861 attribute.
862
9f0076e5
DE
8632005-07-14 David Edelsohn <edelsohn@gnu.org>
864
865 * config/rs6000/rs6000.md (UNSPEC_SYNC, UNSPEC_LWSYNC,
866 UNSPEC_ISYNC, UNSPEC_SYNC_OP, UNSPEC_ATOMIC, UNSPEC_CMPXCHG,
867 UNSPEC_XCHG, UNSPEC_AND): New.
868 (UNSPECV_ATOMIC, UNSPECV_SYNC, UNSPECV_SYNC_OP, UNSPECV_CMPXCHG,
869 UNSPECV_LWSYNC, UNSPECV_ISYNC): Delete.
870 * config/rs6000/sync.md (FETCHOP): New code macro.
871 (fetchop_name, fetchop_pred, fetchopsi_constr, fetchopdi_constr):
872 New code attrs.
873 (memory_barrier, sync_internal): Use unspec instead of unspec_volatile.
874 (sync_compare_and_swap<mode>): Same.
875 (sync_lock_test_and_set<mode>): Same.
876 (sync_<fetchop><mode>, sync_nand<mode>): Only use rs6000_emit_sync
877 for QImode and HImode, and not PPC405.
878 (sync_old_<fetchop><mode>, sync_old_nand<mode>): Same.
879 (sync_new_<fetchop><mode>, sync_new_nand<mode>): Same.
880 (sync_<fetchop>{si,di}_internal): New.
881 (sync_nand{si,di}_internal): New.
882 (sync_old_<fetchop>{si,di}_internal): New.
883 (sync_old_nand{si,di}_internal): New
884 (sync_new_<fetchop>{si,di}_internal): New.
885 (sync_new_nand{si,di}_internal): New.
886 (atomic_and{si,di}): New.
887 (sync_new_nand{si,di}_internal): New.
888 (atomic_and{si,di}): New.
889 (sync_add<mode>_internal): Delete.
890 (sync_addshort_internal): Use unspec instead of unspec_volatile.
891 (sync_sub<mode>_internal): Delte.
892 (sync_subshort_internal): New.
893 (sync_andsi_internal): Use unspec instead of unspec_volatile.
894 (sync_anddi_internal): Delete.
895 (sync_boolsi_internal): Use unspec instead of unspec_volatile.
896 (sync_booldi_internal): Delete.
897 (sync_boolc<mode>_internal): Delete.
898 (sync_boolcshort_internal): Use unspec instead of unspec_volatile.
899 (sync_boolc<mode>_internal2): Delete.
900 (sync_boolcc<mode>_internal): Delete.
901 (isync, lwsync): Use unspec instead of unspec_volatile.
902 * config/rs6000/rs6000.c (rs6000_emit_sync): Implement MINUS.
903 Revert UNSPEC_VOLATILE.
904 (rs6000_split_atomic_op): New.
905 * config/rs6000/rs6000-protos.h (rs6000_split_atomic_op): Declare.
906
06277571
EC
9072005-07-14 Eric Christopher <echristo@redhat.com>
908
909 * config/mips/mips.c (mips_canonicalize_comparison): Cast
910 argument of trunc_int_for_mode to unsigned HOST_WIDE_INT.
911
b838c72b
EC
9122005-07-14 Eric Christopher <echristo@redhat.com>
913
914 * config/s390/t-tpf (SHLIB_MAPFILES): Remove.
915
3c341936
SB
9162005-07-14 Steven Bosscher <stevenb@suse.de>
917
918 PR tree-optimization/22230
919 * tree-vrp.c (extract_range_from_binary_expr): Fix logics thinko in
920 the computation of the four cross productions for "range op range".
921
704b6cb5
AO
9222005-07-14 Alexandre Oliva <aoliva@redhat.com>
923 Ulrich Weigand <uweigand@de.ibm.com>
924
925 PR target/20126
926 * loop.c (loop_givs_rescan): Do not ICE if unable to reduce an IV
927 in some insn.
928
a771c4b3
UW
9292005-07-14 Ulrich Weigand <uweigand@de.ibm.com>
930
931 * config/s390/s390.h (TARGET_TPF_PROFILING): Add default definition.
932
6f3113ed
SE
9332005-07-14 Steve Ellcey <sje@cup.hp.com>
934
935 * config/ia64/ia64.c (ia64_output_dwarf_dtprel): Support ILP32 mode.
936
cb1119b7
RG
9372005-07-14 Richard Guenther <rguenther@suse.de>
938
939 PR middle-end/22347
940 * config/i386/i386-protos.h (ix86_function_value): Change
941 prototype to match new target hook.
942 * config/i386/i386.c (ix86_value_regno): Change prototype
943 to take extra type argument.
944 (TARGET_FUNCTION_VALUE): Define.
945 (ix86_function_ok_for_sibcall): Pass extra argument to
946 ix86_value_regno, check return slot rtx for exact match.
947 (ix86_function_value): Take extra parameter. Dispatch to
948 ix86_value_regno with fndecl/fntype as provided.
949 (ix86_value_regno): Handle extra type argument.
950 * config/i386/i386.h (FUNCTION_VALUE): No longer define.
951
952 * testsuite/gcc.target/i386/sseregparm-3.c: New testcase.
953 * testsuite/gcc.target/i386/sseregparm-4.c: New testcase.
954 * testsuite/gcc.target/i386/sseregparm-5.c: New testcase.
955 * testsuite/gcc.target/i386/sseregparm-6.c: New testcase.
956 * testsuite/gcc.target/i386/sseregparm-7.c: New testcase.
957
1d636cc6
RG
9582005-07-14 Richard Guenther <rguenther@suse.de>
959
960 * Makefile.in (explow.o, reg-stack.o): Depend on target.h.
961 * calls.c (expand_call): Pass fntype to hard_function_value.
962 (emit_library_call_value_1): Likewise.
963 * explow.c: Include target.h.
964 (hard_function_value): Take extra argument, the fntype.
965 Use new target hook for function_value.
966 * expr.h (hard_function_value): Change prototype.
967 * function.c (aggregate_value_p): Pass 0 as fntype to
968 hard_function_value.
969 (assign_parms): Use new target hook for function_value.
970 Pass 0 as fntype to hard_function_value.
971 (expand_function_end): Likewise.
972 * reg-stack.c: Include target.h.
973 (stack_result): Use new target hook for function_value.
974 * target-def.h: New target hook function_value.
975 * target.h: Likewise.
976 * targhooks.c (default_function_value): New function.
977 * targhooks.h (default_function_value): Declare.
978
09d8cc0e
ILT
9792005-07-13 Ian Lance Taylor <ian@airs.com>
980
981 * config/mips/mips.h (CLZ_DEFINED_VALUE_AT_ZERO): Define.
982
df1f6f31
JH
9832005-07-14 Jan Hubicka <jh@suse.cz>
984
985 * tree-dfa.c (dump_variable): Use default_def function.
986 * tree-ssa-alias.c (dump_points_to_info): Likewise.
987 * tree-ssa.c (verify_use): Likewise.
988 * tree-ssanames.c (release_ssa_name): Likewise.
989 * tree-tailcall.c (eliminate_tail_call): Likewise.
990 (tree_optimize_tail_calls_1): Likewise.
991 * tree-vrp.c (get_value_range): Likewise.
992
9ef0b1bd
BE
9932005-07-14 Ben Elliston <bje@au.ibm.com>
994
995 * gcc.c (main): Compare language[0] with '*' when iterating over
996 the infiles.
997
69950452
AS
998