Fix typo in date of most recent entry.
[official-gcc.git] / gcc / ChangeLog
blobca5ae30c9575c80fcb7783218ace283680417a2a
1 2002-02-03  Danny Smith <dannysmith@users.sourceforge.net>
3         * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
4         headers and libobjc headers.
6 2002-02-03  Mumit Khan  <khan@nanotech.wisc.edu>
8         * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
9         (_mingw.h): Remove duplicate include.
11 2002-02-03  Jason Thorpe  <thorpej@wasabisystems.com>
13         * config.gcc: Set cpu_type to m68k for 68010, as well.
14         (m68010-*-netbsdelf*): New...
15         (m68k*-*-netbsdelf*): ...targets.
16         * config/m68k/netbsd-elf.h: New file.
18 2002-02-02  Kazu Hirata  <kazu@hxi.com>
20         * config/h8300/h8300.c (hand_list): Move inside function_arg.
22 2002-02-02  Kazu Hirata  <kazu@hxi.com>
24         * config/h8300/h8300.c (h8_push_ops): Move inside
25         h8300_init_once.
26         (h8_pop_ops): Likewise.
27         (h8_move_ops): Likewise.
29 2002-02-02  Kazu Hirata  <kazu@hxi.com>
31         * config/h8300/h8300.c (os_task): Make it static.
32         (monitor): Likewise.
33         (pragma_saveall): Likewise.
35 2002-02-02  Alexandre Oliva  <aoliva@redhat.com>
37         * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
38         constant is a valid sign-extension for Pmode.
40 2002-02-02  Kazu Hirata  <kazu@hxi.com>
42         * config/h8300/h8300.c: Fix formatting.
44 2002-02-02  Kazu Hirata  <kazu@hxi.com>
46         * config/h8300/h8300.md: Fix formatting.
48 2002-02-02  Kazu Hirata  <kazu@hxi.com>
50         * config/h8300/h8300.md (one_cmpl patterns): Tighten the
51         predicates of operands[1].  Split the patterns for each
52         processor variant.
54 2002-02-02  Kazu Hirata  <kazu@hxi.com>
56         * config/h8300/h8300.md (xor patterns): Tighten the predicates
57         of operands[1] to register_operand.
59 2002-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
61         * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
62         * cpphash.c (_cpp_init_hashtable): Similarly.
63         * cppinit.c (cpp_create_reader): Default the signed_char flag.
64         (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
65         (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
66         (cpp_handle_option): Handle the new options.
67         * cpplex.c (cpp_interpret_charconst): Use new flag.
68         * cpplib.h (struct cpp_options): New member signed_char.
69         * gcc.c (cpp_unique_options): Remove %c spec and documentation.
70         (cpp_options): Handle -fsigned-char and -funsigned-char.
71         (static_specs): Remove signed_char_spec.
72         (do_spec1): Don't handle %c.
73         * system.h: Poison SIGNED_CHAR_SPEC.
74         * tradcif.y (yylex): Use flag_signed_char.
75         * tradcpp.h (flag_signed_char): New.
76         * tradcpp.c (flag_signed_char): New.
77         (main): Handle new command-line options.
78         (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
79 config:
80         * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
81         * avr/avr.h: Remove old comments.
82         * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
83         (CC1_SPEC): Pass -fsigned-char if -mic*.
84         (SIGNED_CHAR_SPEC): Remove.
85 doc:
86         * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
88 2002-02-01  Eric Christopher  <echristo@redhat.com>
90         From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
91         * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
92         * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
93         (ASM_OUTPUT_REG_POP): Ditto.
95 2002-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
97         * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
98         patch.
100 2002-02-02  Jakub Jelinek  <jakub@redhat.com>
102         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
104 2002-02-02  Jakub Jelinek  <jakub@redhat.com>
106         PR c/5304:
107         * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
108         unconditionally.
110 2002-02-01  Janis Johnson  <janis187@us.ibm.com>
112         * cfganal.c: Include tm_p.h.
113         (keep_with_call_p): Fix the test that determines if a register holds
114         the return value of a call.
116 2002-02-01  DJ Delorie  <dj@redhat.com>
118         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
119         we are given conflicting registers, switch to the other one we
120         had allocated for us.
121         * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
122         as TImode so we know when the "other" register is available.
124 2002-02-01  David O'Brien  <obrien@FreeBSD.org>
126         * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
127         sparc/sparc_bi.h.
129 2002-02-01  Janis Johnson  <janis187@us.ibm.com>
131         * cfganal.c (keep_with_call_p): New function.
132         (flow_call_edges_add): Prevent splitting a block between a call and
133         a single-set instruction that should be kept in the same block.
135 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
137         * doc/install.texi (avr): Update outdated URL.
139 2002-01-30  Andrew Haley  <aph@cambridge.redhat.com>
141         * config/stormy16/stormy16.md (pushqi): New.
142         (popqi): New.
143         (pushhi): New.
144         (pophi): New.
145         (movhi): Remove stack operands.
146         (movqi): Likewise.
147         * config/stormy16/stormy16.h (PREDICATE_CODES): Add
148         nonimmediate_nonstack_operand.
149         * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
150         New.
151         * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
152         New.
154 2002-01-31  Jason Merrill  <jason@redhat.com>
156         * Makefile.in (c-parse.c): Handle .output file.
157         * objc/Make-lang.in (objc-parse.c): Likewise.
159 2002-02-01  Alexandre Oliva  <aoliva@redhat.com>
161         * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
162         the -me[lb] option is given.  Don't output the default flag
163         twice.
165 2002-01-31  Zack Weinberg  <zack@codesourcery.com>
167         * c-lex.c (yyparse): Call debug_hooks->start_source_file for
168         the primary source file; this has not been done yet.
169         * c-decl.c (c_expand_body): Reset input_filename from
170         DECL_SOURCE_FILE (fndecl) before calling init_function_start.
172 2002-01-31  Kazu Hirata  <kazu@hxi.com>
174         * rtlanal.c (subreg_regno_offset): Do not use
175         SUBREG_REGNO_OFFSET.
176         * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
177         * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
179 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
181         * gccbug.in: Follow GNU Coding Standards for --version.  Use GCC
182         version rather than GNATS version in --version output.
184 2002-01-31  Richard Sandiford  <rsandifo@redhat.com>
186         * ifcvt.c (noce_process_if_block): Make a copy of the destination
187         when copying back from a temporary.
189 2002-01-30  Richard Henderson  <rth@redhat.com>
191         * ifcvt.c (dead_or_predicable): Handling merging when other_bb
192         and new_dest are the same.
194 2002-01-30  Richard Henderson  <rth@redhat.com>
196         PR opt/5076
197         * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
198         * rtl.c (note_insn_name): Update.
199         * emit-rtl.c (remove_unnecessary_notes): Kill it.
200         * stmt.c (expand_end_loop): Kill jump opt code.  Use LOOP_END_TOP_COND
201         to perform loop rotation.
202         (expand_exit_loop_top_cond): New.
203         * tree.h (expand_exit_loop_top_cond): Declare it.
204         * c-semantics.c (genrtl_while_stmt): Use it.
205         (genrtl_for_stmt): Likewise.
207 2002-01-30  Alexandre Oliva  <aoliva@redhat.com>
209         * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
210         arguments to 64-bit boundaries on 64-bit ABIs.
212 2002-01-30  Steve Ellcey  <sje@cup.hp.com>
214         * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
216 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
218         * c-decl.c (grokdeclarator): Handle type being a typedef for an
219         invalid type.
221 2002-01-30  David O'Brien  <obrien@FreeBSD.org>
223         * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
224         * config/sparc/sparc_bi.h: Remove file.
225         * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
227 2002-01-30  Richard Henderson  <rth@redhat.com>
229         * sched-deps.c (sched_analyze): Make a call read the frame pointer.
231 2002-01-30  Zack Weinberg  <zack@codesourcery.com>
233         * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
235 2002-01-30  Jason Merrill  <jason@redhat.com>
237         * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
238         (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
239         (reg_save): Use DW_CFA_offset_extended_sf instead.
241         * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
243 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
245         * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
246         in cselib_lookup.
248 2002-01-29  Aldy Hernandez  <aldyh@redhat.com>
250         * rs6000.md ("*call_value_local32"): Remove constraints.
251         ("*call_value_local64"): Same.
252         ("*call_value_indirect_nonlocal_aix32"): Same.
253         ("*call_value_nonlocal_aix32"): Same.
254         ("*call_value_indirect_nonlocal_aix64"): Same.
255         ("*call_value_nonlocal_aix64"): Same.
256         ("*call_value_nonlocal_sysv"): Same.
258 2002-01-29  Richard Henderson  <rth@redhat.com>
260         * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
262 2002-01-29  Richard Henderson  <rth@redhat.com>
264         * expr.c (force_operand): Ignore flag_pic for detecting pic
265         address loads.
266         * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
267         for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
268         * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
269         instead of open-coded loop.
270         * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
271         be fixed when in use.
273 2002-01-29  Richard Henderson  <rth@redhat.com>
275         * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
276         * sched-rgn.c (propagate_deps): Update them.
277         * sched-deps.c (sched_analyze_insn): Update them.  Flush the
278         clobbers list when either gets too long.
280 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
282         * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
283         and INDEX_REGS the same as GENERAL_REGS.
284         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
286 2002-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
288         * tree.c (build_nonstandard_integer_type): Correct prototype.
290 2002-01-29  Ulrich Weigand  <uweigand@de.ibm.com>
292         * config/s390/s390.md (movstrsico, movstrdix_64,
293         movstrsix_31): Remove, replace by ...
294         (movstrdi_short, movstrsi_short, movstrdi_long,
295         movstrsi_long): ... these.  New.
296         (movstrdi, movstrsi): Adapt.
298         (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
299         ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
300         Remove unnecessary CC clobber.
301         (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
302         *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
304         (divmoddi4): Don't partially initialize TImode register.
306 2002-01-29  Geoffrey Keating  <geoffk@redhat.com>
308         * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
310 2002-01-29  Richard Henderson  <rth@redhat.com>
312         * flow.c (print_rtl_and_abort): Remove.
313         (print_rtl_and_abort_fcn): Remove.
314         (verify_local_live_at_start): Use dump_bb instead.
315         (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
316         (verify_wide_reg_1): Return 2 on mode test failure.
318 2002-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
320         PR c/3325, c/3326, c/2511, c/3347
321         * c-decl.c (enum_decl_context): Remove BITFIELD.
322         (grokdeclarator): Take bitfield width as an input.
323         Ensure bitfields are given the correct type.  Perform
324         bitfield width validation with build_bitfield_integer_type
325         rather than waiting for finish_struct.
326         (grok_typename, grok_typename_in_parm_context, start_decl,
327         push_parmdecl, grokfield, start_function): Update calls to
328         grokdeclarator.
329         (build_bitfield_integer_type): New function.
330         (finish_struct): Move bitfield validation to grokdeclarator
331         and build_bitfield_integer_type.
332         * tree.c (build_nonstandard_integer_type): New function.
333         * tree.h (build_nonstandard_integer_type): New prototype.
334 objc:
335         * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
337 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
339         PR other/1502:
340         * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
341         don't ignore unrecognized -W* options.
342         (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
343         * cpplib.h (cpp_handle_option): Adjust prototype.
344         * c-decl.c (c_decode_options): Pass 0 as last argument to
345         cpp_handle_option.
347         PR c/2896:
348         * gcc.c (cpp_unique_options): Split from cpp_options.
349         (cpp_options): Source cpp_unique_options.
350         (default_compilers): Use cpp_unique_options instead of cpp_options
351         when used together with cc1_options.
352         (static_specs): Add cpp_unique_options.
353         * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
354         when used together with cc1_options.
356 2002-01-29  Kazu Hirata  <kazu@hxi.com>
358         * config/h8300/h8300-protos.h: Update the prototype of
359         output_a_shift.
360         * config/h8300/h8300.c (output_a_shift): Remove an unused
361         argument 'insn'.  Remove redundant code.
362         * config/h8300/h8300.md: Adust to the new prototype of
363         output_a_shift.
365 2002-01-29  Kazu Hirata  <kazu@hxi.com>
367         * config/h8300/h8300-protos.h: Update the prototypes of
368         emit_a_rotate and expand_a_rotate.
369         * config/h8300/h8300.c (emit_a_rotate): Change the type of the
370         first argument to 'enum rtx_code'.
371         (expand_a_rotate): Likewise.
373 2002-01-28  Kazu Hirata  <kazu@hxi.com>
375         * config/h8300/h8300-protos.h: Update the prototype of
376         output_simode_bld.
377         * config/h8300/h8300.c (output_simode_bld): Remove an argumen
378         'log2'.
379         * config/h8300/h8300.md: Adjust to the new prototype.
381 2002-01-28  Kazu Hirata  <kazu@hxi.com>
383         * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
384         redundant code.
386 2002-01-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
388         * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
389         is a fixed register before returning pic_offset_table_rtx.
390         * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
391         when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
393 2002-01-28  Jason Merrill  <jason@redhat.com>
395         * dwarf2.h: Sync with src version.
397 2002-01-28  Paul Koning  <pkoning@equallogic.com>
399         * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
400         BT_FN_VOID_PTR_VAR.
401         * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
402         * doc/extend.texi (__builtin_prefetch): Update documentation:
403         first argument is now const void ptr.
405 2002-01-28  Kazu Hirata  <kazu@hxi.com>
407         * config/h8300/h8300-protos.h: Remove an unused prototype.
409 2002-01-28  Roman Zippel  <zippel@linux-m68k.org>
411         * toplev.c (lang_independent_init): Round up identifier size.
413 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
415         * config.gcc: Revert previous change.
417 2002-01-28  Andris Pavenis  <pavenis@latnet.lv>
419         * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
421 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
423         * config.gcc (*-*-netbsdelf*): Set up generic parameters.
424         (*-*-netbsd*): Always use collect2.  Remove collect2 settings from
425         other non-elf netbsd config frags.
426         * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
427         collect2 will does that.
428         * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
429         shared-lib frobbing will work.
431 2002-01-28  Kazu Hirata  <kazu@hxi.com>
433         * config/h8300/h8300.h: Fix formatting.
434         * config/h8300/h8300.md: Likewise.
436 2002-01-28  Loren J. Rittle  <ljrittle@acm.org>
438         * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
439         the old, removed AAA_standards fix.
440         * fixinc/fixincl.x: Rebuilt.
442 2002-01-28  Hans-Peter Nilsson  <hp@axis.com>
444         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
445         atexit call in crtbegin, hooked in after call to frame_dummy;
446         register EH before registering __fini__start.
448 2002-01-28  Aldy Hernandez  <aldyh@redhat.com>
450         * config/rs6000/altivec.h: Remove spurious semicolons.
452 2002-01-27  Kazu Hirata  <kazu@hxi.com>
454         * config/h8300/h8300.md: Replace dead bit extraction patterns
455         with ones that work.
457 Sun Jan 27 13:23:40 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
459         * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
460         if not STRICT_ALIGNMENT.
461         * rtl.h (MEM_ALIGN): Likewise.
463 2002-01-27  Craig Rodrigues  <rodrigc@gcc.gnu.org>
465         * doc/invoke.texi (-fdump-translation-unit): Revert this
466         patch: 2001-10-21  Craig Rodrigues  <rodrigc@gcc.gnu.org>
468 2002-01-27  Kazu Hirata  <kazu@hxi.com>
470         * config/h8300/h8300.md (define_constants): New.
471         (anonymous patterns) Use defined constants appropriately.
473 2002-01-27  Kazu Hirata  <kazu@hxi.com>
475         * config/h8300/h8300.c (function_arg): Remove redundant code.
477 2002-01-26  Richard Henderson  <rth@redhat.com>
479         * sched-deps.c (reg_pending_uses_head): New.
480         (reg_pending_barrier): Rename from reg_pending_sets_all.
481         (find_insn_list): Don't mark inline.
482         (find_insn_mem_list): Remove.
483         (add_dependence_list, add_dependence_list_and_free): New.
484         (flush_pending_lists): Replace only_write param with separate
485         for_read and for_write parameters.  Update all callers.  Use
486         add_dependence_list_and_free.
487         (sched_analyze_1): Do not add reg dependencies here; just set
488         the pending bits.  Use add_dependence_list.
489         (sched_analyze_2): Likewise.
490         (sched_analyze_insn): Replace schedule_barrier_found with
491         reg_pending_barrier.  Add all dependencies for pending reg
492         uses, sets, and clobbers.
493         (sched_analyze): Don't add reg dependencies for calls, just
494         set pending bits.  Use regs_invalidated_by_call.  Treat
495         sched_before_next_call as a normal list, not a fake insn.
496         (init_deps): No funny init for sched_before_next_call.
497         (free_deps): Free pending mems lists.  Don't zero reg_last.
498         (init_deps_global): Init reg_pending_uses.
499         (finish_deps_global): Free it.
500         * sched-int.h (deps): Make in_post_call_group_p boolean.  Update docs.
501         (find_insn_mem_list): Remove.
502         * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
503         (propagate_deps): Use them.  Zero temp mem lists.
505 2002-01-26  Richard Henderson  <rth@redhat.com>
507         * Makefile.in (CRTSTUFF_CFLAGS): New.
508         (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
509         * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
510         crtstuff.c instead of alpha assembly version.
511         * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
512         entire dummy function sequence.  Use FORCE_CODE_SECTION_ALIGN
513         not FORCE_{INIT,FINI}_SECTION_ALIGN.
514         (__do_global_dtors_aux): Mark used.
515         (frame_dummy, __do_global_ctors_aux): Mark used.
516         (fini_dummy, init_dummy): Remove.
518         * config/alpha/crtbegin.asm: Remove file.
519         * config/alpha/crtend.asm: Remove file.
520         * config/alpha/t-crtbe: Remove file.
521         * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
522         (LINK_EH_SPEC): New.
524         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
525         FORCE_INIT_SECTION_ALIGN hack.  Register __fini_start before
526         calling constructors.
527         * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
529         * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
530         * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
531         CRT_END_INIT_DUMMY hack.
532         * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
533         FORCE_{INIT,FINI}_SECTION_ALIGN.
535         * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
536         FORCE_{INIT,FINI}_SECTION_ALIGN.
538         * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
539         invocation sequence.
540         * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
542         * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
543         (FORCE_CODE_SECTION_ALIGN): New.
545 2002-01-26  Richard Henderson  <rth@redhat.com>
547         * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
549 2002-01-26  Richard Henderson  <rth@redhat.com>
551         * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
552         (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
554 2002-01-26  Kazu Hirata  <kazu@hxi.com>
556         * config/h8300/h8300.md: Remove bit extraction patterns that
557         cannot be triggered.
558         Restrict each bit extraction pattern to a variant on which the
559         pattern is tested.
561 2002-01-26  Joseph S. Myers  <jsm28@cam.ac.uk>
563         * doc/include/texinfo.tex: Update to version 2002-01-04.07.
565 2002-01-26  Kazu Hirata  <kazu@hxi.com>
567         * config/h8300/h8300.md: Remove bit test patterns that cannot
568         be triggered.
569         Restrict each bit test pattern to a variant on which the
570         pattern is tested.
572 2002-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
574         * builtins.c (expand_builtin_strncat): Remove redundant check for
575         INTEGER_CST.
577 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
579         * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
580         default setting.
581         * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
582         existing setting.
584 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
586         * dbxout.c (dbxout_init): Use assemble_name rather than just
587         stripping off the first character.
588         (dbxout_source_file): Likewise.
590 2002-01-25  DJ Delorie  <dj@redhat.com>
592         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
593         using rtx_equal_p, not by comparing pointers.
595 2002-01-25  Steve Ellcey  <sje@cup.hp.com>
597         * emit-rtl.c (gen_rtx_REG): Always return the same rtx
598         for PIC_OFFSET_TABLE_REGNUM.
599         (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
601 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
603         * config.gcc (x86_64-*-freebsd*): New target.
604         (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
605         value.
606         (i[34567]86-*-freebsd*): Don't include svr4.h.
607         * config/i386/freebsd64.h: New file.
609 2002-01-25  Douglas B Rupp  <rupp@gnat.com>
611         * config/alpha/x-vms (version): Make static.
613         * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
614         in previous checkin.
616         * Makefile.in (install-headers-cp): New target.
617         * config.gcc (alpha-dec-*vms*): Install headers with
618         install-headers-cp
620 Fri Jan 25 22:42:49 CET 2002  Jan Hubicka  <jh@suse.cz>
622         * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
623         avoid it's copies.
625 Fri Jan 25 08:26:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
627         * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
628         of compare_tree_int.
629         (expand_builtin_strncat): Likewise.
630         * c-decl.c (finish_struct): Use tree_low_cst.
631         * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
632         * tree.c (compare_tree_int): Likewise.
634 2002-01-25  Ulrich Weigand  <uweigand@de.ibm.com>
636         * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
637         adjustments even if they are implemented by more than two insns.
639 Fri Jan 25 20:43:56 CET 2002  Jan Hubicka  <jh@suse.cz>
641         * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
642         * df.h (struct ref): Kill B.
643         (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
645         * basic-block.h (PROP_EQUAL_NOTES): New flag.
646         * flow.c (propagate_one_insn): Use it.
647         (mark_used_regs): Handle NIL.
649 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
651         * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
652         to help folding.
654 2002-01-25  David Edelsohn  <edelsohn@gnu.org>
656         * rs6000.md (prefetch): Make address V4SI mode so that the address
657         is restricted to legitimate form for instruction.
659 2002-01-25  Bob Wilson  <bob.wilson@acm.org>
661         * doc/install.texi (xtensa-*-elf): New target.
662         (xtensa-*-linux*): New target.
663         * doc/contrib.texi: Add myself.
665 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
667         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
668         purpose register to hold an SImode (or smaller) value.
670 2002-01-25  Jakub Jelinek  <jakub@redhat.com>
672         * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
673         registry only.
674         * crtstuff.c: Likewise.
676 2002-01-25  Kazu Hirata  <kazu@hxi.com>
678         * config/h8300/h8300.md (negation patterns): Tighten
679         predicates to register_operand.
681 2002-01-24  Aldy Hernandez  <aldyh@redhat.com>
683         * loop.c (emit_prefetch_instructions): Use the prefetch insn's
684         mode, not Pmode.
686         * builtins.c (expand_builtin_prefetch): Same.
688 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
690         * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
691         modes.
693 2002-01-24  Kazu Hirata  <kazu@hxi.com>
695         * config/h8300/h8300.c (print_operand): Remove support for
696         operand character 'A'.
697         * config/h8300/h8300.md (three anonymous patterns): Replace
698         operand character 'A' with either 'T' or 'S'.
700 2002-01-24  Kazu Hirata  <kazu@hxi.com>
702         * config/h8300/h8300.c (print_operand): Remove support for
703         operand character 'U'.
705 2002-01-24  Andris Pavenis  <pavenis@latnet.lv>
707         * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
709 2002-01-24  Nick Clifton  <nickc@cambridge.redhat.com>
711         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
712         values to be assigned to the stack pointer.
714 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
716         * emit_rtl.c (gen_lowpart_common): Conversion from const_int
717         to const_double needs to be done right for big-endian systems.
719 2002-01-24  Jason Merrill  <jason@redhat.com>
721         PR c++/2432
722         * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
723         to can_throw_internal.
725 2002-01-23  Richard Henderson  <rth@redhat.com>
727         * fold-const.c (fold): Change UINT_MAX test to check vs precision
728         rather than TYPE_MAX_VALUE.  Fix indentation and a bogus negation.
730 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
732         * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
733         (symGOT2reg): Use them, then set as GOT value as unchanging.
734         (symGOTOFF2reg): Set REG_EQUAL note.  Use a different pseudo
735         as a temporary, if possible.
736         (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC.  Emit
737         sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
739 2002-01-23  Kazu Hirata  <kazu@hxi.com>
741         * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
742         accept to accept 0x80 as operands[2].
744 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
746         * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
748 2002-01-23  Richard Henderson  <rth@redhat.com>
750         * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
752 2002-01-23  Aldy Hernandez  <aldyh@redhat.com>
754         * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
755         (parmlist_or_identifiers_1): Verify that only a parmlist follows
756         an attribute.
758 2002-01-23  Richard Henderson  <rth@redhat.com>
760         * expr.c (move_by_pieces_1): Extend size before negation.
762         * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
763         (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
764         (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
765         * config/m68k/t-m68kelf: Likewise.
767 2002-01-23  Bob Wilson  <bob.wilson@acm.org>
769         * config/xtensa/elf.h: New file.
770         * config/xtensa/lib1funcs.asm: New file.
771         * config/xtensa/lib2funcs.S: New file.
772         * config/xtensa/linux.h: New file.
773         * config/xtensa/t-xtensa: New file.
774         * config/xtensa/xtensa-config.h: New file.
775         * config/xtensa/xtensa-protos.h: New file.
776         * config/xtensa/xtensa.c: New file.
777         * config/xtensa/xtensa.h: New file.
778         * config/xtensa/xtensa.md: New file.
779         * config.gcc (xtensa-*-elf*): New target.
780         (xtensa-*-linux*): New target.
781         * cse.c (canon_hash): Compare rtx pointers instead of register
782         numbers.  This is required for the Xtensa port.
783         * integrate.c (copy_insn_list): Handle case where the static
784         chain is in memory and the memory address has to be copied to
785         a register.
786         * doc/invoke.texi (Option Summary): Add Xtensa options.
787         (Xtensa Options): New node.
788         * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
790 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
792         * diagnostic.c (internal_error): Do ICE suppression only
793         when ENABLE_CHECKING is not defined.
795         * c-typeck.c (require_complete_type): Return error_mark_node
796         if type is error_mark_node.
798 2002-01-23  Janis Johnson  <janis187@us.ibm.com>
800         * toplev.c (process_options): Disable -fprefetch-loop-arrays with
801         -Os and issue a warning.
803 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
805         * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
806         current (lack of) need for host configuration by hand.
808         * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
809         references.  Documentation of some target macros moved from
810         hostconfig.texi to tm.texi.
812 2002-01-23  Will Cohen  <wcohen@redhat.com>
814         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
815         defined.
817 2002-01-23  Kazu Hirata  <kazu@hxi.com>
819         * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
820         operand[3].
822 2002-01-23  Jason Merrill  <jason@redhat.com>
824         * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
826         * function.c (assign_parms): Don't put args of inline functions
827         into registers when not optimizing.
829 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
831         * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
832         (prologue_use): New pattern.
833         * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
834         preference to gen_rtx_USE.
835         (thumb_expand_prologue): Use gen_prologue_use in preference to
836         gen_rtx_USE.
837         (thumb_expand_epilogue): Use gen_prologue_use in preference to
838         gen_rtx_USE.
840 2002-01-23  Hans-Peter Nilsson  <hp@bitrange.com>
842         * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
844 2002-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
846         PR c/3504
847         * doc/extend.texi: Correct documentation of __alignof__.
849 2002-01-22  Zack Weinberg  <zack@codesourcery.com>
851         * params.h: Rename arguments of DEFPARAM so that it will be
852         recognized as a translation keyword.
854 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
856         * extend.texi: Document altivec functions.
857         Fix N-bit adjectives in X86 builtin documentation.
859 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
861         * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
862         auto_inc_dec values.
864 2002-01-22  Richard Earnshaw  <rearnsha@arm.com>
866         * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
867         after backslash.
868         (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
870 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
872         * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
874 2002-01-22  Richard Henderson  <rth@redhat.com>
876         * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
877         copy_insn not copy_rtx.
879 2002-01-23  Alan Modra  <amodra@bigpond.net.au>
881         * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
882         "nonzero" as that might add "1" bits.  Ensure "constop" is
883         properly sign extened.
884         (force_to_mode): Tweak for sign extended constop.
886 2002-01-22  Richard Henderson  <rth@redhat.com>
888         * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
889         for_each_rtx instead of assuming we're already looking at the MEM.
890         (split_small_symbolic_mem_operand): Likewise.
891         * config/alpha/alpha.h (PREDICATE_CODES): Update.
892         * config/alpha/alpha.md (small symbolic memory splitters): Update.
894 2002-01-22  Richard Henderson  <rth@redhat.com>
896         * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
897         sequence number for the literal.
898         (divmoddi_internal_er): Likewise.
900 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
902         PR java/4972
903         * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
904         in LIBICONV variable.
905         * configure: Regenerated.
907 2002-01-22  Krister Walfridsson  <cato@df.lth.se>
909         * dependence.c (build_def_use): Remove array_idx.
911         * dwarfout.c (last_filename): Remove.
912         (output_compile_unit_die): Remove last_filename.
914 2002-01-22  Roger Sayle  <roger@eyesopen.com>
915             Richard Henderson  <rth@redhat.com>
917         PR opt/3640
918         * fold-const.c (fold): Optimize unsigned comparisons against
919         UINT_MAX (and similar unsigned constants).
921 2002-01-22  Janis Johnson  <janis187@us.ibm.com>
923         * Makefile.in (loop.o): Depend on OPTABS_H.
924         * loop.c (emit_prefetch_instructions): Check the prefetch operand
925         against the predicate.
927         PR target/5379
928         * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
929         for the address operand.
931 2002-01-22  Richard Henderson  <rth@redhat.com>
933         * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
935 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
937         PR other/5450
938         * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
939         preprocessor flags.
941 2002-01-22  Jason Thorpe  <thorpej@wasabisystems.com>
943         * config.gcc (x86_64-*-netbsd*): New target.
944         * config/i386/netbsd64.h: New file.
946 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
948         * regrename.c (kill_value): Fix typo.
950 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
952         * doc/tm.texi: Remove STARTING_FRAME_PHASE.
954         * config/rs6000/rs6000.h: Same.
956         * function.c (instantiate_virtual_regs): Remove
957         STARTING_FRAME_PHASE.
958         (assign_stack_local_1): Same.
959         Calculate frame phase.
961 2002-01-22  Nick Clifton  <nickc@redhat.com>
963         * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
964         variable declaration to outer scope in order to simplify
965         future extensions.
966         (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
967         arm_hard_regno_mode_ok.
968         * config/arm/arm-protos.h: Add a prototype for
969         arm_hard_regno_mode_ok.
970         * config/arm/arm.c (soft_df_operand): Remove now redundant
971         check for DImode values using IP_REGNUM.
972         (nonimmediate_soft_df_operand): Remove now redundant check for
973         DImode values using IP_REGNUM.
974         (arm_hard_regno_mode_ok): New function. New check: make sure
975         that DImode values are not stored in IP_REGNUM.
977         * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
978         note with a USE.
979         (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
981 2002-01-22  Jason Merrill  <jason@redhat.com>
983         * c-semantics.c (genrtl_compound_stmt): Only check nesting
984         consistency if this COMPOUND_STMT is scoped.
986 2002-01-22  Kazu Hirata  <kazu@hxi.com>
988         * predict.c: Fix formatting.
989         * print-tree.c: Likewise.
990         * protoize.c: Likewise.
991         * real.h: Likewise.
992         * rtl.h: Likewise.
993         * sbitmap.h: Likewise.
994         * scan.c: Likewise.
995         * sched-deps.c: Likewise.
996         * sched-vis.c: Likewise.
997         * sdbout.c: Likewise.
998         * sibcall.c: Likewise.
999         * ssa.c: Likewise.
1000         * ssa-ccp.c: Likewise.
1001         * ssa-dce.c: Likewise.
1002         * stmt.c: Likewise.
1003         * stor-layout.c: Likewise.
1004         * system.h: Likewise.
1006 Tue Jan 22 06:26:33 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1008         * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
1009         if fits in bounds of base type.
1011         * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
1012         (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
1013         (add_bound_info, default): If can't find a context, make a
1014         SAVE_EXPR.
1015         (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
1017 2002-01-22  Hans-Peter Nilsson  <hp@axis.com>
1019         * c-typeck.c (parser_build_binary_op): If result from
1020         build_binary_op is ERROR_MARK just return error_mark_node without
1021         further processing.
1023 2002-01-21  Jason Thorpe  <thorpej@wasabisystems.com>
1025         * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
1026         Split a.out-specific bits into...
1027         * config/netbsd-aout.h: ...this.
1028         * config/netbsd-elf.h: New file.
1029         * config/alpha/netbsd-elf.h: Remove.
1030         * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
1031         * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
1032         (STARTFILE_SPEC): Remove redundant definition.
1033         (ENDFILE_SPEC): Likewise.
1034         (LINK_SPEC): Likewise.
1035         (CPP_SPEC): Likewise.
1036         (ASM_SPEC): Likewise.
1037         (LIB_SPEC): Likewise.
1038         (SWITCH_TAKES_ARG): Likewise.
1039         (TARGET_MEM_FUNCTIONS): Likewise.
1040         (CPP_PREDEFINES): Redefine.
1041         (ASM_FINAL_SPEC): Remove redefinition.
1042         (ASM_COMMENT_START): Redefine.
1043         (FUNCTION_PROFILER): Define.
1044         (TARGET_VERSION): Redefine.
1045         Comment and formatting cleanup.
1046         * config/i386/netbsd.h: Include <netbsd-aout.h>.
1047         * config/m68k/netbsd.h: Include <netbsd-aout.h>.
1048         * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
1049         big- or little-endian.
1050         * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
1051         * config.gcc (*-*-netbsd*): Add definitions common to all
1052         NetBSD configs.
1053         (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
1054         gnu_ld definitions.  Add netbsd-elf.h to and remove
1055         alpha/netbsd-elf.h from tm_file.  Remove alpha/t-crtfm from
1056         tmake_file, and don't lose previous tmake_file contents.
1057         (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
1058         (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
1059         gnu_ld definitions.  Add netbsd-elf.h to tm_file.
1060         (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
1061         (mipsel-*-netbsd*): Rename this to...
1062         (mips*-*-netbsd*): ...this.  Add elfos.h to tm_file.  Add
1063         mips/little.h to tm_file for mips*el-*.
1064         (powerpc-*-netbsd*): Remove redundant xm_defines definition.
1065         (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
1066         (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
1068 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1070         * pa-protos.h (reg_before_reload_operand): New function prototype.
1071         * pa.c (reg_before_reload_operand): New function implementation.
1072         * pa.md (decrement_and_branch_until_zero, movb): Use it.  Change "!*m"
1073         contraints to "*m".
1075 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1077         * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
1079 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1081         * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
1082         (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
1083         (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
1084         (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
1085         (ENDFILE_SPEC): Undefine.
1086         (STARTFILE_SPEC): Redefine for PA.
1088 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1090         * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
1092 2002-01-21  Daniel Jacobowitz  <drow@mvista.com>
1094         * config.gcc: Add entries to supported PowerPC --with-cpu
1095         types.
1097 2002-01-21  Jakub Jelinek  <jakub@redhat.com>
1099         * config/i386/i386.c (ix86_function_arg_regno_p): Never return
1100         true for 64-bit mode only SSE registers in 32-bit mode.
1102 2002-01-21  Kazu Hirata  <kazu@hxi.com>
1104         * unwind-dw2.c: Fix formatting.
1105         * unwind-dw2-fde.c: Likewise.
1106         * unwind-dw2-fde.h: Likewise.
1107         * unwind-pe.h: Likewise.
1108         * varasm.c: Likewise.
1109         * varray.h: Likewise.
1111 2002-01-21  Hans-Peter Nilsson  <hp@bitrange.com>
1113         Remove workaround for register stack overwrite bug in mmix.
1114         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
1115         support for TARGET_REG_STACK_FILL_BUG.
1116         * config/mmix/mmix.h: Remove member has_call_without_parameters.
1117         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
1118         Delete.
1119         (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
1120         (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
1121         -mno-reg-stack-fill-bug-workaround.
1122         * config/mmix/mmix.md ("call", "call_value"): Don't set struct
1123         machine member has_call_without_parameters.
1124         * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
1125         -mreg-stack-fill-bug-workaround and
1126         -mno-reg-stack-fill-bug-workaround.
1127         (MMIX Options): Ditto.
1129 2002-01-21  Kazu Hirata  <kazu@hxi.com>
1131         * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
1132         as appropriate.
1133         Remove redundant code.
1135 2002-01-21  Joseph S. Myers  <jsm28@cam.ac.uk>
1137         * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
1138         config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
1139         config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
1140         config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
1141         config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
1142         out target macro definitions and non-target-specific comments
1143         mostly taken from old versions of the manual.
1145 2002-01-20  Kazu Hirata  <kazu@hxi.com>
1147         * config/h8300/h8300.h: Fix comment formatting.
1148         * config/ia64/aix.h: Likewise.
1149         * config/ia64/ia64-protos.h: Likewise.
1150         * config/ia64/ia64.c: Likewise.
1151         * config/ia64/ia64.h: Likewise.
1152         * config/ia64/ia64intrin.h: Likewise.
1153         * config/ia64/linux.h: Likewise.
1154         * config/ia64/unwind-aix.c: Likewise.
1155         * config/ia64/unwind-ia64.c: Likewise.
1157 2002-01-20  Kazu Hirata  <kazu@hxi.com>
1159         * config/h8300/h8300.c: Revise comments about shift code.
1161 2002-01-20  Kazu Hirata  <kazu@hxi.com>
1163         * config/h8300/h8300.c (function_arg): Update a comment.
1165 2002-01-20  Kazu Hirata  <kazu@hxi.com>
1167         * config/h8300/h8300.md: Update the comments at the beginning
1168         of the file.
1170 2002-01-20  Kazu Hirata  <kazu@hxi.com>
1172         * config/i370/i370.c: Fix comment formatting.
1173         * config/i370/i370.h: Likewise.
1174         * config/i370/i370.md: Likewise.
1175         * config/i370/linux.h: Likewise.
1177 Sun Jan 20 18:40:14 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1179         * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
1181         * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
1182         (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
1183         in incomplete case.
1185 2002-01-20  Graham Stott  <grahams@redhat.com>
1187         * cfgloop.c (flow_loop_preheader_scan): Fix typo.
1189 2002-01-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1191         * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
1193 2002-01-19  Tom Rix  <trix@redhat.com>
1195         * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
1197 2002-01-18  Aldy Hernandez  <aldyh@redhat.com>
1199         * doc/tm.texi (STARTING_FRAME_PHASE): Document.
1201         * function.c (assign_stack_local_1): Adjust x_frame_offset with
1202         STARTING_FRAME_PHASE.
1203         (STARTING_FRAME_PHASE): New.
1204         (instantiate_virtual_regs): Check saneness of
1205         STARTING_FRAME_PHASE.
1207         * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
1209 2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
1211         * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
1213 2002-01-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1215         * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
1216         be used for bootstrapping GCC 3.0.
1218 2002-01-18  Kazu Hirata  <kazu@hxi.com>
1220         * config/h8300/h8300.md: Fix an insn length.
1222 2002-01-18  Kazu Hirata  <kazu@hxi.com>
1224         * bitmap.h: Fix comment formatting.
1225         * combine.c: Likewise.
1226         * cppfiles.c: Likewise.
1227         * c-pragma.h: Likewise.
1228         * c-typeck.c: Likewise.
1229         * df.c: Likewise.
1230         * dwarf2out.c: Likewise.
1231         * function.c: Likewise.
1232         * gcc.c: Likewise.
1233         * genattrtab.c: Likewise.
1234         * gthr-win32.h: Likewise.
1235         * haifa-sched.c: Likewise.
1236         * predict.c: Likewise.
1237         * rtlanal.c: Likewise.
1238         * rtl.h: Likewise.
1239         * unwind-dw2-fde.h: Likewise.
1240         * unwind-pe.h: Likewise.
1241         * vmsdbgout.c: Likewise.
1243 Thu Jan 17 15:28:26 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1245         * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
1246         if type_required and passed decl.
1248 2002-01-17  Aldy Hernandez  <aldyh@redhat.com>
1250         * config.gcc (cpu_type): Include altivec.h in powerpc
1251         extra_headers.
1252         Same for darwin.
1254         * config/rs6000/altivec.h: New.
1256 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
1258         * doc/install.texi (*-ibm-aix*): Update assembler and exception
1259         handling information.
1260         * doc/trouble.texi (Interoperation): Add libstdc++ information
1261         for AIX.
1262         (Misunderstandings): Add template instantiation and static template
1263         member information for AIX.
1265 2002-01-17  Jason Merrill  <jason@redhat.com>
1267         * dbxout.c (dbxout_type): Support const and volatile.
1269         * except.c (add_partial_entry): Remove backwards compatibility code.
1270         (end_protect_partials): Likewise.
1272 2002-01-17  Jakub Jelinek  <jakub@redhat.com>
1274         * config/ia64/ia64.md (prologue_use): New.
1275         * config/ia64/ia64.c (ia64_expand_prologue): Use
1276         gen_prologue_use instead of gen_rtx_USE.
1277         (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
1278         as CODE_FOR_pred_rel_mutex.
1279         (ia64_sched_reorder2): Likewise.
1281 2002-01-16  Eric Christopher  <echristo@redhat.com>
1283         * config/mips/r3900.h: Reformat.
1284         (SUBTARGET_CPP_SIZE_SPEC): Remove.
1285         * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
1286         * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
1287         (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
1288         * config/mips/t-elf: Remove mips3 multilib.
1290 2002-01-16  H.J. Lu <hjl@gnu.org>
1292         * config/mips/linux.h: Include "mips/abi64.h".
1294 2002-01-16  H.J. Lu <hjl@gnu.org>
1296         * config/mips/t-linux: New.
1298         * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
1300         * config/mips/linux.h: Don't include "gofast.h".
1301         (INIT_SUBTARGET_OPTABS): Removed.
1303 2002-01-16  Kazu Hirata  <kazu@hxi.com>
1305         * config/h8300/h8300-protos.h: Replace emit_a_shift with
1306         output_a_shift.
1307         * config/h8300/h8300.c: Likewise.
1308         * config/h8300/h8300.md: Likewise.
1310 2002-01-16  Kazu Hirata  <kazu@hxi.com>
1312         * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
1313         spaces after an opcode name.
1314         (pushqi1_h8300hs): Likewise.
1315         (pushhi1_h8300hs): Likewise.
1317 2002-01-16  Kazu Hirata  <kazu@hxi.com>
1319         * doc/extend.texi: Replace "option" with "attribute"
1320         appropriately.
1322 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
1324         * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
1325         (and:DI () (const_int -8)).
1326         (split_small_symbolic_mem_operand): Split
1327         (mem (and:DI () (const_int -8)).
1329 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
1331         PR target/5309:
1332         * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
1333         same way as TYPE_IMUL.
1334         (ultrasparc_sched_reorder): Likewise.
1335         * config/sparc/sparc.md (type): Add comment to update
1336         ultrasparc_sched_reorder when making changes.
1338 2002-01-16  Kazu Hirata  <kazu@hxi.com>
1340         * doc/invoke.texi: Change the dump file name of block
1341         reordering pass from 28.bbro to 29.bbro.
1342         Mention -dk option.
1344 Wed Jan 16 17:54:22 CET 2002  Jan Hubicka  <jh@suse.cz>
1346         * i386.md (minsf splitter): Fix pasto.
1348 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
1350         * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
1351         to frame pointer initialisation instruction.
1352         (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
1353         initialisation instruction.
1354         (soft_df_operand): Do not accept the IP register.
1355         (nonimmediate_soft_df_operand): Do not accept the IP register.
1357 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
1359         PR target/5357:
1360         * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
1361         MASK_V8 being both set.
1363 2002-01-16  Ulrich Weigand  <uweigand@de.ibm.com>
1365         * config/s390/s390.c (s390_emit_prologue): Do not emit USE
1366         insn for GOT register; add REG_MAYBE_DEAD notes instead.
1367         config/s390/s390.md (call, call_value): Add GOT register to
1368         CALL_INSN_FUNCTION_USAGE where needed.
1369         (call_exp, call_value_exp): New.
1371 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
1373         * config/arm/arm.c: General formatting tidy up.
1375 2002-01-16  Graham Stott  <grahams@redhat.com>
1377         * calls.c (try_to_integrate): Use "(size_t)" intermediate
1378         cast and when casting an integer literal to "rtx" pointer.
1379         (expand_call): Likewise.
1380         * flow.c (try_pre_increment): Likewise.
1381         (find_use_as_address): Likewise.
1382         * integrate.c (expand_iline_function): Likewise.
1383         * regmove.c (try_auto_increment): Likewise.
1385 2002-01-16  Graham Stott  <grahams@redhat.com>
1387         * sched-rgn.c (passed): Use sbitmap_free.
1388         (header): Likewise.
1389         (inner): Likewise.
1390         (in_queue): Likewise.
1391         (in_stack): Likewise.
1393 2002-01-15  Eric Christopher  <echristo@redhat.com>
1395         * flow.c (propagate_one_insn): Change to use fatal_insn.
1397 2002-01-15  Kazu Hirata  <kazu@hxi.com>
1399         * expmed.c (extract_fixed_bit_field): Remove unused code.
1400         * system.h: Poison SLOW_ZERO_EXTEND.
1401         * doc/tm.texi: Remove.
1402         * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
1403         * config/arm/arm.h: Likewise.
1404         * config/avr/avr.h: Likewise.
1405         * config/clipper/clipper.h: Likewise.
1406         * config/convex/convex.h: Likewise.
1407         * config/d30v/d30v.h: Likewise.
1408         * config/dsp16xx/dsp16xx.h: Likewise.
1409         * config/elxsi/elxsi.h: Likewise.
1410         * config/fr30/fr30.h: Likewise.
1411         * config/h8300/h8300.h: Likewise.
1412         * config/i370/i370.h: Likewise.
1413         * config/i386/i386.h: Likewise.
1414         * config/m68k/m68k.h: Likewise.
1415         * config/mips/mips.h: Likewise.
1416         * config/ns32k/ns32k.h: Likewise.
1417         * config/pdp11/pdp11.h: Likewise.
1418         * config/pj/pj.h: Likewise.
1419         * config/s390/s390.h: Likewise.
1420         * config/sh/sh.h: Likewise.
1421         * config/stormy16/stormy16.h: Likewise.
1422         * config/v850/v850.h: Likewise.
1423         * config/vax/vax.h: Likewise.
1424         * config/we32k/we32k.h: Likewise.
1426 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
1428         * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
1429         (altivec_lvsl): Change constraint to b.
1430         (altivec_lvsr): Same.
1431         (altivec_lvebx): Same.
1432         (altivec_lvehx): Same.
1433         (altivec_lvewx): Same.
1434         (altivec_lvxl): Same.
1435         (altivec_lvx): Same.
1436         (altivec_stvx): Add parallel.
1437         (altivec_stvxl): Same.
1438         (altivec_stvehx): Same.
1439         (altivec_stvebx): Same.
1440         (altivec_stvebx): Same.
1442 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
1444         * config.gcc: Change altivec.h to altivec-defs.h.
1446         * config/rs6000/altivec.h: Delete.
1448         * config/rs6000/altivec-defs.h: Add.
1450 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1452         * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
1453         and UMOD modes.
1455         * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
1456         less than or equal to eight bytes.
1458         * vax.md (andsi3): Remove constraints and change SET destination
1459         operand type to nonimmediate_operand.
1460         (andhi3, andqi3): Likewise.  Don't clear high order bits of operand 1
1461         when it is a CONST_INT.
1463 2002-01-15  Jason Merrill  <jason@redhat.com>
1465         * c-common.def (FILE_STMT): New code.
1466         * c-common.c (statement_code_p): It's a statement.
1467         * c-common.h (stmt_tree_s): Add x_last_filename.
1468         (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
1469         (last_expr_filename): New macro.
1470         * c-semantics.c (begin_stmt_tree): Initialize it.
1471         (add_stmt): If the filename changed, also insert a
1472         FILE_STMT.
1473         (expand_stmt): Handle seeing one.
1475 2002-01-15  Eric Christopher  <echristo@redhat.com>
1477         * flow.c (propagate_one_insn): Add error message and print out
1478         insn for debugging.
1480 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
1482         * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
1483         ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
1484         * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
1485         TRAMPOLINE_ALIGNMENT.
1486         * config/arm/arm.h, config/mcore/mcore.h: Likewise.  Change value
1487         to be in bits.
1488         * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
1489         PCC_BITFIELD_TYPE_MATTERS.
1490         * config/interix.h (STDC_VALUE): Remove.  Use
1491         STDC_0_IN_SYSTEM_HEADERS.
1492         * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
1493         (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
1494         ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
1496 2002-01-15  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1498         * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
1499         not work on this platform currently.
1501 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
1503         * c-typeck.c (build_unary_op): Don't wrap msgid argument of
1504         readonly_warning in _().
1506 2002-01-15  Douglas B Rupp  <rupp@gnat.com>
1508         * gcc.c (delete_if_ordinary): Backout previous change.
1510 2002-01-15  Kazu Hirata  <kazu@hxi.com>
1512         * config/h8300/h8300.c (print_operand): Remove support for
1513         unused operand characters.
1515         * read-rtl.c: Fix formatting.
1516         * real.c: Likewise.
1517         * recog.c: Likewise.
1518         * regclass.c: Likewise.
1519         * regmove.c: Likewise.
1520         * reg-stack.c: Likewise.
1521         * reload1.c: Likewise.
1522         * rtlanal.c: Likewise.
1524 2002-01-15  Kazu Hirata  <kazu@hxi.com>
1526         * config/i386/i386.c: Fix formatting.
1528 2002-01-15  Jakub Jelinek  <jakub@redhat.com>
1530         * c-typeck.c (process_init_element): Don't save_expr
1531         COMPOUND_LITERAL_EXPR if just its initializer will be used.
1533 2002-01-15  David Edelsohn  <edelsohn@gnu.org>
1535         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
1536         emit optional traceback table if optimize_size or TARGET_ELF.
1537         * config/rs6000/rs6000.md (prefetch): New.
1539 2002-01-15  Andreas Jaeger  <aj@suse.de>
1541         * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
1543 2002-01-15  Kazu Hirata  <kazu@hxi.com>
1545         * mips-tfile.c: Fix formatting.
1547 Tue Jan 15 00:56:11 CET 2002  Jan Hubicka  <jh@suse.cz>
1549         * unroll.c (final_reg_note_copy): Fix previous commit.
1551 2002-01-14  Kazu Hirata  <kazu@hxi.com>
1553         * config/h8300/h8300-protos.h: Remove the prototype for
1554         eq_operator.
1555         * config/h8300/h8300.c (eq_operator): Remove.
1557 2002-01-14  Richard Henderson  <rth@redhat.com>
1559         * config/i386/i386.md (prefetch): Tidy.
1560         (prefetch_3dnow): Fix locality operand.
1562 2002-01-14  Richard Henderson  <rth@redhat.com>
1564         * config/mips/mips.h (HI_AND_FP_REGS): New register class.
1565         (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
1567 2002-01-14  Hans-Peter Nilsson  <hp@bitrange.com>
1569         * reload1.c (reload_combine): Pass reg_sum replacement through
1570         copy_rtx in loop performing multiple changes.
1572 2002-01-14  Jakub Jelinek  <jakub@redhat.com>
1574         * except.c (remove_unreachable_regions): New.
1575         (free_eh_status): Clear exception_handler_labels.
1576         (convert_from_eh_region_ranges): Call remove_unreachable_regions.
1577         (find_exception_handler_labels): Don't add the same label more than
1578         once.
1579         (remove_exception_handler_label): Don't die if
1580         find_exception_handler_labels hasn't been called for the current
1581         function yet.
1583 Mon Jan 14 21:26:13 CET 2002  Jan Hubicka  <jh@suse.cz>
1585         * toplev.c (rest_of_compilation): Rebuild jump labels after
1586         gcse.
1588 2002-01-14  Joseph S. Myers  <jsm28@cam.ac.uk>
1590         * doc/extend.texi: Move documentation of X86 built-in functions
1591         here.
1592         * doc/invoke.texi: From here.
1593         * doc/sourcebuild.texi: Document location of documentation for
1594         machine built-in functions.
1596 2002-01-13  Christopher Faylor  <cgf@redhat.com>
1598         * cppfiles.c (TEST_THRESHOLD): New macro.
1599         (SHOULD_MMAP): Ditto.
1600         (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
1601         be used.
1603 Mon Jan 14 20:23:34 CET 2002  Jan Hubicka  <jh@suse.cz>
1605         * unroll.c (final_reg_note_copy): Properly handle
1606         REG_LABEL
1607         (unroll_loops): Fix LOOP_CONDITION heuristics.
1609 2002-01-14  Geoffrey Keating  <geoffk@redhat.com>
1611         * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
1612         * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
1614 Mon Jan 14 20:18:19 CET 2002  Jan Hubicka  <jh@suse.cz>
1616         * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
1617         threaded loop.
1619 2002-01-14  Tom Rix  <trix@redhat.com>
1621         * config/rs6000/rs6000.md: Fix typo with sradi.
1623 2002-01-14  Ulrich Weigand  <uweigand@de.ibm.com>
1625         * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
1626         movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
1627         (clrstrdi, clrstrsi): Adapt callers.
1629         (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
1631         (movti splitter): Never use register 0 as base register.
1633 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
1635         * combine.c (simplify_shift_const): Always generate new rtx
1636         for shift expression instead of reusing given expression.
1638 Mon Jan 14 07:08:55 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1640         * config/alpha/alpha.c (alpha_expand_mov): Don't call
1641         alpha_legitimize_address unless mode is Pmode.
1643 2002-01-13  Geoffrey Keating  <geoffk@redhat.com>
1645         * doc/md.texi (Modifiers): Document the '*' constraint for the
1646         user.
1648         * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
1649         * doc/extend.texi (Function Attributes): 'interrupt' is valid
1650         for xstormy16 too.
1652 2002-01-13  Richard Henderson  <rth@redhat.com>
1654         * reload.c (find_reloads): Use a hard reg destination as reload reg
1655         for an input reload of the source.
1657 2002-01-13  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1659         * doc/install.texi (Binaries): Make link to ftp.writtenword.com
1660         more generic.
1662 Sun Jan 13 07:23:01 2002  Douglas B Rupp  <rupp@gnat.com>
1664         * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1665         * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1667         * config/alpha/x-vms (USE_COLLECT2): Set to empty.
1669 Sun Jan 13 06:55:31 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1671         * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
1673 2002-01-12  Tom Rix  <trix@redhat.com>
1675         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
1676         TARGET_POWERPC64.
1678 2002-01-12  Richard Henderson  <rth@redhat.com>
1680         * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
1682         * doc/invoke.texi: Update Alpha options.
1684         * doc/invoke.texi: Update i386 built-in function lists.
1686 Sat Jan 12 17:38:11 CET 2002  Jan Hubicka  <jh@suse.cz>
1688         * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
1689         referencing outside.
1691 Sat Jan 12 08:54:51 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1693         * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
1694         * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
1695         offsets, and change line folding.
1696         * optabs.c (expand_binop): Remove warnings.
1697         * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
1699 2002-01-12  Graham Stott <grahams@redhat.com>
1701         * attribs.c (handle_deprecated_attribute): constify WHAT.
1702         * diagnostic.c (warn_deprecated_use): Add braces, fixes
1703         dangling else warning and constify WHAT.
1704         * except.h (struct function, struct inline_remap): Move
1705         struct tag forward defs before all prototypes.
1706         (duplicate_eh_regions): Whitespace.
1708 2002-01-12  Nick Clifton  <nickc@cambridge.redhat.com>
1710         * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
1711         MODE_BASE_REG_CLASS.
1712         (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
1714 2002-01-12  Richard Henderson  <rth@redhat.com>
1716         * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
1717         (ix86_expand_vector_move): New.
1718         (bdesc_2arg): Remove andps, andnps, orps, xorps.
1719         (ix86_init_mmx_sse_builtins): Make static.  Remove composite builtins.
1720         Remove old prefetch builtins.  Special case the logicals removed above.
1721         (ix86_expand_builtin): Likewise.
1722         (safe_vector_operand): Use V4SFmode, not TImode.
1723         (ix86_expand_store_builtin): Remove shuffle arg.  Update callers.
1724         (ix86_expand_timode_binop_builtin): New.
1725         * config/i386/i386-protos.h: Update.
1726         * config/i386/i386.h (enum ix86_builtins): Update.
1727         * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
1728         Use ix86_expand_vector_move in vector move expanders.
1729         (movti_internal, movti_rex64): Add xorps alternative.
1730         (sse_clrv4sf): Rename and adjust from sse_clrti.
1731         (prefetch): Don't work so hard.
1732         (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
1733         * config/i386/xmmintrin.h (__m128): Use V4SFmode.
1734         (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
1736 2002-01-11  Richard Henderson  <rth@redhat.com>
1738         * config/i386/mmintrin.h: New file.
1739         * config/i386/xmmintrin.h: New file.
1740         * config.gcc (i?86-*-*): Add extra_headers.
1741         * simplify-rtx.c (simplify_unary_operation): Handle saturating
1742         truncation codes.
1743         (simplify_binary_operation): Handle saturating arithmetic codes.
1744         * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
1745         not the lowpart subreg.
1746         (ix86_expand_builtin): Return a TImode dummy register instead of 0
1747         on error.
1748         * config/i386/i386.md (mmx_clrdi): Override memory attribute.
1750 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1752         * conflict.c (conflict_graph_compute): Free regsets when finished.
1753         * ssa.c (compute_coalesced_reg_partition): Likewise.
1755 2002-01-12  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1757         * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
1758         every where we allocate a register.
1760 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1762         * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
1763         * lcm.c (compute_earliest, compute_farthest): Likewise.
1765 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
1767         * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
1769 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
1771         * doc/rtl.texi (Insns): Fix 2 typos.
1773 2002-01-11  Joseph S. Myers  <jsm28@cam.ac.uk>
1775         * doc/invoke.texi: Avoid overfull hboxes.  Add summary of D30V
1776         options.  Use @table @gcctabopt for MMIX options.  Add index
1777         entries for MMIX options.  Start new paragraph with first
1778         heading of the machine-dependent options.
1780 2002-01-11  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1782         PR other/5299
1783         * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
1784         * combine.c (force_to_mode): Same.
1785         * reload1.c (clear_reload_reg_in_use): Same.
1787 2002-01-11  Nick Clifton  <nickc@cambridge.redhat.com>
1789         * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
1790         and 'subtargets'.
1792 2002-01-11  Andreas Jaeger  <aj@suse.de>,
1793             Brad Lucier <lucier@math.purdue.edu>
1795         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
1796         mcpu.
1798 Fri Jan 11 07:35:12 2002  Douglas B Rupp  <rupp@gnat.com>
1800         * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
1801         Protect with IN_LIBGCC.
1802         (LINK_EH_SPEC): Add required trailing space.
1804 Fri Jan 11 09:25:05 2002  Nicola Pero  <n.pero@mi.flashnet.it>
1806         * c-tree.h: Move function declarations so that they are listed
1807         under the filename which contains them.
1808         (check_identifier, finish_decl_top_level,
1809         lookup_name_current_level_global, shadow_record_fields): Remove.
1811 2002-01-11  Andreas Jaeger  <aj@suse.de>
1813         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
1814         march.
1816 2002-01-10  Richard Henderson  <rth@redhat.com>
1818         * config/alpha/alpha.c (print_operand): Add 'J'.
1819         * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
1820         new operand with the sequence number for the lituse.  When splitting
1821         the insns, use gen_movdi_er_high_g and generate a sequence number.
1822         (gen_movdi_er_high_g): Print the sequence number if non-zero.
1824 2002-01-10  Aldy Hernandez  <aldyh@redhat.com>
1826         * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
1827         lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
1828         stvxl.
1829         (altivec_expand_builtin): Same.
1830         (altivec_expand_stv_builtin): New.
1832         * config/rs6000/rs6000.h (rs6000_builtins): Same.
1834         * config/rs6000/rs6000.md ("altivec_lvebx"): New.
1835         ("altivec_lvehx"): New.
1836         ("altivec_lvewx"): New.
1837         ("altivec_lvxl"): New.
1838         ("altivec_lvx"): New.
1839         ("altivec_stvx"): New.
1840         ("altivec_stvebx"): New.
1841         ("altivec_stvehx"): New.
1842         ("altivec_stvewx"): New.
1843         ("altivec_stvxl"): New.
1845 2002-01-10  Richard Henderson  <rth@redhat.com>
1847         * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
1848         * reload1.c (delete_output_reload): Zap spill_reg_store.  Take
1849         care not to delete instructions twice.
1851 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
1853         * toplev.c: Don't declare environ (it's not used anywhere).
1854         * configure.in: Don't check for declaration of environ.
1855         * config/i386/xm-mingw32.h: Don't #define environ.
1856         * config.in, configure: Regenerate.
1858 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
1860         * configure.in: Set stage1_cflags for powerpc-*-darwin*.
1861         * configure: Regenerate.
1863         * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
1864         DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
1865         * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
1866         alpha/xm-vms.h.
1867         * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
1868         LIMITS_H_TEST here, not in m68k/x-next.
1869         * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
1870         SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
1872         * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
1873         LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
1874         * config/alpha/x-vms: Don't set USE_COLLECT2.  Add comments.
1876         * config/i386/x-djgpp: Renamed i386/t-djgpp.
1877         * config/m88k/x-dolph: Renamed m88k/t-dolph.
1878         * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
1879         * config/pa/x-pa-mpeix: Renamed pa/t-mpeix.  Update for
1880         replacement of quadlib.asm with quadlib.c.
1882         * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
1883         config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
1884         config/rs6000/xm-beos.h: Delete file.
1886         * config.gcc: Update to match above changes.
1888 2002-01-10  Kazu Hirata  <kazu@hxi.com>
1890         * config/h8300/h8300.h: Fix comment typos.
1891         * config/h8300/h8300.md: Likewise.
1892         * config/h8300/lib1funcs.asm: Likewise.
1894 2002-01-10  Dale Johannesen  <dalej@apple.com>
1896         PR optimization/5269
1897         * unroll.c (precondition_loop_p): Make *increment be the correct
1898         sign when n_iterations known, to avoid confusing caller.
1900 2002-01-10  Kazu Hirata  <kazu@hxi.com>
1902         * doc/extend.texi (deprecated): Fix a typo.
1904 Thu Jan 10 22:35:54 CET 2002  Jan Hubicka  <jh@suse.cz>
1906         * basic-block.h (update_br_prob_note): Declare.
1907         * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
1908         (try_forward_edges): Care negative frequencies and update note.
1909         (outgoing_edges_match): Tweek conditional merging heuristics.
1910         (try_crossjump_to_edge): use update_br_prob_note.
1911         * cfglayout.c (fixup_reorder_chain): Likewise.
1912         * cfrtl.c (update_br_prob_note): New.
1913         * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
1915         * i386.c (ix86_decompose_address): Return -1 if address contains
1916         shift.
1917         (legitimate_address_p): Require ix86_decompose_address to return 1.
1919         * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
1920         (cprop_insn): Likewise.
1922 2002-01-10  Kazu Hirata  <kazu@hxi.com>
1924         * toplev.c: Fix formatting.
1925         * tree.c: Likewise.
1926         * tree-dump.c: Likewise.
1927         * unroll.c: Likewise.
1928         * unwind-dw2.c: Likewise.
1929         * unwind-dw2-fde.c: Likewise.
1930         * unwind-dw2-fde-glibc.c: Likewise.
1931         * unwind-sjlj.c: Likewise.
1933 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
1935         * doc/invoke.texi: Document PDP-11 options.
1937 2002-01-10  Kazu Hirata  <kazu@hxi.com>
1939         * config/h8300/h8300.h: Fix formatting.
1941 2002-01-10  Ira Ruben   <ira@apple.com>
1943         Add __attribute__ ((deprecated)).
1944         * extend.texi: Document __attribute__ ((deprecated)).
1945         * invoke.texi: Document -Wno-deprecated-declarations.
1946         * testsuite/g++.dg/other/deprecated.C: New C++ test.
1947         * testsuite/gcc.dg/deprecated.c: New C test.
1948         * attribs.c (enum attrs): Declare handle_deprecated_attribute().
1949         (c_common_attribute_table): Add "deprecated" entry.
1950         (handle_deprecated_attribute): New function.
1951         * c-decl.c (deprecated_states): New enum.
1952         deprecated_state: State of "deprecated" handling.
1953         (start_decl): Set deprecated_state based on attributes.
1954         (grokdeclarator): Test for deprecated uses, propagate attribute.
1955         * c-typeck.c (build_component_ref): Test for deprecated fields.
1956         (build_external_ref): Test for deprecated primaries.
1957         * diagnostic.c (warn_deprecated_use) New function to issue
1958         warnings about __attribute__ ((depricated)) references.
1959         * flags.h (warn_deprecated_decl): Extern declared for
1960         -W[no-]deprecated-declarations option.
1961         * print-tree.c (print_node): Show deprecated flag status.
1962         * toplev.c (warn_deprecated_decl): Defined.
1963         (W_options): Added "deprecated-declaration".
1964         * toplev.h (warn_deprecated_use): Extern declared.
1965         * tree.h (struct tree_common): Define deprecated_flag.
1966         (TREE_DEPRECATED): New macro to access flag.
1967         * cp/call.c (build_call): Test for deprecated calls.
1968         * cp/class.c (add_implicitly_declared_members): Set global
1969         flag to tell grokdeclarator to not issue deprecated warnings.
1970         * cp/cp-tree.h: Add extern for adding_implicit_members.
1971         * cp/decl.c (deprecated_states): New enum.
1972         (start_decl): Set deprecated_state based on attributes.
1973         (grokdeclarator): Test for deprecated uses, propagate attribute.
1974         * cp/lex.c (do_identifier): Test for deprecated primaries.
1975         * cp/typeck.c (build_component_ref): Test for deprecated fields.
1977 2002-01-10  Ira Ruben   <ira@apple.com>
1979         Fix to assign attributes to inline member functions.
1980         * cp/decl.c (start_method): Handle attrlist.
1982 2002-01-10  Kazu Hirata  <kazu@hxi.com>
1984         * combine.c (expand_field_assignment): Use subreg_lsb().
1986 2002-01-10  David Edelsohn  <edelsohn@gnu.org>
1988         * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
1989         POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
1990         (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
1991         Recurse for any operand of AND as long as constant is non-zero.
1993 2002-01-10  Kazu Hirata  <kazu@hxi.com>
1995         * config/h8300/h8300.md: Remove constraints from expanders.
1997 2002-01-10  Kazu Hirata  <kazu@hxi.com>
1999         * varasm.c: Fix formatting.
2000         * varray.c: Likewise.
2001         * vmsdbgout.c: Likewise.
2002         * xcoffout.c: Likewise.
2004 Thu Jan 10 17:19:12 CET 2002  Jan Hubicka  <jh@suse.cz>
2006         * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
2007         update edge probabilities to match.
2009 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
2011         * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
2012         dependencies.
2013         * doc/languages.texi, doc/sourcebuild.texi: New files.
2014         * doc/configfiles.texi: Make a subsubsection.  Update.
2015         * doc/configterms.texi: Add @node.  Remove warning that this isn't
2016         instructions for building GCC.
2017         * doc/makefile.texi: Make a subsection.
2018         * doc/gccint.texi: Update.
2020 Thu Jan 10 16:39:58 CET 2002  Jan Hubicka  <jh@suse.cz>
2022         * i386.md (sse_mov?fcc_const0_?): Fix constraints.
2024 Thu Jan 10 12:45:50 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2026         * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
2028 Thu Jan 10 11:19:18 CET 2002  Jan Hubicka  <jh@suse.cz>
2030         * optabs.c (expand_fix): Look for wider integer modes first.
2032         * i386.md (mov?f): Avoid the fake const double trick for medium
2033         memory model.
2034         (min?f*/max?f*): Prohibit memory operands for i387 variant.
2035         (fop_df_4): Disable for SSE compilation.
2037 2002-01-10  Graham Stott  <grahams@redhat.com>
2039         * dwarf2out.c (indirect_string_alloc, output_indirect_string):
2040         Move prototype into DWARF2_DEBUGGING_INFO conditional block.
2042 2002-01-10  Richard Henderson  <rth@redhat.com>
2044         * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
2046 2002-01-10  Richard Henderson  <rth@redhat.com>
2048         * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
2049         (copyprop_hardreg_forward_1): Likewise.  Use mode_change_ok.
2051 2002-01-10  Kazu Hirata  <kazu@hxi.com>
2053         * combine.c (can_combine_p): Fix a comment typo.
2055 2002-01-09  Zack Weinberg  <zack@codesourcery.com>
2057         * Makefile.in (s-gencheck, s-options, s-specs): Handle an
2058         empty list correctly.  Change loop index $t to $f for
2059         consistency with rest of Makefile.
2061 2002-01-08  Aldy Hernandez  <aldyh@redhat.com>
2063         * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
2064         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
2066         * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
2067         mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
2068         (altivec_init_builtins): Same.
2069         (altivec_expand_unop_builtin): Return NULL_RTX on error.
2070         (altivec_expand_binop_builtin): Same.
2071         (altivec_expand_ternop_builtin): Same.
2072         (bdesc_dst): New.
2074         * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
2075         ("altivec_vctuxs"): Fix typo.
2076         ("altivec_vnmsubfp"): Same.
2077         ("altivec_dssall"): New.
2078         ("altivec_mfvscr"): New.
2079         ("altivec_dss"): New.
2080         ("altivec_lvsl"): New.
2081         ("altivec_lvsr"): New.
2082         ("altivec_dstt"): New.
2083         ("altivec_dstst"): New.
2084         ("altivec_dststt"): New.
2085         ("altivec_dst"): New.
2087         * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
2088         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
2090 2002-01-09  Richard Henderson  <rth@redhat.com>
2092         * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
2094 2002-01-10  Hans-Peter Nilsson  <hp@bitrange.com>
2096         * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
2097         function.
2098         * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
2099         prototype.
2100         * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
2102 2002-01-09  Kazu Hirata  <kazu@hxi.com>
2104         * read-rtl.c: Fix formatting.
2105         * real.c: Likewise.
2106         * regclass.c: Likewise.
2107         * regrename.c: Likewise.
2108         * reg-stack.c: Likewise.
2109         * reload1.c: Likewise.
2110         * reload.c: Likewise.
2111         * rtl.c: Likewise.
2113 2002-01-09  Kazu Hirata  <kazu@hxi.com>
2115         * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
2116         to extract items in the expr_list chain.
2118 2002-01-09  Richard Henderson  <rth@redhat.com>
2120         * config/vax/vax.c (vax_rtx_cost): Never abort.
2122         * config/vax/vax.h (REAL_ARITHMETIC): Define.
2124 2002-01-09  Jan Hubicka  <jh@suse.cz>
2126         * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
2128 2002-01-09  Richard Henderson  <rth@redhat.com>
2130         * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
2131         Unify code from various alternatives.
2133 2002-01-09  Richard Henderson  <rth@redhat.com>
2135         * regrename.c (copy_value): Ignore the copy if the source register
2136         is present in the value chain with a narrower mode.
2138 2002-01-09  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
2140         * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
2141         for the c4x target. Also improve layout.
2143 2002-01-09  Richard Henderson  <rth@redhat.com>
2145         * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
2146         * config/m32r/m32r.md (and ior xor splitters): Swap operands
2147         to match insn patterns.
2149 2002-01-09  Richard Henderson  <rth@redhat.com>
2151         * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
2152         (copyprop_hardreg_forward_1): Likewise.
2154 2002-01-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2156         * pa.md (decrement_and_branch_until_zero): Change predicate for
2157         operand 0 from register_operand to reg_or_nonsymb_mem_operand.
2159 2002-01-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
2161         * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
2162         gets undefined. For Darwin.
2164 2002-01-09  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2166         * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
2168 2002-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2170         * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
2172 2002-01-08  Richard Henderson  <rth@redhat.com>
2174         * regrename.c (copy_value): Ignore overlapping copies.
2176 2002-01-08  Richard Henderson  <rth@redhat.com>
2178         * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
2179         as needed to avoid shared structure.
2181 2002-01-08  Kazu Hirata  <kazu@hxi.com>
2183         * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
2184         H8/300H and H8/S.
2186 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
2188         * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
2189         LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
2190         documentation of obsolete macros.
2191         * system.h: Poison these macros.
2192         * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
2193         config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
2194         config/c4x/c4x.h, config/clipper/clipper.h,
2195         config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
2196         config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
2197         config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
2198         config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
2199         config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
2200         config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
2201         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
2202         config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
2203         config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
2204         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
2205         config/sparc/sparc.h, config/stormy16/stormy16.h,
2206         config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
2207         definitions and commented out definitions of obsolete macros.
2208         * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
2209         of MAX_INT_TYPE_SIZE.
2211 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
2213         * config/s390/s390.c (s390_preferred_reload_class): Never
2214         return ADDR_REGS if it isn't a subset of the given class.
2215         * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
2216         FP_REGS, but all superclasses as well.
2218         * config/s390/s390.c (s390_function_profiler): Fix thinko.
2220         * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
2221         cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
2222         must not be a const_int.
2224 2002-01-08  Richard Henderson  <rth@redhat.com>
2226         * Makefile.in (toplev.o): Depend on options.h.
2227         (gcc.o): Depend on specs.h.
2229 2002-01-08  Jakub Jelinek  <jakub@redhat.com>
2231         * expr.c (store_expr): Convert VOIDmode constants back to target's
2232         mode.
2234 2002-01-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2236         * doc/invoke.texi: Markup gcc as @command.  Refer to
2237         http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
2238         of http://gcc.gnu.org/thanks.html.
2240 2002-01-08  Dale Johannesen  <dalej@apple.com>
2242         * config/rs6000/rs6000.md: Add missing int register
2243         target case to movdf_low.
2245 2002-01-08  Zack Weinberg  <zack@codesourcery.com>
2247         * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
2248         except.h.  Remove commands to define USING_SJLJ_EXCEPTIONS.
2249         (cppinit.o): Depend on except.h.
2250         (gencheck.h, options.h, specs.h, s-gencheck, s-options,
2251         s-specs): New rules.
2253         * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
2254         Don't create specs.h/options.h/gencheck.h here.  Remove
2255         unnecessary variable settings from last argument of AC_OUTPUT.
2256         * config.in, configure: Regenerate.
2257         * intl.c: Hardcode package name as "gcc".
2259         * cppinit.c: Include except.h.
2260         (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
2261         appropriate.
2262         * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
2263         Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
2264         (!)USING_SJLJ_EXCEPTIONS.
2265         * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
2267 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
2269         * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
2270         ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
2271         OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
2272         documentation of obsolete macros.
2273         * system.h: Poison these macros.
2274         * config/d30v/d30v.h, config/ns32k/encore.h,
2275         config/stormy16/stormy16.h: Remove definitions and commented out
2276         definitions of obsolete macros.
2278 Tue Jan  8 15:56:41 2002  Nicola Pero  <nicola@brainstorm.co.uk>
2280         * objc/objc-act.c (handle_class_ref): Mark the declaration of
2281         %sobjc_class_ref_%s as used - to prevent unwanted compiler
2282         warnings.
2284 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
2286         * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
2287         * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
2288         to insn adjusting stack/frame pointer.
2289         * config/s390/s390.md (reload_la_64, reload_la_31): Do not
2290         accept operands that cause the insn to be non-splittable.
2292 2002-01-08  Graham Stott  <grahams@redhat.com>
2294         * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
2295         (C_TYPE_FIELDS_VOLATILE): Likewise.
2296         (C_TYPE_BEING_DEFINED): Likewise.
2297         (C_IS_RESERVED_WORD): Likewise.
2298         (C_TYPE_VARIABLE_SIZE): Likewise.
2299         (C_DECL_VARIABLE_SIZE): Likewise.
2300         (C_MISSING_PROTOTYPE_WARNED): Likewise.
2301         (C_SET_EXP_ORIGINAL_CODE): Likewise.
2302         (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
2303         parenthesis.
2304         (C_DECL_ANTICIPATED): Likewise.
2305         (c_build_type_variant): Add parenthesis.
2307 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
2309         * gcc.c (option_map): Remove --version.
2310         (process_command): Handle -fversion following the GNU Coding
2311         Standards.  Partially addresses PR other/704.
2313 2002-01-08  Graham Stott  <grahams@redhat.com>
2315         * combine.c (combine_instructions): Fix typo.
2317 2002-01-08  Graham Stott  <grahams@redhat.com>
2319         * debug.h: Use "tree" and "rtx" throughout.
2321         * debug.c: Likewise.
2323 2002-01-08  Nick Clifton  <nickc@cambridge.redhat.com>
2325         * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
2326         constant pool, use the pool's version of the symbol instead.
2328 2002-01-07  Richard Henderson  <rth@redhat.com>
2330         * regrename.c (find_oldest_value_reg): Ignore the value chain if
2331         the original register was copied in a mode with a fewer number of
2332         hard registers than the desired mode.
2333         (copyprop_hardreg_forward_1): Likewise.
2334         (debug_value_data): Fix loop test.
2335         * toplev.c (parse_options_and_default_flags): Reenable
2336         -fcprop-registers at -O1.
2338 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
2340         * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
2341         (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
2343         * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
2344         predicates.
2346         * config/rs6000/rs6000.md: Add altivec predicate patterns.
2348 2002-01-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2350         * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
2351         (pa_output_function_prologue): Output local label at the beginning of
2352         the prologue when profiling.
2353         (hppa_profile_hook): Use the local label rather than the function label.
2354         * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
2356 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
2358         * config/rs6000/rs6000.c (print_operand): Remove extra space.
2359         (altivec_expand_unop_builtin): Fix thinko.
2360         (altivec_expand_binop_builtin): Same.
2361         (altivec_expand_ternop_builtin): Same.
2362         (altivec_expand_builtin): Same.
2364 2002-01-07  Richard Henderson  <rth@redhat.com>
2366         * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
2368 2002-01-07  Jason Merrill  <jason@redhat.com>
2370         * unwind-dw2.c (execute_cfa_program): Use < again.
2372 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
2374         * predict.c (combine_predictions_for_insn): Avoid division by zero.
2376 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
2378         * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
2379         Don't allow -1 - x -> ~x simplifications in the first pass.
2381 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
2383         * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
2384         arguments.
2385         (altivec_expand_binop_builtin): Same.
2386         (altivec_expand_unop_builtin): Same.
2387         (print_operand): Fix typo.
2388         (bdesc_1arg): Add vupk* variants.
2390         * rs6000.h (rs6000_builtins): Add vupk* enums.
2392         * rs6000.md: Add altivec_vupk* variants.
2394 2002-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
2396         * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
2397         doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
2398         and last update dates.
2400 2002-01-07  Janis Johnson  <janis187@us.ibm.com>
2402         * doc/rtl.texi (Flags): Clean up documentation of RTL flags
2404 2002-01-07  Marek Michalkiewicz  <marekm@amelek.gda.pl>
2406         * config/avr/avr.c (avr_mcu_types): Add new MCU types.
2407         * config/avr/avr.h (CPP_SPEC): Likewise.
2408         (LINK_SPEC): Likewise.
2409         (CRT_BINUTILS_SPECS): Likewise.
2410         * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
2411         * doc/invoke.texi (AVR Options): Document them.
2413 Mon Jan  7 11:59:34 CET 2002  Jan Hubicka  <jh@suse.cz>
2415         * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
2416         LABEL_NUSES.
2418 2002-01-07  Graham Stott  <grahams@redhat.com>
2420         * config/i386/i386.h: Update copyright date.
2421         (HALF_PIC_PTR): Add parenthesis.
2422         (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
2423         (CONSTANT_ALIGNMENT): Add parenthesis.
2424         (DATA_ALIGNMENT): Likewise.
2425         (LOCAL_ALIGNMENT): Likewise.
2426         (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
2427         (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
2428         (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
2429         (HARD_REGNO_NREGS): Add paranethesis.
2430         (VALID_SSE_REG_MODE): Whitespace.
2431         (VALID_MMX_REG_MODE): Whitespace.
2432         (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
2433         (ix86_hard_regno_mode_ok): Add parenthesis.
2434         (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
2435         (RETURN_IN_MEMORY): Whitespace.
2436         (N_REG_CLASSES): Add parenthesis.
2437         (INTEGER_CLASS_P): Add parenthesis and wrap.
2438         (FLOAT_CLASS_P): Likewise.
2439         (SSE_CLASS_P): Likewise.
2440         (MMX_CLASS_P): Likewise.
2441         (MAYBE_INTEGER_CLASS_P): Likewise.
2442         (MAYBE_FLOAT_CLASS_P): Likewise.
2443         (MAYBE_SSE_CLASS_P): Likewise.
2444         (MAYBE_MMX_CLASS_P): Likewise.
2445         (Q_CLASS_P): Likewise.
2446         (GENERAL_REGNO_P): Uppercase macro parameter.
2447         (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
2448         (FP_REGNO_P): Likewise.
2449         (ANY_FP_REGNO_P): Uppercase macro parameter.
2450         (SSE_REGNO_P): Likewise.
2451         (SSE_REGNO): Likewise.
2452         (SSE_REG_P): Likewise.
2453         (SSE_FLOAT_MODE_P): Likewise.
2454         (MMX_REGNO_P): Likewise.
2455         (MMX_REG_P):Likewise.
2456         (STACK_REG_P): Likewise.
2457         (NON_STACK_REG_P): Likewise.
2458         (STACK_TOP_P): Likewise.
2459         (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
2460         (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
2461         (SECONDARY_MEMORY_NEEDED): Likewise.
2462         (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
2463         (MD_ASM_CLOBBERS): Whitespace and wrap.
2464         (MUST_PASS_IN_STACK): Whitespace and wrap.
2465         (RETURN_POPS_ARGS): Add parenthesis.
2466         (INIT_CUMULATIVE_ARGS): Likewise.
2467         (FUNCTION_ARG): Likewise.
2468         (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
2469         (SETUP_INCOMING_VARARGS): Likewise.
2470         (BUILD_VA_LIST_TYPE):  Add parenthesis.
2471         (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
2472         parenthsis.
2473         (EXPAND_BUILTIN_VA_ARG): Likewise.
2474         (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
2475         (INITIALIZE_TRAMPOLINE): Add parenthesis.
2476         (INITIAL_ELIMINATION_OFFSET): Likewise.
2477         (REGNO_OK_FOR_INDEX_P): Add parenthesis.
2478         (REGNO_OK_FOR_BASE_P): Likewise.
2479         (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
2480         (REGNO_OK_FOR_DIREG_P): Likewise.
2481         (REG_OK_FOR_INDEX_P): Whitespace.
2482         (REG_OK_FOR_BASE_P): Whitespace.
2483         (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
2484         parenthesis.
2485         (FIND_BASE_TERM): Fix typo.
2486         (LEGITIMIZE_ADDRESS): Wrap in  { .. } while (0) and add parenthesis.
2487         (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
2488         (SYMBOLIC_CONST; Whitespace.
2489         (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in  { .. } while (0) and wrap.
2490         (ENCODE_SECTION_INFO): Whitespace.
2491         (FINALIZE_PIC): Remove do { ... } while (0).
2492         (PROMOTE_MODE): Wrap in do { ... } while (0).
2493         (CONST_COSTS): Whitespace.
2494         (RTX_COSTS): Add paramethesis, whitespace and wrap.
2495         (REGISTER_MOVE_COST): Add parenthesis.
2496         (MEMORY_MOVE_COST): Likewise.
2497         (EXTRA_CC_MODES): Whitespace.
2498         (SELECT_CC_MODE): Add parenthesis and whitespace.
2499         (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
2500         (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
2501         (ASM_OUTPUT_LABEL): Add paramethesis.
2502         (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
2503         (ASM_OUTPUT_REG_POP): Likewise.
2504         (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
2505         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2507         * config/i386/i386.c: Update copyright.
2508         (CHECK_STACK_LIMIT): Add parenthesis.
2509         (AT_BP): Uppercase macro parameter.
2510         (x86_64_int_parameter_registers): Constify.
2511         (x86_64_int_return_registers): Likewise.
2512         (ix86_compare_op0): Use rtx.
2513         (construct_container): Constify INTREG parameter.
2514         (function_arg): Use rtx.
2516         * diagnostic.h: Update copyright date.
2517         (output_buffer_state): Add parenthesis.
2518         (output_buffer_format_args): Likewise.
2520         * combine.c (combine_instructions): Replace XEXP (links, 0)
2521         with link.
2523 2002-01-06  H.J. Lu <hjl@gnu.org>
2525         * cfgcleanup.c (thread_jump): Fix 2 typos.
2527 2002-01-06  Aldy Hernandez  <aldyh@redhat.com>
2529         * config.gcc: Add support for --enable-altivec.
2531 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2533         * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
2535 2002-01-06  Jakub Jelinek  <jakub@redhat.com>
2537         * objc/objc-act.c (handle_impent): Use assemble_variable to emit
2538         __objc_class_name_*.
2540 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2542         * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
2544 2002-01-06  Richard Henderson  <rth@redhat.com>
2546         * reorg.c (emit_delay_sequence): Remove death notes, not merely
2547         nop them out.  Increment label reference count for REG_LABEL.
2548         (fill_slots_from_thread): Frob label reference count around
2549         delete_related_insns.
2551 2002-01-05  Richard Henderson  <rth@redhat.com>
2553         * cfgcleanup.c (try_forward_edges): Detect infinite loops while
2554         jump threading.
2556 2002-01-05  Richard Henderson  <rth@redhat.com>
2558         * c-decl.c (c_expand_body): Don't call outlining_inline_function.
2559         * integrate.c (output_inline_function): Likewise.
2560         * toplev.c (rest_of_compilation): Do it here instead.  Move call
2561         to remove_unnecessary_notes after emitting abstract instance.
2562         Force an emitted nested function to have its parent emited as well.
2563         * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
2564         for null.
2565         (rtl_for_decl_location): Do not look at reload data structures
2566         before reload has run.
2568 2002-01-05  Kazu Hirata  <kazu@hxi.com>
2570         * cse.c: Fix formatting.
2571         * dwarf2asm.c: Likewise.
2572         * dwarf2out.c: Likewise.
2573         * explow.c: Likewise.
2574         * expmed.c: Likewise.
2575         * function.c: Likewise.
2576         * gcov.c: Likewise.
2577         * gencheck.c: Likewise.
2578         * genrecog.c: Likewise.
2579         * ggc-common.c: Likewise.
2580         * ggc-page.c: Likewise.
2581         * global.c: Likewise.
2583 2002-01-05  Kazu Hirata  <kazu@hxi.com>
2585         * combine.c: Fix formatting.
2587 2002-01-05  Craig Rodrigues  <crodrigu@bbn.com>
2589         PR middle-end/1557
2590         * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
2592 2002-01-05  David Edelsohn  <edelsohn@gnu.org>
2594         * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
2595         as 1 for __powerpc64__ as well.
2597         * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
2599         * alias.c (find_base_value, PLUS/MINUS): If we found a base,
2600         return it.
2602 2002-01-05  Daniel Berlin  <dan@dberlin.org>
2604         * lcm.c: Revert change, due to performance regression it causes on
2605         SPEC because it's slightly more conservative (sigh, I hate
2606         edge-based LCM).
2608 Sat Jan  5 11:52:05 CET 2002  Jan Hubicka  <jh@suse.cz>
2610         * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
2612 2002-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
2614         * doc/cppinternals.texi: Update.
2616 2002-01-05  Hans-Peter Nilsson  <hp@bitrange.com>
2618         * doc/invoke.texi (Option Summary) <MMIX Options>: Document
2619         -mbranch-predict, -mreg-stack-fill-bug-workaround and their
2620         negatives.
2621         (MMIX Options): Ditto.  Fix item/itemx typo for -mno-zero-extend.
2622         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
2623         kludge for pre-october-14th mmix versions to handle new-found bug
2624         with PUSHJ/PUSHGO and the register stack.
2625         * config/mmix/mmix.h (struct machine_function): Rename member
2626         has_call_value_without_parameters to has_call_without_parameters.
2627         All referers changed.
2628         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
2629         TARGET_MASK_BRANCH_PREDICT): New macros.
2630         (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
2631         -mno-reg-stack-fill-bug-workaround.
2632         * config/mmix/mmix.md ("call"): Set struct machine member
2633         has_call_without_parameters.
2635 Sat Jan  5 02:20:22 CET 2002  Jan Hubicka  <jh@suse.cz>
2637         * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
2639 Sat Jan  5 01:35:29 CET 2002  Jan Hubicka  <jh@suse.cz>
2641         * cfgcleanup.c: Include tm_p.h
2642         (mark_effect): Fix handling of hard register; fix handling of SET
2644 2002-01-04  Kazu Hirata  <kazu@hxi.com>
2646         * config/h8300/h8300.md (anonymous patterns): Check that
2647         operands are registers before using REGNO on them.
2649 2002-01-03  Roland McGrath  <roland@frob.com>
2651         * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
2653 2002-01-04  Jakub Jelinek  <jakub@redhat.com>
2655         * tree.h (expand_expr_stmt_value): Add maybe_last argument.
2656         * c-common.h (genrtl_expr_stmt_value): Likewise.
2657         * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
2658         (expand_expr_stmt_value): Add maybe_last argument.
2659         Don't warn about statement with no effect if it is the last statement
2660         in expression statement.
2661         * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
2662         (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
2663         expand_expr_stmt_value.
2664         (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
2665         genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
2666         * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
2667         as maybe_last to expand_expr_stmt_value.
2669 Fri Jan  4 11:45:05 2002  Jeffrey A Law  (law@redhat.com)
2671         * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
2672         be passed in, do not build it.
2673         (c_begin_if_stmt): New function.
2674         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2675         * c-common.h (c_expand_start_cond): Update prototype.
2676         (c_begin_if_stmt): Prototype new function.
2677         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2678         * c-parse.in (if_prefix): Use c_begin_if_stmt,
2679         c_begin_while_stmt and c_finish_while_stmt_cond.
2681 2002-01-04  William Cohen  <wcohen@redhat.com>
2683         * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
2684         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2685         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2686         * config/pa/som.h (ASM_FILE_START): Likewise.
2688 2002-01-04  Daniel Berlin  <dan@cgsoftware.com>
2690         * lcm.c: Include df.h.
2691         Add available_transfer_function prototype.
2692         (compute_available): Rework to use iterative dataflow framework.
2693         (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
2694         with bb_info in df.h
2695         (available_transfer_function): New function.
2697         * Makefile.in (lcm.o): add df.h to dependencies.
2699 2002-01-04  Richard Henderson  <rth@redhat.com>
2701         * config/alpha/alpha.c (some_operand): Accept HIGH.
2702         (input_operand): Likewise; accept simple references to globals.
2703         (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
2704         (alpha_const_double_ok_for_letter_p): Likewise.
2705         (alpha_extra_constraint): Likewise.
2706         (alpha_preferred_reload_class): Likewise.  Do not force
2707         symbolic constants to memory.
2708         (alpha_legitimate_address_p): Accept simple references
2709         to small_symbolic_operand.
2710         (alpha_legitimize_address): New arg scratch.  Be prepared to be
2711         called when no_new_pseudos.  Emit simple symbolic references.
2712         Split integers into low, high, and rest.
2713         (alpha_expand_mov): Use alpha_legitimize_address.
2714         (some_small_symbolic_mem_operand): New.
2715         (split_small_symbolic_mem_operand): New.
2716         * config/alpha/alpha-protos.h: Update.
2717         * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
2718         (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
2719         (EXTRA_CONSTRAINT): Likewise.
2720         (PREFERRED_RELOAD_CLASS): Likewise.
2721         (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
2722         (PREDICATE_CODES): Update.
2723         * config/alpha/alpha.md: New post-reload splitters to convert
2724         simplfied symbolic operands to the form that references $29.
2725         (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
2726         (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
2728 2002-01-03  Richard Henderson  <rth@redhat.com>
2730         * local-alloc.c (function_invariant_p): Update commentary.
2732 2002-01-04  H.J. Lu <hjl@gnu.org>
2734         * toplev.c (rest_of_compilation): Fix a typo when calling
2735         cleanup_cfg.
2737 2002-01-03  Kazu Hirata  <kazu@hxi.com>
2739         * c-common.c: Fix formatting.
2740         * diagnostic.c: Likewise.
2741         * doloop.c: Likewise.
2742         * dwarf2out.c: Likewise.
2744 2002-01-03  Kazu Hirata  <kazu@hxi.com>
2746         * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
2747         of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
2749 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
2751         * cpperror.c: Update comments and copyright.
2752         * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
2753         cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
2755 2002-01-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2757         * collect2.c (main): Use strcmp when testing for "-shared".
2759 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
2761         * cppmacro.c: Don't include intl.h.  Update comments.
2762         (new_number_token): Allocate enough buffer for 64-bit unsigned
2763         integers; update prototype.
2764         * cppmain.c: Update comments.
2766 2002-01-03  William Cohen  <wcohen@redhat.com>
2768         * function.h (struct function): Add profile.
2769         (current_function_profile): New.
2770         doc/extend.texi: Update documentation.
2771         * final.c (final_start_function): Use current_function_profile
2772         instead of profile_flag.
2773         (profile_after_prologue): Likewise.
2774         * function.c (expand_function_start): Likewise.
2775         (expand_function_start): Likewise.
2776         * config/alpha/alpha.c (direct_call_operand):
2777         (alpha_does_function_need_gp): Likewise.
2778         (alpha_expand_prologue): Likewise.
2779         * config/arm/arm.c (arm_expand_prologue): Likewise.
2780         thumb_expand_prologue: Likewise.
2781         * config/d30v/d30v.c (d30v_stack_info): Likewise.
2782         * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
2783         (fr30_expand_prologue): Likewise.
2784         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
2785         * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
2786         * config/i386/i386.h (FINALIZE_PIC): Likewise.
2787         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
2788         * config/i960/i960.c (i960_output_function_prologue): Likewise.
2789         * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
2790         * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
2791         (m32r_expand_prologue): Likewise.
2792         * config/m88k/m88k.c (m88k_layout_frame): Likewise.
2793         (m88k_expand_prologue): Likewise.
2794         * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
2795         * config/mips/mips.c (compute_frame_size): Likewise.
2796         (mips_expand_prologue): Likewise.
2797         (mips_can_use_return_insn): Likewise.
2798         * config/pa/elf.h (ASM_FILE_START): Likewise.
2799         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2800         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2801         * config/pa/som.h (ASM_FILE_START): Likewise.
2802         * config/romp/romp.c (romp_using_r14): Likewise.
2803         * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
2804         (rs6000_stack_info): Likewise.
2805         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2806         * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
2807         * config/v850/v850.c (compute_register_save_size): Likewise.
2809 2002-01-03  Jakub Jelinek  <jakub@redhat.com>
2811         * simplify-rtx.c (simplify_binary_operation) [DIV]: If
2812         gen_lowpart_common fails, use gen_lowpart_SUBREG.
2814 2002-01-03  Turly O'Connor  <turly@apple.com>
2816         * darwin.c (machopic_output_possible_stub_label): Don't generate
2817         stub routines for pseudo-stubs which we've just defined.
2819 2002-01-03  Kazu Hirata  <kazu@hxi.com>
2821         * builtins.c: Fix formatting.
2822         * c-typeck.c: Likewise.
2823         * combine.c: Likewise.
2824         * expr.c: Likewise.
2825         * loop.c: Likewise.
2827 2002-01-03  Andreas Schwab  <schwab@suse.de>
2829         * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
2830         and return true if _cpp_push_next_buffer pushed a new include
2831         file.
2832         * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
2833         _cpp_pop_file_buffer did not push a new file.
2834         * cpphash.h (_cpp_pop_file_buffer): Update declaration.
2836 2002-01-02  Eric Christopher  <echristo@redhat.com>
2838         * final.c (final_scan_insn): Change 0 -> NULL_RTX in
2839         FIND_REG_INC_NOTE call. Update copyright.
2840         * loop.c (canonicalize_condition): Ditto.
2841         * reorg.c (delete_scheduled_jump): Ditto.
2843 2002-01-03  Kazu Hirata  <kazu@hxi.com>
2845         * gcse.c: Fix formatting.
2847 2002-01-03  Graham Stott  <grahams@redhat.com>
2849         * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
2850         forward defs for struct tags rtx_def, union_tree, rtvec_def
2851         also output corresponding typedefs for rtx, tree, and rtvec.
2853         * system.h: Move forward defs for struct tags rtx_def, union_tree,
2854         rtvec_def along with corresponding typedefs for rtx, tree, and
2855         rtvec to config.h, hconfig.h, tconfig.h.
2857 2002-01-03  Graham Stott  <grahams@redhat.com>
2859         * tree.h: Update copyright date.
2860         (IS_EXPR_CODE_CLASS): Add parenthesis.
2861         (TREE_SET_CODE): Add whitespace.
2862         (TREE_CHECK): Add parenthesis.
2863         (TREE_CLASS_CODE): Add parenthesis and wrap long line.
2864         (CST_OR_CONSTRUCTOR_CHECK):
2865         (EXPR_CHECK): Add parenthis, whitespace and wrap line.
2866         (TREE_SYMBOL_REFERENCED): Whitespace.
2867         (INT_CST_LT): Likewise.
2868         (INT_CST_LT_UNSIGNED): Likewise.
2869         (tree_real_cst): Unwrap comment.
2870         (tree_string): Likewise.
2871         (tree_complex): Likewise.
2872         (IDENTIFIER_POINTER): correct cast.
2873         (SAVE_EXPR_CONTEXT): Whitespace.
2874         (EXPR_WFL_FILENAME_NODE): Likewise.
2875         (EXPR_WFL_FILENAME): Remove parenthesis.
2876         (DECL_ORIGIN): Add parenthesis.
2877         (DECL_FROM_INLINE): Use NULL_TREE.
2878         (build_int_2): Whitespace.
2879         (build_type_variant): Add parenthesis.
2881         * gcc/jcf-parse.c: Update copyright date.
2882         (yyparse): Constify resource_filename.
2884 2002-01-03  Graham Stott  <grahams@redhat.com>
2886         * rtl.h: Update copyright date.
2887         (RTL_CHECK1): Wrap long line.
2888         (RTL_CHECK2): Likewise.
2889         (RTL_CHECKC1): Wrap long line and whitespace.
2890         (RTL_CHECKC2): Likewise.
2891         (XWINT): Whitespace.
2892         (XINT): Likewise.
2893         (XSTR): Likewise.
2894         (XEXP): Likewise.
2895         (XVEC): Likewise.
2896         (XMODE): Likewise.
2897         (XBITMAP): Likewise.
2898         (XTREE): Likewise.
2899         (XBBDEF): Likewise.
2900         (XTMPL): Likewise.
2901         (X0WINT): Likewise.
2902         (X0INT):Likewise.
2903         (X0UINT): Likewise.
2904         (X0STR): Likewise.
2905         (X0EXP): Likewise.
2906         (X0VEC): Likewise.
2907         (X0MODE): Likewise.
2908         (X0BITMAP): Likewise.
2909         (X0TREE): Likewise.
2910         (X0BBDEF): Likewise.
2911         (X0ADVFLAGS): Likewise.
2912         (X0CSELIB): Likewise.
2913         (X0MEMATTR): Likewise.
2914         (XCWINT): Likewise.
2915         (XCINT): Likewise.
2916         (XCUINT): Likewise.
2917         (XCSTR): Likewise.
2918         (XCEXP): Likewise.
2919         (XCVEC): Likewise.
2920         (XCMODE): Likewise.
2921         (XCBITMAP): Likewise.
2922         (XCTREE): Likewise.
2923         (XCBBDEF): Likewise.
2924         (XCADVFLAGS): Likewise.
2925         (XCCSELIB): Likewise.
2926         (XC2EXP): Likewise.
2927         (INSN_UID): Likewise.
2928         (PREV_INSN): Likewise.
2929         (PATTERN): Likewise.
2930         (INSN_CODE): Likewise.
2931         (PUT_REG_NOTE_KIND): Likewise.
2932         (CODE_LABEL_NUMBER): Likewise.
2933         (NOTE_SOURCE_FILE): Likewise.
2934         (NOTE_BLOCK): Likewise.
2935         (NOTE_EH_HANDLER): Likewise.
2936         (NOTE_RANGE_INFO): Likewise.
2937         (NOTE_LIVE_INFO): Likewise.
2938         (NOTE_BASIC_BLOCK): Likewise.
2939         (NOTE_EXPECTED_VALUE): Likewise.
2940         (NOTE_LINE_NUMBER): Likewise.
2941         (LABEL_NAME): Likewise.
2942         (LABEL_NUSES): Likewise.
2943         (LABEL_ALTERNATE_NAME): Likewise.
2944         (ADDRESSOF_DECL): Likewise.
2945         (JUMP_LABEL): Likewise.
2946         (LABEL_NEXTREF): Likewise.
2947         (REGNO): Likewise.
2948         (ORIGINAL_REGNO: Likewise.
2949         (HARD_REGISTER_NUM_P): Add parenthesis.
2950         (SUBREG_REG): Whitespace.
2951         (SUBREG_BYTE): Likewise.
2952         (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
2953         (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
2954         (ASM_OPERANDS_OUTPUT_IDX): Likewise.
2955         (ASM_OPERANDS_INPUT_VEC): Likewise.
2956         (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
2957         (ASM_OPERANDS_INPUT): Likewise.
2958         (ASM_OPERANDS_INPUT_LENGTH): Likewise.
2959         (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
2960         (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
2961         (ASM_OPERANDS_INPUT_MODE): Likewise.
2962         (ASM_OPERANDS_SOURCE_FILE): Likewise.
2963         (ASM_OPERANDS_SOURCE_LINE): Likewise.
2964         (MEM_SET_IN_STRUCT_P): Minor reformat.
2965         (TRAP_CONDITION): Whitespace.
2966         (TRAP_CODE): Likewise.
2967         (COND_EXEC_TEST): Likewise.
2968         (COND_EXEC_CODE): Likewise.
2969         (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
2970         (PHI_NODE_P): Add parenthesis.
2971         (plus_constant): Whitespace and add parenthesis.
2973 2002-01-03  Kazu Hirata  <kazu@hxi.com>
2975         * config/avr/avr.c: Fix comment typos.
2976         * config/c4x/c4x.md: Likewise.
2977         * config/dsp16xx/dsp16xx.h: Likewise.
2978         * config/dsp16xx/dsp16xx.md: Likewise.
2979         * config/i386/i386.md: Likewise.
2980         * config/ia64/ia64.c: Likewise.
2981         * config/m32r/m32r.h: Likewise.
2982         * config/m68hc11/m68hc11.md: Likewise.
2983         * config/mmix/mmix.c: Likewise.
2984         * config/mn10200/mn10200.c: Likewise.
2985         * config/romp/romp.c: Likewise.
2986         * config/sh/sh.c: Likewise.
2987         * config/stormy16/stormy16.c: Likewise.
2988         * config/stormy16/stormy16.h: Likewise.
2989         * config/stormy16/stormy16.md: Likewise.
2991 2002-01-03  Graham Stott  <grahams@redhat.com>
2993         * loop.h: Update copyright date.
2994         (LOOP_MOVABLES): Fix typo.
2995         (LOOP_REGS): Likewise.
2996         (LOOP_IVS): Likewise.
2998 2002-01-03  Graham Stott  <grahams@redhat.com>
3000         * cppinit.c: Update copyright date.
3001         Don't include output.h
3002         * Makefile.in: Update copyright date.
3003         Update dependency.
3005 2002-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3007         PR c/5226
3008         * invoke.texi (-mthreads): Remove from documented RS/6000 options.
3009         (-pthread) Add to RS/6000 options.
3011 2002-01-02  Kazu Hirata  <kazu@hxi.com>
3013         * except.c: Fix comment typos.
3014         * loop.c: Likewise.
3015         * varasm.c: Likewise.
3016         * doc/tm.texi: Fix a typo.
3018 2002-01-02  Jakub Jelinek  <jakub@redhat.com>
3020         * c-typeck.c (output_init_element): Allow initializing static storage
3021         duration objects with compound literals.
3023 2002-01-02  Richard Henderson  <rth@redhat.com>
3025         * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
3026         after abusing it.
3028 2002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3030         * gcc.c (default_compilers): Const-ify.
3031         * mips-tdump.c (stab_names): Likewise.
3032         * mips-tfile.c (map_coff_types, map_coff_storage,
3033         map_coff_sym_type, map_coff_derived_type, stabs_symbol,
3034         pseudo_ops_t, pseudo_ops): Likewise.
3035         * protoize.c (default_include): Likewise
3037         * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
3038         (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
3039         Add array size in declaration.
3040         (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
3041         emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
3042         esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
3043         etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
3044         eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
3045         efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
3046         c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
3047         emtens, make_nan): Const-ify.
3048         (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
3049         DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
3051 2002-01-02  Joseph S. Myers  <jsm28@cam.ac.uk>
3053         * config.gcc (ia64-*-*): Set extra_headers.
3054         (alpha*-dec-osf*): Likewise.  Don't use alpha/t-osf.
3055         * config/alpha/t-osf: Remove.
3056         * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
3058 2002-01-02  David Edelsohn  <edelsohn@gnu.org>
3060         * config/rs6000/t-aix43: Revert previous change.
3062 2002-01-02  Jason Merrill  <jason@redhat.com>
3064         * c-decl.c (c_expand_body): Call outlining_inline_function when
3065         emitting an inline function out of line.
3067 2002-01-02  Richard Henderson  <rth@redhat.com>
3069         * dwarf2out.c (limbo_die_node): Add created_for member.
3070         (new_die): New argument created_for.  Update all callers.
3071         (mark_limbo_die_list): New.
3072         (dwarf2out_init): Register limbo_die_list as a root.
3073         (dwarf2out_finish): Force insert limbo dies into their function
3074         context.
3076 2002-01-02  Nathan Sidwell  <nathan@codesourcery.com>
3078         PR c++/5089
3079         * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
3081 2002-01-02  Kazu Hirata  <kazu@hxi.com>
3083         * config/h8300/fixunssfsi.c: Update copyright.
3084         Fix comment typos.
3085         Fix formatting.
3086         * config/h8300/h8300.c: Update copyright.
3087         Eliminate warnings.
3089 2002-01-02  Kazu Hirata  <kazu@hxi.com>
3091         * config/romp/romp.c: Fix comment formatting.
3092         * config/romp/romp.h: Likewise.
3093         * config/romp/romp.md: Likewise.
3094         * config/s390/s390.c: Likewise.
3095         * config/stormy16/stormy16.c: Likewise.
3096         * config/stormy16/stormy16.h: Likewise.
3098 2002-01-02  Alexandre Oliva  <aoliva@redhat.com>
3100         * c-common.h (genrtl_expr_stmt_value): Declare.
3101         * c-semantics.c (genrtl_goto_stmt): Redirect to...
3102         (genrtl_goto_stmt_value): ... this new function.  Pass new
3103         argument down to expand_expr_stmt_value, taking
3104         TREE_ADDRESSABLE into account.
3105         * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
3106         STMT_EXPR as addressable, i.e., one whose result we want.
3107         * expr.c (expand_expr): Don't save expression statement value
3108         of labeled_blocks or loop_exprs.
3109         * stmt.c (expand_expr_stmt): Redirect to...
3110         (expand_expr_stmt_value): ... this new function.  Use new
3111         argument to tell whether to save expression value.
3112         (expand_end_stmt_expr): Reset last_expr_type and
3113         last_expr_value if we don't have either.
3114         * tree-inline.c (declare_return_variable): Mark its use
3115         statement as addressable.
3116         * tree.h: Document new use of TREE_ADDRESSABLE.
3117         (expand_expr_stmt_value): Declare.
3119 2002-01-01  Tom Rix  <trix@redhat.com>
3121         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
3122         rs6000_emit_allocate_stack.
3124 2002-01-01  Joseph S. Myers  <jsm28@cam.ac.uk>
3126         * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
3127         ${srcdir}/ginclude/ to every entry in extra_headers.
3128         * configure: Regenerate.
3129         * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
3130         * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
3131         * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
3132         * ginclude/proto.h: Rename to config/convex/proto.h.
3134 Tue Jan  1 17:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3136         * attribs.c (handle_vector_size_attribute): Use host_integerp
3137         and tree_int_cst; remove warnings.
3138         * caller-save.c (insert_restore): Add cast to get rid of warning.
3139         (insert_save): Likewise.
3140         * emit-rtl.c (adjust_address_1, offset_address): Likewise.
3141         * regmove.c (find_matches): Add temporary var to kill a warning.
3143 2002-01-01  Douglas B Rupp  <rupp@gnat.com>
3145         * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
3146         LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
3147         * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
3148         (vms-dwarf2eh.o): Add Makefile rule.
3149         * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
3150         * config/alpha/vms-dwarf2eh.asm: New file.
3152         * gcc.c (delete_if_ordinary): Delete all versions.
3154 2002-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
3156         * config/mmix/mmix.md: Update FIXME to not mention
3157         define_constants.
3158         (MMIX_rJ_REGNUM): New define_constants constant.
3159         ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
3160         "*movdicc_real"): Adjust contraints formatting.
3161         ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
3162         for branch prediction.
3163         ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
3164         output template.
3165         ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
3166         "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
3167         number.  Delete related FIXMEs.
3168         * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
3169         from number to MMIX_rJ_REGNUM.
3170         (TARGET_MASK_BRANCH_PREDICT): New.
3171         (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
3172         (TARGET_SWITCHES): Update comment.  Correct -mno-toplevel-symbols
3173         value.  Add -mbranch-predict and -mno-branch-predict.
3174         (TARGET_VERSION): Drop date.
3175         (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
3176         * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
3177         for finding out global symbols.
3178         (mmix_asm_output_labelref): Revert condition for global symbol.
3179         (mmix_print_operand): <case '+'>: Emit P for a likely branch.
3180         (mmix_print_operand_punct_valid_p): A '+' is valid.
3182 See ChangeLog.6 for earlier changes.