OSDN Git Service

PR tree-opt/20127
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2005-02-24  Richard Henderson  <rth@redhat.com>
2
3         PR tree-opt/20127
4         * tree-sra.c (instantiate_element): Copy TREE_THIS_VOLATILE from
5         the type.
6
7 2005-02-24  Fariborz Jahanian <fjahanian@apple.com>
8
9         * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Check for
10         vector types if to use base reg for misaligned non-word ld/std.
11
12 2005-02-24  Hans-Peter Nilsson  <hp@axis.com>
13
14         PR target/14619
15         * config/cris/cris.c (cris_target_asm_function_prologue): Create
16         dwarf2 label manually and put it after, not before the prologue.
17
18 2005-02-24  David Edelsohn  <edelsohn@gnu.org>
19
20         PR target/19019
21         * reload.c (operands_match_p): Only increment register number for
22         SCALAR_INT_MODE_P modes in multiple hard registers.
23
24         * config/rs6000/rs6000.md (trunctfdf2): Remove register constraints.
25         Fix formatting.
26
27 2005-02-24  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
28
29         * ChangeLog.5: Fix log message typo(s).
30         * ChangeLog.7: Likewise.
31         * ChangeLog.tree-ssa: Likewise.
32         * cfgexpand.c: Fix comment typo(s).
33         * conflict.c: Likewise.
34         * defaults.h: Likewise.
35         * dwarf2out.c: Likewise.
36         * gcse.c: Likewise.
37         * ggc-page.c: Likewise.
38         * tree-eh.c: Likewise.
39         * tree-ssa-dom.c: Likewise.
40
41 2005-02-24  Jakub Jelinek  <jakub@redhat.com>
42
43         PR target/19019
44         * mklibgcc.in: Pass -DSHARED when compiling all *_s${objext} objects.
45         * config/rs6000/darwin-ldouble.c: Only use the .symver directives
46         if SHARED is defined.
47
48         PR target/20196
49         * config/rs6000/rs6000.md (LTU, GTU sCC splitters): Add earlyclobber,
50         allow splitting only if operands 0 and 3 don't overlap.
51
52 2005-02-24  Richard Henderson  <rth@redhat.com>
53
54         PR middle-end/19953
55         * builtins.c (fold_builtin_complex_mul, fold_builtin_complex_div): New.
56         (fold_builtin_1): Call them.
57         * fold-const.c (fold_complex_mult_parts): Split out from ...
58         (fold_complex_mult): ... here.  Fix typo in both imaginary case.
59         (fold_complex_div_parts, fold_complex_div): New.
60         (fold): Use them.
61         * tree.h (fold_complex_mult_parts, fold_complex_div_parts): Declare.
62
63 2005-02-24  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
64
65         * tree-ssa-ccp.c (visit_assignment): Verify that result of
66         VIEW_CONVERT_EXPR is_gimple_min_invariant.
67
68         * print-tree.c (print_node_brief): Print LABEL_DECL_UID.
69         (print_node): Likewise.
70         Print TYPE_SIZES_GIMPLIFIED.
71
72 2005-02-24  Hans-Peter Nilsson  <hp@axis.com>
73
74         * config/cris/cris.md ("umulhisi3", "umulqihi3", "mulsi3")
75         ("mulqihi3", "mulhisi3", "mulsidi3", "umulsidi3"): Mark input
76         operands as commutative in constraints.
77
78 2005-02-24  Diego Novillo  <dnovillo@redhat.com>
79
80         * tree-into-ssa.c: Re-organize internal functions.
81
82 2005-02-24  Richard Henderson  <rth@redhat.com>
83
84         PR middle-end/18902
85         * c-opts.c (c_common_post_options): Set flag_complex_method to 2
86         for c99.
87         * common.opt (fcx-limited-range): New.
88         * opts.c (set_fast_math_flags): Set flag_cx_limited_range.
89         * toplev.c (flag_complex_method): Initialize to 1.
90         (process_options): Set flag_complex_method to 0 if
91         flag_cx_limited_range.
92         * doc/invoke.texi (-fcx-limited-range): New.
93
94 2005-02-24  Kazu Hirata  <kazu@cs.umass.edu>
95
96         * cse.c (delete_trivially_dead_insns): Speed up by using
97         NEXT_INSN and PREV_INSN directly instead of next_real_insn and
98         prev_real_insn.
99
100 2005-02-24  Andrea Tarani  <andrea.tarani@gilbarco.com>
101
102         * config/m68k/m68k.c (m68k_save_reg): Also save A5 for non-leaf
103         functions when -mid-shared-library is being used.
104
105 2005-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
106
107         * doc/tm.texi (LINK_LIBGCC_SPECIAL): Remove.
108         (LINK_LIBGCC_SPECIAL_1): Don't mention it.
109         * gcc.c: Don't check for LINK_LIBGCC_SPECIAL.
110         * system.h: Poison LINK_LIBGCC_SPECIAL.
111
112 2005-02-23  James E Wilson  <wilson@specifixinc.com>
113
114         * gengtype.c (note_insn_name): Make 1 element larger.
115
116 2005-02-23  Roger Sayle  <roger@eyesopen.com>
117
118         PR target/20018
119         PR rtl-optimization/20097
120         * simplify-rtx.c (simplify_relational_operation_1): Avoid creating
121         BImode SUBREGs of SImode registers which confuse the ia64 backend.
122
123 2005-02-23  David Edelsohn  <edelsohn@gnu.org>
124
125         * t-aix43 (SHLIB_INSTALL): Create directory for shared library.
126         * t-aix52 (SHLIB_INSTALL): Same.
127
128 2005-02-23  Kazu Hirata  <kazu@cs.umass.edu>
129
130         * genpreds.c: Update copyright.
131
132 2005-02-23  Michael Beach  <michaelb@ieee.org>
133
134         PR target/20159
135         * config/sparc/t-elf (startup files): Assemble with CPP.
136
137 2005-02-23  Paolo Bonzini  <bonzini@gnu.org>
138
139         * genpreds.c (mark_mode_tests): Handle non-VOIDmode match_operands.
140         (write_predicate_expr): Likewise.
141
142 2005-02-22  Diego Novillo  <dnovillo@redhat.com>
143
144         PR tree-optimization/20100
145         PR tree-optimization/20115
146         * tree-optimize.c (init_tree_optimization_passes): Remove
147         pass_maybe_create_global_var.
148         * tree-pass.h (pass_maybe_create_global_var): Remove.
149         * tree-ssa-alias.c (aliases_computed_p): Declare.
150         (struct alias_info): Add field NUM_PURE_CONST_CALLS_FOUND.
151         (count_calls_and_maybe_create_global_var): Remove.
152         (pass_maybe_create_global_var): Remove.
153         (init_alias_info): Do not declare aliases_computed_p.
154         (maybe_create_global_var): If the function contains no
155         call-clobbered variables and a mix of pure/const and regular
156         function calls, create .GLOBAL_VAR.
157         Mark all call-clobbered variables for renaming.
158         (merge_pointed_to_info): Update comment.
159         (add_pointed_to_var): Likewise.
160         (is_escape_site): Likewise.
161         Accept struct alias_info * instead of size_t *.
162         Update all users.
163         Update AI->NUM_CALLS_FOUND and AI->NUM_PURE_CONST_CALLS_FOUND
164         as necessary.
165         * tree-ssa-operands.c (get_call_expr_operands): If
166         ALIASES_COMPUTED_P is false, do not add call-clobbering
167         operands.
168         * tree-ssa.c (init_tree_ssa): Set ALIASES_COMPUTED_P to false.
169         (delete_tree_ssa): Likewise.
170
171 2005-02-22  James E Wilson  <wilson@specifixinc.com>
172
173         * toplev.c (backend_init): Don't call init_adjust_machine_modes here.
174         (do_compile): Do call it here.
175
176 2005-02-22  Kazu Hirata  <kazu@cs.umass.edu>
177
178         PR rtl-optimization/20017.
179         * passes.c (rest_of_handle_combine, rest_of_handle_cse,
180         rest_of_handle_cse2, rest_of_handle_gcse): Call
181         delete_dead_jumptables immediately before calling cleanup_cfg.
182
183 2005-02-22  Devang Patel  <dpatel@apple.com>
184
185         PR 19952
186         * tree-if-conv.c (process_phi_nodes): Use bsi_after_labels and skip 
187         all labels
188         
189 2005-02-22  David Edelsohn  <edelsohn@gnu.org>
190
191         * config/rs6000/aix.h (WINT_TYPE): Define.
192
193 2005-02-22  Stan Shebs  <shebs@apple.com>
194
195         * config/rs6000/rs6000.c (rs6000_override_options): Default to
196         natural alignment for 64-bit Darwin.
197         (rs6000_parse_alignment_option): Warn about uses of -malign-power
198         on 64-bit Darwin.
199         * doc/invoke.texi: Document this.
200
201 2005-02-22  DJ Delorie  <dj@redhat.com>
202
203         * c-common.c (c_common_type_for_mode): Pass the mode's precision
204         to make_[un]signed_type, not the mode itself.
205
206 2005-02-22  Kazu Hirata  <kazu@cs.umass.edu>
207
208         * cfg.c (cached_make_edge): Call make_edge if edge cache is
209         not available.  Use tail calls wherever possible.
210         (make_edge): Call unchecked_make_edge to create an edge.
211
212         * tree-outof-ssa.c (SSANORM_USE_COALESCE_LIST): Remove.
213         (coalesce_ssa_name): Don't check for
214         SSANORM_USE_COALESCE_LIST.
215         (rewrite_out_of_ssa): Don't use SSANORM_USE_COALESCE_LIST.
216
217 2005-02-22  Diego Novillo  <dnovillo@redhat.com>
218
219         * tree-into-ssa.c (rewrite_blocks): Move debug dumps from ...
220         (rewrite_into_ssa): ... here.
221
222 2005-02-21  Alexandre Oliva  <aoliva@redhat.com>
223
224         PR tree-optimization/19786
225         * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Add one
226         tag to another's may-alias bitmap when adding to the other's list.
227
228 2005-02-21  DJ Delorie  <dj@redhat.com>
229
230         * tree-ssa-loop-ivopts.c (computation_cost): Start register
231         numbering at LAST_VIRTUAL_REGISTER+1 to avoid possibly using hard
232         registers in unsupported ways.
233         * expmed.c (init_expmed): Likewise.
234         
235 2005-02-21  Stan Cox  <scox@redhat.com>
236
237         * config/iq2000/iq2000.h (DWARF_FRAME_RETURN_COLUMN): Change to 31.
238
239 2005-02-21  Kazu Hirata  <kazu@cs.umass.edu>
240
241         * tree-cfg.c (fold_cond_expr_cond): New.
242         (make_edges): Call fold_cond_expr_cond.
243         (find_taken_edge): Accept nothing but INTEGER_CST.
244         (find_taken_edge_cond_expr): Reject INTEGER_CST other than 0
245         and 1.
246         (find_taken_edge_switch_expr): Remove a check for INTEGER_CST.
247
248         * flow.c (delete_dead_jumptables): Speed up by scanning insns
249         that do not belong to any basic block.
250
251 2005-02-21  Jeff Law  <law@redhat.com>
252
253         * cfganal.c (find_unreachable_blocks): Manually CSE load of
254         e->dest.
255
256 2005-02-21  Kazu Hirata  <kazu@cs.umass.edu>
257
258         * tree-outof-ssa.c (SSANORM_REMOVE_ALL_PHIS): Remove.
259         (SSANORM_COALESCE_PARTITIONS, SSANORM_USE_COALESCE_LIST):
260         Adjust their definitions.
261         (remove_ssa_form): Don't check for SSANORM_REMOVE_ALL_PHIS.
262         (rewrite_out_of_ssa): Don't use SSANORM_REMOVE_ALL_PHIS.
263
264         * c-objc-common.h, c-pretty-print.c, cgraphunit.c, except.c,
265         genautomata.c, langhooks.c, langhooks.h, system.h,
266         config/arm/lib1funcs.asm: Update copyright.
267
268 2005-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
269
270         * dbxout.c (dbxout_function_end): Emit Lscope label always.
271
272 2005-02-21  Richard Guenther  <rguenth@gcc.gnu.org>
273
274         PR bootstrap/13770
275         * doc/install.texi: Document --with-gc.
276
277 2005-02-21  Paolo Bonzini  <bonzini@gnu.org>
278
279         * simplify-rtx.c (simplify_unary_operation): Add a missing
280         "break" statement.
281
282 2005-02-21  Eric Botcazou  <ebotcazou@libertysurf.fr>
283
284         PR tree-optimization/18663
285         * tree-ssa-dom.c (extract_range_from_cond): Return 0
286         if the type has variable bounds.
287
288 2005-02-20  Kazu Hirata  <kazu@cs.umass.edu>
289
290         * gcse.c: Remove an obsolete comment.
291
292         * cse.c (init_cse_reg_info): Use xmalloc instead of xrealloc.
293
294 2005-02-20  Hans-Peter Nilsson  <hp@axis.com>
295
296         * doc/extend.texi (Function Attributes) <Attribute const>: The
297         attribute "pure" is below this text, not above.
298
299 2005-02-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
300
301         * pa.c (pa_assemble_integer, get_plabel): Small cleanups.
302         (pa_asm_output_mi_thunk): Use asm_output_insn instead of fprintf.
303         * som.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Small cleanup.
304
305 2005-02-20  Zack Weinberg  <zack@codesourcery.com>
306
307         PR 18785
308         * langhooks.h (struct lang_hooks): Add to_target_charset.
309         * langhooks.c (lhd_to_target_charset): New function.
310         * langhooks-def.h: Declare lhd_to_target_charset.
311         (LANG_HOOKS_TO_TARGET_CHARSET): New macro.
312         (LANG_HOOKS_INITIALIZER): Update.
313         * c-common.c (c_common_to_target_charset): New function.
314         * c-common.h: Declare it.
315         * c-objc-common.h (LANG_HOOKS_TO_TARGET_CHARSET): Set to
316         c_common_to_target_charset.
317
318         * defaults.c (TARGET_BELL, TARGET_BS, TARGET_CR, TARGET_DIGIT0)
319         (TARGET_ESC, TARGET_FF, TARGET_NEWLINE, TARGET_TAB, TARGET_VT):
320         Delete definitions.
321         * system.h: Poison them.
322         * doc/tm.texi: Don't discuss them.
323         * builtins.c (fold_builtin_isdigit): Use lang_hooks.to_target_charset.
324         * c-pretty-print.c (pp_c_integer_constant): Don't use pp_c_char.
325         (pp_c_char): Do not attempt to generate letter escapes for
326         newline, tab, etc.
327         * config/arm/arm.c (output_ascii_pseudo_op): Likewise.
328         * config/mips/mips.c (mips_output_ascii): Likewise.
329
330 2005-02-20  Dorit Naishlos  <dorit@il.ibm.com>
331
332         PR tree-optimization/19951
333         * tree-vect-analyze.c (vect_analyze_loop_form): Check if loop exit edge
334         is abnormal.
335
336 2005-02-19  Steven Bosscher  <stevenb@suse.de>
337
338         PR middle-end/19698
339         * function.h (struct function): New field `max_loop_depth'.
340         * cfgloop.c (establish_preds): Update maximum loop depth seen so far.
341         (flow_loops_find): Reset the max loop depth count before finding loops.
342         * flow.c (MAX_LIVENESS_ROUNDS): New constant.
343         (update_life_info_in_dirty_blocks): Remove 2002-05-28 workaround.
344         (calculate_global_regs_live): Make sure the loop will terminate
345         when the initial sets are not empty.
346
347 2005-02-19  Zack Weinberg  <zack@codesourcery.com>
348
349         * mklibgcc.in: If libgcc_eh.a would be empty, put a dummy
350         object inside.
351         * config/ia64/hpux.h: Don't define LIBGCC_SPEC.
352
353 2005-02-19  Richard Sandiford  <rsandifo@redhat.com>
354
355         PR other/19525
356         * doc/invoke.texi: Remove documentation of %M spec.
357         * gcc.c: Likewise.
358         (init_spec): Remove %M suffix from -lgcc_s.
359         (do_spec_1): Remove 'M' case.
360         * mklibgcc.in: Remove SHLIB_MULTILIB handling.  Expect SHLIB_LINK
361         to put shared libraries in the multilib directory.  Remove the
362         shlib_so_soname substitution variable.  Don't add a multilib encoding
363         to shlib_base_name.  Set shlib_slibdir_qual to the full pathname
364         reported by -print-multi-os-directory.  Pass @multilib_dir@ to
365         SHLIB_INSTALL as well as SHLIB_LINK.
366         * config/t-slibgcc-elf-ver (SHLIB_SONAME): Use @shlib_base_name@.
367         (SHLIB_NAME): Delete.
368         (SHLIB_DIR): New macro.
369         (SHLIB_LINK): Put $(SHLIB_SONAME) and $(SHLIB_SOLINK) in $(SHLIB_DIR).
370         (SHLIB_INSTALL): Adjust accordingly.
371         * config/t-slibgcc-darwin: As for t-slibgcc-elf-ver.
372         * config/t-slibgcc-sld: Likewise.
373         * config/t-libunwind-elf (SHLIBUNWIND_NAME): Delete.
374         (SHLIBUNWIND_SONAME): Use @shlib_base_name@.
375         (SHLIBUNWIND_LINK): Put $(SHLIBUNWIND_SONAME) and $(SHLIB_SOLINK)
376         in $(SHLIB_DIR).
377         (SHLIBUNWIND_INSTALL): Adjust accordingly.
378         * config/i386/t-nwld (SHLIB_SONAME): Delete.
379         (SHLIB_LINK, SHLIB_INSTALL): Use SHLIB_NAME instead of SHLIB_SONAME.
380         Use @shlib_base_name@ instead of @shlib_so_name@.
381         * config/ia64/t-hpux (SHLIB_LINK): Put @shlib_base_name@.so.0
382         and @shlib_base_name@.so in @multilib_dir@.
383         (SHLIB_INSTALL): Adjust accordingly.  Add @shlib_slibdir_qual@
384         to the install path.
385         * config/mips/t-slibgcc-irix: As for t-slibgcc-elf-ver.
386         (SHLIB_LINK): Remove previous workaround.
387         * config/pa/t-hpux-shlib (SHLIB_DIR, SHLIB_SLIBDIR_QUAL): New macros.
388         (SHLIB_LINK): Put $(SHLIB_SONAME) and $(SHLIB_NAME) in $(SHLIB_DIR).
389         (SHLIB_INSTALL): Adjust accordingly.  Add $(SHLIB_SLIBDIR_QUAL) to
390         the install path.
391         * config/rs6000/t-aix43 (SHLIB_LINK): Put @shlib_base_name@.a in
392         @multilib_dir@.  Use @multilib_dir@ to check for threading libraries.
393         (SHLIB_INSTALL): Adjust accordingly.
394         (SHLIB_LIBS): Use @multilib_dir@ to check for threading libraries.
395         * config/rs6000/t-aix52: As for config/rs6000/t-aix43.
396         * config/sh/t-linux (SHLIB_LINK, SHLIB_INSTALL): As for
397         config/t-slibgcc-elf-ver.
398
399 2005-02-19  Zdenek Dvorak  <dvorakz@suse.cz>
400             Jakub Jelinek  <jakub@redhat.com>
401
402         PR tree-optimization/19828
403         * tree-ssa-loop-im.c: Add a TODO comment.
404         (movement_possibility): Return MOVE_PRESERVE_EXECUTION for calls
405         without side-effects.
406
407 2005-02-18  James A. Morrison  <phython@gcc.gnu.org>
408
409         * tree-ssa-ccp.c (widen_bitfield): Pass type to build_int_cst and don't
410         call fold_convert.
411
412 2005-02-18  James E. Wilson  <wilson@specifixinc.com>
413
414         * doc/invoke.texi (IA-64 Options): Delete -mb-step.
415         * config/ia64/ia64.c (last_group, group_idx): Delete variables.
416         (errata_find_address_regs, errata_emit_nops, fixup_errata): Delete
417         functions.
418         (ia64_reorg): Delete fixup_errata call.
419         * config/ia64/ia64.h (MASK_B_STEP, TARGET_B_STEP): Delete.
420         (TARGET_SWITCHES): Delete -mb-step entry.
421
422 2005-02-19  Jakub Jelinek  <jakub@redhat.com>
423
424         PR c/20043
425         * c-typeck.c (composite_type): Handle quals in transparent unions.
426         (type_lists_compatible_p): Likewise.
427
428 2005-02-18  Stan Shebs  <shebs@apple.com>
429
430         * config/darwin.c (machopic_select_rtx_section): Don't put relocatable
431         expressions in the .literal8 section.
432
433 2005-02-18  Geoffrey Keating  <geoffk@apple.com>
434
435         * config/rs6000/darwin-tramp.asm: Remove stray 'APPLE LOCAL' marker.
436
437 2005-02-18  Roger Sayle  <roger@eyesopen.com>
438
439         * fold-const.c (constant_boolean_node): Always create values of the
440         specified type, don't bother calling truthvalue_conversion.
441
442 2005-02-18  Joseph S. Myers  <joseph@codesourcery.com>
443
444         * except.c (output_function_exception_table): Call
445         assemble_external_libcall (eh_personality_libfunc).
446
447 2005-02-18  Joseph S. Myers  <joseph@codesourcery.com>
448
449         PR target/19886
450         * config/ia64/ia64.h (struct machine_function): Add state_num.
451         * config/ia64/ia64.c (process_epilogue,
452         process_for_unwind_directive): Use new unwind state numbers each
453         time rather than state 1.
454
455 2005-02-18  Ulrich Weigand  <uweigand@de.ibm.com>
456
457         PR target/20054
458         * config/s390/s390.md ("*llgt_sidi", "*llgt_sidi_split"): Move to
459         before the "*llgt_didi" pattern.
460
461 2005-02-18  Jason Merrill  <jason@redhat.com>
462
463         * gimplify.c (gimplify_modify_expr_rhs) [CALL_EXPR]: Revert again.
464
465 2005-02-18  Richard Earnshaw  <rearnsha@arm.com>
466
467         * arm/lib1funcs.asm (FUNC_ALIAS): New macro.
468         (div0): Use it in place of ARM_FUNC_ALIAS.
469         (lshrdi3, ashrdi3, ashlrdi3): Likewise.
470
471 2005-02-18  Andrew Pinski  <pinskia@physics.uc.edu>
472
473         PR middle-end/20030
474         * fold-const.c (fold_indirect_ref_1): Use the correct index for zero
475         access, the lower bound of the array type if it exists.
476
477 2005-02-18  Alexandre Oliva  <aoliva@redhat.com>
478
479         PR c++/20008
480         * stmt.c (expand_case): Don't assume cleanup_tree_cfg will remove
481         cases that are out-of-range for the index type.
482
483 2005-02-18  James A. Morrison  <phython@gcc.gnu.org>
484
485         * stmt.c (emit_case_bit_tests): Call fold_convert instead of convert.
486         (estimate_case_costs): Don't call convert.
487         * expmed.c (expand_shift): Likewise.
488         (make_tree): Call fold_convert instead of convert.
489
490 2005-02-18  Jakub Jelinek  <jakub@redhat.com>
491
492         PR c++/19813
493         * emit-rtl.c (set_mem_attributes_minus_bitpos): Add assertion
494         that ref to be marked MEM_READONLY_P doesn't have base that needs
495         constructing.
496
497 2005-02-18  Joseph S. Myers  <joseph@codesourcery.com>
498
499         * genautomata.c (output_get_cpu_unit_code_func,
500         output_cpu_unit_reservation_p): Don't generate old-style function
501         definitions.
502
503 2005-02-18  Jakub Jelinek  <jakub@redhat.com>
504
505         PR c++/20023
506         PR tree-optimization/20009
507         * convert.c (convert_to_integer): Revert 2005-02-16 change.
508
509         PR tree-optimization/18947
510         * cgraphunit.c (cgraph_finalize_function): When redefining an extern
511         inline, remove all nodes that are inlined into the extern inline
512         being redefined.
513
514 2005-02-17  Kazu Hirata  <kazu@cs.umass.edu>
515
516         * bt-load.c, cfgloop.c, convert.c, dominance.c, global.c,
517         loop-invariant.c, stmt.c, tree-ssa-forwprop.c,
518         tree-ssa-live.c, tree-ssanames.c, tree-vn.c,
519         config/host-linux.c, config/arm/fpa.md, config/avr/avr.h:
520         Update copyright.
521
522 2005-02-17  Roger Sayle  <roger@eyesopen.com>
523
524         PR tree-optimization/19917
525         * tree-eh.c (tree_could_trap_p): Consider calls to weak functions
526         to be potentially trapping.
527
528 2005-02-17  Kazu Hirata  <kazu@cs.umass.edu>
529
530         * libgcc2.c, tree-vect-analyze.c: Fix comment typos.
531
532 2005-02-17  Andreas Krebbel  <krebbel1@de.ibm.com>
533
534         * builtins.c (expand_builtin_return_addr): Remove tem parameter.
535         tem becomes a local variable which is set to the value of the
536         back end defined INITIAL_FRAME_ADDRESS macro.
537         (expand_builtin_frame_address): Omit the base parameter to
538         expand_builtin_return_addr.
539         (expand_builtin_profile_func): Likewise.
540         * config/s390/s390.h (INITIAL_FRAME_ADDRESS_RTX): Define new macro.
541         (DYNAMIC_CHAIN_ADDRESS): Remove the case for the initial frame.
542         * doc/tm.texi: Documentation for INITIAL_FRAME_ADDRESS_RTX added.
543
544 2005-02-17  Jakub Jelinek  <jakub@redhat.com>
545
546         * config/s390/s390.c (s390_alloc_pool, s390_free_pool,
547         s390_chunkify_start): Use BITMAP_ALLOC and BITMAP_FREE.
548         * config/frv/frv.c (frv_function_epilogue): Likewise.
549
550 2005-02-17  Daniel Berlin  <dberlin@dberlin.org>
551
552         * lambda-code (perfect_nestify): Remove mark/unmark
553         for rewriting hack.
554         * tree-loop-linear.c (linear_transform_loops): Add
555         rewrite_into_ssa call so that ssa is correct for
556         rewriting into loop closed.
557
558 2005-02-17  Nathan Sidwell  <nathan@codesourcery.com>
559
560         * bitmap.h (BITMAP_XMALLOC, BITMAP_XFREE): Remove.
561         * bb-reorder.c (duplicate_computed_gotos): Use BITMAP_ALLOC and
562         BITMAP_FREE.
563         * bt-load.c (btr_def_live_range, combine_btr_defs,
564         migrate_btr_def, migrate_btr_defs): Likewise.
565         * cfgcleanup.c (thread_jump): Likewise.
566         * cfgloop.c (get_loop_body_in_bfs_order): Likewise.
567         * df.c (df_insn_table_realloc, df_bitmaps_alloc, df_bitmaps_free,
568         df_alloc, df_free, df_du_chain_create, df_bb_rd_local_compute,
569         df_rd_local_compute, df_reg_info_compute): Likewise.
570         * dominance.c (init_dom_info, free_dom_info): Likewise.
571         * flow.c (init_propagate_block_info,
572         free_propagate_block_info): Likewise.
573         * gcse.c (alloc_gcse_mem, free_gcse_mem): Likewise.
574         * global.c (allocate_bb_info, free_bb_info, calculate_reg_pav,
575         modify_reg_pav): Likewise.
576         * loop-invariant.c (find_defs, find_invariant_insn,
577         find_invariants, free_inv_motion_data): Likewise.
578         * predict.c (tree_predict_by_opcode,
579         estimate_bb_frequencies): Likewise.
580         * stmt.c (expand_case): Likewise.
581         * tree-cfg.c (tree_duplicate_sese_region): Likewise.
582         * tree-dfa.c (mark_new_vars_to_rename): Likewise.
583         * tree-if-conv.c (get_loop_body_in_if_conv_order): Likewise.
584         * tree-into-ssa.c (insert_phi_nodes_for, def_blocks_free,
585         get_def_blocks_for, mark_def_site_blocks, rewrite_into_ssa,
586         rewrite_ssa_into_ssa): Likewise.
587         * tree-optimize.c (tree_rest_of_compilation): Likewise.
588         * tree-outof-ssa.c (new_temp_expr_table, free_temp_expr_table,
589         analyze_edges_for_bb, perform_edge_inserts): Likewise.
590         * tree-scalar-evolution.c (scev_initialize, scev_finalize): Likewise.
591         * tree-sra.c (tree_sra): Likewise.
592         * tree-ssa-alias.c (init_alias_info, delete_alias_info): Likewise.
593         * tree-ssa-ccp.c (ccp_fold_builtin): Likewise.
594         * tree-ssa-dce.c (tree_dce_init, tree_dce_done): Likewise.
595         * tree-ssa-dom.c (tree_ssa_dominator_optimize): Likewise.
596         * tree-ssa-dse.c (tree_ssa_dse): Likewise.
597         * tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_var):
598         Likewise.
599         * tree-ssa-live.c (new_tree_live_info, delete_tree_live_info,
600         calculate_live_on_entry, calculate_live_on_exit,
601         build_tree_conflict_graph): Likewise.
602         * tree-ssa-loop-ivopts.c (tree_ssa_iv_optimize_init, record_use,
603         record_important_candidates, set_use_iv_cost, find_depends,
604         determine_use_iv_costs, iv_ca_new, iv_ca_free, free_loop_data,
605         tree_ssa_iv_optimize_finalize): Likewise.
606         * tree-ssa-loop-manip.c (add_exit_phis_var, get_loops_exit,
607         find_uses_to_rename_use, rewrite_into_loop_closed_ssa,
608         tree_duplicate_loop_to_header_edge): Likewise.
609         * tree-ssa-pre.c (init_pre, fini_pre): Likewise.
610         * tree-ssa.c (verify_flow_insensitive_alias_info,
611         verify_name_tags, verify_ssa, init_tree_ssa,
612         delete_tree_ssa): Likewise.
613         * tree-ssanames.c (marked_ssa_names, init_ssanames,
614         fini_ssanames): Likewise.
615         * tree-vectorizer.c (slpeel_tree_peel_loop_to_edge): Likewise.
616
617 2005-02-17  Ralf Corsepius  <ralf.corsepius@rtems.org>
618
619         * config/rs6000/t-rtems: Completely reworked.
620
621 2005-02-17  Ira Rosen  <irar@il.ibm.com>
622
623         * tree-data-ref.c (array_base_name_differ_p): Remove gcc_assert.
624
625 2005-02-17  Ira Rosen  <irar@il.ibm.com>
626
627         * tree-vect-analyze.c (vect_analyze_pointer_ref_access): Use
628         POINTER_TYPE_P when checking that type is a pointer.
629         (vect_get_memtag): Remove.
630         (vect_address_analysis): Use POINTER_TYPE_P. Call
631         vect_object_analysis with dummy parameter for memtag.
632         (vect_object_analysis): Extract memtag (functionality that
633         used to be in vect_get_memtag and moved here). Fix printings.
634         (vect_analyze_data_refs): Fix comment. Call vect_object_analysis
635         with correct parameters. Remove call to vect_get_memtag.
636
637 2005-02-17  Dorit Naishlos  <dorit@il.ibm.com>
638
639         * Makefile.in (tree-vect-analyze.o, tree-vect-transform.o): New.
640         (tree-vectorizer.o): Added missing dependencies.
641
642         * tree-vectorizer.h (vect_dump, vect_verbosity_level): Added extern
643         decleration.
644         (slpeel_tree_peel_loop_to_edge): Function externalized (had a static
645         declaration in tree-vectorizer.c, now has an extern declaration in
646         tree-vectorizer.h).
647         (slpeel_make_loop_iterate_ntimes, slpeel_can_duplicate_loop_p,
648         slpeel_verify_cfg_after_peeling, vect_strip_conversion,
649         get_vectype_for_scalar_type, vect_is_simple_use,
650         vect_is_simple_iv_evolution, vect_can_force_dr_alignment_p,
651         vect_supportable_dr_alignment, new_loop_vec_info, destroy_loop_vec_info,
652         new_stmt_vec_info, vect_analyze_loop, vectorizable_load,
653         vectorizable_store, vectorizable_operation, vectorizable_assignment,
654         vect_transform_loop, vect_print_dump_info, vect_set_verbosity_level,
655         find_loop_location): Likewise.
656
657         * tree-vectorizer.c (langhooks.h): #include removed.
658         (slpeel_tree_peel_loop_to_edge): Function externalized. Declaration
659         moved to tree-vectorized.h.
660         (slpeel_make_loop_iterate_ntimes, slpeel_can_duplicate_loop_p,
661         slpeel_verify_cfg_after_peeling, vect_strip_conversion,
662         get_vectype_for_scalar_type, vect_is_simple_use,
663         vect_is_simple_iv_evolution, vect_can_force_dr_alignment_p,
664         vect_supportable_dr_alignment, new_loop_vec_info,
665         destroy_loop_vec_info, new_stmt_vec_info, vect_print_dump_info,
666         vect_set_verbosity_level, find_loop_location): Likewise.
667
668         (vect_analyze_loop): Function externalized. Declaration moved to
669         tree-vectorized.h. Function definition moved to tree-vect-analyze.c.
670         (vect_analyze_loop_form): Moved to tree-vect-analyze.c.
671         (vect_mark_stmts_to_be_vectorized, vect_analyze_scalar_cycles,
672         vect_analyze_data_ref_accesses, vect_analyze_data_ref_dependences,
673         vect_analyze_data_refs_alignment, vect_compute_data_refs_alignment,
674         vect_enhance_data_refs_alignment, vect_analyze_operations,
675         exist_non_indexing_operands_for_use_p, vect_mark_relevant,
676         vect_stmt_relevant_p, vect_get_loop_niters,
677         vect_analyze_data_ref_dependence, vect_compute_data_ref_alignment,
678         vect_analyze_data_ref_access, vect_analyze_pointer_ref_access,
679         vect_can_advance_ivs_p, vect_get_ptr_offset, vect_analyze_offset_expr,
680         vect_base_addr_differ_p, vect_object_analysis, vect_address_analysis,
681         vect_get_memtag): Likewise.
682
683         (vectorizable_load): Function externalized. Declaration moved to
684         tree-vectorized.h. Function definition moved to tree-vect-transform.c.
685         (vectorizable_store, vectorizable_operation, vectorizable_assignment,
686         vect_transform_loop): Likewise.
687         (vect_transform_stmt): Moved to tree-vect-transform.c.
688         (vect_align_data_ref, vect_create_destination_var,
689         vect_create_data_ref_ptr, vect_create_index_for_vector_ref,
690         vect_create_addr_base_for_vector_ref, vect_get_new_vect_var,
691         vect_get_vec_def_for_operand, vect_init_vector,
692         vect_finish_stmt_generation, vect_generate_tmps_on_preheader,
693         vect_build_loop_niters, vect_update_ivs_after_vectorizer,
694         vect_gen_niters_for_prolog_loop, vect_update_inits_of_dr,
695         vect_update_inits_of_drs, vect_do_peeling_for_alignment,
696         vect_do_peeling_for_loop_bound): Likewise.
697
698         * tree-vect-analyze.c: New file.
699         * tree-vect-transform.c: New file.
700
701 2005-02-17  Jason Merrill  <jason@redhat.com>
702
703         PR mudflap/19319, c++/19317
704         * gimplify.c (gimplify_modify_expr_rhs) [CALL_EXPR]: Make return
705         slot explicit.
706
707 2005-02-17  Gerald Pfeifer  <gerald@pfeifer.com>
708
709         * doc/install.texi (Specific): Update link for Darwin-specific
710         tool binary site.
711
712 2005-02-16  James A. Morrison  <phython@gcc.gnu.org>
713
714         * fold-const.c (invert_truthvalue): <INTEGER_CST>: Call
715         constant_boolean_node.
716
717 2005-02-16  David Edelsohn  <edelsohn@gnu.org>
718
719         PR target/19019
720         * config/rs6000/t-aix43 (SHLIB_MAPFILES): Add libgcc-ppc64.ver.
721         * config/rs6000/t-aix52 (SHLIB_MAPFILES): Same.
722
723 2005-02-16  Richard Henderson  <rth@redhat.com>
724
725         PR 19920
726         * libgcc2.c (WORD_SIZE): Remove all definitions; replace uses
727         with W_TYPE_SIZE.
728         (HIGH_WORD_COEFF, HIGH_HALFWORD_COEFF): Remove all definitions;
729         replace uses with Wtype_MAXp1_F.
730         (L_fixunstfdi, L_fixtfdi, L_floatditf, L_fixunsxfdi, L_fixxfdi,
731         L_floatdixf, L_fixunsxfsi, L_fixunsdfdi, L_floatdidf, L_fixunsdfsi,
732         L_powidf2, L_powixf2, L_powitf2, L_muldc3, L_divdc3, L_mulxc3,
733         L_divxc3, L_multc3, L_divtc3): Protect with HAVE_DFMODE, HAVE_XFMODE,
734         and HAVE_TFMODE as appropriate.
735         (__fixunssfDI): Provide an implementation that doesn't need DFmode.
736         (__floatdisf): Likewise.
737         * libgcc2.h (LIBGCC2_DOUBLE_TYPE_SIZE): New.
738         (HAVE_DFMODE, HAVE_XFMODE, HAVE_TFMODE): New.
739         (Wtype_MAXp1_F): New.
740         (DFtype, DCtype, __fixdfdi, __floatdidf, __fixunsdfSI, __fixunsdfDI,
741         __powidf2, __divdc3, __muldc3): Protect with HAVE_DFMODE.
742
743 2005-02-16  Richard Earnshaw  <rearnsha@arm.com>
744
745         * PR target/19162
746         * arm.c (arm_apply_result_size): New function.
747         * arm.h (APPLY_RESULT_SIZE): Define.
748         * arm-protos.h (arm_apply_result_size): Add prototype.
749         * arm.md (RO_REGNUM, FPA_F0_REGNUM, FPA_F7_REGNUM): New constants.
750         (movxf): New expand.
751         (ldmsi_postinc4_thumb, stmsi_postinc4_thumb): New patterns for Thumb.
752         (call_value_symbol): Remove predicate for operand 0.
753         (call_value_insn, sibcall_value, sibcall_value_insn): Likewise.
754         (untyped_call): Rework to correclty return values for any type.
755         (untyped_return): New expand.
756         * fpa.md (movxf_fpa): Simplify and use sfm/lfm when appropriate.
757
758 2005-02-16  Stan Shebs  <shebs@apple.com>
759
760         * config.gcc (powerpc-*-darwin*): Use fragment for Darwin 8 or later.
761         * config/rs6000/t-darwin8: New, for 64-bit multilib.
762
763 2005-02-16  Eric Botcazou  <ebotcazou@libertysurf.fr>
764
765         * doc/install.texi (sparc-sun-solaris2*): Document required GMP
766         configure settings on Solaris 7 and later.
767
768 2005-02-16  Diego Novillo  <dnovillo@redhat.com>
769
770         PR tree-optimization/19865
771         * tree-optimize.c (init_tree_optimization_passes): Run
772         pass_may_alias after pass_sra.
773
774 2005-02-16  Richard Henderson  <rth@redhat.com>
775             Stuart Hastings  <stuart@apple.com>
776
777         PR debug/19521
778         * dbxout.c (dbxout_function_end): Take decl parameter; update callers.
779         Do nothing if debug info suppressed for this function.
780         (dbxout_begin_function): Early exit if debug info suppressed for
781         this function.
782
783 2005-02-16  Kazu Hirata  <kazu@cs.umass.edu>
784
785         PR target/20007
786         * config/ip2k/ip2k.c (ip2k_reorg): Adjust calls to
787         find_basic_blocks.
788         * config/sh/sh.c (sh_output_mi_thunk): Likewise.
789
790         PR tree-optimization/19967
791         * builtins.c (expand_builtin_strstr, expand_builtin_strpbrk,
792         expand_builtin_strchr, expand_builtin_strrchr): Take a new
793         argument TYPE.  Adjust calls to fold_builtin_XXX.
794         (expand_builtin, fold_builtin_1): Adjust calls to
795         expand_builtin_XXX.
796         (fold_builtin_strchr, fold_builtin_strpbrk,
797         fold_builtin_strstr, fold_builtin_strrchr): Convert the folded
798         result to a requested type TYPE.
799
800 2005-02-16  Jakub Jelinek  <jakub@redhat.com>
801
802         PR middle-end/19857
803         * fold-const.c (fold): Don't optimize (T)(x & cst) to
804         (T)x & (T)cst if (T)cst overflows.
805         * convert.c (convert_to_integer) <case POINTER_TYPE>: Pass
806         TYPE_UNSIGNED (type) as type_for_size's UNSIGNEDP argument.
807
808 2005-02-15  Jeff Law  <law@redhat.com>
809
810         * gcse.c (blocks_with_calls): New bitmap.
811         (alloc_gcse_mem): Allocate it.
812         (free_gcse_mem): Free it.
813         (clear_modifY_mem_tables): Clear it.
814         (record_last_mem_set_info): Set the proper bit in BLOCK_WITH_CALLS
815         when we encounter CALL_INSNs.
816         (compute_transp, case MEM): Handle blocks with calls separate
817         from blocks without calls.  Use bitmap iterators rather than
818         FOR_EACH_BB.
819
820 2005-02-15  Peter O'Gorman  <peter@pogma.com>
821
822         PR bootstrap/18810
823         * mklibgcc.in (vis_hide): Use a temporary object file, not
824         -o /dev/null.
825
826 2005-02-15  Andy Hutchinson  <HutchinsonAndy@netscape.net>
827
828         PR target/19924
829         * config/avr/avr.h (MODES_TIEABLE_P): Define to 1 to allow subreg
830         access optimization.
831
832 2005-02-15  David Edelsohn  <edelsohn@gnu.org>
833             Alan Modra  <amodra@bigpond.net.au>
834
835         PR target/19019
836         * config/rs6000/darwin-ldouble.c (_xlqadd): Rename to __gcc_qadd.
837         (_xlqsub): Rename to __gcc_qsub.
838         (_xlqmul): Rename to __gcc_qmul.
839         (_xlqdiv): Rename to __gcc_qdiv.
840         Provide versioned symbol aliases with old names.
841         * config/rs6000/libgcc-ppc64.ver: Rename symbols.
842         * config/rs6000/rs6000.c (rs6000_init_libfuncs): Rename symbols.
843         * config/rs6000/t-aix43 (LIB2FUNCS_EXTRA): New.
844         * config/rs6000/t-aix52 (LIB2FUNCS_EXTRA): New.
845         * config/rs6000/t-newas (LIB2FUNCS_EXTRA): New.
846
847 2005-02-15  James A. Morrison  <phython@gcc.gnu.org>
848
849         * fold-const.c (fold): Fold -(~A) to A + 1.  Fold ~(-A) to A - 1.
850         Fold ~(A - 1) and ~(A + -1) to -A.
851
852 2005-02-15  James A. Morrison  <phython@gcc.gnu.org>
853
854         PR pch/14940
855         PR target/19300
856         * config/host-linux.c (linux_gt_pch_use_address): Copy from
857         config/pa/pa-host.c:pa_gt_pch_use_address.
858
859 2005-02-15  Daniel Berlin  <dberlin@dberlin.org>
860
861         * tree-vn.c (get_value_handle): Make sure that given an
862         is_gimple_min_invariant expression, we always return it.
863
864 2005-02-15  Kazu Hirata  <kazu@cs.umass.edu>
865
866         * passes.c (rest_of_handle_gcse): Fix a comment.
867
868 2005-02-15  Jeff Law  <law@redhat.com>
869
870         * gcse.c (canon_modify_mem_set_list_set): Kill unnecessary
871         bitmap.
872         (alloc_gcse_mem, free_gcse_mem): Corresponding changes.
873         (canon_list_insert, record_last_mem_set_info): Similarly.
874         (clear_modify_mem_tables): Similarly.
875
876 2005-02-15  Kazu Hirata  <kazu@cs.umass.edu>
877
878         * bitmap.c, bitmap.h, lambda-code.c, tree-dfa.c, tree-dump.c,
879         tree-dump.h, tree-ssa-loop-manip.c, value-prof.c,
880         config/mips/mips.md, config/rs6000/aix.h,
881         config/rs6000/beos.h, config/rs6000/sysv4.h: Update copyright.
882
883 2005-02-15  Richard Henderson  <rth@redhat.com>
884
885         * bb-reorder.c (find_traces_1_round): Force fallthru edge from a
886         call to be best_edge.
887
888 2005-02-14  Kazu Hirata  <kazu@cs.umass.edu>
889
890         * basic-block.h: Adjust the prototype for find_basic_blocks.
891         * cfgbuild.c (find_basic_blocks): Remove unused arguments.
892         * passes.c (rest_of_handle_loop_optimize): Adjust the call to
893         find_basic_blocks.
894
895         * flow.c (recompute_reg_usage): Remove all arguments.
896         * passes.c (rest_of_compilation): Adjust the call to
897         recompute_reg_usage.
898         * rtl.h: Adjust the prototype for recompute_reg_usage.
899
900 2005-02-14  Daniel Berlin  <dberlin@dberlin.org>
901
902         * tree-dump.c (dump_files): Update to reflect new member
903         of dump_file_info.
904         (dump_register): Add new argument.
905         Set glob name.
906         (dump_switch_p_1): Check against glob name if doglob was passed.
907         (dump_switch_p): Check against regular first, then glob if
908         we didn't have any hits on the dump name.
909         * tree-optimize.c (register_one_dump_file):
910         Pass in glob name as well.
911         * tree-pass.h (struct dump_file_info): Add glob
912         member.
913
914 2005-02-14  Joseph S. Myers  <joseph@codesourcery.com>
915
916         PR preprocessor/16323
917         * doc/invoke.texi: Document that -Wendif-labels is on by default.
918
919 2005-02-14  David Edelsohn  <edelsohn@gnu.org>
920
921         PR target/19019
922         * config/rs6000/rs6000.md (trunctfdf2): Change to define_expand.
923         (trunctfdf2_internal1): New.
924         (trunctfdf2_internal2): Renamed from trunctfdf2.
925
926 2005-02-14  Diego Novillo  <dnovillo@redhat.com>
927
928         PR tree-optimization/19853
929         * tree-dfa.c (add_referenced_var): Always examine DECL_INITIAL.
930
931 2005-02-14  Kazu Hirata  <kazu@cs.umass.edu>
932
933         * passes.c (rest_of_handle_loop_optimize): Remove calls to
934         delete_dead_jumptables and cleanup_cfg.
935
936 2005-02-14  Ulrich Weigand  <uweigand@de.ibm.com>
937
938         * reload.c (find_reloads): Swap address_reloaded flags when
939         swapping commutative operands.
940
941 2005-02-14  Sebastian Pop  <pop@cri.ensmp.fr>
942
943         * lambda-code.c (lambda_loopnest_to_gcc_loopnest, perfect_nestify):
944         Use standard_iv_increment_position for computing the bsi position
945         for create_iv.
946         * tree-ssa-loop-manip.c (create_iv): Add a comment on how to compute
947         the bsi position.
948
949 2005-02-13  Zdenek Dvorak  <dvorakz@suse.cz>
950
951         PR target/17428
952         * cfgrtl.c (safe_insert_insn_on_edge): Avoid extending
953         life range of hard registers.
954         * value-prof.c (insn_prefetch_values_to_profile): Only
955         scan normal insns.
956
957         * value-prof.c (rtl_find_values_to_profile): Do not look for values to
958         profile in libcalls.
959
960 2005-02-13  Nathan Sidwell  <nathan@codesourcery.com>
961
962         * bitmap.h (bitmap_and_compl_into): Return bool.
963         * bitmap.c (bitmap_and_compl_into): Return changed flag.
964
965 2005-02-13  James A. Morrison  <phython@gcc.gnu.org>
966
967         PR tree-optimization/19944
968         * fold-const.c (fold): Re-add ABS_EXPR folding.
969
970 2005-02-13  David Edelsohn  <edelsohn@gnu.org>
971
972         PR target/19019
973         * config/rs6000/aix.h ({TARGET,MASK}_XL_CALL): Rename to
974         {TARGET,MASK}_XL_COMPAT.
975         (SUBTARGET_SWITCHES): Rename xl-call to xl-compat.  Use
976         MASK_XL_COMPAT.
977         * config/rs6000/beos.h ({TARGET,MASK}_XL_CALL): Remove.
978         * config/rs6000/rs6000.c (function_arg): Change TARGET_XL_CALL to
979         TARGET_XL_COMPAT.
980         (rs6000_arg_partial_bytes): Same.
981         (rs6000_generate_compare): Generate PARALLEL for compare if TFmode
982         and XL compatibility enabled.
983         * config/rs6000/rs6000.h (TARGET_XL_CALL): Rename to TARGET_XL_COMPAT.
984         * config/rs6000/rs6000.md (cmptf_internal1): Add !TARGET_XL_COMPAT
985         test to final condition.
986         (cmptf_internal2): New.
987         * doc/invoke.texi (RS/6000 Subtarget Options): Change xl-call to
988         xl-compat.  Add TFmode information to description.
989
990 2005-02-13  Kazu Hirata  <kazu@cs.umass.edu>
991
992         * flags.h, read-rtl.c, tree-ssa-live.h: Update copyright.
993
994 2005-02-13  Jason Merrill  <jason@redhat.com>
995
996         PR c++/16405
997         * fold-const.c (fold_indirect_ref_1): Split out from...
998         (build_fold_indirect_ref): Here.
999         (fold_indirect_ref): New fn.
1000         * tree.h: Declare it.
1001         * gimplify.c (gimplify_compound_lval): Call fold_indirect_ref.
1002         (gimplify_modify_expr_rhs): Likewise.
1003         (gimplify_expr): Likewise.
1004
1005 2005-02-13  James A. Morrison  <phython@gcc.gnu.org>
1006
1007         PR tree-optimization/14303
1008         PR tree-optimization/15784
1009         * fold-const.c (fold): Fold ABS_EXPR<x> >= 0 to true, when possible.
1010         Fold ABS_EXPR<x> < 0 to false.  Fold ABS_EXPR<x> == 0 to x == 0 and
1011         ABS_EXPR<x> != 0 to x != 0.
1012
1013 2005-02-12  Kazu Hirata  <kazu@cs.umass.edu>
1014
1015         * c-tree.h, combine.c, expmed.c, flow.c, libgcc2.c,
1016         simplify-rtx.c, tree-ssa-live.h: Fix comment typos.  Follow
1017         spelling conventions.
1018
1019         * passes.c (rest_of_handle_gcse): Don't run cse_main and
1020         delete_trivially_dead_insns too many times.
1021
1022         * passes.c (rest_of_handle_gcse): Remove dead assignments to
1023         tem and tem2.
1024
1025 2005-02-12  Ira Rosen  <irar@il.ibm.com>
1026
1027         * tree-vectorizer.c (vect_get_base_and_offset): Remove.
1028         (vect_is_simple_iv_evolution): Remove redundant parameter
1029         and step check.
1030         (vect_analyze_scalar_cycles): Call vect_is_simple_iv_evolution
1031         without last parameter.
1032         (vect_analyze_pointer_ref_access): Get access_fn as parameter.
1033         Return pointer step. Call vect_is_simple_iv_evolution without
1034         last parameter. Check only that the step is multiple of size
1035         type. Remove stmt_vinfo updates.
1036         (vect_get_memtag_and_dr): Remove.
1037         (vect_get_memtag): New function.
1038         (vect_address_analysis): New function.
1039         (vect_object_analysis): New function.
1040         (vect_analyze_data_refs): Call vect_object_analysis and
1041         vect_get_memtag. Update stmt_vinfo fields.
1042
1043 2005-02-12  Ira Rosen  <irar@il.ibm.com>
1044
1045         * tree-data-ref.c (array_base_name_differ_p): Check that the bases
1046         exist and are objects. Remove checks for pointer.
1047         * tree-vectorizer.c (vect_create_addr_base_for_vector_ref): Use
1048         STMT_VINFO_VECT_DR_BASE_ADDRESS instead of DR_BASE_NAME.
1049         (vect_create_data_ref_ptr): Likewise.
1050         (vect_base_addr_differ_p): New function.
1051         (vect_analyze_data_ref_dependence): Call vect_base_addr_differ_p.
1052         (vect_analyze_pointer_ref_access): Add output parameter - ptr_init.
1053         Don't set the DR_BASE_NAME field of data-ref.
1054         (vect_get_memtag_and_dr): Use ptr_init instead of DR_BASE_NAME.
1055
1056 2005-02-12  Uros Bizjak  <uros@kss-loka.si>
1057
1058         * optabs.h (enum optab_index): Add new OTI_ldexp.
1059         (ldexp_optab): Define corresponding macro.
1060         * optabs.c (init_optabs): Initialize ldexp_optab.
1061         * genopinit.c (optabs): Implement ldexp_optab using ldexp?f3
1062         patterns.
1063         * builtins.c (expand_builtin_mathfn_2): Handle BUILT_IN_LDEXP{,F,L}
1064         using ldexp_optab.
1065         (expand_builtin): Expand BUILT_IN_LDEXP{,F,L} using
1066         expand_builtin_mathfn_2 if flag_unsafe_math_optimizations is set.
1067
1068         * config/i386/i386.md (ldexpsf3, ldexpdf3, ldexpxf3): New expanders
1069         to implement ldexpf, ldexp and ldexpl built-ins as inline x87
1070         intrinsics.
1071
1072 2005-02-12  Ira Rosen  <irar@il.ibm.com>
1073
1074         * tree-vectorizer.h (struct _stmt_vec_info): Rename a field: base
1075         to base_address.
1076         * tree-vectorizer.c (new_stmt_vec_info): Rename the above field of
1077         stmt_vec_info.
1078         (vect_get_base_and_offset): Always return an address.
1079         (vect_create_addr_base_for_vector_ref): Remove treatment for
1080         different data reference types.
1081         (vect_compute_data_ref_alignment): Rename base to base_address in
1082         stmt_vec_info. Get the object in order to force its alignment.
1083         (vect_get_memtag_and_dr): Rename base to base_address in
1084         stmt_vec_info. Extract the object for memtag analysis.
1085
1086 2005-02-12  Hans-Peter Nilsson  <hp@axis.com>
1087
1088         PR regression/19898.
1089         * config/cris/cris.c (cris_notice_update_cc): When testing if insn
1090         changes cc_status, use apply modified_in_p to part of cc_status
1091         and insn, not cris_reg_overlap_mentioned_p on SET_DEST of insn
1092         body.
1093
1094 2005-02-11  Richard Henderson  <rth@redhat.com>
1095
1096         * tree-complex.c (expand_complex_libcall): New.
1097         (expand_complex_multiplication): Use it for c99 compliance.
1098         (expand_complex_division): Likewise.
1099         * fold-const.c (fold_complex_add, fold_complex_mult): New.
1100         (fold): Call them.
1101         * builtins.c (built_in_names): Remove const.
1102         * tree.c (build_common_builtin_nodes): Build complex arithmetic
1103         builtins.
1104         * tree.h (BUILT_IN_COMPLEX_MUL_MIN, BUILT_IN_COMPLEX_MUL_MAX): New.
1105         (BUILT_IN_COMPLEX_DIV_MIN, BUILT_IN_COMPLEX_DIV_MAX): New.
1106         (built_in_names): Remove const.
1107         * c-common.c (c_common_type_for_mode): Handle complex modes.
1108         * flags.h, toplev.c (flag_complex_method): Rename from
1109         flag_complex_divide_method.
1110         * libgcc2.c (__divsc3, __divdc3, __divxc3, __divtc3,
1111         __mulsc3, __muldc3, __mulxc3, __multc3): New.
1112         * libgcc2.h: Declare them.
1113         * libgcc-std.ver: Export them.
1114         * mklibgcc.in (lib2funcs): Build them.
1115
1116 2005-02-11  Steven Bosscher  <stevenb@suse.de>
1117
1118         PR tree-optimization/19876
1119         Partially revert my change from 2005-01-14
1120         * tree-ssa-pre.c (compute_antic_aux): Make recursive once again...
1121         (compute_antic): ...and remove the loop here.
1122
1123 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
1124
1125         PR middle-end/19858
1126         * fold-const.c (make_bit_field_ref): If bitpos == 0 and bitsize
1127         is number of inner's bits, avoid creating a BIT_FIELD_REF.
1128
1129         * config/rs6000/sysv4.h (ENDFILE_LINUX_SPEC): Use crtendS.o instead of
1130         crtend.o if -pie.  Use %{x:a;:b} spec syntax.
1131
1132 2005-02-11  Daniel Jacobowitz  <dan@codesourcery.com>
1133
1134         * config/mips/linux-unwind.h (mips_fallback_frame_state): Adjust
1135         offsets for the big-endian 32-bit case.
1136
1137 2005-02-11  Joseph S. Myers  <joseph@codesourcery.com>
1138
1139         * config/ia64/hpux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
1140
1141 2005-02-11  Dale Johannesen  <dalej@apple.com>
1142
1143         * cselib.c (cselib_process_insn):  Clear out regs where
1144         HARD_REGNO_CALL_PART_CLOBBERED is true at a call.
1145         * reload.c (find_equiv_reg): Ditto.
1146
1147 2005-02-11  Ian Lance Taylor  <ian@airs.com>
1148
1149         * read-rtl.c (read_rtx_1): Give fatal error if we see a vector
1150         with no elements.
1151
1152         * tree.c (build_function_type_list): Work correctly if there are
1153         no arguments.
1154
1155 2005-02-11  Ulrich Weigand  <uweigand@de.ibm.com>
1156
1157         * config/s390/s390.md ("*cmpdi_cct", "*cmpsi_cct", "*cmpdi_ccs",
1158         "*cmpsi_ccs"): Use %h instead of %c to print immediate operand.
1159         ("*zero_extendhisi2_64", "*zero_extendhisi2_31"): Choose based on
1160         TARGET_ZARCH instead of TARGET_64BIT.
1161
1162 2005-02-11  Ralf Corsepius  <ralf.corsepius@rtems.org>
1163
1164         * config/rs6000/t-rtems:
1165         (MULTILIB_OPTIONS): Remove mcpu=602.
1166         (MUTLILIB_DIRNAMES): Remove m602.
1167         (MULTILIB_MATCHES): Add ${MULTILIB_MATCHES_FLOAT}.
1168         Let mcpu=602 match mcpu=603.
1169         (MULTILIB_NEW_EXCEPTIONS_ONLY): Add mcpu=601, mcpu=602, mcpu=m603.
1170
1171 2005-02-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1172
1173         * pa/linux-unwind.h (pa32_fallback_frame_state): Handle misaligned
1174         signal trampolines.
1175
1176 2005-02-10  David Daney  <ddaney@avtrex.com>
1177
1178         * config/alpha/linux-unwind.h: Add exception clause to copyright.
1179         * config/i386/linux-unwind.h: Likewise.
1180         * config/ia64/linux-unwind.h: Likewise.
1181         * config/mips/linux-unwind.h: Likewise.
1182         * config/pa/linux-unwind.h: Likewise.
1183         * config/rs6000/linux-unwind.h: Likewise.
1184         * config/s390/linux-unwind.h: Likewise.
1185         * config/sh/linux-unwind.h: Likewise.
1186         * config/sparc/linux-unwind.h: Likewise.
1187
1188 2005-02-10  Steven Bosscher  <stevenb@suse.de>
1189
1190         PR tree-optimization/17549
1191         * tree-outof-ssa.c (find_replaceable_in_bb): Do not allow
1192         TER to replace a DEF with its expression if the DEF and the
1193         rhs of the expression we replace into have the same root
1194         variable.
1195
1196 2005-02-10  Richard Sandiford  <rsandifo@redhat.com>
1197
1198         * config/mips/mips.md: Fix the placement of the match_scratch in the
1199         lea64 peephole2.
1200
1201 2005-02-10  Kazu Hirata  <kazu@cs.umass.edu>
1202
1203         * cse.c, tree-ssa-loop-ivopts.c, config/rs6000/linux-unwind.h:
1204         Fix comment typos.
1205
1206 2005-02-10  Zdenek Dvorak  <dvorakz@suse.cz>
1207
1208         * tree-ssa-loop-ivopts.c (determine_base_object): Ignore casts.
1209         (strip_offset): Handle addresses.
1210         (add_address_candidates): Use strip_offset.
1211         (difference_cost): Reflect strip_offset change.
1212         (force_var_cost, difference_cost): Strip nops.
1213
1214 2005-02-10  Kazu Hirata  <kazu@cs.umass.edu>
1215
1216         * df.h (DF_REF_MODE_CHANGE, DF_REF_MEM_OK): Remove.
1217
1218         * builtins.def, haifa-sched.c, libgcc2.c, libgcc2.h,
1219         tree-ssa-loop-ivcanon.c, tree-ssa-loop-niter.c,
1220         config/cris/cris-protos.h, config/cris/cris.c: Update
1221         copyright.
1222
1223 2005-02-10  Jeff Law  <law@redhat.com>
1224
1225         * tree-ssa-dom.c (thread_across_edge): Use xmalloc, not xcalloc.
1226         (lookup_avail_expr): Similarly.
1227
1228 2005-02-10  Richard Guenther  <rguenth@gcc.gnu.org>
1229
1230         * builtins.c (fold_builtin_powi): New function.
1231         (fold_builtin_1): Call it.
1232
1233 2005-02-10  Steven Bosscher  <stevenb@suse.de>
1234
1235         PR documentation/19309
1236         * doc/cpp.texi: The __GNUC__ and related predefined macros
1237         are also defined for the "standalone" cpp.
1238         Some non-GCC compilers may also define __GNUC__.
1239
1240 2005-02-10  Jakub Jelinek  <jakub@redhat.com>
1241
1242         PR c/19342
1243         * c-typeck.c (common_type): New routine.  Old common_type renamed
1244         to...
1245         (c_common_type): ...this.
1246         (build_conditional_expr, build_binary_op): Use c_common_type instead
1247         of common_type.
1248
1249 2005-02-10  Steven Bosscher  <stevenb@suse.de>
1250
1251         * doc/md.texi: Replace @samp{length} with @code{length}.
1252
1253 2005-02-09  Zdenek Dvorak  <dvorakz@suse.cz>
1254
1255         PR tree-optimization/18687
1256         * tree-flow.h (find_loop_niter): Declare.
1257         * tree-ssa-loop-ivcanon.c (canonicalize_loop_induction_variables):
1258         Try using scev even for loops with more than one exit.
1259         * tree-ssa-loop-ivopts.c (struct loop_data): Removed niter field.
1260         (struct ivopts_data): Added niters field.
1261         (struct nfe_cache_elt): New.
1262         (nfe_hash, nfe_eq, niter_for_exit, niter_for_single_dom_exit): New
1263         functions.
1264         (tree_ssa_iv_optimize_init): Initialize niters cache.
1265         (determine_number_of_iterations): Removed.
1266         (find_induction_variables): Do not call determine_number_of_iterations.
1267         Access niters for single exit through niter_for_single_dom_exit.
1268         (add_iv_outer_candidates): Access niters for single exit through
1269         niter_for_single_dom_exit.
1270         (may_eliminate_iv): Take data argument.  Use niter_for_exit.  Do not use
1271         number_of_iterations_cond.
1272         (iv_period): New function.
1273         (determine_use_iv_cost_condition): Pass data to may_eliminate_iv.
1274         (may_replace_final_value): Take data argument.  Use
1275         niter_for_single_dom_exit.
1276         (determine_use_iv_cost_outer): Pass data to may_replace_final_value.
1277         (rewrite_use_compare): Pass data to may_eliminate_iv.
1278         (rewrite_use_outer): Pass data to may_replace_final_value.
1279         (free_loop_data): Clean up the niters cache.
1280         (tree_ssa_iv_optimize_finalize): Free the niters cache.
1281         (tree_ssa_iv_optimize_loop): Do not call loop_commit_inserts.
1282         * tree-ssa-loop-niter.c (find_loop_niter): New function.
1283         (find_loop_niter_by_eval): Use tree_int_cst_lt.
1284         (num_ending_zeros): Moved to tree.c.
1285         * tree.h (num_ending_zeros): Declare.
1286         * tree.c (num_ending_zeros): Moved from tree.c.
1287
1288 2005-02-09  Richard Henderson  <rth@redhat.com>
1289
1290         * builtins.c (DEF_BUILTIN): Add COND argument.
1291         * tree.h (DEF_BUILTIN): Likewise.
1292         * builtins.def (DEF_GCC_BUILTIN, DEF_LIB_BUILTIN, DEF_EXT_LIB_BUILTIN,
1293         DEF_C94_BUILTIN, DEF_C99_BUILTIN, DEF_C99_C90RES_BUILTIN): Update to
1294         match.
1295         (DEF_BUILTIN_STUB): New.
1296         (BUILT_IN_STACK_SAVE, BUILT_IN_STACK_RESTORE, BUILT_IN_INIT_TRAMPOLINE,
1297         BUILT_IN_ADJUST_TRAMPOLINE, BUILT_IN_NONLOCAL_GOTO,
1298         BUILT_IN_PROFILE_FUNC_ENTER, BUILT_IN_PROFILE_FUNC_EXIT): Use it.
1299         * c-common.c (DEF_BUILTIN): Add COND argument.
1300         * tree.c (local_define_builtin): New.
1301         (build_common_builtin_nodes): New.
1302
1303 2005-02-09  Roger Sayle  <roger@eyesopen.com>
1304
1305         * fold-const.c (fold_strip_sign_ops): New function to simplify a
1306         floating point expression ignoring the sign of the result.
1307         (fold) <ABS_EXPR>: Use it to simplify fabs(x).
1308         (fold) <MULT_EXPR>: Use it to simplify x*x.
1309         * tree.h (fold_strip_sign_ops): Prototype here.
1310         * builtins.c (fold_builtin_copysign): Take an additional FNDECL
1311         argument.  Use fold_strip_sign_ops to simplify the first argument.
1312         (fold_builtin_pow):  Use fold_strip_sign_ops to simplify the
1313         first argument when the second argument is an even integer
1314         constant, but only with -funsafe_math_optimizations.
1315         (fold_builtin_1): Update call to fold_builtin_copysign.
1316
1317 2005-02-09  Ian Lance Taylor  <ian@airs.com>
1318
1319         PR middle-end/19583
1320         * gimple-low.c (try_catch_may_fallthru): In EH_FILTER_EXPR case,
1321         just check whether EH_FILTER_FAILURE falls through.
1322
1323 2005-02-09  Andreas Krebbel  <krebbel1@de.ibm.com>
1324
1325         * gcc/haifa-sched.c (schedule_block): Make queued sched group
1326         insns return to ready list in the next turn.
1327
1328 2005-02-09  Richard Guenther  <rguenth@gcc.gnu.org>
1329
1330         PR middle-end/19402
1331         * builtins.def: New __builtin_powi[lf].
1332         * builtins.c (mathfn_built_in): Handle BUILT_IN_POWI.
1333         (expand_builtin_powi): New function.
1334         (expand_builtin): Dispatch to expand_builtin_powi.
1335         * libgcc2.h: Add prototypes for __builtin_powi[lf].
1336         * libgcc2.c: Add __builtin_powi[lf] implementation.
1337         * mklibgcc.in: Add __builtin_powi[lf] to lib2funcs.
1338         * optabs.h: Add powi_optab.
1339         * optabs.c (init_optabs): Initialize powi_optab.
1340         * doc/extend.texi: Document __builtin_powi[lf].
1341
1342 2005-02-09  Dorit Naishlos  <dorit@il.ibm.com>
1343
1344         * tree-vectorizer.c (vect_set_dump_settings): Check that dump_file
1345         exists.
1346
1347 2005-02-09  Richard Guenther  <rguenth@gcc.gnu.org>
1348
1349         PR middle-end/19854
1350         * fold-const.c (try_move_mult_to_index): Remove redundant
1351         type argument.  Create ADDR_EXPR with correct type.
1352         (fold): Update callers of try_move_mult_to_index.  Convert
1353         result to the appropriate type.
1354
1355 2005-02-09  Roger Sayle  <roger@eyesopen.com>
1356
1357         PR target/19597
1358         * config/avr/avr.c (default_rtx_costs): Delete.
1359         (avr_operand_rtx_cost): New function.
1360         (avr_rtx_costs): Completely rewrite.
1361
1362 2005-02-08  Hans-Peter Nilsson  <hp@axis.com>
1363
1364         PR target/19806
1365         * config/cris/cris.c (in_code): New variable.
1366         (cris_output_addr_const): Now a static function, a wrapper for
1367         output_addr_const.
1368         (cris_asm_output_symbol_ref): New function, broken out SYMBOL_REF
1369         case from old cris_output_addr_const.
1370         (cris_asm_output_label_ref): Similar for LABEL_REF.
1371         (cris_output_addr_const_extra): Similar for UNSPEC.
1372         * config/cris/cris.h (OUTPUT_ADDR_CONST_EXTRA)
1373         (ASM_OUTPUT_SYMBOL_REF, ASM_OUTPUT_LABEL_REF): Define.
1374         * config/cris/cris-protos.h (cris_output_addr_const): Remove
1375         declaration.
1376         (cris_asm_output_symbol_ref, cris_output_addr_const_extra)
1377         (cris_asm_output_label_ref): Declare.
1378
1379 2005-02-08  Paolo Bonzini  <bonzini@gnu.org>
1380
1381         PR preprocessor/19801
1382         * doc/cppinternals.texi (Conventions, Lexer, Files): Adjust
1383         filenames that changed when libcpp was moved to the toplevel.
1384
1385 2005-02-07  Roger Sayle  <roger@eyesopen.com>
1386
1387         * simplify-rtx.c (simplify_relational_operation_1): Avoid creating
1388         zero extensions of BImode operands.  Call lowpart_subreg instead
1389         of gen_lowpart_common and gen_lowpart_SUBREG.
1390
1391 2005-02-07  Nathanael Nerode  <neroden@gcc.gnu.org>
1392
1393         PR ada/19489
1394         * libada-mk.in: Use cc_for_cross_gnattools, not cc_set_by_configure.
1395         * configure.ac: Set cc_for_cross_gnattools.
1396         * configure: Regenerate.
1397
1398 2005-02-08  Alan Modra  <amodra@bigpond.net.au>
1399
1400         PR target/19803
1401         * predict.c (PROB_VERY_UNLIKELY): Use 1% instead of 10%.
1402
1403 2005-02-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
1404
1405         PR debug/19327
1406         * dbxout.c (dbxout_symbol) <FUNCTION_DECL>: Skip inline instance
1407         of nested functions.
1408
1409 2005-02-07  Jonathan Wakely  <redi@gcc.gnu.org>
1410
1411         * doc/extend.texi: Document deprecated extensions allowing
1412         static floating-point members to have initializers and allowing
1413         floating-point literals in integral constant expressions.
1414
1415 2005-02-07  Kazu Hirata  <kazu@cs.umass.edu>
1416
1417         * cfgcleanup.c, df.h, diagnostic.c, rtl.c, tree-vectorizer.h,
1418         config/darwin7.h, config/mips/mips.c,
1419         config/rs6000/altivec.md, config/rs6000/darwin-tramp.asm:
1420         Update copyright.
1421
1422         * cse.c: Update comments.
1423
1424 2005-02-07  Richard Guenther  <rguenth@gcc.gnu.org>
1425
1426         PR middle-end/19775
1427         * builtins.c (fold_builtin_sqrt): Transform
1428         sqrt(pow(x,y)) to pow(fabs(x),y*0.5), not
1429         pow(x,y*0.5).
1430
1431 2005-02-07  Leehod Baruch  <leehod@il.ibm.com>
1432             Dorit Naishlos  <dorit@il.ibm.com>
1433
1434         * doc/invoke.texi (ftree-vectorizer-verbose): New.
1435         * opts.c (OPT_ftree_vectorizer_verbose_): New case for switch.
1436         * common.opt (ftree-vectorizer-verbose): New Flag for the vectorizer
1437         was added.
1438         * tree.h (vect_set_verbosity_level): New extern function declaration
1439         added.
1440         * tree-vectorizer.h (verbosity_levels): New enum type.
1441         * tree-vectorizer.c (vect_debug_stats): Function removed.
1442         (vect_debug_details): Likewise.
1443         (vect_verbosity_level): Global variable was defined and initialized.
1444         (vect_dump): Global variable definition.
1445         (vect_print_dump_info): New function.
1446         (vect_set_dump_settings): New function.
1447         (vect_set_verbosity_level): New function.
1448         (vectorize_loops): Add call to vect_set_dump_settings.
1449
1450         (slpeel_make_loop_iterate_ntimes): Dump condition was changed.
1451         (slpeel_tree_duplicate_loop_to_edge_cfg): Likewise.
1452         (slpeel_tree_peel_loop_to_edge): Likewise.
1453
1454         (vect_analyze_offset_expr): Call to vect_print_dump_info with
1455         appropriate verbosity level instead of call to vect_debug_details
1456         or vect_debug_stats.
1457         (vect_get_base_and_offset):
1458         (vect_create_addr_base_for_vector_ref):
1459         (get_vectype_for_scalar_type):
1460         (vect_create_data_ref_ptr):
1461         (vect_init_vector):
1462         (vect_get_vec_def_for_operand):
1463         (vect_finish_stmt_generation):
1464         (vectorizable_assignment):
1465         (vectorizable_operation):
1466         (vectorizable_store):
1467         (vectorizable_load):
1468         (vect_transform_stmt):
1469         (vect_update_ivs_after_vectorizer):
1470         (vect_do_peeling_for_loop_bound):
1471         (vect_update_inits_of_drs):
1472         (vect_do_peeling_for_alignment):
1473         (vect_transform_loop):
1474         (vect_is_simple_use):
1475         (vect_analyze_operations):
1476         (vect_is_simple_iv_evolution):
1477         (vect_analyze_scalar_cycles):
1478         (vect_analyze_data_ref_dependence):
1479         (vect_analyze_data_ref_dependences):
1480         (vect_compute_data_ref_alignment):
1481         (vect_enhance_data_refs_alignment):
1482         (vect_analyze_data_refs_alignment):
1483         (vect_analyze_data_ref_access):
1484         (vect_analyze_data_ref_accesses):
1485         (vect_analyze_pointer_ref_access):
1486         (vect_get_memtag_and_dr):
1487         (vect_analyze_data_refs):
1488         (vect_mark_relevant):
1489         (vect_stmt_relevant_p):
1490         (vect_mark_stmts_to_be_vectorized):
1491         (vect_can_advance_ivs_p):
1492         (vect_get_loop_niters):
1493         (vect_analyze_loop_form):
1494         (vect_analyze_loop):
1495         (vectorize_loops): Likewise.
1496
1497         (vect_do_peeling_for_loop_bound): Dump format slightly changed.
1498         (vect_update_inits_of_drs):
1499         (vect_do_peeling_for_alignment):
1500         (vect_transform_loop):
1501         (vect_analyze_operations):
1502         (vect_analyze_scalar_cycles):
1503         (vect_analyze_data_ref_dependences):
1504         (vect_analyze_data_refs_alignment):
1505         (vect_analyze_data_ref_accesses):
1506         (vect_analyze_data_refs):
1507         (vect_mark_stmts_to_be_vectorized):
1508         (vect_get_loop_niters):
1509         (vect_analyze_loop_form):
1510         (vect_analyze_loop): Likewise.
1511         (vect_mark_stmts_to_be_vectorized): Add call to print_generic_expr.
1512
1513 2005-02-07  Richard Sandiford  <rsandifo@redhat.com>
1514
1515         PR bootstrap/19796
1516         Revert:
1517         2005-01-26  Richard Sandiford  <rsandifo@redhat.com>
1518         * config/mips/iris6.h (ENDFILE_SPEC): Don't link in irix-csr.o if
1519         either -ffast-math or -funsafe-math-optimizations is in use.
1520
1521         2005-01-24  Richard Sandiford  <rsandifo@redhat.com>
1522         * config/mips/irix-csr.c: New file.
1523         * config/mips/t-iris6 (irix-csr.o): New rule to build it.
1524         (EXTRA_MULTILIB_PARTS): Add irix-csr.o.
1525         * config/mips/iris6.h (ENDFILE_SPEC): Include it in n32 and n64
1526         executables.
1527
1528 2005-02-07  Alexandre Oliva  <aoliva@redhat.com>
1529
1530         * config/mn10300/linux.h (LIB_SPEC, STARTFILE_SPEC): Remove
1531         redundant, incorrect definitions.
1532
1533         * config/frv/frv.md ("tls_indirect_call"): Turn into libcall-like
1534         expand.
1535         ("*tls_indirect_call"): New, reference hard regs directly.
1536         * config/frv/frv.c (gen_inlined_tls_plt): Adjust.
1537
1538 2005-02-07  Ralf Corsepius  <ralf.corsepius@rtems.org>
1539
1540         * config/arm/rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC):
1541         Let !-mhard-float !-msoft-float imply -mfpu=softfpa.
1542
1543 2005-02-06  Roger Sayle  <roger@eyesopen.com>
1544
1545         PR rtl-optimization/19800
1546         * simplify_rtx.c (simplify_relational_operation_1): Explicitly
1547         call gen_lowpart_common and gen_lowpart_SUBREG instead of calling
1548         gen_lowpart.
1549
1550 2005-02-07  Ralf Corsepius  <ralf.corsepius@rtems.org>
1551
1552         * config/m68k/t-rtems (MULTILIB_MATCHES): Let m528x match m5200.
1553
1554 2005-02-07  Joseph S. Myers  <joseph@codesourcery.com>
1555
1556         PR other/17135
1557         * doc/invoke.texi: Correct documentation of -freorder-functions.
1558
1559 2005-02-06  Joseph S. Myers  <joseph@codesourcery.com>
1560
1561         PR other/14402
1562         * doc/invoke.texi: Don't mention gccbug.
1563
1564 2005-02-06  Roger Sayle  <roger@eyesopen.com>
1565             Andrew Pinski  <pinskia@physics.uc.edu>
1566             Paolo Bonzini  <paolo.bonzini@lu.unisi.ch>
1567
1568         * simplify-rtx.c (simplify_relational_operation_1): Simplify
1569         (ne:SI (zero_extract:SI FOO (const_int 1) BAR) (const_int 0))
1570         into just (zero_extract:SI FOO (const_int 1) BAR).
1571
1572 2005-02-06  Joseph S. Myers  <joseph@codesourcery.com>
1573
1574         * doc/cpp.texi: Include gcc-common.texi.  Don't define gcctabopt
1575         macro locally.  Don't give last revision date.  Use GCC version
1576         number from gcc-common.texi.
1577         * doc/cppinternals.texi: Include gcc-common.texi.  Don't give last
1578         revision date.  Use GCC version number from gcc-common.texi.
1579         Describe being a library as current state rather than as 3.x
1580         history.
1581         * doc/gcc.texi: Remove last update date.
1582         * doc/gccint.texi: Likewise.  Update copyright dates.
1583         * doc/install.texi: Update copyright dates.
1584
1585 2005-02-06  Joseph S. Myers  <joseph@codesourcery.com>
1586
1587         PR other/7549
1588         * doc/invoke.texi: Mention for each option included in -Wall that
1589         it is included in -Wall.
1590         * doc/gcc.texi: Update copyright and last modification date.
1591
1592 2005-02-06  Zdenek Dvorak  <dvorakz@suse.cz>
1593
1594         * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Do not add
1595         unnecessary cast to original induction variable increments.
1596
1597 2005-02-06  Zdenek Dvorak  <dvorakz@suse.cz>
1598
1599         PR tree-optimization/18219
1600         * tree-ssa-loop-ivopts.c (get_computation_at): Produce computations
1601         in distributed form.
1602
1603 2005-02-06  Richard Sandiford  <rsandifo@redhat.com>
1604
1605         * expmed.c (store_bit_field): Make the SUBREG code adjust bitnum.
1606         Set bitpos and offset later in the function.  Do nothing if the
1607         target is a register and if the bitfield lies completely outside
1608         that register.
1609         (extract_bit_field): Make the same SUBREG, bitpos and offset changes
1610         here.  Return an uninitialised register if the source value is stored
1611         in a register and the bitfield lies completely outside that register.
1612
1613 2005-02-06  Steven Bosscher  <stevenb@suse.de>
1614
1615         * df.c (df_insn_refs_record): Use XEXP to get the operand of a USE,
1616         not SET_DEST.
1617
1618 2005-02-06  Marcin Dalecki  <martin@dalecki.de>
1619
1620         * diagnostic.c (default_diagnostic_finalizer): Fix use of attribute.
1621
1622 2005-02-06  Geoffrey Keating  <geoffk@apple.com>
1623
1624         * config.gcc (*-*-darwin*): Separate darwin7 and darwin8 configs.
1625         * config/darwin8.h: New.
1626         * config/darwin7.h: Update comment.
1627
1628 2005-02-03  Leehod Baruch  <leehod@il.ibm.com>
1629             Dorit Naishlos  <dorit@il.ibm.com>
1630
1631         * tree-vectorizer.h (LOC): New type.
1632         (UNKNOWN_LOC, EXPR_LOC, LOC_FILE, LOC_LINE): New macros.
1633         (loop_line_number): New field in struct _loop_vec_info.
1634         (LOOP_VINFO_LOC, LOOP_LOC): New macros.
1635
1636         * tree-vectorizer.c (input.h): Included.
1637         (find_loop_location): New function.
1638         (vect_debug_stats): Argument changed from loop to LOC. Computation of
1639         loop line number removed.
1640         (vect_debug_details): Likewise.
1641         (new_loop_vec_info): Initialize new field LOOP_VINFO_LOC.
1642
1643         (slpeel_make_loop_iterate_ntimes): Call find_loop_location. Argument in
1644         call to vect_debug_details/stats changed from loop to loop_loc.
1645         (slpeel_tree_duplicate_loop_to_edge_cfg): Likewise.
1646         (slpeel_tree_peel_loop_to_edge): Likewise.
1647
1648         (vect_analyze_offset_expr): Argument in call to vect_debug_details/stats
1649         changed from NULL to UNKNOWN_LOC.
1650         (vect_get_base_and_offset):
1651         (vect_create_addr_base_for_vector_ref):
1652         (get_vectype_for_scalar_type):
1653         (vect_create_data_ref_ptr):
1654         (vect_init_vector):
1655         (vect_get_vec_def_for_operand):
1656         (vect_finish_stmt_generation):
1657         (vectorizable_assignment):
1658         (vectorizable_operation):
1659         (vectorizable_store):
1660         (vectorizable_load):
1661         (vect_transform_stmt):
1662         (vect_update_ivs_after_vectorizer):
1663         (vect_do_peeling_for_loop_bound):
1664         (vect_do_peeling_for_alignment):
1665         (vect_transform_loop):
1666         (vect_is_simple_use):
1667         (vect_analyze_operations):
1668         (vect_is_simple_iv_evolution):
1669         (vect_analyze_scalar_cycles):
1670         (vect_analyze_data_ref_dependences):
1671         (vect_compute_data_ref_alignment):
1672         (vect_enhance_data_refs_alignment):
1673         (vect_analyze_data_ref_access):
1674         (vect_analyze_data_ref_accesses):
1675         (vect_analyze_pointer_ref_access):
1676         (vect_get_memtag_and_dr):
1677         (vect_analyze_data_refs):
1678         (vect_mark_relevant):
1679         (vect_stmt_relevant_p):
1680         (vect_mark_stmts_to_be_vectorized):
1681         (vect_can_advance_ivs_p):
1682         (vect_get_loop_niters):
1683         (vect_analyze_loop):
1684         (vectorize_loops): Likewise.
1685
1686         (vectorizable_load): Argument in call to vect_debug_details/stats
1687         changed from loop to LOOP_LOC (loop_vinfo).
1688         (vect_transform_loop):
1689         (vect_analyze_operations):
1690         (vect_analyze_scalar_cycles):
1691         (vect_analyze_data_ref_dependence):
1692         (vect_enhance_data_refs_alignment):
1693         (vect_analyze_data_ref_accesses):
1694         (vect_analyze_pointer_ref_access):
1695         (vect_analyze_data_refs):
1696         (vect_analyze_loop): Likewise.
1697
1698         (vect_analyze_loop_form): Argument in call to vect_debug_details/stats
1699         changed from loop to loop_loc.
1700
1701         (vect_enhance_data_refs_alignment): Removed unused variable loop.
1702
1703 2005-02-03  Leehod Baruch  <leehod@il.ibm.com>
1704             Dorit Naishlos  <dorit@il.ibm.com>
1705
1706         * tree-vectorizer.c (vect_analyze_data_ref_dependence): Function
1707         declaration added.
1708         (vect_analyze_data_ref_dependences): Likewise.
1709
1710         (vect_is_simple_use): Argument changed from loop structure to
1711         loop_vect_info structure.
1712         (vect_can_advance_ivs_p): Likewise.
1713         (vect_create_index_for_vector_ref): Likewise.
1714         (vect_update_ivs_after_vectorizer): Likewise.
1715         (new_stmt_vec_info): Likewise.
1716
1717         (new_loop_vec_info): Second argument in call to new_stmt_vec_info was
1718         changed from loop to loop_vinfo.
1719         (vect_create_data_ref_ptr): First argument in call to
1720         vect_create_index_for_vector_ref was changed from loop to loop_vinfo.
1721         (vectorizable_assignment): Second argument in call to vect_is_simple_use
1722         was changed from loop to loop_vinfo.
1723         (vectorizable_operation): Likewise.
1724         (vectorizable_store): Likewise.
1725         (vect_mark_stmts_to_be_vectorized): Likewise.
1726         (vect_do_peeling_for_loop_bound): First argument in call to
1727         vect_update_ivs_after_vectorizer was changed from loop to loop_vinfo.
1728         (vect_analyze_operations): Argument in call to vect_can_advance_ivs_p
1729         was changed from loop to loop_vinfo.
1730         (vect_analyze_data_ref_dependences): Third argument in call to
1731         vect_analyze_data_ref_dependence was changed from loop to loop_vinfo.
1732
1733         (vect_create_index_for_vector_ref): Get the loop from loop_vinfo.
1734         (vect_create_data_ref_ptr): Likewise.
1735         (vect_init_vector): Likewise.
1736         (vect_get_vec_def_for_operand): Likewise.
1737         (vectorizable_assignment): Likewise.
1738         (vectorizable_operation): Likewise.
1739         (vectorizable_store): Likewise.
1740         (vectorizable_load): Likewise.
1741         (vect_update_ivs_after_vectorizer): Likewise.
1742         (vect_is_simple_use): Likewise.
1743         (vect_analyze_data_ref_dependence): Likewise.
1744         (vect_analyze_pointer_ref_access): Likewise.
1745         (vect_can_advance_ivs_p): Likewise.
1746
1747         * tree-vectorizer.h: (_loop_vec_info): Definition and macros moved
1748         before _stmt_vec_info.
1749         (_stmt_vec_info): Loop field replaced by loop_vec_info.
1750         (STMT_VINFO_LOOP): Replaced with STMT_VINFO_LOOP_VINFO.
1751         (new_stmt_vec_info): Argument changed from loop structure to
1752         loop_vect_info structure
1753
1754         (vect_analyze_data_ref_dependences): Unnecessary line was removed.
1755         (vect_analyze_offset_expr): Avoid 80 columns overflow.
1756         (vect_create_addr_base_for_vector_ref): Likewise.
1757         (vect_analyze_pointer_ref_access): Likewise.
1758
1759 2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
1760
1761         PR tree-opt/19768
1762         * tree-ssa-dse.c (fix_phi_uses): Update the occurs in abnormal
1763         phi flag if the phi is abnormal.
1764
1765 2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
1766
1767         PR tree-opt/19736
1768         * tree-ssa.c (replace_immediate_uses): Update the immediate_uses
1769         information for the new statement.
1770
1771 2005-02-03  Joseph S. Myers  <joseph@codesourcery.com>
1772
1773         PR driver/19117
1774         * gcc.c (main): Include the target in -v output.
1775
1776 2005-02-03  Alexandre Oliva  <aoliva@redhat.com>
1777
1778         * combine.c (simplify_comparison, case SIGN_EXTEND, ZERO_EXTEND):
1779         Do not drop the extend if we'd have to add a paradoxical subreg
1780         later.  Include optabs.h and insn-codes.h.
1781         * Makefile.in (combine.o): Depend on $(OPTABS_H).
1782
1783 2005-02-02  Roger Sayle  <roger@eyesopen.com>
1784
1785         PR middle-end/19405
1786         * real.h (REAL_MODE_FORMAT_COMPOSITE_P): New macro.
1787         * fold-const.c (const_binop): Avoid constant folding floating
1788         point operations in modes that use composite representations.
1789         * simplify-rtx.c (simplify_binary_operation): Likewise.
1790
1791 2005-02-02  Geoffrey Keating  <geoffk@apple.com>
1792
1793         * config/rs6000/altivec.md (altivec_dst): Make the first operand
1794         a REG, not a MEM.
1795         (altivec_dstt): Likewise.
1796         (altivec_dstst): Likewise.
1797         (altivec_dststt): Likewise.
1798         * config/rs6000/rs6000.c (altivec_expand_dst_builtin): Adjust creation
1799         of first operand.
1800
1801 2005-02-03  Dorit Naishlos  <dorit@il.ibm.com>
1802
1803         * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Copy
1804         EXPR_LOCUS from orig_cond to the new cond_stmt.
1805         (vect_finish_stmt_generation): Copy EXPR_LOCUS from stmt to
1806         the new vec_stmt.
1807
1808 2005-02-03  Dorit Naishlos  <dorit@il.ibm.com>
1809
1810         * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Call
1811         standard_iv_increment_position. Remove call to bsi_next
1812         (no need to bump the iterator anymore).
1813         (vect_create_index_for_vector_ref): Call
1814         standard_iv_increment_position. Remove second function argument.
1815         (vect_finish_stmt_generation): Remove call to bsi_next
1816         (no need to bump the iterator anymore).
1817         (vect_create_data_ref_ptr): Remove second argument (bsi) in call
1818         to vect_create_index_for_vector_ref.
1819
1820 2005-02-03  Dorit Naishlos  <dorit@il.ibm.com>
1821
1822         * tree-vectorizer.c (vect_mark_stmts_to_be_vectorized): Check if
1823         phis are used out of the loop.
1824
1825 2005-02-03  Joseph S. Myers  <joseph@codesourcery.com>
1826
1827         PR c/17807
1828         * c-decl.c (undef_nested_function): New variable.
1829         (pop_scope): Diagnose undefined nested functions.
1830         (finish_function): Don't attempt cgraph processing or genericizing
1831         if current top-level function contained an undefined nested
1832         function.  Reset undef_nested_function at the end of a top-level
1833         function.
1834
1835 2005-02-02  Zdenek Dvorak  <dvorakz@suse.cz>
1836
1837         * tree.c (build_int_cst_type): Take sign of the value into account
1838         when deciding whether sign extend the value.
1839
1840 2005-02-02  Joseph S. Myers  <joseph@codesourcery.com>
1841
1842         PR c/18502
1843         * gcc.c (cpp_unique_options): Remove %{trigraphs}.
1844         (cpp_options, cc1_options): Change %{std*&ansi} to
1845         %{std*&ansi&trigraphs}.
1846
1847 2005-02-02  Kazu Hirata  <kazu@cs.umass.edu>
1848
1849         * cse.c: Update comments.
1850
1851 2005-02-02  Aldy Hernandez  <aldyh@redhat.com>
1852
1853         * config/rs6000/rs6000.c (rs6000_spe_function_arg): Multi-reg
1854         arguments go on the stack.  Do not put complex doubles in odd/even
1855         pairs.
1856
1857 2005-02-02  Steven Bosscher  <stevenb@suse.de>
1858
1859         * doc/invoke.texi: Update the options enabled at -O1, -O2,
1860         and -O3.  Update the documentation for -fgcse-sm, -fgcse-las,
1861         -ftree-pre, and -fthread-jumps.
1862
1863 2005-02-02  Richard Sandiford  <rsandifo@redhat.com>
1864
1865         PR tree-optimization/19578
1866         * tree-flow.h (modified_noreturn_calls): Declare.
1867         (noreturn_call_p): Declare.
1868         * tree-flow-inline.h (noreturn_call_p): New function.
1869         (modify_stmt): Add modified noreturn calls to modified_noreturn_calls.
1870         * tree-cfg.c (modified_noreturn_calls): New variable.
1871         (cleanup_control_flow): Use noreturn_call_p.  Split basic blocks
1872         that contain a mid-block noreturn call.
1873         * tree-ssa.c (delete_tree_ssa): Clear modified_noreturn_calls.
1874
1875 2005-02-02  Kazu Hirata  <kazu@cs.umass.edu>
1876
1877         * df.c (df_def_record_1, df_uses_record): Don't use
1878         DF_FOR_REGALLOC.
1879         * df.h (DF_FOR_REGALLOC): Remove.
1880
1881 2005-02-02  Joseph S. Myers  <joseph@codesourcery.com>
1882
1883         PR c/19435
1884         * c-typeck.c (really_start_incremental_init): Reset
1885         constructor_max_index for arrays of incomplete type.
1886
1887 2005-02-02  Jeff Law  <law@redhat.com>
1888
1889         * gcse.c (struct reg_set): Store the block index where the register
1890         was set rather than the setting insn.
1891         (record_one_set, compute_transp): Corresponding changes.
1892         (pre_insert_copy_insn): Do not call replace_one_set.
1893         (replace_one_set): Remove.
1894
1895 2005-02-02  Joseph S. Myers  <joseph@codesourcery.com>
1896
1897         PR other/15514
1898         * doc/gcov.texi: Fix typo.
1899
1900 2005-02-01  Richard Henderson  <rth@redhat.com
1901
1902         PR target/19680
1903         * config/i386/i386.h (MODES_TIEABLE_P): Use ix86_modes_tieable_p.
1904         * config/i386/i386.c (ix86_hard_regno_mode_ok): Change return
1905         type to bool.
1906         (ix86_tieable_integer_mode_p, ix86_modes_tieable_p): New.
1907         * config/i386/i386-protos.h: Update.
1908
1909 2005-02-01  Steven Bosscher  <stevenb@suse.de>
1910
1911         PR tree-optimization/19217
1912         * tree-cfg.c (verify_expr): Use the data field to see if TP was
1913         seen inside a PHI node.  Do not do the ADDR_EXPR check if it was.
1914         (verify_stmts): Pass (void*)1 as data to verify_expr to signal
1915         that it is walking a PHI node.
1916
1917 2005-02-01  Joseph S. Myers  <joseph@codesourcery.com>
1918
1919         * doc/extend.texi (Nested Functions): Update.
1920
1921 2005-02-01  Richard Henderson  <rth@redhat.com>
1922
1923         PR 19696
1924         * optabs.c (expand_copysign_absneg): Export.
1925         * optabs.h (expand_copysign_absneg): Declare.
1926         * config/rs6000/rs6000.md (copysigntf3): New.
1927
1928 2005-02-01  Diego Novillo  <dnovillo@redhat.com>
1929
1930         PR tree-optimization/19633
1931         * tree-flow.h (struct ptr_info_def): Add field 'pt_null'.
1932         * tree-ssa-alias.c (init_alias_info): Initialize.
1933         (merge_pointed_to_info): Set.
1934         (add_pointed_to_expr): Set pt_null if EXPR is a NULL pointer.
1935         (dump_points_to_info_for): Show value of pt_null.
1936         (struct count_ptr_d): Declare.
1937         (find_ptr_dereference): Remove.
1938         (ptr_is_dereferenced_by): Remove.
1939         (count_ptr_derefs): New local function.
1940         (count_uses_and_derefs): New local function.
1941         (compute_points_to_and_addr_escape): Call it.  If the number
1942         of dereferences is greater than zero, mark the pointer as
1943         dereferenced.  If there are fewer dereferences than uses of
1944         the pointer, the pointer's value escapes.
1945
1946 2005-02-01  Diego Novillo  <dnovillo@redhat.com>
1947
1948         PR tree-optimization/19670
1949         * tree-ssa.c (verify_ssa_name): Don't set TREE_VISITED
1950         here...
1951         (verify_use): ... set it here, instead.
1952
1953 2005-02-01  Janis Johnson  <janis187@us.ibm.com>
1954
1955         * doc/sourcebuild.texi (Test directives): Fix formatting.
1956
1957         * doc/sourcebuild.texi (Test directives): Describe selector
1958         expressions.
1959
1960 2005-02-01  Segher Boessenkool  <segher@kernel.crashing.org>
1961
1962         * config.gcc (powerpc64-*-linux*): Default to -m64 also for
1963         specific 64-bit CPUs.
1964
1965 2005-02-01  Richard Earnshaw  <rearnsha@arm.com>
1966
1967         PR target/16201
1968         * arm.c (arm_eliminable_register): New function.
1969         (adjacent_mem_locations): Don't allow eliminable registers.  Use
1970         HOST_WIDE_INT for address offsets.
1971         * arm-protos.h (arm_eliminable_register): Add prototype.
1972
1973 2005-02-01  Steven Bosscher  <stevenb@suse.de>
1974
1975         PR optimization/15242
1976         * params.def (PARAM_MAX_GOTO_DUPLICATION_INSNS): New param.
1977         * basic-block.h (duplicate_computed_gotos): Add prototype.
1978         * bb-reorder.c (duplicate_computed_gotos): New function to
1979         duplicate sufficiently small blocks ending in a computed jump.
1980         * passes.c (rest_of_compilation): Call duplicate_computed_gotos
1981         if not optimizing for size.
1982         * cfgcleanup.c (try_crossjump_bb): If not optimizing for size,
1983         never do tail merging for blocks ending in a computed jump.
1984         * doc/invoke.texi: Document the max-goto-duplication-insns param.
1985
1986 2005-02-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
1987
1988         Patch from Richard Sandiford <rsandifo@redhat.com>
1989         * reload1.c (choose_reload_regs): Prevent the find_equiv_reg() code
1990         from inheriting a subreg equivalence with a non-spill register.
1991
1992         * tree.h (DECL_FUNCTION_CODE): Document that it is overloaded.
1993
1994 2005-02-01  Alexandre Oliva  <aoliva@redhat.com>
1995
1996         * config/frv/frv.c (movcc_fp_destination_operand): New.
1997         (gpr_or_memory_operand): Fix typo in comment.
1998         (gpr_or_memory_operand_with_scratch): New.
1999         * config/frv/frv.h (PREDICATE_CODES): Add the two new predicates.
2000         * config/frv/frv.md (movcc_fp, movcc_fp_internal): Use
2001         movcc_fp_destination_operand.
2002         (reload_incc_fp): Use gpr_or_memory_operand_with_scratch.
2003         Legitimize memory addresses using a scratch register.
2004
2005 2005-01-31  Jeff Law  <law@redhat.com>
2006
2007         * tree-into-ssa.c (mark_def_sites_global_data): Make KILLS
2008         bitmap a sparse bitmap instead of a simple bitmap.
2009         (mark_def_sites_initialize_block):  Corresponding changes.
2010         (ssa_mark_def_sites_initialize_block): Likewise.
2011         (ssa_mark_phi_uses): Likewise.
2012         (mark_def_site, ssa_mark_def_sites): Likewise.
2013         (mark_def_site_blocks): Likewise.
2014         (rewrite_ssa_into_ssa): Likewise.
2015
2016         * tree-ssa-dom.c (record_cond): Pass correct variable type
2017         for last argument to htab_find_slot_with_hash.
2018
2019         * fold-const.c (fold, case CEIL_MOD_EXPR): Do not lose side
2020         effects when optimizing 0 % X.  Do not try to optimize X % 0.
2021
2022 2005-01-31  James E. Wilson  <wilson@specifixinc.com>
2023
2024         * config/ia64/itanium1.md (1_scall bypass): Change 2_mmalua to
2025         1_mmalua.
2026
2027 2005-02-01  Eric Christopher  <echristo@redhat.com>
2028
2029         * config/mips/mips.c (override_options): Warn if -mint64
2030         is used.
2031         * doc/invoke.texi (MIPS Options): Document that -mint64 is
2032         deprecated.
2033
2034 2005-02-01  Kazu Hirata  <kazu@cs.umass.edu>
2035
2036         * cse.c (cse_reg_info): Remove hash_next, next, regno.  Add
2037         timestamp.
2038         (cse_reg_info_list, cse_reg_info_list_free, REGHASH_SHIFT,
2039         REGHASH_SIZE, REGHASH_MASK, reg_hash, REGHASH_FN,
2040         cached_cse_reg_info, GET_CSE_REG_INFO): Remove.
2041         (cached_regno): Initialize to INVALID_REGNUM.
2042         (cse_reg_info_table_size,
2043         cse_reg_info_table_first_uninitialized,
2044         cse_reg_info_timestamp): New.
2045         (REG_TICK, REG_IN_TABLE, SUBREG_TICKED, REG_QTY): Use
2046         get_cse_reg_info.
2047         (init_cse_reg_info, get_cse_reg_info_1): New.
2048         (get_cse_reg_info): Cache the last look-up.
2049         (new_basic_block): Update the code to clear mappings from
2050         registers to cse_reg_info entries.
2051         (cse_main): Call init_cse_reg_info.
2052
2053         * cse.c (get_cse_reg_info): Update a comment.
2054
2055 2005-01-31  Steven Bosscher  <stevenb@suse.de>
2056
2057         PR c/19333
2058         * c-decl.c (start_decl): Do not warn about arrays of elements with
2059         an incomplete type here.
2060         (grokdeclarator): Do it here by making a pedwarn an error.
2061         * c-typeck.c (push_init_level): If there were previous errors with
2062         the constructor type, do not warn about braces for initializers.
2063         (process_init_element): Likewise for excess initializer elements.
2064
2065 2005-01-31  Kazu Hirata  <kazu@cs.umass.edu>
2066
2067         * cse.c (delete_trivially_dead_insn): Don't iterate.
2068
2069 2005-01-31  Andrew Pinski  <pinskia@physics.uc.edu>
2070
2071         * config/rs6000/rs6000.md (copysignsf3): New expand.
2072         (copysigndf3): Likewise.
2073
2074 2005-01-31  Steven Bosscher  <stevenb@suse.de>
2075
2076         * recog.c (constrain_operands): Only look for earlyclobber operand
2077         conflicts if an '&' constraint was seen.
2078
2079 2005-01-31  Marc Espie <espie@openbsd.org>
2080
2081         * config.gcc: Don't include embedded systems fragment, switches default
2082         debugging format to ELF.
2083         * config/i386/openbsdelf.h: Add DBX_REGISTER_NUMBER since we no
2084         longer pick it up there.
2085
2086 2005-01-31  Dale Johannesen  <dalej@apple.com>
2087
2088         * doc/extend.texi (nested functions): Fix linkage description.
2089         Clarify that static is not allowed.
2090
2091 2005-01-31  Dale Johannesen  <dalej@apple.com>
2092
2093         * config/rs6000/darwin.md (movsf_low_di):  Make work.
2094         (movdf_low_di):  Make work.
2095
2096 2005-01-31  Dale Johannesen  <dalej@apple.com>
2097
2098         * config/rs6000/darwin-tramp.asm (__trampoline_setup):
2099         Make work for 64 bit.
2100
2101 2005-01-31  Roger Sayle  <roger@eyesopen.com>
2102             Dale Johannesen  <dalej@apple.com>
2103
2104         PR middle-end/19650
2105         * fold-const.c (fold_binary_op_with_conditional_arg):
2106         Make types match original operands, before STRIP_NOPS.
2107
2108 2005-01-31  Alan Modra  <amodra@bigpond.net.au>
2109
2110         * config/rs6000/linux-unwind.h (struct gcc_vregs): New.
2111         (struct gcc_regs): Rename from gcc_pt_regs.  Add more regs.
2112         (struct gcc_sigcontext): Delete.  Merge contents to..
2113         (struct gcc_ucontext): ..here.
2114         (get_sigcontext): Delete.
2115         (get_regs): New function, like get_sigcontext but return regs ptr.
2116         64-bit version finds regs from r1 to support vdso.
2117         (ppc_linux_aux_vector): New function.
2118         (ppc_fallback_frame_state): Modify for get_regs.  Restore fprs
2119         and vector regs.
2120
2121 2005-01-31  Ira Rosen  <irar@il.ibm.com>
2122
2123         * tree-vectorizer.c (vect_analyze_offset_expr): Use ssizetype instead
2124         sizetype.
2125         (vect_get_base_and_offset): Use ssizetype instead sizetype. Remove
2126         redundant fold. Fix misalignment for MINUS_EXPR.
2127         (vect_compute_data_ref_alignment): Use ssizetype instead sizetype.
2128         (vect_analyze_pointer_ref_access): Likewise.
2129         (vect_get_memtag_and_dr): Likewise.
2130
2131 2005-01-31  Richard Henderson  <rth@redhat.com>
2132
2133         * config/i386/i386.c (absnegsf2_mixed): Remove all of the # hackery.
2134         (absnegsf2_sse, absnegsf2_i387, absnegdf2_mixed, absnegdf2_sse,
2135         absnegdf2_i387, absnegxf2_i387): Likewise.
2136
2137 2005-01-31  Richard Henderson  <rth@redhat.com>
2138
2139         PR 19696
2140         * optabs.c (expand_copysign_absneg): New.
2141         (expand_copysign_bit): Split out from ...
2142         (expand_copysign): ... here.  Use expand_copysign_absneg.
2143
2144 2005-01-30  Roger Sayle  <roger@eyesopen.com>
2145
2146         PR middle-end/19697
2147         * config/pa/pa.md (anddi3, iordi3): On HPPA64, disallow an integer
2148         constant as the second operand and a register as the third.
2149
2150 2005-01-31  Danny Smith  <dannysmith@users.sourceforge.net>
2151
2152         PR target/19704
2153         * config/i386/i386.c (ix86_function_ok_for_sibcall):  Also check
2154         that dllimport'd functions do not use all call-clobbered registers
2155         to pass parameters.
2156
2157 2005-01-30  Richard Henderson  <rth@redhat.com>
2158
2159         PR 19696
2160         * optabs.c (expand_absneg_bit): Split out from expand_unop and
2161         expand_abs_nojump and generalize.  Use operand_subword and
2162         emit_no_conflict_block.  Support large modes.
2163         (expand_abs_nojump): Use it.  Use HONOR_SIGNED_ZEROS to fall
2164         back to maximum.
2165         (expand_unop): Likewise.  Use HONOR_SIGNED_ZEROS to fall back
2166         negation to subtraction.
2167         (expand_copysign): Check that the format has signed zeros.
2168         Use operand_subword and emit_no_conflict_block.  Support large modes.
2169
2170 2005-01-30  Daniel Berlin  <dberlin@dberlin.org>
2171
2172         Fix PR tree-optimization/19624
2173
2174         * Makefile.in (tree-ssa-pre.o): Add CFGLOOP_H.
2175         * tree-ssa-pre.c: Add cfgloop.h.
2176         Update comment.
2177         (pre_stats): New member, constified.
2178         (inserted_exprs): New static variable.
2179         (NECESSARY): New macro.
2180         (create_expression_by_pieces): Fold the expression, and
2181         mark it as defaulting to not necessary. Also put in
2182         inserted_exprs.
2183         (fully_constant_expression): New function.
2184         (insert_into_preds_of_block): Modify to not insert phis when we
2185         are playing with induction variables.
2186         Push phis onto the inserted_exprs vector, and mark them as not
2187         necessary by default.
2188         (insert_aux): Call fully_constant_expression on eprime.
2189         If all edges produce the same value, mark it constant.
2190         (mark_operand_necessary): New function.
2191         (remove_dead_inserted_code): New function.
2192         (init_pre): Init loop optimizer to get loop info.
2193         (fini_pre): Free loop_optimizer, and inserted_exprs vec.
2194         (execute_pre): Commit edge inserts, then remove dead code.
2195
2196 2005-01-30  Richard Henderson  <rth@redhat.com>
2197
2198         * rtl.c (rtx_equal_p): No early exit for CONST_VECTOR.
2199         * varasm.c (const_rtx_hash_1): Handle CONST_VECTOR.
2200
2201 2005-01-30  Richard Henderson  <rth@redhat.com>
2202
2203         PR target/19700
2204         * config/i386/i386.c (ix86_expand_copysign): New.
2205         (ix86_split_copysign_const): New.
2206         (ix86_split_copysign_var): Rename from ix86_split_copysign,
2207         rearrange op1/nmask operands.
2208         * config/i386/i386-protos.h: Update.
2209         * config/i386/i386.md (copysignsf3): Use ix86_expand_copysign.
2210         (copysigndf3): Likewise.
2211         (copysignsf3_const, copysigndf3_const): New.
2212         (copysignsf3_var): Rename from copysignsf3, split out splitter
2213         and fix split predicate for X constraint.
2214         (copysigndf3_var): Similarly.
2215
2216 2005-01-30  Kazu Hirata  <kazu@cs.umass.edu>
2217
2218         * optabs.c, doc/c-tree.texi, doc/install.texi, doc/md.texi,
2219         doc/passes.texi, doc/rtl.texi, doc/sourcebuild.texi,
2220         doc/tm.texi, doc/tree-ssa.texi: Update copyright.
2221
2222 2005-01-29  Richard Henderson  <rth@redhat.com>
2223
2224         PR target/19690
2225         * config/i386/i386.md (movdf_nointeger, movdf_integer): Fix ordering
2226         of # and * in constraints.
2227
2228 2005-01-29  Richard Henderson  <rth@redhat.com>
2229
2230         PR middle-end/19689
2231         * expr.c (store_field): Don't strip sub-mode cast when the input
2232         data is even smaller.
2233
2234 2005-01-29  Richard Henderson  <rth@redhat.com>
2235
2236         PR middle-end/19687
2237         * expr.c (categorize_ctor_elements_1): Check for CONSTRUCTOR of a
2238         union being empty.
2239
2240 2005-01-29  Richard Henderson  <rth@redhat.com>
2241
2242         * combine.c (make_field_assignment): Fix argument order
2243         to gen_int_mode.
2244
2245 2005-01-29  Richard Guenther <richard.guenther@uni-tuebingen.de>
2246
2247         PR tree-optimization/15791
2248         * fold-const.c (extract_array_ref): New function.
2249         (fold): Fold comparisons between &a[i] and &a[j] or
2250         semantically equivalent trees.
2251
2252 2005-01-29  Jeff Law  <law@redhat.com>
2253
2254         * gcse.c (insert_expr_in_table): Revamp handling of available
2255         and anticipatable occurrence lists to avoid unnecessary list
2256         walking.
2257         (insert_set_in_table): Similarly.
2258
2259 2005-01-29  Joseph S. Myers  <joseph@codesourcery.com>
2260
2261         * c-common.c (fix_string_type): Just use c_build_qualified_type to
2262         build string type.
2263         (c_build_qualified_type): Build qualified array types with
2264         TYPE_MAIN_VARIANT pointing to corresponding unqualified type.
2265         * c-decl.c (c_make_fname_decl): Build unqualified array type
2266         before qualified type.
2267         (grokdeclarator): Use TYPE_MAIN_VARIANT of typedef type if element
2268         type is qualified, not just if type itself is.  Don't apply
2269         qualifiers to array type when declarator is processed.  Apply
2270         qualifiers to field type whether or not it is an array type.
2271         Don't handle array types specially for applying qualifiers to
2272         variables.
2273         * c-typeck.c (composite_type): Build unqualified element type and
2274         array type when forming composite of array types.
2275         (common_pointer_type, comptypes, comp_target_types,
2276         type_lists_compatible_p, build_indirect_ref, build_array_ref,
2277         convert_for_assignment): Don't apply TYPE_MAIN_VARIANT to array
2278         types.
2279         (type_lists_compatible_p): Cache TREE_VALUE (args1) and TREE_VALUE
2280         (args2) in variables a1 and a2.
2281
2282 2005-01-29  Kazu Hirata  <kazu@cs.umass.edu>
2283
2284         * cse.c (n_elements_made, max_elements_made): Remove.
2285         (insert): Don't touch n_elements_made.
2286         (cse_main): Don't touch n_elements_made or max_elements_made.
2287
2288 2005-01-28  Stephane Carrez  <stcarrez@nerim.fr>
2289
2290         PR target/15384
2291         * config/m68hc11/t-m68hc11-gas (dp-bit.c): Fix typo causing a
2292         configuration part of dp-bit.c to be lost.
2293
2294 2005-01-28  Roger Sayle  <roger@eyesopen.com>
2295
2296         * expmed.c (expand_mult_highpart_optab): When attempting to use
2297         a non-widening multiplication in a wider mode, the operands need
2298         to be converted (zero or sign extended) to that mode.
2299
2300 2005-01-28  Ian Lance Taylor  <ian@airs.com>
2301
2302         PR middle-end/16558
2303         PR middle-end/19583
2304         * gimple-low.c (block_may_fallthru): TRY_FINALLY_EXPR only falls
2305         through if both operands fall through.
2306
2307 2005-01-28  Kazu Hirata  <kazu@cs.umass.edu>
2308
2309         * cse.c (fold_rtx) <PC>: Don't optimize.
2310
2311 2005-01-28  Jeff Law  <law@redhat.com>
2312
2313         * fold-const.c (fold, case CEIL_MOD_EXPR): Optimize 0 % X.
2314         (case FLOOR_MOD_EXPR, ROUND_MOD_EXPR, TRUNC_MOD_EXPR): Similarly.
2315
2316 2005-01-28  Kazu Hirata  <kazu@cs.umass.edu>
2317
2318         * cse.c (cse_reg_info_free_list, cse_reg_info_used_list,
2319         cse_reg_info_used_list_end): Remove.
2320         (cse_reg_info_list, cse_reg_info_list_free): New.
2321         (get_cse_reg_info): When allocating an instance of
2322         cse_reg_info, add it to the beginning of the cse_reg_info_list
2323         list.  Remove code to maintain cse_reg_info_used_list.
2324         (new_basic_block): Reset the free list to the beginning of
2325         cse_reg_info_list.
2326
2327 2005-01-28  Richard Sandiford  <rsandifo@redhat.com>
2328
2329         * config/frv/frv.c (bdesc_2arg): Remove __MDPACKH.
2330         (frv_init_builtins): Change its prototype to take 4 uhalf arguments.
2331         (frv_expand_mdpackh_builtin): New function.
2332         (frv_expand_builtin): Use it to expand __MDPACKH.
2333         * doc/extend.texi (__MDPACKH): Update documentation.
2334
2335 2005-01-28  Uros Bizjak  <uros@kss-loka.si>
2336
2337         * config/i386/i386.c (ix86_expand_fp_absneg_operator): Use
2338         SSE_FLOAT_MODE_P for use_sse computation.
2339
2340 2005-01-28  Ralf Corsepius  <ralf.corsepius@rtems.org>
2341
2342         PR target/19663
2343         * config/sparc/rtemself.h (LINK_GCC_C_SEQUENCE_SPEC): undefine.
2344
2345 2005-01-27  Richard Henderson  <rth@redhat.com>
2346
2347         * builtins.c (expand_builtin_copysign): New.
2348         (expand_builtin): Call it.
2349         * genopinit.c (optabs): Add copysign_optab.
2350         * optabs.c (init_optabs): Initialize it.
2351         (expand_copysign): New.
2352         * optabs.h (OTI_copysign, copysign_optab): New.
2353         (expand_copysign): Declare.
2354
2355         * config/alpha/alpha.md (UNSPEC_COPYSIGN): New.
2356         (copysignsf3, ncopysignsf3, copysigndf3, ncopysigndf3): New.
2357
2358         * config/i386/i386.c (ix86_build_signbit_mask): Split from ...
2359         (ix86_expand_fp_absneg_operator): ... here.
2360         (ix86_split_copysign): New.
2361         * config/i386/i386-protos.h: Update.
2362         * config/i386/i386.md (UNSPEC_COPYSIGN): New.
2363         (copysignsf3, copysigndf3): New.
2364
2365         * config/ia64/ia64.md (UNSPEC_COPYSIGN): New.
2366         (copysignsf3, ncopysignsf3): New.
2367         (copysigndf3, ncopysigndf3): New.
2368         (copysignxf3, ncopysignxf3): New.
2369         * config/ia64/ia64.c (rtx_needs_barrier): Handle UNSPEC_COPYSIGN.
2370
2371 2005-01-27  Arend Bayer  <arend.bayer@web.de>
2372             Kazu Hirata  <kazu@cs.umass.edu>
2373
2374         * cse.c: (find_best_addr): Don't call copy_rtx before calling
2375         fold_rtx.  Save cost recomputation if fold_rtx did nothing.
2376         (fold_rtx) <ASM_OPERANDS>: Don't do anything if INSN is
2377         NULL_RTX.
2378
2379 2005-01-27  Jeff Law  <law@redhat.com>
2380
2381         * tree-into-ssa.c (ssa_rewrite_initialize_block): Do not register
2382         definitions of SSA_NAMEs which are not being rewritten.
2383         (rewrite_ssa_into_ssa): Only initialize the current definition
2384         of an SSA_NAME if that SSA_NAME has been marked for rewriting.
2385         If checking is enabled, assert that SSA_NAME_AUX is clear for all
2386         SSA_NAMEs before returning.
2387
2388 2005-01-27  Kazu Hirata  <kazu@cs.umass.edu>
2389
2390         * c-common.def, c-dump.c, c-gimplify.c, c-objc-common.c,
2391         cfgexpand.c, dbxout.c, function.h, opts.c, tree-flow-inline.h,
2392         tree-ssa-operands.h, tree-ssa-threadupdate.c, tree-tailcall.c,
2393         config/avr/avr.md, config/cris/aout.h, config/cris/cris.h,
2394         config/mips/iris6.h, config/sh/sh.c: Update copyright.
2395
2396 2005-01-27  Steven Bosscher  <stevenb@suse.de>
2397
2398         PR middle-end/17278
2399         * opts.c (decode_options): Move flag_thread_jumps from -O1 and
2400         higher to -O2 and higher.  Likewise for tree PRE.
2401         * tree-ssa-dom.c (tree_ssa_dominator_optimize): Only iterate at -O2
2402         and better.
2403
2404 2005-01-27  Ian Lance Taylor  <ian@airs.com>
2405
2406         PR middle-end/19583
2407         * gimple-low.c (try_catch_may_fallthru): New static function.
2408         (block_may_fallthru): Handle TRY_CATCH_EXPR.
2409         * tree-inline.c (expand_call_inline): Don't warn about reaching
2410         the end of a non-void function being inlined if the function uses
2411         a return slot.
2412
2413 2005-01-27  Jakub Jelinek  <jakub@redhat.com>
2414
2415         * config/i386/i386.h (CALL_USED_REGISTERS): Fix comment pastos.
2416
2417         PR c/18946
2418         * c-decl.c (warn_if_shadowing): Handle old_decl error_mark_node.
2419         (pushdecl): Only use DECL_FILE_SCOPE_P if DECL_P.
2420         (implicitly_declare): Handle error_mark_node.
2421
2422 2005-01-27  Richard Henderson  <rth@redhat.com>
2423
2424         PR tree-opt/14329
2425         * tree.h (struct tree_decl): Add debug_expr_is_from.
2426         (DECL_DEBUG_EXPR_IS_FROM): New.
2427         (DECL_DEBUG_EXPR): Rename from DECL_DEBUG_ALIAS_OF.
2428         * dwarf2out.c (dwarf2out_var_location): Update to match.
2429         * tree-outof-ssa.c (create_temp): Likewise.
2430         * var-tracking.c (track_expr_p): Likewise.
2431         * tree-sra.c (instantiate_element): Set DECL_DEBUG_EXPR.
2432         * c-objc-common.c (c_tree_printer) <'D'>: Handle DECL_DEBUG_EXPR.
2433         * toplev.c (default_tree_printer): Likewise.
2434
2435 2005-01-27  Alexandre Oliva  <aoliva@redhat.com>
2436
2437         * config/frv/frv.c (frv_class_likely_spilled_p): Add GR8_REGS,
2438         GR9_REGS, GR89_REGS, FDPIC_FPTR_REGS, FDPIC_REGS.
2439
2440 2005-01-27  Steven Bosscher  <stevenb@suse.de>
2441
2442         * tree.h (SWITCH_COND, SWITCH_BODY, SWITCH_LABELS, CASE_LOW,
2443         CASE_HIGH, CASE_LABEL, ASM_STRING, ASM_OUTPUTS, ASM_INPUTS,
2444         ASM_CLOBBERS): Add tree checks.
2445
2446         * c-common.h (SWITCH_TYPE): Rename to SWITCH_STMT_TYPE.
2447         (SWITCH_STMT_COND, SWITCH_STMT_BODY): New.
2448         * c-common.def (SWITCH_STMT): Update to match.
2449         * c-common.c (c_do_switch_warnings): Use SWITCH_STMT accessor
2450         macros instead of SWITCH_EXPR ones.
2451         * c-dump.c (c_dump_tree): Likewise.
2452         * c-gimplify.c (gimplify_switch_stmt): Likewise.
2453         * c-typeck.c (c_start_case, do_case, c_finish_case): Likewise.
2454
2455         * doc/c-tree.texi (SWITCH_STMT): Update accessor macro names.
2456
2457 2005-01-27  Alan Modra  <amodra@bigpond.net.au>
2458
2459         * unwind-dw2.c (execute_stack_op): Add missing cases for
2460         DW_OP_shl, DW_OP_shr, DW_OP_shra, DW_OP_xor.
2461
2462 2005-01-27  Eric Botcazou  <ebotcazou@libertysurf.fr>
2463
2464         * config.gcc (Obsolete configurations): Remove 'dummy', add
2465         sparclite-*-coff*, sparclite-*-elf*, sparc86x-*-elf* and
2466         sparc-*-openbsd*.
2467
2468 2005-01-26  Diego Novillo  <dnovillo@redhat.com>
2469
2470         PR tree-optimization/19633
2471         * tree-ssa-alias.c (ptr_is_dereferenced_by): Also handle
2472         CALL_EXPRs.
2473         (maybe_create_global_var): Do not create .GLOBAL_VAR if there
2474         are no call-clobbered variables.
2475         * tree-outof-ssa.c (check_replaceable): Return false for calls
2476         with side-effects.
2477
2478 2005-01-26  Ulrich Weigand  <uweigand@de.ibm.com>
2479
2480         * dbxout.c (dbxout_symbol_location): Resolve constant pool references
2481         even for variables with NULL DECL_INITIAL.
2482
2483 2005-01-26  Stuart Hastings  <stuart@apple.com>
2484
2485         * gimplify.c (shortcut_cond_expr): Re-compute side-effects.
2486
2487 2005-01-26  Richard Henderson  <rth@redhat.com>
2488
2489         PR middle-end/18008
2490         * c-decl.c (finish_struct): Set DECL_MODE after resetting a
2491         field's type.
2492         * expr.c (store_field): Strip conversions to odd-bit-sized types
2493         if the destination field width matches.
2494
2495 2005-01-26  Richard Henderson  <rth@redhat.com>
2496
2497         * c-decl.c, expmed.c, expr.c: Revert last change.
2498
2499 2005-01-26  Richard Henderson  <rth@redhat.com>
2500
2501         PR middle-end/18008
2502         * c-decl.c (finish_struct): Set DECL_MODE after resetting a
2503         field's type.
2504         * expmed.c (store_fixed_bit_field): Create a paradoxical subreg
2505         if we don't need the bits above those present in the current mode.
2506         * expr.c (store_field): Strip conversions to odd-bit-sized types
2507         if the destination field width matches.
2508
2509 2005-01-26  Richard Sandiford  <rsandifo@redhat.com>
2510
2511         * config/mips/iris6.h (ENDFILE_SPEC): Don't link in irix-csr.o if
2512         either -ffast-math or -funsafe-math-optimizations is in use.
2513
2514 2005-01-26  Marek Michalkiewicz  <marekm@amelek.gda.pl>
2515
2516         PR target/19293
2517         PR target/19329
2518         * config/avr/avr.c (notice_update_cc): Only set condition code for
2519         ashrqi3 if shift count > 0.
2520         (out_shift_with_cnt): Handle shift count <= 0 as a no-op.
2521         (ashlqi3_out, ashlhi3_out, ashlsi3_out, ashrqi3_out, ashrhi3_out,
2522         ashrsi3_out, lshrqi3_out, lshrhi3_out, lshrsi3_out): Handle shift
2523         count <= 0 as a no-op, and shift count >= width by copying zero
2524         or sign bit to all bits of the result.
2525         * config/avr/avr.md (all shifts): Add alternatives for zero shift
2526         count, with attribute "length" set to 0 and "cc" set to "none".
2527
2528 2005-01-26  Aldy Hernandez  <aldyh@redhat.com>
2529
2530         * doc/invoke.texi: Document -mTLS.
2531
2532         * testsuite/gcc.target/frv/all-tls-global-dynamic.c: New.
2533         * testsuite/gcc.target/frv/all-tls-initial-exec.c: New.
2534         * testsuite/gcc.target/frv/all-tls-initial-exec-pic.c: New.
2535         * testsuite/gcc.target/frv/all-tls-local-dynamic.c: New.
2536         * testsuite/gcc.target/frv/all-tls-local-dynamic-plt.c: New.
2537         * testsuite/gcc.target/frv/all-tls-local-dynamic-plt-pic.c: New.
2538         * testsuite/gcc.target/frv/all-tls-local-exec.c: New.
2539         * testsuite/gcc.target/frv/all-tls-local-exec-TLS.c: New.
2540
2541         * configure.ac: Check for a TLS capable gas.
2542
2543         * configure: Regenerate.
2544
2545 2005-01-26  Richard Henderson  <rth@redhat.com>
2546
2547         PR middle-end/18008
2548         * combine.c (make_field_assignment): Simplify store to zero_extract
2549         from a source with an overlapping mask.
2550
2551 2005-01-26  Aldy Hernandez  <aldyh@redhat.com>
2552
2553         2004-11-11  Eric Christopher  <echristo@redhat.com>
2554
2555         * config/frv/frv.md: Add fr400_integer automaton. Don't
2556         allow TYPE_MUL, TYPE_MACC, or TYPE_CUT to issue in parallel
2557         to TYPE_MACC.
2558
2559 2005-01-26  Steven Bosscher  <stevenb@suse.de>
2560
2561         PR middle-end/16585
2562         * cfgbuild.c (make_edges): Do not clear or set
2563         current_function_has_computed_jump.
2564         * function.h (struct function): Remove the has_computed_jump field.
2565         (current_function_has_computed_jump): Do not define.
2566         * sched-rgn.c (is_cfg_nonregular): Return true if a basic block ends
2567         in a computed jump.  Ignore current_function_has_computed_jump.
2568
2569 2005-01-26  Richard Henderson  <rth@redhat.com>
2570
2571         PR middle-end/19515
2572         * expr.c (categorize_ctor_elements): New argument p_must_clear.
2573         (categorize_ctor_elements_1): Likewise.  Detect a union that isn't
2574         fully initialized.
2575         (mostly_zeros_p): Update for new categorize_ctor_elements argument.
2576         * gimplify.c (gimplify_init_constructor): Likewise.  Only shove
2577         objects into static storage if they have more than one non-zero value.
2578         * tree.h (categorize_ctor_elements): Update decl.
2579
2580 2005-01-26  Steven Bosscher  <stevenb@suse.de>
2581
2582         PR middle-end/19616
2583         * tree.h (CALL_EXPR_TAILCALL): Add comment.
2584         * calls.c (check_sibcall_argument_overlap_1): Revert the change
2585         to this function from 2004-07-10.
2586         * tree-tailcall.c (suitable_for_tail_opt_p): Do not consider the
2587         the current function for tail call optimizations if the address
2588         of one of it its arguments is taken.
2589
2590 2005-01-26  Kazu Hirata  <kazu@cs.umass.edu>
2591
2592         * cse.c (fold_rtx): Call equiv_constant only when necessary.
2593
2594 2005-01-26  Bernd Schmidt  <bernd.schmidt@analog.com>
2595
2596         * function.c (expand_function_end): If current_function_calls_alloca,
2597         emit stack restore in a place that is reached when the function falls
2598         through at the end.
2599
2600 2005-01-26  Alexandre Oliva  <aoliva@redhat.com>
2601
2602         * Makefile.in (../$(build_subdir)/fixincludes/fixincl): Add dummy
2603         rule to avoid matching inappropriate suffix rule.
2604
2605 2005-01-26  Jan Hubicka  <jh@suse.cz>
2606
2607         PR tree-optimization/19241
2608         * tree-inline.c (copy_body_r): Do not walk subtrees after substituting.
2609
2610 2005-01-26  Hans-Peter Nilsson  <hp@axis.com>
2611
2612         * config/cris/cris.h (LIB_SPEC) <sim*>: Use -lsyslinux, not
2613         -lsyssim.  Wrap -lc -lsyssim in --start-group --end-group instead
2614         of doubling.
2615         (STARTFILE_SPEC): Add crti.o, before crtbegin.o.
2616         <sim*>: Always use crt1.o, regardless of N in simN.
2617         <!sim>: Drop support for -pg and -p variants; always use crt0.o.
2618         (ENDFILE_SPEC): Add crtn.o, after crtend.o.
2619         (CRT_CALL_STATIC_FUNCTION): Remove.
2620         * config/cris/aout.h (STARTFILE_SPEC): <!melinux && sim*>: Always
2621         use crt1.o, regardless of N in simN.
2622         <!sim>: Drop support for -pg and -p variants; always use crt0.o.
2623         (LIB_SPEC): Do not define; default to the one in config/cris/cris.h.
2624         (CRIS_CPP_SUBTARGET_SPEC) <melinux && !nostdinc>: Remove special
2625         case isystem setting.
2626         (MAX_OFILE_ALIGNMENT): Correct to 32, not 16.
2627
2628 2005-01-25  Ian Lance Taylor  <ian@airs.com>
2629
2630         * gimple-low.c (block_may_fallthru): Correct handling of
2631         SWITCH_EXPR--may fall through if SWITCH_LABELS is NULL.
2632
2633 2005-01-26  Hans-Peter Nilsson  <hp@axis.com>
2634
2635         * config/cris/cris.h (CPP_SPEC): Adjust the various mtune=
2636         handlers to match indentation; nested under the mtune=* handler.
2637         Similar for mcpu= and march=.
2638
2639 2005-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
2640
2641         * config/mips/linux.h (LIB_SPEC): Remove -rpath-link.
2642         * config/mips/linux64.h (LIB_SPEC): Likewise.
2643         * config/mn10300/linux.h (LIB_SPEC): Likewise.
2644         * config/sh/linux.h (LIB_SPEC): Likewise.
2645
2646 2005-01-25  Aldy Hernandez  <aldyh@redhat.com>
2647
2648         * config/frv/frv.c (frv_legitimize_tls_address): New.
2649         (TARGET_HAVE_TLS): Define.
2650         (FRV_SYMBOL_REF_TLS_P): Define.
2651         (frv_override_options): Handle new register classes.
2652         (frv_legitimate_address_p): Reject tls addresses.
2653         (frv_legitimize_address): Handle TLS addresses.
2654         (gen_inlined_tls_plt): New.
2655         (gen_tlsmoff): New.
2656         (frv_legitimize_tls_address): New.
2657         (unspec_got_name): Add TLS entries.
2658         (got12_operand): Add R_FRV_TLSMOFF12 case.
2659         (frv_emit_move): Fixup TLS addresses.
2660         (frv_emit_movsi): Legitimize TLS addresses.
2661
2662         * config/frv/frv.h (MASK_BIG_TLS): New.
2663         (TARGET_BIG_TLS): New.
2664         (HAVE_AS_TLS): Define.
2665         (TARGET_SWITCHES): Add -mTLS and -mtls options.
2666         (enum reg_class): Add GR8_REGS, GR9_REGS, GR89_REGS.
2667         (REG_CLASS_NAMES): Same.
2668         (REG_CLASS_CONTENTS): Same.
2669         (CONSTRAINT_LEN): New.
2670         (REG_CLASS_FROM_CONSTRAINT): New.
2671         (PREDICATE_CODES): Add symbolic_operand.
2672
2673         * config/frv/frv.md (define_constants): Add UNSPEC_GETTLSOFF,
2674         UNSPEC_TLS_LOAD_GOTTLSOFF12, UNSPEC_TLS_INDIRECT_CALL,
2675         UNSPEC_TLS_TLSDESC_LDD, UNSPEC_TLS_TLSDESC_LDD_AUX,
2676         UNSPEC_TLS_TLSOFF_LD, UNSPEC_TLS_LDDI, UNSPEC_TLSOFF_HILO,
2677         R_FRV_GOTTLSOFF_HI, R_FRV_GOTTLSOFF_LO, R_FRV_TLSMOFFHI,
2678         R_FRV_TLSMOFFLO, R_FRV_TLSMOFF12, R_FRV_TLSDESCHI,
2679         R_FRV_TLSDESCLO, R_FRV_GOTTLSDESCHI, R_FRV_GOTTLSDESCLO, GR8_REG,
2680         GR9_REG, GR14_REG, LRREG.
2681         (type): Add load_or_call attribute.
2682         ("load_or_call"): New reservation.
2683         ("call_gettlsoff"): New.
2684         ("tls_indirect_call"): New.
2685         ("tls_load_gottlsoff12"): New.
2686         ("tlsoff_hilo"): New.
2687         ("tls_tlsdesc_ldd"): New.
2688         ("tls_tlsoff_ld"): New.
2689         ("tls_lddi"): New.
2690
2691         * config/frv/frv-protos.h (symbolic_operand): Protoize.
2692
2693         2005-01-25  Alexandre Oliva  <aoliva@redhat.com>
2694
2695         * config/frv/frv.h (ASM_OUTPUT_DWARF_DTPREL): Define.
2696         * config/frv/frv-protos.h (frv_output_dwarf_dtprel): Declare.
2697         * config/frv/frv.c (TLS_BIAS): Define.
2698         (frv_output_dwarf_dtprel): New.
2699
2700 2005-01-26  Jakub Jelinek  <jakub@redhat.com>
2701
2702         PR rtl-optimization/19579
2703         * ifcvt.c (noce_try_cmove_arith): If emitting instructions to set up
2704         both A and B, see if they don't clobber registers the other expr uses.
2705
2706 2005-01-25  J"orn Rennecke <joern.rennecke@st.com>
2707
2708         * real.c (do_add): Initialize signalling and canonical members.
2709
2710         * real.c (real_from_integer): Zero out destination.
2711
2712 2005-01-18  Jan Hubicka  <jh@suse.cz>
2713
2714         PR tree-optimize/19337
2715         * tree-inline.c (initialize_inlined_parameters): Copy
2716         saved_static_chain_decl only.
2717
2718 2005-01-25  Richard Henderson  <rth@redhat.com>
2719
2720         PR target/19556
2721         PR target/19584
2722         * config/i386/i386.c (x86_inter_unit_moves): Zero.
2723         (ix86_preferred_reload_class): Rewrite fp-constant section, with
2724         80387 enabled, to return a proper subclass.  Return the subset that
2725         overlaps with GENERAL_REGS for PLUS.
2726         * config/i386/i386.md (movsi_1, movdi_2): Set type to "mmx" for pxor.
2727
2728 2005-01-25  Richard Henderson  <rth@redhat.com>
2729
2730         PR middle-end/19609
2731         * tree-complex.c (expand_complex_div_wide): Use the correct formulae.
2732
2733 2005-01-25  Roger Sayle  <roger@eyesopen.com>
2734
2735         * expmed.c (choose_multiplier): Change interface to return the
2736         multiplier lowpart as an rtx instead of an unsigned HOST_WIDE_INT.
2737         (expand_divmod): Update calls to choose_multiplier.
2738
2739 2005-01-24  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2740
2741         PR middle-end/19330
2742         * expmed.c (extract_bit_field): Use adjust_address instead of
2743         gen_lowpart when op0 is a MEM.
2744
2745 2005-01-24  Steven Bosscher  <stevenb@suse.de>
2746
2747         * cfgexpand.c (expand_gimple_tailcall): Fix typo.
2748
2749 2005-01-24  Richard Sandiford  <rsandifo@redhat.com>
2750
2751         * config/mips/irix-csr.c: New file.
2752         * config/mips/t-iris6 (irix-csr.o): New rule to build it.
2753         (EXTRA_MULTILIB_PARTS): Add irix-csr.o.
2754         * config/mips/iris6.h (ENDFILE_SPEC): Include it in n32 and n64
2755         executables.
2756
2757 2005-01-24  Eric Botcazou  <ebotcazou@libertysurf.fr>
2758
2759         PR bootstrap/19364
2760         * config.gcc (sparc-*-elf*): Remove sol2.h, sparc/sol2.h and
2761         sparc/elf.h, add sparc/sp-elf.h.
2762         (sparc-*-rtems*): Likewise.
2763         (sparclite-*-elf*): Remove sol2.h, sparc/sol2.h, sparc/elf.h and
2764         tm-dwarf2.h, add sparc/sp-elf.h.
2765         (sparc86x-*-elf): Likewise.
2766         (sparc64-*-elf*): Remove sol2.h, sparc/sol2.h and tm-dwarf2.h.
2767         * config/sparc/liteelf.h (TARGET_SUB_OS_CPP_BUILTINS): Rename into
2768         TARGET_OS_CPP_BUILTINS.
2769         * config/sparc/sp86x-elf (TARGET_SUB_OS_CPP_BUILTINS): Likewise.
2770         * config/sparc/rtemself.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise.
2771         Undefine it.
2772         * config/sparc/openbsd64.h (NO_IMPLICIT_EXTERN_C): Undefine.
2773         * config/sparc/sp64-elf.h (NO_IMPLICIT_EXTERN_C): New macro.
2774         (SWITCH_TAKES_ARG): Likewise.
2775         (LOCAL_LABEL_PREFIX): Likewise.
2776         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2777         (TARGET_N_FORMAT_TYPES): Delete.
2778         (TARGET_FORMAT_TYPES): Likewise.
2779         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
2780         * config/sparc/elf.h: Delete.
2781         * config/sparc/sp-elf.h: New file.
2782
2783 2005-01-24  Kazu Hirata  <kazu@cs.umass.edu>
2784
2785         * tree-flow-inline.h (phi_arg_from_edge): Remove.
2786         * tree-flow.h: Remove the corresponding prototype.
2787         * tree-ssa-operands.h, tree-ssa-threadupdate.c, tree-ssa.c,
2788         tree-vectorizer.c: Use dest_idx instead of phi_arg_from_edge.
2789
2790 2005-01-24  Jakub Jelinek  <jakub@redhat.com>
2791
2792         PR target/17751
2793         * config/rs6000/rs6000.c (rs6000_file_start): Create toc section
2794         for AIX ABI or ELF -fPIC.
2795         (rs6000_emit_load_toc_table): Don't create toc_section here.
2796         (rs6000_xcoff_file_start): Nor here.
2797
2798 2005-01-24  J"orn Rennecke <joern.rennecke@st.com>
2799
2800         * sh.c (ra.h): Don't #include.
2801         (hard_regs_intersect_p): New function, resurrected from ra.c.
2802
2803         * sh.c: Fix 1996 Copyright.
2804
2805 2005-01-24  Richard Henderson  <rth@redhat.com>
2806             Aldy Hernandez  <aldyh@redhat.com>
2807
2808         * regrename.c (note_sets): Handle subregs.
2809
2810 2005-01-24  Joseph S. Myers  <joseph@codesourcery.com>
2811
2812         PR bootstrap/18058
2813         * genconditions.c (write_header, write_conditions): Elide file if
2814         not GCC >= 3.0.1.
2815
2816 2005-01-24  Kazu Hirata  <kazu@cs.umass.edu>
2817
2818         * c-opts.c, expmed.c, gengtype.c, tree-complex.c,
2819         config/arm/iwmmxt.md, config/avr/avr.c, config/s390/s390.h:
2820         Update copyright.
2821
2822 2005-01-24  Jakub Jelinek  <jakub@redhat.com>
2823
2824         * builtins.c (get_pointer_alignment, gimplify_va_arg_expr,
2825         expand_builtin_printf, expand_builtin_fprintf,
2826         expand_builtin_sprintf): Use POINTER_TYPE_P instead TREE_CODE
2827         checking against POINTER_TYPE.
2828         (validate_arglist): Handle POINTER_TYPE code by checking
2829         POINTER_TYPE_P.
2830
2831 2005-01-24  Paolo Bonzini  <bonzini@gnu.org>
2832
2833         * rtlanal.c (non_rtx_starting_operands, for_each_rtx_1,
2834         init_rtlanal): New.
2835         (for_each_rtx): Call for_each_rtx_1.
2836         * rtl.h (init_rtlanal): Declare.
2837         * toplev.c (backend_init): Call init_rtlanal.
2838
2839 2005-01-24  Jakub Jelinek  <jakub@redhat.com>
2840
2841         * flow.c (propagate_one_insn): Formatting.
2842
2843         PR middle-end/19551
2844         * flow.c (libcall_dead_p): Be more conservative if unsure.
2845         If there are any instructions between insn and call, see if they are
2846         all dead before saying the libcall is dead.
2847
2848 2005-01-24  Uros Bizjak  <uros@kss-loka.si>
2849
2850         * config/i386/i386.md (*extendsfdf2_sse): Use "nonimmediate_operand"
2851         operand constraint for operand 0.
2852
2853 2005-01-23  Richard Henderson  <rth@redhat.com>
2854
2855         PR 19486
2856         * tree-complex.c (expand_complex_div_wide): Set EDGE_FALLTHRU on
2857         edges leading to join block.
2858
2859 2005-01-23  Roger Sayle  <roger@eyesopen.com>
2860
2861         * expmed.c (expand_mult_highpart): Make static.  Change type of
2862         constant multiplier argument from unsigned HOST_WIDE_INT to rtx.
2863         (expand_divmod): Updates calls to expand_mult_highpart by using
2864         gen_int_mode to pass a CONST_INT rtx.
2865         * rtl.h (expand_mult_highpart): Remove prototype.
2866
2867 2005-01-23  Kazu Hirata  <kazu@cs.umass.edu>
2868
2869         * flow.c (regset_bytes, regset_size): Remove.
2870
2871         * cfganal.c: Fix a reference to Harvey's paper.
2872
2873 2005-01-23  Steven Bosscher  <stevenb@suse.de>
2874
2875         PR rtl-optimization/19464
2876         * tree-optimize.c (init_tree_optimization_passes): Add one more
2877         copyrename pass just before out-of-ssa.
2878
2879 2005-01-23  Joseph S. Myers  <joseph@codesourcery.com>
2880
2881         PR bootstrap/18058
2882         * recog.c (recog_memoized): Don't define if GENERATOR_FILE.
2883         * ggc-none.c (ggc_free): Define.
2884
2885 2005-01-23  Kazu Hirata  <kazu@cs.umass.edu>
2886
2887         * cse.c (max_reg, max_insn_uid): Remove.
2888         (cse_main): Don't access max_reg or max_insn_uid.
2889
2890         * c-common.c (explicit_flag_signed_bitfields,
2891         lang_statement_code_p, lang_expand_function_end): Remove.
2892         * c-common.h: Remove the corresponding declarations.
2893         * c-opts.c (c_common_handle_option): Remove all write access
2894         to explicit_flag_signed_bitfields.
2895
2896         * cgraph.c (cgraph_varpool_n_nodes): Remove.
2897         (cgraph_varpool_node): Don't access cgraph_varpool_n_nodes.
2898         * cgraph.h: Remove the corresponding declaration.
2899
2900         * gcse.c (null_pointer_info): Remove.
2901
2902 2005-01-23  Roger Sayle  <roger@eyesopen.com>
2903             Eric Botcazou  <ebotcazou@libertysurf.fr>
2904
2905         * combine.c (simplify_logical): Only simplify logical expressions
2906         of the form ior(and(x,y),z) by the inverse distributive law if the
2907         result is cheaper than the original.
2908
2909 2005-01-23  Kazu Hirata  <kazu@cs.umass.edu>
2910
2911         * alias.c, c-common.h, c-incpath.c, c-incpath.h, expr.c,
2912         fold-const.c, gimplify.c, params.h, tree-data-ref.c,
2913         tree-if-conv.c, tree-nested.c, tree-outof-ssa.c,
2914         tree-ssa-dom.c, tree-vectorizer.c, tree.def, config/darwin.c,
2915         config/freebsd-spec.h, config/arm/arm.h,
2916         config/h8300/h8300.md, config/i386/i386.md,
2917         config/i386/predicates.md, config/i386/sse.md,
2918         config/ia64/ia64.c, config/ip2k/ip2k.c, config/s390/s390.c,
2919         config/vax/vax.md: Fix comment typos.  Follow spelling
2920         conventions.
2921
2922 2005-01-23  Steven Bosscher  <stevenb@suse.de>
2923
2924         * gengtype.c (walk_type): Produce `not equal to' compares for loop
2925         tests, instead of `less than'.
2926
2927 2005-01-23  Richard Sandiford  <rsandifo@redhat.com>
2928
2929         * function.c (assign_parm_setup_block): When creating a new stack slot
2930         for a parameter, get its alignment from the parameter's DECL_ALIGN
2931         rather than the type's TYPE_ALIGN.  Make sure that the parameter
2932         is at least word aligned.
2933
2934 2005-01-22  Roger Sayle  <roger@eyesopen.com>
2935
2936         PR middle-end/19378
2937         * config/avr/avr.c (avr_hard_regno_mode_ok): Rewrite.
2938
2939 2005-01-22  Richard Henderson  <rth@redhat.com>
2940
2941         PR target/19506
2942         * config/i386/i386.md (movsfcc_1_sse_max): Use nonimmediate_operand
2943         in both compare operands.
2944         (movdfcc_1_sse_max): Likewise.
2945         (movsfcc_1_sse): Likewise.  Add earlyclobber for scratch.
2946         (movdfcc_1_sse): Likewise.
2947         * config/i386/i386.c (ix86_split_sse_movcc): Emit copies into the
2948         scratch register as needed.
2949
2950 2005-01-22  Richard Henderson  <rth@redhat.com>
2951
2952         * config/i386/i386.md (smaxsf3): Fix mnemonic typo.
2953
2954         * config/i386/i386.c (ix86_prepare_fp_compare_args): Fix is_sse test.
2955
2956 2005-01-22  Richard Henderson  <rth@redhat.com>
2957
2958         * genopinit.c (optabs): Use smin/smax for floating point too.
2959         * doc/md.texi: Update to match.  Clarify that floating point
2960         results are undefined for +0/-0 and NaN.
2961         * doc/rtl.texi: Likewise.
2962         * rtl.def (SMIN, SMAX): Likewise
2963         * tree.def (MIN_EXPR, MAX_EXPR): Likewise.
2964
2965         * config/alpha/alpha.md (smaxdf3, smindf3, smaxsf3, sminsf3): Add
2966         leading 's' to the name.
2967         * config/ia64/ia64.md (smaxsf3, sminsf3, smaxdf3, smindf3,
2968         smaxxf3, sminxf3): Likewise.
2969         * config/rs6000/rs6000.md (smaxdf3, smindf3, smaxsf3, sminsf3):
2970         Likewise.
2971
2972 2005-01-22  Paul Brook  <paul@codesourcery.com>
2973
2974         * config/arm/arm.md: Use "Uy" constraint for wcgr load/stores.
2975
2976 2005-01-21  Mark Dettinger  <dettinge@de.ibm.com>
2977
2978         * config/s390/s390.c (struct processor_costs): New fields
2979         dlgr, dlr, dr, dsgfr, dsgr.
2980         (z900_cost, z990_cost): Values for new fields.
2981         (s390_rtx_costs): New cases MEM und COMPARE in switch
2982         statement. Modified handling of SIGN_EXTEND, ZERO_EXTEND,
2983         DIV, MOD, UDIV, UMOD.
2984
2985 2005-01-21  Ulrich Weigand  <uweigand@de.ibm.com>
2986
2987         * config/s390/s390.md ("doloop_si64"): Reload input value directly
2988         into the register being decremented.
2989         ("doloop_si31", "doloop_di"): Likewise.
2990         ("*doloop_si_long"): Adapt pattern.
2991
2992 2005-01-21  Ulrich Weigand  <uweigand@de.ibm.com>
2993
2994         * config/s390/s390.h (HARD_REGNO_NREGS): Fix computation for
2995         access registers.
2996         (CLASS_MAX_NREGS): Likewise.
2997
2998 2005-01-21  Daniel Berlin  <dberlin@dberlin.org>
2999
3000         * doc/tree-ssa.texi (Statement Operands): Add example for new
3001         must-def macro. Note deprecation of old operands interface.
3002
3003 2005-01-22  Richard Sandiford  <rsandifo@redhat.com>
3004
3005         PR tree-optimization/19484
3006         * tree-cfg.c (remove_fallthru_edge): New function.
3007         (cleanup_control_flow): Remove fallthru edges from calls that are
3008         now known not to return.
3009
3010 2005-01-20  Daniel Berlin  <dberlin@dberlin.org>
3011
3012         Fix PR tree-optimization/19038
3013         * tree-ssa-dom.c (cprop_operand): Don't replace loop invaeriant
3014         copies with loop variant ones.
3015
3016 2005-01-22  Kazu Hirata  <kazu@cs.umass.edu>
3017
3018         * cfganal.c, real.h, reorg.c, timevar.def, tree-ssa-ccp.c,
3019         config/alpha/alpha-protos.h, config/alpha/alpha.h,
3020         config/alpha/alpha.md, config/alpha/predicates.md,
3021         config/sparc/freebsd.h, config/sparc/netbsd-elf.h,
3022         config/sparc/sol2.h: Update copyright.
3023
3024         * tree-cfg.c (remove_forwarder_block_with_phi): Look at the
3025         first label to see if it is a nonlocal label.
3026
3027 2005-01-22  David Edelsohn  <edelsohn@gnu.org>
3028             Andrew Pinski  <pinskia@physics.uc.edu>
3029
3030         PR target/19491
3031         * config/rs6000/rs6000.c (rs6000_va_start): Saturate n_gpr at
3032         maximum number of GPRs.  Saturate n_fpr at maximum number of FPRs.
3033
3034 2005-01-22  Ralf Corsepius  <ralf.corsepius@rtems.org>
3035
3036         * config/rs6000/rtems.h: Update copyright.
3037
3038 2005-01-22  Ralf Corsepius  <ralf.corsepius@rtems.org>
3039
3040         PR target/19548
3041         * config/rs6000/rtems.h: Resurrect cpp_os_rtems_spec from gcc < 3.4.
3042         (CPP_OS_RTEMS_SPEC): New (From gcc-3.3's config/rs6000/sys4.h).
3043         (SUBSUBTARGET_EXTRA_SPECS): Use CPP_OS_RTEMS_SPEC.
3044
3045 2005-01-22  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
3046
3047         PR c/18809
3048         * c-typeck.c (convert_arguments): Check for error_mark_node.
3049
3050 2005-01-21  Ian Lance Taylor  <ian@airs.com>
3051
3052         PR tree-optimization/13000
3053         * tree-inline.c: Include "tree-flow.h".
3054         (expand_call_inline): If warn_return_type, warn if non-void inline
3055         function falls through.
3056         * tree-cfg.c (execute_warn_function_return): Don't warn about
3057         control reaching end if TREE_NO_WARNING is set.  Set
3058         TREE_NO_WARNING.
3059         * gimple-low.c (block_may_fallthru): Don't assume that SWITCH_EXPR
3060         has been lowered.
3061         * gimplify.c (shortcut_cond_expr): Don't emit a jump over the else
3062         branch if we don't need one.
3063         * c-typeck.c: Include "tree-flow.h"
3064         (c_finish_bc_stmt): Don't add a goto if the current statement
3065         list doesn't fall through to the current point.
3066
3067 2005-01-21  Roger Sayle  <roger@eyesopen.com>
3068
3069         PR rtl-optimization/576
3070         * real.c (real_arithmetic): Change return type from void to bool
3071         to return an indication that the result may be inexact.
3072         * real.h (real_arithmeric): Update prototype.
3073         * fold-const.c (const_binop):  Don't constant fold floating
3074         point expressions when the user specifies -frounding-math and
3075         the result may depend upon the run-time rounding mode.
3076         (fold_convert_const_real_from_real): Clean-up.
3077         (fold_initializer): Ignore flag_rounding_math for initializers.
3078         * simplify-rtx.c (simplify_binary_operation): Likewise, don't
3079         constant fold FP operations with flag_rounding_math if the
3080         result may depend upon the run-time rounding mode.
3081
3082 2005-01-21  Tom Tromey  <tromey@redhat.com>
3083
3084         * c-cppbuiltin.c (define__GNUC__): Correct assertion.
3085
3086 2005-01-21  Kazu Hirata  <kazu@cs.umass.edu>
3087
3088         * tree-cfg.c: Fix comment typos.
3089
3090 2005-01-21  J"orn Rennecke <joern.rennecke@st.com>
3091
3092         * passes.c (rest_of_handle_flow2): Close / open the flow2 dump file
3093         around the call to rest_of_handle_branch_target_load_optimize.
3094
3095 2005-01-21  Eric Botcazou  <ebotcazou@libertysurf.fr>
3096
3097         * config.gcc (sparc-*-netbsdelf*): Include dbxelf.h
3098         (sparc64-*-openbsd*): Likewise.
3099         (sparclite-*-elf*): Include tm-dwarf2.h.
3100         (sparc86x-*-elf*): Likewise.
3101         (sparc64-*-elf*): Likewise.
3102         * config/sparc/linux64.h (DWARF2_DEBUGGING_INFO): Delete.
3103         (DBX_DEBUGGING_INFO): Likewise.
3104         * config/sparc/liteelf.h (DWARF2_DEBUGGING_INFO): Likewise.
3105         (PREFERRED_DEBUGGING_TYPE): Likewise.
3106         * config/sparc/netbsd-elf.h (PREFERRED_DEBUGGING_TYPE): Likewise.
3107         * config/sparc/sp64-elf.h (DBX_DEBUGGING_INFO): Likewise.
3108         (PREFERRED_DEBUGGING_TYPE): Likewise.
3109         * config/sparc/sp86x-elf.h (DWARF2_DEBUGGING_INFO): Likewise.
3110         (PREFERRED_DEBUGGING_TYPE): Likewise.
3111         * config/sparc/sparc.h (DBX_DEBUGGING_INFO): Likewise.
3112
3113 2005-01-21  Hans-Peter Nilsson  <hp@bitrange.com>
3114
3115         PR target/18701
3116         * combine.c (combine_simplify_rtx): Revert change of 2004-12-31.
3117
3118 2005-01-20  Paul Brook  <paul@codesourcery.com>
3119
3120         * doc/rtl.texi: Document value extension requirements for CONST_INT.
3121
3122 2005-01-20  Kazu Hirata  <kazu@cs.umass.edu>
3123
3124         * tree-cfg.c (tree_verify_flow_info): Check that a nonlocal
3125         label is first in a sequence of labels.
3126
3127         * tree-cfg.c (tree_verify_flow_info): Fix a typo.
3128
3129 2005-01-20  Janis Johnson  <janis187@us.ibm.com>
3130             Giovanni Bajo  <giovannibajo@gcc.gnu.org>
3131
3132         * doc/sourcebuild.texi (Test Directives): New.
3133
3134 2005-01-20  Roger Sayle  <roger@eyesopen.com>
3135
3136         * real.c (real_floor): Don't leave the result uninitialized when
3137         mode is VOIDMode, but return the unrounded intermediate value.
3138         (real_ceil): Likewise.
3139
3140 2005-01-20  Paul Brook  <paul@codesourcery.com>
3141
3142         * config/arm/arm.md (insv): Use gen_int_mode.
3143
3144 2005-01-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
3145
3146         * config/sparc/freebsd.h (ASM_OUTPUT_INTERNAL_LABELREF): Delete.
3147         * config/sparc/linux.h (ASM_OUTPUT_INTERNAL_LABELREF): Likewise.
3148         * config/sparc/linux64.h (ASM_OUTPUT_INTERNAL_LABELREF): Likewise.
3149         * config/sparc/netbsd-elf.h (ASM_OUTPUT_INTERNAL_LABELREF): Likewise.
3150         * config/sparc/sol2.h (ASM_OUTPUT_INTERNAL_LABELREF): Likewise.
3151
3152 2005-01-20  Daniel Berlin  <dberlin@dberlin.org>
3153
3154         Fix PR debug/19124
3155         * dwarf2out.c (concat_loc_descriptor): We don't know we can use
3156         fbreg, so we have to assume we can't.
3157         (loc_descriptor_from_tree_1): Ditto.
3158         (containing_function_has_frame_base): New function.
3159         (add_location_or_const_value_attribute): Use it.
3160         Also try to generate a frame_base from a single element location
3161         list.
3162
3163 2005-01-20  Kazu Hirata  <kazu@cs.umass.edu>
3164
3165         PR tree-optimization/15349
3166         * timevar.def (TV_TREE_MERGE_PHI): New.
3167         * tree-cfg.c (tree_forwarder_block_p): Add a new argument
3168         PHI_WANTED.
3169         (remove_forwarder_block, cleanup_forwarder_blocks): Adjust the
3170         calls to tree_forwarder_block_p.
3171         (remove_forwarder_block_with_phi, merge_phi_nodes,
3172         gate_merge_phi, pass_merge_phi): New.
3173         * tree-optimize.c (init_tree_optimization_passes): Add
3174         pass_merge_phi.
3175         * tree-pass.h: Add an extern for pass_merge_phi;
3176
3177 2005-01-20  Richard Henderson  <rth@redhat.com>
3178
3179         PR target/19418
3180         * config/i386/emmintrin.h (_mm_castpd_ps, _mm_castpd_si128): New.
3181         (_mm_castps_pd, _mm_castps_si128): New.
3182         (_mm_castsi128_ps, _mm_castsi128_pd): New.
3183
3184 2005-01-20  Richard Henderson  <rth@redhat.com>
3185
3186         PR target/19530
3187         * config/i386/mmintrin.h (_mm_cvtsi32_si64): Use
3188         __builtin_ia32_vec_init_v2si.
3189         (_mm_cvtsi64_si32): Use __builtin_ia32_vec_ext_v2si.
3190         * config/i386/i386.c (IX86_BUILTIN_VEC_EXT_V2SI): New.
3191         (ix86_init_mmx_sse_builtins): Create it.
3192         (ix86_expand_builtin): Expand it.
3193         (ix86_expand_vector_set): Handle V2SFmode and V2SImode.
3194         * config/i386/mmx.md (vec_extractv2sf_0, vec_extractv2sf_1): New.
3195         (vec_extractv2si_0, vec_extractv2si_1): New.
3196
3197 2005-01-20  Richard Henderson  <rth@redhat.com>
3198
3199         PR target/16533
3200         * config/i386/i386.c (ix86_expand_push): New.
3201         * config/i386/mmx.md (push<MMXMODE>1): New.
3202         * config/i386/sse.md (push<SSEMODE>1): New.
3203         * config/i386/i386-protos.h: Update.
3204
3205 2005-01-20  Kazu Hirata  <kazu@cs.umass.edu>
3206
3207         * params.def, params.h, predict.c, tree-ssa-loop-im.c: Update
3208         copyright.
3209
3210 2005-01-20  Richard Henderson  <rth@redhat.com>
3211
3212         * rtl.def (CONST_VECTOR): Use RTX_CONST_OBJ.
3213         * rtl.h (CONSTANT_P): Don't special case CONST_VECTOR.
3214
3215 2005-01-19  Richard Henderson  <rth@redhat.com>
3216
3217         PR target/19350
3218         * config/i386/i386.c (ix86_expand_vector_move_misalign): Convert
3219         to V4SFmode in SSE1 fallback load path.
3220
3221 2005-01-19  Richard Henderson  <rth@redhat.com>
3222
3223         * config/i386/i386.c (ix86_expand_vector_init_one_var): Fix typo
3224         in QImode expansion to ix86_expand_vector_set.
3225         (ix86_expand_vector_init_general): Fix typo in V8HImode recursive call.
3226
3227 2005-01-19  Richard Henderson  <rth@redhat.com>
3228
3229         PR target/19511
3230         * config/i386/i386.c (ix86_preferred_reload_class): Return a proper
3231         subclass of the input class.
3232         (ix86_secondary_memory_needed): Always true for cross-MMX classes.
3233         Always true for cross-SSE1 classes.  Rationalize conditionals.
3234         * config/i386/i386.h (SSE_CLASS_P, MMX_CLASS_P): Use straight equality.
3235         * config/i386/i386.md (movsi_1): Add MMX/SSE zeros.  Fix alternatives
3236         for SSE1.  Don't check TARGET_INTER_UNIT_MOVES.
3237         (movdi_2): Add MMX/SSE zeros.
3238         (movdi_1_rex64): Likewise.  Don't check TARGET_INTER_UNIT_MOVES.
3239         (movsf_1): Don't check TARGET_INTER_UNIT_MOVES.
3240         (zero_extendsidi2_32, zero_extendsidi2_rex64): Likewise.
3241         (movsi_1_nointernunit, movdi_1_rex64_nointerunit): Remove.
3242         (movsf_1_nointerunit, zero_extendsidi2_32_1): Remove.
3243         (zero_extendsidi2_rex64_1): Remove.
3244         (MOV0 peephole): Check GENERAL_REG_P.
3245
3246 2005-01-19  Richard Henderson  <rth@redhat.com>
3247
3248         PR target/19427
3249         * config/i386/i386.c (ix86_expand_vector_set): Fix third and fourth
3250         shufps elements.
3251         (ix86_expand_vector_extract): Likewise.
3252
3253 2005-01-19  Richard Henderson  <rth@redhat.com>
3254
3255         PR middle-end/19304
3256         * expr.c (emit_move_change_mode): New argument force; use
3257         simplify_gen_subreg if true.
3258         (emit_move_via_alt_mode): Merge into ...
3259         (emit_move_via_integer): ... here.
3260         (emit_move_ccmode): Use emit_move_change_mode directly.
3261
3262 2005-01-19  Richard Henderson  <rth@redhat.com>
3263
3264         PR target/19518
3265         * config/alpha/alpha.c (alpha_rtx_costs): Handle HIGH.
3266         (alpha_preferred_reload_class): Handle CONST_VECTOR.
3267         (alpha_emit_set_const_1): Add no_output parameter; don't emit
3268         rtl if true.
3269         (alpha_emit_set_const): Likewise.  Make static.
3270         (alpha_emit_set_long_const): Make static.
3271         (alpha_extract_integer): Split out from alpha_expand_mov.
3272         (alpha_split_const_mov): Likewise.
3273         (alpha_expand_mov): Use them.  Handle CONST_VECTOR.
3274         (alpha_legitimate_constant_p): New.
3275         * config/alpha/alpha-protos.h: Update.
3276         * config/alpha/alpha.h (REGISTER_MOVE_COST): Correct fp<->gp cost.
3277         (LEGITIMATE_CONSTANT_P): Re-implement with a function.
3278         * config/alpha/alpha.md (movsi): Add n alternative.
3279         (movsi_nt_vms, movdi_er_nofix, movdi_er_fix, movdi_fix): Likewise.
3280         (mov<VEC>_fix, mov<VEC>_nofix): Add i alternative.
3281         (splitters for all of the above): Use alpha_split_const_mov.
3282         * config/alpha/predicates.md (non_add_const_operand): New.
3283         (non_zero_const_operand): New.
3284         (input_operand): Use alpha_legitimate_constant_p after reload.
3285
3286 2005-01-19  Zdenek Dvorak  <dvorakz@suse.cz>
3287
3288         PR tree-optimization/19038
3289         * tree-ssa-loop-ivopts.c (allow_ip_end_pos_p): New function.
3290         (add_candidate): Add ivs with increment in latch only if
3291         allow_ip_end_pos_p is true.
3292         (determine_iv_cost): Use empty_block_p.
3293
3294 2005-01-19  Daniel Berlin  <dberlin@dberlin.org>
3295
3296         * cfganal.c (compute_dominance_frontiers_1): Replace with new algorithm
3297         (compute_dominance_frontiers): Ditto.
3298
3299 2005-01-19  Ralf Corsepius  <ralf.corsepius@rtems.org>
3300
3301         PR target/19529
3302         * config/sh/t-rtems: New.
3303         * config.gcc (sh-*-rtems*): Reflect having added config/sh/t-rtems.
3304
3305 2005-01-19  Zdenek Dvorak  <dvorakz@suse.cz>
3306
3307         * tree-ssa-ccp.c (maybe_fold_offset_to_component_ref): Always subtract
3308         the offset of the selected field.
3309
3310 2005-01-19  Kazu Hirata  <kazu@cs.umass.edu>
3311
3312         * tree-cfg.c (remove_forwarder_block): Fix the check to
3313         prevent a nonlocal label from appearing in the middle of a
3314         basic block.
3315
3316 2005-01-19  Hans-Peter Nilsson  <hp@axis.com>
3317
3318         PR rtl-optimization/19462
3319         * reorg.c (find_end_label): Create return insn only if
3320         current_function_epilogue_delay_list is empty.
3321
3322 2005-01-19  Paolo Bonzini  <bonzini@gnu.org>
3323
3324         * doc/passes.texi: Remove paragraph mentioning new-ra.
3325
3326 2005-01-19  Jakub Jelinek  <jakub@redhat.com>
3327
3328         PR rtl-optimization/15139
3329         * combine.c: Include params.h.
3330         (count_rtxs): New function.
3331         (record_value_for_reg): If replace_rtx would replace at least
3332         2 occurrences of REG in VALUE and TEM is really large, replace REG with
3333         (clobber (const_int 0)) instead of TEM.
3334         * params.def (PARAM_MAX_LAST_VALUE_RTL): New.
3335         * params.h (MAX_LAST_VALUE_RTL): New.
3336         * Makefile.in (combine.o): Depend on $(PARAMS_H).
3337         * doc/invoke.texi (--param max-last-value-rtl=N): Document.
3338
3339         PR c/17297
3340         * c-typeck.c (digest_init): Only call build_vector if all constructor
3341         elements are *_CST nodes.
3342         * gimplify.c (gimplify_init_constructor): Likewise.
3343
3344         PR middle-end/19164
3345         * c-typeck.c (digest_init): Only call build_vector if inside_init
3346         is a CONSTRUCTOR.
3347
3348 2005-01-18  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
3349
3350         * toplev.c (init_asm_output): Remove dead #ifdef.
3351
3352 2005-01-18  Kaz Kojima  <kkojima@gcc.gnu.org>
3353
3354         * config/sh/linux.h (TARGET_C99_FUNCTIONS): Define.
3355
3356 2005-01-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
3357
3358         * calls.c (expand_call): Check DECL_BUILT_IN_CLASS before
3359         accessing DECL_FUNCTION_CODE.
3360         * dojump.c (do_jump): Likewise.
3361         * gimplify.c (gimplify_call_expr): Likewise.
3362         * predict.c (expr_expected_value): Likewise.
3363         (strip_builtin_expect): Likewise.
3364         * tree-inline.c (estimate_num_insns_1): Likewise.
3365         * tree-ssa-loop-im.c (stmt_cost): Likewise
3366         * fold-const.c (fold): Test for BUILT_IN_NORMAL.
3367         (tree_expr_nonnegative_p): Likewise.
3368
3369 2005-01-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
3370
3371         * config/sparc/sparc.c (load_pic_register): Emit the appropriate
3372         variant of the load_pcrel_sym pattern.
3373         * config/sparc/sparc.md (P macro): Move to the top.
3374         (load_pcrel_sym): Macroize using P.
3375         (save_register_window): Likewise.
3376
3377 2005-01-18  Aldy Hernandez  <aldyh@redhat.com>
3378
3379         * config/rs6000/rs6000.md ("sunordered"): Disable for e500.
3380         ("sordered"): Same.
3381
3382 2005-01-18  Andrew Pinski  <pinskia@physics.uc.edu>
3383
3384         PR C/19472
3385         * c-typeck.c (build_asm_expr): Strip nops off
3386         input memory operands.
3387
3388 2005-01-18  David Edelsohn  <edelsohn@gnu.org>
3389
3390         * config/rs6000/aix43.h (CPLUSPLUS_CPP_SPEC): Delete
3391         _XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED, _LARGE_FILE_API.
3392         * config/rs6000/aix51.h (CPLUSPLUS_CPP_SPEC): Same.
3393         * config/rs6000/aix52.h (CPLUSPLUS_CPP_SPEC): Same.
3394
3395 2005-01-18  Joel Sherrill <joel.sherrill@oarcorp.com>
3396
3397         PR target/19379
3398         * config/i386/i386.c (override_options): If the 80387 is disabled,
3399         then do not return FP values using FP registers.
3400
3401 2005-01-18  Kazu Hirata  <kazu@cs.umass.edu>
3402
3403         * basic-block.h, c-common.c, c-cppbuiltin.c, c-lang.c,
3404         c-tree.h, cfgbuild.c, cgraph.c, cgraph.h, collect2.c,
3405         combine.c, config.gcc, coverage.h, cse.c, cselib.c,
3406         defaults.h, df.c, dwarf2asm.c, dwarf2out.c, explow.c, expr.c,
3407         flow.c, fold-const.c, gcse.c, ggc-page.c, gimple-low.c,
3408         gimplify.c, ifcvt.c, langhooks-def.h, lcm.c, optabs.h,
3409         output.h, postreload-gcse.c, postreload.c, recog.c,
3410         resource.c, rtl.def, rtlanal.c, sched-deps.c, sched-rgn.c,
3411         targhooks.h, toplev.c, tree-data-ref.c, tree-eh.c,
3412         tree-flow.h, tree-loop-linear.c, tree-mudflap.h, tree-nrv.c,
3413         tree-optimize.c, tree-outof-ssa.c, tree-pass.h,
3414         tree-scalar-evolution.c, tree-ssa-copy.c, tree-ssa-dce.c,
3415         tree-ssa-dse.c, tree-ssa-loop-ivopts.c, tree-ssa-operands.c,
3416         tree-ssa-pre.c, tree-ssa.c, tree-vectorizer.c, tree.def,
3417         unwind-dw2-fde-darwin.c, var-tracking.c: Update copyright.
3418
3419         * config/darwin.c, config/darwin.h, config/freebsd-spec.h,
3420         config/alpha/alpha.c, config/arm/vfp.md,
3421         config/i386/emmintrin.h, config/i386/i386-modes.def,
3422         config/i386/i386-protos.h, config/i386/i386.h,
3423         config/i386/pmmintrin.h, config/i386/ppro.md,
3424         config/i386/predicates.md, config/i386/xmmintrin.h,
3425         config/i860/i860.c, config/ia64/ia64-modes.def,
3426         config/ia64/ia64-protos.h, config/ia64/ia64.h,
3427         config/ia64/ia64.md, config/ia64/itanium1.md,
3428         config/ia64/itanium2.md, config/ia64/predicates.md,
3429         config/iq2000/iq2000.h, config/mips/linux64.h,
3430         config/rs6000/aix41.h, config/rs6000/aix43.h,
3431         config/rs6000/aix52.h, config/rs6000/darwin-fallback.c,
3432         config/rs6000/rs6000.c, config/rs6000/rs6000.h,
3433         config/rs6000/spe.md, config/sh/sh.md, config/sparc/linux.h,
3434         config/sparc/linux64.h, config/sparc/litecoff.h,
3435         config/sparc/sp64-elf.h, config/sparc/sparc.c,
3436         config/sparc/sparc.h, config/sparc/sparc.md,
3437         config/sparc/sysv4-only.h: Update copyright.
3438
3439 2005-01-18  Richard Henderson  <rth@redhat.com>
3440
3441         PR target/19496
3442         * config/i386/i386.c (ix86_expand_fp_movcc): Fail for LTGT and UNEQ.
3443
3444 2005-01-18  Marc Espie  <espie@openbsd.org>
3445         * config/i386/openbsdelf.h: Typo.
3446
3447 2005-01-18  Richard Henderson  <rth@redhat.com>
3448
3449         * config/i386/i386.c (ix86_expand_fp_movcc): Remove TARGET_IEEE_FP
3450         special case for sse.
3451         * config/i386/predicates.md (sse_comparison_operator): Likewise.
3452
3453 2005-01-18  Dorit Naishlos  <dorit@il.ibm.com>
3454
3455         * tree-inline.c (estimate_num_insns_1): Added cases for
3456         ALIGN_INDIRECT_REF, MISALIGNED_INDIRECT_REF, and REALIGN_LOAD_EXPR.
3457
3458 2005-01-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
3459
3460         PR rtl-optimization/19296
3461         * combine.c (simplify_comparison): Rewrite the condition under
3462         which a non-paradoxical SUBREG of a PLUS can be lifted when
3463         compared against a constant.
3464
3465 2005-01-18  Andi Kleen <ak@muc.de>
3466
3467         * c-typeck.c: (convert_for_assignment): Check warn_pointer_sign.
3468         * c.opt (-Wpointer-sign): Add.
3469         * doc/invoke.texi: (-Wpointer-sign): Add.
3470
3471 2005-01-18  Uros Bizjak  <uros@kss-loka.si>
3472
3473         * config/i386/i386.c (override_options): Revert 2004-11-24 change.
3474         * config/i386/i386.md (fmodsf3, dremsf3, *sinsf2, *cossf2, sincossf3,
3475         *tansf3_1, tansf2, atan2sf3_1, atan2sf3, atansf2, asinsf2, acossf2,
3476         logsf2, log10sf2, log2sf2, log1psf2, logbsf2, ilogbsf2, expsf2,
3477         exp10sf2, exp2sf2, expm1sf2, rintsf2, floorsf2, ceilsf2, btruncsf2,
3478         nearbyintsf2): Disable for TARGET_SSE_MATH.  Leave patterns enabled
3479         for TARGET_MIX_SSE_I387.
3480         (fmoddf3, dremdf3, *sindf2, *sinextendsfdf2, *cosdf2, *cosextendsfdf2,
3481         sincosdf3, *sincosextendsfdf3, *tandf3_1, tandf2, atan2df3_1,
3482         atan2df3, atandf2, asindf2, acosdf2, logdf2, log10df2, log2df2,
3483         log1pdf2, logbdf2, expdf2, exp10df2, exp2df2, expm1df2, rintdf2,
3484         floordf2, ceildf2, btruncdf2, nearbyintdf2): Disable for
3485         (TARGET_SSE2 && TARGET_SSE_MATH).  Leave patterns enabled for
3486         TARGET_