2002-02-19 Philip Blundell <philb@gnu.org>
[official-gcc.git] / gcc / ChangeLog
blob5a61e82f9db573c39e7ab311fe2f4d9dae529332
1 2002-02-19  Philip Blundell  <philb@gnu.org>
3         * config/arm/arm.c (use_return_insn): Don't reject interrupt
4         functions.
5         (arm_compute_save_reg_mask): Save LR for interrupt functions too.
6         (output_return_instruction): Allow interrupt functions to return with
7         ldmfd sp!, {... pc}^.  Use LDR to restore any single register.
8         (arm_expand_prologue): Subtract 4 before stacking LR in an
9         interrupt function.
11 2002-02-19  Philip Blundell  <pb@nexus.co.uk>
13         * config/arm/arm.c (arm_encode_call_attribute): Operate on any
14         decl, not just FUNCTION_DECL.
15         (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
16         (arm_assemble_integer): Likewise.
17         * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
18         marked local.
19         
20 2002-02-19  matthew green  <mrg@eterna.com.au>
22         * config.gcc (sparc-*-netbsdelf*): Enable target.
23         (sparc64-*-netbsd*): New target.
24         * config/sparc/netbsd-elf.h: New file.
25         * config/sparc/t-netbsd64: New file.
27 2002-02-19  Gaute B Strokkenes <gs234@cam.ac.uk>
29         * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
31 2002-02-19  Ryan T. Sammartino <ryants@shaw.ca>
33         * doc/invoke.texi: explicitly list the style guidelines that
34         -Weffc++ checks for.
36 Tue Feb 19 12:37:23 CET 2002  Jan Hubicka  <jh@suse.cz>
38         * regmove.c (regmove_optimize): Avoid increasing of register pressure.
40 2002-02-19  Neil Booth  <neil@daikokuya.demon.co.uk>
42         PR other/5718
43         * gcc.c (cpp_unique_options): Treat -o as indicating object file
44         only if not -E.  If -E, pass -o through to the preprocessor.
46 2002-02-19  Kazu Hirata  <kazu@hxi.com>
48         * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
49         register number with an appropriate macro.
51 2002-02-19  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
53         * doc/rtl.texi (Constants): Close @code tag.
55 2002-02-19  Aldy Hernandez  <aldyh@redhat.com>
57         * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
58         ("mmx_uavgv4hi3"): Same.
59         ("pmulhrwv4hi3"): Same.
61         * tree-inline.c (walk_tree): Handle vectors.
63         * c-common.c (constant_expression_warning): Handle vectors.
64         (overflow_warning): Same.
66         * sched-deps.c (sched_analyze_2): Handle vectors.
68         * rtlanal.c (rtx_unstable_p): Handle vectors.
69         (rtx_varies_p): Same.
70         (count_occurrences): Same.
71         (regs_set_between_p): Same.
72         (modified_between_p): Same.
73         (modified_in_p): Same.
74         (volatile_insn_p): Same.
75         (volatile_refs_p): Same.
76         (side_effects_p): Same.
77         (may_trap_p): Same.
78         (inequality_comparisons_p): Same.
79         (replace_regs): Same.
80         (computed_jump_p_1): Same.
82         * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
83         argument.
84         (inner_mode_array): New.
85         (copy_rtx): Handle vectors.
86         (copy_most_rtx): Same.
87         (rtx_equal_p): Same.
88         (get_mode_alignment): Adjust for vectors.
90         * resource.c (mark_referenced_resources): Handle vectors.
91         (mark_set_resources): Same.
93         * reload1.c (eliminate_regs): Handle vectors.
94         (elimination_effects): Same.
95         (scan_paradoxical_subregs): Same.
97         * reload.c (subst_reg_equivs): Handle vectors.
99         * regrename.c (scan_rtx): Handle vectors.
101         * regclass.c (reg_scan_mark_refs): Handle vectors.
103         * recog.c (find_single_use_1): Handle vectors.
105         * local-alloc.c (equiv_init_varies_p): Handle vectors.
106         (contains_replace_regs): Same.
107         (memref_referenced_p): Same.
109         * integrate.c (copy_rtx_and_substitute): Handle vectors.
110         (subst_constants): Same.
112         * genattrtab.c (attr_copy_rtx): Handle vectors.
113         (encode_units_mask): Same.
114         (clear_struct_flag): Same.
115         (count_sub_rtxs): Same.
117         * gcse.c (want_to_gcse_p): Handle vectors.
118         (oprs_unchanged_p): Same.
119         (hash_expr_1): Same.
120         (oprs_not_set_p): Same.
121         (expr_killed_p): Same.
122         (compute_transp): Same.
123         (store_ops_ok): Same.
125         * function.c (purge_addressof_1): Do not allow paradoxical subregs
126         of vectors.
127         (fixup_var_refs_1): Same.
128         (instantiate_virtual_regs_1): Same.
130         * fold-const.c (operand_equal_p): Handle vectors.
131         (fold): Same.
132         (rtl_expr_nonnegative_p): Same.
134         * flow.c (mark_used_regs): Handle vectors.
136         * df.c (df_uses_record): Handle vectors.
138         * cselib.c (cselib_subst_to_values): Handle vectors.
139         (cselib_mem_conflict_p): Same.
140         (hash_rtx): Same.
142         * cse.c (canon_reg): Handle vectors.
143         (fold_rt): Same.
144         (cse_process_notes): Same.
145         (count_reg_usage): Same.
146         (canon_hash): Same.
148         * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
150         * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
152         * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
153         (gen_rtx): Handle CONST_VECTOR.
154         (gen_const_vector_0): New.
155         (copy_rtx_if_shared): CONST_VECTORs can be shared.
156         (reset_used_flags): Same.
157         (copy_insn_1): Same.
158         (initializer_constant_valid_p): Handle VECTOR_CST.
160         * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
162         * doc/rtl.texi (Constants): Document const_vector.
163         (CONST0_RTX): Update for vectors.
164         (RTL sharing): Same.
166         * print-tree.c (print_node): Add case for VECTOR_CST.
168         * tree.h (TREE_VECTOR_CST_ELTS): New.
169         (struct tree_vector): New.
170         (union tree_node): Add vector node.
171         (build_vector): Add prototype.
173         * tree.def (VECTOR_CST): New.
175         * tree.c (build_vector): New.
177         * expmed.c (make_tree): Handle CONST_VECTOR.
179         * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
180         (CONST_VECTOR_ELT): New.
181         (CONST_VECTOR_NUNITS): New.
183         * machmode.h (GET_MODE_INNER): New.
184         (DEF_MACHMODE): Accept 8th arg.
186         * machmode.def: Add 8th argument for vector inner mode.
187         Add inner vector modes for vectors.
189         * rtl.def (VEC_CONST): Remove.
190         (CONST_VECTOR): New.
192         * expr.c (clear_storage): Allow vectors.
193         (is_zeros_p): Handle VECTOR_CST.
195         * varasm.c (output_constant_pool): Handle vectors.
196         (rtx_const): Add veclo and vechi fields.
197         (kind): Add RTX_VECTOR.
198         (decode_rtx_const): Add case for vector.
200         * config/rs6000/rs6000-protos.h: Add zero_constant.
201         
202         * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
203         constants.  Force easy vector constants into memory.
204         (easy_vector_constant): New.
205         (emit_easy_vector_constant): New.
206         (rs6000_legitimize_reload_address): Do not generate bad reloads on
207         darwin.
209         * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
210         instruction does.
211         ("altivec_lvxl"): Same.
212         (altivec_lvebx): Same.
213         (altivec_lvehx): Same.
214         (altivec_lvewx): Same.
215         ("*movv4si_const0"): New.
216         ("*movv4sf_const0"): New.
217         ("*movv8hi_const0"): New.
218         ("*movv16qi_const0"): New.
220 2002-02-18  Kazu Hirata  <kazu@hxi.com>
222         * config/h8300/h8300.c (notice_update_cc): Use
223         cc_status.value2.
225 2002-02-18  Kazu Hirata  <kazu@hxi.com>
227         * config/h8300/h8300.md (divmod patterns): Change the
228         constraints for operands[1] to register_operand.
230 2002-02-18  Kazu Hirata  <kazu@hxi.com>
232         * config/h8300/h8300-protos.h: Remove the prototype for
233         p_operand.
234         * config/h8300/h8300.c (p_operand): Remove.
235         * config/h8300/h8300.md: Replace p_operand with
236         const_int_operand.
238 2002-02-18 Philip Blundell <pb@nexus.co.uk>
240         * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
241         comment.
242         (output_return_instruction): Allow use of LDR to unstack
243         return addresss even for interrupt handlers or when
244         interworking.  If compiling for ARMv5, use interworking-safe
245         return instructions by default.  Remove duplicated code and
246         lengthy "strcat" sequences.
248 2002-02-18  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
250         * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
251         (LINK_EH_SPEC): Define.
252         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
254 2002-02-18  Ulrich Weigand  <uweigand@de.ibm.com>
256         * config/s390/s390.c (s390_emit_prologue): Do not set the
257         frame_related flag for call-clobbered registers.
259 Mon Feb 18 15:07:35 CET 2002  Jan Hubicka  <jh@suse.cz>
261         * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
262         (construct_container): Fix handling of SSE operands.
263         (ix86_expand_builtin): Fix handling of 64bit pointers.
264         (mmx_maskmovq_rex): New pattern.
266 Mon Feb 18 11:55:55 CET 2002  Jan Hubicka  <jh@suse.cz>
268         * regrename.c (kill_set_value): Handle subregs properly.
270 2002-02-18  David Billinghurst <David.Billinghurst@riotinto.com>
272         * objc/objc-act.c (handle_impent): Remove leading '*'
273         from objc_class_name. 
275 2002-02-17  Richard Henderson  <rth@redhat.com>
277         * config/alpha/alpha.c (some_small_symbolic_operand,
278         some_small_symbolic_operand_1, split_small_symbolic_operand,
279         split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
280         Handle small SYMBOL_REFs anywhere, not just inside memories.
281         * config/alpha/alpha-protos.h: Update.
282         * config/alpha/alpha.h (PREDICATE_CODES): Update.
283         * config/alpha/alpha.md (small symbolic operand splitter): Update.
285 2002-02-17  Roland McGrath  <roland@frob.com>
287         * config.gcc (powerpc-*-gnu-gnualtivec*,
288         powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
289         * config/rs6000/gnu.h: New file.
290         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
291         Grok "gnu" in rs6000_abi_name.
292         (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
293         CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
294         Grok -mcall-gnu analogous to -mcall-linux et al.
295         (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
296         LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
297         (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
299 2002-02-17  Jakub Jelinek  <jakub@redhat.com>
301         PR c/3444:
302         * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
303         shortening.
305 2002-02-17  Philipp Thomas  <pthomas@suse.de>
307         * config/cris/cris.h: Undefine STARTFILE_SPEC and
308         ENDFILE_SPEC before (re)defining them.
310 2002-02-17  Kazu Hirata  <kazu@hxi.com>
312         * config/h8300/h8300.c: Fix formatting.
313         * config/h8300/h8300.h: Likewise.
315 2002-02-17  Philipp Thomas  <pthomas@suse.de>
317         * doc/tm.texi: Explain why empty strings should not be
318         marked for translation.
320 2002-02-17  Philipp Thomas  <pthomas@suse.de>
322         * final.c (output_operand_lossage): Changed to accept
323         printf style arguments. Change calls where necessary.
324         * output.h (output_operand_lossage): Change declaration
325         accordingly. Update copyright.
326         * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
327         config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
328         Update copyright date where necessary.
329         
330         * config/i386/i386.c (print_operand): Likewise. Remove use of
331         sprintf.
333         * config/cris/cris.c (cris_operand_lossage): Likewise.
334         Rename parameter so that exgettext recognizes it as
335         translatable message.
336         (LOSE_AND_RETURN): Rename parameter to msgid.
338 2002-02-17  Kazu Hirata  <kazu@hxi.com>
340         * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
341         hard coded register number with an appropriate macro.
342         (HARD_REGNO_MODE_OK): Likewise.
343         (ARG_POINTER_REGNUM): Likewise.
344         (STATIC_CHAIN_REGNUM): Likewise.
345         (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
346         * config/h8300/h8300.md (define_constants): Define more
347         register numbers.
349 2002-02-17  Philipp Thomas  <pthomas@suse.de>
351         * config/i386/i386.h: Don't mark empty strings for translation.
353 2002-02-16  H.J. Lu <hjl@gnu.org>
355         * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
357 2002-02-16  Zack Weinberg  <zack@codesourcery.com>
359         * cppinit.c (merge_include_chains): Check for brack being
360         NULL before attempting to merge it with qtail.
362 2002-02-16  Andrew Cagney  <ac131313@redhat.com>
364         * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
365         DBX_DEBUG.
367 2002-02-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
369         * pa/t-pa, pa/t-pro, som.h: Revert last patch.
371 2002-02-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
373         * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
374         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
375         * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
377 Sat Feb 16 13:48:50 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
379         * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
380         now only if !TARGET_FIX.
381         (*movsi_nt_vms_fix): New pattern.
383 2002-02-16  Douglas B Rupp  <rupp@gnat.com>
385         * config/alpha/alpha.c: Implement null frame procedure types on VMS.
386         (alpha_procedure_type): Replaces alpha_is_stack_procedure.
387         (alpha_sa_mask, alpha_sa_size): Reflect above change.
388         (alpha_pv_save_size, alpha_expand_prologue): Likewise.
389         (alpha_start_function, alpha_expand_epilogue): Likewise.
390         (unicosmk_gen_dsib): Likewise.
392 Sat Feb 16 13:39:09 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
394         * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
396 2002-02-16  Ulrich Weigand  <uweigand@de.ibm.com>
398         * config/s390/s390.c (pool_stop_uid, other_chunk, far_away, 
399         check_and_change_labels, s390_final_chunkify): Delete.
400         (s390_split_branches, s390_chunkify_pool): New functions.
401         (s390_function_prologue): Call them.
402         
403         * config/s390/s390.h (S390_REL_MAX): Delete.
404         (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
406         * config/s390/s390.md (cjump, icjump, jump): Fix length 
407         attribute calculation.
410 2002-02-15  David Edelsohn  <edelsohn@gnu.org>
412         * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
413         * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
415 2002-02-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
417         * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
418         * config/pa/pa-linux.h (LIB_SPEC): Likewise.
419         * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
421 2002-02-15  Richard Sandiford  <rsandifo@redhat.com>
423         * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
425 2002-02-15  Richard Sandiford  <rsandifo@redhat.com>
427         * reload.c (find_dummy_reload): Check that an output register
428         is valid for its mode.
430 2002-02-14  Alexandre Oliva  <aoliva@redhat.com>
432         * combine.c (known_cond): After replacing the REG of a SUBREG, try
433         to simplify it.
435         * function.c (assign_parms): Demote promoted argument passed by
436         transparent reference.
438 2001-02-14      Joel Sherrill <joel@OARcorp.com>
440         * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
441         -Acpu() and -Amachine() to eliminate warnings.
443 2002-02-14  Ulrich Weigand  <uweigand@de.ibm.com>
445         * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
447 2002-02-14  Kazu Hirata  <kazu@hxi.com>
449         * config/h8300/h8300-protos.h: Update the prototype for
450         const_costs.
451         * config/h8300/h8300.c (const_costs): Treat SET as a little
452         more expensive operation.
453         * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
454         reference to const_costs.
456 2002-02-14  Hans-Peter Nilsson  <hp@axis.com>
458         * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
460 2002-02-14  Jakub Jelinek  <jakub@redhat.com>
462         PR c/5503:
463         * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
464         use arguments from newtype.
466 2002-02-13  Eric Christopher  <echristo@redhat.com>
468         * config/mips/mips.c (override_options): Add check for march/mipsX
469         on the same command line. Fix error message in cpu processing.
470         Remove architecture and ISA checks.
472 2002-02-14  Aldy Hernandez  <aldyh@redhat.com>
474         * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
476         * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
478 2002-02-14  Aldy Hernandez  <aldyh@redhat.com>
480         * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
481         alternatives.
482         ("*movv8hi_internal1"): Same.
483         ("*movv16qi_internal1"): Same.
484         ("*movv4sf_internal1"): Same.
486         * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
487         not push_reload for altivec modes.
489 2002-02-13  Joel Sherrill  <joel@OARcorp.com>
491         * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
492         all RTEMS targets including removal of #includes from config/*/rtems*.h
493         file and adding them to tm_file setting. Added xm_defines=POSIX to
494         many targets.
495         * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
496         * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
497         * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
498         * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
499         * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
500         config/m68k/rtemself.h: Ditto.
501         * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
502         config/mips/rtems64.h: Ditto.
503         * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
504         * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
505         Ditto.
506         * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
507         config/sparc/rtemself.h: Ditto.
508         * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
509         * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
510         arm-rtems stanza closer to other arm-elf targets and made arm-rtems
511         more like arm-elf.
512         * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
513         config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
514         target made more similar to i386-elf.
515         * config/i386/t-rtems-i386: Added soft float support and multilibs.
516         * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
517         be similar to config/m68k/t-m68kelf.
518         * gthr-rtems.h: Encapsulate with extern "C" for C++.
520 Wed Feb 13 23:41:15 CET 2002  Jan Hubicka  <jh@suse.cz>
522         * regmove.c (kill_value): Handle subregs.
524 Wed Feb 13 23:34:30 CET 2002  Jan Hubicka  <jh@suse.cz>
526         * i386.md (mul patterns): Allow memory operand to be first;
527         add expanders where needed; fix constraints.
528         (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
529         Allow memory operand to be the first.
531         * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
532         operands.
534 2002-02-13  Jakub Jelinek  <jakub@redhat.com>
536         PR c/5681:
537         * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
538         GET_MODE (x).
540 2002-02-13  Jakub Jelinek  <jakub@redhat.com>
542         PR optimization/5547:
543         * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
544         all valid IA-32 address modes involving non-scaled %ebx and
545         GOT/GOTOFF as displacement.
547 2002-02-13  Ulrich Weigand  <uweigand@de.ibm.com>
549         * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
550         after emitting ltorg insns.
552         * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
553         *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
554         *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
555         *abssf2): Fix "op_type" attribute.
557 2002-02-13  Douglas B Rupp  <rupp@gnat.com>
559         * mkconfig.sh: Avoid using a subshell redirect.
560         ($output.T): Change to $(output)T.
561         (ENABLE_NLS): Remove unneeded undef.
563         * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
564         * config/alpha/x-vms (libsubdir): Define.
566         * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
567         register frame procedures. Optimize retrieving context.
569         * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
570         (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
571         * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
573 Wed Feb 13 09:45:08 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
575         * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
576         Make same change as for find_base_value.
578 2002-02-13  Kazu Hirata  <kazu@hxi.com>
580         * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
581         of QImode and SImode.
583 2002-02-13  Kazu Hirata  <kazu@hxi.com>
585         * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
586         length computation of movsi.
587         * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
589 2002-02-13  Kazu Hirata  <kazu@hxi.com>
591         * config/h8300/h8300.md (subqi3): Tighten the predicate for
592         operands[2] to register_operand.
594 Wed Feb 13 10:35:56 CET 2002  Jan Hubicka  <jh@suse.cz>
596         * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
598 2002-02-12  Aldy Hernandez  <aldyh@redhat.com>
600         * config/rs6000/rs6000.md: Use predicate altivec_register_operand
601         for altivec_lvx* and altivec_stvx*.
602         ("*movv4si_internal"): Add constraint for loading from GPRs.
603         ("*movv8hi_internal1"): Same.
604         ("*movv16qi_internal1"): Same.
605         ("*movv4sf_internal1"): Same.
607         * config/rs6000/rs6000.c (altivec_register_operand): New.
609         * config/rs6000/rs6000.h (PREDICATE_CODES): Add
610         altivec_register_operand.
612 2002-02-13  Hans-Peter Nilsson  <hp@bitrange.com>
614         * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
615         handle SYMBOL_REF.
617 2002-02-13  Stan Shebs  <shebs@apple.com>
619         * c-typeck.c (digest_init): Handle vectors.
620         (really_start_incremental_init): Same.
621         (pop_init_level): Same.
622         (process_init_element): Same.
624         * varasm.c (output_constant): Same.
626         * expr.c (clear_storage): Same.
627         (store_constructor): Same.
629 2002-02-12  Eric Christopher  <echristo@redhat.com>
631         * explow.c (hard_function_value): Add comment explaining
632         signed/unsigned comparison.
634 2002-02-12  Jakub Jelinek  <jakub@redhat.com>
636         * jump.c (never_reached_warning): Add finish argument.
637         If finish is NULL, stop on CODE_LABEL, otherwise stop before first
638         real insn after end.
639         * rtl.h (never_reached_warning): Adjust prototype.
640         * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
641         * cfgrtl.c (flow_delete_block): Pass b->end as finish to
642         never_reached_warning.
644 2002-02-12  Graham Stott  <grahams@redhat.com>
646         * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
648 2002-02-12  Kazu Hirata  <kazu@hxi.com>
650         * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
651         logical shifts on H8/300.
652         (shift_alg_si): Improve several shifts on H8/300.
653         (get_shift_alg): Likewise.
655 2002-02-12  Graham Stott  <grahams@redhat.com>
657         * config/pa/pa.c (compute_movstrsi_length): Fix typos.
659 Tue Feb 12 10:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
661         * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
662         Handle #ifdef POINTERS_EXTEND_UNSIGNED.
664 2002-02-11  Hans-Peter Nilsson  <hp@bitrange.com>
666         * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
667         non-CONST_INT through default_assemble_integer.
668         <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
669         <case 8>: Abort for CONST_DOUBLE.
671 2002-02-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
673         * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
674         is specified.
675         * config/pa/pa-linux.h (LIB_SPEC): Delete.
676         * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
678 2002-02-11  Andrew Haley  <aph@cambridge.redhat.com>
680         * config/stormy16/stormy16.md (zero_extendqihi2): New.
682 2002-02-11  Alexandre Oliva  <aoliva@redhat.com>
684         * regrename.c (regrename_optimize): Don't accept a
685         part-clobbered register if the replaced register is not part
686         clobbered.
688         * calls.c (store_one_arg): In the non-BLKmode non-partial case,
689         take padding into account when computing the argument value.
691         * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
693         * combine.c (try_combine): Apply substitutions in
694         CALL_INSN_FUNCTION_USAGE too.
696 2002-02-11  Aldy Hernandez  <aldyh@redhat.com>
698         * config/rs6000/rs6000.c (altivec_init_builtins): Handle
699         __builtin_altivec_abs*.
700         (bdesc_abs): New.
702         * config/rs6000/rs6000.h (rs6000_builtins): Add
703         ALTIVEC_BUILTIN_ABS*.
705         * config/rs6000/altivec.h: Use const char for builtins expecting
706         literals.
707         (vec_abs): New versions for C and C++.
708         (vec_abss): Same.
710 2002-02-10  Kazu Hirata  <kazu@hxi.com>
712         * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
713         using Pmode.
715 2002-02-10  Kazu Hirata  <kazu@hxi.com>
717         * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
718         constant definition from h8300.md.
719         (FRAME_POINTER_REGNUM): Likewise.
720         * config/h8300/h8300.md (define_constants): Add FP_REG.
722 2002-02-10  Kazu Hirata  <kazu@hxi.com>
724         * config/h8300/h8300.c (print_operand): Remove redundant code.
726 2002-02-10  Kazu Hirata  <kazu@hxi.com>
728         * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
729         * config/h8300/h8300.c (byte_reg): Make it static.
731 2002-02-10  Richard Henderson  <rth@redhat.com>
733         PR c/5623
734         * c-typeck.c (incomplete_type_error): Handle flexible array members.
736 2002-02-10  Richard Henderson  <rth@redhat.com>
738         PR c++/5624
739         * tree.c (append_random_chars): Don't abort if main_input_filename
740         does not exist.
742 2002-02-10  Hans-Peter Nilsson  <hp@bitrange.com>
744         * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
746 2002-02-10  Kazu Hirata  <kazu@hxi.com>
748         * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
749         (pushhi1): Likewise.
751 2002-02-10  John David Anglin  <dave@hiauly1.hia.nrc.ca>
753         * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
754         * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
756 2002-02-09  David O'Brien  <obrien@FreeBSD.org>
758         * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
759         remove MASK_VIS.
760         (ASM_CPU_DEFAULT_SPEC): Remove.  Default setting is fine.
762 2002-02-09  Kazu Hirata  <kazu@hxi.com>
764         * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
765         a half of an SImode register on H8/300.
767 Sat Feb  9 18:28:02 CET 2002  Jan Hubicka  <jh@suse.cz>
769         * i386.md (movdi_2): Add missing '!'.
771 2002-02-09  Kazu Hirata  <kazu@hxi.com>
773         * config/h8300/h8300.h: Fix formatting.  Remove commented-out
774         definitions.
776 2002-02-09  Kazu Hirata  <kazu@hxi.com>
778         * config/h8300/h8300.md (length): Correct the distance valid
779         for the short branch.
781 2002-02-09  Kazu Hirata  <kazu@hxi.com>
783         * config/h8300/h8300.md (iorhi3): Tighten the predicates.
785 2002-02-09  Alexandre Oliva  <aoliva@redhat.com>
787         * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
788         registers in SImode.
789         (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
790         part-clobbered.
792         * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
793         patch.
795         Contribute sh64-elf.
796         2002-02-09  Alexandre Oliva  <aoliva@redhat.com>
797         * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
798         (sh_cannot_modify_jumps_p): New function.
799         2002-02-05  Alexandre Oliva  <aoliva@redhat.com>
800         * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
801         (sh_ms_bitfield_layout_p): New function.
802         2002-02-04  Alexandre Oliva  <aoliva@redhat.com>
803                     Zack Weinberg  <zack@codesourcery.com>
804         * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
805         expand_simple_binop instead of expand_binop.
806         2002-02-03  Alexandre Oliva  <aoliva@redhat.com>
807         * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
808         use of .quad and .uaquad.
809         * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
810         TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
811         2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
812         * config/sh/sh.md (movdi_const, movdi_const_32bit,
813         movdi_const_16bit): Make sure all CONSTs have modes.
814         (sym2PIC): Ditto, but by adjusting all callers.
815         * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
816         if the prologue calls the SHmedia argument decoder or register
817         saver.
818         2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
819         * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
820         (TARGET_ASM_ALIGNED_DI_OP): Likewise.
821         (sh_expand_epilogue): Don't emit USE of return target register.
822         (prepare_move_operands): Legitimize DImode PIC addresses.
823         (sh_media_register_for_return): Skip tr0, used to initialize the
824         PIC register.
825         (sh_expand_prologue): Remove explicit USE of return register.
826         (nonpic_symbol_mentioned_p): PC is non-PIC.  Don't recurse in
827         CONST_DOUBLEs.  UNSPEC_GOTPLT is PIC.
828         * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
829         (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
830         (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
831         EXTRA_CONSTRAINT_T.
832         (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
833         (MOVI_SHORI_BASE_OPERAND_P): New.
834         (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
835         (EXTRA_CONSTRAINT_T): Define in terms of them.
836         (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
837         * config/sh/sh.md (movsi_media, movsi_media_nofpu,
838         movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
839         alternatives supporting TARGET_REGS.
840         (UNSPEC_GOTPLT): New constant.
841         (movdi split): Move incrementing of LABEL_NUSES...
842         (movdi_const, movdi_const_32bit): Here.  Use
843         MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
844         (movdi_const_16bit): New.
845         (call, call_value) [flag_pic]: Use GOTPLT.
846         (call_pop, call_value_pop): New expands.
847         (call_pop_compact, call_pop_rettramp): New insns.
848         (call_value_pop_compact, call_value_pop_rettramp): New insns.
849         (sibcall) [flag_pic]: Use GOT.
850         (builtint_setjmp_receiver): Remove bogus, unused expand.
851         (GOTaddr2picreg): Implement for SHcompact and SHmedia.
852         (*pt, *ptb, ptrel): New insns.
853         (sym2GOT): Handle DImode GOT.
854         (sym2GOTPLT, symGOTPLT2reg): New expands.
855         (sym2PIC): New expand.
856         (shcompact_return_tramp): Use GOTPLT to return trampoline.
857         (shcompact_return_tramp_i): Use return register explicitly.
858         * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
859         disable flag_reorder_blocks.
860         2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
861         * config/sh/sh.md (sibcall_compact): Reorder return, uses and
862         clobbers, for clarity.
863         (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
864         restoring of r0 in macl as MAYBE_DEAD.
865         2002-01-18  Alexandre Oliva  <aoliva@redhat.com>
866         * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
867         * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
868         alter_subreg all over.
869         (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
870         reload, instead of emitting instructions that would require
871         reloading.
872         (casesi_load_media): Add missing modes.
873         2001-11-09  Alexandre Oliva  <aoliva@redhat.com>
874         * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
875         as used if the argument decoder is called.
876         2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
877         * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
878         Pmode, then extend it to DImode if necessary.
879         2001-08-28  Stephen Clarke  <Stephen.Clarke@st.com>
880         * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
881         constants in FPU-enabled SHmedia, let them be loaded from memory.
882         2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
883         * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
884         Adjust whitespace in assembly output templates.
885         2001-08-28  Stephen Clarke  <Stephen.Clarke@st.com>
886         * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
887         mode of if_then_else.
888         2001-08-04  Alexandre Oliva  <aoliva@redhat.com>
889         * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
890         sh.h.
891         2001-07-26  Andrew Haley  <aph@cambridge.redhat.com>
892                     Joern Rennecke <amylaar@redhat.com>
893         * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
894         (SUBTARGET_CPP_PTR_SPEC): New.
895         (SUBTARGET_CPP_SPEC): Remove.
896         2001-07-06  Chandrakala Chavva  <cchavva@redhat.com>
897         * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
898         Fix typo in previous checkin.
899         2001-07-11  Chandrakala Chavva  <cchavva@redhat.com>
900         * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
901         2001-07-10  Chandrakala Chavva  <cchavva@cygnus.com>
902                     Alexandre Oliva  <aoliva@redhat.com>
903         * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
904         what single FP register can hold for SHmedia target.
905         2001-07-06  Chandrakala Chavva  <cchavva@redhat.com>
906                     Alexandre Oliva  <aoliva@redhat.com>
907         * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
908         Do not split into SUBREG.
909         2001-06-14  Alexandre Oliva  <aoliva@redhat.com>
910         * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
911         and added new functions as specified in SH5 ABI r9.
912         2001-06-04  Alexandre Oliva  <aoliva@redhat.com>
913         * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
914         8-byte boundary.
915         2001-06-03  Alexandre Oliva  <aoliva@redhat.com>
916         * config/sh/sh.c (dump_table): Add const0_rtx in calls of
917         gen_consttable_4 and gen_consttable_8.  Emit multiple labels
918         and consttable_window_ends.
919         2001-06-03  Graham Stott  <grahams@redhat,com>
920         * config/sh/sh.md (movdi split): Remove unused variable last_insn.
921         2001-05-16  Alexandre Oliva  <aoliva@redhat.com>
922         * config/sh/sh.c (print_operand): Handle floating-point pair,
923         vector and matrix registers.
924         * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
925         vector modes into account.
926         * config/sh/sh.md (movv2sf): Split move between registers into
927         movdf.
928         (movv4sf, movv16sf): Introduce insns that get split only after
929         reload.
930         * config/sh/shmedia.h: Fix Copyright dates.
931         * config/sh/ushmedia.h: Likewise.  Move loop counter
932         declarations into conditionals that uses them.
933         (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
934         loop boundary.
935         * config/sh/sshmedia.h: Fix Copyright dates.
936         (sh_media_PUTCFG): Fix constraints.
937         2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
938         * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
939         ptrmemfunc_vbit_in_delta for SH5.
940         2001-05-08  Alexandre Oliva  <aoliva@redhat.com>
941         * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
942         * invoke.texi: Likewise.
943         2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
944         * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
945         GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
946         GCC_pop_shmedia_regs_nofpu): New global symbols.
947         * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
948         * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
949         * config/sh/sh.c (calc_live_regs): Account for PR's saving in
950         compact function with nonlocal labels.
951         (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
952         (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
953         (initial_elimination_offset): Account for their stack space.
954         * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
955         * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
956         movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
957         movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
958         least one of the operands to be a register.
959         (movv2sf): Likewise.  Renamed to movv2sf_i.
960         (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
961         prepare_move_operands() before emitting SHmedia insns.
962         2001-04-03  Alexandre Oliva  <aoliva@redhat.com>
963         * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
964         Don't save nor initialize r12.  Don't mis-align the stack.
965         Pad the code with a nop.
966         * config/sh/crti.asm: Don't restore r12.  Don't mis-align the
967         stack.
968         2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
969         * gcc/longlong.h (__umulsidi3, count_leading_zeros)
970         [__SHMEDIA__]: Implement.
971         2001-03-11  Alexandre Oliva  <aoliva@redhat.com>
972         * config/sh/sh.md: Set latency of `pt' closer to reality.
973         (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
974         movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
975         Set move, load and store type attributes.
976         * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
977         * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
978         profiling.
979         * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
980         * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
981         * config/sh/sh.c (sh_media_register_for_return): New function.
982         (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
983         branch-target register.
984         (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
985         * config/sh/sh.md (return_media_i): Use any call-clobbered
986         branch-target register.
987         (return_media): If r18 wasn't copied in the prologue, copy it
988         here.
989         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
990         Clear class FP0_REGS.
991         * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
992         from elf.h.
993         2001-03-08  DJ Delorie  <dj@redhat.com>
994         * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
995         2001-02-09  Alexandre Oliva  <aoliva@redhat.com>
996         * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
997         2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
998         * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
999         2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
1000         * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
1001         return value correctly for call_cookie.
1002         2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
1003         * config/sh/crt1.asm (start): Modified so as to call
1004         ___setup_argv_and_call_main.
1005         2001-01-26  Alexandre Oliva  <aoliva@redhat.com>
1006         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
1007         SHmedia mode.
1008         2001-01-20  Alexandre Oliva  <aoliva@redhat.com>
1009         * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
1010         (STRIP_NAME_ENCODING): Use it.
1011         (ASM_OUTPUT_LABELREF): Likewise.  Don't call assemble_name().
1012         2001-01-19  Alexandre Oliva  <aoliva@redhat.com>
1013         * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
1014         prepare_scc_operands().
1015         * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
1016         (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
1017         2001-01-17  Alexandre Oliva  <aoliva@redhat.com>
1018         * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
1019         2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
1020         * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
1021         * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
1022         used in shcompact_incoming_args.
1023         * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
1024         change.
1025         * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
1026         mode.
1027         * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
1028         Adjust accordingly.
1029         * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
1030         Simplify.  Adjust.  Add sanity check.
1031         * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
1032         FPU_SINGLE_BIT.
1033         * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
1034         TARGET_SHCOMPACT.
1035         (udivsi3, divsi3): Use them.
1036         (force_mode_for_call): New insn.
1037         (call, call_value, sibcall_value): Emit it before SHcompact
1038         calls.
1039         2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
1040         * config/sh/sh.md (call, call_value, sibcall): Make sure the
1041         call cookie is non-NULL before taking its value.
1042         2001-01-10  Alexandre Oliva  <aoliva@redhat.com>
1043         * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
1044         2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
1045         * config/sh/sh.md (shcompact_incoming_args): Set argument memory
1046         block.
1047         * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
1048         * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
1049         temporary for stack adjusts.  Use MACL and MACH to pass
1050         arguments to shcompact_incoming_args.
1051         * config/sh/sh.md (shcompact_incoming_args): Adjust.  Don't
1052         clobber r1.
1053         * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
1054         (nested_trampoline): Load static chain address into r1.
1055         * config/sh/sh.md (movdi_media splits): Fix sign-extension.
1056         2001-01-07  Alexandre Oliva  <aoliva@redhat.com
1057         * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
1058         fp_arith_reg_operand().
1059         2001-01-06  Alexandre Oliva  <aoliva@redhat.com>
1060         * config/sh/sh.md (casesi): Sign-extend the first two operands,
1061         and use signed compares for them.
1062         * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
1063         4-byte ones.  Instead, inter-leave them, maintaining the 8-byte
1064         ones properly aligned.
1065         (find_barrier): Account for extra alignment needed for 8-byte wide
1066         constants.
1067         (machine_dependent_reorg): Require a label for the second 4-byte
1068         constant after an 8-byte one.
1069         * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
1070         change.
1071         2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
1072         * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
1073         last_float when switching float modes.
1074         * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
1075         auto-increment for general-purpose registers.
1076         * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
1077         result.
1078         * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
1079         for stack adjust.
1080         * config/sh/sh.c (sh_builtin_saveregs): Support using all
1081         registers for varargs.
1082         2001-01-01  Alexandre Oliva  <aoliva@redhat.com>
1083         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
1084         * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
1085         CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
1086         (CALL_COOKIE_INT_REG_SHIFT): Adjust.
1087         (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK.  Adjust
1088         call_cookie accordingly.
1089         (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
1090         (SHCOMPACT_BYREF): Likewise.
1091         (SHCOMPACT_FORCE_ON_STACK): New macro.
1092         * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
1093         (sh_builtin_saveregs): Likewise.
1094         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
1095         shcompact_incoming_args): Use new shift values.  Support
1096         sequences of consecutive and non-consecutive pushes/pops.
1097         * config/sh/sh.md (return): Don't explicitly use PR_REG.
1098         2001-01-05  Hans-Peter Nilsson  <hpn@cygnus.com>
1099         * config/sh/sh.h (TEXT_SECTION): Define.
1100         * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
1101         2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
1102         * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
1103         * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
1104         return values on FPU-enabled SHmedia.
1105         (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
1106         FPU-enabled SHmedia.
1107         (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
1108         value is returned in a non-FP reg and is not returned by
1109         reference.
1110         * config/sh/sh.md (shcompact_return_tramp_i): Change type to
1111         jump_ind.
1112         2000-01-04  Alexandre Oliva  <aoliva@redhat.com>
1113         * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
1114         (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
1115         quad-aligned to be passed by callee-copy reference.
1116         2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
1117         * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
1118         * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
1119         2001-01-02  Alexandre Oliva  <aoliva@redhat.com>
1120         * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
1121         copying low-numbered FP regs to r7 and r8.
1122         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
1123         FP regs to general-purpose regs only if the copy was passed on the
1124         stack.
1125         * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
1126         copying FP reg to r9.
1127         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
1128         copy FP regs to general-purpose regs only in outgoing calls.
1129         * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
1130         change from     2000-10-30.  Adjust for 64-bit (or 32-bit)
1131         HOST_WIDE_INT.
1132         * config/sh/sh.h (struct sh_args): Document all fields.
1133         (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
1134         passed partially on the stack should not consider making
1135         sibcalls.
1136         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
1137         stack_regs only for incoming calls.  When passing FP args,
1138         make sure there are FP regs available before modifying
1139         call_cookie.
1140         (SHCOMPACT_BYREF): Pass double args in general-purpose
1141         registers by reference.
1142         2000-12-30  Alexandre Oliva  <aoliva@redhat.com>
1143         * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
1144         attempt to generate sibcalls if the caller got any arguments
1145         by reference.
1146         * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
1147         * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
1148         to 8-byte boundaries.
1149         * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
1150         * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
1151         * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
1152         stored in the stack.
1153         * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
1154         for the offsets to have the ISA bit set.
1155         (shcompact_call_trampoline): Document.  Swap r0 and r1, to match
1156         invocation.  Use beq instead of bgt to mark end of sequence of
1157         loads.
1158         (shcompact_incoming_args): Fix store of r2.  Use beq instead of
1159         bgt to mark end of sequence of stores.
1160         * config/sh/sh.c (arith_operand): Don't check whether
1161         CONST_OK_FOR_J for now.
1162         * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
1163         instead of long for conversion.
1164         2000-12-29  Alexandre Oliva  <aoliva@redhat.com>
1165         * config/sh/sh.c (print_operand_address): Convert INTVAL to int
1166         before passing it to fprintf.
1167         2000-12-28  Alexandre Oliva  <aoliva@redhat.com>
1168         * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
1169         Call set_fpscr before reading/writing SR.
1170         * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
1171         Call set_fpscr.
1172         * config/sh/lib1funcs.asm: Add `.align 2' directives before
1173         SHmedia code.
1174         (FMOVD_WORKS): Define on SH5 with FPU.
1175         (set_fpscr): Define on SH5.  Remove separate _fpscr_values
1176         setting.
1177         * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
1178         _fpscr_values.
1179         2000-12-28  Hans-Peter Nilsson  <hpn@cygnus.com>
1180         * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
1181         address.
1182         (ia_main_table): Ditto.
1183         2000-12-27  Alexandre Oliva  <aoliva@redhat.com>
1184         * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
1185         * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
1186         the definitions from sh.h.
1187         * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
1188         TARGET_SH5.
1189         (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
1190         * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
1191         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
1192         2000-12-26  Alexandre Oliva  <aoliva@redhat.com>
1193         * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
1194         Increment LABEL_NUSES.
1196         * config/sh/sh.h (SIZE_TYPE): Define as conditional on
1197         TARGET_SH5.
1198         (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
1199         defined.
1200         * config/sh/elf.h (SIZE_TYPE): Likewise.
1201         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
1202         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
1203         shcompact_incoming_args): Load switch table addresses using
1204         datalabel.
1205         * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
1206         (NO_BUILTIN_SIZE_TYPE): Define.
1207         (SIZE_TYPE): Don't define.
1208         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
1209         * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
1210         definition of __SH5__=32 for -m5-compact-nofpu.
1211         * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
1212         ADDR_DIFF_VEC.
1213         2000-12-24  Alexandre Oliva  <aoliva@redhat.com>
1214         * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
1215         2000-12-23  Alexandre Oliva  <aoliva@redhat.com>
1216         * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
1217         (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
1218         (INSN_LENGTH_ALIGNMENT): Likewise.
1219         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
1220         * config/sh/sh.md (call, call_value, sibcall): Simplify
1221         copying of non-branch-target register.
1222         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
1223         * glimits.h (__LONG_MAX__): Revert      2000-12-13's patch.
1224         * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
1225         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
1226         * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
1227         floating-point values as structs.
1228         (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
1229         (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
1230         general-purpose register.
1231         (SH5_PROTOTYPED_FLOAT_ARG): New macro.
1232         2000-12-20  Alexandre Oliva  <aoliva@redhat.com>
1233         * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
1234         * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
1235         * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
1236         (ENCODE_SECTION_INFO): Enclose variables and constants in
1237         DATALABEL unspecs.
1238         (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
1239         (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
1240         (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
1241         * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
1242         only for LABEL_REFs.  For SYMBOL_REFs, prepend
1243         SH_DATALABEL_ENCODING to the symbol name.
1244         * config/sh/sh.md (indirect_jump): Use SUBREG instead of
1245         convert_mode().
1246         2000-12-20  Alexandre Oliva  <aoliva@redhat.com>
1247         * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
1248         UNSPEC_DATALABEL.
1249         * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
1250         * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
1251         (DATALABEL_REF_P): Don't require CONST.
1252         (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
1253         REL label.
1254         2000-12-19  Alexandre Oliva  <aoliva@redhat.com>
1255         * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
1256         right.
1257         2000-12-18  Alexandre Oliva  <aoliva@redhat.com>
1258         * config/sh/sh.md (movsi_media, call, call_value, sibcall):
1259         Use shallow_copy_rtx and PUT_MODE to change the mode of
1260         SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
1261         * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
1262         on SHmedia using GENERAL_REGs.
1263         * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
1264         bltu_media_i): Fix reversion of conditions.
1265         2000-12-18  Alexandre Oliva  <aoliva@redhat.com>
1266         * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
1267         * config/sh/sh.c (output_far_jump): Save r13 in macl.
1268         2000-12-17  Alexandre Oliva  <aoliva@redhat.com>
1269         * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
1270         2000-12-16  Alexandre Oliva  <aoliva@redhat.com>
1271         * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
1272         (GCC_nested_trampoline): Likewise.
1273         * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
1274         * config/sh/sh.c (gen_datalabel_ref): Define.
1275         * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
1276         (INITIALIZE_TRAMPOLINE): Likewise.
1277         (TRAMPOLINE_ADJUST_ADDRESS): Define.
1278         (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
1279         (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
1280         (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
1281         * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
1282         (ic_invalidate): Adjust for SH5.
1283         (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
1284         * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
1285         _nested_trampoline.
1286         2000-12-15  Alexandre Oliva  <aoliva@redhat.com>
1287         * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
1288         (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
1289         2000-12-14  Alexandre Oliva  <aoliva@redhat.com>
1290         * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
1291         * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
1292         2000-12-14  Alexandre Oliva  <aoliva@redhat.com>
1293         * config/sh/sh.c (target_reg_operand): Match only target-branch
1294         registers and pseudos that aren't virtual registers.
1295         * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
1296         Copy operands that don't match target_reg_operand to pseudos.
1297         (call_media, call_value_media, sibcall_media): Use
1298         target_reg_operand instead of target_operand.
1299         2000-12-13  Alexandre Oliva  <aoliva@redhat.com>
1300         * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
1301         * config/sh/sh.c (target_reg_operand): Match hardware registers
1302         other than branch-target registers.
1303         * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
1304         * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
1305         (fpscr_values) [SH5 == 32]: Define.
1306         * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
1307         * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
1308         Handle function addresses coming in SUBREGs.
1309         2000-12-12  Alexandre Oliva  <aoliva@redhat.com>
1310         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
1311         shcompact_return_trampoline): Use datalabel where appropriate.
1312         2000-12-09  Alexandre Oliva  <aoliva@redhat.com>
1313         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
1314         general-purpose register to copy one branch-target register to
1315         another.
1316         2000-12-06  Alexandre Oliva  <aoliva@redhat.com>
1317         * config/sh/sh.c (target_operand): Accept LABEL_REFs and
1318         SYMBOL_REFs with VOIDmode.
1319         * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
1320         bltu_media_i): New insns.
1321         2000-12-06  Alexandre Oliva  <aoliva@redhat.com>
1322         * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
1323         (INIT_CUMULATIVE_ARGS): Likewise.
1324         2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
1325         * machmode.def (V16SFmode): New mode.
1326         * c-common.c (type_for_mode): Support V2SF and V16SF.
1327         * tree.c (build_common_tree_nodes_2): Likewise.
1328         * tree.h (tree_index): Likewise.
1329         * calls.c (emit_call_1): Take args_so_far.  Adjust all
1330         callers.  Introduce CALL_POPS_ARGS.
1331         * tm.texi (CALL_POPS_ARGS): Document.
1332         * config/sh/crt1.asm: Implement in SHmedia mode.
1333         * config/sh/crti.asm, config/sh/crtn.asm: Likewise
1334         * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
1335         (DBX_REGISTER_NUMBER): Renumber registers for SH5.
1336         * config/sh/lib1funcs.asm: Disable functions unused in SH5.
1337         Implement divsi and udivsi in SHmedia mode.  Introduce
1338         SHcompact trampolines.
1339         * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
1340         only in SHmedia64.
1341         (regno_reg_class): Rewrite.
1342         (fp_reg_names): Remove.
1343         (sh_register_names, sh_additional_register_names): New.
1344         (print_operand): Added `u'.  Support SUBREGs in addresses.
1345         Add parentheses around shifted CONSTs.
1346         (output_file_start): Output .mode and .abi directives.
1347         (shiftcosts, addsubcosts, multcosts): Adjust.
1348         (output_stack_adjust): Compute alignment.  Sanity-check SIZE.
1349         (push_regs): Take array of HOST_WIDE_INTs.  Adjust callers.
1350         (calc_live_regs): Output to array of HOST_WIDE_INTs.  Count
1351         bytes, not registers.  Take into account the need for the
1352         SHcompact incoming args trampoline.  Adjust all callers.
1353         (sh_expand_prologue): Take stack_regs into account.  Call
1354         incoming args trampoline.  Keep stack aligned as per SH5 ABI.
1355         (sh_expand_epilogue): Take stack_regs into accoutn.  Keep
1356         stack aligned as per SH5 ABI.
1357         (sh_builtin_saveregs): Support SH5 ABI.
1358         (sh_build_va_list, sh_va_start): Likewise.
1359         (initial_elimination_offset): Take alignment into account.
1360         Compute location of PR according to the SH5 stack frame.
1361         (arith_reg_operand): Reject branch-target registers.
1362         (shmedia_6bit_operand): New.
1363         (logical_operand): Use CONST_OK_FOR_P on SHmedia.
1364         (target_reg_operand): Match DImode only.  Accept SUBREGs.
1365         (target_operand): New.
1366         * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
1367         (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI.  Initialize
1368         SIBCALL_REGS for SHmedia.
1369         (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
1370         (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
1371         (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
1372         (TARGET_SWITCHES): New SH5 flags.
1373         (OVERRIDE_OPTIONS): Set SH5-specific options.  Use
1374         VALID_REGISTER_P to disable unsupported registers.
1375         (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
1376         (POINTER_SIZE, PARM_BOUNDARY): Adjust.
1377         (FUNCTION_ARG_PADDING): Define.
1378         (FASTEST_ALIGNMENT): Adjust.
1379         (SH_REGISTER_NAMES_INITIALIZER): New.
1380         (sh_register_names): Declare.
1381         (DEBUG_REGISTER_NAMES): Define.
1382         (REGISTER_NAMES): Define based on sh_register_names.
1383         (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
1384         (sh_additional_register_names): Declare.
1385         (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
1386         (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
1387         (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
1388         (REGISTER_NATURAL_MODE): Define.
1389         (FIRST_PSEUDO_REGISTER): Adjust.
1390         (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
1391         (HARD_REGNO_CALL_PART_CLOBBERED): Define.
1392         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
1393         (VECTOR_MODE_SUPPORTED_P): Define.
1394         (REG_CLASS_CONTENTS): Adjust.
1395         (SMALL_REGISTER_CLASSES): Adjust.
1396         (REG_ALLOC_ORDER): Adjust.
1397         (INDEX_REG_CLASS): Adjust.
1398         (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
1399         (CONST_OK_FOR_LETTER_P): Adjust.
1400         (PREFERRED_RELOAD_CLASS): Adjust.
1401         (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
1402         (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
1403         (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
1404         (FIRST_FP_PARM_REG): Adjust.
1405         (CALL_POPS_ARGS): Define.
1406         (FUNCTION_ARG_REGNO_P): Adjust.
1407         (struct sh_args): New fields.
1408         (GET_SH_ARG_CLASS): Adjust.
1409         (INIT_CUMULATIVE_ARGS): Adjust.
1410         (INIT_CUMULATIVE_INCOMING_ARGS): Define.
1411         (FUNCTION_ARG_ADVANCE): Adjust.
1412         (FUNCTION_ARG): Adjust.
1413         (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
1414         (FUNCTION_ARG_CALLEE_COPIES): Define.
1415         (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
1416         (STRICT_ARGUMENT_NAMING): Define.
1417         (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
1418         (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
1419         (SH5_WOULD_BE_PARTIAL_NREGS): Define.
1420         (SETUP_INCOMING_VARARGS): Adjust.
1421         (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
1422         (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
1423         (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
1424         (SUBREG_OK_FOR_INDEX_P): Adjust.
1425         (EXTRA_CONSTRAINT_S): Update.
1426         (EXTRA_CONSTRAINT_T): New.
1427         (EXTRA_CONSTRAINT): Adjust.
1428         (GO_IF_LEGITIMATE_INDEX): Adjust.
1429         (GO_IF_LEGITIMATE_ADDRESS): Adjust.
1430         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
1431         (MOVE_MAX): Adjust.
1432         (MAX_MOVE_MAX): Define.
1433         (Pmode): Adjust.
1434         (CONST_COSTS): Adjust.
1435         (REGISTER_MOVE_COST): Adjust.
1436         (BRANCH_COST): Adjust.
1437         (TEXT_SECTION_ASM_OP): Adjust.
1438         (DBX_REGISTER_NUMBER): Adjust.
1439         (ASM_OUTPUT_DOUBLE_INT): New.
1440         (UNALIGNED_DOUBLE_INT_ASM_OP): New.
1441         (PREDICATE_CODES): Adjust.
1442         (PROMOTE_MODE): Adjust.
1443         (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
1444         * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
1445         (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
1446         (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
1447         (DR0_REG, DR2_REG, DR4_REG): Renumber.
1448         (TR0_REG, TR1_REG, TR2_REG): New.
1449         (XD0_REG): Renumber.
1450         (UNSPEC_COMPACT_ARGS): New.
1451         (type): Added pt and ptabs.
1452         (length): Default to 4 on SHmedia.  Default pt length to 12
1453         and     20 on SHmedia32 and SHmedia64, respectively.
1454         (pt): New function unit.
1455         (movdi, movsi): Add types pt and ptabs.  Don't increment LABEL_NUSES.
1456         Add whitespace between operands of SHmedia instructions.
1457         (movdicc): Fix.
1458         (adddi3_media, addsi3_media): Adjust constraints.
1459         (subsi3) [SHmedia]: Force operand 1 into a register.
1460         (udivsi3_i1_media, udivsi3_i4_media): New.
1461         (udivsi3): Support SHmedia.
1462         (divsi3_i1_media, divsi3_i4_media): New.
1463         (divsi3): Support SHmedia.
1464         (anddi3, iordi3, xordi3): Adjust constraints.
1465         (zero_extendhidi2, zero_extendqidi2): New.
1466         (extendsidi2, extendhidi2, extendqidi2): New.
1467         (push, pop, push_e, push_fpul, push_4): Disable on SH5.
1468         (pop_e, pop_fpul, pop_4): Likewise.
1469         (movsi_media): Support FP and BT registers.
1470         (movsi_media_nofpu): New.  Adjust splits to DImode.
1471         (lduw, ldub): Renamed to zero_extend* above.
1472         (movqi_media): Fix typo.
1473         (movdi_media): Support FP and BT registers.
1474         (movdi_media_nofpu): New.  Adjust splits for SHmedia32.
1475         (movdi_const_32bit): New.
1476         (shori_media): Require immediate operand.  Use `u' for output.
1477         (movdf_media, movsf_media): Simplified.
1478         (movdf_media_nofpu, movsf_media_nofpu): New.
1479         (movdf, movsf): Adjust
1480         (movv2sf, movv2sf, movv16sf): New.
1481         (beq_media, beq_media_i): Adjust constraints.  Don't use
1482         scratch BT register.
1483         (bne_media, bne_media_i): Likewise.
1484         (bgt_media, bgt_media_i): Likewise.
1485         (bge_media, bge_media_i): Likewise.
1486         (bgtu_media, bgtu_media_i): Likewise.
1487         (bgeu_media, bgeu_media_i): Likewise.
1488         (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
1489         bunordered): Emit jump insn.  Force operands to registers when
1490         needed.
1491         (jump_media, jump): Simplify.
1492         (call_compact, call_compact_rettramp): New.
1493         (call_value_compact, call_value_compact_rettramp): New.
1494         (call_media, call_value_media): Simplify.
1495         (sibcall_compact, sibcall_media): New.
1496         (call, call_value): Adjust for SHmedia and SHcompact.
1497         (sibcall, sibcall_value, untyped_call): Likewise.
1498         (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
1499         (indirect_jump): Adjust for SHmedia.
1500         (casesi_jump_media): New.
1501         (nop): Re-enable for SHmedia.
1502         (call_site): Restrict to SH1.
1503         (casesi): Adjust for SHmedia.
1504         (casesi_shift_media, casesi_load_media): New.
1505         (return): Explicitly use PR register.  Call return trampoline
1506         on SHcompact.
1507         (return_i): Explicitly use PR register.
1508         (shcompact_return_tramp, shcompact_return_tramp_i): New.
1509         (return_media): Adjust.
1510         (shcompact_incoming_args): New.
1511         (epilogue): Adjust.
1512         (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
1513         (movstrsi): Disable on SH5.
1514         (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
1515         (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
1516         (subsf3, subsf3_media): Likewise.
1517         (mulsf3, mulsf3_media, mac_media): Likewise.
1518         (divsf3, divsf3_media): Likewise.
1519         (floatdisf2, floatsisf2_media): Likewise.  Adjust constraints.
1520         (floatsisf2, fux_truncsfsi2): Likewise.
1521         (fix_truncsfdi2, fix_truncsfsi2_media): Likewise.  Adjust
1522         constraints.
1523         (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
1524         (cmpunsf_media, cmpsf): Likewise.
1525         (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
1526         (abssf2, abssf2_media): Likewise.
1527         (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
1528         (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
1529         (floatdidf2, floatsidf2_media): Likewise.  Adjust constraints.
1530         (floatsidf2, fix_truncdfsi2): Likewise.
1531         (fix_truncdfdi2, fix_truncdfsi2_media): Likewise.  Adjust
1532         constraints.
1533         (cmpeqdf_media, cmpgtdf_media): Likewise.
1534         (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
1535         (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
1536         (absdf2, absdf2_media): Likewise.
1537         (extendsfdf2, extendsfdf2_media): Likewise.
1538         (truncsfdf2, truncsfdf2_media): Likewise.
1539         * config/sh/sh64.h: New file.
1540         * config/sh/t-sh64: New file.
1541         * config/sh/shmedia.h: New file.
1542         * config/sh/ushmedia.h: New file.
1543         * config/sh/sshmedia.h: New file.
1544         * configure.in: Added sh64-*-elf.
1545         * configure: Rebuilt.
1546         2000-10-10  Alexandre Oliva  <aoliva@redhat.com>
1547         * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
1548         (reg_class_from_letter): Use `b' for TARGET_REGS.
1549         (print_operand): Support `%M', `%m', `AND' and
1550         `ASHIFTRT'.  Do not precede constants with `#' on SHmedia.
1551         (andcosts): Adjust for SHmedia.
1552         (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
1553         Likewise.
1554         (target_reg_operand): New function.
1555         * config/sh/sh-protos.h (target_reg_operand): Declare.
1556         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
1557         FP registers on SH5.
1558         (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
1559         on SH4.
1560         (TARGET_REGISTER_P): New macro.
1561         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
1562         (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
1563         (EXTRA_CONSTRAINT_S): New macro.
1564         (EXTRA_CONSTRAINT): Adjust.
1565         (FLOAT_TYPE_SIZE): Define to 32.
1566         (Pmode): DImode on SHmedia.
1567         (CONST_COSTS): Adjust for SHmedia literals.
1568         (PREDICATE_CODES): Added target_reg_operand.
1569         (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
1570         * config/sh/sh.md: Remove all attrs from SHmedia insns.
1571         (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
1572         (cmpdi): Accept SHmedia.
1573         (movdicc_false, movdicc_true): New insns.
1574         (movdicc): New expand.
1575         (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
1576         no_new_pseudos.
1577         (addsi3_media): Match `S' constraint.
1578         (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
1579         (negdi2): Expand for SHmedia.
1580         (one_cmpldi2): New expand.
1581         (zero_extendsidi2): Change from expand to insn.
1582         (extendsidi2): Add constraints.
1583         (movdi_media, movsi_media): Change `%x' to `%M'.  Use `%m' for
1584         LD/ST address.  Fix SI immediate loading split.
1585         (movhi_media, movqi_media, lduw, ldub): New insns.
1586         (movhi, movqi): Accept SHmedia.
1587         (shori_media, movdi_media): Relax input constraints.  Split
1588         symbolic constants.
1589         (movdf_media, movsf_media): New insn.  New split to movdi.
1590         (movdf, movsf): Match on SHmedia.
1591         (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
1592         bgeu_media): New insns and splits.  New insns with `_i' suffix.
1593         (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
1594         (bunordered): New expand.
1595         (jump_compact): Renamed from `jump'.
1596         (jump_media): New insn.
1597         (jump): New expand.
1598         (call_media, call_value_media): New insns.
1599         (call, call_value): Adjust.
1600         (indirect_jump_compact): Renamed from `indirect_jump'.
1601         (indirect_jump_media): New insn.
1602         (indirect_jump): New expand.
1603         (untyped_call, return): Accept SHmedia.
1604         (return_media): New insn.
1605         (prologue, epilogue, blockage): Accept SHmedia.
1606         (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
1607         (sunordered): New expand.
1608         (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
1609         cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
1610         (addsf3_media, subsf3_media, mulsf3_media, mac_media,
1611         divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
1612         fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
1613         cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
1614         abssf2_media): New insns.
1615         (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
1616         cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
1617         (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
1618         floatdidf2, floatsidf2_media, fix_truncdfdi2,
1619         fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
1620         cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
1621         absdf2_media): New insns.
1622         (extendsfdf2, truncdfsf2): Adjust for SHmedia.
1623         (extendsfdf2_media, truncdfsf2_media): New insns.
1624         2000-09-14  Alexandre Oliva  <aoliva@redhat.com>
1625         * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
1626         * config/sh/sh.h (CONST_OK_FOR_J): Document.
1627         (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
1628         * config/sh/sh.md (adddi3): New expand.
1629         (adddi3_media, adddi3z_media): New insns.
1630         (adddi3_compact): Renamed from adddi3.
1631         (addsi3_media): Use add.l r63 to add constant zero.
1632         (subdi3): New expand.
1633         (subdi3_media): New insn.
1634         (subdi3_compact): Renamed from subdi3.
1635         (mulsidi3): New expand.
1636         (mulsidi3_media): New insn.
1637         (mulsidi3_compact): Renamed from mulsidi3.
1638         (umulsidi3): New expand.
1639         (umulsidi3_media): New insn.
1640         (umulsidi3_compact): Renamed from umulsidi3.
1641         (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
1642         (ashlsi3, ashrsi3, lshrsi3): Use them.
1643         (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
1644         (ashldi3, ashrdi3, lshrdi3): Use them.
1645         (zero_extendsidi2): New expand.
1646         (extendsidi2): New insn.
1647         (movsi_media): New insn.  Split to movdi to load constants.
1648         (movsi): Enable for shmedia.
1649         (movdi_media): New insn.  Use shori_media to load wide constants.
1650         (short_media): New insn.
1651         (movdi): Enable for shmedia.
1652         2000-09-08  Alexandre Oliva  <aoliva@redhat.com>
1653         * config/sh/sh.h (CPP_SPEC): Added `m5'.
1654         (SUBTARGET_CPP_SPEC): Added `!m5'.
1655         (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
1656         (TARGET_SWITCHES): Added `5' and `5-compact'.  Added SH1_BIT
1657         to all other SH variants.
1658         (TARGET_DEFAULT): Set to SH1_BIT.
1659         (OVERRIDE_OPTIONS): Recognize sh5 CPU.
1660         (BITS_PER_WORD): Raise to 64 on shmedia.
1661         (MAX_BITS_PER_WORD): Change to 64.
1662         (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
1663         (INT_TYPE_SIZE): Keep as 32.
1664         (UNITS_PER_WORD): Raise to 8 on shmedia.
1665         (MIN_UNITS_PER_WORD): Keep as 4.
1666         (POINTER_SIZE): Raise to 64 on shmedia.
1667         (CONST_OK_FOR_J): New macro.
1668         (CONST_OK_FOR_LETTER_P): Use it.
1669         (processor_type): Add PROCESSOR_SH5.
1670         * config/sh/sh.md: Conditionalize all expands, insns and
1671         splits to TARGET_SH1.
1672         (cpu): Added sh5.
1673         (addsi3_compact): Renamed from...
1674         (addsi3): Now an expand.
1675         (addsi3_media, subsi3_media): New insns.
1676         (subsi3): Don't negate constants with SHmedia.
1678         * hooks.c: New file.
1679         * hooks.h: New file.
1680         * Makefile.in (HOOKS_H): New.
1681         (TARGET_DEF_H): Added $(HOOKS_H).
1682         (OBJS): Added hooks.o.
1683         (cfgcleanup.o, bb-reorder.o): Added target.h.
1684         (hooks.o): Added dependencies.
1685         * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
1686         (TARGET_INITIALIZER): this.
1687         * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
1688         * target.h (struct gcc_target): Added cannot_modify_jumps_p.
1689         * bb-reorder.c: Include target.h.
1690         (reorder_basic_blocks): Skip if cannot modify jumps.
1691         * cfgcleanup.c: Include target.h.
1692         (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
1694 2002-02-08  Chris Demetriou  <cgd@broadcom.com>
1696         * config/mips/mips.md (casesi_internal, casesi_internal_di):
1697         Protect jump delay slot instructions with .set noreorder and
1698         .set nomacro.
1700 2002-02-08  Chris Demetriou  <cgd@broadcom.com>
1702         * config/mips/mips.md (casesi_internal_di): Calculate
1703         the index into the target offset table correctly.
1705 2002-02-08  Richard Henderson  <rth@redhat.com>
1707         * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
1708         * final.c (output_addr_const): Accept and discard SUBREG.
1709         * varasm.c (decode_addr_const): Don't abort on unknown expressions --
1710         mark them unknown instead.
1711         (simplify_subtraction): Handle RTX_UNKNOWN.
1712         (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
1714 2002-02-08  David Edelsohn  <edelsohn@gnu.org>
1716         * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
1718 2002-02-08  Richard Henderson  <rth@redhat.com>
1720         * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
1722 2002-02-08  Andreas Jaeger  <aj@suse.de>
1724         * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
1725         * config/i386/t-linux64: New file.
1727 2002-02-08  Jakub Jelinek  <jakub@redhat.com>
1729         * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
1730         * c-parse.in (compstmt): Clear last_expr_type.
1732 2002-02-07  Richard Henderson  <rth@redhat.com>
1734         * loop.c (strength_reduce): Sink final_value when not
1735         eliminating a biv.
1737 2002-02-07  David O'Brien  <obrien@FreeBSD.org>
1739         * config/sparc/freebsd.h: Fix mismatched spec {.
1741 2002-02-07  Richard Henderson  <rth@redhat.com>
1743         * cfgrtl.c: Include recog.h and insn-config.h.
1744         (keep_with_call_p): Fix general_operand invocation.
1745         * Makefile.in (cfgrtl.o): Update dependencies.
1747 2002-02-07  Kazu Hirata  <kazu@hxi.com>
1749         * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
1750         comment.  Accept HImode only if TARGET_H8300.
1752 2002-02-07  Eric Christopher  <echristo@redhat.com>
1754         * config/mips/crtn.asm: Cleanup #ifdefs.
1756 2002-02-07  Eric Christopher  <echristo@redhat.com>
1758         * config/mips/crti.asm: Add changes for mips16. mips16 uses
1759         register 7 as RA instead of $31.
1760         * config/mips/crtn.asm: Ditto.
1761         * config/mips/mips.c (mips_move_2words): Add case for
1762         TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
1763         (compute_frame_size): Fix typo.
1764         (save_restore_insns): Ditto.  Make documentation about using
1765         register $7 as return register more precise.
1766         (mips_expand_epilogue): Fix comment. Add code to work around not
1767         being able to add to the stack pointer directly.
1768         * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
1769         to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
1770         epilogue.
1772 2002-02-07  Tom Rix  <trix@redhat.com>
1774         * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
1775         immediates in ldu and stdu DS opcode field.
1776         * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
1777         * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
1778         * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
1780 2002-02-07  Jeff Sturm  <jsturm@one-point.com>
1782         * config/sparc/sparc.c (compute_frame_size): Don't correct frame
1783         offset for stack bias.
1785 2002-02-07  H.J. Lu <hjl@gnu.org>
1787         * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
1789 2002-02-07  Ulrich Weigand  <uweigand@de.ibm.com>
1791         * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
1793 Thu Feb  7 12:14:17 CET 2002  Jan Hubicka  <jh@suse.cz>
1795         * i386-protos.h (x86_order_regs_for_local_alloc): Declare
1796         * i386.c (x86_order_regs_for_local_alloc): New global function.
1797         * i386.h (REG_ALLOC_ORDER): CLeanup.
1798         (ORDER_REGS_FOR_LOCAL_ALLOC): New.
1800 2002-02-07  Richard Henderson  <rth@redhat.com>
1802         PR optimization/2463
1803         * alias.c (find_base_value): Recall base values for fixed hard regs.
1804         * loop.c (loop_regs_update): Don't use single_set on non-insns.
1806 2002-02-07  Alexandre Oliva  <aoliva@redhat.com>
1808         * config/mips/mips.md (define_delay) [mips16]: Adjust required
1809         length.
1811 2002-02-06  Richard Henderson  <rth@redhat.com>
1813         PR c/5609
1814         * stmt.c (resolve_operand_name_1): Take more care with mixed
1815         named and unnamed operands.
1817 2002-02-06  Janis Johnson  <janis187@us.ibm.com>
1818             Jan Hubicka  <jh@suse.cz>
1820         * loop.c (remove_constant_addition): Avoid clobbering a shared
1821         CONST expression.
1823 2002-02-06  Ulrich Weigand  <uweigand@de.ibm.com>
1825         * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
1826         * config/s390/t-linux64: New file.
1827         * config/s390/libgcc-glibc.ver: New file.
1829 2002-02-06  Ulrich Weigand  <uweigand@de.ibm.com>
1831         * config/s390/linux64.h: Delete file.
1832         * config/s390/s390x.h: New file.
1833         * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
1834         as target header file.
1835         * config/s390/linux.h (TARGET_VERSION): Define depending on
1836         DEFAULT_TARGET_64BIT.
1837         (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
1838         (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
1839         (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
1840         (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
1841         (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
1842         (EXTRA_SPEC): New define.
1843         * config/s390/s390.h (TARGET_VERSION): Define depending on
1844         DEFAULT_TARGET_64BIT.
1845         (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
1847 2002-02-06  Jason Merrill  <jason@redhat.com>
1849         * c-decl.c (finish_function): Warn about a non-void function with
1850         no return statement and no abnormal exit.
1851         (current_function_returns_abnormally): New variable.
1852         (start_function): Clear it.
1853         (struct c_language_function): Add returns_abnormally.
1854         (push_c_function_context): Save it.
1855         (pop_c_function_context): Restore it.
1856         (builtin_function): Set TREE_THIS_VOLATILE on return fns.
1857         (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
1858         an explicit return type.
1859         * c-tree.h: Declare current_function_returns_abnormally.
1860         (C_FUNCTION_IMPLICIT_INT): New macro.
1861         * c-typeck.c (build_function_call): Set it.
1862         (c_expand_return): Set current_function_returns_value even if the
1863         value is erroneous.
1865 2002-02-06  Jakub Jelinek  <jakub@redhat.com>
1867         PR c/5420:
1868         * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
1869         unsafe for reevaluation.
1871 2002-02-06  Jakub Jelinek  <jakub@redhat.com>
1873         PR c/5482:
1874         * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
1875         EXPR_STMT, but COMPOUND_STMT, recurse into it.
1877 2002-02-06  Richard Henderson  <rth@redhat.com>
1879         * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
1880         be a general_operand.  Dest for function value must be a pseudo.
1882 2002-02-06  Nick Clifton  <nickc@cambridge.redhat.com>
1884         * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
1885         as SYMBOL_REFs from the constant pool.
1887 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
1889         * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
1890         passed by invisible reference.
1892 2002-02-05  Richard Henderson  <rth@redhat.com>
1894         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
1896 2002-02-06  Hans-Peter Nilsson  <hp@bitrange.com>
1898         Implement using "base addresses" in insn operands as default.
1899         * config/mmix/mmix.c (mmix_conditional_register_usage): if
1900         -mabi=gnu, modify fixed_regs to fit the GNU ABI.
1901         (mmix_extra_constraint): Use 'R' to indicate that GETA should be
1902         used to read the rtx value.
1903         (mmix_target_asm_function_epilogue): Fix spacing.
1904         (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
1905         (mmix_legitimate_address): Ditto.
1906         (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
1907         should be loaded with a GETA insn.  Don't allocate needless extra
1908         char for nul termination and fix misleading comment.
1909         (mmix_print_operand_address): Handle constants if
1910         TARGET_BASE_ADDRESSES.
1911         (mmix_output_register_setting): Use base addressing if
1912         TARGET_BASE_ADDRESSES and the number of insns is 3.
1913         * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
1914         * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
1915         to use R as constraint, add LDA to match s.
1916         * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
1917         (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
1918         (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
1919         (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
1920         (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
1921         order with other fixed registers.
1922         (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
1923         other parameter/call-clobbered registers.
1924         * doc/invoke.texi (Option Summary) <MMIX Options>: Add
1925         -mbase-addresses, -mno-base-addresses.
1926         (MMIX Options): Ditto.
1928 2002-02-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1930         * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
1932 2002-02-06  Aldy Hernandez  <aldyh@redhat.com>
1934         * config/rs6000/altivec.h: Change elem to _S_elem.
1936 2002-02-05  Jason Thorpe  <thorpej@wasabisystems.com>
1938         * config/netbsd.h (WCHAR_TYPE): Define.
1939         (WCHAR_TYPE_SIZE): Ditto.
1940         (WINT_TYPE): Ditto.
1941         * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
1942         (WCHAR_UNSIGNED): Ditto.
1943         (WCHAR_TYPE_SIZE): Ditto.
1944         (WINT_TYPE): Ditto.
1945         * config/arm/netbsd.h: Likewise.
1946         * config/i386/netbsd-elf.h: Likewise.
1947         * config/i386/netbsd.h: Likewise.
1948         * config/m68k/netbsd-elf.h: Likewise.
1949         * config/m68k/netbsd.h: Likewise.
1950         * config/ns32k/netbsd.h: Likewise.
1951         * config/sparc/netbsd.h: Likewise.
1952         * config/vax/netbsd.: Likewise.
1954 2002-02-05  Alexandre Oliva  <aoliva@redhat.com>
1956         * target.h (struct gcc_target): Added ms_bitfield_layout_p.
1957         * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New.  Added to...
1958         (TARGET_INITIALIZER): this.
1959         * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
1960         (BITFIELD_NBYTES_LIMITED): Markup fix.
1961         * tree.h (default_ms_bitfield_layout_p): Declare.
1962         (record_layout_info): Added prev_field.
1963         * tree.c (default_ms_bitfield_layout_p): New fn.
1964         * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
1965         PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
1966         * stor-layout.c: Include target.h.
1967         (start_record_layout): Initialize prev_field.
1968         (place_field): Handle MS bit-field layout, and disregard
1969         EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
1970         PCC_BITFIELD_TYPE_MATTERS in this case.  Update prev_field.
1971         * Makefile.in (stor-layout.o): Adjust dependencies.
1973 2002-02-05  Jason Merrill  <jason@redhat.com>
1975         * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
1977 2002-02-05  Andreas Jaeger  <aj@suse.de>
1979         * crtstuff.c: Fix comments.
1981 2002-02-05  Richard Henderson  <rth@redhat.com>
1983         PR fortran/3393
1984         * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
1985         (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
1987         PR fortran/3392
1988         * config/mips/mips.c (function_arg): Handle TImode.
1989         (function_arg_advance): Likewise.
1991 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
1993         * config/rs6000/altivec.h (vec_step_help): Rename to
1994         __vec_step_help.
1996 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
1998         * config/rs6000/altivec.h: Fix typos.
2000 2002-02-05  Jason Thorpe  <thorpej@wasabisystems.com>
2002         * config/arm/netbsd.h: Correct a comment.
2004 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
2006         * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
2007         building void typed builtins.
2009         * config/rs6000/altivec.h (vec_ld*): Fix typos.
2010         (vec_step): Implement for C++.
2012 Mon Feb  4 19:23:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2014         * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
2016 2002-02-04  Richard Henderson  <rth@redhat.com>
2018         * combine.c (nonzero_bits): Re-introduce special case for
2019         sp/fp/ap wrt REGNO_POINTER_ALIGN.
2021 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
2023         * doc/extend.texi: Warn about unsupported usage of altivec
2024         builtins.
2026         * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
2027         (altivec_predicate_*): New.
2029         * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
2030         Add C++ version of vec_*() functions.
2032         * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
2033         (bdesc_2arg): Remove altivec predicates.
2034         (altivec_expand_builtin): Handle predicates.
2035         (altivec_init_builtins): Handle predicates.
2036         (altivec_expand_predicate_builtin): New.
2038 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2040         * pa.c (DO_FRAME_NOTES): Move forward.
2041         (store_reg): Revise handling of frame notes.
2042         (load_reg): Likewise.
2043         (set_reg_plus_d): Likewise.
2044         (hppa_expand_prologue): Likewise.
2045         (hppa_expand_epilogue): Likewise.
2047 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2049         * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
2051 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
2053         PR c/4475, c++/3780:
2054         * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
2055         * c-common.h (SWITCH_TYPE): Define.
2056         * c-typeck.c (c_start_case): Set SWITCH_TYPE.
2057         * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
2058         Rename spareness variable to sparseness.
2059         (expand_end_case_type): Renamed from expand_end_case, use orig_type
2060         if non-NULL instead of TREE_TYPE (orig_index).
2061         * tree.h (expand_end_case_type): Renamed from expand_end_case.
2062         (expand_end_case): Define using expand_end_case_type.
2063         * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
2064         to expand_end_case_type.
2065         * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
2067 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2069         * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
2070         (BIGGEST_ALIGNMENT): Change to 128.
2072 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2074         * pa32-linux.h (LINK_COMMAND_SPEC): Define.
2076 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2078         * pa.md (call_internal_reg_64bit): Remove unused variable.
2080 2002-02-04  Nick Clifton  <nickc@cambridge.redhat.com>
2082         * config/arm/arm.h (machine_function): Add uses_anonymous_args
2083         field.
2084         (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
2085         * config/arm/arm.c (current_function_anonymous_args): Delete,
2086         replace uses with cfun->machine->uses_anonymous_args.
2087         (arm_reorg): Do not reset uses_anonymous_args.
2089         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
2090         any geenral register.
2092 2001-02-04  Bernd Schmidt  <bernds@redhat.com>
2094         * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
2095         the entry block.
2097 2002-02-04  Richard Henderson  <rth@redhat.com>
2099         * combine.c (force_to_mode): Remove STACK_BIAS code.
2100         (nonzero_bits): Likewise.  Replace sp/fp special case with
2101         REGNO_POINTER_ALIGN.
2103         * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
2104         (HARD_FRAME_POINTER_REGNUM): New.
2105         (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
2106         (FIXED_REGS, CALL_USED_REGS): Update.
2107         (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
2108         (CONDITIONAL_REGISTER_USAGE): Update for HFP.
2109         (HARD_REGNO_NREGS): Update for SFP.
2110         (STACK_POINTER_OFFSET): Include bias here ...
2111         (FIRST_PARM_OFFSET): ... not here.
2112         (STACK_BIAS): Remove.
2113         (INIT_EXPANDERS): New.
2114         (STARTING_FRAME_OFFSET): Do not include bias.
2115         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
2116         (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
2117         (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
2118         * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
2119         * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
2120         * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
2121         (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
2122         (MUST_SAVE_REGISTER): Likewise.
2123         (sparc_flat_function_prologue): Likewise.
2124         (sparc_flat_function_epilogue): Likewise.
2125         (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
2126         (sparc_init_modes): SFP is GENERAL_REGS.
2127         (sparc_builtin_saveregs): SFP does not have bias applied.
2129 2002-02-04  Richard Henderson  <rth@redhat.com>
2131         * config/alpha/alpha.c (current_function_is_thunk): Don't check
2132         current_function_is_thunk.
2133         (alpha_sa_mask): Distinguish between current_function_is_thunk
2134         called from ASM_OUTPUT_MI_THUNK and not.
2135         (alpha_does_function_need_gp): Thunks always need gp.
2136         (alpha_start_function, alpha_output_function_end_prologue): Likewise.
2137         (alpha_output_mi_thunk_osf): New.
2138         * config/alpha/alpha-protos.h: Update.
2139         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
2141 2002-02-04  Richard Sandiford  <rsandifo@redhat.com>
2143         * c-typeck.c (build_c_cast): Warn when qualifiers are added to
2144         function types, not when they're taken away.
2146 Mon Feb  4 09:05:58 2002  Jeffrey A Law  (law@redhat.com)
2148         * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
2149         CODE_LABEL and jump table when replacing a table jump with a
2150         simple jump.
2152 2002-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
2154         * config/s390/s390-protos.h (legitimize_la_operand,
2155         s390_secondary_input_reload_class, s390_plus_operand,
2156         s390_expand_plus_operand): Add prototypes.
2158         config/s390/s390.c (s390_secondary_input_reload_class,
2159         s390_plus_operand, s390_expand_plus_operand): New functions.
2161         (struct s390_address): New member 'pointer'.
2162         (s390_decompose_address): Compute it.
2163         (legitimate_la_operand_p): Use it.
2164         (legitimize_la_operand): New function.
2165         (movti, movdi, movdf splitters): Call it.
2167         config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
2168         (PREDICATE_CODES): Add s390_plus_operand.
2170         config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
2171         (la_ccclobber): Allow GENERAL_REGS as output operand.
2173         (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
2174         *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
2175         (*la_64, *la_31, reload_indi, reload_insi): ... these.
2177 2002-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
2179         * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
2180         register names for regular asm () construct.
2182 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
2184         * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
2185         registers.
2187 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
2189         * combine.c (recog_for_combine): Create a dummy insn with PATTERN
2190         pat for recog.
2192 2002-02-04  Hartmut Penner  <hpenner@de.ibm.com>
2194         * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
2195         constant pool to be identical by string address and index.
2197 2002-02-04  Anthony Green  <green@redhat.com>
2199         * output.h (SECTION_OVERRIDE): Define.
2200         * varasm.c (named_section): Obey SECTION_OVERRIDE.
2202 2002-02-03  Jason Thorpe  <thorpej@wasabisystems.com>
2204         * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
2205         by existing arm*-*-netbsd* (a.out) target.
2206         (ns32k-*-netbsdelf*): Likewise.
2207         (sparc-*-netbsdelf*): Likewise.
2208         (vax-*-netbsdelf*): Likewise.
2210 2002-02-03  Danny Smith <dannysmith@users.sourceforge.net>
2212         * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
2213         headers and libobjc headers.
2215 2002-02-03  Mumit Khan  <khan@nanotech.wisc.edu>
2217         * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
2218         (_mingw.h): Remove duplicate include.
2220 2002-02-03  Jason Thorpe  <thorpej@wasabisystems.com>
2222         * config.gcc: Set cpu_type to m68k for 68010, as well.
2223         (m68010-*-netbsdelf*): New...
2224         (m68k*-*-netbsdelf*): ...targets.
2225         * config/m68k/netbsd-elf.h: New file.
2227 2002-02-02  Kazu Hirata  <kazu@hxi.com>
2229         * config/h8300/h8300.c (hand_list): Move inside function_arg.
2231 2002-02-02  Kazu Hirata  <kazu@hxi.com>
2233         * config/h8300/h8300.c (h8_push_ops): Move inside
2234         h8300_init_once.
2235         (h8_pop_ops): Likewise.
2236         (h8_move_ops): Likewise.
2238 2002-02-02  Kazu Hirata  <kazu@hxi.com>
2240         * config/h8300/h8300.c (os_task): Make it static.
2241         (monitor): Likewise.
2242         (pragma_saveall): Likewise.
2244 2002-02-02  Alexandre Oliva  <aoliva@redhat.com>
2246         * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
2247         constant is a valid sign-extension for Pmode.
2249 2002-02-02  Kazu Hirata  <kazu@hxi.com>
2251         * config/h8300/h8300.c: Fix formatting.
2253 2002-02-02  Kazu Hirata  <kazu@hxi.com>
2255         * config/h8300/h8300.md: Fix formatting.
2257 2002-02-02  Kazu Hirata  <kazu@hxi.com>
2259         * config/h8300/h8300.md (one_cmpl patterns): Tighten the
2260         predicates of operands[1].  Split the patterns for each
2261         processor variant.
2263 2002-02-02  Kazu Hirata  <kazu@hxi.com>
2265         * config/h8300/h8300.md (xor patterns): Tighten the predicates
2266         of operands[1] to register_operand.
2268 2002-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
2270         * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
2271         * cpphash.c (_cpp_init_hashtable): Similarly.
2272         * cppinit.c (cpp_create_reader): Default the signed_char flag.
2273         (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
2274         (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
2275         (cpp_handle_option): Handle the new options.
2276         * cpplex.c (cpp_interpret_charconst): Use new flag.
2277         * cpplib.h (struct cpp_options): New member signed_char.
2278         * gcc.c (cpp_unique_options): Remove %c spec and documentation.
2279         (cpp_options): Handle -fsigned-char and -funsigned-char.
2280         (static_specs): Remove signed_char_spec.
2281         (do_spec1): Don't handle %c.
2282         * system.h: Poison SIGNED_CHAR_SPEC.
2283         * tradcif.y (yylex): Use flag_signed_char.
2284         * tradcpp.h (flag_signed_char): New.
2285         * tradcpp.c (flag_signed_char): New.
2286         (main): Handle new command-line options.
2287         (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
2288 config:
2289         * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
2290         * avr/avr.h: Remove old comments.
2291         * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
2292         (CC1_SPEC): Pass -fsigned-char if -mic*.
2293         (SIGNED_CHAR_SPEC): Remove.
2294 doc:
2295         * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
2297 2002-02-01  Eric Christopher  <echristo@redhat.com>
2299         From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
2300         * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
2301         * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
2302         (ASM_OUTPUT_REG_POP): Ditto.
2304 2002-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
2306         * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
2307         patch.
2309 2002-02-02  Jakub Jelinek  <jakub@redhat.com>
2311         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
2313 2002-02-02  Jakub Jelinek  <jakub@redhat.com>
2315         PR c/5304:
2316         * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
2317         unconditionally.
2319 2002-02-01  Janis Johnson  <janis187@us.ibm.com>
2321         * cfganal.c: Include tm_p.h.
2322         (keep_with_call_p): Fix the test that determines if a register holds
2323         the return value of a call.
2325 2002-02-01  DJ Delorie  <dj@redhat.com>
2327         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
2328         we are given conflicting registers, switch to the other one we
2329         had allocated for us.
2330         * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
2331         as TImode so we know when the "other" register is available.
2333 2002-02-01  David O'Brien  <obrien@FreeBSD.org>
2335         * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
2336         sparc/sparc_bi.h.
2338 2002-02-01  Janis Johnson  <janis187@us.ibm.com>
2340         * cfganal.c (keep_with_call_p): New function.
2341         (flow_call_edges_add): Prevent splitting a block between a call and
2342         a single-set instruction that should be kept in the same block.
2344 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2346         * doc/install.texi (avr): Update outdated URL.
2348 2002-01-30  Andrew Haley  <aph@cambridge.redhat.com>
2350         * config/stormy16/stormy16.md (pushqi): New.
2351         (popqi): New.
2352         (pushhi): New.
2353         (pophi): New.
2354         (movhi): Remove stack operands.
2355         (movqi): Likewise.
2356         * config/stormy16/stormy16.h (PREDICATE_CODES): Add
2357         nonimmediate_nonstack_operand.
2358         * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
2359         New.
2360         * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
2361         New.
2363 2002-01-31  Jason Merrill  <jason@redhat.com>
2365         * Makefile.in (c-parse.c): Handle .output file.
2366         * objc/Make-lang.in (objc-parse.c): Likewise.
2368 2002-02-01  Alexandre Oliva  <aoliva@redhat.com>
2370         * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
2371         the -me[lb] option is given.  Don't output the default flag
2372         twice.
2374 2002-01-31  Zack Weinberg  <zack@codesourcery.com>
2376         * c-lex.c (yyparse): Call debug_hooks->start_source_file for
2377         the primary source file; this has not been done yet.
2378         * c-decl.c (c_expand_body): Reset input_filename from
2379         DECL_SOURCE_FILE (fndecl) before calling init_function_start.
2381 2002-01-31  Kazu Hirata  <kazu@hxi.com>
2383         * rtlanal.c (subreg_regno_offset): Do not use
2384         SUBREG_REGNO_OFFSET.
2385         * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
2386         * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
2388 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
2390         * gccbug.in: Follow GNU Coding Standards for --version.  Use GCC
2391         version rather than GNATS version in --version output.
2393 2002-01-31  Richard Sandiford  <rsandifo@redhat.com>
2395         * ifcvt.c (noce_process_if_block): Make a copy of the destination
2396         when copying back from a temporary.
2398 2002-01-30  Richard Henderson  <rth@redhat.com>
2400         * ifcvt.c (dead_or_predicable): Handling merging when other_bb
2401         and new_dest are the same.
2403 2002-01-30  Richard Henderson  <rth@redhat.com>
2405         PR opt/5076
2406         * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
2407         * rtl.c (note_insn_name): Update.
2408         * emit-rtl.c (remove_unnecessary_notes): Kill it.
2409         * stmt.c (expand_end_loop): Kill jump opt code.  Use LOOP_END_TOP_COND
2410         to perform loop rotation.
2411         (expand_exit_loop_top_cond): New.
2412         * tree.h (expand_exit_loop_top_cond): Declare it.
2413         * c-semantics.c (genrtl_while_stmt): Use it.
2414         (genrtl_for_stmt): Likewise.
2416 2002-01-30  Alexandre Oliva  <aoliva@redhat.com>
2418         * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
2419         arguments to 64-bit boundaries on 64-bit ABIs.
2421 2002-01-30  Steve Ellcey  <sje@cup.hp.com>
2423         * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
2425 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
2427         * c-decl.c (grokdeclarator): Handle type being a typedef for an
2428         invalid type.
2430 2002-01-30  David O'Brien  <obrien@FreeBSD.org>
2432         * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
2433         * config/sparc/sparc_bi.h: Remove file.
2434         * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
2436 2002-01-30  Richard Henderson  <rth@redhat.com>
2438         * sched-deps.c (sched_analyze): Make a call read the frame pointer.
2440 2002-01-30  Zack Weinberg  <zack@codesourcery.com>
2442         * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
2444 2002-01-30  Jason Merrill  <jason@redhat.com>
2446         * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
2447         (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
2448         (reg_save): Use DW_CFA_offset_extended_sf instead.
2450         * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
2452 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
2454         * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
2455         in cselib_lookup.
2457 2002-01-29  Aldy Hernandez  <aldyh@redhat.com>
2459         * rs6000.md ("*call_value_local32"): Remove constraints.
2460         ("*call_value_local64"): Same.
2461         ("*call_value_indirect_nonlocal_aix32"): Same.
2462         ("*call_value_nonlocal_aix32"): Same.
2463         ("*call_value_indirect_nonlocal_aix64"): Same.
2464         ("*call_value_nonlocal_aix64"): Same.
2465         ("*call_value_nonlocal_sysv"): Same.
2467 2002-01-29  Richard Henderson  <rth@redhat.com>
2469         * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
2471 2002-01-29  Richard Henderson  <rth@redhat.com>
2473         * expr.c (force_operand): Ignore flag_pic for detecting pic
2474         address loads.
2475         * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
2476         for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
2477         * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
2478         instead of open-coded loop.
2479         * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
2480         be fixed when in use.
2482 2002-01-29  Richard Henderson  <rth@redhat.com>
2484         * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
2485         * sched-rgn.c (propagate_deps): Update them.
2486         * sched-deps.c (sched_analyze_insn): Update them.  Flush the
2487         clobbers list when either gets too long.
2489 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
2491         * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
2492         and INDEX_REGS the same as GENERAL_REGS.
2493         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
2495 2002-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
2497         * tree.c (build_nonstandard_integer_type): Correct prototype.
2499 2002-01-29  Ulrich Weigand  <uweigand@de.ibm.com>
2501         * config/s390/s390.md (movstrsico, movstrdix_64,
2502         movstrsix_31): Remove, replace by ...
2503         (movstrdi_short, movstrsi_short, movstrdi_long,
2504         movstrsi_long): ... these.  New.
2505         (movstrdi, movstrsi): Adapt.
2507         (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
2508         ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
2509         Remove unnecessary CC clobber.
2510         (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
2511         *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
2513         (divmoddi4): Don't partially initialize TImode register.
2515 2002-01-29  Geoffrey Keating  <geoffk@redhat.com>
2517         * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
2519 2002-01-29  Richard Henderson  <rth@redhat.com>
2521         * flow.c (print_rtl_and_abort): Remove.
2522         (print_rtl_and_abort_fcn): Remove.
2523         (verify_local_live_at_start): Use dump_bb instead.
2524         (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
2525         (verify_wide_reg_1): Return 2 on mode test failure.
2527 2002-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
2529         PR c/3325, c/3326, c/2511, c/3347
2530         * c-decl.c (enum_decl_context): Remove BITFIELD.
2531         (grokdeclarator): Take bitfield width as an input.
2532         Ensure bitfields are given the correct type.  Perform
2533         bitfield width validation with build_bitfield_integer_type
2534         rather than waiting for finish_struct.
2535         (grok_typename, grok_typename_in_parm_context, start_decl,
2536         push_parmdecl, grokfield, start_function): Update calls to
2537         grokdeclarator.
2538         (build_bitfield_integer_type): New function.
2539         (finish_struct): Move bitfield validation to grokdeclarator
2540         and build_bitfield_integer_type.
2541         * tree.c (build_nonstandard_integer_type): New function.
2542         * tree.h (build_nonstandard_integer_type): New prototype.
2543 objc:
2544         * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
2546 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
2548         PR other/1502:
2549         * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
2550         don't ignore unrecognized -W* options.
2551         (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
2552         * cpplib.h (cpp_handle_option): Adjust prototype.
2553         * c-decl.c (c_decode_options): Pass 0 as last argument to
2554         cpp_handle_option.
2556         PR c/2896:
2557         * gcc.c (cpp_unique_options): Split from cpp_options.
2558         (cpp_options): Source cpp_unique_options.
2559         (default_compilers): Use cpp_unique_options instead of cpp_options
2560         when used together with cc1_options.
2561         (static_specs): Add cpp_unique_options.
2562         * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
2563         when used together with cc1_options.
2565 2002-01-29  Kazu Hirata  <kazu@hxi.com>
2567         * config/h8300/h8300-protos.h: Update the prototype of
2568         output_a_shift.
2569         * config/h8300/h8300.c (output_a_shift): Remove an unused
2570         argument 'insn'.  Remove redundant code.
2571         * config/h8300/h8300.md: Adust to the new prototype of
2572         output_a_shift.
2574 2002-01-29  Kazu Hirata  <kazu@hxi.com>
2576         * config/h8300/h8300-protos.h: Update the prototypes of
2577         emit_a_rotate and expand_a_rotate.
2578         * config/h8300/h8300.c (emit_a_rotate): Change the type of the
2579         first argument to 'enum rtx_code'.
2580         (expand_a_rotate): Likewise.
2582 2002-01-28  Kazu Hirata  <kazu@hxi.com>
2584         * config/h8300/h8300-protos.h: Update the prototype of
2585         output_simode_bld.
2586         * config/h8300/h8300.c (output_simode_bld): Remove an argumen
2587         'log2'.
2588         * config/h8300/h8300.md: Adjust to the new prototype.
2590 2002-01-28  Kazu Hirata  <kazu@hxi.com>
2592         * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
2593         redundant code.
2595 2002-01-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2597         * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
2598         is a fixed register before returning pic_offset_table_rtx.
2599         * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
2600         when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
2602 2002-01-28  Jason Merrill  <jason@redhat.com>
2604         * dwarf2.h: Sync with src version.
2606 2002-01-28  Paul Koning  <pkoning@equallogic.com>
2608         * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
2609         BT_FN_VOID_PTR_VAR.
2610         * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
2611         * doc/extend.texi (__builtin_prefetch): Update documentation:
2612         first argument is now const void ptr.
2614 2002-01-28  Kazu Hirata  <kazu@hxi.com>
2616         * config/h8300/h8300-protos.h: Remove an unused prototype.
2618 2002-01-28  Roman Zippel  <zippel@linux-m68k.org>
2620         * toplev.c (lang_independent_init): Round up identifier size.
2622 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
2624         * config.gcc: Revert previous change.
2626 2002-01-28  Andris Pavenis  <pavenis@latnet.lv>
2628         * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
2630 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
2632         * config.gcc (*-*-netbsdelf*): Set up generic parameters.
2633         (*-*-netbsd*): Always use collect2.  Remove collect2 settings from
2634         other non-elf netbsd config frags.
2635         * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
2636         collect2 will does that.
2637         * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
2638         shared-lib frobbing will work.
2640 2002-01-28  Kazu Hirata  <kazu@hxi.com>
2642         * config/h8300/h8300.h: Fix formatting.
2643         * config/h8300/h8300.md: Likewise.
2645 2002-01-28  Loren J. Rittle  <ljrittle@acm.org>
2647         * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
2648         the old, removed AAA_standards fix.
2649         * fixinc/fixincl.x: Rebuilt.
2651 2002-01-28  Hans-Peter Nilsson  <hp@axis.com>
2653         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
2654         atexit call in crtbegin, hooked in after call to frame_dummy;
2655         register EH before registering __fini__start.
2657 2002-01-28  Aldy Hernandez  <aldyh@redhat.com>
2659         * config/rs6000/altivec.h: Remove spurious semicolons.
2661 2002-01-27  Kazu Hirata  <kazu@hxi.com>
2663         * config/h8300/h8300.md: Replace dead bit extraction patterns
2664         with ones that work.
2666 Sun Jan 27 13:23:40 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2668         * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
2669         if not STRICT_ALIGNMENT.
2670         * rtl.h (MEM_ALIGN): Likewise.
2672 2002-01-27  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2674         * doc/invoke.texi (-fdump-translation-unit): Revert this
2675         patch: 2001-10-21  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2677 2002-01-27  Kazu Hirata  <kazu@hxi.com>
2679         * config/h8300/h8300.md (define_constants): New.
2680         (anonymous patterns) Use defined constants appropriately.
2682 2002-01-27  Kazu Hirata  <kazu@hxi.com>
2684         * config/h8300/h8300.c (function_arg): Remove redundant code.
2686 2002-01-26  Richard Henderson  <rth@redhat.com>
2688         * sched-deps.c (reg_pending_uses_head): New.
2689         (reg_pending_barrier): Rename from reg_pending_sets_all.
2690         (find_insn_list): Don't mark inline.
2691         (find_insn_mem_list): Remove.
2692         (add_dependence_list, add_dependence_list_and_free): New.
2693         (flush_pending_lists): Replace only_write param with separate
2694         for_read and for_write parameters.  Update all callers.  Use
2695         add_dependence_list_and_free.
2696         (sched_analyze_1): Do not add reg dependencies here; just set
2697         the pending bits.  Use add_dependence_list.
2698         (sched_analyze_2): Likewise.
2699         (sched_analyze_insn): Replace schedule_barrier_found with
2700         reg_pending_barrier.  Add all dependencies for pending reg
2701         uses, sets, and clobbers.
2702         (sched_analyze): Don't add reg dependencies for calls, just
2703         set pending bits.  Use regs_invalidated_by_call.  Treat
2704         sched_before_next_call as a normal list, not a fake insn.
2705         (init_deps): No funny init for sched_before_next_call.
2706         (free_deps): Free pending mems lists.  Don't zero reg_last.
2707         (init_deps_global): Init reg_pending_uses.
2708         (finish_deps_global): Free it.
2709         * sched-int.h (deps): Make in_post_call_group_p boolean.  Update docs.
2710         (find_insn_mem_list): Remove.
2711         * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
2712         (propagate_deps): Use them.  Zero temp mem lists.
2714 2002-01-26  Richard Henderson  <rth@redhat.com>
2716         * Makefile.in (CRTSTUFF_CFLAGS): New.
2717         (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
2718         * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
2719         crtstuff.c instead of alpha assembly version.
2720         * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
2721         entire dummy function sequence.  Use FORCE_CODE_SECTION_ALIGN
2722         not FORCE_{INIT,FINI}_SECTION_ALIGN.
2723         (__do_global_dtors_aux): Mark used.
2724         (frame_dummy, __do_global_ctors_aux): Mark used.
2725         (fini_dummy, init_dummy): Remove.
2727         * config/alpha/crtbegin.asm: Remove file.
2728         * config/alpha/crtend.asm: Remove file.
2729         * config/alpha/t-crtbe: Remove file.
2730         * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
2731         (LINK_EH_SPEC): New.
2733         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
2734         FORCE_INIT_SECTION_ALIGN hack.  Register __fini_start before
2735         calling constructors.
2736         * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
2738         * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
2739         * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
2740         CRT_END_INIT_DUMMY hack.
2741         * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
2742         FORCE_{INIT,FINI}_SECTION_ALIGN.
2744         * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
2745         FORCE_{INIT,FINI}_SECTION_ALIGN.
2747         * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
2748         invocation sequence.
2749         * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
2751         * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
2752         (FORCE_CODE_SECTION_ALIGN): New.
2754 2002-01-26  Richard Henderson  <rth@redhat.com>
2756         * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
2758 2002-01-26  Richard Henderson  <rth@redhat.com>
2760         * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
2761         (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
2763 2002-01-26  Kazu Hirata  <kazu@hxi.com>
2765         * config/h8300/h8300.md: Remove bit extraction patterns that
2766         cannot be triggered.
2767         Restrict each bit extraction pattern to a variant on which the
2768         pattern is tested.
2770 2002-01-26  Joseph S. Myers  <jsm28@cam.ac.uk>
2772         * doc/include/texinfo.tex: Update to version 2002-01-04.07.
2774 2002-01-26  Kazu Hirata  <kazu@hxi.com>
2776         * config/h8300/h8300.md: Remove bit test patterns that cannot
2777         be triggered.
2778         Restrict each bit test pattern to a variant on which the
2779         pattern is tested.
2781 2002-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2783         * builtins.c (expand_builtin_strncat): Remove redundant check for
2784         INTEGER_CST.
2786 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
2788         * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
2789         default setting.
2790         * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
2791         existing setting.
2793 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
2795         * dbxout.c (dbxout_init): Use assemble_name rather than just
2796         stripping off the first character.
2797         (dbxout_source_file): Likewise.
2799 2002-01-25  DJ Delorie  <dj@redhat.com>
2801         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
2802         using rtx_equal_p, not by comparing pointers.
2804 2002-01-25  Steve Ellcey  <sje@cup.hp.com>
2806         * emit-rtl.c (gen_rtx_REG): Always return the same rtx
2807         for PIC_OFFSET_TABLE_REGNUM.
2808         (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
2810 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
2812         * config.gcc (x86_64-*-freebsd*): New target.
2813         (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
2814         value.
2815         (i[34567]86-*-freebsd*): Don't include svr4.h.
2816         * config/i386/freebsd64.h: New file.
2818 2002-01-25  Douglas B Rupp  <rupp@gnat.com>
2820         * config/alpha/x-vms (version): Make static.
2822         * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
2823         in previous checkin.
2825         * Makefile.in (install-headers-cp): New target.
2826         * config.gcc (alpha-dec-*vms*): Install headers with
2827         install-headers-cp
2829 Fri Jan 25 22:42:49 CET 2002  Jan Hubicka  <jh@suse.cz>
2831         * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
2832         avoid it's copies.
2834 Fri Jan 25 08:26:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2836         * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
2837         of compare_tree_int.
2838         (expand_builtin_strncat): Likewise.
2839         * c-decl.c (finish_struct): Use tree_low_cst.
2840         * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
2841         * tree.c (compare_tree_int): Likewise.
2843 2002-01-25  Ulrich Weigand  <uweigand@de.ibm.com>
2845         * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
2846         adjustments even if they are implemented by more than two insns.
2848 Fri Jan 25 20:43:56 CET 2002  Jan Hubicka  <jh@suse.cz>
2850         * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
2851         * df.h (struct ref): Kill B.
2852         (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
2854         * basic-block.h (PROP_EQUAL_NOTES): New flag.
2855         * flow.c (propagate_one_insn): Use it.
2856         (mark_used_regs): Handle NIL.
2858 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
2860         * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
2861         to help folding.
2863 2002-01-25  David Edelsohn  <edelsohn@gnu.org>
2865         * rs6000.md (prefetch): Make address V4SI mode so that the address
2866         is restricted to legitimate form for instruction.
2868 2002-01-25  Bob Wilson  <bob.wilson@acm.org>
2870         * doc/install.texi (xtensa-*-elf): New target.
2871         (xtensa-*-linux*): New target.
2872         * doc/contrib.texi: Add myself.
2874 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
2876         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
2877         purpose register to hold an SImode (or smaller) value.
2879 2002-01-25  Jakub Jelinek  <jakub@redhat.com>
2881         * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
2882         registry only.
2883         * crtstuff.c: Likewise.
2885 2002-01-25  Kazu Hirata  <kazu@hxi.com>
2887         * config/h8300/h8300.md (negation patterns): Tighten
2888         predicates to register_operand.
2890 2002-01-24  Aldy Hernandez  <aldyh@redhat.com>
2892         * loop.c (emit_prefetch_instructions): Use the prefetch insn's
2893         mode, not Pmode.
2895         * builtins.c (expand_builtin_prefetch): Same.
2897 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
2899         * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
2900         modes.
2902 2002-01-24  Kazu Hirata  <kazu@hxi.com>
2904         * config/h8300/h8300.c (print_operand): Remove support for
2905         operand character 'A'.
2906         * config/h8300/h8300.md (three anonymous patterns): Replace
2907         operand character 'A' with either 'T' or 'S'.
2909 2002-01-24  Kazu Hirata  <kazu@hxi.com>
2911         * config/h8300/h8300.c (print_operand): Remove support for
2912         operand character 'U'.
2914 2002-01-24  Andris Pavenis  <pavenis@latnet.lv>
2916         * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
2918 2002-01-24  Nick Clifton  <nickc@cambridge.redhat.com>
2920         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
2921         values to be assigned to the stack pointer.
2923 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
2925         * emit_rtl.c (gen_lowpart_common): Conversion from const_int
2926         to const_double needs to be done right for big-endian systems.
2928 2002-01-24  Jason Merrill  <jason@redhat.com>
2930         PR c++/2432
2931         * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
2932         to can_throw_internal.
2934 2002-01-23  Richard Henderson  <rth@redhat.com>
2936         * fold-const.c (fold): Change UINT_MAX test to check vs precision
2937         rather than TYPE_MAX_VALUE.  Fix indentation and a bogus negation.
2939 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
2941         * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
2942         (symGOT2reg): Use them, then set as GOT value as unchanging.
2943         (symGOTOFF2reg): Set REG_EQUAL note.  Use a different pseudo
2944         as a temporary, if possible.
2945         (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC.  Emit
2946         sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
2948 2002-01-23  Kazu Hirata  <kazu@hxi.com>
2950         * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
2951         accept to accept 0x80 as operands[2].
2953 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
2955         * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
2957 2002-01-23  Richard Henderson  <rth@redhat.com>
2959         * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
2961 2002-01-23  Aldy Hernandez  <aldyh@redhat.com>
2963         * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
2964         (parmlist_or_identifiers_1): Verify that only a parmlist follows
2965         an attribute.
2967 2002-01-23  Richard Henderson  <rth@redhat.com>
2969         * expr.c (move_by_pieces_1): Extend size before negation.
2971         * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
2972         (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
2973         (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
2974         * config/m68k/t-m68kelf: Likewise.
2976 2002-01-23  Bob Wilson  <bob.wilson@acm.org>
2978         * config/xtensa/elf.h: New file.
2979         * config/xtensa/lib1funcs.asm: New file.
2980         * config/xtensa/lib2funcs.S: New file.
2981         * config/xtensa/linux.h: New file.
2982         * config/xtensa/t-xtensa: New file.
2983         * config/xtensa/xtensa-config.h: New file.
2984         * config/xtensa/xtensa-protos.h: New file.
2985         * config/xtensa/xtensa.c: New file.
2986         * config/xtensa/xtensa.h: New file.
2987         * config/xtensa/xtensa.md: New file.
2988         * config.gcc (xtensa-*-elf*): New target.
2989         (xtensa-*-linux*): New target.
2990         * cse.c (canon_hash): Compare rtx pointers instead of register
2991         numbers.  This is required for the Xtensa port.
2992         * integrate.c (copy_insn_list): Handle case where the static
2993         chain is in memory and the memory address has to be copied to
2994         a register.
2995         * doc/invoke.texi (Option Summary): Add Xtensa options.
2996         (Xtensa Options): New node.
2997         * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
2999 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
3001         * diagnostic.c (internal_error): Do ICE suppression only
3002         when ENABLE_CHECKING is not defined.
3004         * c-typeck.c (require_complete_type): Return error_mark_node
3005         if type is error_mark_node.
3007 2002-01-23  Janis Johnson  <janis187@us.ibm.com>
3009         * toplev.c (process_options): Disable -fprefetch-loop-arrays with
3010         -Os and issue a warning.
3012 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
3014         * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
3015         current (lack of) need for host configuration by hand.
3017         * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
3018         references.  Documentation of some target macros moved from
3019         hostconfig.texi to tm.texi.
3021 2002-01-23  Will Cohen  <wcohen@redhat.com>
3023         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
3024         defined.
3026 2002-01-23  Kazu Hirata  <kazu@hxi.com>
3028         * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
3029         operand[3].
3031 2002-01-23  Jason Merrill  <jason@redhat.com>
3033         * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
3035         * function.c (assign_parms): Don't put args of inline functions
3036         into registers when not optimizing.
3038 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
3040         * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
3041         (prologue_use): New pattern.
3042         * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
3043         preference to gen_rtx_USE.
3044         (thumb_expand_prologue): Use gen_prologue_use in preference to
3045         gen_rtx_USE.
3046         (thumb_expand_epilogue): Use gen_prologue_use in preference to
3047         gen_rtx_USE.
3049 2002-01-23  Hans-Peter Nilsson  <hp@bitrange.com>
3051         * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
3053 2002-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
3055         PR c/3504
3056         * doc/extend.texi: Correct documentation of __alignof__.
3058 2002-01-22  Zack Weinberg  <zack@codesourcery.com>
3060         * params.h: Rename arguments of DEFPARAM so that it will be
3061         recognized as a translation keyword.
3063 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
3065         * extend.texi: Document altivec functions.
3066         Fix N-bit adjectives in X86 builtin documentation.
3068 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
3070         * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
3071         auto_inc_dec values.
3073 2002-01-22  Richard Earnshaw  <rearnsha@arm.com>
3075         * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
3076         after backslash.
3077         (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
3079 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
3081         * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
3083 2002-01-22  Richard Henderson  <rth@redhat.com>
3085         * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
3086         copy_insn not copy_rtx.
3088 2002-01-23  Alan Modra  <amodra@bigpond.net.au>
3090         * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
3091         "nonzero" as that might add "1" bits.  Ensure "constop" is
3092         properly sign extened.
3093         (force_to_mode): Tweak for sign extended constop.
3095 2002-01-22  Richard Henderson  <rth@redhat.com>
3097         * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
3098         for_each_rtx instead of assuming we're already looking at the MEM.
3099         (split_small_symbolic_mem_operand): Likewise.
3100         * config/alpha/alpha.h (PREDICATE_CODES): Update.
3101         * config/alpha/alpha.md (small symbolic memory splitters): Update.
3103 2002-01-22  Richard Henderson  <rth@redhat.com>
3105         * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
3106         sequence number for the literal.
3107         (divmoddi_internal_er): Likewise.
3109 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3111         PR java/4972
3112         * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
3113         in LIBICONV variable.
3114         * configure: Regenerated.
3116 2002-01-22  Krister Walfridsson  <cato@df.lth.se>
3118         * dependence.c (build_def_use): Remove array_idx.
3120         * dwarfout.c (last_filename): Remove.
3121         (output_compile_unit_die): Remove last_filename.
3123 2002-01-22  Roger Sayle  <roger@eyesopen.com>
3124             Richard Henderson  <rth@redhat.com>
3126         PR opt/3640
3127         * fold-const.c (fold): Optimize unsigned comparisons against
3128         UINT_MAX (and similar unsigned constants).
3130 2002-01-22  Janis Johnson  <janis187@us.ibm.com>
3132         * Makefile.in (loop.o): Depend on OPTABS_H.
3133         * loop.c (emit_prefetch_instructions): Check the prefetch operand
3134         against the predicate.
3136         PR target/5379
3137         * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
3138         for the address operand.
3140 2002-01-22  Richard Henderson  <rth@redhat.com>
3142         * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
3144 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3146         PR other/5450
3147         * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
3148         preprocessor flags.
3150 2002-01-22  Jason Thorpe  <thorpej@wasabisystems.com>
3152         * config.gcc (x86_64-*-netbsd*): New target.
3153         * config/i386/netbsd64.h: New file.
3155 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
3157         * regrename.c (kill_value): Fix typo.
3159 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
3161         * doc/tm.texi: Remove STARTING_FRAME_PHASE.
3163         * config/rs6000/rs6000.h: Same.
3165         * function.c (instantiate_virtual_regs): Remove
3166         STARTING_FRAME_PHASE.
3167         (assign_stack_local_1): Same.
3168         Calculate frame phase.
3170 2002-01-22  Nick Clifton  <nickc@redhat.com>
3172         * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
3173         variable declaration to outer scope in order to simplify
3174         future extensions.
3175         (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
3176         arm_hard_regno_mode_ok.
3177         * config/arm/arm-protos.h: Add a prototype for
3178         arm_hard_regno_mode_ok.
3179         * config/arm/arm.c (soft_df_operand): Remove now redundant
3180         check for DImode values using IP_REGNUM.
3181         (nonimmediate_soft_df_operand): Remove now redundant check for
3182         DImode values using IP_REGNUM.
3183         (arm_hard_regno_mode_ok): New function. New check: make sure
3184         that DImode values are not stored in IP_REGNUM.
3186         * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
3187         note with a USE.
3188         (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
3190 2002-01-22  Jason Merrill  <jason@redhat.com>
3192         * c-semantics.c (genrtl_compound_stmt): Only check nesting
3193         consistency if this COMPOUND_STMT is scoped.
3195 2002-01-22  Kazu Hirata  <kazu@hxi.com>
3197         * predict.c: Fix formatting.
3198         * print-tree.c: Likewise.
3199         * protoize.c: Likewise.
3200         * real.h: Likewise.
3201         * rtl.h: Likewise.
3202         * sbitmap.h: Likewise.
3203         * scan.c: Likewise.
3204         * sched-deps.c: Likewise.
3205         * sched-vis.c: Likewise.
3206         * sdbout.c: Likewise.
3207         * sibcall.c: Likewise.
3208         * ssa.c: Likewise.
3209         * ssa-ccp.c: Likewise.
3210         * ssa-dce.c: Likewise.
3211         * stmt.c: Likewise.
3212         * stor-layout.c: Likewise.
3213         * system.h: Likewise.
3215 Tue Jan 22 06:26:33 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3217         * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
3218         if fits in bounds of base type.
3220         * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
3221         (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
3222         (add_bound_info, default): If can't find a context, make a
3223         SAVE_EXPR.
3224         (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
3226 2002-01-22  Hans-Peter Nilsson  <hp@axis.com>
3228         * c-typeck.c (parser_build_binary_op): If result from
3229         build_binary_op is ERROR_MARK just return error_mark_node without
3230         further processing.
3232 2002-01-21  Jason Thorpe  <thorpej@wasabisystems.com>
3234         * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
3235         Split a.out-specific bits into...
3236         * config/netbsd-aout.h: ...this.
3237         * config/netbsd-elf.h: New file.
3238         * config/alpha/netbsd-elf.h: Remove.
3239         * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
3240         * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
3241         (STARTFILE_SPEC): Remove redundant definition.
3242         (ENDFILE_SPEC): Likewise.
3243         (LINK_SPEC): Likewise.
3244         (CPP_SPEC): Likewise.
3245         (ASM_SPEC): Likewise.
3246         (LIB_SPEC): Likewise.
3247         (SWITCH_TAKES_ARG): Likewise.
3248         (TARGET_MEM_FUNCTIONS): Likewise.
3249         (CPP_PREDEFINES): Redefine.
3250         (ASM_FINAL_SPEC): Remove redefinition.
3251         (ASM_COMMENT_START): Redefine.
3252         (FUNCTION_PROFILER): Define.
3253         (TARGET_VERSION): Redefine.
3254         Comment and formatting cleanup.
3255         * config/i386/netbsd.h: Include <netbsd-aout.h>.
3256         * config/m68k/netbsd.h: Include <netbsd-aout.h>.
3257         * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
3258         big- or little-endian.
3259         * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
3260         * config.gcc (*-*-netbsd*): Add definitions common to all
3261         NetBSD configs.
3262         (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
3263         gnu_ld definitions.  Add netbsd-elf.h to and remove
3264         alpha/netbsd-elf.h from tm_file.  Remove alpha/t-crtfm from
3265         tmake_file, and don't lose previous tmake_file contents.
3266         (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
3267         (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
3268         gnu_ld definitions.  Add netbsd-elf.h to tm_file.
3269         (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
3270         (mipsel-*-netbsd*): Rename this to...
3271         (mips*-*-netbsd*): ...this.  Add elfos.h to tm_file.  Add
3272         mips/little.h to tm_file for mips*el-*.
3273         (powerpc-*-netbsd*): Remove redundant xm_defines definition.
3274         (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
3275         (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
3277 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3279         * pa-protos.h (reg_before_reload_operand): New function prototype.
3280         * pa.c (reg_before_reload_operand): New function implementation.
3281         * pa.md (decrement_and_branch_until_zero, movb): Use it.  Change "!*m"
3282         contraints to "*m".
3284 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3286         * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
3288 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3290         * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
3291         (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
3292         (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
3293         (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
3294         (ENDFILE_SPEC): Undefine.
3295         (STARTFILE_SPEC): Redefine for PA.
3297 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3299         * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
3301 2002-01-21  Daniel Jacobowitz  <drow@mvista.com>
3303         * config.gcc: Add entries to supported PowerPC --with-cpu
3304         types.
3306 2002-01-21  Jakub Jelinek  <jakub@redhat.com>
3308         * config/i386/i386.c (ix86_function_arg_regno_p): Never return
3309         true for 64-bit mode only SSE registers in 32-bit mode.
3311 2002-01-21  Kazu Hirata  <kazu@hxi.com>
3313         * unwind-dw2.c: Fix formatting.
3314         * unwind-dw2-fde.c: Likewise.
3315         * unwind-dw2-fde.h: Likewise.
3316         * unwind-pe.h: Likewise.
3317         * varasm.c: Likewise.
3318         * varray.h: Likewise.
3320 2002-01-21  Hans-Peter Nilsson  <hp@bitrange.com>
3322         Remove workaround for register stack overwrite bug in mmix.
3323         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
3324         support for TARGET_REG_STACK_FILL_BUG.
3325         * config/mmix/mmix.h: Remove member has_call_without_parameters.
3326         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
3327         Delete.
3328         (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
3329         (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
3330         -mno-reg-stack-fill-bug-workaround.
3331         * config/mmix/mmix.md ("call", "call_value"): Don't set struct
3332         machine member has_call_without_parameters.
3333         * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
3334         -mreg-stack-fill-bug-workaround and
3335         -mno-reg-stack-fill-bug-workaround.
3336         (MMIX Options): Ditto.
3338 2002-01-21  Kazu Hirata  <kazu@hxi.com>
3340         * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
3341         as appropriate.
3342         Remove redundant code.
3344 2002-01-21  Joseph S. Myers  <jsm28@cam.ac.uk>
3346         * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
3347         config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
3348         config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
3349         config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
3350         config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
3351         out target macro definitions and non-target-specific comments
3352         mostly taken from old versions of the manual.
3354 2002-01-20  Kazu Hirata  <kazu@hxi.com>
3356         * config/h8300/h8300.h: Fix comment formatting.
3357         * config/ia64/aix.h: Likewise.
3358         * config/ia64/ia64-protos.h: Likewise.
3359         * config/ia64/ia64.c: Likewise.
3360         * config/ia64/ia64.h: Likewise.
3361         * config/ia64/ia64intrin.h: Likewise.
3362         * config/ia64/linux.h: Likewise.
3363         * config/ia64/unwind-aix.c: Likewise.
3364         * config/ia64/unwind-ia64.c: Likewise.
3366 2002-01-20  Kazu Hirata  <kazu@hxi.com>
3368         * config/h8300/h8300.c: Revise comments about shift code.
3370 2002-01-20  Kazu Hirata  <kazu@hxi.com>
3372         * config/h8300/h8300.c (function_arg): Update a comment.
3374 2002-01-20  Kazu Hirata  <kazu@hxi.com>
3376         * config/h8300/h8300.md: Update the comments at the beginning
3377         of the file.
3379 2002-01-20  Kazu Hirata  <kazu@hxi.com>
3381         * config/i370/i370.c: Fix comment formatting.
3382         * config/i370/i370.h: Likewise.
3383         * config/i370/i370.md: Likewise.
3384         * config/i370/linux.h: Likewise.
3386 Sun Jan 20 18:40:14 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3388         * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
3390         * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
3391         (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
3392         in incomplete case.
3394 2002-01-20  Graham Stott  <grahams@redhat.com>
3396         * cfgloop.c (flow_loop_preheader_scan): Fix typo.
3398 2002-01-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3400         * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
3402 2002-01-19  Tom Rix  <trix@redhat.com>
3404         * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
3406 2002-01-18  Aldy Hernandez  <aldyh@redhat.com>
3408         * doc/tm.texi (STARTING_FRAME_PHASE): Document.
3410         * function.c (assign_stack_local_1): Adjust x_frame_offset with
3411         STARTING_FRAME_PHASE.
3412         (STARTING_FRAME_PHASE): New.
3413         (instantiate_virtual_regs): Check saneness of
3414         STARTING_FRAME_PHASE.
3416         * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
3418 2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
3420         * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
3422 2002-01-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3424         * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
3425         be used for bootstrapping GCC 3.0.
3427 2002-01-18  Kazu Hirata  <kazu@hxi.com>
3429         * config/h8300/h8300.md: Fix an insn length.
3431 2002-01-18  Kazu Hirata  <kazu@hxi.com>
3433         * bitmap.h: Fix comment formatting.
3434         * combine.c: Likewise.
3435         * cppfiles.c: Likewise.
3436         * c-pragma.h: Likewise.
3437         * c-typeck.c: Likewise.
3438         * df.c: Likewise.
3439         * dwarf2out.c: Likewise.
3440         * function.c: Likewise.
3441         * gcc.c: Likewise.
3442         * genattrtab.c: Likewise.
3443         * gthr-win32.h: Likewise.
3444         * haifa-sched.c: Likewise.
3445         * predict.c: Likewise.
3446         * rtlanal.c: Likewise.
3447         * rtl.h: Likewise.
3448         * unwind-dw2-fde.h: Likewise.
3449         * unwind-pe.h: Likewise.
3450         * vmsdbgout.c: Likewise.
3452 Thu Jan 17 15:28:26 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3454         * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
3455         if type_required and passed decl.
3457 2002-01-17  Aldy Hernandez  <aldyh@redhat.com>
3459         * config.gcc (cpu_type): Include altivec.h in powerpc
3460         extra_headers.
3461         Same for darwin.
3463         * config/rs6000/altivec.h: New.
3465 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
3467         * doc/install.texi (*-ibm-aix*): Update assembler and exception
3468         handling information.
3469         * doc/trouble.texi (Interoperation): Add libstdc++ information
3470         for AIX.
3471         (Misunderstandings): Add template instantiation and static template
3472         member information for AIX.
3474 2002-01-17  Jason Merrill  <jason@redhat.com>
3476         * dbxout.c (dbxout_type): Support const and volatile.
3478         * except.c (add_partial_entry): Remove backwards compatibility code.
3479         (end_protect_partials): Likewise.
3481 2002-01-17  Jakub Jelinek  <jakub@redhat.com>
3483         * config/ia64/ia64.md (prologue_use): New.
3484         * config/ia64/ia64.c (ia64_expand_prologue): Use
3485         gen_prologue_use instead of gen_rtx_USE.
3486         (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
3487         as CODE_FOR_pred_rel_mutex.
3488         (ia64_sched_reorder2): Likewise.
3490 2002-01-16  Eric Christopher  <echristo@redhat.com>
3492         * config/mips/r3900.h: Reformat.
3493         (SUBTARGET_CPP_SIZE_SPEC): Remove.
3494         * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
3495         * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
3496         (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
3497         * config/mips/t-elf: Remove mips3 multilib.
3499 2002-01-16  H.J. Lu <hjl@gnu.org>
3501         * config/mips/linux.h: Include "mips/abi64.h".
3503 2002-01-16  H.J. Lu <hjl@gnu.org>
3505         * config/mips/t-linux: New.
3507         * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
3509         * config/mips/linux.h: Don't include "gofast.h".
3510         (INIT_SUBTARGET_OPTABS): Removed.
3512 2002-01-16  Kazu Hirata  <kazu@hxi.com>
3514         * config/h8300/h8300-protos.h: Replace emit_a_shift with
3515         output_a_shift.
3516         * config/h8300/h8300.c: Likewise.
3517         * config/h8300/h8300.md: Likewise.
3519 2002-01-16  Kazu Hirata  <kazu@hxi.com>
3521         * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
3522         spaces after an opcode name.
3523         (pushqi1_h8300hs): Likewise.
3524         (pushhi1_h8300hs): Likewise.
3526 2002-01-16  Kazu Hirata  <kazu@hxi.com>
3528         * doc/extend.texi: Replace "option" with "attribute"
3529         appropriately.
3531 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
3533         * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
3534         (and:DI () (const_int -8)).
3535         (split_small_symbolic_mem_operand): Split
3536         (mem (and:DI () (const_int -8)).
3538 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
3540         PR target/5309:
3541         * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
3542         same way as TYPE_IMUL.
3543         (ultrasparc_sched_reorder): Likewise.
3544         * config/sparc/sparc.md (type): Add comment to update
3545         ultrasparc_sched_reorder when making changes.
3547 2002-01-16  Kazu Hirata  <kazu@hxi.com>
3549         * doc/invoke.texi: Change the dump file name of block
3550         reordering pass from 28.bbro to 29.bbro.
3551         Mention -dk option.
3553 Wed Jan 16 17:54:22 CET 2002  Jan Hubicka  <jh@suse.cz>
3555         * i386.md (minsf splitter): Fix pasto.
3557 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
3559         * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
3560         to frame pointer initialisation instruction.
3561         (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
3562         initialisation instruction.
3563         (soft_df_operand): Do not accept the IP register.
3564         (nonimmediate_soft_df_operand): Do not accept the IP register.
3566 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
3568         PR target/5357:
3569         * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
3570         MASK_V8 being both set.
3572 2002-01-16  Ulrich Weigand  <uweigand@de.ibm.com>
3574         * config/s390/s390.c (s390_emit_prologue): Do not emit USE
3575         insn for GOT register; add REG_MAYBE_DEAD notes instead.
3576         config/s390/s390.md (call, call_value): Add GOT register to
3577         CALL_INSN_FUNCTION_USAGE where needed.
3578         (call_exp, call_value_exp): New.
3580 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
3582         * config/arm/arm.c: General formatting tidy up.
3584 2002-01-16  Graham Stott  <grahams@redhat.com>
3586         * calls.c (try_to_integrate): Use "(size_t)" intermediate
3587         cast and when casting an integer literal to "rtx" pointer.
3588         (expand_call): Likewise.
3589         * flow.c (try_pre_increment): Likewise.
3590         (find_use_as_address): Likewise.
3591         * integrate.c (expand_iline_function): Likewise.
3592         * regmove.c (try_auto_increment): Likewise.
3594 2002-01-16  Graham Stott  <grahams@redhat.com>
3596         * sched-rgn.c (passed): Use sbitmap_free.
3597         (header): Likewise.
3598         (inner): Likewise.
3599         (in_queue): Likewise.
3600         (in_stack): Likewise.
3602 2002-01-15  Eric Christopher  <echristo@redhat.com>
3604         * flow.c (propagate_one_insn): Change to use fatal_insn.
3606 2002-01-15  Kazu Hirata  <kazu@hxi.com>
3608         * expmed.c (extract_fixed_bit_field): Remove unused code.
3609         * system.h: Poison SLOW_ZERO_EXTEND.
3610         * doc/tm.texi: Remove.
3611         * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
3612         * config/arm/arm.h: Likewise.
3613         * config/avr/avr.h: Likewise.
3614         * config/clipper/clipper.h: Likewise.
3615         * config/convex/convex.h: Likewise.
3616         * config/d30v/d30v.h: Likewise.
3617         * config/dsp16xx/dsp16xx.h: Likewise.
3618         * config/elxsi/elxsi.h: Likewise.
3619         * config/fr30/fr30.h: Likewise.
3620         * config/h8300/h8300.h: Likewise.
3621         * config/i370/i370.h: Likewise.
3622         * config/i386/i386.h: Likewise.
3623         * config/m68k/m68k.h: Likewise.
3624         * config/mips/mips.h: Likewise.
3625         * config/ns32k/ns32k.h: Likewise.
3626         * config/pdp11/pdp11.h: Likewise.
3627         * config/pj/pj.h: Likewise.
3628         * config/s390/s390.h: Likewise.
3629         * config/sh/sh.h: Likewise.
3630         * config/stormy16/stormy16.h: Likewise.
3631         * config/v850/v850.h: Likewise.
3632         * config/vax/vax.h: Likewise.
3633         * config/we32k/we32k.h: Likewise.
3635 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
3637         * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
3638         (altivec_lvsl): Change constraint to b.
3639         (altivec_lvsr): Same.
3640         (altivec_lvebx): Same.
3641         (altivec_lvehx): Same.
3642         (altivec_lvewx): Same.
3643         (altivec_lvxl): Same.
3644         (altivec_lvx): Same.
3645         (altivec_stvx): Add parallel.
3646         (altivec_stvxl): Same.
3647         (altivec_stvehx): Same.
3648         (altivec_stvebx): Same.
3649         (altivec_stvebx): Same.
3651 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
3653         * config.gcc: Change altivec.h to altivec-defs.h.
3655         * config/rs6000/altivec.h: Delete.
3657         * config/rs6000/altivec-defs.h: Add.
3659 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3661         * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
3662         and UMOD modes.
3664         * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
3665         less than or equal to eight bytes.
3667         * vax.md (andsi3): Remove constraints and change SET destination
3668         operand type to nonimmediate_operand.
3669         (andhi3, andqi3): Likewise.  Don't clear high order bits of operand 1
3670         when it is a CONST_INT.
3672 2002-01-15  Jason Merrill  <jason@redhat.com>
3674         * c-common.def (FILE_STMT): New code.
3675         * c-common.c (statement_code_p): It's a statement.
3676         * c-common.h (stmt_tree_s): Add x_last_filename.
3677         (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
3678         (last_expr_filename): New macro.
3679         * c-semantics.c (begin_stmt_tree): Initialize it.
3680         (add_stmt): If the filename changed, also insert a
3681         FILE_STMT.
3682         (expand_stmt): Handle seeing one.
3684 2002-01-15  Eric Christopher  <echristo@redhat.com>
3686         * flow.c (propagate_one_insn): Add error message and print out
3687         insn for debugging.
3689 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
3691         * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
3692         ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
3693         * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
3694         TRAMPOLINE_ALIGNMENT.
3695         * config/arm/arm.h, config/mcore/mcore.h: Likewise.  Change value
3696         to be in bits.
3697         * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
3698         PCC_BITFIELD_TYPE_MATTERS.
3699         * config/interix.h (STDC_VALUE): Remove.  Use
3700         STDC_0_IN_SYSTEM_HEADERS.
3701         * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
3702         (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
3703         ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
3705 2002-01-15  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3707         * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
3708         not work on this platform currently.
3710 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
3712         * c-typeck.c (build_unary_op): Don't wrap msgid argument of
3713         readonly_warning in _().
3715 2002-01-15  Douglas B Rupp  <rupp@gnat.com>
3717         * gcc.c (delete_if_ordinary): Backout previous change.
3719 2002-01-15  Kazu Hirata  <kazu@hxi.com>
3721         * config/h8300/h8300.c (print_operand): Remove support for
3722         unused operand characters.
3724         * read-rtl.c: Fix formatting.
3725         * real.c: Likewise.
3726         * recog.c: Likewise.
3727         * regclass.c: Likewise.
3728         * regmove.c: Likewise.
3729         * reg-stack.c: Likewise.
3730         * reload1.c: Likewise.
3731         * rtlanal.c: Likewise.
3733 2002-01-15  Kazu Hirata  <kazu@hxi.com>
3735         * config/i386/i386.c: Fix formatting.
3737 2002-01-15  Jakub Jelinek  <jakub@redhat.com>
3739         * c-typeck.c (process_init_element): Don't save_expr
3740         COMPOUND_LITERAL_EXPR if just its initializer will be used.
3742 2002-01-15  David Edelsohn  <edelsohn@gnu.org>
3744         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
3745         emit optional traceback table if optimize_size or TARGET_ELF.
3746         * config/rs6000/rs6000.md (prefetch): New.
3748 2002-01-15  Andreas Jaeger  <aj@suse.de>
3750         * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
3752 2002-01-15  Kazu Hirata  <kazu@hxi.com>
3754         * mips-tfile.c: Fix formatting.
3756 Tue Jan 15 00:56:11 CET 2002  Jan Hubicka  <jh@suse.cz>
3758         * unroll.c (final_reg_note_copy): Fix previous commit.
3760 2002-01-14  Kazu Hirata  <kazu@hxi.com>
3762         * config/h8300/h8300-protos.h: Remove the prototype for
3763         eq_operator.
3764         * config/h8300/h8300.c (eq_operator): Remove.
3766 2002-01-14  Richard Henderson  <rth@redhat.com>
3768         * config/i386/i386.md (prefetch): Tidy.
3769         (prefetch_3dnow): Fix locality operand.
3771 2002-01-14  Richard Henderson  <rth@redhat.com>
3773         * config/mips/mips.h (HI_AND_FP_REGS): New register class.
3774         (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
3776 2002-01-14  Hans-Peter Nilsson  <hp@bitrange.com>
3778         * reload1.c (reload_combine): Pass reg_sum replacement through
3779         copy_rtx in loop performing multiple changes.
3781 2002-01-14  Jakub Jelinek  <jakub@redhat.com>
3783         * except.c (remove_unreachable_regions): New.
3784         (free_eh_status): Clear exception_handler_labels.
3785         (convert_from_eh_region_ranges): Call remove_unreachable_regions.
3786         (find_exception_handler_labels): Don't add the same label more than
3787         once.
3788         (remove_exception_handler_label): Don't die if
3789         find_exception_handler_labels hasn't been called for the current
3790         function yet.
3792 Mon Jan 14 21:26:13 CET 2002  Jan Hubicka  <jh@suse.cz>
3794         * toplev.c (rest_of_compilation): Rebuild jump labels after
3795         gcse.
3797 2002-01-14  Joseph S. Myers  <jsm28@cam.ac.uk>
3799         * doc/extend.texi: Move documentation of X86 built-in functions
3800         here.
3801         * doc/invoke.texi: From here.
3802         * doc/sourcebuild.texi: Document location of documentation for
3803         machine built-in functions.
3805 2002-01-13  Christopher Faylor  <cgf@redhat.com>
3807         * cppfiles.c (TEST_THRESHOLD): New macro.
3808         (SHOULD_MMAP): Ditto.
3809         (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
3810         be used.
3812 Mon Jan 14 20:23:34 CET 2002  Jan Hubicka  <jh@suse.cz>
3814         * unroll.c (final_reg_note_copy): Properly handle
3815         REG_LABEL
3816         (unroll_loops): Fix LOOP_CONDITION heuristics.
3818 2002-01-14  Geoffrey Keating  <geoffk@redhat.com>
3820         * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
3821         * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
3823 Mon Jan 14 20:18:19 CET 2002  Jan Hubicka  <jh@suse.cz>
3825         * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
3826         threaded loop.
3828 2002-01-14  Tom Rix  <trix@redhat.com>
3830         * config/rs6000/rs6000.md: Fix typo with sradi.
3832 2002-01-14  Ulrich Weigand  <uweigand@de.ibm.com>
3834         * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
3835         movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
3836         (clrstrdi, clrstrsi): Adapt callers.
3838         (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
3840         (movti splitter): Never use register 0 as base register.
3842 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
3844         * combine.c (simplify_shift_const): Always generate new rtx
3845         for shift expression instead of reusing given expression.
3847 Mon Jan 14 07:08:55 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3849         * config/alpha/alpha.c (alpha_expand_mov): Don't call
3850         alpha_legitimize_address unless mode is Pmode.
3852 2002-01-13  Geoffrey Keating  <geoffk@redhat.com>
3854         * doc/md.texi (Modifiers): Document the '*' constraint for the
3855         user.
3857         * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
3858         * doc/extend.texi (Function Attributes): 'interrupt' is valid
3859         for xstormy16 too.
3861 2002-01-13  Richard Henderson  <rth@redhat.com>
3863         * reload.c (find_reloads): Use a hard reg destination as reload reg
3864         for an input reload of the source.
3866 2002-01-13  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3868         * doc/install.texi (Binaries): Make link to ftp.writtenword.com
3869         more generic.
3871 Sun Jan 13 07:23:01 2002  Douglas B Rupp  <rupp@gnat.com>
3873         * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
3874         * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
3876         * config/alpha/x-vms (USE_COLLECT2): Set to empty.
3878 Sun Jan 13 06:55:31 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3880         * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
3882 2002-01-12  Tom Rix  <trix@redhat.com>
3884         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
3885         TARGET_POWERPC64.
3887 2002-01-12  Richard Henderson  <rth@redhat.com>
3889         * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
3891         * doc/invoke.texi: Update Alpha options.
3893         * doc/invoke.texi: Update i386 built-in function lists.
3895 Sat Jan 12 17:38:11 CET 2002  Jan Hubicka  <jh@suse.cz>
3897         * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
3898         referencing outside.
3900 Sat Jan 12 08:54:51 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3902         * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
3903         * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
3904         offsets, and change line folding.
3905         * optabs.c (expand_binop): Remove warnings.
3906         * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
3908 2002-01-12  Graham Stott <grahams@redhat.com>
3910         * attribs.c (handle_deprecated_attribute): constify WHAT.
3911         * diagnostic.c (warn_deprecated_use): Add braces, fixes
3912         dangling else warning and constify WHAT.
3913         * except.h (struct function, struct inline_remap): Move
3914         struct tag forward defs before all prototypes.
3915         (duplicate_eh_regions): Whitespace.
3917 2002-01-12  Nick Clifton  <nickc@cambridge.redhat.com>
3919         * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
3920         MODE_BASE_REG_CLASS.
3921         (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
3923 2002-01-12  Richard Henderson  <rth@redhat.com>
3925         * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
3926         (ix86_expand_vector_move): New.
3927         (bdesc_2arg): Remove andps, andnps, orps, xorps.
3928         (ix86_init_mmx_sse_builtins): Make static.  Remove composite builtins.
3929         Remove old prefetch builtins.  Special case the logicals removed above.
3930         (ix86_expand_builtin): Likewise.
3931         (safe_vector_operand): Use V4SFmode, not TImode.
3932         (ix86_expand_store_builtin): Remove shuffle arg.  Update callers.
3933         (ix86_expand_timode_binop_builtin): New.
3934         * config/i386/i386-protos.h: Update.
3935         * config/i386/i386.h (enum ix86_builtins): Update.
3936         * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
3937         Use ix86_expand_vector_move in vector move expanders.
3938         (movti_internal, movti_rex64): Add xorps alternative.
3939         (sse_clrv4sf): Rename and adjust from sse_clrti.
3940         (prefetch): Don't work so hard.
3941         (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
3942         * config/i386/xmmintrin.h (__m128): Use V4SFmode.
3943         (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
3945 2002-01-11  Richard Henderson  <rth@redhat.com>
3947         * config/i386/mmintrin.h: New file.
3948         * config/i386/xmmintrin.h: New file.
3949         * config.gcc (i?86-*-*): Add extra_headers.
3950         * simplify-rtx.c (simplify_unary_operation): Handle saturating
3951         truncation codes.
3952         (simplify_binary_operation): Handle saturating arithmetic codes.
3953         * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
3954         not the lowpart subreg.
3955         (ix86_expand_builtin): Return a TImode dummy register instead of 0
3956         on error.
3957         * config/i386/i386.md (mmx_clrdi): Override memory attribute.
3959 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3961         * conflict.c (conflict_graph_compute): Free regsets when finished.
3962         * ssa.c (compute_coalesced_reg_partition): Likewise.
3964 2002-01-12  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3966         * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
3967         every where we allocate a register.
3969 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3971         * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
3972         * lcm.c (compute_earliest, compute_farthest): Likewise.
3974 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
3976         * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
3978 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
3980         * doc/rtl.texi (Insns): Fix 2 typos.
3982 2002-01-11  Joseph S. Myers  <jsm28@cam.ac.uk>
3984         * doc/invoke.texi: Avoid overfull hboxes.  Add summary of D30V
3985         options.  Use @table @gcctabopt for MMIX options.  Add index
3986         entries for MMIX options.  Start new paragraph with first
3987         heading of the machine-dependent options.
3989 2002-01-11  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3991         PR other/5299
3992         * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
3993         * combine.c (force_to_mode): Same.
3994         * reload1.c (clear_reload_reg_in_use): Same.
3996 2002-01-11  Nick Clifton  <nickc@cambridge.redhat.com>
3998         * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
3999         and 'subtargets'.
4001 2002-01-11  Andreas Jaeger  <aj@suse.de>,
4002             Brad Lucier <lucier@math.purdue.edu>
4004         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
4005         mcpu.
4007 Fri Jan 11 07:35:12 2002  Douglas B Rupp  <rupp@gnat.com>
4009         * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
4010         Protect with IN_LIBGCC.
4011         (LINK_EH_SPEC): Add required trailing space.
4013 Fri Jan 11 09:25:05 2002  Nicola Pero  <n.pero@mi.flashnet.it>
4015         * c-tree.h: Move function declarations so that they are listed
4016         under the filename which contains them.
4017         (check_identifier, finish_decl_top_level,
4018         lookup_name_current_level_global, shadow_record_fields): Remove.
4020 2002-01-11  Andreas Jaeger  <aj@suse.de>
4022         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
4023         march.
4025 2002-01-10  Richard Henderson  <rth@redhat.com>
4027         * config/alpha/alpha.c (print_operand): Add 'J'.
4028         * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
4029         new operand with the sequence number for the lituse.  When splitting
4030         the insns, use gen_movdi_er_high_g and generate a sequence number.
4031         (gen_movdi_er_high_g): Print the sequence number if non-zero.
4033 2002-01-10  Aldy Hernandez  <aldyh@redhat.com>
4035         * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
4036         lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
4037         stvxl.
4038         (altivec_expand_builtin): Same.
4039         (altivec_expand_stv_builtin): New.
4041         * config/rs6000/rs6000.h (rs6000_builtins): Same.
4043         * config/rs6000/rs6000.md ("altivec_lvebx"): New.
4044         ("altivec_lvehx"): New.
4045         ("altivec_lvewx"): New.
4046         ("altivec_lvxl"): New.
4047         ("altivec_lvx"): New.
4048         ("altivec_stvx"): New.
4049         ("altivec_stvebx"): New.
4050         ("altivec_stvehx"): New.
4051         ("altivec_stvewx"): New.
4052         ("altivec_stvxl"): New.
4054 2002-01-10  Richard Henderson  <rth@redhat.com>
4056         * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
4057         * reload1.c (delete_output_reload): Zap spill_reg_store.  Take
4058         care not to delete instructions twice.
4060 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
4062         * toplev.c: Don't declare environ (it's not used anywhere).
4063         * configure.in: Don't check for declaration of environ.
4064         * config/i386/xm-mingw32.h: Don't #define environ.
4065         * config.in, configure: Regenerate.
4067 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
4069         * configure.in: Set stage1_cflags for powerpc-*-darwin*.
4070         * configure: Regenerate.
4072         * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
4073         DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
4074         * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
4075         alpha/xm-vms.h.
4076         * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
4077         LIMITS_H_TEST here, not in m68k/x-next.
4078         * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
4079         SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
4081         * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
4082         LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
4083         * config/alpha/x-vms: Don't set USE_COLLECT2.  Add comments.
4085         * config/i386/x-djgpp: Renamed i386/t-djgpp.
4086         * config/m88k/x-dolph: Renamed m88k/t-dolph.
4087         * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
4088         * config/pa/x-pa-mpeix: Renamed pa/t-mpeix.  Update for
4089         replacement of quadlib.asm with quadlib.c.
4091         * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
4092         config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
4093         config/rs6000/xm-beos.h: Delete file.
4095         * config.gcc: Update to match above changes.
4097 2002-01-10  Kazu Hirata  <kazu@hxi.com>
4099         * config/h8300/h8300.h: Fix comment typos.
4100         * config/h8300/h8300.md: Likewise.
4101         * config/h8300/lib1funcs.asm: Likewise.
4103 2002-01-10  Dale Johannesen  <dalej@apple.com>
4105         PR optimization/5269
4106         * unroll.c (precondition_loop_p): Make *increment be the correct
4107         sign when n_iterations known, to avoid confusing caller.
4109 2002-01-10  Kazu Hirata  <kazu@hxi.com>
4111         * doc/extend.texi (deprecated): Fix a typo.
4113 Thu Jan 10 22:35:54 CET 2002  Jan Hubicka  <jh@suse.cz>
4115         * basic-block.h (update_br_prob_note): Declare.
4116         * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
4117         (try_forward_edges): Care negative frequencies and update note.
4118         (outgoing_edges_match): Tweek conditional merging heuristics.
4119         (try_crossjump_to_edge): use update_br_prob_note.
4120         * cfglayout.c (fixup_reorder_chain): Likewise.
4121         * cfrtl.c (update_br_prob_note): New.
4122         * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
4124         * i386.c (ix86_decompose_address): Return -1 if address contains
4125         shift.
4126         (legitimate_address_p): Require ix86_decompose_address to return 1.
4128         * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
4129         (cprop_insn): Likewise.
4131 2002-01-10  Kazu Hirata  <kazu@hxi.com>
4133         * toplev.c: Fix formatting.
4134         * tree.c: Likewise.
4135         * tree-dump.c: Likewise.
4136         * unroll.c: Likewise.
4137         * unwind-dw2.c: Likewise.
4138         * unwind-dw2-fde.c: Likewise.
4139         * unwind-dw2-fde-glibc.c: Likewise.
4140         * unwind-sjlj.c: Likewise.
4142 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
4144         * doc/invoke.texi: Document PDP-11 options.
4146 2002-01-10  Kazu Hirata  <kazu@hxi.com>
4148         * config/h8300/h8300.h: Fix formatting.
4150 2002-01-10  Ira Ruben   <ira@apple.com>
4152         Add __attribute__ ((deprecated)).
4153         * extend.texi: Document __attribute__ ((deprecated)).
4154         * invoke.texi: Document -Wno-deprecated-declarations.
4155         * testsuite/g++.dg/other/deprecated.C: New C++ test.
4156         * testsuite/gcc.dg/deprecated.c: New C test.
4157         * attribs.c (enum attrs): Declare handle_deprecated_attribute().
4158         (c_common_attribute_table): Add "deprecated" entry.
4159         (handle_deprecated_attribute): New function.
4160         * c-decl.c (deprecated_states): New enum.
4161         deprecated_state: State of "deprecated" handling.
4162         (start_decl): Set deprecated_state based on attributes.
4163         (grokdeclarator): Test for deprecated uses, propagate attribute.
4164         * c-typeck.c (build_component_ref): Test for deprecated fields.
4165         (build_external_ref): Test for deprecated primaries.
4166         * diagnostic.c (warn_deprecated_use) New function to issue
4167         warnings about __attribute__ ((depricated)) references.
4168         * flags.h (warn_deprecated_decl): Extern declared for
4169         -W[no-]deprecated-declarations option.
4170         * print-tree.c (print_node): Show deprecated flag status.
4171         * toplev.c (warn_deprecated_decl): Defined.
4172         (W_options): Added "deprecated-declaration".
4173         * toplev.h (warn_deprecated_use): Extern declared.
4174         * tree.h (struct tree_common): Define deprecated_flag.
4175         (TREE_DEPRECATED): New macro to access flag.
4176         * cp/call.c (build_call): Test for deprecated calls.
4177         * cp/class.c (add_implicitly_declared_members): Set global
4178         flag to tell grokdeclarator to not issue deprecated warnings.
4179         * cp/cp-tree.h: Add extern for adding_implicit_members.
4180         * cp/decl.c (deprecated_states): New enum.
4181         (start_decl): Set deprecated_state based on attributes.
4182         (grokdeclarator): Test for deprecated uses, propagate attribute.
4183         * cp/lex.c (do_identifier): Test for deprecated primaries.
4184         * cp/typeck.c (build_component_ref): Test for deprecated fields.
4186 2002-01-10  Ira Ruben   <ira@apple.com>
4188         Fix to assign attributes to inline member functions.
4189         * cp/decl.c (start_method): Handle attrlist.
4191 2002-01-10  Kazu Hirata  <kazu@hxi.com>
4193         * combine.c (expand_field_assignment): Use subreg_lsb().
4195 2002-01-10  David Edelsohn  <edelsohn@gnu.org>
4197         * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
4198         POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
4199         (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
4200         Recurse for any operand of AND as long as constant is non-zero.
4202 2002-01-10  Kazu Hirata  <kazu@hxi.com>
4204         * config/h8300/h8300.md: Remove constraints from expanders.
4206 2002-01-10  Kazu Hirata  <kazu@hxi.com>
4208         * varasm.c: Fix formatting.
4209         * varray.c: Likewise.
4210         * vmsdbgout.c: Likewise.
4211         * xcoffout.c: Likewise.
4213 Thu Jan 10 17:19:12 CET 2002  Jan Hubicka  <jh@suse.cz>
4215         * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
4216         update edge probabilities to match.
4218 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
4220         * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
4221         dependencies.
4222         * doc/languages.texi, doc/sourcebuild.texi: New files.
4223         * doc/configfiles.texi: Make a subsubsection.  Update.
4224         * doc/configterms.texi: Add @node.  Remove warning that this isn't
4225         instructions for building GCC.
4226         * doc/makefile.texi: Make a subsection.
4227         * doc/gccint.texi: Update.
4229 Thu Jan 10 16:39:58 CET 2002  Jan Hubicka  <jh@suse.cz>
4231         * i386.md (sse_mov?fcc_const0_?): Fix constraints.
4233 Thu Jan 10 12:45:50 2002  Nicola Pero  <n.pero@mi.flashnet.it>
4235         * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
4237 Thu Jan 10 11:19:18 CET 2002  Jan Hubicka  <jh@suse.cz>
4239         * optabs.c (expand_fix): Look for wider integer modes first.
4241         * i386.md (mov?f): Avoid the fake const double trick for medium
4242         memory model.
4243         (min?f*/max?f*): Prohibit memory operands for i387 variant.
4244         (fop_df_4): Disable for SSE compilation.
4246 2002-01-10  Graham Stott  <grahams@redhat.com>
4248         * dwarf2out.c (indirect_string_alloc, output_indirect_string):
4249         Move prototype into DWARF2_DEBUGGING_INFO conditional block.
4251 2002-01-10  Richard Henderson  <rth@redhat.com>
4253         * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
4255 2002-01-10  Richard Henderson  <rth@redhat.com>
4257         * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
4258         (copyprop_hardreg_forward_1): Likewise.  Use mode_change_ok.
4260 2002-01-10  Kazu Hirata  <kazu@hxi.com>
4262         * combine.c (can_combine_p): Fix a comment typo.
4264 2002-01-09  Zack Weinberg  <zack@codesourcery.com>
4266         * Makefile.in (s-gencheck, s-options, s-specs): Handle an
4267         empty list correctly.  Change loop index $t to $f for
4268         consistency with rest of Makefile.
4270 2002-01-08  Aldy Hernandez  <aldyh@redhat.com>
4272         * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
4273         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
4275         * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
4276         mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
4277         (altivec_init_builtins): Same.
4278         (altivec_expand_unop_builtin): Return NULL_RTX on error.
4279         (altivec_expand_binop_builtin): Same.
4280         (altivec_expand_ternop_builtin): Same.
4281         (bdesc_dst): New.
4283         * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
4284         ("altivec_vctuxs"): Fix typo.
4285         ("altivec_vnmsubfp"): Same.
4286         ("altivec_dssall"): New.
4287         ("altivec_mfvscr"): New.
4288         ("altivec_dss"): New.
4289         ("altivec_lvsl"): New.
4290         ("altivec_lvsr"): New.
4291         ("altivec_dstt"): New.
4292         ("altivec_dstst"): New.
4293         ("altivec_dststt"): New.
4294         ("altivec_dst"): New.
4296         * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
4297         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
4299 2002-01-09  Richard Henderson  <rth@redhat.com>
4301         * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
4303 2002-01-10  Hans-Peter Nilsson  <hp@bitrange.com>
4305         * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
4306         function.
4307         * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
4308         prototype.
4309         * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
4311 2002-01-09  Kazu Hirata  <kazu@hxi.com>
4313         * read-rtl.c: Fix formatting.
4314         * real.c: Likewise.
4315         * regclass.c: Likewise.
4316         * regrename.c: Likewise.
4317         * reg-stack.c: Likewise.
4318         * reload1.c: Likewise.
4319         * reload.c: Likewise.
4320         * rtl.c: Likewise.
4322 2002-01-09  Kazu Hirata  <kazu@hxi.com>
4324         * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
4325         to extract items in the expr_list chain.
4327 2002-01-09  Richard Henderson  <rth@redhat.com>
4329         * config/vax/vax.c (vax_rtx_cost): Never abort.
4331         * config/vax/vax.h (REAL_ARITHMETIC): Define.
4333 2002-01-09  Jan Hubicka  <jh@suse.cz>
4335         * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
4337 2002-01-09  Richard Henderson  <rth@redhat.com>
4339         * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
4340         Unify code from various alternatives.
4342 2002-01-09  Richard Henderson  <rth@redhat.com>
4344         * regrename.c (copy_value): Ignore the copy if the source register
4345         is present in the value chain with a narrower mode.
4347 2002-01-09  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
4349         * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
4350         for the c4x target. Also improve layout.
4352 2002-01-09  Richard Henderson  <rth@redhat.com>
4354         * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
4355         * config/m32r/m32r.md (and ior xor splitters): Swap operands
4356         to match insn patterns.
4358 2002-01-09  Richard Henderson  <rth@redhat.com>
4360         * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
4361         (copyprop_hardreg_forward_1): Likewise.
4363 2002-01-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4365         * pa.md (decrement_and_branch_until_zero): Change predicate for
4366         operand 0 from register_operand to reg_or_nonsymb_mem_operand.
4368 2002-01-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4370         * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
4371         gets undefined. For Darwin.
4373 2002-01-09  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4375         * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
4377 2002-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4379         * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
4381 2002-01-08  Richard Henderson  <rth@redhat.com>
4383         * regrename.c (copy_value): Ignore overlapping copies.
4385 2002-01-08  Richard Henderson  <rth@redhat.com>
4387         * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
4388         as needed to avoid shared structure.
4390 2002-01-08  Kazu Hirata  <kazu@hxi.com>
4392         * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
4393         H8/300H and H8/S.
4395 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
4397         * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
4398         LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
4399         documentation of obsolete macros.
4400         * system.h: Poison these macros.
4401         * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
4402         config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
4403         config/c4x/c4x.h, config/clipper/clipper.h,
4404         config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
4405         config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
4406         config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
4407         config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
4408         config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
4409         config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
4410         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
4411         config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
4412         config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
4413         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
4414         config/sparc/sparc.h, config/stormy16/stormy16.h,
4415         config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
4416         definitions and commented out definitions of obsolete macros.
4417         * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
4418         of MAX_INT_TYPE_SIZE.
4420 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
4422         * config/s390/s390.c (s390_preferred_reload_class): Never
4423         return ADDR_REGS if it isn't a subset of the given class.
4424         * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
4425         FP_REGS, but all superclasses as well.
4427         * config/s390/s390.c (s390_function_profiler): Fix thinko.
4429         * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
4430         cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
4431         must not be a const_int.
4433 2002-01-08  Richard Henderson  <rth@redhat.com>
4435         * Makefile.in (toplev.o): Depend on options.h.
4436         (gcc.o): Depend on specs.h.
4438 2002-01-08  Jakub Jelinek  <jakub@redhat.com>
4440         * expr.c (store_expr): Convert VOIDmode constants back to target's
4441         mode.
4443 2002-01-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
4445         * doc/invoke.texi: Markup gcc as @command.  Refer to
4446         http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
4447         of http://gcc.gnu.org/thanks.html.
4449 2002-01-08  Dale Johannesen  <dalej@apple.com>
4451         * config/rs6000/rs6000.md: Add missing int register
4452         target case to movdf_low.
4454 2002-01-08  Zack Weinberg  <zack@codesourcery.com>
4456         * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
4457         except.h.  Remove commands to define USING_SJLJ_EXCEPTIONS.
4458         (cppinit.o): Depend on except.h.
4459         (gencheck.h, options.h, specs.h, s-gencheck, s-options,
4460         s-specs): New rules.
4462         * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
4463         Don't create specs.h/options.h/gencheck.h here.  Remove
4464         unnecessary variable settings from last argument of AC_OUTPUT.
4465         * config.in, configure: Regenerate.
4466         * intl.c: Hardcode package name as "gcc".
4468         * cppinit.c: Include except.h.
4469         (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
4470         appropriate.
4471         * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
4472         Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
4473         (!)USING_SJLJ_EXCEPTIONS.
4474         * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
4476 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
4478         * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
4479         ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
4480         OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
4481         documentation of obsolete macros.
4482         * system.h: Poison these macros.
4483         * config/d30v/d30v.h, config/ns32k/encore.h,
4484         config/stormy16/stormy16.h: Remove definitions and commented out
4485         definitions of obsolete macros.
4487 Tue Jan  8 15:56:41 2002  Nicola Pero  <nicola@brainstorm.co.uk>
4489         * objc/objc-act.c (handle_class_ref): Mark the declaration of
4490         %sobjc_class_ref_%s as used - to prevent unwanted compiler
4491         warnings.
4493 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
4495         * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
4496         * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
4497         to insn adjusting stack/frame pointer.
4498         * config/s390/s390.md (reload_la_64, reload_la_31): Do not
4499         accept operands that cause the insn to be non-splittable.
4501 2002-01-08  Graham Stott  <grahams@redhat.com>
4503         * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
4504         (C_TYPE_FIELDS_VOLATILE): Likewise.
4505         (C_TYPE_BEING_DEFINED): Likewise.
4506         (C_IS_RESERVED_WORD): Likewise.
4507         (C_TYPE_VARIABLE_SIZE): Likewise.
4508         (C_DECL_VARIABLE_SIZE): Likewise.
4509         (C_MISSING_PROTOTYPE_WARNED): Likewise.
4510         (C_SET_EXP_ORIGINAL_CODE): Likewise.
4511         (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
4512         parenthesis.
4513         (C_DECL_ANTICIPATED): Likewise.
4514         (c_build_type_variant): Add parenthesis.
4516 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
4518         * gcc.c (option_map): Remove --version.
4519         (process_command): Handle -fversion following the GNU Coding
4520         Standards.  Partially addresses PR other/704.
4522 2002-01-08  Graham Stott  <grahams@redhat.com>
4524         * combine.c (combine_instructions): Fix typo.
4526 2002-01-08  Graham Stott  <grahams@redhat.com>
4528         * debug.h: Use "tree" and "rtx" throughout.
4530         * debug.c: Likewise.
4532 2002-01-08  Nick Clifton  <nickc@cambridge.redhat.com>
4534         * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
4535         constant pool, use the pool's version of the symbol instead.
4537 2002-01-07  Richard Henderson  <rth@redhat.com>
4539         * regrename.c (find_oldest_value_reg): Ignore the value chain if
4540         the original register was copied in a mode with a fewer number of
4541         hard registers than the desired mode.
4542         (copyprop_hardreg_forward_1): Likewise.
4543         (debug_value_data): Fix loop test.
4544         * toplev.c (parse_options_and_default_flags): Reenable
4545         -fcprop-registers at -O1.
4547 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
4549         * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
4550         (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
4552         * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
4553         predicates.
4555         * config/rs6000/rs6000.md: Add altivec predicate patterns.
4557 2002-01-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4559         * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
4560         (pa_output_function_prologue): Output local label at the beginning of
4561         the prologue when profiling.
4562         (hppa_profile_hook): Use the local label rather than the function label.
4563         * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
4565 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
4567         * config/rs6000/rs6000.c (print_operand): Remove extra space.
4568         (altivec_expand_unop_builtin): Fix thinko.
4569         (altivec_expand_binop_builtin): Same.
4570         (altivec_expand_ternop_builtin): Same.
4571         (altivec_expand_builtin): Same.
4573 2002-01-07  Richard Henderson  <rth@redhat.com>
4575         * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
4577 2002-01-07  Jason Merrill  <jason@redhat.com>
4579         * unwind-dw2.c (execute_cfa_program): Use < again.
4581 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
4583         * predict.c (combine_predictions_for_insn): Avoid division by zero.
4585 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
4587         * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
4588         Don't allow -1 - x -> ~x simplifications in the first pass.
4590 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
4592         * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
4593         arguments.
4594         (altivec_expand_binop_builtin): Same.
4595         (altivec_expand_unop_builtin): Same.
4596         (print_operand): Fix typo.
4597         (bdesc_1arg): Add vupk* variants.
4599         * rs6000.h (rs6000_builtins): Add vupk* enums.
4601         * rs6000.md: Add altivec_vupk* variants.
4603 2002-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
4605         * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
4606         doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
4607         and last update dates.
4609 2002-01-07  Janis Johnson  <janis187@us.ibm.com>
4611         * doc/rtl.texi (Flags): Clean up documentation of RTL flags
4613 2002-01-07  Marek Michalkiewicz  <marekm@amelek.gda.pl>
4615         * config/avr/avr.c (avr_mcu_types): Add new MCU types.
4616         * config/avr/avr.h (CPP_SPEC): Likewise.
4617         (LINK_SPEC): Likewise.
4618         (CRT_BINUTILS_SPECS): Likewise.
4619         * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
4620         * doc/invoke.texi (AVR Options): Document them.
4622 Mon Jan  7 11:59:34 CET 2002  Jan Hubicka  <jh@suse.cz>
4624         * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
4625         LABEL_NUSES.
4627 2002-01-07  Graham Stott  <grahams@redhat.com>
4629         * config/i386/i386.h: Update copyright date.
4630         (HALF_PIC_PTR): Add parenthesis.
4631         (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
4632         (CONSTANT_ALIGNMENT): Add parenthesis.
4633         (DATA_ALIGNMENT): Likewise.
4634         (LOCAL_ALIGNMENT): Likewise.
4635         (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
4636         (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
4637         (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
4638         (HARD_REGNO_NREGS): Add paranethesis.
4639         (VALID_SSE_REG_MODE): Whitespace.
4640         (VALID_MMX_REG_MODE): Whitespace.
4641         (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
4642         (ix86_hard_regno_mode_ok): Add parenthesis.
4643         (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
4644         (RETURN_IN_MEMORY): Whitespace.
4645         (N_REG_CLASSES): Add parenthesis.
4646         (INTEGER_CLASS_P): Add parenthesis and wrap.
4647         (FLOAT_CLASS_P): Likewise.
4648         (SSE_CLASS_P): Likewise.
4649         (MMX_CLASS_P): Likewise.
4650         (MAYBE_INTEGER_CLASS_P): Likewise.
4651         (MAYBE_FLOAT_CLASS_P): Likewise.
4652         (MAYBE_SSE_CLASS_P): Likewise.
4653         (MAYBE_MMX_CLASS_P): Likewise.
4654         (Q_CLASS_P): Likewise.
4655         (GENERAL_REGNO_P): Uppercase macro parameter.
4656         (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
4657         (FP_REGNO_P): Likewise.
4658         (ANY_FP_REGNO_P): Uppercase macro parameter.
4659         (SSE_REGNO_P): Likewise.
4660         (SSE_REGNO): Likewise.
4661         (SSE_REG_P): Likewise.
4662         (SSE_FLOAT_MODE_P): Likewise.
4663         (MMX_REGNO_P): Likewise.
4664         (MMX_REG_P):Likewise.
4665         (STACK_REG_P): Likewise.
4666         (NON_STACK_REG_P): Likewise.
4667         (STACK_TOP_P): Likewise.
4668         (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
4669         (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
4670         (SECONDARY_MEMORY_NEEDED): Likewise.
4671         (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
4672         (MD_ASM_CLOBBERS): Whitespace and wrap.
4673         (MUST_PASS_IN_STACK): Whitespace and wrap.
4674         (RETURN_POPS_ARGS): Add parenthesis.
4675         (INIT_CUMULATIVE_ARGS): Likewise.
4676         (FUNCTION_ARG): Likewise.
4677         (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
4678         (SETUP_INCOMING_VARARGS): Likewise.
4679         (BUILD_VA_LIST_TYPE):  Add parenthesis.
4680         (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
4681         parenthsis.
4682         (EXPAND_BUILTIN_VA_ARG): Likewise.
4683         (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
4684         (INITIALIZE_TRAMPOLINE): Add parenthesis.
4685         (INITIAL_ELIMINATION_OFFSET): Likewise.
4686         (REGNO_OK_FOR_INDEX_P): Add parenthesis.
4687         (REGNO_OK_FOR_BASE_P): Likewise.
4688         (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
4689         (REGNO_OK_FOR_DIREG_P): Likewise.
4690         (REG_OK_FOR_INDEX_P): Whitespace.
4691         (REG_OK_FOR_BASE_P): Whitespace.
4692         (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
4693         parenthesis.
4694         (FIND_BASE_TERM): Fix typo.
4695         (LEGITIMIZE_ADDRESS): Wrap in  { .. } while (0) and add parenthesis.
4696         (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
4697         (SYMBOLIC_CONST; Whitespace.
4698         (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in  { .. } while (0) and wrap.
4699         (ENCODE_SECTION_INFO): Whitespace.
4700         (FINALIZE_PIC): Remove do { ... } while (0).
4701         (PROMOTE_MODE): Wrap in do { ... } while (0).
4702         (CONST_COSTS): Whitespace.
4703         (RTX_COSTS): Add paramethesis, whitespace and wrap.
4704         (REGISTER_MOVE_COST): Add parenthesis.
4705         (MEMORY_MOVE_COST): Likewise.
4706         (EXTRA_CC_MODES): Whitespace.
4707         (SELECT_CC_MODE): Add parenthesis and whitespace.
4708         (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
4709         (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
4710         (ASM_OUTPUT_LABEL): Add paramethesis.
4711         (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
4712         (ASM_OUTPUT_REG_POP): Likewise.
4713         (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
4714         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
4716         * config/i386/i386.c: Update copyright.
4717         (CHECK_STACK_LIMIT): Add parenthesis.
4718         (AT_BP): Uppercase macro parameter.
4719         (x86_64_int_parameter_registers): Constify.
4720         (x86_64_int_return_registers): Likewise.
4721         (ix86_compare_op0): Use rtx.
4722         (construct_container): Constify INTREG parameter.
4723         (function_arg): Use rtx.
4725         * diagnostic.h: Update copyright date.
4726         (output_buffer_state): Add parenthesis.
4727         (output_buffer_format_args): Likewise.
4729         * combine.c (combine_instructions): Replace XEXP (links, 0)
4730         with link.
4732 2002-01-06  H.J. Lu <hjl@gnu.org>
4734         * cfgcleanup.c (thread_jump): Fix 2 typos.
4736 2002-01-06  Aldy Hernandez  <aldyh@redhat.com>
4738         * config.gcc: Add support for --enable-altivec.
4740 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
4742         * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
4744 2002-01-06  Jakub Jelinek  <jakub@redhat.com>
4746         * objc/objc-act.c (handle_impent): Use assemble_variable to emit
4747         __objc_class_name_*.
4749 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
4751         * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
4753 2002-01-06  Richard Henderson  <rth@redhat.com>
4755         * reorg.c (emit_delay_sequence): Remove death notes, not merely
4756         nop them out.  Increment label reference count for REG_LABEL.
4757         (fill_slots_from_thread): Frob label reference count around
4758         delete_related_insns.
4760 2002-01-05  Richard Henderson  <rth@redhat.com>
4762         * cfgcleanup.c (try_forward_edges): Detect infinite loops while
4763         jump threading.
4765 2002-01-05  Richard Henderson  <rth@redhat.com>
4767         * c-decl.c (c_expand_body): Don't call outlining_inline_function.
4768         * integrate.c (output_inline_function): Likewise.
4769         * toplev.c (rest_of_compilation): Do it here instead.  Move call
4770         to remove_unnecessary_notes after emitting abstract instance.
4771         Force an emitted nested function to have its parent emited as well.
4772         * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
4773         for null.
4774         (rtl_for_decl_location): Do not look at reload data structures
4775         before reload has run.
4777 2002-01-05  Kazu Hirata  <kazu@hxi.com>
4779         * cse.c: Fix formatting.
4780         * dwarf2asm.c: Likewise.
4781         * dwarf2out.c: Likewise.
4782         * explow.c: Likewise.
4783         * expmed.c: Likewise.
4784         * function.c: Likewise.
4785         * gcov.c: Likewise.
4786         * gencheck.c: Likewise.
4787         * genrecog.c: Likewise.
4788         * ggc-common.c: Likewise.
4789         * ggc-page.c: Likewise.
4790         * global.c: Likewise.
4792 2002-01-05  Kazu Hirata  <kazu@hxi.com>
4794         * combine.c: Fix formatting.
4796 2002-01-05  Craig Rodrigues  <crodrigu@bbn.com>
4798         PR middle-end/1557
4799         * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
4801 2002-01-05  David Edelsohn  <edelsohn@gnu.org>
4803         * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
4804         as 1 for __powerpc64__ as well.
4806         * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
4808         * alias.c (find_base_value, PLUS/MINUS): If we found a base,
4809         return it.
4811 2002-01-05  Daniel Berlin  <dan@dberlin.org>
4813         * lcm.c: Revert change, due to performance regression it causes on
4814         SPEC because it's slightly more conservative (sigh, I hate
4815         edge-based LCM).
4817 Sat Jan  5 11:52:05 CET 2002  Jan Hubicka  <jh@suse.cz>
4819         * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
4821 2002-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
4823         * doc/cppinternals.texi: Update.
4825 2002-01-05  Hans-Peter Nilsson  <hp@bitrange.com>
4827         * doc/invoke.texi (Option Summary) <MMIX Options>: Document
4828         -mbranch-predict, -mreg-stack-fill-bug-workaround and their
4829         negatives.
4830         (MMIX Options): Ditto.  Fix item/itemx typo for -mno-zero-extend.
4831         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
4832         kludge for pre-october-14th mmix versions to handle new-found bug
4833         with PUSHJ/PUSHGO and the register stack.
4834         * config/mmix/mmix.h (struct machine_function): Rename member
4835         has_call_value_without_parameters to has_call_without_parameters.
4836         All referers changed.
4837         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
4838         TARGET_MASK_BRANCH_PREDICT): New macros.
4839         (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
4840         -mno-reg-stack-fill-bug-workaround.
4841         * config/mmix/mmix.md ("call"): Set struct machine member
4842         has_call_without_parameters.
4844 Sat Jan  5 02:20:22 CET 2002  Jan Hubicka  <jh@suse.cz>
4846         * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
4848 Sat Jan  5 01:35:29 CET 2002  Jan Hubicka  <jh@suse.cz>
4850         * cfgcleanup.c: Include tm_p.h
4851         (mark_effect): Fix handling of hard register; fix handling of SET
4853 2002-01-04  Kazu Hirata  <kazu@hxi.com>
4855         * config/h8300/h8300.md (anonymous patterns): Check that
4856         operands are registers before using REGNO on them.
4858 2002-01-03  Roland McGrath  <roland@frob.com>
4860         * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
4862 2002-01-04  Jakub Jelinek  <jakub@redhat.com>
4864         * tree.h (expand_expr_stmt_value): Add maybe_last argument.
4865         * c-common.h (genrtl_expr_stmt_value): Likewise.
4866         * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
4867         (expand_expr_stmt_value): Add maybe_last argument.
4868         Don't warn about statement with no effect if it is the last statement
4869         in expression statement.
4870         * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
4871         (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
4872         expand_expr_stmt_value.
4873         (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
4874         genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
4875         * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
4876         as maybe_last to expand_expr_stmt_value.
4878 Fri Jan  4 11:45:05 2002  Jeffrey A Law  (law@redhat.com)
4880         * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
4881         be passed in, do not build it.
4882         (c_begin_if_stmt): New function.
4883         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
4884         * c-common.h (c_expand_start_cond): Update prototype.
4885         (c_begin_if_stmt): Prototype new function.
4886         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
4887         * c-parse.in (if_prefix): Use c_begin_if_stmt,
4888         c_begin_while_stmt and c_finish_while_stmt_cond.
4890 2002-01-04  William Cohen  <wcohen@redhat.com>
4892         * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
4893         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
4894         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
4895         * config/pa/som.h (ASM_FILE_START): Likewise.
4897 2002-01-04  Daniel Berlin  <dan@cgsoftware.com>
4899         * lcm.c: Include df.h.
4900         Add available_transfer_function prototype.
4901         (compute_available): Rework to use iterative dataflow framework.
4902         (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
4903         with bb_info in df.h
4904         (available_transfer_function): New function.
4906         * Makefile.in (lcm.o): add df.h to dependencies.
4908 2002-01-04  Richard Henderson  <rth@redhat.com>
4910         * config/alpha/alpha.c (some_operand): Accept HIGH.
4911         (input_operand): Likewise; accept simple references to globals.
4912         (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
4913         (alpha_const_double_ok_for_letter_p): Likewise.
4914         (alpha_extra_constraint): Likewise.
4915         (alpha_preferred_reload_class): Likewise.  Do not force
4916         symbolic constants to memory.
4917         (alpha_legitimate_address_p): Accept simple references
4918         to small_symbolic_operand.
4919         (alpha_legitimize_address): New arg scratch.  Be prepared to be
4920         called when no_new_pseudos.  Emit simple symbolic references.
4921         Split integers into low, high, and rest.
4922         (alpha_expand_mov): Use alpha_legitimize_address.
4923         (some_small_symbolic_mem_operand): New.
4924         (split_small_symbolic_mem_operand): New.
4925         * config/alpha/alpha-protos.h: Update.
4926         * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
4927         (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
4928         (EXTRA_CONSTRAINT): Likewise.
4929         (PREFERRED_RELOAD_CLASS): Likewise.
4930         (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
4931         (PREDICATE_CODES): Update.
4932         * config/alpha/alpha.md: New post-reload splitters to convert
4933         simplfied symbolic operands to the form that references $29.
4934         (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
4935         (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
4937 2002-01-03  Richard Henderson  <rth@redhat.com>
4939         * local-alloc.c (function_invariant_p): Update commentary.
4941 2002-01-04  H.J. Lu <hjl@gnu.org>
4943         * toplev.c (rest_of_compilation): Fix a typo when calling
4944         cleanup_cfg.
4946 2002-01-03  Kazu Hirata  <kazu@hxi.com>
4948         * c-common.c: Fix formatting.
4949         * diagnostic.c: Likewise.
4950         * doloop.c: Likewise.
4951         * dwarf2out.c: Likewise.
4953 2002-01-03  Kazu Hirata  <kazu@hxi.com>
4955         * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
4956         of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
4958 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
4960         * cpperror.c: Update comments and copyright.
4961         * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
4962         cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
4964 2002-01-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4966         * collect2.c (main): Use strcmp when testing for "-shared".
4968 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
4970         * cppmacro.c: Don't include intl.h.  Update comments.
4971         (new_number_token): Allocate enough buffer for 64-bit unsigned
4972         integers; update prototype.
4973         * cppmain.c: Update comments.
4975 2002-01-03  William Cohen  <wcohen@redhat.com>
4977         * function.h (struct function): Add profile.
4978         (current_function_profile): New.
4979         doc/extend.texi: Update documentation.
4980         * final.c (final_start_function): Use current_function_profile
4981         instead of profile_flag.
4982         (profile_after_prologue): Likewise.
4983         * function.c (expand_function_start): Likewise.
4984         (expand_function_start): Likewise.
4985         * config/alpha/alpha.c (direct_call_operand):
4986         (alpha_does_function_need_gp): Likewise.
4987         (alpha_expand_prologue): Likewise.
4988         * config/arm/arm.c (arm_expand_prologue): Likewise.
4989         thumb_expand_prologue: Likewise.
4990         * config/d30v/d30v.c (d30v_stack_info): Likewise.
4991         * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
4992         (fr30_expand_prologue): Likewise.
4993         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
4994         * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
4995         * config/i386/i386.h (FINALIZE_PIC): Likewise.
4996         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
4997         * config/i960/i960.c (i960_output_function_prologue): Likewise.
4998         * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
4999         * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
5000         (m32r_expand_prologue): Likewise.
5001         * config/m88k/m88k.c (m88k_layout_frame): Likewise.
5002         (m88k_expand_prologue): Likewise.
5003         * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
5004         * config/mips/mips.c (compute_frame_size): Likewise.
5005         (mips_expand_prologue): Likewise.
5006         (mips_can_use_return_insn): Likewise.
5007         * config/pa/elf.h (ASM_FILE_START): Likewise.
5008         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
5009         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
5010         * config/pa/som.h (ASM_FILE_START): Likewise.
5011         * config/romp/romp.c (romp_using_r14): Likewise.
5012         * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
5013         (rs6000_stack_info): Likewise.
5014         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
5015         * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
5016         * config/v850/v850.c (compute_register_save_size): Likewise.
5018 2002-01-03  Jakub Jelinek  <jakub@redhat.com>
5020         * simplify-rtx.c (simplify_binary_operation) [DIV]: If
5021         gen_lowpart_common fails, use gen_lowpart_SUBREG.
5023 2002-01-03  Turly O'Connor  <turly@apple.com>
5025         * darwin.c (machopic_output_possible_stub_label): Don't generate
5026         stub routines for pseudo-stubs which we've just defined.
5028 2002-01-03  Kazu Hirata  <kazu@hxi.com>
5030         * builtins.c: Fix formatting.
5031         * c-typeck.c: Likewise.
5032         * combine.c: Likewise.
5033         * expr.c: Likewise.
5034         * loop.c: Likewise.
5036 2002-01-03  Andreas Schwab  <schwab@suse.de>
5038         * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
5039         and return true if _cpp_push_next_buffer pushed a new include
5040         file.
5041         * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
5042         _cpp_pop_file_buffer did not push a new file.
5043         * cpphash.h (_cpp_pop_file_buffer): Update declaration.
5045 2002-01-02  Eric Christopher  <echristo@redhat.com>
5047         * final.c (final_scan_insn): Change 0 -> NULL_RTX in
5048         FIND_REG_INC_NOTE call. Update copyright.
5049         * loop.c (canonicalize_condition): Ditto.
5050         * reorg.c (delete_scheduled_jump): Ditto.
5052 2002-01-03  Kazu Hirata  <kazu@hxi.com>
5054         * gcse.c: Fix formatting.
5056 2002-01-03  Graham Stott  <grahams@redhat.com>
5058         * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
5059         forward defs for struct tags rtx_def, union_tree, rtvec_def
5060         also output corresponding typedefs for rtx, tree, and rtvec.
5062         * system.h: Move forward defs for struct tags rtx_def, union_tree,
5063         rtvec_def along with corresponding typedefs for rtx, tree, and
5064         rtvec to config.h, hconfig.h, tconfig.h.
5066 2002-01-03  Graham Stott  <grahams@redhat.com>
5068         * tree.h: Update copyright date.
5069         (IS_EXPR_CODE_CLASS): Add parenthesis.
5070         (TREE_SET_CODE): Add whitespace.
5071         (TREE_CHECK): Add parenthesis.
5072         (TREE_CLASS_CODE): Add parenthesis and wrap long line.
5073         (CST_OR_CONSTRUCTOR_CHECK):
5074         (EXPR_CHECK): Add parenthis, whitespace and wrap line.
5075         (TREE_SYMBOL_REFERENCED): Whitespace.
5076         (INT_CST_LT): Likewise.
5077         (INT_CST_LT_UNSIGNED): Likewise.
5078         (tree_real_cst): Unwrap comment.
5079         (tree_string): Likewise.
5080         (tree_complex): Likewise.
5081         (IDENTIFIER_POINTER): correct cast.
5082         (SAVE_EXPR_CONTEXT): Whitespace.
5083         (EXPR_WFL_FILENAME_NODE): Likewise.
5084         (EXPR_WFL_FILENAME): Remove parenthesis.
5085         (DECL_ORIGIN): Add parenthesis.
5086         (DECL_FROM_INLINE): Use NULL_TREE.
5087         (build_int_2): Whitespace.
5088         (build_type_variant): Add parenthesis.
5090         * gcc/jcf-parse.c: Update copyright date.
5091         (yyparse): Constify resource_filename.
5093 2002-01-03  Graham Stott  <grahams@redhat.com>
5095         * rtl.h: Update copyright date.
5096         (RTL_CHECK1): Wrap long line.
5097         (RTL_CHECK2): Likewise.
5098         (RTL_CHECKC1): Wrap long line and whitespace.
5099         (RTL_CHECKC2): Likewise.
5100         (XWINT): Whitespace.
5101         (XINT): Likewise.
5102         (XSTR): Likewise.
5103         (XEXP): Likewise.
5104         (XVEC): Likewise.
5105         (XMODE): Likewise.
5106         (XBITMAP): Likewise.
5107         (XTREE): Likewise.
5108         (XBBDEF): Likewise.
5109         (XTMPL): Likewise.
5110         (X0WINT): Likewise.
5111         (X0INT):Likewise.
5112         (X0UINT): Likewise.
5113         (X0STR): Likewise.
5114         (X0EXP): Likewise.
5115         (X0VEC): Likewise.
5116         (X0MODE): Likewise.
5117         (X0BITMAP): Likewise.
5118         (X0TREE): Likewise.
5119         (X0BBDEF): Likewise.
5120         (X0ADVFLAGS): Likewise.
5121         (X0CSELIB): Likewise.
5122         (X0MEMATTR): Likewise.
5123         (XCWINT): Likewise.
5124         (XCINT): Likewise.
5125         (XCUINT): Likewise.
5126         (XCSTR): Likewise.
5127         (XCEXP): Likewise.
5128         (XCVEC): Likewise.
5129         (XCMODE): Likewise.
5130         (XCBITMAP): Likewise.
5131         (XCTREE): Likewise.
5132         (XCBBDEF): Likewise.
5133         (XCADVFLAGS): Likewise.
5134         (XCCSELIB): Likewise.
5135         (XC2EXP): Likewise.
5136         (INSN_UID): Likewise.
5137         (PREV_INSN): Likewise.
5138         (PATTERN): Likewise.
5139         (INSN_CODE): Likewise.
5140         (PUT_REG_NOTE_KIND): Likewise.
5141         (CODE_LABEL_NUMBER): Likewise.
5142         (NOTE_SOURCE_FILE): Likewise.
5143         (NOTE_BLOCK): Likewise.
5144         (NOTE_EH_HANDLER): Likewise.
5145         (NOTE_RANGE_INFO): Likewise.
5146         (NOTE_LIVE_INFO): Likewise.
5147         (NOTE_BASIC_BLOCK): Likewise.
5148         (NOTE_EXPECTED_VALUE): Likewise.
5149         (NOTE_LINE_NUMBER): Likewise.
5150         (LABEL_NAME): Likewise.
5151         (LABEL_NUSES): Likewise.
5152         (LABEL_ALTERNATE_NAME): Likewise.
5153         (ADDRESSOF_DECL): Likewise.
5154         (JUMP_LABEL): Likewise.
5155         (LABEL_NEXTREF): Likewise.
5156         (REGNO): Likewise.
5157         (ORIGINAL_REGNO: Likewise.
5158         (HARD_REGISTER_NUM_P): Add parenthesis.
5159         (SUBREG_REG): Whitespace.
5160         (SUBREG_BYTE): Likewise.
5161         (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
5162         (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
5163         (ASM_OPERANDS_OUTPUT_IDX): Likewise.
5164         (ASM_OPERANDS_INPUT_VEC): Likewise.
5165         (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
5166         (ASM_OPERANDS_INPUT): Likewise.
5167         (ASM_OPERANDS_INPUT_LENGTH): Likewise.
5168         (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
5169         (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
5170         (ASM_OPERANDS_INPUT_MODE): Likewise.
5171         (ASM_OPERANDS_SOURCE_FILE): Likewise.
5172         (ASM_OPERANDS_SOURCE_LINE): Likewise.
5173         (MEM_SET_IN_STRUCT_P): Minor reformat.
5174         (TRAP_CONDITION): Whitespace.
5175         (TRAP_CODE): Likewise.
5176         (COND_EXEC_TEST): Likewise.
5177         (COND_EXEC_CODE): Likewise.
5178         (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
5179         (PHI_NODE_P): Add parenthesis.
5180         (plus_constant): Whitespace and add parenthesis.
5182 2002-01-03  Kazu Hirata  <kazu@hxi.com>
5184         * config/avr/avr.c: Fix comment typos.
5185         * config/c4x/c4x.md: Likewise.
5186         * config/dsp16xx/dsp16xx.h: Likewise.
5187         * config/dsp16xx/dsp16xx.md: Likewise.
5188         * config/i386/i386.md: Likewise.
5189         * config/ia64/ia64.c: Likewise.
5190         * config/m32r/m32r.h: Likewise.
5191         * config/m68hc11/m68hc11.md: Likewise.
5192         * config/mmix/mmix.c: Likewise.
5193         * config/mn10200/mn10200.c: Likewise.
5194         * config/romp/romp.c: Likewise.
5195         * config/sh/sh.c: Likewise.
5196         * config/stormy16/stormy16.c: Likewise.
5197         * config/stormy16/stormy16.h: Likewise.
5198         * config/stormy16/stormy16.md: Likewise.
5200 2002-01-03  Graham Stott  <grahams@redhat.com>
5202         * loop.h: Update copyright date.
5203         (LOOP_MOVABLES): Fix typo.
5204         (LOOP_REGS): Likewise.
5205         (LOOP_IVS): Likewise.
5207 2002-01-03  Graham Stott  <grahams@redhat.com>
5209         * cppinit.c: Update copyright date.
5210         Don't include output.h
5211         * Makefile.in: Update copyright date.
5212         Update dependency.
5214 2002-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
5216         PR c/5226
5217         * invoke.texi (-mthreads): Remove from documented RS/6000 options.
5218         (-pthread) Add to RS/6000 options.
5220 2002-01-02  Kazu Hirata  <kazu@hxi.com>
5222         * except.c: Fix comment typos.
5223         * loop.c: Likewise.
5224         * varasm.c: Likewise.
5225         * doc/tm.texi: Fix a typo.
5227 2002-01-02  Jakub Jelinek  <jakub@redhat.com>
5229         * c-typeck.c (output_init_element): Allow initializing static storage
5230         duration objects with compound literals.
5232 2002-01-02  Richard Henderson  <rth@redhat.com>
5234         * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
5235         after abusing it.
5237 2002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5239         * gcc.c (default_compilers): Const-ify.
5240         * mips-tdump.c (stab_names): Likewise.
5241         * mips-tfile.c (map_coff_types, map_coff_storage,
5242         map_coff_sym_type, map_coff_derived_type, stabs_symbol,
5243         pseudo_ops_t, pseudo_ops): Likewise.
5244         * protoize.c (default_include): Likewise
5246         * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
5247         (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
5248         Add array size in declaration.
5249         (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
5250         emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
5251         esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
5252         etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
5253         eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
5254         efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
5255         c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
5256         emtens, make_nan): Const-ify.
5257         (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
5258         DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
5260 2002-01-02  Joseph S. Myers  <jsm28@cam.ac.uk>
5262         * config.gcc (ia64-*-*): Set extra_headers.
5263         (alpha*-dec-osf*): Likewise.  Don't use alpha/t-osf.
5264         * config/alpha/t-osf: Remove.
5265         * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
5267 2002-01-02  David Edelsohn  <edelsohn@gnu.org>
5269         * config/rs6000/t-aix43: Revert previous change.
5271 2002-01-02  Jason Merrill  <jason@redhat.com>
5273         * c-decl.c (c_expand_body): Call outlining_inline_function when
5274         emitting an inline function out of line.
5276 2002-01-02  Richard Henderson  <rth@redhat.com>
5278         * dwarf2out.c (limbo_die_node): Add created_for member.
5279         (new_die): New argument created_for.  Update all callers.
5280         (mark_limbo_die_list): New.
5281         (dwarf2out_init): Register limbo_die_list as a root.
5282         (dwarf2out_finish): Force insert limbo dies into their function
5283         context.
5285 2002-01-02  Nathan Sidwell  <nathan@codesourcery.com>
5287         PR c++/5089
5288         * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
5290 2002-01-02  Kazu Hirata  <kazu@hxi.com>
5292         * config/h8300/fixunssfsi.c: Update copyright.
5293         Fix comment typos.
5294         Fix formatting.
5295         * config/h8300/h8300.c: Update copyright.
5296         Eliminate warnings.
5298 2002-01-02  Kazu Hirata  <kazu@hxi.com>
5300         * config/romp/romp.c: Fix comment formatting.
5301         * config/romp/romp.h: Likewise.
5302         * config/romp/romp.md: Likewise.
5303         * config/s390/s390.c: Likewise.
5304         * config/stormy16/stormy16.c: Likewise.
5305         * config/stormy16/stormy16.h: Likewise.
5307 2002-01-02  Alexandre Oliva  <aoliva@redhat.com>
5309         * c-common.h (genrtl_expr_stmt_value): Declare.
5310         * c-semantics.c (genrtl_goto_stmt): Redirect to...
5311         (genrtl_goto_stmt_value): ... this new function.  Pass new
5312         argument down to expand_expr_stmt_value, taking
5313         TREE_ADDRESSABLE into account.
5314         * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
5315         STMT_EXPR as addressable, i.e., one whose result we want.
5316         * expr.c (expand_expr): Don't save expression statement value
5317         of labeled_blocks or loop_exprs.
5318         * stmt.c (expand_expr_stmt): Redirect to...
5319         (expand_expr_stmt_value): ... this new function.  Use new
5320         argument to tell whether to save expression value.
5321         (expand_end_stmt_expr): Reset last_expr_type and
5322         last_expr_value if we don't have either.
5323         * tree-inline.c (declare_return_variable): Mark its use
5324         statement as addressable.
5325         * tree.h: Document new use of TREE_ADDRESSABLE.
5326         (expand_expr_stmt_value): Declare.
5328 2002-01-01  Tom Rix  <trix@redhat.com>
5330         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
5331         rs6000_emit_allocate_stack.
5333 2002-01-01  Joseph S. Myers  <jsm28@cam.ac.uk>
5335         * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
5336         ${srcdir}/ginclude/ to every entry in extra_headers.
5337         * configure: Regenerate.
5338         * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
5339         * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
5340         * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
5341         * ginclude/proto.h: Rename to config/convex/proto.h.
5343 Tue Jan  1 17:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5345         * attribs.c (handle_vector_size_attribute): Use host_integerp
5346         and tree_int_cst; remove warnings.
5347         * caller-save.c (insert_restore): Add cast to get rid of warning.
5348         (insert_save): Likewise.
5349         * emit-rtl.c (adjust_address_1, offset_address): Likewise.
5350         * regmove.c (find_matches): Add temporary var to kill a warning.
5352 2002-01-01  Douglas B Rupp  <rupp@gnat.com>
5354         * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
5355         LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
5356         * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
5357         (vms-dwarf2eh.o): Add Makefile rule.
5358         * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
5359         * config/alpha/vms-dwarf2eh.asm: New file.
5361         * gcc.c (delete_if_ordinary): Delete all versions.
5363 2002-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
5365         * config/mmix/mmix.md: Update FIXME to not mention
5366         define_constants.
5367         (MMIX_rJ_REGNUM): New define_constants constant.
5368         ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
5369         "*movdicc_real"): Adjust contraints formatting.
5370         ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
5371         for branch prediction.
5372         ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
5373         output template.
5374         ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
5375         "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
5376         number.  Delete related FIXMEs.
5377         * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
5378         from number to MMIX_rJ_REGNUM.
5379         (TARGET_MASK_BRANCH_PREDICT): New.
5380         (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
5381         (TARGET_SWITCHES): Update comment.  Correct -mno-toplevel-symbols
5382         value.  Add -mbranch-predict and -mno-branch-predict.
5383         (TARGET_VERSION): Drop date.
5384         (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
5385         * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
5386         for finding out global symbols.
5387         (mmix_asm_output_labelref): Revert condition for global symbol.
5388         (mmix_print_operand): <case '+'>: Emit P for a likely branch.
5389         (mmix_print_operand_punct_valid_p): A '+' is valid.
5391 See ChangeLog.6 for earlier changes.