* c-convert.c: Include c-convert.h.
[official-gcc.git] / gcc / ChangeLog
blob75da4a247d8f39f707516c5825d4216bc7f73627
1 2002-04-05  Andreas Schwab  <schwab@suse.de>
3         * c-convert.c: Include c-convert.h.
4         * Makefile.in (c-convert.o): Updated.
6 2002-04-05  Jakub Jelinek  <jakub@redhat.com>
8         * mklibgcc.in: Use separate libgcc.map for each multilib.
9         * Makefile.in (distclean): Don't remove libgcc.map here.
11 2002-04-05  Jakub Jelinek  <jakub@redhat.com>
13         * Makefile.in (s-mlib): Handle --disable-multilib by separate
14         genmultilib invocation.
16 2002-04-04  Richard Sandiford  <rsandifo@redhat.com>
18         * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs
19         to avoid clash with Irix header file sys/ucontext.h.  Rename gp_regs
20         to num_gprs for symmetry.
21         * config/mips/mips.c: Adjust accordingly.
23 2002-04-04  Neil Booth  <neil@daikokuya.demon.co.uk>
25         * c-common.c (truthvalue_conversion): Rename, update.
26         * c-common.h (c_common_truthvalue_conversion): New.
27         * c-convert.c (convert): Update.
28         * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
29         * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update.
30         * c-typeck.c (build_binary_op, build_unary_op,
31         build_conditional_expr): Update.
32         * fold-const.c (constant_boolean_node, fold): Use langhook.
33         * langhooks-def.h (LANGHOOK_INITIALIZER): Update.
34         * langhooks.h (struct lang_hooks): New hook.
35         * stmt.c (expand_decl_cleanup): Use langhook.
36         * tree.h (truthvalue_conversion): Remove.
37 objc:
38         * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
40 2002-04-05  Alan Modra  <amodra@bigpond.net.au>
42         * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
43         Add rules to make null object file.
45 2002-04-04  Jim Blandy  <jimb@redhat.com>
47         * cppmacro.c (cpp_macro_definition): Do not emit spaces after
48         macro formal parameter names.
50 2002-04-04  David S. Miller  <davem@redhat.com>
52         * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.
54 2002-04-04  Richard Henderson  <rth@redhat.com>
56         PR middle-end/5099
57         * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok.
58         Support copies into and out of memory.  Don't accept allows_reg
59         and allows_mem as gospel.
61 2002-04-04  Richard Henderson  <rth@redhat.com>
63         PR opt/6165
64         * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict.
65         (write_dependence_p): Likewise.
67 2002-04-04  Richard Henderson  <rth@redhat.com>
69         * predict.c (estimate_bb_frequencies): Do frequency calculation
70         with a volatile temporary.
72 2002-04-04  Ulrich Weigand  <uweigand@de.ibm.com>
74         * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define.
76 2002-04-04  Jakub Jelinek  <jakub@redhat.com>
78         PR c++/6119
79         * final.c (final_start_function): Don't bump profile_label_no here...
80         (final_end_function): ...but here.
82 2002-04-04  Jakub Jelinek  <jakub@redhat.com>
84         * config/sparc/sparc.md (pic): New attribute.
85         (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9
86         into stack slots.
87         (split after do_builtin_setjmp_setup): New.
89 2002-04-04  Jakub Jelinek  <jakub@redhat.com>
91         PR fortran/6106
92         * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01
93         change.
95 2002-04-04  Jakub Jelinek  <jakub@redhat.com>
97         * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
98         UNITS_PER_WORD for zero sized aggregates.
100 2002-04-03  David S. Miller  <davem@redhat.com>
102         * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
103         one-character spec for this, just use %(link_gcc_c_sequence).
105 2002-04-03  David S. Miller  <davem@redhat.com>
107         * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian
108         handling.
110 2002-04-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
112         * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move.
113         (DWARF_FRAME_RETURN_COLUMN): Move.
114         (ASM_PREFERRED_EH_DATA_FORMAT): Define.
115         (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define.
116         * pa.c (except.h, predict.h): Include.
117         (FRP): Delete.
118         (store_reg_modify, set_reg_plus_d): Revise prototypes.
119         (output_ascii): Add cast.
120         (store_reg_modify): Revise to add frame notes.
121         (set_reg_plus_d): Likewise.
122         (compute_frame_size): Include space for eh data registers in frame if
123         the current function calls eh_return.
124         (hppa_expand_prologue):  Ensure register %r2 is saved if the current
125         function calls eh_return.  Save eh data registers if the current
126         function calls eh_return.  Fix code to add frame notes.  Emit
127         blockage to prevent insns with frame notes being scheduled in the
128         delay slot of calls.
129         (hppa_expand_epilogue): Restore eh data registers and do final stack
130         adjustment if the current function calls eh_return.  Don't add frame
131         notes.
132         (output_call): Revise for change in length of call insn.  Don't do
133         return pointer adjustment for an unconditional jump in the delay slot
134         of a call when using frame notes.
135         * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility.
136         (EH_RETURN_HANDLER_RTX): Use saved value on stack.
137         (ARG_POINTER_CFA_OFFSET): Define.
138         * pa.md (return_external_pic): New pattern.
139         (prologue): Correct formatting.  Use return_external_pic if current
140         function calls eh_return.
141         (call_internal_symref, call_value_internal_symref,
142         sibcall_internal_symref, sibcall_value_internal_symref): Change default
143         lengths of short, long non-pic, and long pic calls to 8, 68, and 84,
144         respectively.
145         (exception_receiver): Use hppa_pic_save_rtx () to restore pic register.
147         * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to
148         list of targets to check using "nop" insn.
149         * configure: Rebuilt.
151 2002-04-04  Alan Modra  <amodra@bigpond.net.au>
153         * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.
155 2002-04-03  David S. Miller  <davem@redhat.com>
157         * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
158         library sequence passed to the linker.
159         (LINK_COMMAND_SPEC): Use it.
160         * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
161         a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
162         * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
164 2002-04-03  Jason Merrill  <jason@redhat.com>
166         * except.c (struct eh_status): Remove protect_list.
167         (begin_protect_partials, end_protect_partials): Remove.
168         (add_partial_entry): Remove.
169         * except.h: Remove prototypes.
171         * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use
172         expand_decl_cleanup_eh.
174         PR c++/5636
175         * tree.h (CLEANUP_EH_ONLY): New macro.
176         * stmt.c (expand_decl_cleanup_eh): New fn.
177         (expand_cleanups): Check CLEANUP_EH_ONLY.
178         * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
179         Use expand_decl_cleanup_eh.
180         (expand_stmt): Adjust.
181         * c-common.h: Adjust prototype.
183 2002-04-04  Hans-Peter Nilsson  <hp@axis.com>
185         * config/cris/cris.c (cris_target_asm_function_prologue): Cast
186         uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
187         (cris_target_asm_function_epilogue): Ditto.
188         (cris_initial_frame_pointer_offset): Ditto.
189         (cris_simple_epilogue): Ditto.
190         (cris_expand_builtin_va_arg): Variable-size types come in
191         by-reference.
193 2002-04-03  David S. Miller  <davem@redhat.com>
195         * config/sparc/crtfastmath.c (FPRS_NS): Get it right for
196         little-endian.
197         (set_fast_math): Correct 'fsr' type.
199 2002-04-03  Richard Henderson  <rth@redhat.com>
201         PR opt/3569
202         * langhooks.h (lang_hooks.decls.warn_unused_global): New.
203         * toplev.c (check_global_declarations): Use it.
204         * langhooks-def.h (lhd_warn_unused_global_decl): Declare.
205         (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
206         (LANG_HOOKS_DECLS): Add it.
207         * langhooks.c (lhd_warn_unused_global_decl): New.
208         * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
209         * c-objc-common.c (c_warn_unused_global_decl): New.
210         * c-tree.h (c_warn_unused_global_decl): Declare.
211         * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
213 2002-04-03  Neil Booth  <neil@daikokuya.demon.co.uk>
215         * langhooks-def.h (lhd_set_decl_assembler_name,
216         LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New.
217         (LANG_HOOKS_INITIALIZER): Update.
218         * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c
219         * langhooks.h (struct lang_hooks): New hook.
220         * tree.c (set_decl_assembler_name): Move to langhooks.c.
221         (lang_set_decl_assembler_name): Remove.
222         (init_obstacks): Don't set hook.
223         (decl_assembler_name): New function.
224         * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call.
225         (decl_assembler_name): New.
226         (lang_set_decl_assembler_name): Remove.
228 2002-04-03  Jakub Jelinek  <jakub@redhat.com>
230         * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
231         works properly with .hidden symbols.
232         * configure: Rebuilt.
233         * config.in: Rebuilt.
234         * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
235         DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work
236         properly with .hidden symbols.
238 2002-04-03  Jakub Jelinek  <jakub@redhat.com>
240         PR middle-end/6102
241         * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
242         USE argument.
244 2002-04-03  Richard Henderson  <rth@redhat.com>
246         PR opt/4120
247         * sched-rgn.c (sets_likely_spilled): New.
248         (sets_likely_spilled_1): New.
249         (add_branch_dependences): Use it.
251 2002-04-02  Richard Henderson  <rth@redhat.com>
253         PR opt/4311
254         * loop.h (LOOP_FIRST_PASS): New.
255         * loop.c (strength_reduce): Mind it when deciding to unroll.
256         * toplev.c (rest_of_compilation): Set it.
258 2002-04-02  David S. Miller  <davem@redhat.com>
260         * config/sparc/sparc.md (ldd peephole2s): Fix final arg to
261         mems_ok_for_ldd_peep when the order of the loads being examined
262         is reversed.
263         * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon
264         existing comment to increase comprehension of this situation.
266 2002-04-02  Zack Weinberg  <zack@codesourcery.com>
268         * config/sh/sh.md: Don't use union real_extract.
270 2002-04-02  Richard Henderson  <rth@redhat.com>
272         * libgcc2.c (__bb_exit_func): Revert 03-31 change.
274 2002-04-02  David O'Brien  <obrien@FreeBSD.org>
276         * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems,
277         i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-,
278         i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1,
279         i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos,
280         i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd,
281         i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf,
282         i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix,
283         i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout,
284         i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32,
285         i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd,
286         i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems,
287         i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv,
288         i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta,
289         i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd):
290         Include as many configury headers via tm_file as possible.  This
291         includes among others i386/unix.h, i386/bsd.h, i386/gas.h.
292         * config/openbsd-oldgas.h: New file.
293         * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h,
294         config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h,
295         config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h,
296         config/i386/i386-coff.h, config/i386/i386-interix.h,
297         config/i386/iscdbx.h, config/i386/linux-aout.h,
298         config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h,
299         config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h,
300         config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h,
301         config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h,
302         config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h,
303         config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h,
304         config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h,
305         config/i386/vxi386.h: Do not directly include configury headers.
306         * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h:
307         Directly include configury headers that are no longer automatically
308         included by the above headers.
309         * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define.
310         * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h,
311         config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h,
312         config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h,
313         config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h,
314         config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h,
315         config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h
316         (TARGET_VERSION): Define.
317         * config/i386/beos-elf.h, config/i386/freebsd.h,
318         config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h,
319         config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h,
320         config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h,
321         config/i386/sco5.h, config/i386/sysv4.h
322         (TARGET_VERSION): Do not need to protect.
323         * config/i386/freebsd64.h (TARGET_VERSION): Fix style.
324         * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h,
325         config/i386/freebsd-aout.h, config/i386/i386-aout.h,
326         config/i386/i386-interix.h, config/i386/linux-aout.h,
327         config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h,
328         config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h
329         (YES_UNDERSCORES): Do not define - not needed.
330         * config/i386/bsd.h, config/i386/gas.h (LPREFIX,
331         ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
332         USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case.
333         * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h
334         (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
335         USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case)
336         * config/i386/isc.h: Preserve comment from config/i386/isccoff.h.
337         * config/i386/isccoff.h, config/i386/v3gas.h: Remove.
339 2002-04-02  Eric Botcazou  <ebotcazou@multimania.com>
340             Richard Henderson  <rth@redhat.com>
342         PR c/5484
343         * function.c (assign_temp): Accept either type or decl argument.
344         Detect variables whose size is too large to fit into an integer.
345         * stmt.c (expand_decl): Pass the decl, not the type.
347 2002-04-02  David O'Brien  <obrien@FreeBSD.org>
349         * protoize.c: Match include directory usage with cppdefault.c.
351 2002-04-03  Jeffrey A Law  (law@redhat.com)
352             Hans-Peter Nilsson  <hp@bitrange.com>
354         * combine.c (simplify_comparison): Avoid narrowing a comparison
355         with a paradoxical subreg when doing so would drop signficant bits.
357 2002-04-02  Steve Ellcey  <sje@cup.hp.com>
359         * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode
360         if POINTERS_EXTEND_UNSIGNED is defined.
362 2002-04-02  Richard Henderson  <rth@redhat.com>
364         PR opt/3967
365         * local-alloc.c (contains_replace_regs): LO_SUM may contain
366         replace regs.
368 2002-04-02  Richard Henderson  <rth@redhat.com>
370         * doc/standards.texi: Document required freestanding libc entry points.
372 2002-04-02  Alan Modra  <amodra@bigpond.net.au>
374         * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
375         associated splitter.  Remove MQ constraint.
376         (ctrdi_internal4): Correct CCmode clobber.
378 2002-04-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
380         * milli64.S ($$dyncall): New function.
381         * t-linux (LIB1ASMFUNCS): Revise module list.
382         (LIB1ASMSRC): Use pa/milli64.S.
384 2002-04-02  Richard Henderson  <rth@redhat.com>
386         * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
387         rename solaris_sys_varargs_h.
389 Tue Apr  2 06:47:40 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
391         * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
392         the same mode as its component.
394 2002-04-02  Richard Henderson  <rth@redhat.com>
396         PR opt/190
397         * final.c (this_is_asm_operands): Export.
398         * output.h (this_is_asm_operands): Declare.
399         * config/i386/i386.c (print_operand): Error odd asm operands.
401 2002-04-02  Richard Henderson  <rth@redhat.com>
403         PR opt/420
404         * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.
406 2002-04-01  Richard Henderson  <rth@redhat.com>
408         PR target/1538
409         * fixinc/inclhack.def (solaris_sys_varargs_h): New.
410         * fixinc/fixincl.x: Rebuild.
412 2002-04-01  Richard Henderson  <rth@redhat.com>
414         * config/ia64/unwind-ia64.c: Include ia64intrin.h.
415         (atomic_alloc, atomic_free): New.
416         (SIZE, MASK_FOR, PTR_IN): New.
417         (emergency_reg_state, emergency_reg_state_free): New.
418         (emergency_labeled_state, emergency_labeled_state_free): New.
419         (reg_state_alloced, labeled_state_alloced): New.
420         (alloc_reg_state, free_reg_state): New.
421         (alloc_label_state, free_label_state, free_label_states): New.
422         (push, pop, dup_state_stack, free_state_stack): Use them.
423         (desc_label_state): Likewise.
424         (uw_frame_state_for): Free label states and state stack.
425         (uw_update_reg_address): Eliminate warnings.
427 2002-04-01  Vladimir Makarov  <vmakarov@redhat.com>
429         * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
430         ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.
432 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
434         * c-decl.c (grokdeclarator): Update.
435         * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
436         * c-tree.h (c_mark_addressable): New.
437         * c-typeck.c (default_function_array_conversion, build_unary_op,
438         build_array_ref, convert_for_assignment): Update.
439         (mark_addressable): Rename.
440         * calls.c (try_to_integrate, expand_call): Use langhook.
441         * expr.c (expand_expr): Use langhook.
442         * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update.
443         * langhooks.h (struct lang_hooks): New hook.
444         * stmt.c (expand_asm_operands): Use langhook.
445         * tree.h (mark_addressable): Remove.
446 objc:
447         * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
449 2002-04-01  Bob Wilson  <bob.wilson@acm.org>
451         * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
452         in previous change.
454 2002-04-01  Bob Wilson  <bob.wilson@acm.org>
456         * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
457         for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
459 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
461         * c-common.c (unsigned_conversion_warning, convert_and_check,
462         unsigned_type, signed_type, shorten_compare,
463         c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
464         (unsigned_type, signed_type, signed_or_unsigned_type): Rename.
465         * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
466         New.
467         * c-decl.c (grokdeclarator): Update.
468         * c-format.c (check_format_types): Update.
469         * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
470         LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
471         * c-typeck.c (build_binary_op, convert_for_assignment): Update.
472         * convert.c (convert_to_integer): Use new hooks.
473         * expmed.c (make_tree): Use new hooks.
474         * expr.c (store_expr): Use new hooks.
475         * fold-const.c (operand_equal_for_comparison_p, build_range_check,
476         all_ones_mask_p, unextend, fold): Use new hooks.
477         * langhooks.h (struct lang_hooks_for_types): New hooks.
478         * tree.h (signed_or_unsigned_type, signed_type,
479         unsigned_type): Remove.
480 objc:
481         * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
482         LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
484 2002-03-31  Richard Henderson  <rth@redhat.com>
486         * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
487         (desc_frgr_mem): Fix reference to f16-f31.
489 2002-03-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
491         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
492         RTVEC_ELT): Const-ify.
493         * varray.h (VARRAY_CHECK): Const-ify.
494         * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
495         ggc_mark_rtvec, ggc_mark): Const-ify.
497 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
499         * diagnostic.c: Include langhooks-def.h.
500         * Makefile.in (diagnostic.o): Update.
502 2002-03-31  Neil Booth  <neil@daikokuya.demon.co.uk>
504         * c-common.c (c_unsafe_for_reeval): Rename.
505         * c-common.h (c_unsafe_for_reeval): Rename.
506         * c-decl.c (finish_incomplete_decl): Rename.
507         (c_init_decl_processing): Don't set langhook.
508         * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
509         LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
510         * c-objc-common.c (c_objc_common_init): Don't set langhook.
511         * c-tree.h (finish_incomplete_decl): Rename.
512         * langhooks-def.h (lhd_unsafe_for_reeval): New.
513         (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New.
514         (LANG_HOOKS_INITIALIZER): Update.
515         * langhooks.c (lhd_unsafe_For_reeval): New.
516         * langhooks.h (struct langhooks): New hooks.
517         * toplev.c (incomplete_decl_finalize_hook): Remove.
518         (wrapup_global_declarations): Update.
519         * tree.c (lang_unsafe_for_reeval): Remove.
520         (unsafe_for_reeval): Update.
521         * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook):
522         Remove.
523 objc:
524         * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
525         LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
527 2002-03-31  Neil Booth  <neil@daikokuya.demon.co.uk>
529         * diagnostic.c (print_error_function): Remove.
530         (default_print_error_function): Rename.
531         (report_error_function): Update.
532         * diagnostic.h (print_error_function): Remove.
533         (default_print_error_function): Remove.
534         * langhooks-def.h (struct diagnostic_context): Predeclare.
535         (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New.
536         (LANG_HOOKS_INITIALIZER): Update.
537         * langhooks.h (struct diagnostic context): Predeclare.
538         (struct lang_hooks): New hook.
540 2002-03-31  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
542         * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
543         (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
544         !flag_pic.
545         (CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
546         * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
547         of PIC_OFFSET_TABLE_REGNUM thruout.
548         * config/rs6000/rs6000.md: Likewise.
549         * config/rs6000/darwin.h: Likewise.
551 Sun Mar 31 14:43:24 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
553         * emit-rtl.c (adjust_address_1, offset_address): Cast value to
554         unsigned HOST_WIDE_INT, not unsigned int.
556 2002-03-31  Jakub Jelinek  <jakub@redhat.com>
558         PR middle-end/6096, middle-end/6098, middle-end/6099
559         * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
560         CODE_LABELs.
561         (fill_slots_from_thread): Likewise.
563 2002-03-31  Jakub Jelinek  <jakub@redhat.com>
565         * config/sparc/sparc.c (function_arg_record_value_1): Pass complex
566         floating fields in float regs.
567         (function_arg_record_value_2): Likewise.
569 2002-03-31  Hans-Peter Nilsson  <hp@bitrange.com>
571         * config/mmix/mmix.md (define_constants): Remove misleading
572         FIXME.  Add MMIX_fp_rO_OFFSET.
573         ("nonlocal_goto_receiver"): Don't have stack-frame address of
574         saved rO as part of the pattern.  Remove FIXME.
575         ("*nonlocal_goto_receiver_expanded"): Similar.  Generate address
576         here, at output-time.
578 2002-03-31  Jakub Jelinek  <jakub@redhat.com>
580         PR middle-end/6100
581         * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
582         REG_BR_PRED.
583         (output_v9branch): Likewise.
585 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
587         * gcc.c: Revert previous patch for now.
588         * config/i386/djgpp.h: Likewise.
590 2002-03-31  Hans-Peter Nilsson  <hp@bitrange.com>
592         * config/mmix/crti.asm (_init): Register _fini with atexit.
593         * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".
595 2002-03-31  Richard Henderson  <rth@redhat.com>
597         PR target/3997
598         * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
599         (ASM_OUTPUT_DEF_FROM_DECLS): New.
601 2002-03-31  Richard Henderson  <rth@redhat.com>
603         * libgcc2.c (__bb_exit_func): Make static.
605         * config/alpha/alpha.md (trap): New.
607 2002-03-31  Richard Henderson  <rth@redhat.com>
609         * builtins.c (expand_builtin_va_arg): Give warnings not errors for
610         promoted argument types; build trap.
611         (expand_builtin_trap): New.
612         (expand_builtin): Use it.
613         * stmt.c (expand_nl_goto_receivers): Likewise.
614         * expr.h (expand_builtin_trap): Declare.
615         * libfuncs.h (LTI_abort, abort_libfunc): New.
616         * optabs.c (init_optabs): Init abort_libfunc.
618 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
620         * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
621         (LINK_COMMAND_SPEC): ... from here.
622         (init_gcc_specs): Duplicate it here too, omitting 
623         shared_name in the second copy.
624         (init_spec): Test for duplicate
625         * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.
627 2002-03-30  David S. Miller  <davem@redhat.com>
629         * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
630         * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.
632 2002-03-30  Roger Sayle <roger@eyesopen.com>
633             Richard Henderson  <rth@redhat.com>
635         * regmove.c (combine_stack_adjustments_for_block): Avoid
636         emitting a stack adjustment of zero bytes.  Let delete_insn
637         update bb->head.
639 2002-03-30  Richard Henderson  <rth@redhat.com>
641         * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
642         (sparc_emitting_epilogue): New.
643         (leaf_label, output_return, sparc_return_peephole_ok): Remove.
644         * config/sparc/sparc-protos.h: Update.
645         * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
646         (TARGET_SWITCHES): Update.
647         * config/sparc/sparc.md (return): Remove.
648         (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
649         * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
650         config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
651         config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
652         config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
653         config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
654         config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
655         Remove MASK_EPILOGUE.
656         * doc/invoke.texi: Update.
658 2002-03-30  Daniel Berlin  <dan@dberlin.org>
660         * dwarf2out.c (dwarf2out_define): Remove start_source_file call,
661         CPP will start the file for us.
663 2002-03-30  Richard Henderson  <rth@redhat.com>
665         PR target/5446
666         * config/ia64/ia64.c (group_barrier_needed_p): Special case
667         prologue_allocate_stack.
668         (ia64_single_set): Use insn codes for recognition of special
669         cases, not rtl matching.
670         * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.
672 Sat Mar 30 23:48:41 CET 2002  Jan Hubicka  <jh@suse.cz>
674         * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks.
676 2002-03-30  Richard Henderson  <rth@redhat.com>
678         PR target/6032
679         * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
680         or -fomit-frame-pointer with profiling.
681         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
682         (FUNCTION_PROFILER): Do nothing.
683         (PROFILE_HOOK): New.
684         * config/sparc/sparc.c (sparc_override_options): Don't check
685         code models for profiling.
686         (sparc_function_profiler): Remove.
687         (sparc_profile_hook): New.
688         * config/sparc/sparc-protos.h: Update.
690 2002-03-30  Jakub Jelinek  <jakub@redhat.com>
692         PR optimization/6086
693         * combine.c (combine_simplify_rtx): If simplify_rtx failed because
694         of SUBREG of volatile MEM or because the MEM was mode dependent,
695         return CLOBBER instead of unmodified SUBREG.
697 Sat Mar 30 14:08:55 CET 2002  Jan Hubicka  <jh@suse.cz>
699         * local-alloc.c (local_alloc): Avoid call of update_equiv_regs
700         when not optimizing.
702         * toplev.c (rest_of_compilation): Cann mark_constant_function
703         only when optimizing.
705         * flow.c (calculate_global_regs_live): Ensure that all AUX fields
706         are NULL.
708         * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK.
709         (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it.
710         (try_optimize_cfg): clear all AUX fields.
712         * i386.c (aligned_operand): Be prepared for SUBREGed registers.
713         (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
714         (ix86_address_cost): Be prepared for SUBREGed registers.
715         (legitimate_address_p): Accept SUBREGed registers.
717 2002-03-29  Richard Henderson  <rth@redhat.com>
719         PR target/5672
720         * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.
722 2002-03-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
724         * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
725         for aggregate and TFmode types.
727 2002-03-29  Hans-Peter Nilsson  <hp@bitrange.com>
729         * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].
731 2002-03-29  Richard Henderson  <rth@redhat.com>
733         PR target/5886
734         * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
735         * config/ia64/hpux.h, config/ia64/linux.h: Likewise.
737 2002-03-29  Richard Henderson  <rth@redhat.com>
739         PR target/6041
740         * config/i386/i386.c (x86_arch_always_fancy_math_387): New.
741         (override_options): Disable NO_FANCY_MATH_387 if the arch allows.
742         * config/i386/i386.h (x86_arch_always_fancy_math_387): New.
743         * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
744         conditional.
745         * docs/invoke.texi: Update -mno-fancy-math-387 docs.
747 2002-03-29  Dale Johannesen <dalej@apple.com>
749         * loop.c (combine_movables): Do allow combination of pseudos.
751 2002-03-29  Loren J. Rittle  <ljrittle@acm.org>
753         * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
754         * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
755         No functional change except ...
756         * config/t-slibgcc-nolc-override (SHLIB_LC): Override it.  New file.
757         * doc/install.texi (*-*-freebsd*): Document port configuration.
759 2002-03-29  Neil Booth  <neil@daikokuya.demon.co.uk>
761         * Makefile.in (convert.o, calls.o, expmed.o): Update.
762         * attribs.c (handle_mode_attribute, handle_vector_size_attribute):
763         Use new hooks.
764         * builtin-types.def (BT_PTRMODE): Update.
765         * c-common.c (type_for_size): Rename c_common_type_for_size.
766         (type_for_mode): Similarly.
767         (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins):
768         Use new hook.
769         * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New.
770         * c-decl.c (finish_enum, build_enumerator): Use new hooks.
771         * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
772         Redefine.
773         * c-typeck.c (common_type, comptypes, default_conversion):
774         Use new hooks.
775         * calls.c: Include langhooks.h.
776         (emit_library_call_value_1): Use new hooks.  Avoid redundant
777         calls.
778         * convert.c: Include langhooks.h
779         (convert_to_pointer, convert_to_integer): Use new hooks.
780         * except.c (init_eh): Similarly.
781         * expmed.c: Include langhooks.h.
782         (expand_mult_add): Use new hooks.
783         * expr.c (store_expr, store_constructor, expand_expr, do_jump,
784         try_casesi): Similarly.
785         * fold-const.c (optimize_bit_field_compare, make_range,
786         decode_field_reference, fold_truthop, fold): Similarly.
787         * function.c (assign_stack_local_1, assign_stack_temp_for_type,
788         put_var_into_stack): Similarly.
789         * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE,
790         LANG_HOOKS_TYPE_FOR_SIZE): New.
791         (LANG_HOOKS_TYPES_INITIALIZER): Update.
792         * langhooks.h (lang_hooks_for_types): New hooks.
793         * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks.
794         * tree.c (get_unwidened, get_narrower): Similarly.
795         * tree.h (type_for_mode, type_for_size): Remove.
796         * varasm.c (force_const_mem): Use new hooks.
797         * utils2.c (nonbinary_modular_operation): Update.
798 objc:
799         * objc-act.c (handle_impent): Update.
800         * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
801         Redefine.
803 2002-03-29  Steve Ellcey  <sje@cup.hp.com>
805         * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New.
806         * config/ia64/ia64.c (basereg_operand): New.
807         * config/ia64/ia64-protos.h (basereg_operand): Declare.
808         * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand.
810 2002-03-29  Hans-Peter Nilsson  <hp@bitrange.com>
812         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
813         unwind information when frame_pointer_needed.
814         (mmix_assemble_integer): Tweak wording in comment.
816 2002-03-29  Neil Booth  <neil@daikokuya.demon.co.uk>
818         * Makefile.in (except.o): Update.
819         * except.c: Include langhooks.h.
820         (init_eh): Use langhook.
821         * langhooks-def.h (LANG_HOOKS_MAKE_TYPE,
822         LANG_HOOKS_FOR_TYPES_INITIALIZER): New.
823         (LANG_HOOKS_INITIALIZER): Update.
824         * langhooks.h (lang_hooks_for_types): New.
825         (struct lang_hooks): Add it.
826         * tree.c (make_lang_type_fn, make_lang_type): Remove.
827         * tree.h (make_lang_type_fn, make_lang_type): Remove.
828 config:
829         * alpha/alpha.c: Include langhooks.h.
830         (alpha_build_va_list): Use langhook.
831         * d30v/d30v.c: Include langhooks.h.
832         (d30v_build_va_list): Use langhook.
833         * i386/i386.c: Include langhooks.h.
834         (ix86_build_va_list): Use langhook.
835         * rs6000/rs6000.c (rs6000_build_va_list): Use langhook.
836         * s390/s390.c: Include langhooks.h.
837         (s390_build_va_list): Use langhook.
838         * stormy16/stormy16.c: Include langhooks.h.
839         (stormy16_build_va_list): Use langhook.
841 2002-03-29  Jakub Jelinek  <jakub@redhat.com>
843         PR c++/5964
844         * config/sparc/sparc.md (empty_delay_slot, branch_type): New
845         attributes.
846         (length): Compute variable length for branches/calls/jumps here.
847         (branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
848         normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
849         define branch_type attribute.
850         (divsi3_sp32): Maximum length is 6 not 7.
851         (call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
852         call_address_untyped_struct_value_sp32,
853         call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
854         * config/sparc/sparc.c (empty_delay_slot): New function.
855         * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
856         * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.
858 2002-03-29  Jakub Jelinek  <jakub@redhat.com>
860         * combine.c (set_nonzero_bits_and_sign_copies): Don't call
861         nonzero_bits if not needed.
862         (nonzero_bits) [XOR]: Likewise.
863         (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
864         reg_last_set_mode and mode are both MODE_INT, but not equal.
865         (record_value_for_reg): Compute reg_last_set_nonzero_bits
866         in nonzero_bits_mode for MODE_INT modes.
868 2002-03-28  Richard Henderson  <rth@redhat.com>
870         PR target/5715
871         * config/alpha/osf.h (ASM_SPEC): Don't pass any special options
872         to GAS.  Correct drift between alternatives.
874 2002-03-28  Richard Henderson  <rth@redhat.com>
876         PR target/6087
877         * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.
879 2002-03-28  Alexandre Oliva  <aoliva@redhat.com>
881         * config/i386/freebsd.h (LINK_SPEC): Don't pass default
882         emulation to the linker.
884 2002-03-28  Loren J. Rittle  <ljrittle@acm.org>
886         * config/alpha/freebsd.h (LINK_SPEC): Likewise.
887         * config/sparc/freebsd.h (LINK_SPEC): Likewise.
889 Thu Mar 28 16:35:31 2002  Jeffrey A Law  (law@redhat.com)
891         * combine.c (simplify_and_const_int): Make sure to apply mask
892         when force_to_mode returns a constant integer.  PR3311.
894 2002-03-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
896         * pa-linux.h (LOCAL_LABEL_PREFIX): Define.
898 2002-03-28  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
900         * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
901         and Objective-C Dialect Options.
903 2002-03-28  Richard Henderson  <rth@redhat.com>
905         * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
906         comparison should be done vs !=0 not >0 return code.  Tidy cases.
908 2002-03-28  Richard Henderson  <rth@redhat.com>
910         * c-decl.c (finish_function): New arg can_defer_p.  Pass it
911         on to c_expand_body.
912         * c-tree.h (finish_function): Update decl.
913         * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.
915 Thu Mar 28 19:13:36 CET 2002  Jan Hubicka  <jh@suse.cz>
917         * ifcvt.c (if_convert): Clear aux_for_blocks early enought.
919 Thu Mar 28 13:21:53 CET 2002  Jan Hubicka  <jh@suse.cz>
921         * rtlanal.c: Include flags.h
922         (may_trap_p): Do not mark FP operations if trapping
923         if !flag_trapping_math
924         * Makefile.in (rtlanal.o): Add dependency on flag.h
925         * ifcvt.c (noce_operand_ok): Avoid the lameness.
927 2002-03-27  Zack Weinberg  <zack@codesourcery.com>
929         * mips.md: Use dconst1, not 1.0, as first argument of
930         REAL_VALUE_LDEXP.  Don't use union real_extract.
932 2002-03-28  Alan Modra  <amodra@bigpond.net.au>
934         * configure.in (gcc_cv_as): Use $target_alias in directory searchs
935         rather than $target.  Heed program_prefix and
936         program_transform_name.  Search for gas in cross-compiler case too.
937         "test -x" rather than "test -f".
938         (gcc_cv_ld): Likewise.
939         (gcc_cv_nm): Heed program_prefix and program_transform_name.
940         (gcc_cv_objdump): Likewise.
941         * configure: Regenerate.
943 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
945         * Makefile.in (attribs.o): Update.
946         * attribs.c: Include langhooks.h.
947         (decl_attributes): Use langhook.
948         * c-decl.c (insert_default_attributes): Rename.
949         * c-tree.h (c_insert_default_attributes): New.
950         * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New.
951         (LANG_HOOKS_INITIALIZER): Update.
952         * langhooks.h (struct lang_hooks): New hook.
953         * tree.h (insert_default_attributes): Remove.
954 objc:
955         * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine.
957 2002-03-27  Andreas Schwab  <schwab@suse.de>
959         * config/i386/i386.c (classify_argument): Also check for
960         QUAL_UNION_TYPE.
962 2002-03-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
964         * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
965         any more.
967 Wed Mar 27 23:19:30 CET 2002  Jan Hubicka  <jh@suse.cz>
969         * i960.md (ret): Set PC.
970         (nonlocal_goto): Fix expander.
971         * builtins.c (epxand_builin_longjmp): Check that we've emitted
972         some jump or call.
974 Wed Mar 27 23:11:35 CET 2002  Jan Hubicka  <jh@suse.cz>
976         * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting
977         of libcall regions.
979 Wed Mar 27 22:54:14 CET 2002  Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
981         * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
982         assigning to BLOCK_FOR_INSN directly.
984 Wed Mar 27 22:33:05 CET 2002  Jan Hubicka  <jh@suse.cz>
986         * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
988 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
990         * c-common.c (c_expand_expr): Fix prototype.
991         * c-common.h (c_expand_expr): Always declare, update.
992         * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
993         * c-objc-common.c (c_objc_common_init): No global hook.
994         * expr.c (expand_expr): Use langhook.
995         * expr.h (enum expand_modifier): Conditionally declare.
996         * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New.
997         (LANG_HOOKS_INITIALIZER): Update.
998         * langhooks.c (lhd_expand_expr): New.
999         * langhooks.h (struct lang_hooks): New hook.
1000         * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete.
1001         (lang_independent_init): Don't default hook.
1002 objc:
1003         * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
1005 2002-03-27  Richard Henderson  <rth@redhat.com>
1007         PR target/6054
1008         * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for
1009         TARGET_CONST_GP.  Simplify conditions.
1011 2002-03-27  Richard Henderson  <rth@redhat.com>
1013         * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
1014         config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
1015         config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.
1017 2002-03-27  Danny Smith  <dannysmith@users.sourceforge.net>
1019         * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32,
1020         TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches.
1021         (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS):
1022         Remove unnecessary masks.
1023         (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit.
1024         (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin,
1025         -mwindows, -mdll switches and their negations.
1027 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
1029         * gcc-common.c (lang_mark_false_label_stack): Remove.
1030         * ggc.h (lang_mark_false_label_stack): Similarly.
1032 2002-03-26  Vladimir Makarov  <vmakarov@redhat.com> 
1034         * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
1036         * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
1037         or __rtems_ is defined.
1039 2002-03-26  Richard Henderson  <rth@redhat.com>
1041         * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
1042         if a non-trivial load was emitted.
1043         (alpha_emit_set_const_1): Remove obsolete extension.  Fix thinko
1044         in high+extra+low case.
1046 2002-03-26  Richard Henderson  <rth@redhat.com>
1048         * config.gcc (sparc*-solaris): Use float_format=sparc.
1050 2002-03-26  Richard Henderson  <rth@redhat.com>
1052         * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
1053         * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
1054         * config/sparc/linux.h, config/sparc/linux64.h: Likewise.
1055         * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
1056         (WINT_TYPE_SIZE): Fix at 32.
1058 2002-03-26  Richard Henderson  <rth@redhat.com>
1060         * toplev.c (rest_of_compilation): Delay emit_initial_value_sets
1061         until after eh landing pad generation.
1062         * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof.
1063         * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs.
1065 2002-03-26  Richard Henderson  <rth@redhat.com>
1067         * expr.h (ADD_PARM_SIZE): One more convert for INC.
1069 2002-03-26  Phil Edwards  <pme@gcc.gnu.org>
1071         * gcc.c (cpp_options):  Preserve relative ordering of -pedantic
1072         and warning switches.
1073         (cc1_options):  Likewise.
1075 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
1077         * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
1078         Restore more of the signal context.  Set no_reg_stack_frame.
1079         * config/ia64/unwind-ia64.c (unw_state_record):
1080         Add no_reg_stack_frame, comments.
1081         (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER.
1082         (uw_update_context): Adjust bsp when unwinding from leaf,
1083         but not signal frame.
1085 2002-03-26  David Edelsohn  <edelsohn@gnu.org>
1087         * config/rs6000/aix51.h (WCHAR_TYPE): Define.
1089 2002-03-26  Bob Wilson  <bob.wilson@acm.org>
1091         * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
1093 2002-03-26  Richard Earnshaw  <rearnsha@arm.com>
1095         PR target/5621
1096         * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
1097         "Add a pool_range attribute", which was lost during the ARM/Thumb
1098         merge.
1100 2002-03-26  Bob Wilson  <bob.wilson@acm.org>
1102         * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
1103         a register into the MAC16 accumulator.
1105 2002-03-26  Andrew Cagney  <ac131313@redhat.com>
1107         * doc/invoke.texi (Option Summary): Mention -Wswitch-enum.
1108         (Warning Options): Document -Wswitch-enum.
1109         * toplev.c (W_options): Add -Wswitch-enum.  Update comment on
1110         -Wswitch.
1111         (warn_switch_enum): Define variables.
1112         * flags.h (warn_switch_enum): Declare variables.
1113         * stmt.c (expand_end_case_type): When warn_switch_enum /
1114         -Wswitch-enum, perform switch checks.
1115         Fix PR c/5044.
1116         
1117 2002-03-26  Richard Earnshaw  <rearnsha@arm.com>
1119         * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi)
1120         (reload_mulsi_compare0_scratch, reload_muladdsi_compare0)
1121         (reload_muladdsi_compare0_scratch): Delete.
1123 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
1125         * doc/install.texi (*-*-freebsd*): Update.
1127 2002-03-26  Richard Henderson  <rth@redhat.com>
1129         * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
1130         (SUB_PARM_SIZE): Cast DEC to ssizetype.
1132         * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK
1133         types from the normal argument frame.
1135         * config/sparc/sparc.c (function_arg_pass_by_reference): Pass
1136         variable sized objects by reference.
1137         (sparc_va_arg): Receive them by reference too.
1139 2002-03-26  Hartmut Penner  <hpenner@de.ibm.com>
1141         * config/s390/s390.c (s390_emit_epilogue): Change epilogue
1142         code to not restoring global registers. 
1144 2002-03-26  Neil Booth  <neil@daikokuya.demon.co.uk>
1146         * Makefile.in (ggc-common.o): Update.
1147         * c-decl.c (lang_mark_tree): Rename c_mark_tree.
1148         * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
1149         * c-tree.h (c_mark_tree): New.
1150         * ggc-common.c: Include langhooks.h.
1151         (gcc_mark_trees): Use new langhook.
1152         * ggc-callbacks.c: Delete file.
1153         * ggc.h (lang_mark_tree): Remove.
1154         * langhooks-def.h (LANG_HOOKS_MARK_TREE): New.
1155         (LANG_HOOKS_INITIALIZER): Update.
1156         * langhooks.h (struct lang_hooks): New hook.
1157 objc:
1158         * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
1160 2002-03-25  Zack Weinberg  <zack@codesourcery.com>
1162         * doc/cpp.texi: Exclude entire Top node from printed manual.
1163         Move option index after directive index.  Insert page breaks
1164         before GFDL and concept index.  Index environment variables
1165         with command line options.
1166         * doc/cppenv.texi: Use @vtable for environment variable list.
1167         Add paragraph explaining semantics of empty elements in path
1168         variables.  Exclude a cross-reference to Fishkill from the
1169         manpage.  Remove an unnecessary cross-reference of the entry
1170         right above the referer.  Don't use @anchor in text that goes
1171         into manpage.
1172         * doc/cppopts.texi: Cross-reference the environment variables
1173         section, not the specific environment variable, for consistency.
1175 2002-03-25  Richard Henderson  <rth@redhat.com>
1177         * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes
1178         anywhere in the block.  Don't refer to insns that have been
1179         removed from the chain.  Iterate backward through the new insns.
1180         Don't refer to edges that have been removed.
1182 2002-03-26  Alan Modra  <amodra@bigpond.net.au>
1184         * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct
1185         test for overflow of constant.
1187 2002-03-25  Richard Earnshaw  <rearnsha@arm.com>
1189         PR target/2623
1190         * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
1191         (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
1192         these patterns on arm_archv4.
1194 2002-03-25  Danny Smith  <dannysmith@sourceforge.users.net>
1196         * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned
1197         int".
1199 2002-03-25  Zack Weinberg  <zack@codesourcery.com>
1201         * toplev.c: Don't include setjmp.h.  Kill float_handler_set,
1202         float_handled, float_handler, float_signal, set_float_handler,
1203         and do_float_handler.  Set handler for SIGFPE to crash_signal.
1204         * toplev.h: Don't prototype do_float_handler.
1206         * c-lex.c: Fold parse_float into lex_number.  Make warning
1207         about portability of hex float constants more informative, and
1208         don't issue it on top of a syntax error.
1209         * fold-const.c: Fold const_binop_1 and fold_convert_1 into
1210         their callers.
1211         * real.h: Define REAL_VALUE_ABS here...
1212         * simplify-rtx.c: ... not here.  Fold check_fold_consts,
1213         simplify_unary_real, simplify_binary_real, and
1214         simplify_binary_is2orm1 into their callers.
1215         * tree.c: Fold build_real_from_int_cst_1 into caller.
1217         * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE.
1219         * tsystem.h: Include float.h here...
1220         * libgcc2.c: ... not here.
1222 2002-03-25  Nick Clifton  <nickc@cambridge.redhat.com>
1224         Fixes for: PR bootstrap/3591, target/5676
1225         * config/mcore/mcore.h (CC1_SPEC): Define only if not already
1226         defined.  Do not disable exceptions or rtti.
1227         * config/mcore/mcore-pe.h (CC1_SPEC): Define before including
1228         mcore.h.  Disable exceptions and rtti, since they are not
1229         supported by EPOC.
1231 2002-03-25  Neil Booth  <neil@daikokuya.demon.co.uk>
1233         * c-decl.c (maybe_build_cleanup): Remove.
1234         * expr.c (expand_expr): Use langhook.
1235         * langhooks-def.h (lhd_return_null_tree,
1236         LANG_HOOKS_MAYBE_BUILD_CLEANUP): New.
1237         (LANGHOOKS_INITIALIZER): Update.
1238         * langhooks.c (lhd_return_null_tree): New.
1239         * langhooks.h (struct lang_hooks): New hook.
1240         * tree-inline.c (initialize_inlined_parameters): Use langhook.
1241         * tree.h (maybe_build_cleanup): Remove.
1243 2002-03-25  Jakub Jelinek  <jakub@redhat.com>
1245         * regrename.c (build_def_use): Move recog_memoized
1246         before extract_insn.
1248 2002-03-25  Jakub Jelinek  <jakub@redhat.com>
1250         PR target/6043
1251         * expr.c (emit_group_store): Handle storing into CONCAT.
1253 2002-03-25  Jakub Jelinek  <jakub@redhat.com>
1255         * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and
1256         corresponding MATCH_DUP.
1258 2002-03-24  Richard Henderson  <rth@redhat.com>
1260         * unroll.c (unroll_loop): Zero label_map.
1262         * gcse.c: Include except.h.
1263         * Makefile.in (gcse.o): Update.
1265 2002-03-24  Richard Henderson  <rth@redhat.com>
1267         * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
1268         Do resolve_unique_section before shared data clause.
1270 2002-03-24  Richard Henderson  <rth@redhat.com>
1272         * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
1274 2002-03-24  Richard Henderson  <rth@redhat.com>
1276         * recog.c (peephole2_optimize): Split blocks when EH insns are
1277         generated in the middle of a block.  Do global life update if
1278         zapped EH edges.
1280 2002-03-24  Richard Henderson  <rth@redhat.com>
1282         * mips.c (mips_function_value): Only promote_mode for non-libcalls.
1284 2002-03-24  Neil Booth  <neil@daikokuya.demon.co.uk>
1286         preprocessor/3951
1287         * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
1288         * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD.
1289         (init_dependency_output): Don't make no_output decision here.
1291 2002-03-24  Andrew Cagney  <ac131313@redhat.com>
1293         * stmt.c (check_for_full_enumeration_handling): Remove tests of
1294         warn_switch.  Update description.
1295         (expand_end_case_type): Call check_for_full_enumeration_handling
1296         when warn_switch.
1298 2002-03-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1300         * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
1301         (m68hc11_split_move): Call it to see if the source and destination
1302         operands use the same direction auto inc/dec mode, otherwise make the
1303         source an offsetable memory operand and generate an add.
1305 2002-03-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1307         * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address
1308         register for operand 2.
1309         ("*subsi3_zero_extendqi"): Likewise.
1310         ("*iorhi3_gen"): Do the operation on the upper bits and then lower
1311         bits so that it is compatible with a pop.
1312         ("*andhi3_gen"): Likewise.
1313         ("xorhi3"): Likewise.
1315 2002-03-24  Neil Booth  <neil@daikokuya.demon.co.uk>
1317         * cppinit.c (cpp_handle_option): Set warn_endif_labels if
1318         -pedantic here...
1319         (cpp_post_options): ... not here.
1321 2002-03-24  Neil Booth  <neil@daikokuya.demon.co.uk>
1322             Aldy Hernandez  <aldyh@redhat.com>
1324         Removal of separate preprocessor cpp0.
1326         * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS,
1327         cpp0, install-common): Update.
1328         * c-common.c (flag_preprocess_only): New.
1329         (c_common_init): Preprocess for -E.
1330         * c-common.h (flag_preprocess_only): New.
1331         * c-decl.c (c_decode_option): Handle -E and -std=c++98.
1332         * c-objc-common.c (c_init_decl_processing): Exit quickly
1333         for NULL return from c_common_init.
1334         * cpplib.h (cpp_preprocess_file): New.
1335         * cppmain.c (main, general_init, pfile, progname): Remove.
1336         (do_preprocessing): Rename cpp_preprocess_file, don't call
1337         cpp_finish.  Don't close stdout here.
1338         (setup_callbacks): Update prototype.
1339         * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers):
1340         Update.
1341         * tradcpp.c (main): Ignore -quiet.
1342 objc:
1343         * lang-specs.h (default_compilers): Preprocess with cc1obj.
1345 2002-03-24  Richard Henderson  <rth@redhat.com>
1347         PR optimization/5742
1348         * machmode.def: Add inner mode field to complex modes.
1349         * config/mips/mips.c (mips_function_value): Always define.  Add
1350         new argument to handle libcalls.
1351         * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value.
1352         (FUNCTION_VALUE): Likewise.
1353         * config/mips/abi64.h (FUNCTION_VALUE): Remove.
1354         * config/mips/mips-protos.h: Update.
1356 2002-03-23  Richard Henderson  <rth@redhat.com>
1358         * config/sparc/sparc.c (sparc_emit_floatunsdi): New.
1359         * config/sparc/sparc-protos.h: Update.
1360         * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New.
1362 2002-03-23  Richard Henderson  <rth@redhat.com>
1364         * config/sparc/gmon-sol2.c (internal_mcount): Assume either
1365         _start or _init begins the text segment.
1367 2002-03-23  David Edelsohn  <edelsohn@gnu.org>
1369         * config/rs6000/rs6000.h (RETURN_IN_MEMORY):  Cast to HOST_WIDE_INT
1370         not HOST_WIDEST_INT.
1371         (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes.
1373 2002-03-23  Richard Earnshaw  <rearnsha@arm.com>
1375         PR java/5489
1376         * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the
1377         operand argument to output_return_instruction.
1378         * arm.c (arm_print_operand, case 'd'): If the operand is
1379         const_true_rtx then just return.
1380         (arm_print_operand, case 'D'): If the operand is const_true_rtx
1381         then abort.
1383 2002-03-23  Andrew Cagney  <ac131313@redhat.com>
1385         * doc/invoke.texi (Option Summary): Mention -Wswitch-default.
1386         (Warning Options): Document -Wswitch-default.
1387         * toplev.c (W_options): Add -Wswitch-default.  Update comment on
1388         -Wswitch.
1389         (warn_switch_default): Define variable.
1390         (warn_switch): Update comment.
1391         * flags.h (warn_switch_default): Declare variable.
1392         (warn_switch): Update comment.
1393         * stmt.c (expand_end_case): Check for and, when
1394         warn_switch_no_default, warn of a missing default case.
1396 2002-03-23  Alan Modra  <amodra@bigpond.net.au>
1398         * real.h (N): Special case 128 bit doubles.
1400         * combine.c (simplify_comparison): When widening modes, ignore
1401         sign extension on CONST_INTs.
1403 2002-03-22  Bob Wilson  <bob.wilson@acm.org>
1405         * config/xtensa/xtensa.c (print_operand): Fix incorrect mode
1406         passed to adjust_address.  Fix comment formatting.
1409 2002-03-22  Zack Weinberg  <zack@codesourcery.com>
1411         * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE.
1412         Always make REAL_VALUE_TYPE a struct containing an array of
1413         HOST_WIDE_INT, not a double.  Tidy up the code deciding how
1414         big it is.  Don't declare or use union real_extract.
1416         * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1,
1417         decode_rtx_const, output_constant_pool), config/a29k/a29k.c
1418         (print_operand), config/arm/arm.c (output_move_double),
1419         config/arm/arm.md (consttable_4, consttable_8),
1420         config/romp/romp.c (output_fpops), config/s390/s390.h
1421         (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c
1422         (xtensa_output_literal): Don't use union real_extract.
1424         * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c
1425         (sfmode_constant_to_ulong), config/ns32k/merlin.h
1426         (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand),
1427         config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h
1428         (PRINT_OPERAND): Don't use local version of union
1429         real_extract.
1431         * config/convex/convex.c (check_float_value), config/vax/vax.c
1432         (vax_float_literal), config/m88k/m88k.md (divdf3),
1433         config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2),
1434         config/pdp11/pdp11.c (output_move_quad): Don't do host
1435         arithmetic on target floating point quantities.
1437         * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c
1438         (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT.
1440         * fold-const.c (fold), simplify-rtx.c (simplify_binary_real):
1441         Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY.
1443         * real.c (earith): Test INFINITY rather than REAL_INFINITY;
1444         NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef
1445         INFINITY.
1446         * print-rtl.c (print_rtx): Disable code which needs
1447         floating-point emulator.
1448         * libgcc2.c: Include float.h and use DBL_MANT_DIG,
1449         FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than
1450         depending on HOST_FLOAT_FORMAT to be defined properly.
1452         * config/1750a/1750a.c (get_double, float_label): Delete.
1453         (print_operand): Delete huge commented-out chunk.  Use
1454         REAL_VALUE_TO_DECIMAL.
1455         * config/1750a/1750a-protos.h: Delete prototypes of deleted
1456         functions.
1457         * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to
1458         IEEE_FLOAT_FORMAT.
1459         * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]):
1460         Use REAL_VALUE_TO_DECIMAL as ELF version does.
1461         * config/m88k/m88k.c (real_power_of_2_operand,
1462         legitimize_operand): Take the REAL_VALUE_TYPE and/or union
1463         real_extract out of the union; run the input through
1464         REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords
1465         from that into the union.
1466         * config/pdp11/pdp11.c (output_move_double): Rearrange
1467         parentheses to make automatic indenter happy.
1469         * doc/tm.texi (Cross-compilation): Rename node to "Floating
1470         Point" and rewrite to describe current situation.  Also adjust
1471         documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to
1472         match code.
1473         * doc/rtl.texi: Adjust cross reference.
1475 2002-03-22  Bob Wilson  <bob.wilson@acm.org>
1477         * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
1478         (xtensa_valid_move, xtensa_preferred_reload_class): Define.
1479         * config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
1480         (xtensa_valid_move, xtensa_preferred_reload_class): Define to
1481         prevent use of sp as a reload register.
1482         (xtensa_emit_move_sequence): Use xtensa_valid_move instead of
1483         non_acc_reg_operand.
1484         * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
1485         (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
1486         * config/xtensa/xtensa.md (movsi_internal, movhi_internal,
1487         movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.
1489 2002-03-22  Neil Booth  <neil@daikokuya.demon.co.uk>
1491         * cpphash.h (struct cpp_reader): Remove mls_line and mls_col.
1492         * cpplex.c (unterminated): Delete.
1493         (parse_string): No string literal may extend over multiple
1494         lines.  Suppress the error when preprocessing assembly.
1495         * cppmain.c (scan_translation_unit): Strings are single-line.
1497         * doc/cpp.texi: Update to match.
1499 2002-03-22  Jakub Jelinek  <jakub@redhat.com>
1501         PR optimization/5854
1502         * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
1503         Shut up warnings.
1504         (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
1505         (EXTRA_CONSTRAINT): Use S for non-push memory operand.
1506         * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
1507         const0 if scratch register was not allocated.
1508         (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
1509         m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
1510         with GEN_INT (...).
1511         (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
1512         * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
1513         with GEN_INT (...) everywhere.  Remove constraints in define_split
1514         patterns.
1515         (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
1516         require scratch register for setting 0 into regs/non-pushable memory.
1518 2002-03-22  Alexandre Oliva  <aoliva@redhat.com>
1520         * config/mips/mips.h (MASK_RETURN_ADDR): Define.
1521         (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
1523 2002-03-22  Phil Edwards  <pme@gcc.gnu.org>
1525         * cpplib.h (struct cpp_options):  New member, warn_endif_labels.
1526         * cppinit.c (cpp_create_reader):  On by default.
1527         (cpp_handle_option):  Handle -W[no-]endif-labels.
1528         (cpp_post_options):  Also enable if -pedantic.
1529         * cpplib.c (do_else):  Use it.
1530         (do_endif):  Likewise.
1531         * doc/cppopts.texi:  Document new option.
1532         * doc/invoke.texi:  Document new option.
1534 2002-03-22  Lars Brinkhoff  <lars@nocrew.org>
1536         * config/i386/i386.c, config/i386/i386.md: Change all occurences
1537         of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...).
1539 2002-03-22  Alexandre Oliva  <aoliva@redhat.com>
1541         * flow.c (calculate_global_regs_live): Clear aux fields of
1542         ENTRY and EXIT.
1544 2002-03-22  Jakub Jelinek  <jakub@redhat.com>
1546         * config/v850/v850.c (v850_reorg): Only call alter_subreg on
1547         REG or MEM subregs, pass rtx * instead of rtx to it.
1548         * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass
1549         rtx * instead of rtx to alter_subreg.
1550         * config/m32r/m32r.c (gen_split_move_double): Likewise.
1551         * config/pj/pj.c (pj_output_rval): Likewise.
1553 2002-03-22  Richard Henderson  <rth@redhat.com>
1555         PR target/3177
1556         * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs.
1557         (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update.
1558         * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs.
1559         (ia64_expand_prologue): Look at int_regs, not words, for number
1560         of incomming int regs.
1562 2002-03-22  Andrew MacLeod  <amacleod@redhat.com>
1564         * expr.c (expand_expr): A RESULT_DECL is part of a call.
1566 Fri Mar 22 16:30:42 CET 2002  Jan Hubicka  <jh@suse.cz>
1568         * toplev.c (flag_loop_optimize, flag_crossjumping):
1569         New static variables.
1570         (rest_of_compilation): Conditionalize crossjumping and
1571         loop optimizer.
1572         (parse_options_and_default_flags): Default loop_optimize and
1573         crossjumping.
1574         (lang_independent_options): Add -fcrossjumping and -floop-optimize
1575         * invoke.texi (crossjumping, loop-optimize): Document.
1577 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
1579         * real.c (eiisneg): Move outside #ifdef NANS.
1581 Fri Mar 22 12:08:36 CET 2002  Jan Hubicka  <jh@suse.cz>
1583         * cfgcleanup.c (outgoing_edges_math): Fix condition; relax
1584         frequencies match; avoid match on different loop depths.
1585         (try_crossjump_to_bb): Kill tests that no longer brings time
1586         savings.
1587         * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth
1588         updating code.
1589         (split_edge): Likewise.
1591         * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized
1592         variable.
1594         * Makefile.in (cfgrtl): Add insn-config.h depenendency.
1595         * cfgrtl.c: Include insn-config.h
1596         (split_block) Dirtify block in presence of conditional execution
1598 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
1600         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine.
1601         * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare.
1602         (function_arg): Constify CUMULATIVE_ARGS.
1603         (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise.
1604         * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT.
1605         (UNITS_PER_DOUBLE): New macro.
1606         (SETUP_INCOMING_VARARGS): Define.  Use mips_setup_incoming_varargs.
1607         (CUMULATIVE_ARGS): Reformat.  Remove num_adjusts workaround and
1608         last_arg_fp field.  Replace arg_words and fp_arg_words with gp_regs,
1609         fp_regs and stack_words.
1610         (EABI_FLOAT_VARARGS_P): New macro.
1611         * config/mips/mips.c (struct mips_arg_info): New.
1612         (mips_arg_info): New function.
1613         (function_arg_advance): Use it.  Add adjustment instructions here
1614         rather than in function_arg.
1615         (function_arg): Constify CUMULATIVE_ARGS.  Use mips_arg_info.  Check
1616         for VOIDmode at the beginning of the function.
1617         (function_partial_nregs): Constify CUMULATIVE_ARGS.  Use mips_arg_info.
1618         (function_arg_pass_by_reference): Likewise.
1619         (mips_setup_incoming_varags): New, largely based on old abi64.h code.
1620         (mips_build_va_list): Test EABI_FLOAT_VARARGS_P.
1621         (mips_va_start): Likewise.  Use the new stack_words field of
1622         CUMULATIVE_ARGS to set up overflow area.  Reformat.
1623         (mips_va_arg): Test EABI_FLOAT_VARARGS_P.  Unify EABI handling of
1624         doubles and other types, aligning the overflow pointer for non-doubles
1625         too.  Remove some code duplication.  Replace hard-coded constants.
1627 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
1629         * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify.
1630         (CLASS_UNITS): Undefine.
1631         (CLASS_MAX_NREGS): Use FP_INC.
1632         * config/mips/mips.c (compute_frame_size): Likewise.
1633         (override_options): Use FP_INC and UNITS_PER_FPVALUE.
1635 2002-03-22  Neil Booth  <neil@daikokuya.demon.co.uk>
1637         * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust
1638         prototype, and handle lexing numbers and identifiers.
1639         (parse_identifier): Update to new form of parse_slow.
1640         (parse_number): Fast path only, use parse_slow otherwise.
1641         (_cpp_lex_direct): Update calls to parse_number.
1643 2002-03-21  DJ Delorie  <dj@redhat.com>
1645         * bb-reorder.c (make_reorder_chain_1): Protect against
1646         when redundant edges are omitted.
1647         * predict.c (dump_prediction): Likewise.
1649 2002-03-21  Richard Henderson  <rth@redhat.com>
1651         PR target/5996
1652         * fixinc/inclhack.def (solaris_stdio_tag): New.
1653         * fixinc/fixincl.x: Regenerate.
1655 2002-03-21  Eric Botcazou <ebotcazou@multimania.com>
1657         PR c/5597
1658         * c-typeck.c (process_init_element): Flag non-static
1659         initialization of a flexible array member as illegal.
1661 2002-03-22  Alan Modra  <amodra@bigpond.net.au>
1663         * config/rs6000/t-linux64: New.
1664         * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and
1665         t-ppccomm.  Use t-rs6000 and t-linux64.
1666         (powerpc64-*-gnu* <tmake_file>): Likewise.
1667         * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
1668         * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo.
1669         * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc.
1671 2002-03-21  Aldy Hernandez  <aldyh@redhat.com>
1673         * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check
1674         flag_really_no_inline instead of optimize == 0.
1676         * c-objc-common.c (c_cannot_inline_tree_fn): Same.
1678         * cp/tree.c (cp_cannot_inline_tree_fn): Same.
1680         * flags.h (flag_really_no_inline): New.
1682         * c-common.c (c_common_post_options): Initialize
1683         flag_really_no_inline.
1685         * toplev.c (flag_really_no_inline): New.
1687 2002-03-21  Jakub Jelinek  <jakub@redhat.com>
1689         * config/avr/avr.md (length): Fix length computation for
1690         conditional branches.
1692 2002-03-21  Neil Booth  <neil@daikokuya.demon.co.uk>
1694         * Makefile.in (fold-const.o, stor-layout.o, stmt.o,
1695         sdbout.o, profile.o): Update.
1696         * c-common.c (c_common_nodes_and_builtins): Use pushdecl
1697         langhook.
1698         * c-common.h (gettags): Move here from tree.h.
1699         * c-tree.h (pushdecl, pushlevel, poplevel, set_block,
1700         insert_block, getdecls, kept_level_p, global_bindings_p): New.
1701         * dbxout.c (dbxout_init): Use getdecls langhook.
1702         * expr.c (expand_expr): Use insert_block langhook.
1703         * fold-const.c: Include langhooks.h.
1704         (fold_range_test, fold_binary_op_with_conditional_arg,
1705         fold): Use global_bindings_p langhook.
1706         * integrate.c (expand_inline_function): Use insert_block langhook.
1707         * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL,
1708         LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P,
1709         LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL,
1710         LANG_HOOKS_GETDECLS): New.
1711         (LANG_HOOKS_INITIALIZER): Update.
1712         * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p
1713         langhook.
1714         * langhooks.h (struct lang_hooks_for_decls): New.
1715         (struct lang_hooks): Update.
1716         * profile.c: Include langhooks.h.
1717         (output_func_start_profiler): Use new langhooks.
1718         * sdbout.c: Include langhooks.h.
1719         (sdbout_init, sdbout_finish): Use getdecls langhook.
1720         * stmt.c: Include langhooks.h.
1721         (expand_fixup, fixup_gotos): Use new langhooks.
1722         * stor-layout.c: Include langhooks.h.
1723         (variable_size): Use global_bindings_p langhook.
1724         * toplev.c (compile_file): Use getdecls langhook.
1725         * tree-inline.c (remap_block): Use insert_block langhook.
1726         * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags,
1727         insert_block, getdecls, kept_level_p, global_bindings_p): Remove.
1729 2002-03-21  Richard Henderson  <rth@redhat.com>
1731         * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic
1732         constants in .data when -fpic.
1734 2002-03-21  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1736         * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux
1737         where appropriate.
1739 2002-03-21  Tom Tromey  <tromey@redhat.com>
1741         * config/i386/sol2.h (ASM_QUAD): Undef.  Fixes PR bootstrap/5948.
1743 Thu Mar 21 09:50:48 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1745         * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse.
1747         * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT.
1749 2002-03-21  Eric Botcazou <ebotcazou@multimania.com>
1750             Richard Henderson  <rth@redhat.com>
1752         PR c/5354
1753         * c-common.c (c_expand_expr): Preserve result of a statement
1754         expression if needed.
1756 2002-03-21  Jakub Jelinek  <jakub@redhat.com>
1758         PR bootstrap/4195
1759         * genrecog.c (maybe_both_true_mode): Remove.
1760         (maybe_both_true_2, write_switch): Revert 2001-07-17 changes.
1761         * machmode.def (Pmode): Likewise.
1763 Thu Mar 21 01:55:06 EST 2002  John Wehle  (john@feith.com)
1765         * alias.c: (nonlocal_mentioned_p): Use for_each_rtx.
1766         (nonlocal_mentioned_p_1): New function.
1767         (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise.
1768         (nonlocal_set_p, nonlocal_set_p_1): Likewise.
1769         (mark_constant_function): Recognize pure functions.
1770         * rtl.h (global_reg_mentioned_p): New prototype.
1771         * rtlanal.c (global_reg_mentioned_p,
1772         global_reg_mentioned_p_1): New function.
1774 2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1776         * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64
1777         UNIX assert.h.
1778         * fixinc/fixincl.x: Regenerate.
1780 2002-03-20  Jason Merrill  <jason@redhat.com>
1782         * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
1784 2002-03-20  Michael Meissner  <meissner@redhat.com>
1786         * doc/invoke.texi (Optimize Options): Document that -O2 sets
1787         -fstrict-aliasing.
1789 2002-03-20  Bob Wilson  <bob.wilson@acm.org>
1791         * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
1792         ".literal_position" directive before the constant pool.
1794 2002-03-20  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1796         * doc/contrib.texi (Contributors): Update Geoffrey Keating.
1797         Add Craig Rodrigues.
1798         Add Brad Lucier to testers.
1800 2002-03-20  Jakub Jelinek  <jakub@redhat.com>
1802         PR target/4792
1803         * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode
1804         to if_then_else.
1805         (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise.
1806         * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached
1807         instead of insn_extract.
1809 2002-03-20  Jakub Jelinek  <jakub@redhat.com>
1811         PR bootstrap/4192
1812         * config/fr30/fr30.md (jump): Remove clobber of fixed register.
1814         * genemit.c (output_added_clobbers_hard_reg_p): Only output return
1815         stmt if some case has been output.
1817 2002-03-20  Jakub Jelinek  <jakub@redhat.com>
1819         PR c/5972
1820         * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
1821         movsfcc_1, movdfcc_1): Add %O2.
1822         * config/i386/i386.c (print_operand): Handle %ON.
1823         Print . before float condition codes in Sun as cmov syntax.
1824         * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
1825         * config.gcc (i[34567]86-*-solaris2*): Remove comment which is
1826         no longer true.
1828 2002-03-20  Philip Blundell  <pb@nexus.co.uk>
1830         * config/arm/arm.c (arm_output_epilogue): Don't generate separate
1831         return instruction if PC was popped.
1833 2002-03-20  Bob Wilson  <bob.wilson@acm.org>
1835         * config/xtensa/xtensa.md: Remove unused type attributes.
1836         (adddi_carry, subddi_carry): Change type attribute to "multi".
1838 2002-03-19  Dale Johannesen  <dalej@apple.com>
1840         PR optimization/5999, middle-end/5731
1841         * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into
1842         multiplications by reciprocals.
1844 2002-03-20  Neil Booth  <neil@daikokuya.demon.co.uk>
1846         * Makefile.in: Update.
1847         * c-common.c: Include langhooks.h.
1848         (inline_forbidden_p): Use new hook.
1849         * diagnostic.c: Include langhooks.h.
1850         (format_with_decl, announce_function,
1851         default_print_error_function): Use new hook.
1852         * dwarf2out.c (dwarf2_name): Use new hook.
1853         * function.c: Include langhooks.h.
1854         (init_function_start): Use new hook.
1855         * langhooks-def.h (lhd_decl_printable_name): New.
1856         (LANGHOOKS_DECL_PRINTABLE_NAME): New.
1857         (LANGHOOKS_INITIALIZER): Update.
1858         * langhooks.c (lhd_decl_printable_name): New.
1859         * langhooks.h (struct lang_hooks): New hook.
1860         * toplev.c (decl_name, decl_printable_name): Remove.
1861         (open_dump_file): Use new hook.
1862         (process_options): Remove old hook.
1863         * tree.h (decl_printable_name): Remove.
1864 objc:
1865         * objc-act.c (objc_init): Remove old hook.
1866         (objc_printable_name): Export.
1867         * objc-act.h (objc_printable_name): New.
1868         * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
1870 2002-03-19  Jim Blandy  <jimb@redhat.com>
1872         * c-lex.c (cb_file_change): Pass the #inclusion's line number to
1873         the start_source_file debug hook, not the current line number.
1875 2002-03-19  Richard Henderson  <rth@redhat.com>
1877         * flow.c (EH_USES): Provide default.
1878         (calculate_global_regs_live): Use it for EH edges and noreturn calls.
1879         * doc/tm.texi (EH_USES): New.
1881         * config/ia64/ia64.c (ia64_eh_uses): New.
1882         * config/ia64/ia64-protos.h: Update.
1883         * config/ia64/ia64.h (EH_USES): New.
1885 2002-03-19  Richard Henderson  <rth@redhat.com>
1887         * varasm.c (output_constant_def): Fix stupid typo.
1889 2002-03-19  Richard Henderson  <rth@redhat.com>
1891         PR 5879
1892         * except.c (current_function_has_exception_handlers): New.
1893         * except.h: Declare it.
1894         * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
1895         Combine tests that disable all sibcalls for the function.
1897 2002-03-19  Olivier Hainque  <hainque@act-europe.fr>
1899         * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
1900         for INTEGER_CST.
1902 2002-03-19  Richard Henderson  <rth@redhat.com>
1904         PR 5977, 5991
1905         * config/ia64/ia64.c: Revert 2002-03-01 patch.
1906         * config/ia64/ia64.h (INIT_EXPANDERS): New.
1908 2002-03-19  Jim Blandy  <jimb@redhat.com>
1910         * cppmacro.c (cpp_macro_definition): Emit a space after the macro
1911         name, even if the replacement list contains no tokens, as required
1912         by Dwarf.
1914 2002-03-19  Jason Merrill  <jason@redhat.com>
1916         * varasm.c (globalize_decl): Get the name from the RTL, not
1917         DECL_ASSEMBLER_NAME.
1919         * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
1921 2002-03-19  Bob Wilson  <bob.wilson@acm.org>
1923         * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3,
1924         subdi_carry): Define.
1926 2002-03-19  David Edelsohn  <edelsohn@gnu.org>
1928         * config/rs6000/rs6000.c (rs6000_override_options): Only warn
1929         about -fpic/-fPIC if extra_warnings set.
1931 2002-03-19  David Edelsohn  <edelsohn@gnu.org>
1933         * expr.c (expand_expr): Sign-extend CONST_INT generated from
1934         TREE_STRING_POINTER.
1935         * fold-const.c (fold): Delete #if 0 ARRAY_REF case.
1937 Tue Mar 19 14:12:32 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1939         * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP
1940         in favor of SP if FRAME_POINTER_REQUIRED is false.
1942 2002-03-19  Lars Brinkhoff  <lars@nocrew.org>
1944         * emit-rtl.c (gen_int_mode): New function.
1945         * rtl.h: Prototype for it.
1946         * combine.c (make_extraction, simplify_comparison), expmed.c
1947         (store_bit_field, expand_mult_highpart, expand_divmod), expr.c
1948         (convert_modes, store_field), optabs.c (expand_fix),
1949         simplify-rtx.c (neg_const_int, simplify_unary_real),
1951         * config/rs6000/rs6000.c, config/rs6000/rs6000.md:
1952         Use it instead of GEN_INT (trunc_int_for_mode (...)).
1954 2002-03-19  Jakub Jelinek  <jakub@redhat.com>
1956         PR c/5656
1957         * langhooks.h (struct lang_hooks_for_tree_inlining): Add
1958         convert_parm_for_inlining.
1959         * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
1960         Define.
1961         * langhooks-def.h: Likewise.
1962         * objc/objc-lang.c: Likewise.
1963         * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
1964         function.
1965         * tree-inline.c (initialize_inlined_parameters):
1966         Call convert_parm_for_inlining lang hook if needed.
1967         * c-typeck.c (c_convert_parm_for_inlining): New function.
1968         * c-tree.h (c_convert_parm_for_inlining): Add prototype.
1970 2002-03-18  Mark Mitchell  <mark@codesourcery.com>
1972         * calls.c (precompute_arguments): Do not assume that temporaries
1973         can be destroyed after expanding the argument.
1974         (expand_call): Likewise.
1976 2002-03-15  Eric Christopher  <echristo@redhat.com>
1978         * config/mips/mips.md (movdf_internal2): Add two new move constraints.
1979         Fix register preference on last change.
1980         * config/mips/mips.c (mips_return_in_memory): New function.
1981         * config/mips/mips.h (RETURN_IN_MEMORY): Use.
1982         * config/mips/mips-protos.h: Declare.
1983         * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above.
1984         * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults.
1986 2002-03-18  Alexandre Oliva  <aoliva@redhat.com>
1988         * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to
1989         a register too.
1990         (anddi3, iorsi3): Likewise.
1992         * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't
1993         use %gprel for symbols that are going to be placed in linkonce
1994         sections.
1996         * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
1997         RETURN_ADDRESS_POINTER_REGNUM to $ra.
1998         (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is
1999         not needed.  Disregard leaf_function_p().
2000         (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to
2001         mips16 frame pointer.
2002         * config/mips/mips.md (store ra): Only to small SP offsets.
2003         2001-08-22  Graham Stott  <grahams@redhat.com>
2004         * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function
2005         return a REG rtx for the return address register.
2007 2002-03-18  Bob Wilson  <bob.wilson@acm.org>
2009         * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
2010         constant-pool addresses as "mode-dependent".
2011         (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments.
2013 2002-03-18  Jakub Jelinek  <jakub@redhat.com>
2015         PR target/5740
2016         * expr.c (emit_group_load): Use extract_bit_field if
2017         needed for CONCAT arguments.
2019 2002-03-18  Richard Earnshaw  <rearnsha@arm.com>
2021         PR target/4863
2022         * arm.md (tablejump): Make this a define_expand.  For PIC add the
2023         offset to the base of the table.
2024         (thumb_tablejump): Matcher for Thumb tablejump insn.
2025         * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
2026         as the difference of two labels.
2027         * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2028         * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
2029         tables in the code.
2030         * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
2031         * arm.c (get_jump_table_size): If the table is not in the text
2032         section, return zero.
2034 2002-03-18  Bernd Schmidt  <bernds@redhat.com>
2036         * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead
2037         of gen_rtx_SUBREG.
2038         (arm_reload_out_hi): Use gen_lowpart instead of
2039         gen_rtx_SUBREG to access QImode components.
2040         * config/arm/arm.md: Disable zero_extend split for QImode
2041         subregs in BIG_ENDIAN mode.
2042         (storehi_bigend): Match use of least significant byte.
2043         (storeinthi): Remove extraneous SUBREG.
2044         Add missing construction of operands[2].
2045         (movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
2046         (movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
2047         Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.
2049 2002-03-18  Aldy Hernandez  <aldyh@redhat.com>
2051         * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to
2052         any_operand.
2054 2002-03-17  Richard Henderson  <rth@redhat.com>
2056         * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
2057         explicitly.
2059 2002-03-17  Hans-Peter Nilsson  <hp@bitrange.com>
2061         * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
2062         (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
2064 2002-03-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2066         * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
2068         * predict.c (estimate_bb_frequencies): Delete unused variables.
2070 2002-03-17  Richard Henderson  <rth@redhat.com>
2072         * config/ia64/ia64.c (ia64_attribute_table): Move before
2073         targetm definition.  Make static.
2075 2002-03-17  Neil Booth  <neil@daikokuya.demon.co.uk>
2077         * c-common.h (yyparse, c_common_parse_file): New.
2078         * c-lang.c: Include c-common.h.
2079         (LANG_HOOKS_PARSE_FILE): Redefine.
2080         * c-lex.c: Include c-common.h.
2081         (yyparse): Rename c_common_parse_file.  Call yyparse.
2082         * c-parse.in (yyparse): Remove macro.
2083         * c-tree.h (yyparse_1): Remove.
2084         * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New.
2085         (LANG_HOOKS_INITIALIZER): Update.
2086         * langhooks.h (struct lang_hoooks): New hook parse_file.
2087         * toplev.c (compile_file): Use parse_file hook.
2088         * tree.h (yyparse): Remove.
2089         * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
2091 2002-03-17  Hans-Peter Nilsson  <hp@bitrange.com>
2093         * config/mmix/mmix.md ("truncdfsf2"): Correct operator is
2094         float_truncate, not fix.
2095         ("*truncdfsf2_real"): Ditto.
2096         ("*nonlocal_goto_receiver_expanded"): Fix output template formatting.
2098         * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.
2100 2002-03-16  Alexandre Oliva  <aoliva@redhat.com>
2102         * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp
2103         (s8), but rather HARD_FRAME_POINTER_REGNUM.  Add parentheses
2104         where appropriate.  Make the second reference to
2105         leaf_function_p a function call, as intended.  Reindented.
2107         * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16.
2108         * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'.
2110         * config/mips/mips.md (addsi3, adddi3): Use scratch register to
2111         add register to non-constant into sp.
2113         * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New.
2114         * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose.
2115         (mips16_gp_pseudo_rtx): Lose.
2116         (INIT_EXPANDERS): Deleted.
2117         * config/mips/mips.c (mips_init_machine_status): New.
2118         (mips_free_machine_status): New.
2119         (mips_mark_machine_status): New.
2120         (override_options): Set them.
2121         (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to...
2122         (struct machine_function): ... new.  Replaced all references.
2123         (mips_add_gc_roots): Don't mark them.
2124         (embedded_pic_fnaddr_reg): New, extracted from...
2125         (embedded_pic_offset): ... here.
2126         * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg.
2127         (movsi): Likewise.
2129 2002-03-16  Neil Booth  <neil@daikokuya.demon.co.uk>
2131         * cppinit.c: Revert -MD removal.
2133 2002-03-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2135         * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
2136         soft registers by default for 68HC12.
2137         (m68hc11_conditional_register_usage): Don't use Z register for 68HC12
2138         when compiling with -fomit-frame-pointer.
2139         (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
2140         (expand_epilogue): Likewise.
2141         (m68hc11_gen_rotate): Use exg when rotating by 8.
2143 2002-03-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2145         * config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
2146         * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
2147         (splits): Remove unused add splits.
2148         ("*addhi3_68hc12"): Tune constraints.
2149         ("addhi_sp"): Try to use X instead of Y in all cases and if the
2150         constant fits in 8-bits and D is dead use abx/aby instructions.
2151         ("*addhi3"): Remove extern declaration of ix_reg.
2152         ("*subsi3"): Optimize and provide new split.
2153         ("subhi3"): Cleanup.
2154         ("*subhi3_sp"): Avoid saving X if we know it is dead.
2155         (arith splits): For 68hc12 save the address register on the stack
2156         and do the arithmetic operation with a pop.
2158 2002-03-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2160         * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
2161         allocating QImode in address registers.
2162         ("*movqi_m68hc11"): Likewise.
2164 Sat Mar 16 12:57:28 CET 2002  Jan HUbicka  <jh@suse.cz>
2166         * cfgcleanup.c (cleanup_cfg): Fix updating of liveness.
2168 2002-03-16  Neil Booth  <neil@daikokuya.demon.co.uk>
2170         * cppinit.c (print_help): Display -MD and -MMD.
2171         Don't display usage string.  Update assertion syntax and
2172         typo.
2173         (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD.
2174         (cpp_handle_option): Update.
2176 2002-03-15  Chris Demetriou  <cgd@broadcom.com>
2178         * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an
2179         MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC,
2180         and define it so that regardless of target CPU size,
2181         __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms
2182         of "int" rather than "long."
2184 2002-03-15  Richard Henderson  <rth@redhat.com>
2186         * config/alpha/alpha.c (alpha_va_arg): Manipulate the type
2187         size as a tree.
2189 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2191         * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
2192         ("tstqi" split): Avoid using memory for tstqi on address register.
2193         (splits): Remove constraints.
2194         ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
2195         ("cmpdf", "cmpsf"): Remove since not used.
2196         ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
2197         (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.
2199 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2201         * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
2202         ("neghi2"): Tighten constraints.
2203         ("one_cmplsi2"): Optimize and simplify split.
2204         * config/m68hc11/larith.asm (__negsi2): Likewise for library.
2206 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2208         * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
2209         and split of AND operation to clear the upper bits.
2210         ("*logicalsi3_zextqi"): Likewise.
2211         ("*logicallhi3_zexthi_ashift8"): Likewise.
2212         ("*logicalsi3_silshr16"): Likewise.
2213         ("logicalsi3_silshl16"): Likewise.
2214         ("anddi3", "iordi3", "xordi3" splits): Remove constraints.
2216 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2218         * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
2219         (m68hc11_indirect_p): New function.
2220         (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
2221         (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
2222         TARGET_M6812.
2223         (asm_print_register): Likewise.
2224         * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
2225         (m68hc11_indirect_p): Declare.
2226         * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
2227         (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
2228         (TARGET_SWITCHES): New option -mrelax.
2229         * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
2230         destination.
2231         ("iorsi3", "xorsi3"): Likewise.
2232         ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
2233         ("*andhi3_mem"): New to handle destination in memory with bclr
2234         and a scratch register.
2235         ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
2236         ("*andhi3_const"): New when operand2 is constant.
2237         ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
2238         ("*andhi3_gen"): Cleanup of the old "andhi3".
2239         ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
2240         ("xorqi3"): Update constraints.
2242 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2244         * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
2245         for reg_equiv_memory_loc when the operand is a register that does
2246         not get a hard register (stack location).
2247         (tst_operand): After reload, accept all memory operand.
2248         (symbolic_memory_operand): Fix detection of symbolic references.
2249         * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
2250         accept symbols and any constant.
2252 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2254         * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
2255         note on the insn that sets the soft frame register.
2256         (must_parenthesize): ix and iy are also reserved names.
2257         (print_operand_address): One more place where parenthesis are required
2258         to avoid confusion with register names.
2259         (m68hc11_gen_movhi): Allow push of stack pointer.
2260         (m68hc11_check_z_replacement): Fix handling of parallel with a
2261         clobber.
2262         (m68hc11_z_replacement): Must update the REG_INC notes to tell what
2263         the replacement register is.
2264         * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
2265         and D8_REGS classes.
2266         (MODES_TIEABLE_P): All modes are tieable except QImode.
2268 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2270         * config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
2271         (___subdi3): Likewise.
2272         (__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
2273         (__map_data_section): Optimize 68hc11 case.
2275 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2277         * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
2278         than a shift to avoid adding a register with itself.
2279         (m68hc11_memory_move_cost): Take into account NO_REGS.
2280         (m68hc11_register_move_cost): Update and use memory move cost
2281         for soft registers.
2282         (m68hc11_address_cost): Make cost of valid offset not 0 so that
2283         it gives more opportunities to cse to optimize.
2284         * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
2285         * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.
2287 2002-03-15  Mark Mitchell  <mark@codesourcery.com>
2289         * c-common.c (statement_code_p): Handle CLEANUP_STMT.
2290         * c-common.def (CLEANUP_STMT): New tree node.
2291         * c-common.h (CLEANUP_DECL): New macro.
2292         (CLEANUP_EXPR): Likewise.
2293         * c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
2294         * expr.c (expand_expr): Tidy.
2295         * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
2296         * tree-inline.c (initialize_inlined_parameters): Clean up
2297         new local variables.
2299 2002-03-15  Jakub Jelinek  <jakub@redhat.com>
2301         PR bootstrap/4128
2302         * config/sparc/sparc.c (gen_v9_scc): Move early clobber test
2303         before movrXX only, use reg_overlap_mentioned_p.
2304         Only special case NE if just one insn can be generated.
2306 2002-03-15  Jason Merrill  <jason@redhat.com>
2308         * varasm.c (assemble_variable): Call resolve_unique_section before
2309         checking DECL_SECTION_NAME.  Use zeros for a decl with DECL_INITIAL
2310         of error_mark_node.
2312 2002-03-15  Richard Earnshaw  <rearnsha@arm.com>
2314         PR target/5170
2315         * arm.md (split pattern for thumb shiftable immediates): Add comment
2316         explaining non-obvious test.
2318 2002-03-15  Richard Earnshaw  <rearnsha@arm.com>
2320         PR target/5712
2321         * arm.md (movaddr, movaddr_insn): Delete.
2323 2002-03-15  Jason Merrill  <jason@redhat.com>
2325         * toplev.c (wrapup_global_declarations): Clarify variable handling.
2326         -fkeep-static-consts doesn't apply to comdats.
2328 2002-03-14  Richard Henderson  <rth@redhat.com>
2330         * c-decl.c: Include c-pragma.h.
2331         (start_decl, start_function): Invoke maybe_apply_pragma_weak.
2332         (finish_function): Tidy.
2333         * c-pragma.c: Include c-common.h.
2334         (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New.
2335         (handle_pragma_weak): Use them.
2336         (init_pragma): Register pending_weaks.
2337         * c-pragma.h (maybe_apply_pragma_weak): Declare.
2338         * print-tree.c (print_node): Print DECL_WEAK.
2339         * varasm.c (mark_weak_decls): Remove.
2340         (remove_from_pending_weak_list): Remove.
2341         (add_weak): Remove.
2342         (asm_emit_uninitialised): Call globalize_decl for weak commons.
2343         (weak_decls): Make a tree_list.
2344         (declare_weak): Cons weak_decls directly.
2345         (globalize_decl): Remove weak_decls elements directly.
2346         (weak_finish): Simplify weak_decls walk.  Don't weaken unused
2347         symbols.  Don't pretend to handle aliases.
2348         (init_varasm_once): Update weak_decls registry.
2349         * Makefile.in: Update dependencies.
2351 2002-03-14  Richard Henderson  <rth@redhat.com>
2353         PR target/5312
2354         * config/ia64/ia64.c: Include tm_p.h last.
2355         (gen_nop_type): Remove duplicate definition.
2356         (cycle_end_fill_slots): Set sched_data for second L slot.
2357         (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots.
2358         (nop_cycles_until): Fix typos.
2360 2002-03-15  Jakub Jelinek  <jakub@redhat.com>
2362         PR optimization/5891
2363         * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.
2365 2002-03-14  David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com>
2367         * config/ia64/unwind-ia64.c: Handle copy_state and label_state
2368           descriptors correctly.
2370 2002-03-14  Michael Meissner  <meissner@redhat.com>
2372         * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to
2373         100, allowing MAX_UNROLLED_INSNS to be overridden.
2375         * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by
2376         --param.
2378         * unroll.c (params.h): Include.
2379         (MAX_UNROLLED_INSNS): Delete, now in params.h.
2381         * doc/invoke.texi (--param max-unroll-insns): Document.
2383         * Makefile.in (unroll.o): Add $(PARAMS_H) dependency.
2385 2002-03-14  Richard Earnshaw  <rearnsha@arm.com>
2387         * arm.md: Fix warnings about constraints in peepholes and splits.
2389 2002-03-14  Zack Weinberg  <zack@codesourcery.com>
2391         * cpphash.h (struct lexer_state): Remove line_extension member.
2392         * cpplib.c (dequote_string, do_linemarker): New functions.
2393         (linemarker_dir): New data object.
2394         (DIRECTIVE_TABLE): No longer need to interpret #line in
2395         preprocessed source.  Delete obsolete comment about return
2396         values of handlers.
2397         (end_directive, directive_diagnostics, _cpp_handle_directive):
2398         Don't muck with line_extension.
2399         (directive_diagnostics): No need to issue warnings for
2400         linemarkers here.
2401         (_cpp_handle_directive): Issue warnings for linemarkers here,
2402         when appropriate.  Dispatch linemarkers to do_linemarker, not
2403         do_line.
2404         (do_line): Code to handle linemarkers split out to do_linemarker.
2405         Convert escape sequences in filename argument, both places.
2407         * cppmacro.c (quote_string): Rename cpp_quote_string and
2408         export.  All callers changed.
2409         * cpplib.h (cpp_quote_string): Prototype.
2410         * cppmain.c (print_line): Call cpp_quote_string on to_file
2411         before printing it.
2413         * doc/cpp.texi: Document that escapes are now interpreted in
2414         #line and in linemarkers, and that non-printing characters are
2415         converted to octal escapes when linemarkers are generated.
2417 Thu Mar 14 19:04:29 CET 2002  Jan Hubicka  <jh@suse.cz>
2419         * emit-rtl.c (try_split): Use delete_insns.
2420         * recog.c (split_all_insns): Fix terminating condition.
2422 2002-03-14  Richard Earnshaw  <rearnsha@arm.com>
2423             Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
2425         PR target/5828
2426         * arm.c (arm_output_epilogue): Fix floating-point register save
2427         adjustment when using a frame pointer.
2429 2002-03-14  Richard Sandiford  <rsandifo@redhat.com>
2431         * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros.
2432         * config/mips/mips.c (compute_frame_size): Retrofit them here.
2433         (save_restore_insns, mips_expand_epilogue): And here.
2434         (build_mips16_call_stub): And here.
2435         (mips_function_value): Use the new macros to decide whether a single
2436         or complex float can be returned in floating-point registers.  Return
2437         a parallel rtx in the complex case.
2439 Thu Mar 14 11:03:12 CET 2002  Jan Hubicka  <jh@suse.cz>
2441         * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup
2442         call after liveness analysis.
2444         * recog.c (split_insn): Use delete_insn_and_edges.
2446         * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump
2447         instructions to have branch prediction notes.
2448         * ia64reorg.c (ia64_reorg): Do not rebuild CFG.
2450 2002-03-14  Geoffrey Keating  <geoffk@redhat.com>
2452         * configure.in: Don't pass -Wno-long-long to a ADA compiler
2453         that doesn't support it.
2454         * configure: Regenerate.
2456 2002-03-13  Jakub Jelinek  <jakub@redhat.com>
2458         PR target/5626
2459         * config/sparc/sparc.md (normal_branch, inverted_branch,
2460         normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
2461         inverted_fp_branch): Adjust calls to output_cbranch.
2462         Set length attribute.
2463         (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
2464         output_v9branch.  Set length attribute.
2465         * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
2466         predicates.
2467         (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
2468         (output_cbranch): Likewise.  Handle far branches.
2469         (output_v9branch): Handle far branches.
2470         * config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
2471         Adjust prototypes.
2472         * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
2473         noov_compare64_op predicates.
2475 2002-03-13  Jason Merrill  <jason@redhat.com>
2477         * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
2478         into the function and constify it.
2479         * gthr-dce.h, gthr-solaris.h: Likewise.
2481 2002-03-13  David Edelsohn  <edelsohn@gnu.org>
2483         * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
2484         * config/rs6000/rs6000.c (rs6000_va_arg): Use
2485         std_expand_builtin_va_arg if not ABI_V4.
2487 2002-03-13  Jason Merrill  <jason@redhat.com>
2489         * varasm.c (globalize_decl): New fn.
2490         (assemble_start_function): Use it.
2491         (asm_emit_uninitialized): Use it.
2492         (assemble_alias): Use it.
2493         (assemble_variable): Use it.
2495 2002-03-13  Hans-Peter Nilsson  <hp@axis.com>
2497         * config/cris/cris.c (cris_target_asm_function_prologue): Revert
2498         2002-03-12 internal visibility change.
2499         (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding
2500         visibility into SYMBOL_REF_FLAG.
2502 2002-03-13  Ulrich Weigand  <uweigand@de.ibm.com>
2504         * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
2505         VOIDmode operand.  Add compile-time optimization for constant results.
2507 2002-03-12  Jason Merrill  <jason@redhat.com>
2509         * c-typeck.c (convert_for_assignment): Don't allow conversions
2510         between pointers and references.  Only allow lvalues to convert to
2511         reference.
2513 2002-03-13  Hartmut Penner  <hpenner@de.ibm.com>
2515         * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
2516         before prologue, to avoid scheduling problems.
2518 2002-03-13  Jakub Jelinek  <jakub@redhat.com>
2520         * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
2521         (ELIMINABLE_REGS): Add sfp->sp.
2522         (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
2524 2002-03-13  Jakub Jelinek  <jakub@redhat.com>
2526         PR optimization/5892
2527         * config/ia64/ia64.c (rotate_one_bundle): Update current packet.
2529 2002-03-13  Jakub Jelinek  <jakub@redhat.com>
2531         * loop.c (basic_induction_var): Don't call convert_modes if mode
2532         classes are different.
2534 2002-03-12  Richard Henderson  <rth@redhat.com>
2536         PR optimization/5901
2537         * function.c (reposition_prologue_and_epilogue_notes): Position
2538         the markers after/before the last/first insn not deleted.
2540 2002-03-12  Richard Henderson  <rth@redhat.com>
2542         PR optimization/5878
2543         * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
2544         config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
2545         (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
2547         * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
2548         config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
2549         PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
2551         * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
2552         * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
2553         (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
2554         also.  Don't set it if not flag_pic.
2555         * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
2556         to be INVALID_REGNUM when not used.
2558 2002-03-13  Aldy Hernandez  <aldyh@redhat.com>
2560         * expmed.c (store_bit_field): Reset alias set for memory.
2561         (extract_bit_field): Same.
2563 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2565         * c-common.c (c_tree_code_type, c_tree_code_length,
2566         c_tree_code_name, add_c_tree_codes): Delete.
2567         * c-common.h (add_c_tree_codes): Delete.
2568         * c-lang.c (tree_code_type, tree_code_length, tree_code_name):
2569         Define.
2570         * c-objc-common.c (c_objc_common_init): Don't call
2571         add_c_tree_codes, instead set lang_unsafe_for_reeval.
2572         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
2573         objc_tree_code_name, add_objc_tree_codes): Delete.
2574         (objc_init): Don't call add_objc_tree_codes.
2575         * objc/objc-lang.c (tree_code_type, tree_code_length,
2576         tree_code_name): Define.
2577         * toplev.c (lang_independent_init): Don't set
2578         tree_code_length[IDENTIFIER_NODE].
2579         * tree.c (tree_code_type, tree_code_length, tree_code_name):
2580         Delete definitions, moved to language front-ends.
2581         * tree.def (IDENTIFIER_NODE): Hardwire the length.
2582         * tree.h (tree_code_type, tree_code_length, tree_code_name):
2583         Const-ify.
2584         (tree_code_length): Change type to unsigned char.
2586 2002-03-12  Richard Henderson  <rth@redhat.com>
2588         * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
2589         internal visibility change.
2591 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
2593         * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
2594         validize_mem() instead of change_address to avoid clobbering
2595         memory attributes.
2597 2002-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
2599         * c-lex.h (position_after_whitespace): Remove.
2601 2002-03-12  Jakub Jelinek  <jakub@redhat.com>
2603         * c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
2604         (lex_string): Use unsigned char pointers.
2606 2002-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
2608         * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
2609         is not a valid memory_operand.
2611 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
2613         * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
2614         * config/xtensa/lib1funcs.asm: Fix copyright to include
2615         special case for libgcc files.
2616         (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
2617         (__divsi3): Likewise.
2618         (__umodsi3): Likewise.
2619         (__modsi3): Likewise.
2620         * config/xtensa/lib2funcs.S: Fix copyright to include
2621         special case for libgcc files.
2623 2002-03-12  Tom Rix  <trix@redhat.com>
2625         * collect2.c (resolve_lib_name): Move outside of
2626         OBJECT_FORMAT_COFF ifdef.
2627         (ignore_library): Same.
2629 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
2631         * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
2633 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
2635         * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
2636         to function_section before writing out the constant pool.
2638 2002-03-12  David Edelsohn  <edelsohn@gnu.org>
2640         * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
2641         zero_constant.
2642         * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting.
2644 2002-03-12  Alan Modra  <amodra@bigpond.net.au>
2646         * config/rs6000/rs6000.md (addsi3): Optimize sign extension.
2647         (adddi3): Likewise.
2648         (movdf): Likewise.
2649         (movdi): Likewise.
2650         (cmpsi splitter): Likewise.
2651         (modsi3): Fail if <= 0.
2652         * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove
2653         redundant test when HOST_BITS_PER_WIDE_INT != 32.
2654         (reg_or_sub_cint64_operand): Likewise.
2655         (num_insns_constant_wide): Optimize sign extension.
2656         (rs6000_legitimize_address): Likewise.
2658 2002-03-12  Andrew MacLeod  <amacleod@redhat.com>
2660         * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
2661         * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
2663 2002-03-12  Andrew MacLeod  <amacleod@redhat.com>
2665         * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
2666         address calculation.
2668 2002-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
2670         * config/s390/s390.md (reload_insi, reload_indi): Change mode of
2671         scratch register to DImode / TImode.
2672         config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
2673         register used does not overlap the target.
2675 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2677         * Makefile.in (debug.o): Depend on debug.h.
2678         * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
2679         * debug.c (do_nothing_debug_hooks): Likewise.
2680         * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
2681         sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
2682         dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
2683         * dwarf2out.c (dwarf2_debug_hooks): Likewise.
2684         * dwarfout.c (dwarf_debug_hooks): Likewise.
2685         * integrate.c (output_inline_function): Likewise.
2686         * objc/objc-act.c (synth_module_prologue): Likewise.
2687         * sdbout.c (sdb_debug_hooks): Likewise.
2688         * toplev.c (debug_hooks): Likewise.
2689         * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
2691 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2693         * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
2694         dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
2695         m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
2696         ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
2697         v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
2698         * defaults.h (POINTER_SIZE): Define.
2699         * doc/tm.texi (POINTER_SIZE): Document default.
2701 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2703         * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
2705 2002-03-11  Richard Henderson  <rth@redhat.com>
2707         * toplev.c (rest_of_compilation): Call purge_all_dead_edges
2708         if rebuild_label_notes_after_reload.
2710 2002-03-12  Hans-Peter Nilsson  <hp@axis.com>
2712         * config/cris/cris.c (cris_target_asm_function_prologue):  Do not
2713         emit pic register load if "internal" visibility.
2714         (cris_print_operand): Avoid traditional-warning for 0xffffffff.
2715         (cris_expand_builtin_va_arg): Do all computations on trees.
2717 2002-03-11  Richard Henderson  <rth@redhat.com>
2719         * rtlanal.c: Include recog.h.
2720         (keep_with_call_p): Fix thinko.
2721         * Makefile.in (rtlanal.o): Update dependencies.
2723 2002-03-11  Chris Meyer  <cmeyer@gatan.com>
2725         * genflags.c (gen_insn): Use IS_VSPACE.
2726         * genoutput.c (output_insn_data): Likewise.
2727         (process_template): Likewise.
2729 2002-03-11  Richard Henderson  <rth@redhat.com>
2731         * toplev.c (rest_of_compilation): Don't compile if we've had errors.
2733 2002-03-11  Neil Booth  <neil@daikokuya.demon.co.uk>
2735         * Makefile.in: Update.
2736         * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
2737         Update documentation.
2738         * doc/gcc.texi: Include cppopts.texi and cppenv.texi.
2739         * doc/cpp.texi: Include cppopts.texi and cppenv.texi.
2741 2002-03-11  Zack Weinberg  <zack@codesourcery.com>
2743         * Makefile.in: Give texi2pod its input file as a command line
2744         argument, not on stdin.
2746 2002-03-11  Dan Nicolaescu  <dann@ics.uci.edu>
2747             Daniel Berlin  <dan@dberlin.org>
2749         C++ alias analysis improvement.
2750         * alias.c (record_component_aliases): Record aliases for base
2751         classes too.
2753 2002-03-11  Ulrich Weigand  <uweigand@de.ibm.com>
2755         * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
2757 2002-03-11  Douglas B Rupp  <rupp@gnat.com>
2759         * toplev.c (vms_fopen): Remove, not needed.
2761         * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
2763         * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
2765         * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
2766         for FP, already done later.
2768         * toplev.c (debug_args): Add entry for VMS_DEBUG.
2769         * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
2771 2002-03-11  Richard Sandiford  <rsandifo@redhat.com>
2773         * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
2774         (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if
2775         LARGEST_EXPONENT_IS_NORMAL for the given mode.
2776         (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO.
2777         * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO.
2778         (ediv, emul, eldexp, esqrt): Likewise.
2779         (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise.
2780         (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL.
2781         (saturate): New function.
2782         (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL.
2783         (make_nan): Use a saturation value instead of a NaN if
2784         LARGEST_EXPONENT_IS_NORMAL.  Warn when this happens.
2785         * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing
2786         inputs if LARGEST_EXPONENT_IS_NORMAL.  Represent subnormals as
2787         zero if NO_DENORMALS.  Only round to nearest if !ROUND_TOWARDS_ZERO.
2788         (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL.
2789         (_fpmul_parts, _fpdiv_parts): Only round to nearest if
2790         !ROUND_TOWARDS_ZERO.
2791         * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document.
2792         (ROUND_TOWARDS_ZERO): Document.
2794 2002-03-11  Andreas Jaeger  <aj@suse.de>
2796         * cfg.c (dump_flow_info): Remove unused variable.
2798 2002-03-11  Hans-Peter Nilsson  <hp@bitrange.com>
2800         * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all
2801         computations on trees.
2803 2002-03-10  Richard Henderson  <rth@redhat.com>
2805         PR 5693:
2806         * reload.c (copy_replacements_1): New.
2807         (copy_replacements): Use it to recurse through the rtx.
2809 2002-03-10  Richard Henderson  <rth@redhat.com>
2811         * loop.c (strength_reduce): Compute number of iterations as
2812         unsigned HOST_WIDE_INT.
2814 2002-03-10  Richard Henderson  <rth@redhat.com>
2816         * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
2817         to move away from the end of the block.
2819 2002-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
2821         PR preprocessor/5899
2822         * cppinit.c (init_dependency_output): Don't ignore -dM etc.
2824 2002-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2826         * mbchar.c (JIS_state_table, JIS_action_table): Const-ify.
2828         * attribs.c (decl_attributes): Fix signed/unsigned warning.
2830 2002-03-10  Hans-Peter Nilsson  <hp@bitrange.com>
2832         * config/mmix/mmix.c: Improve comments.
2833         (mmix_target_asm_function_prologue): Drop variable
2834         empty_stack_frame.  Don't allocate unused slot above fp.
2835         (mmix_target_asm_function_epilogue): Mirror prologue changes.
2836         * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
2837         brace in first column.
2838         (enum reg_class): Ditto.
2839         (FIRST_PARM_OFFSET): Now 0.
2840         (USER_LABEL_PREFIX): Remove #if 0:d definition.
2842 2002-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2844         * combine.c (make_extraction): Fix error in last change.
2846 2002-03-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2848         * c4x.c (c4x_fp_reglist): Const-ify.
2849         * cris.c (cris_print_operand): Likewise.
2850         * i386.c (ix86_va_arg): Likewise.
2851         * ia64/unwind-ia64.c (unw_decode_table): Likewise.
2852         * m32r.c (m32r_hard_regno_mode_ok): Likewise.
2853         * m32r.h (m32r_hard_regno_mode_ok): Likewise.
2854         * mcore.c (regno_reg_class, mcore_unique_section): Likewise.
2855         * mcore.h (regno_reg_class): Likewise.
2856         * mips.c (gen_int_relational): Likewise.
2857         * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise.
2858         * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise.
2859         * pdp11.c (move_costs): Likewise.
2860         * pj.h (INITIALIZE_TRAMPOLINE): Likewise.
2861         * s390.c (s390_branch_condition_mnemonic, regclass_map):
2862         Likewise.
2863         * s390.h (regclass_map): Likewise.
2864         * sh.c (shift_amounts): Likewise.
2865         * sh.md (rotlsi3): Likewise.
2867 2002-03-09  Geoffrey Keating  <geoffk@redhat.com>
2869         * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
2870         (ne0+5): Use new clobber to generate proper shift pattern.
2871         Patch by Michael Matz <matz@kde.org>.
2873 2002-03-09  Andreas Schwab  <schwab@suse.de>
2875         * gcc.c (validate_all_switches): Also handle `%W{...}'.
2877 2002-03-09  Geoffrey Keating  <geoffk@redhat.com>
2879         * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
2881 2002-03-09  Jakub Jelinek  <jakub@redhat.com>
2883         PR middle-end/5877
2884         * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
2885         even for non-representable constants.
2887 Sat Mar  9 07:20:01 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2889         * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
2890         * function.c (fixup_var_refs): Add MAY_SHARE parameter.
2891         (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
2892         (fixup_var_refs_insn, fixup_var_refs_1): Likewise.
2893         (pop_function_context): Compute MAY_SHARE parameter for
2894         fixup_var_refs.
2895         (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
2896         (gen_mem_addressof): Call fixup_var_refs with new parm.
2898         * combine.c (make_extraction): Don't make extension of CONST_INT.
2900 2002-03-09  Alexandre Oliva  <aoliva@redhat.com>
2902         * config/mips/mips.c (function_arg_pass_by_reference): Force to 0
2903         in o32 and o64 ABIs.
2904         * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
2905         but getting fixed-size structs passed in registers regardless of
2906         padding in o32 and o64 ABIs.
2908         * config/mips/mips.c (mips_va_arg): Apply big-endianness address
2909         offset before loading address of argument passed by transparent
2910         reference.
2912 2002-03-08  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2914         * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.
2916 2002-03-09  Alexandre Oliva  <aoliva@redhat.com>
2918         * config/mips/mips.c (mips_expand_prologue): Set regno of vararg
2919         marker such that registers after it are saved.
2921 2002-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2923         * sparc.c (arith_4096_operand): Fix error in last change.
2925 2002-03-08  Alexandre Oliva  <aoliva@redhat.com>
2927         * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
2928         defaults for MEABI.
2930 2002-03-08  Aldy Hernandez  <aldyh@redhat.com>
2932         * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
2933         vectors.
2935 2002-03-08  Aldy Hernandez  <aldyh@redhat.com>
2937         * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
2939 Fri Mar  8 21:27:49 CET 2002  Jan Hubicka  <jh@suse.cz>
2941         * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been
2942         removed; fix return value.
2943         * combine.c (combine_instructions): Dirtify blocks where we failed to
2944         update liveness; purge dead edges; use update_life_info_in_dirty_blocks.
2945         * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine.
2947 2002-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2949         * gcse.c (insert_insn_end_bb): Fix typo in last change.
2951 Fri Mar  8 21:08:52 CET 2002  Jan Hubicka  <jh@suse.cz>
2953         * recog.c (peephole2_optimize): Re-distribute EH edges.
2955 2002-03-08  Neil Booth  <neil@daikokuya.demon.co.uk>
2957         * expr.c (expand_expr): Use unsave lang hook.
2958         * langhooks-def.h (LANG_HOOKS_UNSAVE): New.
2959         (LANG_HOOKS_INITIALIZER): Update.
2960         * langhooks.h (struct lang_hooks): New hook unsave.
2961         * tree.c (lang_unsave, lang_unsave_expr_now): Remove.
2962         (unsave_expr_1): Remove unused lang_unsave_expr_now.
2963         (unsave_expr_now_r): Rename lhd_unsave.  Update. Return input.
2964         (unsave_expr_now): Remove.
2965         * tree.h (unsave_expr_now, lang_unsave,
2966         lang_unsave_expr_now): Remove.
2967         (lhd_unsave): New.
2969 2002-03-08  Andreas Jaeger  <aj@suse.de>
2971         * flow.c (propagate_block_delete_insn): Remove unused variable.
2973 2002-03-08  Kazu Hirata  <kazu@hxi.com>
2975         * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
2976         insn length for memory load/store.
2978 2002-03-08  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2980         * doc/install.texi (--with-libiconv-prefix): Document.
2982 2002-03-08  Michael Y. Brukman  <myb2@cornell.edu>
2984         * doc/sourcebuild.texi: Fix typo.
2986 2002-03-08  Jakub Jelinek  <jakub@redhat.com>
2988         PR c/3711
2989         * builtins.c (std_expand_builtin_va_arg): Do all computations on
2990         trees.
2992 Fri Mar  8 06:48:45 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2994         * rtl.c (copy_most_rtx): Move from here ...
2995         * emit-rtl.c (copy_most_rtx): ... to here.
2997 2002-03-08  Alexandre Oliva  <aoliva@redhat.com>
2999         * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
3000         SUBTARGET_CPP_SIZE_SPEC.
3001         * config/mips/abi64.h (LONG_MAX_SPEC): Delete.
3003         * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
3005 2002-03-07  Matt Hiller  <hiller@redhat.com>
3007         * gensupport.c (first_dir_md_include): Renamed from include;
3008         change all references.
3009         (last_dir_md_include): Renamed from last_include; change all
3010         references.
3011         (init_md_reader): Unconditionally initialize base_dir whether or
3012         not filename is a relative path.
3014 2002-03-07  Alexandre Oliva  <aoliva@redhat.com>
3016         * config/fp-bit.c (_unord_f2): Compile it in even if
3017         US_SOFTWARE_GOFAST is enabled.
3019         * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
3020         NULL_RTX.  Set all HFmode operations as NULL_RTX.
3021         * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
3022         NULL_RTX, try reversing the comparison and the operands.
3024 2002-03-06  Ulrich Weigand  <uweigand@de.ibm.com>
3026         * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
3027         genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
3028         and MATCH_OP_DUP.
3030 Thu Mar  7 16:54:10 CET 2002  Jan Hubicka  <jh@suse.cz>
3032         * reload1.c (reload_cse_delete_noop_set): Purge dead edges.
3034 Thu Mar  7 16:33:54 CET 2002  Jan Hubicka  <jh@suse.cz>
3036         * basic-block.h (fixup_abnormal_edges): Declare.
3037         * reload1.c (fixup_abnormal_edges): New function.
3038         * reg-stack.c (convert_regs): Use it.
3040         * gcse.c (insert_insn_end_bb): Handle trapping insns.
3042         * gcse.c (hash_scan_set): Refuse instructions with EH edges.
3044 2002-03-07  Richard Sandiford  <rsandifo@redhat.com>
3046         * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
3047         (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
3048         * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
3049         (HONOR_SIGN_DEPENDENT_ROUNDING): New.
3050         * builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
3051         * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
3052         unless x and y could be infinite.
3053         (expand_unordered_cmp): New, mostly split from expand_tree_builtin.
3054         Check that the common type of both arguments is a real, even for
3055         targets without unordered comparisons.  Allow an integer argument
3056         to be compared against a real.
3057         (expand_tree_builtin): Use expand_unordered_cmp.
3058         * combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
3059         * cse.c (fold_rtx): Likewise.  Fix indentation.
3060         * fold-const.c (fold_real_zero_addition_p): New.
3061         (fold): Use it, and the new HONOR_... macros.
3062         * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
3063         * jump.c (reversed_comparison_code_parts): After searching for
3064         the true comparison mode, use HONOR_NANS to decide whether it
3065         can be safely reversed.
3066         (reverse_condition_maybe_unordered): Remove IEEE check.
3067         * simplify-rtx.c (simplify_binary_operation): Use the new macros
3068         to decide which simplifications are valid.  Allow the following
3069         simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
3070         and (a - -b) to (a + b).
3071         (simplify_relational_operation): Use HONOR_NANS.
3072         * doc/tm.texi: Document the MODE_HAS_... macros.
3074 2002-03-07  Richard Earnshaw  <rearnsha@arm.com>
3076         * combine.c (simplify_comparison): If simplifying a logical shift
3077         right and compare with constant, force the comparison to unsigned.
3079 2002-03-07  Aldy Hernandez  <aldyh@redhat.com>
3081         * doc/invoke.texi: Add documentation for -mabi=no-altivec.
3083         * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
3084         -mabi=no-altivec
3085         (alt_reg_names): Remove % for vrsave.
3087 2002-03-06  Richard Henderson  <rth@redhat.com>
3089         PR optimization/5844
3090         * genemit.c (gen_exp): New argument used.  Invoke copy_rtx
3091         if used indicates we've already emitted one copy of an operand.
3092         (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
3093         (gen_split): Supply a non-null used.
3095 2002-03-06  Ulrich Weigand  <uweigand@de.ibm.com>
3097         * reload1.c (reload): Unshare all rtl after reload is done.
3099         * simplify-rtx.c (simplify_plus_minus): Do not abort,
3100         but simply fail if the expression is too complex to simplify.
3101         (simplify_gen_binary): Handle simplify_plus_minus failures.
3103 Wed Mar  6 20:32:09 CET 2002  Jan Hubicka  <jh@suse.cz>
3105         * toplev.c (rest_of_compilation): Do jump threading before SSA path;
3106         consistently call delete_trivially_dead_insns after CSE and GCSE;
3107         fix DFI_life dumping; do jump threading after liveness; do crossjumping
3108         after liveness2; update comment in last crossjumping.
3109         * cfgcleanup.c (try_crossjump_to_edge): Dirtify block.
3111 Wed Mar  6 12:27:10 2002  Jeffrey A Law  (law@redhat.com)
3113         * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
3114         after completing fast dead code elimination.
3116         * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
3117         COMPARE operator.
3119 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
3121         * version.c:  Fix misplaced leading blanks on first line.
3123 Wed Mar  6 19:08:03 CET 2002  Jan Hubicka  <jh@suse.cz>
3125         * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
3127 Wed Mar  6 18:14:43 CET 2002  Jan Hubicka  <jh@suse.cz>
3129         * cfgcleanup.c (mentions_nonequal_regs): New function.
3130         (thread_jump): Use it.
3131         * toplev.c (rest_of_compilation): Run jump threading after
3132         liveness.
3134 2002-03-06  Jakub Jelinek  <jakub@redhat.com>
3136         * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
3137         patch.
3139 Wed Mar  6 11:28:19 CET 2002  Jan Hubicka  <jh@suse.cz>
3141         * predict.c (estimate_bb_frequencies): Do not reload the
3142         frequencies from notes.
3144 Wed Mar  6 10:59:39 CET 2002  Jan Hubicka  <jh@suse.cz>
3146         * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
3147         * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare
3149         * basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
3150         delete_noop_moves): Return indeger.
3151         * flow.c (ndead): New variable.
3152         (propagate_block_delete_insn): Use delete_insn_and_edges; remove
3153         BB argument; update callers.
3154         (propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
3155         (life_analysis): Do not call purge_all_dead_edges.
3156         (update_life_info): Return number of deleted insns; print statistics.
3157         (update_life_info_in_dirty_blocks): likewise.
3158         (delete_noop_moves): Use delete_insn_and_edges; print statistics;
3159         return number of insns deleted.
3161         * cse.c: Include timevar.h
3162         (delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
3163         iterate until stabilizes; print statistics; return number of killed
3164         insns.
3165         * Makefile.in: (cse.o): Add timevar.h dependency
3166         * rtl.h (delete_trivially_dead_insns): New.
3167         * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
3168         * toplev.c (rest_of_compilation): Update callers.
3170         * cfgcleanup.c (try_optimize_cfg): Kill blocks.
3171         (try_optimize_cfg): Do not update liveness.
3172         (cleanup-cfg): Loop until try_optimize_cfg and dead code
3173         removal stabilizes; use delete_trivially_dead_insns.
3175         * cfgrtl.c (verify_flow_info): Sanity check outgoing edges.
3177 2002-03-05  Zack Weinberg  <zack@codesourcery.com>
3179         * cppmain.c (setup_callbacks): Disable #pragma and #ident
3180         callbacks when processing assembly language.
3182 2002-03-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3184         * pa.h (ASM_FILE_END): Define.
3185         * som.h (ASM_FILE_END): Delete.
3187         * pa.c (function_arg): Don't pass floats in general registers in
3188         indirect calls if TARGET_ELF32.
3190 2002-03-05  Richard Henderson  <rth@redhat.com>
3192         * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
3194 2002-03-05  Danny Smith  <dannysmith@users.sourceforge.net>
3196         * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.
3198 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
3200         * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
3201         -r command line.  Don't hide any symbols if not building
3202         shared libgcc.
3204 Tue Mar  5 18:31:27 CET 2002  Jan Hubicka  <jh@suse.cz>
3206         * cfg.c (dump_flow_info): Warn about profile mismatches.
3207         * cfgrtl.c (verify_flow_info): Few aditional sanity checks.
3208         (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.
3210 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
3212         * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
3213         wide volatile memory by parts.
3215 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
3217         * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
3218         is NULL.
3220 2002-03-05  Richard Henderson  <rth@redhat.com>
3222         * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
3224 2002-03-04  Geoffrey Keating  <geoffk@redhat.com>
3226         * toplev.c (documented_lang_options): Document more
3227         language-specific options.
3228         * doc/invoke.texi (Warning Options): Correct documentation for
3229         -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
3230         * c-decl.c (c_decode_option): Use a table to handle warning options.
3232 2002-03-05  Hans-Peter Nilsson  <hp@bitrange.com>
3234         * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
3235         parameter to mmix_encode_section_info.
3236         (LINK_SPEC): Don't defsym __.MMIX.start..text if linking
3237         relocatably.  Always produce ELF, not mmo if linking relocatably.
3238         * config/mmix/mmix.c (mmix_encode_section_info): If new parameter
3239         first is non-zero, don't add symbol prefix.
3240         * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
3241         prototype accordingly.
3243 2002-03-04  Krister Walfridsson  <cato@df.lth.se>
3245         * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
3247 2002-03-05  Joseph S. Myers  <jsm28@cam.ac.uk>
3249         * configure.in: Increase required makeinfo version to 4.1.
3250         * configure: Regenerate.
3252 2002-03-04  Geoffrey Keating  <geoffk@redhat.com>
3254         * .cvsignore: Remove *.info* and genrtl*; these files are generated
3255         elsewhere now.
3257 2002-03-04  Joseph S. Myers  <jsm28@cam.ac.uk>
3259         * doc/include/texinfo.tex: Update to version 2002-03-01.06.
3260         * doc/invoke.texi: Fix @math uses.
3262 Mon Mar  4 15:33:54 CET 2002  Jan Hubicka  <jh@suse.cz>
3264         * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
3265         removal
3267 2002-03-03  Aldy Hernandez  <aldyh@redhat.com>
3269         * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
3270         (powerpc-*-eabisimaltivec*): Same.
3272         * config/rs6000/t-ppcendian: New.
3274 2002-03-04  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3276         * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
3277         nonimmediate_src_operand and nonimmediate_lsrc_operand to
3278         disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.
3280 2002-03-03  Richard Henderson  <rth@redhat.com>
3282         * toplev.c (rest_of_decl_compilation): Revert last two changes.
3284 2002-03-03  Zack Weinberg  <zack@codesourcery.com>
3286         * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
3287         print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
3288         tree.c, config/m68k/m68k.c:
3289         Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
3290         REAL_ARITHMETIC blocks unconditional.  Delete some further
3291         #ifdef blocks predicated on REAL_ARITHMETIC.
3292         * flags.h, toplev.c: Delete remaining references to
3293         flag_pretend_float.
3295         * doc/invoke.texi: Remove documentation of -fpretend-float.
3296         * doc/tm.texi: Describe the various REAL_* macros as provided by
3297         real.h, not by the target configuration files.
3299         * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
3300         config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
3301         config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
3302         config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
3303         config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
3304         config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
3305         config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
3306         config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
3307         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
3308         config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
3309         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
3310         config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
3311         config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
3312         config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
3313         config/xtensa/xtensa.h:
3314         Do not define, undefine, or mention in comments any of
3315         REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
3316         REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
3317         REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
3318         REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
3319         REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
3320         REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
3321         REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
3322         REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
3323         REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
3325 2002-03-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3327         * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
3328         convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
3329         i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
3330         m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
3331         pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
3332         stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
3333         Delete.
3334         * defaults.h (BITS_PER_WORD): Define.
3335         * doc/tm.texi (BITS_PER_WORD): Document default value.
3337         * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
3338         m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
3339         stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
3341 2002-03-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3343         * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
3344         lieu of explicit sizeof/sizeof.
3345         * i386.c (override_options, ix86_init_mmx_sse_builtins,
3346         ix86_expand_builtin): Likewise.
3347         * mips.c (mips_add_gc_roots): Likewise.
3348         * mmix.c (mmix_output_condition): Likewise.
3349         * rs6000.c (rs6000_override_options, altivec_expand_builtin,
3350         altivec_init_builtins): Likewise.
3351         * sparc.c (mark_ultrasparc_pipeline_state): Likewise.
3352         * cppexp.c (Nsuff, parse_number): Likewise.
3353         * cppinit.c (builtin_array_end): Likewise.
3354         * gcc.c (n_default_compilers, process_command): Likewise.
3355         * genpreds.c (output_predicate_decls): Likewise.
3356         * ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
3357         * lcm.c (N_ENTITIES): Likewise.
3358         * stor-layout.c (set_sizetype): Likewise.
3360 2002-03-03  Richard Henderson  <rth@redhat.com>
3362         * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
3363         for types or labels.
3365 2002-03-03  Richard Henderson  <rth@redhat.com>
3367         * c-decl.c (start_decl): Initialized variables are not common.
3369 2002-03-02  Per Bothner  <per@bothner.com>
3371         * gcc.c (option_map):  Suport new --bootclasspath option.
3372         --CLASSPATH is now just an alias for --classpath.
3374 2002-03-02  Richard Henderson  <rth@redhat.com>
3376         * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
3377         load if "internal" visibility.
3378         * doc/extend.texi: Document visibility meanings.
3380 2002-03-02  Richard Henderson  <rth@redhat.com>
3382         * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
3383         to functions as well.
3385 2002-03-02  Richard Henderson  <rth@redhat.com>
3387         * attribs.c (handle_alias_attribute): Don't call assemble_alias.
3388         (handle_visibility_attribute): Don't call assemble_visibility.
3389         * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
3390         without asmspec.  Invoke assemble_alias when needed.
3391         * varasm.c (maybe_assemble_visibility): New.
3392         (assemble_start_function, assemble_variable, assemble_alias): Use it.
3394 2002-03-02  Richard Henderson  <rth@redhat.com>
3396         * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
3397         invoke ENCODE_SECTION_INFO with first call flag.
3399         * config/darwin-protos.h, config/darwin.c, config/darwin.h,
3400         config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
3401         config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
3402         config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
3403         config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
3404         config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
3405         config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
3406         config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
3407         config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
3408         config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
3409         config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
3410         config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
3411         config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
3412         config/m68hc11/m68hc11.h, config/m88k/m88k.h,
3413         config/mcore/mcore-protos.h, config/mcore/mcore.c,
3414         config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
3415         config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
3416         config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
3417         config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
3418         config/sh/sh.h, config/sparc/sparc.h,
3419         config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
3420         config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
3421         config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
3422         FIRST argument.  As needed, examine it and do nothing.
3424         * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
3425         config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
3426         config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
3428         * config/arm/t-pe (pe.o): Add dependencies.
3430 2002-03-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3432         * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
3433         cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
3434         i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
3435         mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
3436         pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
3437         vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
3438         * defaults.h (BITS_PER_UNIT): Define.
3439         * doc/tm.texi (BITS_PER_UNIT): Document default value.
3441 2002-03-02  Kazu Hirata  <kazu@hxi.com>
3443         * config/h8300/h8300-protos.h: Add a prototype for
3444         compute_a_shift_length.
3445         * config/h8300/h8300.c (h8300_asm_insn_count): New.
3446         (compute_a_shift_length): Likewise.
3447         (h8300_adjust_insn_length): Do not adjust insn length of shift
3448         insns.
3449         * config/h8300/h8300.md (anonymous shift patterns): Use
3450         compute_a_shift_length.
3452 Sat Mar  2 06:30:14 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3454         * config/sparc/sparc.c (sparc_initialize_trampoline): Use
3455         trunc_int_for_mode.
3457         * emit-rtl.c (offset_address): Call update_temp_slot_address.
3459 2002-03-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3461         * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
3462         * doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
3463         * flags.h (flag_zero_initialized_in_bss): Declare.
3464         * toplev.c (flag_zero_initialized_in_bss): New flag.
3465         (lang_independent_options): Add flag_zero_initialized_in_bss.
3466         * tree.c (initializer_zerop): New function.
3467         * tree.h (initializer_zerop): Declare.
3468         * varasm.c (assemble_variable): If we can emit bss, put zero
3469         initializers in the bss section.
3471 2002-03-02  Alan Modra  <amodra@bigpond.net.au>
3473         * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
3474         like more than one symbol per .weak directive.
3476 2002-03-01  Richard Henderson  <rth@redhat.com>
3478         * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
3479         adjust argument_pointer by pretend_args_size.
3480         (ia64_va_start): Adjust va_start address by -pretend_args_size.
3482 2002-03-01  Kazu Hirata  <kazu@hxi.com>
3484         * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
3486 Fri Mar  1 20:59:14 CET 2002  Jan Hubicka  <jh@suse.cz>
3488         * toplev.c (rest_of_compilation): Delete dead jumptables before
3489         loop.
3490         * flow.c (delete_dead_jumptables): Make global.
3491         * rtl.h (delete_dead_jumptables): Declare.
3493 2002-03-01  David Edelsohn  <edelsohn@gnu.org>
3495         * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
3496         * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
3497         * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete.
3499 2002-03-01  Kazu Hirata  <kazu@hxi.com>
3501         * config/h8300/h8300-protos.h: Fix formatting.
3502         * config/h8300/h8300.c: Likewise.
3503         * config/h8300/h8300.h: Likewise.
3505 2002-03-01  Kazu Hirata  <kazu@hxi.com>
3507         * config/h8300/h8300.c (print_operand): Support 16-bit
3508         constant addresses.
3509         * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
3511 2002-02-28  Richard Henderson  <rth@redhat.com>
3513         * expmed.c (store_bit_field): Prevent generation of CONCATs;
3514         pun complex values as integers; use gen_lowpart instead of
3515         gen_rtx_SUBREG.
3516         (extract_bit_field): Likewise.
3518 2002-03-01  Alan Modra  <amodra@bigpond.net.au>
3519             David Edelsohn  <edelsohn@gnu.org>
3521         * doc/tm.texi (ASM_WEAKEN_DECL): Document.
3522         (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
3523         (SUPPORTS_WEAK): Likewise.
3524         * output.h (add_weak): Add tree param.
3525         * varasm.c (add_weak): Likewise.  Save decl.
3526         (struct weak_syms): Add decl field.
3527         (mark_weak_decls): New function.
3528         (init_varasm_once): ggc_add_root mark_weak_decls.
3529         (assemble_start_function): Use ASM_WEAKEN_DECL.
3530         (assemble_variable): Likewise.
3531         (assemble_alias): Likewise.
3532         (declare_weak): Pass decl to add_weak.
3533         (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
3534         (remove_from_pending_weak_list): Declare and define for
3535         ASM_WEAKEN_DECL.
3536         * c-pragma.c (handle_pragma_weak): Adjust add_weak call.
3537         * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
3538         * defaults.h (SUPPORTS_WEAK): Likewise.
3539         * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
3540         .weak for code sym.  Do emit .size for descriptor sym.
3541         (ASM_DECLARE_FUNCTION_SIZE): Define.
3542         * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
3543         (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here.  Don't output
3544         .lglobl unless TARGET_XCOFF.  Formatting fixes.
3545         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
3546         .weak for code sym.
3547         (HANDLE_PRAGMA_WEAK): Remove.
3548         (ASM_WEAKEN_LABEL): Remove.
3549         * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
3551 2002-03-01  Jason Merrill  <jason@redhat.com>
3553         * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
3554         (TARGET_EXPR_CLEANUP): New macro.
3556 2002-02-28  Steve Ellcey  <sje@cup.hp.com>
3558         * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
3559         to take ptr_extend into account as third type of extension.
3560         (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
3561         fields used by SUBREG_PROMOTED_UNSIGNED_P.
3562         * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
3563         (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
3564         * calls.c (precompute_arguments): Use new macro.
3565         (expand_call): Ditto.
3566         * combine.c (nonzero_bits): Ditto.
3567         (record_promoted_value): Ditto.
3568         * expr.c (store_expr): Ditto.
3569         (expand_expr): Ditto.
3570         * function.c (assign_parms): Ditto.
3572 2002-02-28  Alexandre Oliva  <aoliva@redhat.com>
3574         * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
3575         override -shared and -shared-libgcc.
3577 2002-02-28  David O'Brien  <obrien@FreeBSD.org>
3579         * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
3580         of "ultrasparc".
3581         * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS.  It appears
3582         to be broken.
3584 2002-02-28  Richard Henderson  <rth@redhat.com>
3586         * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
3587         4 cycle latency from MM producers.
3588         (ia64_internal_sched_reorder): Likewise with pipeline flush.
3590 2002-02-28  Jakub Jelinek  <jakub@redhat.com>
3592         * mklibgcc.in: Don't use GNU make extension.
3594 2002-02-28  Neil Booth  <neil@daikokuya.demon.co.uk>
3596         * c-parse.in (STATIC): New terminal.
3597         (scspec): New non-terminal.  Update productions accordingly.
3598         (program): Remove bogus ifc / end ifc.
3599         (array_declarator): Simplify production using STATIC.
3601 2002-02-28  Jim Meyering  <meyering@lucent.com>
3603         * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
3604         \a still means TARGET_BELL.
3606 2002-02-28  Richard Henderson  <rth@redhat.com>
3608         * haifa-sched.c (sched_emit_insn): New.
3609         (schedule_block): Use last_scheduled_insn to track last insn.
3610         * sched-int.h (sched_emit_insn): Prototype.
3611         * config/ia64/ia64.c (last_issued): Remove.
3612         (ia64_variable_issue): Don't set it.
3613         (nop_cycles_until): Use sched_emit_insn.
3615 2002-02-28  Andrew MacLeod  <amacleod@redhat.com>
3617         * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
3618         extended constants.
3620 2002-02-28  Kazu Hirata  <kazu@hxi.com>
3622         * config/h8300/h8300.c: Fix formatting.
3623         * config/h8300/h8300.h: Likewise.
3625 2002-02-28  Marek Michalkiewicz  <marekm@amelek.gda.pl>
3627         * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
3628         which may overwrite the high byte of the frame pointer.
3630 2002-02-28  Bo Thorsen  <bo@suse.de>
3632         * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
3633         (STARTFILE_SPEC): Add 64 bit files.
3634         (ENDFILE_SPEC): Likewise.
3636 2002-02-28  Jason Merrill  <jason@redhat.com>
3638         * c-decl.c (finish_function): Only warn about missing return
3639         statement with -Wreturn-type.
3641 Don Feb 28 11:24:30 CET 2002  Jan Hubicka  <jh@suse.cz>
3643         * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
3645         * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
3646         PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
3648 Don Feb 28 11:07:36 CET 2002  Jan Hubicka  <jh@suse.cz>
3650         * basic-block.h (BB_REACHABLE): Renumber.
3651         (BB_DIRTY, BB_NEW): New flags.
3652         (clear_bb_flags): Declare.
3653         (update_life_info_in_dirty_blocks): Declare.
3654         * cfg.c (clear_bb_flags): New function.
3655         * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
3656         * emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
3657         reorder_insns, emit_insn_after): Mark block as dirty.
3658         * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
3659         (update_life_info_in_dirty_blocks): New function.
3660         * recog.c (apply_change_group): Dirtify block.
3662         * cse.c (cse_insn): Reorder emitting of jump insn to keep
3663         cfg consistent.
3664         * gcse.c (delete_null_pointer_checks): Likewise.
3666         * toplev.c (dump_file_index): Move cse2 after bp,
3667         add DFI_null
3668         (dump_file_info): Similary.
3669         (rest_of_compilation): Avoid most of CFG rebuilds;
3670         do first if converision after null pointer checks, do cse2
3671         after branch prediction; avoid full liveness rebuild after
3672         initializing subregs.
3673         * invoke.texi (-d options): Document -du, renumber.
3675         * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
3676         (notice_new_block): Do not set BB_UPDATE_LIFE.
3677         (try_forward_edges, merge_blocks_move_predecessor_nojumps,
3678          merge_blocks_move_successor_nojumps, merge_blocks,
3679          try_crossjump_to_edge): Likewise.
3680         (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
3681         * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
3682         * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
3683         (merge_of_block): Do not use life_data_ok.
3684         (find_if_case_1): Do not use SET_UPDATE_LIFE.
3685         (if_convert): Use BB_DIRTY mechanizm to update life.
3686         * lcm.c (optimize_mode_switching): Update
3687         update_life_info_in_dirty_blocks
3689 2002-02-28  Neil Booth  <neil@daikokuya.demon.co.uk>
3691         * Makefile.in (integrate.o): Update.
3692         * c-decl.c (copy_lang_decl): Rename.
3693         * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
3694         * integrate.c: Include langhooks.h.
3695         (copy_decl_for_inlining): Update to use langhook.
3696         * langhooks-def.h (lhd_do_nothing_t,
3697         LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
3698         (LANG_HOOKS_INITIALIZER): Update.
3699         * langhooks.c (lhd_do_nothing_t): New.
3700         * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
3701         * tree.h (copy_lang_decl): Remove.
3702 objc:
3703         * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
3705 2002-02-27  Andrew MacLeod  <amacleod@redhat.com>
3707         * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
3708         POST_DEC, and POST_MODIFY.
3710 2002-02-27  Zack Weinberg  <zack@codesourcery.com>
3712         * c-typeck.c (digest_init): Remove unused parameter; all
3713         callers changed.
3715 2002-02-27  Geoffrey Keating  <geoffk@redhat.com>
3717         * expmed.c (expand_shift): Correctly test for low part of a
3718         subreg.
3720 2002-02-27  Ulrich Weigand  <uweigand@de.ibm.com>
3722         * config/s390/s390.c (s390_chunkify_pool): Do not confuse
3723         insn UIDs with insn addresses.
3725 2002-02-27  Zack Weinberg  <zack@codesourcery.com>
3727         * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
3728         c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
3729         cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
3730         builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
3731         gcc.c, toplev.c: Delete code implementing -traditional mode.
3733         * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
3734         doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
3735         Document removal of -traditional mode for compilation, and
3736         remove documentation only relevant to that mode.
3738         * config/nextstep.h, config/ptx4.h, config/svr4.h,
3739         config/convex/convex.h, config/d30v/d30v.h,
3740         config/i386/dgux.h, config/i386/osf1elf.h,
3741         config/i386/osfelf.h, config/i386/osfrose.h,
3742         config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
3743         config/m68k/hp310.h, config/m88k/dgux.h,
3744         config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
3745         config/m88k/m88k.h, config/m88k/openbsd.h,
3746         config/mips/abi64.h, config/mips/osfrose.h,
3747         config/mips/svr4-5.h, config/mips/svr4-t.h,
3748         config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
3749         config/stormy16/stormy16.h: Remove all references to
3750         -traditional from target specs.  Delete all mention of the
3751         no-longer-necessary TRADITIONAL_RETURN_FLOAT macro.  Also
3752         delete a couple of commented-out definitions of
3753         DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
3754         to -traditional.
3756         * system.h: Poison TRADITIONAL_RETURN_FLOAT.
3757         * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
3759 2002-02-27  Zack Weinberg  <zack@codesourcery.com>
3761         * mklibgcc.in: Don't use \n in a line subject to
3762         interpretation by echo.
3764 2002-02-27  Graham Stott  <grahams@redhat.com>
3766         * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
3767         Constify NAME.
3769         * loop.c (prescan_loop): Handle PARALLEL.
3771         * unroll.c (loop_iterations): Return 0 if the add_val for
3772         a BIV is REG.
3774         * final.c (output_operand_lossage): Constify PFX_STR.
3776         * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
3778 Wed Feb 27 10:45:19 CET 2002  Jan Hubicka  <jh@suse.cz>
3780         * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
3781         * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.
3783 Wed Feb 27 10:39:20 CET 2002  Jan Hubicka  <jh@suse.cz>
3785         * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
3787 2002-02-27  Neil Booth  <neil@daikokuya.demon.co.uk>
3789         * cpplex.c (_cpp_lex_token): Handle directives in macro
3790         arguments.
3791         * cpplib.c (_cpp_handle_directive): Save and restore state
3792         if parsing macro args when entering a directive.
3793         * cppmacro.c (collect_args): No need to handle directives
3794         in macro arguments.
3795         (enter_macro_context, replace_args): Use the original macro
3796         definition in case it was redefined whilst collecting arguments.
3797 doc:
3798         * cpp.texi: Update.
3800 2002-02-26  David Edelsohn  <edelsohn@gnu.org>
3802         * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
3803         * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
3804         * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
3805         method on AIX.
3806         * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
3807         (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
3808         (load_toc_v4_PIC_2): Same.
3810 2002-02-26  Alan Modra  <amodra@bigpond.net.au>
3812         * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
3814 2002-02-26  Richard Henderson  <rth@redhat.com>
3816         * config/alpha/alpha.md (ashldi_se): Re-enable.
3818 2002-02-26  Richard Henderson  <rth@redhat.com>
3820         * config/alpha/alpha.c (alpha_encode_section_info): Examine
3821         MODULE_LOCAL_P; improve commentary.
3823 2002-02-26  Zack Weinberg  <zack@codesourcery.com>
3825         * doc/cpp.texi: Clarify documentation of relationship between
3826         #line and #include.
3828 2002-02-26  Kazu Hirata  <kazu@hxi.com>
3830         * config/h8300/h8300-protos.h: Update the prototype for
3831         compute_logical_op_length.  Add the prototype for
3832         compute_logical_op_cc.
3833         * config/h8300/h8300.c (compute_logical_op_length): Figure out
3834         code from operands.
3835         (compute_logical_op_cc): New.
3836         * config/h8300/h8300.md: Combine all the logical op patterns
3837         in HImode and SImode.  Use compute_logical_op_cc.
3839 2002-02-26  Kelley Cook  <kelleycook@comcast.net>
3841         * config/i386/i386.c (print_operand): Don't append ATT-style
3842         length suffixs to x87 opcodes when in Intel mode.
3844 2002-02-26  Ryan T. Sammartino <ryants@shaw.ca>
3846         * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
3847         (init_emit_once): Update calls.
3848         * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
3849         (init_syntax_once): Prototype.
3851 2002-02-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3853         * pa-linux.h (LIB_SPEC): Update definition.
3854         * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
3856 2002-02-26  Richard Henderson  <rth@redhat.com>
3858         * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
3859         if we emitted a stop bit.
3861 2002-02-26  Jakub Jelinek  <jakub@redhat.com>
3863         * configure.in (libgcc_visibility): Substitute.
3864         * configure: Rebuilt.
3865         * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
3866         defined symbols .hidden.
3868 2002-02-26  Jakub Jelinek  <jakub@redhat.com>
3870         * attribs.c (c_common_attribute_table): Add visibility.
3871         (handle_visibility_attribute): New function.
3872         * varasm.c (assemble_visibility): New function.
3873         * output.h (assemble_visibility): Add prototype.
3874         * tree.h (MODULE_LOCAL_P): Define.
3875         * crtstuff.c (__dso_handle): Use visibility attribute.
3876         * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
3877         for MODULE_LOCAL_P symbols too.
3878         * config/ia64/ia64.c (ia64_encode_section_info): Handle
3879         MODULE_LOCAL_P symbols the same way as local symbols.
3880         Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
3881         into .sdata/.sbss by the user.
3882         * doc/extend.texi (Function Attributes): Document visibility
3883         attribute.
3885 2002-02-26  Jakub Jelinek  <jakub@redhat.com>
3887         PR debug/5770
3888         * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
3889         STRING_CST initializer spanning the whole variable without
3890         embedded zeros.
3891         If expand_expr returned MEM, don't use it.
3893 2002-02-26  Alexandre Oliva  <aoliva@redhat.com>
3895         * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
3896         generate a die for the lexical block.
3898 2002-02-26  Kazu Hirata  <kazu@hxi.com>
3900         * config/h8300/h8300-protos.h: Add a prototype for
3901         compute_logical_op_length.
3902         * config/h8300/h8300.c (compute_logical_op_length): New.
3903         * config/h8300/h8300.md (anonymous logical patterns): Use
3904         compute_logical_op_length for length.
3906 2002-02-26  Aldy Hernandez  <aldyh@redhat.com>
3908         * dwarf2out.c (modified_type_die): Do not call type_main_variant
3909         for vectors.
3910         (gen_type_die): Same.
3912         * attribs.c (handle_vector_size_attribute): Set debug information.
3914 2002-02-26  Daniel Egger  <degger@fhm.edu>
3916         * config/rs6000/rs6000.md: Swap define_insn attributes to
3917         fix incorrect generation of merge high instructions instead
3918         of merge low.
3920 2002-02-26  Aldy Hernandez  <aldyh@redhat.com>
3922         * c-typeck.c (really_start_incremental_init): Use
3923         bitsize_zero_node for vectors.
3925 2002-02-26  Aldy Hernandez  <aldyh@redhat.com>
3927         * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
3928         ("*set_vrsave_internal"): Same.
3930 2002-02-25  Richard Henderson  <rth@redhat.com>
3932         * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
3933         in EXPAND_SUM case.  Use host_integerp/tree_low_cst.
3935 2002-02-25  Jakub Jelinek  <jakub@redhat.com>
3937         PR target/5755
3938         * config/i386/i386.c (ix86_return_pops_args): Only pop
3939         fake structure return argument if it was passed on the stack.
3941 2002-02-25  Jason Merrill  <jason@redhat.com>
3943         * attribs.c (decl_attributes): Also re-layout PARM_DECL and
3944         RESULT_DECL.
3946 2002-02-25  Alexandre Oliva  <aoliva@redhat.com>
3948         * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
3949         link with shared_name only.
3950         * doc/invoke.texi (Link Options): Document new behavior.
3952 2002-02-25  Aldy Hernandez  <aldyh@redhat.com>
3954         * c-typeck.c (push_init_level): Handle vectors.
3956 2002-02-25  Alexandre Oliva  <aoliva@redhat.com>
3958         * config/sparc/sparc.c (const64_high_operand): Zero-extend
3959         operands of SPARC_SETHI_P.
3960         (input_operand): Likewise.
3961         (sparc_emit_set_const32): Likewise.
3962         * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
3963         (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
3964         (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'.  Add `N' as SETHI.
3965         * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
3966         (movdi_insn_sp64_vis): Likewise.
3967         (movdi split, movdf split): Use SETHI32.
3968         * doc/md.texi: Document SPARC constraints L, M and N.
3970 2002-02-25  Aldy Hernandez  <aldyh@redhat.com>
3972         * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
3973         ("*set_vrsave_internal"): use mfspr for Darwin.
3975         * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
3976         gen_get_vrsave_internal.
3978 Sun Feb 24 16:38:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3980         * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
3982 2002-02-24  Neil Booth  <neil@daikokuya.demon.co.uk>
3984         * cpplex.c (cpp_interpret_charconst): Get signedness or
3985         otherwise of wide character constants correct.
3986         * cppexp.c (lex): Get signedness of wide charconsts correct.
3988 Sun Feb 24 07:41:31 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3990         * optabs.c (widen_operand): Only call convert_modes for
3991         promoted SUBREG if signedness matches.
3992         * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
3994 2002-02-23  Neil Booth  <neil@daikokuya.demon.co.uk>
3996         * cpplib.c (glue_header_name): Use local buffer to build up
3997         header name.
3999 2002-02-23  Neil Booth  <neil@daikokuya.demon.co.uk>
4001         * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
4003 2002-02-23  Kazu Hirata  <kazu@hxi.com>
4005         * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
4006         H8/300[HS] separately.
4007         * config/h8300/h8300.md: Remove the early clobber constraint
4008         from bit field patterns.
4010 2002-02-23  Kazu Hirata  <kazu@hxi.com>
4012         * config/h8300/h8300.md (mulqihi3): Tighten predicates to
4013         register_operand.
4014         (mulhisi3): Likewise.
4015         (umulqisi3): Likewise.
4016         (umulhisi3): Likewise.
4018 2002-02-23  Neil Booth  <neil@daikokuya.demon.co.uk>
4020         * cppinit.c (output_deps): Correct test for stdout output.
4021         (init_dependency_output): Cure warning.
4023 Sat Feb 23 08:42:47 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4025         * expr.c (store_expr): When converting expression to promoted
4026         equivalent type, allow using SUBREG_REG of TARGET as the target
4027         of the expansion of EXP.
4028         * loop.c (basic_induction_var, case SUBREG): Always look inside.
4029         * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
4030         (alpha_emit_set_const): Handle SImode when can't make new pseudos.
4031         (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
4032         * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
4034 2002-02-23  Joseph S. Myers  <jsm28@cam.ac.uk>
4036         * doc/contribute.texi, doc/extend.texi, doc/install.texi,
4037         doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
4038         doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
4040 2002-02-23  Jakub Jelinek  <jakub@redhat.com>
4042         PR optimization/5747
4043         * loop.c (scan_loop): Update reg info if move_movables created new
4044         pseudos.
4046 2002-02-23  David Edelsohn  <edelsohn@gnu.org>
4048         * gcc.c (init_gcc_spec): Revert last change.
4050 2002-02-23  David Edelsohn  <edelsohn@gnu.org>
4052         * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
4053         gpc_reg_operand constraint.
4055 2002-02-23  Alan Modra  <amodra@bigpond.net.au>
4057         * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
4058         Simplify comparison of `low'.
4059         (add_operand): Fix formatting.
4060         (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
4061         (mask_operand): Disallow mask to wrap in 64-bit mode.
4062         (rs6000_stack_info): Remove redundant test setting push_p.
4063         (output_toc): Fix formatting.
4064         * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
4065         cc_reg_not_cr0_operand constraint.
4066         (booldi3, boolcdi3 splitters): Same.
4068 2002-02-23  Aldy Hernandez  <aldyh@redhat.com>
4070         * config/rs6000/altivec.h: Add extra level of parentheses on casts.
4072 2002-02-22  David Edelsohn  <edelsohn@gnu.org>
4074         * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
4075         gcc invoked with -shared-libgcc.
4077 2002-02-22  Jakub Jelinek  <jakub@redhat.com>
4079         PR c++/5748
4080         * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
4081         decl if any of elements was TREE_USED.
4083 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
4085         * config/sparc/sol2.h: Don't include sys/mman.h.
4086         * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
4087         (arith_4096_operand): Don't throw high bits away.
4088         (const64_operand): Take sign extension of CONST_INTs into account.
4089         (const64_high_operand, sparc_emit_set_const32): Likewise.
4090         (GEN_HIGHINT64): Likewise.
4091         (sparc_emit_set_const64_quick1): Likewise.
4092         (const64_is_2insns): Likewise.
4093         (print_operand): Use trunc_int_for_mode for sign extension.
4094         * config/sparc/sparc.h (SMALL_INT32): Likewise.
4095         * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
4096         chars.  Assume CONST_INT is already properly sign-extended.
4097         (movdi split): Sign-extend each SImode part.
4098         (andsi3 split): Don't mask high bits off, so that result
4099         remains properly sign-extend.
4100         (iorsi3 split): Likewise.
4101         (xorsi3 split): Likewise.
4103 2002-02-22  Richard Sandiford  <rsandifo@redhat.com>
4105         * fold-const.c (fold): Fix typo in comments.
4107 2002-02-21  Diego Novillo  <dnovillo@redhat.com>
4109         * Makefile.in (langhooks.o): Update dependencies.
4111 2002-02-21  Diego Novillo  <dnovillo@redhat.com>
4113         * langhooks.c: Include flags.h.
4115 2002-02-21  Aldy Hernandez  <aldyh@redhat.com>
4117         * testsuite/gcc.dg/attr-alwaysinline.c: New.
4119         * c-common.c (c_common_post_options): Set inline trees by
4120         default.
4122         * doc/extend.texi (Function Attributes): Document always_inline
4123         attribute.
4124         Update documentation about inlining when not optimizing.
4126         * cp/decl.c (duplicate_decls): Merge always_inline attribute.
4128         * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
4129         unless DECL_ALWAYS_INLINE.
4131         * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
4132         unless DECL_ALWAYS_INLINE.
4133         (c_disregard_inline_limits): Disregard if always_inline set.
4135         * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
4136         Disregard if always_inline set.
4137         (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
4138         unless DECL_ALWAYS_INLINE.
4140         * attribs.c (handle_always_inline_attribute): New.
4141         (c_common_attribute_table): Add always_inline.
4143         * config/rs6000/altivec.h: Add prototypes for builtins
4144         requiring the always_inline attribute.
4146 2002-02-21  Eric Christopher  <echristo@redhat.com>
4148         * expmed.c (store_bit_field): Try to simplify the subreg
4149         before generating a new one when when the mode size of
4150         value is less than maxmode.
4152 2002-02-21  Richard Henderson  <rth@redhat.com>
4154         * emit-rtl.c (offset_address): Use simplify_gen_binary rather
4155         than gen_rtx_PLUS to form the sum.
4156         * explow.c (force_reg): Rearrange to not allocate new pseudo
4157         when force_operand returns a register.
4158         * expr.c (expand_assignment): Allow offset_rtx expansion to
4159         return a sum.  Do not force addresses into registers.
4160         (expand_expr): Likewise.
4161         * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
4162         to canonicalize arithmetic that didn't simpify.
4163         (simplify_plus_minus): New argument force; update
4164         all callers.  Don't split CONST unless we can do something with it,
4165         and wouldn't lose the constness of the operands.
4167         * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
4168         that we generated earlier.
4170 2002-02-21  Tom Tromey  <tromey@redhat.com>
4172         * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
4173         (output_line_info): Use constant `1', with a long explanatory
4174         comment.
4175         * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
4177 Thu Feb 21 22:43:44 2002  J"orn Rennecke <joern.rennecke@superh.com>
4179         * jump.c (redirect_jump): If old label has no UID, don't try to
4180         delete it.
4182 Thu Feb 21 21:17:21 2002  J"orn Rennecke <joern.rennecke@superh.com>
4184         * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
4185         If input is constant, do shifts at compile time.
4187 2002-02-21  Joseph S. Myers  <jsm28@cam.ac.uk>
4189         * doc/extend.texi: Fix some more overfull hboxes.
4191 2002-02-21  Jakub Jelinek  <jakub@redhat.com>
4193         PR optimization/4994
4194         * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
4195         register moves.
4197 2002-02-21  Jakub Jelinek  <jakub@redhat.com>
4199         PR c++/4574
4200         * expr.h (expand_and): Add mode argument.
4201         * expmed.c (expand_and): Add mode argument.
4202         (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
4203         * expr.c (store_field, expand_expr, do_store_flag): Likewise.
4204         * except.c (expand_builtin_extract_return_addr): Likewise.
4205         * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
4206         * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
4207         * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
4208         Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
4209         * config/c4x/c4x.md: Use GEN_INT (x) instead of
4210         gen_rtx (CONST_INT, VOIDmode, x).
4212 2002-02-21  Jakub Jelinek  <jakub@redhat.com>
4214         PR c/4697:
4215         * stmt.c (warn_if_unused_value): Move side effects test once more.
4217 2002-02-20  Torbjorn Granlund  <tege@swox.com>
4219         * config/avr/avr.md: Add more patterns for mized-mode add and subtract
4220         (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
4222 Thu Feb 21 16:20:46 2002  Alexandre Oliva  <aoliva@redhat.com>
4224         * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
4225         SUBREG or ZERO_EXTEND.
4227 Thu Feb 21 15:35:46 2002  J"orn Rennecke <joern.rennecke@superh.com>
4229         * sh.h (current_function_anonymous_args): Remove.
4230         (SETUP_INCOMING_VARARGS): Don't set it - just check that one
4231         of current_function_varargs and current_function_stdarg is set.
4232         * sh.c (sh_expand_prologue): Check current_function_varargs /
4233         current_function_stdarg / TARGET_SH5 instead of
4234         current_function_anonymous_args.
4236         * sh64.h (TARGET_VERSION): Define.
4238 2002-02-20  David Edelsohn  <edelsohn@gnu.org>
4240         * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
4241         VRSAVE_REGNO on TARGET_ALTIVEC.
4243 2002-02-20  Alan Modra  <amodra@bigpond.net.au>
4245         * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
4246         bits of SImode const_int.
4247         (includes_rshift_p): Likewise.
4248         (print_operand): Call mask_operand and mask64_operand with correct
4249         mode.
4250         (rs6000_output_function_epilogue): Pad traceback table to word.
4251         * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
4252         (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
4253         mask64_operand with correct mode.
4254         (FUNCTION_ARG_REGNO_P): Correct parentheses.
4256 2002-02-20  Jakub Jelinek  <jakub@redhat.com>
4258         PR debug/4461
4259         * varasm.c (get_pool_constant_mark): New.
4260         * rtl.h (get_pool_constant_mark): Add prototype.
4261         * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
4262         be represented if it has not been output.
4264 2002-02-20  Alexandre Oliva  <aoliva@redhat.com>
4266         * combine.c (do_SUBST): Sanity check substitutions of
4267         CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
4268         (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
4269         CONST_INT into its operand.
4270         (known_cond): Likewise, for ZERO_EXTEND.
4271         * simplify-rtx.c (simplify_unary_operation): Fix condition to
4272         allow for simplification of wide modes.  Reject CONST_INTs in
4273         ZERO_EXTEND when their actual mode is not given.
4275 2002-02-20  Alexandre Oliva  <aoliva@redhat.com>
4277         * c-decl.c (pushdecl): If no global declaration is found for an
4278         extern declaration in block scope, try a limbo one.
4280 2002-02-20  Jakub Jelinek  <jakub@redhat.com>
4282         PR c++/4401
4283         * c-common.c (pointer_int_sum): Moved from...
4284         * c-typeck.c (pointer_int_sum): ...here.
4285         * c-common.h (pointer_int_sum): Add prototype.
4287 2002-02-20  Jakub Jelinek  <jakub@redhat.com>
4289         PR c++/5713
4290         * c-decl.c (duplicate_decls): Return 0 if issued error about
4291         redeclaration.
4293 2002-02-20  Roger Sayle  <roger@eyesopen.com>
4294             Jakub Jelinek  <jakub@redhat.com>
4296         PR c/4389
4297         * tree.c (host_integerp): Ensure that the constant integer is
4298         representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
4299         when pos is zero or non-zero respectively.  Clarify comment.
4300         * c-format.c (check_format_info_recurse): Fix host_integerp
4301         usage; the pos argument should be zero when assigning to a
4302         signed HOST_WIDE_INT.
4304 2002-02-20  Richard Henderson  <rth@redhat.com>
4306         * config/i386/i386.c (ix86_expand_vector_move): Use the mode
4307         of the operand, rather than assuming TImode.
4308         (ix86_expand_binop_builtin): Cope with commutative patterns
4309         using nonimmediate_operand for both operands.
4310         (ix86_expand_timode_binop_builtin): Likewise.
4311         (ix86_expand_store_builtin): Validate operand 1.
4312         (ix86_expand_unop1_builtin): Likewise.
4314 2002-02-20  Philip Blundell  <philb@gnu.org>
4316         PR 5705
4317         * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
4319 2002-02-20  Richard Henderson  <rth@redhat.com>
4321         PR c/5615
4322         * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
4324 2002-02-20  Tom Tromey  <tromey@redhat.com>
4326         * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
4327         * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
4328         * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
4329         * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
4330         * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
4331         unconditionally.
4333 Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
4335         * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
4336           for (const_int 0) in X not just INTVAL.
4338 2002-02-20  Joseph S. Myers  <jsm28@cam.ac.uk>
4340         * doc/extend.texi: Avoid or reduce overfull hboxes.
4342 2002-02-20  Diego Novillo  <dnovillo@redhat.com>
4344         * expmed.c (store_bit_field): Do not store bit fields using SUBREG
4345         operations if the field does not start at a mode boundary.
4347 2001-02-20      Joel Sherrill <joel@OARcorp.com>
4349         * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
4350         config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
4351         Also done for -Acpu and -Amachine.
4353 2002-02-20  Neil Booth  <neil@daikokuya.demon.co.uk>
4355         * cppinit.c (init_dependency_output): Take deps output file
4356         from -o if none given with -MF.  Suppress normal output.
4357         * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
4358         * doc/cpp.texi, doc/invoke.texi: Update.
4360 2002-02-19  Zack Weinberg  <zack@codesourcery.com>
4362         * toplev.c (output_quoted_string): Write unprintable
4363         characters with octal escapes.
4365 2002-02-19  David Edelsohn  <edelsohn@gnu.org>
4367         * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
4368         really_call_used[VRSAVE_REGNO] if not Altivec.
4370 2002-02-19  Alan Modra  <amodra@bigpond.net.au>
4372         * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
4373         MODE_MASK.
4374         (constant_pool_expr_1): Fix formatting.
4375         (rs6000_legitimize_reload_address): Likewise.
4377 Tue Feb 19 20:13:57 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4379         * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
4380         now that we have one.
4382 2002-02-19  Zack Weinberg  <zack@codesourcery.com>
4384         * tree.h (struct tree_common): Remove aux.  Add unused_0 at
4385         end of first block of bitfields (which was only seven bits);
4386         rename dummy to unused_1; remove comment which is no longer true.
4388 2002-02-19  Gaute B Strokkenes <gs234@cam.ac.uk>
4390         * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
4392 2002-02-19  Philip Blundell  <pb@nexus.co.uk>
4394         PR 5399
4395         * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
4396         if generating PIC.
4398         PR 5054
4399         * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
4400         arm_is_longcall_p rather than inspecting call-type cookie
4401         directly.
4402         (call_value_insn) [TARGET_THUMB]: Likewise.
4404 2002-02-19  Graham Stott  <grahams@redhat.com>
4406         * config/i386/i386.c (ix86_expand_builtin): Fix typo.
4408 2002-02-19  David Edelsohn  <edelsohn@gnu.org>
4410         * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
4411         ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
4412         (FP_SAVE_INLINE): Delete.
4414         * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
4415         * config/rs6000/eabi.asm: Remove ABI save restore routines.
4416         * config/rs6000/t-ppccomm: Build crtsavres.o.
4417         * config/rs6000/crtsavres.asm: New file.
4419 2002-02-19  Philip Blundell  <philb@gnu.org>
4421         * config/arm/arm.c (use_return_insn): Don't reject interrupt
4422         functions.
4423         (arm_compute_save_reg_mask): Save LR for interrupt functions too.
4424         (output_return_instruction): Allow interrupt functions to return with
4425         ldmfd sp!, {... pc}^.  Use LDR to restore any single register.
4426         (arm_expand_prologue): Subtract 4 before stacking LR in an
4427         interrupt function.
4429 2002-02-19  Philip Blundell  <pb@nexus.co.uk>
4431         * config/arm/arm.c (arm_encode_call_attribute): Operate on any
4432         decl, not just FUNCTION_DECL.
4433         (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
4434         (arm_assemble_integer): Likewise.
4435         * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
4436         marked local.
4438 2002-02-19  matthew green  <mrg@eterna.com.au>
4440         * config.gcc (sparc-*-netbsdelf*): Enable target.
4441         (sparc64-*-netbsd*): New target.
4442         * config/sparc/netbsd-elf.h: New file.
4443         * config/sparc/t-netbsd64: New file.
4445 2002-02-19  Gaute B Strokkenes <gs234@cam.ac.uk>
4447         * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
4449 2002-02-19  Ryan T. Sammartino <ryants@shaw.ca>
4451         * doc/invoke.texi: explicitly list the style guidelines that
4452         -Weffc++ checks for.
4454 Tue Feb 19 12:37:23 CET 2002  Jan Hubicka  <jh@suse.cz>
4456         * regmove.c (regmove_optimize): Avoid increasing of register pressure.
4458 2002-02-19  Neil Booth  <neil@daikokuya.demon.co.uk>
4460         PR other/5718
4461         * gcc.c (cpp_unique_options): Treat -o as indicating object file
4462         only if not -E.  If -E, pass -o through to the preprocessor.
4464 2002-02-19  Kazu Hirata  <kazu@hxi.com>
4466         * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
4467         register number with an appropriate macro.
4469 2002-02-19  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4471         * doc/rtl.texi (Constants): Close @code tag.
4473 2002-02-19  Aldy Hernandez  <aldyh@redhat.com>
4475         * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
4476         ("mmx_uavgv4hi3"): Same.
4477         ("pmulhrwv4hi3"): Same.
4479         * tree-inline.c (walk_tree): Handle vectors.
4481         * c-common.c (constant_expression_warning): Handle vectors.
4482         (overflow_warning): Same.
4484         * sched-deps.c (sched_analyze_2): Handle vectors.
4486         * rtlanal.c (rtx_unstable_p): Handle vectors.
4487         (rtx_varies_p): Same.
4488         (count_occurrences): Same.
4489         (regs_set_between_p): Same.
4490         (modified_between_p): Same.
4491         (modified_in_p): Same.
4492         (volatile_insn_p): Same.
4493         (volatile_refs_p): Same.
4494         (side_effects_p): Same.
4495         (may_trap_p): Same.
4496         (inequality_comparisons_p): Same.
4497         (replace_regs): Same.
4498         (computed_jump_p_1): Same.
4500         * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
4501         argument.
4502         (inner_mode_array): New.
4503         (copy_rtx): Handle vectors.
4504         (copy_most_rtx): Same.
4505         (rtx_equal_p): Same.
4506         (get_mode_alignment): Adjust for vectors.
4508         * resource.c (mark_referenced_resources): Handle vectors.
4509         (mark_set_resources): Same.
4511         * reload1.c (eliminate_regs): Handle vectors.
4512         (elimination_effects): Same.
4513         (scan_paradoxical_subregs): Same.
4515         * reload.c (subst_reg_equivs): Handle vectors.
4517         * regrename.c (scan_rtx): Handle vectors.
4519         * regclass.c (reg_scan_mark_refs): Handle vectors.
4521         * recog.c (find_single_use_1): Handle vectors.
4523         * local-alloc.c (equiv_init_varies_p): Handle vectors.
4524         (contains_replace_regs): Same.
4525         (memref_referenced_p): Same.
4527         * integrate.c (copy_rtx_and_substitute): Handle vectors.
4528         (subst_constants): Same.
4530         * genattrtab.c (attr_copy_rtx): Handle vectors.
4531         (encode_units_mask): Same.
4532         (clear_struct_flag): Same.
4533         (count_sub_rtxs): Same.
4535         * gcse.c (want_to_gcse_p): Handle vectors.
4536         (oprs_unchanged_p): Same.
4537         (hash_expr_1): Same.
4538         (oprs_not_set_p): Same.
4539         (expr_killed_p): Same.
4540         (compute_transp): Same.
4541         (store_ops_ok): Same.
4543         * function.c (purge_addressof_1): Do not allow paradoxical subregs
4544         of vectors.
4545         (fixup_var_refs_1): Same.
4546         (instantiate_virtual_regs_1): Same.
4548         * fold-const.c (operand_equal_p): Handle vectors.
4549         (fold): Same.
4550         (rtl_expr_nonnegative_p): Same.
4552         * flow.c (mark_used_regs): Handle vectors.
4554         * df.c (df_uses_record): Handle vectors.
4556         * cselib.c (cselib_subst_to_values): Handle vectors.
4557         (cselib_mem_conflict_p): Same.
4558         (hash_rtx): Same.
4560         * cse.c (canon_reg): Handle vectors.
4561         (fold_rt): Same.
4562         (cse_process_notes): Same.
4563         (count_reg_usage): Same.
4564         (canon_hash): Same.
4566         * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
4568         * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
4570         * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
4571         (gen_rtx): Handle CONST_VECTOR.
4572         (gen_const_vector_0): New.
4573         (copy_rtx_if_shared): CONST_VECTORs can be shared.
4574         (reset_used_flags): Same.
4575         (copy_insn_1): Same.
4576         (initializer_constant_valid_p): Handle VECTOR_CST.
4578         * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
4580         * doc/rtl.texi (Constants): Document const_vector.
4581         (CONST0_RTX): Update for vectors.
4582         (RTL sharing): Same.
4584         * print-tree.c (print_node): Add case for VECTOR_CST.
4586         * tree.h (TREE_VECTOR_CST_ELTS): New.
4587         (struct tree_vector): New.
4588         (union tree_node): Add vector node.
4589         (build_vector): Add prototype.
4591         * tree.def (VECTOR_CST): New.
4593         * tree.c (build_vector): New.
4595         * expmed.c (make_tree): Handle CONST_VECTOR.
4597         * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
4598         (CONST_VECTOR_ELT): New.
4599         (CONST_VECTOR_NUNITS): New.
4601         * machmode.h (GET_MODE_INNER): New.
4602         (DEF_MACHMODE): Accept 8th arg.
4604         * machmode.def: Add 8th argument for vector inner mode.
4605         Add inner vector modes for vectors.
4607         * rtl.def (VEC_CONST): Remove.
4608         (CONST_VECTOR): New.
4610         * expr.c (clear_storage): Allow vectors.
4611         (is_zeros_p): Handle VECTOR_CST.
4613         * varasm.c (output_constant_pool): Handle vectors.
4614         (rtx_const): Add veclo and vechi fields.
4615         (kind): Add RTX_VECTOR.
4616         (decode_rtx_const): Add case for vector.
4618         * config/rs6000/rs6000-protos.h: Add zero_constant.
4620         * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
4621         constants.  Force easy vector constants into memory.
4622         (easy_vector_constant): New.
4623         (emit_easy_vector_constant): New.
4624         (rs6000_legitimize_reload_address): Do not generate bad reloads on
4625         darwin.
4627         * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
4628         instruction does.
4629         ("altivec_lvxl"): Same.
4630         (altivec_lvebx): Same.
4631         (altivec_lvehx): Same.
4632         (altivec_lvewx): Same.
4633         ("*movv4si_const0"): New.
4634         ("*movv4sf_const0"): New.
4635         ("*movv8hi_const0"): New.
4636         ("*movv16qi_const0"): New.
4638 2002-02-18  Kazu Hirata  <kazu@hxi.com>
4640         * config/h8300/h8300.c (notice_update_cc): Use
4641         cc_status.value2.
4643 2002-02-18  Kazu Hirata  <kazu@hxi.com>
4645         * config/h8300/h8300.md (divmod patterns): Change the
4646         constraints for operands[1] to register_operand.
4648 2002-02-18  Kazu Hirata  <kazu@hxi.com>
4650         * config/h8300/h8300-protos.h: Remove the prototype for
4651         p_operand.
4652         * config/h8300/h8300.c (p_operand): Remove.
4653         * config/h8300/h8300.md: Replace p_operand with
4654         const_int_operand.
4656 2002-02-18 Philip Blundell <pb@nexus.co.uk>
4658         * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
4659         comment.
4660         (output_return_instruction): Allow use of LDR to unstack
4661         return addresss even for interrupt handlers or when
4662         interworking.  If compiling for ARMv5, use interworking-safe
4663         return instructions by default.  Remove duplicated code and
4664         lengthy "strcat" sequences.
4666 2002-02-18  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4668         * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
4669         (LINK_EH_SPEC): Define.
4670         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
4672 2002-02-18  Ulrich Weigand  <uweigand@de.ibm.com>
4674         * config/s390/s390.c (s390_emit_prologue): Do not set the
4675         frame_related flag for call-clobbered registers.
4677 Mon Feb 18 15:07:35 CET 2002  Jan Hubicka  <jh@suse.cz>
4679         * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
4680         (construct_container): Fix handling of SSE operands.
4681         (ix86_expand_builtin): Fix handling of 64bit pointers.
4682         (mmx_maskmovq_rex): New pattern.
4684 Mon Feb 18 11:55:55 CET 2002  Jan Hubicka  <jh@suse.cz>
4686         * regrename.c (kill_set_value): Handle subregs properly.
4688 2002-02-18  David Billinghurst <David.Billinghurst@riotinto.com>
4690         * objc/objc-act.c (handle_impent): Remove leading '*'
4691         from objc_class_name.
4693 2002-02-17  Richard Henderson  <rth@redhat.com>
4695         * config/alpha/alpha.c (some_small_symbolic_operand,
4696         some_small_symbolic_operand_1, split_small_symbolic_operand,
4697         split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
4698         Handle small SYMBOL_REFs anywhere, not just inside memories.
4699         * config/alpha/alpha-protos.h: Update.
4700         * config/alpha/alpha.h (PREDICATE_CODES): Update.
4701         * config/alpha/alpha.md (small symbolic operand splitter): Update.
4703 2002-02-17  Roland McGrath  <roland@frob.com>
4705         * config.gcc (powerpc-*-gnu-gnualtivec*,
4706         powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
4707         * config/rs6000/gnu.h: New file.
4708         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
4709         Grok "gnu" in rs6000_abi_name.
4710         (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
4711         CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
4712         Grok -mcall-gnu analogous to -mcall-linux et al.
4713         (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
4714         LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
4715         (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
4717 2002-02-17  Jakub Jelinek  <jakub@redhat.com>
4719         PR c/3444:
4720         * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
4721         shortening.
4723 2002-02-17  Philipp Thomas  <pthomas@suse.de>
4725         * config/cris/cris.h: Undefine STARTFILE_SPEC and
4726         ENDFILE_SPEC before (re)defining them.
4728 2002-02-17  Kazu Hirata  <kazu@hxi.com>
4730         * config/h8300/h8300.c: Fix formatting.
4731         * config/h8300/h8300.h: Likewise.
4733 2002-02-17  Philipp Thomas  <pthomas@suse.de>
4735         * doc/tm.texi: Explain why empty strings should not be
4736         marked for translation.
4738 2002-02-17  Philipp Thomas  <pthomas@suse.de>
4740         * final.c (output_operand_lossage): Changed to accept
4741         printf style arguments. Change calls where necessary.
4742         * output.h (output_operand_lossage): Change declaration
4743         accordingly. Update copyright.
4744         * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
4745         config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
4746         Update copyright date where necessary.
4748         * config/i386/i386.c (print_operand): Likewise. Remove use of
4749         sprintf.
4751         * config/cris/cris.c (cris_operand_lossage): Likewise.
4752         Rename parameter so that exgettext recognizes it as
4753         translatable message.
4754         (LOSE_AND_RETURN): Rename parameter to msgid.
4756 2002-02-17  Kazu Hirata  <kazu@hxi.com>
4758         * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
4759         hard coded register number with an appropriate macro.
4760         (HARD_REGNO_MODE_OK): Likewise.
4761         (ARG_POINTER_REGNUM): Likewise.
4762         (STATIC_CHAIN_REGNUM): Likewise.
4763         (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
4764         * config/h8300/h8300.md (define_constants): Define more
4765         register numbers.
4767 2002-02-17  Philipp Thomas  <pthomas@suse.de>
4769         * config/i386/i386.h: Don't mark empty strings for translation.
4771 2002-02-16  H.J. Lu <hjl@gnu.org>
4773         * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
4775 2002-02-16  Zack Weinberg  <zack@codesourcery.com>
4777         * cppinit.c (merge_include_chains): Check for brack being
4778         NULL before attempting to merge it with qtail.
4780 2002-02-16  Andrew Cagney  <ac131313@redhat.com>
4782         * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
4783         DBX_DEBUG.
4785 2002-02-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4787         * pa/t-pa, pa/t-pro, som.h: Revert last patch.
4789 2002-02-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4791         * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
4792         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
4793         * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
4795 Sat Feb 16 13:48:50 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4797         * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
4798         now only if !TARGET_FIX.
4799         (*movsi_nt_vms_fix): New pattern.
4801 2002-02-16  Douglas B Rupp  <rupp@gnat.com>
4803         * config/alpha/alpha.c: Implement null frame procedure types on VMS.
4804         (alpha_procedure_type): Replaces alpha_is_stack_procedure.
4805         (alpha_sa_mask, alpha_sa_size): Reflect above change.
4806         (alpha_pv_save_size, alpha_expand_prologue): Likewise.
4807         (alpha_start_function, alpha_expand_epilogue): Likewise.
4808         (unicosmk_gen_dsib): Likewise.
4810 Sat Feb 16 13:39:09 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4812         * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
4814 2002-02-16  Ulrich Weigand  <uweigand@de.ibm.com>
4816         * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
4817         check_and_change_labels, s390_final_chunkify): Delete.
4818         (s390_split_branches, s390_chunkify_pool): New functions.
4819         (s390_function_prologue): Call them.
4821         * config/s390/s390.h (S390_REL_MAX): Delete.
4822         (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
4824         * config/s390/s390.md (cjump, icjump, jump): Fix length
4825         attribute calculation.
4828 2002-02-15  David Edelsohn  <edelsohn@gnu.org>
4830         * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
4831         * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
4833 2002-02-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4835         * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
4836         * config/pa/pa-linux.h (LIB_SPEC): Likewise.
4837         * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
4839 2002-02-15  Richard Sandiford  <rsandifo@redhat.com>
4841         * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
4843 2002-02-15  Richard Sandiford  <rsandifo@redhat.com>
4845         * reload.c (find_dummy_reload): Check that an output register
4846         is valid for its mode.
4848 2002-02-14  Alexandre Oliva  <aoliva@redhat.com>
4850         * combine.c (known_cond): After replacing the REG of a SUBREG, try
4851         to simplify it.
4853         * function.c (assign_parms): Demote promoted argument passed by
4854         transparent reference.
4856 2001-02-14      Joel Sherrill <joel@OARcorp.com>
4858         * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
4859         -Acpu() and -Amachine() to eliminate warnings.
4861 2002-02-14  Ulrich Weigand  <uweigand@de.ibm.com>
4863         * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
4865 2002-02-14  Kazu Hirata  <kazu@hxi.com>
4867         * config/h8300/h8300-protos.h: Update the prototype for
4868         const_costs.
4869         * config/h8300/h8300.c (const_costs): Treat SET as a little
4870         more expensive operation.
4871         * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
4872         reference to const_costs.
4874 2002-02-14  Hans-Peter Nilsson  <hp@axis.com>
4876         * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
4878 2002-02-14  Jakub Jelinek  <jakub@redhat.com>
4880         PR c/5503:
4881         * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
4882         use arguments from newtype.
4884 2002-02-13  Eric Christopher  <echristo@redhat.com>
4886         * config/mips/mips.c (override_options): Add check for march/mipsX
4887         on the same command line. Fix error message in cpu processing.
4888         Remove architecture and ISA checks.
4890 2002-02-14  Aldy Hernandez  <aldyh@redhat.com>
4892         * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
4894         * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
4896 2002-02-14  Aldy Hernandez  <aldyh@redhat.com>
4898         * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
4899         alternatives.
4900         ("*movv8hi_internal1"): Same.
4901         ("*movv16qi_internal1"): Same.
4902         ("*movv4sf_internal1"): Same.
4904         * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
4905         not push_reload for altivec modes.
4907 2002-02-13  Joel Sherrill  <joel@OARcorp.com>
4909         * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
4910         all RTEMS targets including removal of #includes from config/*/rtems*.h
4911         file and adding them to tm_file setting. Added xm_defines=POSIX to
4912         many targets.
4913         * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
4914         * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
4915         * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
4916         * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
4917         * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
4918         config/m68k/rtemself.h: Ditto.
4919         * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
4920         config/mips/rtems64.h: Ditto.
4921         * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
4922         * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
4923         Ditto.
4924         * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
4925         config/sparc/rtemself.h: Ditto.
4926         * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
4927         * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
4928         arm-rtems stanza closer to other arm-elf targets and made arm-rtems
4929         more like arm-elf.
4930         * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
4931         config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
4932         target made more similar to i386-elf.
4933         * config/i386/t-rtems-i386: Added soft float support and multilibs.
4934         * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
4935         be similar to config/m68k/t-m68kelf.
4936         * gthr-rtems.h: Encapsulate with extern "C" for C++.
4938 Wed Feb 13 23:41:15 CET 2002  Jan Hubicka  <jh@suse.cz>
4940         * regmove.c (kill_value): Handle subregs.
4942 Wed Feb 13 23:34:30 CET 2002  Jan Hubicka  <jh@suse.cz>
4944         * i386.md (mul patterns): Allow memory operand to be first;
4945         add expanders where needed; fix constraints.
4946         (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
4947         Allow memory operand to be the first.
4949         * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
4950         operands.
4952 2002-02-13  Jakub Jelinek  <jakub@redhat.com>
4954         PR c/5681:
4955         * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
4956         GET_MODE (x).
4958 2002-02-13  Jakub Jelinek  <jakub@redhat.com>
4960         PR optimization/5547:
4961         * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
4962         all valid IA-32 address modes involving non-scaled %ebx and
4963         GOT/GOTOFF as displacement.
4965 2002-02-13  Ulrich Weigand  <uweigand@de.ibm.com>
4967         * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
4968         after emitting ltorg insns.
4970         * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
4971         *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
4972         *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
4973         *abssf2): Fix "op_type" attribute.
4975 2002-02-13  Douglas B Rupp  <rupp@gnat.com>
4977         * mkconfig.sh: Avoid using a subshell redirect.
4978         ($output.T): Change to $(output)T.
4979         (ENABLE_NLS): Remove unneeded undef.
4981         * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
4982         * config/alpha/x-vms (libsubdir): Define.
4984         * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
4985         register frame procedures. Optimize retrieving context.
4987         * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
4988         (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
4989         * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
4991 Wed Feb 13 09:45:08 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4993         * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
4994         Make same change as for find_base_value.
4996 2002-02-13  Kazu Hirata  <kazu@hxi.com>
4998         * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
4999         of QImode and SImode.
5001 2002-02-13  Kazu Hirata  <kazu@hxi.com>
5003         * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
5004         length computation of movsi.
5005         * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
5007 2002-02-13  Kazu Hirata  <kazu@hxi.com>
5009         * config/h8300/h8300.md (subqi3): Tighten the predicate for
5010         operands[2] to register_operand.
5012 Wed Feb 13 10:35:56 CET 2002  Jan Hubicka  <jh@suse.cz>
5014         * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
5016 2002-02-12  Aldy Hernandez  <aldyh@redhat.com>
5018         * config/rs6000/rs6000.md: Use predicate altivec_register_operand
5019         for altivec_lvx* and altivec_stvx*.
5020         ("*movv4si_internal"): Add constraint for loading from GPRs.
5021         ("*movv8hi_internal1"): Same.
5022         ("*movv16qi_internal1"): Same.
5023         ("*movv4sf_internal1"): Same.
5025         * config/rs6000/rs6000.c (altivec_register_operand): New.
5027         * config/rs6000/rs6000.h (PREDICATE_CODES): Add
5028         altivec_register_operand.
5030 2002-02-13  Hans-Peter Nilsson  <hp@bitrange.com>
5032         * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
5033         handle SYMBOL_REF.
5035 2002-02-13  Stan Shebs  <shebs@apple.com>
5037         * c-typeck.c (digest_init): Handle vectors.
5038         (really_start_incremental_init): Same.
5039         (pop_init_level): Same.
5040         (process_init_element): Same.
5042         * varasm.c (output_constant): Same.
5044         * expr.c (clear_storage): Same.
5045         (store_constructor): Same.
5047 2002-02-12  Eric Christopher  <echristo@redhat.com>
5049         * explow.c (hard_function_value): Add comment explaining
5050         signed/unsigned comparison.
5052 2002-02-12  Jakub Jelinek  <jakub@redhat.com>
5054         * jump.c (never_reached_warning): Add finish argument.
5055         If finish is NULL, stop on CODE_LABEL, otherwise stop before first
5056         real insn after end.
5057         * rtl.h (never_reached_warning): Adjust prototype.
5058         * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
5059         * cfgrtl.c (flow_delete_block): Pass b->end as finish to
5060         never_reached_warning.
5062 2002-02-12  Graham Stott  <grahams@redhat.com>
5064         * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
5066 2002-02-12  Kazu Hirata  <kazu@hxi.com>
5068         * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
5069         logical shifts on H8/300.
5070         (shift_alg_si): Improve several shifts on H8/300.
5071         (get_shift_alg): Likewise.
5073 2002-02-12  Graham Stott  <grahams@redhat.com>
5075         * config/pa/pa.c (compute_movstrsi_length): Fix typos.
5077 Tue Feb 12 10:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5079         * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
5080         Handle #ifdef POINTERS_EXTEND_UNSIGNED.
5082 2002-02-11  Hans-Peter Nilsson  <hp@bitrange.com>
5084         * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
5085         non-CONST_INT through default_assemble_integer.
5086         <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
5087         <case 8>: Abort for CONST_DOUBLE.
5089 2002-02-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5091         * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
5092         is specified.
5093         * config/pa/pa-linux.h (LIB_SPEC): Delete.
5094         * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
5096 2002-02-11  Andrew Haley  <aph@cambridge.redhat.com>
5098         * config/stormy16/stormy16.md (zero_extendqihi2): New.
5100 2002-02-11  Alexandre Oliva  <aoliva@redhat.com>
5102         * regrename.c (regrename_optimize): Don't accept a
5103         part-clobbered register if the replaced register is not part
5104         clobbered.
5106         * calls.c (store_one_arg): In the non-BLKmode non-partial case,
5107         take padding into account when computing the argument value.
5109         * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
5111         * combine.c (try_combine): Apply substitutions in
5112         CALL_INSN_FUNCTION_USAGE too.
5114 2002-02-11  Aldy Hernandez  <aldyh@redhat.com>
5116         * config/rs6000/rs6000.c (altivec_init_builtins): Handle
5117         __builtin_altivec_abs*.
5118         (bdesc_abs): New.
5120         * config/rs6000/rs6000.h (rs6000_builtins): Add
5121         ALTIVEC_BUILTIN_ABS*.
5123         * config/rs6000/altivec.h: Use const char for builtins expecting
5124         literals.
5125         (vec_abs): New versions for C and C++.
5126         (vec_abss): Same.
5128 2002-02-10  Kazu Hirata  <kazu@hxi.com>
5130         * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
5131         using Pmode.
5133 2002-02-10  Kazu Hirata  <kazu@hxi.com>
5135         * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
5136         constant definition from h8300.md.
5137         (FRAME_POINTER_REGNUM): Likewise.
5138         * config/h8300/h8300.md (define_constants): Add FP_REG.
5140 2002-02-10  Kazu Hirata  <kazu@hxi.com>
5142         * config/h8300/h8300.c (print_operand): Remove redundant code.
5144 2002-02-10  Kazu Hirata  <kazu@hxi.com>
5146         * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
5147         * config/h8300/h8300.c (byte_reg): Make it static.
5149 2002-02-10  Richard Henderson  <rth@redhat.com>
5151         PR c/5623
5152         * c-typeck.c (incomplete_type_error): Handle flexible array members.
5154 2002-02-10  Richard Henderson  <rth@redhat.com>
5156         PR c++/5624
5157         * tree.c (append_random_chars): Don't abort if main_input_filename
5158         does not exist.
5160 2002-02-10  Hans-Peter Nilsson  <hp@bitrange.com>
5162         * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
5164 2002-02-10  Kazu Hirata  <kazu@hxi.com>
5166         * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
5167         (pushhi1): Likewise.
5169 2002-02-10  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5171         * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
5172         * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
5174 2002-02-09  David O'Brien  <obrien@FreeBSD.org>
5176         * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
5177         remove MASK_VIS.
5178         (ASM_CPU_DEFAULT_SPEC): Remove.  Default setting is fine.
5180 2002-02-09  Kazu Hirata  <kazu@hxi.com>
5182         * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
5183         a half of an SImode register on H8/300.
5185 Sat Feb  9 18:28:02 CET 2002  Jan Hubicka  <jh@suse.cz>
5187         * i386.md (movdi_2): Add missing '!'.
5189 2002-02-09  Kazu Hirata  <kazu@hxi.com>
5191         * config/h8300/h8300.h: Fix formatting.  Remove commented-out
5192         definitions.
5194 2002-02-09  Kazu Hirata  <kazu@hxi.com>
5196         * config/h8300/h8300.md (length): Correct the distance valid
5197         for the short branch.
5199 2002-02-09  Kazu Hirata  <kazu@hxi.com>
5201         * config/h8300/h8300.md (iorhi3): Tighten the predicates.
5203 2002-02-09  Alexandre Oliva  <aoliva@redhat.com>
5205         * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
5206         registers in SImode.
5207         (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
5208         part-clobbered.
5210         * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
5211         patch.
5213         Contribute sh64-elf.
5214         2002-02-09  Alexandre Oliva  <aoliva@redhat.com>
5215         * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
5216         (sh_cannot_modify_jumps_p): New function.
5217         2002-02-05  Alexandre Oliva  <aoliva@redhat.com>
5218         * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
5219         (sh_ms_bitfield_layout_p): New function.
5220         2002-02-04  Alexandre Oliva  <aoliva@redhat.com>
5221                     Zack Weinberg  <zack@codesourcery.com>
5222         * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
5223         expand_simple_binop instead of expand_binop.
5224         2002-02-03  Alexandre Oliva  <aoliva@redhat.com>
5225         * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
5226         use of .quad and .uaquad.
5227         * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
5228         TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
5229         2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
5230         * config/sh/sh.md (movdi_const, movdi_const_32bit,
5231         movdi_const_16bit): Make sure all CONSTs have modes.
5232         (sym2PIC): Ditto, but by adjusting all callers.
5233         * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
5234         if the prologue calls the SHmedia argument decoder or register
5235         saver.
5236         2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
5237         * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
5238         (TARGET_ASM_ALIGNED_DI_OP): Likewise.
5239         (sh_expand_epilogue): Don't emit USE of return target register.
5240         (prepare_move_operands): Legitimize DImode PIC addresses.
5241         (sh_media_register_for_return): Skip tr0, used to initialize the
5242         PIC register.
5243         (sh_expand_prologue): Remove explicit USE of return register.
5244         (nonpic_symbol_mentioned_p): PC is non-PIC.  Don't recurse in
5245         CONST_DOUBLEs.  UNSPEC_GOTPLT is PIC.
5246         * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
5247         (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
5248         (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
5249         EXTRA_CONSTRAINT_T.
5250         (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
5251         (MOVI_SHORI_BASE_OPERAND_P): New.
5252         (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
5253         (EXTRA_CONSTRAINT_T): Define in terms of them.
5254         (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
5255         * config/sh/sh.md (movsi_media, movsi_media_nofpu,
5256         movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
5257         alternatives supporting TARGET_REGS.
5258         (UNSPEC_GOTPLT): New constant.
5259         (movdi split): Move incrementing of LABEL_NUSES...
5260         (movdi_const, movdi_const_32bit): Here.  Use
5261         MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
5262         (movdi_const_16bit): New.
5263         (call, call_value) [flag_pic]: Use GOTPLT.
5264         (call_pop, call_value_pop): New expands.
5265         (call_pop_compact, call_pop_rettramp): New insns.
5266         (call_value_pop_compact, call_value_pop_rettramp): New insns.
5267         (sibcall) [flag_pic]: Use GOT.
5268         (builtint_setjmp_receiver): Remove bogus, unused expand.
5269         (GOTaddr2picreg): Implement for SHcompact and SHmedia.
5270         (*pt, *ptb, ptrel): New insns.
5271         (sym2GOT): Handle DImode GOT.
5272         (sym2GOTPLT, symGOTPLT2reg): New expands.
5273         (sym2PIC): New expand.
5274         (shcompact_return_tramp): Use GOTPLT to return trampoline.
5275         (shcompact_return_tramp_i): Use return register explicitly.
5276         * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
5277         disable flag_reorder_blocks.
5278         2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
5279         * config/sh/sh.md (sibcall_compact): Reorder return, uses and
5280         clobbers, for clarity.
5281         (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
5282         restoring of r0 in macl as MAYBE_DEAD.
5283         2002-01-18  Alexandre Oliva  <aoliva@redhat.com>
5284         * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
5285         * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
5286         alter_subreg all over.
5287         (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
5288         reload, instead of emitting instructions that would require
5289         reloading.
5290         (casesi_load_media): Add missing modes.
5291         2001-11-09  Alexandre Oliva  <aoliva@redhat.com>
5292         * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
5293         as used if the argument decoder is called.
5294         2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
5295         * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
5296         Pmode, then extend it to DImode if necessary.
5297         2001-08-28  Stephen Clarke  <Stephen.Clarke@st.com>
5298         * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
5299         constants in FPU-enabled SHmedia, let them be loaded from memory.
5300         2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
5301         * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
5302         Adjust whitespace in assembly output templates.
5303         2001-08-28  Stephen Clarke  <Stephen.Clarke@st.com>
5304         * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
5305         mode of if_then_else.
5306         2001-08-04  Alexandre Oliva  <aoliva@redhat.com>
5307         * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
5308         sh.h.
5309         2001-07-26  Andrew Haley  <aph@cambridge.redhat.com>
5310                     Joern Rennecke <amylaar@redhat.com>
5311         * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
5312         (SUBTARGET_CPP_PTR_SPEC): New.
5313         (SUBTARGET_CPP_SPEC): Remove.
5314         2001-07-06  Chandrakala Chavva  <cchavva@redhat.com>
5315         * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
5316         Fix typo in previous checkin.
5317         2001-07-11  Chandrakala Chavva  <cchavva@redhat.com>
5318         * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
5319         2001-07-10  Chandrakala Chavva  <cchavva@cygnus.com>
5320                     Alexandre Oliva  <aoliva@redhat.com>
5321         * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
5322         what single FP register can hold for SHmedia target.
5323         2001-07-06  Chandrakala Chavva  <cchavva@redhat.com>
5324                     Alexandre Oliva  <aoliva@redhat.com>
5325         * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
5326         Do not split into SUBREG.
5327         2001-06-14  Alexandre Oliva  <aoliva@redhat.com>
5328         * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
5329         and added new functions as specified in SH5 ABI r9.
5330         2001-06-04  Alexandre Oliva  <aoliva@redhat.com>
5331         * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
5332         8-byte boundary.
5333         2001-06-03  Alexandre Oliva  <aoliva@redhat.com>
5334         * config/sh/sh.c (dump_table): Add const0_rtx in calls of
5335         gen_consttable_4 and gen_consttable_8.  Emit multiple labels
5336         and consttable_window_ends.
5337         2001-06-03  Graham Stott  <grahams@redhat,com>
5338         * config/sh/sh.md (movdi split): Remove unused variable last_insn.
5339         2001-05-16  Alexandre Oliva  <aoliva@redhat.com>
5340         * config/sh/sh.c (print_operand): Handle floating-point pair,
5341         vector and matrix registers.
5342         * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
5343         vector modes into account.
5344         * config/sh/sh.md (movv2sf): Split move between registers into
5345         movdf.
5346         (movv4sf, movv16sf): Introduce insns that get split only after
5347         reload.
5348         * config/sh/shmedia.h: Fix Copyright dates.
5349         * config/sh/ushmedia.h: Likewise.  Move loop counter
5350         declarations into conditionals that uses them.
5351         (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
5352         loop boundary.
5353         * config/sh/sshmedia.h: Fix Copyright dates.
5354         (sh_media_PUTCFG): Fix constraints.
5355         2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
5356         * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
5357         ptrmemfunc_vbit_in_delta for SH5.
5358         2001-05-08  Alexandre Oliva  <aoliva@redhat.com>
5359         * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
5360         * invoke.texi: Likewise.
5361         2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
5362         * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
5363         GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
5364         GCC_pop_shmedia_regs_nofpu): New global symbols.
5365         * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
5366         * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
5367         * config/sh/sh.c (calc_live_regs): Account for PR's saving in
5368         compact function with nonlocal labels.
5369         (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
5370         (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
5371         (initial_elimination_offset): Account for their stack space.
5372         * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
5373         * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
5374         movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
5375         movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
5376         least one of the operands to be a register.
5377         (movv2sf): Likewise.  Renamed to movv2sf_i.
5378         (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
5379         prepare_move_operands() before emitting SHmedia insns.
5380         2001-04-03  Alexandre Oliva  <aoliva@redhat.com>
5381         * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
5382         Don't save nor initialize r12.  Don't mis-align the stack.
5383         Pad the code with a nop.
5384         * config/sh/crti.asm: Don't restore r12.  Don't mis-align the
5385         stack.
5386         2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
5387         * gcc/longlong.h (__umulsidi3, count_leading_zeros)
5388         [__SHMEDIA__]: Implement.
5389         2001-03-11  Alexandre Oliva  <aoliva@redhat.com>
5390         * config/sh/sh.md: Set latency of `pt' closer to reality.
5391         (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
5392         movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
5393         Set move, load and store type attributes.
5394         * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
5395         * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
5396         profiling.
5397         * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
5398         * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
5399         * config/sh/sh.c (sh_media_register_for_return): New function.
5400         (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
5401         branch-target register.
5402         (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
5403         * config/sh/sh.md (return_media_i): Use any call-clobbered
5404         branch-target register.
5405         (return_media): If r18 wasn't copied in the prologue, copy it
5406         here.
5407         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
5408         Clear class FP0_REGS.
5409         * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
5410         from elf.h.
5411         2001-03-08  DJ Delorie  <dj@redhat.com>
5412         * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
5413         2001-02-09  Alexandre Oliva  <aoliva@redhat.com>
5414         * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
5415         2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
5416         * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
5417         2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
5418         * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
5419         return value correctly for call_cookie.
5420         2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
5421         * config/sh/crt1.asm (start): Modified so as to call
5422         ___setup_argv_and_call_main.
5423         2001-01-26  Alexandre Oliva  <aoliva@redhat.com>
5424         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
5425         SHmedia mode.
5426         2001-01-20  Alexandre Oliva  <aoliva@redhat.com>
5427         * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
5428         (STRIP_NAME_ENCODING): Use it.
5429         (ASM_OUTPUT_LABELREF): Likewise.  Don't call assemble_name().
5430         2001-01-19  Alexandre Oliva  <aoliva@redhat.com>
5431         * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
5432         prepare_scc_operands().
5433         * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
5434         (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
5435         2001-01-17  Alexandre Oliva  <aoliva@redhat.com>
5436         * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
5437         2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
5438         * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
5439         * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
5440         used in shcompact_incoming_args.
5441         * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
5442         change.
5443         * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
5444         mode.
5445         * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
5446         Adjust accordingly.
5447         * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
5448         Simplify.  Adjust.  Add sanity check.
5449         * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
5450         FPU_SINGLE_BIT.
5451         * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
5452         TARGET_SHCOMPACT.
5453         (udivsi3, divsi3): Use them.
5454         (force_mode_for_call): New insn.
5455         (call, call_value, sibcall_value): Emit it before SHcompact
5456         calls.
5457         2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
5458         * config/sh/sh.md (call, call_value, sibcall): Make sure the
5459         call cookie is non-NULL before taking its value.
5460         2001-01-10  Alexandre Oliva  <aoliva@redhat.com>
5461         * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
5462         2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
5463         * config/sh/sh.md (shcompact_incoming_args): Set argument memory
5464         block.
5465         * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
5466         * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
5467         temporary for stack adjusts.  Use MACL and MACH to pass
5468         arguments to shcompact_incoming_args.
5469         * config/sh/sh.md (shcompact_incoming_args): Adjust.  Don't
5470         clobber r1.
5471         * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
5472         (nested_trampoline): Load static chain address into r1.
5473         * config/sh/sh.md (movdi_media splits): Fix sign-extension.
5474         2001-01-07  Alexandre Oliva  <aoliva@redhat.com
5475         * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
5476         fp_arith_reg_operand().
5477         2001-01-06  Alexandre Oliva  <aoliva@redhat.com>
5478         * config/sh/sh.md (casesi): Sign-extend the first two operands,
5479         and use signed compares for them.
5480         * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
5481         4-byte ones.  Instead, inter-leave them, maintaining the 8-byte
5482         ones properly aligned.
5483         (find_barrier): Account for extra alignment needed for 8-byte wide
5484         constants.
5485         (machine_dependent_reorg): Require a label for the second 4-byte
5486         constant after an 8-byte one.
5487         * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
5488         change.
5489         2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
5490         * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
5491         last_float when switching float modes.
5492         * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
5493         auto-increment for general-purpose registers.
5494         * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
5495         result.
5496         * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
5497         for stack adjust.
5498         * config/sh/sh.c (sh_builtin_saveregs): Support using all
5499         registers for varargs.
5500         2001-01-01  Alexandre Oliva  <aoliva@redhat.com>
5501         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
5502         * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
5503         CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
5504         (CALL_COOKIE_INT_REG_SHIFT): Adjust.
5505         (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK.  Adjust
5506         call_cookie accordingly.
5507         (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
5508         (SHCOMPACT_BYREF): Likewise.
5509         (SHCOMPACT_FORCE_ON_STACK): New macro.
5510         * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
5511         (sh_builtin_saveregs): Likewise.
5512         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
5513         shcompact_incoming_args): Use new shift values.  Support
5514         sequences of consecutive and non-consecutive pushes/pops.
5515         * config/sh/sh.md (return): Don't explicitly use PR_REG.
5516         2001-01-05  Hans-Peter Nilsson  <hpn@cygnus.com>
5517         * config/sh/sh.h (TEXT_SECTION): Define.
5518         * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
5519         2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
5520         * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
5521         * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
5522         return values on FPU-enabled SHmedia.
5523         (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
5524         FPU-enabled SHmedia.
5525         (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
5526         value is returned in a non-FP reg and is not returned by
5527         reference.
5528         * config/sh/sh.md (shcompact_return_tramp_i): Change type to
5529         jump_ind.
5530         2000-01-04  Alexandre Oliva  <aoliva@redhat.com>
5531         * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
5532         (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
5533         quad-aligned to be passed by callee-copy reference.
5534         2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
5535         * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
5536         * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
5537         2001-01-02  Alexandre Oliva  <aoliva@redhat.com>
5538         * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
5539         copying low-numbered FP regs to r7 and r8.
5540         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
5541         FP regs to general-purpose regs only if the copy was passed on the
5542         stack.
5543         * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
5544         copying FP reg to r9.
5545         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
5546         copy FP regs to general-purpose regs only in outgoing calls.
5547         * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
5548         change from     2000-10-30.  Adjust for 64-bit (or 32-bit)
5549         HOST_WIDE_INT.
5550         * config/sh/sh.h (struct sh_args): Document all fields.
5551         (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
5552         passed partially on the stack should not consider making
5553         sibcalls.
5554         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
5555         stack_regs only for incoming calls.  When passing FP args,
5556         make sure there are FP regs available before modifying
5557         call_cookie.
5558         (SHCOMPACT_BYREF): Pass double args in general-purpose
5559         registers by reference.
5560         2000-12-30  Alexandre Oliva  <aoliva@redhat.com>
5561         * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
5562         attempt to generate sibcalls if the caller got any arguments
5563         by reference.
5564         * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
5565         * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
5566         to 8-byte boundaries.
5567         * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
5568         * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
5569         * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
5570         stored in the stack.
5571         * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
5572         for the offsets to have the ISA bit set.
5573         (shcompact_call_trampoline): Document.  Swap r0 and r1, to match
5574         invocation.  Use beq instead of bgt to mark end of sequence of
5575         loads.
5576         (shcompact_incoming_args): Fix store of r2.  Use beq instead of
5577         bgt to mark end of sequence of stores.
5578         * config/sh/sh.c (arith_operand): Don't check whether
5579         CONST_OK_FOR_J for now.
5580         * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
5581         instead of long for conversion.
5582         2000-12-29  Alexandre Oliva  <aoliva@redhat.com>
5583         * config/sh/sh.c (print_operand_address): Convert INTVAL to int
5584         before passing it to fprintf.
5585         2000-12-28  Alexandre Oliva  <aoliva@redhat.com>
5586         * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
5587         Call set_fpscr before reading/writing SR.
5588         * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
5589         Call set_fpscr.
5590         * config/sh/lib1funcs.asm: Add `.align 2' directives before
5591         SHmedia code.
5592         (FMOVD_WORKS): Define on SH5 with FPU.
5593         (set_fpscr): Define on SH5.  Remove separate _fpscr_values
5594         setting.
5595         * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
5596         _fpscr_values.
5597         2000-12-28  Hans-Peter Nilsson  <hpn@cygnus.com>
5598         * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
5599         address.
5600         (ia_main_table): Ditto.
5601         2000-12-27  Alexandre Oliva  <aoliva@redhat.com>
5602         * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
5603         * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
5604         the definitions from sh.h.
5605         * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
5606         TARGET_SH5.
5607         (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
5608         * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
5609         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
5610         2000-12-26  Alexandre Oliva  <aoliva@redhat.com>
5611         * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
5612         Increment LABEL_NUSES.
5614         * config/sh/sh.h (SIZE_TYPE): Define as conditional on
5615         TARGET_SH5.
5616         (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
5617         defined.
5618         * config/sh/elf.h (SIZE_TYPE): Likewise.
5619         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
5620         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
5621         shcompact_incoming_args): Load switch table addresses using
5622         datalabel.
5623         * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
5624         (NO_BUILTIN_SIZE_TYPE): Define.
5625         (SIZE_TYPE): Don't define.
5626         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
5627         * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
5628         definition of __SH5__=32 for -m5-compact-nofpu.
5629         * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
5630         ADDR_DIFF_VEC.
5631         2000-12-24  Alexandre Oliva  <aoliva@redhat.com>
5632         * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
5633         2000-12-23  Alexandre Oliva  <aoliva@redhat.com>
5634         * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
5635         (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
5636         (INSN_LENGTH_ALIGNMENT): Likewise.
5637         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
5638         * config/sh/sh.md (call, call_value, sibcall): Simplify
5639         copying of non-branch-target register.
5640         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
5641         * glimits.h (__LONG_MAX__): Revert      2000-12-13's patch.
5642         * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
5643         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
5644         * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
5645         floating-point values as structs.
5646         (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
5647         (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
5648         general-purpose register.
5649         (SH5_PROTOTYPED_FLOAT_ARG): New macro.
5650         2000-12-20  Alexandre Oliva  <aoliva@redhat.com>
5651         * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
5652         * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
5653         * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
5654         (ENCODE_SECTION_INFO): Enclose variables and constants in
5655         DATALABEL unspecs.
5656         (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
5657         (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
5658         (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
5659         * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
5660         only for LABEL_REFs.  For SYMBOL_REFs, prepend
5661         SH_DATALABEL_ENCODING to the symbol name.
5662         * config/sh/sh.md (indirect_jump): Use SUBREG instead of
5663         convert_mode().
5664         2000-12-20  Alexandre Oliva  <aoliva@redhat.com>
5665         * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
5666         UNSPEC_DATALABEL.
5667         * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
5668         * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
5669         (DATALABEL_REF_P): Don't require CONST.
5670         (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
5671         REL label.
5672         2000-12-19  Alexandre Oliva  <aoliva@redhat.com>
5673         * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
5674         right.
5675         2000-12-18  Alexandre Oliva  <aoliva@redhat.com>
5676         * config/sh/sh.md (movsi_media, call, call_value, sibcall):
5677         Use shallow_copy_rtx and PUT_MODE to change the mode of
5678         SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
5679         * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
5680         on SHmedia using GENERAL_REGs.
5681         * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
5682         bltu_media_i): Fix reversion of conditions.
5683         2000-12-18  Alexandre Oliva  <aoliva@redhat.com>
5684         * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
5685         * config/sh/sh.c (output_far_jump): Save r13 in macl.
5686         2000-12-17  Alexandre Oliva  <aoliva@redhat.com>
5687         * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
5688         2000-12-16  Alexandre Oliva  <aoliva@redhat.com>
5689         * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
5690         (GCC_nested_trampoline): Likewise.
5691         * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
5692         * config/sh/sh.c (gen_datalabel_ref): Define.
5693         * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
5694         (INITIALIZE_TRAMPOLINE): Likewise.
5695         (TRAMPOLINE_ADJUST_ADDRESS): Define.
5696         (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
5697         (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
5698         (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
5699         * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
5700         (ic_invalidate): Adjust for SH5.
5701         (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
5702         * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
5703         _nested_trampoline.
5704         2000-12-15  Alexandre Oliva  <aoliva@redhat.com>
5705         * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
5706         (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
5707         2000-12-14  Alexandre Oliva  <aoliva@redhat.com>
5708         * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
5709         * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
5710         2000-12-14  Alexandre Oliva  <aoliva@redhat.com>
5711         * config/sh/sh.c (target_reg_operand): Match only target-branch
5712         registers and pseudos that aren't virtual registers.
5713         * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
5714         Copy operands that don't match target_reg_operand to pseudos.
5715         (call_media, call_value_media, sibcall_media): Use
5716         target_reg_operand instead of target_operand.
5717         2000-12-13  Alexandre Oliva  <aoliva@redhat.com>
5718         * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
5719         * config/sh/sh.c (target_reg_operand): Match hardware registers
5720         other than branch-target registers.
5721         * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
5722         * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
5723         (fpscr_values) [SH5 == 32]: Define.
5724         * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
5725         * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
5726         Handle function addresses coming in SUBREGs.
5727         2000-12-12  Alexandre Oliva  <aoliva@redhat.com>
5728         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
5729         shcompact_return_trampoline): Use datalabel where appropriate.
5730         2000-12-09  Alexandre Oliva  <aoliva@redhat.com>
5731         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
5732         general-purpose register to copy one branch-target register to
5733         another.
5734         2000-12-06  Alexandre Oliva  <aoliva@redhat.com>
5735         * config/sh/sh.c (target_operand): Accept LABEL_REFs and
5736         SYMBOL_REFs with VOIDmode.
5737         * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
5738         bltu_media_i): New insns.
5739         2000-12-06  Alexandre Oliva  <aoliva@redhat.com>
5740         * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
5741         (INIT_CUMULATIVE_ARGS): Likewise.
5742         2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
5743         * machmode.def (V16SFmode): New mode.
5744         * c-common.c (type_for_mode): Support V2SF and V16SF.
5745         * tree.c (build_common_tree_nodes_2): Likewise.
5746         * tree.h (tree_index): Likewise.
5747         * calls.c (emit_call_1): Take args_so_far.  Adjust all
5748         callers.  Introduce CALL_POPS_ARGS.
5749         * tm.texi (CALL_POPS_ARGS): Document.
5750         * config/sh/crt1.asm: Implement in SHmedia mode.
5751         * config/sh/crti.asm, config/sh/crtn.asm: Likewise
5752         * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
5753         (DBX_REGISTER_NUMBER): Renumber registers for SH5.
5754         * config/sh/lib1funcs.asm: Disable functions unused in SH5.
5755         Implement divsi and udivsi in SHmedia mode.  Introduce
5756         SHcompact trampolines.
5757         * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
5758         only in SHmedia64.
5759         (regno_reg_class): Rewrite.
5760         (fp_reg_names): Remove.
5761         (sh_register_names, sh_additional_register_names): New.
5762         (print_operand): Added `u'.  Support SUBREGs in addresses.
5763         Add parentheses around shifted CONSTs.
5764         (output_file_start): Output .mode and .abi directives.
5765         (shiftcosts, addsubcosts, multcosts): Adjust.
5766         (output_stack_adjust): Compute alignment.  Sanity-check SIZE.
5767         (push_regs): Take array of HOST_WIDE_INTs.  Adjust callers.
5768         (calc_live_regs): Output to array of HOST_WIDE_INTs.  Count
5769         bytes, not registers.  Take into account the need for the
5770         SHcompact incoming args trampoline.  Adjust all callers.
5771         (sh_expand_prologue): Take stack_regs into account.  Call
5772         incoming args trampoline.  Keep stack aligned as per SH5 ABI.
5773         (sh_expand_epilogue): Take stack_regs into accoutn.  Keep
5774         stack aligned as per SH5 ABI.
5775         (sh_builtin_saveregs): Support SH5 ABI.
5776         (sh_build_va_list, sh_va_start): Likewise.
5777         (initial_elimination_offset): Take alignment into account.
5778         Compute location of PR according to the SH5 stack frame.
5779         (arith_reg_operand): Reject branch-target registers.
5780         (shmedia_6bit_operand): New.
5781         (logical_operand): Use CONST_OK_FOR_P on SHmedia.
5782         (target_reg_operand): Match DImode only.  Accept SUBREGs.
5783         (target_operand): New.
5784         * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
5785         (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI.  Initialize
5786         SIBCALL_REGS for SHmedia.
5787         (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
5788         (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
5789         (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
5790         (TARGET_SWITCHES): New SH5 flags.
5791         (OVERRIDE_OPTIONS): Set SH5-specific options.  Use
5792         VALID_REGISTER_P to disable unsupported registers.
5793         (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
5794         (POINTER_SIZE, PARM_BOUNDARY): Adjust.
5795         (FUNCTION_ARG_PADDING): Define.
5796         (FASTEST_ALIGNMENT): Adjust.
5797         (SH_REGISTER_NAMES_INITIALIZER): New.
5798         (sh_register_names): Declare.
5799         (DEBUG_REGISTER_NAMES): Define.
5800         (REGISTER_NAMES): Define based on sh_register_names.
5801         (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
5802         (sh_additional_register_names): Declare.
5803         (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
5804         (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
5805         (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
5806         (REGISTER_NATURAL_MODE): Define.
5807         (FIRST_PSEUDO_REGISTER): Adjust.
5808         (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
5809         (HARD_REGNO_CALL_PART_CLOBBERED): Define.
5810         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
5811         (VECTOR_MODE_SUPPORTED_P): Define.
5812         (REG_CLASS_CONTENTS): Adjust.
5813         (SMALL_REGISTER_CLASSES): Adjust.
5814         (REG_ALLOC_ORDER): Adjust.
5815         (INDEX_REG_CLASS): Adjust.
5816         (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
5817         (CONST_OK_FOR_LETTER_P): Adjust.
5818         (PREFERRED_RELOAD_CLASS): Adjust.
5819         (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
5820         (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
5821         (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
5822         (FIRST_FP_PARM_REG): Adjust.
5823         (CALL_POPS_ARGS): Define.
5824         (FUNCTION_ARG_REGNO_P): Adjust.
5825         (struct sh_args): New fields.
5826         (GET_SH_ARG_CLASS): Adjust.
5827         (INIT_CUMULATIVE_ARGS): Adjust.
5828         (INIT_CUMULATIVE_INCOMING_ARGS): Define.
5829         (FUNCTION_ARG_ADVANCE): Adjust.
5830         (FUNCTION_ARG): Adjust.
5831         (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
5832         (FUNCTION_ARG_CALLEE_COPIES): Define.
5833         (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
5834         (STRICT_ARGUMENT_NAMING): Define.
5835         (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
5836         (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
5837         (SH5_WOULD_BE_PARTIAL_NREGS): Define.
5838         (SETUP_INCOMING_VARARGS): Adjust.
5839         (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
5840         (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
5841         (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
5842         (SUBREG_OK_FOR_INDEX_P): Adjust.
5843         (EXTRA_CONSTRAINT_S): Update.
5844         (EXTRA_CONSTRAINT_T): New.
5845         (EXTRA_CONSTRAINT): Adjust.
5846         (GO_IF_LEGITIMATE_INDEX): Adjust.
5847         (GO_IF_LEGITIMATE_ADDRESS): Adjust.
5848         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
5849         (MOVE_MAX): Adjust.
5850         (MAX_MOVE_MAX): Define.
5851         (Pmode): Adjust.
5852         (CONST_COSTS): Adjust.
5853         (REGISTER_MOVE_COST): Adjust.
5854         (BRANCH_COST): Adjust.
5855         (TEXT_SECTION_ASM_OP): Adjust.
5856         (DBX_REGISTER_NUMBER): Adjust.
5857         (ASM_OUTPUT_DOUBLE_INT): New.
5858         (UNALIGNED_DOUBLE_INT_ASM_OP): New.
5859         (PREDICATE_CODES): Adjust.
5860         (PROMOTE_MODE): Adjust.
5861         (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
5862         * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
5863         (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
5864         (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
5865         (DR0_REG, DR2_REG, DR4_REG): Renumber.
5866         (TR0_REG, TR1_REG, TR2_REG): New.
5867         (XD0_REG): Renumber.
5868         (UNSPEC_COMPACT_ARGS): New.
5869         (type): Added pt and ptabs.
5870         (length): Default to 4 on SHmedia.  Default pt length to 12
5871         and     20 on SHmedia32 and SHmedia64, respectively.
5872         (pt): New function unit.
5873         (movdi, movsi): Add types pt and ptabs.  Don't increment LABEL_NUSES.
5874         Add whitespace between operands of SHmedia instructions.
5875         (movdicc): Fix.
5876         (adddi3_media, addsi3_media): Adjust constraints.
5877         (subsi3) [SHmedia]: Force operand 1 into a register.
5878         (udivsi3_i1_media, udivsi3_i4_media): New.
5879         (udivsi3): Support SHmedia.
5880         (divsi3_i1_media, divsi3_i4_media): New.
5881         (divsi3): Support SHmedia.
5882         (anddi3, iordi3, xordi3): Adjust constraints.
5883         (zero_extendhidi2, zero_extendqidi2): New.
5884         (extendsidi2, extendhidi2, extendqidi2): New.
5885         (push, pop, push_e, push_fpul, push_4): Disable on SH5.
5886         (pop_e, pop_fpul, pop_4): Likewise.
5887         (movsi_media): Support FP and BT registers.
5888         (movsi_media_nofpu): New.  Adjust splits to DImode.
5889         (lduw, ldub): Renamed to zero_extend* above.
5890         (movqi_media): Fix typo.
5891         (movdi_media): Support FP and BT registers.
5892         (movdi_media_nofpu): New.  Adjust splits for SHmedia32.
5893         (movdi_const_32bit): New.
5894         (shori_media): Require immediate operand.  Use `u' for output.
5895         (movdf_media, movsf_media): Simplified.
5896         (movdf_media_nofpu, movsf_media_nofpu): New.
5897         (movdf, movsf): Adjust
5898         (movv2sf, movv2sf, movv16sf): New.
5899         (beq_media, beq_media_i): Adjust constraints.  Don't use
5900         scratch BT register.
5901         (bne_media, bne_media_i): Likewise.
5902         (bgt_media, bgt_media_i): Likewise.
5903         (bge_media, bge_media_i): Likewise.
5904         (bgtu_media, bgtu_media_i): Likewise.
5905         (bgeu_media, bgeu_media_i): Likewise.
5906         (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
5907         bunordered): Emit jump insn.  Force operands to registers when
5908         needed.
5909         (jump_media, jump): Simplify.
5910         (call_compact, call_compact_rettramp): New.
5911         (call_value_compact, call_value_compact_rettramp): New.
5912         (call_media, call_value_media): Simplify.
5913         (sibcall_compact, sibcall_media): New.
5914         (call, call_value): Adjust for SHmedia and SHcompact.
5915         (sibcall, sibcall_value, untyped_call): Likewise.
5916         (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
5917         (indirect_jump): Adjust for SHmedia.
5918         (casesi_jump_media): New.
5919         (nop): Re-enable for SHmedia.
5920         (call_site): Restrict to SH1.
5921         (casesi): Adjust for SHmedia.
5922         (casesi_shift_media, casesi_load_media): New.
5923         (return): Explicitly use PR register.  Call return trampoline
5924         on SHcompact.
5925         (return_i): Explicitly use PR register.
5926         (shcompact_return_tramp, shcompact_return_tramp_i): New.
5927         (return_media): Adjust.
5928         (shcompact_incoming_args): New.
5929         (epilogue): Adjust.
5930         (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
5931         (movstrsi): Disable on SH5.
5932         (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
5933         (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
5934         (subsf3, subsf3_media): Likewise.
5935         (mulsf3, mulsf3_media, mac_media): Likewise.
5936         (divsf3, divsf3_media): Likewise.
5937         (floatdisf2, floatsisf2_media): Likewise.  Adjust constraints.
5938         (floatsisf2, fux_truncsfsi2): Likewise.
5939         (fix_truncsfdi2, fix_truncsfsi2_media): Likewise.  Adjust
5940         constraints.
5941         (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
5942         (cmpunsf_media, cmpsf): Likewise.
5943         (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
5944         (abssf2, abssf2_media): Likewise.
5945         (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
5946         (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
5947         (floatdidf2, floatsidf2_media): Likewise.  Adjust constraints.
5948         (floatsidf2, fix_truncdfsi2): Likewise.
5949         (fix_truncdfdi2, fix_truncdfsi2_media): Likewise.  Adjust
5950         constraints.
5951         (cmpeqdf_media, cmpgtdf_media): Likewise.
5952         (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
5953         (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
5954         (absdf2, absdf2_media): Likewise.
5955         (extendsfdf2, extendsfdf2_media): Likewise.
5956         (truncsfdf2, truncsfdf2_media): Likewise.
5957         * config/sh/sh64.h: New file.
5958         * config/sh/t-sh64: New file.
5959         * config/sh/shmedia.h: New file.
5960         * config/sh/ushmedia.h: New file.
5961         * config/sh/sshmedia.h: New file.
5962         * configure.in: Added sh64-*-elf.
5963         * configure: Rebuilt.
5964         2000-10-10  Alexandre Oliva  <aoliva@redhat.com>
5965         * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
5966         (reg_class_from_letter): Use `b' for TARGET_REGS.
5967         (print_operand): Support `%M', `%m', `AND' and
5968         `ASHIFTRT'.  Do not precede constants with `#' on SHmedia.
5969         (andcosts): Adjust for SHmedia.
5970         (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
5971         Likewise.
5972         (target_reg_operand): New function.
5973         * config/sh/sh-protos.h (target_reg_operand): Declare.
5974         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
5975         FP registers on SH5.
5976         (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
5977         on SH4.
5978         (TARGET_REGISTER_P): New macro.
5979         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
5980         (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
5981         (EXTRA_CONSTRAINT_S): New macro.
5982         (EXTRA_CONSTRAINT): Adjust.
5983         (FLOAT_TYPE_SIZE): Define to 32.
5984         (Pmode): DImode on SHmedia.
5985         (CONST_COSTS): Adjust for SHmedia literals.
5986         (PREDICATE_CODES): Added target_reg_operand.
5987         (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
5988         * config/sh/sh.md: Remove all attrs from SHmedia insns.
5989         (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
5990         (cmpdi): Accept SHmedia.
5991         (movdicc_false, movdicc_true): New insns.
5992         (movdicc): New expand.
5993         (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
5994         no_new_pseudos.
5995         (addsi3_media): Match `S' constraint.
5996         (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
5997         (negdi2): Expand for SHmedia.
5998         (one_cmpldi2): New expand.
5999         (zero_extendsidi2): Change from expand to insn.
6000         (extendsidi2): Add constraints.
6001         (movdi_media, movsi_media): Change `%x' to `%M'.  Use `%m' for
6002         LD/ST address.  Fix SI immediate loading split.
6003         (movhi_media, movqi_media, lduw, ldub): New insns.
6004         (movhi, movqi): Accept SHmedia.
6005         (shori_media, movdi_media): Relax input constraints.  Split
6006         symbolic constants.
6007         (movdf_media, movsf_media): New insn.  New split to movdi.
6008         (movdf, movsf): Match on SHmedia.
6009         (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
6010         bgeu_media): New insns and splits.  New insns with `_i' suffix.
6011         (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
6012         (bunordered): New expand.
6013         (jump_compact): Renamed from `jump'.
6014         (jump_media): New insn.
6015         (jump): New expand.
6016         (call_media, call_value_media): New insns.
6017         (call, call_value): Adjust.
6018         (indirect_jump_compact): Renamed from `indirect_jump'.
6019         (indirect_jump_media): New insn.
6020         (indirect_jump): New expand.
6021         (untyped_call, return): Accept SHmedia.
6022         (return_media): New insn.
6023         (prologue, epilogue, blockage): Accept SHmedia.
6024         (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
6025         (sunordered): New expand.
6026         (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
6027         cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
6028         (addsf3_media, subsf3_media, mulsf3_media, mac_media,
6029         divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
6030         fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
6031         cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
6032         abssf2_media): New insns.
6033         (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
6034         cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
6035         (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
6036         floatdidf2, floatsidf2_media, fix_truncdfdi2,
6037         fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
6038         cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
6039         absdf2_media): New insns.
6040         (extendsfdf2, truncdfsf2): Adjust for SHmedia.
6041         (extendsfdf2_media, truncdfsf2_media): New insns.
6042         2000-09-14  Alexandre Oliva  <aoliva@redhat.com>
6043         * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
6044         * config/sh/sh.h (CONST_OK_FOR_J): Document.
6045         (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
6046         * config/sh/sh.md (adddi3): New expand.
6047         (adddi3_media, adddi3z_media): New insns.
6048         (adddi3_compact): Renamed from adddi3.
6049         (addsi3_media): Use add.l r63 to add constant zero.
6050         (subdi3): New expand.
6051         (subdi3_media): New insn.
6052         (subdi3_compact): Renamed from subdi3.
6053         (mulsidi3): New expand.
6054         (mulsidi3_media): New insn.
6055         (mulsidi3_compact): Renamed from mulsidi3.
6056         (umulsidi3): New expand.
6057         (umulsidi3_media): New insn.
6058         (umulsidi3_compact): Renamed from umulsidi3.
6059         (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
6060         (ashlsi3, ashrsi3, lshrsi3): Use them.
6061         (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
6062         (ashldi3, ashrdi3, lshrdi3): Use them.
6063         (zero_extendsidi2): New expand.
6064         (extendsidi2): New insn.
6065         (movsi_media): New insn.  Split to movdi to load constants.
6066         (movsi): Enable for shmedia.
6067         (movdi_media): New insn.  Use shori_media to load wide constants.
6068         (short_media): New insn.
6069         (movdi): Enable for shmedia.
6070         2000-09-08  Alexandre Oliva  <aoliva@redhat.com>
6071         * config/sh/sh.h (CPP_SPEC): Added `m5'.
6072         (SUBTARGET_CPP_SPEC): Added `!m5'.
6073         (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
6074         (TARGET_SWITCHES): Added `5' and `5-compact'.  Added SH1_BIT
6075         to all other SH variants.
6076         (TARGET_DEFAULT): Set to SH1_BIT.
6077         (OVERRIDE_OPTIONS): Recognize sh5 CPU.
6078         (BITS_PER_WORD): Raise to 64 on shmedia.
6079         (MAX_BITS_PER_WORD): Change to 64.
6080         (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
6081         (INT_TYPE_SIZE): Keep as 32.
6082         (UNITS_PER_WORD): Raise to 8 on shmedia.
6083         (MIN_UNITS_PER_WORD): Keep as 4.
6084         (POINTER_SIZE): Raise to 64 on shmedia.
6085         (CONST_OK_FOR_J): New macro.
6086         (CONST_OK_FOR_LETTER_P): Use it.
6087         (processor_type): Add PROCESSOR_SH5.
6088         * config/sh/sh.md: Conditionalize all expands, insns and
6089         splits to TARGET_SH1.
6090         (cpu): Added sh5.
6091         (addsi3_compact): Renamed from...
6092         (addsi3): Now an expand.
6093         (addsi3_media, subsi3_media): New insns.
6094         (subsi3): Don't negate constants with SHmedia.
6096         * hooks.c: New file.
6097         * hooks.h: New file.
6098         * Makefile.in (HOOKS_H): New.
6099         (TARGET_DEF_H): Added $(HOOKS_H).
6100         (OBJS): Added hooks.o.
6101         (cfgcleanup.o, bb-reorder.o): Added target.h.
6102         (hooks.o): Added dependencies.
6103         * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
6104         (TARGET_INITIALIZER): this.
6105         * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
6106         * target.h (struct gcc_target): Added cannot_modify_jumps_p.
6107         * bb-reorder.c: Include target.h.
6108         (reorder_basic_blocks): Skip if cannot modify jumps.
6109         * cfgcleanup.c: Include target.h.
6110         (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
6112 2002-02-08  Chris Demetriou  <cgd@broadcom.com>
6114         * config/mips/mips.md (casesi_internal, casesi_internal_di):
6115         Protect jump delay slot instructions with .set noreorder and
6116         .set nomacro.
6118 2002-02-08  Chris Demetriou  <cgd@broadcom.com>
6120         * config/mips/mips.md (casesi_internal_di): Calculate
6121         the index into the target offset table correctly.
6123 2002-02-08  Richard Henderson  <rth@redhat.com>
6125         * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
6126         * final.c (output_addr_const): Accept and discard SUBREG.
6127         * varasm.c (decode_addr_const): Don't abort on unknown expressions --
6128         mark them unknown instead.
6129         (simplify_subtraction): Handle RTX_UNKNOWN.
6130         (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
6132 2002-02-08  David Edelsohn  <edelsohn@gnu.org>
6134         * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
6136 2002-02-08  Richard Henderson  <rth@redhat.com>
6138         * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
6140 2002-02-08  Andreas Jaeger  <aj@suse.de>
6142         * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
6143         * config/i386/t-linux64: New file.
6145 2002-02-08  Jakub Jelinek  <jakub@redhat.com>
6147         * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
6148         * c-parse.in (compstmt): Clear last_expr_type.
6150 2002-02-07  Richard Henderson  <rth@redhat.com>
6152         * loop.c (strength_reduce): Sink final_value when not
6153         eliminating a biv.
6155 2002-02-07  David O'Brien  <obrien@FreeBSD.org>
6157         * config/sparc/freebsd.h: Fix mismatched spec {.
6159 2002-02-07  Richard Henderson  <rth@redhat.com>
6161         * cfgrtl.c: Include recog.h and insn-config.h.
6162         (keep_with_call_p): Fix general_operand invocation.
6163         * Makefile.in (cfgrtl.o): Update dependencies.
6165 2002-02-07  Kazu Hirata  <kazu@hxi.com>
6167         * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
6168         comment.  Accept HImode only if TARGET_H8300.
6170 2002-02-07  Eric Christopher  <echristo@redhat.com>
6172         * config/mips/crtn.asm: Cleanup #ifdefs.
6174 2002-02-07  Eric Christopher  <echristo@redhat.com>
6176         * config/mips/crti.asm: Add changes for mips16. mips16 uses
6177         register 7 as RA instead of $31.
6178         * config/mips/crtn.asm: Ditto.
6179         * config/mips/mips.c (mips_move_2words): Add case for
6180         TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
6181         (compute_frame_size): Fix typo.
6182         (save_restore_insns): Ditto.  Make documentation about using
6183         register $7 as return register more precise.
6184         (mips_expand_epilogue): Fix comment. Add code to work around not
6185         being able to add to the stack pointer directly.
6186         * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
6187         to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
6188         epilogue.
6190 2002-02-07  Tom Rix  <trix@redhat.com>
6192         * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
6193         immediates in ldu and stdu DS opcode field.
6194         * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
6195         * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
6196         * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
6198 2002-02-07  Jeff Sturm  <jsturm@one-point.com>
6200         * config/sparc/sparc.c (compute_frame_size): Don't correct frame
6201         offset for stack bias.
6203 2002-02-07  H.J. Lu <hjl@gnu.org>
6205         * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
6207 2002-02-07  Ulrich Weigand  <uweigand@de.ibm.com>
6209         * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
6211 Thu Feb  7 12:14:17 CET 2002  Jan Hubicka  <jh@suse.cz>
6213         * i386-protos.h (x86_order_regs_for_local_alloc): Declare
6214         * i386.c (x86_order_regs_for_local_alloc): New global function.
6215         * i386.h (REG_ALLOC_ORDER): CLeanup.
6216         (ORDER_REGS_FOR_LOCAL_ALLOC): New.
6218 2002-02-07  Richard Henderson  <rth@redhat.com>
6220         PR optimization/2463
6221         * alias.c (find_base_value): Recall base values for fixed hard regs.
6222         * loop.c (loop_regs_update): Don't use single_set on non-insns.
6224 2002-02-07  Alexandre Oliva  <aoliva@redhat.com>
6226         * config/mips/mips.md (define_delay) [mips16]: Adjust required
6227         length.
6229 2002-02-06  Richard Henderson  <rth@redhat.com>
6231         PR c/5609
6232         * stmt.c (resolve_operand_name_1): Take more care with mixed
6233         named and unnamed operands.
6235 2002-02-06  Janis Johnson  <janis187@us.ibm.com>
6236             Jan Hubicka  <jh@suse.cz>
6238         * loop.c (remove_constant_addition): Avoid clobbering a shared
6239         CONST expression.
6241 2002-02-06  Ulrich Weigand  <uweigand@de.ibm.com>
6243         * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
6244         * config/s390/t-linux64: New file.
6245         * config/s390/libgcc-glibc.ver: New file.
6247 2002-02-06  Ulrich Weigand  <uweigand@de.ibm.com>
6249         * config/s390/linux64.h: Delete file.
6250         * config/s390/s390x.h: New file.
6251         * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
6252         as target header file.
6253         * config/s390/linux.h (TARGET_VERSION): Define depending on
6254         DEFAULT_TARGET_64BIT.
6255         (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
6256         (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
6257         (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
6258         (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
6259         (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
6260         (EXTRA_SPEC): New define.
6261         * config/s390/s390.h (TARGET_VERSION): Define depending on
6262         DEFAULT_TARGET_64BIT.
6263         (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
6265 2002-02-06  Jason Merrill  <jason@redhat.com>
6267         * c-decl.c (finish_function): Warn about a non-void function with
6268         no return statement and no abnormal exit.
6269         (current_function_returns_abnormally): New variable.
6270         (start_function): Clear it.
6271         (struct c_language_function): Add returns_abnormally.
6272         (push_c_function_context): Save it.
6273         (pop_c_function_context): Restore it.
6274         (builtin_function): Set TREE_THIS_VOLATILE on return fns.
6275         (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
6276         an explicit return type.
6277         * c-tree.h: Declare current_function_returns_abnormally.
6278         (C_FUNCTION_IMPLICIT_INT): New macro.
6279         * c-typeck.c (build_function_call): Set it.
6280         (c_expand_return): Set current_function_returns_value even if the
6281         value is erroneous.
6283 2002-02-06  Jakub Jelinek  <jakub@redhat.com>
6285         PR c/5420:
6286         * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
6287         unsafe for reevaluation.
6289 2002-02-06  Jakub Jelinek  <jakub@redhat.com>
6291         PR c/5482:
6292         * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
6293         EXPR_STMT, but COMPOUND_STMT, recurse into it.
6295 2002-02-06  Richard Henderson  <rth@redhat.com>
6297         * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
6298         be a general_operand.  Dest for function value must be a pseudo.
6300 2002-02-06  Nick Clifton  <nickc@cambridge.redhat.com>
6302         * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
6303         as SYMBOL_REFs from the constant pool.
6305 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
6307         * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
6308         passed by invisible reference.
6310 2002-02-05  Richard Henderson  <rth@redhat.com>
6312         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
6314 2002-02-06  Hans-Peter Nilsson  <hp@bitrange.com>
6316         Implement using "base addresses" in insn operands as default.
6317         * config/mmix/mmix.c (mmix_conditional_register_usage): if
6318         -mabi=gnu, modify fixed_regs to fit the GNU ABI.
6319         (mmix_extra_constraint): Use 'R' to indicate that GETA should be
6320         used to read the rtx value.
6321         (mmix_target_asm_function_epilogue): Fix spacing.
6322         (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
6323         (mmix_legitimate_address): Ditto.
6324         (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
6325         should be loaded with a GETA insn.  Don't allocate needless extra
6326         char for nul termination and fix misleading comment.
6327         (mmix_print_operand_address): Handle constants if
6328         TARGET_BASE_ADDRESSES.
6329         (mmix_output_register_setting): Use base addressing if
6330         TARGET_BASE_ADDRESSES and the number of insns is 3.
6331         * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
6332         * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
6333         to use R as constraint, add LDA to match s.
6334         * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
6335         (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
6336         (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
6337         (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
6338         (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
6339         order with other fixed registers.
6340         (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
6341         other parameter/call-clobbered registers.
6342         * doc/invoke.texi (Option Summary) <MMIX Options>: Add
6343         -mbase-addresses, -mno-base-addresses.
6344         (MMIX Options): Ditto.
6346 2002-02-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6348         * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
6350 2002-02-06  Aldy Hernandez  <aldyh@redhat.com>
6352         * config/rs6000/altivec.h: Change elem to _S_elem.
6354 2002-02-05  Jason Thorpe  <thorpej@wasabisystems.com>
6356         * config/netbsd.h (WCHAR_TYPE): Define.
6357         (WCHAR_TYPE_SIZE): Ditto.
6358         (WINT_TYPE): Ditto.
6359         * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
6360         (WCHAR_UNSIGNED): Ditto.
6361         (WCHAR_TYPE_SIZE): Ditto.
6362         (WINT_TYPE): Ditto.
6363         * config/arm/netbsd.h: Likewise.
6364         * config/i386/netbsd-elf.h: Likewise.
6365         * config/i386/netbsd.h: Likewise.
6366         * config/m68k/netbsd-elf.h: Likewise.
6367         * config/m68k/netbsd.h: Likewise.
6368         * config/ns32k/netbsd.h: Likewise.
6369         * config/sparc/netbsd.h: Likewise.
6370         * config/vax/netbsd.: Likewise.
6372 2002-02-05  Alexandre Oliva  <aoliva@redhat.com>
6374         * target.h (struct gcc_target): Added ms_bitfield_layout_p.
6375         * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New.  Added to...
6376         (TARGET_INITIALIZER): this.
6377         * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
6378         (BITFIELD_NBYTES_LIMITED): Markup fix.
6379         * tree.h (default_ms_bitfield_layout_p): Declare.
6380         (record_layout_info): Added prev_field.
6381         * tree.c (default_ms_bitfield_layout_p): New fn.
6382         * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
6383         PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
6384         * stor-layout.c: Include target.h.
6385         (start_record_layout): Initialize prev_field.
6386         (place_field): Handle MS bit-field layout, and disregard
6387         EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
6388         PCC_BITFIELD_TYPE_MATTERS in this case.  Update prev_field.
6389         * Makefile.in (stor-layout.o): Adjust dependencies.
6391 2002-02-05  Jason Merrill  <jason@redhat.com>
6393         * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
6395 2002-02-05  Andreas Jaeger  <aj@suse.de>
6397         * crtstuff.c: Fix comments.
6399 2002-02-05  Richard Henderson  <rth@redhat.com>
6401         PR fortran/3393
6402         * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
6403         (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
6405         PR fortran/3392
6406         * config/mips/mips.c (function_arg): Handle TImode.
6407         (function_arg_advance): Likewise.
6409 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
6411         * config/rs6000/altivec.h (vec_step_help): Rename to
6412         __vec_step_help.
6414 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
6416         * config/rs6000/altivec.h: Fix typos.
6418 2002-02-05  Jason Thorpe  <thorpej@wasabisystems.com>
6420         * config/arm/netbsd.h: Correct a comment.
6422 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
6424         * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
6425         building void typed builtins.
6427         * config/rs6000/altivec.h (vec_ld*): Fix typos.
6428         (vec_step): Implement for C++.
6430 Mon Feb  4 19:23:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6432         * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
6434 2002-02-04  Richard Henderson  <rth@redhat.com>
6436         * combine.c (nonzero_bits): Re-introduce special case for
6437         sp/fp/ap wrt REGNO_POINTER_ALIGN.
6439 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
6441         * doc/extend.texi: Warn about unsupported usage of altivec
6442         builtins.
6444         * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
6445         (altivec_predicate_*): New.
6447         * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
6448         Add C++ version of vec_*() functions.
6450         * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
6451         (bdesc_2arg): Remove altivec predicates.
6452         (altivec_expand_builtin): Handle predicates.
6453         (altivec_init_builtins): Handle predicates.
6454         (altivec_expand_predicate_builtin): New.
6456 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6458         * pa.c (DO_FRAME_NOTES): Move forward.
6459         (store_reg): Revise handling of frame notes.
6460         (load_reg): Likewise.
6461         (set_reg_plus_d): Likewise.
6462         (hppa_expand_prologue): Likewise.
6463         (hppa_expand_epilogue): Likewise.
6465 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6467         * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
6469 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
6471         PR c/4475, c++/3780:
6472         * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
6473         * c-common.h (SWITCH_TYPE): Define.
6474         * c-typeck.c (c_start_case): Set SWITCH_TYPE.
6475         * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
6476         Rename spareness variable to sparseness.
6477         (expand_end_case_type): Renamed from expand_end_case, use orig_type
6478         if non-NULL instead of TREE_TYPE (orig_index).
6479         * tree.h (expand_end_case_type): Renamed from expand_end_case.
6480         (expand_end_case): Define using expand_end_case_type.
6481         * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
6482         to expand_end_case_type.
6483         * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
6485 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6487         * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
6488         (BIGGEST_ALIGNMENT): Change to 128.
6490 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6492         * pa32-linux.h (LINK_COMMAND_SPEC): Define.
6494 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6496         * pa.md (call_internal_reg_64bit): Remove unused variable.
6498 2002-02-04  Nick Clifton  <nickc@cambridge.redhat.com>
6500         * config/arm/arm.h (machine_function): Add uses_anonymous_args
6501         field.
6502         (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
6503         * config/arm/arm.c (current_function_anonymous_args): Delete,
6504         replace uses with cfun->machine->uses_anonymous_args.
6505         (arm_reorg): Do not reset uses_anonymous_args.
6507         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
6508         any geenral register.
6510 2001-02-04  Bernd Schmidt  <bernds@redhat.com>s
6512         * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
6513         the entry block.
6515 2002-02-04  Richard Henderson  <rth@redhat.com>
6517         * combine.c (force_to_mode): Remove STACK_BIAS code.
6518         (nonzero_bits): Likewise.  Replace sp/fp special case with
6519         REGNO_POINTER_ALIGN.
6521         * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
6522         (HARD_FRAME_POINTER_REGNUM): New.
6523         (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
6524         (FIXED_REGS, CALL_USED_REGS): Update.
6525         (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
6526         (CONDITIONAL_REGISTER_USAGE): Update for HFP.
6527         (HARD_REGNO_NREGS): Update for SFP.
6528         (STACK_POINTER_OFFSET): Include bias here ...
6529         (FIRST_PARM_OFFSET): ... not here.
6530         (STACK_BIAS): Remove.
6531         (INIT_EXPANDERS): New.
6532         (STARTING_FRAME_OFFSET): Do not include bias.
6533         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
6534         (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
6535         (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
6536         * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
6537         * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
6538         * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
6539         (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
6540         (MUST_SAVE_REGISTER): Likewise.
6541         (sparc_flat_function_prologue): Likewise.
6542         (sparc_flat_function_epilogue): Likewise.
6543         (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
6544         (sparc_init_modes): SFP is GENERAL_REGS.
6545         (sparc_builtin_saveregs): SFP does not have bias applied.
6547 2002-02-04  Richard Henderson  <rth@redhat.com>
6549         * config/alpha/alpha.c (current_function_is_thunk): Don't check
6550         current_function_is_thunk.
6551         (alpha_sa_mask): Distinguish between current_function_is_thunk
6552         called from ASM_OUTPUT_MI_THUNK and not.
6553         (alpha_does_function_need_gp): Thunks always need gp.
6554         (alpha_start_function, alpha_output_function_end_prologue): Likewise.
6555         (alpha_output_mi_thunk_osf): New.
6556         * config/alpha/alpha-protos.h: Update.
6557         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
6559 2002-02-04  Richard Sandiford  <rsandifo@redhat.com>
6561         * c-typeck.c (build_c_cast): Warn when qualifiers are added to
6562         function types, not when they're taken away.
6564 Mon Feb  4 09:05:58 2002  Jeffrey A Law  (law@redhat.com)
6566         * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
6567         CODE_LABEL and jump table when replacing a table jump with a
6568         simple jump.
6570 2002-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
6572         * config/s390/s390-protos.h (legitimize_la_operand,
6573         s390_secondary_input_reload_class, s390_plus_operand,
6574         s390_expand_plus_operand): Add prototypes.
6576         config/s390/s390.c (s390_secondary_input_reload_class,
6577         s390_plus_operand, s390_expand_plus_operand): New functions.
6579         (struct s390_address): New member 'pointer'.
6580         (s390_decompose_address): Compute it.
6581         (legitimate_la_operand_p): Use it.
6582         (legitimize_la_operand): New function.
6583         (movti, movdi, movdf splitters): Call it.
6585         config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
6586         (PREDICATE_CODES): Add s390_plus_operand.
6588         config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
6589         (la_ccclobber): Allow GENERAL_REGS as output operand.
6591         (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
6592         *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
6593         (*la_64, *la_31, reload_indi, reload_insi): ... these.
6595 2002-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
6597         * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
6598         register names for regular asm () construct.
6600 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
6602         * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
6603         registers.
6605 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
6607         * combine.c (recog_for_combine): Create a dummy insn with PATTERN
6608         pat for recog.
6610 2002-02-04  Hartmut Penner  <hpenner@de.ibm.com>
6612         * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
6613         constant pool to be identical by string address and index.
6615 2002-02-04  Anthony Green  <green@redhat.com>
6617         * output.h (SECTION_OVERRIDE): Define.
6618         * varasm.c (named_section): Obey SECTION_OVERRIDE.
6620 2002-02-03  Jason Thorpe  <thorpej@wasabisystems.com>
6622         * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
6623         by existing arm*-*-netbsd* (a.out) target.
6624         (ns32k-*-netbsdelf*): Likewise.
6625         (sparc-*-netbsdelf*): Likewise.
6626         (vax-*-netbsdelf*): Likewise.
6628 2002-02-03  Danny Smith <dannysmith@users.sourceforge.net>
6630         * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
6631         headers and libobjc headers.
6633 2002-02-03  Mumit Khan  <khan@nanotech.wisc.edu>
6635         * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
6636         (_mingw.h): Remove duplicate include.
6638 2002-02-03  Jason Thorpe  <thorpej@wasabisystems.com>
6640         * config.gcc: Set cpu_type to m68k for 68010, as well.
6641         (m68010-*-netbsdelf*): New...
6642         (m68k*-*-netbsdelf*): ...targets.
6643         * config/m68k/netbsd-elf.h: New file.
6645 2002-02-02  Kazu Hirata  <kazu@hxi.com>
6647         * config/h8300/h8300.c (hand_list): Move inside function_arg.
6649 2002-02-02  Kazu Hirata  <kazu@hxi.com>
6651         * config/h8300/h8300.c (h8_push_ops): Move inside
6652         h8300_init_once.
6653         (h8_pop_ops): Likewise.
6654         (h8_move_ops): Likewise.
6656 2002-02-02  Kazu Hirata  <kazu@hxi.com>
6658         * config/h8300/h8300.c (os_task): Make it static.
6659         (monitor): Likewise.
6660         (pragma_saveall): Likewise.
6662 2002-02-02  Alexandre Oliva  <aoliva@redhat.com>
6664         * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
6665         constant is a valid sign-extension for Pmode.
6667 2002-02-02  Kazu Hirata  <kazu@hxi.com>
6669         * config/h8300/h8300.c: Fix formatting.
6671 2002-02-02  Kazu Hirata  <kazu@hxi.com>
6673         * config/h8300/h8300.md: Fix formatting.
6675 2002-02-02  Kazu Hirata  <kazu@hxi.com>
6677         * config/h8300/h8300.md (one_cmpl patterns): Tighten the
6678         predicates of operands[1].  Split the patterns for each
6679         processor variant.
6681 2002-02-02  Kazu Hirata  <kazu@hxi.com>
6683         * config/h8300/h8300.md (xor patterns): Tighten the predicates
6684         of operands[1] to register_operand.
6686 2002-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
6688         * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
6689         * cpphash.c (_cpp_init_hashtable): Similarly.
6690         * cppinit.c (cpp_create_reader): Default the signed_char flag.
6691         (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
6692         (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
6693         (cpp_handle_option): Handle the new options.
6694         * cpplex.c (cpp_interpret_charconst): Use new flag.
6695         * cpplib.h (struct cpp_options): New member signed_char.
6696         * gcc.c (cpp_unique_options): Remove %c spec and documentation.
6697         (cpp_options): Handle -fsigned-char and -funsigned-char.
6698         (static_specs): Remove signed_char_spec.
6699         (do_spec1): Don't handle %c.
6700         * system.h: Poison SIGNED_CHAR_SPEC.
6701         * tradcif.y (yylex): Use flag_signed_char.
6702         * tradcpp.h (flag_signed_char): New.
6703         * tradcpp.c (flag_signed_char): New.
6704         (main): Handle new command-line options.
6705         (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
6706 config:
6707         * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
6708         * avr/avr.h: Remove old comments.
6709         * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
6710         (CC1_SPEC): Pass -fsigned-char if -mic*.
6711         (SIGNED_CHAR_SPEC): Remove.
6712 doc:
6713         * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
6715 2002-02-01  Eric Christopher  <echristo@redhat.com>
6717         From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
6718         * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
6719         * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
6720         (ASM_OUTPUT_REG_POP): Ditto.
6722 2002-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
6724         * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
6725         patch.
6727 2002-02-02  Jakub Jelinek  <jakub@redhat.com>
6729         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
6731 2002-02-02  Jakub Jelinek  <jakub@redhat.com>
6733         PR c/5304:
6734         * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
6735         unconditionally.
6737 2002-02-01  Janis Johnson  <janis187@us.ibm.com>
6739         * cfganal.c: Include tm_p.h.
6740         (keep_with_call_p): Fix the test that determines if a register holds
6741         the return value of a call.
6743 2002-02-01  DJ Delorie  <dj@redhat.com>
6745         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
6746         we are given conflicting registers, switch to the other one we
6747         had allocated for us.
6748         * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
6749         as TImode so we know when the "other" register is available.
6751 2002-02-01  David O'Brien  <obrien@FreeBSD.org>
6753         * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
6754         sparc/sparc_bi.h.
6756 2002-02-01  Janis Johnson  <janis187@us.ibm.com>
6758         * cfganal.c (keep_with_call_p): New function.
6759         (flow_call_edges_add): Prevent splitting a block between a call and
6760         a single-set instruction that should be kept in the same block.
6762 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
6764         * doc/install.texi (avr): Update outdated URL.
6766 2002-01-30  Andrew Haley  <aph@cambridge.redhat.com>
6768         * config/stormy16/stormy16.md (pushqi): New.
6769         (popqi): New.
6770         (pushhi): New.
6771         (pophi): New.
6772         (movhi): Remove stack operands.
6773         (movqi): Likewise.
6774         * config/stormy16/stormy16.h (PREDICATE_CODES): Add
6775         nonimmediate_nonstack_operand.
6776         * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
6777         New.
6778         * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
6779         New.
6781 2002-01-31  Jason Merrill  <jason@redhat.com>
6783         * Makefile.in (c-parse.c): Handle .output file.
6784         * objc/Make-lang.in (objc-parse.c): Likewise.
6786 2002-02-01  Alexandre Oliva  <aoliva@redhat.com>
6788         * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
6789         the -me[lb] option is given.  Don't output the default flag
6790         twice.
6792 2002-01-31  Zack Weinberg  <zack@codesourcery.com>
6794         * c-lex.c (yyparse): Call debug_hooks->start_source_file for
6795         the primary source file; this has not been done yet.
6796         * c-decl.c (c_expand_body): Reset input_filename from
6797         DECL_SOURCE_FILE (fndecl) before calling init_function_start.
6799 2002-01-31  Kazu Hirata  <kazu@hxi.com>
6801         * rtlanal.c (subreg_regno_offset): Do not use
6802         SUBREG_REGNO_OFFSET.
6803         * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
6804         * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
6806 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
6808         * gccbug.in: Follow GNU Coding Standards for --version.  Use GCC
6809         version rather than GNATS version in --version output.
6811 2002-01-31  Richard Sandiford  <rsandifo@redhat.com>
6813         * ifcvt.c (noce_process_if_block): Make a copy of the destination
6814         when copying back from a temporary.
6816 2002-01-30  Richard Henderson  <rth@redhat.com>
6818         * ifcvt.c (dead_or_predicable): Handling merging when other_bb
6819         and new_dest are the same.
6821 2002-01-30  Richard Henderson  <rth@redhat.com>
6823         PR opt/5076
6824         * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
6825         * rtl.c (note_insn_name): Update.
6826         * emit-rtl.c (remove_unnecessary_notes): Kill it.
6827         * stmt.c (expand_end_loop): Kill jump opt code.  Use LOOP_END_TOP_COND
6828         to perform loop rotation.
6829         (expand_exit_loop_top_cond): New.
6830         * tree.h (expand_exit_loop_top_cond): Declare it.
6831         * c-semantics.c (genrtl_while_stmt): Use it.
6832         (genrtl_for_stmt): Likewise.
6834 2002-01-30  Alexandre Oliva  <aoliva@redhat.com>
6836         * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
6837         arguments to 64-bit boundaries on 64-bit ABIs.
6839 2002-01-30  Steve Ellcey  <sje@cup.hp.com>
6841         * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
6843 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
6845         * c-decl.c (grokdeclarator): Handle type being a typedef for an
6846         invalid type.
6848 2002-01-30  David O'Brien  <obrien@FreeBSD.org>
6850         * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
6851         * config/sparc/sparc_bi.h: Remove file.
6852         * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
6854 2002-01-30  Richard Henderson  <rth@redhat.com>
6856         * sched-deps.c (sched_analyze): Make a call read the frame pointer.
6858 2002-01-30  Zack Weinberg  <zack@codesourcery.com>
6860         * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
6862 2002-01-30  Jason Merrill  <jason@redhat.com>
6864         * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
6865         (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
6866         (reg_save): Use DW_CFA_offset_extended_sf instead.
6868         * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
6870 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
6872         * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
6873         in cselib_lookup.
6875 2002-01-29  Aldy Hernandez  <aldyh@redhat.com>
6877         * rs6000.md ("*call_value_local32"): Remove constraints.
6878         ("*call_value_local64"): Same.
6879         ("*call_value_indirect_nonlocal_aix32"): Same.
6880         ("*call_value_nonlocal_aix32"): Same.
6881         ("*call_value_indirect_nonlocal_aix64"): Same.
6882         ("*call_value_nonlocal_aix64"): Same.
6883         ("*call_value_nonlocal_sysv"): Same.
6885 2002-01-29  Richard Henderson  <rth@redhat.com>
6887         * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
6889 2002-01-29  Richard Henderson  <rth@redhat.com>
6891         * expr.c (force_operand): Ignore flag_pic for detecting pic
6892         address loads.
6893         * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
6894         for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
6895         * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
6896         instead of open-coded loop.
6897         * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
6898         be fixed when in use.
6900 2002-01-29  Richard Henderson  <rth@redhat.com>
6902         * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
6903         * sched-rgn.c (propagate_deps): Update them.
6904         * sched-deps.c (sched_analyze_insn): Update them.  Flush the
6905         clobbers list when either gets too long.
6907 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
6909         * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
6910         and INDEX_REGS the same as GENERAL_REGS.
6911         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
6913 2002-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
6915         * tree.c (build_nonstandard_integer_type): Correct prototype.
6917 2002-01-29  Ulrich Weigand  <uweigand@de.ibm.com>
6919         * config/s390/s390.md (movstrsico, movstrdix_64,
6920         movstrsix_31): Remove, replace by ...
6921         (movstrdi_short, movstrsi_short, movstrdi_long,
6922         movstrsi_long): ... these.  New.
6923         (movstrdi, movstrsi): Adapt.
6925         (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
6926         ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
6927         Remove unnecessary CC clobber.
6928         (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
6929         *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
6931         (divmoddi4): Don't partially initialize TImode register.
6933 2002-01-29  Geoffrey Keating  <geoffk@redhat.com>
6935         * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
6937 2002-01-29  Richard Henderson  <rth@redhat.com>
6939         * flow.c (print_rtl_and_abort): Remove.
6940         (print_rtl_and_abort_fcn): Remove.
6941         (verify_local_live_at_start): Use dump_bb instead.
6942         (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
6943         (verify_wide_reg_1): Return 2 on mode test failure.
6945 2002-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
6947         PR c/3325, c/3326, c/2511, c/3347
6948         * c-decl.c (enum_decl_context): Remove BITFIELD.
6949         (grokdeclarator): Take bitfield width as an input.
6950         Ensure bitfields are given the correct type.  Perform
6951         bitfield width validation with build_bitfield_integer_type
6952         rather than waiting for finish_struct.
6953         (grok_typename, grok_typename_in_parm_context, start_decl,
6954         push_parmdecl, grokfield, start_function): Update calls to
6955         grokdeclarator.
6956         (build_bitfield_integer_type): New function.
6957         (finish_struct): Move bitfield validation to grokdeclarator
6958         and build_bitfield_integer_type.
6959         * tree.c (build_nonstandard_integer_type): New function.
6960         * tree.h (build_nonstandard_integer_type): New prototype.
6961 objc:
6962         * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
6964 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
6966         PR other/1502:
6967         * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
6968         don't ignore unrecognized -W* options.
6969         (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
6970         * cpplib.h (cpp_handle_option): Adjust prototype.
6971         * c-decl.c (c_decode_options): Pass 0 as last argument to
6972         cpp_handle_option.
6974         PR c/2896:
6975         * gcc.c (cpp_unique_options): Split from cpp_options.
6976         (cpp_options): Source cpp_unique_options.
6977         (default_compilers): Use cpp_unique_options instead of cpp_options
6978         when used together with cc1_options.
6979         (static_specs): Add cpp_unique_options.
6980         * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
6981         when used together with cc1_options.
6983 2002-01-29  Kazu Hirata  <kazu@hxi.com>
6985         * config/h8300/h8300-protos.h: Update the prototype of
6986         output_a_shift.
6987         * config/h8300/h8300.c (output_a_shift): Remove an unused
6988         argument 'insn'.  Remove redundant code.
6989         * config/h8300/h8300.md: Adust to the new prototype of
6990         output_a_shift.
6992 2002-01-29  Kazu Hirata  <kazu@hxi.com>
6994         * config/h8300/h8300-protos.h: Update the prototypes of
6995         emit_a_rotate and expand_a_rotate.
6996         * config/h8300/h8300.c (emit_a_rotate): Change the type of the
6997         first argument to 'enum rtx_code'.
6998         (expand_a_rotate): Likewise.
7000 2002-01-28  Kazu Hirata  <kazu@hxi.com>
7002         * config/h8300/h8300-protos.h: Update the prototype of
7003         output_simode_bld.
7004         * config/h8300/h8300.c (output_simode_bld): Remove an argumen
7005         'log2'.
7006         * config/h8300/h8300.md: Adjust to the new prototype.
7008 2002-01-28  Kazu Hirata  <kazu@hxi.com>
7010         * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
7011         redundant code.
7013 2002-01-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7015         * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
7016         is a fixed register before returning pic_offset_table_rtx.
7017         * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
7018         when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
7020 2002-01-28  Jason Merrill  <jason@redhat.com>
7022         * dwarf2.h: Sync with src version.
7024 2002-01-28  Paul Koning  <pkoning@equallogic.com>
7026         * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
7027         BT_FN_VOID_PTR_VAR.
7028         * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
7029         * doc/extend.texi (__builtin_prefetch): Update documentation:
7030         first argument is now const void ptr.
7032 2002-01-28  Kazu Hirata  <kazu@hxi.com>
7034         * config/h8300/h8300-protos.h: Remove an unused prototype.
7036 2002-01-28  Roman Zippel  <zippel@linux-m68k.org>
7038         * toplev.c (lang_independent_init): Round up identifier size.
7040 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
7042         * config.gcc: Revert previous change.
7044 2002-01-28  Andris Pavenis  <pavenis@latnet.lv>
7046         * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
7048 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
7050         * config.gcc (*-*-netbsdelf*): Set up generic parameters.
7051         (*-*-netbsd*): Always use collect2.  Remove collect2 settings from
7052         other non-elf netbsd config frags.
7053         * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
7054         collect2 will does that.
7055         * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
7056         shared-lib frobbing will work.
7058 2002-01-28  Kazu Hirata  <kazu@hxi.com>
7060         * config/h8300/h8300.h: Fix formatting.
7061         * config/h8300/h8300.md: Likewise.
7063 2002-01-28  Loren J. Rittle  <ljrittle@acm.org>
7065         * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
7066         the old, removed AAA_standards fix.
7067         * fixinc/fixincl.x: Rebuilt.
7069 2002-01-28  Hans-Peter Nilsson  <hp@axis.com>
7071         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
7072         atexit call in crtbegin, hooked in after call to frame_dummy;
7073         register EH before registering __fini__start.
7075 2002-01-28  Aldy Hernandez  <aldyh@redhat.com>
7077         * config/rs6000/altivec.h: Remove spurious semicolons.
7079 2002-01-27  Kazu Hirata  <kazu@hxi.com>
7081         * config/h8300/h8300.md: Replace dead bit extraction patterns
7082         with ones that work.
7084 Sun Jan 27 13:23:40 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7086         * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
7087         if not STRICT_ALIGNMENT.
7088         * rtl.h (MEM_ALIGN): Likewise.
7090 2002-01-27  Craig Rodrigues  <rodrigc@gcc.gnu.org>
7092         * doc/invoke.texi (-fdump-translation-unit): Revert this
7093         patch: 2001-10-21  Craig Rodrigues  <rodrigc@gcc.gnu.org>
7095 2002-01-27  Kazu Hirata  <kazu@hxi.com>
7097         * config/h8300/h8300.md (define_constants): New.
7098         (anonymous patterns) Use defined constants appropriately.
7100 2002-01-27  Kazu Hirata  <kazu@hxi.com>
7102         * config/h8300/h8300.c (function_arg): Remove redundant code.
7104 2002-01-26  Richard Henderson  <rth@redhat.com>
7106         * sched-deps.c (reg_pending_uses_head): New.
7107         (reg_pending_barrier): Rename from reg_pending_sets_all.
7108         (find_insn_list): Don't mark inline.
7109         (find_insn_mem_list): Remove.
7110         (add_dependence_list, add_dependence_list_and_free): New.
7111         (flush_pending_lists): Replace only_write param with separate
7112         for_read and for_write parameters.  Update all callers.  Use
7113         add_dependence_list_and_free.
7114         (sched_analyze_1): Do not add reg dependencies here; just set
7115         the pending bits.  Use add_dependence_list.
7116         (sched_analyze_2): Likewise.
7117         (sched_analyze_insn): Replace schedule_barrier_found with
7118         reg_pending_barrier.  Add all dependencies for pending reg
7119         uses, sets, and clobbers.
7120         (sched_analyze): Don't add reg dependencies for calls, just
7121         set pending bits.  Use regs_invalidated_by_call.  Treat
7122         sched_before_next_call as a normal list, not a fake insn.
7123         (init_deps): No funny init for sched_before_next_call.
7124         (free_deps): Free pending mems lists.  Don't zero reg_last.
7125         (init_deps_global): Init reg_pending_uses.
7126         (finish_deps_global): Free it.
7127         * sched-int.h (deps): Make in_post_call_group_p boolean.  Update docs.
7128         (find_insn_mem_list): Remove.
7129         * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
7130         (propagate_deps): Use them.  Zero temp mem lists.
7132 2002-01-26  Richard Henderson  <rth@redhat.com>
7134         * Makefile.in (CRTSTUFF_CFLAGS): New.
7135         (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
7136         * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
7137         crtstuff.c instead of alpha assembly version.
7138         * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
7139         entire dummy function sequence.  Use FORCE_CODE_SECTION_ALIGN
7140         not FORCE_{INIT,FINI}_SECTION_ALIGN.
7141         (__do_global_dtors_aux): Mark used.
7142         (frame_dummy, __do_global_ctors_aux): Mark used.
7143         (fini_dummy, init_dummy): Remove.
7145         * config/alpha/crtbegin.asm: Remove file.
7146         * config/alpha/crtend.asm: Remove file.
7147         * config/alpha/t-crtbe: Remove file.
7148         * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
7149         (LINK_EH_SPEC): New.
7151         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
7152         FORCE_INIT_SECTION_ALIGN hack.  Register __fini_start before
7153         calling constructors.
7154         * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
7156         * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
7157         * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
7158         CRT_END_INIT_DUMMY hack.
7159         * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
7160         FORCE_{INIT,FINI}_SECTION_ALIGN.
7162         * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
7163         FORCE_{INIT,FINI}_SECTION_ALIGN.
7165         * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
7166         invocation sequence.
7167         * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
7169         * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
7170         (FORCE_CODE_SECTION_ALIGN): New.
7172 2002-01-26  Richard Henderson  <rth@redhat.com>
7174         * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
7176 2002-01-26  Richard Henderson  <rth@redhat.com>
7178         * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
7179         (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
7181 2002-01-26  Kazu Hirata  <kazu@hxi.com>
7183         * config/h8300/h8300.md: Remove bit extraction patterns that
7184         cannot be triggered.
7185         Restrict each bit extraction pattern to a variant on which the
7186         pattern is tested.
7188 2002-01-26  Joseph S. Myers  <jsm28@cam.ac.uk>
7190         * doc/include/texinfo.tex: Update to version 2002-01-04.07.
7192 2002-01-26  Kazu Hirata  <kazu@hxi.com>
7194         * config/h8300/h8300.md: Remove bit test patterns that cannot
7195         be triggered.
7196         Restrict each bit test pattern to a variant on which the
7197         pattern is tested.
7199 2002-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7201         * builtins.c (expand_builtin_strncat): Remove redundant check for
7202         INTEGER_CST.
7204 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
7206         * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
7207         default setting.
7208         * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
7209         existing setting.
7211 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
7213         * dbxout.c (dbxout_init): Use assemble_name rather than just
7214         stripping off the first character.
7215         (dbxout_source_file): Likewise.
7217 2002-01-25  DJ Delorie  <dj@redhat.com>
7219         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
7220         using rtx_equal_p, not by comparing pointers.
7222 2002-01-25  Steve Ellcey  <sje@cup.hp.com>
7224         * emit-rtl.c (gen_rtx_REG): Always return the same rtx
7225         for PIC_OFFSET_TABLE_REGNUM.
7226         (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
7228 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
7230         * config.gcc (x86_64-*-freebsd*): New target.
7231         (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
7232         value.
7233         (i[34567]86-*-freebsd*): Don't include svr4.h.
7234         * config/i386/freebsd64.h: New file.
7236 2002-01-25  Douglas B Rupp  <rupp@gnat.com>
7238         * config/alpha/x-vms (version): Make static.
7240         * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
7241         in previous checkin.
7243         * Makefile.in (install-headers-cp): New target.
7244         * config.gcc (alpha-dec-*vms*): Install headers with
7245         install-headers-cp
7247 Fri Jan 25 22:42:49 CET 2002  Jan Hubicka  <jh@suse.cz>
7249         * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
7250         avoid it's copies.
7252 Fri Jan 25 08:26:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7254         * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
7255         of compare_tree_int.
7256         (expand_builtin_strncat): Likewise.
7257         * c-decl.c (finish_struct): Use tree_low_cst.
7258         * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
7259         * tree.c (compare_tree_int): Likewise.
7261 2002-01-25  Ulrich Weigand  <uweigand@de.ibm.com>
7263         * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
7264         adjustments even if they are implemented by more than two insns.
7266 Fri Jan 25 20:43:56 CET 2002  Jan Hubicka  <jh@suse.cz>
7268         * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
7269         * df.h (struct ref): Kill B.
7270         (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
7272         * basic-block.h (PROP_EQUAL_NOTES): New flag.
7273         * flow.c (propagate_one_insn): Use it.
7274         (mark_used_regs): Handle NIL.
7276 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
7278         * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
7279         to help folding.
7281 2002-01-25  David Edelsohn  <edelsohn@gnu.org>
7283         * rs6000.md (prefetch): Make address V4SI mode so that the address
7284         is restricted to legitimate form for instruction.
7286 2002-01-25  Bob Wilson  <bob.wilson@acm.org>
7288         * doc/install.texi (xtensa-*-elf): New target.
7289         (xtensa-*-linux*): New target.
7290         * doc/contrib.texi: Add myself.
7292 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
7294         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
7295         purpose register to hold an SImode (or smaller) value.
7297 2002-01-25  Jakub Jelinek  <jakub@redhat.com>
7299         * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
7300         registry only.
7301         * crtstuff.c: Likewise.
7303 2002-01-25  Kazu Hirata  <kazu@hxi.com>
7305         * config/h8300/h8300.md (negation patterns): Tighten
7306         predicates to register_operand.
7308 2002-01-24  Aldy Hernandez  <aldyh@redhat.com>
7310         * loop.c (emit_prefetch_instructions): Use the prefetch insn's
7311         mode, not Pmode.
7313         * builtins.c (expand_builtin_prefetch): Same.
7315 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
7317         * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
7318         modes.
7320 2002-01-24  Kazu Hirata  <kazu@hxi.com>
7322         * config/h8300/h8300.c (print_operand): Remove support for
7323         operand character 'A'.
7324         * config/h8300/h8300.md (three anonymous patterns): Replace
7325         operand character 'A' with either 'T' or 'S'.
7327 2002-01-24  Kazu Hirata  <kazu@hxi.com>
7329         * config/h8300/h8300.c (print_operand): Remove support for
7330         operand character 'U'.
7332 2002-01-24  Andris Pavenis  <pavenis@latnet.lv>
7334         * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
7336 2002-01-24  Nick Clifton  <nickc@cambridge.redhat.com>
7338         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
7339         values to be assigned to the stack pointer.
7341 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
7343         * emit_rtl.c (gen_lowpart_common): Conversion from const_int
7344         to const_double needs to be done right for big-endian systems.
7346 2002-01-24  Jason Merrill  <jason@redhat.com>
7348         PR c++/2432
7349         * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
7350         to can_throw_internal.
7352 2002-01-23  Richard Henderson  <rth@redhat.com>
7354         * fold-const.c (fold): Change UINT_MAX test to check vs precision
7355         rather than TYPE_MAX_VALUE.  Fix indentation and a bogus negation.
7357 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
7359         * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
7360         (symGOT2reg): Use them, then set as GOT value as unchanging.
7361         (symGOTOFF2reg): Set REG_EQUAL note.  Use a different pseudo
7362         as a temporary, if possible.
7363         (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC.  Emit
7364         sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
7366 2002-01-23  Kazu Hirata  <kazu@hxi.com>
7368         * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
7369         accept to accept 0x80 as operands[2].
7371 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
7373         * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
7375 2002-01-23  Richard Henderson  <rth@redhat.com>
7377         * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
7379 2002-01-23  Aldy Hernandez  <aldyh@redhat.com>
7381         * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
7382         (parmlist_or_identifiers_1): Verify that only a parmlist follows
7383         an attribute.
7385 2002-01-23  Richard Henderson  <rth@redhat.com>
7387         * expr.c (move_by_pieces_1): Extend size before negation.
7389         * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
7390         (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
7391         (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
7392         * config/m68k/t-m68kelf: Likewise.
7394 2002-01-23  Bob Wilson  <bob.wilson@acm.org>
7396         * config/xtensa/elf.h: New file.
7397         * config/xtensa/lib1funcs.asm: New file.
7398         * config/xtensa/lib2funcs.S: New file.
7399         * config/xtensa/linux.h: New file.
7400         * config/xtensa/t-xtensa: New file.
7401         * config/xtensa/xtensa-config.h: New file.
7402         * config/xtensa/xtensa-protos.h: New file.
7403         * config/xtensa/xtensa.c: New file.
7404         * config/xtensa/xtensa.h: New file.
7405         * config/xtensa/xtensa.md: New file.
7406         * config.gcc (xtensa-*-elf*): New target.
7407         (xtensa-*-linux*): New target.
7408         * cse.c (canon_hash): Compare rtx pointers instead of register
7409         numbers.  This is required for the Xtensa port.
7410         * integrate.c (copy_insn_list): Handle case where the static
7411         chain is in memory and the memory address has to be copied to
7412         a register.
7413         * doc/invoke.texi (Option Summary): Add Xtensa options.
7414         (Xtensa Options): New node.
7415         * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
7417 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
7419         * diagnostic.c (internal_error): Do ICE suppression only
7420         when ENABLE_CHECKING is not defined.
7422         * c-typeck.c (require_complete_type): Return error_mark_node
7423         if type is error_mark_node.
7425 2002-01-23  Janis Johnson  <janis187@us.ibm.com>
7427         * toplev.c (process_options): Disable -fprefetch-loop-arrays with
7428         -Os and issue a warning.
7430 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
7432         * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
7433         current (lack of) need for host configuration by hand.
7435         * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
7436         references.  Documentation of some target macros moved from
7437         hostconfig.texi to tm.texi.
7439 2002-01-23  Will Cohen  <wcohen@redhat.com>
7441         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
7442         defined.
7444 2002-01-23  Kazu Hirata  <kazu@hxi.com>
7446         * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
7447         operand[3].
7449 2002-01-23  Jason Merrill  <jason@redhat.com>
7451         * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
7453         * function.c (assign_parms): Don't put args of inline functions
7454         into registers when not optimizing.
7456 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
7458         * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
7459         (prologue_use): New pattern.
7460         * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
7461         preference to gen_rtx_USE.
7462         (thumb_expand_prologue): Use gen_prologue_use in preference to
7463         gen_rtx_USE.
7464         (thumb_expand_epilogue): Use gen_prologue_use in preference to
7465         gen_rtx_USE.
7467 2002-01-23  Hans-Peter Nilsson  <hp@bitrange.com>
7469         * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
7471 2002-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
7473         PR c/3504
7474         * doc/extend.texi: Correct documentation of __alignof__.
7476 2002-01-22  Zack Weinberg  <zack@codesourcery.com>
7478         * params.h: Rename arguments of DEFPARAM so that it will be
7479         recognized as a translation keyword.
7481 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
7483         * extend.texi: Document altivec functions.
7484         Fix N-bit adjectives in X86 builtin documentation.
7486 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
7488         * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
7489         auto_inc_dec values.
7491 2002-01-22  Richard Earnshaw  <rearnsha@arm.com>
7493         * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
7494         after backslash.
7495         (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
7497 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
7499         * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
7501 2002-01-22  Richard Henderson  <rth@redhat.com>
7503         * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
7504         copy_insn not copy_rtx.
7506 2002-01-23  Alan Modra  <amodra@bigpond.net.au>
7508         * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
7509         "nonzero" as that might add "1" bits.  Ensure "constop" is
7510         properly sign extened.
7511         (force_to_mode): Tweak for sign extended constop.
7513 2002-01-22  Richard Henderson  <rth@redhat.com>
7515         * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
7516         for_each_rtx instead of assuming we're already looking at the MEM.
7517         (split_small_symbolic_mem_operand): Likewise.
7518         * config/alpha/alpha.h (PREDICATE_CODES): Update.
7519         * config/alpha/alpha.md (small symbolic memory splitters): Update.
7521 2002-01-22  Richard Henderson  <rth@redhat.com>
7523         * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
7524         sequence number for the literal.
7525         (divmoddi_internal_er): Likewise.
7527 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
7529         PR java/4972
7530         * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
7531         in LIBICONV variable.
7532         * configure: Regenerated.
7534 2002-01-22  Krister Walfridsson  <cato@df.lth.se>
7536         * dependence.c (build_def_use): Remove array_idx.
7538         * dwarfout.c (last_filename): Remove.
7539         (output_compile_unit_die): Remove last_filename.
7541 2002-01-22  Roger Sayle  <roger@eyesopen.com>
7542             Richard Henderson  <rth@redhat.com>
7544         PR opt/3640
7545         * fold-const.c (fold): Optimize unsigned comparisons against
7546         UINT_MAX (and similar unsigned constants).
7548 2002-01-22  Janis Johnson  <janis187@us.ibm.com>
7550         * Makefile.in (loop.o): Depend on OPTABS_H.
7551         * loop.c (emit_prefetch_instructions): Check the prefetch operand
7552         against the predicate.
7554         PR target/5379
7555         * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
7556         for the address operand.
7558 2002-01-22  Richard Henderson  <rth@redhat.com>
7560         * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
7562 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
7564         PR other/5450
7565         * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
7566         preprocessor flags.
7568 2002-01-22  Jason Thorpe  <thorpej@wasabisystems.com>
7570         * config.gcc (x86_64-*-netbsd*): New target.
7571         * config/i386/netbsd64.h: New file.
7573 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
7575         * regrename.c (kill_value): Fix typo.
7577 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
7579         * doc/tm.texi: Remove STARTING_FRAME_PHASE.
7581         * config/rs6000/rs6000.h: Same.
7583         * function.c (instantiate_virtual_regs): Remove
7584         STARTING_FRAME_PHASE.
7585         (assign_stack_local_1): Same.
7586         Calculate frame phase.
7588 2002-01-22  Nick Clifton  <nickc@redhat.com>
7590         * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
7591         variable declaration to outer scope in order to simplify
7592         future extensions.
7593         (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
7594         arm_hard_regno_mode_ok.
7595         * config/arm/arm-protos.h: Add a prototype for
7596         arm_hard_regno_mode_ok.
7597         * config/arm/arm.c (soft_df_operand): Remove now redundant
7598         check for DImode values using IP_REGNUM.
7599         (nonimmediate_soft_df_operand): Remove now redundant check for
7600         DImode values using IP_REGNUM.
7601         (arm_hard_regno_mode_ok): New function. New check: make sure
7602         that DImode values are not stored in IP_REGNUM.
7604         * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
7605         note with a USE.
7606         (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
7608 2002-01-22  Jason Merrill  <jason@redhat.com>
7610         * c-semantics.c (genrtl_compound_stmt): Only check nesting
7611         consistency if this COMPOUND_STMT is scoped.
7613 2002-01-22  Kazu Hirata  <kazu@hxi.com>
7615         * predict.c: Fix formatting.
7616         * print-tree.c: Likewise.
7617         * protoize.c: Likewise.
7618         * real.h: Likewise.
7619         * rtl.h: Likewise.
7620         * sbitmap.h: Likewise.
7621         * scan.c: Likewise.
7622         * sched-deps.c: Likewise.
7623         * sched-vis.c: Likewise.
7624         * sdbout.c: Likewise.
7625         * sibcall.c: Likewise.
7626         * ssa.c: Likewise.
7627         * ssa-ccp.c: Likewise.
7628         * ssa-dce.c: Likewise.
7629         * stmt.c: Likewise.
7630         * stor-layout.c: Likewise.
7631         * system.h: Likewise.
7633 Tue Jan 22 06:26:33 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7635         * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
7636         if fits in bounds of base type.
7638         * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
7639         (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
7640         (add_bound_info, default): If can't find a context, make a
7641         SAVE_EXPR.
7642         (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
7644 2002-01-22  Hans-Peter Nilsson  <hp@axis.com>
7646         * c-typeck.c (parser_build_binary_op): If result from
7647         build_binary_op is ERROR_MARK just return error_mark_node without
7648         further processing.
7650 2002-01-21  Jason Thorpe  <thorpej@wasabisystems.com>
7652         * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
7653         Split a.out-specific bits into...
7654         * config/netbsd-aout.h: ...this.
7655         * config/netbsd-elf.h: New file.
7656         * config/alpha/netbsd-elf.h: Remove.
7657         * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
7658         * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
7659         (STARTFILE_SPEC): Remove redundant definition.
7660         (ENDFILE_SPEC): Likewise.
7661         (LINK_SPEC): Likewise.
7662         (CPP_SPEC): Likewise.
7663         (ASM_SPEC): Likewise.
7664         (LIB_SPEC): Likewise.
7665         (SWITCH_TAKES_ARG): Likewise.
7666         (TARGET_MEM_FUNCTIONS): Likewise.
7667         (CPP_PREDEFINES): Redefine.
7668         (ASM_FINAL_SPEC): Remove redefinition.
7669         (ASM_COMMENT_START): Redefine.
7670         (FUNCTION_PROFILER): Define.
7671         (TARGET_VERSION): Redefine.
7672         Comment and formatting cleanup.
7673         * config/i386/netbsd.h: Include <netbsd-aout.h>.
7674         * config/m68k/netbsd.h: Include <netbsd-aout.h>.
7675         * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
7676         big- or little-endian.
7677         * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
7678         * config.gcc (*-*-netbsd*): Add definitions common to all
7679         NetBSD configs.
7680         (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
7681         gnu_ld definitions.  Add netbsd-elf.h to and remove
7682         alpha/netbsd-elf.h from tm_file.  Remove alpha/t-crtfm from
7683         tmake_file, and don't lose previous tmake_file contents.
7684         (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
7685         (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
7686         gnu_ld definitions.  Add netbsd-elf.h to tm_file.
7687         (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
7688         (mipsel-*-netbsd*): Rename this to...
7689         (mips*-*-netbsd*): ...this.  Add elfos.h to tm_file.  Add
7690         mips/little.h to tm_file for mips*el-*.
7691         (powerpc-*-netbsd*): Remove redundant xm_defines definition.
7692         (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
7693         (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
7695 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7697         * pa-protos.h (reg_before_reload_operand): New function prototype.
7698         * pa.c (reg_before_reload_operand): New function implementation.
7699         * pa.md (decrement_and_branch_until_zero, movb): Use it.  Change "!*m"
7700         contraints to "*m".
7702 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7704         * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
7706 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7708         * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
7709         (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
7710         (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
7711         (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
7712         (ENDFILE_SPEC): Undefine.
7713         (STARTFILE_SPEC): Redefine for PA.
7715 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7717         * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
7719 2002-01-21  Daniel Jacobowitz  <drow@mvista.com>
7721         * config.gcc: Add entries to supported PowerPC --with-cpu
7722         types.
7724 2002-01-21  Jakub Jelinek  <jakub@redhat.com>
7726         * config/i386/i386.c (ix86_function_arg_regno_p): Never return
7727         true for 64-bit mode only SSE registers in 32-bit mode.
7729 2002-01-21  Kazu Hirata  <kazu@hxi.com>
7731         * unwind-dw2.c: Fix formatting.
7732         * unwind-dw2-fde.c: Likewise.
7733         * unwind-dw2-fde.h: Likewise.
7734         * unwind-pe.h: Likewise.
7735         * varasm.c: Likewise.
7736         * varray.h: Likewise.
7738 2002-01-21  Hans-Peter Nilsson  <hp@bitrange.com>
7740         Remove workaround for register stack overwrite bug in mmix.
7741         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
7742         support for TARGET_REG_STACK_FILL_BUG.
7743         * config/mmix/mmix.h: Remove member has_call_without_parameters.
7744         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
7745         Delete.
7746         (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
7747         (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
7748         -mno-reg-stack-fill-bug-workaround.
7749         * config/mmix/mmix.md ("call", "call_value"): Don't set struct
7750         machine member has_call_without_parameters.
7751         * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
7752         -mreg-stack-fill-bug-workaround and
7753         -mno-reg-stack-fill-bug-workaround.
7754         (MMIX Options): Ditto.
7756 2002-01-21  Kazu Hirata  <kazu@hxi.com>
7758         * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
7759         as appropriate.
7760         Remove redundant code.
7762 2002-01-21  Joseph S. Myers  <jsm28@cam.ac.uk>
7764         * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
7765         config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
7766         config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
7767         config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
7768         config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
7769         out target macro definitions and non-target-specific comments
7770         mostly taken from old versions of the manual.
7772 2002-01-20  Kazu Hirata  <kazu@hxi.com>
7774         * config/h8300/h8300.h: Fix comment formatting.
7775         * config/ia64/aix.h: Likewise.
7776         * config/ia64/ia64-protos.h: Likewise.
7777         * config/ia64/ia64.c: Likewise.
7778         * config/ia64/ia64.h: Likewise.
7779         * config/ia64/ia64intrin.h: Likewise.
7780         * config/ia64/linux.h: Likewise.
7781         * config/ia64/unwind-aix.c: Likewise.
7782         * config/ia64/unwind-ia64.c: Likewise.
7784 2002-01-20  Kazu Hirata  <kazu@hxi.com>
7786         * config/h8300/h8300.c: Revise comments about shift code.
7788 2002-01-20  Kazu Hirata  <kazu@hxi.com>
7790         * config/h8300/h8300.c (function_arg): Update a comment.
7792 2002-01-20  Kazu Hirata  <kazu@hxi.com>
7794         * config/h8300/h8300.md: Update the comments at the beginning
7795         of the file.
7797 2002-01-20  Kazu Hirata  <kazu@hxi.com>
7799         * config/i370/i370.c: Fix comment formatting.
7800         * config/i370/i370.h: Likewise.
7801         * config/i370/i370.md: Likewise.
7802         * config/i370/linux.h: Likewise.
7804 Sun Jan 20 18:40:14 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7806         * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
7808         * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
7809         (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
7810         in incomplete case.
7812 2002-01-20  Graham Stott  <grahams@redhat.com>
7814         * cfgloop.c (flow_loop_preheader_scan): Fix typo.
7816 2002-01-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7818         * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
7820 2002-01-19  Tom Rix  <trix@redhat.com>
7822         * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
7824 2002-01-18  Aldy Hernandez  <aldyh@redhat.com>
7826         * doc/tm.texi (STARTING_FRAME_PHASE): Document.
7828         * function.c (assign_stack_local_1): Adjust x_frame_offset with
7829         STARTING_FRAME_PHASE.
7830         (STARTING_FRAME_PHASE): New.
7831         (instantiate_virtual_regs): Check saneness of
7832         STARTING_FRAME_PHASE.
7834         * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
7836 2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
7838         * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
7840 2002-01-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
7842         * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
7843         be used for bootstrapping GCC 3.0.
7845 2002-01-18  Kazu Hirata  <kazu@hxi.com>
7847         * config/h8300/h8300.md: Fix an insn length.
7849 2002-01-18  Kazu Hirata  <kazu@hxi.com>
7851         * bitmap.h: Fix comment formatting.
7852         * combine.c: Likewise.
7853         * cppfiles.c: Likewise.
7854         * c-pragma.h: Likewise.
7855         * c-typeck.c: Likewise.
7856         * df.c: Likewise.
7857         * dwarf2out.c: Likewise.
7858         * function.c: Likewise.
7859         * gcc.c: Likewise.
7860         * genattrtab.c: Likewise.
7861         * gthr-win32.h: Likewise.
7862         * haifa-sched.c: Likewise.
7863         * predict.c: Likewise.
7864         * rtlanal.c: Likewise.
7865         * rtl.h: Likewise.
7866         * unwind-dw2-fde.h: Likewise.
7867         * unwind-pe.h: Likewise.
7868         * vmsdbgout.c: Likewise.
7870 Thu Jan 17 15:28:26 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7872         * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
7873         if type_required and passed decl.
7875 2002-01-17  Aldy Hernandez  <aldyh@redhat.com>
7877         * config.gcc (cpu_type): Include altivec.h in powerpc
7878         extra_headers.
7879         Same for darwin.
7881         * config/rs6000/altivec.h: New.
7883 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
7885         * doc/install.texi (*-ibm-aix*): Update assembler and exception
7886         handling information.
7887         * doc/trouble.texi (Interoperation): Add libstdc++ information
7888         for AIX.
7889         (Misunderstandings): Add template instantiation and static template
7890         member information for AIX.
7892 2002-01-17  Jason Merrill  <jason@redhat.com>
7894         * dbxout.c (dbxout_type): Support const and volatile.
7896         * except.c (add_partial_entry): Remove backwards compatibility code.
7897         (end_protect_partials): Likewise.
7899 2002-01-17  Jakub Jelinek  <jakub@redhat.com>
7901         * config/ia64/ia64.md (prologue_use): New.
7902         * config/ia64/ia64.c (ia64_expand_prologue): Use
7903         gen_prologue_use instead of gen_rtx_USE.
7904         (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
7905         as CODE_FOR_pred_rel_mutex.
7906         (ia64_sched_reorder2): Likewise.
7908 2002-01-16  Eric Christopher  <echristo@redhat.com>
7910         * config/mips/r3900.h: Reformat.
7911         (SUBTARGET_CPP_SIZE_SPEC): Remove.
7912         * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
7913         * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
7914         (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
7915         * config/mips/t-elf: Remove mips3 multilib.
7917 2002-01-16  H.J. Lu <hjl@gnu.org>
7919         * config/mips/linux.h: Include "mips/abi64.h".
7921 2002-01-16  H.J. Lu <hjl@gnu.org>
7923         * config/mips/t-linux: New.
7925         * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
7927         * config/mips/linux.h: Don't include "gofast.h".
7928         (INIT_SUBTARGET_OPTABS): Removed.
7930 2002-01-16  Kazu Hirata  <kazu@hxi.com>
7932         * config/h8300/h8300-protos.h: Replace emit_a_shift with
7933         output_a_shift.
7934         * config/h8300/h8300.c: Likewise.
7935         * config/h8300/h8300.md: Likewise.
7937 2002-01-16  Kazu Hirata  <kazu@hxi.com>
7939         * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
7940         spaces after an opcode name.
7941         (pushqi1_h8300hs): Likewise.
7942         (pushhi1_h8300hs): Likewise.
7944 2002-01-16  Kazu Hirata  <kazu@hxi.com>
7946         * doc/extend.texi: Replace "option" with "attribute"
7947         appropriately.
7949 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
7951         * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
7952         (and:DI () (const_int -8)).
7953         (split_small_symbolic_mem_operand): Split
7954         (mem (and:DI () (const_int -8)).
7956 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
7958         PR target/5309:
7959         * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
7960         same way as TYPE_IMUL.
7961         (ultrasparc_sched_reorder): Likewise.
7962         * config/sparc/sparc.md (type): Add comment to update
7963         ultrasparc_sched_reorder when making changes.
7965 2002-01-16  Kazu Hirata  <kazu@hxi.com>
7967         * doc/invoke.texi: Change the dump file name of block
7968         reordering pass from 28.bbro to 29.bbro.
7969         Mention -dk option.
7971 Wed Jan 16 17:54:22 CET 2002  Jan Hubicka  <jh@suse.cz>
7973         * i386.md (minsf splitter): Fix pasto.
7975 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
7977         * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
7978         to frame pointer initialisation instruction.
7979         (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
7980         initialisation instruction.
7981         (soft_df_operand): Do not accept the IP register.
7982         (nonimmediate_soft_df_operand): Do not accept the IP register.
7984 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
7986         PR target/5357:
7987         * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
7988         MASK_V8 being both set.
7990 2002-01-16  Ulrich Weigand  <uweigand@de.ibm.com>
7992         * config/s390/s390.c (s390_emit_prologue): Do not emit USE
7993         insn for GOT register; add REG_MAYBE_DEAD notes instead.
7994         config/s390/s390.md (call, call_value): Add GOT register to
7995         CALL_INSN_FUNCTION_USAGE where needed.
7996         (call_exp, call_value_exp): New.
7998 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
8000         * config/arm/arm.c: General formatting tidy up.
8002 2002-01-16  Graham Stott  <grahams@redhat.com>
8004         * calls.c (try_to_integrate): Use "(size_t)" intermediate
8005         cast and when casting an integer literal to "rtx" pointer.
8006         (expand_call): Likewise.
8007         * flow.c (try_pre_increment): Likewise.
8008         (find_use_as_address): Likewise.
8009         * integrate.c (expand_iline_function): Likewise.
8010         * regmove.c (try_auto_increment): Likewise.
8012 2002-01-16  Graham Stott  <grahams@redhat.com>
8014         * sched-rgn.c (passed): Use sbitmap_free.
8015         (header): Likewise.
8016         (inner): Likewise.
8017         (in_queue): Likewise.
8018         (in_stack): Likewise.
8020 2002-01-15  Eric Christopher  <echristo@redhat.com>
8022         * flow.c (propagate_one_insn): Change to use fatal_insn.
8024 2002-01-15  Kazu Hirata  <kazu@hxi.com>
8026         * expmed.c (extract_fixed_bit_field): Remove unused code.
8027         * system.h: Poison SLOW_ZERO_EXTEND.
8028         * doc/tm.texi: Remove.
8029         * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
8030         * config/arm/arm.h: Likewise.
8031         * config/avr/avr.h: Likewise.
8032         * config/clipper/clipper.h: Likewise.
8033         * config/convex/convex.h: Likewise.
8034         * config/d30v/d30v.h: Likewise.
8035         * config/dsp16xx/dsp16xx.h: Likewise.
8036         * config/elxsi/elxsi.h: Likewise.
8037         * config/fr30/fr30.h: Likewise.
8038         * config/h8300/h8300.h: Likewise.
8039         * config/i370/i370.h: Likewise.
8040         * config/i386/i386.h: Likewise.
8041         * config/m68k/m68k.h: Likewise.
8042         * config/mips/mips.h: Likewise.
8043         * config/ns32k/ns32k.h: Likewise.
8044         * config/pdp11/pdp11.h: Likewise.
8045         * config/pj/pj.h: Likewise.
8046         * config/s390/s390.h: Likewise.
8047         * config/sh/sh.h: Likewise.
8048         * config/stormy16/stormy16.h: Likewise.
8049         * config/v850/v850.h: Likewise.
8050         * config/vax/vax.h: Likewise.
8051         * config/we32k/we32k.h: Likewise.
8053 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
8055         * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
8056         (altivec_lvsl): Change constraint to b.
8057         (altivec_lvsr): Same.
8058         (altivec_lvebx): Same.
8059         (altivec_lvehx): Same.
8060         (altivec_lvewx): Same.
8061         (altivec_lvxl): Same.
8062         (altivec_lvx): Same.
8063         (altivec_stvx): Add parallel.
8064         (altivec_stvxl): Same.
8065         (altivec_stvehx): Same.
8066         (altivec_stvebx): Same.
8067         (altivec_stvebx): Same.
8069 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
8071         * config.gcc: Change altivec.h to altivec-defs.h.
8073         * config/rs6000/altivec.h: Delete.
8075         * config/rs6000/altivec-defs.h: Add.
8077 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8079         * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
8080         and UMOD modes.
8082         * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
8083         less than or equal to eight bytes.
8085         * vax.md (andsi3): Remove constraints and change SET destination
8086         operand type to nonimmediate_operand.
8087         (andhi3, andqi3): Likewise.  Don't clear high order bits of operand 1
8088         when it is a CONST_INT.
8090 2002-01-15  Jason Merrill  <jason@redhat.com>
8092         * c-common.def (FILE_STMT): New code.
8093         * c-common.c (statement_code_p): It's a statement.
8094         * c-common.h (stmt_tree_s): Add x_last_filename.
8095         (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
8096         (last_expr_filename): New macro.
8097         * c-semantics.c (begin_stmt_tree): Initialize it.
8098         (add_stmt): If the filename changed, also insert a
8099         FILE_STMT.
8100         (expand_stmt): Handle seeing one.
8102 2002-01-15  Eric Christopher  <echristo@redhat.com>
8104         * flow.c (propagate_one_insn): Add error message and print out
8105         insn for debugging.
8107 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
8109         * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
8110         ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
8111         * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
8112         TRAMPOLINE_ALIGNMENT.
8113         * config/arm/arm.h, config/mcore/mcore.h: Likewise.  Change value
8114         to be in bits.
8115         * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
8116         PCC_BITFIELD_TYPE_MATTERS.
8117         * config/interix.h (STDC_VALUE): Remove.  Use
8118         STDC_0_IN_SYSTEM_HEADERS.
8119         * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
8120         (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
8121         ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
8123 2002-01-15  Craig Rodrigues  <rodrigc@gcc.gnu.org>
8125         * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
8126         not work on this platform currently.
8128 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
8130         * c-typeck.c (build_unary_op): Don't wrap msgid argument of
8131         readonly_warning in _().
8133 2002-01-15  Douglas B Rupp  <rupp@gnat.com>
8135         * gcc.c (delete_if_ordinary): Backout previous change.
8137 2002-01-15  Kazu Hirata  <kazu@hxi.com>
8139         * config/h8300/h8300.c (print_operand): Remove support for
8140         unused operand characters.
8142         * read-rtl.c: Fix formatting.
8143         * real.c: Likewise.
8144         * recog.c: Likewise.
8145         * regclass.c: Likewise.
8146         * regmove.c: Likewise.
8147         * reg-stack.c: Likewise.
8148         * reload1.c: Likewise.
8149         * rtlanal.c: Likewise.
8151 2002-01-15  Kazu Hirata  <kazu@hxi.com>
8153         * config/i386/i386.c: Fix formatting.
8155 2002-01-15  Jakub Jelinek  <jakub@redhat.com>
8157         * c-typeck.c (process_init_element): Don't save_expr
8158         COMPOUND_LITERAL_EXPR if just its initializer will be used.
8160 2002-01-15  David Edelsohn  <edelsohn@gnu.org>
8162         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
8163         emit optional traceback table if optimize_size or TARGET_ELF.
8164         * config/rs6000/rs6000.md (prefetch): New.
8166 2002-01-15  Andreas Jaeger  <aj@suse.de>
8168         * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
8170 2002-01-15  Kazu Hirata  <kazu@hxi.com>
8172         * mips-tfile.c: Fix formatting.
8174 Tue Jan 15 00:56:11 CET 2002  Jan Hubicka  <jh@suse.cz>
8176         * unroll.c (final_reg_note_copy): Fix previous commit.
8178 2002-01-14  Kazu Hirata  <kazu@hxi.com>
8180         * config/h8300/h8300-protos.h: Remove the prototype for
8181         eq_operator.
8182         * config/h8300/h8300.c (eq_operator): Remove.
8184 2002-01-14  Richard Henderson  <rth@redhat.com>
8186         * config/i386/i386.md (prefetch): Tidy.
8187         (prefetch_3dnow): Fix locality operand.
8189 2002-01-14  Richard Henderson  <rth@redhat.com>
8191         * config/mips/mips.h (HI_AND_FP_REGS): New register class.
8192         (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
8194 2002-01-14  Hans-Peter Nilsson  <hp@bitrange.com>
8196         * reload1.c (reload_combine): Pass reg_sum replacement through
8197         copy_rtx in loop performing multiple changes.
8199 2002-01-14  Jakub Jelinek  <jakub@redhat.com>
8201         * except.c (remove_unreachable_regions): New.
8202         (free_eh_status): Clear exception_handler_labels.
8203         (convert_from_eh_region_ranges): Call remove_unreachable_regions.
8204         (find_exception_handler_labels): Don't add the same label more than
8205         once.
8206         (remove_exception_handler_label): Don't die if
8207         find_exception_handler_labels hasn't been called for the current
8208         function yet.
8210 Mon Jan 14 21:26:13 CET 2002  Jan Hubicka  <jh@suse.cz>
8212         * toplev.c (rest_of_compilation): Rebuild jump labels after
8213         gcse.
8215 2002-01-14  Joseph S. Myers  <jsm28@cam.ac.uk>
8217         * doc/extend.texi: Move documentation of X86 built-in functions
8218         here.
8219         * doc/invoke.texi: From here.
8220         * doc/sourcebuild.texi: Document location of documentation for
8221         machine built-in functions.
8223 2002-01-13  Christopher Faylor  <cgf@redhat.com>
8225         * cppfiles.c (TEST_THRESHOLD): New macro.
8226         (SHOULD_MMAP): Ditto.
8227         (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
8228         be used.
8230 Mon Jan 14 20:23:34 CET 2002  Jan Hubicka  <jh@suse.cz>
8232         * unroll.c (final_reg_note_copy): Properly handle
8233         REG_LABEL
8234         (unroll_loops): Fix LOOP_CONDITION heuristics.
8236 2002-01-14  Geoffrey Keating  <geoffk@redhat.com>
8238         * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
8239         * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
8241 Mon Jan 14 20:18:19 CET 2002  Jan Hubicka  <jh@suse.cz>
8243         * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
8244         threaded loop.
8246 2002-01-14  Tom Rix  <trix@redhat.com>
8248         * config/rs6000/rs6000.md: Fix typo with sradi.
8250 2002-01-14  Ulrich Weigand  <uweigand@de.ibm.com>
8252         * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
8253         movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
8254         (clrstrdi, clrstrsi): Adapt callers.
8256         (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
8258         (movti splitter): Never use register 0 as base register.
8260 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
8262         * combine.c (simplify_shift_const): Always generate new rtx
8263         for shift expression instead of reusing given expression.
8265 Mon Jan 14 07:08:55 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8267         * config/alpha/alpha.c (alpha_expand_mov): Don't call
8268         alpha_legitimize_address unless mode is Pmode.
8270 2002-01-13  Geoffrey Keating  <geoffk@redhat.com>
8272         * doc/md.texi (Modifiers): Document the '*' constraint for the
8273         user.
8275         * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
8276         * doc/extend.texi (Function Attributes): 'interrupt' is valid
8277         for xstormy16 too.
8279 2002-01-13  Richard Henderson  <rth@redhat.com>
8281         * reload.c (find_reloads): Use a hard reg destination as reload reg
8282         for an input reload of the source.
8284 2002-01-13  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8286         * doc/install.texi (Binaries): Make link to ftp.writtenword.com
8287         more generic.
8289 Sun Jan 13 07:23:01 2002  Douglas B Rupp  <rupp@gnat.com>
8291         * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
8292         * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
8294         * config/alpha/x-vms (USE_COLLECT2): Set to empty.
8296 Sun Jan 13 06:55:31 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8298         * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
8300 2002-01-12  Tom Rix  <trix@redhat.com>
8302         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
8303         TARGET_POWERPC64.
8305 2002-01-12  Richard Henderson  <rth@redhat.com>
8307         * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
8309         * doc/invoke.texi: Update Alpha options.
8311         * doc/invoke.texi: Update i386 built-in function lists.
8313 Sat Jan 12 17:38:11 CET 2002  Jan Hubicka  <jh@suse.cz>
8315         * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
8316         referencing outside.
8318 Sat Jan 12 08:54:51 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8320         * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
8321         * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
8322         offsets, and change line folding.
8323         * optabs.c (expand_binop): Remove warnings.
8324         * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
8326 2002-01-12  Graham Stott <grahams@redhat.com>
8328         * attribs.c (handle_deprecated_attribute): constify WHAT.
8329         * diagnostic.c (warn_deprecated_use): Add braces, fixes
8330         dangling else warning and constify WHAT.
8331         * except.h (struct function, struct inline_remap): Move
8332         struct tag forward defs before all prototypes.
8333         (duplicate_eh_regions): Whitespace.
8335 2002-01-12  Nick Clifton  <nickc@cambridge.redhat.com>
8337         * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
8338         MODE_BASE_REG_CLASS.
8339         (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
8341 2002-01-12  Richard Henderson  <rth@redhat.com>
8343         * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
8344         (ix86_expand_vector_move): New.
8345         (bdesc_2arg): Remove andps, andnps, orps, xorps.
8346         (ix86_init_mmx_sse_builtins): Make static.  Remove composite builtins.
8347         Remove old prefetch builtins.  Special case the logicals removed above.
8348         (ix86_expand_builtin): Likewise.
8349         (safe_vector_operand): Use V4SFmode, not TImode.
8350         (ix86_expand_store_builtin): Remove shuffle arg.  Update callers.
8351         (ix86_expand_timode_binop_builtin): New.
8352         * config/i386/i386-protos.h: Update.
8353         * config/i386/i386.h (enum ix86_builtins): Update.
8354         * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
8355         Use ix86_expand_vector_move in vector move expanders.
8356         (movti_internal, movti_rex64): Add xorps alternative.
8357         (sse_clrv4sf): Rename and adjust from sse_clrti.
8358         (prefetch): Don't work so hard.
8359         (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
8360         * config/i386/xmmintrin.h (__m128): Use V4SFmode.
8361         (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
8363 2002-01-11  Richard Henderson  <rth@redhat.com>
8365         * config/i386/mmintrin.h: New file.
8366         * config/i386/xmmintrin.h: New file.
8367         * config.gcc (i?86-*-*): Add extra_headers.
8368         * simplify-rtx.c (simplify_unary_operation): Handle saturating
8369         truncation codes.
8370         (simplify_binary_operation): Handle saturating arithmetic codes.
8371         * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
8372         not the lowpart subreg.
8373         (ix86_expand_builtin): Return a TImode dummy register instead of 0
8374         on error.
8375         * config/i386/i386.md (mmx_clrdi): Override memory attribute.
8377 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8379         * conflict.c (conflict_graph_compute): Free regsets when finished.
8380         * ssa.c (compute_coalesced_reg_partition): Likewise.
8382 2002-01-12  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8384         * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
8385         every where we allocate a register.
8387 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8389         * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
8390         * lcm.c (compute_earliest, compute_farthest): Likewise.
8392 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
8394         * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
8396 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
8398         * doc/rtl.texi (Insns): Fix 2 typos.
8400 2002-01-11  Joseph S. Myers  <jsm28@cam.ac.uk>
8402         * doc/invoke.texi: Avoid overfull hboxes.  Add summary of D30V
8403         options.  Use @table @gcctabopt for MMIX options.  Add index
8404         entries for MMIX options.  Start new paragraph with first
8405         heading of the machine-dependent options.
8407 2002-01-11  Craig Rodrigues  <rodrigc@gcc.gnu.org>
8409         PR other/5299
8410         * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
8411         * combine.c (force_to_mode): Same.
8412         * reload1.c (clear_reload_reg_in_use): Same.
8414 2002-01-11  Nick Clifton  <nickc@cambridge.redhat.com>
8416         * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
8417         and 'subtargets'.
8419 2002-01-11  Andreas Jaeger  <aj@suse.de>,
8420             Brad Lucier <lucier@math.purdue.edu>
8422         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
8423         mcpu.
8425 Fri Jan 11 07:35:12 2002  Douglas B Rupp  <rupp@gnat.com>
8427         * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
8428         Protect with IN_LIBGCC.
8429         (LINK_EH_SPEC): Add required trailing space.
8431 Fri Jan 11 09:25:05 2002  Nicola Pero  <n.pero@mi.flashnet.it>
8433         * c-tree.h: Move function declarations so that they are listed
8434         under the filename which contains them.
8435         (check_identifier, finish_decl_top_level,
8436         lookup_name_current_level_global, shadow_record_fields): Remove.
8438 2002-01-11  Andreas Jaeger  <aj@suse.de>
8440         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
8441         march.
8443 2002-01-10  Richard Henderson  <rth@redhat.com>
8445         * config/alpha/alpha.c (print_operand): Add 'J'.
8446         * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
8447         new operand with the sequence number for the lituse.  When splitting
8448         the insns, use gen_movdi_er_high_g and generate a sequence number.
8449         (gen_movdi_er_high_g): Print the sequence number if non-zero.
8451 2002-01-10  Aldy Hernandez  <aldyh@redhat.com>
8453         * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
8454         lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
8455         stvxl.
8456         (altivec_expand_builtin): Same.
8457         (altivec_expand_stv_builtin): New.
8459         * config/rs6000/rs6000.h (rs6000_builtins): Same.
8461         * config/rs6000/rs6000.md ("altivec_lvebx"): New.
8462         ("altivec_lvehx"): New.
8463         ("altivec_lvewx"): New.
8464         ("altivec_lvxl"): New.
8465         ("altivec_lvx"): New.
8466         ("altivec_stvx"): New.
8467         ("altivec_stvebx"): New.
8468         ("altivec_stvehx"): New.
8469         ("altivec_stvewx"): New.
8470         ("altivec_stvxl"): New.
8472 2002-01-10  Richard Henderson  <rth@redhat.com>
8474         * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
8475         * reload1.c (delete_output_reload): Zap spill_reg_store.  Take
8476         care not to delete instructions twice.
8478 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
8480         * toplev.c: Don't declare environ (it's not used anywhere).
8481         * configure.in: Don't check for declaration of environ.
8482         * config/i386/xm-mingw32.h: Don't #define environ.
8483         * config.in, configure: Regenerate.
8485 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
8487         * configure.in: Set stage1_cflags for powerpc-*-darwin*.
8488         * configure: Regenerate.
8490         * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
8491         DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
8492         * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
8493         alpha/xm-vms.h.
8494         * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
8495         LIMITS_H_TEST here, not in m68k/x-next.
8496         * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
8497         SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
8499         * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
8500         LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
8501         * config/alpha/x-vms: Don't set USE_COLLECT2.  Add comments.
8503         * config/i386/x-djgpp: Renamed i386/t-djgpp.
8504         * config/m88k/x-dolph: Renamed m88k/t-dolph.
8505         * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
8506         * config/pa/x-pa-mpeix: Renamed pa/t-mpeix.  Update for
8507         replacement of quadlib.asm with quadlib.c.
8509         * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
8510         config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
8511         config/rs6000/xm-beos.h: Delete file.
8513         * config.gcc: Update to match above changes.
8515 2002-01-10  Kazu Hirata  <kazu@hxi.com>
8517         * config/h8300/h8300.h: Fix comment typos.
8518         * config/h8300/h8300.md: Likewise.
8519         * config/h8300/lib1funcs.asm: Likewise.
8521 2002-01-10  Dale Johannesen  <dalej@apple.com>
8523         PR optimization/5269
8524         * unroll.c (precondition_loop_p): Make *increment be the correct
8525         sign when n_iterations known, to avoid confusing caller.
8527 2002-01-10  Kazu Hirata  <kazu@hxi.com>
8529         * doc/extend.texi (deprecated): Fix a typo.
8531 Thu Jan 10 22:35:54 CET 2002  Jan Hubicka  <jh@suse.cz>
8533         * basic-block.h (update_br_prob_note): Declare.
8534         * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
8535         (try_forward_edges): Care negative frequencies and update note.
8536         (outgoing_edges_match): Tweek conditional merging heuristics.
8537         (try_crossjump_to_edge): use update_br_prob_note.
8538         * cfglayout.c (fixup_reorder_chain): Likewise.
8539         * cfrtl.c (update_br_prob_note): New.
8540         * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
8542         * i386.c (ix86_decompose_address): Return -1 if address contains
8543         shift.
8544         (legitimate_address_p): Require ix86_decompose_address to return 1.
8546         * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
8547         (cprop_insn): Likewise.
8549 2002-01-10  Kazu Hirata  <kazu@hxi.com>
8551         * toplev.c: Fix formatting.
8552         * tree.c: Likewise.
8553         * tree-dump.c: Likewise.
8554         * unroll.c: Likewise.
8555         * unwind-dw2.c: Likewise.
8556         * unwind-dw2-fde.c: Likewise.
8557         * unwind-dw2-fde-glibc.c: Likewise.
8558         * unwind-sjlj.c: Likewise.
8560 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
8562         * doc/invoke.texi: Document PDP-11 options.
8564 2002-01-10  Kazu Hirata  <kazu@hxi.com>
8566         * config/h8300/h8300.h: Fix formatting.
8568 2002-01-10  Ira Ruben   <ira@apple.com>
8570         Add __attribute__ ((deprecated)).
8571         * extend.texi: Document __attribute__ ((deprecated)).
8572         * invoke.texi: Document -Wno-deprecated-declarations.
8573         * testsuite/g++.dg/other/deprecated.C: New C++ test.
8574         * testsuite/gcc.dg/deprecated.c: New C test.
8575         * attribs.c (enum attrs): Declare handle_deprecated_attribute().
8576         (c_common_attribute_table): Add "deprecated" entry.
8577         (handle_deprecated_attribute): New function.
8578         * c-decl.c (deprecated_states): New enum.
8579         deprecated_state: State of "deprecated" handling.
8580         (start_decl): Set deprecated_state based on attributes.
8581         (grokdeclarator): Test for deprecated uses, propagate attribute.
8582         * c-typeck.c (build_component_ref): Test for deprecated fields.
8583         (build_external_ref): Test for deprecated primaries.
8584         * diagnostic.c (warn_deprecated_use) New function to issue
8585         warnings about __attribute__ ((depricated)) references.
8586         * flags.h (warn_deprecated_decl): Extern declared for
8587         -W[no-]deprecated-declarations option.
8588         * print-tree.c (print_node): Show deprecated flag status.
8589         * toplev.c (warn_deprecated_decl): Defined.
8590         (W_options): Added "deprecated-declaration".
8591         * toplev.h (warn_deprecated_use): Extern declared.
8592         * tree.h (struct tree_common): Define deprecated_flag.
8593         (TREE_DEPRECATED): New macro to access flag.
8594         * cp/call.c (build_call): Test for deprecated calls.
8595         * cp/class.c (add_implicitly_declared_members): Set global
8596         flag to tell grokdeclarator to not issue deprecated warnings.
8597         * cp/cp-tree.h: Add extern for adding_implicit_members.
8598         * cp/decl.c (deprecated_states): New enum.
8599         (start_decl): Set deprecated_state based on attributes.
8600         (grokdeclarator): Test for deprecated uses, propagate attribute.
8601         * cp/lex.c (do_identifier): Test for deprecated primaries.
8602         * cp/typeck.c (build_component_ref): Test for deprecated fields.
8604 2002-01-10  Ira Ruben   <ira@apple.com>
8606         Fix to assign attributes to inline member functions.
8607         * cp/decl.c (start_method): Handle attrlist.
8609 2002-01-10  Kazu Hirata  <kazu@hxi.com>
8611         * combine.c (expand_field_assignment): Use subreg_lsb().
8613 2002-01-10  David Edelsohn  <edelsohn@gnu.org>
8615         * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
8616         POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
8617         (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
8618         Recurse for any operand of AND as long as constant is non-zero.
8620 2002-01-10  Kazu Hirata  <kazu@hxi.com>
8622         * config/h8300/h8300.md: Remove constraints from expanders.
8624 2002-01-10  Kazu Hirata  <kazu@hxi.com>
8626         * varasm.c: Fix formatting.
8627         * varray.c: Likewise.
8628         * vmsdbgout.c: Likewise.
8629         * xcoffout.c: Likewise.
8631 Thu Jan 10 17:19:12 CET 2002  Jan Hubicka  <jh@suse.cz>
8633         * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
8634         update edge probabilities to match.
8636 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
8638         * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
8639         dependencies.
8640         * doc/languages.texi, doc/sourcebuild.texi: New files.
8641         * doc/configfiles.texi: Make a subsubsection.  Update.
8642         * doc/configterms.texi: Add @node.  Remove warning that this isn't
8643         instructions for building GCC.
8644         * doc/makefile.texi: Make a subsection.
8645         * doc/gccint.texi: Update.
8647 Thu Jan 10 16:39:58 CET 2002  Jan Hubicka  <jh@suse.cz>
8649         * i386.md (sse_mov?fcc_const0_?): Fix constraints.
8651 Thu Jan 10 12:45:50 2002  Nicola Pero  <n.pero@mi.flashnet.it>
8653         * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
8655 Thu Jan 10 11:19:18 CET 2002  Jan Hubicka  <jh@suse.cz>
8657         * optabs.c (expand_fix): Look for wider integer modes first.
8659         * i386.md (mov?f): Avoid the fake const double trick for medium
8660         memory model.
8661         (min?f*/max?f*): Prohibit memory operands for i387 variant.
8662         (fop_df_4): Disable for SSE compilation.
8664 2002-01-10  Graham Stott  <grahams@redhat.com>
8666         * dwarf2out.c (indirect_string_alloc, output_indirect_string):
8667         Move prototype into DWARF2_DEBUGGING_INFO conditional block.
8669 2002-01-10  Richard Henderson  <rth@redhat.com>
8671         * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
8673 2002-01-10  Richard Henderson  <rth@redhat.com>
8675         * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
8676         (copyprop_hardreg_forward_1): Likewise.  Use mode_change_ok.
8678 2002-01-10  Kazu Hirata  <kazu@hxi.com>
8680         * combine.c (can_combine_p): Fix a comment typo.
8682 2002-01-09  Zack Weinberg  <zack@codesourcery.com>
8684         * Makefile.in (s-gencheck, s-options, s-specs): Handle an
8685         empty list correctly.  Change loop index $t to $f for
8686         consistency with rest of Makefile.
8688 2002-01-08  Aldy Hernandez  <aldyh@redhat.com>
8690         * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
8691         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
8693         * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
8694         mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
8695         (altivec_init_builtins): Same.
8696         (altivec_expand_unop_builtin): Return NULL_RTX on error.
8697         (altivec_expand_binop_builtin): Same.
8698         (altivec_expand_ternop_builtin): Same.
8699         (bdesc_dst): New.
8701         * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
8702         ("altivec_vctuxs"): Fix typo.
8703         ("altivec_vnmsubfp"): Same.
8704         ("altivec_dssall"): New.
8705         ("altivec_mfvscr"): New.
8706         ("altivec_dss"): New.
8707         ("altivec_lvsl"): New.
8708         ("altivec_lvsr"): New.
8709         ("altivec_dstt"): New.
8710         ("altivec_dstst"): New.
8711         ("altivec_dststt"): New.
8712         ("altivec_dst"): New.
8714         * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
8715         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
8717 2002-01-09  Richard Henderson  <rth@redhat.com>
8719         * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
8721 2002-01-10  Hans-Peter Nilsson  <hp@bitrange.com>
8723         * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
8724         function.
8725         * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
8726         prototype.
8727         * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
8729 2002-01-09  Kazu Hirata  <kazu@hxi.com>
8731         * read-rtl.c: Fix formatting.
8732         * real.c: Likewise.
8733         * regclass.c: Likewise.
8734         * regrename.c: Likewise.
8735         * reg-stack.c: Likewise.
8736         * reload1.c: Likewise.
8737         * reload.c: Likewise.
8738         * rtl.c: Likewise.
8740 2002-01-09  Kazu Hirata  <kazu@hxi.com>
8742         * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
8743         to extract items in the expr_list chain.
8745 2002-01-09  Richard Henderson  <rth@redhat.com>
8747         * config/vax/vax.c (vax_rtx_cost): Never abort.
8749         * config/vax/vax.h (REAL_ARITHMETIC): Define.
8751 2002-01-09  Jan Hubicka  <jh@suse.cz>
8753         * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
8755 2002-01-09  Richard Henderson  <rth@redhat.com>
8757         * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
8758         Unify code from various alternatives.
8760 2002-01-09  Richard Henderson  <rth@redhat.com>
8762         * regrename.c (copy_value): Ignore the copy if the source register
8763         is present in the value chain with a narrower mode.
8765 2002-01-09  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
8767         * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
8768         for the c4x target. Also improve layout.
8770 2002-01-09  Richard Henderson  <rth@redhat.com>
8772         * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
8773         * config/m32r/m32r.md (and ior xor splitters): Swap operands
8774         to match insn patterns.
8776 2002-01-09  Richard Henderson  <rth@redhat.com>
8778         * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
8779         (copyprop_hardreg_forward_1): Likewise.
8781 2002-01-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8783         * pa.md (decrement_and_branch_until_zero): Change predicate for
8784         operand 0 from register_operand to reg_or_nonsymb_mem_operand.
8786 2002-01-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8788         * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
8789         gets undefined. For Darwin.
8791 2002-01-09  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8793         * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
8795 2002-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8797         * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
8799 2002-01-08  Richard Henderson  <rth@redhat.com>
8801         * regrename.c (copy_value): Ignore overlapping copies.
8803 2002-01-08  Richard Henderson  <rth@redhat.com>
8805         * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
8806         as needed to avoid shared structure.
8808 2002-01-08  Kazu Hirata  <kazu@hxi.com>
8810         * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
8811         H8/300H and H8/S.
8813 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
8815         * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
8816         LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
8817         documentation of obsolete macros.
8818         * system.h: Poison these macros.
8819         * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
8820         config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
8821         config/c4x/c4x.h, config/clipper/clipper.h,
8822         config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
8823         config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
8824         config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
8825         config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
8826         config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
8827         config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
8828         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
8829         config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
8830         config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
8831         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
8832         config/sparc/sparc.h, config/stormy16/stormy16.h,
8833         config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
8834         definitions and commented out definitions of obsolete macros.
8835         * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
8836         of MAX_INT_TYPE_SIZE.
8838 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
8840         * config/s390/s390.c (s390_preferred_reload_class): Never
8841         return ADDR_REGS if it isn't a subset of the given class.
8842         * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
8843         FP_REGS, but all superclasses as well.
8845         * config/s390/s390.c (s390_function_profiler): Fix thinko.
8847         * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
8848         cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
8849         must not be a const_int.
8851 2002-01-08  Richard Henderson  <rth@redhat.com>
8853         * Makefile.in (toplev.o): Depend on options.h.
8854         (gcc.o): Depend on specs.h.
8856 2002-01-08  Jakub Jelinek  <jakub@redhat.com>
8858         * expr.c (store_expr): Convert VOIDmode constants back to target's
8859         mode.
8861 2002-01-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8863         * doc/invoke.texi: Markup gcc as @command.  Refer to
8864         http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
8865         of http://gcc.gnu.org/thanks.html.
8867 2002-01-08  Dale Johannesen  <dalej@apple.com>
8869         * config/rs6000/rs6000.md: Add missing int register
8870         target case to movdf_low.
8872 2002-01-08  Zack Weinberg  <zack@codesourcery.com>
8874         * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
8875         except.h.  Remove commands to define USING_SJLJ_EXCEPTIONS.
8876         (cppinit.o): Depend on except.h.
8877         (gencheck.h, options.h, specs.h, s-gencheck, s-options,
8878         s-specs): New rules.
8880         * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
8881         Don't create specs.h/options.h/gencheck.h here.  Remove
8882         unnecessary variable settings from last argument of AC_OUTPUT.
8883         * config.in, configure: Regenerate.
8884         * intl.c: Hardcode package name as "gcc".
8886         * cppinit.c: Include except.h.
8887         (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
8888         appropriate.
8889         * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
8890         Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
8891         (!)USING_SJLJ_EXCEPTIONS.
8892         * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
8894 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
8896         * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
8897         ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
8898         OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
8899         documentation of obsolete macros.
8900         * system.h: Poison these macros.
8901         * config/d30v/d30v.h, config/ns32k/encore.h,
8902         config/stormy16/stormy16.h: Remove definitions and commented out
8903         definitions of obsolete macros.
8905 Tue Jan  8 15:56:41 2002  Nicola Pero  <nicola@brainstorm.co.uk>
8907         * objc/objc-act.c (handle_class_ref): Mark the declaration of
8908         %sobjc_class_ref_%s as used - to prevent unwanted compiler
8909         warnings.
8911 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
8913         * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
8914         * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
8915         to insn adjusting stack/frame pointer.
8916         * config/s390/s390.md (reload_la_64, reload_la_31): Do not
8917         accept operands that cause the insn to be non-splittable.
8919 2002-01-08  Graham Stott  <grahams@redhat.com>
8921         * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
8922         (C_TYPE_FIELDS_VOLATILE): Likewise.
8923         (C_TYPE_BEING_DEFINED): Likewise.
8924         (C_IS_RESERVED_WORD): Likewise.
8925         (C_TYPE_VARIABLE_SIZE): Likewise.
8926         (C_DECL_VARIABLE_SIZE): Likewise.
8927         (C_MISSING_PROTOTYPE_WARNED): Likewise.
8928         (C_SET_EXP_ORIGINAL_CODE): Likewise.
8929         (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
8930         parenthesis.
8931         (C_DECL_ANTICIPATED): Likewise.
8932         (c_build_type_variant): Add parenthesis.
8934 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
8936         * gcc.c (option_map): Remove --version.
8937         (process_command): Handle -fversion following the GNU Coding
8938         Standards.  Partially addresses PR other/704.
8940 2002-01-08  Graham Stott  <grahams@redhat.com>
8942         * combine.c (combine_instructions): Fix typo.
8944 2002-01-08  Graham Stott  <grahams@redhat.com>
8946         * debug.h: Use "tree" and "rtx" throughout.
8948         * debug.c: Likewise.
8950 2002-01-08  Nick Clifton  <nickc@cambridge.redhat.com>
8952         * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
8953         constant pool, use the pool's version of the symbol instead.
8955 2002-01-07  Richard Henderson  <rth@redhat.com>
8957         * regrename.c (find_oldest_value_reg): Ignore the value chain if
8958         the original register was copied in a mode with a fewer number of
8959         hard registers than the desired mode.
8960         (copyprop_hardreg_forward_1): Likewise.
8961         (debug_value_data): Fix loop test.
8962         * toplev.c (parse_options_and_default_flags): Reenable
8963         -fcprop-registers at -O1.
8965 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
8967         * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
8968         (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
8970         * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
8971         predicates.
8973         * config/rs6000/rs6000.md: Add altivec predicate patterns.
8975 2002-01-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8977         * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
8978         (pa_output_function_prologue): Output local label at the beginning of
8979         the prologue when profiling.
8980         (hppa_profile_hook): Use the local label rather than the function label.
8981         * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
8983 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
8985         * config/rs6000/rs6000.c (print_operand): Remove extra space.
8986         (altivec_expand_unop_builtin): Fix thinko.
8987         (altivec_expand_binop_builtin): Same.
8988         (altivec_expand_ternop_builtin): Same.
8989         (altivec_expand_builtin): Same.
8991 2002-01-07  Richard Henderson  <rth@redhat.com>
8993         * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
8995 2002-01-07  Jason Merrill  <jason@redhat.com>
8997         * unwind-dw2.c (execute_cfa_program): Use < again.
8999 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
9001         * predict.c (combine_predictions_for_insn): Avoid division by zero.
9003 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
9005         * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
9006         Don't allow -1 - x -> ~x simplifications in the first pass.
9008 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
9010         * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
9011         arguments.
9012         (altivec_expand_binop_builtin): Same.
9013         (altivec_expand_unop_builtin): Same.
9014         (print_operand): Fix typo.
9015         (bdesc_1arg): Add vupk* variants.
9017         * rs6000.h (rs6000_builtins): Add vupk* enums.
9019         * rs6000.md: Add altivec_vupk* variants.
9021 2002-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
9023         * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
9024         doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
9025         and last update dates.
9027 2002-01-07  Janis Johnson  <janis187@us.ibm.com>
9029         * doc/rtl.texi (Flags): Clean up documentation of RTL flags
9031 2002-01-07  Marek Michalkiewicz  <marekm@amelek.gda.pl>
9033         * config/avr/avr.c (avr_mcu_types): Add new MCU types.
9034         * config/avr/avr.h (CPP_SPEC): Likewise.
9035         (LINK_SPEC): Likewise.
9036         (CRT_BINUTILS_SPECS): Likewise.
9037         * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
9038         * doc/invoke.texi (AVR Options): Document them.
9040 Mon Jan  7 11:59:34 CET 2002  Jan Hubicka  <jh@suse.cz>
9042         * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
9043         LABEL_NUSES.
9045 2002-01-07  Graham Stott  <grahams@redhat.com>
9047         * config/i386/i386.h: Update copyright date.
9048         (HALF_PIC_PTR): Add parenthesis.
9049         (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
9050         (CONSTANT_ALIGNMENT): Add parenthesis.
9051         (DATA_ALIGNMENT): Likewise.
9052         (LOCAL_ALIGNMENT): Likewise.
9053         (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
9054         (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
9055         (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
9056         (HARD_REGNO_NREGS): Add paranethesis.
9057         (VALID_SSE_REG_MODE): Whitespace.
9058         (VALID_MMX_REG_MODE): Whitespace.
9059         (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
9060         (ix86_hard_regno_mode_ok): Add parenthesis.
9061         (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
9062         (RETURN_IN_MEMORY): Whitespace.
9063         (N_REG_CLASSES): Add parenthesis.
9064         (INTEGER_CLASS_P): Add parenthesis and wrap.
9065         (FLOAT_CLASS_P): Likewise.
9066         (SSE_CLASS_P): Likewise.
9067         (MMX_CLASS_P): Likewise.
9068         (MAYBE_INTEGER_CLASS_P): Likewise.
9069         (MAYBE_FLOAT_CLASS_P): Likewise.
9070         (MAYBE_SSE_CLASS_P): Likewise.
9071         (MAYBE_MMX_CLASS_P): Likewise.
9072         (Q_CLASS_P): Likewise.
9073         (GENERAL_REGNO_P): Uppercase macro parameter.
9074         (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
9075         (FP_REGNO_P): Likewise.
9076         (ANY_FP_REGNO_P): Uppercase macro parameter.
9077         (SSE_REGNO_P): Likewise.
9078         (SSE_REGNO): Likewise.
9079         (SSE_REG_P): Likewise.
9080         (SSE_FLOAT_MODE_P): Likewise.
9081         (MMX_REGNO_P): Likewise.
9082         (MMX_REG_P):Likewise.
9083         (STACK_REG_P): Likewise.
9084         (NON_STACK_REG_P): Likewise.
9085         (STACK_TOP_P): Likewise.
9086         (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
9087         (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
9088         (SECONDARY_MEMORY_NEEDED): Likewise.
9089         (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
9090         (MD_ASM_CLOBBERS): Whitespace and wrap.
9091         (MUST_PASS_IN_STACK): Whitespace and wrap.
9092         (RETURN_POPS_ARGS): Add parenthesis.
9093         (INIT_CUMULATIVE_ARGS): Likewise.
9094         (FUNCTION_ARG): Likewise.
9095         (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
9096         (SETUP_INCOMING_VARARGS): Likewise.
9097         (BUILD_VA_LIST_TYPE):  Add parenthesis.
9098         (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
9099         parenthsis.
9100         (EXPAND_BUILTIN_VA_ARG): Likewise.
9101         (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
9102         (INITIALIZE_TRAMPOLINE): Add parenthesis.
9103         (INITIAL_ELIMINATION_OFFSET): Likewise.
9104         (REGNO_OK_FOR_INDEX_P): Add parenthesis.
9105         (REGNO_OK_FOR_BASE_P): Likewise.
9106         (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
9107         (REGNO_OK_FOR_DIREG_P): Likewise.
9108         (REG_OK_FOR_INDEX_P): Whitespace.
9109         (REG_OK_FOR_BASE_P): Whitespace.
9110         (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
9111         parenthesis.
9112         (FIND_BASE_TERM): Fix typo.
9113         (LEGITIMIZE_ADDRESS): Wrap in  { .. } while (0) and add parenthesis.
9114         (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
9115         (SYMBOLIC_CONST; Whitespace.
9116         (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in  { .. } while (0) and wrap.
9117         (ENCODE_SECTION_INFO): Whitespace.
9118         (FINALIZE_PIC): Remove do { ... } while (0).
9119         (PROMOTE_MODE): Wrap in do { ... } while (0).
9120         (CONST_COSTS): Whitespace.
9121         (RTX_COSTS): Add paramethesis, whitespace and wrap.
9122         (REGISTER_MOVE_COST): Add parenthesis.
9123         (MEMORY_MOVE_COST): Likewise.
9124         (EXTRA_CC_MODES): Whitespace.
9125         (SELECT_CC_MODE): Add parenthesis and whitespace.
9126         (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
9127         (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
9128         (ASM_OUTPUT_LABEL): Add paramethesis.
9129         (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
9130         (ASM_OUTPUT_REG_POP): Likewise.
9131         (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
9132         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
9134         * config/i386/i386.c: Update copyright.
9135         (CHECK_STACK_LIMIT): Add parenthesis.
9136         (AT_BP): Uppercase macro parameter.
9137         (x86_64_int_parameter_registers): Constify.
9138         (x86_64_int_return_registers): Likewise.
9139         (ix86_compare_op0): Use rtx.
9140         (construct_container): Constify INTREG parameter.
9141         (function_arg): Use rtx.
9143         * diagnostic.h: Update copyright date.
9144         (output_buffer_state): Add parenthesis.
9145         (output_buffer_format_args): Likewise.
9147         * combine.c (combine_instructions): Replace XEXP (links, 0)
9148         with link.
9150 2002-01-06  H.J. Lu <hjl@gnu.org>
9152         * cfgcleanup.c (thread_jump): Fix 2 typos.
9154 2002-01-06  Aldy Hernandez  <aldyh@redhat.com>
9156         * config.gcc: Add support for --enable-altivec.
9158 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
9160         * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
9162 2002-01-06  Jakub Jelinek  <jakub@redhat.com>
9164         * objc/objc-act.c (handle_impent): Use assemble_variable to emit
9165         __objc_class_name_*.
9167 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
9169         * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
9171 2002-01-06  Richard Henderson  <rth@redhat.com>
9173         * reorg.c (emit_delay_sequence): Remove death notes, not merely
9174         nop them out.  Increment label reference count for REG_LABEL.
9175         (fill_slots_from_thread): Frob label reference count around
9176         delete_related_insns.
9178 2002-01-05  Richard Henderson  <rth@redhat.com>
9180         * cfgcleanup.c (try_forward_edges): Detect infinite loops while
9181         jump threading.
9183 2002-01-05  Richard Henderson  <rth@redhat.com>
9185         * c-decl.c (c_expand_body): Don't call outlining_inline_function.
9186         * integrate.c (output_inline_function): Likewise.
9187         * toplev.c (rest_of_compilation): Do it here instead.  Move call
9188         to remove_unnecessary_notes after emitting abstract instance.
9189         Force an emitted nested function to have its parent emited as well.
9190         * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
9191         for null.
9192         (rtl_for_decl_location): Do not look at reload data structures
9193         before reload has run.
9195 2002-01-05  Kazu Hirata  <kazu@hxi.com>
9197         * cse.c: Fix formatting.
9198         * dwarf2asm.c: Likewise.
9199         * dwarf2out.c: Likewise.
9200         * explow.c: Likewise.
9201         * expmed.c: Likewise.
9202         * function.c: Likewise.
9203         * gcov.c: Likewise.
9204         * gencheck.c: Likewise.
9205         * genrecog.c: Likewise.
9206         * ggc-common.c: Likewise.
9207         * ggc-page.c: Likewise.
9208         * global.c: Likewise.
9210 2002-01-05  Kazu Hirata  <kazu@hxi.com>
9212         * combine.c: Fix formatting.
9214 2002-01-05  Craig Rodrigues  <crodrigu@bbn.com>
9216         PR middle-end/1557
9217         * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
9219 2002-01-05  David Edelsohn  <edelsohn@gnu.org>
9221         * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
9222         as 1 for __powerpc64__ as well.
9224         * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
9226         * alias.c (find_base_value, PLUS/MINUS): If we found a base,
9227         return it.
9229 2002-01-05  Daniel Berlin  <dan@dberlin.org>
9231         * lcm.c: Revert change, due to performance regression it causes on
9232         SPEC because it's slightly more conservative (sigh, I hate
9233         edge-based LCM).
9235 Sat Jan  5 11:52:05 CET 2002  Jan Hubicka  <jh@suse.cz>
9237         * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
9239 2002-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
9241         * doc/cppinternals.texi: Update.
9243 2002-01-05  Hans-Peter Nilsson  <hp@bitrange.com>
9245         * doc/invoke.texi (Option Summary) <MMIX Options>: Document
9246         -mbranch-predict, -mreg-stack-fill-bug-workaround and their
9247         negatives.
9248         (MMIX Options): Ditto.  Fix item/itemx typo for -mno-zero-extend.
9249         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
9250         kludge for pre-october-14th mmix versions to handle new-found bug
9251         with PUSHJ/PUSHGO and the register stack.
9252         * config/mmix/mmix.h (struct machine_function): Rename member
9253         has_call_value_without_parameters to has_call_without_parameters.
9254         All referers changed.
9255         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
9256         TARGET_MASK_BRANCH_PREDICT): New macros.
9257         (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
9258         -mno-reg-stack-fill-bug-workaround.
9259         * config/mmix/mmix.md ("call"): Set struct machine member
9260         has_call_without_parameters.
9262 Sat Jan  5 02:20:22 CET 2002  Jan Hubicka  <jh@suse.cz>
9264         * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
9266 Sat Jan  5 01:35:29 CET 2002  Jan Hubicka  <jh@suse.cz>
9268         * cfgcleanup.c: Include tm_p.h
9269         (mark_effect): Fix handling of hard register; fix handling of SET
9271 2002-01-04  Kazu Hirata  <kazu@hxi.com>
9273         * config/h8300/h8300.md (anonymous patterns): Check that
9274         operands are registers before using REGNO on them.
9276 2002-01-03  Roland McGrath  <roland@frob.com>
9278         * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
9280 2002-01-04  Jakub Jelinek  <jakub@redhat.com>
9282         * tree.h (expand_expr_stmt_value): Add maybe_last argument.
9283         * c-common.h (genrtl_expr_stmt_value): Likewise.
9284         * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
9285         (expand_expr_stmt_value): Add maybe_last argument.
9286         Don't warn about statement with no effect if it is the last statement
9287         in expression statement.
9288         * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
9289         (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
9290         expand_expr_stmt_value.
9291         (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
9292         genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
9293         * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
9294         as maybe_last to expand_expr_stmt_value.
9296 Fri Jan  4 11:45:05 2002  Jeffrey A Law  (law@redhat.com)
9298         * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
9299         be passed in, do not build it.
9300         (c_begin_if_stmt): New function.
9301         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
9302         * c-common.h (c_expand_start_cond): Update prototype.
9303         (c_begin_if_stmt): Prototype new function.
9304         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
9305         * c-parse.in (if_prefix): Use c_begin_if_stmt,
9306         c_begin_while_stmt and c_finish_while_stmt_cond.
9308 2002-01-04  William Cohen  <wcohen@redhat.com>
9310         * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
9311         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
9312         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
9313         * config/pa/som.h (ASM_FILE_START): Likewise.
9315 2002-01-04  Daniel Berlin  <dan@cgsoftware.com>
9317         * lcm.c: Include df.h.
9318         Add available_transfer_function prototype.
9319         (compute_available): Rework to use iterative dataflow framework.
9320         (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
9321         with bb_info in df.h
9322         (available_transfer_function): New function.
9324         * Makefile.in (lcm.o): add df.h to dependencies.
9326 2002-01-04  Richard Henderson  <rth@redhat.com>
9328         * config/alpha/alpha.c (some_operand): Accept HIGH.
9329         (input_operand): Likewise; accept simple references to globals.
9330         (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
9331         (alpha_const_double_ok_for_letter_p): Likewise.
9332         (alpha_extra_constraint): Likewise.
9333         (alpha_preferred_reload_class): Likewise.  Do not force
9334         symbolic constants to memory.
9335         (alpha_legitimate_address_p): Accept simple references
9336         to small_symbolic_operand.
9337         (alpha_legitimize_address): New arg scratch.  Be prepared to be
9338         called when no_new_pseudos.  Emit simple symbolic references.
9339         Split integers into low, high, and rest.
9340         (alpha_expand_mov): Use alpha_legitimize_address.
9341         (some_small_symbolic_mem_operand): New.
9342         (split_small_symbolic_mem_operand): New.
9343         * config/alpha/alpha-protos.h: Update.
9344         * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
9345         (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
9346         (EXTRA_CONSTRAINT): Likewise.
9347         (PREFERRED_RELOAD_CLASS): Likewise.
9348         (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
9349         (PREDICATE_CODES): Update.
9350         * config/alpha/alpha.md: New post-reload splitters to convert
9351         simplfied symbolic operands to the form that references $29.
9352         (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
9353         (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
9355 2002-01-03  Richard Henderson  <rth@redhat.com>
9357         * local-alloc.c (function_invariant_p): Update commentary.
9359 2002-01-04  H.J. Lu <hjl@gnu.org>
9361         * toplev.c (rest_of_compilation): Fix a typo when calling
9362         cleanup_cfg.
9364 2002-01-03  Kazu Hirata  <kazu@hxi.com>
9366         * c-common.c: Fix formatting.
9367         * diagnostic.c: Likewise.
9368         * doloop.c: Likewise.
9369         * dwarf2out.c: Likewise.
9371 2002-01-03  Kazu Hirata  <kazu@hxi.com>
9373         * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
9374         of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
9376 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
9378         * cpperror.c: Update comments and copyright.
9379         * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
9380         cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
9382 2002-01-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9384         * collect2.c (main): Use strcmp when testing for "-shared".
9386 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
9388         * cppmacro.c: Don't include intl.h.  Update comments.
9389         (new_number_token): Allocate enough buffer for 64-bit unsigned
9390         integers; update prototype.
9391         * cppmain.c: Update comments.
9393 2002-01-03  William Cohen  <wcohen@redhat.com>
9395         * function.h (struct function): Add profile.
9396         (current_function_profile): New.
9397         doc/extend.texi: Update documentation.
9398         * final.c (final_start_function): Use current_function_profile
9399         instead of profile_flag.
9400         (profile_after_prologue): Likewise.
9401         * function.c (expand_function_start): Likewise.
9402         (expand_function_start): Likewise.
9403         * config/alpha/alpha.c (direct_call_operand):
9404         (alpha_does_function_need_gp): Likewise.
9405         (alpha_expand_prologue): Likewise.
9406         * config/arm/arm.c (arm_expand_prologue): Likewise.
9407         thumb_expand_prologue: Likewise.
9408         * config/d30v/d30v.c (d30v_stack_info): Likewise.
9409         * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
9410         (fr30_expand_prologue): Likewise.
9411         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
9412         * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
9413         * config/i386/i386.h (FINALIZE_PIC): Likewise.
9414         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
9415         * config/i960/i960.c (i960_output_function_prologue): Likewise.
9416         * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
9417         * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
9418         (m32r_expand_prologue): Likewise.
9419         * config/m88k/m88k.c (m88k_layout_frame): Likewise.
9420         (m88k_expand_prologue): Likewise.
9421         * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
9422         * config/mips/mips.c (compute_frame_size): Likewise.
9423         (mips_expand_prologue): Likewise.
9424         (mips_can_use_return_insn): Likewise.
9425         * config/pa/elf.h (ASM_FILE_START): Likewise.
9426         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
9427         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
9428         * config/pa/som.h (ASM_FILE_START): Likewise.
9429         * config/romp/romp.c (romp_using_r14): Likewise.
9430         * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
9431         (rs6000_stack_info): Likewise.
9432         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
9433         * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
9434         * config/v850/v850.c (compute_register_save_size): Likewise.
9436 2002-01-03  Jakub Jelinek  <jakub@redhat.com>
9438         * simplify-rtx.c (simplify_binary_operation) [DIV]: If
9439         gen_lowpart_common fails, use gen_lowpart_SUBREG.
9441 2002-01-03  Turly O'Connor  <turly@apple.com>
9443         * darwin.c (machopic_output_possible_stub_label): Don't generate
9444         stub routines for pseudo-stubs which we've just defined.
9446 2002-01-03  Kazu Hirata  <kazu@hxi.com>
9448         * builtins.c: Fix formatting.
9449         * c-typeck.c: Likewise.
9450         * combine.c: Likewise.
9451         * expr.c: Likewise.
9452         * loop.c: Likewise.
9454 2002-01-03  Andreas Schwab  <schwab@suse.de>
9456         * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
9457         and return true if _cpp_push_next_buffer pushed a new include
9458         file.
9459         * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
9460         _cpp_pop_file_buffer did not push a new file.
9461         * cpphash.h (_cpp_pop_file_buffer): Update declaration.
9463 2002-01-02  Eric Christopher  <echristo@redhat.com>
9465         * final.c (final_scan_insn): Change 0 -> NULL_RTX in
9466         FIND_REG_INC_NOTE call. Update copyright.
9467         * loop.c (canonicalize_condition): Ditto.
9468         * reorg.c (delete_scheduled_jump): Ditto.
9470 2002-01-03  Kazu Hirata  <kazu@hxi.com>
9472         * gcse.c: Fix formatting.
9474 2002-01-03  Graham Stott  <grahams@redhat.com>
9476         * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
9477         forward defs for struct tags rtx_def, union_tree, rtvec_def
9478         also output corresponding typedefs for rtx, tree, and rtvec.
9480         * system.h: Move forward defs for struct tags rtx_def, union_tree,
9481         rtvec_def along with corresponding typedefs for rtx, tree, and
9482         rtvec to config.h, hconfig.h, tconfig.h.
9484 2002-01-03  Graham Stott  <grahams@redhat.com>
9486         * tree.h: Update copyright date.
9487         (IS_EXPR_CODE_CLASS): Add parenthesis.
9488         (TREE_SET_CODE): Add whitespace.
9489         (TREE_CHECK): Add parenthesis.
9490         (TREE_CLASS_CODE): Add parenthesis and wrap long line.
9491         (CST_OR_CONSTRUCTOR_CHECK):
9492         (EXPR_CHECK): Add parenthis, whitespace and wrap line.
9493         (TREE_SYMBOL_REFERENCED): Whitespace.
9494         (INT_CST_LT): Likewise.
9495         (INT_CST_LT_UNSIGNED): Likewise.
9496         (tree_real_cst): Unwrap comment.
9497         (tree_string): Likewise.
9498         (tree_complex): Likewise.
9499         (IDENTIFIER_POINTER): correct cast.
9500         (SAVE_EXPR_CONTEXT): Whitespace.
9501         (EXPR_WFL_FILENAME_NODE): Likewise.
9502         (EXPR_WFL_FILENAME): Remove parenthesis.
9503         (DECL_ORIGIN): Add parenthesis.
9504         (DECL_FROM_INLINE): Use NULL_TREE.
9505         (build_int_2): Whitespace.
9506         (build_type_variant): Add parenthesis.
9508         * gcc/jcf-parse.c: Update copyright date.
9509         (yyparse): Constify resource_filename.
9511 2002-01-03  Graham Stott  <grahams@redhat.com>
9513         * rtl.h: Update copyright date.
9514         (RTL_CHECK1): Wrap long line.
9515         (RTL_CHECK2): Likewise.
9516         (RTL_CHECKC1): Wrap long line and whitespace.
9517         (RTL_CHECKC2): Likewise.
9518         (XWINT): Whitespace.
9519         (XINT): Likewise.
9520         (XSTR): Likewise.
9521         (XEXP): Likewise.
9522         (XVEC): Likewise.
9523         (XMODE): Likewise.
9524         (XBITMAP): Likewise.
9525         (XTREE): Likewise.
9526         (XBBDEF): Likewise.
9527         (XTMPL): Likewise.
9528         (X0WINT): Likewise.
9529         (X0INT):Likewise.
9530         (X0UINT): Likewise.
9531         (X0STR): Likewise.
9532         (X0EXP): Likewise.
9533         (X0VEC): Likewise.
9534         (X0MODE): Likewise.
9535         (X0BITMAP): Likewise.
9536         (X0TREE): Likewise.
9537         (X0BBDEF): Likewise.
9538         (X0ADVFLAGS): Likewise.
9539         (X0CSELIB): Likewise.
9540         (X0MEMATTR): Likewise.
9541         (XCWINT): Likewise.
9542         (XCINT): Likewise.
9543         (XCUINT): Likewise.
9544         (XCSTR): Likewise.
9545         (XCEXP): Likewise.
9546         (XCVEC): Likewise.
9547         (XCMODE): Likewise.
9548         (XCBITMAP): Likewise.
9549         (XCTREE): Likewise.
9550         (XCBBDEF): Likewise.
9551         (XCADVFLAGS): Likewise.
9552         (XCCSELIB): Likewise.
9553         (XC2EXP): Likewise.
9554         (INSN_UID): Likewise.
9555         (PREV_INSN): Likewise.
9556         (PATTERN): Likewise.
9557         (INSN_CODE): Likewise.
9558         (PUT_REG_NOTE_KIND): Likewise.
9559         (CODE_LABEL_NUMBER): Likewise.
9560         (NOTE_SOURCE_FILE): Likewise.
9561         (NOTE_BLOCK): Likewise.
9562         (NOTE_EH_HANDLER): Likewise.
9563         (NOTE_RANGE_INFO): Likewise.
9564         (NOTE_LIVE_INFO): Likewise.
9565         (NOTE_BASIC_BLOCK): Likewise.
9566         (NOTE_EXPECTED_VALUE): Likewise.
9567         (NOTE_LINE_NUMBER): Likewise.
9568         (LABEL_NAME): Likewise.
9569         (LABEL_NUSES): Likewise.
9570         (LABEL_ALTERNATE_NAME): Likewise.
9571         (ADDRESSOF_DECL): Likewise.
9572         (JUMP_LABEL): Likewise.
9573         (LABEL_NEXTREF): Likewise.
9574         (REGNO): Likewise.
9575         (ORIGINAL_REGNO: Likewise.
9576         (HARD_REGISTER_NUM_P): Add parenthesis.
9577         (SUBREG_REG): Whitespace.
9578         (SUBREG_BYTE): Likewise.
9579         (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
9580         (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
9581         (ASM_OPERANDS_OUTPUT_IDX): Likewise.
9582         (ASM_OPERANDS_INPUT_VEC): Likewise.
9583         (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
9584         (ASM_OPERANDS_INPUT): Likewise.
9585         (ASM_OPERANDS_INPUT_LENGTH): Likewise.
9586         (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
9587         (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
9588         (ASM_OPERANDS_INPUT_MODE): Likewise.
9589         (ASM_OPERANDS_SOURCE_FILE): Likewise.
9590         (ASM_OPERANDS_SOURCE_LINE): Likewise.
9591         (MEM_SET_IN_STRUCT_P): Minor reformat.
9592         (TRAP_CONDITION): Whitespace.
9593         (TRAP_CODE): Likewise.
9594         (COND_EXEC_TEST): Likewise.
9595         (COND_EXEC_CODE): Likewise.
9596         (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
9597         (PHI_NODE_P): Add parenthesis.
9598         (plus_constant): Whitespace and add parenthesis.
9600 2002-01-03  Kazu Hirata  <kazu@hxi.com>
9602         * config/avr/avr.c: Fix comment typos.
9603         * config/c4x/c4x.md: Likewise.
9604         * config/dsp16xx/dsp16xx.h: Likewise.
9605         * config/dsp16xx/dsp16xx.md: Likewise.
9606         * config/i386/i386.md: Likewise.
9607         * config/ia64/ia64.c: Likewise.
9608         * config/m32r/m32r.h: Likewise.
9609         * config/m68hc11/m68hc11.md: Likewise.
9610         * config/mmix/mmix.c: Likewise.
9611         * config/mn10200/mn10200.c: Likewise.
9612         * config/romp/romp.c: Likewise.
9613         * config/sh/sh.c: Likewise.
9614         * config/stormy16/stormy16.c: Likewise.
9615         * config/stormy16/stormy16.h: Likewise.
9616         * config/stormy16/stormy16.md: Likewise.
9618 2002-01-03  Graham Stott  <grahams@redhat.com>
9620         * loop.h: Update copyright date.
9621         (LOOP_MOVABLES): Fix typo.
9622         (LOOP_REGS): Likewise.
9623         (LOOP_IVS): Likewise.
9625 2002-01-03  Graham Stott  <grahams@redhat.com>
9627         * cppinit.c: Update copyright date.
9628         Don't include output.h
9629         * Makefile.in: Update copyright date.
9630         Update dependency.
9632 2002-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
9634         PR c/5226
9635         * invoke.texi (-mthreads): Remove from documented RS/6000 options.
9636         (-pthread) Add to RS/6000 options.
9638 2002-01-02  Kazu Hirata  <kazu@hxi.com>
9640         * except.c: Fix comment typos.
9641         * loop.c: Likewise.
9642         * varasm.c: Likewise.
9643         * doc/tm.texi: Fix a typo.
9645 2002-01-02  Jakub Jelinek  <jakub@redhat.com>
9647         * c-typeck.c (output_init_element): Allow initializing static storage
9648         duration objects with compound literals.
9650 2002-01-02  Richard Henderson  <rth@redhat.com>
9652         * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
9653         after abusing it.
9655 2002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9657         * gcc.c (default_compilers): Const-ify.
9658         * mips-tdump.c (stab_names): Likewise.
9659         * mips-tfile.c (map_coff_types, map_coff_storage,
9660         map_coff_sym_type, map_coff_derived_type, stabs_symbol,
9661         pseudo_ops_t, pseudo_ops): Likewise.
9662         * protoize.c (default_include): Likewise
9664         * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
9665         (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
9666         Add array size in declaration.
9667         (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
9668         emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
9669         esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
9670         etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
9671         eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
9672         efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
9673         c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
9674         emtens, make_nan): Const-ify.
9675         (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
9676         DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
9678 2002-01-02  Joseph S. Myers  <jsm28@cam.ac.uk>
9680         * config.gcc (ia64-*-*): Set extra_headers.
9681         (alpha*-dec-osf*): Likewise.  Don't use alpha/t-osf.
9682         * config/alpha/t-osf: Remove.
9683         * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
9685 2002-01-02  David Edelsohn  <edelsohn@gnu.org>
9687         * config/rs6000/t-aix43: Revert previous change.
9689 2002-01-02  Jason Merrill  <jason@redhat.com>
9691         * c-decl.c (c_expand_body): Call outlining_inline_function when
9692         emitting an inline function out of line.
9694 2002-01-02  Richard Henderson  <rth@redhat.com>
9696         * dwarf2out.c (limbo_die_node): Add created_for member.
9697         (new_die): New argument created_for.  Update all callers.
9698         (mark_limbo_die_list): New.
9699         (dwarf2out_init): Register limbo_die_list as a root.
9700         (dwarf2out_finish): Force insert limbo dies into their function
9701         context.
9703 2002-01-02  Nathan Sidwell  <nathan@codesourcery.com>
9705         PR c++/5089
9706         * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
9708 2002-01-02  Kazu Hirata  <kazu@hxi.com>
9710         * config/h8300/fixunssfsi.c: Update copyright.
9711         Fix comment typos.
9712         Fix formatting.
9713         * config/h8300/h8300.c: Update copyright.
9714         Eliminate warnings.
9716 2002-01-02  Kazu Hirata  <kazu@hxi.com>
9718         * config/romp/romp.c: Fix comment formatting.
9719         * config/romp/romp.h: Likewise.
9720         * config/romp/romp.md: Likewise.
9721         * config/s390/s390.c: Likewise.
9722         * config/stormy16/stormy16.c: Likewise.
9723         * config/stormy16/stormy16.h: Likewise.
9725 2002-01-02  Alexandre Oliva  <aoliva@redhat.com>
9727         * c-common.h (genrtl_expr_stmt_value): Declare.
9728         * c-semantics.c (genrtl_goto_stmt): Redirect to...
9729         (genrtl_goto_stmt_value): ... this new function.  Pass new
9730         argument down to expand_expr_stmt_value, taking
9731         TREE_ADDRESSABLE into account.
9732         * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
9733         STMT_EXPR as addressable, i.e., one whose result we want.
9734         * expr.c (expand_expr): Don't save expression statement value
9735         of labeled_blocks or loop_exprs.
9736         * stmt.c (expand_expr_stmt): Redirect to...
9737         (expand_expr_stmt_value): ... this new function.  Use new
9738         argument to tell whether to save expression value.
9739         (expand_end_stmt_expr): Reset last_expr_type and
9740         last_expr_value if we don't have either.
9741         * tree-inline.c (declare_return_variable): Mark its use
9742         statement as addressable.
9743         * tree.h: Document new use of TREE_ADDRESSABLE.
9744         (expand_expr_stmt_value): Declare.
9746 2002-01-01  Tom Rix  <trix@redhat.com>
9748         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
9749         rs6000_emit_allocate_stack.
9751 2002-01-01  Joseph S. Myers  <jsm28@cam.ac.uk>
9753         * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
9754         ${srcdir}/ginclude/ to every entry in extra_headers.
9755         * configure: Regenerate.
9756         * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
9757         * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
9758         * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
9759         * ginclude/proto.h: Rename to config/convex/proto.h.
9761 Tue Jan  1 17:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9763         * attribs.c (handle_vector_size_attribute): Use host_integerp
9764         and tree_int_cst; remove warnings.
9765         * caller-save.c (insert_restore): Add cast to get rid of warning.
9766         (insert_save): Likewise.
9767         * emit-rtl.c (adjust_address_1, offset_address): Likewise.
9768         * regmove.c (find_matches): Add temporary var to kill a warning.
9770 2002-01-01  Douglas B Rupp  <rupp@gnat.com>
9772         * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
9773         LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
9774         * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
9775         (vms-dwarf2eh.o): Add Makefile rule.
9776         * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
9777         * config/alpha/vms-dwarf2eh.asm: New file.
9779         * gcc.c (delete_if_ordinary): Delete all versions.
9781 2002-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
9783         * config/mmix/mmix.md: Update FIXME to not mention
9784         define_constants.
9785         (MMIX_rJ_REGNUM): New define_constants constant.
9786         ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
9787         "*movdicc_real"): Adjust contraints formatting.
9788         ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
9789         for branch prediction.
9790         ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
9791         output template.
9792         ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
9793         "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
9794         number.  Delete related FIXMEs.
9795         * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
9796         from number to MMIX_rJ_REGNUM.
9797         (TARGET_MASK_BRANCH_PREDICT): New.
9798         (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
9799         (TARGET_SWITCHES): Update comment.  Correct -mno-toplevel-symbols
9800         value.  Add -mbranch-predict and -mno-branch-predict.
9801         (TARGET_VERSION): Drop date.
9802         (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
9803         * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
9804         for finding out global symbols.
9805         (mmix_asm_output_labelref): Revert condition for global symbol.
9806         (mmix_print_operand): <case '+'>: Emit P for a likely branch.
9807         (mmix_print_operand_punct_valid_p): A '+' is valid.
9809 See ChangeLog.6 for earlier changes.