]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
re PR objc++/16816 (obj-c++ parser error with multi-colon selectors)
[gcc.git] / gcc / ChangeLog
CommitLineData
8f078c08
AP
12005-09-08 Andrew Pinski <pinskia@physics.uc.edu>
2
3 PR objc/20574
4 PR objc/19324
5 * c-parser.c (c_parser_objc_method_definition): If the next
6 token is not "{", error out and don't start the function.
7
0c924d5c
AP
82005-09-08 Andrew Pinski <pinskia@physics.uc.edu>
9
10 * tree-vrp.c (extract_range_from_expr): Move the check for non
11 nullness after the check for gimple invariant.
12
9f36bc49
RK
132005-09-08 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14
15 * tree.c (host_integerp, tree_low_cst): Correct function comment.
16
085fd657
KI
172005-09-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
18
19 PR target/23747
20 * config/m32r.md (movmemsi_internal): Canonicalize order of
21 operands in PLUS component of template.
22
b735f45d
AK
232005-09-07 Andreas Krebbel <krebbel1@de.ibm.com>
24
25 * reload1.c (fixup_eh_region_note): Remove assertion.
26 (fixup_abnormal_edges): Reverted removal of call to
27 find_many_sub_basic_blocks made on 2005-08-31.
28
30e6f306
RH
292005-09-07 Richard Henderson <rth@redhat.com>
30
31 * function.c (ARG_POINTER_CFA_OFFSET): Move ...
32 * defaults.h (ARG_POINTER_CFA_OFFSET): ... here.
33 (INCOMING_FRAME_SP_OFFSET): Move from dwarf2out.c.
34 * dwarf2out.c (struct cfa_loc): Change reg to unsigned int,
35 rearrange for better packing.
36 (INCOMING_FRAME_SP_OFFSET): Move to defaults.h.
37 (lookup_cfa_1): Remove inline marker.
38 (cfa_equal_p): Split out of ...
39 (def_cfa_1): ... here. Use INVALID_REGNUM.
40 (build_cfa_loc): Handle !cfa->indirect.
41 (frame_pointer_cfa_offset): New.
42 (dbx_reg_number): Assert register elimination performed; do
43 leaf register remapping.
44 (reg_loc_descriptor): Avoid calling dbx_reg_number when unused.
45 (eliminate_reg_to_offset): New.
46 (based_loc_descr): Remove can_use_fbreg argument. Use fbreg only
47 for verifiably local stack frame addresses; re-base to CFA.
48 (mem_loc_descriptor): Remove can_use_fbreg argument.
49 (concat_loc_descriptor, loc_descriptor): Likewise.
50 (containing_function_has_frame_base): Remove.
51 (rtl_for_decl_location): Don't do register elimination or
52 leaf register remapping here.
53 (secname_for_decl): Split out from ..
54 (add_location_or_const_value_attribute): ... here.
55 (convert_cfa_to_loc_list): New.
56 (compute_frame_pointer_to_cfa_displacement): New.
57 (gen_subprogram_die): Use them.
58 * tree.h (frame_base_decl): Remove.
59 * var-tracking.c (frame_base_decl, frame_stack_adjust): Remove.
60 (prologue_stack_adjust): Remove.
61 (vt_stack_adjustments): Use INCOMING_FRAME_SP_OFFSET.
62 (adjust_stack_reference): Re-base memories to arg_pointer_rtx.
63 (set_frame_base_location): Remove.
64 (compute_bb_dataflow, emit_notes_in_bb): Don't call it.
65 (dump_attrs_list, dump_dataflow_set): Use string concatenation.
66 (vt_add_function_parameters): Don't eliminate_regs.
67 (vt_initialize): Don't create frame_base_decl.
68
ff8f80f2
EB
692005-09-07 Eric Botcazou <ebotcazou@libertysurf.fr>
70
71 * doc/install.texi (*-*-solaris2*): Clarify wording on the recommended
72 version of GNU binutils for 4.x and later.
73
6f02b1db
MM
742005-09-06 Mark Mitchell <mark@codesourcery.com>
75
76 * ggc-page.c (ggc_push_context): Remove.
77 (ggc_pop_context): Likewise.
78 * ggc.h (ggc_push_context): Remove.
79 (ggc_pop_context): Likewise.
80
3273516f
SV
812005-09-06 Saurabh Verma <saurabh.verma@codito.com>
82
83 PR target/8973
84 * config/arc/arc.c (arc_output_function_epilogue): Update flags while
85 returning from an interrupt handler.
86
006fa7d4
SV
872005-09-06 Saurabh Verma <saurabh.verma@codito.com>
88
89 PR target/8972
90 * config/arc/arc.c (output_shift): Add check for loop count when
91 optimizing.
92
800dd123
SB
932005-09-06 Steven Bosscher <stevenb@suse.de>
94
95 * tree-ssa-phiopt.c (conditional_replacement): Construct proper SSA
96 form manually.
97 (abs_replacement): Likewise.
98 (pass_phiopt): Remove TODO_update_ssa.
99
73109af7
JJ
1002005-09-06 Jakub Jelinek <jakub@redhat.com>
101
0c9b182b
JJ
102 PR c/23075
103 * c-typeck.c (c_finish_return): Set TREE_NO_WARNING on RETURN_EXPR
104 if "return with no value, in function returning non-void" warning
105 has been issued.
800dd123 106 * tree-cfg.c (execute_warn_function_return): Don't look at
0c9b182b
JJ
107 RETURN_EXPRs with TREE_NO_WARNING set.
108
73109af7
JJ
109 PR target/22362
110 * config/i386/i386.c (ix86_function_regparm): Make sure automatic regparm
111 for internal functions doesn't use registers used by global registers
112 variables. Use fewer register parameters if there are global register
113 variables.
114
60a23e2e 1152005-09-06 Olivier Hainque <hainque@adacore.com>
800dd123 116 Eric Botcazou <ebotcazou@adacore.com>
60a23e2e
OH
117
118 PR middle-end/14997
119 * expr.c (expand_expr_real) <normal_inner_ref>: Force op0 to mem
120 when we would be extracting outside its bit span (bitpos+bitsize
121 larger than its mode), possible with some VIEW_CONVERT_EXPRs from
122 Ada unchecked conversions.
123
dda243de
SB
1242005-09-06 Steven Bosscher <stevenb@suse.de>
125
126 * tree-ssa-pre.c (try_look_through_load): New function.
127 (compute_avail): Use it to try to look through loads for some
128 more useful expressions.
129
f5d1572a
SV
1302005-09-06 Saurabh Verma <saurabh.verma@codito.com>
131
132 * simplify-rtx.c (simplify_binary_operation_1): Correct the
133 condition for detecting cases like (a&a) and (a^a).
134
c12cc930
KB
1352005-09-06 Keith Besaw <kbesaw@us.ibm.com>
136
137 * common.opt: Add option ftree-vect-loop-version.
138 * params.def: Add --param vect-max-version-checks.
139 * doc/invoke.texi: Document ftree-vect-loop-version and
140 --param vect-max-version-checks.
141 * tree-vectorizer.h (_loop_vec_info): Add ptr_mask and
142 may_misalign_stmts and defines for accessors.
143 * tree-vectorizer.c : (new_loop_vec_info): VEC_alloc for
144 LOOP_VINFO_MAY_MISALIGN_STMTS.
145 (destroy_loop_vec_info): VEC_free for
146 LOOP_VINFO_MAY_MISALIGN_STMTS.
147 * tree-vect-analyze.c (vect_compute_data_ref_alignment):
148 Update documentation.
149 (vect_update_misalignment_for_peel): New.
150 (vect_enhance_data_refs_alignment): Update to choose loop
151 peeling or loop versioning if appropriate for the (potentially)
152 unaligned data references in the loop.
153 (vect_analyze_data_refs_alignment): Remove call to
154 vect_enhance_data_refs_alignment so the checks can be done
155 earlier.
156 (vect_analyze_loop): Add call to vect_enhance_data_refs_alignment
157 and move up call to vect_analyze_data_refs_alignment.
158 * tree-vect-transform.c (vect_create_cond_for_align_checks): New.
159 (vect_transform_loop): Add call to loop_version.
160
1c653a41
JJ
1612005-09-06 Jakub Jelinek <jakub@redhat.com>
162
163 PR rtl-optimization/23098
164 * cse.c (fold_rtx_mem): Call delegitimize_address target hook.
165 * simplify-rtx.c (constant_pool_reference_p): New function.
166 * rtl.h (constant_pool_reference_p): New prototype.
167 * config/i386/i386.md (pushf split, mov[sdx]f split): Use
168 constant_pool_reference_p in condition and
169 avoid_constant_pool_reference in preparation statements.
170
70a640af
AK
1712005-09-06 Andreas Krebbel <krebbel1@de.ibm.com>
172
173 * gcse.c (try_replace_reg): Disallow REG_EQUAL notes for
174 STRICT_LOW_PART SETs.
175
fc781ee0
AM
1762005-09-06 Alan Modra <amodra@bigpond.net.au>
177
178 PR middle-end/21460
179 * except.c (sjlj_emit_function_enter): Find the function begin
180 note even when it's not in first basic block.
181
67da1534
KC
1822005-09-06 Kelley Cook <kcook@gcc.gnu.org>
183
184 * acinclude.m4: Renamed from aclocal.m4. Delete AM_LANGINFO_CODESET,
185 AM_PROG_CC_C_O, and AM_AUX_DIR_EXPAND.
186 * aclocal.m4: Regenerate.
187
dc019eb8
DD
1882005-09-05 DJ Delorie <dj@redhat.com>
189
190 * config/m32c/m32c.h (TRAMPOLINE_ALIGNMENT): Correct misspelling
191 of macro.
192
57b51d4d
KH
1932005-09-06 Kazu Hirata <kazu@codesourcery.com>
194
195 * gimplify.c, ipa-prop.h, varasm.c, config/vxlib.c,
196 config/vxworks.h, config/crx/crx.c, config/ms1/ms1.c,
197 config/ms1/ms1.md, config/rs6000/rs6000.c: Fix comment typos.
198 Follow spelling conventions.
199 * doc/invoke.texi: Follow spelling conventions.
200
bf877a76
R
2012005-09-05 J"orn Rennecke <joern.rennecke@st.com>
202
203 * rtl.h (gen_frame_mem, gen_tmp_stack_mem): Declare.
204 * emit-rtl.c (gen_frame_mem, gen_tmp_stack_mem): New functions.
205 * builtins.c (expand_builtin_return_addr): Use gen_frame_mem.
206
57d38024
R
2072005-09-05 J"orn Rennecke <joern.rennecke@st.com>
208
209 PR target/23683
210 * sh.c (sh_reorg, emit_load_ptr): Use gen_const_mem.
211 (output_stack_adjust): Use gen_tmp_stack_mem.
212 (sh_expand_prologue, sh_expand_epilogue): Use gen_frame_mem.
213 (sh_set_return_address, sh_allocate_initial_value): Likewise.
214 (sh_get_pr_initial_val): Likewise.
215 (sh_builtin_saveregs): Use gen_frame_mem and change_address.
216 (sh_initialize_trampoline): Likewise. Also use adjust_address.
217 * sh.md (divsi_inv_m0): Use gen_const_mem.
218 (push_fpscr, pop_fpscr, load_ra): Use gen_frame_mem.
219 (movdf_i4+1): Use gen_tmp_stack_mem.
220 (reload_outdf+3, reload_outdf+4, fpu_switch+1): Use change_address.
221 (fpu_switch+2): Likewise.
222 (movv4sf_i, movv16sf_i): Use adjust_address.
223 (symGOT_load): Set MEM_NOTRAP_P bit.
224
1c9ef36d
JDA
2252005-09-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
226
227 PR target/23721
228 * pa.c (emit_move_sequence): Fix typo in last change.
229
7a6b7528
JJ
2302005-09-03 Jakub Jelinek <jakub@redhat.com>
231
232 PR rtl-optimization/23454
233 * reorg.c (relax_delay_slots): Only call invert_jump if any_condjump_p
234 is true.
235
7c95bbfb
RH
2362005-09-03 Richard Henderson <rth@redhat.com>
237 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
238
239 PR middle-end/23671
800dd123 240 * pa.c (emit_move_sequence): Use replace_equiv_address instead of
7c95bbfb
RH
241 gen_rtx_MEM.
242
b107d743
NP
2432005-09-02 Nicolas Pitre <nico@cam.org>
244
245 * config/arm/arm.c (arm_legitimize_address): Limit the value passed
246 to bit_count to 32 bits.
247
a38578e1
MM
2482005-08-31 Mark Mitchell <mark@codesourcery.com>
249
250 PR c++/23167
251 * gimplify.c (gimplify_expr): Handle TREE_ADDRESSABLE types when
252 generating synthetic loads from volatile lvalues.
253
ebf178cd
NC
254005-09-02 Nick Clifton <nickc@redhat.com>
255
256 * config/stormy16/stormy16-lib2.c (__popcounthi2, __parityhi2,
257 __ctzhi2, __clzhi2): New functions.
258
9bf777ee
AP
2592005-09-02 Andrew Pinski <pinskia@physics.uc.edu>
260
261 PR middle-end/23547
262 * tree-nested.c (struct var_map_elt): Mark with GTY.
263 (struct nesting_info): Mark with GTY. Mark var_map's param is struct
264 var_map_elt.
265 (lookup_field_for_decl): Allocate new element in GC memory.
266 (lookup_tramp_for_decl): Likewise.
267 (convert_nl_goto_reference): Likewise
268 (create_nesting_tree): Allocate info in GC memory. Likewise for
269 info->var_map.
270 (free_nesting_tree): Free with ggc_free instead of free.
271 (root): New static variable.
272 (lower_nested_functions): Remove root as local variable. And zero out
273 root at the end of the function.
274
f805670f
R
2752005-09-02 J"orn Rennecke <joern.rennecke@st.com>
276
277 PR rtl-optimization/20365
278 * simplify-rtx.c (simplify_plus_minus_op_data): Change type of neg
279 to short. New member ix.
280 (simplify_plus_minus_op_data_cmp): Break ties using ix member.
281 (simplify_plus_minus): Initialize ix members before calling qsort.
282
b8c4f9a4
ZD
2832005-09-02 Zdenek Dvorak <dvorakz@suse.cz>
284
285 PR tree-optimization/23626
286 * tree-cfg.c (replace_uses_by): Clean up eh info.
287
73eb8cb6
DD
2882005-09-01 DJ Delorie <dj@redhat.com>
289
290 * config/m32c/m32c.c (m32c_valid_pointer_mode): Remove stray debug
291 fprintf.
292
13e2e16e
DE
2932005-09-01 David Edelsohn <edelsohn@gnu.org>
294
295 * config/rs6000/rs6000.c (setup_incoming_varargs): Set MEM_NOTRAP_P.
296 (rs6000_split_multireg_move): Use replace_equiv_address instead of
297 gen_rtx_MEM.
298
52d09157
CR
2992005-09-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
300
301 * c-decl.c (diagnose_mismatched_decls): With -Wredundant-decls,
302 do not issue warning for a variable definition following
303 a declaration.
304
277fc67e
RH
3052005-09-01 Richard Henderson <rth@redhat.com>
306
307 PR 23668
308 * config/i386/i386.c (ix86_expand_vector_init_one_var): Restore
309 conversion to CONST_VECTOR.
310
e3947b34
RH
3112005-09-01 Richard Henderson <rth@redhat.com>
312
313 PR 23676
314 * reload1.c (reload_as_needed): Check !CALL_P before calling
315 fixup_eh_region_note.
316 * rtlanal.c (may_trap_p): SUBREG by itself cannot trap.
317
056061d8
DD
3182005-09-01 DJ Delorie <dj@redhat.com>
319
320 * varasm.c (output_constant): Let the target resolve
321 conversions of addresses to non-default pointer sizes.
322
86805759
NP
3232005-09-01 Nicolas Pitre <nico@cam.org>
324
325 * config/arm/arm.c (arm_legitimize_address): Split absolute addresses
326 to alow matching ARM pre-indexed addressing mode.
327 (arm_override_options): Remove now irrelevant comment.
328
d442d7d9
PE
3292005-09-01 Phil Edwards <phil@codesourcery.com>
330
331 * config.gcc (i*86-wrs-vxworks): Update. Split out vxworksae target.
332 * config/i386/t-vxworks: Update multilibs for VxWorks 6 and RTP mode.
333 * config/i386/vxworks.h: Likewise.
334 * config/i386/t-vxworksae: New file, for VxWorks AE.
335 * config/i386/vxworksae.h: Likewise.
336
ab02cc4e
SP
3372005-09-01 Sebastian Pop <pop@cri.ensmp.fr>
338
339 PR tree-optimization/23410
340 * tree-ssa-loop-niter.c (scev_probably_wraps_p): Check that the
341 sequence is not wrapping during the first step.
342
ac156e91
JJ
3432005-09-01 Jakub Jelinek <jakub@redhat.com>
344
345 PR debug/7241
346 * dwarf2out.c (base_type_die): Compare char_type_node with
347 TYPE_MAIN_VARIANT (type), not type.
348
355866de
RG
3492005-09-01 Richard Guenther <rguenther@suse.de>
350
351 PR tree-optimization/15366
352 * common.opt: Add -finline-functions-called-once.
353 Put -fearly-inlining in alphabetically ordered place.
354 * doc/invoke.texi: Document new option.
355 * ipa-inline.c (cgraph_decide_inlining): Honour
356 flag_inline_functions_called_once.
357
95c37cdb
JJ
3582005-09-01 Jakub Jelinek <jakub@redhat.com>
359
360 PR rtl-optimization/23478
361 * local-alloc.c (struct qty): Add n_throwing_calls_crossed field.
362 (alloc_qty): Initialize it.
363 (update_equiv_regs): Clear REG_N_THROWING_CALLS_CROSSED.
364 (combine_regs): Combine also n_throwing_calls_crossed fields.
365 (find_free_reg): Don't attempt to caller-save pseudos crossing
366 calls that might throw.
367 * global.c (struct allocno): Add throwing_calls_crossed field.
368 (global_alloc): Revert 2005-08-22 change. Initialize
369 throwing_calls_crossed.
370 (find_reg): Don't attempt to caller-save pseudos crossing calls that
371 might throw.
372
1990cd79
AM
3732005-09-01 Alan Modra <amodra@bigpond.net.au>
374
375 PR target/23649
376 * config/rs6000/predicates.md (mask_operand): Only handle rlwinm masks.
377 (mask64_operand): Reinstate code prior to 2005-06-11 change.
378 (mask64_2_operand): Reinstate code prior to 2004-11-11 change.
379 (and64_2_operand): Tweak to use predicate.
380 (and_operand): Adjust for mask_operand changes.
381 * config/rs6000/rs6000.c (num_insns_constant): Revert 2005-06-11.
382 (print_operand): Likewise.
383 (rs6000_rtx_costs): Pass mode to mask_operand and use mask64_operand.
384 (mask64_1or2_operand): Delete.
385 * rs6000/rs6000-protos.h (mask64_1or2_operand): Delete.
386 * config/rs6000/rs6000.h (EXTRA_CONSTRAINT <S>): Revert 2005-06-11.
387 (EXTRA_CONSTRAINT <T>): Pass operand mode to predicate.
388 (EXTRA_CONSTRAINT <t>): Disallow mask64_operand matches.
389 * config/rs6000/rs6000.md (andsi3_internal3 split): Revert 2005-06-11.
390 (rotldi3_internal4): Likewise.
391 (rotldi3_internal5, rotldi3_internal5 split): Likewise.
392 (rotldi3_internal6, rotldi3_internal6 split): Likewise.
393 (ashldi3_internal7): Likewise.
394 (ashldi3_internal8, ashldi3_internal8 split): Likewise.
395 (ashldi3_internal, ashldi3_internal9 split): Likewise.
396 (anddi3 split): Don't match mask64_operand.
397 (anddi3_internal2): Add rlwinm. Modify 't' splitter predicate.
398 (anddi3_internal3): Add rlwinm. Use and64_2_operand in non-cr0
399 splitter and match TARGET_64BIT not TARGET_POWERPC64. Modify
400 't' splitter predicate.
401 (movdi_internal64 + 2): Revert 2005-06-11 change.
402
e9555b13
DD
4032005-08-31 DJ Delorie <dj@redhat.com>
404
405 * config/m32c/m32c.c (m32c_valid_pointer_mode): New.
406 (m32c_asm_integer): Add support for 32 bit pointers.
407
8476af98
RH
4082005-08-31 Richard Henderson <rth@redhat.com>
409
410 * emit-rtl.c (set_mem_attributes_minus_bitpos): Look through
411 component-like references for setting MEM_NOTRAP_P.
412
413 * config/i386/i386.c (ix86_setup_incoming_varargs): Set MEM_NOTRAP_P.
414 * config/alpha/alpha.c (alpha_setup_incoming_varargs): Likewise.
415
0fd662ee
RH
4162005-08-31 Richard Henderson <rth@redhat.com>
417
418 * expr.c (expand_expr_real_1) <VIEW_CONVERT_EXPR>: Force subregs
419 into a pseudo before applying gen_lowpart.
420
960ac6e1
GK
4212005-08-31 Geoffrey Keating <geoffk@apple.com>
422
423 * doc/install.texi (Specific): Update cctools version required
424 for full functionality.
425 * config/darwin.h (LINK_SPEC): Pass -mmacosx-version-min to the
426 linkers as -macosx_version_min.
427
4802062c
R
4282005-08-31 J"orn Rennecke <joern.rennecke@st.com>
429
430 PR target/21255
431 * sh.c (print_operand, %R and %S): Add handling of floating point
432 registers, memory, constants and invalid operands.
433
d4feded7
DB
4342005-08-31 Daniel Berlin <dberlin@dberlin.org>
435
436 * ipa-pure-const.c: Change dump name.
437
d16093fd
UB
4382005-08-31 Uros Bizjak <uros@kss-loka.si>
439
440 PR target/23570
441 * config/i386/sse.md (*sse_concatv2sf): Change operand 2 constraint
442 to "reg_or_0_operand".
443 (sse2_loadld): Change operand 1 constraint to "reg_or_0_operand".
444
c9eb8097
DJ
4452005-08-31 Dale Johannesen <dalej@apple.com>
446
447 * loop-iv.c (iv_number_of_iterations): Fix overflow check for
448 loops that count down.
449
be0c514c
RH
4502005-08-31 Richard Henderson <rth@redhat.com>
451
35210087 452 PR rtl-opt/23601
be0c514c
RH
453 * reload1.c (reload): Set MEM_NOTRAP_P in spill slots.
454 (fixup_eh_region_note): New.
455 (reload_as_needed): Call it.
456 (fixup_abnormal_edges): Allow all throwing insns to be deleted;
457 don't call find_many_sub_basic_blocks; call verify_flow_info.
458 * function.c (assign_stack_local_1): Set MEM_NOTRAP_P.
459 (keep_stack_depressed): Likewise.
460 (assign_stack_temp_for_type): Likewise; use adjust_address_nv.
461
5d3018ce
RH
4622005-08-31 Richard Henderson <rth@redhat.com>
463
464 * config/i386/i386.c (ix86_function_ok_for_sibcall): Fix test for
465 fp return matching.
466
dc38a610
FJ
4672005-08-31 Fariborz Jahanian <fjahanian@apple.com>
468
469 * expr.c (expand_expr_real_1): Compare size of address
470 mode to target's address mode size in deciding expansion of
471 the constant address.
472
c5250139
RG
4732005-08-31 Richard Guenther <rguenther@suse.de>
474
475 PR middle-end/23477
476 * expr.c (all_zeros_p): New function.
477 (expand_expr_real_1): Handle the case of an all-zero
478 non-addressable constructor separately.
479
ab173928
AS
4802005-08-31 Adrian Straetling <straetling@de.ibm.com>
481
482 * builtins.c: (expand_builtin_strcpy, expand_builtin_strcat): Change
483 arguments, adjust all callers.
484 (expand_builtin_strcat): Rewrite to call strcpy instead of mempcpy.
485
fabaaf36
RH
4862005-08-30 Richard Henderson <rth@redhat.com>
487
488 PR target/23630
489 * expr.c (expand_expr_real_1) <VIEW_CONVERT_EXPR>: Use gen_lowpart
490 whenever the mode sizes match.
491
40b0345d
AM
4922005-08-31 Alan Modra <amodra@bigpond.net.au>
493
494 * calls.c (load_register_parameters): Fix comment typo.
495 * expr.c (emit_push_insn): Comment formatting.
496
c2e493dc
ILT
4972005-08-30 Ian Lance Taylor <ian@airs.com>
498
499 * config/i386/x-cygwin (host-cygwin): Change dependency from
500 hosthooks-def.h to $(HOSTHOOKS_DEF_H).
501
9fc5fa7b
GK
5022005-08-29 Geoffrey Keating <geoffk@apple.com>
503
504 * config/i386/i386.c (ix86_expand_vector_init_one_var): Don't modify
505 parts of 'vals'.
506
f471f0fc 5072005-08-29 Andrew Pinski <pinskia@physics.uc.edu>
57247f4b
AP
508
509 PR middle-end/23408
510 * ipa-inline.c (cgraph_decide_inlining_incrementally): Remove the
511 call to ggc_collect.
512
f471f0fc 5132005-08-29 Paolo Bonzini <bonzini@gnu.org>
3a6ebcdc
PB
514
515 PR bootstrap/21268
516 * Makefile.in (ALL_CPPFLAGS): Include $(INCLUDES) at the
517 beginning. Remove $(INCLUDES) from all the rules, if following
518 $(ALL_CPPFLAGS) or $(BUILD_CPPFLAGS).
519
f28d3046
JJ
5202005-08-29 Jakub Jelinek <jakub@redhat.com>
521
522 PR middle-end/23484
523 * builtins.c (fold_builtin_memory_chk, fold_builtin_stxcpy_chk,
524 fold_builtin_strncpy_chk, fold_builtin_snprintf_chk): If len is
525 not constant, but maxlen is, don't set len to maxlen, rather
526 set maxlen to len if len is a constant.
527
37261a5c
ZD
5282005-08-29 Zdenek Dvorak <dvorakz@suse.cz>
529
530 PR tree-optimization/23475
531 * tree-ssa-loop-ivcanon.c (remove_empty_loop): Update frequencies
532 and counts.
533
46c5394b
DB
5342005-08-28 Daniel Berlin <dberlin@dberlin.org>
535
536 Fix PR middle-end/22455
537
538 * fold-const.c (fold_checksum_tree): Adjust for now-largest tree size.
539 Checksum only the parts of the tree that exist for the tree code.
540
ea407814
DJ
5412005-08-28 Dale Johannesen <dalej@apple.com>
542
543 * config/i386/i386.c (nocona_cost): Increase MOVE_RATIO.
544
87e71ff4
AP
5452005-08-28 Andrew Pinski <pinskia@physics.uc.edu>
546
547 * tree-vrp.c: Remove obsolete comment in front of vrp_initialize.
548
490272b4
RH
5492005-08-28 Richard Henderson <rth@redhat.com>
550
551 * stor-layout.c (finalize_type_size): Revert workaround from 08-26.
552 * tree.c (make_node_stat): Use BITS_PER_UNIT instead of alignment
553 of char_type_node.
554
a6017253
JJ
5552005-08-28 Jakub Jelinek <jakub@redhat.com>
556
557 PR ada/23593
558 * builtins.c (get_memory_rtx): Don't strip nops
559 in between COMPONENT_REFs.
560
412f8986
AP
5612005-08-27 Andrew Pinski <pinskia@physics.uc.edu>
562
563 PR middle-end/23463
564 * gimplify.c (gimplify_modify_expr_rhs): Remove check for zero sized
565 types.
566 (gimplify_modify_expr): Check for zero sized types and gimplify the
567 rhs and lhs as statements.
568
147a8fb1
JDA
5692005-08-27 John David Anglin <dave.anflin@nrc-cnrc.gc.ca>
570
571 PR libgcj/23508
572 * pa/linux-unwind.h (pa32_fallback_frame_state): Use r0 slot in frame
573 state for return address column of signal frames.
574
ec53fc93
DE
5752005-08-27 David Edelsohn <edelsohn@gnu.org>
576
577 PR target/23539
fabaaf36
RH
578 * config/rs6000/rs6000.c (expand_block_clear): Use HImode when
579 bytes >= 2 not bytes == 2.
ec53fc93
DE
580 (expand_block_move): Same.
581
f013cadc
RG
5822005-08-27 Richard Guenther <rguenther@suse.de>
583
584 PR target/23575
585 * config/i386/sse.md (sse2_movsd): Add missing closing
586 braces.
587
0cd6c85a
PB
5882005-08-27 Paul Brook <paul@codesourcery.com>
589
590 * genrecog.c (enum decision_type): Add DT_num_insns.
591 (struct decision_test): Add u.num_insns.
592 (add_to_sequence): Add DT_num_insns test.
593 (maybe_both_true_2, nodes_identical_1): Handle DT_num_insns.
594 (write_cond, debug_decision_2): Ditto.
595 (change_state): Assume peep2_next_insn never fails.
596 Remove "afterward" argument.
597 (write afterward, write_tree): Update to match.
598 * recog.c (peep2_current_count): New variable.
599 (peep2_next_insn): Check it.
600 (peephole2_optimize): Set peep2_current_count.
601 * recog.h (peep2_current_count): Declare.
602
1b0d2d17
JC
6032005-08-26 Josh Conner <jconner@apple.com>
604
605 PR middle-end/23584
606 * ipa-pure-const.c (check_tree): Check for volatile-ness
607 when considering a dereference.
608
24b7d7c3
JJ
6092005-08-27 Jakub Jelinek <jakub@redhat.com>
610
611 * rtl.h (MEM_IN_STRUCT_P): Fix comment typo.
612
435bb2a1
JJ
6132005-08-26 Jakub Jelinek <jakub@redhat.com>
614
615 PR rtl-optimization/23561
616 * builtins.c (get_memory_rtx): Add LEN argument. If MEM_EXPR is
617 a COMPONENT_REF, remove all COMPONENT_REF from MEM_EXPR unless
618 at most LEN bytes long memory fits into the field.
619 (expand_builtin_memcpy, expand_builtin_mempcpy, expand_movstr,
620 expand_builtin_strncpy, expand_builtin_memset, expand_builtin_memcmp,
621 expand_builtin_strcmp, expand_builtin_strncmp): Adjust callers.
622
52e772ba
RH
6232005-08-26 Richard Henderson <rth@redhat.com>
624
625 PR rtl-opt/23560
626 * loop.c (biased_biv_may_wrap_p): New.
627 (maybe_eliminate_biv_1): Use it to suppress non-equality
628 comparison transformations. Delete disabled code.
629
8f34bde6
ILT
6302005-08-26 Ian Lance Taylor <ian@airs.com>
631
632 * combine.c (make_extraction): Avoid reference outside object.
633
d6cde480
R
6342005-08-26 J"orn Rennecke <joern.rennecke@st.com>
635
636 * stor-layout.c (finalize_type_size): Restore behaviour for
637 non-aggregate types to the status quo ante of the patch for
638 pr 23467. Document why it matters.
639
39627fed
JJ
6402005-08-26 Jakub Jelinek <jakub@redhat.com>
641
642 PR c/23506
643 * c-common.c (c_common_nodes_and_builtins): Increase builtin_types
644 array by one element, initialize the BT_LAST element with NULL.
645
297abd0d
DE
6462005-08-26 David Edelsohn <edelsohn@gnu.org>
647
648 * config/rs6000/rs6000.md (eq<mode>_compare): Only enable when
649 optimizing for size.
650 (plus_eqsi): Same.
651 (compare_plus_eqsi): Same.
652 (plus_eqsi_compare): Same.
653 (neg_eq0<mode>): Same.
654 (neg_eq<mode>): Same.
655
656 * config/rs6000/aix52.h (PROCESSOR_DEFAULT): Change to
657 PROCESSOR_POWER4.
658
2ec6cd51
NC
6592005-08-26 Nick Clifton <nickc@redhat.com>
660
661 * config/v850/v850.c (ep_memory_operand): Return FALSE if
662 TARGET_EP is not defined.
663 * config/v850/c850.h (TARGET_CPU_CPP_BUILTINS): Define __EP__ if
664 TARGET_EP is enabled.
665 (OPTIMIZATION_OPTIONS): Do not define MASK_EP when optimizing.
666 * config/v850/v850.md (save_all_interrupt): Only use the EP
667 register if TARGET_EP is defined.
668 (restore_all_interrupt): Likewise.
669 * config/v850/lib1funcs.asm: Update functions so that the EP
670 register is only used if __EP__ is defined.
671
e296c00c
DU
6722005-08-26 David Ung <davidu@mips.com>
673
674 * config/mips/mips.c (mips_expand_prologue): Handle case when
675 generating for MIPS16 and the outgoing argument area is more than
676 SMALL_OPERAND. Use the frame pointer as temporary to generate the
677 add instruction.
678
55d61dba
PW
6792005-08-26 Paul Woegerer <paul.woegerer@nsc.com>
680
681 * config/crx/crx.md: Make doloop_end pattern usage controllable
682 via mloop-nesting=<max-nesting> command line switch. Make sure
683 the combiner cannot use doloop_end_<mode> in an illegal way.
684 * config/crx/crx.c: Use regs up to r6 for argument passing.
685 Refine crx_address_cost (non cst4 displacements are expensive).
686 * config/crx/crx.opt: Add switch for mloop-nesting=.
687
742090fc
AS
6882005-08-26 Adrian Straetling <straetling@de.ibm.com>
689
690 * config/s390/s390.md: ("movstr", "*movstr"): Add patterns.
691 (UNSPEC_MVST): New constant.
692
db21e1d0
AK
6932005-08-26 Andreas Krebbel <krebbel1@de.ibm.com>
694
695 * config/s390/predicates.md ("shift_count_operand", "setmem_operand"):
696 Reject operands containing eliminable registers.
697 * testsuite/gcc.dg/20050825-1.c: New testcase.
698
0621d71a
PB
6992005-08-24 Paolo Bonzini <bonzini@gnu.org>
700 Jan Hubicka <jh@suse.cz>
701
702 * regmove.c (reg_is_remote_constant_p): Reorganize to not use log links.
703
e2889823
PB
7042005-08-24 Paolo Bonzini <bonzini@gnu.org>
705
706 PR tree-optimization/23546
707 * tree-ssa-loop-im.c (for_each_index): Handle INTEGER_CST
708 and REAL_CST nodes.
709
6f48c21a
PS
7102005-08-24 Pete Steinmetz <steinmtz@us.ibm.com>
711
712 * params.def (PARAM_MIN_SPEC_PROB): New.
713 * sched-rgn.c (MIN_PROBABILITY): Delete.
714 (compute_trg_info): Convert to PARAM_VALUE.
715 * doc/invoke.texi (param): Document min-spec-prob.
716
1a1e6a9d
FJ
7172005-08-24 Fariborz Jahanian <fjahanian@apple.com>
718
719 * config/darwin.h: define __PIC__
720 * config/rs6000/darwin.h: Add SUBTARGET_OS_CPP_BUILTINS to
721 TARGET_OS_CPP_BUILTINS macro.
722
130869aa
PB
7232005-08-24 Paolo Bonzini <bonzini@gnu.org>
724
725 * config/rs6000/rs6000.md: Fix thinko in the peephole2 I added
726 yesterday.
727
b9a66240
ZD
7282005-08-24 Zdenek Dvorak <dvorakz@suse.cz>
729
730 * bb-reorder.c (copy_bb, duplicate_computed_gotos): Add argument
731 to duplicate_block.
732 * cfghooks.c (duplicate_block): Added position where to place
733 new block as argument.
734 * cfghooks.h (duplicate_block): Declaration changed.
735 * cfglayout.c (copy_bbs): Add argument after. Pass it to
736 duplicate_block.
737 * cfglayout.h (copy_bbs): Declaration changed.
738 * cfgloop.h (loop_version): Declaration changed.
739 * cfgloopmanip.c (duplicate_loop_to_header_edge): Pass
740 position to copy_bbs.
741 (loop_version): Pass position to duplicate_loop_to_header_edge.
742 Add place_after argument and position new blocks according to
743 it.
744 * modulo-sched.c (sms_schedule): Pass place_after argument
745 to loop_version.
746 * tracer.c (tail_duplicate): Pass argument to duplicate_block.
747 * tree-cfg.c (split_edge_bb_loc): New function.
748 (tree_split_edge, tree_duplicate_sese_region): Use split_edge_bb_loc
749 to determine position of new blocks.
750 * tree-ssa-loop-unswitch.c (tree_unswitch_loop): Pass argument
751 to loop_version.
752 * tree-ssa-threadupdate.c (create_block_for_threading): Pass
753 argument to duplicate_block.
754 * tree-vectorizer.c (slpeel_tree_duplicate_loop_to_edge_cfg):
755 Pass position to copy_bbs.
756
87de2376
ZD
7572005-08-24 Zdenek Dvorak <dvorakz@suse.cz>
758
759 * fold-const.c (ptr_difference_const): Use
760 cst_and_fits_in_hwi instead of host_integerp.
761
14a07c92
PB
7622005-08-24 Paolo Bonzini <bonzini@gnu.org>
763
764 * config/darwin.c (gen_pic_offset): New.
765 (machopic_indirect_data_reference, machopic_legitimize_pic_address):
766 Use it.
767
d49195a3
ZD
7682005-08-23 Zdenek Dvorak <dvorakz@suse.cz>
769
770 PR tree-optimization/23486
771 * tree-ssa-loop.c (pass_scev_cprop): Add TODO_update_ssa_only_virtuals.
772
2eab15c9
PE
7732005-08-23 Phil Edwards <phil@codesourcery.com>
774
775 * config.gcc (*-*-vxworks*): Update tm_file, add extra_options,
776 remove use_collect2.
777 (powerpc-wrs-vxworks): Update, split out *-*-vxworksae target.
778
779 * target-def.h (TARGET_HAVE_CTORS_DTORS): Allow target
780 configuration files to override the default value.
781
782 * config/t-vxworks: Remove INSTALL_ASSERT_H. Define STMP_FIXPROTO,
783 EXTRA_HEADERS, and EXTRA_MULTILIB_PARTS.
784 * config/vx-common.h: New file, split out from...
785 * config/vxworks.h: here. Update for VxWorks 6.x and RTP mode.
786 * config/vxworksae.h: New file, for VxWorks AE.
787 * config/vxworks.opt: New file.
788 * config/vxlib.c: Update for VxWorks 6.
789
790 * config/rs6000/t-vxworks (MULTILIB_OPTIONS): New list. Adjust
791 other MULTILIB_* variables appropriately.
792 (LIB2FUNCS_EXTRA, EXTRA_MULTILIB_PARTS): Correct from t-ppccomm.
793 * config/rs6000/t-vxworksae: New file, adjust multilibs for AE.
794 * config/rs6000/vxworks.h: Update for VxWorks 6.
795 * config/rs6000/vxworksae.h: New file, mostly placeholder for now.
796
2501b167
AP
7972005-08-23 Andrew Pinski <pinskia@physics.uc.edu>
798
799 PR target/20799
800 * config/darwin.c (machopic_select_section): Remove the hack to
801 mark "::operator new" and "::operator delete" for coalescing
802 even though they are not weak.
803
d82bf747
AM
8042005-08-24 Alan Modra <amodra@bigpond.net.au>
805
806 * configure.ac (HAVE_LD_NO_DOT_SYMS): Set for powerpc-linux biarch.
807 * configure: Regenerate.
808
4d3c798d
PB
8092005-08-23 Paolo Bonzini <bonzini@gnu.org>
810
811 PR middle-end/23517
812 * fold-const.c (fold_convert): Use VIEW_CONVERT_EXPR to convert
813 between vectors.
814 * convert.c (convert_to_integer, convert_to_vector): Likewise.
815 * tree-vect-generic.c (tree_vec_extract, expand_vector_operations_1):
816 Likewise.
817
28d0e143
PB
8182005-08-23 Paolo Bonzini <bonzini@gnu.org>
819
820 * config/rs6000/predicates.md (equality_operator): New.
821 * config/rs6000/rs6000.md: Rewrite as a peephole2 the split for
822 comparison with a large constant.
823
6194fd98
MM
8242005-08-23 Mark Mitchell <mark@codesourcery.com>
825
826 * hwint.h (HOST_WIDE_INT_PRINT): Use HOST_LONG_LONG_FORMAT.
827
39d67d5b
R
8282005-08-23 J"orn Rennecke <joern.rennecke@st.com>
829
a11c004b
R
830 * sh.c (sh_builtin_saveregs): If the number of to-be-saved fp
831 registers is even, and we have a hardware double precision fp,
832 align the buffer.
833 (sh_gimplify_va_arg_expr): For floating point arguments, consider
834 size of current argument when checking if argument was passed in
835 registers.
836
837 * sh.c (sh_attr_renesas_p): Handle error_mark_node.
838
39d67d5b
R
839 PR middle-end/23467
840 * stor-layout.c (finalize_type_size): Dont override
841 existing alignment with a smaller alignment from the mode.
842
37b8a73b
SP
8432005-08-23 Sebastian Pop <pop@cri.ensmp.fr>
844
845 * lambda-code.c (lambda_vector_lexico_pos): Moved...
846 * lambda.h (lambda_vector_lexico_pos): ... here.
847 * tree-data-ref.c (build_classic_dist_vector): Return false when
848 the distance vector is lexicographically negative.
849
ce8f9416
SP
8502005-08-23 Sebastian Pop <pop@cri.ensmp.fr>
851
852 PR tree-optimization/23511
853 * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined): Don't
854 handle cases where TYPE_MIN_VALUE or TYPE_MAX_VALUE are NULL_TREE.
855
73ed17ff
JJ
8562005-08-23 Jakub Jelinek <jakub@redhat.com>
857
858 PR tree-optimization/22043
859 * tree.h (count_type_elements): Add ALLOW_FLEXARR argument.
860 * expr.c (count_type_elements): Add ALLOW_FLEXARR argument.
861 If ALLOW_FLEXARR, handle types ending with flexible array member.
862 Pass false as second argument to recursive count_type_elements calls.
863 (categorize_ctor_elements_1, mostly_zeros_p): Pass false as second
864 argument to count_type_elements call.
865 * tree-sra.c (decide_block_copy): Likewise.
866 * gimplify.c (gimplify_init_constructor): If num_type_elements < 0
867 for a constant-sized object, set cleared as well. Pass true as
868 second argument to count_type_elements call.
869
18b10a72
AM
8702005-08-23 Alan Modra <amodra@bigpond.net.au>
871
872 PR target/21571
873 * config/rs6000/rs6000.c (rs6000_legitimate_small_data_p): Rename
874 from legitimate_small_data_p, and make global. Update use.
875 Remove forward declaration.
876 * config/rs6000/rs6000-protos.h (rs6000_legitimate_small_data_p):
877 Declare.
878 * config/rs6000/rs6000.md (movdf_hardfloat32): Allow small data mems.
879
d0515b39
DE
8802005-08-23 David Edelsohn <edelsohn@gnu.org>
881
882 * config/rs6000/rs6000.md (eq<mode>): Use output operand instead
883 of scratch intermediates.
884 (eq<mode>_compare): Same.
885 (neg_eq0<mode>): New.
886 (neg_eq<mode>): Convert to define_insn_and_split.
887
c1fa753e
AM
8882005-08-23 Alan Modra <amodra@bigpond.net.au>
889
890 PR target/23070
891 * config/rs6000/rs6000.c (function_arg): For ABI_V4 calls to
892 stdarg functions, set/clear the fp marker even when no variable
893 args are passed.
894 * config/rs6000/sysv4.opt (mprototype): Describe.
895
27004606
JJ
8962005-08-22 Jakub Jelinek <jakub@redhat.com>
897
898 PR rtl-optimization/23478
899 * regs.h (reg_info): Add throw_calls_crossed.
900 (REG_N_THROWING_CALLS_CROSSED): Define.
901 * flow.c (allocate_reg_life_data): Initialize
902 REG_N_THROWING_CALLS_CROSSED.
903 (propagate_one_insn, attempt_auto_inc): Update
904 REG_N_THROWING_CALLS_CROSSED.
905 * global.c (global_alloc): Don't allocate pseudos across
906 calls that may throw.
907
201ae393
AP
9082005-08-22 Andrew Pinski <pinskia@physics.uc.edu>
909
910 PR c/18715
911 * c-common.c (c_do_switch_warnings): Look for a node where the enum's
912 value is inbetween the range if we did not find an exact match.
913
c85ba4fb
AH
9142005-08-22 Aldy Hernandez <aldyh@redhat.com>
915
916 * doc/invoke.texi (Option Summary): Add ms1 options.
917 * doc/extend.texi: Document interrupt handler attribute for ms1.
918 * doc/md.texi: Document ms1 constraints.
919 * config.gcc: Add ms1-*-elf.
920 * config/ms1/ms1.h: New.
921 * config/ms1/ms1.c: New.
922 * config/ms1/ms1.md: New.
923 * config/ms1/ms1-protos.h: New.
924 * config/ms1/ABI.txt: New.
925 * config/ms1/crti.asm: New.
926 * config/ms1/crtn.asm: New.
927 * config/ms1/lib2extra-funcs.c: New.
928 * config/ms1/t-ms1: New.
929 * config/ms1/ms1.opt: New.
930
70a39602
IR
9312005-08-22 Ira Rosen <irar@il.ibm.com>
932
933 * config/rs6000/altivec.md (xorv4sf3): New.
934 (negv4sf2, neg<mode>2): Likewise.
935
85199961
L
9362005-08-21 H.J. Lu <hongjiu.lu@intel.com>
937
938 PR target/23485
939 * config/ia64/ia64.md (divsi3): Check divide by zero.
940 (udivsi3): Likewise.
941 (divdi3): Likewise.
942 (udivdi3): Likewise.
943
1125164c
JJ
9442005-08-21 Jakub Jelinek <jakub@redhat.com>
945
946 * simplify-rtx.c (simplify_immed_subreg) <case CONST_DOUBLE>: Only clear
947 up to elem_bitsize bits, not max_bitsize.
948
3c0c8f9d
SP
9492005-08-21 Sebastian Pop <pop@cri.ensmp.fr>
950
951 PR tree-optimization/23433
85199961
L
952 * tree-chrec.c (chrec_apply): Translate INTEGER_CST to a
953 REAL_CST when the type is SCALAR_FLOAT_TYPE_P.
3c0c8f9d 954
a1596edc
SP
9552005-08-21 Sebastian Pop <pop@cri.ensmp.fr>
956
957 PR tree-optimization/23434
85199961
L
958 * tree-ssa-loop-niter.c (proved_non_wrapping_p): Give up when
959 the iteration bound is not an INTEGER_CST.
a1596edc 960
429268fc
DN
9612005-08-21 Dorit Nuzman <dorit@il.ibm.com>
962
963 * tree-vect-transform.c (get_initial_def_for_reduction): Set
964 need_epilog_adjust back to false for MIN/MAX case. Set *scalar_def to
965 NULL if need_epilog_adjust is false.
966 (vect_create_epilog_for_reduction): Variable adjust_in_epilog removed.
967 Case 3 always peels first itration, not just for PLUS case, and no need
968 to use scalar_initial_def here. Create an epilog adjustment only if
969 scalar_initial_def is not NULL.
970
971 (vectorizable_reduction): Remove assert.
972
eea1d14a
L
9732005-08-20 H.J. Lu <hongjiu.lu@intel.com>
974
975 PR target/23485
976 * config/ia64/lib1funcs.asm (__divdi3): Check divide by zero.
977 (__moddi3): Likewise.
978 (__udivdi3): Likewise.
979 (__umoddi3): Likewise.
980 (__divsi3): Likewise.
981 (__modsi3): Likewise.
982 (__udivsi3): Likewise.
983 (__umodsi3): Likewise.
984
5e34206b
JJ
9852005-08-20 Jakub Jelinek <jakub@redhat.com>
986
987 * tree-pass.h (TDF_GRAPH): Define.
988 * tree-dump.c (dump_options): Don't set TDF_GRAPH in "all".
989 * passes.c (finish_optimization_passes): Only call
990 finish_graph_dump_file if TDF_GRAPH is set.
991 (execute_one_pass): Only call clean_graph_dump_file if dump_file !=
992 NULL. Set TDF_GRAPH bit.
993 (execute_todo): Call print_rtl_graph_with_bb if TDF_GRAPH is set.
994
2591db65
RE
9952005-08-20 Richard Earnshaw <richard.earnshaw@arm.com>
996
997 * arm.h (arm_stack_offsets): Add locals_base field.
998 * arm.c (arm_get_frame_offsets): Compute it.
999 (thumb_compute_initial_elimination offset): Make the Thumb frame
1000 pointer point to the base of the local variables.
1001 (thumb_expand_prologue): Update accordingly.
1002 (thumb_expand_epilogue): Likewise.
1003
1004 * arm.md (thumb_movhi_clobber): Make this insn a define_expand. Change
1005 mode of clobbered scratch to DImode. Handle a case that's known to
1006 need this.
1007
fc437ce9
DE
10082005-08-19 David Edelsohn <edelsohn@gnu.org>
1009
1010 * config/rs6000/rs6000.md (gt0<mode>): Delete.
1011 (gt0<mode>_compare): Delete.
1012 (neg_gt0<mode>): Delete.
1013
c414ac1d
EC
10142005-08-19 Eric Christopher <echristo@apple.com>
1015
1016 * optabs.h: Change CTI_ to COI_.
1017 * optabs.c: Ditto.
1018
c8f27794
JW
10192005-08-19 James E Wilson <wilson@specifix.com>
1020
1021 * builtins.c (expand_builtin_return_addr): Set
1022 current_function_accesses_prior_frames when count != 0. Use
1023 frame_pointer_rtx when count == 0.
1024 * function.h (struct function): Add accesses_prior_frames field.
1025 (current_function_accesses_prior_frames): Define.
1026 * reload1.c (init_elim_table): Check
1027 current_function_accesses_prior_frames.
1028 * doc/tm.texi (INITIAL_FRAME_ADDRESS_RTX): Update docs.
1029
e3594cb3
DN
10302005-08-19 Diego Novillo <dnovillo@redhat.com>
1031
1032 * tree-cfgcleanup.c (cleanup_tree_cfg): Fix flowgraph change
1033 indicator. Return true if the flowgraph changed during
1034 cleanup.
1035
52270a3c
DN
10362005-08-19 Diego Novillo <dnovillo@redhat.com>
1037
1038 PR 23476
1039 * tree-cfgcleanup.c (cleanup_control_expr_graph): Fold the
1040 conditional expression before testing its value.
1041
5c1c631e
DN
10422005-08-19 Diego Novillo <dnovillo@redhat.com>
1043
1044 * doc/invoke.texi: Fix documentation for -ftree-dominator-opts.
1045
3d91803a
DP
10462005-08-19 Devang Patel <dpatel@apple.com>
1047
1048 PR tree-optimization/23048
1049 * tree-if-conv.c (if_convertible_bb_p): Supply basic_block as
1050 third parameter. Check whether latch is dominated by exit
1051 block or not.
1052 (if_convertible_loop_p): Supply exit block itself to
1053 if_convertible_bb_p.
c414ac1d 1054
e55ef7f4
RE
10552005-08-19 Richard Earnshaw <richard.earnshaw@arm.com>
1056
1057 PR target/23473
1058 * arm.md (arm_load_pic_register): Change argument to the mask of
c414ac1d 1059 saved registers. Call thumb_find_work_register if we need a
e55ef7f4 1060 scratch register on Thumb.
c414ac1d 1061 (arm_expand_prologue): Pass empty register set to
e55ef7f4
RE
1062 arm_load_pic_register.
1063 (thumb_expand_prologue): Pass live_regs_mask directly to
1064 arm_load_pic_register.
1065 * arm-protos.h (arm_load_pic_register): Update prototype.
1066
d102596b
JR
10672005-08-19 J"orn Rennecke <joern.rennecke@st.com>
1068
1069 * sh.c (find_sole_member): New function.
1070 (sh_gimplify_va_arg_expr): Use it. Allow RECORD_TYPE mode mismatch
1071 if the record's alignment is larger than the size of its only member.
1072
a132dad6
RE
10732005-08-19 Richard Earnshaw <richard.earnshaw@arm.com>
1074
1075 PR target/23436
1076 * arm.c (thumb_legitimize_reload_address): New function.
1077 * arm-protos.h (thumb_legitimize_reload_address): Add prototype.
1078 * arm.h (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Call it.
1079
4221d00a
PW
10802005-08-19 Paul Woegerer <paul.woegerer@nsc.com>
1081
1082 * config/crx/crx.c: Implement crx_decompose_address. Reject
1083 symbolic displacements since CRX register relative adressing
1084 mode can't handle unsigned 32-bit values as displacements.
1085 * config/crx/crx.h: Simplify definitions, remove redundant
1086 parenthesis and obsolete macros.
1087 * config/crx/crx.opt: Add new switch for debugging addresses.
1088 * config/crx/crx-protos.h: Add new declarations for above.
1089
1581a9a1
AP
10902005-08-19 Andrew Pinski <pinskia@physics.uc.edu>
1091
1092 PR middle-end/20624
1093 * gimple-low.c (block_may_fallthru): Handle CLEANUP_POINT_EXPR by
1094 looking past it.
1095
52a6edcc
KG
10962005-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1097
1098 * collect2.c (dup2): Delete.
1099 * configure.ac: Don't check for dup2.
1100
1101 * config.in, configure: Regenerate.
1102
8a2209bf
R
11032005-08-18 J"orn Rennecke <joern.rennecke@st.com>
1104
1105 * sh.c (sh_gimplify_va_arg_expr): Loop to substitute a RECORD_TYPE
1106 record with the type of its only member.
1107
1e24ce83
DE
11082005-08-18 David Edelsohn <edelsohn@gnu.org>
1109
1110 * config/rs6000/rs6000.md (ltu<mode>_compare): Convert to
1111 define_insn_and_split.
1112 (plus_ltu<mode>_compare): Same.
1113 (gtu<mode>_compare): Same.
1114 (plus_gtu<mode>_compare): Same.
1115
90ff949f
DN
11162005-08-18 Dorit Nuzman <dorit@il.ibm.com>
1117
1118 PR tree-optimization/22228
1e24ce83
DE
1119 * tree-ssa-loop (pass_vectorize): Add TODO_verify_loops to
1120 todo_flags_start.
90ff949f
DN
1121 * tree-vect-transform.c (vect_transform_loop): Mark the variables that
1122 are recorded in vect_vnames_to_rename for renaming.
1123 * tree-vectorizer.c (vect_vnames_to_rename): New global bitmap.
1124 (slpeel_update_phi_nodes_for_guard1): Record virtual vars for renaming
1125 in vect_vnames_to_rename.
1126 (vectorize_loops): Allocate and free the vect_vnames_to_rename bitmap.
1127 * tree-vectorizer.h (vect_vnames_to_rename): New extern variable.
1128
f17db6cd
JH
11292005-08-18 Jan Hubicka <jh@suse.cz>
1130
1131 PR c++/22034
1132 * cgraphunit.c (cgraph_varpool_assemble_pending_decls): Emit debug
1133 info only for local statics, not for member variables.
1134
4286d8ce
VR
11352005-08-18 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1136
1137 * tree-data-ref.c (analyze_siv_subscript_cst_affine): Fix comment typo.
1138
b06df647
VR
11392005-08-18 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1140
1141 * c-typeck.c (designator_errorneous): Rename to designator_erroneous.
1142
75634129
AP
11432005-08-18 Andrew Pinski <pinskia@physics.uc.edu>
1144
1145 PR middle-end/16045
1146 * builtins.c (fold_builtin): Create a new NOP_EXPR all the time.
1147
9bc2a5cb
JW
11482005-08-17 James E Wilson <wilson@specifix.com>
1149
1150 * c-decl.c (grokdeclarator): Use TYPE_SIZE_UNIT not TYPE_SIZE in
1151 array size check.
1152
a2dba291
DE
11532005-08-17 David Edelsohn <edelsohn@gnu.org>
1154
1155 * config/rs6000/rs6000.md (leu<mode>): Convert to mode macro.
1156 (leu<mode>_compare): Same.
1157 (plus_leu<mode>): Same.
1158 (neg_leu<mode>): Same.
1159 (and_neg_leu<mode): Same.
1160 (ltu<mode>_compare): Same.
1161 (plus_ltu<mode>): Same.
1162 (geu<mode>): Same.
1163 (geu<mode>_compare): Same.
1164 (plus_geu<mode>): Same.
1165 (neg_geu<mode>): Same.
1166 (and_neg_geu<mode>): Same.
1167 (plus_gt<mode>): Same.
1168 (gtu<mode>_compare): Same.
1169 (plus_gtu<mode>): Same.
1170
aa29dfeb 11712005-08-17 Erik Christiansen <erik@dd.nec.com.au>
c414ac1d 1172
aa29dfeb
EC
1173 * config/v850/lib1funcs.asm (callt_save_interrupt): Fix comment typos.
1174 Move call_table_data to end. Delete spurious .text.
1175 (callt_save_all_interrupt): Fix comment typo.
1176
90e0c734
JW
11772005-08-17 James E Wilson <wilson@specifix.com>
1178 Kevin Winchester <winchester@amirix.com>
1179
1180 PR target/21684
1181 * config/mcore/mcore.h (SHIFT_COUNT_TRUNCATED): Define to 0.
1182
87bb8864
UB
11832005-08-17 Uros Bizjak <uros@kss-loka.si>
1184
1185 PR target/23268
1186 * config/i386/i386.md ("*fist<mode>2_1"): New pattern.
1187 ("lrint<mode>2"): Change expander to use "*fist<mode>2_1" pattern.
1188
dd0ae678
R
11892005-08-17 J"orn Rennecke <joern.rennecke@st.com>
1190
8a2209bf
R
1191 * sh.c (sh_gimplify_va_arg_expr): Don't substitute a RECORD_TYPE
1192 record with the type of its only member if the modes don't match.
1193
a2dba291 1194 * varasm.c (decode_reg_name): Skip empty additional register names.
dd0ae678 1195
d28cbb07
ZD
11962005-08-16 Zdenek Dvorak <dvorakz@suse.cz>
1197
1198 * tree-ssa-loop-im.c (MAX_LSM_NAME_LENGTH, lsm_tmp_name,
1199 lsm_tmp_name_length): New.
1200 (lsm_tmp_name_add, gen_lsm_tmp_name, get_lsm_tmp_name): New functions.
1201 (schedule_sm): Use get_lsm_tmp_name instead of "lsm_tmp".
1202
39bd07e8
UW
12032005-08-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1204 Andreas Krebbel <krebbel1@de.ibm.com>
1205
1206 * config.gcc: Added z9-109 switch.
1207 * config/s390/2084.md ("x_int", "x_agen", "x_lr", "x_la", "x_larl",
1208 "x_load", "x_store", "x_branch", "x_call", "x_mul_hi", "x_mul_sidi",
c414ac1d
EC
1209 "x_div", "x_sem", "x_cs", "x_vs", "x_stm", "x_lm", "x_other",
1210 "x_fsimpdf", "x_fsimpsf", "x_fdivdf", "x_fdivsf", "x_floaddf",
39bd07e8
UW
1211 "x_floadsf", "x_fstore_df", "x_fstoresf", "x_ftoi", "x_itof"): Enable
1212 for "z9_109" cpu attribute.
1213 * config/s390/s390.c (z9_109_cost): New processor cost structure.
1214 (CONST_OK_FOR_Os, CONST_OK_FOR_Op, CONST_OK_FOR_On): New macros.
1215 (s390_handle_arch_option): Added z9-109 switch.
1216 (override_options): Set respective cost function for z9-109.
1217 (s390_const_ok_for_constraint_p): New constraints Os, Op, On.
1218 (legitimate_reload_constant_p): Accept extended immediates.
1219 (print_operand): Three new output modifiers added: k, m and o.
1220 (s390_adjust_priority, s390_issue_rate): Handle Z9_109 like Z990.
1221 (s390_output_mi_thunk): Use extended immediate when possible.
1222 * config/s390/s390.h (processor_flags): Added PF_EXTIMM.
1223 (TARGET_CPU_EXTIMM, TARGET_EXTIMM): New macros.
1224 (CONSTRAINT_LEN): Added length of O constraint.
1225 (CLZ_DEFINED_VALUE_AT_ZERO): Definition added.
1226 * config/s390/s390.md ("cpu"): New value z9_109 added.
c414ac1d 1227 ("*tstdi_extimm", "*tstdi_ccconly_extimm", "*tstsi_extimm",
39bd07e8
UW
1228 "*tstsi_cconly_extimm", "*movdi_64extimm", "*extendhidi2_extimm",
1229 "*extendqidi2_extimm", "*extendhisi2_extimm", "*extendqisi2_extimm",
1230 "*zero_extend<mode>si2_extimm", "*anddi3_extimm", "*iordi3_extimm",
1231 "*xordi3_extimm", "clzdi2", "clztidi2"): New patterns.
1232 ("*tstdi", "*tstsi", "*movdi_64", "*extendhisi2", "*extendqisi2",
1233 "*zero_extend<mode>si2_64", "zero_extendqihi2", "*zero_extendqihi2_64",
1234 "*anddi3", "*iordi3", "*xordi3"): Disable for TARGET_EXTIMM.
1235 ("*cmpdi_cct", "*cmpsi_cct", "*cmpdi_ccs", "*cmpsi_ccs", "*cmpdi_ccu",
1236 "*cmpsi_ccu", "*movsi_zarch", "*adddi3_imm_cc", "*adddi3_carry1_cc",
1237 "*adddi3_carry2_cc", "*adddi3_cc", "*adddi3_64", "*addsi3_imm_cc",
1238 "*addsi3_carry1_cc", "*addsi3_carry2_cc", "*addsi3_cc", "addsi3",
1239 "*andsi3_cc", "*andsi3_cconly", "*andsi3_zarch", "*iorsi3_cc",
1240 "*iorsi3_cconly", "*iorsi3_zarch", "*xorsi3_cc", "*xorsi3_cconly",
c414ac1d 1241 "*xorsi3", "*xorhi3", "*xorqi3"): Added instruction using extended
39bd07e8
UW
1242 immediates.
1243 ("extend<mode>di2", "extend<mode>si2", "zero_extend<mode>di2",
1244 "zero_extend<mode>si2"): Allow memory operands and don't manually emit
1245 insns for TARGET_EXTIMM.
1246
33d2e547
AK
12472005-08-17 Andreas Krebbel <krebbel1@de.ibm.com>
1248
1249 * testsuite/gcc.dg/20020926-1.c: Added "-mesa" to dg-options.
1250
e5eb9a52
NC
12512005-08-17 Nick Clifton <nickc@redhat.com>
1252
1253 * config/stormy16/stormy16.c (xstormy16_encode_section_info):
1254 Call default_encode_section_info.
1255
a318e3ac
SB
12562005-08-17 Steven Bosscher <stevenb@suse.de>
1257
1258 PR tree-optimization/21574
1259 * tree-ssa-ccp.c (likely_value): If the right hand side is a
1260 constant, return CONSTANT.
1261 (ccp_lattice_meet): Use operand_equal_p instead of simple_cst_equal.
1262 (ccp_fold, visit_assignment): Likewise.
1263 (evaluate_stmt): Handle UNDEFINED and UNKNOWN_VAL the same way.
1264
00d1b1d6
JM
12652005-08-16 James A. Morrison <phython@gcc.gnu.org>
1266
1267 * c-typeck.c (build_function_call): Call fold_buildN_initializer or
1268 fold_buildN instead of buildN then fold_initializer or fold.
1269 (build_unary_op): Likewise.
1270 (build_binary_op): Likewise.
1271 * fold-const.c (fold_initializer): Remove.
1272 (fold_build1_initializer): New function.
1273 (fold_build2_initializer): New function.
1274 (fold_build3_initializer): New function.
1275 * tree.h (fold_initializer): Remove.
1276 (fold_build1_initializer): New function.
1277 (fold_build2_initializer): New function.
1278 (fold_build3_initializer): New function.
1279
f457cf40
JM
12802005-08-16 James A. Morrison <phython@gcc.gnu.org>
1281
1282 * fold-const.c (optimize_bit_field_compare): Remove extra fold call.
1283 (try_move_mult_to_index): Call fold_build2 instead of build2.
1284 (fold_binary): Don't call fold after calls to try_move_mult_to_index.
1285 * tree-ssa-loop-niter.c (inverse): Call int_const_binop instead of
1286 fold_binary_to_constant.
1287 (infer_loop_bounds_from_undefined): Call fold_build2 instead of
1288 fold (build.
1289 * tree-data-ref.c (tree_fold_divides_p): Use tree_int_cst_equal to
1290 check if A == gcd (A, B). Remove TYPE argument.
1291 (analyze_offset) Use fold_build2 instead of fold (build.
1292 (create_data_ref): Likewise.
1293 (analyze_siv_subscript_cst_affine): Update calls to tree_fold_divides_p.
1294 * tree-ssa-ccp.c (widen_bitfield): Call fold_build2 instead of build2
1295 then fold.
1296
4c617d12
KC
12972005-08-17 Kelley Cook <kcook@gcc.gnu.org>
1298
1299 * config/arm/unaligned-funcs.c,config/i386/crtfastmath.c,
1300 ipa-cp.c,ipa-prop.c,ipa-prop.h: Update FSF address.
1301
d06526b7
AP
13022005-08-16 Andrew Pinski <pinskia@physics.uc.edu>
1303
1304 PR tree-opt/23402
1305 * gimplify.c (zero_sized_type): New function.
1306 (gimplify_modify_expr_rhs): If we have a zero sized type,
1307 replace the statement with an empty statement.
1308
e9e68ae3
L
13092005-08-16 H.J. Lu <hongjiu.lu@intel.com>
1310
1311 * config/i386/crtfastmath.c (set_fast_math): Add "=m" for
1312 fxsave.
1313
e374d5c9
ILT
13142005-08-16 Ian Lance Taylor <ian@airs.com>
1315
1316 * doc/tm.texi (Label Output): Correct typo.
1317
f2dd440f
SB
13182005-08-16 Steven Bosscher <stevenb@suse.de>
1319
1320 PR target/23376
1321 * loop-unroll.c (analyze_insn_to_expand_var): Make sure that
1322 force_operand will work later on using have_insn_for.
1323
196f5a8d
VR
13242005-08-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1325
1326 * fold-const.c (tree_expr_nonnegative_p): Regroup cases.
1327
cf0efa6a
ILT
13282005-08-16 Ian Lance Taylor <ian@airs.com>
1329
1330 PR c++/23337
1331 * gimplify.c (gimplify_init_ctor_eval): If we see an element of
1332 vector type, don't try to construct it element by element. Add an
1333 assertion that we use a FIELD_DECL when building a COMPONENT_REF.
1334
3a69437a
VR
13352005-08-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1336
1337 * fold-const.c (fold_ternary): Simplify folding of a CALL_EXPR.
1338
17ccdd2c
GK
13392005-08-16 Geoffrey Keating <geoffk@apple.com>
1340
1341 * doc/invoke.texi (Precompiled Headers): Document some more options
1342 which are known to be safe.
1343
355a9e43
JW
13442005-08-16 James E Wilson <wilson@specifix.com>
1345
1346 PR tree-optimization/21105
1347 * c-decl.c (grokdeclarator): Use TYPE_SIZE_UNIT not TYPE_SIZE in
1348 TREE_OVERFLOW check.
1349
ce45ef46
DE
13502005-08-16 David Edelsohn <edelsohn@gnu.org>
1351
1352 * config/rs6000/rs6000.md (ltu<mode>): Convert to mode macro.
1353 (neg_ltu<mode>): Same.
1354 (gtu<mode>): Same.
1355 (neg_gtu<mode>): Same.
1356
543e2cc3
VR
13572005-08-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1358
1359 * builtins.c (expand_builtin_strcat): Remove superfluous call to fold.
1360 (fold_builtin_isdigit): Use fold_buildN.
1361 (build_function_call_expr): Likewise.
1362 * c-typeck.c (c_finish_loop): Likewise.
1363
28f52a4d 13642005-08-16 J"orn Rennecke <joern.rennecke@st.com>
85199961 1365 Richard Shann <rshann@superh.com>
28f52a4d
R
1366
1367 PR middle-end/20396:
1368 * optabs.c (expand_binop): Take TRULY_NOOP_TRUNCATION into account.
1369
546ad2d9
SP
13702005-08-16 Sebastian Pop <pop@cri.ensmp.fr>
1371
1372 * tree-ssa-loop-niter.c (scev_probably_wraps_p): Reword a comment.
1373
39c39be0
RE
13742005-08-15 Richard Earnshaw <richard.earnshaw@arm.com>
1375
1376 PR target/23355
c414ac1d 1377 * arm.c (thumb_compute_save_reg_mask): Use similar logic to
39c39be0
RE
1378 arm_compure_save_reg0_reg12_mask to determine when the PIC register
1379 must be saved.
1380
f60c951c
JDA
13812005-08-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1382
1383 PR middle-end/23369
1384 * fold-const.c (build_range_check): Disable optimization for function
1385 pointer expressions on targets that require function pointer
1386 canonicalization.
1387
5b5dc475
UW
13882005-08-15 Ulrich Weigand <uweigand@de.ibm.com>
1389
1390 * simplify-rtx.c (simplify_const_relational_operation): When
1391 extracting arguments of a COMPARE, recompute the mode as well.
1392
1595ec20
ILT
13932005-08-15 Ian Lance Taylor <ian@airs.com>
1394
1395 * tree.c (build_string): Mark tree CONSTANT and INVARIANT.
1396
eb5f0c07
DD
13972005-08-15 DJ Delorie <dj@redhat.com>
1398
1399 * config/m32c/mov.md (movqi_op): Immediates can't be moved to
1400 the stack.
1401 (movsi_splittable): Allow, but split, moves to the stack.
1402 * config/m32c/m32c.c (m32c_split_move): Always split moves to the
1403 stack.
1404
06145cb9
KG
14052005-08-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1406
1407 * aclocal.m4 (gcc_AC_FUNC_PRINTF_PTR): Delete.
1408 * configure.ac: Don't call gcc_AC_FUNC_PRINTF_PTR.
1409 * system.h (HOST_PTR_PRINTF): Don't define, poison it.
c414ac1d 1410
06145cb9
KG
1411 * bitmap.c, c-decl.c, config/i386/i386-interix.h,
1412 config/iq2000/iq2000.c, mips-tfile.c, print-rtl.c, print-tree.c:
1413 Delete HOST_PTR_PRINTF.
1414
1415 * configure, config.in: Regenerate.
1416
b5568f07
DE
14172005-08-15 David Edelsohn <edelsohn@gnu.org>
1418
1419 * config/rs6000/rs6000.md (QHSI): New mode macro.
1420 (wd): Extend mode attr for QImode and HImode
1421 (dbits): New mode attr.
1422 (zero_extend<mode>di2): Convert to mode macro.
1423
a73035ae
SE
14242005-08-15 Steve Ellcey <sje@cup.hp.com>
1425
1426 PR target/21841
1427 * doc/invoke.texi (-mgnu-ld): Update description.
1428 (-mhp-ld): Ditto.
1429
7e0923cd
SP
14302005-08-15 Sebastian Pop <pop@cri.ensmp.fr>
1431
1432 PR 23391
1433 * Makefile.in (tree-chrec.o): Depends on real.h.
1434 * tree-chrec.c: Include real.h.
1435 (chrec_fold_plus_poly_poly, chrec_fold_multiply_poly_poly,
1436 chrec_fold_plus_1): Use build_real for SCALAR_FLOAT_TYPE_P.
1437 * tree-scalar-evolution.c (add_to_evolution_1,
1438 interpret_rhs_modify_expr): Ditto.
1439
852c19aa
SP
14402005-08-15 Sebastian Pop <pop@cri.ensmp.fr>
1441
1442 PR 23386
1443 * tree-data-ref.c (estimate_niter_from_size_of_data): When
1444 step is negative compute the estimation from init downwards to zero.
c414ac1d 1445
b23dce24
JM
14462005-08-14 James A. Morrison <phython@gcc.gnu.org>
1447
1448 * fold-const (fold_binary): Call fold_build2 instead of fold (build.
1449
11598938
UW
14502005-08-14 Ulrich Weigand <uweigand@de.ibm.com>
1451
1452 * config/s390/s390.c (s390_const_ok_for_constraint_p): Add 'P'
1453 constraint.
1454 (legitimate_reload_constant_p): Fix handling of lliXX operands.
1455 Accept double-word constants that can be split.
1456 * config/s390/s390.md ("movti"): Use 'P' constraint.
1457 ("*movdi_31", "*movdf_31"): Likewise.
1458
8971094d
DB
14592005-08-14 Daniel Berlin <dberlin@dberlin.org>
1460
1461 Fix PR tree-optimization/22615
c414ac1d 1462
8971094d 1463 * tree-ssa-structalias.c (solution_set_add): Handle
c414ac1d 1464 first_vi_for_offset returning NULL.
8971094d
DB
1465 (do_da_constraint): Ditto.
1466 (do_sd_constraint): Ditto.
1467 (do_ds_constraint): Ditto
1468 (find_func_aliases): Ditto.
1469 (build_constraint_graph): RHS is allowed be ANYTHING.
1470 (first_vi_for_offset): Return NULL if we couldn't find anything at
1471 the offset.
c414ac1d 1472
c5b2a111
UW
14732005-08-14 Ulrich Weigand <uweigand@de.ibm.com>
1474
1475 * config/s390/s390.c (s390_canonicalize_comparison): Prefer register
1476 over memory as first operand.
1477
adb7b764
L
14782005-08-14 H.J. Lu <hongjiu.lu@intel.com>
1479
1480 PR target/23360
1481 * config/i386/crtfastmath.c (set_fast_math): Check if DAZ is
1482 available for setting it.
1483
1f400bbb
IR
14842005-08-14 Ira Rosen <irar@il.ibm.com>
1485
1486 PR tree-optimization/23320
c414ac1d
EC
1487 * tree-data-ref.c (base_addr_differ_p): Add comment. Check
1488 data-refs' types instead of base object nullness. Add check for
1489 pointer type data-refs before first location comparison. Remove
1f400bbb
IR
1490 assert.
1491
db875b15
AS
14922005-08-14 Andreas Schwab <schwab@suse.de>
1493
1494 * doc/md.texi (Machine Constraints): Fix misplaced @end table.
1495
0aca9021
JW
14962005-08-13 James E Wilson <wilson@specifix.com>
1497
1498 * doc/cpp.texi (__SSP__, __SSP_ALL__): Document.
1499 * doc/invoke.texi (-Wstack-protector, -fstack-protector,
1500 -fstack-protector-all, --param ssp-buffer-size): Document.
1501 (-Wvariadic-macros): Alphabetize.
1502 (-fsched-stalled-insns-dep): Add missing 'f'.
1503
0ffb94cd
JW
1504 * c-cppbuiltin.c (c_cpp_builtins): Add comment for flag_stack_protect
1505 macros.
1506
3256a76e
DE
15072005-08-13 David Edelsohn <edelsohn@gnu.org>
1508
1509 * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 'a' for indexed
1510 or indirect address operand.
1511 (EXTRA_ADDRESS_CONSTRAINT): New.
1512 * config/rs6000/rs6000.md (prefetch): Change constraint "p" to "a".
1513
d7770457
SP
15142005-08-13 Sebastian Pop <pop@cri.ensmp.fr>
1515
1516 PR tree-optimization/22236
1517 * tree-cfg.c (print_pred_bbs, print_succ_bbs): Correctly print
1518 successors and predecessors.
1519 * tree-chrec.c (chrec_convert): Before converting, check that
1520 sequences don't wrap.
1521 * tree-data-ref.c (compute_estimated_nb_iterations): Moved ...
1522 (analyze_array): Extern.
1523 (find_data_references_in_loop): Remove call to
1524 compute_estimated_nb_iterations.
1525 * tree-data-ref.h (analyze_array): Declared.
1526 * tree-flow-inline.h (single_ssa_tree_operand, single_ssa_use_operand,
1527 single_ssa_def_operand, zero_ssa_operands): Fix documentation.
1528 * tree-flow.h (scev_probably_wraps_p): Declare with an extra parameter.
c414ac1d 1529 * tree-scalar-evolution.c (instantiate_parameters_1): Factor entry
d7770457
SP
1530 condition.
1531 * tree-ssa-loop-ivcanon.c: Fix documentation.
1532 * tree-ssa-loop-ivopts.c (idx_find_step): Add a fixme note.
1533 * tree-ssa-loop-niter.c (compute_estimated_nb_iterations): ... here.
1534 (infer_loop_bounds_from_undefined): New.
1535 (estimate_numbers_of_iterations_loop): Use
1536 infer_loop_bounds_from_undefined.
1537 (used_in_pointer_arithmetic_p): New.
1538 (scev_probably_wraps_p): Pass an extra parameter. Call
1539 used_in_pointer_arithmetic_p. Check that AT_STMT is not null.
1540 (convert_step): Fix documentation.
1541 * tree-vrp.c (adjust_range_with_scev): Call instantiate_parameters.
1542 Use initial_condition_in_loop_num and evolution_part_in_loop_num
1543 instead of CHREC_LEFT and CHREC_RIGHT. Adjust the call to
1544 scev_probably_wraps_p.
1545
e2df5c1d
UW
15462005-08-13 Ulrich Weigand <uweigand@de.ibm.com>
1547
1548 * config/s390/s390.c (s390_split_branches): Revert 2005-08-12 change.
1549 (s390_register_info): Ignore clobbered_regs information for fixed
1550 registers, and only fixed registers.
1551 (s390_init_frame_layout): Remove redundant call.
1552
7cd5c075
GP
15532005-08-12 Gerald Pfeifer <gerald@pfeifer.com>
1554
c414ac1d 1555 * doc/invoke.texi (C++ Dialect Options): Add dynamic_cast to
7cd5c075
GP
1556 description of -Wold-style-casts.
1557
7b8acc34
AK
15582005-08-12 Andreas Krebbel <krebbel1@de.ibm.com>
1559 Jakub Jelinek <jakub@redhat.com>
1560
1561 * config/s390/linux.h (TARGET_THREAD_SSP_OFFSET): Define.
1562 * config/s390/s390-protos.h (s390_get_thread_pointer): Prototype added.
1563 * config/s390/s390.c (print_operand): New output modifier 'G' added.
1564 (get_thread_pointer): Renamed to s390_get_thread_pointer.
1565 * config/s390/s390.md (stack_protect_set, stack_protect_test): If
1566 TARGET_THREAD_SSP_OFFSET is defined, change operands[1] to
1567 (MEM:P (PLUS:P (tp, TARGET_THREAD_SSP_OFFSET))).
1568 (UNSPEC_SP_SET, UNSPEC_SP_TEST): New constants.
1569 ("stack_protect_set", "stack_protect_test"): New expanders.
1570 ("stack_protect_setsi", "stack_protect_setdi", "stack_protect_testsi",
1571 "stack_protect_testdi"): New insn definitions.
1572
4700982d
AK
15732005-08-12 Andreas Krebbel <krebbel1@de.ibm.com>
1574
1575 * config/s390/s390.md ("*movdf_31"): Changed constraint from P to K.
1576
3c60bed5
PB
15772005-08-12 Paul Brook <paul@codesourcery.com>
1578
1579 * config/arm/lib1funcs.asm: Error if __ARM_ARCH__ not set.
1580
f83a336d
AK
15812005-08-12 Andreas Krebbel <krebbel1@de.ibm.com>
1582
1583 * config/s390/predicates.md (setmem_operand): New predicate.
1584 (shift_count_operand): Accept ANDs with special constants as
1585 operand.
1586 * config/s390/s390.c (print_shift_count_operand): Skip ANDs
1587 with special constants.
1588 * config/s390/s390.md ("setmem_long", "*setmem_long"): Replaced
1589 shift_count_operand with setmem_operand.
1590
c4d50129
AK
15912005-08-12 Andreas Krebbel <krebbel1@de.ibm.com>
1592
1593 * config/s390/s390.c (s390_extract_part, s390_single_part):
1594 Type cast added.
1595 (s390_const_ok_for_constraint_p): Added SImode to the N constraint.
1596 (s390_output_mi_thunk): Don't use lg on 31 bit.
1597 * config/s390/s390.md ("*movdi_31", "*movdf_31"): Added lmy and stmy.
1598 ("*llgt_sisi" and splitter): Replaced TARGET_64BIT with TARGET_ZARCH.
1599
b5c67a49
AK
16002005-08-12 Andreas Krebbel <krebbel1@de.ibm.com>
1601
1602 * config/s390/s390.c (CONST_OK_FOR_J, CONST_OK_FOR_K): New macros.
1603 (s390_select_ccmode, s390_rtx_costs, legitimate_reload_constant_p,
1604 s390_init_frame_layout, s390_emit_prologue, s390_emit_epilogue,
1605 s390_output_mi_thunk): Replaced uses of CONST_OK_FOR_CONSTRAINT_P
1606 with one of the new macros.
1607
dc4477f5
AK
16082005-08-12 Andreas Krebbel <krebbel1@de.ibm.com>
1609
c414ac1d 1610 * config/s390/s390.c (s390_split_branches, s390_init_frame_layout):
dc4477f5
AK
1611 Don't set save_return_addr_p.
1612 (s390_register_info): Make clobbered_regs not depending on
1613 save_return_addr_p.
1614
ec92bd4b
KK
16152005-08-12 Kaz Kojima <kkojima@gcc.gnu.org>
1616
1617 * gcc.c (LINK_SSP_SPEC): Remove space before a trailing }.
1618 (LINK_COMMAND_SPEC): Add space after %(link_ssp).
1619
8c2efff7
JW
16202005-08-11 James E. Wilson <wilson@specifix.com>
1621
1622 * config/ia64/ia64.h (EXTRA_MEMORY_CONSTRAINT): New.
1623
ea93971a
JJ
16242005-08-11 Jakub Jelinek <jakub@redhat.com>
1625
86bd8ebf
JJ
1626 * dwarf2out.c (add_location_or_const_value_attribute): Prefer
1627 locations gathered by var-tracking in single entry loc_list
1628 over loc_descriptor_from_tree.
1629
ea93971a
JJ
1630 * dwarf2out.c (concat_loc_descriptor): Add can_use_fbreg argument,
1631 pass it down to loc_descriptor.
1632 (loc_descriptor): Pass can_use_fbreg to concat_loc_descriptor.
1633 (containing_function_has_frame_base): Move earlier in the file.
1634 (loc_descriptor_from_tree_1): Use containing_function_has_frame_base
1635 instead of always assuming fbreg can't be used.
1636
dec1f3aa
DE
16372005-08-11 David Edelsohn <edelsohn@gnu.org>
1638
1639 * config/rs6000/altivec.md: Change constraint "m" to "Z".
1640 * config/rs6000/predicates.md (indexed_or_indirect_operand):
1641 Accept address wrapped in AND for Altivec.
1642 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address):
1643 Strip AND wrapping offset address for Altivec.
1644
7fd6694b
RH
16452005-08-11 Richard Henderson <rth@redhat.com>
1646
1647 PR middle-end/23312
1648 * gimplify.c (gimplify_one_sizepos): Check for INTEGER_TYPE
1649 before using TYPE_IS_SIZETYPE.
1650
4ead2a39
RH
16512005-08-11 Richard Henderson <rth@redhat.com>
1652
1653 PR target/22225
1654 * config/alpha/alpha.c (alphaev4_insn_pipe): Add take pipes for
1655 insn types not present on ev4.
1656 (alphaev5_insn_pipe): Similarly.
1657
da8ce8be
RE
16582005-08-11 Richard Earnshaw <richard.earnshaw@arm.com>
1659
1660 PR target/23250
1661 * arm.c (arm_override_options): If the user has selected callee-super-
1662 interworking, then enable normal interworking.
1663
eb2b0cc0
RO
16642005-08-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1665
1666 * config/i386/x86-64.h (ASM_OUTPUT_ALIGNED_BSS): Undef before
1667 redefinition.
1668
b630e240
WZ
16692005-08-11 Wu Zhou <woodzltc@cn.ibm.com>
1670
1671 * doc/rtl.texi: Fix two typos.
1672
cac32996
RG
16732005-08-11 Richard Guenther <rguenther@suse.de>
1674
1675 PR target/23289
1676 * config/i386/i386.c (ix86_function_ok_for_sibcall): Handle
1677 cases where we call to/from functions returning void.
1678
a4faac50
JM
16792005-08-10 James A. Morrison <phython@gcc.gnu.org>
1680
1681 PR c++/23225
1682 * tree.c (build_pointer_type_for_mode): Robustify.
1683
907f033f
JW
16842005-08-10 James E Wilson <wilson@specifix.com>
1685
1686 * defaults.h, config/alpha/alpha.h, config/ia64/ia64.h
1687 (ASM_OUTPUT_ADDR_VEC_ELT): Delete.
1688
1689 * config/alpha/alpha.c (alpha_arg_partial_bytes): Change "(CUM)." to
1690 "cum->".
1691
bb8df8a6
EC
16922005-08-10 Eric Christopher <echristo@apple.com>
1693
1694 * config/rs6000/rs6000.c (mems_ok_for_quad_peep): Rewrite.
1695 * config/rs6000/rs6000.md (*lfq_power2, *stfq_power2): Use
1696 V2DFmode.
1697
4f8dbd34
AP
16982005-08-10 Andrew Pinski <pinskia@physics.uc.edu>
1699
ce31ea84 1700 PR target/21887
4f8dbd34
AP
1701 * config/darwin.c (machopic_indirect_data_reference): Use a new register
1702 for the high part when generating dynamic-no-pic code.
1703
d75e02d6
L
17042005-08-10 H.J. Lu <hongjiu.lu@intel.com>
1705
1706 * config.gcc (i[34567]86-*-linux*): Add i386/t-crtfm to tm-file.
1707 (x86_64-*-linux*): Likewise.
1708
1709 * config/i386/crtfastmath.c: New file.
1710 * config/i386/t-crtfm: Likewise.
1711
1712 * config/i386/linux.h (ENDFILE_SPEC): New.
1713 * config/i386/linux64.h (ENDFILE_SPEC): Likewise.
1714
1715 * config/i386/t-linux64 (EXTRA_MULTILIB_PARTS): Add
1716 crtfastmath.o.
1717
61abee65
DN
17182005-08-10 Dorit Nuzman <dorit@il.ibm.com>
1719
1720 * doc/md.texi: (reduc_smin, reduc_umin, reduc_splus, reduc_uplus):
1721 (vec_shl, vec_shr): Document new operations.
1722 * tree.def (VEC_RSHIFT_EXPR, VEC_LSHIFT_EXPR): Fix comment.
1723
11aac14f
DE
17242005-08-10 David Edelsohn <edelsohn@gnu.org>
1725
1726 * config/rs6000/predicates.md (indexed_or_indirect_address): New.
1727 * config/rs6000/rs6000.md (prefetch): Remove operand 0 mode and
1728 change predicate to indexed_or_indirect_address.
1729
9bd05108
RS
17302005-08-10 Richard Sandiford <richard@codesourcery.com>
1731
1732 * config/arm/lib1funcs.asm (__aeabi_uidiv, __aeabi_idiv): New aliases.
1733 * config/arm/libgcc-bpabi.ver (GCC_3.5): Add __aeabi_idiv,
1734 __aeabi_uidiv, __aeabi_uread4, __aeabi_uread8, __aeabi_uwrite4
1735 and __aeabi_uwrite8.
1736 * config/arm/unaligned-funcs.c: New file.
1737 * config/arm/t-bpabi (LIB2FUNCS_EXTRA): Add unaligned-funcs.c.
1738
defb77dc
PB
17392005-08-09 Paolo Bonzini <bonzini@gnu.org>
1740
1741 * bb-reorder.c (pass_duplicate_computed_gotos, pass_partition_blocks):
1742 Add dump.
1743 * cfglayout.c (pass_insn_locators_initialize): Add dump.
1744 * emit-rtl.c (pass_unshare_all_rtl, pass_remove_unnecessary_notes):
1745 Add dump.
1746 * except.c (pass_convert_to_eh_region_ranges): Add dump.
1747 * final.c (pass_shorten_branches): Add dump.
1748 * flow.c (pass_recompute_reg_usage, pass_remove_death_notes): Add dump.
1749 (pass_life): Rename dump.
1750 (rest_of_handle_flow2): Remove initial verify_flow_info.
1751 * function.c (pass_instantiate_virtual_regs): Add dump.
1752 * integrate.c (pass_initial_value_sets): Add dump.
1753 * jump.c (pass_cleanup_barriers, pass_purge_lineno_notes): Add dump.
1754 * loop-init.c (pass_rtl_loop_init, pass_rtl_loop_done): Rename dump.
1755 (pass_rtl_move_loop_invariants, pass_rtl_unswitch, pass_rtl_doloop,
1756 pass_rtl_unroll_and_peel_loops): Rename dump and add gate.
1757 (gate_rtl_move_loop_invariants, gate_rtl_unswitch, gate_rtl_doloop,
1758 gate_rtl_unrool_and_peel_loops): New.
1759 (rtl_move_loop_invariants, rtl_unswitch, rtl_unrool_and_peel_loops,
1760 rtl_doloop): Do not look at flags.
1761 * mode-switching.c (pass_mode_switching): Add dump.
1762 * recog.c (pass_split_all_insns, pass_split_for_shorten_branches,
1763 pass_split_before_regstack): Add dump.
1764 * regmove.c (pass_stack_adjustments): Add dump.
1765 * tree-optimize.c (pass_fixup_cfg): Add dump.
1766
2a6a63c1
KI
17672005-08-10 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1768
1769 PR 23309
1770 * config/m32r/m32r.c (m32r_reload_lr): Fix off by one error when
1771 deciding which instruction sequence to use.
1772
0ed414a4
DN
17732005-08-09 Dorit Nuzman <dorit@il.ibm.com>
1774
bb8df8a6 1775 * tree-vect-transform.c (vect_create_epilog_for_reduction): Set
0ed414a4
DN
1776 BIT_FIELD_REF_UNSIGNED for newly created BIT_FIELD_REFs.
1777
9bc15050
RG
17782005-08-09 Richard Guenther <rguenther@suse.de>
1779
1780 * c-common.c (builtin_function_2): Remove.
1781 (def_builtin_1): New function.
1782 (c_common_nodes_and_builtins): Use def_builtin_1 to
1783 build builtin functions.
1784
07da68fd
JZ
17852005-08-09 Jie Zhang <jie.zhang@analog.com>
1786
1787 * config/bfin/uclinux.h (NO_IMPLICIT_EXTERN_C): Define.
1788 * config/bfin/elf.h (NO_IMPLICIT_EXTERN_C): Define.
1789 * config/bfin/bfin.c (bfin_return_in_memory): Update to really match
1790 Visual DSP.
1791
2f133f46
JM
17922005-08-09 James A. Morrison <phython@gcc.gnu.org>
1793
1794 * tree-ssa-loop-niter.c (tree_simplify_using_condition_1): Use
1795 fold_binary instead of fold_build2 since we don't care about the
1796 resulting tree.
1797 (loop_niter_by_eval): Likewise.
1798 (compare_trees): Likewise.
1799 (proved_non_wrapping_p): Likewise.
1800
f14e694e
JM
18012005-08-09 James A. Morrison <phython@gcc.gnu.org>
1802
1803 PR c/23161
1804 PR c/23165
1805 * c-typeck.c (c_finish_if_stmt): Look into STATEMENT_LISTs to see
1806 if the if is really empty.
1807
2ef571e2
SB
18082005-08-09 Steven Bosscher <stevenb@suse.de>
1809
1810 PR tree-optimization/23234
1811 * tree-ssa-math-opts.c (place_reciprocal): New enum.
1812 (execute_cse_reciprocals_1): Replace the 'phi' argument with an
1813 argument of the new enum.
1814 (execute_cse_reciprocals): Add reciprocals for function arguments
1815 on the unique successor edge of the entry block. Update other calls
1816 to execute_cse_reciprocals_1.
1817
a9c5ddf9
RH
18182005-08-08 Richard Henderson <rth@redhat.com>
1819
1820 PR 22439
1821 * gimplify.c (gimplify_one_sizepos): Preserve the original type.
1822
22469409
BW
18232005-08-08 Bob Wilson <bob.wilson@acm.org>
1824
1825 * expr.c (write_complex_part): Return after handling MEM.
1826
2d88fcc2
JC
18272005-08-08 Josh Conner <jconner@apple.com>
1828
1829 PR rtl-optimization/23241
1830 * combine.c (simplify_comparison): Fix error in determining
1831 whether to lift a subreg from comparison.
1832
7a4eca66
DE
18332005-08-08 David Edelsohn <edelsohn@gnu.org>
1834
1835 PR target/18506
1836 * config/rs6000/altivec.md (vec_init<mode>): New.
1837 (vec_set<mode>): New.
1838 (vec_extract<mode>): New.
1839 * config/rs6000/rs6000.c (rs6000_expand_vector_init): New.
1840 (rs6000_expand_vector_set): New.
1841 (rs6000_expand_vector_extract): New.
1842 (rs6000_legitimate_offset_address_p): Offset addresses are valid
1843 for Altivec modes before reload.
1844 (altivec_expand_vec_init_builtin): New.
1845 (get_element_number): New.
1846 (altivec_expand_vec_set_builtin): New.
1847 (altivec_expand_vec_ext_builtin): New.
1848 (altivec_expand_builtin): Expand vec_init, vec_set, and vec_ext
1849 builtins.
1850 (altivec_init_builtins): Init vec_init, vec_set, and vec_ext
1851 builtins.
1852 * config/rs6000/rs6000.h (rs6000_builtins): Add
1853 ALTIVEC_BUILTIN_VEC_INIT_<mode>, ALTIVEC_BUILTIN_VEC_SET_<mode>,
1854 ALTIVEC_BUILTIN_VEC_EXT_<mode>.
1855 * config/rs6000/rs6000-protos.h: Declare new functions.
1856
47efdea4
JH
18572005-08-08 Jan Hubicka <jh@suse.cz>
1858
1859 * i386.c (legitimate_pic_address_disp_p): Refuse GOTOFF in 64bit mode.
1860 (legitimate_address_p): Refuse GOT and GOTOFF in 64bit mode.
1861 * i386.md (movdi*): Use pic_32bit_operand.
1862 * predicates.md (pic_32bit_operand): New.
1863
f303a996
NS
18642005-08-08 Nathan Sidwell <nathan@codesourcery.com>
1865
1866 PR c++/21166
1867 * stor-layout.c (finalize_type_size): Undo DECL_PACKED when possible.
1868
a5ad7269
JM
18692005-08-07 James A. Morrison <phython@gcc.gnu.org>
1870
1871 * tree-vrp.c (simplify_div_or_mod_using_range): Use build2.
1872 (test_for_singularity): Use fold_build2.
1873
914a6ee8
JDA
18742005-08-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1875
1876 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Fix loop upper bound.
1877
f18faab7
DS
18782005-08-07 Danny Smith <dannysmith@users.sourceforge.net>
1879
1880 * config/i386/cygming.h (SUBTARGET_ENCODE_SECTION_INFO): Define.
1881 (COMMON_ASM_OP) Define.
1882 * config/i386/i386.c (ix86_in_large_data_p): Add ATTRIBUTE_UNUSED
1883 (ix86_encode_section_info): Likewise.
1884 (TARGET_ENCODE_SECTION_INFO): Conditionally define as
1885 SUBTARGET_ENCODE_SECTION_INFO.
1886
455c08cb
RH
18872005-08-06 Richard Henderson <rth@redhat.com>
1888
1889 PR 21894
1890 * tree-nested.c (convert_local_reference): Save and restore val_only
1891 around component_ref and friends. Clear walk_subtrees by default.
1892
3300bf07
PG
18932005-08-06 Peter O'Gorman <peter@pogma.com>
1894
1895 PR 21366
1896 * gcc.c (process_command): Check the argument to -b has a dash.
1897 * doc/invoke.texi: Update -b and -V docs.
1898
e2ba06d6
JW
18992005-08-06 James E Wilson <wilson@specifix.com>
1900
1901 * config/mips/cross64.h, config/mips/t-cross64: Delete.
1902
3e0a6ca6
MM
19032005-08-06 Michael Matz <matz@suse.de>
1904
1905 * genattrtab.c (write_attr_get, write_attr_case): Use insn_code
1906 member only if only one insn is associated with the value.
1907
2f806f3b
NC
19082005-08-06 Nick Clifton <nickc@redhat.com>
1909
1910 * config/stormy16/stormy16.h (SYMBOL_FLAG_XSTORMY16_BELOW100):
1911 New define.
3e0a6ca6 1912 (ASM_OUTPUT_LABELREF): Delete - it is no longer needed.
2f806f3b
NC
1913 * config/stormy16/stormy16.c (xstormy16_below100_symbol):
1914 Check symbol flags instead of symbol name mangling.
3e0a6ca6 1915 (xstormy16_asm_output_aligned_common): Likewise. Also
2f806f3b
NC
1916 simplify code since the bss100_section cass is the only case
1917 where the below100 code will be triggered.
3e0a6ca6 1918 (xstormy16_encode_section_info): Encode below100 attribute
2f806f3b
NC
1919 using the SYMBOL_FLAG_XSTORMY16_BELOW100 instead of mangling
1920 the name.
3e0a6ca6 1921 (xstormy16_strip_name_encoding): Delete - this function is no
2f806f3b 1922 longer needed.
3e0a6ca6 1923 (TARGET_STRIP_NAME_ENCODING): Undefine.
2f806f3b
NC
1924 * config/stormy16/stormy16-protos.h: Delete prototype for
1925 xstormy16_strip_name_encoding.
1926
a4d05547
KH
19272005-08-06 Kazu Hirata <kazu@codesourcery.com>
1928
1929 * Makefile.in, cfgexpand.c, cfgloop.h, cfgloopmanip.c,
1930 config.gcc, ipa-cp.c, ipa-prop.c, ipa-prop.h, reg-stack.c,
1931 tree-ssa-structalias.c, tree-vrp.c, value-prof.c, vec.h,
1932 config/linux.h, config/alpha/alpha.h, config/alpha/linux.h,
1933 config/alpha/predicates.md, config/arc/arc.h,
1934 config/arm/arm.h, config/arm/ieee754-df.S,
1935 config/arm/ieee754-sf.S, config/bfin/bfin.c,
1936 config/bfin/bfin.h, config/c4x/c4x.h, config/crx/crx.c,
1937 config/fr30/fr30.h, config/frv/frv.h, config/h8300/h8300.h,
1938 config/i386/i386.h, config/ia64/ia64.c, config/ia64/ia64.h,
1939 config/m68hc11/m68hc11.h, config/mips/mips.c,
1940 config/mips/mips.h, config/mips/openbsd.h,
1941 config/mn10300/mn10300.h, config/pa/pa.c, config/pa/pa.h,
1942 config/pdp11/pdp11.h, config/rs6000/linux-unwind.h,
1943 config/rs6000/rs6000.c, config/rs6000/rs6000.h,
1944 config/s390/s390.c, config/sh/sh.c, config/sh/sh.h,
1945 config/sparc/linux.h, config/sparc/linux64.h,
1946 config/sparc/sparc.h, config/v850/v850.h, config/vax/vax.h,
1947 doc/extend.texi, doc/gcov.texi, doc/install.texi,
1948 doc/invoke.texi, doc/rtl.texi, doc/tm.texi: Fix comment/doc
1949 typos. Follow spelling conventions.
1950
591baeb0
JM
19512005-08-06 Joseph S. Myers <joseph@codesourcery.com>
1952
1953 PR c/23113
1954 * stmt.c (warn_if_unused_value): Check TREE_NO_WARNING at start.
1955 Don't handle NOP_EXPR, CONVERT_EXPR and NON_LVALUE_EXPR
1956 specially. Check for side effects only for COND_EXPR.
1957 * c-typeck.c (c_finish_stmt_expr): Mark statement expression
1958 return with TREE_NO_WARNING.
1959
f7a064b5
RS
19602005-08-06 Richard Sandiford <richard@codesourcery.com>
1961
1962 PR rtl-optimization/23233
1963 * loop.c (combine_movables): Require the modes to be the same.
1964 (move_movables): Remove handling of cases where the replacement
1965 had a different mode to the original.
1966
b17775ab
JM
19672005-08-05 James A. Morrison <phython@gcc.gnu.org>
1968
1969 PR tree-optimization/23128
1970 * tree-vrp.c (vrp_int_const_binop): Check if unsigned addition or
1971 subtraction wrap, and set TREE_OVERFLOW if they do.
1972
bb1ecfe8
RH
19732005-08-05 Richard Henderson <rth@redhat.com>
1974
1975 PR 21728
1976 * tree-cfg.c (remove_bb): Transmute DECL_NONLOCAL labels into
1977 FORCED_LABEL labels.
1978
50aa8e71
R
19792005-08-05 J"orn Rennecke <joern.rennecke@st.com>
1980
1981 PR middle-end/23135
1982 * reload.c (find_reloads_subreg_address): Pass down TYPE
1983 unchanged. Change all callers except find_reloads_toplev.
1984
b01896cc
MM
19852005-08-05 Michael Matz <matz@suse.de>
1986
1987 * genattrtab.c (current_alternative_string): Remove.
1988 (SIMPLIFY_ALTERNATIVE): Ditto.
1989 (attr_alt_bit_p): Ditto.
1990 (alternative_name): Make const char *.
1991 (evaluate_eq_attr): Remove use of above things.
1992 (simplify_test_exp): Ditto.
1993 (simplify_test_exp <EQ_ATTR>): Guard for insn_code < 0 .
1994 (simplify_test_exp <AND>): Correct typo (test 'right' not 'left').
1995
3f94bdec
JW
19962005-08-04 James E Wilson <wilson@specifix.com>
1997
1998 * config/ptx4.h, config/sol2.h, config/arm/freebsd.h,
1999 config/arm/linux-elf.h, config/frv/frv.h, config/i386/freebsd.h,
2000 config/i386/freebsd64.h, config/i386/netware.h, config/i386/sco5.h,
2001 config/ia64/freebsd.h, config/rs6000/sysv4.h, config/sparc/freebsd.h
2002 (LINK_SPEC): Delete useless %{Wl,*:%*} item.
2003
460f84ed
RH
20042005-08-04 Richard Henderson <rth@redhat.com>
2005
2006 PR 21529
2007 * params.def (PARAM_SRA_MAX_STRUCTURE_COUNT): New.
2008 * params.h (SRA_MAX_STRUCTURE_COUNT): New.
2009 * tree-sra.c (decide_block_copy): Use it. Disable element copy
2010 if we'd have to instantiate too many members.
2011
5a910e43
RH
20122005-08-04 Richard Henderson <rth@redhat.com>
2013
2014 PR 21291
2015 * tree-outof-ssa.c (coalesce_asm_operands): New.
2016 (coalesce_ssa_name): Use it. Split out ...
2017 (coalesce_phi_operands, coalesce_result_decls): ... these.
2018
27c37000
PB
20192005-08-04 Paul Brook <paul@codesourcery.com>
2020
2021 * read-rtl.c (read_quoted_string): Break if EOF.
2022
5808968e
AP
20232005-08-04 Andrew Pinski <pinskia@physics.uc.edu>
2024
2025 * tree.h (fold_build1): Change to macro and call fold_build1_stat.
2026 (fold_build2): Likewise.
2027 (fold_build3): Likewise.
2028 (fold_build1_stat): New function prototype.
2029 (fold_build2_stat): Likewise.
2030 (fold_build3_stat): Likewise.
2031 * fold-const.c (fold_build1): Rename to ..
2032 (fold_build1_stat): this. Add MEM_STAT_DECL. Pass the mem stats
2033 through to build1_stat.
2034 (fold_build2): Rename to ..
2035 (fold_build2_stat): this. Add MEM_STAT_DECL. Pass the mem stats
2036 through to build2_stat.
2037 (fold_build3): Rename to ..
2038 (fold_build3_stat): this. Add MEM_STAT_DECL. Pass the mem stats
2039 through to build3_stat.
2040
d70eadf7 20412005-08-04 David Edelsohn <edelsohn@gnu.org>
6d62ac14 2042 Ian Lance Taylor <ian@airs.com>
d70eadf7
DE
2043
2044 * function.c (assign_stack_local_1): Do not correct stack slot
2045 address if allocation size is smaller than mode size.
2046
c4f548b8
DN
20472005-08-04 Diego Novillo <dnovillo@redhat.com>
2048
2049 PR 22037
2050 * tree-cfg.c (replace_uses_by): Call mark_new_vars_to_rename.
2051 (tree_merge_blocks): Propagate anything allowed by
2052 may_propagate_copy.
2053 Clarify documentation.
2054 * passes.c (execute_todo): If cleanup_tree_cfg invalidated the
2055 SSA form, schedule an update if necessary.
2056
2b7c3273
GP
20572005-08-04 Gerald Pfeifer <gerald@pfeifer.com>
2058
2059 * doc/install.texi (Binaries): Remove broken link to
2060 Sinix/Reliant Unix binaries.
2061
b755446c
RH
20622005-08-03 Richard Henderson <rth@redhat.com>
2063
2064 PR 23221
2065 * function.c (stack_protect_epilogue): Export.
2066 * tree.h (stack_protect_epilogue): Declare.
2067 * calls.c (expand_call): Call it.
2068
7904f95f
EC
20692005-08-03 Eric Christopher <echristo@apple.com>
2070
2071 * gcc.c (LINK_SSP_SPEC): Add fstack-protector-all.
2072 * config/darwin.h (LINK_COMMAND_SPEC): Add link_ssp
2073 spec.
2074
d783b2a2
JH
20752005-08-04 Jan Hubicka <jh@suse.cz>
2076
2077 * profile.c (branch_prob): Split edges with goto locus on them
2078 to get proper line counts.
2079 * tree-cfg.c (make_cond_expr_edges): Record user goto locuses, if any.
2080
53366450
PB
20812005-08-03 Paul Brook <paul@codesourcery.com>
2082
2083 * function.c (assign_parms): Round current_function_args_size
2084 to PARM_BOUNDARY, not STACK_BOUNDARY.
2085
e81d37df
GK
20862005-08-03 Geoffrey Keating <geoffk@apple.com>
2087
2088 * config/i386/i386.c (x86_elf_aligned_common)
2089 (x86_output_aligned_bss): Don't try to use symbols that aren't defined.
2090
279072c8
ZD
20912005-08-03 Zdenek Dvorak <dvorakz@suse.cz>
2092
2093 PR tree-optimization/23157
2094 * tree-scalar-evolution.c (scev_const_prop): Unshare trees
2095 before emitting them.
2096
9d2b0e12
VR
20972005-08-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2098
2099 PR tree-optimization/19899
2100 * Makefile.in (tree-scalar-evolution.o): Add real.h.
2101 * tree-scalar-evolution.c: Include real.h.
2102 (add_to_evolution): Build constant -1 of correct type.
2103
178df94f
JH
21042005-08-03 Jan Hubicka <jh@suse.cz>
2105
2106 * cfgloop.h (DLTHE_FLAG_COMPLETTE_PEEL): New flag.
2107 * cfgloopmanip.c (duplicate_loop_to_header_edge): Special case
2108 profile updating for complette unrolling.
2109 * loop-unroll.c (peel_loop_completely): Use it.
2110 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Likewise.
2111 (tree_unroll_loops_completely): Disable code growing unrolling of cold
2112 loops.
2113
4164b2fb
PB
21142005-08-03 Paul Brook <paul@codesourcery.com>
2115
2116 * combine.c (can_change_dest_mode): New function.
2117 (try_combine, simplify_set): Use it.
2118
4e2b3c87
EB
21192005-08-03 Eric Botcazou <ebotcazou@adacore.com>
2120
2121 * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Only force
2122 TFmode to BLKmode.
2123
1d7887ca
GP
21242005-08-03 Gerald Pfeifer <gerald@pfeifer.com>
2125
2126 * doc/install.texi (Specific): Adjust link to openavr.org.
2127 (Specific): Remove broken reference to GCC 2.8.1 for OS/2.
2128 (Binaries): Adjust HP-UX Porting Center link.
2129 (Binaries): Adjust Free Software Foundation ordering link.
1d7887ca 2130
c7f59e9c
AP
21312005-08-03 Andrew Pinski <pinskia@physics.uc.edu>
2132
2133 * convert.c (convert_to_integer): Use fold_build1 instead of
2134 build1 when converting an integer to an integer.
2135
65030b76
RH
21362005-08-02 Richard Henderson <rth@redhat.com>
2137
2138 * combine.c (combine_instructions): Don't use reg_equal/equiv
2139 results if the mode doesn't match.
2140
6d1ab63a
MM
21412005-08-02 Mark Mitchell <mark@codesourcery.com>
2142
2143 * config/i386/t-mingw32 (NATIVE_SYSTEM_HEADER_DIR): Set it.
2144 * doc/fragments.texi (NATIVE_SYSTEM_HEADER_DIR): Document it.
2145
6d90db3a
RH
21462005-08-02 Richard Henderson <rth@redhat.com>
2147
2148 PR 23196
7904f95f 2149 * explow.c (memory_address): Remove special-case for
6d90db3a
RH
2150 virtual_stack_vars_rtx and virtual_incoming_args_rtx.
2151
78234a86
DN
21522005-08-02 Diego Novillo <dnovillo@redhat.com>
2153
2154 PR 23164
2155 * tree-cfgcleanup.c (cleanup_tree_cfg): Do not limit the
2156 number of calls to cleanup_tree_cfg_1.
2157
5a006700
MR
21582005-08-02 Martin Reinecke <martin@mpa-garching.mpg.de>
2159
2160 * doc/invoke.texi: document file extensions .F90 and .F95
2161
237504fc
RG
21622005-08-02 Richard Guenther <rguenther@suse.de>
2163
2164 * fold-const.c (tree_expr_nonnegative_p): frexp(x, &e) is
2165 positive if its first argument is positive.
2166
e63c84d8
RG
21672005-08-02 Richard Guenther <rguenther@suse.de>
2168
2169 PR tree-optimization/23177
2170 * tree-ssa-operands.c (get_tmr_operands): Use get_expr_operands
2171 on TMR_TAG.
2172
08303d5b
JM
21732005-08-02 James A. Morrison <phython@gcc.gnu.org>
2174
2175 PR tree-optimization/23129
2176 * tree-vrp.c (extract_range_from_binary_expr): Set value range to
2177 varying for divisions with anti-ranges.
2178
5e5a504e
JH
21792005-08-02 Jan Hubicka <jh@suse.cz>
2180
2181 * tree-ssa-dom.c (thread_across_edge): Remove updating here.
2182 * tree-ssa-threadupdate.c (thread_block): Add it here.
2183
4dbdb061
JW
21842005-08-01 James E Wilson <wilson@specifix.com>
2185
2186 * config/mips/mips.c (mips_encode_section_info, mips_attribute_table,
2187 TARGET_ENCODE_SECTION_INFO, TARGET_ATTRIBUTE_TABLE): New.
2188 * config/mips/mips.h (SYMBOL_FLAG_LONG_CALL, SYMBOL_REF_LONG_CALL_P):
2189 New.
2190 * config/mips/predicates.md (const_call_insn_operand): Add check for
2191 SYMBOL_REF_LONG_CALL_P.
2192 * doc/extend.texi (long_call): Document the new attribute.
2193
9e254451
ILT
21942005-08-01 Ian Lance Taylor <ian@airs.com>
2195 Richard Henderson <rth@redhat.com>
2196
2197 * Makefile.in (RTL_BASE_H): Add real.h.
2198 * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Use structure copy
2199 instead of memcpy.
2200 * emit-rtl.c (const_double_from_real_value): Likewise; use rtx.u.rv
2201 directly.
2202 * rtl.c (rtl_check_failed_code_mode): New.
2203 * rtl.h (struct rtx_def): Add u.rv.
2204 (XCMWINT, XCNMPRV): New.
2205 (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Use XCMWINT.
2206 (CONST_DOUBLE_REAL_VALUE): Use XCNMPRV; constify.
2207
5671655e
RH
22082005-08-01 Richard Henderson <rth@redhat.com>
2209
75735872
RH
2210 * dwarf2out.c (mem_loc_descriptor): Use XEXP, not SUBREG_REG,
2211 with auto-inc codes.
2212
5671655e
RH
2213 * config/alpha/predicates.md (and_operand): Test mode of CONST_DOUBLE.
2214
72ce3d4a
JH
22152005-08-01 Jan Hubicka <jh@suse.cz>
2216
2217 * i386-protos.h (asm_preferred_eh_data_format): Declare.
2218 * i386.c: Include dwarf2.h
2219 (asm_preferred_eh_data_format): New.
2220 * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Move offline.
2221
23d28bfe
ILT
22222005-08-01 Ian Lance Taylor <ian@airs.com>
2223
2224 * config/host-linux.c (linux_gt_pch_get_address): Add new name
2225 randomize_va_space for virtual address randomization control.
2226
d6e14e8f
SB
22272005-08-01 Steven Bosscher <stevenb@suse.de>
2228
2229 * common.opt (flag_ipa_cp): Put in right place to maintain
2230 alphabetic sort.
2231
5ded7254
JH
22322005-08-01 Jan Hubicka <jh@suse.cz>
2233
2234 * profile.c (compute_value_histograms): Fix thinko.
2235 * value-prof.c: Include toplev.h
2236 (check_counter): New function.
2237 (tree_divmod_fixed_value_transform, tree_mod_pow2_value_transform,
2238 tree_mod_subtract_transform): Add sanity check.
2239
a8f82ec4
RG
22402005-08-01 Richard Guenther <rguenther@suse.de>
2241
2242 PR tree-optimization/23133
2243 * tree-ssa-math-opts.c (execute_cse_reciprocals): Walk
2244 current functions parameter decls to find defs to cse
2245 reciprocals of.
2246
ac264fef
RG
22472005-08-01 Richard Guenther <rguenther@suse.de>
2248
2249 PR tree-optimization/23109
2250 * tree-ssa-math-opts.c (execute_cse_reciprocals_1):
2251 If trapping math is in effect, use post-dominator information
2252 to check if we'd in any case reach a trapping point before
2253 doing the reciprocal insertion.
2254 (execute_cse_reciprocals): Compute post-dominators, if necessary.
2255 * tree-ssa-loop-im.c (determine_invariantness_stmt): RDIV
2256 expressions are invariant only if trapping math is not in effect.
2257
57fb5341
RL
22582005-08-01 Razya Ladelsky <razya@il.ibm.com>
2259
5a006700
MR
2260 * cgraph.h (update_call_expr, cgraph_copy_node_for_versioning,
2261 cgraph_function_versioning): New declarations.
2262 * cgraphunit.c: Add include to ipa-prop.h.
2263 (update_call_expr, cgraph_copy_node_for_versioning,
2264 cgraph_function_versioning): New functions.
2265 * integrate.c (copy_decl_for_inlining): Remove.
2266 * ipa-prop.h (ipa_replace_map): New struct.
2267 (struct ipa_node): Add ipcp_orig_node, count_scale, new fields.
2268 * ipa-cp.c (ipcp_method_orig_node, ipcp_method_is_cloned,
2269 ipcp_method_set_orig_node, ipcp_cloned_create, ipcp_method_get_scale,
2270 ipcp_method_set_scale, ipcp_method_compute_scale, ipcp_after_propagate,
2271 ipcp_iterate_stage, ipcp_method_scale_print,
2272 ipcp_profile_mt_count_print, ipcp_profile_cs_count_print,
2273 ipcp_profile_edge_print, ipcp_profile_bb_print , ipcp_profile_print,
2274 ipcp_replace_map_create, ipcp_redirect, ipcp_update_callgraph,
2275 ipcp_update_bb_counts, ipcp_update_profiling,
2276 ipcp_update_edges_counts): New functions.
2277 (ipcp_method_cval_init): Remove restriction regarding local methods.
2278 (ipcp_init_stage): Add ipcp_method_compute_scale.
2279 (ipcp_insert_stage): Add versioning.
2280 (ipcp_structures_print): Add ipcp_method_scale_print.
2281 (ipcp_driver): Dump profiling info.
2282 * Makefile.in: Remove integrate.h dependency from tree-inline.o.
2283 Add ipa-prop.h dependency to tree-inline.o and cgraphunit.o.
2284 * tree-inline.c: Remove include to integrate.h, Add include ipa-prop.h.
2285 (struct inline_data): Add versioning_p, ipa_info, new fields.
2286 (remap_decl, mark_local_for_remap_r, setup_one_parameter,
2287 declare_return_variable): Replace calls to copy_decl_for_inlining with
2288 copy_decl_for_dup.
2289 (copy_body_r, copy_bb, copy_cfg_body, copy_tree_r, inlining_p): Add
2290 versioning support.
2291 (copy_decl_for_dup): Rename from copy_decl_for_inlining.
2292 Add argument VERSIONING.
2293 (copy_arguments_for_versioning, copy_static_chain,
2294 function_versionable_p, tree_versionable_function_p,
2295 tree_function_versioning, replace_ref_tree): New functions.
2296 * tree-inline.h: Include varray.h.
2297 (tree_versionable_function_p, tree_function_versioning,
2298 tree copy_decl_for_dup): New declarations.
57fb5341
RL
2299
23002005-08-01 Razya Ladelsky <razya@il.ibm.com>
2301
5a006700
MR
2302 * ipa-cp.c: New file. Contains IPCP specific functionality.
2303 * ipa-prop.h: New file. Contains structures/definitions that can be
2304 used by several interprocedural data flow optimizations (and also IPCP).
2305 * ipa-prop.c: New file.
2306 * Makefile.in: Add ipa-cp.c, ipa-prop.h, ipa-prop.c.
2307 * common.opt: Add ipa-cp flag.
2308 * timevar.def: Add IPCP optimization.
2309 * tree-optimize.c (init_tree_optimization_passes): Schedule
2310 pass_ipa_cp.
2311 * tree-pass.h (pass_ipa_cp): Declare.
57fb5341 2312
569b7f6a
KH
23132005-08-01 Kazu Hirata <kazu@codesourcery.com>
2314
2315 * dwarf2out.c, fold-const.c, ipa-type-escape.c,
2316 loop-invariant.c, predict.c, predict.def, reload1.c, reorg.c,
2317 tree-sra.c, config/arm/arm.c, config/crx/crx.c,
2318 config/i386/i386.c, config/mips/mips.h,
2319 config/rs6000/rs6000.h, config/sh/sh.c,
2320 config/stormy16/stormy16.c: Fix comment typos.
2321
5922c215
JM
23222005-08-01 Joseph S. Myers <joseph@codesourcery.com>
2323
2324 PR c/22311
2325 * c-typeck.c (build_binary_op): Use common_type wrapper on
2326 shortened types.
2327 (common_type): Update comment.
2328
a3f4b7d8
SB
23292005-07-31 Steven Bosscher <stevenb@suse.de>
2330
2331 PR target/23095
2332 * common.opt (flag_gcse_after_reload): Don't initialize to 2.
2333 (flag_rerun_cse_after_loop): Initialize this to 2 instead.
2334 * postreload-gcse.c (hash_scan_set): Do not consider stack regs.
2335
baf7a0d3
JH
23362005-07-31 Jan Hubicka <jh@suse.cz>
2337
2338 * pretty-print.h (pp_widest_integer): New macro.
2339 * tree-pretty-print.c (dump_bb_header): Print BB frequencies and
2340 counts.
2341
7dcbf659
JH
23422005-07-31 Jan Hubicka <jh@suse.cz>
2343
2344 * output.h (enum section_category): Export from varasm.c
2345 (categorize_decl_for_section): Likewise.
2346 * varasm.c (enum section_category): Kill.
2347 (categorize_decl_for_section): Make global.
2348 * i386-protos.h (x86_output_aligned_bss, x86_elf_aligned_common):
2349 Declare.
2350 * i386.c (ix86_section_threshold): New static variable.
2351 (ix86_in_large_data_p, ix86_encode_section_info,
2352 x86_64_elf_unique_section,
2353 x86_64_elf_select_section): New functions.
2354 (TARGET_ENCODE_SECTION_INFO): Define
2355 (override_options): Enable medium model for PIC.
2356 (ix86_expand_prologue): Expand gen_set_got_rex64.
2357 (legitimate_constant_p): Handle new UNSPECs.
2358 (legitimate_pic_address_disp_p): Likewise.
2359 (legitimize_pic_address): Lower MEDIUM model addressing.
2360 * i386.h (PIC_OFFSET_TABLE_REGNUM): Set for medium model PIC.
2361 (enum cmodel): Add MEDIUM_PIC.
2362 (SYMBOL_REF_FAR_ADDR_P): New macro.
2363 (SYMBOL_FLAG_FAR_ADDR): New flag.
2364 * i386.md (movdi): Support medium model.
2365 (set_got_rex64): New pattern.
2366 * i386.opt (mlarge-data-threshold): New flag.
2367 * predicates.md (zext_operand/sext_operand): Deal with medium model.
2368 * x86-64.h (ASM_OUTPUT_ALIGNED_BSS): Use x86_output_aligned_bss.
2369 (ASM_OUTPUT_ALIGNED_COMMON, TARGET_ASM_SELECT_SECTION,
2370 TARGET_ASM_UNIQUE_SECTION): New.
2371
2372 * invoke.texi (-mlarge_data_threshold): Document
2373
0bde02b3
JH
23742005-07-31 Jan Hubicka <jh@suse.cz>
2375
2376 * tree-outof-ssa.c (coalesce_ssa_name): Use coalesce_cost.
2377 (coalesce_vars): Likewise.
2378 * tree-ssa-live.c (coalesce_cost): New.
2379 (build_tree_conflict_graph): Use coalesce_cost.
2380 * tree-ssa-live.h (coalesce_cost): Declare.
2381
a4ccc336
RE
23822005-07-30 Richard Earnshaw <richard.earnshaw@arm.com>
2383
2384 * arm.md (all peepholes for post-increment operations): Delete.
2385 (strqi_preinc, strqi_predec, loadqi_preinc, loadqi_predec)
2386 (loadqisi_preinc, loadqisi_predec, strsi_preinc, strsi_predec)
2387 (loadsi_preinc, loadsi_predec, strqi_shiftpreinc, strqi_shiftpredec)
2388 (loadqi_shiftpreinc, loadqi_shiftpredec, strsi_shiftpreinc)
2389 (strsishift_predec, loadsi_shiftpreinc, loadsi_shiftpredec): Delete.
2390
06581725
JM
23912005-07-30 James A. Morrison <phython@gcc.gnu.org>
2392
2393 * fold-const.c (tree_expr_nonnegative_p): Always return true for
2394 non-integral types.
2395
0cbc4d77 23962005-07-29 Wolfgang Bangerth <bangerth@dealii.org>
d6e14e8f 2397
0cbc4d77
WB
2398 PR target/22582
2399 * doc/invoke.texi: Document -rdynamic.
d6e14e8f 2400
91d975b8
JM
24012005-07-30 Joseph S. Myers <joseph@codesourcery.com>
2402
2403 PR c/23143
2404 * c-parser.c (c_parser_parms_list_declarator): Call
2405 mark_forward_parm_decls.
2406 * c-decl.c (merge_decls): Only check DECL_IN_SYSTEM_HEADER for
2407 decls with visibility structure.
2408
f26b8ec9
PB
24092005-07-30 Paul Brook <paul@codesourcery.com>
2410
2411 * config/arm/arm.c (arm_coproc_mem_operand): Fix inaccurate comment.
2412
a14b88bb
PB
24132005-07-30 Paul Brook <paul@codesourcery.com>
2414
2415 * config/arm/arm-protos.h (arm_canonicalize_comparison): Update
2416 prototype.
2417 * config/arm/arm.c (arm_canonicalize_comparison): Use correct limit
2418 value for mode.
2419 * config/arm/arm.h (CANONICALIZE_COMPARISON): Pass mode argument.
2420
7c47d6e9
JM
24212005-07-29 Joseph S. Myers <joseph@codesourcery.com>
2422
2423 PR c/529
2424 * c-decl.c (warn_if_shadowing): Don't check for PARM_DECL in
2425 nested function declarators.
2426 (pushdecl): Don't call warn_if_shadowing for PARM_DECL.
2427 (grokparms): Call warn_if_shadowing for parameters used within the
2428 parameter list.
2429 (store_parm_decls_newstyle): Call warn_if_shadowing for parameters
2430 not used within the parameter list.
2431 (store_parm_decls_oldstyle): Call warn_if_shadowing for parameters.
2432
3bc751bd
JH
24332005-07-30 Jan Hubicka <jh@suse.cz>
2434
2435 * expr.c (expand_expr_real_1): Do not load mem targets into register.
2436 * i386.c (ix86_fixup_binary_operands): Likewise.
2437 (ix86_expand_unary_operator): Likewise.
2438 (ix86_expand_fp_absneg_operator): Likewise.
2439 * optabs.c (expand_vec_cond_expr): Validate dest.
2440
bc1594c1
JM
24412005-07-29 Joseph S. Myers <joseph@codesourcery.com>
2442
2443 PR c/21720
2444 * real.c (real_from_string): Also set last bit if there is a
2445 nonzero hex digit beyond GCC's internal precision after ".".
2446
3aca4bff
DE
24472005-07-29 David Edelsohn <edelsohn@gnu.org>
2448
2449 * config/rs6000/altivec.md: Convert UNSPEC numerical values to
2450 define_constants. Change duplicate values to unassigned numbers.
2451 Change UNSPEC_SUBS to UNSPEC_VSUBS.
2452 (*altivec_vspltsf): New.
2453 (altivec_vperm_v4sf): Delete.
2454 (altivec_vperm_<mode>): Use mode macro V.
2455 (altivec_vsldoi_<mode>): Convert to mode macro pattern.
2456 (altivec_predicate_v4sf): Delete.
2457 (altivec_predicate_<mode>): Use mode macro V.
2458 (*altivec_lvesfx): New.
2459 (*altivec_stvesfx): New.
2460 (vec_realign_load_v4sf): Delete.
2461 (vec_realign_load_<mode>): Use mode macro V.
2462 * config/rs6000/rs6000.c (generate_set_vrsave): Use
2463 UNSPECV_SET_VRSAVE.
2464
b28250ab
MM
24652005-07-29 Mark Mitchell <mark@codesourcery.com>
2466
2467 PR bootstrap/23131
2468 * configure.ac (SYSTEM_HEADER_DIR): Avoid setting to empty
7904f95f 2469 string.
b28250ab
MM
2470 * configure: Regenerated.
2471
eae50c87
PB
24722005-07-29 Paul Brook <paul@codesourcery.com>
2473
2474 * doc/install.texi: Add link to GFortran binaries wiki page.
2475
79dad081
DU
24762005-07-29 David Ung <davidu@mips.com>
2477
2478 * config/mips/mips.c (mips_cpu_info_table): Add 5kf to the table.
2479 (mips_rtx_cost_data): Add costs for 5kc and 5kf.
2480 * config/mips/mips.h (processor_type): Add PROCESSOR_5KF.
2481 * config/mips/mips.md (cpu): Add 5kf name.
2482 (includes): Includes 5k.md.
2483 * config/mips/5k.md: New DFA pipeline for the 5kc/5kf.
2484 * doc/invoke.texi (MIPS Options): Updated cpu name supported with
7904f95f 2485 -march flag.
79dad081 2486
89e80dd4
DN
24872005-07-29 Diego Novillo <dnovillo@redhat.com>
2488
2489 PR 22550
2490 * tree-cfgcleanup.c (cleanup_tree_cfg_1): Extract from ...
2491 (cleanup_tree_cfg): ... here.
2492 Call cleanup_tree_cfg_1 until there are no more cleanups to
2493 do.
2494
d2f3ffba
JM
24952005-07-29 James A. Morrison <phython@gcc.gnu.org>
2496
2497 * tree-vrp.c (compare_range_with_value): Return true or false
2498 for ~[VAL_1, VAL_2] OP VAL if VAL_1 <= VAL <= VAL_2 for NE_EXPR and
2499 EQ_EXPR respectively.
2500
536fa7b7
KH
25012005-07-29 Kazu Hirata <kazu@codesourcery.com>
2502
2503 * cfg.c, tree-complex.c, config/frv/frv.c, config/i386/i386.c:
2504 Fix comment typos.
2505
6a2cf9dc
DN
25062005-07-29 Diego Novillo <dnovillo@redhat.com>
2507
2508 * tree-ssa-dom.c (struct opt_stats_d): Add field num_iterations.
2509 (tree_ssa_dominator_optimize): Increment it.
2510 (dump_dominator_optimization_stats): Print it.
2511
abf86bf2
RE
25122005-07-29 Richard Earnshaw <richard.earnshaw@arm.com>
2513 Steven Bosscher <stevenb@suse.de>
2514
2515 PR rtl-optimization/23117
2516 * sched-rgn.c (add_branch_dependences): Handle COND_EXEC correctly
2517 when head == tail. Tidy comment.
2518
37cf6116
RH
25192005-07-28 Richard Henderson <rth@redhat.com>
2520
2521 * cse.c (exp_equiv_p): Special case CONST_DOUBLE.
2522 * cselib.c (rtx_equal_for_cselib_p): Likewise.
2523 * jump.c (rtx_renumbered_equal_p): Likewise.
2524 * loop.c (rtx_equal_for_loop_p): Tidy and special case PC, CC0,
2525 CONST_INT and CONST_DOUBLE.
2526 (rtx_equal_for_prefetch_p): Likewise, plus LABEL_REF.
2527 * reload.c (operands_match_p): Special case CONST_INT and
2528 CONST_DOUBLE; check mode earlier.
2529
13b22d3a
JM
25302005-07-29 Joseph S. Myers <joseph@codesourcery.com>
2531
2532 PR c/22240
2533 * c-typeck.c (convert_for_assignment): Do not check
2534 DECL_IN_SYSTEM_HEADER on NULL fundecl.
2535
ca8bdb78
JM
25362005-07-29 Joseph S. Myers <joseph@codesourcery.com>
2537
2538 PR c/22192
2539 * c-typeck.c (composite_type): Prefer constant size arrays to
2540 VLAs.
2541
b608d27a
JM
25422005-07-29 Joseph S. Myers <joseph@codesourcery.com>
2543
2544 PR c/21720
2545 * real.c (real_from_string): Set last bit if there is a nonzero
2546 hex digit beyond GCC's internal precision.
2547
a560c83a
RH
25482005-07-28 Richard Henderson <rth@redhat.com>
2549
2550 PR rtl-opt/22619
2551 * cfgcleanup.c (try_forward_edges): Watch out for end of
2552 insn chain.
2553
66f33c03
JW
25542005-07-28 James E Wilson <wilson@specifixinc.com>
2555
2556 PR c/23106
2557 * doc/invoke.texi (Wstrict-aliasing=2): Fix misleading wording.
2558
c5a4444c
JH
25592005-07-28 Jan Hubicka <jh@suse.cz>
2560
8a76829c
JH
2561 * Makefile.in (rtl-profile.o): Kill all traces of it.
2562 * common.opt (fspeculative-prefetching, ftree-based-profiling): Kill.
2563 * coverage.h (rtl_coverage_counter_ref): Kill.
2564 * opts.c (flag_speculative_prefetching_set): Kill.
2565 (flag_loop_optimize_set): New.
2566 (common_handle_option): Disable loop optimizer when profiling;
2567 do not handle speculative prefetching.
2568 * passes.c (init_optimization_passes): Replace pass_profiling combo
2569 by branch_prob pass.
2570 * profile.c (compute_value_histograms): Update for simplified value
2571 profiles.
2572 (rtl_register_profile_hooks): Kill.
2573 (pass_profiling): Kill.
2574 (rest_of_handle_branch_prob): Do not profile.
2575 * toplev.c (process_options): Remove speculative prefetching.
2576 * toplev.h (flag_tree_based_profiling): Kill.
2577 * tree-profile.c (prepare_instrumented_value,
2578 tree_gen_interval_profiler, tree_gen_pow2_profiler,
2579 tree_gen_one_value_profiler, do_tree_profiling): Update for
2580 simplified datastructures.
2581 * value-prof.c: Add comment that speculative prefetching was dropped;
2582 update rest of file for simplified datastructures.
2583 (NOPREFETCH_RANGE_MIN, NOPREFETCH_RANGE_MAX,
2584 rtl_divmod_values_to_profile, insn_prefetch_values_to_profile,
2585 find_mem_reference_1, find_mem_reference_2, find_mem_reference,
2586 rtl_values_to_profile, rtl_divmod_fixed_value, rtl_mod_pow2,
2587 rtl_mod_subtract, gen_speculative_prefetch,
2588 rtl_divmod_fixed_value_transform, rtl_mod_pow2_value_transform,
2589 rtl_mod_subtract_transform, speculative_prefetching_transform): Kill.
2590 (gate_handle_value_profile_transformations,
2591 rest_of_handle_value_profile_transformations,
2592 pass_value_profile_transformations): Kill.
2593 * value-prof.h (histogram_value_t): Remove IL based unions.
2594 (rtl_register_value_prof_hooks, rtl_register_profile_hooks,
2595 rtl_profile_hooks): Remove hooks.
2596
2597 * invoke.texi (-ftree-based-profiling, -fspeculative-prefetching): Kill.
2598
c5a4444c
JH
2599 * cgraph.c (cgraph_clone_edge): New UPDATE_ORIGINAL argument.
2600 (cgraph_clone_node): Likewise.
2601 * cgraph.h (cgraph_clone_edge): Update prototype.
2602 (cgraph_clone_node): Likewise.
2603 * ipa-inline.c (cgraph_clone_inlined_nodes): Update call of
2604 cgraph_clone_node.
2605 (lookup_recursive_calls): Consider profile.
2606 (cgraph_decide_recursive_inlining): Fix updating; use new
2607 probability argument; use profile.
2608 * params.def (PARAM_MIN_INLINE_RECURSIVE_PROBABILITY): New.
2609 * tree-inline.c (copy_bb): Update clal of clone_edge.
2610 * tree-optimize.c (tree_rest_of_compilation): UPdate cal of clone_node.
2611
2612 * invoke.texi (min-inline-recursive-probability): Document.
2613
ccf548a7
GP
26142005-07-28 Gerald Pfeifer <gerald@pfeifer.com>
2615
2616 * doc/install.texi (Configuration): Update Valgrind homepage.
2617
2c97f8e4
RH
26182005-07-28 Richard Henderson <rth@redhat.com>
2619
407ab83b 2620 PR middle-end/21362
2c97f8e4
RH
2621 * cfgrtl.c (rtl_merge_blocks): Call maybe_remove_eh_handler on
2622 labels we want to delete.
2623 (cfg_layout_merge_blocks): Likewise.
2624
b188ebb1
RH
26252005-07-28 Richard Henderson <rth@redhat.com>
2626
2627 PR target/17692
d6e14e8f
SB
2628 * config/i386/i386.c (ix86_split_sse_movcc): Emit DELETED note
2629 when expanding to nothing.
b188ebb1 2630
facc20ee
JC
26312005-07-28 Josh Conner <jconner@apple.com>
2632
2633 * ipa-inline.c (update_caller_keys): Fix estimated_growth caching.
2634 (cgraph_decide_inlining_of_small_functions): Likewise.
2635
9de21a23
JC
26362005-07-28 Josh Conner <jconner@apple.com>
2637
2638 * ipa-inline.c (cgraph_edge_badness): Update comments. Invert shift
2639 direction of badness if negative.
2640 (cgraph_default_inline_p): Add reason to parameters, and assign it
2641 a value.
2642 (cgraph_decide_inlining_of_small_functions): New parameter in call
2643 to cgraph_default_inline_p.
2644 (cgraph_decide_inlining_incrementally): Likewise.
2645 * cgraphunit.c (decide_is_function_needed): Likewise.
2646 * cgraph.h (cgraph_default_inline_p): Likewise.
2647
206048bd
VR
26482005-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2649
2650 * builtins.c: Fix comment typo(s).
2651 * genautomata.c: Likewise.
2652 * gimplify.c: Likewise.
2653 * tree-dfa.c: Likewise.
2654 * tree-flow-inline.h: Likewise.
2655 * tree-into-ssa.c: Likewise.
2656 * tree-ssa-alias.c: Likewise.
2657 * tree-ssa-ccp.c: Likewise.
2658 * tree-ssa-copy.c: Likewise.
2659 * tree-ssa-dce.c: Likewise.
2660 * tree-ssa-dom.c: Likewise.
2661 * tree-ssa-operands.c: Likewise.
2662 * tree-tailcall.c: Likewise.
2663 * tree-vectorizer.c: Likewise.
2664 * tree-vrp.c: Likewise.
2665 * tree.c: Likewise.
2666
d579f20b
JL
26672005-07-28 Jeff Law <law@redhat.com>
2668
d6e14e8f
SB
2669 * tree-vrp.c (test_for_singularity): Extracted from ...
2670 (simplify_cond_using_ranges): Attempt to simplify a relational
2671 test to NE_EXPR. Dump information when a COND_EXPR is simplified.
d579f20b 2672
5bb1823d
DN
26732005-07-28 Dorit Nuzman <dorit@il.ibm.com>
2674
2675 PR tree-optimization/22506
2676 * tree-vectorizer.c (update_phi_nodes_for_guard2): Skip loop-closed
2677 phis whose argument is constant.
2678
b92ba6ff
R
26792005-07-28 J"orn Rennecke <joern.rennecke@st.com>
2680
2681 PR rtl-optimization/18992
2682 Back out this patch:
2683 2003-10-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2684 PR optimization/12142
2685 * cse.c (count_reg_usage): In a SET with a REG SET_DEST, count the
2686 uses of the register in the SET_SRC. Remove unnecessary argument.
2687
2688 Replace it with this:
2689 * cse.c (count_reg_usage): In INSN, JUMP_INSN and CALL_INSN cases,
2690 if flag_non_call_exceptions is set and the insn may trap, pass
2691 pc_rtx as dest for recursion.
2692 In SET_SRC part of SET case, if dest is already set, pass it down
2693 unchanged.
2694
09bac500
JH
26952005-07-28 Jan Hubicka <jh@suse.cz>
2696
2697 * cfg.c (update_bb_profile_for_threading): Use RDIV.
2698 (scale_bbs_frequencies_int): Likewise, assert for possible overflow.
2699 (scale_bbs_frequencies_gcov_type): Be more curefull about overflows and
2700 roundoff errors.
2701 * tree-cfg.c (tree_duplicate_sese_region): Use counts for updating
2702 profile when available.
2703
27042005-07-28 Jan Beulich <jbeulich@novell.com>
a71aef0b
JB
2705
2706 * config/ia64/ia64.c (ia64_load_pair_ok): New.
2707 (ia64_print_operand): Describe and handle 'X'.
2708 (ia64_register_move_cost): Also handle FP_REGS.
2709 (ia64_preferred_reload_class): Likewise.
2710 (ia64_secondary_reload_class): Likewise.
2711 (ia64_dependencies_evaluation_hook): New local variable c. Initialize
2712 it. Also check for ITANIUM_CLASS_FLDP.
2713 * config/ia64/ia64.h (FP_REGNO_P): New.
2714 (HARD_REGNO_MODE_OK): Remove explusion of TImode.
2715 (reg_class): Add FP_REGS.
2716 (REG_CLASS_NAMES): Adjust for it.
2717 (REG_CLASS_CONTENTS): Likewise.
2718 (REGNO_REG_CLASS): Use FP_REGS where appropriate.
2719 (REG_CLASS_FROM_LETTER): Handle 'x'.
2720 (CLASS_MAX_NREGS): Handle FP_REGS.
2721 (MEMORY_MOVE_COST): Likewise.
2722 * config/ia64/ia64.md (itanium_class): Add fldp.
2723 (type): Handle fldp.
2724 (movti_internal): More allowable operand combinations. Use ldfp8 when
2725 splitting unnecessary. Remove predicable attribute. Adjust
2726 itanium_class attribute.
2727 (smuldi3_highpart): Remove outdated comment.
2728 (mulditi3, umulditi3, rotlti3): New expanders.
2729 (addti3, subti3, mulditi3_internal, umulditi3_internal, negti2, rotlti3_internal): New insns.
2730 (absti2): Disabled new insn for future reference.
2731 Respective new splitters.
2732 * config/ia64/itanium1.md (1_fldp, 1b_fldp): New insn reservations.
2733 * config/ia64/itanium2.md (2_fldp, 2b_fldp): Likewise.
2734 * config/ia64/ia64-protos.h (ia64_load_pair_ok): New.
2735
77d1d8e0
JM
27362005-07-25 James A. Morrison <phython@gcc.gnu.org>
2737
2738 PR rtl-optimization/23047
2739 * simplify-rtx.c (simplify_const_relational_operation): Respect
2740 flag_wrapv for comparisons with ABS.
2741
ff08cbee
JM
27422005-07-27 James A. Morrison <phython@gcc.gnu.org>
2743
2744 PR tree-optimization/22493
2745 * tree-vrp.c (extract_range_from_unary_expr): Deal with -fwrapv and
2746 VR_ANTI_RANGEs properly for NEGATE_EXPRs and ABS_EXPRs.
2747
38c28a25
AH
27482005-07-27 Aldy Hernandez <aldyh@redhat.com>
2749
2750 * config/frv/frv.opt (moptimize-membar): New.
2751
2752 * doc/invoke.texi: Document -moptimize-membar and its inverse.
2753
2754 * config/frv/frv.h: Remove machine_function definition.
2755
d6e14e8f
SB
2756 * config/frv/frv.c (struct frv_io): New.
2757 (struct machine_function): Moved from frv.h. Add has_membar_p.
2758 (frv_same_doubleword_p, frv_io_fixed_order_p, frv_io_union)
2759 (frv_extract_membar, frv_io_check_address, frv_io_handle_set)
2760 (frv_io_handle_use_1, frv_io_handle_use, frv_optimize_membar_local)
2761 (frv_optimize_membar_global, frv_optimize_membar): New functions.
2762 (frv_reorg): Call frv_optimize_membar when appropriate.
2763 (bdesc_loads, bdesc_stores): Use the membar code as the icode field.
2764 (frv_expand_builtin): Adjust calls accordingly.
2765 (frv_io_address_cookie): New function.
2766 (frv_expand_load_builtin, frv_expand_store_builtin): Emit a normal
2767 load or store rather than a special insn. Add ccnstant address and
2768 io-type operands to the membar.
38c28a25
AH
2769 (frv_ifcvt_modify_tests): Unsign regno.
2770 (frv_ifcvt_modify_tests): Same.
2771
2772 * config/frv/frv.md: Remove UNSPEC_BUILTIN_{LOAD,STORE}. Change
2773 UNSPEC_OPTIONAL_MEMBAR constant.
2774 (builtin_read_<mode>): Delete.
2775 (builtin_write_<mode>): Delete.
2776 ("optional_membar_<mode>"): Add operand.
2777
2778 * testsuite/gcc.target/frv/all-builtin-read8.c: Delete.
2779 * testsuite/gcc.target/frv/all-builtin-read16.c: Delete.
2780 * testsuite/gcc.target/frv/all-builtin-read32.c: Delete.
2781 * testsuite/gcc.target/frv/all-builtin-read64.c: Delete.
2782 * testsuite/gcc.target/frv/all-builtin-write8.c: Delete.
2783 * testsuite/gcc.target/frv/all-builtin-write16.c: Delete.
2784 * testsuite/gcc.target/frv/all-builtin-write32.c: Delete.
2785 * testsuite/gcc.target/frv/all-builtin-write64.c: Delete.
2786 * testsuite/gcc.target/frv/all-read-write-1.c: New.
2787
47c504ea
KK
27882005-07-28 Kaz Kojima <kkojima@gcc.gnu.org>
2789
2790 * df.c (df_uses_record): Handle SCRATCH.
2791
ef11c839
SB
27922005-07-28 Steven Bosscher <stevenb@suse.de>
2793
2794 PR debug/20161
2795 * passes.c (rest_of_decl_compilation): If decl is a type and
2796 we have encountered errors, don't emit debug information.
2797
1eb68dca 27982005-07-27 Kenneth Zadeck <zadeck@naturalbridge.com>
ef11c839 2799
1eb68dca 2800 * params.def: Fixed comment.
7904f95f 2801
10252a62
BH
28022005-07-27 Bjoern Haase <bjoern.m.haase@web.de>
2803
2804 PR target/19885
2805 * config/avr/avr.c (TARGET_ASM_ALIGNED_SI_OP): Add.
2806 (TARGET_ASM_UNALIGNED_HI_OP): Add.
2807 (TARGET_ASM_UNALIGNED_SI_OP): Add.
2808
e4598783
SB
28092005-07-27 Steven Bosscher <stevenb@suse.de>
2810
2811 PR c++/22003
2812 * varasm.c (assemble_start_function): Don't do anything that may
2813 require a CFG if the current function is a thunk.
2814
a9fdd472
GK
28152005-07-25 Geoffrey Keating <geoffk@apple.com>
2816
2817 * doc/install.texi (Prerequisites): Mention that perl is needed
2818 to do export control in libstdc++ targetting Darwin.
2819
2bd1e239
SB
28202005-07-27 Steven Bosscher <stevenb@suse.de>
2821
2822 PR rtl-optimization/17808
2823 * sched-deps.c (sched_get_condition): Enable #if 0'ed code.
2824 (sched_insns_conditions_mutex_p): Split out from...
2825 (add_dependence): ...here. But don't call it from here.
2826 (add_dependence_list): Check sched_insns_conditions_mutex_p
2827 before calling add_dependence.
2828 (add_dependence_list_and_free): Likewise.
2829 (fixup_sched_groups): Likewise.
2830 (sched_analyze_1): Likewise.
2831 (sched_analyze_2): Likewise (and replace a "0" with REG_DEP_TRUE).
2832 (sched_analyze): Likewise.
2833 (sched_analyze_insn): Likewise.
2834 * sched-ebb.c (add_deps_for_risky_insns): Likewise.
2835 * sched-rgn.c (add_branch_dependences): Likewise. Also, add
2836 dependencies on all COND_EXEC insns to jumps ending basic blocks
2837 when doing intrablock scheduling.
2838 * sched-int.h (sched_insns_conditions_mutex_p): Add prototype.
2839
880031e1
JL
28402005-07-27 Jeff Law <law@redhat.com>
2841
2842 * tree-vrp.c (vrp_meet): Intersect the equivalency sets when
2843 meeting a VR_ANTI_RANGE with a VR_RANGE. When intersecting
2844 equivalency sets, correctly handle the case were vr0 has an
2845 equivalency set, but vr1 does not.
2846
b940ce0e
DN
28472005-07-27 Dorit Nuzman <dorit@il.ibm.com>
2848
2849 PR tree-optimization/23073
7904f95f 2850 * tree-vect-analyze.c (vect_analyze_data_refs_alignment): Call
b940ce0e
DN
2851 vect_print_dump_info before fprintf.
2852
26c40640
ZD
28532005-07-27 Zdenek Dvorak <dvorakz@suse.cz>
2854
2855 PR tree-optimize/22348
2856 * tree-ssa-loop-niter.c (number_of_iterations_cond):
2857 Fold the partial computation.
2858
3ac01fde
ZD
28592005-07-27 Zdenek Dvorak <dvorakz@suse.cz>
2860
2861 PR tree-optimization/22325
2862 * tree-flow.h (compute_phi_arg_on_exit, force_expr_to_var_cost):
2863 Declare.
2864 * tree-scalar-evolution.c (scev_const_prop): Add generic final
2865 value replacement.
2866 * tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Split from ...
2867 (force_var_cost): ... this function.
2868 (compute_phi_arg_on_exit): Export.
2869
77fcaf4b
ZD
28702005-07-27 Zdenek Dvorak <dvorakz@suse.cz>
2871
2872 PR tree-optimization/20773
2873 * tree-ssa-loop-ch.c (copy_loop_headers): Select the correct latch
2874 edge.
2875
c11b0231
RG
28762005-07-27 Richard Guenther <rguenther@suse.de>
2877
2878 * tree-ssa-structalias.c (push_fields_onto_fieldstack):
2879 Avoid pushing again if current struct contains only
2880 fields we decomposed.
2881
57a73709
JH
28822005-07-27 Jan Hubicka <jh@suse.cz>
2883
093c2329
JH
2884 PR tree-optimization/22574
2885 * cgraph.c (cgraph_function_body_availability): Unanalyzed bodies are
2886 not available.
2887
23504559
JH
2888 * tree-tailcall.c (decrease_profile): New function.
2889 (eliminate_tail_call): Use it.
2890
57a73709
JH
2891 * cgraphunit.c (cgraph_function_and_variable_visibility): Set
2892 visibility flags correctly in whole program mode.
2893
b5395c33
SE
28942005-07-26 Steve Ellcey <sje@cup.hp.com>
2895
2896 PR rtl-optimization/22472
2897 * config/pa/pa.h (HARD_REGNO_RENAME_OK): Define.
2898
86979811
SB
28992005-07-26 Steven Bosscher <stevenb@suse.de>
2900
2901 PR tree-optimization/22504
2902 * tree-complex.c (expand_complex_addition): Use 'code' instead
2903 of MINUS_EXPR for (VARYING, ONLY_IMAG) and (ONLY_IMAG, VARYING).
2904
faf9ab98
AH
29052005-07-26 Aldy Hernandez <aldyh@redhat.com>
2906
2907 * config.gcc (cpu_type): Add frv case.
2908 (with_cpu): Add frv400-*-*linux* and frv550-*-*linux* cases.
2909 (supported_defaults): Add fr550 case.
2910
31521cd4
DN
29112005-07-26 Diego Novillo <dnovillo@redhat.com>
2912
2913 PR 22591
2914 * tree-ssa-alias.c (may_alias_p): Remove shortcut that tests
2915 whether a pointer of type T * may point to objects of type T *.
2916
45499411
DD
29172005-07-26 DJ Delorie <dj@redhat.com>
2918
2919 * configure: Regenerate.
2920
576a4795
DJ
29212005-07-26 Dale Johannesen <dalej@apple.com>
2922
2923 * postreload-gcse.c (alloc_mem): Start CUID numbering at 1.
2924
526635cb
MM
29252005-07-26 Mark Mitchell <mark@codesourcery.com>
2926
2927 * doc/install.texi (--with-build-sysroot): Fix grammatical error.
2928 Clarify use of "build" in name.
2929
c14ff86e
AH
29302005-07-26 Aldy Hernandez <aldyh@redhat.com>
2931
2932 * doc/extend.texi (Raw read/write Functions): New section.
2933 * testsuite/gcc.target/frv/all-builtin-read8.c: New.
2934 * testsuite/gcc.target/frv/all-builtin-read16.c: New.
2935 * testsuite/gcc.target/frv/all-builtin-read32.c: New.
2936 * testsuite/gcc.target/frv/all-builtin-read64.c: New.
2937 * testsuite/gcc.target/frv/all-builtin-write8.c: New.
2938 * testsuite/gcc.target/frv/all-builtin-write16.c: New.
2939 * testsuite/gcc.target/frv/all-builtin-write32.c: New.
2940 * testsuite/gcc.target/frv/all-builtin-write64.c: New.
2941 * config/frv/frv.c: Add bdesc_loads global.
2942 Add bdesc_stores global.
2943 (frv_init_builtins): Add support for __builtin_{read/write}*.
2944 (frv_volatile_memref): New.
2945 (frv_expand_load_builtin): New.
2946 (frv_expand_store_builtin): New.
2947 * config/frv/frv.h (frv_builtins): Add FRV_BUILTIN_SCAN,
2948 FRV_BUILTIN_READ8, FRV_BUILTIN_READ16, FRV_BUILTIN_READ32,
2949 FRV_BUILTIN_READ64, FRV_BUILTIN_WRITE8, FRV_BUILTIN_WRITE16,
2950 FRV_BUILTIN_WRITE32, FRV_BUILTIN_WRITE64.
2951 * config/frv/frv.md (unspecs): Add UNSPEC_BUILTIN_LOAD,
2952 UNSPEC_BUILTIN_STORE, UNSPEC_OPTIONAL_MEMBAR.
2953 (builtin_read_<mode>): New.
2954 (builtin_write_<mode>): New.
2955 (builtin_write64): New.
2956 (optional_membar_<mode>): New.
2957
db487452
R
29582005-07-26 J"orn Rennecke <joern.rennecke@st.com>
2959
2960 * emit-rtl.c (gen_lowpart_common): Compare size of MODE in bits
2961 (rather than units) against HOST_BITS_PER_WIDE_INT.
2962
783455db
KH
29632005-07-26 Kazu Hirata <kazu@codesourcery.com>
2964
2965 * ipa-pure-const.c, ipa-reference.c, ipa-reference.h,
2966 ipa-type-escape.c, ipa-type-escape.h, ipa-utils.c,
2967 ipa-utils.h, treestruct.def, config/crx/crx-protos.h,
2968 config/crx/crx.c, config/crx/crx.h, config/crx/crx.md: Update
2969 FSF address.
2970
a4174ebf
KH
2971 * calls.c, fold-const.c, ipa-reference.c, ipa-type-escape.c,
2972 tree-ssa-reassoc.c, tree-ssa-structalias.c, vec.h,
2973 config/crx/crx.c, config/m32c/m32c.c, config/m32c/m32c.h: Fix
2974 comment typos.
2975 * doc/c-tree.texi, doc/tree-ssa.texi: Fix typos.
2976
46c0a59d
RG
29772005-07-26 Richard Guenther <rguenther@suse.de>
2978
2979 PR tree-optimization/22486
2980 * fold-const.c (fold_unary): Fold away useless component
2981 references of the form (T *)&T.x, if the address
2982 doesn't change.
2983
3e2844cb
JW
29842005-07-25 James E Wilson <wilson@specifixinc.com>
2985
2986 * dwarf2out.c (add_call_src_coords_attributes): New.
2987 (gen_inlined_subroutine_die): Call it.
2988 (maybe_emit_file, init_file_table): Add comments.
2989 (prune_unused_types_walk_attribs): Pass DW_AT_call_file through
2990 maybe_emit_file.
2991 * tree-inline.c (remap_block): Copy BLOCK_SOURCE_LOCATION.
2992 (expand_call_inline): Set BLOCK_SOURCE_LOCATION.
2993 * tree.h (BLOCK_SOURCE_LOCATION): New.
2994 (struct tree_block): New field locus.
2995
9275de65
AS
29962005-07-26 Andreas Schwab <schwab@suse.de>
2997
2998 PR rtl-optimization/23043
2999 * postreload-gcse.c (eliminate_partially_redundant_load): Fix typo
3000 when allocating a struct unoccr.
3001
5306ec31
RH
30022005-07-25 Richard Henderson <rth@redhat.com>
3003
3004 PR 22626
3005 * tree-complex.c (gate_no_optimization): True if errors.
3006 * Makefile.in (tree-complex.o): Update dependencies.
3007
bfa653b3
AH
30082005-07-25 Aldy Hernandez <aldyh@redhat.com>
3009
3010 * config/frv/predicates.md (integer_register_operand): Use
3011 GPR_AP_OR_PSEUDO_P.
3012
43e364dd
AP
30132005-07-25 Andrew Pinski <pinskia@physics.uc.edu>
3014
3015 PR tree-opt/22484
3016 * tree-ssa-ccp.c (fold_stmt_inplace): Strip useless type conversions
3017 after fold.
3018 * tree-ssa-propagate.c (set_rhs): Reject invalid conditional operands.
3019
c72f711f
AP
30202005-07-25 Andrew Pinski <pinskia@physics.uc.edu>
3021
3022 * tree-ssa-reassoc.c (reassociate_expr): Allow scaler floating point
3023 types when flag_unsafe_math_optimizations is true.
3024
160633c6
MM
30252005-07-25 Mark Mitchell <mark@codesourcery.com>
3026
3027 * gcc.c (option_map): Add --sysroot.
3028 (process_command): Handle --sysroot.
3029 (display_help): Document it.
3030 * doc/cppopts.tex (-isysroot): Document.
3031 * doc/invoke.texi (--sysroot): Document.
3032 * doc/install.texi (--with-build-sysroot): Document.
3033
3034 * Makefile.in (inhibit_libc): New variable.
3035 (INHIBIT_LIBC_CFLAGS): Likewise.
3036 (LIBGCC2_CFLAGS): Include
3037 $(INHIBIT_LIBC_CFLAGS).
3038 (CRTSTUFF_CFLAGS): Include $(INHIBIT_LIBC_CFLAGS).
3039 ($(T)crtbegin.o): Do not use @inhibit_libc@.
3040 ($(T)crtend.o): Likewise.
3041 ($(T)crtbeginS.o): Do not use @inhibit_libc@.
3042 ($(T)crtendS.o): Likewise.
3043 ($(T)crtbeginT.o): Do not use @inhibit_libc@.
3044 ($(T)crtendT.o): Likewise.
3045 (stmp-fixinc): Do not complain about missing headers if
3046 inhibit_libc.
3047 * configure.ac (inhibit_libc): Set it to true/false.
3048 (--with-build-sysroot): New option. Use it to set
7904f95f 3049 SYSTEM_HEADER_DIR.
160633c6
MM
3050 * configure: Regenerated.
3051
1490f93a
MH
30522005-07-25 Manfred Hollstein <mh@suse.com>
3053
3054 * calls.c (store_one_arg): Fix unsigned comparison warning.
3055
76e20664
SB
30562005-07-25 Serge Belyshev <belyshev@depni.sinp.msu.ru>
3057
3058 PR other/22337
3059 * ggc-zone.c (ggc_alloc_zone_stat): Do not use CHUNK_OVERHEAD.
3060 (ggc_print_statistics): Initialize variable before use.
3061
5c97e2de
RG
30622005-07-25 Richard Guenther <rguenther@suse.de>
3063
3064 * tree-dfa.c (mark_new_vars_to_rename): Protect against
3065 calling with a PHI_NODE argument.
3066
3067 * tree-flow-inline.h (overlap_subvar): Protect against
3068 possible overflow.
3069
7fefc172
PB
30702005-07-25 Paolo Bonzini <bonzini@gnu.org>
3071
3072 * aclocal.m4 (gcc_AC_CHECK_TOOL): Add /bin to default directory.
3073 * configure: Regenerate.
3074
86a07404
IR
30752005-07-25 Ira Rosen <irar@il.ibm.com>
3076
3077 * expr.c (highest_pow2_factor): Make extern.
3078 * tree-data-ref.c (ptr_decl_may_alias_p): New function.
3079 (ptr_ptr_may_alias_p, may_alias_p, record_ptr_differ_p,
3080 record_array_differ_p, array_ptr_differ_p): Likewise.
3081 (base_object_differ_p): Rename (from array_base_name_differ_p). Support
3082 additional cases. Call the above functions.
3083 (base_addr_differ_p): Moved from tree-vect-analyze.c. Call
3084 base_object_differ_p when there are two base objects. Otherwise, compare
3085 base address and offset. Call may_alias_p.
3086 (dump_data_reference): Use a correct field name.
3087 (analyze_array): Make static. Initialize new data-ref fields.
3088 (analyze_indirect_ref): New function.
7904f95f
EC
3089 (init_data_ref): Initialize new data-ref fields.
3090 (strip_conversion): Moved from tree-vect-analyze.c.
7fefc172
PB
3091 (analyze_offset_expr, get_ptr_offset, address_analysis,
3092 object_analysis): Likewise.
86a07404 3093 (analyze_offset): New function.
86979811 3094 (create_data_ref): Likewise.
86a07404
IR
3095 (initialize_data_dependence_relation): Call base_addr_differ_p. Compare
3096 dimensions for ARRAY_REFs only.
3097 (build_classic_dist_vector): Make static.
3098 (access_functions_are_affine_or_constant_p): Call macro to get the
3099 address of access functions.
3100 (compute_all_dependences): Add new parameter
7904f95f 3101 compute_self_and_read_read_dependences. Compute self and read-read
86a07404
IR
3102 dependences if it is true.
3103 (find_data_references_in_loop): Call create_data_ref. Initialize new
3104 data-ref fields.
3105 (compute_data_dependences_for_loop): Add new parameter
3106 compute_self_and_read_read_dependences. Remove parameter nb_loops,
7fefc172
PB
3107 compute nb_loops. Call compute_all_dependences,
3108 build_classic_dist_vector and build_classic_dir_vector with correct
3109 parameters.
3110 (analyze_all_data_dependences): Call compute_data_dependences_for_loop
3111 with correct parameters. Compare dimensions for ARRAY_REFs only.
86a07404
IR
3112 (free_data_refs): Call macro to free access functions.
3113 * tree-data-ref.h (struct first_location_in_loop): New structure. Move
3114 fields from stmt_vinfo.
3115 (struct base_object_info): New structure.
7904f95f 3116 (struct data_reference): Move fields to base_object_info. Add fields
86a07404 3117 first_location and object_info for above structures. Move fields from
7fefc172
PB
3118 stmt_info: memtag, ptr_info, subvars, misalignment. Add new field
3119 aligned_to. Add macros to access the new fields.
86a07404
IR
3120 Update functions declarations.
3121 * tree-flow.h (is_aliased_with): Declare.
3122 * tree-loop-linear.c (linear_transform_loops): Call
3123 compute_data_dependences_for_loop with correct parameters.
3124 * tree-ssa-alias.c (is_aliased_with): New function.
86979811 3125 * tree-vect-analyze.c (vect_get_ptr_offset): Remove.
86a07404
IR
3126 (vect_analyze_offset_expr, vect_base_addr_differ_p): Likewise.
3127 (vect_analyze_data_ref_dependence): Get ddr. Remove call to
3128 vect_base_addr_differ_p, compute_subscript_distance and
3129 build_classic_dist_vector. Add printings. Check absolute value of
3130 distance.
7fefc172
PB
3131 (vect_analyze_data_ref_dependences): Go through ddrs instead of
3132 data-refs.
86a07404
IR
3133 (vect_compute_data_ref_alignment): Get the fields of data-ref instead of
3134 stmt. Check aligned_to. Check if the base is aligned. Remove conversion
3135 to bytes. Add printing.
7fefc172
PB
3136 (vect_compute_data_refs_alignment): Go through loads and stores in one
3137 loop.
86a07404
IR
3138 (vect_enhance_data_refs_alignment, vect_analyze_data_refs_alignment,
3139 vect_analyze_data_ref_access): Likewise.
3140 (vect_analyze_pointer_ref_access): Remove.
3141 (vect_address_analysis, vect_object_analysis): Likewise.
3142 (vect_analyze_data_refs): Call compute_data_dependences_for_loop to find
3143 and analyze data-refs in the loop.
7fefc172
PB
3144 * tree-vect-transform.c (vect_create_addr_base_for_vector_ref): Get the
3145 fields of data-ref instead of stmt. Add init to the offset from the
3146 base.
86a07404
IR
3147 (vect_create_data_ref_ptr): Get the fields of data-ref instead of stmt.
3148 (vect_update_init_of_dr): Likewise.
3149 (vect_update_inits_of_drs): Go through loads and stores in one loop.
7fefc172
PB
3150 * tree-vectorizer.c (new_stmt_vec_info): Remove initialization of
3151 removed fields.
86a07404
IR
3152 (new_loop_vec_info): Initialize new fields.
3153 (destroy_loop_vec_info): Free new fields.
3154 (vect_strip_conversion): Remove.
3155 * tree-vectorizer.h (enum verbosity_levels): Add new verbosity level.
3156 (struct _loop_vec_info): Unify data_ref_writes and data_ref_reads into
7904f95f 3157 datarefs. Add new field ddrs.
86a07404
IR
3158 Add macros for the new fields access.
3159 (struct _stmt_vec_info): Remove: base_address, initial_offset, step,
3160 base_aligned_p, misalignment, memtag, ptr_info and subvars.
3161 Remove their macros.
3162 * tree.h (highest_pow2_factor): Declare.
3163
0dc42b03
JJ
31642005-07-25 Jakub Jelinek <jakub@redhat.com>
3165
3166 * calls.c (store_one_arg): Check for sibling call MEM arguments
3167 from already clobbered incoming argument area.
3168
104f8784
KG
31692005-07-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3170
3171 * c-common.c (check_missing_format_attribute): New.
3172 * c-common.h (check_missing_format_attribute): Likewise.
3173 * c-typeck.c (convert_for_assignment): Use it.
3174
1b8452d0
AS
31752005-07-24 Andreas Schwab <schwab@suse.de>
3176
3177 * config/m68k/m68k.md ("extendqidi2"): When source is an address
3178 register use a word move. Correct operand of ext.w in 68000 code.
3179
2b402955
MM
31802005-07-23 Mark Mitchell <mark@codesourcery.com>
3181
3182 * dwarf2out.c (gen_variable_die): Treat un-emitted COMDAT
3183 variables as declarations, rather than definitions.
3184
c8af1197
IR
31852005-07-24 Ira Rosen <irar@il.ibm.com>
3186
86979811
SB
3187 PR tree-optimization/22526
3188 * tree-vectorizer.c (slpeel_tree_peel_loop_to_edge): Match the type
3189 of the zero node.
c8af1197 3190
1b135aa5
FXC
31912005-07-24 Francois-Xavier Coudert <coudert@clipper.ens.fr>
3192
3193 * builtins.def: Add DEF_EXT_C99RES_BUILTIN to define builtins
3194 that C99 reserve for future use. Use it to define clog10,
3195 clog10f and clog10l.
3196
ac0f3f39
KG
31972005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3198
3199 * Makefile.in (STRICT2_WARN): Add -Wmissing-format-attribute.
3200 * configure.ac: Check for -Wmissing-format-attribute.
7904f95f 3201
ac0f3f39
KG
3202 * configure: Regenerate.
3203
db753fa1
RH
32042005-07-23 Richard Henderson <rth@redhat.com>
3205
3206 PR tree-optimization/22623
3207 * tree-complex.c (set_component_ssa_name): Use replace_ssa_name_symbol.
3208
28f155be
GB
32092005-07-23 Giovanni Bajo <giovannibajo@libero.it>
3210
3211 PR target/22577
3212 * config/pa/pa.c (reloc_needed): Updated for VECs inside CONSTRUCTOR.
3213
db857e7d
KG
32142005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3215
3216 * Makefile.in (C_TREE_H): Update dependencies.
3217 * c-tree.h: Include toplev.h.
3218 * diagnostic.h (diagnostic_set_info): Add format attribute.
3219 * rtl-error.c (diagnostic_for_asm): Likewise.
3220
118ea793
CF
32212005-07-23 Chao-ying Fu <fu@mips.com>
3222
3223 * config/mips/mips-dsp.md: New file.
3224 * config/mips/mips-modes.def (V4QI, V2HI, CCDSP): New modes.
3225 * config/mips/mips.c (mips_function_type): Add types for DSP builtin
3226 functions.
3227 (mips_builtin_type): Add MIPS_BUILTIN_DIRECT_NO_TARGET and
3228 MIPS_BUILTIN_BPOSGE32.
3229 (mips_expand_builtin_direct): Add one parameter to indicate that
3230 builtin functions need to return a value.
3231 (mips_expand_builtin_bposge): New for expanding "bposge" builtin
3232 functions.
3233 (mips_regno_to_class): Add classes for 12 new DSP registers.
3234 (mips_subword): Change to check four HI registers.
3235 (mips_output_move): Output move to and from 6 new DSP accumulators.
3236 (override_options): Make sure -mdsp and -mips16 are not used together.
3237 Map 'A' to DSP_ACC_REGS and 'a' to ACC_REGS. Enable DSP accumulators
3238 for machine modes.
3239 (mips_conditional_register_usage): Disable 6 new DSP accumulators
3240 when !TARGET_DSP.
3241 (print_operand): Add 'q' for printing DSP accumulators.
3242 (mips_cannot_change_mode_class): Check ACC_REGS.
3243 (mips_secondary_reload_class): Check ACC_REGS.
3244 (mips_vector_mode_supported_p): Enable V2HI and V4QI when TARGET_DSP.
3245 (mips_register_move_cost): Check ACC_REGS.
3246 (CODE_FOR_mips_addq_ph, CODE_FOR_mips_addu_qb, CODE_FOR_mips_subq_ph)
3247 (CODE_FOR_mips_subu_qb): New code-aliasing macros.
3248 (DIRECT_NO_TARGET_BUILTIN, BPOSGE_BUILTIN): New macros.
3249 (dsp_bdesc): New array.
3250 (bdesc_arrays): Add DSP builtin function table.
3251 (mips_prepare_builtin_arg): Check predicate again after
3252 copy_to_mode_reg.
3253 (mips_expand_builtin): Add one more parameter to
3254 mips_expand_builtin_direct. Expand MIPS_BUILTIN_DIRECT_NO_TARGET and
3255 MIPS_BUILTIN_BPOSGE32.
3256 (mips_init_builtins): Initialize new function types.
3257 (mips_expand_builtin_direct): Check if builtin functions need to
3258 return a value and pass operands properly.
3259 (mips_expand_builtin_bposge): New function.
3260 * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Add __mips_dsp.
3261 (ASM_SPEC): Map -mdsp to -mdsp in GAS.
3262 (FIRST_PSEUDO_REGISTER): Increase to 188.
3263 (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS):
3264 Update for 12 new DSP registers.
3265 (DSP_ACC_REG_FIRST, DSP_ACC_REG_LAST, DSP_ACC_REG_NUM, AC1HI_REGNUM)
3266 (AC1LO_REGNUM, AC2HI_REGNUM, AC2LO_REGNUM, AC3HI_REGNUM, AC3LO_REGNUM):
3267 (DSP_ACC_REG_P, ACC_REG_P, ACC_HI_REG_P): New macros.
3268 (reg_class): Add DSP_ACC_REGS and ACC_REGS.
3269 (REG_CLASS_NAMES): Add names for DSP_ACC_REGS and ACC_REGS.
3270 (REG_CLASS_CONTENTS): Update for DSP_ACC_REGS, ACC_REGS and ALL_REGS.
3271 (REG_ALLOC_ORDER): Update for 12 new DSP registers.
3272 (mips_char_to_class): Add 'A' for DSP_ACC_REGS and 'a' for ACC_REGS.
3273 (UIMM6_OPERAND, IMM10_OPERAND): New macros.
3274 (EXTRA_CONSTRAINT_Y): Add YA and YB extra constraints.
3275 (REGISTER_NAMES): Add names for 12 new DSP registers.
3276 * config/mips/mips.md: Include mips-dsp.md.
3277 (UNSPEC_ADDQ, UNSPEC_ADDQ_S, UNSPEC_SUBQ, UNSPEC_SUBQ_S, UNSPEC_ADDSC)
3278 (UNSPEC_ADDWC, UNSPEC_MODSUB, UNSPEC_RADDU_W_QB, UNSPEC_ABSQ_S)
3279 (UNSPEC_PRECRQ_QB_PH, UNSPEC_PRECRQ_PH_W, UNSPEC_PRECRQ_RS_PH_W)
3280 (UNSPEC_PRECRQU_S_QB_PH, UNSPEC_PRECEQ_W_PHL, UNSPEC_PRECEQ_W_PHR)
3281 (UNSPEC_PRECEQU_PH_QBL, UNSPEC_PRECEQU_PH_QBR, UNSPEC_PRECEQU_PH_QBLA)
3282 (UNSPEC_PRECEQU_PH_QBRA, UNSPEC_PRECEU_PH_QBL, UNSPEC_PRECEU_PH_QBR)
3283 (UNSPEC_PRECEU_PH_QBLA, UNSPEC_PRECEU_PH_QBRA, UNSPEC_SHLL)
3284 (UNSPEC_SHLL_S, UNSPEC_SHRL_QB, UNSPEC_SHRA_PH, UNSPEC_SHRA_R)
3285 (UNSPEC_MULEU_S_PH_QBL, UNSPEC_MULEU_S_PH_QBR, UNSPEC_MULQ_RS_PH)
3286 (UNSPEC_MULEQ_S_W_PHL, UNSPEC_MULEQ_S_W_PHR, UNSPEC_DPAU_H_QBL)
3287 (UNSPEC_DPAU_H_QBR, UNSPEC_DPSU_H_QBL, UNSPEC_DPSU_H_QBR)
3288 (UNSPEC_DPAQ_S_W_PH, UNSPEC_DPSQ_S_W_PH, UNSPEC_MULSAQ_S_W_PH)
3289 (UNSPEC_DPAQ_SA_L_W, UNSPEC_DPSQ_SA_L_W, UNSPEC_MAQ_S_W_PHL)
3290 (UNSPEC_MAQ_S_W_PHR, UNSPEC_MAQ_SA_W_PHL, UNSPEC_MAQ_SA_W_PHR)
3291 (UNSPEC_BITREV, UNSPEC_INSV, UNSPEC_REPL_QB, UNSPEC_REPL_PH)
3292 (UNSPEC_CMP_EQ, UNSPEC_CMP_LT, UNSPEC_CMP_LE, UNSPEC_CMPGU_EQ_QB)
3293 (UNSPEC_CMPGU_LT_QB, UNSPEC_CMPGU_LE_QB, UNSPEC_PICK, UNSPEC_PACKRL_PH)
3294 (UNSPEC_EXTR_W, UNSPEC_EXTR_R_W, UNSPEC_EXTR_RS_W, UNSPEC_EXTR_S_H)
3295 (UNSPEC_EXTP, UNSPEC_EXTPDP, UNSPEC_SHILO, UNSPEC_MTHLIP, UNSPEC_WRDSP)
3296 (UNSPEC_RDDSP): New constants.
3297 (*movdi_32bit): Change 'x' to 'a' for ACC_REGS.
3298 (*movsi_internal): Change 'x' to 'a' for ACC_REGS. Add an
3299 A<-d alternative.
3300 * config/mips/mips.opt (-mdsp): New option.
3301 * config/mips/predicates.md (const_uimm6_operand, const_imm10_operand)
3302 (reg_imm10_operand): New predicates.
3303 * doc/extend.texi (MIPS DSP Built-in Functions): New section.
3304 * doc/invoke.texi (-mdsp): Document new option.
3305
d2fcbf6f
DD
33062005-07-22 DJ Delorie <dj@redhat.com>
3307
3308 * c-objc-common.c (c_cannot_inline_tree_fn): Add warning control
3309 to warning calls.
3310 * tree-inline.c (inlinable_function_p): Likewise.
3311
9881e3e5
MM
33122005-07-22 Mark Mitchell <mark@codesourcery.com>
3313
3314 PR debug/21828
3315 * toplev.c (check_global_declarations): Do not mark undefined
3316 variables as DECL_IGNORED_P.
3317 * varasm.c (first_global_object_name): GTY it.
3318 (weak_global_object_name): Likewise.
3319 (notice_global_symbol): Use ggc_strdup, not xstrdup, when creating
3320 a string to go into {weak,first}_global_object_name.
3321
1a8d0d41
DD
33222005-07-22 DJ Delorie <dj@redhat.com>
3323
3324 * c-format.c (check_function_format): Change warning control
3325 option from OPT_Wattribute to OPT_Wmissing_format_attribute.
3326
17c7e33e
DN
33272005-07-22 Diego Novillo <dnovillo@redhat.com>
3328
3329 * tree-ssa-alias.c (count_ptr_derefs): Do not consider
3330 &PTR->FLD a dereference of PTR.
3331 * tree-ssa-structalias.c (update_alias_info): Consider &PTR->FLD
3332 a potential dereference of PTR.
3333
45002e59
R
33342005-07-22 J"orn Rennecke <joern.rennecke@st.com>
3335
191e1ff2
R
3336 PR rtl-optimization/20370
3337 * ifcvt.c (dead_or_predicable): Before calling propagate_block,
3338 call allocate_reg_info if necessary.
3339
475a3eef
R
3340 PR rtl-optimization/21848
3341 * calls.c (emit_library_call_value_1): For const functions, add
3342 USEs of the stack slots to CALL_INSN_FUNCTION_USAGE.
3343
29c1846b
R
3344 PR rtl-optimization/22445
3345 * cselib.c (target.h): Include.
3346 (rtx_equal_for_cselib_p): Allow commutative matches.
3347 (cselib_hash_rtx): Don't use MODE for CONST_INT hashing.
3348 Remove MODE parameter. Changed all callers.
3349
45002e59
R
3350 PR rtl-optimization/22258
3351 * combine.c (likely_spilled_retval_1, likely_spilled_retval_p):
3352 New functions.
3353 (try_combine): Use likely_spilled_retval_p.
3354
db869733
PW
33552005-07-22 Paul Woegerer <paul.woegerer@nsc.com>
3356
3357 * config.gcc: Add crx-elf support.
3358
3359 * doc/contrib.texi: Mention crx.
3360 * doc/extend.texi: Document crx extensions.
3361 * doc/install.texi: Document crx install.
3362 * doc/invoke.texi: Document crx options.
3363 * doc/md.texi: Document crx constraints.
3364
3365 * config/crx/crx-protos.h: New file.
3366 * config/crx/crx.c: New file.
3367 * config/crx/crx.h: New file.
3368 * config/crx/crx.md: New file.
3369 * config/crx/crx.opt: New file.
3370 * config/crx/t-crx: New file.
7904f95f 3371
32cafd73
MH
33722005-07-22 Manfred Hollstein <mh@suse.com>
3373
3374 * tree-ssa-structalias.c (merge_graph_nodes): Fix uninitialised
3375 warnings.
3376 (int_add_graph_edge): Likewise.
3377 (collapse_nodes): Likewise.
3378 (process_unification_queue): Likewise.
3379
ee184c4d 33802005-07-22 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
86979811 3381 Laurent GUERBY <laurent@guerby.net>
ee184c4d 3382
86979811 3383 PR tree-optimization/22336
7904f95f 3384 * function.c (record_block_change): Check for
86979811 3385 cfun->ib_boundaries_block.
7904f95f 3386
b49ceb45
JM
33872005-07-21 James A. Morrison <phython@gcc.gnu.org>
3388
3389 * fold-const.c (fold_unary): Don't strip signed nops from ABS_EXPRs.
3390 (tree_expr_nonnegative_p): Return try for TYPE_UNSIGNED.
3391
30c54de9
DD
33922005-07-21 DJ Delorie <dj@redhat.com>
3393
3394 * toplev.c (warn_deprecated_use): Add warning control to warning
3395 call.
c303630a
DD
3396 * c-typeck.c (parser_build_binary_op): Likewise.
3397 (c_finish_if_stmt): Likewise.
30480ec4
DD
3398 * c-common.c (check_function_sentinel): Likewise.
3399 (check_nonnull_arg): Likewise.
30c54de9 3400
95a8c155
RH
34012005-07-21 Richard Henderson <rth@redhat.com>
3402
3403 PR tree-opt/22504
3404 * tree-complex.c (complex_ssa_name_components): New.
3405 (cvc_lookup): Allow entry not found.
3406 (create_components): Remove.
3407 (create_one_component_var, get_component_var): New.
3408 (get_component_ssa_name, set_component_ssa_name): New.
3409 (extract_component): Use get_component_ssa_name.
3410 (update_complex_components): Use set_component_ssa_name.
3411 (update_complex_components_on_edge): Likewise.
3412 (update_phi_components): Create new PHI nodes directly, instead
3413 of adding insns to edges.
3414 (tree_lower_complex): Allocate and free complex_variable_components
3415 and complex_ssa_name_components here.
3416
c05a0766 34172005-07-20 Daniel Berlin <dberlin@dberlin.org>
7904f95f 3418
c05a0766
DB
3419 * alias.c (nonoverlapping_component_refs_p): Use TYPE_MAIN_VARIANT,
3420 revert to returning false.
3421
de343c8d
UB
34222005-07-21 Uros Bizjak <uros@kss-loka.si>
3423
86979811
SB
3424 PR target/21149
3425 * config/i386/i386.md (sse_movhlps): Fix vec_select values.
de343c8d 3426
5acc26ef
UB
34272005-07-21 Uros Bizjak <uros@kss-loka.si>
3428
3429 PR target/22576
3430 * config/i386/i386.md (cmpxf): Change operand constraints
3431 to "nonmemory_operand".
3432
61cb44fe
AP
34332005-07-21 Andrew Pinski <pinskia@physics.uc.edu>
3434
3435 * config/i386/i386.md (trap): Use "".word/t0x0b0f" instead of ud2.
3436
e2fe73f6
AP
34372005-07-21 Andrew Pinski <pinskia@physics.uc.edu>
3438
3439 PR middle-end/21180
3440 * fold-const.c (fold_build1): Add checksum for the operands.
7904f95f 3441 (fold_build2): Likewise.
e2fe73f6
AP
3442 (fold_build3): Likewise.
3443
9d24eb54
AP
34442005-07-21 Andrew Pinski <pinskia@physics.uc.edu>
3445
3446 PR middle-end/19055
3447 * fold-const.c (fold_binary): Transform "(X | Y) ^ X" to "Y & ~ X".
3448
b2e0afa0
PB
34492005-07-21 Paolo Bonzini <bonzini@gnu.org>
3450
3451 * common.opt (-fforward-propagate): Committed by mistake,
3452 removed.
3453
2e48874f
VR
34542005-07-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3455
3456 * reg-stack.c: Fix comment typo(s).
3457 * tree-ssa-operands.c: Likewise.
3458 * tree-vectorizer: Likewise.
3459
889d8465
NC
34602005-07-21 Nick Clifton <nickc@redhat.com>
3461
3462 * config/sh/symbian.c: Replace C++ style line comments with C
3463 style line comments.
86979811 3464 (symbian_add_attribute): Do not use a ? operator on the LHS of
889d8465 3465 an assignment.
86979811 3466 (sh_symbian_handle_dll_attribute): Change the type of the
889d8465
NC
3467 method vector to "VEC(tree,gc)*" and use vector accessor
3468 macros to walk over the elements.
86979811
SB
3469 (symbian_export_vtable_and_rtti_p): Likewise.
3470 (symbian_class_needs_attribute_p): Likewise.
889d8465 3471
2fab365e
PB
34722005-07-21 Paolo Bonzini <bonzini@gnu.org>
3473
3474 PR target/22085
3475 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Do not
3476 initialize targetm.resolve_overloaded_builtin here.
3477 (altivec_expand_overloaded_builtin): Make it non-static.
3478 * config/rs6000/rs6000-protos.h
3479 (altivec_expand_overloaded_builtin): New prototype.
3480 * config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Initialize
3481 targetm.resolve_overloaded_builtin here.
3482 * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Likewise.
3483
f9cc1a70 34842005-07-21 Paolo Bonzini <bonzini@gnu.org>
86979811 3485 Zdenek Dvorak <dvorakz@suse.cz>
f9cc1a70
PB
3486
3487 PR tree-optimization/19210
3488 * common.opt (Wunsafe-loop-optimizations, funsafe-loop-optimizations):
3489 New.
3490 * Makefile.in (tree-ssa-loop-niter.o): Depend intl.o.
3491 * loop-iv.c (get_simple_loop_desc): If -funsafe-loop-optimizations,
3492 rely on unproven assumptions.
3493 * predict.c (predict_loops): Adjust call to number_of_iterations_exit.
3494 * tree-flow.h (number_of_iterations_exit): Add final parameter.
3495 * tree-scalar-evolution.c (number_of_iterations_in_loop): Adjust call
3496 to number_of_iterations_exit.
3497 * tree-ssa-loop-ivcanon.c (empty_loop_p): Likewise.
3498 * tree-ssa-loop-ivopts.c (niter_for_exit): Likewise.
3499 * tree-ssa-loop-niter.c (find_loop_niter,
3500 estimate_numbers_of_iterations_loop): Likewise.
3501 (number_of_iterations_exit): Honor the new options.
3502 * doc/invoke.texi (Wunsafe-loop-optimizations,
3503 funsafe-loop-optimizations): Document them.
3504
cb83c2ec
RS
35052005-07-21 Richard Sandiford <richard@codesourcery.com>
3506
3507 PR rtl-optimization/22167
3508 * gcse.c (hoist_code): Fix hoist_exprs[] check.
3509
5e5cbbfb
AN
35102005-07-20 Adam Nemet <anemet@lnxw.com>
3511
3512 * config/rs6000/lynx.h: Mark __do_global_ctors_aux and
3513 __do_global_dtors_aux longcall.
3514
c2acaf06
KH
35152005-07-20 Kazu Hirata <kazu@cs.umass.edu>
3516
3517 * gensupport.c (old_preds): Don't reference PREDICATE_CODES.
3518 (old_special_pred_table): Don't reference
3519 SPECIAL_MODE_PREDICATES.
3520 * system.h (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): Poison.
3521 * config/arc/arc.h: Don't mention PREDICATE_CODES.
3522 * config/sh/predicates.h: Don't mention
3523 SPECIAL_MODE_PREDICATES.
3524 * doc/tm.texi (PREDICATE_CODES, SPECIAL_MODE_PREDICATES):
3525 Remove.
3526
38b2d076
DD
35272005-07-20 DJ Delorie <dj@redhat.com>
3528
3529 * config.gcc: Add m32c-elf support.
3530
3531 * doc/contrib.texi: Mention m32c.
3532 * doc/extend.texi: Document m32c extensions.
3533 * doc/install.texi: Mention m32c.
3534 * doc/invoke.texi: Document m32c options.
3535 * doc/md.texi: Document m32c constraints.
3536
3537 * config/m32c/addsub.md: New file.
3538 * config/m32c/bitops.md: New file.
3539 * config/m32c/cond.md: New file.
3540 * config/m32c/jump.md: New file.
3541 * config/m32c/m32c-lib1.S: New file.
3542 * config/m32c/m32c-lib2.c: New file.
3543 * config/m32c/m32c-modes.def: New file.
3544 * config/m32c/m32c-pragma.c: New file.
3545 * config/m32c/m32c-protos.h: New file.
3546 * config/m32c/m32c.abi: New file.
3547 * config/m32c/m32c.c: New file.
3548 * config/m32c/m32c.h: New file.
3549 * config/m32c/m32c.md: New file.
3550 * config/m32c/m32c.opt: New file.
3551 * config/m32c/minmax.md: New file.
3552 * config/m32c/mov.md: New file.
3553 * config/m32c/muldiv.md: New file.
3554 * config/m32c/predicates.md: New file.
3555 * config/m32c/prologue.md: New file.
3556 * config/m32c/shift.md: New file.
3557 * config/m32c/t-m32c: New file.
3558
50b69666
KK
35592005-07-20 Kaz Kojima <kkojima@gcc.gnu.org>
3560
3561 * config/sh/sh.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): New constants.
3562 (stack_protect_set, stack_protect_test): New expanders.
86979811 3563 (stack_protect_set_si, stack_protect_set_si_media,
50b69666 3564 stack_protect_set_di_media, stack_protect_test_si,
86979811 3565 stack_protect_test_si_media, stack_protect_test_di_media):
50b69666
KK
3566 New insns.
3567
71b50543
AP
35682005-07-20 Andrew Pinski <pinskia@physics.uc.edu>
3569
3570 * c-typeck.c (output_init_element): Don't copy the INTEGER_CST.
3571
4db8040c
JM
35722005-07-20 James A. Morrison <phython@gcc.gnu.org>
3573
3574 * tree.h (tree_expr_nonzero_p): Export.
3575 * fold-const.c (tree_expr_nonzero_p): Likewise.
3576 Return true for CALL_EXPRs that are alloca calls.
3577 (fold_binary): Use omit_one_operand when checking EQ_EXPRs or NE_EXPRs
3578 against zero.
3579 * tree-flow.h (expr_computes_nonzero): Remove.
3580 * tree-vrp.c (expr_computes_nonzero): Remove.
86979811 3581 (vrp_expr_computes_nonzero): Use tree_expr_nonzero_p.
4db8040c
JM
3582 (extract_range_from_unary_expr): Likewise.
3583 * tree-ssa-dom.c (record_equivalences_from_stmt): Use
3584 tree_expr_nonzero_p.
3585
6d459e2b
BS
35862005-07-20 Bernd Schmidt <bernd.schmidt@analog.com>
3587
09350e36
BS
3588 * config/bfin/bfin-protos.h (legitimize_pic_address): Don't declare.
3589 * config/bfin/bfin.c (legitimize_pic_address): Now static. Take
3590 extra arg "picreg" and use it instead of pic_offset_table_rtx.
3591 All callers changed.
3592 (frame_related_constant_load): New arg "related" which controls
3593 setting of RTX_FRAME_RELATED_P. All callers changed.
3594 (bfin_load_pic_reg): New function, broken out of bfin_expand_prologue.
3595 (bfin_expand_prologue): Add stack limit checking.
3596 * config/bfin/bfin.md (trapifcc): New pattern.
3597
05905337
BS
3598 * config/bfin/bfin.c: Include "langhooks.h".
3599 (def_builtin): Go through lang_hooks to call builtin_function.
3600
6d459e2b
BS
3601 * config/bfin/bfin-protos.h (bfin_longcall_p): Declare.
3602 * config/bfin/predicates.md (symbol_ref_operand): New.
3603 (call_insn_operand): Delete. All callers changed to use
3604 register_no_elim_operand.
3605 * config/bfin/bfin.c (init_cumulative_args): Initialize the new
3606 call_cookie field.
3607 (function_arg): Use it to generate the call's operand 2.
3608 (bfin_longcall_p): New function.
3609 (bfin_expand_call): Extra arg "cookie". All callers and declaration
3610 changed. Emit extra USE in the pattern. Use bfin_longcall_p to
3611 determine if the address needs to be in a REG.
3612 (bfin_handle_longcall_attribute): New function.
3613 (bfin_attribute_table): Add "longcall" and "shortcall".
3614 * config/bfin/bfin.h (CALL_NORMAL, CALL_LONG, CALL_SHORT): New macros.
3615 (CUMULATIVE_ARGS): New member call_cookie.
3616 (PREDICATE_CODES): Add symbol_ref_operand.
3617 * config/bfin/bfin.md (call, call_value, sibcall, sibcall_value): Add
3618 extra USE to the pattern.
3619 (call_symbol, sibcall_symbol, call_value_symbol, sibcall_value_symbol):
3620 New patterns, split off call_insn, sibcall_insn, call_value_insn and
3621 sibcall_value_insn; now the new patterns handle direct calls and the
3622 old ones indirect calls.
3623 * doc/extend.texi: Mention Blackfin in longcall/shortcall docs.
3624
67135ef4
ZD
36252005-07-20 Zdenek Dvorak <dvorakz@suse.cz>
3626
3627 * doc/trouble.texi: Update section on handling of empty loops.
3628
fdda361d
KH
36292005-07-20 Kazu Hirata <kazu@codesourcery.com>
3630
3631 * config.gcc: Remove support for sparc-*-openbsd*,
3632 i860-*-sysv4*, ip2k-*-elf, ns32k-*-netbsdelf*,
3633 ns32k-*-netbsd*.
3634 * config.host: Remove support for i860-*-sysv4* as a host.
3635 * config/i860/*, config/ip2k/*, config/ns32k/*,
3636 config/sparc/openbsd.h, config/sparc/t-openbsd: Remove.
3637 * doc/install.texi, doc/invoke.texi, doc/md.texi: Don't
3638 mention obsolete ports.
3639
96a2347e
KK
36402005-07-20 Kaz Kojima <kkojima@gcc.gnu.org>
3641
3642 * config/sh/sh.c (regno_reg_class): Add GENERAL_REGS for
3643 soft frame pointer.
3644 (sh_expand_prologue): Use hard_frame_pointer_rtx instead
3645 of frame_pointer_rtx.
3646 (sh_expand_epilogue): Likewise.
3647 (sh_set_return_address): Likewise.
3648 (initial_elimination_offset): Use HARD_FRAME_POINTER_REGNUM
3649 instead of FRAME_POINTER_REGNUM if needed. Add elimination
3650 offsets from FRAME_POINTER_REGNUM.
3651 * config/sh/sh.h (SH_REGISTER_NAMES_INITIALIZER): Add sfp.
3652 (sh_register_names): Add initializer for sfp.
3653 (GENERAL_OR_AP_REGISTER_P): Permit FRAME_POINTER_REGNUM.
3654 (VALID_REGISTER_P): Likewise.
3655 (FIRST_PSEUDO_REGISTER): Update.
3656 (DWARF_FRAME_REGISTERS): Define.
3657 (FIXED_REGISTERS, CALL_USED_REGISTERS): Add sfp.
3658 (HARD_FRAME_POINTER_REGNUM): Define.
3659 (FRAME_POINTER_REGNUM): Redefine.
3660 (ELIMINABLE_REGS): Never eliminate to FRAME_POINTER_REGNUM,
3661 but HARD_FRAME_POINTER_REGNUM instead. Add eliminations
3662 from FRAME_POINTER_REGNUM.
3663 (CAN_ELIMINATE): Use HARD_FRAME_POINTER_REGNUM instead of
3664 FRAME_POINTER_REGNUM.
3665 (REG_CLASS_CONTENTS): Add sfp.
3666 (REG_ALLOC_ORDER): Likewise.
3667 (FRAME_GROWS_DOWNWARD): Set to 1. Update comment.
3668 (GO_IF_LEGITIMATE_ADDRESS): Use hard_frame_pointer_rtx instead
3669 of frame_pointer_rtx.
3670 (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
3671
1ade5842
JM
36722005-07-19 James A. Morrison <phython@gcc.gnu.org>
3673
3674 * fold-const.c (tree_expr_nonnegative_p): Only return true for
3675 ABS_EXPR when flag_wrapv is false because of INT_MIN.
3676 (tree_expr_nonzero_p): Always call tree_expr_nonzero_p on the argument
3677 of an ABS_EXPR.
3678 (fold_unary): Always fold ABS_EXPR<ABS_EXPR<x>> into
3679 ABS_EXPR<x>.
3680
4038c495
GB
36812005-07-20 Giovanni Bajo <giovannibajo@libero.it>
3682
3683 Make CONSTRUCTOR use VEC to store initializers.
3684 * c-common.c (complete_array_type): Update to cope with VEC in
3685 CONSTRUCTOR_ELTS.
3686 * c-pretty-print.c (pp_c_initializer_list): Use pp_c_constructor_elts.
3687 (pp_c_constructor_elts): New function.
3688 * c-pretty-print.h (pp_c_constructor_elts): Declare.
3689 * c-typeck.c (build_function_call, build_c_cast, digest_init,
3690 struct constructor_stack, struct initializer_stack,
3691 constructor_elements, push_init_level, pop_init_level,
3692 add_pending_init, find_init_member, output_init_element): Update to
3693 cope with VEC in CONSTRUCTOR_ELTS.
3694 * coverage.c (build_fn_info_value, build_ctr_info_value,
3695 build_gcov_info): Likewise.
3696 * expr.c (categorize_ctor_elements_1, store_constructor,
3697 expand_expr_real_1): Likewise.
3698 * fold-const.c (fold_ternary): Likewise.
3699 * gimplify.c (gimplify_init_ctor_preeval, zero_sized_field_decl,
3700 gimplify_init_constructor, gimplify_expr): Likewise.
3701 * tree-dump.c (dequeue_and_dump): Likewise.
3702 * tree-inline.c (copy_tree_r): Add code to duplicate a CONSTRUCTOR
3703 node.
3704 * tree-pretty-print.c (dump_generic_node): Update to cope with VEC in
3705 CONSTRUCTOR_ELTS.
3706 * tree-sra.c (generate_element_init_1): Likewise.
3707 * tree-ssa-ccp.c (fold_const_aggregate_ref): Likewise.
3708 * tree-ssa-operands.c (get_expr_operands): Likewise.
3709 * tree-vect-generic.c (expand_vector_piecewise): Likewise.
3710 * tree-vect-transform.c (vect_get_vec_def_for_operand):
3711 (get_initial_def_for_reduction): Likewise.
3712 * tree-vn.c (set_value_handle, get_value_handle): CONSTURCTOR uses
3713 value handle in annotations.
3714 * tree.c (tree_node_kind, tree_code_size, make_node_stat,
3715 tree_node_structure): Add support for constr_kind.
3716 (build_vector_from_ctor, build_constructor_single,
3717 build_constructor_from_list): New functions.
3718 (build_constructor): Update to take a VEC instead of a TREE_LIST.
3719 (simple_cst_equal, iterative_hash_expr, initializer_zerop, walk_tree):
3720 Update to cope with VEC in CONSTRUCTOR_ELTS.
3721 * tree.def (CONSTRUCTOR): Make it a tcc_exceptional node.
3722 * tree.h (FOR_EACH_CONSTRUCTOR_VALUE, FOR_EACH_CONSTRUCTOR_ELT,
3723 CONSTRUCTOR_APPEND_ELT): New macros.
3724 (struct constructor_elt, struct tree_constructor): New data types.
3725 (union tree_node): Add tree_constructor field.
3726 * treestruct.def: Define TS_CONSTRUCTOR.
3727 * varasm.c (const_hash_1, compare_constant, copy_constant,
3728 compute_reloc_for_constant, output_addressed_constants,
3729 initializer_constant_valid_p, output_constant,
3730 array_size_for_constructor, output_constructor): Update to cope with
3731 VEC in CONSTRUCTOR_ELTS.
3732 * vec.h (VEC_empty, VEC_copy): New macros.
3733
f37d7c60
DP
37342005-07-19 Devang Patel <dpatel@apple.com>
3735
3736 * dbxout.c (dbxout_type): Check Objective-C++ lang.
7904f95f 3737
af62f6f9
RH
37382005-07-19 Richard Henderson <rth@redhat.com>
3739
3740 PR tree-opt/22278
3741 * gimplify.c (gimplify_expr): Use main variant type for the temp
3742 destination for a discarded volatile read.
3743 * tree-ssa.c (tree_ssa_useless_type_conversion_1): Don't elide
3744 casts between non-void types that change volatility.
3745
b9b8dde3
DD
37462005-07-15 DJ Delorie <dj@redhat.com>
3747
3748 * toplev.h: Add comment about the first parameter for warning().
3749 * errors.h: Likewise.
3750
3751 * c.opt (Wpragmas): New.
3752 * doc/invoke.texi: Document it.
7904f95f 3753
b9b8dde3
DD
3754 * function.c (do_warn_unused_parameter): Add warning control to
3755 warning call.
3756 * c-decl.c (warn_if_shadowing): Likewise.
3757 * c-lex.c (cb_def_pragma): Likewise.
3758 * c-pragma.c (GCC_BAD, GCC_BAD2): Likewise.
3759 (pop_alignment): Likewise.
3760 (handle_pragma_pack): Likewise.
3761 (apply_pragma_weak): Likewise.
3762 (handle_pragma_weak): Likewise.
3763 (handle_pragma_redefine_extname): Likewise.
3764 (add_to_renaming_pragma_list): Likewise.
3765 (handle_pragma_extern_prefix): Likewise.
3766 (maybe_apply_renaming_pragma): Likewise.
3767 (handle_pragma_visibility): Likewise.
7904f95f 3768
b9b8dde3
DD
3769 * config/c4x/c4x-c.c (BAD): Likewise.
3770 (c4x_parse_pragma): Likewise.
3771 * config/ia64/ia64-c.c (ia64_hpux_handle_builtin_pragma): Likewise.
3772 * config/rs6000/rs6000-c.c (SYNTAX_ERROR): Likewise.
3773 (rs6000_pragma_longcall): Likewise.
3774 * config/v850/v850-c.c (pop_data_area): Likewise.
3775 (ghs_pragma_section): Likewise.
3776 (ghs_pragma_section): Likewise.
3777 (ghs_pragma_interrupt): Likewise.
3778 (ghs_pragma_starttda): Likewise.
3779 (ghs_pragma_startsda): Likewise.
3780 (ghs_pragma_startzda): Likewise.
3781 (ghs_pragma_endtda): Likewise.
3782 (ghs_pragma_endsda): Likewise.
3783 (ghs_pragma_endzda): Likewise.
3784
6a9a79a8
DB
37852005-07-19 Danny Berlin <dberlin@dberlin.org>
3786 Kenneth Zadeck <zadeck@naturalbridge.com>
3787
3788 * Makefile.in: Removed tree-promote-statics.c
3789 * tree-promote-statics.c: Removed.
3790 * common.opt: Removed flag-promote-statics.
3791 * opts.c: Ditto.
7904f95f 3792 * passes.c: Removed tree-promote-statics pass.
6a9a79a8
DB
3793 * tree-pass.h: Ditto.
3794 * timevar.def: Removed TV_PROMOTE_STATICS.
3795
3796
0219cf3d
GP
37972005-07-19 Gerald Pfeifer <gerald@pfeifer.com>
3798
3799 * config.gcc: Add support for *-*-freebsd7, *-*-freebsd8,
3800 and *-*-freebsd9.
3801 * config/freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS): Ditto.
7904f95f 3802
7876a414
KG
38032005-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3804
3805 PR c/22476
3806 * c-common.c (check_function_arguments): Call
3807 'check_function_format' if either -Wformat or
3808 -Wmissing-format-attribute are specified.
3809 * c-format.c (check_function_format): Check -Wformat before
3810 calling 'check_format_info'.
3811 * c-opts.c (c_common_post_options): Don't warn for
3812 -Wmissing-format-attribute without -Wformat.
3813 * c-typeck.c (convert_for_assignment): Detect additional cases for
3814 -Wmissing-format-attribute.
3815 * doc/invoke.texi (-Wmissing-format-attribute): Document new
3816 behavior.
3817
98ea7437
RG
38182005-07-19 Richard Guenther <rguenther@suse.de>
3819
3820 * config/i386/i386.md (lrint<mode>2): Use temporary
3821 instead of clobbering non-existent memory.
3822
89a0b917
NC
38232005-07-19 Nick Clifton <nickc@redhat.com>
3824
3825 * config/avr/avr.c (legitimate_address_p): Fix debugging print
3826 statement to avoid displaying ASCII control characters.
3827
dfea6c85
BE
38282005-07-19 Ben Elliston <bje@au.ibm.com>
3829
3830 * bt-load.c (link_btr_uses): Fix uninitialised warnings.
3831 * cfganal.c (find_edge_index): Ditto.
3832 * combine.c (combine_instructions): Ditto.
3833 * ddg.c (create_scc): Ditto.
3834 (find_successors): Ditto.
3835 (find_predecessors): Ditto.
3836 (find_nodes_on_paths): Ditto.
3837 (longest_simple_path): Ditto.
3838 * flow.c (update_life_info): Ditto.
3839 (count_or_remove_death_notes): Ditto.
3840 (clear_log_links): Ditto.
3841 * modulo-sched.c (generate_reg_moves): Ditto.
3842 (find_max_asap): Ditto.
3843 (find_max_hv_min_mob): Ditto.
3844 (find_max_dv_min_mob): Ditto.
3845 * sbitmap.c (sbitmap_first_set_bit): Ditto.
3846 * sched-rgn.c (extract_edgelst): Ditto.
3847 * tree-into-ssa.c (prepare_names_to_update): Ditto.
3848 (dump_update_ssa): Ditto.
3849 (ssa_names_to_replace) Ditto.
3850 (switch_virtuals_to_full_rewrite): Ditto.
3851 (update_ssa): Ditto.
3852 * tree-vect-transform.c (vect_create_epilog_for_reduction): Ditto.
3853
b9d33488
DB
38542005-07-18 Daniel Berlin <dberlin@dberlin.org>
3855
3856 Fix PR tree-optimization/22483
7904f95f 3857
b9d33488
DB
3858 * tree-complex.c (create_components): Use
3859 safe_referenced_var_iterator and FOR_EACH_REFERENCED_VAR_SAFE.
3860 * tree-flow-inline.h (fill_referenced_var_vec): New function.
3861 * tree-flow.h (safe_referenced_var_iterator): New structure.
3862 (FOR_EACH_REFERENCED_VAR_SAFE): New macro.
3863 * tree-ssa-alias.c (setup_pointers_and_addressables): Use
3864 safe_referenced_var iterator.
3865 (add_type_alias): Ditto.
3866
9fa26457
SB
38672005-07-19 Steven Bosscher <stevenb@suse.de>
3868
3869 * loop-init.c (rest_of_handle_loop2): Remove.
3870 (rtl_loop_init, rtl_loop_done, rtl_move_loop_invariants,
3871 rtl_unswitch, rtl_unroll_and_peel_loops, rtl_doloop): New functions.
3872 (pass_rtl_loop_init, pass_rtl_loop_done,
3873 pass_rtl_move_loop_invariants, pass_rtl_unswitch,
3874 pass_rtl_unroll_and_peel_loops, pass_rtl_doloop): New passes.
3875 * tree-ssa-loop.c (pass_loop, pass_loop_init, pass_loop_done,
3876 pass_unswitch): Rename to pass_tree_loop, pass_tree_loop_init,
3877 pass_tree_loop_done, and pass_tree_unswitch.
3878 (gate_loop): Rename to gate_tree_loop.
3879 * passes.c (init_optimization_passes): Update for renamed tree
3880 loop passes. Add the new loop2 passes as subpasses of loop2.
3881 * tree-pass.h: Add extern declarations for the new loop2 subpasses.
3882 Update for the renamed tree loop passes.
3883
7825308e
ILT
38842005-07-18 Ian Lance Taylor <ian@airs.com>
3885
3886 PR middle-end/22057
3887 * tree-cfgcleanup.c (cleanup_tree_cfg): Only remove forwarder
3888 blocks when optimizing.
3889
2928d0f8
SE
38902005-07-18 Steve Ellcey <sje@cup.hp.com>
3891
3892 * common.opt (frename-registers): Initialize to 2.
3893 (fweb): Ditto.
3894 (fgcse-after-reload): Ditto.
3895 * toplev.c (AUTODETECT_FLAG_VAR_TRACKING): Rename to AUTODETECT_VALUE.
3896 (process_options): Only change flag_web, flag_rename_registers,
3897 and flag_rerun_cse_after_loop if not explicitly set by user.
3898
28356f52
JB
38992005-07-18 Jan Beulich <jbeulich@novell.com>
3900
3901 * config/i386/i386.c (ix86_expand_branch, ix86_expand_setcc,
3902 ix86_expand_carry_flag_compare, ix86_expand_int_movcc): Handle TImode
3903 in 64-bit mode the same as DImode in 32-bit mode.
3904 (ix86_expand_ashl_const, ix86_split_ashl, ix86_split_ashr,
3905 ix86_split_lshr): Likewise. Rename to no longer refer to a specific
7904f95f 3906 mode. Add new mode parameter.
28356f52
JB
3907 * config/i386/i386.h (CONST_OK_FOR_LETTER_P): Describe and handle 'O'.
3908 * config/i386/i386.md (cmpti, addti3, subti3, negti2, ashlti3, ashrti3,
3909 x86_64_shift_adj): New expanders.
3910 (*addti3_1, *subti3_1, *negti2_1, ashlti3_1, *ashlti3_2, ashrti3_1,
3911 *ashrti3_2, lshrti3_1, *lshrti3_2, x86_64_shld, x86_64_shrd): New
3912 insns.
3913 Respective new splitters. Use renamed shift splitter helpers in 32-bit
3914 DImode shift splitters.
3915 * config/i386/i386-protos.h (ix86_split_ashl, ix86_split_ashr,
3916 ix86_split_lshr): Renamed from ix86_split_[al]sh[rl]di. Added new
3917 mode parameter.
3918
422edd6f
JB
39192005-07-18 Jan Beulich <jbeulich@novell.com>
3920
3921 * i386.md (movdi_extzv_1): New.
3922 (zero_extendhidi2): Combine alternatives and never force use of
3923 REX64 prefix.
3924 (zero_extendqidi2): Likewise. Don't restrict input selection.
3925
c625053b
DB
39262005-07-17 Daniel Berlin <dberlin@dberlin.org>
3927
3928 Fix PR tree-optimization/22531
3929 * tree-ssa-pre.c (do_eustores): Make sure LHS is a decl for the
3930 moment.
3931
3b1355f3
DB
39322005-07-17 Daniel Berlin <dberlin@dberlin.org>
3933
3934 * tree-promote-statics.c (pass_promote_statics): Change dump file
3935 name.
3936
39372005-07-17 Daniel Berlin <dberlin@dberlin.org>
45159bf6
DB
3938
3939 * tree-optimize.c (init_tree_optimization_passes): Add
3940 pass_eliminate_useless_stores pass.
3941 * tree-pass.h (pass_eliminate_useless_stores): New pass structure.
3942 * tree-ssa-pre.c (is_copy_stmt): New function.
3943 (follow_copies_till_vuse): Ditto.
3944 (do_eustores): Ditto.
7904f95f
EC
3945 (gate_eustores): Ditto.
3946
7544a87f
RH
39472005-07-16 Richard Henderson <rth@redhat.com>
3948
3949 * gcc.c (MFWRAP_SPEC): Don't wrap pthread_join or pthread_exit.
3950
bf0d50f1
KZ
39512005-07-16 Danny Berlin <dberlin@dberlin.org>
3952 Kenneth Zadeck <zadeck@naturalbridge.com>
3953
3954 * Makefile.in: Added rules for ipa-pure-const.c, ipa-reference.c,
3955 ipa-reference.h, ipa-utils.c, ipa-utils.h, ipa-type-escape.c,
3956 ipa-type-escape.h, tree-promote-statics.c
3957 * ipa-pure-const.c, ipa-reference.c, ipa-reference.h, ipa-utils.c,
7904f95f 3958 ipa-utils.h, ipa-type-escape.c, ipa-type-escape.h,
bf0d50f1
KZ
3959 tree-promote-statics.c: new files.
3960 * alias.c: (nonlocal_mentioned_p_1, nonlocal_mentioned_p,
3961 nonlocal_referenced_p_1, nonlocal_referenced_p, nonlocal_set_p_1,
3962 int nonlocal_set_p, mark_constant_function): Deleted.
7904f95f 3963 (rest_of_handle_cfg): Removed call to mark_constant_function.
86979811 3964 (nonoverlapping_component_refs_p): Added calls to support
7904f95f 3965 type based aliasing.
86979811 3966 * tree-ssa-alias.c (may_alias_p,
bf0d50f1
KZ
3967 compute_flow_insensitive_aliasing): Ditto.
3968 * calls.c (flags_from_decl_or_type): Removed reference to
7904f95f 3969 cgraph_rtl_info.
86979811 3970 * c-typeck.c (convert_arguments): Make builtins tolerant of having
bf0d50f1
KZ
3971 too many arguments. This is necessary for Spec 2000.
3972 * cgraph.h (const_function, pure_function): Removed.
7904f95f 3973 * common.opt: Added "fipa-pure-const", "fipa-reference",
bf0d50f1
KZ
3974 "fipa-type-escape", and "ftree-promote-static".
3975 * opts.c: Ditto.
7904f95f 3976 * passes.c: Added ipa and tree-promote-statics passes.
bf0d50f1
KZ
3977 * timevar.def: Added TV_IPA_PURE_CONST, TV_IPA_REFERENCE,
3978 TV_IPA_TYPE_ESCAPE, and TV_PROMOTE_STATICS.
bf0d50f1 3979 * tree-dfa.c (referenced_var_lookup_if_exists): New function.
7904f95f 3980 * tree-flow.h: Added exposed sra calls and addition of
bf0d50f1
KZ
3981 reference_vars_info field for FUNCTION_DECLS.
3982 * tree-pass.h: Added passes.
3983 * tree-sra.c: (sra_init_cache): New function.
3984 (sra_insert_before, sra_insert_after) Made public.
3985 (type_can_be_decomposed_p): Renamed from type_can_be_decomposed_p
3986 and made public.
3987 * tree-ssa-alias.c (dump_alias_stats): Added stats for type based
3988 aliasing. (may_alias_p): Added code to use type escape analysis to
3989 improve alias sets.
3990 * tree-ssa-operands.c (add_call_clobber_ops): Added parameter and
3991 code to prune clobbers of static variables based on information
3992 produced in ipa-reference pass. Changed call clobbering so that
3993 statics are not marked as clobbered if the call does not clobber
3994 them.
3995
b6e0bdbd
DB
39962005-07-16 Daniel Berlin <dberlin@dberlin.org>
3997
3998 * tree-ssa-structalias.c (need_to_solve): Need to check for preds,
3999 too.
4000
ff8f80f2 40012005-07-16 Eric Botcazou <ebotcazou@libertysurf.fr>
2c00bd42
EB
4002
4003 * doc/install.texi (*-*-solaris2*): Document recommended version
4004 of GNU binutils and mention GNU linker problem on Solaris 10.
4005
0b359b01
JM
40062005-07-16 Joseph S. Myers <joseph@codesourcery.com>
4007
4008 PR c/22421
4009 * c-decl.c (c_build_bitfield_integer_type): New function.
4010 (finish_struct): Call it.
4011 * c-pretty-print.c (pp_c_type_specifier): Handle bit-field types.
4012
8fcef540
KG
40132005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4014
4015 * c-typeck.c (digest_init): Call 'convert_for_assignment'
4016 before returning.
4017
84fc24e8
JH
40182005-07-16 Jan Hubicka <jh@suse.cz>
4019
4020 * cfg.c (update_bb_profile_for_threading): Fix profile updating.
4021 (scale_bbs_frequencies_int): Watch roundoff errors.
4022 * predict.c (return_prediction): Initialize return_stmt.
4023
3258272f
JH
40242005-07-16 Jan Hubicka <jh@suse.cz>
4025
4026 * profile.c (rest_of_handle_branch_prob): Fix handling of estimation
4027 after RTL profiling.
4028
01c0a9fa
AP
40292005-07-11 Andrew Pinski <pinskia@physics.uc.edu>
4030
4031 PR middle-end/22398
4032 * fold-const.c (build_range_check): Convert high/low to etype
4033 if we are only comparing against exp.
4034
27811bfe
DB
40352005-07-13 Daniel Berlin <dberlin@dberlin.org>
4036
4037 Fix PR tree-optimization/22376
4038 * tree-ssa-structalias.c (build_constraint_graph): We really meant
4039 special var here.
4040 (need_to_solve): New function.
4041 (compute_points_to_sets): Use it.
7904f95f 4042
2b151cb2
JH
40432005-07-15 Jan Hubicka <jh@suse.cz>
4044
4045 * cfg.c (update_bb_profile_for_threading): More diagnostic.
4046 * tree-ssa-threadupdate.c (redirect_edges): Update profile of dup_block.
4047
0691d1d4
RG
40482005-07-15 Richard Guenther <rguenther@suse.de>
4049
4050 * c-common.c (handle_flatten_attribute): New function.
4051 Add flatten function attribute.
4052 * doc/extend.texi: Document flatten function attribute.
4053 * Makefile.in (ipa-inline.o): Depend on hashtab.h.
4054 * ipa-inline.c (cgraph_find_cycles, cgraph_flatten_node):
4055 New functions.
4056 (cgraph_decide_inlining): Handle functions with flatten
4057 attribute.
4058
9f0076e5
DE
40592005-07-14 David Edelsohn <edelsohn@gnu.org>
4060
4061 * config/rs6000/rs6000.md (UNSPEC_SYNC, UNSPEC_LWSYNC,
4062 UNSPEC_ISYNC, UNSPEC_SYNC_OP, UNSPEC_ATOMIC, UNSPEC_CMPXCHG,
4063 UNSPEC_XCHG, UNSPEC_AND): New.
4064 (UNSPECV_ATOMIC, UNSPECV_SYNC, UNSPECV_SYNC_OP, UNSPECV_CMPXCHG,
4065 UNSPECV_LWSYNC, UNSPECV_ISYNC): Delete.
4066 * config/rs6000/sync.md (FETCHOP): New code macro.
4067 (fetchop_name, fetchop_pred, fetchopsi_constr, fetchopdi_constr):
4068 New code attrs.
4069 (memory_barrier, sync_internal): Use unspec instead of unspec_volatile.
4070 (sync_compare_and_swap<mode>): Same.
4071 (sync_lock_test_and_set<mode>): Same.
4072 (sync_<fetchop><mode>, sync_nand<mode>): Only use rs6000_emit_sync
4073 for QImode and HImode, and not PPC405.
4074 (sync_old_<fetchop><mode>, sync_old_nand<mode>): Same.
4075 (sync_new_<fetchop><mode>, sync_new_nand<mode>): Same.
4076 (sync_<fetchop>{si,di}_internal): New.
4077 (sync_nand{si,di}_internal): New.
4078 (sync_old_<fetchop>{si,di}_internal): New.
4079 (sync_old_nand{si,di}_internal): New
4080 (sync_new_<fetchop>{si,di}_internal): New.
4081 (sync_new_nand{si,di}_internal): New.
4082 (atomic_and{si,di}): New.
4083 (sync_new_nand{si,di}_internal): New.
4084 (atomic_and{si,di}): New.
4085 (sync_add<mode>_internal): Delete.
4086 (sync_addshort_internal): Use unspec instead of unspec_volatile.
4087 (sync_sub<mode>_internal): Delte.
4088 (sync_subshort_internal): New.
4089 (sync_andsi_internal): Use unspec instead of unspec_volatile.
4090 (sync_anddi_internal): Delete.
4091 (sync_boolsi_internal): Use unspec instead of unspec_volatile.
4092 (sync_booldi_internal): Delete.
4093 (sync_boolc<mode>_internal): Delete.
4094 (sync_boolcshort_internal): Use unspec instead of unspec_volatile.
4095 (sync_boolc<mode>_internal2): Delete.
4096 (sync_boolcc<mode>_internal): Delete.
4097 (isync, lwsync): Use unspec instead of unspec_volatile.
4098 * config/rs6000/rs6000.c (rs6000_emit_sync): Implement MINUS.
4099 Revert UNSPEC_VOLATILE.
4100 (rs6000_split_atomic_op): New.
4101 * config/rs6000/rs6000-protos.h (rs6000_split_atomic_op): Declare.
4102
06277571
EC
41032005-07-14 Eric Christopher <echristo@redhat.com>
4104
4105 * config/mips/mips.c (mips_canonicalize_comparison): Cast
4106 argument of trunc_int_for_mode to unsigned HOST_WIDE_INT.
4107
b838c72b
EC
41082005-07-14 Eric Christopher <echristo@redhat.com>
4109
4110 * config/s390/t-tpf (SHLIB_MAPFILES): Remove.
4111
3c341936
SB
41122005-07-14 Steven Bosscher <stevenb@suse.de>
4113
4114 PR tree-optimization/22230
4115 * tree-vrp.c (extract_range_from_binary_expr): Fix logics thinko in
4116 the computation of the four cross productions for "range op range".
4117
704b6cb5 41182005-07-14 Alexandre Oliva <aoliva@redhat.com>
86979811 4119 Ulrich Weigand <uweigand@de.ibm.com>
704b6cb5
AO
4120
4121 PR target/20126
4122 * loop.c (loop_givs_rescan): Do not ICE if unable to reduce an IV
4123 in some insn.
4124
a771c4b3
UW
41252005-07-14 Ulrich Weigand <uweigand@de.ibm.com>
4126
4127 * config/s390/s390.h (TARGET_TPF_PROFILING): Add default definition.
4128
6f3113ed
SE
41292005-07-14 Steve Ellcey <sje@cup.hp.com>
4130
4131 * config/ia64/ia64.c (ia64_output_dwarf_dtprel): Support ILP32 mode.
4132
cb1119b7
RG
41332005-07-14 Richard Guenther <rguenther@suse.de>
4134
4135 PR middle-end/22347
4136 * config/i386/i386-protos.h (ix86_function_value): Change
4137 prototype to match new target hook.
4138 * config/i386/i386.c (ix86_value_regno): Change prototype
4139 to take extra type argument.
4140 (TARGET_FUNCTION_VALUE): Define.
4141 (ix86_function_ok_for_sibcall): Pass extra argument to
4142 ix86_value_regno, check return slot rtx for exact match.
4143 (ix86_function_value): Take extra parameter. Dispatch to
4144 ix86_value_regno with fndecl/fntype as provided.
4145 (ix86_value_regno): Handle extra type argument.
4146 * config/i386/i386.h (FUNCTION_VALUE): No longer define.
4147
4148 * testsuite/gcc.target/i386/sseregparm-3.c: New testcase.
4149 * testsuite/gcc.target/i386/sseregparm-4.c: New testcase.
4150 * testsuite/gcc.target/i386/sseregparm-5.c: New testcase.
4151 * testsuite/gcc.target/i386/sseregparm-6.c: New testcase.
4152 * testsuite/gcc.target/i386/sseregparm-7.c: New testcase.
4153
1d636cc6
RG
41542005-07-14 Richard Guenther <rguenther@suse.de>
4155
4156 * Makefile.in (explow.o, reg-stack.o): Depend on target.h.
4157 * calls.c (expand_call): Pass fntype to hard_function_value.
4158 (emit_library_call_value_1): Likewise.
4159 * explow.c: Include target.h.
4160 (hard_function_value): Take extra argument, the fntype.
4161 Use new target hook for function_value.
4162 * expr.h (hard_function_value): Change prototype.
4163 * function.c (aggregate_value_p): Pass 0 as fntype to
4164 hard_function_value.
4165 (assign_parms): Use new target hook for function_value.
4166 Pass 0 as fntype to hard_function_value.
4167 (expand_function_end): Likewise.
4168 * reg-stack.c: Include target.h.
4169 (stack_result): Use new target hook for function_value.
4170 * target-def.h: New target hook function_value.
4171 * target.h: Likewise.
4172 * targhooks.c (default_function_value): New function.
4173 * targhooks.h (default_function_value): Declare.
4174
09d8cc0e
ILT
41752005-07-13 Ian Lance Taylor <ian@airs.com>
4176
4177 * config/mips/mips.h (CLZ_DEFINED_VALUE_AT_ZERO): Define.
4178
df1f6f31
JH
41792005-07-14 Jan Hubicka <jh@suse.cz>
4180
4181 * tree-dfa.c (dump_variable): Use default_def function.
4182 * tree-ssa-alias.c (dump_points_to_info): Likewise.
4183 * tree-ssa.c (verify_use): Likewise.
4184 * tree-ssanames.c (release_ssa_name): Likewise.
4185 * tree-tailcall.c (eliminate_tail_call): Likewise.
4186 (tree_optimize_tail_calls_1): Likewise.
4187 * tree-vrp.c (get_value_range): Likewise.
4188
9ef0b1bd
BE
41892005-07-14 Ben Elliston <bje@au.ibm.com>
4190
4191 * gcc.c (main): Compare language[0] with '*' when iterating over
4192 the infiles.
4193
69950452
AS
4194