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