* regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
[official-gcc.git] / gcc / ChangeLog
blob7df79a9748672ee7acf8a5df87172adaa91b7e32
1 2002-01-09  Richard Henderson  <rth@redhat.com>
3         * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
4         (copyprop_hardreg_forward_1): Likewise.
6 2002-01-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8         * pa.md (decrement_and_branch_until_zero): Change predicate for
9         operand 0 from register_operand to reg_or_nonsymb_mem_operand.
11 2002-01-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13         * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
14         gets undefined. For Darwin.
16 2002-01-09  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
18         * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
20 2002-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22         * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
24 2002-01-08  Richard Henderson  <rth@redhat.com>
26         * regrename.c (copy_value): Ignore overlapping copies.
28 2002-01-08  Richard Henderson  <rth@redhat.com>
30         * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
31         as needed to avoid shared structure.
33 2002-01-08  Kazu Hirata  <kazu@hxi.com>
35         * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
36         H8/300H and H8/S.
38 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
40         * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
41         LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
42         documentation of obsolete macros.
43         * system.h: Poison these macros.
44         * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
45         config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
46         config/c4x/c4x.h, config/clipper/clipper.h,
47         config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
48         config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
49         config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
50         config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
51         config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
52         config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
53         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
54         config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
55         config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
56         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
57         config/sparc/sparc.h, config/stormy16/stormy16.h,
58         config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
59         definitions and commented out definitions of obsolete macros.
60         * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
61         of MAX_INT_TYPE_SIZE.
63 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
65         * config/s390/s390.c (s390_preferred_reload_class): Never
66         return ADDR_REGS if it isn't a subset of the given class.
67         * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
68         FP_REGS, but all superclasses as well.
70         * config/s390/s390.c (s390_function_profiler): Fix thinko.
72         * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
73         cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
74         must not be a const_int.
76 2002-01-08  Richard Henderson  <rth@redhat.com>
78         * Makefile.in (toplev.o): Depend on options.h.
79         (gcc.o): Depend on specs.h.
81 2002-01-08  Jakub Jelinek  <jakub@redhat.com>
83         * expr.c (store_expr): Convert VOIDmode constants back to target's
84         mode.
86 2002-01-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
88         * doc/invoke.texi: Markup gcc as @command.  Refer to
89         http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
90         of http://gcc.gnu.org/thanks.html.
92 2002-01-08  Dale Johannesen  <dalej@apple.com>
94         * config/rs6000/rs6000.md: Add missing int register
95         target case to movdf_low.
97 2002-01-08  Zack Weinberg  <zack@codesourcery.com>
99         * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
100         except.h.  Remove commands to define USING_SJLJ_EXCEPTIONS.
101         (cppinit.o): Depend on except.h.
102         (gencheck.h, options.h, specs.h, s-gencheck, s-options,
103         s-specs): New rules.
105         * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
106         Don't create specs.h/options.h/gencheck.h here.  Remove
107         unnecessary variable settings from last argument of AC_OUTPUT.
108         * config.in, configure: Regenerate.
109         * intl.c: Hardcode package name as "gcc".
111         * cppinit.c: Include except.h.
112         (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
113         appropriate.
114         * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
115         Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
116         (!)USING_SJLJ_EXCEPTIONS.
117         * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
119 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
121         * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
122         ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
123         OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
124         documentation of obsolete macros.
125         * system.h: Poison these macros.
126         * config/d30v/d30v.h, config/ns32k/encore.h,
127         config/stormy16/stormy16.h: Remove definitions and commented out
128         definitions of obsolete macros.
130 Tue Jan  8 15:56:41 2002  Nicola Pero  <nicola@brainstorm.co.uk>
132         * objc/objc-act.c (handle_class_ref): Mark the declaration of
133         %sobjc_class_ref_%s as used - to prevent unwanted compiler
134         warnings.
136 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
138         * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
139         * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
140         to insn adjusting stack/frame pointer.
141         * config/s390/s390.md (reload_la_64, reload_la_31): Do not
142         accept operands that cause the insn to be non-splittable.
144 2002-01-08  Graham Stott  <grahams@redhat.com>
146         * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
147         (C_TYPE_FIELDS_VOLATILE): Likewise.
148         (C_TYPE_BEING_DEFINED): Likewise.
149         (C_IS_RESERVED_WORD): Likewise.
150         (C_TYPE_VARIABLE_SIZE): Likewise.
151         (C_DECL_VARIABLE_SIZE): Likewise.
152         (C_MISSING_PROTOTYPE_WARNED): Likewise.
153         (C_SET_EXP_ORIGINAL_CODE): Likewise.
154         (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
155         parenthesis.
156         (C_DECL_ANTICIPATED): Likewise.
157         (c_build_type_variant): Add parenthesis.
159 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
161         * gcc.c (option_map): Remove --version.
162         (process_command): Handle -fversion following the GNU Coding
163         Standards.  Partially addresses PR other/704.
165 2002-01-08  Graham Stott  <grahams@redhat.com>
167         * combine.c (combine_instructions): Fix typo.
169 2002-01-08  Graham Stott  <grahams@redhat.com>
171         * debug.h: Use "tree" and "rtx" throughout.
173         * debug.c: Likewise.
175 2002-01-08  Nick Clifton  <nickc@cambridge.redhat.com>
177         * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
178         constant pool, use the pool's version of the symbol instead.
180 2002-01-07  Richard Henderson  <rth@redhat.com>
182         * regrename.c (find_oldest_value_reg): Ignore the value chain if
183         the original register was copied in a mode with a fewer number of
184         hard registers than the desired mode.
185         (copyprop_hardreg_forward_1): Likewise.
186         (debug_value_data): Fix loop test.
187         * toplev.c (parse_options_and_default_flags): Reenable
188         -fcprop-registers at -O1.
190 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
192         * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
193         (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
195         * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
196         predicates.
198         * config/rs6000/rs6000.md: Add altivec predicate patterns.
200 2002-01-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
202         * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
203         (pa_output_function_prologue): Output local label at the beginning of
204         the prologue when profiling.
205         (hppa_profile_hook): Use the local label rather than the function label.
206         * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
208 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
210         * config/rs6000/rs6000.c (print_operand): Remove extra space.
211         (altivec_expand_unop_builtin): Fix thinko.
212         (altivec_expand_binop_builtin): Same.
213         (altivec_expand_ternop_builtin): Same.
214         (altivec_expand_builtin): Same.
216 2002-01-07  Richard Henderson  <rth@redhat.com>
218         * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
220 2002-01-07  Jason Merrill  <jason@redhat.com>
222         * unwind-dw2.c (execute_cfa_program): Use < again.
224 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
226         * predict.c (combine_predictions_for_insn): Avoid division by zero.
228 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
230         * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
231         Don't allow -1 - x -> ~x simplifications in the first pass.
233 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
235         * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
236         arguments.
237         (altivec_expand_binop_builtin): Same.
238         (altivec_expand_unop_builtin): Same.
239         (print_operand): Fix typo.
240         (bdesc_1arg): Add vupk* variants.
242         * rs6000.h (rs6000_builtins): Add vupk* enums.
244         * rs6000.md: Add altivec_vupk* variants.
246 2002-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
248         * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
249         doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
250         and last update dates.
252 2002-01-07  Janis Johnson  <janis187@us.ibm.com>
254         * doc/rtl.texi (Flags): Clean up documentation of RTL flags
256 2002-01-07  Marek Michalkiewicz  <marekm@amelek.gda.pl>
258         * config/avr/avr.c (avr_mcu_types): Add new MCU types.
259         * config/avr/avr.h (CPP_SPEC): Likewise.
260         (LINK_SPEC): Likewise.
261         (CRT_BINUTILS_SPECS): Likewise.
262         * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
263         * doc/invoke.texi (AVR Options): Document them.
265 Mon Jan  7 11:59:34 CET 2002  Jan Hubicka  <jh@suse.cz>
267         * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
268         LABEL_NUSES.
270 2002-01-07  Graham Stott  <grahams@redhat.com>
272         * config/i386/i386.h: Update copyright date.
273         (HALF_PIC_PTR): Add parenthesis.
274         (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
275         (CONSTANT_ALIGNMENT): Add parenthesis.
276         (DATA_ALIGNMENT): Likewise.
277         (LOCAL_ALIGNMENT): Likewise.
278         (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
279         (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
280         (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
281         (HARD_REGNO_NREGS): Add paranethesis.
282         (VALID_SSE_REG_MODE): Whitespace.
283         (VALID_MMX_REG_MODE): Whitespace.
284         (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
285         (ix86_hard_regno_mode_ok): Add parenthesis.
286         (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
287         (RETURN_IN_MEMORY): Whitespace.
288         (N_REG_CLASSES): Add parenthesis.
289         (INTEGER_CLASS_P): Add parenthesis and wrap.
290         (FLOAT_CLASS_P): Likewise.
291         (SSE_CLASS_P): Likewise.
292         (MMX_CLASS_P): Likewise.
293         (MAYBE_INTEGER_CLASS_P): Likewise.
294         (MAYBE_FLOAT_CLASS_P): Likewise.
295         (MAYBE_SSE_CLASS_P): Likewise.
296         (MAYBE_MMX_CLASS_P): Likewise.
297         (Q_CLASS_P): Likewise.
298         (GENERAL_REGNO_P): Uppercase macro parameter.
299         (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
300         (FP_REGNO_P): Likewise.
301         (ANY_FP_REGNO_P): Uppercase macro parameter.
302         (SSE_REGNO_P): Likewise.
303         (SSE_REGNO): Likewise.
304         (SSE_REG_P): Likewise.
305         (SSE_FLOAT_MODE_P): Likewise.
306         (MMX_REGNO_P): Likewise.
307         (MMX_REG_P):Likewise.
308         (STACK_REG_P): Likewise.
309         (NON_STACK_REG_P): Likewise.
310         (STACK_TOP_P): Likewise.
311         (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
312         (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
313         (SECONDARY_MEMORY_NEEDED): Likewise.
314         (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
315         (MD_ASM_CLOBBERS): Whitespace and wrap.
316         (MUST_PASS_IN_STACK): Whitespace and wrap.
317         (RETURN_POPS_ARGS): Add parenthesis.
318         (INIT_CUMULATIVE_ARGS): Likewise.
319         (FUNCTION_ARG): Likewise.
320         (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
321         (SETUP_INCOMING_VARARGS): Likewise.
322         (BUILD_VA_LIST_TYPE):  Add parenthesis.
323         (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
324         parenthsis.
325         (EXPAND_BUILTIN_VA_ARG): Likewise.
326         (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
327         (INITIALIZE_TRAMPOLINE): Add parenthesis.
328         (INITIAL_ELIMINATION_OFFSET): Likewise.
329         (REGNO_OK_FOR_INDEX_P): Add parenthesis.
330         (REGNO_OK_FOR_BASE_P): Likewise.
331         (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
332         (REGNO_OK_FOR_DIREG_P): Likewise.
333         (REG_OK_FOR_INDEX_P): Whitespace.
334         (REG_OK_FOR_BASE_P): Whitespace.
335         (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
336         parenthesis.
337         (FIND_BASE_TERM): Fix typo.
338         (LEGITIMIZE_ADDRESS): Wrap in  { .. } while (0) and add parenthesis.
339         (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
340         (SYMBOLIC_CONST; Whitespace.
341         (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in  { .. } while (0) and wrap.
342         (ENCODE_SECTION_INFO): Whitespace.
343         (FINALIZE_PIC): Remove do { ... } while (0).
344         (PROMOTE_MODE): Wrap in do { ... } while (0).
345         (CONST_COSTS): Whitespace.
346         (RTX_COSTS): Add paramethesis, whitespace and wrap.
347         (REGISTER_MOVE_COST): Add parenthesis.
348         (MEMORY_MOVE_COST): Likewise.
349         (EXTRA_CC_MODES): Whitespace.
350         (SELECT_CC_MODE): Add parenthesis and whitespace.
351         (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
352         (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
353         (ASM_OUTPUT_LABEL): Add paramethesis.
354         (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
355         (ASM_OUTPUT_REG_POP): Likewise.
356         (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
357         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
359         * config/i386/i386.c: Update copyright.
360         (CHECK_STACK_LIMIT): Add parenthesis.
361         (AT_BP): Uppercase macro parameter.
362         (x86_64_int_parameter_registers): Constify.
363         (x86_64_int_return_registers): Likewise.
364         (ix86_compare_op0): Use rtx.
365         (construct_container): Constify INTREG parameter.
366         (function_arg): Use rtx.
368         * diagnostic.h: Update copyright date.
369         (output_buffer_state): Add parenthesis.
370         (output_buffer_format_args): Likewise.
372         * combine.c (combine_instructions): Replace XEXP (links, 0)
373         with link.
375 2002-01-06  H.J. Lu <hjl@gnu.org>
377         * cfgcleanup.c (thread_jump): Fix 2 typos.
379 2002-01-06  Aldy Hernandez  <aldyh@redhat.com>
381         * config.gcc: Add support for --enable-altivec.
383 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
385         * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
387 2002-01-06  Jakub Jelinek  <jakub@redhat.com>
389         * objc/objc-act.c (handle_impent): Use assemble_variable to emit
390         __objc_class_name_*.
392 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
394         * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
396 2002-01-06  Richard Henderson  <rth@redhat.com>
398         * reorg.c (emit_delay_sequence): Remove death notes, not merely
399         nop them out.  Increment label reference count for REG_LABEL.
400         (fill_slots_from_thread): Frob label reference count around
401         delete_related_insns.
403 2002-01-05  Richard Henderson  <rth@redhat.com>
405         * cfgcleanup.c (try_forward_edges): Detect infinite loops while
406         jump threading.
408 2002-01-05  Richard Henderson  <rth@redhat.com>
410         * c-decl.c (c_expand_body): Don't call outlining_inline_function.
411         * integrate.c (output_inline_function): Likewise.
412         * toplev.c (rest_of_compilation): Do it here instead.  Move call
413         to remove_unnecessary_notes after emitting abstract instance.
414         Force an emitted nested function to have its parent emited as well.
415         * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
416         for null.
417         (rtl_for_decl_location): Do not look at reload data structures
418         before reload has run.
420 2002-01-05  Kazu Hirata  <kazu@hxi.com>
422         * cse.c: Fix formatting.
423         * dwarf2asm.c: Likewise.
424         * dwarf2out.c: Likewise.
425         * explow.c: Likewise.
426         * expmed.c: Likewise.
427         * function.c: Likewise.
428         * gcov.c: Likewise.
429         * gencheck.c: Likewise.
430         * genrecog.c: Likewise.
431         * ggc-common.c: Likewise.
432         * ggc-page.c: Likewise.
433         * global.c: Likewise.
435 2002-01-05  Kazu Hirata  <kazu@hxi.com>
437         * combine.c: Fix formatting.
439 2002-01-05  Craig Rodrigues  <crodrigu@bbn.com>
441         PR middle-end/1557
442         * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
444 2002-01-05  David Edelsohn  <edelsohn@gnu.org>
446         * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
447         as 1 for __powerpc64__ as well.
449         * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
451         * alias.c (find_base_value, PLUS/MINUS): If we found a base,
452         return it.
454 2002-01-05  Daniel Berlin  <dan@dberlin.org>
456         * lcm.c: Revert change, due to performance regression it causes on
457         SPEC because it's slightly more conservative (sigh, I hate
458         edge-based LCM).
460 Sat Jan  5 11:52:05 CET 2002  Jan Hubicka  <jh@suse.cz>
462         * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
464 2002-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
466         * doc/cppinternals.texi: Update.
468 2002-01-05  Hans-Peter Nilsson  <hp@bitrange.com>
470         * doc/invoke.texi (Option Summary) <MMIX Options>: Document
471         -mbranch-predict, -mreg-stack-fill-bug-workaround and their
472         negatives.
473         (MMIX Options): Ditto.  Fix item/itemx typo for -mno-zero-extend.
474         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
475         kludge for pre-october-14th mmix versions to handle new-found bug
476         with PUSHJ/PUSHGO and the register stack.
477         * config/mmix/mmix.h (struct machine_function): Rename member
478         has_call_value_without_parameters to has_call_without_parameters.
479         All referers changed.
480         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
481         TARGET_MASK_BRANCH_PREDICT): New macros.
482         (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
483         -mno-reg-stack-fill-bug-workaround.
484         * config/mmix/mmix.md ("call"): Set struct machine member
485         has_call_without_parameters.
487 Sat Jan  5 02:20:22 CET 2002  Jan Hubicka  <jh@suse.cz>
489         * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
491 Sat Jan  5 01:35:29 CET 2002  Jan Hubicka  <jh@suse.cz>
493         * cfgcleanup.c: Include tm_p.h
494         (mark_effect): Fix handling of hard register; fix handling of SET
496 2002-01-04  Kazu Hirata  <kazu@hxi.com>
498         * config/h8300/h8300.md (anonymous patterns): Check that
499         operands are registers before using REGNO on them.
501 2002-01-03  Roland McGrath  <roland@frob.com>
503         * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
505 2002-01-04  Jakub Jelinek  <jakub@redhat.com>
507         * tree.h (expand_expr_stmt_value): Add maybe_last argument.
508         * c-common.h (genrtl_expr_stmt_value): Likewise.
509         * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
510         (expand_expr_stmt_value): Add maybe_last argument.
511         Don't warn about statement with no effect if it is the last statement
512         in expression statement.
513         * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
514         (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
515         expand_expr_stmt_value.
516         (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
517         genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
518         * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
519         as maybe_last to expand_expr_stmt_value.
521 Fri Jan  4 11:45:05 2002  Jeffrey A Law  (law@redhat.com)
523         * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
524         be passed in, do not build it.
525         (c_begin_if_stmt): New function.
526         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
527         * c-common.h (c_expand_start_cond): Update prototype.
528         (c_begin_if_stmt): Prototype new function.
529         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
530         * c-parse.in (if_prefix): Use c_begin_if_stmt,
531         c_begin_while_stmt and c_finish_while_stmt_cond.
533 2002-01-04  William Cohen  <wcohen@redhat.com>
535         * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
536         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
537         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
538         * config/pa/som.h (ASM_FILE_START): Likewise.
540 2001-01-04  Daniel Berlin  <dan@cgsoftware.com>
542         * lcm.c: Include df.h.
543         Add available_transfer_function prototype.
544         (compute_available): Rework to use iterative dataflow framework.
545         (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
546         with bb_info in df.h
547         (available_transfer_function): New function.
549         * Makefile.in (lcm.o): add df.h to dependencies.
551 2002-01-04  Richard Henderson  <rth@redhat.com>
553         * config/alpha/alpha.c (some_operand): Accept HIGH.
554         (input_operand): Likewise; accept simple references to globals.
555         (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
556         (alpha_const_double_ok_for_letter_p): Likewise.
557         (alpha_extra_constraint): Likewise.
558         (alpha_preferred_reload_class): Likewise.  Do not force
559         symbolic constants to memory.
560         (alpha_legitimate_address_p): Accept simple references
561         to small_symbolic_operand.
562         (alpha_legitimize_address): New arg scratch.  Be prepared to be
563         called when no_new_pseudos.  Emit simple symbolic references.
564         Split integers into low, high, and rest.
565         (alpha_expand_mov): Use alpha_legitimize_address.
566         (some_small_symbolic_mem_operand): New.
567         (split_small_symbolic_mem_operand): New.
568         * config/alpha/alpha-protos.h: Update.
569         * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
570         (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
571         (EXTRA_CONSTRAINT): Likewise.
572         (PREFERRED_RELOAD_CLASS): Likewise.
573         (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
574         (PREDICATE_CODES): Update.
575         * config/alpha/alpha.md: New post-reload splitters to convert
576         simplfied symbolic operands to the form that references $29.
577         (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
578         (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
580 2002-01-03  Richard Henderson  <rth@redhat.com>
582         * local-alloc.c (function_invariant_p): Update commentary.
584 2002-01-04  H.J. Lu <hjl@gnu.org>
586         * toplev.c (rest_of_compilation): Fix a typo when calling
587         cleanup_cfg.
589 2002-01-03  Kazu Hirata  <kazu@hxi.com>
591         * c-common.c: Fix formatting.
592         * diagnostic.c: Likewise.
593         * doloop.c: Likewise.
594         * dwarf2out.c: Likewise.
596 2002-01-03  Kazu Hirata  <kazu@hxi.com>
598         * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
599         of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
601 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
603         * cpperror.c: Update comments and copyright.
604         * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
605         cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
607 2002-01-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
609         * collect2.c (main): Use strcmp when testing for "-shared".
611 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
613         * cppmacro.c: Don't include intl.h.  Update comments.
614         (new_number_token): Allocate enough buffer for 64-bit unsigned
615         integers; update prototype.
616         * cppmain.c: Update comments.
618 2002-01-03  William Cohen  <wcohen@redhat.com>
620         * function.h (struct function): Add profile.
621         (current_function_profile): New.
622         doc/extend.texi: Update documentation.
623         * final.c (final_start_function): Use current_function_profile
624         instead of profile_flag.
625         (profile_after_prologue): Likewise.
626         * function.c (expand_function_start): Likewise.
627         (expand_function_start): Likewise.
628         * config/alpha/alpha.c (direct_call_operand):
629         (alpha_does_function_need_gp): Likewise.
630         (alpha_expand_prologue): Likewise.
631         * config/arm/arm.c (arm_expand_prologue): Likewise.
632         thumb_expand_prologue: Likewise.
633         * config/d30v/d30v.c (d30v_stack_info): Likewise.
634         * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
635         (fr30_expand_prologue): Likewise.
636         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
637         * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
638         * config/i386/i386.h (FINALIZE_PIC): Likewise.
639         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
640         * config/i960/i960.c (i960_output_function_prologue): Likewise.
641         * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
642         * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
643         (m32r_expand_prologue): Likewise.
644         * config/m88k/m88k.c (m88k_layout_frame): Likewise.
645         (m88k_expand_prologue): Likewise.
646         * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
647         * config/mips/mips.c (compute_frame_size): Likewise.
648         (mips_expand_prologue): Likewise.
649         (mips_can_use_return_insn): Likewise.
650         * config/pa/elf.h (ASM_FILE_START): Likewise.
651         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
652         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
653         * config/pa/som.h (ASM_FILE_START): Likewise.
654         * config/romp/romp.c (romp_using_r14): Likewise.
655         * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
656         (rs6000_stack_info): Likewise.
657         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
658         * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
659         * config/v850/v850.c (compute_register_save_size): Likewise.
661 2002-01-03  Jakub Jelinek  <jakub@redhat.com>
663         * simplify-rtx.c (simplify_binary_operation) [DIV]: If
664         gen_lowpart_common fails, use gen_lowpart_SUBREG.
666 2002-01-03  Turly O'Connor  <turly@apple.com>
668         * darwin.c (machopic_output_possible_stub_label): Don't generate
669         stub routines for pseudo-stubs which we've just defined.
671 2002-01-03  Kazu Hirata  <kazu@hxi.com>
673         * builtins.c: Fix formatting.
674         * c-typeck.c: Likewise.
675         * combine.c: Likewise.
676         * expr.c: Likewise.
677         * loop.c: Likewise.
679 2002-01-03  Andreas Schwab  <schwab@suse.de>
681         * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
682         and return true if _cpp_push_next_buffer pushed a new include
683         file.
684         * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
685         _cpp_pop_file_buffer did not push a new file.
686         * cpphash.h (_cpp_pop_file_buffer): Update declaration.
688 2002-01-02  Eric Christopher  <echristo@redhat.com>
690         * final.c (final_scan_insn): Change 0 -> NULL_RTX in
691         FIND_REG_INC_NOTE call. Update copyright.
692         * loop.c (canonicalize_condition): Ditto.
693         * reorg.c (delete_scheduled_jump): Ditto.
695 2002-01-03  Kazu Hirata  <kazu@hxi.com>
697         * gcse.c: Fix formatting.
699 2002-01-03  Graham Stott  <grahams@redhat.com>
701         * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
702         forward defs for struct tags rtx_def, union_tree, rtvec_def
703         also output corresponding typedefs for rtx, tree, and rtvec.
705         * system.h: Move forward defs for struct tags rtx_def, union_tree,
706         rtvec_def along with corresponding typedefs for rtx, tree, and
707         rtvec to config.h, hconfig.h, tconfig.h.
709 2002-01-03  Graham Stott  <grahams@redhat.com>
711         * tree.h: Update copyright date.
712         (IS_EXPR_CODE_CLASS): Add parenthesis.
713         (TREE_SET_CODE): Add whitespace.
714         (TREE_CHECK): Add parenthesis.
715         (TREE_CLASS_CODE): Add parenthesis and wrap long line.
716         (CST_OR_CONSTRUCTOR_CHECK):
717         (EXPR_CHECK): Add parenthis, whitespace and wrap line.
718         (TREE_SYMBOL_REFERENCED): Whitespace.
719         (INT_CST_LT): Likewise.
720         (INT_CST_LT_UNSIGNED): Likewise.
721         (tree_real_cst): Unwrap comment.
722         (tree_string): Likewise.
723         (tree_complex): Likewise.
724         (IDENTIFIER_POINTER): correct cast.
725         (SAVE_EXPR_CONTEXT): Whitespace.
726         (EXPR_WFL_FILENAME_NODE): Likewise.
727         (EXPR_WFL_FILENAME): Remove parenthesis.
728         (DECL_ORIGIN): Add parenthesis.
729         (DECL_FROM_INLINE): Use NULL_TREE.
730         (build_int_2): Whitespace.
731         (build_type_variant): Add parenthesis.
733         * gcc/jcf-parse.c: Update copyright date.
734         (yyparse): Constify resource_filename.
736 2002-01-03  Graham Stott  <grahams@redhat.com>
738         * rtl.h: Update copyright date.
739         (RTL_CHECK1): Wrap long line.
740         (RTL_CHECK2): Likewise.
741         (RTL_CHECKC1): Wrap long line and whitespace.
742         (RTL_CHECKC2): Likewise.
743         (XWINT): Whitespace.
744         (XINT): Likewise.
745         (XSTR): Likewise.
746         (XEXP): Likewise.
747         (XVEC): Likewise.
748         (XMODE): Likewise.
749         (XBITMAP): Likewise.
750         (XTREE): Likewise.
751         (XBBDEF): Likewise.
752         (XTMPL): Likewise.
753         (X0WINT): Likewise.
754         (X0INT):Likewise.
755         (X0UINT): Likewise.
756         (X0STR): Likewise.
757         (X0EXP): Likewise.
758         (X0VEC): Likewise.
759         (X0MODE): Likewise.
760         (X0BITMAP): Likewise.
761         (X0TREE): Likewise.
762         (X0BBDEF): Likewise.
763         (X0ADVFLAGS): Likewise.
764         (X0CSELIB): Likewise.
765         (X0MEMATTR): Likewise.
766         (XCWINT): Likewise.
767         (XCINT): Likewise.
768         (XCUINT): Likewise.
769         (XCSTR): Likewise.
770         (XCEXP): Likewise.
771         (XCVEC): Likewise.
772         (XCMODE): Likewise.
773         (XCBITMAP): Likewise.
774         (XCTREE): Likewise.
775         (XCBBDEF): Likewise.
776         (XCADVFLAGS): Likewise.
777         (XCCSELIB): Likewise.
778         (XC2EXP): Likewise.
779         (INSN_UID): Likewise.
780         (PREV_INSN): Likewise.
781         (PATTERN): Likewise.
782         (INSN_CODE): Likewise.
783         (PUT_REG_NOTE_KIND): Likewise.
784         (CODE_LABEL_NUMBER): Likewise.
785         (NOTE_SOURCE_FILE): Likewise.
786         (NOTE_BLOCK): Likewise.
787         (NOTE_EH_HANDLER): Likewise.
788         (NOTE_RANGE_INFO): Likewise.
789         (NOTE_LIVE_INFO): Likewise.
790         (NOTE_BASIC_BLOCK): Likewise.
791         (NOTE_EXPECTED_VALUE): Likewise.
792         (NOTE_LINE_NUMBER): Likewise.
793         (LABEL_NAME): Likewise.
794         (LABEL_NUSES): Likewise.
795         (LABEL_ALTERNATE_NAME): Likewise.
796         (ADDRESSOF_DECL): Likewise.
797         (JUMP_LABEL): Likewise.
798         (LABEL_NEXTREF): Likewise.
799         (REGNO): Likewise.
800         (ORIGINAL_REGNO: Likewise.
801         (HARD_REGISTER_NUM_P): Add parenthesis.
802         (SUBREG_REG): Whitespace.
803         (SUBREG_BYTE): Likewise.
804         (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
805         (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
806         (ASM_OPERANDS_OUTPUT_IDX): Likewise.
807         (ASM_OPERANDS_INPUT_VEC): Likewise.
808         (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
809         (ASM_OPERANDS_INPUT): Likewise.
810         (ASM_OPERANDS_INPUT_LENGTH): Likewise.
811         (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
812         (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
813         (ASM_OPERANDS_INPUT_MODE): Likewise.
814         (ASM_OPERANDS_SOURCE_FILE): Likewise.
815         (ASM_OPERANDS_SOURCE_LINE): Likewise.
816         (MEM_SET_IN_STRUCT_P): Minor reformat.
817         (TRAP_CONDITION): Whitespace.
818         (TRAP_CODE): Likewise.
819         (COND_EXEC_TEST): Likewise.
820         (COND_EXEC_CODE): Likewise.
821         (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
822         (PHI_NODE_P): Add parenthesis.
823         (plus_constant): Whitespace and add parenthesis.
825 2002-01-03  Kazu Hirata  <kazu@hxi.com>
827         * config/avr/avr.c: Fix comment typos.
828         * config/c4x/c4x.md: Likewise.
829         * config/dsp16xx/dsp16xx.h: Likewise.
830         * config/dsp16xx/dsp16xx.md: Likewise.
831         * config/i386/i386.md: Likewise.
832         * config/ia64/ia64.c: Likewise.
833         * config/m32r/m32r.h: Likewise.
834         * config/m68hc11/m68hc11.md: Likewise.
835         * config/mmix/mmix.c: Likewise.
836         * config/mn10200/mn10200.c: Likewise.
837         * config/romp/romp.c: Likewise.
838         * config/sh/sh.c: Likewise.
839         * config/stormy16/stormy16.c: Likewise.
840         * config/stormy16/stormy16.h: Likewise.
841         * config/stormy16/stormy16.md: Likewise.
843 2002-01-03  Graham Stott  <grahams@redhat.com>
845         * loop.h: Update copyright date.
846         (LOOP_MOVABLES): Fix typo.
847         (LOOP_REGS): Likewise.
848         (LOOP_IVS): Likewise.
850 2002-01-03  Graham Stott  <grahams@redhat.com>
852         * cppinit.c: Update copyright date.
853         Don't include output.h
854         * Makefile.in: Update copyright date.
855         Update dependency.
857 2002-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
859         PR c/5226
860         * invoke.texi (-mthreads): Remove from documented RS/6000 options.
861         (-pthread) Add to RS/6000 options.
863 2002-01-02  Kazu Hirata  <kazu@hxi.com>
865         * except.c: Fix comment typos.
866         * loop.c: Likewise.
867         * varasm.c: Likewise.
868         * doc/tm.texi: Fix a typo.
870 2002-01-02  Jakub Jelinek  <jakub@redhat.com>
872         * c-typeck.c (output_init_element): Allow initializing static storage
873         duration objects with compound literals.
875 2002-01-02  Richard Henderson  <rth@redhat.com>
877         * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
878         after abusing it.
880 2002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
882         * gcc.c (default_compilers): Const-ify.
883         * mips-tdump.c (stab_names): Likewise.
884         * mips-tfile.c (map_coff_types, map_coff_storage,
885         map_coff_sym_type, map_coff_derived_type, stabs_symbol,
886         pseudo_ops_t, pseudo_ops): Likewise.
887         * protoize.c (default_include): Likewise
889         * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
890         (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
891         Add array size in declaration.
892         (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
893         emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
894         esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
895         etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
896         eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
897         efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
898         c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
899         emtens, make_nan): Const-ify.
900         (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
901         DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
903 2002-01-02  Joseph S. Myers  <jsm28@cam.ac.uk>
905         * config.gcc (ia64-*-*): Set extra_headers.
906         (alpha*-dec-osf*): Likewise.  Don't use alpha/t-osf.
907         * config/alpha/t-osf: Remove.
908         * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
910 2002-01-02  David Edelsohn  <edelsohn@gnu.org>
912         * config/rs6000/t-aix43: Revert previous change.
914 2002-01-02  Jason Merrill  <jason@redhat.com>
916         * c-decl.c (c_expand_body): Call outlining_inline_function when
917         emitting an inline function out of line.
919 2002-01-02  Richard Henderson  <rth@redhat.com>
921         * dwarf2out.c (limbo_die_node): Add created_for member.
922         (new_die): New argument created_for.  Update all callers.
923         (mark_limbo_die_list): New.
924         (dwarf2out_init): Register limbo_die_list as a root.
925         (dwarf2out_finish): Force insert limbo dies into their function
926         context.
928 2002-01-02  Nathan Sidwell  <nathan@codesourcery.com>
930         PR c++/5089
931         * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
933 2002-01-02  Kazu Hirata  <kazu@hxi.com>
935         * config/h8300/fixunssfsi.c: Update copyright.
936         Fix comment typos.
937         Fix formatting.
938         * config/h8300/h8300.c: Update copyright.
939         Eliminate warnings.
941 2002-01-02  Kazu Hirata  <kazu@hxi.com>
943         * config/romp/romp.c: Fix comment formatting.
944         * config/romp/romp.h: Likewise.
945         * config/romp/romp.md: Likewise.
946         * config/s390/s390.c: Likewise.
947         * config/stormy16/stormy16.c: Likewise.
948         * config/stormy16/stormy16.h: Likewise.
950 2002-01-02  Alexandre Oliva  <aoliva@redhat.com>
952         * c-common.h (genrtl_expr_stmt_value): Declare.
953         * c-semantics.c (genrtl_goto_stmt): Redirect to...
954         (genrtl_goto_stmt_value): ... this new function.  Pass new
955         argument down to expand_expr_stmt_value, taking
956         TREE_ADDRESSABLE into account.
957         * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
958         STMT_EXPR as addressable, i.e., one whose result we want.
959         * expr.c (expand_expr): Don't save expression statement value
960         of labeled_blocks or loop_exprs.
961         * stmt.c (expand_expr_stmt): Redirect to...
962         (expand_expr_stmt_value): ... this new function.  Use new
963         argument to tell whether to save expression value.
964         (expand_end_stmt_expr): Reset last_expr_type and
965         last_expr_value if we don't have either.
966         * tree-inline.c (declare_return_variable): Mark its use
967         statement as addressable.
968         * tree.h: Document new use of TREE_ADDRESSABLE.
969         (expand_expr_stmt_value): Declare.
971 2002-01-01  Tom Rix  <trix@redhat.com>
973         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
974         rs6000_emit_allocate_stack.
976 2002-01-01  Joseph S. Myers  <jsm28@cam.ac.uk>
978         * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
979         ${srcdir}/ginclude/ to every entry in extra_headers.
980         * configure: Regenerate.
981         * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
982         * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
983         * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
984         * ginclude/proto.h: Rename to config/convex/proto.h.
986 Tue Jan  1 17:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
988         * attribs.c (handle_vector_size_attribute): Use host_integerp
989         and tree_int_cst; remove warnings.
990         * caller-save.c (insert_restore): Add cast to get rid of warning.
991         (insert_save): Likewise.
992         * emit-rtl.c (adjust_address_1, offset_address): Likewise.
993         * regmove.c (find_matches): Add temporary var to kill a warning.
995 2002-01-01  Douglas B Rupp  <rupp@gnat.com>
997         * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
998         LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
999         * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
1000         (vms-dwarf2eh.o): Add Makefile rule.
1001         * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
1002         * config/alpha/vms-dwarf2eh.asm: New file.
1004         * gcc.c (delete_if_ordinary): Delete all versions.
1006 2002-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
1008         * config/mmix/mmix.md: Update FIXME to not mention
1009         define_constants.
1010         (MMIX_rJ_REGNUM): New define_constants constant.
1011         ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
1012         "*movdicc_real"): Adjust contraints formatting.
1013         ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
1014         for branch prediction.
1015         ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
1016         output template.
1017         ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
1018         "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
1019         number.  Delete related FIXMEs.
1020         * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
1021         from number to MMIX_rJ_REGNUM.
1022         (TARGET_MASK_BRANCH_PREDICT): New.
1023         (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
1024         (TARGET_SWITCHES): Update comment.  Correct -mno-toplevel-symbols
1025         value.  Add -mbranch-predict and -mno-branch-predict.
1026         (TARGET_VERSION): Drop date.
1027         (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
1028         * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
1029         for finding out global symbols.
1030         (mmix_asm_output_labelref): Revert condition for global symbol.
1031         (mmix_print_operand): <case '+'>: Emit P for a likely branch.
1032         (mmix_print_operand_punct_valid_p): A '+' is valid.
1034 See ChangeLog.6 for earlier changes.