* tree.h (TREE_SET_PERMANENT): New macro. Document conditions
[official-gcc.git] / gcc / ChangeLog
blob991d4a7ad722221ba3fc21db5cee34ca9a9002ab
1 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
3         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
4         under which TREE_PERMANENT will be set.
5         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
6         build1): Use TREE_SET_PERMANENT.
7         * print-tree.c (print_node): Don't report value of
8         TREE_PERMANENT if ggc_p is true.
10         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
11         decide whether to give a type a new alias set.
12         * objc/objc-act.c (build_objc_string_object): Never copy the string.
13         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
14         of value of 'obstack'.
17 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
21 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
23         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
24         * cpplib.c (cpp_get_token): Produce them.
25         * cppexp.c (cpp_lex): Handle them.
27 2000-02-23  Nick Clifton  <nickc@cygnus.com>
29         * config/arm/arm.c (arm_comp_type_attributes): Simply and
30         comment tests on type attributes.
32 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
34         * final.c (shorten_branches): Make value passed to LABEL_ALIGN
35         conform to documentation.
36         * sh.h (LABEL_ALIGN): If aligning loops, call sh_label_align
37         to check for special cases.
38         * sh-protos.h (sh_label_align): Declare.
39         * sh.c (sh_label_align): Define.
41 2000-02-22  Andrew Haley  <aph@cygnus.com>
43         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
44         (SIZE_TYPE): Is 32 bits when using -mgp32.
45         (PTRDIFF_TYPE): Ditto.
47 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
49         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
51 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
53         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
54         BIGGEST_FIELD_ALIGNMENT a constant.
56 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
58         * dwarf2out.c (output_line_info): Put the marker for the end of
59         the line number info at the actual end.
60         (gen_struct_or_union_type_die): Use decl_function_context 
61         to check for local classes.
62         * dwarfout.c (output_type): Likewise.
64 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
66         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
67         for arguments with a mode, but no type.
68         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
69         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
70         * pa/long_double.h: New file.
71         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
72         both have 128bit wide long doubles.
73         * configure: Rebuilt.
75 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
77         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
79         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
80         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
81         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
83         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
85         * integrate.c (compare_blocks, find_block): Likewise.
87         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
89         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
91         * stmt.c (stmt_status, set_file_and_line_for_stmt,
92         expand_asm_operands): Likewise.
94 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
96         * predict.c (estimate_probability): Added the pointer heuristic to
97         the collection of static branch predictors.
99 2000-02-21  Catherine Moore  <clm@cygnus.com>
101         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
102         * invoke.texi (-mfix7000): Document.
104 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
106         * diagnostic.c (init_output_buffer): Make it possible to output at
107         least 32 characters if we're given a too long prefix.
109 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
111         * varasm.c (initializer_constant_valid_p): Call
112         lang_expand_constant to simplify the constant.
114 2000-02-20  Bruce Korb  <bkorb@gnu.org>
116         * fixinc/inclhack.def(stdio_va_list):
117         typedef needs to be disabled.
118         * fixinc/inclhack.sh: regen
119         * fixinc/fixincl.x: regen
121 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
123         * print-rtl.c (print_rtx): Don't print addresses when
124         flag_dump_unnumbered.
126 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
128         * sparc.c (sparc_output_scratch_registers): Mark parameter with
129         ATTRIBUTE_UNUSED.
130         (sparc_va_arg, sparc_flat_output_function_prologue,
131         sparc_flat_output_function_epilogue): Cast value to unsigned in
132         comparison.
133         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
134         
135         * sparc.md: Add default case in switch.
137 2000-02-19  Richard Henderson  <rth@cygnus.com>
139         * c-typeck.c (add_pending_init): Don't abort for multiple
140         fields at the same offset.
141         (pending_init_member): Test the correct member.
143 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
145         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
146         instead of SImode.
147         (start_catch_handler) : Same.
149 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
151         * Makefile.in: Have flow.o depend on $(EXPR_H)
153 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
155         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
156         * c-decl.c (duplicate_decls, finish_enum): Likewise.
157         (finish_decl): Remove -Wlarger-than code from here.
158         * flags.h (id_clash_len): Now int.
159         (larger_than_size): Now HOST_WIDE_INT.
160         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
161         Clean up checking to see if in table.
162         (make_bit_field_ref): Remove extra parm to bitsize_int.
163         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
164         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
165         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
166         and for computing size of decl.
167         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
168         Move -Wlarger-than code to here.
169         (layout_record): Remove extra arg to bitsize_int.
170         Set TYPE_BINFO_SIZE_UNIT.
171         (layout_union): Remove extra arg to bitsize_int.
172         Use proper type for size of QUAL_UNION.
173         (layout_type): Remove extra arg to bitsize_int.
174         * toplev.c (id_clash_len): Now int.
175         (larger_than_size): Now HOST_WIDE_INT.
176         (decode_W_option): Clean up id-clash and larger-than- cases.
177         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
178         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
179         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
180         (struct tree_decl): New field size_unit.
181         (size_int_wide): No HIGH operand; NUMBER is now signed.
182         (size_int_2): Deleted.
183         (size_int, bitsize_int): Don't use it and rework args.
184         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
186 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
188         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
190 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
192         * invoke.texi (Warning Options): Add an explanation of why
193         you might want the -Wfloat-equal flag.
195 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
197         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
198         * cppinit.c (new_pending_define): Add cast to avoid warning.
199         * expmed.c (extract_bit_field): Likewise.
200         * flow.c (enum reorder_skip_type): New type.
201         (skip_insns_between_blcok): New it.
202         Rework to avoid warning about possibly undefined variable.
203         * function.c (assign_parms): Make thisparm_boundary unsigned.
204         * genrecog.c (write_switch): Cast XWINT result to int.
205         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
206         * mips-tfile.c (init_file): Make two versions of FDR intializer:
207         one for MIPS and one for Alpha.
208         (get_tag, copy_object): Add casts to avoid warnings.
209         * optabs.c (init_one_libfunc): Cast NAME to (char *).
210         * reload.c (find_reloads): Make TYPE enum reload_type.
211         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
212         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
213         * varasm.c (compare_constant_1): Add cast to avoid warning.
214         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
215         to (char *).
216         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
217         Cast switch operand of size to int.
218         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
219         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
220         in unhandled case.
222 2000-02-18  Nick Clifton  <nickc@cygnus.com>
224         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
225         anything for an alignment of zero.
227         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
228         anything for an alignment of zero.
230 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
232         * gcc.texi (Bug Reporting): Refer to bugs.html.
233         (Bug Lists): Likewise.
234         * system.h (GCCBUGURL): New preprocessor define.
235         * rtl.c (fancy_abort): Use it.
236         * gcc.c (main): Likewise.
238 2000-02-18  Richard Henderson  <rth@cygnus.com>
240         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
241         (life_analysis_1): Subsume into ...
242         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
243         Use update_life_info for the relaxation.
244         (update_life_info): Update REG_BASIC_BLOCK for registers live on
245         entry and regs_live_at_setjmp.
246         (set_noop_p): Simplify.
247         (notice_stack_pointer_modification_1): Renamed from s/_1//.
248         (record_volatile_insns): Split into ...
249         (delete_noop_moves): ... here,
250         (notice_stack_pointer_modification): ... here,
251         (insn_dead_p): ... and here.
252         (propagate_block): Don't query INSN_VOLATILE.
253         (mark_used_regs): Mind !PROP_REG_INFO.
254         * toplev.c (rest_of_compilation): Call mark_constant_function here,
255         not in life_analysis.
257 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
259         * loop.c (canonicalize_condition): New function,
260         broken out of get_condition.
261         (get_condition): Use it.
262         * expr.h (canonicalize_condition): Prototype it.
264         * tree.h (tree_int_cst_msb): Declare.
265         * tree.c (tree_int_cst_msb): New function.
267 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
269         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
270         isn't set.
272         * invoke.texi (-fmessage-length=n): Document.
274 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
276         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
278 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
280         * function.c (thread_prologue_and_epilogue_insns): Put a line note
281         after the prologue.
283 2000-02-17  Nick Clifton  <nickc@cygnus.com>
285         * config/arm/thumb.c: Replace includes of system headers with
286         #include "system.h".
288 2000-02-16  Richard Henderson  <rth@cygnus.com>
290         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
291         Add crtbeginS.o and crtendS.o.
292         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
293         (ENDFILE_SPEC): Use crtendS.o.
294         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
296         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
297         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
298         shared and present.
299         (__dso_handle): New variable.
300         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
301         bias to __CTOR_END__.
302         
303 2000-02-16  Richard Henderson  <rth@cygnus.com>
305         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
307 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
309         * longlong.h (__clz_tab): Declare as static to match definition.
311 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
312         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
313         (XREF_FILE_NAME): Define.
315         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
316         (EH_FRAME_SECTION_ASM_OP): Define.
317         (IDENT_ASM_OP): Define.
318         (TEXT_SECTION_ASM_OP): Define.
319         (CPP_SPEC): Define.
320         (CTORS_SECTION_ASM_OP): Define.
321         (CTOR_SECTION_FUNCTION): Use it.
322         (DTORS_SECTION_ASM_OP): Define.
323         (DTOR_SECTION_FUNCTION): Use it.
325 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
327         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
328         NOTE_BASIC_BLOCK.
330         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
331         debug_bb_n): New functions.
332         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
333         * basic-block.h: Prototype new functions.
335 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
337         * configure.in: Add support for avr target.
338         * configure: Rebuilt.
340         * invoke.texi: Add AVR invocation docs.
341         * install.texi: Add information about AVR.
342         * md.texi: Add AVR constraint letters description.
343         * extend.texi: Add description for AVR specific attributes.
345 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
347         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
349 2000-02-16  Nick Clifton  <nickc@cygnus.com>
351         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
352         (make_insn_raw): Move RTL check here.
354 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
356         * version.c: Include gansidecl.h and version.h.
358         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
359         
360         * configure.in (gcc_version): When setting, narrow search to
361         lines containing `version_string'.
363         * Makefile.in (mainversion): Likewise. 
364         (GCC_H): New variable.
365         (gcc.h): Delete target.
366         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
367         (version.o): Depend on version.h.
368         (dbxout.o): Don't depend on gcc.h.
370 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
371                           Michael Meissner  <meissner@cygnus.com>
373         * md.texi (Simple Constraints): Add item about whitespace.
374         * genoutput.c (strip_whitespace): New.
375         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
376         strip_whitespace for constraints.
377         Test pointer using NULL, not 0.
379 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
381         * cpplib.c (do_line): Pedwarn for #line > 32767.
383         * c-lex.c (readescape): Warn about '\x', but do not reject it.
385 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
387         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
388         to default cpp spec.
389         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
390         * cpp.texi: Document __GNUC_PATCHLEVEL__.
391         * cpp.1: Likewise.
393         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
394         default spec.
396 2000-02-15  Denis Chertykov  <denisc@overta.ru>
398         * configure.in: Add support for avr target.
400 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
402         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
403         (sh_addr_diff_vec_mode): Don't declare.
404         * sh.c (sh_addr_diff_vec_mode): Delete.
406 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
408         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
410 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
412         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
413         (smulsi3_highpart_i): Name.
414         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
415         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
416         (smulsi3_highpart, umulsi3_highpart): Likewise.
418         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
419         correctly independent of endianness.
420         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
421         confuse the optimizers.
422         (mulsidi3+1, umulsidi3+1): New define_split.
424 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
426         * config/sh/sh.md: Guard insn splits against illegal registers.
427         * config/sh/sh.h: Correct comment about macros.
429 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
430                           Andrew MacLeod  <amacleod@cygnus.com>
432         * Makefile.in (lcm.o): Depend on insn-attr.h.
433         * basic-block.h (optimize_mode_switching): Declare.
434         * lcm.c (tm_p.h, insn-attr.h): #include.
435         (seginfo, bb_info): New structs.
436         (antic, transp, comp, delete, insert) : New file-scope static variables.
437         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
438         (reg_becomes_live, optimize_mode_switching): Likewise.
439         * tm.texi: Add description of mode switching macros.
440         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
442         * sh-protos.h (remove_dead_before_cse): Remove prototype.
443         (fldi_ok, fpscr_set_from_mem): New prototypes.
444         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
445         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
446         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
447         (sh_flag_remove_dead_before_cse): Remove declaration.
448         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
449         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
450         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
451         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
452         (barrier_align): Allow for JUMP_INSNS containing a parallel.
453         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
454         (fldi_ok): New function.
455         (get_fpscr_rtx): Add fpscr_rtx as GC root.
456         (emit_sf_insn): Only generate fpu switches when optimize < 1.
457         (emit_df_insn): Likewise.
458         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
459         (sh_flag_remove_dead_before_cse): Delete.
460         (get_free_reg, fpscr_set_from_mem): New functions.
461         * sh.md (movdf, movsf): Remove no_new_pseudos code.
462         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
464 2000-02-15  Loren Rittle  <ljrittle@acm.org>
466         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
468 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
470         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
471         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
473         * cccp.c: Include version.h and/or don't declare `version_string'.
474         * collect2.c: Likewise.
475         * alpha.c: Likewise.
476         * arm/aof.h: Likewise.
477         * arm/coff.h: Likewise.
478         * arm/elf.h: Likewise.
479         * arm/pe.h: Likewise.
480         * arm/tcoff.h: Likewise.
481         * arm/telf.h: Likewise.
482         * arm/tpe.h: Likewise.
483         * arm/vxarm.h: Likewise.
484         * convex/convex.c: Likewise.
485         * i386/dgux.c: Likewise.
486         * i386/sun386.h: Likewise.
487         * m88k/m88k.c: Likewise.
488         * mcore/mcore-pe.h: Likewise.
489         * mips/mips.h: Likewise.
490         * romp/romp.h: Likewise.
491         * sh/sh.c: Likewise.
492         * cpphash.c: Likewise.
493         * cppinit.c: Likewise.
494         * dwarf2out.c: Likewise.
495         * dwarfout.c: Likewise.
496         * gcc.c: Likewise.
497         * gcc.h: Likewise.
498         * mips-tfile.c: Likewise.
499         * protoize.c: Likewise.
500         * toplev.c: Likewise.
501         * tree.h: Likewise.
502         
503         * version.c (version_string): Constify a char*.
505         * version.h: New file.
507 2000-02-14  Nick Clifton  <nickc@cygnus.com>
509         * configure.in: Add mcore-elf and mcore-pe targets.
510         * configure: Regenerate.
512         * NEWS: Add note that MCore port has been contributed.
514         * invoke.texi: Document command line switches for MCore port.
515         * install.texi: Add MCore to list of supported targets.
517 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
519         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
520         then we will need to import the frame handling functions.
521         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
522         to import the frames themselves.
524 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
525                           Jason Eckhardt  <jle@cygnus.com>
527         * basic_block.h: Added prototype for reorder_basic_blocks.
528         * toplev.c: Changes to add -freorder-blocks and graph dump after
529         block reordering is done.
530         * flow.c (reorder_block_def): New structure for use during block
531         reordering.
532         (REORDER_BLOCK_*): New macros to access members of above structure.
533         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
534         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
535         functions for block reordering.
537 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
539         * gcc.texi (Passes): Fix typo.
540         * md.texi (Standard Names): Ditto.
541         * tm.texi (Storage Layout): Ditto.
543 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
545         * cpplib.c (do_define): Only free the old definition if it
546         actually had one.
548 2000-02-13   Neil Booth  <NeilB@earthling.net>
550         * cppfiles.c (read_and_prescan): When emitting deferred
551         newlines, test speccase[] again instead of checking each
552         possible whitespace character in turn.  When we encounter \r,
553         look behind for \n first, then ahead.
555 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
557         * cse.c (cse_altered): New internal flag.
558         (cse_insn): Set it if we changed an insn.
559         (cse_main): Clear cse_altered before each basic block.
560         Only garbage collect if cse_altered is true afterward.
562 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
564         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
566 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
568         * combine.c (simplify_comparison): Fix typo.
570 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
572         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
573         consistently.
575 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
577         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
578         previously inserted node instead of root node.  Caller changed.
580 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
582         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
584 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
586         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
587         __dereg_frame_dtor): Add prototype argument.
589         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
591         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
593         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
595         * gthr-vxworks.h (__gthread_once): Likewise.
597         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
599 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
601         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
602         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
603         stack pointer in functions w/o saved registers, output LEAVE more often
604         on TARGET_USE_LEAVE machines.
606 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
608         * config/arm/arm.c (arm_init_cumulative_args); New function:
609         Initlaise the CUMULATIE_ARGS strcuture for a function
610         defintion. 
611         (arm_function_arg): New function: Determine where to place a
612         function's argument.  Also handles deciding the function's
613         call cookie.
614         (current_file_function_operand): New function: Return true if
615         the symbol is a function which has already been compiled.
616         (arm_is_long_call_p): New function: Return true if the
617         indicated function should be called via a long call.
618         (arm_valid_type_attribute_p): New function: Return true if the
619         attribute is a valid, arm specific, attribute.
620         (arm_comp_type_attribute): New function: Return true if the
621         two types have compatable, arm specific, attributes.
623         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
624         structure.
625         (FUNCTION_ARG): Redefine to call arm_function_arg.
626         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
627         structure field.
628         (INIT_CUMULATIVE_ARGS): Redefine to call
629         arm_init_cumulative_args.
630         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
631         field. 
632         (SETUP_INCOMING_VARARGS): Redefine to use correct structure 
633         field. 
634         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
635         functions.
636         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
637         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
638         (COMP_TYPE_ATTRIBUTES): Define.
640         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
641         if a long call is needed.
642         (call_value): Call arm_is_long_call_p to decide if a long call
643         is needed.
644         (call_symbol): Call arm_is_long_call_p to decide if a long call
645         is needed.
647         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
649 2000-02-11  Denis Chertykov  <denisc@overta.ru>
651         * README.AVR: New file with information about the avr ports.
652         * config/avr: New directory with avr port files.
654 2000-02-11  Andreas Jaeger  <aj@suse.de>
656         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
658 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
660         * cpphash.c: Fix formatting, update commentary.
661         (dump_definition): Take three separate arguments instead of a
662         MACRODEF structure argument.
663         * cpphash.h: Update prototype of dump_definition.
664         * cppinit.c (cpp_finish): Update call of dump_definition.
666         * cpplib.c (do_define): Always create new hash entry with
667         T_MACRO type.  Remove redundant check for redefinition of
668         poisoned identifier.  Update call of dump_definition.
669         (do_undef): Don't call check_macro_name.  Rename sym_length to
670         len.
671         (do_error, do_warning): Don't use copy_rest_of_line or
672         SKIP_WHITE_SPACE.
673         (do_warning): Don't use pedwarn for the actual warning,
674         only the notice about its not being in the standard.  (Fixes
675         bug with #warning in system headers.)
676         (do_ident): Stricter argument checking - accept only a single
677         string after #ident.  Also, macro-expand the line.
678         (do_xifdef): Use cpp_defined.  De-obfuscate.
680         (do_pragma): Split out specific pragma handling to separate
681         functions.  Use get_directive_token.  Update commentary.  Do
682         not pass on #pragma once or #pragma poison to the front end.
683         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
684         do_pragma_default): New.
686 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
688         * jump.c (jump_optimize_1): The first operand in a relational
689         can be a CONST_INT.
690         * optabs.c (emit_conditional_move): Handle relationals which
691         have a known true/false result.
693 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
695         * function.c (thread_prologue_and_epilogue_insns): Don't insert
696         a RETURN insn into a block which already ends with a jump.
698 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
700         * haifa-sched.c (BUF_LEN): Increase a lot.
702 2000-02-11  Nick Clifton  <nickc@cygnus.com>
704         * configure.in: Add tm_p_file specification for thumb targets.
705         * configure: Regenerate.
707         * config/arm/thumb-protos.h: New file: Prototypes for exported
708         functions defined in thumb.c.
710 2000-02-11  Robert Lipe  <robertl@sco.com>
712         * Makefile.in (bootstrap-lean): Remove additional files.
713         (bootstrap2-lean): Likewise.
714         (VOL_FILES): List of files for above.
716 2000-02-11  Nathan Sidwell  <nathan@acm.org>
718         * cpphash.c (special_symbol): Remove spurious argument to
719         cpp_lookup.
721 2000-02-11  Joel Sherrill (joel@OARcorp.com>
723         * configure.in: (i*86-*-rtems*): Swapped elf and coff
724         stanzas.
725         * configure: Rebuilt.
727 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
728         
729         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
731 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
733         * pa.c, pa.h: Remove trigraph sequences within comments.
735 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
737         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
739 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
741         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
743 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
744         
745         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
747 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
749         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
750         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
751         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
752         (ASM_FILE_END): Use c4x_file_end.
753         * config/c4x/c4x.c (c4x_global_label): New function.
754         (c4x_external_ref, c4x_file_end): Likewise.
756         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
757         (c4x_external_ref, c4x_end_file): Likewise.
759 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
761         * cppexp.c: Don't include cpphash.h.
762         (parse_charconst, cpp_lex): Use cpp_defined.
763         (cpp_lex): Use get_directive_token throughout.  Remove
764         unnecessary cases from switch.  Move assertion-handling code
765         down to OTHER case.
766         (cpp_parse_expr): If we see '+' or '-', check the context to
767         determine if they are unary or binary operators.  Streamline
768         the jumps a bit.  Do not call skip_rest_of_line.
770         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
771         static.  Export get_directive_token.  Update commentary.
772         (cpp_defined): New function.
773         (do_define): Remove reference to T_PCSTRING.  Call
774         free_definition to release memory for old definition, when
775         redefining a macro.
776         (eval_if_expression): Set only_seen_white to 0 before calling
777         cpp_parse_expr.  Call skip_rest_of_line after it returns.
778         (cpp_read_check_assertion): Don't preserve a pointer into the
779         token buffer across a call to cpp_get_token.
781         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
782         * cppfiles.c (redundant_include_p): Use cpp_defined.
783         * cpphash.c (free_definition): New function.
784         (delete_macro): Use it.  Update commentary.
785         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
786         free_definition.
787         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
788         from enum node_type.  Prototype cpp_defined and get_directive_token.
789         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
791         * fix-header.c (check_macro_names): Use cpp_defined.
792         (read_scan_file): Set inhibit_warnings and inhibit_errors in
793         the options structure.
795 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
797         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
799 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
801         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
802         rather than die->die_tag.
804 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
806         * combine.c (make_extraction, force_to_mode): Avoid warning on
807         mixed-signedness conditionals.
808         (make_field_assignment, nonzero_bits): Likewise.
809         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
810         (store_split_bit_field, extract_split_bit_field): Likewise.
811         (extract_fixed_bit_field, store_bit_field, 
812         * expr.c: Change alignment to be unsigned everywhere.
813         (move_by_pieces, store_constructor_field, store_constructor): 
814         Alignment parm is unsigned.
815         (emit_block_move, emit_group_load, emit_group_store): Likewise.
816         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
817         (do_compare_rtx_and_jump): Likewise.
818         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
819         Compare align with GET_MODE_ALIGNMENT.
820         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
821         (get_inner_reference): Likewise.
822         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
823         (expand_assignment): Local vars for alignment now unsigned.
824         (store_constructor, store_field, expand_expr, do_jump): Likewise.
825         (do_compare_and_jump): Likewise.
826         (store_field): Call new function expr_align.
827         * expr.h (emit_block_move, emit_group_load, emit_group_store):
828         Alignment arg now unsigned.
829         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
830         (do_compare_rtx_and_jump, store_bit_field): Likewise.
831         (extract_bit_field): Likewise.
832         * fold-const.c (add_double): Add cast to eliminate signedness warning.
833         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
834         (get_best_mode): Alignment arg is unsigned.
835         * rtl.h (move_by_pieces): Likewise.
836         * store-layout.c (maximum_field_alignment, set_alignment):
837         Now unsigned.
838         (layout_decl): Alignment arg is now unsigned.
839         Remove unneeded casts.
840         (layout_record, layout_union, layout_type): Remove unneeded casts.
841         Local alignment variables now unsigned.
842         (get_best_mode): Alignment arg now unsigned.
843         * tree.c (expr_align): New function.
844         * tree.h (expr_align): Likewise.
845         (maximum_field_alignment, set_alignment): Now unsigned.
846         (get_inner_reference): Alignment argument is now pointer to unsigned.
847         * varasm.c (assemble_variable): Add cast to eliminate warning.
849 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
851         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
852         then store directly into op0.
854         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
855         the CALL_INSN, and emit the note immediately after it.
857 2000-02-10  Nick Clifton  <nickc@cygnus.com>
859         * config/arm/thumb.md (epilogue): Include a (return) in the
860         generated insn, and emit it using emit_jump_insn not
861         emit_insn. 
863 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
865         * function.c (assign_temp): Change zero-sized arrays to size 1.
866         * integrate.c (expand_inline_function): Do not update
867         stack_alignment_needed
868         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
869         add some sanity checking, remove optimization for function with
870         zero frame size.
872 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
874         * flow.c (mark_regs_live_at_end): Delete unused variables.
876         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
878         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
879         in macro FRAME_GROWS_DOWNWARD.
881         * stmt.c (expand_end_bindings): Delete unused variable.
883         * unroll.c (iteration_info): Mark parameter `loop' with
884         ATTRIBUTE_UNUSED.
886 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
888         * fixinc/server.c (load_data): Return NULL if the marker line is
889         not found.
890         (run_shell): If load_data returns NULL, retry the command once, in
891         a new shell.
893         * configure: Rebuilt.
895 2000-02-09  Bruce Korb  <bkorb@gnu.org>
897         * gcc/fixincludes:  ** DELETED **
898         * gcc/fixcpp:  ** DELETED **
899         * gcc/fixinc-nt.sed:  ** DELETED **
900         * gcc/just-fixinc:  ** DELETED **
901         * gcc/Makefile.in:  Removed out-dated commentary
902         * gcc/configure.in: Removed fast-fixincludes disablement.
903         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
905 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
906         * function.c (thread_prologue_and_epilogue_insns): Uncomment
907         last change.
909 2000-02-09  Richard Henderson  <rth@cygnus.com>
911         * jump.c (delete_insn): Don't delete user labels at -O0.
913 2000-02-09  Robert Lipe  <robertl@sco.com>
915         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
916         Don't link with HOST_LIBS. 
918 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
920         * configure.in: Correct --help text for --with-dwarf2.
921         Put tm-dwarf2.h after other tm files, if it's requested.
922         * configure: Regenerate.
923         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
924         defining it.
926 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
928         * cpplib.h: Provide HASHNODE typedef and forward decl of
929         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
930         DEFINITION, struct hashnode, struct macrodef, struct
931         definition, scan_decls prototype, default defn of
932         INCLUDE_LEN_FUDGE moved elsewhere.
934         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
935         definition, and struct hashnode moved here. Remove the unused
936         'predefined' field from struct definition.  Replace the 'args'
937         union with its sole member.  All users updated (cpphash.c).
938         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
939         multiple include guard.
941         * cpphash.c (hashf): Make static; use better algorithm; drop
942         HASHSIZE parameter; return an unsigned int.
943         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
944         used. Calculate HASHSIZE modulus here.
945         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
946         here.
947         (create_definition): Drop PREDEFINITION parameter.
948         * cpplib.c (do_define): Don't calculate a hash value here.
949         Don't pass (keyword == NULL) to create_definition.
951         * scan.h: Prototype scan_decls here.
952         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
953         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
954         callers of cpp_lookup and cpp_install updated.
955         
956         * cpphash.c (macarg): Hoist all the flag diddling out of the
957         function...
958         (macroexpand): ... and out of the loop that calls macarg.
959         Skip over the initial paren before macro arguments with
960         cpp_get_non_space_token; point may be some distance before
961         that paren.  Abort if it's not there.
963         * cpplib.c (parse_clear_mark): Delete function.
964         (parse_set_mark, parse_goto_mark): Make static.
965         (ACTIVE_MARK_P): New macro.
966         (skip_block_comment, skip_line_comment): Do not bump the line
967         if ACTIVE_MARK_P is true.
968         (cpp_pop_buffer): The buffer to be popped may not have an
969         active mark.
970         (cpp_get_token): When looking for the initial paren before
971         macro arguments, only set a mark in a file buffer, Always
972         return to that mark before proceeding to call macroexpand or
973         return a NAME token.
975         * cpplib.h: Remove prototypes of parse_set_mark,
976         parse_clear_mark, parse_goto_mark.
977         (struct cpp_options): Rename 'put_out_comments' to
978         'discard_comments' and invert its sense.
979         * cppinit.c, cpphash.c, cpplib.c: All users of
980         put_out_comments changed to use discard_comments, with
981         opposite sense.
983 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
985         * function.c (thread_prologue_and_epilogue_insns): Don't delete
986         the edge from a block that both jumps and falls through to the
987         fallthru block.
989 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
991         * config/arm/arm.md (movsi): In PIC mode, make sure that a
992         constant source address is legitimate.
994 2000-02-09  Philip Blundell  <pb@futuretv.com>
996         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
997         correctly.
999         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
1000         generating PIC.
1001         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
1003 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
1005         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
1006         ends with a newline and a NUL.  Don't be so clever manipulating
1007         strings.
1009 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
1011         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
1012         not to BIGGEST_ALIGNMENT.
1014 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
1016         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
1017         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
1018         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
1019         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
1020         * frame.c (execute_cfa_insn): Handle 
1021         DW_CFA_GNU_negative_offset_extended.
1023 2000-02-08  Richard Henderson  <rth@cygnus.com>
1025         * flow.c (tidy_fallthru_edges): Split out from ...
1026         (delete_unreachable_blocks): ... here.
1027         (find_basic_blocks): Use it.
1029 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1031         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
1033 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
1035         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
1036         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
1037         (fix-header.o): Don't depend on cpphash.h.
1039         * scan.c (hashstr): New function. 
1040         * scan.h: Prototype it.
1041         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
1042         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
1043         hashstr.  Report hash table statistics.  Add private     
1044         definition of xrealloc.
1046 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1048         * i386.h (TARGET_SWITCHES): Fix typo in option name.
1050 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
1052         * function.c (thread_prologue_and_epilogue_insns): Don't replace
1053         jumps with returns unless they are jumps to the fallthru block.
1055 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
1057         * i386.md (addqi3_cc): Fix contraints.
1059 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
1061         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
1063 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
1065         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
1066         carriage return after a macro name.
1068 2000-02-07  Fred Fish  <fnf@be.com>
1070         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
1071         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
1073 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
1075         * cppfiles.c (deps_output): Count spacers in deps_column.
1077 2000-02-07  Neil Booth  <NeilB@earthling.net>
1079         * cppinit.c (initialize_dependency_output): If there is no
1080         suffix, don't try to look for known suffixes.  Use strrchr.
1081         (cpp_start_read): Remove duplicate initialization.
1083 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
1085         * calls.c (compute_argument_block_size): New argument
1086         preferred_stack_boundary.
1087         (expand_call): update cfun->preferred_stack_boundary, update call of
1088         compute_argument_block_size
1089         (emit_library_call): Increate cfun->preferred_stack_boundary
1090         to PREFERRED_STACK_BOUNDARY
1091         (emit_library_call_value): Likewise.
1092         * explow.c (allocate_dynamic_stack_spave): Likewise.
1093         * function.c (prepare_function_start): Set
1094         cfun->preferred_stack_boundary
1095         * function.h (struct function): Add preferred_stack_boundary field.
1096         * integrate.c (expand_inline_function): Update
1097         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
1098         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
1099         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
1101 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
1103         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
1104         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
1105         cpp_pedwarn, cpp_pedwarn_with_line,
1106         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
1107         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
1108         v_cpp_error_with_line, v_cpp_warning_with_line,
1109         cpp_message_from_errno, cpp_perror_with_name): Delete.
1111         * cpperror.c (cpp_print_containing_files): Take starting
1112         buffer as argument.
1113         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
1114         (v_cpp_message): Now called directly by all entry points.
1115         Remove -1 case.
1116         (cpp_pfatal_with_name, cpp_message): Delete.
1117         (cpp_notice_from_errno, cpp_ice): New functions.
1118         (cpp_notice): Is now for reporting error conditions, just
1119         without an associated file.
1120         (cpp_error, cpp_error_with_line): Don't do anything if
1121         opts->inhibit_errors is on.
1122         (cpp_pedwarn_with_file_and_line): Take column argument also.
1124         * cpplib.h: Update prototypes of exported functions.
1125         (struct cpp_options): Add inhibit_errors.
1127         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
1128         non-error messages.  Include intl.h.
1130         * cppinit.c, cppmain.c: Likewise.  Also, use
1131         cpp_notice_from_errno instead of cpp_perror_with_name or
1132         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
1134         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
1135         report internal errors.
1137         * cpplib.c (do_define): Switch bcopy to memcpy.
1138         Give cpp_pedwarn_with_file_and_line a dummy column argument.
1140         * cpplib.c (copy_rest_of_line): Revert previous change: don't
1141         bail out early if we hit a line comment.
1143 2000-02-06  Richard Henderson  <rth@cygnus.com>
1145         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
1146         * basic-block.h: Declare them.
1147         * emit-rtl.h (active_insn_p): New.
1148         (next_active_insn, prev_active_insn): Use it.
1149         * rtl.h: Declare it.
1150         * function.c (emit_return_into_block): New.
1151         (thread_prologue_and_epilogue_insns): Insert return insns instead
1152         of epilogues when possible.
1153         * jump.c (jump_optimize_1): Remove code to insert a return insn
1154         on the fallthru to the exit block.
1156         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
1157         and for non-empty stack frames.
1158         * i386.md (return): Expand to return-pop as needed.
1160 2000-02-06  Richard Henderson  <rth@cygnus.com>
1162         * simplify-rtx.c (simplify_relational_operation): Canonicalize
1163         constant to op1 for testing.
1165 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1167         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
1168         (fixuns_truncqfqi2): Use it.
1170 2000-02-06  Richard Henderson  <rth@cygnus.com>
1172         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
1173         as a TYPE_LEA insn.
1175         * i386.md (widening and peepholes): Mask the constant instead of
1176         using gen_lowpart.
1178 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
1180         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
1181         input pointer before possibly branching off to the backslash
1182         code.
1183         * cpphash.c (macroexpand): Correctly delete \r escapes when
1184         stringifying parameters.
1185         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
1186         if we can; bail out early if we hit a line comment.
1187         (handle_directive): Treat '# 123' in an .S file just like
1188         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
1189         Return 1 for '# not_a_directive'.
1190         (get_directive_token): Pop macro buffers here, so that
1191         cpp_get_token can't sneakily move past a newline.
1192         Add sanity checks. 
1193         (cpp_get_token): goto randomchar if handle_directive returns 0.
1195         * cppalloc.c: Update copyright.
1196         * cpplib.c: Merge all the static function prototypes into one
1197         block.
1198         * cpplib.h: Remove #if 0 block.
1200         * cpperror.c: Remove #ifdef EMACS block.
1201         * cppmain.c: Likewise.
1202         * cpphash.c: Remove #if 0 blocks.
1203         * cppinit.c: Remove #if 0 blocks, and the -lint option.
1204         * cpplib.c: Remove #if 0 blocks and code referencing
1205         pcp_inside_if or for_lint.  Remove duplicate error message.
1206         Fix error messages for #else after #else or #elif.  Reformat.
1207         Remove archaic TODO list.
1208         * cpplib.h: Remove pcp_inside_if and for_lint flags.
1210 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
1212         * i386/osf1elf.h: Add missing backslash to multiline string.
1214 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1216         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
1218 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1220         * Makefile.in (c-common.o): Depend on $(EXPR_H).
1222         * c-common.c: Include expr.h.
1224         * c-pragma.c (mark_align_stack): Add prototype.
1226         * caller-save.c (add_stored_regs): Likewise.
1228         * combine.c (record_promoted_value): Likewise.
1230         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
1231         Likewise.
1233         * cppinit.c (new_pending_define): Likewise.
1235         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
1237         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
1238         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
1239         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
1240         class_scope_p): Likewise.
1242         * dwarf2out.h (dwarf2out_set_demangle_name_func,
1243         dwarf2out_add_library_unit_info): Likewise.
1245         * ggc.h (ggc_page_print_statistics): Likewise.
1247         * haifa-sched.c (propagate_deps): Likewise.
1249         * reg-stack.c (next_flags_user, record_label_references): Likewise.
1251         * rtl.h (set_stack_check_libfunc): Likewise.
1253         * toplev.h (set_fatal_function): Likewise.
1255         * toplev.c (set_fatal_function): Delete prototype.
1256         
1257         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
1258         
1259 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
1261         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
1262         (FUNC_END): Likewise.
1264 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1266         * caller-save.c: Include tm_p.h.
1268 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1270         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
1272 2000-02-04  Neil Booth  <NeilB@earthling.net>
1274         * cccp.c (main): Check 'dir' for a NULL pointer before passing
1275         it to strcmp.
1277 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
1279         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
1280         * genflags.c: Use the max_operand_1 logic from genemit.c to
1281         calculate how many arguments gen_insn prototypes have.  Remove
1282         NO_MD_PROTOTYPES ifdefs from the generated file.
1283         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
1284         file.  Cast gen_insn initializers to insn_gen_fn.
1285         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
1286         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
1288 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1290         * fixinc/Makefile.in (HDR): Add machname.h.
1291         (clean): Likewise.
1293 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1295         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
1296         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
1297         (c4x_cpu_version): Ditto.
1298         * config/c4x/c4x-protos.h: ... here.
1300 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
1302         * dwarf2out.c (add_abstract_origin_attribute): Don't call
1303         gen_abstract_function on our context if we're a nested function.
1305 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1307         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
1308         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
1310 2000-02-04  Bruce Korb  <bkorb@gnu.org>
1312         * fixinc/genfixes(machname.h):
1313         Move the functionality from gen-machine.h into this file.
1314         UNdef MN_NAME_PAT if there are no names to change.
1315         Also, be a little kinder when AutoGen is not present.
1317         * fixinc/Makefile.in(machname.h):
1318         Change the generation rule to use genfixes.
1320         * fixinc/fixfixes.c(machine_name):
1321         machine_name_fix's functionality now dependent upon whether
1322         MN_NAME_PAT is defined.
1324         * fixinc/fixtests.c(machine_name):
1325         ditto.
1327         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
1328         of MN_NAME_PAT.
1330         * fixinc/fixlib.h(mn_get_regexps):
1331         ditto
1333         * fixinc/gen-machine.h: DELETED
1335 2000-02-04  Jan Hubicka  <jh@suse.cz>
1336             Richard Henderson  <rth@cygnus.com>
1338         * i386.c (SAVE_REGS_FIRST): Remove.
1339         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
1340         (ix86_compute_frame_size): Likewise.
1341         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
1342         (ix86_emit_restore_regs): Remove.
1343         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
1344         when a frame pointer is in use.
1345         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
1346         instead of pop to restore a register when profitable; emit leave
1347         when profitable.
1348         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
1349         as a TYPE_LEA insn.
1350         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
1351         * i386.md (prologue_allocate_stack): Remove.
1352         (epilogue_deallocate_stack): Remove.
1353         (pro_epilogue_adjust_stack): New.
1355 2000-02-04  Richard Henderson  <rth@cygnus.com>
1357         * function.c (diddle_return_value): Rework to use a callback function.
1358         Use current_function_return_rtx if it's been set up.
1359         (do_clobber_return_reg, clobber_return_register): New.
1360         (do_use_return_reg, use_return_register): New.
1361         (expand_function_end): Use them.
1362         * stmt.c (expand_null_return): Likewise.
1363         * function.h: Declare them.
1364         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
1365         (mark_reg): Change arguments as appropriate for callback.
1366         * integrate.c (expand_inline_function): Revert 19 Jan change.
1368 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
1370         * tm.texi (Values in Registers): Fix typo: "fo" "for".
1371         (Misc): Say the scheduler, not the Haifa scheduler.
1373 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
1375         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
1376         when in_mem is set.  Update all callers.
1378 2000-02-04  Richard Henderson  <rth@cygnus.com>
1380         * i386/openbsd.h (INT_ASM_OP): Define.
1382 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
1384         * tm.texi: Fix various typos.
1386 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
1388         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
1389         (MD_STARTFILE_PREFIX_1): New macro.
1391 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
1393         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
1394         destination when needed.
1395         (strmovsi, strsetsi): New expander.
1396         (strmovsi_1, strsetsi_1): New pattern.
1397         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
1398         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
1399         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
1400         * invoke.texi (align-stringops, inline-all-stringops): Document.
1402 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
1404         * i386/netbsd.h (INT_ASM_OP): Define.
1406 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
1408         * cpplib.h (cpp_reader): Add new flag, no_directives.
1409         * cpphash.c (macarg): Set it.
1410         * cpplib.c (handle_directive): If no_directives is on and we
1411         find a directive, issue an error and discard the line.
1413 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
1415         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
1416         FP constants.  Add ! TARGET_FPU check for FP constants.
1418 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
1419         
1420         * flow.c (find_basic_blocks): Don't kill label_value_list
1421         here.
1422         (cleanup_cfg): Kill it here.
1424 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1426         * expr.c (store_field): Ensure ALIGN is no stricter than the
1427         alignment of EXP.
1429 2000-02-02  Richard Henderson  <rth@cygnus.com>
1431         * jump.c (delete_insn): Partially revert 19 Jan change; 
1432         don't convert unused code labels to notes at -O0.
1434 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1436         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
1437         split_all_insns to recreate REG_LABEL notes for flow2 pass.
1439 2000-02-01  Richard Henderson  <rth@cygnus.com>
1441         * i386.c (general_no_elim_operand): New.
1442         (nonmemory_no_elim_operand): New.
1443         (ix86_expand_move): Copy eliminable operands before a push.
1444         * i386-protos.h: Declare new functions.
1445         * i386.h (CAN_ELIMINATE): Simplify.
1446         (PREDICATE_CODES): Update.
1447         * i386.md (push insns): Don't allow eliminable register operands.
1449 2000-02-01  Richard Henderson  <rth@cygnus.com>
1451         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
1452         replace BLKmode with DECL_RTL's mode.
1454 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
1456         * frame.c (find_fde): Convert for loop to do-while so compiler
1457         sees it's always executed at least once.
1458         * libgcc2.c (BBINBUFSIZE): Kill.
1459         (__bb_init_prg): Use fgets.
1460         (__bb_exit_trace_func): Don't paste strings.
1461         * unroll.c (unroll_loop): Initialize unroll_type, not
1462         unroll_number, and tweak logic to match.
1464         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
1465         all failure paths.
1466         (ix86_flags_dependant): Likewise.  Disentangle control flow.
1467         (ix86_sched_reorder): Break guts out to
1468         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
1469         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
1470         any possible use.
1472         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
1473         use string concatenation.  Don't save and restore esi.
1475         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
1476         (machname.h): Remove script to separate file.  Use two-step
1477         sequence so target is not created if script fails.
1478         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
1479         identifiers are defined.
1480         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
1481         an empty string, machine_name doesn't need to do anything at
1482         all.
1483         (is_cxx_header): Add more cases to regexp.
1484         * fixinc/fixlib.h: Update prototype.
1485         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
1486         mn_get_regexps.
1487         * fixinc/fixincl.c: Define NO_BOGOSITY.
1489         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
1490         (hp_sysfile): Add missing comma.
1491         (math_exception): Put the wrapper ifdefs at the beginning and
1492         the end of the file.
1493         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
1495 2000-02-01  Richard Henderson  <rth@cygnus.com>
1497         * sparc.c (fp_zero_operand): Turn into a normal predicate.
1498         Use CONST0_RTX.  Update all callers.
1499         * sparc.h, sparc-protos.h: Update accordingly.
1500         * sparc.md (fp mov insns): Use fp_zero_operand directly
1501         where applicable.
1503 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
1505         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
1506         example.
1508 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1510         * Makefile.in (specs.ready): New target.
1511         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
1513 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1515         * fixinc.irix: Use unique filenames for writing into /tmp,
1516         * fixinc.ptx: Likewise.
1517         * fixinc.sco: Likewise.
1518         * fixinc.svr4: Likewise.
1519         * fixinc.winnt: Likewise.
1521 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1523         * tsystem.h: New file.
1525         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
1526         s-crtS): Depend on tsystem.h.
1528         * crtstuff.c: Include tsystem.h.
1529         * frame.c: Likewise.
1530         * libgcc2.c: Likewise.
1532 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
1534         * builtins.c (expand_builtin_memset): Expand for variable sized
1535         lengths too.
1537 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
1539         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
1540         on ABI.
1542 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
1544         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
1546         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
1548 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
1550         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
1551         case 3->2 combining (combining with splitting) in which 2 is CC0
1552         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
1553         checked at the begining of the function with the aid of calling 
1554         function 'can_combine_p'. 
1556 2000-01-31  Dave Brolley  <brolley@redhat.com>
1558         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
1560 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
1562         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
1563         new label.
1565 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1567         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
1568         
1569         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
1570         PROTO -> PARAMS.
1572 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
1574         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
1575         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
1576         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
1577         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
1578         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
1579         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
1580         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
1581         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
1582         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
1583         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
1584         
1585         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
1586         Add %(cpp_cpu) to CPP_SPEC.
1588         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
1589         Add %(cc1_cpu) to CC1_SPEC.
1591 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
1593         * c-decl.c (c_decode_option): Accept optional numeric argument to
1594         -Wformat and set warn_format.
1595         * c-common.c: Don't emit warning about non-constant printf format
1596         string unless warn_format > 1.
1598 2000-01-30  Richard Henderson  <rth@cygnus.com>
1600         * alpha.md (return_internal): Allow after reload only.
1602 2000-01-30  Richard Henderson  <rth@cygnus.com>
1604         * i386.c (ix86_compute_frame_size): Omit padding1 if the
1605         local frame size is zero.
1607 2000-01-30  Richard Henderson  <rth@cygnus.com>
1609         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
1610         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
1611         * alpha.md (return): Turn into an expander.
1612         (return_internal): Don't use $26.
1613         (epilogue): Emit the return insn.
1615 2000-01-30  Richard Henderson  <rth@cygnus.com>
1617         * alpha.md (negtf2, abstf2): Fix word order thinko.
1618         (extendsftf2): New.
1619         (trunctfsf2): Avoid intermediate rounding errors.
1621 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
1623         * cppfiles.c (find_position): Drop 'colp' argument, return the
1624         new line base.
1625         (read_and_prescan): Adjust to match.  Don't ever manipulate
1626         line or line_base except via find_position.
1628 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
1630         * c-parse.in: Apply Ulrich's changes from c-parse.y.
1631         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
1632         Regenerate.
1634 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
1636         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
1637         just print "<command line>".  If 'filename' is null or an
1638         empty string, print "<stdin>" for the filename.
1639         * cpplib.c (do_define): Don't print the 'location of the
1640         previous definition' message if we're still parsing the
1641         command line.
1642         (cpp_pedwarn_with_file_and_line): Always call
1643         cpp_file_line_for_message.
1645 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
1647         * flow.c (mark_regs_live_at_end): Fix typo.
1649 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
1651         * c-common.c: Adjust variable names, comments, help strings to c99.
1652         * c-lex.c: Likewise.
1653         * c-parse.y: Likewise.
1654         * c-tree.h: Likewise.
1655         * cccp.c: Likewise.
1656         * cpplib.h: Likewise.
1657         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
1658         * cppinit.c: Likewise.
1660 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1662         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
1663         * c4x.c: Define the optab rtx values.
1664         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
1665         (c4x_emit_libcall): Use new optab rtx values.
1666         (c4x_emit_libcall3): Likewise.
1667         (c4x_emit_libcall_mulhi): Likewise.
1668         * c4x-protos.h: Add prototypes for optab rtx values and change
1669         prototypes for above c4x_emit_libcall functions.
1671 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1673         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
1674         syntax is used.
1675         (c4x_function_prologue): Use regnames intead of float_reg_names when
1676         TI syntax is used.
1677         (c4x_function_epilogue): Likewise.
1678         (c4x_print_operand): Likewise.
1679         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
1680         * c4x.md (set_high): Disable for TARGET_TI.
1682 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1684         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
1685         of framepointer + constant to ADDR_REGS class.
1686         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
1687         * c4x.c (std_or_reg_operand): New function.
1688         * c4x-protos.h (std_or_reg_operand): Prototype it.
1690 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1692         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
1693                 object names as libgcc2.c.
1694         * libgcc.S: Use newly defined names.
1696 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
1697         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
1698         function.
1699         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
1700         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
1701         (FLOW_LOOP_LAST_BLOCK): Likewise.
1703 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1705         * basic-block.h (struct loop): New fields 'first' and 'last'.
1706         * flow.c (flow_loops_find): Compute loop->first and loop->last.
1707         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
1708         and loop->last to check for NOTE_INSN_LOOP_END.
1710 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
1712         * predict.c (estimate_probability): Use the new FIRST and LAST fields
1713         of the loop descriptor rather than HEADER and LATCH. Also added
1714         missing break statements as well making some coding style modifications
1715         as suggested by Michael Hayes.
1717 2000-01-28  Richard Henderson  <rth@cygnus.com>
1719         * flow.c (find_basic_blocks): Remove do_cleanup argument.
1720         Break out that code ...
1721         (cleanup_cfg): ... here.
1722         (commit_one_edge_insertion): Detect a return instruction being
1723         emitted to an edge.  Emit a barrier following; clear fallthru.
1724         (commit_edge_insertions): Verify CFG consistency.
1725         * function.c (expand_function_start): Kill unused variable.
1726         (expand_function_end): Likewise.
1727         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
1728         to insert the epilogue.
1730         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
1731         (delete_null_pointer_checks): Likewise.
1732         * output.h: Likewise.
1733         * reg-stack.c (reg_to_stack): Likewise.
1734         * toplev.c (rest_of_compilation): Likewise.  Run
1735         thread_prologue_and_epilogue_insns after rebuilding the CFG.
1737 2000-01-28  Richard Henderson  <rth@cygnus.com>
1739         * Makefile.in (flow.o): Revert 24 Jan change.
1740         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
1741         FUNCTION_VALUE result to DECL_RESULT's mode.
1743         * haifa-sched.c (schedule_insns): Don't recompute reg info
1744         after reload.
1746 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
1748         * configure.in: Make --enable-cpplib the default.
1749         * configure: Regenerate.
1750         * gcc.dg/990119-1.c: No longer expected to fail.
1752 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
1754         * jump.c (jump_optimize_1): Delete an optimization that is also done
1755         by merge_blocks in flow.
1757 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1759         * diagnostic.c (build_message_string, output_printf,
1760         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
1761         (build_location_prefix): Fix non-literal format string.
1763 2000-01-27  Richard Henderson  <rth@cygnus.com>
1765         * alpha.md (trunctfsf2): New.
1767 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
1769         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
1771 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
1773         * cppinit.c (cpp_handle_option): Recognize C++ comments under
1774         -std=gnu89.
1775         * cpplib.c (skip_block_comment, skip_line_comment): Split code
1776         out of...
1777         (skip_comment) ... here.  Permit C++ comments in system
1778         headers always.  Warn about C++ comments in user code under
1779         -std=gnu89 -pedantic.
1780         (copy_comment): Use skip_comment.
1781         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
1782         return EOF.
1783         (consider_directive_while_skipping, do_else, do_endif): Call
1784         validate_else unconditionally.
1785         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
1786         text after the conditional in a system header.
1787         * cpplib.h (struct cpp_buffer): Add flag
1788         warned_cplusplus_comments.
1790 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
1792         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
1793         Use unshare_all_rtl_1.
1794         (unshare_all_rtl_again): New function.
1795         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
1797         * function.c (purge_addressof_1): Use unshare_all_rtl_again
1798         rather than resetting the 'used' flags ourself.
1800         * toplev.c (rest_of_compilation): Add current_function_decl
1801         to the unshare_all_rtl call.
1802         * tree.h: Prototype unshare_all_rtl.
1803         * rtl.h: Prototype unshare_all_rtl_again here.
1805 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
1807         * genoutput.c (output_prologue): Include ggc.h in generated
1808         files.
1809         * Makefile.in (insn-output.o): Depends on ggc.h.
1811 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
1812             Hans-Peter Nilsson  <hp@bitrange.com>
1814         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
1815         Remove redundant include of xm-ns32k.h.
1816         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
1817         Remove redundant include of xm-ns32k.h.
1818         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
1819         Remove redundant include of xm-ns32k.h.
1820         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
1822         * ns32k/ns32k.h: Update comment on multiply-add instructions.
1823         (TARGET_SWITCHES): Add documentation strings.
1824         (DWARF_FRAME_REGNUM): Override default definition.
1825         (REG_CLASS_CONTENTS): Add comments.
1826         (SUBSET_P): Format to reduce line length.
1827         (SMALL_REGISTER_CLASSES): Make a run time option.
1828         (GO_IF_NONINDEXED_ADDRESS): Reformat.
1829         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
1830         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
1831         (regclass_map): fix typo in comment.
1832         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
1833         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
1834         (trace, reg_or_mem_operand): Delete, unused function.
1835         (calc_address_cost): Small offsets are cheaper than large ones.
1836         (expand_block_move): Generate more efficient code when bytes is a
1837         known at compile time.
1838         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
1839         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
1840         instead of reg_or_mem_operand.
1842         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
1843         not general_operand.  Similarly use "=rm" or stricter, not "=g".
1844         For input operands, use stricter constraints than "g" if not
1845         general_operand.  Similarly use stricter predicate than
1846         "general_operand" when stricter constraints than "g" are present,
1847         except for matching constraints.
1848         (movstrsi): Use "memory_operand" for operands 0 and 1.
1849         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
1850         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
1851         not reg_or_mem_operand.
1852         (udivmoddisi4): Ditto.
1853         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
1854         Use nonimmediate_operand for operand 3, not register_operand.
1855         (udivmoddiqi4_internal): Use register_operand for operand 1, not
1856         reg_or_mem_operand.
1858 2000-01-27  Fred Fish  <fnf@be.com>
1860         * gthr-posix.h: Fix typo; compatibily -> compatibility.
1861         * gthr-single.h: Likewise.
1862         * gthr-solaris.h: Likewise.
1863         * gthr-vxworks.h: Likewise.
1864         * gthr-win32.h: Likewise.
1865         * gthr.h: Likewise.
1867 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
1869         * cppinit.c: Add " (cpplib)" to end of string printed by
1870         -v / --version.
1872 2000-01-27  Richard Henderson  <rth@cygnus.com>
1874         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
1875         testing for a signed comparison.
1876         (alpha_emit_floatuns): New.
1877         * alpha-protos.h: Declare it.
1878         * alpha.md (floatunsdisf2, floatunsdidf2): New.
1879         (extendsfdf2): Tidy.
1881 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
1883         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
1884         no -g option specifying debugging format, default to -gstabs+.
1886 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
1888         * calls.c (special_function_p): New argument fork_or_exec.
1889         (expand_call): When profile_arc_flag is set and the function
1890         is in the fork_or_exec group, call __bb_fork_func first.
1891         * libgcc2.c, _bb module (__bb_fork_func): New function.
1892         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
1893         output file.
1894         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
1895         * tree.h (special_function_p): Update prototype.
1897 2000-01-26  Richard Henderson  <rth@cygnus.com>
1899         * alpha.c (alpha_split_tfmode_pair): New.
1900         * alpha-protos.h: Declare it.
1901         * alpha.md (abstf2, negtf2): New.
1902         (movtf insn): Add input G constraint.
1903         (movtf splitter): Use alpha_split_tfmode_pair.
1905 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1907         * i386/cygwin.h: PROTO -> PARAMS.
1909 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
1911         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
1912         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
1913         using _Qp_cmp/_Q_cmp and testing the return value.
1914         (print_operand): Call reverse_condition_maybe_unordered if
1915         we are handling CCFPmode or CCFPEmode.
1916         Handle ORDERED, UN* and LTGT comparisons.
1917         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
1918         if not TARGET_HARD_QUAD.
1919         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
1920         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
1921         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
1922         Adjust gen_b* calls so that they reflect return comparison of
1923         sparc_emit_float_lib_cmp.
1925 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1927         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
1928         incoming operands array is large enough for one more operand.
1929         (alpha_emit_xfloating_arith): Likewise.
1931 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
1933         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
1934         file with one line and no trailing newline.
1935         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
1936         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
1937         checking if the match is on the line.
1938         * fixinc/gnu-regex.c: Provide regerror not __regerror.
1940 2000-01-25  Richard Henderson  <rth@cygnus.com>
1942         * sparc.c (output_cbranch): Fix accidental squashing of the
1943         fp branch pre-delay nop.
1945 2000-01-25  Richard Henderson  <rth@cygnus.com>
1947         * tree.def (UNNE_EXPR): Remove.
1948         * c-typeck.c (build_binary_op): Don't handle it.
1949         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
1951         * rtl.def (UNNE): Remove.
1952         (LTGT): Add.
1953         * jump.c (reverse_condition): Update accordingly.
1954         (swap_condition): Likewise.
1955         (comparison_dominates_p): Handle unordered comparisons.
1956         (reverse_condition_maybe_unordered): New.
1957         * rtl.h (reverse_condition_maybe_unordered): Declare.
1959         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
1960         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
1961         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
1962         * sparc.md (bltgt): New.
1964 2000-01-25  Nick Clifton  <nickc@redhat.com>
1966         * emit-rtl.c (emit_insn): Only check machine class insns for
1967         improper emission of a RETURN.
1969 2000-01-25  Richard Henderson  <rth@cygnus.com>
1971         * Makefile.in (flow.o): Depend on $(EXPR_H).
1972         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
1973         duplicate the structure of diddle_return_value for keeping regs live.
1975 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1977         * loop.c (current_loop_info): Delete.
1978         (consec_sets_invariant_p): Add loop argument, update callers.
1979         (get_condition_for_loop): Likewise.
1980         (count_nonfixed_reads, update_giv_derive): Likewise.
1981         (simplify_giv_expr, general_induction_var): Likewise.
1982         (consec_sets_giv, recombine_givs): Likewise.
1983         (move_movables): Delete loop_start and loop_end arguments,
1984         add loop argument, and update callers.
1985         (find_mem_givs, check_final_value): Likewise.
1986         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
1987         (loop_invariant_p): Rename from invariant_p, add loop argument, and
1988         update callers.
1989         (basic_induction_var): Add loop argument, delete loop_level argument,
1990         and update callers.
1991         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
1992         add loop argument, and update callers.
1993         (find_splittable_regs, find_splittable_givs): Likewise.
1994         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
1995         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
1996         (biv_total_increment): Delete loop_start and loop_end arguments;
1997         update callers.
1998         (precondition_loop_p): Delete loop_start and loop_info arguments;
1999         update callers.
2000         * loop.h (get_condition_for_loop): Add loop argument.
2001         (biv_total_increment): Delete loop_start and loop_end arguments.
2002         (precondition_loop_p): Delete loop_start and loop_info arguments;
2003         add loop argument.
2004         (final_biv_value): Delete loop_start and loop_end arguments;
2005         add loop argument.
2006         (final_giv_value, back_branch_in_range_p): Likewise.
2008 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
2010         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
2012 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
2014         * Makefile.in (c-gperf.h) : Change the "See" pointer to
2015         point to the new "generated_files" doc.
2017 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
2019         * config/fp-bit.c (_unord_f2): Fix typo.
2021 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
2023         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
2024         c-typeck.c, objc/objc-act.c: Remove all references to obstack
2025         functions obsoleted by GC, such as push_obstacks_nochange,
2026         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
2027         and code which existed only to decide whether or not to call
2028         them.  Remove now-unused NESTED argument from start_function;
2029         all callers changed.  Do not change behavior based on ggc_p.
2030         The use of the ixp_obstack in c-iterate.c and the util_obstack
2031         in objc/objc-act.c remain; these are not obsoleted by garbage
2032         collection.
2033         * c-tree.h: Update prototype for start_function.
2035         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
2037 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
2039         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
2040         mips16.
2042 2000-01-25  Richard Henderson  <rth@cygnus.com>
2044         * sparc-protos.h (select_cc_mode): Declare.
2045         * sparc.c (select_cc_mode): New.  Handle unordered compares.
2046         (output_cbranch): Always reverse via code change.  Handle
2047         unordered compares.  Factor tests and string updates.
2048         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
2049         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
2050         * sparc.md (bunordered, bordered): New.
2051         (bungt, bunlt, buneq, bunge, bunle): New.
2053 2000-01-25  Richard Henderson  <rth@cygnus.com>
2055         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
2056         * ggc-common.c (ggc_add_rtx_varray_root): New.
2057         (ggc_mark_rtx_varray): New.
2058         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
2059         functions down below ggc_mark_foo.
2060         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
2062 2000-01-25  Richard Henderson  <rth@cygnus.com>
2064         * alpha.c (secondary_reload_class): Don't allocate a secondary
2065         for integral mode memories into FLOAT_REGS.  Rearrange the more
2066         complicated memory expression inward.
2068 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
2070         * inclhack.def: Fixes to play nicer with FreeBSD, and
2071         corrections to comments.
2072         (cxx_unready): Add select expression.
2073         (irix_sockaddr): Add bypass expression.
2074         (machine_ansi_h_va_list): New fix.
2075         (stdio_va_list): No need to edit _BSD_VA_LIST_.
2076         Split out addition of "#include <stdarg.h>" to...
2077         (stdio_stdarg_h): ... here.
2078         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
2079         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
2080         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
2081         size_t.
2082         (ultrix_ifdef): Tighten up select expression.
2084         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
2085         re_ct and max_mach to avoid use of shell.  Make printed names
2086         match names in inclhack.def.  Use static copyright date.
2087         Don't count c_test and test expressions as requiring regex_t
2088         slots.  Add some commentary.
2089         * inclhack.tpl: Do not include the 'This script contains N
2090         fixup scripts' line if PROGRAM is defined.  Use static
2091         copyright date.
2093 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
2095         * dwarf2out.c: include "varray.h", not dyn-string.h.
2096         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
2097         (addr_const_to_string, addr_to_string): Lose.
2098         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
2099         (struct dw_val_struct): val_addr is now an rtx.
2100         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
2101         (used_rtx_varray): New varray.
2102         (dwarf2out_init): Initialize it.
2103         (save_rtx): New fn.
2104         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
2105         addr_to_string.
2106         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
2107         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
2108         * Makefile.in (dwarf2out.o): Update dependencies.
2110 2000-01-24  Richard Henderson  <rth@cygnus.com>
2112         * i386.c (i386_dwarf_output_addr_const): New.
2113         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
2115         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
2116         if defined.
2117         * dwarfout.c (output_mem_loc_descriptor): Likewise.
2118         * i386.c (i386_simplify_dwarf_addr): New.
2119         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
2121 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
2123         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
2124         TYPE_STUB_DECL is NULL.
2126 2000-01-24  Richard Henderson  <rth@cygnus.com>
2128         * builtins.c (expand_tree_builtin): Move ...
2129         * c-common.c (expand_tree_builtin): ... here.
2131 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2133         * loop.h (LOOP_INFO): New accessor macro.
2134         * basic-block.h (struct loop): Rename field `info' to `aux'.
2135         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
2136         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
2137         * unroll.c (loop_iterations, unroll_loop): Likewise.
2139 2000-01-24  Christopher Faylor <cgf@cygnus.com>
2141         * config/i386/t-cygwin: Accomodate new winsup directory layout
2142         when searching for include files.
2144 2000-01-24  Richard Henderson  <rth@cygnus.com>
2146         * rtl.def: Add unordered fp comparisions.
2147         * tree.def: Likewise.
2148         * tree.h: Add ISO C 9x unordered fp comparision builtins.
2150         * builtins.c (expand_tree_builtin): New function.
2151         * c-typeck.c (build_function_call): Use it.
2152         (build_binary_op): Support unordered compares.
2153         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
2155         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
2156         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
2157         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
2158         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
2159         * jump.c (reverse_condition): Don't abort for UNLE etc, but
2160         return UNKNOWN.
2161         (swap_condition): Handle unordered compares.
2162         (thread_jumps): Check can_reverse before reversing.
2163         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
2164         reversed for FP.
2166         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
2167         setcc is present before acking for cmp_optab.  Update all callers.
2168         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
2169         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
2170         * expr.c (expand_expr): Likewise.  Support unordered compares.
2171         (do_jump, do_store_flag): Likewise.
2172         * expr.h (enum libfunc_index): Add unordered compares.
2174         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
2175         (DPBIT_FUNCS): Add _unord_df.
2176         * config/fp-bit.c (_unord_f2): New.
2177         * fp-test.c (main): Try unordered compare builtins.
2179         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
2180         * alpha.c (alpha_comparison_operator): Check mode properly.
2181         (alpha_swapped_comparison_operator): Likewise.
2182         (signed_comparison_operator): Likewise.
2183         (alpha_fp_comparison_operator): New.
2184         (alpha_emit_conditional_branch): Handle unordered compares.
2185         * alpha.h (PREDICATE_CODES): Update.
2186         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
2187         (bunordered, bordered): New.
2189 2000-01-24  Richard Henderson  <rth@cygnus.com>
2191         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
2192         * alpha.md (movtf): New expander, insn, and splitter.
2194 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
2196         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
2197         dead registers.
2199 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
2201         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
2202         (FIXED_REGISTERS, CALL_USED_REGISTERS,
2203          REG_ALLOC_ORDER): Add frame pointer
2204         (FRAME_POINTER_REGNUM): Set to 20
2205         (HARD_FRAME_POINTER_REGNUM): New macro.
2206         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
2207         to HARD_FRAME_POINTER.
2208         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
2209         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
2210         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
2211         (HI_REGISTER_NAMES): Add "frame".
2212         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
2213         (debug_reg): Handle FRAME_POINTER_REGNUM.
2214         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
2215         GENERAL_REGS and INDEX_REGS.
2216         * i386.c (SAVED_REGS_FIRST): new macro.
2217         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
2218         (ix86_decompose_address, memory_address_length): Likewise.
2219         (regclass_map): Add frame pointer.
2220         (call_insn_operand): Handle frame_pointer_rtx.
2221         (reg_no_sp_operand): Likewise.
2222         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
2223         (print_operand, legitimize_pic_address): Fix formating.
2224         (ix86_compute_frame_size): Make static, update prototype, new
2225         parameters padding1, padding2, use ix86_nsaved_regs, use
2226         stack_alignment_needed.
2227         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
2228         to HARD_FRAME_POINTER_REGNUM conversions.
2229         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
2230         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
2231         (print_reg): Abort on FRAME_POINTER_REGNUM
2233 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
2235         * i386.h (PREDICATE_CODES): Add aligned_operand.
2236         * i386.c (aligned_operand): New function.
2237         (ix86_aligned_p): Kill.
2238         * i386.md (movhi_1): Emit mov for aligned operands.
2239         (promoting peep2s): Use aligned_operand.
2241 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
2243         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
2244         expression to allow underscores in macro names.
2245         (fix_char_macro_defines): Increment scanning pointer.
2247 2000-01-23  Richard Henderson  <rth@cygnus.com>
2249         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
2250         * alpha/osf5.h: New file.
2251         * configure.in (alpha-*-osf5): Add it to tm_file.
2253         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
2255         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
2256         (alpha_emit_xfloating_cvt, function_arg): Declare.
2257         * alpha.c (alpha_emit_conditional_branch): Call
2258         alpha_emit_xfloating_compare for TFmode compares.
2259         (alpha_lookup_xfloating_lib_func): New.
2260         (alpha_compute_xfloating_mode_arg): New.
2261         (alpha_emit_xfloating_libcall): New.
2262         (alpha_emit_xfloating_arith): New.
2263         (alpha_emit_xfloating_compare): New.
2264         (alpha_emit_xfloating_cvt): New.
2265         (print_operand): Add default abort case.
2266         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
2267         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
2268         (BIGGEST_ALIGNMENT): Increase to 128 bits.
2269         (RETURN_IN_MEMORY): True for TF/TCmode.
2270         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
2271         (FUNCTION_ARG): Move to function_arg.
2272         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
2273         (ASM_OUTPUT_LONG_DOUBLE): New.
2274         (ASM_OUTPUT_DOUBLE): Always output bits.
2275         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
2276         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
2277         (extenddftf2, trunctfdf2): New.
2279 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2281         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
2282         * config/sparc/sol2.h: ... here.
2284 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2286         * basic-block.h (struct loops): New field `levels'.
2287         * flow.c (flow_loops_level_compute): Traverse all outer loops.
2288         (flow_loop_level_compute): Initialise level to 1.
2289         (flow_loops_find): Set loops->levels.
2290         (flow_loops_dump): Print loops->levels.
2292 2000-01-23  Richard Henderson  <rth@cygnus.com>
2294         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
2295         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
2297 2000-01-23  Richard Henderson  <rth@cygnus.com>
2299         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
2300         * i386.h (DBX_REGISTER_NUMBER): Use them.
2301         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
2302         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
2303         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
2304         * i386/sequent.h: Kill incorrect comment.
2306 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
2308         * ggc-page.c (struct page_entry): Make `context_depth' an
2309         `unsigned short'.
2310         (struct globals): Likewise.
2312 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
2314         * loop.c (check_dbra_loop): When checking a loop for
2315         reversability, check the source of any stores to ensure
2316         they don't depend on an initial value.
2318 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2320         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
2322 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
2324         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
2325         'pz_scan' into scope of entire function.  Only affects
2326         compiles with -DDEBUG.
2328 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
2330         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
2331         section naming to that prior to 2000-01-07 patch.
2332         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
2333         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
2334         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
2335         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
2336         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
2338 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
2340         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
2341         constant.
2343 2000-01-21  Jim Wilson  <wilson@cygnus.com>
2345         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
2346         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
2348 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
2350         * cpphash.c (change_newlines): Delete function.
2351         (struct argdata): Delete 'newlines' and 'use_count' fields.
2352         (macroexpand): Remove code referencing those fields.
2354 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2356         * loop.c (loops_info): New variable.
2357         (loop_optimize): Allocate loops->array and free it on exit.
2358         Allocate memory for loops_info and assign to each loop,
2359         replacing alloca.
2360         (find_and_verify_loops): Do not allocate loops->array.
2362 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
2364         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
2366 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
2368         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
2369         pseudos if expanded after first flow.
2370         (movdi_pic_label_ref): Likewise.
2372 2000-01-20  Richard Henderson  <rth@cygnus.com>
2374         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
2376 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
2378         * Makefile.in (fixinc.sh): Depend on specs.
2379         * fixinc/Makefile.in: Add rule to create machname.h.
2380         (fixlib.o): Depend on machname.h.
2381         * fixinc/fixtests.c (machine_name): New test.
2382         * fixinc/fixfixes.c (machine_name): New fix.
2383         * fixinc/fixlib.c (mn_get_regexps): New helper function for
2384         the machine_name test and fix.
2385         * fixinc/fixlib.h: Prototype it.
2386         * fixinc/inclhack.def (machine_name): Use the C test and fix.
2387         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
2389         * gcc.c (do_spec_1) [case P]: Take care not to create
2390         identifiers with three leading or trailing underscores.
2392         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
2393         (fixincl): Don't specify libraries twice on link line.
2394         (gnu-regex.o): Remove special rule.
2395         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
2396         defined by config.h.  Do not define _REGEX_RE_COMP.
2397         (regcomp): Allocate and initialize a fastmap.
2398         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
2400 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
2402         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
2404 2000-01-19  Richard Henderson  <rth@cygnus.com>
2406         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
2407         arguments with BB.  Update all callers.  Tidy line wrapping.
2409 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
2411         * emit-rtl.c (try_split): Return last_insn if we split the
2412         last_insn.
2414 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
2416         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
2417         (ix86_initial_elimination_offset): Declare.
2418         * i386.c (ix86_nsaved_regs): Break out from ...
2419         (ix86_can_use_return_insn_p): ... here.
2420         (ix86_emit_save_regs): Break out from ...
2421         (ix86_expand_prologue): ... here.
2422         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
2423         out from ...
2424         (ix86_expand_epilogue): ... here.
2425         (ix86_compute_frame_size): Make static, add prototype.
2426         (ix86_initial_elimination_offset): Break out from ...
2427         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
2429 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2431         * recog.h (OUT_FCN): Delete.
2433         * vax.md: Call `get_insn_template' instead of OUT_FCN.
2435 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2437         * cppalloc.c: PROTO -> PARAMS.
2438         * cpperror.c: Likewise.
2439         * cppfiles.c: Likewise.
2440         * cpplib.c: Likewise.
2441         * cpplib.h: Likewise.
2443         * config/arm/arm-protos.h: PROTO -> PARAMS.
2444         * config/arm/arm.c: Likewise.
2445         * config/c4x/c4x.c: Likewise.
2446         * config/fr30/fr30-protos.h: Likewise.
2447         * config/nextstep.c: Likewise.
2448         * config/pa/pa.c: Likewise.
2449         * config/pj/pj.c: Likewise.
2450         * config/rs6000/rs6000.c: Likewise.
2451         * config/v850/v850-protos.h: Likewise.
2452         * config/v850/v850.c: Likewise.
2454 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2456         * i370-protos.h: New file.
2458         * i370.c: Include tm_p.h.  Fix compile time warnings.
2460         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
2461         warnings.
2463         * i370.md: Likewise.
2465 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2467         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
2468         (target_isinf, target_isnan, eisnan): Mark parameter with
2469         ATTRIBUTE_UNUSED.
2470         (eiisinf): Wrap in INFINITY.
2471         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
2472         (ibmtoe): Remove unused variable `rndsav'.
2474 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2476         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
2477         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
2479 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
2481         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
2482         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
2483         (fix_char_macro_defines, fix_char_macro_uses): New functions.
2485         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
2486         Recognize Emacs mode markers also.
2487         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
2488         C++ comments in C++ headers.  Call is_cxx_header only if
2489         necessary.
2491         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
2492         bypass for ncurses.
2493         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
2494         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
2495         ... these, which use the new C fixes.
2496         (math_exception): Escape literal '+' in bypass expression.
2498         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
2499         Regenerate.
2501 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
2503         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
2504         inside the MEM.
2506 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2508         * loop.c (loop_optimize): Allocate loop_info structure for each loop
2509         prior to calling scan_loop.
2511 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2513         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
2514         (split_branches, calc_live_regs): Likewise.
2516 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2518         * sh.md (fpu_single, fp_mode): New attributes.
2520 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2522         * loop.c (current_loop_info): Renamed from loop_info_data
2523         and changed to a pointer.
2524         (loop_optimize): Allocate loop_info structure for each loop
2525         and initialise to zero.
2526         (scan_loop): Set current_loop_info.
2528         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
2529         on iteration_var.
2531 2000-01-19  Richard Henderson  <rth@cygnus.com>
2533         * stupid.c: Die die die.
2534         * Makefile.in (OBJS): Remove stupid.o.
2535         (stupid.o): Likewise.
2537         * except.c (emit_eh_context): Don't emit USEs for stupid.
2538         * explow.c (probe_stack_range): Likewise.
2539         * flags.h (obey_regdecls): Remove.
2540         * flow.c (find_basic_blocks): Don't run try_merge_blocks
2541         when not optimizing.
2542         (life_analysis): Limit data collection when not optimizing.
2543         (mark_regs_live_at_end): Always mark the return value registers.
2544         (mark_used_regs): Remove dummy RETURN case.
2545         (print_rtl_with_bb): Don't consult obey_regdecls.
2546         * function.c (use_variable, use_variable_after): Remove.
2547         (assign_parms): Consult optimize not obey_regdecls.
2548         (expand_function_start): Don't emit USEs for stupid.
2549         (expand_function_end): Likewise.
2550         * global.c (build_insn_chain): Export.
2551         * integrate.c (expand_inline_function): Kill return-value USE
2552         handling code.
2553         * jump.c (jump_optimize_1): Do simple jump optimizations and
2554         dead code elimination.
2555         (calculate_can_reach_end): Remove check_deleted argument.
2556         (delete_insn): Patch out insns even when not optimizing.
2557         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
2558         * rtl.h (use_variable, use_variable_after): Remove declarations.
2559         (build_insn_chain): Declare.
2560         * stmt.c (expand_value_return): Don't emit USEs for stupid.
2561         (expand_end_bindings): Likewise.
2562         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
2563         * toplev.c (obey_regdecls): Remove.
2564         (rest_of_compilation): Don't set it.  Kill stupid in favour of
2565         flow1, local-alloc, and reload.
2566         (main): Don't set obey_regdecls.
2568         * config/nextstep.c (handle_pragma): Likewise.
2570         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
2572         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
2574 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2576         * alpha-protos.h: PROTO -> PARAMS.
2577         * alpha.c: Likewise.
2578         * elf.h: Likewise.
2579         * h8300.c: Likewise.
2580         * i386-protos.h: Likewise.
2581         * i386.c: Likewise.
2582         * m32r-protos.h: Likewise.
2583         * m32r.c: Likewise.
2584         * mips.c: Likewise.
2585         * mips.md: Likewise.
2586         * gmon-sol2.c: Likewise.
2587         * sparc.c: Likewise.
2589 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2591         * ns32k-protos.h: New file.
2593         * ns32k.c: Fix compile time warnings.
2595         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
2596         warnings.
2598         * ns32k.md: Likewise.
2600 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2602         * vax-protos.h: New file.
2604         * vax.c: Fix compile time warnings.
2606         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
2607         warnings.
2609         * vax.md: Likewise.
2611         * vaxv.md: Likewise.
2613 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2615         * romp-protos.h: New file.
2617         * romp.c: Fix compile time warnings.
2619         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
2620         warnings.
2622         * romp.md: Likewise.
2624 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2626         * we32k-protos.h: New file.
2628         * we32k.c: Fix compile time warnings.
2630         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
2631         warnings.
2633 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2635         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
2637         * except.c (eh_regs): Likewise.
2639         * final.c (output_operand): Likewise.
2641         * fold-const.c (target_isinf, target_isnan): Likewise.
2643 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
2645         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
2646         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
2648         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
2649         when optimize_size.
2650         (clrstrsi): Rewrite.
2651         (strsethi, strsetqi): New expanders.
2652         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
2653         (cmpstrsi): Emit compare insn before cmpstrsi_1
2654         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
2655         (strlensi_1): Likewise.
2656         (cmpstrsi_1): Likewise; do not output compare.
2657         (strlen expander): Do not unroll when optimizing for size.
2658         (*subsi3_carry): Rename to subsi3_carry
2659         (addqi3_cc): New pattern.
2660         * i386.h (processor_costs): Add move_ratio field.
2661         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
2662         * i386.c (*_cost): Set move_ratio.
2663         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
2664         (x86_expand_strlensi_1): Rewrite the main loop.
2666 2000-01-17  Richard Henderson  <rth@cygnus.com>
2668         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
2669         * cse.c (find_comparison_args, fold_rtx): Likewise.
2670         * integrate.c (subst_constants): Likewise.
2671         * loop.c (get_condition): Likewise.
2673         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
2675         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
2677 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2679         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
2680         (RESTORE_WARN_FLAGS): Unpack it.
2681         Change semantic type of extension to ttype.
2682         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
2683         * c-parse.y, c-parse.c, objc/objc-parse.y,
2684         objc/objc-parse.c: Regenerate.
2686 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
2688         * fixinc/fixlib.c: Add copyright notice.
2689         (compile_re): New function.
2690         * fixinc/fixlib.h: Prototype compile_re.
2692         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
2693         Use compile_re to compile regular expressions.
2695         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
2696         where the pattern matched.
2698         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
2699         use 'replace'.
2700         (ultrix_ansi_compat): Likewise.
2701         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
2702         add egrep test.
2703         (interactv_add2, interactv_add3): Delete.
2704         (x11_sprintf): Don't use filename glob.
2705         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
2706         Regenerate.
2708 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2710         * print-rtl.c: PROTO -> PARAMS.
2711         * real.c: Likewise.
2712         * reg-stack.c: Likewise.
2713         * resource.c: Likewise.
2714         * sdbout.h: Likewise.
2715         * simplify-rtx.c: Likewise.
2716         * stor-layout.c: Likewise.
2717         * stupid.c: Likewise.
2718         * xcoffout.c: Likewise.
2719         * xcoffout.h: Likewise.
2721 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2723         * toplev.c: PROTO -> PARAMS.
2724         * toplev.h: Likewise.
2725         * tree.c: Likewise.
2726         * tree.h: Likewise.
2727         * unroll.c: Likewise.
2728         * varasm.c: Likewise.
2729         * varray.c: Likewise.
2730         * varray.h: Likewise.
2732 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2734         * reload.c: PROTO -> PARAMS.
2735         * reload.h: Likewise.
2736         * reload1.c: Likewise.
2737         * reorg.c: Likewise.
2738         * resource.h: Likewise.
2739         * rtl.c: Likewise.
2740         * rtl.h: Likewise.
2741         * rtlanal.c: Likewise.
2742         * sbitmap.h: Likewise.
2743         * sdbout.c: Likewise.
2744         * stack.h: Likewise.
2745         * stmt.c: Likewise.
2746         * system.h: Likewise.
2748 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2750         * machmode.h: PROTO -> PARAMS.
2751         * mbchar.h: Likewise.
2752         * mips-tdump.c: Likewise.
2753         * mips-tfile.c: Likewise.
2754         * optabs.c: Likewise.
2755         * output.h: Likewise.
2756         * prefix.c: Likewise.
2757         * profile.c: Likewise.
2758         * protoize.c: Likewise.
2759         * real.h: Likewise.
2760         * recog.c: Likewise.
2761         * recog.h: Likewise.
2762         * regclass.c: Likewise.
2763         * regmove.c: Likewise.
2764         * regs.h: Likewise.
2766 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2768         * ggc-common.c: PROTO -> PARAMS.
2769         * ggc-page.c: Likewise.
2770         * ggc-simple.c: Likewise.
2771         * ggc.h: Likewise.
2772         * global.c: Likewise.
2773         * graph.c: Likewise.
2774         * gthr-win32.h: Likewise.
2775         * haifa-sched.c: Likewise.
2776         * halfpic.h: Likewise.
2777         * integrate.c: Likewise.
2778         * integrate.h: Likewise.
2779         * jump.c: Likewise.
2780         * lcm.c: Likewise.
2781         * local-alloc.c: Likewise.
2782         * loop.c: Likewise.
2783         * loop.h: Likewise.
2785 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2787         * genattr.c: PROTO -> PARAMS.
2788         * genattrtab.c: Likewise.
2789         * gencheck.c: Likewise.
2790         * gencodes.c: Likewise.
2791         * genconfig.c: Likewise.
2792         * genemit.c: Likewise.
2793         * genextract.c: Likewise.
2794         * genflags.c: Likewise.
2795         * gengenrtl.c: Likewise.
2796         * genopinit.c: Likewise.
2797         * genoutput.c: Likewise.
2798         * genpeep.c: Likewise.
2799         * genrecog.c: Likewise.
2801 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
2803         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
2805 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2807         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
2808         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
2809         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
2810         * configure, config.in: Rebuilt.
2812 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
2814         * config/i386/i386.md: Add peephole to merge successive stack
2815         adjusts.
2817 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
2819         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
2820         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
2821         when walking backwards to find all the parameter loads when
2822         the basic block ends in a call.
2824 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2826         * loop.c (this_loop_info): Delete.
2827         (uid_loop): Add in place of uid_loop_num.  All uses updated.
2828         (loop_number_exit_count): Delete and replace with entry in loop
2829         structure.  All uses updated.
2830         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
2831         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
2832         (loop_outer_loop): Likewise.
2833         (loop_invalid, loop_number_exit_labels): Likewise.
2834         (loop_used_count_register): Delete and replace with entry in
2835         loop_info structure.
2836         (find_and_verify_loops): Add loops argument.
2837         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
2838         loop_end, etc. arguments with loop structure pointer.  All callers
2839         changed.
2840         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
2841         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
2842         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
2843         (insert_bct): Likewise.
2844         (basic_induction_var): New argument level.
2845         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
2846         vtop, and cont.  Add used_count_register.
2847         (uid_loop): Delete declaration.
2848         (loop_number_exit_count): Likewise.
2849         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
2850         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
2851         (loop_outer_loop, loop_used_count_register): Likewise.
2852         (loop_invalid, loop_number_exit_labels): Likewise.
2853         (unroll_loop): Replace loop_start and loop_end arguments
2854         with loop structure pointer.
2855         (loop_precondition_p, loop_iterations): Likewise.
2856         Include basic-block.h.
2857         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
2858         with loop structure pointer.
2859         (loop_precondition_p, loop_iterations): Likewise.
2860         * basic-block.h (struct loop): New entries vtop, cont,
2861         cont_dominator, start, end, top, scan_start, exit_labels,
2862         exit_count.
2863         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
2865 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2867         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
2869 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
2871         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
2873 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2875         * pdp11-protos.h: New file.
2877         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
2878         time warnings.
2880         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
2881         warnings.
2883         * pdp11.md: Likewise.
2885         * 2bsd.h: Likewise.
2887 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2889         * mn10300-protos.h: New file.
2891         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
2892         time warnings.
2894         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
2895         warnings.
2897         * mn10300.md: Likewise.
2899 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2901         * mn10200-protos.h: New file.
2903         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
2904         time warnings.
2906         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
2907         warnings.
2909         * mn10200.md: Likewise.
2911 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2913         * h8300-protos.h: New file.
2915         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
2916         time warnings.
2918         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
2919         warnings.
2921         * h8300.md: Likewise.
2923 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2925         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
2926         (asm_emit_uninitialised): Likewise.
2928 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
2930         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
2931         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
2933 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
2935         * config/mips/mips.c (override_options): Don't turn on extra
2936         alignment for mips16.
2938 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
2940         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
2941         eabi, and make sure queued POSTINCREMENT rtl is emitted at
2942         the right point.
2944 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
2946         * builtins.c (PAD_VARARGS_DOWN): Define.
2947         (std_expand_builtin_va_arg): Use the above macro.
2948         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
2949         * tm.texi (Register Arguments): Document the above macro.
2951 2000-01-14  Nick Clifton  <nickc@cygnus.com>
2953         * emit-rtl.c (emit_insn): If checking is enabled, make sure
2954         that this function has not been used to emit a jump
2955         instruction.
2957         * jump.c (return_jump_1): Cope with being passed a null rtx.
2959 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2961         * eh-common.h: PROTO -> PARAMS.
2962         * emit-rtl.c: Likewise.
2963         * errors.c: Likewise.
2964         * errors.h: Likewise.
2965         * except.c: Likewise.
2966         * except.h: Likewise.
2967         * explow.c: Likewise.
2968         * expmed.c: Likewise.
2969         * expr.c: Likewise.
2970         * expr.h: Likewise.
2971         * final.c: Likewise.
2972         * fix-header.c: Likewise.
2973         * flow.c: Likewise.
2974         * fold-const.c: Likewise.
2975         * function.c: Likewise.
2976         * function.h: Likewise.
2977         * gcc.c: Likewise.
2978         * gcov-io.h: Likewise.
2979         * gcov.c: Likewise.
2980         * gcse.c: Likewise.
2982 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2984         * sh-protos.h: New file.
2986         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
2987         Add static prototypes.  Fix compile time warnings.
2989         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
2990         * sh.md: Likewise.
2991         * elf.h: Likewise.
2993 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2995         * arc-protos.h: New file.
2997         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
2998         time warnings.
3000         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
3001         warnings.
3003         * arc.md: Likewise.
3005 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3007         * dsp16xx-protos.h: New file.
3009         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
3010         time warnings.
3012         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
3013         warnings.
3015         * dsp16xx.md: Likewise.
3017 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3019         * convex-protos.h: New file.
3021         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
3022         time warnings.
3024         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
3025         warnings.
3027 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3029         * elxsi-protos.h: New file.
3031         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
3032         time warnings.
3034         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
3035         warnings.
3037         * elxsi.md: Likewise.
3039 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
3041         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
3042         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
3043         match the comment for MIPS16.
3045 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
3047         * flow.c (split_edge): Do not call set_block_for_insn if we
3048         do not have a basic_block_for_insn structure.
3050         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
3051         and destination functions are 32bit aligned within the trampoline.
3052         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
3053         (TRAMPOLINE_ALIGNMENT): Define.
3055         * cse.c (cse_insn): When changing (set (pc) (reg)) to
3056         (set (pc) (label_ref)), verify the change creates a valid insn.
3058         * fr30.c (call_operand): Tighten and rework to match rules for
3059         call RTL expressions.
3060         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
3061         * fr30.md (call patterns): Improve constraints.
3063 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
3065         * fr30.c (fr30_expand_epilogue): Revert last change.
3066         Use emit_jump_insn for the return insn.
3068 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
3069                           Stan Cox  <scox@cygnus.com>
3071         * predict.c: New file. Preliminary infrastructure work for static
3072         branch prediction and basic block reordering.
3073         * basic-block.h: Add prototype for estimate_probability.
3074         * Makefile.in: Add rules for predict.o.
3076 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
3078         * fixincludes (va_list): Use __not_va_list__ for the dummy.
3079         * fixinc/*: Likewise.
3081 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3083         * cccp.c: PROTO -> PARAMS.
3084         * cexp.y: Likewise.
3085         * collect2.c: Likewise.
3086         * combine.c: Likewise.
3087         * convert.h: Likewise.
3088         * cse.c: Likewise.
3089         * dbxout.c: Likewise.
3090         * dbxout.h: Likewise.
3091         * diagnostic.c: Likewise.
3092         * doprint.c: Likewise.
3093         * dwarf2out.c: Likewise.
3094         * dwarf2out.h: Likewise.
3095         * dwarfout.c: Likewise.
3096         * dwarfout.h: Likewise.
3097         * dyn-string.h: Likewise.
3099 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3101         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
3102         macro conditionals guarding use.
3104         * dwarf2out.c: Include "tm_p.h".
3106         * function.c (locate_and_pad_parm): Mark parameter with
3107         ATTRIBUTE_UNUSED.
3108         (expand_function_end): Likewise for variable `context'.
3110         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
3112 2000-01-13  Nick Clifton  <nickc@cygnus.com>
3114         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
3115         register to prevent compile time warnings.
3117 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
3119         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
3120         to avoid -Wtraditional warning.
3122 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3124         * 1750a-protos.h: New file.
3126         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
3127         time warnings.
3129         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
3130         warnings.
3132         * 1750a.md: Likewise.
3134 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3136         * a29k-protos.h: New file.
3138         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
3139         time warnings.
3141         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
3142         warnings.
3144 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3146         * clipper-protos.h: New file.
3148         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
3149         time warnings.
3151         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
3152         warnings.
3154 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3156         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
3158 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
3160         * configure.in (--enable-new-gxx-abi): New option.
3161         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
3162         * Makefile.in (GXX_ABI_FLAG): New variable.
3163         * configure: Regenerate.
3165 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3167         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
3168         * tm.texi (FORCE_STRUCT_BLK): Document.
3169         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
3171 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
3173         * config/ns32k/ns32k.md: Revert Jan 9 change.
3175         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
3176         to a mode-test, if the predicate is address_operand.
3178 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
3180         * combine.c (if_then_else_cond): Be careful about what kinds
3181         of RTL expressions are passed to operand_subword.
3183         * flow.c (split_edge): If we have to insert a new jump, make
3184         sure to associate it with a basic block.
3186         * flow.c (commit_one_edge_insertion): A block with one successor
3187         can end in a JUMP_INSN that is not a simplejump.
3189 2000-01-12  Robert Lipe  <robertl@sco.com>
3191         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
3192         (BUILD_VA_LIST_TYPE): Define.
3193         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
3194         with crtstuff.c.
3196 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
3198         * cccp.c (do_pragma): Add cast to (char *).
3200 2000-01-12  Richard Henderson  <rth@cygnus.com>
3201             Fred Fish  <fnf@be.com>
3202             Jason Merrill  <jason@cygnus.com>
3204         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
3205         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
3206         * i386/beos-elf.h, i386/beos-pe.h: New files.
3208         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
3209         * cross-make (SYSTEM_HEADER_DIR): Define using
3210         CROSS_SYSTEM_HEADER_DIR.
3212         * gcc.c (LIBRARY_PATH_ENV): Provide default.
3213         (process_command): Use it.
3214         (main): Likewise.  Kill trailing = from env vars.
3215         (build_search_list): Put it back.
3216         * collect2.c (main): Use LIBRARY_PATH_ENV.
3218         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
3219         * toplev.c: Use NEED_DECLARATION_ENVIRON.
3221         * tm.texi (Frame Layout): Document SMALL_STACK.
3222         * c-common.c (c_common_nodes_and_builtins): Check it.
3224         * system.h: Undef alloca after including glibc's <stdlib.h>,
3225         if USE_C_ALLOCA is defined.
3227         * gcc.c (set_input): New fn.
3228         (main): After all input files are compiled, reset the input file
3229         info to the first.
3231         * aclocal.m4 (rindex, index): If already defined, don't attempt
3232         to redefine.
3234         * ginclude/varargs.h: (__va_list__): Define ifndef.
3235         * ginclude/stdarg.h: Likewise.
3237         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
3238         instead of unsigned char.
3240         * hash.h (true, false, boolean): Undef before enum.
3242         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
3243         proper type of "HOST_WIDE_INT *", rather than their natural type of
3244         "unsigned HOST_WIDE_INT *".
3246 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3248         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
3250         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
3252         * regclass.c (choose_hard_reg_mode): Likewise.
3254         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
3256         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
3258 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3260         * c-common.c: PROTO -> PARAMS.
3261         * c-common.h: Likewise.
3262         * c-decl.c: Likewise.
3263         * c-iterate.c: Likewise.
3264         * c-lang.c: Likewise.
3265         * c-lex.c: Likewise.
3266         * c-lex.h: Likewise.
3267         * c-parse.in: Likewise.
3268         * c-pragma.c: Likewise.
3269         * c-pragma.h: Likewise.
3270         * c-tree.h: Likewise.
3271         * c-typeck.c: Likewise.
3272         * objc/objc-act.c: Likewise.
3273         * objc/objc-act.h: Likewise.
3275 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3277         * m88k-protos.h: New file.
3279         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
3280         time warnings.
3282         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
3284         * m88k.md: Likewise.
3286         * tekXD88.h: Likewise.
3288 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3290         * m68k-protos.h: New file.
3292         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
3293         time warnings.
3295         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
3297         * mot3300.h: Likewise.
3299 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
3301         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
3302         extract_bitlst.
3303         (extract_bitlist): Declare bitlen.
3305 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
3307         * cccp.c: Accept and ignore -lang-fortran.
3309         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
3310         qualifiers don't match at any level of pointerness.
3312 2000-01-12  Robert Lipe  <robertl@sco.com>
3314         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
3316 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
3318         * reload1.c (reload_reg_unavailable): New static variable.
3319         (reload_reg_free_p): Test it.
3320         (reload_reg_free_for_value_p): Test it instead of
3321         reload_reg_used.
3322         (choose_reload_regs_init): Compute it.
3324 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
3326         * reorg.c (fill_slots_from_thread): Check modified_in_p
3327         before replacing.
3329 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
3331         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
3332         these nodes even if INTERNALS is not set.
3334 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
3336         * gcse.c (delete_null_pointer_checks_1): Cope when
3337         get_condition cannot determine the condition.
3339 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
3341         * toplev.h (set_message_length): Declare.
3343         * diagnostic.c (obstack_chunk_alloc): Define macro.
3344         (obstack_chunk_free): Likewise.
3345         (struct output_buffer): New data structure.
3346         (vmessage): Remove.
3347         (output_maximum_width): New variable.
3348         (doing_line_wrapping, set_message_length, init_output_buffer,
3349         get_output_prefix, output_space_left, emit_output_prefix,
3350         output_newline, output_append, output_puts, dump_output,
3351         vbuild_message_string, build_message_string, build_location_prefix,
3352         voutput_notice, output_printf, line_wrapper_printf,
3353         vline_wrapper_message_with_location):  New functions. Implement
3354         automatic line wrapping.
3355         (v_message_with_decl): Make it handle automatic line wrapping.
3356         (v_error_with_file_and_line): Likewise.
3357         (v_warning_with_file_and_line): Likewise.
3358         (announce_function): Likewise.
3359         (default_print_error_function): Likewise.
3361 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
3363         * cpplib.h (struct cpp_options): Change lang_asm to char.
3364         Add lang_fortran.
3365         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
3366         done in cpp_handle_option now.
3367         (initialize_builtins): Take out special case code used only by
3368         __STDC_VERSION__.
3369         (cpp_handle_option): Turn off trigraphs and trigraph warnings
3370         if -traditional.  Recognize -lang-fortran and set
3371         lang_fortran, also turn off cplusplus_comments.
3372         (print_help): Document -lang-fortran.
3373         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
3374         lang_asm. Ignore all directives other than `# 123 "file"' if
3375         CPP_PREPROCESSED.
3376         (cpp_get_token): If -traditional, don't recognize directives
3377         unless the # is in column 1.
3378         (parse_string): If lang_fortran or lang_asm, silently
3379         terminate strings ('' or "") at end of line.
3380         Remove unnecessary braces.
3382 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3383             Richard Henderson  <rth@cygnus.com>
3385         * resource.c (mark_referenced_resources): Mark a set strict_low_part
3386         as used.
3387         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
3388         strict_low_part when possible.
3390 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3392         * alias.c: PROTO -> PARAMS.
3393         * basic-block.h: Likewise.
3394         * bitmap.c: Likewise.
3395         * bitmap.h: Likewise.
3396         * builtins.c: Likewise.
3397         * c-aux-info.c: Likewise.
3398         * caller-save.c: Likewise.
3399         * calls.c: Likewise.
3401 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3403         * Makefile.in (toplev.o): Depend on regs.h.
3405         * output.h (tdesc_section): Prototype.
3407         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
3409         * sdbout.c: Include "tm_p.h".
3411         * toplev.c: Include "regs.h".
3413 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
3415         * unroll.c (unroll_loop): Add EH support.
3417 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3419         * pa-protos.h: New file.
3421         * pa.c: Include recog.h and tm_p.h.
3422         (compute_zdepwi_operands, compute_movstrsi_length,
3423         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
3424         find_addr_reg, import_milli): Add static prototypes.
3425         (pa_cpu_string, pa_arch_string): Constify a char*.
3426         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
3427         (read_only_operand): Add argument `mode'.
3428         (singlemove_string, output_move_double, output_fp_move_double,
3429         output_block_move, output_and, output_ior, output_ascii,
3430         remove_useless_addtr_insns, milli_names, output_mul_insn,
3431         output_div_insn, output_mod_insn, output_arg_descriptor,
3432         output_cbranch, output_bb, output_bvb, output_dbra, ,
3433         output_millicode_call, output_call, hppa_encode_label,
3434         output_parallel_movb, output_parallel_addb): Constify a char*.
3435         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
3436         (output_parallel_addb): Remove extra arg to `constrain_operands'
3438         * pa.h:  Move all prototypes to pa-protos.h.
3439         (pa_cpu_string, pa_arch_string): Constify a char*.
3440         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
3442         * pa.md: Call `function_label_operand' with mode argument.
3443         Likewise for `read_only_operand'.
3444         Fix nesting of parens in call to `symbolic_operand'.
3446 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3448         * i860-protos.h: New file.
3450         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
3451         time warnings.
3453         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
3455         * i860.md: Likewise.
3457 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
3459         * i386.md (movstrsi expander): Rewrite.
3460         (movstrsi_1 insn): Deleted.
3461         (strmovhi, strmovqi expander): New expanders.
3462         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
3463         * i386.c (x86_single_stringop): New global variable.
3464         * i386.h (x86_single_stringop): Declare.
3465         (TARGET_SINGLE_STRINGOP): New macro.
3467 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
3469         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
3470         integer vararg POSTINCREMENT before the destination of the jump
3471         for the hard fp case.
3472         (function_arg_pass_by_reference): Pass a copy of CUM to
3473         FUNCTION_ARG.
3475         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
3476         for CONSTANT_ADDRESS_P above while loop for subreg.
3478 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
3480         * flow.c (propagate_block): When a prologue/epilogue insn
3481         is marked dead, unconditionally clear libcall_is_dead and
3482         insn_is_dead, and only dump rtl if warnings aren't being
3483         suppressed.
3485 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
3487         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
3488         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
3489         (FIXED_REGISTERS): Set dirflag as fixed.
3490         (CALL_USED_REGISTERS): Set dirflag as used.
3491         (REG_ALLOC_ORDER): Set dirflag as last one.
3492         (DIRFLAG_REG): New macro.
3493         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
3494         (HI_REGISTER_NAMES): Add dirflag.
3495         (DEBUF_PRINT_REG): Handle dirflag.
3496         * i386.md (type attribute): New cld and str types.
3497         (length_opcode attribute): Set cld and str to 1.
3498         (memory attribute): Set str to unknown - it is not clear from the
3499         patterns.
3500         (pent_np function unit): Prefixed string operations takes 12 cycles
3501         minimally; cld takes 2 cycles.
3502         (ppro_uops attribute): Str is "many" and cld is "few".
3503         (ppro_p0 unit): Handle cld here.
3504         (k6_alux unit): Handle cld and str types.
3505         (k6_load unit): It is ocupied by str opcodes.
3506         (k6_store unit): It is ocupied by str opcodes.
3507         (athlon_decode): Str is vector decoded.
3508         (athlon_ieu): Handle str and cld.
3509         (cld pattern): New.
3510         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
3511         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
3512         cmpstrsi_nz_1 insn): Do not output cld instruction
3514 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
3516         * gcc.texi (G++ and GCC): Add Java and Chill.
3517         (Bug Critera): Don't list languages.
3519         * gcc.texi (Incompatibilities): No longer claim most C compilers
3520         are K&R.
3522         * gcc.texi (G++ and GCC): Update other front-ends list.
3524 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
3526         * i386.c (ix86_expand_setcc): Fix typo.
3527         (ix86_expand_movcc): Similarly.
3529         * Band-aid until haifa's bitset implementation is nuked.
3530         * haifa-sched.c (extract_bitlst): New parameter for size of the
3531         bitset in bits.  All callers changed.  Avoid looking at undefined
3532         bits in the bitset.
3533         (edgeset_bitsize): New variable.
3534         (schedule_region): Initialize edgeset_bitsize.
3536 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3538         * Makefile.in (optabs.o): Depend on real.h
3539         (resource.o): Depend on insn-attr.h
3541         * builtins.c (result_vector): Wrap prototype in macro conditions
3542         governing definition and use.
3544         * c-common.c: Include tm_p.h.
3546         * c-lex.c: Likewise.
3548         * elfos.h: Constify a char*.
3550         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
3551         (get_attr_length, shorten_branches, profile_after_prologue): Mark
3552         parameter with ATTRIBUTE_UNUSED.
3554         * fold-const.c (exact_real_inverse): Wrap variable `i' in
3555         CHECK_FLOAT_VALUE.
3557         * haifa-sched.c (schedule_insns): Mark parameter with
3558         ATTRIBUTE_UNUSED.
3560         * optabs.c: Include real.h.
3562         * real.h (ereal_atof): Add prototype arguments.
3564         * resource.c: Include insn-attr.h.
3566         * sdbout.c (sdbout_queue_anonymous_type,
3567         sdbout_dequeue_anonymous_types): Wrap in macro
3568         SDB_ALLOW_FORWARD_REFERENCES.
3569         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
3570         ATTRIBUTE_UNUSED.
3572         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
3574         * stupid.c: Include tm_p.h.
3576         * tree.c (real_value_from_int_cst): Mark parameter with
3577         ATTRIBUTE_UNUSED.
3579 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3581         * i960-protos.h: New file.
3583         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
3584         time warnings.
3586         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
3588 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3590         * combine.c (expand_field_assignment): Do not discard SUBREGs
3591         while computing nonzero_bits.
3593 2000-01-09  Nick Clifton  <nickc@cygnus.com>
3595         * config/arm/arm.c: Fix compile time warnings about signed vs
3596         unsigned constants.
3597         * config/arm/arm.h: Fix compile time warnings about signed vs
3598         unsigned constants.
3600 2000-01-09  Philip Blundell  <philb@gnu.org>
3602         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
3603         than `ldm' with only one register.
3604         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
3605         only one register.
3607         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
3608         clobbered.
3610 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
3612         * config/ns32k/ns32k.md (load or push effective address): Operand 1
3613         must have SImode.
3615 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3617         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
3618         assignment used as truth value.
3620         * function.c (assign_temp): Mark parameter `dont_promote' with
3621         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
3622         PROMOTE_FOR_CALL_ONLY.
3624         * genrecog.c (write_subroutine): Mark variable `operands' with
3625         ATTRIBUTE_UNUSED.
3627         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
3628         ATTRIBUTE_UNUSED.
3630         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
3631         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
3633         * toplev.c (note_deferral_of_defined_inline_function): Likewise
3634         for `decl'.
3636 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3638         * config/c4x.h: Tidy up comments.
3639         * config/c4x.c: Likewise.
3641 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
3643         * fold-const.c (lshift_double, rshift_double): Handle
3644         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
3646 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3648         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
3649         in prepare_function_start().
3651 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
3653         * config/v850/v850.c (expand_epilogue): Interrupt functions no
3654         longer allocate extra stack for function calls.
3656 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3658         * config/c4x/c4x.md (*subqf3_set): Fix typo.
3660 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3662         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
3664 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
3666         * rs6000.c (processor_target_table): Add power3 as alias for 630.
3667         * aix43.h: Revert Aug 2 change.
3668         (HAS_INIT_SECTION): Define, not visible yet.
3669         (LD_INIT_SWITCH): Define, not visible yet.
3670         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
3672         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
3674         * collect2.c (main): Expand ld2 size further.
3675         (export_object_lst): Cast assignment to avoid warning.
3676         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
3677         (scan_prog_file, COFF): Do not collect initialization or
3678         finalization functions generated for entire shared object if
3679         init/fini support present.
3681 2000-01-07  Nick Clifton  <nickc@cygnus.com>
3683         * config/elfos.h: Tidy up formatting of marcos.  Make sure
3684         that .section directives are always prefixed by a tab.
3686         * config/svr4.h: Add #include "elfos.h" and remove duplicate
3687         definitions.
3689 2000-01-07  Matt Austern  <austern@sgi.com>
3691         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
3692         expon.
3694 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
3696         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
3697         crtstuff.c.
3698         (crtbegin.o, s-crtS): Likewise.
3700 2000-01-06  Richard Henderson  <rth@cygnus.com>
3702         * alpha.md (adddi_2+1): Limit offset such that it will be
3703         loadable with a single ldah+lda pair.
3704         (adddi_2+2): Explicitly fail split if we can't make it work.
3706 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
3708         * protoize.c: Conditionally include unistd.h.
3709         (IS_SAME_PATH_CHAR): New macro.
3710         (IS_SAME_PATH): New macro.
3711         (CPLUS_FILE_SUFFIX): New macro.
3712         (cplus_suffix): New static variable.
3713         (is_abspath): New static function.
3714         (in_system_include_dir): Handle DOS style pathnames.
3715         (file_could_be_converted): Likewise.
3716         (file_normally_convertible): Likewise.
3717         (directory_specified_p): Likewise.
3718         (file_excluded_p): Likewise.
3719         (abspath): Likewise.
3720         (shortpath): Likewise.
3721         (referenced_file_is_newer): Likewise.
3722         (save_def_or_dec): Likewise.
3723         (do_processing): Likewise.
3724         (main): Likewise.
3725         (edit_file): Likewise. Use rename instead of link.
3726         (rename_c_file): Likewise. Don't rename syscalls file.
3727         (munge_compile_params): Define null device for DOS based systems.
3728         (process_aux_info_file): Use binary mode if appliable.
3729         (edit_file): Likewise.
3730         * invoke.texi (Running Protoize): Document C++ suffixes used.
3732         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
3733         IS_DIR_SEPARATOR macros.
3734         * collect2.c: Likewise.
3735         * cppinit.c: Likewise.
3736         * dwarf2out.c: Likewise.
3737         * gcc.c: Likewise.
3738         * gcov.c: Likewise.
3739         * prefix.c: Likewise.
3740         * rtl.c: Likewise.
3741         * toplev.c: Likewise.
3742         * system.h: And move to here.
3744         * prefix.c (update_path): Fix typo in variable name.
3746 2000-01-06  Richard Henderson  <rth@cygnus.com>
3748         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
3749         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
3750         (count_reg_sets_1, count_reg_references): Likewise.
3751         (flow_loops_level_compute): Start counting actual loop depth at 1.
3752         (flow_loops_find): Likewise.
3753         * local-alloc.c (update_equiv_regs): Likewise.
3754         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
3756 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
3758         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
3759         FIRST_PSEUDO_REGISTER
3760         * dwarf2out.c: Don't include frame.h
3761         * dwarfout.c: Likewise
3762         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
3763         frame.h
3765 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
3767         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
3768         dead registers.
3770         * i386.c (movsf splitter): Fix typo in my last checkin.
3772 2000-01-05  Nick Clifton  <nickc@cygnus.com>
3774         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
3775         own definition of this macro.
3776         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
3777         flag_data_sections or UNIQUE_SECTION_P are true.
3779         * tm.texi (UNIQUE_SECTION): Document that it can be called for
3780         unitialised data decls.
3782         * config/i386/winnt.c (i386_pe_unique_section): Cope with
3783         being called for uninitialised data.
3785         * config/i386/interix.c (i386_pe_unique_section): Cope with
3786         being called for uninitialised data.
3788         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
3789         for uninitialised data.
3791         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
3792         for uninitialised data.
3794         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
3795         for uninitialised data.
3797         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
3798         (UNIQUE_SECTION_P): Always generate a unique section if
3799         flag_data_sections is true.
3800         (UNIQUE_SECTION): Also generate unique sections for
3801         uninitialised data.
3802         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
3803         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
3804         named_section().
3806 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3808         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
3809         SI, or DI.
3811 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3813         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
3814         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
3815         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
3816         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
3817         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
3819         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
3821 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
3823         * c-decl.c (finish_enum): Simplify code to determine minimum and
3824         maximum values of the enum, and calculate the type.  Remove check
3825         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
3826         the DECL_INITIAL of each enumeration constant with a copy converted
3827         to the enumeration type.  When updating variant types, don't bother
3828         updating the type itself.
3830         * c-typeck.c (build_binary_op): Simplify conditional expressions
3831         when weeding out spurious signed-unsigned warnings.  Add new
3832         spurious warning category: if the unsigned quantity is an enum
3833         and its maximum value fits in signed_type(result_type).  Update
3834         commentary.
3835         (build_conditional_expr): Warn here if one alternative is signed
3836         and the other is unsigned.
3838 2000-01-05  Nick Clifton  <nickc@cygnus.com>
3840         * config/fr30/fr30.h: Remove extraneous comments.
3842 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
3844         * reload1.c (choose_reload_regs): When disabling a reload, also
3845         set reload_spill_index to -1.
3847 2000-01-04  Joel Sherrill (joel@OARcorp.com>
3849         * configure.in (m68*-*-rtemscoff*): New target, formal name for
3850         old m68*-*-rtems*.
3851         (m68*-*-rtemself*): New target.
3852         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
3853         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
3854         (sparc*-*-rtemself*): New target.
3855         (sparc*-*-rtems*): Now elf not a.out.
3856         * config/i386/rtems.h: Include config/rtems.h.
3857         * config/i386/rtemself.h: Include config/rtems.h.
3858         * config/i960/rtems.h: Include config/rtems.h.
3859         * config/m68k/rtems.h: Include config/rtems.h.
3860         * config/m68k/rtemself.h: Include config/rtems.h.
3861         * config/mips/rtems64.h: Include config/rtems.h.
3862         * config/pa/rtems.h: Include config/rtems.h.
3863         * config/rs6000/rtems.h: Include config/rtems.h.
3864         * config/sh/rtems.h: Include config/rtems.h.
3865         * config/sh/rtemself.h: Include config/rtems.h.
3866         * config/sparc/rtems.h: Include config/rtems.h.
3867         * config/sparc/rtemself.h: Include config/rtems.h
3869 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
3871         * final.c (shorten_branches): Correctly compute length of
3872         asms without operands.
3874 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
3876         * configure.in: Add pj target.
3877         * configure: Regenerate.
3878         * config/pj: New directory.
3879         * config/pj/lib1funcs.S: New file.
3880         * config/pj/linux.h: New file.
3881         * config/pj/pj.c: New file.
3882         * config/pj/pj.md: New file.
3883         * config/pj/pjl.h: New file.
3884         * config/pj/t-pj: New file.
3885         * config/pj/xm-pj.h: New file
3887 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
3889         * toplev.c (rest_of_compilation): Run shorten-branches before
3890         reg-stack for now.
3892 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3894         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
3895         macros so that they're consistent with their names.
3896         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
3897         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
3899 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3901         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
3902         modified inadvertently.
3904 2000-01-04  Joel Sherrill <joel@OARcorp.com>
3906         * configure.in (v850*-*-rtems*): New target.
3907         * configure: Regenerate.
3908         * config/v850/rtems.h: New file.
3910 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
3912         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
3913         (__gthread_key_create): Likewise.
3914         (__gthread_key_dtor):  Likewise.
3915         (__gthread_once): Fix logic.
3916         (__gthread_key_delete): Cast away constness.
3918         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
3919         * invoke.texi: Document.
3920         * i386/mingw32.h (CPP_SPEC): Use.
3921         (LIBGCC_SPEC): Likewise.
3922         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
3924 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
3926         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
3927         (HANDLE_PRAGMA_PACK): Undefine.
3928         (SLOW_UNALIGNED_ACCESS): Define.
3930 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
3932         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
3933         to default definition.
3934         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
3935         (store_fixed_bit_field): Call macro with word_mode and alignment.
3936         (extract_bit_field): Call macro with relevant mode and alignment.
3937         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
3938         to default definition.
3939         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
3940         and alignment.
3941         (move_by_pieces_ninsns): Likewise.
3942         (clear_by_pieces): Likewise.
3943         (emit_push_insn): Likewise.
3944         (store_field): Call macro with relevant mode and alignment.
3945         (expand_expr): Likewise.
3946         (expand_expr_unaligned): Likewise.
3948         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
3949         (SLOW_UNALIGNED_ACCESS): Define.
3950         (CASE_VECTOR_MODE): Always use 32-bit offsets.
3951         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
3952         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
3953         (toc_section): Likewise and .toc pseudo-op.
3954         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
3955         64-bit mode.
3956         (TEXT_SECTION_ASM_OP): Likewise.
3957         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
3958         32-bit offsets.
3960         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
3961         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
3962         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
3963         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
3964         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
3966 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
3968         * regclass.c: Revert my Jan 4 change to loop cost computation.
3970 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
3972         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
3973         compilation.
3975 2000-01-04  Stan Cox  <scox@cygnus.com>
3977         * haifa-sched.c (build_control_flow): Change unreachable simple
3978         loop test to check if current block has only one predecessor.
3979         (find_rgns): Initialize degree.  Use dest as degree index, not src.
3981 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3983         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
3985         * calls.c (expand_call): Likewise for
3986         `old_stack_arg_under_construction'.
3988         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
3990         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
3991         `save_constant'.
3993         * gcc.c (execute): Likewise for `ut' and `st'.
3995         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
3997         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
3999         * jump.c (jump_optimize_1): Likewise for `temp2'.
4001         * local-alloc.c (block_alloc): Likewise for `r1'.
4003         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
4005         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
4006         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
4008         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
4009         and `set2'.
4011         * reload.c (find_reloads): Likewise for `goal_alternative_number'
4012         and `goal_earlyclobber'.
4014         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
4016         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
4018         * stupid.c (stupid_life_analysis): Likewise for `chain'.
4020         * unroll.c (copy_loop_body): Likewise for `copy'.
4022         * varasm.c (output_constructor): Likewise for `byte'.
4024 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
4026         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
4027         all FP constants for constant->reg moves.
4028         (ix86_split_to_parts): Try to convert memory address into immediate
4029         when available in the constant pool.
4030         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
4031         moves.
4032         (LEGITIMATE_CONSTANT_P): Return 1.
4033         * i386.md (pushsf): New splitter to convert constant pool memory
4034         reference to immediate.
4035         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
4036         reload.
4038 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
4040         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
4041         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
4042         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
4043         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
4044         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
4046 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
4048         * ginclude/stdbool.h:  Support compilation as C++.
4050 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4052         * fold-const.c (make_range): Don't try to reverse an unbounded range.
4054 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
4056         * regclass.c (regclass): Properly compute loop_cost.  Adjust
4057         comments.
4059         * regclass.c: Fix minor whitespace problems.
4061 2000-01-03  Anthony Green  <green@cygnus.com>
4063         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
4064         Restore the pic register if required.
4066 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
4068         * c-common.c (format_char_info): Update comment.
4069         (check_format_info): Recognize 'z' modifier in the same way 'Z'
4070         was recognized.  Emit warning for formats new in ISO C99 only
4071         if flag_isoc9x is not set.
4073 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
4075         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
4077 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
4079         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
4080         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
4081         (make_compound_operation): Choose cheaper alternative between
4082         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
4084         * regclass.c (op_costs): Remove global variable.
4085         (record_reg_classes): New parameter "op_costs" and "reg_pref".
4086         (record_operand_costs): Break out from ...
4087         (scan_one_insn): ... here.
4088         (dump_regclass): Make dumps nicer.
4089         (regclass): Dump preferrences choosed and changes done during passes.
4091 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
4093         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
4095 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
4097         * config/sparc/sparc.c (gen_df_reg): New function.
4098         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
4099         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
4100         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
4101         movtf_cc_reg_sp64+1): Use it.
4103 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
4105         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
4106         copied LABEL_DECLs.
4108 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
4110         * config/i386/i386.c (ix86_expand_unary_operator): Function
4111         definition made void.
4112         (ix86_expand_binary_operator): Update outdated preceding comment.
4113         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
4114         prototype.
4116         * config/i386/i386.c (override_options): Fix option-name typo.
4118 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
4120         * system.h (CEIL): Define.
4121         * builtins.c (CEIL): Remove.
4122         * expmed.c (CEIL): Likewise.
4123         * expr.c (CEIL): Likewise.
4124         * stor-layout.c (CEIL): Likewise.
4126 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4128         * expr.c (store_constructor_field): Fix typo introduced with last
4129         gcc2 merge.
4131 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
4133         * tree.h (BINFO_N_BASETYPES): New macro.
4135 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
4137         * expmed.c (emit_store_flag): Prevent losing a pending stack
4138         adjust the same way we prevent losing queued increments.
4140 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4142         * function.c (update_temp_slot_address): Handle case where sum of
4143         temporary address plus offset in register is a valid address.
4145 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
4147         * genrecog.c (change_state) Corrected typo.
4149 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4151         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
4152         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
4153         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
4155 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
4157         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
4158         case, expand GT comparisons correctly.  Fix a comment before this
4159         part of the code.
4161 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4163         * dwarfout.c: Include "frame.h"
4164         * dwarf2out.c: Likewise.
4165         * Makefile.in (dwarfout.o): Depend on frame.h
4166         (dwarf2out.o): Likewise.
4168 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
4170         Restore i386 binary compatibility in Dwarf EH info.
4171         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
4172         value of FIRST_PSEUDO_REGISTER.
4173         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
4174         (struct frame_state): Use DWARF_FRAME_REGISTERS.
4175         * dwarfout.c (output_reg_number): Ditto.
4176         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
4177         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
4179 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
4181         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
4182         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
4183         (<hack>_RE_CT): not needed
4184         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
4185         rewritten to scan the file text once only
4186         "template<..." test added
4187         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
4188         (is_cxx_header): declaration added
4189         * fixinc/fixtests.c(is_cxx_header): removed
4190         (apply_fix_p_t): removed
4191         (double_slash_test): is_cxx_header is only called once now
4192         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
4193         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
4194         within the templates.
4195         The borken spelling of "broken" was fixed.
4196         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
4197         The default level depends on FIXINC_DEBUG.
4199 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4201         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
4202         Otherwise provide a declaration for atexit.
4203         (init_dummy): Make sure dummy call to atexit is nevertheless
4204         called with correct number of args.
4206         * frame.c: Update comments referring to other files.
4208         * libgcc2.c: Likewise.
4210 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4212         * cse.c (free_element, get_element): Remove unused prototypes.
4214         * fold-const.c (extract_muldiv): Initialize variables `op0' and
4215         `op1'.
4217         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
4218         `else' clauses.
4220 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
4222         * configure.in,configure: case arm for mn10200-*-* now sets
4223         float_format=i32 so that float.h will correctly claim "double"
4224         to be 32 bits. Ran autoconf to generate configure from .in file.
4226 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
4228         * pa.md (conditional zero): If op1 is a register, force it into
4229         the same register as op0.
4231 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
4233         * tree.h (BINFO_BASETYPES): Improve documentation.
4235 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4237         * configure.in (--enable-checking): Use a more portable `for'
4238         loop syntax.
4240 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4242         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
4243         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
4245         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
4246         Delete files.
4248         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
4249         Delete descriptions.
4251         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
4252         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
4253         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
4254         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
4255         xm-svr4.h: Remove all instances of sys_siglist handling.
4257 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
4259         * config/sparc/sparc.md (cmp_zero_qi,
4260         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
4261         cmp_zero_extendqidi2_andcc_set): New patterns.
4263 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
4265         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
4266         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
4267         (fpgnulib.c, xfgnulib.c): Add rules.
4268         * m68k/t-mot3300-gas: Likewise.
4270 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
4272         * configure.in: Avoid [[ by using test and changequote.  Add
4273         changequote required by 1999-12-14 change.
4274         * configure: Rebuild.
4276 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
4278         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
4280 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
4282         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
4283         * flow.c (find_use_as_address): Likewise.
4284         * function.c (fixup_var_refs_1): Likewise.
4285         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
4286         * jump.c (invert_exp, redirect_exp): Likewise.
4287         * loop.c (replace_call_address): Likewise.
4288         (count_nonfixed_reads): Likewise.
4289         * rtlanal.c (modified_between_p): Likewise.
4290         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
4291         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
4292         * unroll.c (remap_split_bivs): Likewise.
4294 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4296         * diagnostic.c (v_message_with_decl): Use .* format specifier
4297         instead of building the format specifier width manually.
4299         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
4300         determining whether to provide a prototype.  Remove the
4301         sys_siglist clause in the conditional.
4303 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4305         * fold-const.c (operand_equal_p): Use memcmp to compare string
4306         constants.
4307         Suggested by D. J. Bernstein
4309 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
4311         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
4312         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
4313         compiling libgcc2.
4314         * config/mips/mips.h (TARGET_64BIT): Likewise.
4315         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
4316         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
4317         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
4318         dsps.  Give routines proper names if SI/DI modes are not used.
4319         * longlong.h: Use DWunion instead of DIunion.
4321 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
4323         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
4324         GC_CHECKING, GC_ALWAYS_COLLECT.
4325         * configure.in: Allow --enable-checking with an argument
4326         listing check modes to enable.
4327         * config.in, configure: Rebuilt.
4328         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
4329         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
4330         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
4331         ENABLE_GC_ALWAYS_COLLECT.
4332         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
4333         throughout.
4334         * tree.h, tree.c: Change ENABLE_CHECKING to
4335         ENABLE_TREE_CHECKING throughout.
4337 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4339         * fold-const.c (fold_truthop): Properly check for FP RHS.
4341 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
4343         * toplev.h (note_deferall_of_defined_inline_function): Declare.
4344         * toplev.c (note_deferral_of_defined_inline_function): New
4345         function, split out from ...
4346         (rest_of_compilation): ... here.  Use it.
4348 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4350         * expr.c (store_constructor): Don't call clear_storage if size is
4351         variable.
4353 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4355         * Makefile.in (toplev.o): Depend on loop.h.
4357         * dwarfout.c: Include tm_p.h.
4359         * emit-rtl.c (restore_emit_status): Mark parameter with
4360         ATTRIBUTE_UNUSED.
4362         * final.c (final_scan_insn): Likewise.
4364         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
4365         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
4366         flow_depth_first_order_compute, flow_loop_pre_header_find,
4367         flow_loop_tree_node_add, flow_loops_tree_build,
4368         flow_loop_level_compute, flow_loops_level_compute,
4369         flow_loop_outside_edge_p): Add prototypes.
4370         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
4372         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
4373         Mark with ATTRIBUTE_NORETURN.
4375         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
4377         * local-alloc.c (no_conflict_p): Likewise.
4379         * loop.c (insert_bct): Hide definitions of variables with hidden
4380         usage.
4381         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
4383         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
4384         with ATTRIBUTE_UNUSED.
4385         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
4386         (reg_scan): Likewise.
4388         * reload.c (find_reloads): Remove unused variables `changed'.
4390         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
4391         away const-ness.
4392         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
4393         Remove unused variable `insn'.
4395         * toplev.c: Include loop.h.
4396         (report_file_and_line): Remove unnecessary prototype.
4398         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
4400         * unroll.c (biv_total_increment): Likewise.
4402 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4404         * reload1.c (emit_input_reload_insns): Restore old behaviour
4405         wrt. 'special' reloads.
4407 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
4409         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
4410         hash.h.  (cse.c): Don't depend on hashtab.h.
4412         * cse.c: Don't include hashtab.h.
4413         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
4414         of dead functions.
4415         * ggc-simple.c: Don't include hash.h.
4417 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
4419         * dwarf2out.c (add_abstract_origin_attribute): Call
4420         gen_abstract_function on our function context.
4422 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
4424         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
4426 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4428         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
4429         case in switch.
4431 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4433         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
4434         constraints to "a!r".
4436 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
4438         * Makefile.in (calls.o): Depend on function.h.
4439         (alias.o): Likewise.
4441 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
4443         * reload1.c (emit_reload_insns): Break out code and variables into...
4444         (input_reload_insns, other_input_address_reload_insns,
4445         other_input_reload_insns, input_address_reload_insns,
4446         inpaddr_address_reload_insns, output_reload_insns,
4447         output_address_reload_insns, outaddr_address_reload_insns,
4448         operand_reload_insns, other_operand_reload_insns,
4449         other_output_reload_insns): ... new static variables, and...
4450         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
4451         do_output_reload): ... new functions.
4453 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4455         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
4457 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4459         * md.texi: Add c4x constraints documentation.
4461 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4463         * config/i386/dgux.c (struct option): Rename to
4464         lang_independent_option.
4465         (struct m_options): Add description field.
4466         (output_options): Rename option type, add sep declaration, output
4467         ix86_cpu_string and ix86_arch_string only if set.
4468         (output_file_start): Rename option type.
4470 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
4472         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
4473         stmp-int-hdrs.
4474         (libgcc2.a): Similarly.
4476 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
4478         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
4479         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
4480         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
4482 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
4484         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
4485         Remove redundant initialization of "frexpon" and "expon".
4487 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4489         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
4491         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
4492         (store_constructor_field, expand_expr): Pass new arg.
4494 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
4496         * Makefile.in (explow.o): Depend on function.h.
4498         * stor-layout.c (set_sizetype): Fix typo.
4500 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
4502         * function.c (cfun): Renamed from current_function.  All users
4503         changed.
4504         * function.h (cfun): Rename declaration as well.
4506         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
4507         to be of type regset_head, not regset.  All users changed by adding
4508         address operator.
4509         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
4511 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4513         * config/c4x/rtems.h: New file.
4515 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
4517         * reload1.c (spill_failure): Take class of failed reload as argument
4518         and print it.  Caller changed.
4520 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4522         * rs6000.h (SUBTARGET_DEFAULT): New macro.
4523         (TARGET_SWITCHES): Allow subtargets to default switches.
4524         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
4526 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
4528         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
4529         in a main program.
4531 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
4533         * cccp.c (main): Define __STDC_VERSION__ as necessary.
4534         * cppinit.c (cpp_handle_option): Likewise.
4536         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
4537         determine when to define.
4539 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
4541         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
4542         cmove with mismatched test and data modes.
4544 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
4546         * c-typeck.c (c_expand_start_case): Don't warn for long switch
4547         in system headers.
4549 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4551         * alias.c: Minor reformatting.
4552         * flow.c: Likewise.
4553         * regs.h: Likewise.
4554         * stor-layout.c: Likewise.
4555         * fold-const.c: Likewise.
4556         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
4557         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
4558         not arg itself.
4559         (size_int_wide): Cache nodes even if garbage collecting.
4560         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
4561         of SAVE_EXPR has no side effects.
4562         * cse.c: Move a comment.
4563         * tree.c: Minor reformatting.
4564         (int_size_in_bytes): Return -1 if constant overflows.
4566 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4568         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
4570 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
4572         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
4573         after any change to c-parse.in, even if objc-parse.y didn't
4574         change.  Oops.
4576 1999-12-18  David S. Miller  <davem@redhat.com>
4578         * toplev.c (rest_of_compilation): Restore BLOCK tree
4579         reconstruction and branch shortening changes lost in
4580         December 18th change.
4582 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
4584         * config/arm/linux-elf.h: Change all instances of
4585         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
4586         * config/arm/uclinux-elf.h: Likewise.
4588 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
4590         * toplev.c (notice, vmessage, v_message_with_file_and_line,
4591         v_message_with_decl, file_and_line_for_asm,
4592         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
4593         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
4594         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
4595         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
4596         pfatal_with_name, fatal_io_error, need_error_newline,
4597         last_error_function, last_error_tick, announce_function,
4598         default_print_error_function, print_error_function,
4599         report_error_function, fnotice, error_with_file_and_line,
4600         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
4601         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
4602         warning_with_decl, warning_for_asm, warning, pedwarn,
4603         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
4604         diagnostic.c
4605         (compile_file): Use fnotice instead of notice.  Adjust call.
4607         * diagnostic.c: New file.
4609         * Makefile.in (OBJS): Include diagnostic.o
4610         (diagnostic.o): Define dependence.
4612 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4614         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
4615         Tweak formatting.
4617 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4619         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
4621 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
4623         * fixtests.c (is_cxx_header): New fn, split out of
4624         double_slash_test.
4625         (else_endif_label): Allow "#endif // comment" in C++ headers,
4626         as determined by is_cxx_header.
4627         * fixfixes.c (else_endif_label_fix): Update comment.
4628         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
4629         a tty.
4630         * genfixes: Correct double thinko in commandline parsing.
4631         * hackshell.tpl: Generate correct sh syntax for bypass
4632         entries.
4634         * inclhack.def (all): Whenever an inserted preprocessor
4635         conditional is split over multiple lines, use double
4636         backslashes in this file so the fixed header will be readable.
4638         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
4639         and add bypass entry for correct version of this header.
4640         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
4641         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
4643         (hpux8_bogus_inlines): New fix, split from...
4644         (ultrix_atof_param) ... here.
4645         (math_expression): Add bypass entry keyed to glibc comment
4646         indicating the problem has been dealt with; disable
4647         unnecessary sed operations; update commentary.
4648         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
4649         add select and bypass entries, simplify shell operation.
4650         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
4652         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
4653          ultrix_atof_param): Add select entry.
4654         (stdio_va_list, sunos_mather_decl): Add bypass entry.
4655         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
4656         comments with the fixes they describe.
4658         * c-parse.in (string action): Do not warn about ANSI string
4659         concatenation in system headers.  Affects C parser only.
4660         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
4662 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
4664         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
4665         compiling libgcc2 the macro depends always on arch cpp defines.
4667 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
4669         * loop.c (insert_loop_mem): Don't record MEMs from inside
4670         EXPR_LISTs.
4672 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
4674         * regclass.c (regclass): Do not use flowgraph when not optimizing.
4676         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
4677         notes too, create one when replacement failed, attempt to simplify
4678         resulting notes.
4679         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
4680         or REG_EQUIV notes.
4682 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
4684         * crtstuff.c (__dso_handle): Declare.
4685         (__cxa_finalize): Likewise.
4686         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
4687         non-NULL.
4689         * invoke.texi: Document -fuse-cxa-atexit.
4691         * tree.h (ptr_type_node): Document.
4692         (const_ptr_type_node): Likewise.
4694 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4696         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
4697         (optimize_reg_copy_2): Likewise.
4698         (optimize_reg_copy_3): Likewise.
4699         (fixup_match_2): Likewise.
4700         (regmove_optimize): Likewise.
4701         (fixup_match_1): Liekwise.
4703         * i386.md (HI to SImode promoting splitters): Rewrite.
4704         (pushsf mem peep2): New.
4705         (testhi to andhi peep2): Remove.
4706         * i386.h (x86_promote_QImode): New.
4707         (TARGET_PROMOTE_QImode): New.
4708         (PREDICATE_CODES): Add promotable_binary_operator.
4709         * i386.c (x86_promote_QImode0: New.
4710         (promotable_binary_operator): New.
4711         * i386-protos.h (promotable_binary_operator): New.
4713         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
4714         condition.
4715         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
4717 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
4719         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
4720         * function.c (insert_block_after_note): Remove.
4721         (retrofit_block): Likewise.
4722         (identify_blocks): Fix indentation.
4723         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
4724         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
4725         * function.h (insert_block_after_note): Remove prototype.
4726         (retrofit_block): Likewise.
4727         * integrate.c (expand_inline_function): Don't call
4728         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
4729         just expand_start_bindings.  Use the block_map to remap old
4730         NOTE_BLOCKs to new ones.
4731         (integrate_decl_tree): Keep track of remapped blocks.
4732         * integrate.h (struct inline_remap): Add block_map.
4733         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
4734         NOTE_BLOCK on the notes.
4735         (expand_start_bindings): Rename to ...
4736         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
4737         (expand_end_bindings): Set NOTE_BLOCK.
4738         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
4739         reconstruct the BLOCK tree.
4740         * tree.h (expand_start_bindings): Macroize.  Call ...
4741         (expand_start_bindings_and_block): New function.
4743 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
4745         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
4746         to match the format.
4748 1999-12-16  David S. Miller  <davem@redhat.com>
4750         * expr.c (emit_move_insn_1): Only emit clobbers if one of
4751         the outputs is a SUBREG.
4752         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
4753         change.
4755         * config/sparc/sparc.c (epilogue_renumber): Add default case
4756         to switch stmt.
4758 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4760         * toplev.c (rest_of_compilation): Run branch shortening after
4761         reg-stack.
4763         * regclass.c (loop_depth): Remove
4764         (scan_one_insn): Do not handle LOOP_NOTE insns.
4765         (regclass): Go through basic blocks and set loop_cost
4767 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
4769         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
4771 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4773         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
4774         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
4775         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
4777 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
4779         * loop.c (insert_loop_mem): Ignore memory clobbers.
4781         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
4782         to (OP A B).
4784 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
4786         * profile.c: Remove redundant #include "output.h".
4788         * h8300.md (HImode preinc peephole): Fix typo.
4790 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
4792         * function.c (retrofit_block): Abort if we don't find a suitable insn.
4793         (insert_block_after_note): Abort if we don't have a previous block.
4794         Remove FN parameter.
4795         * function.h: Adjust.
4797 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
4799         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
4800         argument more than once.
4802 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
4804         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
4806 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
4808         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
4810 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4812         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
4813         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
4814         update stack_alignment_needed.
4815         (prepare_function_start): Initialize stack_alignment_needed
4816         * function.h (struct function): Add field stack_alignment_needed.
4818 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4820         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
4821         Handle live_throughout / dead_or_set instead of live_before /
4822         live_after.
4823         (save_call_clobbered_regs): Get register livenessinformation from
4824         chain->live_throughout.
4825         (add_stored_regs): New function.
4826         (insert_restore, insert_save): Add restored / saved registers to
4827         dead_or_set.
4828         * global.c (reg_dies): New parameter chain.
4829         (reg_becomes_live): Third parameter is regs_set now.
4830         Changed all callers.
4831         (reg_dies): New parameter chain.  Changed all callers.
4832         (build_insn_chain): Set live_throughout instead of
4833         live_before / live_after.
4834         * reload.h (struct insn_chain): Replace members live_before /
4835         live_after with live_throughout / dead_or_set.
4836         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
4837         instead of live_before / live_after.
4838         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
4839         (order_regs_for_reload, find_reg, finish_spills): Likewise.
4840         (choose_reload_regs_init): Likewise.
4841         * stupid.c (current_chain, find_clobbered_regs): Delete.
4842         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
4843         instead of chain->live_before / chain->live_after.
4844         (mark_hard_ref): New function.
4845         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
4847 1999-12-15  David S. Miller  <davem@redhat.com>
4849         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
4851 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4853         * flow.c (calculate_loop_depth): Make global, remove prototype,
4854         rewrite to use new loop infrastructure.
4855         (find_basic_block): Remove calculate_loop_depth call.
4856         * toplev.c (rest_of_compilation): Call find_basic_block.
4857         * output.h (calculate_loop_depth): Declare.
4859         * flow.c (dump_flow_info): Dump loop_depth.
4860         (flow_loops_nodes_find): Increase loop_depth for basic block in the
4861         body.
4862         (flow_loops_find): Initialize the loop_depth for each basic block.
4864 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
4866         * tree.c (decl_function_context): Handle virtual functions.
4868         * tlink.c (scan_linker_output): Don't look in demangled name when
4869         looking for linker output keywords.
4871         * dwarfout.c (output_type): We can defer namespace-scope classes.
4873 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
4875         * regclass.c (record_reg_classes): Update comment for merging
4876         register class preferences in reg->reg copies.  Tighten conditions
4877         for merging register class preferences in reg->reg copies.
4879 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
4881         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
4883 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
4885         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
4886         (INIT_SECTION_ASM_OP): Delete.
4887         (FINI_SECTION_ASM_OP): Delete.
4888         (STARTFILE_SPEC): Define to hold just crtbegin.o.
4890 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
4892         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
4893         the abstract origin wasn't emitted.
4895         * dwarf2out.c (class_scope_p): New fn.
4896         (gen_subprogram_die): Use it.
4897         (gen_variable_die): Use it.  Tweak logic.
4898         (gen_struct_or_union_type_die): Check context_die to determine
4899         if we're function-local.
4900         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
4902 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
4904         * loop.c (check_dbra_loop): Can't reverse a biv that has
4905         maybe_multiple set.
4907 1999-12-14  Nick Clifton  <nickc@cygnus.com>
4909         * config/arm/arm.c: Add support for -mcpu=arm720 command line
4910         switch.
4912 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4914         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
4915         for givs made from biv increments.
4917 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
4919         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
4920         * alpha.c (override_options): Recognize -mcpu=ev67.
4921         * alpha.h (CPP_CPU_EV67_SPEC): New.
4922         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
4923         (EXTRA_SPECS): Update.
4925 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
4927         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
4928         appropriate for -lang-c89 and -std=*.
4929         * cppinit.c (cpp_handle_option): Likewise.
4930         (new_pending_define): New, split out from cpp_handle_option.
4931         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
4932         or enable trigraphs for -ansi/-std=*.
4934         * ginclude/stdarg.h (__va_copy): New.
4935         (va_copy): Don't define for C89.
4937 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
4939         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
4940         for long long multiply-accumulate.
4942 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4944         * regclass.c (scan_one_insn): Set loop_cost to 1 when
4945         optimizing for size.
4947 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
4949         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
4950         if something changed.  Back out that part of yesterday's changes.
4952         * loop.c (loop_max_reg): New static variable.
4953         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
4954         max_reg_num.
4955         (scan_loop): Call reg_scan_update whenever we may have added new
4956         registers, and update loop_max_reg.
4958 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4960         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
4961         when source does not die.
4963         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
4965 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
4967         * config/sparc/linux64.h (TARGET_LIVE_G0,
4968         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
4969         variants on Linux.
4970         * config/sparc/linux.h (TARGET_LIVE_G0,
4971         TARGET_BROKEN_SAVERESTORE): Likewise.
4972         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
4973         TARGET_BROKEN_SAVERESTORE): Likewise.
4975         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
4976         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
4977         not %g2.
4978         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
4979         as sparc64 block profiling register.
4980         * config/sparc/sparc.c (sparc_override_options): Allow block
4981         profiling with -m32.
4982         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
4983         profiling register.
4984         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
4985         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
4986         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
4988         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
4989         for sparc64.
4990         * config/sparc/sparc.h: Likewise.
4991         * config/sparc/xm-sysv4-64.h: Likewise.
4992         * config/float-sparc.h: Likewise.
4993         * glimits.h: Likewise.
4994         * longlong.h: Likewise.
4996         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
4997         (ASM_IDENTIFY_GCC): Remove.
4999 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
5001         * combine.c (combine_simplify_rtx): Don't make shared rtl.
5002         (simplify_logical): Likewise.
5004 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
5006         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
5007         * cppfiles.c (INO_T_EQ): Likewise.
5009 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
5011         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
5012         * i386/mingw32.h (LIB_SPEC): Likewise.
5013         (STARTFILE_SPEC): Likewise.
5014         * i386/uwin.h (LIB_SPEC): Likewise.
5015         (STARTFILE_SPEC): Likewise.
5017         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
5018         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
5020 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
5022         * combine.c (combine_simplify_rtx): Fix order of checks for
5023         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
5025 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
5027         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
5028         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
5030 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
5032         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
5033         defined.
5034         * regclass.c (inv_reg_alloc_order): New array.
5035         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
5037         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
5038         counted_for_groups, counted_for_nongroups.  Add fields rld and
5039         n_reloads.
5040         * reload.c (push_secondary_reload): Don't set nongroup field of
5041         new reloads.
5042         (push_reload): Likewise.
5043         (find_reloads): Delete code to compute nongroup fields.
5044         * reload1.c (reload_insn_firstobj): New static variable.
5045         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
5046         users changed.
5047         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
5048         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
5049         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
5050         functions.
5051         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
5052         functions.
5053         (struct hard_reg_n_uses): Deleted.
5054         (potential_reload_regs): Deleted.
5055         (init_reload): Initialize spilled_pseudos and pseudos_counted.
5056         (reload): Don't try to allocate reload registers if we already know
5057         we have to make another pass.  Call select_reload_regs.  Free memory
5058         starting with reload_firstobj when starting another pass.
5059         Don't allocate spilled_pseudos.
5060         (calculate_needs_all_insns): Call copy_reloads for an insn that
5061         needs reloads; don't call calculate_needs.
5062         (spill_cost): New static array.
5063         (used_spill_regs_local): New static variable.
5064         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
5065         to compute potential_reload_regs.
5066         (find_reload_regs): Completely rewritten to use find_reg.
5067         (allocate_reload_reg): Don't test counted_for_groups or
5068         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
5069         all cllers changed.
5070         (choose_reload_regs): Add fallback code that uses the existing
5071         register allocation from find_reload_regs.
5073 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
5075         * flow.c (create_edge_list): Cast xmalloc return value.
5077 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
5079         * doprnt.c: Remove incorrect comment closure.
5081         * cse.c: Fix a few minor whitespace goofs.
5083 1999-12-13  Don Bowman  <don@pixstream.com>
5085         * mips/vxworks.h: Fix problem with comment termination.
5086         (EXTRA_SECTIONS): Add in_sbss.
5087         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
5089 1999-12-12  David S. Miller  <davem@redhat.com>
5091         * cse.c (struct cse_reg_info): Add hash_next member,
5092         reorder rest of struct for better packing on 64-bit
5093         hosts.
5094         (cse_reg_info_tree): Kill.
5095         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
5096         REGHASH_FN): New custom pow2 hash mechanism.
5097         (NBUCKETS): Kill.
5098         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
5099         use a pow2 hash table.
5100         (get_cse_reg_info): Rework to use new REGHASH.
5101         (new_basic_block): Likewise, use HASH_SIZE, and inline
5102         free_element call.
5103         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
5104         and inline free_element call.
5105         (lookup_as_function, insert, flush_hash_table, invalidate,
5106         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
5107         invalidate_for_call, use_related_value, find_comparison_args,
5108         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
5109         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
5110         get_element): Kill.
5112 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
5114         * cse.c (cse_basic_block): Free qty_table consistently.
5116 1999-12-12  David S. Miller  <davem@redhat.com>
5117             Jakub Jelinek    <jakub@redhat.com>
5119         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
5120         SUBREGs by hand, gen the appropriate hard reg directly.
5121         (movtf reg/mem split): Likewise and alter_subreg on destination
5122         if necessary.
5123         (movtf mem/reg split): Similarly.
5124         (movdf_cc_sp64): Rename from hidden pattern.
5125         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
5126         (movtf_cc_sp64, following split): New pattern and splitter.
5127         (movdf_cc_reg_sp64): Rename from hidden pattern.
5128         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
5129         TARGET_HARD_QUAD.
5130         (movtf_cc_reg_sp64, following split): New pattern and splitter.
5132 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
5134         * loop.c (load_mems): Don't hoist written floating point mem
5135         if -ffloat-store.
5137 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
5139         * except.h (struct eh_queue): Add `next' pointer.
5140         (struct eh_status): Make x_ehqueue a pointer.
5141         (push_ehqueue):  Declare.
5142         (pop_ehqueue): Likewise.
5143         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
5144         pointer.
5145         (expand_fixup_region_end): Likewise.
5146         (expand_leftover_cleanups): Likewise.
5147         (push_ehqueue): Define.
5148         (pop_ehqueue): Likewise.
5149         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
5150         than doing it inline.
5151         (expand_start_all_catch):  Adjust now that ehqueue is a
5152         pointer.
5153         (mark_eh_queue): Mark all level of the queue.
5154         (mark_eh_status):  Adjust now that ehqueue is a
5155         pointer.
5156         (init_eh_for_function): Allocate ehqueue.
5157         (free_eh_status): Free it.
5158         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
5159         expansion for a fixup.
5161 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5163         * gthr-single.h (__gthread_active_p): Add prototype arguments.
5165         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
5166         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
5167         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
5168         function_ptr, getpagesize, __enable_execute_stack,
5169         __enable_execute_stack, __clear_insn_cache,
5170         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
5171         _cleanup, _exit, __default_terminate, __terminate_func,
5172         __terminate, __empty, __throw, new_eh_context,
5173         eh_context_initialize, eh_context_static, eh_context_specific,
5174         get_eh_context, __get_eh_context, __get_eh_info,
5175         init_reg_size_table, eh_threads_initialize,
5176         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
5177         __unwinding_cleanup, throw_helper, __throw, __rethrow,
5178         __pure_virtual): Add prototype arguments.
5179         (__bb_exit_func): Cast a sizeof to long when comparing against one.
5180         Cast a signed value to unsigned long when comparing against one.
5181         (new_eh_context): Wrap in _GTHREADS macro.
5182         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
5183         declaration.
5184         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
5185         (throw_helper): Initialize variables `handler_p' and `pc_p'.
5187 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5189         * combine.c (record_promoted_value): Remove unused variable
5190         `links2'.
5192         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
5194         * global.c (record_conflicts): Likewise for `j'.
5196         * genoutput.c (output_insn_data): Don't unnecessarily cast away
5197         const-ness.
5199 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5201         * i386-protos.h (output_387_binary_op, output_fix_trunc,
5202         output_fp_compare): Constify a char*.
5204         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
5205         static prototypes.
5206         (override_options, ix86_comp_type_attributes, print_operand,
5207         output_387_binary_op, output_fix_trunc, output_fp_compare):
5208         Constify a char*.
5209         (ix86_sched_reorder): Mark parameter `clock_var' with
5210         ATTRIBUTE_UNUSED.
5212         * i386.h (DEBUG_PRINT_REG): Constify a char*.
5214 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
5216         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
5217         operand, for use in the Java front-end.
5219 1999-12-10  Ben Collins  <bcollins@debian.org>
5221         * configure.in: Fix typo for "-64" in 64bit as check.
5222         * configure: Rebuilt.
5224 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
5226         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
5227         appropriate.
5229 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5231         * c-parse.in (string): With -Wtraditional, warn if ANSI string
5232         concatenation is utilized.
5234         * invoke.texi (-Wtraditional): Document it.
5236 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5238         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
5239         Cast a ptrdiff_t to long and pass it to printf with %ld.
5241 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
5243         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
5244         68881, we have no 68881 registers at all.
5245         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
5246         value in a 68881 register if it is available.
5248 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
5250         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
5251         for long long multiply-accumulate.
5253 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
5255         * loop.c (insert_loop_mem): Undo last change.
5257 1999-12-10  David S. Miller  <davem@redhat.com>
5259         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
5260         New functions.
5261         * config/sparc/sparc-protos.h: Add them.
5262         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
5263         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
5264         constraints which use those helpers.
5265         (EXTRA_CONSTRAINT): Use this new macro.
5266         * md.texi: Update sparc target constraints documentation.
5267         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
5268         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
5269         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
5270         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
5271         (movsf high/lo_sum split): Rework for new patterns.
5272         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
5274 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
5276         * c-common.c (c_common_nodes_and_builtins):
5277         Create __builtin_ptrdiff_t and __builtin_size_t.
5279 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
5281         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
5283 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5285         * regclass.c (globalize_reg): Re-instate test that allows
5286         fixed registers to be declared as a variable even after functions
5287         are defined.
5289 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5291         * i386.md (cpu attribute): Add "athlon".
5292         (athlon_decode): New attribute.
5293         (Athlon scheduling units definitions): New.
5294         (fcmp and shld patterns): Set athlon_decode to "vector".
5295         * i386.c (athlon_cost): New.
5296         (m_ATHLON): New.
5297         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
5298         x86_use_sahf): Set for Athlon.
5299         (x86_use_fiop): Unset for Athlon.
5300         (override_options): Define Athlon alignments and "athlon" name.
5301         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
5302         * i386.h (TARGET_ATHLON): New.
5303         (enum processor_type): Add PROCESSOR_ATHLON.
5304         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
5305         for CPU_DEFAULT==5
5306         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
5308 1999-12-09  Andreas Jaeger  <aj@suse.de>
5310         * loop.c (record_biv): Declare parameter as int.
5312         * config/i386/i386-protos.h: Declare long_memory_operand.
5314 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
5316         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
5317         EXPR_WITH_FILE_LOCATION.
5319 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
5321         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
5322         in expander.
5324         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
5326         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
5327         updating code.
5329 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
5331         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
5332         default on linux64 again.
5333         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
5334         models for multilibing.
5335         * genmultilib: Accept | as alternative separator within a set in
5336         MULTILIB_OPTIONS.
5338         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
5340         * calls.c (precompute_arguments): Make sure initial_value contains
5341         value pseudo which CSE expects.
5342         * cse.c (struct set): New entry orig_src.
5343         (cse_insn): Set it early on entry, use it for libcall EQUIV note
5344         replacement.
5346 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
5348         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
5350 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
5352         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
5354 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
5356         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
5357         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
5359         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
5360         if TARGET_ARCH32.
5362         * longlong.h: Merge in changes from glibc.
5363         Also don't clobber %g2 register in 32bit SPARC assembly, so that
5364         -mno-app-regs libgcc can be compiled.
5365         * libgcc2.c: Add defines so that the updated longlong.h
5366         can be used in libgcc2.a. Also, make sure on most architectures
5367         (at least on all which have optimized code in longlong.h defined
5368         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
5370 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5372         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
5373         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
5374         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
5375         is GNU ld.
5376         * configure: Rebuilt.
5378 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
5380         * alpha.c (secondary_reload_class): For !BWX, sub-simode
5381         outputs require a register.
5383 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
5385         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
5386         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
5387         functions like dptoul will be resolved.
5388         (libgcc2.a): Make sure that the object files from DPBIT are named
5389         differently (prefix `_dp') from those that would be coming from
5390         FPBIT.
5392 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
5394         * configure.in: When target is sparc* and tm_file contains 64,
5395         test for 64bit support in assembler.  If not supported, remove
5396         sparc/t-sol2-64 from target-dependent Makefile fragments.
5397         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
5398         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
5399         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
5400         * acconfig.h (AS_SPARC64_FLAG): Added.
5401         * configure, config.in: Rebuilt.
5402         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
5403         support.  Use AS_SPARC64_FLAG.
5405 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
5407         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
5408         suitable for holding OFmode values so that gcc works with complex
5409         quad long doubles.
5410         (hard_64bit_mode_classes): Likewise.
5412         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
5413         so that it is actually matched.
5414         (sethi_di_medlow): Likewise.
5416         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
5417         as legitimate constant if -mvis.
5418         * config/sparc/sparc.md (movtf): Likewise.
5419         (clear_sf): Use const_double_operand.
5420         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
5422         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
5423         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
5424         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
5425         routines, _Qp_* cannot be handled like that now.
5426         (INIT_TARGET_OPTABS): Likewise.
5427         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
5428         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
5429         sparc_emit_float_lib_cmp if ARCH64 and soft float.
5430         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
5431         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
5432         divtf3, sqrttf3): New expanders.
5433         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
5434         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
5435         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
5436         non-_hq patterns.
5438         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
5439         * configure: Rebuilt.
5440         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
5441         -mcpu is given and we're doing 64bit compiles.
5443 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
5445         * loop.h (struct induction): Add multi_insn_incr.
5446         * loop.c (basic_induction_var): New multi_insn_incr argument.
5447         Set it if we search back through previous insns for the biv.
5448         (record_biv): New multi_insn_incr argument; fill in struct induction.
5449         (strength_reduce): Discard an iv with multiple bivs, any of
5450         which require multiple insns to increment.
5452 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5454         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
5455         documentation.
5457 1999-12-06  David S. Miller  <davem@redhat.com>
5459         * combine.c (check_promoted_subreg): Do not conditionalize this upon
5460         PROMOTE_FUNCTION_RETURN.
5462 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
5464         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
5465         and handle REG_UNUSED note on insn.
5467         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
5468         inner_mask instead of mask.
5470 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
5472         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
5473         zero if there was an error.
5475 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
5477         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
5478         output string.
5480         * longlong.h: Fix clobbers in SPARC asm statements.
5482         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
5483         valid sethi operations when TARGET_ARCH64.
5485         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
5486         always use move_by_pieces to avoid infinite recursion.
5487         (restore_fixed_argument_area): Likewise.
5489         * combine.c (check_promoted_subreg, record_promoted_value): New
5490         functions.
5491         (combine_instructions): Use them to retain nonzero and sign bit
5492         information after SUBREGs are eliminated by optimizations in
5493         this pass if PROMOTE_FUNCTION_RETURN.
5495         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
5496         .register declaration. Don't use variables with __ prefixes.
5498 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5500         * fold-const.c (optimize_bit_field_compare): Only use one mode
5501         for both RHS and LHS in non-constant case.
5503 1999-12-06  Nathan Sidwell  <nathan@acm.org>
5505         * frame.c (start_fde_sort): Only allocate erratic array, if
5506         linear one was allocated. Return allocated flag.
5507         (fde_insert): Only insert, if there's a valid array.
5508         (fde_end_sort): Split, sort and merge if linear and erratic
5509         arrays exist, else just sort linear one.
5510         (search_fdes): New function. Linear search through original fde
5511         structure.
5512         (frame_init): Permit multiple initializations. Cope with
5513         memory shortages.
5514         (find_fde): Fallback on linear search, if failed to sort array.
5515         (__deregister_frame_info): Only free sorted array, if we
5516         allocated it.
5518 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
5520         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
5522 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
5524         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
5526 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
5528         * tree.h (special_function_p): Declare.
5529         * calls.c (special_function_p): Make it global.  Don't take `name'
5530         as a parameter.  Fix typo in 1999-11-28 change.
5531         (expand_cal): Adjust.
5533 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
5535         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
5536         * tree.h (EXPR_WFL_FILENAME): Define in terms of
5537         EXPR_WFL_FILENAME_NODE.
5538         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
5539         the TREE_CHAIN.
5540         * print-tree.c (print_note): Print TREE_PRIVATE and
5541         TREE_PROTECTED.
5543         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
5544         the original die cannot be found.
5546         * varray.h (varray_head_tag): Add elements_used.
5547         (VARRAY_PUSH): New macro.
5548         (VARRAY_POP): Likewise.
5549         (VARRAY_TOP): Likewise.
5550         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
5551         types.
5552         * varray.c (varray_init): Initialize elements_used.
5553         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
5554         (INTEGRATE_H): New variable.
5555         (integrate.o): Depend on INTEGRATE_H.
5556         (unroll.o): Likewise.
5558         * function.h (insert_block_after_note): Declare.
5559         * function.c (insert_block_after_note): Split out from ...
5560         (retrofit_block): ... here.
5562         * stmt.c (expand_fixup): Fix typo in comment.
5564 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5566         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
5567         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
5568         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
5569         (regmove_optimize, fixup_match_1): Likewise.
5571 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5573         * flow.c (flow_loops_dump): Add missing argument when calling
5574         flow_loop_nested_p.
5576 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
5577             Greg McGary  <gkm@gnu.org>
5579         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
5580         (init_attributes): Add A_NO_LIMIT_STACK.
5581         (decl_attributes): Handle A_NO_LIMIT_STACK.
5582         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
5583         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
5584         Handle stack bounds checking.
5585         * flags.h (flag_stack_check): Use the word 'probe' rather than
5586         'check', because the flag doesn't actually cause any checking to
5587         be done.
5588         * function.c (expand_function_start): Set
5589         current_function_limit_stack.
5590         * function.h (struct function): Add limit_stack.
5591         (current_function_limit_stack): Define.
5592         * invoke.texi (Code Gen Options): Document new options.
5593         * rtl.h: Declare stack_limit_rtx.
5594         * toplev.c (stack_limit_rtx): New variable.
5595         (decode_f_option): Handle new options -fstack-limit-register=REG,
5596         -fstack-limit-symbol=IDENT, -fno-stack-limit.
5597         (main): Add stack_limit_rtx as GC root.
5598         * tree.h (DECL_NO_LIMIT_STACK): New macro.
5599         (struct tree_decl): New member no_limit_stack.
5601         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
5602         stack_limit_rtx.
5603         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
5604         (conditional_trap+1): Get new mnemonic correct.
5605         (conditional_trap+2): New pattern for DImode traps.
5607         * config/m68k/m68k.c (output_function_prologue): Handle
5608         stack_limit_rtx.
5609         * config/m68k/m68k.md (trap): New insn.
5610         (conditional_trap): New insn.
5611         * md.texi (Standard Names): Document `trap' and
5612         `conditional_trap'.
5613         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
5614         so a cc0 setter doesn't get emitted at some random place in the
5615         function.
5617         * config/i960/i960.md (trap): New insn.
5618         (conditional_trap): New expander.
5619         (conditional_trap+1, conditional_trap+2): New insns for signed
5620         and unsigned cases.
5621         * config/i960/i960.c (i960_function_prologue): Use
5622         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
5624 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
5625                           Geoffrey Keating  <geoffk@cygnus.com>
5627         * flags.h (warn_padded, warn_packed): Add global var decls.
5628         * toplev.c (warn_padded, warn_packed): Add global var defns.
5629         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
5630         * stor-layout.c (layout_record): Add local variable `type'
5631         to hold often-used TREE_TYPE (field).  Add local variable
5632         `unpacked_align' to hold alignment that would be in force
5633         if no `packed' attribute were present.  Warn if `packed' attribute
5634         is unnecessary, or even harmful.  Warn when gcc inserts padding
5635         to satisfy alignment requirements of members.  Use NULL_TREE
5636         when checking whether var_size is set.
5637         * invoke.texi: Document new flags.
5639 1999-12-03  Nathan Sidwell  <nathan@acm.org>
5641         * frame.c (fde_split): Reimplement to avoid variable sized array.
5643 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5645         * combine.c (try_combine): Before fixing up LOG_LINKS for the
5646         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
5648 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
5650         * invoke.texi: Document the mips option -mno-crt0
5652 1999-12-02  Mike Karr  <mkarr@mathworks.com>
5654         * cccp.c (argdata): Added free_ptr member.
5655         (macroexpand): Initialize free_ptr of each argument. When an
5656         argument's buffers are freed, if the argument's free_ptr corresponds
5657         to a buffer on the input stack, then return the free_ptr to that stack
5658         frame, otherwise, free it.
5659         (macarg): If an argument begins and ends on the same input stack level,
5660         then transfer the free_ptr of that buffer to the argument in case
5661         the stack is popped during the processing of a subsequent argument.
5663 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
5665         * loop.c (note_reg_stored): New function.
5666         (struct note_reg_stored_arg): New structure.
5667         (try_copy_prop): Change to be more conservative; only replace within
5668         one extended basic block and stop replacing if a store to the
5669         replacement reg is seen.
5671 1999-12-02  Nick Clifton  <nickc@cygnus.com>
5673         * config/fp-bit.c: Initialise all fields of the NAN
5674         constants.
5676         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
5677         to HANDLE_PRAGMA.
5679 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
5681         * i386.md (extend?f?f2): Force the input into a register, not
5682         the output.
5684 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
5686         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
5687         regclass' sake.
5688         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
5689         alternative because setting up 64bit constant is usually costly,
5690         especially when reload is in progress or completed.
5691         (movdf_const_intreg_sp64): Likewise.
5692         (movdf_const_intreg split): Fix building up constants when
5693         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
5695 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
5697         * combine.c (if_then_else_cond): Use const_true_rtx instead of
5698         const1_rtx for return values in EQ/NE comparison against (const_int 0)
5699         case.
5701         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
5702         (asm_file_start): Emit .am33 into assembly file when compiling for
5703         the AM33.
5704         (print_operand_address): Handle POST_INC addresses.
5705         (can_use_return_insn, initial_offset): Check AM33 registers too.
5706         (expand_prologue): Check & save AM33 registers too.
5707         (expand_epilogue): Similarly.
5708         (secondary_reload_class): Handle AM33 specific secondary reloads.
5709         (output_tst): Emit efficient code for the AM33 too.
5710         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
5711         (TARGET_SWITCHES): Add -mam33 switch.
5712         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
5713         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
5714         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
5715         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
5716         (enum reg_class, REG_CLASS_NAMES): Likewise.
5717         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
5718         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
5719         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
5720         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
5721         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
5722         (HAVE_POST_INCREMENT): Define.
5723         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
5724         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
5725         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
5726         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
5727         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
5728         (zero_extend to SI from QI/HI): Likewise.
5729         (sign_extend to SI from QI/HI): Likewise.
5730         (mulsidi3, umulsidi3): New patterns for the AM33.
5731         (tstsi with zero extension from QI/HI): Add AM33 variants.
5732         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
5733         (return_internal_regs, store_movm): Handle new AM33 registers.
5734         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
5735         (LIBGCC, INSTALL_LIBGCC): Likewise.
5736         * invoke.texi: Document new flags.
5738 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5740         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
5741         (addsi3_carry): Likewise.
5742         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
5743         (sbbsi3_carry): Likewise.
5744         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
5745         (mulhi3): Likewise.
5746         (test?i_1): Ensure that only one operand is memory.
5747         (conditional move patterns): likewise.
5748         (shift and rotate patterns): Rewrite to expander, add
5749         "binary_operator_ok" to the condition.
5751         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
5752         * i386.h (procesor_costs): Add movzbl_load field.
5753         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
5754         non-Q registers, accept DImode registers anywhere.
5755         (Q_CLASS_P): New.
5756         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
5757         * i386.c (*_cost): Set value for movxbl_load field.
5759         * (addsi): New add to lea splitter.
5760         (ashlsi): Likewise.
5761         (lea to add/shift peep2): New.
5763 1999-12-01  Mark Salter <msalter@cygnus.com>
5765         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
5766         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
5767         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
5769 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5771         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
5772         * i386.md (movsi_xor): New.
5773         (movsi_or): New.
5774         (movsi_1, movhi_1, movqi_1): Remove.
5775         (movsi_2): Rename to movsi_1.
5776         (movhi_2): Rename to movhi_1.
5777         (movqi_2): Rename to movqi_1.
5778         (movdi_1): Remove; remove splitter.
5779         (movdi_2): Rename to movdi_1.
5780         (divmodsi4 splitter): Do not emit clobbers for move patterns.
5781         (long move peep2): Do not create QI or HI mode mov0s
5782         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
5784         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
5785         rewrite splitters.
5787         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
5788         (abs?f2_if): Likewise.
5790 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
5792         * ggc.h (ggc_test_and_set_mark): New macro.
5793         (ggc_mark_rtx): Use ggc_test_and_set_mark.
5794         (ggc_mark_tree): Likewise.
5795         (ggc_mark_rtvec): Likewise.
5796         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
5798 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
5800         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
5801         containing types.
5802         (decl_scope_table): Just an array of trees now.
5803         (push_decl_scope): Simplify.
5804         (dwarf2out_init): Adjust.
5805         (local_scope_p): New fn.
5806         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
5807         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
5808         (gen_typedef_die): Likewise.
5809         (gen_lexical_block_die): Don't call push/pop_decl_scope.
5810         (gen_inlined_subroutine_die): Likewise.
5811         (gen_abstract_function): Set current_function_decl temporarily.
5812         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
5813         Handle block extern declarations.  Don't call push/pop_decl_scope.
5814         (gen_decl_die): Fix logic for block externs.
5816 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5818         * calls.c (special_function_p): Remove `realloc' and add `strdup'
5819         to the list of functions which have attribute malloc by default.
5821 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5823         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
5824         integer constant does not match the traditional type, limit the
5825         warnings to cases where the base of the type is ten.
5827         * invoke.texi (-Wtraditional): Document it.
5829 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5831         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
5832         * rs6000.md: Only access a CONST_INT with INTVAL
5834 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
5836         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
5837         (compute_nearerout): Likewise.
5838         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
5839         size_t to unsigned long for formatting.
5841 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
5843         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
5844         Allow the user to override call-used/fixed state of %g2-5
5845         registers from the command line (with the exception of %g4 for
5846         embedded model).
5847         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
5848         there is a higher chance of having a leaf function.
5849         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
5850         for ARCH64 which has %ccr register.
5851         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
5852         patterns.
5853         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
5854         insn accept into delay slot any insn which does not use %[ol]
5855         registers.  Accept some LO_SUM and shift left by 1 for the normal
5856         restore case.
5857         (output_function_epilogue): Likewise.
5858         (epilogue_renumber): Added argument which inhibits any renumbering
5859         and just tests if the rtx does not use any %[ol] registers.
5860         (output_return): Reflect above change.
5862 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
5864         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
5865         aggregate passing for sizes <= 16 bytes.
5867 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
5869         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
5870         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
5871         * reload.c (find_dummy_reload): Likewise.
5872         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
5873         * reload1.c (reload_as_needed): Likewise.
5874         * stupid.c (stupid_find_reg): Likewise.
5875         * tm.texi (Obsolete Register Macros): Delete section.
5876         * gmicro.h: Remove all traces of the two macros.
5877         * i386.h: Likewise.
5878         * m88k.h: Likewise.
5879         * mips.h: Likewise.
5881 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
5883         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
5884         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
5885         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
5886         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
5887         units for the sparclite86x chip.
5888         (flush): Revert October 14th change; add SImode specifically.
5889         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
5890         * invoke.texi: Document it.
5892 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
5894         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
5895         psimode_truncation_operand.
5897         * config/mn10200/mn10200.c (psimode_truncation_operand): New
5898         function.  Return true if the operand is either a MEM valid
5899         for a PSImode address or not a MEM at all.
5901         * config/mn10200/mn10200.md (truncsipsi2): Use
5902         psimode_truncation_operand.
5904 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5906         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
5907         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
5908         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
5909         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
5910         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
5911         (flow_loop_level_compute, low_loops_level_compute): Likewise.
5912         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
5913         * basic-block.h: Protect from multiple inclusion.
5914         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
5915         (struct loops, struct loop): Define structures.
5916         * sbitmap.c (sbitmap_a_subset_b_p): New function.
5917         * sbitmap.h: Protect from multiple inclusion.
5918         (sbitmap_a_subset_b_p): Add prototype.
5919         * Makefile.in (LOOP_H): New macro.
5920         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
5922 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
5924         * cppinit.c (CAT): The argument list of this macro may not contain
5925         spaces !
5927 1999-11-29  David S. Miller  <davem@redhat.com>
5929         Move quantity tables and register equivalence chains into
5930         per-qty and per-register structure arrays respectively.
5931         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
5932         qty_const_insn, qty_comparison_code, qty_comparison_const,
5933         qty_comparison_qty): Delete, replace with...
5934         (qty_table): this structure table.
5935         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
5936         (reg_eqv_table): this structure table.
5937         (make_new_qty): Add argument MODE.  Caller updated.
5938         Update to use qty_table and reg_eqv_table.
5939         (make_regs_eqv, delete_reg_equiv, insert_regs,
5940         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
5941         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
5942         cse_process_notes, cse_main, cse_basic_block): Likewise.
5944 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5946         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
5947         operation if C is negative.
5948         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
5949         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
5950         law for some divisions if constant is negative and change other
5951         divisions to the opposite rounding.
5953         * expr.c (store_constructor_field): If bit position is not multiple
5954         of alignment of TARGET's mode, use BLKmode.
5956         * expr.c (expand_expr_unaligned): Add more code from full case
5957         that is needed when OP0 is in a register.
5959 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5961         * dwarfout.c (field_byte_offset): Size can be zero if there was
5962         an error.
5964 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
5966         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
5967         (associate_trees): Delete unused var TEM.
5968         (extract_muldiv): Delete unused var CANCEL_P.
5970         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
5971         (target_isinf, target_isnan, target_negative): Add return types to
5972         function definitions.
5974 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
5976         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
5977         * fixinc/hackshell.tpl: ditto
5978         * fixinc/fixtests.c(double_slash_test): more C++ header testing
5979         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
5981 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
5983         * reload.c (push_reload): When looking for a register to put into
5984         reg_rtx, make sure all hard regs in a multi-reg register are in the
5985         right class and nonfixed.
5987         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
5988         pending_read_insns, pending_write_insns, pending_read_mems,
5989         pending_write_mems, pending_list_length, last_pending_memory_flush,
5990         last_function_call, sched_before_next_call): Move static variables
5991         into a structure.
5992         (bb_ prefixed versions): Replace with single array bb_deps.
5993         (struct deps): New structure.
5994         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
5995         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
5996         argument of type "struct deps *"; use that instead of global
5997         variables.  All callers changed.
5998         (init_rgn_data_dependencies): Delete function.
5999         (init_rtx_vector): Delete function.
6000         (init_deps): New function.
6002         (free_pending_lists): Simplify, we always use the bb_deps array even
6003         if only one basic block.
6004         (compute_block_backward_dependences): Likewise.
6005         (schedule_region): Likewise.
6007         (propagate_deps): New function, broken out of
6008         compute_block_backward_dependences.
6009         (compute_block_backward_dependences): Use it.
6011         * alpha.md: Delete useless patterns that tried to work around
6012         register elimination problems.
6014         * unroll.c (loop_iterations): Don't abort if iteration variable
6015         was made by loop.
6017         From Joern Rennecke:
6018         * reload1.c (reloads_conflict): Reverse test comparing operand
6019         numbers when testing for conflict between output/outaddr reloads.
6021 1999-11-29  David S. Miller  <davem@redhat.com>
6023         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
6024         arg.
6025         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
6027 1999-11-28  Robert Lipe  <robertl@cygnus.com>
6029         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
6030         table from .fini into .dtor.
6032 1999-11-28  Anthony Green  <green@cygnus.com>
6034         * tree.h (struct tree_decl): Add malloc_flag.
6035         (DECL_IS_MALLOC): Define.
6036         * c-common.c (attrs): Add A_MALLOC attribute.
6037         (init_attributes): Add this attribute to the table.
6038         (decl_attributes): Handle malloc attribute.
6039         * calls.c (special_function_p): Check for the malloc attribute.
6040         * extend.texi (Function Attributes): Document malloc attribute.
6042 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
6044         * pa.md (reload shift-add patterns): Remove.
6046 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6048         * reorg.c (dbr_schedule) Print more statistics. Corrected
6049         problem when printing info when 3 delay slots are filled.
6051 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
6053         * combine.c (setup_incoming_promotions): Pass an outgoing
6054         regno to FUNCTION_ARG_REGNO_P which it expects.
6056 1999-11-28  Andreas Jaeger  <aj@suse.de>
6058         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
6060 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
6062         * cccp.c (do_include): Avoid initialization of automatic variable.
6064         * integrate.c (mark_stores): Function definition made void, to match
6065         previous declaration.
6066         * regclass.c (dump_regclass): Ditto.
6067         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
6069 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6071         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
6072         known to be multiple of divisor.
6074         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
6076         * combine.c (try_combine): Add code to try to merge a set of a
6077         two-word pseudo to a constant with a setting of one of those words
6078         to a constant.
6080         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
6081         (split_tree): Completely rework to make more general.
6082         (make_range, fold): Call negate_expr.
6083         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
6084         (fold, associate): Call new split_tree and associate_trees.
6085         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
6087 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
6089         * loop.c (try_copy_prop): Avoid GNU C extension.
6091 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
6093         * except.c (init_eh_for_function): Still zero eh_return_context,
6094         eh_return_stack_adjust, and eh_return_handler.
6096         * except.h (eh_status): Adjust documentation for x_protect_list.
6097         (begin_protect_partials): New function.
6098         * except.c (enqueue_eh_entry): Fix formatting.
6099         (get_first_handler): Add consistency check.
6100         (add_partial_entry): Adjust usage of protect_list.
6101         (emit_cleanup_handler): Save and restore ehqueue.
6102         (expand_start_all_catch): Add comment.
6103         (begin_protect_partials): New function.
6104         (end_protect_partials): Adjust usage of protect_list.
6105         (init_eh_for_function): Use xcalloc.
6107 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6109         * c-common.c (check_format_info): Don't call a variadic function
6110         with a non-literal format string.
6112         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
6114         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
6115         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
6116         Likewise.
6118         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
6119         Likewise.
6121         * collect2.c (collect_wait): Likewise.
6123         * dbxout.c (dbxout_type): Likewise.
6125         * gcc.c (do_spec_1): Likewise.
6127         * genemit.c (gen_insn, gen_expand): Likewise.
6129         * genrecog.c (write_switch, write_subroutine): Likewise.
6131         * mips-tfile.c (catch_signal, botch): Likewise.
6133         * print-rtl.c (print_rtx): Likewise.
6135         * toplev.c (default_print_error_function, report_error_function,
6136         _fatal_insn): Likewise.
6138 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
6140         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
6142 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
6144         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
6145         operations when needed.
6146         * i386.md (fop_?f_comm): New.
6147         (fop_?f_1): Do not accept commutative operands.
6149 1999-11-25  Andreas Jaeger  <aj@suse.de>
6151         * config/mips/mips.md (casesi_internal): Add missing brace.
6153 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
6155         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
6156         (splice_child_die): Handle moving a child DIE from the declaration
6157         DIE of a class to its specification.
6158         (gen_struct_or_union_type_die): Use 'complete' consistently.
6159         (gen_decl_die): Generate the virtual context DIE first.
6160         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
6162 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
6164         * config/mips/mips.md (call_value_multiple_interanal1): New.
6166 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
6168         * dwarf2out.c (free_AT, free_die): New fns.
6169         (remove_children): Call them.
6170         (output_line_info): Disable removal of duplicate notes.
6172         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
6173         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
6174         means pretend the type isn't defined.
6175         Don't defer emitting types.
6176         (gen_type_die_for_member): New fn.
6177         (gen_decl_die): Call it.
6178         (splice_child_die): New fn.
6179         (gen_member_die): Call it rather than generate duplicate dies.
6181         Defer emitting information for the abstract instance of an inline
6182         until we either inline it or emit an out-of-line copy.
6183         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
6184         from output_inline_function if DECL_ABSTRACT is also set.
6185         (block_ultimate_origin): Likewise.
6186         (gen_abstract_function): New fn.
6187         (gen_decl_die, gen_inlined_subroutine_die): Call it.
6188         (gen_subprogram_die):  An abstract instance is not a declaration
6189         just because it doesn't match current_function_decl.  Don't abort
6190         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
6191         has an abstract origin.
6192         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
6193         abstract instance here.
6195 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
6197         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
6198         where we need to reload fpul from a system register.
6200 1999-11-24  Andreas Jaeger  <aj@suse.de>
6202         * config/mips/linux.h (CPP_PREDEFINES): Added.
6203         (LINK_SPEC): Remove -Y since this is only needed on sparc.
6205 1999-11-24  Andreas Jaeger  <aj@suse.de>
6207         * config/mips/linux.h (TARGET_VERSION): Added.
6208         (HANDLE_SYSV_PRAGMA): Added.
6209         (DEFAULT_VTABLE_THUNKS): Added.
6211 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
6213         * local-alloc.c (qty): New structure and static variable.
6214         (qty_phys_reg): Remove, all references changed to qty.
6215         (qty_n_refs): Likewise.
6216         (qty_min_class): Likewise.
6217         (qty_birth): Likewise.
6218         (qty_death): Likewise.
6219         (qty_size): Likewise.
6220         (qty_mode): Likewise.
6221         (qty_n_calls_crossed): Likewise.
6222         (qty_alternate_class): Likewise.
6223         (qty_changes_size): Likewise.
6224         (qty_first_reg): Likewise.
6225         (alloc_qty): Rename variable QTY to QTYNO.
6226         (finf_free_reg): Likewise.
6227         (local_alloc): Allocate qty, do not allocate the removed variables.
6229 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
6231         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
6232         when -membedded-pic is passed.
6234         * config/mips/mips.md (casesi): Handle 64-bit case too.
6235         (casesi_internal_di): New insn.
6237         * config/mips/mips.c (embedded_pic_offset): Always make the
6238         embedded-pic subtractions relative to the name of the current
6239         function by use of the magic string "..CURRENT_FUNCTION".
6240         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
6242 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
6244         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
6245         of (const_int 0), when what we really care about is
6246         whether it's a zero constant anyway.
6247         (div_trap_mips16): Likewise.
6249 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
6251         * loop.c (loop_optimize): Always find_loop_tree_blocks and
6252         unroll_block_trees when generating debuggable code.
6254         * tree.h (unsave_expr_1): New function.
6255         (lang_unsave): New variable.
6256         (get_callee_fndecl): New function.
6257         * tree.c (unsave_expr_now_r): New function.
6258         (lang_unsave): Define.
6259         (unsave_expr_1): Likewise.
6260         (unsave_expr_now_r): Split out from unsave_expr_now.
6261         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
6262         call unsave_expr_now_r.
6263         (get_callee_fndecl): Define.
6265         * Makefile.in (gencheck): Don't depend on lang_tree_files.
6266         (gencheck.o): Do depend on lang_tree_files.
6268         * integrate.h (copy_decl_for_inlining): New declaration.
6269         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
6270         (copy_decl_for_inlining): New function.
6271         (integrate_parm_decls): Use it.
6272         (integrate_decl_tree): Likewise.
6274 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
6276         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
6277         the second two from the first.
6278         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
6279         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
6280         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
6281         ISA_HAS_FP4.
6282         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
6283         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
6284         ISA_HAS_FP4.
6286 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
6288         * pa.md (call_internal_symref, call_value_internal_symref): No mode
6289         needed on the address operand.
6290         * pa.c (call_operand_address): Check for the correct mode.
6292 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
6294         * loop.c: Include "basic-block.h".
6295         (try_copy_prop, replace_loop_reg): New functions.
6296         (load_mems): Detect registers that just hold copies of the hoisted
6297         mem, and call try_copy_prop to eliminate them.
6298         * Makefile.in (loop.o): Update dependencies.
6300 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
6302         * Makefile.in (gencheck.o): Depend on gencheck.h.
6303         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
6304         (insn-peep.o): Depend on except.h and function.h.
6305         (insn-attrtab.o): Depend on RECOG_H.
6306         (insn-output.o): Depend on toplev.h and flags.h.
6307         (gengenrtl.o): Depend on real.h.
6308         (gen-protos.o): Depend on cpplib.h and cpphash.h.
6309         Unify all dependencies to be on RECOG_H rather than recog.h.
6311 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6313         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
6314         * configure.in: Try building a bi-arch 32/64-bit compiler on
6315         sparc-*-solaris2.7 and higher.
6316         * configure: Rebuild.
6318 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
6320         * config/freebsd.h: New, FreeBSD architecture independent file.
6321         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
6322         independent pieces.
6323         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
6324         directly by i386/freebsd.h.
6325         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
6326         independent configuration file.
6327         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
6328         directly by i386/freebsd.h.
6329         * configure: Rebuilt.
6331         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
6332         which is in the user's namespace.
6333         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
6334         `i386' which is not in our namespace.
6336 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
6338         * invoke.texi (ARM Options): Add in -mno-alignment-traps
6340 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
6342         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
6343         (add_dwarf_attr, add_child_die): Just push onto the front.
6344         (reverse_die_lists): New fn.
6345         (add_sibling_attributes): Use it.
6346         (push_decl_scope): Reorganize.
6347         (add_name_and_src_coords_attributes): Don't set file and line for
6348         an artificial decl.
6349         (gen_subprogram_die): An artificial function doesn't need to match
6350         file and line.
6351         (gen_compile_unit_die): Return the generated die.  Only add
6352         AT_comp_dir if the filename is relative.
6353         (remove_AT): Simplify loop.  Also free string values.
6354         (output_die): A DIE ref can't be null.
6355         (output_value_format, value_format): Take a dw_attr_ref.
6356         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
6357         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
6358         AT_addr, AT_lbl): New fns.
6359         (various): Use them.
6360         (various): Constify.
6362 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
6364         * combine.c (combine_simplify_rtx): When handling a SUBREG,
6365         take SUBREG_WORD into account.
6366         (if_then_else_cond): Likewise.
6368 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
6370         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
6371         clause from BSD license, pursuant with
6373           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
6375 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
6377         * loop.c (load_mems): Reformat slightly.
6378         * basic-block.h (regset_head): New typedef.
6379         (INIT_REG_SET): New macro.
6381 1999-11-22  Bruce Korb  <autogen@linuxbox.com
6383         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
6384         (mips-dec-bsd*): non-functional code
6385         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
6387         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
6388         added three replacement fixes
6389         (no_double_slash): removed comments that are not (any longer) pertinent
6390         (bad_lval): this fix currently runs against many files.
6391         The comment seems to indicate that we should select for files
6392         containing 'pragma extern_prefix'.
6394         * fixinc/fixinc.x86-linux-gnu: deleted
6395         * fixinc/inclhack.sh:  regen
6396         * fixinc/fixincl.x:  regen
6397         * fixinc/fixincl.sh:  regen
6399 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
6401         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
6402         its code is INSN and it has no notes.
6404 1999-11-22  Andrew Haley  <aph@cygnus.com>
6406         * varasm.c (function_defined): Remove.
6407         (make_function_rtl): Don't set function_defined.
6408         (make_decl_rtl): Remove global register warning.
6409         * regclass.c (no_global_reg_vars): New variable.
6410         (globalize_reg): Warn if function has already been defined.
6411         (regclass_init): Set no_global_reg_vars.
6413 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
6415         * regclass.c (reg_pref): New structure and static variable
6416         (prefclass): Delete.
6417         (altclass): Delete.
6418         (all uses of prefclass and altclass): Use reg_pref instead.
6420 1999-11-21  Nick Clifton  <nickc@cygnus.com>
6422         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
6423         -malignment-traps.
6424         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
6425         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
6426         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
6428 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
6430         * varasm.c (output_constructor): Solve problem with long long
6431         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
6433 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
6435         * global.c (allocno): New structure and static variable.
6436         (allocno_reg): Remove, all references replaced by allocno.
6437         (allocno_size): Likewise.
6438         (hard_reg_conflicts): Likewise.
6439         (hard_reg_preferences): Likewise.
6440         (hard_reg_copy_preferences): Likewise.
6441         (hard_reg_full_preferences): Likewise.
6442         (regs_someone_prefers): Likewise.
6443         (allocno_calls_crossed): Likewise.
6444         (allocno_n_refs): Likewise.
6445         (allocno_live_length): Likewise.
6446         (find_reg): Rename ALLOCNO to NUM.
6448         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
6449         references updated.
6450         (may_move_out_cost): New variable.
6451         (init_reg_sets_1): Initialize may_move_out_cost.
6452         (record_reg_classes): Use may_move_out_cost.
6454         * regclass.c (dump_regclass): New function.
6455         (regclass): New parameter DUMP, call DUMP_REGCLASS.
6456         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
6457         pass rtl_dump_file to regclass.
6458         * rtl.h (regclass): Update prototype.
6460 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
6462         * i386.md (neg, not and abs patterns): Revmap to use
6463         ix86_expand_unary_operator and ix86_unary_operator_ok.
6464         (add?f and sub?f expanders): Force operand 1 to register.
6465         * i386.c (ix86_expand_unary_operator): Rewrite.
6466         (ix86_unary_operator_ok): Ensure that memory operands
6467         match real opcode.
6468         (ix86_binary_operator_ok): Do not allow operand 1 to
6469         come into memory and operand 0 not.
6470         (ix86_expand_binary_operator): Ensure that
6471         src1 is not non-matching memory.
6473         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
6474         to support integer registers and memory.
6475         (abss?2_integer): Likewise.
6477         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
6478         (REG_CLASS_NAMES): Likewise.
6479         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
6480         and GENERAL_REGS.
6481         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
6482         (movsf): Likewise; unify 4th and 5th alternative.
6483         (pushdf): Likewise.
6484         (movdf_1): Likewise; rename to movdf_integer.
6485         (pushxf): Likewise; rename to pushxf_integer; fix output template;
6486         remove redundant splitter.
6487         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
6488         (movdf_nointeger): New.
6489         (movxf_nointeger): New.
6490         (pushxf_nointeger): New.
6492         * i386.md (extend?f?f): Split to expander and pattern, refuse two
6493         memory operands in patterns.
6494         (fop*): Refuse two memory operands.
6496         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
6497         on !TARGET_USE_CLTD CPUs.
6499 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
6501         * extend.texi: Document C++ restricted pointers and references.
6503 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
6505         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
6506         (invalidate_skipped_set): Call it unconditionally.
6507         (cse_set_around_loop): Likewise.
6509 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
6511         * rtl.texi (mem): Add documentation for alias-set argument
6512         to RTX `mem'.
6514 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
6516         * i386.h (struct_processor_costs): New fields int_load, int_store,
6517         fp_move, fp_load and fp_store
6518         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
6519         fp->int moves
6520         (MEMORY_MOVE_COST): New macro.
6521         * i386.c (386_cost): Define new fields.
6522         (i486_cost): Likewise.
6523         (pentium_cost): Likewise.
6524         (pentiumpro_cost): Likewise.
6525         (k6_cost): Likewise.
6527 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
6528                           Geoffrey Keating  <geoffk@cygnus.com>
6530         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
6532         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
6533         MASK_ALIGN_INT.
6535         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
6536         (TARGET_STRICT_ALIGNMENT): New macro.
6537         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
6538         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
6539         * invoke.texi (M680x0 Options): Document -mstrict-align.
6541 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
6542                           Richard Henderson  <rth@cygnus.com>
6544         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
6545         (ix86_split_long_move): Declare.
6546         * i386.c (split_xf, ix86_split_movdi): Remove.
6547         (ix86_split_to_parts, ix86_split_long_move): New.
6548         * i386.md (dimode move splitters): Use ix86_split_long_move.
6549         (dfmode move splitters): Likewise.
6550         (xfmode move splitters): Likewise.
6551         (movsf_1): Allow F->r.
6552         (movdf_1, movxf_1): Allow F->ro.
6554 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
6556         * except.h (struct eh_entry): Add goto_entry_p.
6557         (eh_region_from_symbol): Remove prototype.
6558         * except.c (find_func_region_from_symbol): New function.
6559         (emit_cleanup_handler): Likewise.
6560         (eh_region_from_symbol): Make it static.
6561         (add_new_handler): Verify the argument.
6562         (find_func_region): Update comment.
6563         (expand_eh_region_end): Expand handlers here, rater than waiting
6564         until expand_leftover_cleanups or start_all_catch.
6565         (expand_leftover_cleanups): Don't expand here.
6566         (expand_start_all_catch): Or here.
6567         (expand_rethrow): Check the return value from find_func_region.
6568         * function.c (expand_function_end): Emit the catch_clauses.
6570 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
6572         * integrate.c (expand_inline_function): Add necessary check for NULL.
6574 1999-11-18  Nick Clifton  <nickc@cygnus.com>
6576         * toplev.c (main): Correctly detect an unrecognised option.
6578         * cppinit.c (cpp_handle_option): Do not claim to have consumed
6579         a -f option if it has not been recognised.
6581 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
6583         * basic-block.h (update_life_extent): Remove trailing comma on
6584         enumeration type list.
6586 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6588         * varasm.c (output_constructor) Solved problem with long long
6589         bitfields. Corrected calculating this_time and shift. Also
6590         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
6592 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
6594         * flow.c (split_edge): Take looping structure into account when
6595         determining where to put the new block note.
6597 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
6599         * Makefile.in (ggc-none.o): Provide host specific version if
6600         needed.
6602 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
6604         * cse.c (delete_trivially_dead_insns): Identify no-op insns
6605         containing subregs too.
6607 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
6609         * invoke.texi: Add documentation for -muninit-const-in-rodata.
6610         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
6611         (TARGET_UNINIT_CONST_IN_RODATA): Define.
6612         (text_section): Add switches -munint-const-in-rodata and
6613         -mno-uninit-const-in-rodata.
6614         (ASM_OUTPUT_COMMON): Remove.
6615         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
6616         const objects should be placed in read-only data. Otherwise declare
6617         them in common.
6619 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
6621         * jump.c (jump_optimize_1): Revert last change.
6623 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
6625         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
6626         test if optimizing for size.
6628 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
6630         * Makefile.in (toplev.o): Depend on except.h.
6631         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
6633 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
6635         * i386.md (divmodsi4): Rewrite to expander.
6636         (*divmodsi4_nocltd): New.
6637         (*divmodsi4_cltd): New.
6638         (divmodsi4 splitter): Handle the case when input comes in edx.
6639         (udivmodhi4): Do not use constraints in exander.
6640         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
6642 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
6644         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
6645         for the common case.
6647 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
6649         * explow.c (hard_function_value): Add outgoing argument.
6650         * expr.h (hard_function_value): Declare it.
6651         * calls.c (expand_call, emit_library_call_value): Update callers.
6652         * function.c (aggregate_value_p): Ditto.
6653         (diddle_return_value): Must look at the outgoing registers
6654         on archs with register windows.
6656 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
6658         * alpha.c (alpha_build_va_list): Use make_lang_type and
6659         initialize TYPE_NAME for the va_list record.
6661         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
6663         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
6664         for printing.
6665         * ggc.h (struct ggc_statistics): Rearrange elements for better
6666         packing on 64-bit hosts.
6667         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
6668         (compute_nearerout): Likewise.
6670 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
6672         * config/rs6000/rs6000.c (first_reg_to_save): Save
6673         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
6675 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
6677         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
6678         notion of nesting to find the DIE for a type or function.
6679         DIEs can go in limbo even if we got a context_die.
6680         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
6681         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
6682         for local type.
6683         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
6684         (gen_type_die): Writing out the context doesn't cause member class
6685         template instantiations to be written out as well.
6687 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
6689         * rs6000.h (ASM_OUTPUT_DEF): New.
6690         Based on proposed addition from David Edelsohn.
6692 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
6693             Bruce Korb  <autogen@linuxbox.com>
6695         * fixinc/inclhack.def
6696         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
6697         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
6698                 in net/inet.h.
6699         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
6700         (svr4_endian): enabled with SVR5
6701         (svr4_mkdev): simplified syntax and enabled with SVR5
6703 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
6705         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
6706         * configure: Rebuilt.
6707         * config/t-freebsd-thread: New file.
6709 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
6711         * i386.c (ix86_decompose_address): Verify the base is a REG
6712         before trying to examine its register number.
6714         * basic-block.h: Remove all #defines and prototypes related to
6715         integer lists.
6716         (free_bb_mem, compute_preds_succs): Remove prototype.
6717         * rtl.h (free_bb_mem): Remove prototype.
6718         * flow.c (alloc_int_list_node); Remove function.
6719         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
6720         (compute_preds_succs, free_bb_mem): Likewise.
6721         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
6722         * toplev.c (rest_of_compilation): Likewise.
6723         * haifa-sched.c (build_control_flow): Use flow generated edge
6724         list to build the haifa specific edge list.
6725         (find_rgns): Use new CFG data structures instead of pred/succ lists.
6726         (schedule_insns): Do not build pred/succ lists anymore.  Instead
6727         build the edge table.
6729         * basic-block.h (dump_bb_data): Remove declaration.
6730         * flow.c (dump_bb_data): Remove function.
6731         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
6732         (sbitmap_union_of_predsucc): Likewise.
6734         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
6735         argument.  All callers changed.
6736         (delete_null_pointer_checks_1): No longer need to compute the
6737         pred/succ lists.
6739         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
6740         All callers changed.
6741         (pre_expr_reaches_here_p_work): Likewise.
6742         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
6743         * lcm.c (compute_laterin): Fix initialization of LATER.
6744         (compute_nearerout): Similarly for NEARER.
6746 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6748         * cse.c (set_nonvarying_address_components): Delete unused function.
6749         (refers_to_p): Likewise.
6751 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
6753         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
6754         needed.
6756 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6758         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
6759         definition in do while (0).
6761 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
6763         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
6765 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
6767         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
6769 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
6771         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
6772         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
6773         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
6774         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
6776         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
6777         saved on the stack.  Output more accurate stack frame statistics
6778         into assembler file.
6780 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
6782         * genextract.c (record_insn_name): New function.
6783         (get_insn_name): No longer a stub.
6784         (main): Call record_insn_name for each insn.  After each label
6785         written, print the insn name in a comment.
6787 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6789         * output.h (const_section, init_section, fini_section): Add
6790         prototypes.
6792         * alpha/elf.h (const_section): Delete declaration.
6794         * svr4.h (const_section): Likewise.
6796 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
6798         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
6799         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
6800         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
6801         expressions.
6802         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
6803         variable-sized array bounds.
6805 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
6807         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
6808         ASM_OUTPUT_LABEL.
6810 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6812         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
6813         addresses the same way GO_IF_LEGITIMATE_INDEX does.
6815 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6817         * cse.c (hash_arg_in_struct): Delete.
6818         (struct table_elt): Delete elt in_struct.
6819         (struct set): Delete elt src_in_struct.
6820         (merge_equiv_classes): Don't set either hash_arg_in_struct or
6821         the corresponding in_struct elts.
6822         (canon_hash): Likewise.
6823         (safe_hash): Likewise.
6824         (find_best_addr): Likewise.
6825         (record_jump_cond): Likewise.
6826         (cse_insn): Likewise.
6828 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
6830         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
6832         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
6833         unsigned types.
6835 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
6837         * function.c (diddle_return_value): Put back check that the DECL_RTL
6838         for the function is a register.
6840         * function.c (diddle_return_value): Use hard_function_value to
6841         get an rtx suitable for use in the USE/CLOBBER insn.
6843         * global.c (global_conflicts): Update comments.
6844         (record_conflicts): No need to record conflicts between pseudos here.
6846 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
6848         * fixinc/fixincl.c: Added verbose levels for status messages
6850 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6852         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
6853         operand as argument to expand_and or expand_binop.
6855 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
6857         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
6858         gcc_add_string_root.
6860 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
6862         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
6864 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
6866         * flow.c (compute_flow_dominators): Initially put all blocks on
6867         the worklist.
6868         * lcm.c (compute_antinout_edge, compute_available): Similarly.
6869         * gcse.c (compute_cprop_avinout): Remove.
6870         (compute_cprop_data): Use compute_available.
6871         (delete_null_pointer_checks_1): Use compute_available.
6873         * basic-block.h (compute_available): Returns a void now.
6874         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
6875         to return a value anymore.
6876         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
6877         worklists.  Fix boundary cases. Compute maximal solutions.
6878         (compute_laterin, compute_nearerout): Similarly.
6880         * dwarf2out.c (add_AT_location_description): Allow
6881         (mem (plus (pseudo) (...)) too.
6883 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
6885         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
6887 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
6888                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6890         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
6892         * gansidecl.h: Likewise.
6894         * rtl.c: Likewise.
6896         * rtl.h: Likewise.
6898         * toplev.h: Likewise.
6900         * tree.c: Likewise.
6902         * tree.h: Likewise.
6904         * varray.c: Likewise.
6906         * varray.h: Likewise.
6908 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
6910         * gcov.c (struct arcdata): Add hits and total, remove prob.
6911         (output_branch_counts): New.
6912         (process_args): Set output_branch_counts if -c.
6913         (calculate_branch_probs): Store hits and total instead of
6914         percentage.
6915         (output_data): Emit counts if output_branch_counts is true.
6916         * gcov.texi (Invoking Gcov): Document -c switch..
6918 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
6920         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
6921         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
6923 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
6925         * invoke.texi (C Dialect Options): Add missing builtins from
6926         c-common.c to list.
6927         * extend.texi (Other Builtins): Copy to this list.
6929 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6931         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
6932         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
6933         redundant bitmap.h.
6935 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
6937         * flow.c (compute_flow_dominators): No longer treat basic block 0
6938         or (n_basic_blocks - 1) specially.  Clear the AUX field before
6939         starting computation of doms/pdoms.  Fix initial state for pdoms.
6941 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6943         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
6944         match rtl.o's: added ggc.h and toplev.h
6945         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
6946         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
6947         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
6949 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
6951         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
6952         from HAVE_DOS_BASED_FILESYSTEM.
6953         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
6954         HAVE_DOS_BASED_FILESYSTEM.
6955         (main): Likewise.
6956         (split_directories): Only special-case DOS file names if
6957         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
6958         instead of explicit tests.  Conditionalize on !VMS.
6959         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
6960         tests.  Conditionalize on !VMS.
6961         (process_command): Only use make_relative_prefix if !VMS.
6962         (free_split_directories): Conditionalize on !VMS.
6963         (DIR_UP): Conditionalize on !VMS.
6965 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
6967         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
6969 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
6971         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
6972         case.
6974 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
6976         * invoke.texi (Environment Variables): Document relative path
6977         lookup.
6978         * gcc.c (DIR_UP): If not defined, define as "..".
6979         (standard_bindir_prefix): New static, holds target location to
6980         install binaries.
6981         (split_directories): New function to split a filename into
6982         component directories.
6983         (free_split_directories): New function, release memory allocated
6984         by split_directories.
6985         (make_relative_prefix): New function, make a relative pathname if
6986         the compiler is not in the expected location.
6987         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
6988         can figure out an appropriate prefix from argv[0].
6989         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
6990         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
6991         STANDARD_BINDIR_PREFIX.
6993 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6995         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
6996         in c4x.c.
6997         * config/c4x/c4x.h: Moved prototypes to c4x.h.
6998         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
6999         c4x_secondary_memory_needed) Delete.
7000         (fp_zero_operand): Add mode argument.
7002 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
7004         * reload1.c (reload_reg_free_for_value_p): Don't use a register
7005         that is in reload_reg_used.
7007 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
7009         * config/arm/arm-protos.h: New file: Prototypes for functions
7010         defined in arm.c and pe.c.
7011         * config/arm/arm.h: Fix compile time warnings.
7012         * config/arm/arm.c: Fix compile time warnings.
7013         * config/arm/pe.h: Fix compile time warnings.
7014         * config/arm/aout.h: Fix compile time warnings.
7016 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
7018         * config/m32r/m32r-protos.h: New file: Prototypes for functions
7019         defined in m32r.c
7021         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
7022         Add support for subtargets.
7023         Add prototypes for new predicates.
7024         Add scheduling macros.
7026         * config/m32r/m32r.c: Fix compile time warnings.
7027         (int8_operand): New predicate function.
7028         (reg_or_cmp_int16_operand): New predicate function.
7029         (extend_operand): New predicate function.
7030         (m32r_adjust_code): New scheduling function.
7031         (m32r_adjust_priorty): New scheduling function.
7032         (m32r_sched_init): New scheduling function.
7033         (m32r_sched_reorder): New scheduling function.
7034         (m32r_sched_variable_issue): New scheduling function.
7035         (direct_return): New codegen function.
7036         (m32r_not_same_reg): New rtl testsing function.
7038         * config/m32r/m32r.md: Fix compile time warnings.
7039         Add support for pre decrement and post increment memory
7040         references.
7041         Add S<cc> patterns.
7042         Add fabs patterns.
7044 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7046         * global.c (EXECUTE_IF_CONFLICT): Don't define.
7047         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
7048         (find_reg): Likewise.
7050 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
7052         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
7053         to avoid assembler errors.
7055 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
7057         * config/v850/v850-protos.h: New file: Prototypes for functions
7058         defined in v850.c
7059         * config/v850/v850.h: Move prototypes to v850-protos.h
7060         * config/v850/v850.c: Move prototypes to v850-protos.h
7061         * config/v850/v850.md: Fix compile time warnings.
7063         * config/fr30/fr30-protos.h: New file: Prototypes for functions
7064         defined in fr30.c
7065         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
7066         * config/fr30/fr30.c: Fix compile time warnings.
7067         * config/fr30/fr30.md: Fix compile time warnings.
7069 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
7071         * tree.h (get_containing_scope): Declare it.
7072         * tree.c (get_containing_scope): New fucntion.
7073         (decl_function_context): Use it.
7074         * toplev.c (rest_of_compilation): Use get_containing_scope.
7076 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7078         * Makefile.in (rtl.o): Depend on toplev.h.
7080 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
7082         * cse.c (delete_trivially_dead_insns): Replace alloca with
7083         xmalloc/xcalloc.
7084         * except.c (update_rethrow_references): Likewise.
7085         (init_eh_nesting_info): Likewise.
7086         * function.c (identify_blocks): Likewise.
7087         * gcse.c (dump_hash_table): Likewise.
7088         * graph.c (print_rtl_graph_with_bb): Likewise.
7089         * loop.c (combine_movables): Likewise.
7090         (move_movables): Likewise.
7091         (count_loop_regs_set): Likewise.
7092         (strength_reduce): Likewise.
7093         * profile.c (compute_branch_probabilities): New function, split
7094         out from ...
7095         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
7096         * regclass.c (regclass): Likewise.
7097         * regmove.c (regmove_optimize): Likewise.
7098         * toplev.c (compile_file): Likewise.
7099         (main): Don't mess with the stack rlimit.
7101 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
7103         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
7104         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
7106 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
7108         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
7110 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
7112         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
7113         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
7114         macro expansion.
7116 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
7118         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
7120 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
7122         * gcse.c (post_dominators): Kill.
7123         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
7124         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
7125         pass in a pdom array since we do not need pdoms.
7126         * haifa-sched.c (schedule_insns): Similarly.
7127         * flow.c (compute_dominators): Remove dead function.
7128         (compute_flow_dominators): Do not compute doms or pdoms if the
7129         caller does not request them.  Split up loop to build doms and
7130         pdoms.  Use a worklist to compute doms and pdoms.
7131         * basic-block.h (compute_dominators): Remove prototype.
7133 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
7135         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
7136         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
7137         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
7138         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
7139         (cant_move, fed_by_spec_load, is_load_insn): Remove.
7140         (schedule_region): Remove unused variable.
7141         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
7143 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
7145         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
7146         (update_equiv_regs): Likewise.
7147         (block_alloc): Likewise.
7148         * reg-stack.c (reg_to_stack): Likewise.
7149         (convert_regs_2): Likewise.
7150         * reload1.c (reload_as_needed): Likewise.
7152 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
7154         * Makefile.in (dbxout.o): Depend on ggc.h.
7155         (dwarf2out.o): Likewise.
7156         (xcoffout.o): Likewise.
7157         * dbxout.c: Include ggc.h.
7158         (dbxout_init): Register lastfile as a root.
7159         * dwarf2out.c: Include ggc.h.
7160         (dwarf2out_line): Register lastfile as a root.
7161         * xcoffout.c: Include ggc.h.
7162         (xcoffout_source_line): Register xcoff_lastfile as a root.
7164 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
7166         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
7168 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
7170         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
7171         defined.
7172         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
7174 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7176         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
7177         (EXECUTE_IF_CONFLICT): Likewise.
7178         (ALLOCNO_LIVE_P): Avoid signed division.
7179         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
7180         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
7181         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
7183 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
7185         * haifa-sched.c (schedule_block): Don't crash if there's no
7186         next insn for an interblock movement.
7187         (add_branch_dependences): Don't allow clobber insns to move either.
7189 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
7191         * i386.c (split_xf): New.
7192         * i386-protos.h: Declare it.
7193         * i386.md (movxf_1): Add general regs alternatives.
7194         (movxf_1+1): New splitter for same.
7196 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
7198         * function.c (purge_addressof_1): Add missing return values.
7200 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
7202         * function.c (is_addressof): New function.  Returns true if
7203         the given piece of RTL is an ADDRESSOF.
7204         (purge_addressof_1): Make boolean.  Return false if the
7205         ADDRESSOFs could not be purged.
7206         (purge_addressof): If ADDRESSOFs could not be purged from the
7207         notes attached to an insn, remove the offending note(s),
7208         unless they are attached to a libcall.
7210 1999-11-05  Andreas Jaeger  <aj@suse.de>
7212         * genoutput.c (null_operand =): Initialize all fields.
7214         * errors.h: Add extern to prototypes.
7216 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
7218         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
7219         * configure: Rebuilt.
7221 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7223         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
7224         (mirror_conflicts): New function.
7225         (global_alloc): Call it.
7226         (expand_preferences): Remove redundant CONFLICTP test.
7227         (find_reg, dump_conflicts): Likewise.
7228         (prune_preferences): Process conflicts one word at a time.
7230 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
7232         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
7233         instead of an explicit loop.
7235 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
7237         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
7238         if REG_RETVAL check succeeds, then put classp in src_elt.
7240 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
7242         * function.c (pad_to_arg_alignment): Only update argument_pad
7243         if the argument's alignment is greater than STACK_BOUNDARY.
7245 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
7247         * bitmap.h (BITMAP_XFREE): New.
7248         * flow.c (life_analysis): Use it.
7249         (life_analysis_1): Free blocks.
7251         * combine.c (undo_commit): New.
7252         (try_combine): Use it.  Don't zap undobuf.undos.
7253         (combine_instructions): Don't zap undobuf.undos; free the
7254         undobuf.frees list.
7256         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
7258         * stmt.c (cost_table_): New.
7259         (estimate_case_costs): Use it instead of xmalloc.
7261         * toplev.c (compile_file): Reuse dumpname memory instead
7262         of strdup'ing it.
7264 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
7266         * reg-stack.c (convert_regs_1): Initialize target_stack->top
7267         after verifying an EH edge.
7269         * haifa-sched.c (init_rgn_data_dependences): Correctly
7270         size bb_pending_lists_length when zeroing.
7272 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
7274         * function.c (diddle_return_value): New.
7275         (expand_function_end): Use it.
7276         * stmt.c (expand_null_return): Likewise.
7277         (expand_value_return): Likewise.
7279         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
7281         * reload1.c (reload): Don't remove return value clobbers.
7283 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
7285         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
7287 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
7289         * cse.c (cse_main): Use xmalloc, not alloca.
7290         (cse_basic_block): Likewise.
7291         * local-alloc.c (local_alloc): Likewise.
7293 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
7294                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7296         * rtl.c: Include toplev.h.
7297         (fatal): Remove declaration.
7299 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
7301         * haifa-sched.c (schedule_block): Fix thinko.
7303 1999-11-03  James McKelvey <mckelvey@fafnir.com>
7305         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
7306         S_IR* defined values
7308 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
7310         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
7311         call `malloc' instead.
7313 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
7315         * flags.h (flag_renumber_insns): Declare.
7316         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
7317         renumbering table.
7318         * rtl.h (renumber_insns): Change prototype.
7319         * toplev.c (flag_renumber_insns): Define.
7320         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
7322 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
7324         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
7325         and fpsqrtd.  Use them and create fdiv function unit to more
7326         accurately represent fpu sqrt pipeline semantics on UltraSparc.
7327         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
7329 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
7331         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
7332         3 on UltraSparc.
7333         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
7334         insn into ready list, do not use just a raw swap.
7336 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
7338         * rtl.h (renumber_insns): New function.
7339         (remove_unnecessary_notes): Likewise.
7340         * emit-rtl.c (renumber_insns): Define.
7341         (remove_unncessary_notes): Likewise.
7342         * toplev.c (rest_of_compilation): Remove dead code.
7343         Use renumber_insns and remove_unncessary_notes.
7345         * gcse.c (struct null_pointer_info): New type.
7346         (get_bitmap_width): New function.
7347         (current_block): Remove.
7348         (nonnull_local): Likewise.
7349         (nonnull_killed): Likewise.
7350         (invalidate_nonnull_info): Take a null_pointer_info as input.
7351         (delete_null_pointer_checks_1): New function.
7352         (delete_null_pointer_checks): Use it.
7354         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
7355         (split_edges): Likewise.
7356         (schedule_block): Likewise.
7357         (compute_block_backward_dependencies): Likewise.
7358         (schedule_region): Likewise.
7359         (schedule_insns): Likewise.
7361 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
7363         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
7364         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
7365         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
7366         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
7367         * jump.c (delete_unreferenced_labels): Don't delete if
7368         LABEL_ALTERNATE_NAME is set.
7369         * print-rtl.c (print_rtx): Dump alternate name.
7370         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
7371         * rtl.h (LABEL_ALTERNATE_NAME): Define.
7372         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
7373         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
7375 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7377         * fix-header.c (recognized_extern, recognized_function): Constify
7378         a char*.
7380         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
7381         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
7382         (compute_available): Remove unused variable `last'.
7383         (compute_nearerout): Remove unused variable `temp_bitmap'.
7384         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
7385         Remove unused variable `x'.
7387         * scan.h (recognized_function, recognized_extern): Constify a
7388         char*.
7390         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
7392 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7394         * varasm.c (decode_rtx_const): Use XSTR to access the string
7395         of a SYMBOL_REF.
7397 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
7399         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
7401 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7403         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
7405 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
7407         * pa.c (ireg_operand): New function.
7408         * pa.h (PREDICATE_CODES): Handle ireg_operand.
7409         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
7410         Fix out of date comment.
7412         * pa.md (negdi2): Turn into expander + anonymous pattern.
7414         * reload.c (find_reloads): Fix typos in recent change.
7416         * dwarf2out.c: Do not include ctype.h.
7418 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7420         * regclass.c (record_reg_classes): Always use may_move_cost when
7421         seeing how operand fits with various register classes.
7423 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
7425         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
7426         * toplev.c: Revert Nov 1 13:22 change.
7428 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
7430         * config/pa/pa.md (height reduction patterns): Add checks for
7431         overlapping operands to avoid semantic-destroying splits for
7432         height reduction patterns.
7434 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7436         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
7437         have been an hyphen, fixed.
7438         * configure: Rebuilt.
7440 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
7442         * config/arm/tpe.h: Add prototypes for exported functions.
7443         * config/arm/pe.c: Fix compile time warnings.
7444         * config/arm/semi.h: Fix compile time warnings.
7445         * config/arm/arm.c: Fix compile time warnings.
7446         * config/arm/arm.h: Fix compile time warnings.
7447         * config/arm/arm.md: Fix compile time warnings.
7448         * config/arm/thumb.c: Fix compile time warnings.
7449         * config/arm/thumb.h: Fix compile time warnings.
7450         * config/arm/thumb.md: Fix compile time warnings.
7452 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
7454         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
7455         detection code
7457         * unroll.c (unroll_loop): Remove LOOP notes when loop is
7458         completely unrolled.
7460 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7462         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
7464 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
7466         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
7467         * rtl.h (rtx_equal_p): Move prototype.
7468         * rtl.c (rtx_equal_function_value_matters): Move from
7469         rtlanal.c
7470         (rtx_equal_p): Likewise.
7471         * rtlanal.c (rtx_equal_function_value_matters): Delete.
7472         (rtx_equal_p): Likewise.
7474 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
7476         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
7477         ! HAS_INIT_SECTION.
7479 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
7481         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
7483         * pa.h (ADDR_VEC_ALIGN): Define.
7485         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
7486         notes when presented with "if (foo) break; end_of_loop" and
7487         the break sequence gets moved out of the loop.
7489         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
7490         Remove explicit zero initializations of entries within MAP.
7492 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
7494         * reg-stack.c (convert_regs_1): Handle EH edges specially.
7496 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
7498         * bitmap.h (BITMAP_XMALLOC): New macro.
7499         * flow.c (CLEAN_ALLOCA): Remove.
7500         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
7501         (life_analysis): Likewise.
7502         (update_life_info): Don't use CLEAN_ALLOCA.
7503         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
7504         (calculate_global_regs_live): Likewise.
7505         (print_rtl_with_bb): Likewise.
7506         (verify_flow_info): Likewise.
7507         * global.c (global_alloc): Likewise.
7508         (global_conflicts): Likewise.
7509         * integrate.c (save_for_inline_nocopy): Likewise.
7510         (expand_inline_function): Likewise.
7511         * jump.c (jump_optimize_1): Likewise.
7512         (duplicate_loop_exit_test): Likewise.
7513         (thread_jumps): Likewise.
7514         * loop.c (loop_optimize): Likewise.
7515         (combine_givs): Likewise.
7516         (recombine_givs): Likewise.
7517         * reorg.c (dbr_schedule): Likewise.
7518         * unroll.c (unroll_loop): Likewise.
7520         * combine.c (combine_instructions): Use xmalloc instead of alloca.
7522 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
7524         * toplev.c (rest_of_compilation): Don't optimize the CFG
7525         when rebuilding, just before dbr.
7527 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7529         * output.h (assemble_end_function, assemble_destructor,
7530         assemble_constructor, assemble_gc_entry, assemble_global,
7531         assemble_label, output_constant_pool) Constify a char*.
7533         * varasm.c (assemble_destructor, assemble_constructor,
7534         assemble_gc_entry, assemble_end_function, assemble_global,
7535         assemble_label, output_constant_pool): Likewise.
7537 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
7539         * config/arm/thumb.c (thumb_expand_prologue): Add comments
7540         explaining what is goin on in this function.
7542 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7544         * regclass.c (record_reg_classes): In matching case, recompute
7545         costs since the direction of movement is different.
7547 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
7549         * resource.c (mark_target_live_regs): For unconditional branches,
7550         the resources found at the branch target should be added to the
7551         resources found so far, not intersected.
7553 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
7555         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
7556         old cpp's.
7557         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
7558         (sys/mman.h): Include this file only if #HAVE_MMAP.
7559         (run_compiles): Initialize `esac_fmt' with one old KR string, not
7560         with automatically concatenated ANSI strings.
7562 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
7564         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
7565         (DIV_ROUND_UP): Robustify.
7566         (ggc_recalculate_in_use_p): New function.
7567         (release_pages): Don't inline it.
7568         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
7569         outer contexts.
7570         (ggc_pop_context): Use ggc_recalculate_in_use_p.
7571         (clear_marks): Always save in_use_p.
7572         (sweep_pages): Use ggc_recalculate_in_use_p.
7573         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
7574         Release pages before counting statistics.
7576 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
7578         * toplev.c (rest_of_compilation): Fix thinko in this change:
7580         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
7582         (rest_of_compilation): If inside an inlined external function,
7583         pretend we are just being declared.
7585 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
7587         * flow.c (calculate_global_regs_live): Fix thinko.
7589         * integrate.c (expand_inline_function): Fix bugs in previous
7590         change from Oct 28, 1999.
7592 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
7594         * stmt.c (expand_value_return): Fix typo in this change:
7596         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7597         (expand_value_return): Correctly convert VAL when promoting function
7598         return; support RETURN_REG being a PARALLEL.
7600 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
7602         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
7604 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7606         * hard-reg-set.h (reg_names): Constify a char*.
7608         * regclass.c  (reg_names): Likewise.
7610         * regs.h (reg_names): Likewise
7612         * a29k/a29k.c (reg_names): Delete declaration.
7614         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
7616         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
7617         arc_output_function_epilogue): Likewise.
7619         * elxsi/elxsi.c (reg_names): Likewise.
7621         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
7623         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
7624         Likewise.
7626         * m88k/m88k.c (output_function_profiler): Likewise.
7628         * sparc/sparc.c (sparc_flat_output_function_prologue,
7629         sparc_flat_output_function_epilogue): Likewise.
7631 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
7633         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
7634         warning from -Wuninitialized and put it under -W.
7635         * function.c (uninitialized_vars_warning): Warn only when the
7636         corresponding flag is set.
7638 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
7640         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
7641         is nonzero and the single set does not have an elt, then assign
7642         it an elt.
7644         * simplify-rtx.c: New file.
7645         * Makefile.in (OBJS): Add simplify-rtx.o
7646         (simplify-rtx.o): Add dependencies.
7647         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
7648         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
7649         (cse_gen_binary, simplify_unary_operation): Delete.
7650         (simplify_binary_operation, simplify_plus_minus): Likewise.
7651         (check_fold_consts, simplify_relation_operation): Likewise.
7652         (simplify_ternary_operation): Likewise.
7653         (delete_trivially_dead_insns): Simplify the contents of the
7654         REG_EQUAL note before trying to substitute it into the source
7655         of the reg-reg copy at the end of a libcall sequence.
7657         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
7658         references/callers changed.
7660         * mn10200.c (mn10200_va_arg): Force the return value into a
7661         register.
7663         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
7665         * cccp.c (macroexpand): Avoid out of range accesses for omitted
7666         arguments.
7668 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
7670         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
7672 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
7674         * fold-const.c (fold): Fix thinko when optimizing comparisons
7675         against -0.0.
7677 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
7679         * gcc.texi (Passes): Update front-end files to their current
7680         location.
7682 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
7684         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
7685         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
7686         (PREDICATE_CODES): Add addition_operation.
7687         * alpha-protos.h (addition_operation): Declare.
7688         (secondary_reload_class): Likewise.
7689         * alpha.c (addition_operation): New.
7690         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
7691         * alpha.md (adddi3): Turn into expander.
7692         (*lda, *adddi_2): New.
7693         (movsf, movdf patterns): Don't preference integer regs.
7694         (movsi, movdi patterns): Don't preference fp regs.
7696 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
7698         * genrecog.c (write_switch): Check for duplicate CODE cases.
7700 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
7702         * ggc-common.c: Update pre-function commentary.
7703         * ggc-page.c: Likewise.
7704         (poison): Remove.
7705         (poison_pages): Use memset directly.
7706         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
7707         (ggc_collect): Poison before sweeping.
7708         * ggc-simple.c: Update pre-function commentary.
7709         (ggc_alloc_obj): Poison non-zeroed memory.
7711 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
7713         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
7714         match format string, even on 64-bit hosts.
7715         * gcc-page.c (ggc_page_print_statistics): Likewise.
7717 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
7719         * config/i386/i386.c (ix86_cpu): Revert last patch.
7720         * config/i386/i386.h (ix86_cpu): Ditto.
7722 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
7724         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
7725         TYPE_SIZE, convert type of result to sizetype.
7727 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
7729         * flow.c (count_or_remove_death_notes): Equate NULL with the
7730         universal set.
7732         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
7733         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
7734         dbr_schedule.
7736         * i386.c (pic_label_no): Delete.
7737         (ix86_attr_length_default): Don't use single_set to peek
7738         inside a parallel.
7740         * recog.c (peephole2_optimize): Allow recog_next_insn to index
7741         the first insn after bb->end.
7742         * i386.md (push mem peeps): Scratch is live after evaluation
7743         of the memory.
7744         (cmp mem peep): Similarly.
7746 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
7748         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
7749         * function.c (pad_to_arg_alignment): Add missing braces.
7751 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7753         * alpha/alpha-protos.h (literal_section): Add prototype.
7754         (alpha_need_linkage, alpha_start_function,alpha_end_function):
7755         Constify a char*.
7757         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
7758         prototype.
7759         (alpha_start_function, alpha_end_function, float_strings,
7760         alpha_need_linkage): Constify a char*
7762         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
7764         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
7766         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7768         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
7770 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7772         * flow.c (debug_flow_info): Add prototype.
7774         * gcc.c (main): Likewise.
7776         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
7777         Likewise.
7779         * reload1.c (failed_reload, set_reload_reg): Likewise.
7781         * mips-tfile.c (main): Likewise.
7782         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
7783         with ATTRIBUTE_NORETURN.
7785 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
7787         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
7788         DECL is not a memory ref.
7790 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
7792         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
7793         * config/i386/i386.c (ix86_cpu): Add extern attribute.
7795 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
7797         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
7798         * config/mips/elf64.h: ditto.
7800 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
7802         * expr.c (emit_push_insn): New argument alignment_pad.
7803         Update all callers.  Adjust stack pointer based on alignment pad.
7804         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
7805         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
7806         (locate_and_pad_parm): New argument alignment_pad.  Update all
7807         callers.
7808         * expr.h (emit_push_insn): Update prototype.
7809         (locate_and_pad_parm): Update prototype.
7810         * calls.c (arg_data):  Add new field alignment_pad.
7811         (initialize_argument_information): Initialize alignment_pad.
7813 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
7815         * except.c (free_eh_nesting_info): Free the info itself.
7816         * function.c (free_after_compilation): Don't free NULL.
7817         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
7818         (pre_edge_insert): Free inserted.
7819         * stmt.c (free_stmt_status): Don't free NULL.
7821 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
7823         * gcov.c (DIR_SEPARATOR): Provide default.
7824         (output_data): Add test for MS-DOS format absolute filename.
7825         (fancy_abort): Correct program name.
7826         (open_files): Open all files in binary mode.
7827         * libgcc2.c (__bb_exit_func): Likewise.
7829         * profile.c (init_branch_prob): Specify binary when opening files.
7831         * flags.h (flag_unwind_tables): New decl.
7832         * toplev.c (flag_unwind_table): New definition.
7833         (f_options): Add -funwind-tables.
7834         (decode_g_option): Clarify warning when unknown -g option is given.
7835         (rest_of_compilation): If inside an inlined external function,
7836         pretend we are just being declared.
7838         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
7839         (dwarf2out_frame_finish): Likewise.
7841 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
7843         * fold-const.c (merge_ranges): If not in0, but in1, handle
7844         upper bounds equal like subset case.
7846 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
7848         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
7849         passed in a register but moved to the stack.
7851 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
7853         * gcc.c (pass_exit_codes, greatest_status): New variables.
7854         (struct option_map): Add entry for "--pass-exit-codes".
7855         (execute): Update greatest_status if error.
7856         (display_help): Add documentation for -pass-exit-codes.
7857         (process_command): Handle -pass-exit-codes.
7858         (main): Look at pass_exit_codes and greatest_status on call to exit.
7860 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7862         * reload.c (find_reloads): Refine test for no input reload
7863         case to not includes reloads emitted after insn.
7865         * function.c (find_temp_slots_from_address): Handle sum involving
7866         a register that points to a temp slot.
7867         (update_temp_slot_address): Make recursive call if both old and
7868         new are PLUS with a common operand.
7869         * calls.c (expand_call): Mark temp slot for result as having
7870         address taken.
7872         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
7874         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
7875         component as well as "BINUTILS".
7877         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
7878         * integrate.c (copy_rtx_and_substitute): Likewise.
7879         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
7880         All callers changed.
7881         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
7883         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
7884         gdb extensions, write size of type; also be more consistent
7885         in using references when this is a subtype.
7887         * pa.md (extv, extzv, insv): Use define_expand to reject constant
7888         that is out of range.
7890         * loop.c (unknown_constant_address_altered): New variable.
7891         (prescan_loop): Initialize it.
7892         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
7893         (invariant_p, case MEM): Remove handling for volatile and readonly;
7894         check new variable if readonly.
7895         (check_dbra_loop): Chdeck unknown_constant_address_altered.
7897         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
7898         (addr_affects_sp_p): Removed from note_mem_written and only
7899         define #ifdef AUTO_INC_DEC.
7901         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
7903         * regclass.c (record_reg_classes): Properly handle register move
7904         directions.
7906         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
7907         Don't think valid if both operands are invalid.
7908         (struct constant_descriptor): New field RTL.
7909         (mark_const_hash_entry): Mark it.
7910         (record_constant{,_rtx}): Initialize it.
7911         (output_constant_def): Allocate RTL in permanent obstack and
7912         save in table.
7913         ({record,compare}_constant_1): Modes must match for
7914         CONSTRUCTOR of ARRAY_TYPE.
7916         * c-common.h (initializer_constant_valid_p): Delete decl from here.
7917         * output.h (initializer_constant_valid_p): Move decl to here.
7918         * c-common.c (initializer_constant_valid_p): Delete function from here.
7919         * varasm.c (initializer_constant_valid_p): Move function to here.
7921         * tree.h (STRIP_SIGN_NOPS): New macro.
7922         * fold-const.c (optimize_minmax_comparison): New function.
7923         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
7924         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
7925         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
7926         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
7927         widening conversions.
7928         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
7929         to look at size of mode, not precision of type; also add missing cases.
7930         (optimize_bit_field_compare, decode_field_reference): Don't try to
7931         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
7933         * dwarf2out.c (ctype.h): Include.
7934         (dwarf2out_set_demangle_name_func): New function.
7935         (size_of_line_info): Deleted.
7936         (output_line_info): Compute size of line info table from difference
7937         of labels.
7938         (base_type_die, add_name_attribute): Call demangle function, if any.
7939         (field_byte_offset): Use bits per word for variable length fields.
7940         (gen_array_type_die): Add array name.
7941         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
7942         (dwarf2out_add_library_unit_info): New function.
7944         * explow.c (set_stack_check_libfunc): New function.
7945         (stack_check_libfunc): New static variable.
7946         (probe_stack_range): Allow front-end to set up a libfunc to call.
7948         * combine.c (simplify_comparison): When making comparison in wider
7949         mode, check for having commuted an AND and a SUBREG.
7950         (contains_muldiv): New function.
7951         (try_combine): Call it when dividing a PARALLEL.
7952         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
7953         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
7954         a PLUS.
7955         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
7956         use one of the CLOBBERs instead.
7957         (if_then_else_cond): If comparing against zero, just return thing
7958         being compared.
7960         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
7961         Don't generate shifts and subtract if have conditional arithmetic.
7963         * rtl.h (delete_barrier): New declaration.
7964         * jump.c (jump_optimize): Set up to handle conditional call.
7965         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
7966         (delete_barrier): New function.
7968         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
7970         * recog.c (nonmemory_operand): Accept ADDRESSOF.
7972         * tree.c (build_type_attribute_variant): Push to obstack of
7973         ttype around type_hash_canon call.
7975         * expr.c (placeholder_list): Move decl to file scope.
7976         (expand_expr): Don't force access to volatile just because its
7977         address is taken.
7978         If ignoring reference operations, just expand the operands.
7979         (expand_expr, case COMPONENT_REF): Propagate
7980         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
7981         Refine test for using bitfield operations vs pointer punning.
7982         (expand_expr, case CONVERT_EXPR): If converting to
7983         BLKmode UNION_TYPE from BLKmode, just return inner object.
7984         Use proper mode in store_field call.
7985         Properly set sizes of object to store and total size in store_field
7986         call for convert to union.
7987         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
7988         memory (like for ADDR_EXPR).  Also, don't put constant in register if
7989         we'll want it in memory.
7990         (readonly_fields_p): New function.
7991         (expand_expr, case INDIRECT_REF): Call it if LHS.
7992         (expand_assignment): Handle a RESULT_DECL where
7993         DECL_RTL is a PARALLEL.
7994         (do_jump, case WITH_RECORD_EXPR): New case.
7995         (get_inner_reference): Always go inside a CONVERT_EXPR
7996         and NOP_EXPR if both modes are the same.
7997         (store_field): Use bitfield operations if size of bitsize is not same
7998         as size of RHS's type.
7999         Check for bitpos not a multiple of alignment in BLKmode case.
8000         Do block move in largest possible alignment.
8001         (store_constructor): Set BITSIZE to -1 for variable size and properly
8002         in case of array of BLKmode.
8003         (expand_expr_unaligned): New function.
8004         (do_compare_and_jump): Call it.
8006         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
8007         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
8008         does not include 'o'.
8010         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
8011         both SET_DEST and SET_SRC reference a virtual register.
8012         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
8014         * integrate.c (expand_inline_function): Handle case of setting
8015         virtual stack vars register (from built in setjmp); when parameter
8016         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
8017         (subst_constant): Add new parm, MEMONLY.
8018         (expand_inline_function, integrate_parm_decls): Pass new parm.
8019         (integrate_decl_tree): Likewise.
8020         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
8021         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
8022         (copy_rtx_and_substitute, case SET): Add explicit calls to
8023         copy_rtx_and_substitute for both sides.
8025         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
8026         constraints.
8027         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
8028         within INDEX_TYPE, instead of before.
8029         (fixup_gotos): Use f->target_rtl, not the next insn,
8030         since latter may be from a later fixup.
8031         (expand_value_return): Correctly convert VAL when promoting function
8032         return; support RETURN_REG being a PARALLEL.
8033         (expand_return): When checking for result in regs and having
8034         cleanup, consider PARALLEL in DECL_RTL as being in regs.
8036 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
8038         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
8039         last_nominal_fname): Mark const.
8040         (struct include_hash: name, nshort, control_macro): Mark
8041         const.
8042         (struct macrodef: symnam): Mark const.
8043         (struct if_stack: fname): Mark const.
8044         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
8045         (IStable): New character-syntax array which encompasses all
8046         the old is_foo arrays.
8047         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
8048         is_space): New macros for interrogating IStable.
8049         (check_macro_name): Kill last argument.  All callers changed.
8051         * cppinit.c (initialize_char_syntax): Delete.
8052         (is_idchar, is_idstart, is_hor_space, is_space,
8053         trigraph_table): Delete.
8054         (IStable): New.  Initialize with clever macros to avoid
8055         information duplication.
8056         (builtin_array): Table of builtins to get rid of explicit list
8057         in initialize_builtins.
8058         (initialize_builtins): Use builtins_array.
8059         (cpp_start_read): Call init_IStable, and set IStable['$'] if
8060         opts->dollars_in_ident.
8062         * cppexp.c: Change all refs to is_xyz[] arrays to use new
8063         is_xyz() macros.
8064         (cpp_parse_expr): Avoid 'format string is not constant'
8065         warning. Use ISGRAPH to identify printable chars.
8066         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
8067         is_xyz() macros.
8068         (read_and_prescan): Map trigraphs to chars with open-coded
8069         if-else-if-... sequence, not a lookup table.
8070         * cpphash.c: Change all refs to is_xyz[] arrays to use new
8071         is_xyz() macros.
8072         * cpplib.c: Change all refs to is_xyz[] arrays to use new
8073         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
8074         (check_macro_name): Remove ability to report an invalid
8075         assertion name, which is never used.
8076         (do_line): Constify a couple of char *'s.
8077         * cppmain.c (main): Call cpp_cleanup before returning.
8079 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
8081         * ggc.h (struct ggc_statistics): New type.
8082         (ggc_get_size): New function.
8083         (ggc_print_statistics): Likewise.
8084         * ggc-common.c (ggc_stats): New variable.
8085         (ggc_mark_rtx_children): Keep statistics.
8086         (ggc_mark_tree_children): Likewise.
8087         (ggc_print_statistics): New function.
8088         * ggc-page.c (struct globals): Add bytes_mapped field.
8089         (alloc_anon): Update it.
8090         (release_pages): Likewise.
8091         (ggc_get_size): New function.
8092         (ggc_page_print_statistics): New function.
8093         * ggc-simple.c (ggc_get_size): New function.
8095 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
8097         * flow.c (propagate_block): When the last reference to a label
8098         before an ADDR_VEC is deleted because the reference is a dead
8099         store, delete the ADDR_VEC.
8101 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
8103         * resource.c (find_free_register): Don't use the frame pointer
8104         if frame_pointer_needed.
8106 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
8108         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
8109         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
8111         * config/i960/i960.c (i960_va_start): New locals base, num.
8112         Use INDIRECT_REF instead of ARRAY_REF on valist.
8113         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
8115 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
8117         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
8119 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
8121         * tree.def (PLACEHOLDER_EXPR): Update comments.
8123 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8125         * c-common.c (check_format_info): Avoid non-literal format string
8126         warnings when `first_arg_num' is zero.
8128 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8130         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
8132 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
8134         * arm.md (casesi_insn): Add a clobber of the condition code
8135         register.
8137 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
8139         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
8140         used by both cc1 and cc1plus.
8142 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
8144         * config/arm/arm.c: Initialise arm_structure_size_boundary to
8145         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
8146         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
8147         to the value 32 if it has not already been defined.
8148         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
8149         Override definition in arm.h with a value of 8.
8151 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
8153         * c-pragma.c (push_alignment): Don't check the return value
8154         of xmalloc.
8156 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
8158         * sparc.h (ADJUST_COST): Fix thinko.
8160 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
8162         * cccp.c (rescan): Fixed obp pointer handling around call to
8163         check_expand subroutine.
8165 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
8167         * gcse.c (delete_null_pointer_checks): Only record non-null info
8168         for pseudos when examining stores.
8170         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
8171         splitters for these patterns.  Use "#" for output templates.
8172         (addsi3_carryin_shift): New pattern.
8174 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
8176         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
8177         of the function return register into a plain REG until
8178         after function inlining is done.
8180 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
8182         * jump.c (jump_optimize_1): If we did cross-jumping, and
8183         the data will matter, rebuild the CFG.
8184         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
8185         not optimizing.  Don't run shorten_branches.
8186         * toplev.c (rest_of_compilation): Run shorten_branches after
8187         reg_to_stack.
8189 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
8191         * rtl.h (note_stores): Add additional paramter.
8192         * rtlanal.c (reg_set_p_1): Take additional paramter.
8193         (reg_set_last_1): Likewise.
8194         (reg_set_p): Adjust call to note_stores.
8195         (reg_set_last): Likewise.
8196         (note_stores): Pass data parameter to worker function.
8197         * alias.c (record_set): Take additional parameter.
8198         (init_alias_analysis): Pass it.
8199         * caller-save.c (mark_set_regs): Take additional parameter.
8200         (save_call_clobbered_regs): Pass NULL to note_stores.
8201         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
8202         parameter.
8203         (record_dead_and_set_regs_1): Likewise.
8204         (reg_dead_at_p_1): Likewise.
8205         (combine_instructions): Adjust calls to note_stores.
8206         (try_combine): Likewise.
8207         (record_dead_insn): Remove.
8208         (record_dead_and_set_regs): Adjust calls to note_stores.
8209         (reg_dead_at_p): Likewise.
8210         * cse.c (invalidate_skipped_set): Take additional parameter.
8211         (cse_check_loop_start): Likewise.
8212         (cse_check_loop_start_value): Remove.
8213         (cse_set_around_loop): Adjust calls to note_stores.
8214         * flow.c (notice_stack_pointer_modification): Take additional
8215         parameter.  Remove duplicate declaration.
8216         (record_volatile_insns): Adjust calls to note_stores.
8217         * gcse.c (record_set_info): Take additional parameter.
8218         (record_last_set_info): Likewise.
8219         (invalidate_nonnull_info): Likewise.
8220         (record_set_insn): Remove.
8221         (compute_sets): Adjust calls to note_stores.
8222         (last_set_insn): Remove.
8223         (compute_hash_table): Adjust calls to note_stores.
8224         (insert_insn_end_bb): Likewise.
8225         (delete_null_pointer_checks): Likewise.
8226         * global.c (mark_reg_store): Take additional parameter.
8227         (mark_reg_clobber): Likewise.
8228         (reg_becomes_live): Likewise.
8229         (global_conflicts): Adjust calls to note_stores.
8230         (build_insn_chain): Likewise.
8231         * integrate.c (note_modified_parmregs): Take additional parameter.
8232         (mark_stores): Likewise.  Make it static.
8233         (save_for_inline_nocopy): Adjust calls to note_stores.
8234         (try_constants): Likewise.
8235         * integrate.h (mark_stores): Remove declaration.
8236         * jump.c (mark_modified_reg): Take additional parameter.
8237         (thread_jumps): Adjust calls to note_stores.
8238         * local-alloc.c (validate_equiv_mem_from_store): Take additional
8239         parameter.
8240         (no_equiv): Likewise.
8241         (reg_is_set): Likewise.
8242         (validate_equiv_mem): Adjust calls to note_stores.
8243         (update_equiv_regs): Likewise.
8244         (block_alloc): Likewise.
8245         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
8246         (note_addr_stored): Take additional parameter.
8247         (note_set_pseudo_multiple_uses): Likewise.
8248         (record_initial): Likewise.
8249         (prescan_loop): Adjust calls to note_stores.
8250         (strength_reduce): Likewise.
8251         (check_dbra_loop): Likewise.
8252         * regmove.c (flags_set_1): Take additional paramter.
8253         (mark_flags_life_zones): Adjust calls to note_stores.
8254         * reload1.c (mark_not_eliminable): Take additional parameter.
8255         (forget_old_reloads_1): Likewise.
8256         (reload_cse_invalidate_rtx): Likewise.
8257         (reload_cse_check_clobber): Likewise.
8258         (reload_combine_note_store): Likewise.
8259         (move2add_note_store): Likewise.
8260         (reload): Adjust calls to note_stores.
8261         (reload_as_needed): Likewise.
8262         (emit_reload_insns): Likewise.
8263         (reload_cse_regs_1): Likewise.
8264         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
8265         (reload_combine): Adjust calls to note_stores.
8266         * resource.c (update_live_status): Take additional paramter.
8267         (mark_target_live_regs): Adjust calls to note_stores.
8268         * stupid.c (find_clobbered_regs): Take additional parameter.
8269         (stupid_life_analysis): Adjust calls to note_stores.
8271 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
8273         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
8274         definition.
8276         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
8277         definition.
8279         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
8280         of the variable arm_structure_size_boundary.
8282 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
8284         * alias.c (init_alias_analysis): Allocate reg_known_value and
8285         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
8286         and reg_seen.
8287         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
8288         * cse.c (cse_main): Call end_alias_analysis.
8289         * haifa-sched.c (schedule_insns): Likewise.
8290         * local-alloc. (update_equiv_regs): Likewise.
8291         * reload1.c (reload_cse_regs): Likewise.
8293 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8295         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
8296         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
8297         mapping from MASK_FPU.
8299 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
8301         * sparc.md (call): Don't bound structure return size to 0xfff.
8303 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
8305         * resource.c (mark_target_live_regs): Check that the target
8306         insn wasn't created after compute_bb_for_insn.
8308 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
8310         * ggc-page.c (poison_pages): Don't be overzealous.
8312 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
8314         * alias.c: Update comments for ADDRESS.
8315         (nonlocal_reference_p): Look inside the ADDRESS to determine if
8316         it is a local memory reference.
8318         * c-typeck.c (build_function_call): Check that the built-in
8319         function is of class BUILT_IN_NORMAL before trying to recongize
8320         it as BUILT_IN_ABS.
8321         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
8322         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
8324 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
8326         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
8327         of alloca.
8328         (pre_gcse): Likewise.
8329         (hoist_expr_reaches_here_p): Likewise.
8330         (hoist_code): Likewise.
8331         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
8332         code to ...
8333         (pre_expr_reaches_here_p_work): ... here.
8334         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
8335         code to ...
8336         (expr_reaches_here_p_work): ... here.
8338 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
8340         * resource.c (find_basic_block): Delete.
8341         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
8342         (init_resource_info): Call compute_bb_for_insn.
8344 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
8346         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
8347         with already adjacent blocks, but no fallthru.
8348         (merge_blocks_move_successor_nojumps): Simplify.
8349         (debug_flow_info): New.
8351         * toplev.c (rest_of_compilation): Open jump1 dump file before
8352         jump and close after, as opposed to just using dump_rtl.
8354 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8356         * reload.h (earlyclobber_operand_p): Declare.
8357         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
8358         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
8359         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
8360         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
8362 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
8363                           Richard Henderson  <rth@cygnus.com>
8365         * emit-rtl.c (emit_block_insn_before): New.
8366         (emit_block_insn_after): New.
8367         * basic-block.h: Declare them.
8369         * bitmap.h: Protect from multiple inclusion.
8371         * recog.c (scratch_operand): Handle VOIDmode correctly.
8373         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
8375         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
8376         * function.c (assign_parms): Likewise.
8377         * global.c (global_conflicts): Clarify STACK_REGS commentary.
8379         * reg-stack.c (max_uid): Remove.
8380         (blocks, block_begin, block_end, block_drops_in): Remove.
8381         (block_stack_in, block_out_reg_set, block_number): Remove.
8382         (struct block_info_def, BLOCK_INFO): New.
8383         (enum emit_where): New.
8384         (current_block): New.
8385         (BLOCK_NUM): Remove.
8386         (mark_regs_pat, record_label_references): Remove.
8387         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
8388         (nan): New.
8389         (goto_block_pat, print_blocks, dump_stack_info): Remove.
8390         (reg_to_stack): Simplified test for existance of fp code.  Use
8391         flow.c code.  Call shorten_branches after cross-jump opt.
8392         (check_asm_stack_operands): Renamed from record_asm_reg_life.
8393         Return false if the asm doesn't use stack regs.  Don't do life
8394         analysis on the asm.
8395         (emit_pop_insn): Replace function pointer arg `when' with
8396         enum `where'.  Update all callers.
8397         (change_stack): Likewise.  Update basic block end.
8398         (emit_swap_insn): Use current_block->head to limit reverse search
8399         for start of block.  Use emit_block_insn_after.
8400         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
8401         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
8402         structure assignment instead of bcopy.
8403         (print_stack): New.
8404         (convert_regs_entry, convert_regs_exit): New.
8405         (convert_regs_1, convert_regs_2): Split out from convert_regs.
8406         Work on basic blocks and the CFG.
8407         (convert_regs): Use them.
8409         * i386.c (output_fix_trunc): Remove code for DImode input operand
8410         not at top-of-stack.
8411         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
8412         appropriate mode.
8413         (fix_truncdi_1): Allow any mode scratch.
8415 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
8417         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
8418         * linux.h, netbsd.h, vms.h: Not here.
8420 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
8422         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
8423         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
8424         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
8425         CONDITIONAL_REGISTER_USEAGE): Use them.
8426         * config/mips/mips.c (mips_move_1word,mips_move_2words,
8427         gen_conditional_branch,override_options) : Use them.
8428         * config/mips/mips.md : Use them.
8430 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
8432         * i386.md (zero_extendqihi2): Use SImode register name with andl.
8434 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
8436         * integrate.c (function_cannot_inline_p): Don't allow inlining
8437         if setjmp is used.
8439 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8441         * c-parse.in (cast_expr): Constify.
8443         * cccp.c (special_symbol): Likewise.
8445         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
8447         * dwarf2out.c (base_type_die): Likewise.
8449         * global.c (allocno_compare): Likewise.
8451         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
8453         * regclass.c (fix_register): Likewise.
8455         * rtl.h (fix_register): Likewise.
8457         * stupid.c (stupid_reg_compare): Likewise.
8459         * toplev.c (decode_f_option): Likewise.
8461         * tree.c (build_complex_type): Likewise.
8463 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
8465         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
8467 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8469         * reload.c (find_reloads): Compute mode and nregs fields of all
8470         reloads.
8471         * reload1.c (calculate_needs_all_insns): Simplify a bit.
8472         (calculate_needs): Use precomputed mode/nregs values.
8473         (allocate_reload_reg): Likewise.
8474         Break out two...
8475         (failed_reload, set_reload_reg): ... new functions.
8476         (choose_reload_regs_init): New function, mostly broken out from...
8477         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
8478         Also lose one #if 0 block.
8480 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
8482         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
8483         substitution.
8485 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
8487         * tree.h (BLOCK_TYPE_TAGS): Remove.
8488         (BLOCK_END_NOTE): Likewise.
8489         (BLOCK_LIVE_RANGE_FLAG): Likewise.
8490         (BLOCK_LIVE_RANGE_START): Likewise.
8491         (BLOCK_LIVE_RANGE_END): Likewise.
8492         (tree_block): Remove live_range_flag, live_range_var_flag, and
8493         type_tags.  Remove end_note, live_range_start, and live_range_end.
8494         (remember_end_note): Remove prototype.
8495         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
8496         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
8497         remember_end_note.
8498         * ggc-common.c (ggc_mark_tree_children): Don't mark
8499         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
8500         * integrate.c (adjust_copied_decl_tree): Remove.
8501         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
8502         * stmt.c (last_block_end_note): Remove.
8503         (init_stmt): Don't add a GC root for it.
8504         (expand_fixup): Don't set it.
8505         (remember_end_note): Remove.
8506         (expand_end_bindings): Don't set last_block_end_note.
8508 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8510         * reload1.c (reload_reg_free_for_value_p): Show
8511         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
8512         reloads.
8514 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
8516         * expmed.c (extract_bit_field): Allow for the case of non-integer
8517         objects that are smaller than a word (like SFmode on a 64-bit
8518         machine).
8520         * loop.c (basic_induction_var): A non-integer variable which is
8521         being set by a paradoxical subreg is probably not a biv.
8523 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8525         * prefix.c (translate_name) Check for empty prefix string.
8527 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
8529         * Makefile.in (CPP_CROSS_NAME): New variable.
8530         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
8531         xcpp.
8532         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
8533         names of the files to be uninstalled.
8535 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
8537         * collect2.c (IS_DIR_SEPARATOR): Define.
8538         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
8540         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
8541         functions too.
8543         * haifa-sched.c (add_dependence): Update the true dependency
8544         cache the first time we add a true dependence to the LOG_LINKS chain.
8546 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
8548         * fold-const.c (fold): Fix comment.
8550 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8552         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
8553         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
8554         dbxout_start_new_source_file, dbxout_source_file,
8555         dbxout_source_line, dbxout_finish, dbxout_type_fields,
8556         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
8557         Constify a char*.
8558         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
8559         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
8560         (dbxout_block): Initialize variable `blocknum'.
8562         * dbxout.h (dbxout_init, dbxout_finish,
8563         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
8564         dbxout_args, dbxout_source_line): Constify a char*.
8566         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
8567         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
8568         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
8569         low_pc_attribute, high_pc_attribute, body_begin_attribute,
8570         body_end_attribute, comp_dir_attribute, sf_names_attribute,
8571         src_info_attribute, mac_info_attribute, producer_attribute,
8572         lookup_filename, generate_macinfo_entry, fundamental_type_code,
8573         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
8574         dwarfout_undef): Constify a char*.
8575         (add_incomplete_type, retry_incomplete_types): Add prototypes.
8577         * dwarfout.h (dwarfout_define, dwarfout_undef,
8578         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
8580 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
8582         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
8583         (MULTILIB_ISA_DEFAULT): New.
8584         (MULTILIB_DEFAULTS): Use it.
8585         * config/mips/mips.c (): Remove the now unnecessary definition
8586         of MIPS_ISA_DEFAULT.
8587         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
8588         unnecessary definition.
8590 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
8592         * arm.md (pic_load_addr): Add constraints to operand 1.
8594 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
8596         * fixinc/genfixes:  Provide a means for specifying -D options to
8597         AutoGen
8599 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
8601         * arm.c (arm_override_options): Correct initialization of
8602         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
8603         arm_is_strong, and arm_is_6_or_7.
8605         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
8606         (note_set_pseudo_multiple_uses): New function.
8607         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
8608         if a pseudo set in the loop exit is used elsewhere.
8610 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
8612         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
8614 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
8616         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
8617         a single load-address pattern.
8619 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
8621         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
8622         depending on whether or not line-number notes are present.
8624 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8626         * cccp.c (progname, file_buf, default_include, include_file,
8627         macrodef, definition, hashval, wchar_type, user_label_prefix,
8628         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
8629         expand_to_temp_buffer, is_system_include, base_name,
8630         absolute_filename, read_name_map, open_include_file,
8631         record_control_macro, check_precompiled, check_preconditions,
8632         pcfinclude, pass_thru_directive, create_definition,
8633         check_macro_name, comp_def_part, collect_expansion,
8634         check_assertion, read_token_list, assertion_install,
8635         assertion_lookup, eval_if_expression, conditional_skip,
8636         validate_else, skip_quoted_string, quote_string, macarg1,
8637         error_from_errno, install, lookup, hashf, dump_defn_1,
8638         perror_with_name, pfatal_with_name, main, trigraph_pcp,
8639         check_white_space, rescan, handle_directive, monthnames,
8640         special_symbol, do_include, remap_include_file, write_output,
8641         arglist, do_assert, do_unassert, do_line, do_error, do_once,
8642         do_ident, do_sccs, do_xifdef, skip_if_group,
8643         output_line_directive, macroexpand, macarg, change_newlines,
8644         initialize_builtins, make_definition): Constify a char*.
8646         * pcp.h (stringdef): Likewise.
8648 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
8650         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
8651         not of pattern.
8653 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
8654                           Richard Henderson  <rth@cygnus.com>
8656         * alias.c: Include ggc.h.
8657         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
8658         (record_set): Verify enough room in reg_base_value.
8659         (init_alias_analysis): Allocate reg_base_value with xcalloc.
8660         Register it as a GC root.
8661         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
8662         * Makefile.in (alias.o): Depend on ggc.h.
8664         * unroll.c (unroll_loop): Verify the insn before a barrier
8665         is a JUMP_INSN before checking JUMP_LABEL.
8667 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8669         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
8670         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
8671         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
8672         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
8673         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
8674         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
8676 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8678         * output.h (ctors_section, dtors_section, bss_section): Prototype.
8680         * alpha/alpha-interix.h (text_section): Delete prototype.
8681         * alpha/elf.h (text_section): Likewise.
8682         * arm/linux-elf.h (text_section): Likewise.
8683         * arm/linux-telf.h (text_section): Likewise.
8684         * c4x/c4x.h (text_section): Likewise.
8685         * dsp16xx/dsp16xx.h (bss_section): Likewise.
8686         * elfos.h (text_section): Likewise.
8687         * i386/aix386ng.h (text_section): Likewise.
8688         * i386/i386-interix.h (text_section): Likewise.
8689         * i386/sco5.h (text_section): Likewise.
8690         * i386/svr3gas.h (text_section): Likewise.
8691         * nextstep.h (text_section): Likewise.
8692         * psos.h (text_section): Likewise.
8693         * ptx4.h (text_section): Likewise.
8694         * svr3.h (text_section): Likewise.
8695         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
8697 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8699         * final.c (peephole): Delete prototype.
8701         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
8702         (pre_insert_copies): Remove unused variable `bb'.
8704         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
8705         prototypes.
8707         * output.h (peephole): Add prototype.
8709 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
8711         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
8712         -O0.
8714 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
8716         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
8717         for inlined declarations.
8719 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
8721         * arm.c (logical_binary_operator): New fucntion.
8722         * arm.h (logical_binary_operator): Declare it.
8723         (PREDICATE_CODES): Handle logical_binary_operator.
8724         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
8725         output constraints.  Add appropriate splitters.
8726         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
8727         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
8728         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
8730 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8732         * genoutput.c (struct operand_data): New elt eliminable.
8733         (output_operand_data): Write it.
8734         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
8735         (compare_operands): Take it into account.
8736         * recog.h (struct insn_operand_data): New elt eliminable.
8737         * reload1.c (check_eliminable_occurrences, elimination_effects): New
8738         functions.
8739         (old_asm_operands_vec, new_asm_operands_vec): Delete.
8740         (eliminate_regs): Move code that detects changes to elimination
8741         target regs into new function elimination_effects.
8742         Delete one #if 0 block.
8743         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
8744         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
8745         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
8746         Only call eliminate_regs for real operands of the insn, not for parts
8747         of its structure or parts matched by things like match_operator.
8748         Use elimination_effects and check_eliminable_occurrences.  Use
8749         copy_insn to duplicate the pattern when not in the final pass.
8751 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
8753         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
8754         and fld.
8756 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
8758         * fixinc/README: document the "mach" machine matching test
8759         * fixinc/fixfixes.c: Implement the #else/#endif label fix
8760         * fixinc/fixtests.c: Implement the #else/#endif label test
8761         * fixinc/inclhack.def: utilize these tests and fixes
8762         * fixinc/inclhack.sh:  regen
8763         * fixinc/fixincl.x:  regen
8764         * fixinc/fixincl.sh:  regen
8766 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
8768         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
8769         depend on ggc.h.
8771 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
8773         * gcc.1: Document exit codes.
8775 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8777         * calls.c: Include tm_p.h later, so everything we need is defined.
8778         * expr.c: Likewise.
8779         * function.c: Likewise.
8781         * except.c: Include tm_p.h.
8783         * sparc.c: Likewise.
8784         (dwarf2out_cfi_label): Don't prototype.
8785         (check_return_regs, epilogue_renumber,
8786         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
8787         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
8788         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
8789         ultra_schedule_insn): Add static prototype.
8790         (data_segment_operand, text_segment_operand): Call itself with the
8791         proper number of arguments.
8792         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
8794         * sparc.h: Move all declarations to sparc-protos.h.
8795         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
8796         symbolic_operand.
8798         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
8800         * config/svr4.h (text_section, ctors_section, dtors_section): Add
8801         Prototypes.
8802         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
8803         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
8804         ASM_OUTPUT_ASCII): Constify a char*.
8806         * sparc-protos.h: New file for sparc prototypes.
8808 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8810         * function.c (record_insns, contains): Always declare and define.
8811         (record_insns): Mark with ATTRIBUTE_UNUSED.
8813 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
8815         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
8816         to .section when outputting a .bss section to deal with multiple
8817         .bss input sections (as happens with -fdata-sections)
8818         Also output %progbits, not @progbits so the assembler doesn't treat as
8819         a comment.
8820         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
8822         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
8823         thumb parts even when building with non-thumb CPUs, by forcing
8824         thumb mode.
8826 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
8828         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
8829         (movdf_const_intreg_sp64): Similarly.
8831         * local-alloc.c (update_equiv_regs): Check the correct insn
8832         for pre-existing REG_EQUIV notes.
8834 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
8836         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
8837         block reached by a branch if we're not going to actually process
8838         this block.
8840 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
8842         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
8843         a local extern function declaration.
8845 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
8847         * i386.c (ix86_expand_prologue): Properly wrap USE around
8848         reg for CALL_INSN_FUNCTION_USAGE.
8850 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
8852         * config/mips/mips.md (movdf_internal1a): Allow floating-point
8853         move between GP_REGs.
8855 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
8857         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
8858         the mode size when finding out if an offset is legal.
8860 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
8862         * basic-block.h (PROP_*): Move constants from ...
8863         * flow.c: ... here.
8864         (compute_bb_for_insn): Free the array before reallocating.
8865         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
8866         (allocate_reg_life_data): Reset all reg variables collected by
8867         propagate_block.
8868         (get_block_head_tail): Don't convert from bb to block.
8869         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
8870         (find_insn_reg_weight): Take block not bb.
8871         (schedule_block): Don't set block num for moved insns.
8872         (schedule_region): Don't update_life_info or find_insn_reg_weight.
8873         (schedule_insns): Do it here instead.
8874         * combine.c (combine_instructions): Invoke compute_bb_for_insn
8875         before update_life_info.
8876         * recog.c (split_all_insns, peephole2_optimize): Update for
8877         new arg to update_life_info.
8878         * rtlanal.c (remove_note): Cope with NULL note.
8879         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
8880         if we did sched1.
8882 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
8884         * jump.c (jump_optimize_1): More accurately detect casesi insns.
8886         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
8887         block records so that merge_blocks_nomove will clean up correctly.
8888         (split_edge): Handle casesi insns.
8890         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
8892 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
8894         * pa.md (call, call_value): Do not emit a blockage after restoring
8895         the PIC register.
8897 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
8899         * c-typeck.c (c_expand_asm_operands): Fix typo.
8901 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8903         * arm.c (fpu_rhs_operand): Verify modes.
8904         (fpu_add_operand): Likewise.
8905         (di_operand): Likewise.
8906         (soft_df_operand): Likewise.
8908 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
8910         * arm.c (arm_return_in_memory): APCS rules state that the elements
8911         of a structure returned in a register must be 'integer-like'.
8913 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
8915         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
8916         in the source tree when the generated targets are out of date
8917         * fixinc/genfixes: Alter it to run individual fixes for make.
8918         * fixinc/README: rewrite
8919         * fixinc/inclhack.def: moved initial comments to README
8921 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
8923         * toplev.c (main): Do not generate an error message if an
8924         unrecognised command line switch is recognisable by another
8925         language.  If extra_warnings are enabled, then generate a
8926         warning message instead.
8928 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
8930         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
8931         (insert_pack_attributes): Delete prototype.
8933         * c-pragma.c (default_alignment): New static variable.
8934         (push_alignment): Initialize to current effective alignment.
8935         (pop_alignment): Use to set new alignment.
8936         (insert_pack_attributes): Delete function.
8937         (handle_pragma_token): Set default_alignment as well each time
8938         a #pragma pack(<n>) is encountered.
8940 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
8942         * reg-stack.c (stack_result): Aggregates are not returned in
8943         stack registers.
8945 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
8947         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
8949 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
8951         * basic-block.h (set_block_num): Declare.
8952         * flow.c (update_life_info): Don't call compute_bb_for_insn
8953         or free_basic_block_vars.
8954         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
8955         (insn_orig_block): Remove.
8956         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
8957         (schedule_block): Keep BLOCK_NUM up-to-date.
8958         (schedule_insns): Use compute_bb_for_insn.
8959         * recog.c (split_all_insns): Likewise.
8960         (peephole2_optimize): Likewise.
8962 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
8964         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
8965         if the pic register is used.
8967 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8969         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
8970         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
8971         if that tests TREE_PERMANENT.
8973 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
8975         * cse.c (invalidate_for_call): Do not remove memory references from
8976         the table here.  It's handled elsewhere.
8978         * haifa-sched.c (add_dependence): Protect references to the
8979         true dependency cache with #ifdef INSN_SCHEDULING.
8980         (remove_dependence): Similarly.
8982         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
8983         to the cfg code that this is a return instruction.
8984         * mn10300.md (return_internal): Similarly.
8986         * combine.c (get_last_value): If the last set of a register
8987         is after subst_low_cuid, then we can not use it to determine
8988         the register's last value.
8990 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
8992         * Makefile.in: Back out previous change.
8994 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
8996         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
8998         * haifa-sched.c (add_dependence): Only check/update the cache
8999         if it exists.
9000         (remove_dependence): Likewise.
9001         (schedule_insns): Only create the true_dependency_cache if the
9002         average number of instructions in a basic block is very large.
9004 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
9006         * Makefile.in (ggc-common.o): Depend on genrtl.h.
9007         (ggc-simple.o): Likewise.
9008         (ggc-page.o): Likewise.
9010 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
9012         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
9013         Prototype for exported functions.
9014         (pre_lcm, pre_rev_lcm): Remove prototypes.
9015         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
9016         (compute_available): Move to lcm.c, and change parameter order.
9017         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
9018         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
9019         (gcse_main): No longer call compute_preds_succs.  Rebuild the
9020         set table after reach pre pass.
9021         (pre_insert_map, pre_delete_map, edge_list): New.
9022         (alloc_pre_mem): Allocate edge vectors.
9023         (free_pre_mem): Delete edge vectors.
9024         (compute_pre_data): Call new edge based lcm routines.
9025         (process_insert_insn): New function.
9026         (insert_insn_end_bb): Use it.
9027         (pre_edge_insert): New function.
9028         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
9029         needed.
9030         (pre_insert_copies): Revamp using new edge based lcm outputs.
9031         (pre_delete): Likewise.
9032         (one_pre_gcse_pass): Insert & remove fake edges to the exit
9033         block.
9034         (compute_code_hoist_vbeinout): New new edge based routines.
9035         * lcm.c: Remove all the old LCM functions.  Replace with new ones
9036         that work with the new cfg datastructures and work with edges
9037         instead of blocks.
9039 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9041         * reload.h (struct reload): Add new fields "mode" and "nregs".
9042         * reload1.c: Change all occurrences of reload_mode and reload_nregs
9043         to reference the "mode" and "nregs" field within struct reload.
9045 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
9047         * haifa-sched.c (true_dependency_cache): New.
9048         (add_dependence): Use the true dependency cache to avoid expensive
9049         walks down the LOG_LINKS dependency list.  Add entries to the
9050         cache as necessary.
9051         (remove_dependence): Remove entries from the true dependency cache
9052         as needed.
9053         (schedule_insns): Allocate and initialize and free the true
9054         dependency cache.
9056         * haifa-sched.c (schedule_insns): Do not remove inter-block
9057         dependencies anymore.
9059 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
9061         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
9062         * i386/t-winnt: Likewise.
9064 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
9066         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
9068 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
9070         * Makefile.in (LANGUAGES): Omit "proto".
9071         (clean): Remove stale comment about removing unprotoize.c.
9073 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9075         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
9076         using arithmetic on void pointers.
9078 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
9080         * haifa-sched.c (compute_block_forward_dependencies): Only check
9081         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
9083 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
9085         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
9086         (expr_equiv_p): Reject memories with different alias sets.
9088 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
9090         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
9091         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
9092         (f_options): Add "bounded-pointers" and "bounds-check" entries.
9093         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
9094         (lang_init): Set default for flag_bounds_check if still "unspecified".
9096 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9098         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
9100 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9102         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
9103         instructions.
9105 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9107         * config/c4x/c4x.md (*db_noclobber,
9108         *decrement_and_branch_until_zero_noclobber): New patterns and
9109         associated splitters.
9111 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9113         * config/c4x/c4x.md (parallel instruction patterns): Rework
9114         constraints to keep reload happy.
9116 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9118         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
9119         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
9120         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
9121         Add new patterns and associated post-reload splitters.
9123 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9125         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
9127 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9129         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
9130         if appropriate.
9131         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
9133 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9135         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
9136         memory mode.
9138 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
9140         * pa.c (move_operand): Rely on memory_address_p to determine the
9141         validity of non-indexed memory addresses.
9142         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
9143         operand in DFmode and SFmode when generating PA2.0 code.
9145 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
9147         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
9149 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
9151         * mips.c (function_prologue): Fix argument types.
9152         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
9153         (casesi_internal): Write to the scratch register.
9155 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
9157         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
9158         to U_CHAR **.
9159         (parse_charconst): Delete unnecessary cast when calling
9160         cpp_parse_escape.
9161         (cpplib.h): Kill prototype of cpp_parse_escape.
9163 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
9165         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
9166         * unroll.c (unroll_loop): Cast return value of alloca.
9167         * i370/i370.c: Include function.h and toplev.h.
9168         (i370_label_scan): Remove c++ commented abort.
9169         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
9170         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
9171         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
9172         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
9174 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
9176         * config/t-freebsd: Do not override USER_H.
9177         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
9179 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
9180                           Mumit Khan  <khan@xraylith.wisc.edu>
9182         * c-parse.in (component_decl): Support anonymous struct/union.
9183         (%expect): Update.
9184         * c-parse.y: Regenerate.
9185         * c-parse.c: Likewise.
9186         * objc/objc-parse.y: Likewise.
9187         * objc/objc-parse.c: Likewise.
9188         * c-decl.c (finish_struct): Don't sort the fields.
9189         (field_decl_cmp): Delete unused function.
9191 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
9193         * sparc.md (movsf_const_intreg): Revert last constraint change.
9194         (movdf_const_intreg_sp32): Likewise.
9196 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
9198         * cse.c: Include hashtab.h instead of splay-tree.h
9199         (struct cse_reg_info): No longer use variant union.  Add new
9200         field "regno".  All references changed to avoid union.
9201         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
9202         (free_cse_reg_info): Remove.
9203         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
9204         (get_cse_reg_info): Revamp to use expandable hash tables instead
9205         of splay trees.  Initialize new fields in cse_reg_info structure.
9206         (new_basic_block): Similarly.
9208 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
9210         * genrecog.c (message_with_line): Prototype.
9211         (validate_pattern): Pass along the set for the dest, not a flag.
9212         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
9213         Check for PC/CC0 as sources.
9214         (nodes_identical): Check for children position match before
9215         allowing the combination.
9217         * rtl.c (read_rtx): Track line number across \\\n.
9219 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
9221         * mips.h (SPECIAL_MODE_PREDICATES): New.
9222         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
9223         (movdi+1, movsi+1): Add output reload constraint.
9224         (casesi_internal): Likewise.  Fix commentary.
9225         (return_internal): Use pmode_register_operand.
9227 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
9229         * 1750a.md (movstrqi): Add missing output reload constraint.
9230         (call_value): Likewise.
9231         * a29k.md (cpxxx patterns): Add missing match_operator mode.
9232         (jmpfdec): Add missing inout reload constraint.
9233         * elxsi.md (addsi patterns): Add missing output reload constraint.
9234         (move from sp): Use @ alternates.
9235         (call_value): No constraint on output.
9236         * fr30.md (movsi_pop): Add missing output reload constraint.
9237         (movsf_constant_store): Likewise.
9238         (splits): Remove constraints.
9239         (subsi3): Add missing mode.
9240         * i370.md (cmpstrsi+1): Add missing output reload constraint.
9241         (call_value): Likewise.
9242         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
9243         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
9244         * m32r.md (movsicc_internal): Add output reload constraint.
9245         (movstrsi_internal): Add inout reload constraints.
9246         * m88k.h (reg_names): Don't declare.
9247         (SPECIAL_MODE_PREDICATES): New.
9248         * m88k.md (*): Use register_operand not reg_or_0_operand
9249         on destinations.
9250         * mn10200.h (PREDICATE_CODES): New.
9251         * ns32k.md (ffs pattern): Add output reload constraint.
9252         * pdp11.md (sob pattern): Add inout reload constraint.
9253         * sh.md (splits): Remove constraints.
9254         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
9255         * v850.md (pattern_is_ok_for_epilogue): Likewise.
9256         * vax.md (jgequ pattern): Add inout reload constraint.
9258 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
9260         * configure.in (djgpp): Revert previous patch.
9261         * configure: Rebuit.
9262         * config/i386/djgpp.h: Revert previous patch.
9264 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
9266         * fixinc/inclhack.def: Restore patch lost during last merge of
9267         "no_bogosity" branch.
9268         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
9270 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
9272         * fixincludes: Add a HPUX 11 fix for inttypes.h.
9273         * fixinc/inclhack.def: Same.
9274         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
9276 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
9278         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
9279         as the base of a PLUS.
9281 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9283         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
9284         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
9286 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
9288         * pa.md (post_stw+1): Use pmode_register_operand.
9289         (dcacheflush, icacheflush): Likewise.
9291         * i386.md (movstricthi_1): Allow r/r.
9293 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
9295         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
9296         to (not (and (arg0) (arg1))). Similary for and.
9298         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
9299         fallthrough to associate code.
9300         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
9301         bits in common.
9303         * combine.c (simplify_logical): Convert XOR to IOR if operands have
9304         no bits in common; remove XOR to ROTATE conversion.
9306 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9308         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
9310 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9312         * config/c4x/c4x.c (dst_operand): New.
9313         (PREDICATE_CODES): Update.
9314         * config/c4x/c4x.h (dst_operand): Declare it.
9315         * config/c4x/c4x.md:  Define mode for each unspec usage.
9316         (move patterns):  Use dst_operand predicate instead of src_operand.
9317         (movqi_update, movqf_update): Delete.
9319 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
9321         * recog.c (pmode_register_operand): New.
9322         * recog.h: Declare it.
9323         * genrecog.c (pred_codes): Likewise.
9324         (special_mode_pred_table): Likewise.
9325         (validate_pattern): Don't warn no mode for address_operand.
9327         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
9328         if the operand is not insn-like.
9330 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
9331                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
9333         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
9335 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
9337         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
9338         instead of general_operand in a SET_DEST.  Use const_double_operand
9339         instead of an explicit test against CONST_DOUBLE.
9340         (movsf_const_lo): Add missing register mode.
9341         (goto_handler_and_restore): Add auxiliary test for Pmode.
9342         (flush): Adjust to use address_operand.
9343         (return_sf_no_fpu): Add missing output constraint.
9345 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
9347         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
9348         for call return value.
9349         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
9351 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
9353         * toplev.c (main): Only warn about options for other languages.
9354         * collect2.c (main): Pass -w to sub-gcc.
9356 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
9358         * flow.c (propagate_block): Add call-clobbered registers to
9359         significant too.
9361         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
9362         zapping mem_set_list.
9363         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
9364         (mark_set_1, mark_used_regs): Likewise.
9366 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
9368         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
9370 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9372         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
9373         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
9374         options. Also add a new item "C-only Warning Options" to the
9375         option summary.
9377 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
9379         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
9380         from multiple calls.
9382 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
9384         * i386.md (call value patterns): Move to the end of the file.
9385         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
9387 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
9389         * configure.in (djgpp configuration): Define extra_objects..
9390         * configure: Rebuilt.
9391         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
9392         (DTORS_SECTION_ASM_OP): Define.
9393         (INIT_SECTION_ASM_OP): Define.
9394         (FINI_SECTION_ASM_OP): Define.
9395         (DATA_SECTION_ASM_OP): Define.
9396         (TEXT_SECTION_ASM_OP): Define.
9397         (EH_FRAME_SECTION_ASM_OP): Define.
9398         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
9399         (STARTFILE_SPEC): Add crtbegin.o.
9400         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
9401         to here from LINK_COMMAND_SPEC.
9402         (DO_GLOBAL_CTORS_BODY): Define.
9403         (CRTSTUFF_USE_FINI_SECTION): Define
9404         (HAS_INIT_SECTION): Delete.
9406 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
9408         * Makefile.in (all.cross): Depend on xcpp$(exeext).
9410 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
9412         * pa.h (PREDICATE_CODES): New.
9414         * genrecog.c (validate_pattern): Condense the destination
9415         non-lvalue message.
9417 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
9419         * alpha.md (call-1): Supply missing mode for operator.
9420         (*): Add missing output reload constraints.  Remove constraints
9421         from define_splits.
9423         * i386.h (SPECIAL_MODE_PREDICATES): New.
9424         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
9425         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
9426         (addsi_lea_3): Add missing mode for op 3.
9427         (prologue_set_got, prologue_get_pc): Add missing modes.
9428         (*) Add missing output reload constraints.
9430 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
9432         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
9433         check for member bit-size overflow and use var_size if it occurs.
9434         (layout_record): Use bitsize_int() to define the type size in bits.
9435         Likewise for computation and assignment to DECL_FIELD_BITPOS.
9436         (layout_decl): Likewise when assigning to DECL_SIZE.
9438 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
9440         * genrecog.c (validate_pattern): Typo last change.  Verify
9441         that output operands have output reloads.
9443 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
9445         * genrecog.c (special_mode_pred_table): New.
9446         (NUM_SPECIAL_MODE_PREDS): New.
9447         (find_operand): New.
9448         (validate_pattern): New argument `insn'.  Warn for assignment to
9449         any predicate accepting non-lvalues.  Conditionaly warn for
9450         match_operand without a mode.  Try much harder to match source
9451         and destination modes on a set.
9452         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
9454 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
9456         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
9458 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
9460         * combine.c (simplify_logical): Recognize xor pattern that encodes
9461         rotation.
9463 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9465         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
9466         alignment.
9468 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
9470         * ggc-page.c (MAP_FAILED): Provide default.
9472 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
9474         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
9475         * sparc.h (PREDICATE_CODES): Update.
9477 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
9479         * alpha.c (some_ni_operand): New.
9480         * alpha-protos.h: Declare it.
9481         * alpha.h (PREDICATE_CODES): Update.
9482         * alpha.md (sXaddq reload insns): Use some_ni_operand
9483         for SET_DEST instead of some_operand.
9485 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
9486                           Jim Wilson  <wilson@cygnus.com>
9488         * genrecog.c (maybe_both_true_2): Don't compare modes of
9489         two DT_pred tests.
9490         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
9491         after find_afterward.
9492         (debug_decision_1): Dump next and afterward codes.
9494 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
9496         * rtl.c (dump_and_abort): Remove.
9497         (fatal_with_file_and_line): New.
9498         (fatal_expected_char): New.
9499         (read_rtx_lineno, read_rtx_filename): New.
9500         (read_skip_spaces): Track line number.
9501         (read_name): Use fatal_with_file_and_line.
9502         (read_rtx): Use fatal_expected_char.  Track line number.
9503         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
9505         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
9506         if it isn't a CODE_LABEL.
9508         * genattr.c (main): Set read_rtx_filename.
9509         * genattrtab.c (main): Likewise.
9510         * gencodes.c (main): Likewise.
9511         * genconfig.c (main): Likewise.
9512         * genemit.c (main): Likewise.
9513         * genextract.c (main): Likewise.
9514         * genflags.c (main): Likewise.
9515         * genopinit.c (main): Likewise.
9516         * genoutput.c (main): Likewise.
9517         * genpeep.c (main): Likewise.
9519         * genrecog.c (decision_test.u.insn): Add `lineno'.
9520         (pattern_lineno, error_count): New variables.
9521         (message_with_line): New.
9522         (add_to_sequence): Break out checking code to ...
9523         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
9524         (merge_insn): Use message_with_line.
9525         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
9526         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
9528 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9530         * expr.c (store_constructor): Clear union if constructor is empty.
9532 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
9534         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
9535         Add !endian checks.  Change %{...} to %(...).
9537 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
9539         * i386.md (*addsi3_cc): Renamed from addcsi3.
9540         (*addsi3_carry): Renamed from addxsi3.
9541         (*subsi3_cc): Renamed from subcsi3.
9542         (*subsi3_carry): Renamed from subxsi3.
9543         (*xorqi_cc_1): Renamed from xorcqi_1.
9544         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
9545         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
9547 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
9549         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
9550         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
9552 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
9554         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
9555         climb up the chain of insns.
9557 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
9559         * genrecog.c (write_subroutine): Careful for null trees.
9560         (process_tree): Don't elide empty functions.
9562 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
9564         * Makefile.in (genrtl.o): Depend on ggc.h.
9565         * configure.in (valloc): Probe for it.
9566         (with-gc): Use ggc-page if valloc present.
9567         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
9568         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
9569         (ggc_alloc_string): Moved from ggc-page.c.
9570         * ggc-none.c (ggc_alloc_obj): New.
9571         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
9572         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
9573         (struct globals): Likewise for dev_zero_fd.
9574         (init_ggc): Likewise for it's initialization.
9575         (ggc_allocated_p): Move careful dereference from ...
9576         (ggc_lookup_page_table): ... here.  Delete.
9577         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
9578         (alloc_anon): Use valloc if no mmap.
9579         (release_pages): Use free if using valloc.
9580         (ggc_alloc_obj): Renamed from alloc_obj.
9581         (ggc_set_mark): Renamed from mark_obj.
9582         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
9583         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
9584         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
9585         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
9586         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
9587         (ggc_collect): Use fp printing instead of our own rounding.
9588         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
9589         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
9590         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
9591         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
9592         (struct ggc_string, struct ggc_any): Delete.
9593         (offsetof): Provide default definition.
9594         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
9595         (PTR_KEY): New.
9596         (struct ggc_mem): New, from corpse of ggc_any.
9597         (struct ggc_status): Delete.
9598         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
9599         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
9600         (n_strings_collected, n_anys_collected): Delete.
9601         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
9602         (ggc_alloc_string, ggc_alloc): Delete.
9603         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
9604         (ggc_free_string, ggc_free_any): Delete.
9605         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
9606         (ggc_compare_addresses, ggc_mark_string): Delete.
9607         (ggc_mark_string_if_gcable, ggc_mark): Delete.
9608         (search_data): Delete.
9609         (struct globals): New.
9610         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
9611         (tree_insert, tree_lookup): New.
9612         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
9613         (clear_marks, sweep_objs): New.
9614         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
9615         (init_ggc): Set allocated_last_gc.
9616         (ggc_push_context): Gut.  Use G.context.
9617         (ggc_pop_context): Likewise.
9618         (ggc_pop_context_1): New.
9619         (debug_ggc_tree): New.
9620         (debug_ggc_balance, tally_leaves): New.
9621         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
9622         (ggc_mark_string_if_gcable): Remove decl.
9623         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
9624         (ggc_mark_rtvec_children): New.
9625         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
9626         (ggc_mark_if_gcable): New decl.
9627         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
9628         (ggc_alloc_tree, ggc_alloc): Likewise.
9629         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
9630         (ggc_alloc_obj): New decl.
9631         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
9632         (ggc_alloc_tree, ggc_alloc): Likewise.
9633         (ggc_set_mark): New decl.
9634         * rtl.h (struct rtx_def): Remove gc_mark.
9635         (struct rtvec_def): Likewise.
9636         * tree.h (struct tree_common): Likewise.
9638 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
9640         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
9641         float_format and thread_file definitions.
9642         * configure: Rebuilt.
9644 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
9646         * extend.texi (Function Names): Document types of function names.
9648 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9650         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
9651         an earlyclobbered output conflict with RELOAD_INPUT reloads.
9653 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9655         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
9657 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9659         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
9661 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
9663         * collect2.c (main): Do prelimnary link on AIX if rflag.
9665 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
9667         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
9668         __CTOR_LIST__ in opposite order, which is the correct order for sorted
9669         constructors.
9670         (__do_global_dtors): similarly for __DTOR_LIST__.
9672 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9673                                 Diego Novillo <dnovillo@cygnus.com>
9675         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
9676         FPUL_REGS.
9678 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
9680         * fixincl/*: Merged "no_bogosity" branch
9681         * fixincl/fixlib.h: protect against doubly defining t_bool
9682         * fixincl/server.h: protect against doubly defining t_bool
9684 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
9686         * genoutput.c: Include toplev.h.
9688 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
9690         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
9691         Undef.
9692         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
9693         * configure: Regenerate.
9695 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
9697         * gcse.c (delete_null_pointer_checks): Returns void.
9699 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9701         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
9702         * emit-rtl.c (copy_insn_1): Likewise.
9704 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
9706         * config/mips/mips.c (mips_build_va_list): Correct
9707         TREE_CHAIN setting when hard-float.
9708         (mips_va_start): Use corrected setting.
9709         (mips_va_arg): Likewise.  Also pass a tree to build of
9710         POSTINCREMENT_EXPR rather than a naked 'int'.
9712 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
9714         * ggc.h (ggc_push_context): Fix comment.
9715         (ggc_pop_context): Likewise.
9716         (mark_string_if_gcable): Likewise.
9717         * ggc-common.c (ggc_mark_rtx_children): Use
9718         ggc_mark_string_if_gcable.
9719         * ggc-page.c (ggc_lookup_page_table): New function.
9720         (ggc_allocated_p): Likewise.
9721         (mark_obj): Fix formatting.
9722         (ggc_mark_string_if_gcable): New function.
9723         * ggc-simple.c (ggc_allocated_strings): New variable.
9724         (ggc_strings_used): Likewise.
9725         (ggc_compare_addresses): New function.
9726         (ggc_pop_context): Pop the `any' memory too.
9727         (ggc_mark_string_if_gcable): New function.
9728         (ggc_collect): Initialize and tear down ggc_allocated_strings.
9730 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
9732         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
9733         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
9734         * rs6000.c (expand_block_move): Match movstrsi_?reg register
9735         changes.
9737 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
9739         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
9740         (sched_reg_live_length, sched_reg_basic_block): Delete.
9741         (current_block_num, bb_live_regs, old_live_regs): Delete.
9742         (dead_notes, struct sometimes): Delete.
9743         (sched_note_set, birthing_insn_p): Delete.
9744         (adjust_priority): Gut useless reg lifetime code.
9745         (create_reg_dead_note, attach_deaths): Delete.
9746         (attach_deaths_insn, new_sometimes_live): Delete.
9747         (finish_sometimes_live): Delete.
9748         (find_pre_sched_live, find_post_sched_live): Delete.
9749         (update_reg_usage): Delete.
9750         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
9751         (schedule_insns): Delete reg lifetime code.
9752         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
9753         (unlink_other_notes): Adjust REG_NOTE commentary.
9754         (reemit_notes): Use REG_SAVE_NOTE.
9755         (schedule_block): Likewise.
9756         (schedule_region): Allocate bitmap of blocks in region.  Use
9757         count_or_remove_death_notes.  Use update_life_info.
9759         * rtl.h (REG_SAVE_NOTE): New.
9760         * rtl.c (reg_note_name): Update.
9762 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
9764         * combine.c (refresh_blocks, need_refresh): New.
9765         (combine_instructions): Allocate refresh_blocks.  Invoke
9766         update_life_info if needed.
9767         (distribute_notes): Mark refresh_blocks instead of installing
9768         USE insns.
9769         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
9770         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
9772         * Makefile.in (recog.o): Depend on basic-block.h.
9774 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
9776         * genrecog.c (add_to_sequence): Thinko last change: delete
9777         shadowing allow_const_int variable.
9779 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9781         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
9782         __GNUC__ and __GNUC_MINOR__.
9784         * gansidecl.h: Likewise.
9786         * rtl.c: Likewise.
9788         * rtl.h: Likewise.
9790         * toplev.h: Likewise.
9792         * tree.c: Likewise.
9794         * tree.h: Likewise.
9796         * varray.c: Likewise.
9798         * varray.h: Likewise.
9800 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9802         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
9803         use one before a jump table.
9805         * rtl.def (ADDRESS): Change documentation to match reality.
9806         * md.texi: Don't document it.
9807         * gmicro.md (load address pattern): Use 'p' constraint, delete use
9808         of ADDRESS rtx.
9810         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
9812 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
9814         * genrecog.c (add_to_sequence): Move allow_const_int test outside
9815         known predicate block; default allow_const_int true.
9816         (debug_decision_list): New.
9818 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
9820         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
9822 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
9824         * gcse.c (gcse_main): Avoid global optimizations if we have a
9825         large number of basic blocks and the ratio of edges to blocks
9826         is high.
9827         (delete_null_pointer_checks): Likewise.
9829 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
9831         * c-common.c (check_format_info): Warn if format string isn't a
9832         string literal.
9834 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
9836         * configure.in (arm*-*-*): Don't let autoconf remove brackets
9837         * configure: regenerate
9839 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
9841         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
9842         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
9843         (peepholes): Re-enable.
9845 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
9847         * Makefile.in (flow.o): Depend on TREE_H.
9848         * basic-block.h (REG_SET_EQUAL_P): New.
9849         (XOR_REG_SET): New.
9850         (n_edges): Declare.
9851         (free_regset_vector): Remove declaration.
9852         (flow_delete_insn_chain): Declare.
9853         (enum update_life_extent): New.
9854         (update_life_info, count_or_remove_death_notes): Declare.
9855         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
9856         Verify register live at bb->global_live_at_start before adding USE.
9857         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
9858         (CLEAN_ALLOCA): New.
9859         (n_edges): New.
9860         (PROP_*): New flags.
9861         (find_basic_blocks_1): Use alloc_EXPR_LIST.
9862         (clear_edges): Zero n_edges.
9863         (make_edge): Increment n_edges.
9864         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
9865         (flow_delete_insn_chain): Export.
9866         (delete_block): Decrement n_edges.
9867         (merge_blocks_nomove): Likewise.
9868         (life_analysis): Give life_analysis_1 PROP flags.
9869         (verify_wide_reg_1, verify_wide_reg): New.
9870         (verify_local_live_at_start): New.
9871         (update_life_info): Rewrite to call into propogate_block.
9872         (mark_reg): New.
9873         (mark_regs_live_at_end): After reload, if epilogue as rtl,
9874         always mark stack pointer.  Conditionally mark PIC register.
9875         After reload, mark call-saved registers, return regsiters.
9876         (life_analysis_1): Accept PROP flags not remove_dead_code.
9877         Call mark_regs_live_at_end before zeroing regs_ever_live.
9878         Use calculate_global_regs_live.  Copy global_live_at_end before
9879         calling final propagate_block.  Zero reg_next_use on exit.
9880         (calculate_global_regs_live): New.
9881         (allocate_bb_life_data): Don't allocate bb->local_set.
9882         (init_regset_vector, free_regset_vector): Remove.
9883         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
9884         Test flags before every operation.  Warn if prologue/epilogue insn
9885         would have been deleted.
9886         (mark_set_regs, mark_set_1): Accept and use FLAGS.
9887         Use alloc_EXPR_LIST.
9888         (mark_used_regs): Accept and use FLAGS, not FINAL.
9889         Remove special handling for RETURN.
9890         (try_pre_increment): Use alloc_EXPR_LIST.
9891         (dump_flow_info): Dump n_edges.
9892         (unlink_insn_chain, split_hard_reg_notes): Remove.
9893         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
9894         (find_insn_with_note, new_insn_dead_notes): Remove.
9895         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
9896         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
9897         (replace_insns): Remove.
9898         (count_or_remove_death_notes): New.
9899         (verify_flow_info): Abort on error after all checks.
9900         (remove_edge): Decrement n_edges.
9901         (remove_fake_edges): Tweek format.
9902         * haifa-sched.c (schedule_insns): Use split_all_insns.
9903         * output.h (update_life_info): Remove declaration.
9904         * recog.c (split_all_insns): From the corpse of split_block_insns,
9905         do the whole function block by block.  Use update_life_info.
9906         (recog_last_allowed_insn): New.
9907         (recog_next_insn): Mind it.
9908         (peephole2_optimize): Set it.  Walk backwards through blocks.
9909         Use update_life_info.
9910         * rtl.h (update_flow_info, replace_insns): Remove declarations.
9911         (split_all_insns): Declare.
9912         * toplev.c (rest_of_compilation): Thread prologue before flow2.
9913         Use split_all_insns.
9915         * i386.md (or -1 peep2s): Disable.
9917 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
9919         * config/mips/mips.md (movstrsi+[123]) : Combine these into
9920         a single pattern.  Scrap the 'd' versions as unnecessary.
9922         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
9923         tablejump_mips162,tablejump_internal4): The operands to a
9924         label_ref must be VOIDmode.
9926 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9928         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
9930 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
9932         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
9934 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
9936         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
9937         cache every function if ggc_p.
9939 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9941         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
9942         instead of copy_rtx.  Accept sequences that contain asm statements.
9943         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
9944         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
9945         orig_asm_operands_vector, copy_asm_operands_vector,
9946         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
9947         variables.
9948         * rtl.h (copy_insn, copy_insn_1): Declare.
9950 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9952         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
9954         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
9955         arguments to `current_file_function_operand'.
9957         * genrecog.c: Include hard-reg-set.h and resource.h in the
9958         generated output file.
9960         * real.c: Include tm_p.h.
9962 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9964         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
9965         output operand.
9967 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
9969         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
9970         before the fctiwz insn.
9972 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9973                           Mark Mitchell  <mark@codesourcery.com>
9975         * tree.c (make_lang_type_fn): New funtion pointer.
9976         (make_lang_type): Call it.
9977         * tree.h (make_lang_type): Declare.
9978         (make_lang_type_fn): Likewise.
9979         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
9981 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
9983         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
9984         make sure that HIGH instructions are copied into BASE_REGS.
9986 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
9988         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
9990 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
9992         * c-decl.c (finish_struct): Use simpler method of
9993         removing elements of a singly-linked list.
9995 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
9997         * alpha.md (peephole2's): Comment out peephole2's that generate
9998         buggy code.
10000 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
10002         * genrecog.c (add_to_sequence): Disable mode check for
10003         wildcard matches.
10005 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10007         * ggc-simple.c (init_ggc): Set empty_string.
10009 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
10011         * configure.in: Detect mmap.  Add --with-gc=foo to select
10012         garbage collector; default to page if mmap available.
10013         * Makefile.in (GGC): Substitute.
10015 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
10017         * c-decl.c (ggc_p): Enable.
10019 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10021         * flow.c (verify_flow_info): Make it extern & unconditionally define.
10023 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
10025         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
10026         string for little-endian-data.
10028 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
10030         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
10031         case somebody tries to compile --enable-checking code with gcc
10032         1.34 or such.
10034 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
10036         * genrecog.c (add_to_sequence): Verify operand to label_ref is
10037         VOIDmode.
10039 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
10041         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
10042         * jump.c (jump_optimize_1): Document why.
10044 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10046         * collect2.c (scan_prog_file, scan_libraries): Prototype function
10047         pointers and casts for `int_handler' and `quit_handler'.
10049         * flow.c (verify_flow_info, split_hard_reg_notes,
10050         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
10051         remove_edge, remove_fake_successors): Add static prototypes.
10052         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
10053         (mark_set_1): Initialize variable `regno'.
10054         (unlink_insn_chain): Likewise for variable `curr'.
10055         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
10057         * loop.c (strength_reduce): Initialize variable
10058         `unrolled_insn_copies'.
10059         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
10060         prototypes.  Change these functions to take const PTR parameters
10061         to avoid prototype conflict when used as the comparson argument
10062         for qsort.
10063         (check_dbra_loop): Initialize variable `comparison_val'.
10065         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
10066         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
10067         (find_valid_class): Initialize variable `best_class'.
10068         (find_reloads): Call memcpy, not bcopy.
10070         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
10071         (hard_reg_use_compare): Don't needlessly cast away const.
10072         (reload_reg_class_lower): Likewise.
10073         (choose_reload_regs): Initialize variable `regno'.
10075 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
10077         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
10079 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
10081         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
10082         ({,d}discard): Add forward declarations.  Declare parameter as
10083         unused.
10084         (main_without_main): Explicitly declare return type to be int.
10085         (memcpy): Properly declare.
10087         * libgcc2.c (toplevel): If inhibit_libc is defined and not
10088         building the trampoline support, declare malloc, free, and
10089         atexit.
10090         (__clear_cache): Mark arguments as potentially unused.
10092         * frame.c (toplevel): If inhibit_libc is defined, declare
10093         malloc and free.
10095 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
10097         * flow.c (make_edge): Accept an optional 2D bitmap in which
10098         to cache edge existence.  Update all callers.
10099         (make_label_edge, make_eh_edge): Pass through the edge cache.
10100         (make_edges): Provide the cache.
10102 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10104         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
10105         a char*.
10106         (local_mbtowc): Change the type of variable `i' from int to size_t.
10108         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
10109         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
10111 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
10113         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
10114         after other includes that define the appropriate types.  Include
10115         tm_p.h for getting user prototypes.
10116         * ggc-callbacks.c (toplevel): Ditto.
10117         * ggc-none.c (toplevel): Ditto.
10118         * gcc-page.c (toplevel): Ditto.
10119         * ggc-simple.c (toplevel): Ditto.
10121 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
10122                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
10124         * config/mips/mips.c (mips_move_2words): Split doubles if
10125         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
10127 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
10129         * genrecog.c (struct decision_test): New.
10130         (struct decision): Remove test-related members, sort the rest by size.
10131         (IS_SPLIT): Simplify.
10132         (new_decision, new_decision_test): New.
10133         (add_to_sequence): Use them.  No special handling for args of
10134         non-MATCH codes.
10135         (maybe_both_true): Renamed from not_both_true; return sense changed.
10136         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
10137         of maybe_both_true and adjusted for decision_test.
10138         (position_merit): Remove.
10139         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
10140         (merge_accept_insn): New, broken out of merge_trees.
10141         (merge_trees): Use them.  No special case for c_test; no node
10142         splitting; use test type instead of position_merit.
10143         (factor_tests): New.
10144         (simplify_tests): New.
10145         (break_out_subroutines): Don't write code now.
10146         (find_afterward): New.
10147         (write_afterward, write_switch, write_cond): New.
10148         (write_action, is_unconditional): New.
10149         (write_node): New.  Use them.
10150         (write_tree_1): Rewrite.  Use the new functions above.
10151         (write_tree): Remove afterward processing.
10152         (write_subroutine): Simplify function variant emission.
10153         (write_subroutines): New.
10154         (same_codes, clear_codes): Remove.
10155         (same_modes, clear_modes): Remove.
10156         (write_header): New, broken out of main.
10157         (make_insn_sequence): Use new_decision and new_decision_test.
10158         (process_tree): New, broken out of main.
10159         (main): Adjust for merge_trees interface change.
10160         Don't #define operands in the output file.
10161         (record_insn_name): New, broken out of make_insn_sequence.
10162         (debug_decision_2, debug_decision_1, debug_decision_0): New.
10163         (debug_decision): New.
10165 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
10167         * resource.c (find_free_register): Mark class_str argument const.
10168         * resource.h: Update prototype to match.
10170         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
10171         * i386.md: Give all anonymous insns names.
10173 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
10175         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
10176         blocks.
10178 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
10180         * toplev.c (dbr_sched_time): Unconditional.
10181         (peephole2_time): New.
10182         (compile_file): Add pass numbers to all of the dump file suffixes.
10183         Dump peephole2_time.  Don't dump times for non-applicable passes.
10184         (rest_of_compilation): Add pass numbers to dump file suffixes.
10185         Conditionalize calls to the scheduler.
10186         * invoke.texi: Update.
10188 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
10190         * flow.c (make_edges): Fix insn iteration.
10191         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
10192         (find_basic_blocks_1): Fix spelling mistake.
10194 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
10196         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
10197         always have side-effects.  Use memset not bzero.
10198         (make_node): Likewise.
10200 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
10202         * stmt.c (expand_anon_union_decl): When any of the elements of the
10203         union is addressable, so is the entire union.
10205 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
10207         * sbitmap.c (sbitmap_ones): Don't set too many bits.
10209         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
10210         * bitmap.c (bitmap_operation): Return true iff TO changed.
10211         (bitmap_equal_p): New.
10212         (bitmap_bit_p): Tidy arithmetic.
10213         (debug_bitmap_file): Likewise.
10215 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
10217         * toplev.c (rest_of_compilation): Turn on cse_not_expected
10218         before cse2 instead of after.
10220 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
10222         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
10223         register offsets.
10225 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10227         * cppinit.c (is_idchar initializer): Loosen tests to accept
10228         gcc 2.>6 and >2.
10230 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
10232         * mips.md: Define conditional move patterns for floating point
10233         operands and DI mode conditions.
10235 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
10237         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
10238         always have side-effects.
10240 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
10242         * mn10200.c (asm_file_start): Fix typo.
10244         * cppinit.c (is_idchar initializer): Tighten tests for when
10245         to put the table into initialized memory.
10247         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
10248         not an array of rtunion.
10249         * gcc-page.c (ggc_alloc_rtvec): Similarly.
10250         * gcc-simple (ggc_free_rtvec): Similarly.
10252         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
10253         of rtunions.
10255         * mbchar.h: Add missing #endif.
10257         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
10258         (FPBIT, DPBIT): Define.
10260 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10262         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
10264         * profile.c (instrument_arcs, output_gcov_string,
10265         tablejump_entry_p): Add static prototypes.
10266         (output_gcov_string): Constify a char*.
10268         * regmove.c (replacement_quality, fixup_match_2): Add static
10269         prototypes.
10271         * resource.h (reg_dead_p): Add extern prototype.
10273         * rtl.c (trim_filename): Add static prototype.
10275         * scan-decls.c (skip_to_closing_brace): Likewise.
10277         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
10278         (expand_end_case): Initialize variable `range'.
10279         (emit_case_nodes): Remove unused prototype `rtx_fn'.
10281         * varasm.c (asm_emit_uninitialised): Add static prototype.
10282         (asm_emit_uninitialised, assemble_variable): Mark parameter with
10283         ATTRIBUTE_UNUSED.
10285 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10287         * cpplib.c (if_directive_nameo): Add static prototype.
10289         * cse.c (cse_insn): Remove unused variable `p'.
10291         * except.c (create_rethrow_ref, push_entry,
10292         receive_exception_label, new_eh_region_entry, find_func_region,
10293         clear_function_eh_region, process_nestinfo): Add static prototypes.
10294         (get_reg_for_handler): Hide definition.
10295         (process_nestinfo): Initialize variable `extra_handlers'.
10297         * expr.h (expand_builtin_longjmp): Add extern prototype.
10299         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
10301         * function.c (prepare_function_start): Likewise.
10302         (pop_function_context_from): Mark parameter `context' with
10303         ATTRIBUTE_UNUSED.
10304         (push_temp_slots_for_block, flush_addressof): Hide definition.
10306         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
10307         solve_program_flow_graph, calculate_branch_probs,
10308         function_summary, main, fancy_abort): Add prototypes.
10310         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
10311         (add_hash): Constify a char*.
10313         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
10314         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
10315         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
10317         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
10319         * lists.c (free_list, zap_lists): Likewise.
10321 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10323         * alias.c (nonlocal_reference_p): Add static prototype.
10325         * bitmap.c (bitmap_element_allocate): Prototype args in function
10326         pointer cast.
10328         * builtins.c (stabilize_va_list): Add static prototype.
10329         (expand_builtin_va_arg): Constify a char*.
10331         * c-lex.c (getch, put_back, extend_token_buffer_to,
10332         read_line_number, token_getch, token_put_back): Add static
10333         prototypes.
10335         * c-parse.gperf (hash, is_reserved_word): Likewise.
10337         * cccp.c (is_dir_separator): Likewise.
10339 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10341         * graph.h: New file to prototype functions exported by graph.c.
10343         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
10345         * graph.c: Include graph.h.
10347         * toplev.c: Likewise.  Remove redundant prototypes.
10349 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
10351         * invoke.texi: Removed duplicated description for -Q.
10353 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
10355         * extend.texi: Grammar fix in __extension__ text.
10357 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
10359         * md.texi (define_peephole2): New section.
10361 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
10363         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
10364         (mov $-1 to or peepholer): Enable for pentium when optimizing for
10365         speed.
10367 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
10369         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
10371 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
10373         * i386.md (ffs expander): Emit Pentium friendly code for
10374         TARGET_PENTIUM.
10376 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
10378         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
10379         for non-trees.
10380         (build1): Likewise.
10382 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10384         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
10386 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
10388         * config/m68k/m68k.c (use_return_insn): Return false if the pic
10389         register is in use.
10391 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10393         * md.texi (No Constraints): Delete section.
10394         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
10395         * final.c (final_scan_insn): We always have register constraints.
10396         * genattrtab.c: Don't include "insn-config.h".
10397         (write_attr_case): We always have register constraints.
10398         * genconfig.c (register_constraint_flag): Delete.
10399         (walk_insn_part): Don't check whether we have register constraints.
10400         (main): Don't write out "#define REGISTER_CONSTRAINTS".
10401         * genoutput.c (have_constraints): Delete.
10402         (main): Don't set it.
10403         (output_operand_data): We always have constraints.
10404         (scan_operands): Likewise.
10405         (compare_operands): Likewise.
10406         * local-alloc.c (block_alloc): We always have constraints.
10407         (requires_inout): Always compile this function.
10408         * recog.c (extract_insn): We always have constraints.
10409         (constrain_operands, reg_fits_class_p): Always compile these
10410         functions.
10411         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
10412         fields.
10413         (struct insn_operand_data): Likewise.
10414         * regclass.c (regclass): We always have constraints.
10415         (record_reg_classes, copy_cost, record_address_regs,
10416         auto_inc_dec_reg_p): Always compile these functions.
10417         * regmove.c (regmove_optimize): We always have constraints.
10418         * reload.c (find_reloads): Likewise.
10419         * reload1.c (reload): Likewise.
10420         (reload_cse_simplify_operands): Likewise.
10421         * i860.c (output_delay_insn): Likewise.
10423 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
10425         * iris6.h (BUILD_VA_LIST_TYPE): Define.
10427 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10429         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
10430         for the va_list record.
10432 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
10434         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
10435         prologues.
10437 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
10439         * alias.c: Include insn-flags.h.
10440         * Makefile.in (alias.o): Update.
10442 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
10444         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
10445         to LTU and GEU.  Handle more cases using sbb.
10447 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
10449         * i386.md (truncatexfdf splitters): Do not use subreg.
10450         (fop XFmode patterns): Fix mode in operand testing.
10452 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
10454         * jump.c (jump_optimize_1): Amend last change to test only the
10455         form of the operand, not the insn.
10457         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
10458         not register_operand to determine when B may need preloading.
10460 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
10462         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
10463         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
10464         (call-value patterns): Move to end of file.
10465         (*): Remove mode from label_ref in (pc) context.
10466         (movstrqi): Use memory not general_operand for BLKmode operands.
10467         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
10468         to register_operand operands.
10469         (peep2 patterns): Convert from commented-out peephole patterns.
10471 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10473         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
10474         to BUILT_IN_INIT_DWARF_REG_SIZES.
10475         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
10476         Renamed from BUILT_IN_DWARF_REG_SIZE; call
10477         expand_builtin_init_dwarf_reg_sizes.
10478         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
10479         with __builtin_init_dwarf_reg_size_table.
10480         * dwarf2out.c (struct reg_size_range): Delete.
10481         (expand_builtin_init_dwarf_reg_sizes): New function.
10482         (expand_builtin_dwarf_reg_size): Delete.
10483         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
10484         (expand_builtin_dwarf_reg_size): Don't declare.
10485         * libgcc2.c (dwarf_reg_size_table_initialized): New.
10486         (dwarf_reg_size_table): New.
10487         (init_reg_size_table): New function.
10488         (copy_reg): Use dwarf_reg_size_table.
10489         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
10490         before use.
10492 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
10494         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
10495         Correctly build argument list to constructor and destructor functions.
10497 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
10499         * c-tree.h (warn_float_equal): Declare.
10500         * c-decl.c (warn_float_equal): Define.
10501         (c_decode_option): Recognize -W[no-]float-equal.
10502         * c-typeck.c (build_binary_op): Conditionally warn
10503         about equality tests of floating point types.
10504         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
10505         * invoke.texi: Add docs for -Wfloat-equal warning.
10507 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
10509         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
10510         generating RTL directly.
10511         * mips.h (INIT_TARGET_OPTABS): Likewise.
10512         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
10514         * expr.h (init_mov_optab): Delete declaration
10516         * h8300.c (WORD_REG_USED): Update to avoid useless register
10517         saves in interrupt functions and functions which never return.
10519         * cse.c (struct set): Delete inner_dest_loc field.
10520         (cse_insn): Remove assignments to inner_dest_loc field.
10522 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
10524         * ggc-page.c: Don't include <unistd.h> etc taken care of
10525         by "system.h".  Include <sys/mman.h> afterward.
10527 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
10529         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
10530         ggc_alloc_string.
10532 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
10534         * xcoffout.c (xcoffout_declare_function): Add documentation.
10535         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
10536         TARGET_64BIT.  Compare constant to -1, not bit pattern.
10537         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
10538         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
10539         gen_movsi typos.
10541 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
10543         * dwarf2out.c (add_abstract_origin_attribute): Abort if
10544         origin_die is NULL.
10545         (gen_inlined_enumeration_type_die): Do not abort if the type has
10546         not been writeen out.
10547         (gen_inlined_structure_type_die): Do not abort if the type has
10548         not been writeen out.
10549         (gen_inlined_union_type_die): Do not abort if the type has
10550         not been writeen out.
10551         (gen_tagged_type_instantiation_die): Do not abort if the type
10552         has not been written out.
10554 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10556         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
10557         call it.
10558         * reg-stack.c (straighten_stack): Copy hard reg set with
10559         COPY_HARD_REG_SET.
10561 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
10563         * builtins.c (stabilize_va_list): Stabilize array type va_list
10564         to a pointer type, not the base record type.
10565         (expand_builtin_va_copy): Dereference the pointers explicitly;
10566         use the correct size for the copy.
10568         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
10569         (rs6000_va_arg): Likewise.
10571 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
10573         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
10575 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
10577         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
10578         field.
10579         (DECL_BUILT_IN_CLASS): Adjust accordingly.
10581 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
10583         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
10584         (init_ggc): Use it instead of a constant.
10585         (ggc_collect): Bound allocated_last_gc by it.
10587 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
10589         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
10590         with va_list.
10592 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
10594         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
10595         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
10596         * configure:  Regen.
10597         * config/mips/openbsd.h:  New, OpenBSD little endian target.
10598         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
10599         * config/mips/xm-openbsd.h:  New, OpenBSD host.
10601 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
10603         * config/m68k/m68k.c (output_function_prologue,
10604         output_function_epilogue): Use
10605         current_function_uses_pic_offset_table instead of regs_ever_live
10606         to decide whether to save/restore pic register.
10607         (legitimize_pic_address): Don't modify regs_ever_live any more.
10609 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
10611         * function.h (struct function): Add x_dont_save_pending_sizes_p.
10612         * stor-layout.c (variable_size): Don't add sizes to the pending
10613         sizes list if x_dont_save_pending_sizes_p is set.
10615 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
10617         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
10618         for symbolic_operand().
10619         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
10621 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10623         * combine.c (gen_rtx_combine): Add missing call to va_end().
10625         * final.c (asm_fprintf): Likewise.
10627         * genattrtab.c (attr_rtx): Likewise.
10629 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
10631         * cse.c: Update comments.
10632         (cse_insn): When converting a conditional/computed jump into
10633         an unconditional jump, always make sure a BARRIER immediately
10634         follows the converted jump.  Do not delete unreachable code.
10635         (cse_basic_block): Do not delete unreachable code.
10636         * toplev.c (rest_of_compilation): Move call to
10637         delete_trivially_dead_insns after the conditional call to
10638         jump_optimize.
10640 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10642         * collect2.c (make_temp_file): Don't prototype.
10644         * gcc.c (make_temp_file): Likewise.
10646         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
10648 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
10650         * varasm.c (asm_emit_uninitialised): New function: Generate
10651         the assembler statements necessary to declare an uninitialised
10652         variable.
10653         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
10654         variable.
10655         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
10656         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
10657         section.
10658         (assemble_variable): Use asm_emit_uninitialised to emit an
10659         uninitialised variable.
10661 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
10663         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
10664         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
10665         <geoffk@cygnus.com>.
10667 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10669         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
10670         * c-common.h (builtin_function): Don't declare.
10672         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
10673         DECL_BUILT_IN.
10674         (pushdecl): Likewise.
10675         (finish_decl): Likewise.
10676         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
10677         int.  All callers changed.
10678         Set the builtin's DECL_BUILT_IN_CLASS.
10679         * tree.h (enum built_in_class): New.
10680         (enum built_in_function): Delete NOT_BUILT_IN.
10681         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
10682         in a union.
10683         (DECL_SET_FUNCTION_CODE): Likewise.
10684         (DECL_BUILT_IN_CLASS): New macro.
10685         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
10686         (struct tree_decl): Split builtin function code field into a
10687         struct.
10688         (builtin_function): Declare.
10690 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
10692         * optabs.c (init_traps): Fix typo in last change.
10694 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
10696         * toplev.c (rest_of_decl_compilation): Update comment.
10698 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
10700         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
10701         in .sbss if appropriate.
10702         (EXTRA_SECTION_FUNCTIONS): Add sbss.
10703         (SBSS_SECTION_ASM_OP): New macro.
10704         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
10705         (EXTRA_SECTIONS): Add in_sbss.
10706         * config/mips/mips.h: Prototype sbss_section.
10708 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
10710         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
10711         to disappear.
10713 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
10715         * optabs.c (init_traps): Register trap_rtx as a GC root.
10717 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10719         * config/mips/mips.c (function_arg_pass_by_reference): Define
10720         unconditionally, since it's called unconditionally.
10722 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
10724         * toplev.c (documented_lang_options): Add -fshort-wchar.
10725         * c-decl.c (c_decode_option): Likewise.
10726         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
10727         for wchar_t.
10728         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
10729         * gcc.c (default_compilers): If -fshort-wchar,
10730         override __WCHAR_TYPE__.
10731         * tm.texi (C Dialect Options): Add -fshort-wchar.
10733         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
10734         symbol for a variable.
10736         * cpplib.h (CPP_PREPROCESSED): New macro.
10737         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
10738         we're seeing this input for a second time.
10740 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
10742         * emit-rtl.c (init_emit_once): Initialize modes first.
10744 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
10746         * config/i386/i386.c (pic_label_name): Change to char pointer.
10747         (global_offset_table): New variable.
10748         (load_pic_register): Fill global_offset_table if it hasn't
10749         already been done.  Allocate pic_label_name dynamically.
10750         * ggc.h (empty_string): New variable.
10751         * ggc-simple.c (empty_string): Likewise.
10752         (init_ggc): Allocate empty_string and add as root.
10753         * stmt.c (digit_strings): New variable.
10754         (init_stmt): Add last_block_end_note as root.  Allocate and
10755         initialize digit_strings.
10756         (expand_asm_operands): Use empty_string instead of string
10757         constant.  Use digit_strings instead of string constants.
10758         * profile.c (init_arc_profiler): Allocate string with
10759         ggc_alloc_string instead of xmalloc.
10760         (output_func_start_profiler): Likewise.
10761         * c-typeck.c (digest_init): Check if init is error_mark_node.
10763 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
10764                           Richard Henderson  <rth@cygnus.com>
10766         * ggc-page.c: New file.
10767         * Makefile.in (ggc-page.o): New.
10769 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
10771         * invoke.texi: Document -fdelete-null-pointer-checks
10772         * toplev.c (flag_delete_null_pointer_checks): New.
10773         (f_options): Add entry for -fdelete-null-pointer-checks.
10774         (rest_of_compilation): Conditionalize null pointer check
10775         elimination on flag_delete_null_pointer_checks.
10776         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
10778 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
10780         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
10781         copyright notice and special exception to GPL.
10783 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10785         * abi64.h (mips_function_value): Add prototype arguments.
10787         * mips-protos.h: New file with mips prototypes.
10789         * mips.c: Include "tm_p.h".
10790         (mktemp, lookup_name): Add prototype arguments.
10791         (extern_list, string_constant, mips_fill_delay_slot,
10792         mips_output_external, mips_output_external_libcall,
10793         mips_output_filename, mips_declare_object, function_prologue,
10794         mips_expand_prologue, function_epilogue, mips16_constant,
10795         build_mips16_function_stub, mips_output_conditional_branch):
10796         Constify a char*.
10797         (mips_va_start): Remove unused variable `u'.
10798         (mips_va_arg): Cast value to unsigned when comparing against one.
10799         (trace): Delete.
10800         (save_restore_insns, mips_expand_prologue): Add missing arg in
10801         call to `large_int'.
10803         * mips.h: Move prototypes to mips-protos.h.
10804         (data_section, memory_address_p, rdata_section,
10805         readonly_data_section, simple_epilogue_p, text_section): Delete
10806         prototypes delcared elsewhere.
10807         (mips_epilogue_delay_slots, print_options): Delete unused decls.
10808         (trace): Delete.
10809         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
10811         * mips.md: Delete extra args in call to `mips_move_2words'.
10813         * xm-iris6.h (alloca): Add prototype argument.
10815         * genpeep.c: Include "tm_p.h" in generated output file.
10817 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
10819         * basic-block.h (find_edge_index): Change parameters.
10820         * flow.c (verify_edge_list): Pass basic_block parameters to
10821         find_edge_index instead of integers.
10823 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
10825         * combine.c (simplify_comparison): Use an unsigned shift to adjust
10826         the constant.
10828 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
10830         * gcc.1: Fix a formatting error.
10832 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10834         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
10835         i786, mn10200, mn10300, pdp11, v850.
10837 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
10839         * libgcc2.c (num_digits): Add prototype with
10840         __attribute__((const)).
10841         (__terminate): Add prototype.
10843 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
10845         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
10847         * alpha/alpha.c (print_operand): Fix type of `code'.
10848         (alpha_output_filename): Constify.
10849         * alpha/alpha.h: Move all function declarations ...
10850         * alpha/alpha-protos.h: ... here.  New file.
10851         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
10852         (SECTION_FUNCTION_TEMPLATE): Likewise.
10854 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10856         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
10857         * expr.c (expand_expr): Likewise.
10858         (do_jump): Likewise.
10859         (do_store_flag): Pass ccp_store_flag to can_compare_p.
10860         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
10861         accessor macros.
10862         (enum can_compare_purpose): New.
10863         (can_compare_p): Adjust prototype.
10864         (prepare_cmp_insn, prepare_operand): Declare.
10865         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
10866         * optabs.c (cmp_available_p): Deleted.
10867         (expand_abs): Pass ccp_jump to can_compare_p.
10868         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
10869         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
10870         Call can_compare_p rather than cmp_available_p.
10871         (prepare_operand): No longer static.
10872         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
10873         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
10874         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
10875         sequence to use emit_cmp_and_jump_insns.
10876         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
10878 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
10880         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
10881         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
10882         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
10883         (plus (reg) (const_int 0))
10884         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
10886 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
10888         * rs6000.c (expand_block_move): DImode loads and stores require
10889         word-aligned displacements.  Increment address registers with
10890         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
10892 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
10894         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
10895         is no name for the base type, rather than segfault.  If we are
10896         writing out a complex integer type, use DW_ATE_lo_user.
10898         * expr.c (emit_move_insn_1): If we are copying a complex that fits
10899         in one word or less (complex char, complex short, or on 64 bit
10900         systems complex float) to/from a hard register, copy it through
10901         memory instead of dying in gen_{real,imag}part.  If we have a
10902         short complex type, prevent inlining since it allocates stack
10903         memory.
10905         * tree.c (build_complex_type): If we are writing dwarf2 output,
10906         generate a name for complex integer types.
10908 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
10910         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
10911         * flow.c (remove_edge): Remove extra whitespace.
10912         (remove_fake_edges): Fix comment.
10913         (add_noreturn_fake_exit_edges): Use the correct name.
10915 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
10917         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
10918         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
10919         (clean): Depend on INTL_CLEAN.
10920         (maintainer-clean): Adjust.
10922 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10924         * configure.in (AC_PREREQ): Bump to 2.13.
10925         (AC_C_STRINGIZE): Call this instead of using a custom macro.
10927         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
10929         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
10931         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
10933         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
10934         (HAVE_STRINGIZE): Define.
10936 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
10938         * c-parse.in: save and restore warn_pointer_arith on __extension__
10939         along with pedantic.
10940         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
10941         Set the type of extension to itype rather than $<itype>1 kludge.
10942         * extend.texi (Alternate Keywords): Adjust documentation.
10943         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
10945 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
10947         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
10948         most assembler templates.
10950         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
10951         FP loads and stores.
10952         (following_call): Always return zero for the PA8000.
10953         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
10954         FP loads and stores.
10955         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
10957         * pa.h (BRANCH_COST): Define.
10959         * pa.md (return, return_internal): Use bve for PA2.0.
10961         * pa.md (fused multiply): Add variants which reduce height for the
10962         fused multiply, but which still generate 2 insns.
10963         (fnegabs): Similarly.
10965         * pa.md (subsi3): Turn into an expander.  Create two anonymous
10966         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
10967         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
10969         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
10970         for TARGET_PA_20.
10971         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
10972         code generation.
10973         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
10974         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
10976         * regclass.c (init_regs): Add "top_of_stack" as a garbage
10977         collection root.
10979         * flow.c (record_active_eh_regions): Terminate loop after finding
10980         the last insn in the last basic block.
10982 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10984         * config/c4x/c4x.md: Delete parallel instruction peepholes.
10986 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10988         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
10990 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10992         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
10993         splitting to not use output template.
10995 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10997         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
10998         * config/c4x/c4x.c (c4x_va_start): New function.
11000 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
11002         * genrecog.c (not_both_true): Handle correctly cases when called for
11003         tests with different positions in the insn.
11005 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11007         * machmode.h (HOST_PTR_PRINTF): Move from here ...
11009         * system.h (HOST_PTR_PRINTF): ... to here.
11011         * mips-tfile.c: Don't include machmode.h.
11013         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
11014         (mips-tfile.o): Don't depend on machmode.h.
11016 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11018         * haifa-sched.c (sched_analyze): Rename local variable `region' to
11019         avoid conflicts with typedef struct `region' at the top level scope.
11021 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
11023         * basic-block.h (basic_block): Add eh_beg, eh_end.
11024         * flow.c (entry_exit_blocks): Update.
11025         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
11026         Call new functions.
11027         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
11028         lists.c functions to allocate insn lists.
11029         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
11030         edge creation ...
11031         (make_eh_edge): ... here.  New.
11032         (move_stray_eh_region_notes): New.
11033         (record_active_eh_regions): New.
11034         (delete_unreachable_blocks): Split out block merging ...
11035         (try_merge_blocks): ... here.  New.
11036         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
11037         Dump debugging data.
11038         (merge_blocks_move_successor_nojumps): Likewise.
11039         (merge_blocks): Use eh_beg+eh_end to validate block movement.
11041 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11043         * extend.texi (Bound member functions): Document unbound pmf
11044         conversion.
11046 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
11048         * flow.c (split_edge): Handle insertion on a fallthrough edge which
11049         has the EXIT_BLOCK as a dest.
11051 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
11053         * flow.c (remove_edge): New function to remove an edge from the
11054         flow graph.
11055         (remove_fake_successors): New function to remove fake successor edges.
11056         (remove_fake_edges): New function to remove all fake edges from the
11057         flow graph.
11058         (add_fake_exit_edges): New function to add fake edges from all blocks
11059         with no successors to the exit block.
11060         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
11061         prototypes for new functions.
11063 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
11065         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
11066         Use Pmode to determine whether to output .dword or .word.
11068 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
11070         * tree.c (built_in_filename): New variable.
11071         (BUILT_IN_FILENAME): New macro.
11072         (init_tree_codes): Allocate built_in_filename.
11073         (make_node): Use built_in_filename instead of string constant.
11075 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
11077         * configure.in: Add fr30 target.
11078         * configure: Regenerate.
11079         * config/fr30: New directory.
11080         * config/fr30/crti.asm: New file.
11081         * config/fr30/fr30.c: New file.
11082         * config/fr30/crtn.asm: New file.
11083         * config/fr30/fr30.h: New file.
11084         * config/fr30/fr30.md: New file.
11085         * config/fr30/lib1funcs.asm: New file.
11086         * config/fr30/t-fr30: New file.
11087         * config/fr30/xm-fr30.h: New file.
11089 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
11091         * flow.c (merge_blocks_move_successor_nojumps): Delete the
11092         BARRIER at the end of the successor, not the BARRIER before
11093         the successor.
11095         * pa.c (pa_add_gc_roots): Fix thinko in last change.
11097 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
11099         * stmt.c (any_pending_cleanups): Don't crash when
11100         current_function->stmt is unset.
11102 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11104         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
11105         other initializations that may use it for relative offsets.
11107 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11109         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
11110         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
11111         * config/i386/sol2dbg.h: Removed.
11112         * config/i386/sol2gas.h: New file, to enable gas work-around.
11113         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
11114         Don't use sol2dbg.h.
11115         * configure: Rebuilt.
11117 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
11119         * invoke.texi (-fthis-is-variable): Remove documentation.
11121 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
11123         * basic-block.h (compute_bb_for_insn): Declare.
11124         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
11125         to use; set size of basic_block_for_insn directly.
11126         (find_basic_blocks): Update.
11128 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11130         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
11132 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11134         * crtstuff.c (ON_EXIT): Delete empty macro definition.
11135         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
11137 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
11139         * c-decl.c (c_decode_option): Extend comment.
11141 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
11143         * toplev.c (progname): Make 'const char *'
11144         (flag_print_mem): Move out of main.
11145         (version_flag): Move out of main.
11146         (filename): Move out of main.
11147         (debug_args): Remove g prefix from options.
11148         (documented_lang_options): Remove cpplib specific options.
11149         (display_help): Add g prefix to debug options.
11150         (check_lang_option): Delete this function.
11151         (decode_d_option): New function: Decode -d... option.
11152         (decode_f_option): New function: Decode -f... option.
11153         (decode_W_option): New function: Decode -W... option.
11154         (decode_g_option): New function: Decode -g... option.
11155         (independent_decode_option): New function: Decode a language
11156         independent command line option.
11157         (main): Invoke lang_decode_option and then
11158         independent_decode_option on each command line option in
11159         turn.
11161 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
11163         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
11164          * fold-const.c (fold_range_test): Do not try to fold the range
11165          test if the rhs or lhs has side effects.
11167         * basic-block.h (compute_flow_dominators): Declare.
11169         * gcse.c (alloc_code_hoist_mem): New function.
11170         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
11171         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
11172         (hoist_code, one_code_hoisting_pass): Likewise.
11173         (gcse_main): If optimizing for size, then hoist expressions
11174         computed in multiple dominated basic blocks.
11176         * gcse.c (invalid_nonnull_info): New function.
11177         (delete_null_pointer_checks): Likewise.
11178         * rtl.h (delete_null_pointer_checks): Declare.
11179         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
11181         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
11182         (merge-blocks_move_successor_nojumps): Likewise.
11183         (merge_blocks): Allow merging of some blocks, even if it requires
11184         physical movement of the blocks, but not if it requires new jumps.
11186         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
11187         Callers and prototype changed.
11188         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
11190 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11192         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
11193         -YP when both -p and -pg are present.  From i386/sol2.h.
11195 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11197         * Makefile.in (distclean): Delete tm_p.h.
11198         * configure.in: Create a new file, "tm_p.h", from a list in
11199         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
11200         "i386/i386-protos.h".
11202         * alias.c: Include "tm_p.h".
11203         * c-typeck.c: Likewise.
11204         * calls.c: Likewise.
11205         * cse.c: Likewise.
11206         * emit-rtl.c: Likewise.
11207         * explow.c: Likewise.
11208         * expmed.c: Likewise.
11209         * expr.c: Likewise.
11210         * final.c: Likewise.
11211         * flow.c: Likewise.
11212         * fold-const.c: Likewise.
11213         * function.c: Likewise.
11214         * gcse.c: Likewise.
11215         * global.c: Likewise.
11216         * haifa-sched.c: Likewise.
11217         * integrate.c: Likewise.
11218         * jump.c: Likewise.
11219         * local-alloc.c: Likewise.
11220         * loop.c: Likewise.
11221         * optabs.c: Likewise.
11222         * recog.c: Likewise.
11223         * reg-stack.c: Likewise.
11224         * regclass.c: Likewise.
11225         * regmove.c: Likewise.
11226         * reload.c: Likewise.
11227         * reload1.c: Likewise.
11228         * reorg.c: Likewise.
11229         * resource.c: Likewise.
11230         * stmt.c: Likewise.
11231         * stor-layout.c: Likewise.
11232         * toplev.c: Likewise.
11233         * tree.c: Likewise.
11234         * unroll.c: Likewise.
11235         * genattrtab.c (main): Make generated file include "tm_p.h".
11236         * genemit.c (main): Likewise.
11237         * genoutput.c (main): Likewise.
11238         * genrecog.c (main): Likewise.
11240         * i386.h: Delete all prototypes.
11241         * i386.c: Include "tm_p.h".
11242         (ix86_attr_length_default): Call constant_call_address_operand
11243         with correct number of arguments.
11244         * i386-protos.h: New file.
11245         * i386.md (unnamed patterns): Call constant_call_address_operand
11246         with correct number of arguments.
11247         (exception_receiver): Call load_pic_register with correct number
11248         of arguments.
11250 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
11252         * c-pragma.c (mark_align_stack): Dereference the void* properly.
11254 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
11256         * rtl.h (insns_safe_to_move_p): New function.
11257         * loop.c (find_and_verify_loops): Use it.
11258         * rtlanal.c (insns_safe_to_move_p): Define it.
11260 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
11262         * c-pragma.c: Include ggc.h.
11263         * Makefile.in (c-pragma.o): Update.
11265 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11267         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
11268         (LIB_SPEC): Likewise.
11269         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
11270         Reindent -YP/-p/-pg.
11271         Copied from config/sparc/sol2.h.
11273 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
11275         * c-pragma.c (mark_align_stack): New.
11276         (init_pragma): New.
11277         * c-pragma.h (init_pragma): Declare it.
11278         * c-lex.c (init_parse): Call it.
11280 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11282         * configure.in: Pick up thread library on Solaris/x86 just
11283         like on Solaris/sparc.
11284         * configure: Rebuilt.
11286 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
11288         * rtl.h (global_rtx_index): New enum.
11289         (global_rtl): Change to array of rtx.
11290         (pc_rtx, cc0_rtx): Redefine accordingly.
11291         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
11292         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
11293         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
11294         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
11295         (const_int_rtx): Change to array of rtx.
11296         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
11297         accordingly.
11298         * emit-rtl.c (global_rtl): Change to array of rtx.
11299         (const_int_rtx): Change to aray of rtx.
11300         (gen_rtx_CONST_INT): Redefine accordingly.
11301         (init_emit_once): Allocate and initialize global_rtl.  Likewise
11302         for const_int_rtx.  Add both as GC roots.
11303         * genattrtab.c (global_rtl): Update declaration.
11305 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
11307         * Makefile (USER_H): Add iso646.h back.
11309 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
11311         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
11312         zapping the LOG_LINKS of sched_before_next_call.
11314         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
11315         * pa.c (insn_refs_are_delayed): Renamed from
11316         insn_sets_and_refs_are_delayed.
11318 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
11320         * functiion.h (struct function): Add x_whole_function_mode_p.
11321         (retrofit_block): Declare.
11322         * function.c (retrofit_block): New function.
11323         (identify_blocks): Add assertions.  Allow an incomplete set of
11324         block notes if we're still generating code for the function.
11325         * integrate.c: Include loop.h.
11326         (expand_inline_function): Call find_loop_tree_blocks to map block
11327         notes to blocks when in whole-function mode.  Use retrofit_block
11328         to insert new BLOCKs for the inlined function, rather than
11329         insert_block.
11330         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
11331         * Makefile.in (integrate.o): Depend on loop.h.
11333 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
11335         * tree.h (warn_about_unused_variables): Declare.
11336         * stmt.c (warn_about_unused_variables): New function, split out
11337         from ...
11338         (expand_end_bindings): Here.
11340 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
11342         * stmt.c (preserve_subexpressions_p): Don't crash when
11343         current_function->stmt is unset.
11345 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
11347         * stmt.c (expand_start_bindings): Allow callers to pass a flag
11348         indicating that no NOTE_INSN_BLOCK_BEG note is required.
11349         (expand_start_target_temps): Use it.
11350         * except.c (expand_eh_region_start_for_decl): Likewise.
11351         * expr.c (expand_expr): Likewise.
11353 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11355         * fold-const.c (operand_equal_p): Pay attention to side effects.
11357 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
11359         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
11360         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
11362         * tlink.c (scan_linker_output): Look for keywords before accepting
11363         a mangled name in quotes.
11365 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
11367         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
11368         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
11370 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
11372         * alpha.md: Revert Thu Nov 26 change that came in through the
11373         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
11374         Avoid earlyclobber when possible.
11376 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11378         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
11380         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
11381         Define HAVE_ON_EXIT.
11383 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11385         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
11386         CTYPE_CONV in all ctype macros.
11388         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
11389         from system.h.
11391         * cexp.y (initialize_random_junk): Likewise.
11393         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
11395         * i370.c (handle_pragma): Likewise.
11397         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
11399         * v850.c (override_options): Likewise.
11401         * doprint.c (_doprnt): Likewise.
11403         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
11404         Likewise.
11406         * fixinc/server.c (load_data): Likewise.
11408         * fold-const.c (real_hex_to_f): Likewise.
11410         * genattr.c (write_upcase, gen_attr): Likewise.
11412         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
11413         write_upcase): Likewise.
11415         * genemit.c (print_code): Likewise.
11417         * genopinit.c (gen_insn): Likewise.
11419         * genpeep.c (print_code): Likewise.
11421         * genrecog.c (print_code): Likewise.
11423         * optabs.c (init_libfuncs): Likewise.
11425 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
11427         * haifa-sched.c (sched_analyze): Keep the list of notes organized
11428         in pairs.
11429         (reemit_notes): Likewise.
11431 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
11433         * ggc.h (ggc_root): Move to ggc-common.c.
11434         (roots): Remove.
11435         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
11436         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
11437         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
11438         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
11439         * ggc-common.c (ggc_root): Move from ggc.h.
11440         (roots): Declare, static.
11441         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
11442         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
11443         null or check/set mark bit.
11444         (ggc_mark_roots): New.
11445         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
11447 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
11449         * m32r.c: Include toplev.h.
11450         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
11451         (gen_compare): Rename swap_p to must_swap to match uses.
11452         Add default abort case.
11453         (m32r_output_function_epilogue): Remove unused variables.
11454         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
11455         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
11456         define to empty parameter list.  Update all uses.
11457         (predicate decls): Use enum machine_mode not int.
11458         * m32r.md (movsi): Call abort, not fatal_insn.
11459         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
11461 1999-09-14  Andrew Haley  <aph@cygnus.com>
11463         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
11464         use $0 instead of 0.
11466 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11468         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
11469         computation out of loop over hard regs.
11471 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
11473         * function.c (identify_blocks): Don't shadow a variable in an
11474         outer scope.
11475         * integrate.c (integrate_decl_tree): Don't use pushlevel,
11476         pushdecl, or poplevel to build up the new BLOCK tree.
11477         (expand_inline_function): Likewise.
11478         (integrate_parm_decls): Likewise.
11480 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
11482         * c-typeck.c (qualify_type): Merge qualifiers from both types.
11484 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
11486         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
11487         * invoke.texi: Document this change.
11489 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
11491         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
11492         Free the struct.
11493         (mark_emit_status): Renamed from mark_emit_state.
11494         * except.c (mark_eh_status): Renamed from mark_eh_state.
11495         Check not null before marking.
11496         (free_eh_status): New.
11497         * expr.c (mark_expr_status, free_expr_status): New.
11498         * function.c (free_machine_status): New.
11499         (free_after_parsing): New.
11500         (free_after_compilation): Move bits to free_after_parsing; call
11501         free_eh_status, free_expr_status; zero the marked members of the
11502         function state.
11503         (prepare_function_start): No can_garbage_collect.
11504         Call init_eh_for_function.
11505         (expand_dummy_function_end): Free up current_function state.
11506         (mark_function_status): Renamed from mark_function_state.
11507         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
11508         * function.h (struct function): No can_garbage_collect.
11509         (free_machine_status, free_after_parsing): Declare.
11510         (free_eh_status, free_expr_status): Declare.
11511         * ggc.h (mark_expr_status): Declare.
11512         * stmt.c (free_stmt_status): Free the struct.
11513         (mark_stmt_status): Renamed from mark_stmt_state.
11514         (init_stmt): Don't call init_eh.
11515         (init_stmt_for_function): Don't call init_eh_for_function.
11516         * toplev.c (compile_file): Call init_eh.
11517         (rest_of_compilation): Free basic block info before ggc_collect.
11518         Call free_after_parsing; conditionally call free_after_compilation.
11519         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
11520         Check not null before marking.
11521         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
11523 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
11525         * c-lex.c (yylex): Initialize warn.
11527 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
11529         * pa.c (emit_move_sequence): Properly set the mode of the scratch
11530         register when performing secondary reloads for the SAR register.
11532 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
11534         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
11535         (NOTE_BLOCK): New macro.
11536         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
11537         * function.h (identify_blocks): Change prototype.
11538         * function.c (identify_blocks): Simplify.
11539         (reorder_blocks): Likewise.
11540         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
11541         NOTE_INSN_BLOCK_{BEG,END}.
11542         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
11543         the list of saved notes if the note isn't a
11544         NOTE_INSN_BLOCK_{BEG,END}.
11545         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
11546         NOTE_BLOCK_NUMBER.
11547         (reemit_notes): Adjust recreation of notes to reflect new saved
11548         note structure.
11549         * print-rtl.c (print_rtx): Print the address of the BLOCK when
11550         printing a block note.
11551         * stmt.c (block_vector): Remove.
11552         (find_loop_tree_blocks): Simplify.
11553         (unroll_block_trees): Likewise.
11554         * tree.h (reorder_block): Change prototype.
11556 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
11558         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
11559         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
11560         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
11561         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
11562         (atexit, exit): Simplify.
11563         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
11564         * config/lots: Remove defns of HAVE_ATEXIT.
11566 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
11568         * calls.c (precompute_arguments): Fix typo in comment.
11569         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
11570         TARGET_EXPR.
11572 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
11574         * dsp16xx.c (override_options): Fix typos in GC root registration.
11576 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
11578         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
11579         from config/svr4.h.
11580         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
11581         (FUNCTION_PROFILER): Redefine appropriately for Linux.
11582         (CC1_SPEC): Likewise.
11584 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11586         * genattr.c (main): Add extern prototype.  Call return, not exit.
11587         * genattrtab.c (main): Likewise.
11588         * gencheck.c (main): Likewise.
11589         * gencodes.c (main): Likewise.
11590         * genconfig.c (main): Likewise.
11591         * genemit.c (main): Likewise.
11592         * genextract.c (main): Likewise.
11593         * genflags.c (main): Likewise.
11594         * gengenrtl.c (main): Likewise.
11595         * genopinit.c (main): Likewise.
11596         * genoutput.c (main): Likewise.
11597         * genpeep.c (main): Likewise.
11598         * genrecog.c (main): Likewise.
11600         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
11601         * genattrtab.c (get_insn_name): Likewise.
11602         * gencodes.c (get_insn_name): Likewise.
11603         * genconfig.c (get_insn_name): Likewise.
11604         * genemit.c (get_insn_name): Likewise.
11605         * genextract.c (get_insn_name): Likewise.
11606         * genflags.c (get_insn_name): Likewise.
11607         * genopinit.c (get_insn_name): Likewise.
11608         * genpeep.c (get_insn_name): Likewise.
11610         * gencheck.c (usage): Add static prototype.
11611         * genextract.c (print_path): Constify a char*.
11612         * genopinit.c (optabs): Likewise.
11613         * genoutput.c (operand_data, data, output_predicate_decls,
11614         compare_operands): Likewise.
11615         * genrecog.c (write_tree): Add default case in switch.
11617 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11619         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
11621         * print-rtl.c (get_insn_name): Remove prototype.
11623         * toplev.h (progname): Declare const.
11625         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
11626         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
11627         dump_sched_info, dump_local_alloc, regset_release_memory,
11628         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
11629         error_with_file_and_line, error_with_decl, error_for_asm, error,
11630         fatal, warning_with_file_and_line, warning_with_decl, warning,
11631         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
11632         Remove redundant prototypes.
11634         (notice, check_lang_option, report_file_and_line, vnotice,
11635         mark_file_stack): Add static prototype.
11636         (set_fatal_function): Add prototype.
11637         (vnotice, report_file_and_line, set_fatal_function,
11638         check_lang_option): Constify a char*.
11639         (main): Prototype.  Call return, not exit.
11641 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11643         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
11645         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
11647         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
11649         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
11651 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11653         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
11654         behave as if it's zero in all cases.
11655         (expand_function_start): Adjust call to assign_parms.
11656         * tree.h (assign_parms): Adjust prototype.
11657         * objc/objc-act.c (hack_method_prototype): Adjust call to
11658         assign_parms.
11660 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
11662         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
11663         arg_pointer_rtx fixed if the argument pointer register is
11664         not fixed.
11665         (NONZERO_BASE_PLUS_P): Likewise.
11667 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
11669         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
11670         match_insn2 to match_insn.
11671         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
11673 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
11675         * Makefile.in (USER_H): Remove va-foo.h.
11677         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
11678         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
11679         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
11680         va-spur.h,va-v850.h}: Remove.
11682 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
11684         * sparc/sparc.md (eligible_for_return_delay): New attribute.
11685         (in_return_delay): Use it instead of match_insn.
11687 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11689         * config/alpha/va_list.h (va-alpha.h): Do not include.
11690         (__gnuc_va_list): Typedef as in varargs.h.
11692 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
11694         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
11695         DECL_LIVE_RANGE_RTL.
11697 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
11699         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
11700         not NOTE_BLOCK_NUMBER.
11701         (expand_eh_region_end): Likewise.
11702         (find_exception_handler_labels): Likewise.
11703         (scan_region): Likewise.
11704         (exception_optimize): Likewise.
11705         (update_rethrow_references): Likewise.
11706         (set_insn_eh_region): Likewise.
11707         * final.c (final_scan_insn): Likewise.
11708         * flow.c (make_edges): Likewise.
11709         * integrate.c (expand_inline_function): Likewise.
11710         * print-rtl.c (print_rtx): Likewise.
11712 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
11714         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
11715         terms of builtin functions and types.
11717         * mips.c (mips_build_va_list): New.
11718         (mips_va_start, mips_va_arg): New.
11719         * mips.h (BUILD_VA_LIST_TYPE): New.
11720         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
11722         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
11723         (sh_build_va_list, sh_va_start, sh_va_arg): New.
11724         * sh.h (BUILD_VA_LIST_TYPE): New.
11725         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
11727 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
11729         * recog.h (struct recog_data): Make dup_num, operand_address_p,
11730         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
11731         (struct insn_data): Likewise with n_operands, n_dups,
11732         n_alternatives, output_format.
11733         * regclass.c (scan_one_insn): Cast n_operands to int before
11734         arithmetic inside comparison.
11736 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
11738         * toplev.c (compile_function): Unconditionally emit nop.
11740 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11742         * haifa-sched.c (actual_hazard): Move declaration of variable
11743         `this_cost' into the scope where it is used.
11745 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11747         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
11748         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
11749         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
11751         * genrecog.c (make_insn_sequence): Call memset, not bzero.
11753         * jump.c (find_insert_position): Don't declare or define unless
11754         !HAVE_conditional_arithmetic.
11755         (returnjump_p_1, delete_prior_computation): Add static prototypes.
11757         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
11759         * recog.c (offsettable_address_p): Prototype function pointer.
11760         (preprocess_constraints): Call memset, not bzero.
11762         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
11763         (gcc_obstack_init): Don't declare.
11764         (fix_sizetype): Add static prototype.
11765         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
11766         (tree_cons): Call memset, not bzero.
11768         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
11769         definition in macro ASM_WEAKEN_LABEL.
11770         (mark_const_hash_entry): Add static prototype.
11772 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11774         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
11776         * unroll.c (find_common_reg_term, subtract_reg_term,
11777         loop_find_equiv_value): Add static prototypes.
11778         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
11779         (copy_loop_body): Remove unreachable break statement.
11781         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
11783         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
11785 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11787         Undo some changes from the gcc2 merge:
11788         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
11789         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
11790         pointers.
11792         Undo this change:
11793         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
11794         * emit-rtl.c (gen_lowpart_common): Disable optimization of
11795         initialized float-int union if the value is a NaN.
11797 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11799         * gthr-win32.h: New file.
11801         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
11802         shared as a valid attribute.
11803         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
11804         * extend.texi: Document `shared' variable attribute.
11806 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
11808         * configure.in: Handle --enable-threads on FreeBSD.
11809         * configure: Rebuit.
11811 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11813         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
11814         thread support.
11815         * configure: Rebuilt.
11817 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
11818                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
11819                           Rosimildo DaSilva <rdasilva@connecttel.com>
11821         * configure.in (m68k-*-rtemscoff*): Added.
11822         * configure.in (mips64orion-*-rtems*): Converted to ELF.
11823         * configure.in (sparc-*-rtemsaout*): Added as alias for old
11824         sparc-rtems configuration.
11825         * configure.in (sparc-*-rtemself*): Added.
11826         * configure.in (sparc-*-rtems*): Now ELF not a.out.
11827         * config/i386/rtems.h: Added comment.
11828         * config/sparc/rtemself.h: New file.
11830         * configure.in (m68k-rtemself): Added.
11831         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
11832         and DWARF_DEBUGGING_INFO.
11833         * config/m68k/crti.s: New file.
11834         * config/m68k/crtn.s: New file.
11835         * config/m68k/t-crtstuff: New file.
11836         * config/m68k/rtemself.h: New file.
11838         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
11839         global ctor/dtor and C++ exception handling.
11840         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
11841         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
11842         ENDFILE_SPEC.
11843         * config/i386/t-rtems-i386: New File.
11845 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
11847         * stmt.c (expand_end_case): Return right away if the case stack is
11848         empty.
11850 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
11852         * Makefile.in (version.c): Remove rule incorrectly brought in from
11853         the gcc2 merge.
11855 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
11857         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
11858         * msdos/top.sed:  Take into account a prepended $(SHELL) to
11859         move-if-change.
11860         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
11862         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
11864 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11866         * regmove.c (fixup_match_1): Don't change an unchanging register.
11867         (stable_but_for_p): Renamed to:
11868         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
11869         Changed all callers.
11871 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
11873         * loop.c (strength_reduce): Don't call reg_used_between_p if the
11874         insn from BL2 is after the insn from BL.
11876 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
11878         * recog.h (INSN_OUTPUT_FORMAT_*): New.
11879         (struct insn_data): Merge `template' and `outfun' into `output'.
11880         Add `output_format'.
11881         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
11882         (struct data): Remove `outfun'; add `output_format'.
11883         (name_for_index): Remove declaration.
11884         (output_insn_data): Handle output formats.
11885         (process_template): Emit the bare array for @.
11886         (gen_expand, gen_split): Set output_format to NONE.
11887         * output.h (get_insn_template): Declare.
11888         * final.c (get_insn_template): New.
11889         (final_scan_insn): Use it.
11890         * toplev.c (compile_file): Likewise.
11892         * c4x/c4x.c (c4x_process_after_reload): Likewise.
11893         * i860/i860.c (output_delayed_branch): Likewise.
11894         (output_delay_insn): Likewise.
11896 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11898         * rtl.c (obstack_alloc_rtx): Removed.
11900 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
11902         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
11904 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
11906         * i386.c (call_insn_operand): Reject const_int.
11907         (expander_call_insn_operand): Use call_insn_operand.
11909 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11911         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
11913 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
11915         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
11916         Use DImode operation.
11918 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
11920         * gcc.c: Include sys/resource.h.
11921         (report_times): New flag.
11922         (execute):  If report_times is set, calculate and report the
11923         CPU time consumed by each subprocess.
11925         (rus, prus): New globals.
11926         (option_map): Add --time.
11927         (display_help): Document -time.
11928         (process_command): Set report_times if -time is given.
11929         Turn off -pipe if -time is given.
11931         * invoke.texi: Document new option -time.
11933         * configure.in: Check for getrusage.  Check if we have to
11934         prototype getrusage.
11935         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
11936         * configure: Regenerate.
11937         * config.in: Regenerate.
11939 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
11941         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
11942         fields.
11944 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
11946         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
11947         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
11948         (nan): Return _thenan_sf or _thenan_df as appropriate.
11949         (L_thenan_sf): Define _thenan_sf.
11950         (L_thenan_df): Define _thenan_df.
11952         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
11953         (DPBIT_FUNCS): Add _thenan_df.
11955 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
11957         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
11958         TYPE_SIZE_UNIT.
11960 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11962         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
11964         * gcc.h: New file.
11965         (lang_specific_driver): Don't take a function pointer parameter.
11966         All callers changed.
11968         * gcc.c: Include gcc.h.
11969         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
11970         lang_specific_extra_outfiles, fatal): Don't declare.
11971         (multilib_defaults_raw): Constify.
11972         (read_specs): Call memset, rather than bzero.
11973         (main): Call return, not exit.
11974         (lookup_compiler): Call memcpy, not bcopy.
11975         (fatal): Make extern.
11977         * cppspec.c: Include gcc.h.
11978         (lang_specific_driver): Initialize variable `quote'.  Constify a
11979         char*.  All calls to the function pointer parameter now
11980         explicitly call `fatal'.
11982         * gccspec.c (lang_specific_driver): Include gcc.h.
11984 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
11986         * arm.c (note_invalid_constants): Use recog_data.operand_type
11987         for recog_op_type.
11989 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11991         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
11992         Declare.
11994         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
11995         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
11996         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
11997         reload_secondary_in_reload, reload_secondary_out_reload,
11998         reload_secondary_in_icode, reload_secondary_out_icode,
11999         reload_reg_rtx, reload_when_needed): Delete declarations.
12000         (struct reload): New structure.
12001         (rld): Declare new array.
12002         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
12003         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
12004         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
12005         reload_secondary_in_reload, reload_secondary_out_reload,
12006         reload_secondary_in_icode, reload_secondary_out_icode,
12007         reload_reg_rtx, reload_when_needed): Delete definitions.
12008         (rld): New array.
12009         (whole file): Replace uses of the deleted arrays with uses of rld.
12010         * reload1.c (whole file): Replace uses of the deleted arrays with
12011         uses of rld.
12012         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
12013         explicit loops, not with bcopy.
12015 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
12017         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
12018         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
12019         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
12020         insn_name): Delete and consolidate into new structures.
12021         (insn_operand_predicate_fn): New.
12022         (insn_output_fn): New.
12023         (insn_gen_fn): New.
12024         (struct insn_operand_data): New.
12025         (struct insn_data): New.
12026         (insn_data): New.
12027         (OUT_FCN): Update for insn_data change.
12028         * builtins.c (expand_builtin_strlen): Likewise.
12029         (expand_builtin_memcmp): Likewise.
12030         * combine.c (make_extraction, simplify_comparison): Likewise.
12031         * cse.c (canon_reg, cse_insn): Likewise.
12032         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
12033         * expmed.c (store_bit_field, extract_bit_field): Likewise.
12034         (emit_store_flag): Likewise.
12035         * expr.c (convert_move, emit_block_move): Likewise.
12036         (clear_storage, emit_push_insn, expand_increment): Likewise.
12037         (do_store_flag): Likewise.
12038         * expr.h (GEN_FCN): Likewise.
12039         (insn_gen_function): Die.
12040         * final.c (final_scan_insn): Update for insn_data change.
12041         (output_asm_name): Likewise.
12042         * function.c (fixup_var_refs_1): Likewise.
12043         * loop.c (check_dbra_loop): Likewise.
12044         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
12045         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
12046         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
12047         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
12048         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
12049         * regmove.c (gen_add3_insn): Likewise.
12050         * reload.c (push_secondary_reload, combine_reloads): Likewise.
12051         (find_reloads, find_reloads_address_1): Likewise.
12052         (debug_reload_to_stream): Likewise.
12053         * reload1.c (emit_reload_insns, gen_reload): Likewise.
12054         * stmt.c (expand_end_case): Likewise.
12055         * toplev.c (compile_file): Likewise.
12057         * c4x/c4x.c (c4x_process_after_reload): Likewise.
12058         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
12060         * print-rtl.c (insn_name_ptr): Remove declaration.
12061         (get_insn_name): Declare.
12062         (print_rtx): Use it.
12063         * genoutput.c (insn_name_ptr): Remove.
12064         (next_operand_number): New.
12065         (struct operand_data): New.
12066         (null_operand, odata, odata_end): New.
12067         (struct data): Use struct operand_data.
12068         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
12069         (get_insn_name): Renamed from name_for_index.
12070         (output_prologue): Define NO_MD_PROTOTYPES.
12071         (output_predicate_decls): Break out from output_epilogue.
12072         Iterate over the operands list.
12073         (output_operand_data): Break out from output_epilogue.  Emit
12074         just the operands list.
12075         (output_insn_data): Break out from output_epilogue.  Emit just
12076         the insn data.
12077         (output_epilogue): Remove.
12078         (output_get_insn_name): New.
12079         (constraints, op_n_alternatives, predicates, address_p): Die.
12080         (modes, strict_low, seen): Die.
12081         (scan_operands): Take new param `d' instead of writing to
12082         seven global variables.
12083         (compare_operands): New.
12084         (place_operands): New.
12085         (validate_insn_alternatives): Update for struct data change.
12086         (gen_insn): Don't zero or copy 7 global arrays.  Update for
12087         scan_operands; call place_operands.
12088         (gen_peephole, gen_expand, gen_split): Likewise.
12089         (main): Update for new output routines.
12091         * genattr.c (insn_name_ptr): Remove.
12092         (get_insn_name): New function.
12093         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
12094         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
12095         * genrecog.c: Likewise.
12097         * alpha.md (adddi3): Make `pattern' array static.
12099 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12101         * config/c4x/c4x.h (c4x_rpts_cycles_string,
12102         c4x_cpu_version_string): Constify char *.
12103         * config/c4x/c4x.c (c4x_rpts_cycles_string,
12104         c4x_cpu_version_string): Likewise.
12106 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
12108         * tree.c (save_tree_status): Revert 10 Sep change.
12109         (restore_tree_status): Likewise.  Call obstack_free with NULL
12110         before freeing the obstack proper.
12112 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
12114         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
12116         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
12117         surrounding context.
12119 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
12121         * tree.c (type_hash_canon): Put all types in the hash-table, when
12122         GC'ing.
12124 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
12126         * recog.h (struct recog_data, recog_data): New.
12127         (recog_foo variables): Kill.
12128         * recog.c (recog_operand, recog_operand_loc): Kill.
12129         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
12130         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
12131         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
12132         (recog_data): Define.
12133         (extract_insn): Update all recog_foo references to use recog_data.
12134         (preprocess_constraints, constrain_operands): Likewise.
12135         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
12136         * genattrtab.c (main): Likewise.
12137         * genextract.c (main): Likewise.
12138         * genoutput.c: Likewise.
12139         * genrecog.c (write_subroutine, main): Likewise.
12140         * local-alloc.c (block_alloc): Likewise.
12141         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
12142         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
12143         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
12144         * reload.c (find_reloads, find_reloads_toplev): Likewise.
12145         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
12146         (reload_cse_simplify_operands): Likewise.
12148         * arc/arc.c (arc_final_prescan_insn): Likewise.
12149         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
12150         * h8300/h8300.c (notice_update_cc): Likewise.
12151         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
12152         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
12153         * mn10200/mn10200.c (notice_update_cc): Likewise.
12154         * mn10300/mn10300.c (notice_update_cc): Likewise.
12155         * romp/romp.c (update_cc): Likewise.
12156         * sparc/sparc.c (check_pic): Likewise.
12157         * v850/v850.c (notice_update_cc): Likewise.
12159         * genemit.c (main): Don't declare recog_operand.
12161 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
12163         * ggc.h (rtvec_def): Forward declare.
12164         (tree_node): Likewise.
12165         (ggc_root): Define.
12166         (roots): Declare.
12167         (ggc_set_mark_rtx): Add prototype.
12168         (ggc_set_mark_rtvec): Likewise.
12169         (ggc_set_mark_tree): Likewise.
12170         * ggc-simple.c (ggc_root): Don't define.
12171         (roots): Don't declare.
12172         (ggc_mark_rtx): Remove.
12173         (ggc_mark_rtvec): Likewise.
12174         (ggc_mark_tree): Likewise.
12175         (ggc_mark_varray): Likewise.
12176         (ggc_mark_tree_hash_table_entry): Likewise.
12177         (ggc_mark_tree_hash_table): Likewise.
12178         (ggc_set_mart_rtx): New function.
12179         (ggc_set_mark_rtvec): Likewise.
12180         (ggc_set_mark_tree): Likewise.
12181         (ggc_add_root): Remove.
12182         (ggc_add_rtx_root): Likewise.
12183         (ggc_remove_tree_root): Likewise.
12184         (ggc_add_string_root): Likewise.
12185         (ggc_add_tree_varray_root): Likewise.
12186         (ggc_add_tree_hash_table_root): Likewise.
12187         (ggc_del_root): Likewise.
12188         (ggc_mark_rtx_ptr): Likewise.
12189         (ggc_mark_tree_ptr): Likewise.
12190         (ggc_mark_string_ptr): Likewise.
12191         (ggc_mark_tree_varray_ptr): Likewise.
12192         (ggc_mark_tree_hash_table_ptr): Likewise.
12193         * ggc-common.c: New file.
12194         * Makefile.in (OBJS): Add ggc-common.o.
12195         (ggc-common.o): List dependencies.
12197 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
12199         * cppalloc.c (xstrdup): Use memcpy.
12200         * cpperror.c (cpp_print_containing_files): Don't use
12201         cpp_notice.
12202         * cpplib.c (conditional_skip): Set temp->lineno.
12203         (do_endif): Make error message less obscure.
12204         (if_directive_name): New function.
12205         (cpp_get_token [case EOF]): Unwind the if stack and generate
12206         error messages for each unterminated conditional in this file.
12207         (parse_string):  Do not behave differently if -traditional.
12209 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
12211         * builtins.c (expand_builtin_va_arg): Cope with an array-type
12212         va_list decomposing to pointer-type.
12213         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
12214         (rs6000_va_arg): Likewise.
12216 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
12218         * except.c (start_dynamic_handler): Compute size using
12219         STACK_SAVEAREA_MODE.
12221 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12223         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
12224         include directory headers.  Don't define strrchr.  Don't provide
12225         my_* replacement functions.  Prefer PTR over `pointer_type'.
12226         Don't prototype system functions.  Don't redefine getopt.
12228         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
12229         safe_read, safe_write, save_pointers, restore_pointers,
12230         is_id_char, in_system_include_dir, directory_specified_p,
12231         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
12232         find_corresponding_lparen, referenced_file_is_newer,
12233         save_def_or_dec, munge_compile_params, gen_aux_info_file,
12234         process_aux_info_file, identify_lineno, check_source,
12235         seek_to_line, forward_to_next_token_char, output_bytes,
12236         output_string, output_up_to, other_variable_style_function,
12237         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
12238         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
12239         find_static_definition, connect_defs_and_decs, add_local_decl,
12240         add_global_decls, needs_to_be_converted, visit_each_hash_node,
12241         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
12242         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
12243         scan_for_missed_items, edit_file, string_list_cons): Add static
12244         prototypes.
12245         (standard_exec_prefix, target_machine, target_version,
12246         default_syscalls_dir, string_list, string_list_cons, find_file,
12247         do_cleaning): Constify a char*.
12248         (safe_read, safe_write): Use PTR, not a char*.
12249         (is_id_char): Take an int, not a char.
12250         (main): Add prototype.  Call return, not exit.
12252 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
12254         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
12255         when comparing types.
12257 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
12259         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
12260         (strength_reduce): Release the varrays from the no-bivs early exit.
12262         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
12263         the loop over the registers.
12265         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
12266         for a new obstack.
12267         (restore_tree_status): Check that instead when freeing the obstack.
12269 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
12271         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
12272         as pointers.
12274 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12276         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
12277         operand size modifiers.
12279 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12281         * c-common.c (c_common_nodes_and_builtins): Don't build
12282         va_list_type_node.
12283         * c-common.h (enum c_tree_index and related accesor macros): Remove
12284         everything now declared in tree.h.
12285         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
12286         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
12287         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
12288         (error_mark_node, void_type_node, char_type_node, integer_type_node,
12289         unsigned_type_node, ptr_type_node, va_list_type_node,
12290         integer_zero_node, null_pointer_node, integer_one_node): Delete.
12291         (init_decl_processing): Call build_common_tree_nodes and
12292         build_common_tree_nodes_2 instead of building their nodes here.
12293         Don't add roots for these nodes.
12294         * stor-layout.c (size_zero_node, size_one_node): Delete.
12295         (set_sizetype): Make a new node for bitsizetype each time.
12296         * tree.c (global_trees): New variable.
12297         (init_obstacks): Add a gc root for it.
12298         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
12299         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
12300         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
12301         (build_common_tree_nodes): New function.
12302         (fix_sizetype): New function.
12303         (build_common_tree_nodes_2): New function.
12304         * tree.h (enum tree_index): New.
12305         (global_trees): Declare.
12306         Add accessor macros for all nodes now moved to global_trees.
12307         Delete their declarations.
12309 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
12311         * c-decl.c (finish_function): When processing a nested function,
12312         push and pop GC context around rest_of_compilation.
12314 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
12316         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
12317         Default ix86_arch to PROCESSOR_I386.
12318         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
12319         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
12320         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
12321         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
12322         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
12323         (EXTRA_SPECS): Remove deleted specs.
12325 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
12327         * function.c (assign_stack_local_1): Allocate from
12328         function->x_frame_offset, not frame_offset.
12330 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
12332         * ggc.h (lang_cleanup_tree): Remove.
12333         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
12334         * ggc-callbacks.c (lang_cleanup_tree): Remove.
12336         * c-decl.c (finish_struct): Use ggc_alloc to allocate
12337         TYPE_LANG_SPECIFIC when garbage collecting.
12338         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
12339         (lang_cleanup_tree): Remove.
12341 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
12343         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
12344         * crtstuff.c: Not here.
12345         * dwarf2out.c: Or here.
12346         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
12347         info.
12349 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
12351         * function.h (free_after_compilation): Remove decl parameter.
12352         (free_varasm_status0: Likewise.
12353         (free_emit_status): Likewise.
12354         (free_stmt_status): Likewise.
12355         (free_after_compilation): Likewise.
12356         (init_lang_status): New variable.
12357         (free_lang_status): Likewise.
12358         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
12359         * function.c (init_lang_status): New variable.
12360         (free_lang_status): Likewise.
12361         (push_function_context_to): Don't set function::decl here.
12362         (free_after_copmilation): Make decl parameter implicit.  Call
12363         free_lang_status if defined.
12364         (prepare_function_start): Call init_lang_status if defined.
12365         (init_function_start): Set function::decl here.
12366         * profile.c (output_func_start_profiler): Don't call pushdecl
12367         until we've actually started the function.
12368         * stmt.c (free_stmt_status): Make decl parameter implicit.
12369         * toplev.c (rest_of_compilation): Don't pass decl to
12370         free_after_compilation.
12371         * varasm.c (free_varasm_status): Likewise.
12373 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12375         * except.c (call_get_eh_context): Add root when allocating static
12376         tree variable.
12378 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
12380         * arm.c: Include "ggc.h".
12381         (arm_add_gc_roots): New function.
12382         (arm_override_options): Call it.
12383         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
12385         * arm.md (define_asm_attributes): Add a pool_range attribute.
12387 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
12389         * extend.texi (Volatiles): New node.
12391 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
12393         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
12394         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
12395         (struct ggc_any): Replace `mark' with `magic_mark'.
12396         (ggc_alloc_string): Use memcpy, not bcopy.
12397         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
12398         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
12399         (ggc_free_any): New.
12400         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
12401         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
12402         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
12403         Use IS_MARKED. Use ggc_free_any.
12405 1999-09-09  Scott Bambrough <scottb@netwinder.org>
12407         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
12409 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
12411         * toplev.c (main): Always init_ggc.
12413 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
12415         * except.c (find_all_handler_type_matches): Free the list if
12416         we found no matches.
12418         * combine.c (SUBST): Break out to a real function do_SUBST.
12419         (SUBST_INT): Likewise.
12420         * gcse.c (free_pre_mem): Free `temp_bitmap'.
12421         (pre_insert): Free `inserted'.
12422         * loop.c (basic_induction_var): Always set `location'.
12424         * function.c (expand_function_end): Add initial_trampoline as a root.
12425         * rtl.h (init_varasm_once): Declare.
12426         * toplev.c (compile_file): Call it.
12427         * ggc-simple.c (ggc_mark_string_ptr): New.
12428         (ggc_add_string_root): New.
12429         (ggc_collect): Disable collection avoidance temporarily.
12430         * ggc.h (ggc_add_string_root): Declare.
12431         * except.c (create_rethrow_ref): Use ggc_alloc_string.
12432         * optabs.c (init_libfuncs): Likewise.
12433         * varasm.c (named_section): Use ggc_alloc_string.
12434         (make_function_rtl): Likewise.
12435         (make_decl_rtl): Likewise.
12436         (assemble_static_space): Likewise.
12437         (assemble_trampoline_template): Likewise.
12438         (output_constant_def): Likewise.
12439         (force_const_mem): Likewise.
12440         (mark_const_hash_entry): New.
12441         (mark_pool_sym_hash_table): New.
12442         (mark_varasm_state): Use it.
12443         (init_varasm_once): New.
12445         * expr.h (init_one_libfunc): Declare.
12446         * optabs.c (init_one_libfunc): New.
12447         (init_optabs): Use it.
12448         * config/gofast.h: Likewise.
12449         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
12450         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
12452 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
12454         * Makefile.in (cppexp.o): Depend on cpphash.h.
12455         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
12456         Include cpphash.h.
12457         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
12458         * cpplib.c (do_define): Generalise to handle poisoned definitions,
12459         redefining poisoned identifiers, etc.
12460         (do_undef): Don't allow poisoned identifiers to be undefined.
12461         (do_pragma): Add #pragma poison.
12462         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
12464         * cccp.c: Add T_POISON node type.
12465         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
12466         poisoned xxx.
12467         (do_define): Generalise to handle poisoned definitions,
12468         redefining poisoned identifiers, etc.
12469         (do_undef): Don't allow poisoned identifiers to be undefined.
12470         (do_pragma): Add #pragma poison.
12471         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
12473         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
12474         * c-pragma.h: Add ps_poison state.  We now always have generic
12475         pragmas.
12477 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
12479         * ggc.h (ggc_alloc): New function.
12480         (ggc_mark): Likewise.
12481         * ggc-simple.c (ggc_any): New structure.
12482         (ggc_status): Add anys.
12483         (n_anys_collected): New variable.
12484         (ggc_alloc): Define.
12485         (ggc_mark): Likewise.
12486         (ggc_collect): Collect the anys.
12488 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12490         * c-decl.c (mark_binding_level): Make static to match prototype.
12492 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
12494         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
12496 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
12498         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
12499         will use into account.  Expand the max width to 5.
12500         * rtl.c: Likewise.
12502 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
12504         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
12505         for the rtx length.
12507 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
12509         * alpha.md (call value patterns): Remove the result predicates.
12511 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
12513         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
12514         last change.
12516 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12518         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
12519         changed from extern char *, to extern PTR.  Also fix typo in
12520         NEED_DECLARATION_REALLOC test.
12522         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
12524 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12526         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
12527         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
12528         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
12529         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
12531         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
12533         * cccp.c (pcfinclude): Likewise.
12535         * global.c (allocno_compare): Likewise.
12537         * haifa-sched.c (rank_for_schedule): Likewise.
12539         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
12541         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
12543         * stupid.c (stupid_reg_compare): Likewise.
12545         * tree.c (_obstack_allocated_p): Likewise.
12547         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
12549 1999-09-08  Bruce Korb  autogen@linuxbox.com
12551         * Makefile.in: Give the hapless gperf user a hint about
12552         why "gperf -F" fails.
12554 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
12556         * lists.c: Include ggc.h.
12557         (zap_lists): New.
12558         (init_EXPR_INSN_LIST_cache): Install it.
12560         * ggc-simple.c (init_ggc): Absorb the old init.
12561         (ggc_push_context): Use xcalloc.
12562         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
12563         (ggc_collect): Add [rvts] tags to the collection stats.
12565 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
12567         * cccp.c (main): Fix handling of -include and -imacros options.
12569 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
12571         * cpplib.c (cpp_push_buffer): Fix order of arguments.
12573 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
12575         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
12576         genrtl.c.
12578 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
12580         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
12581         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
12582         and SET_DEST. Update comment.
12584 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12586         * config/c4x/c4x.c: Include ggc.h.
12587         (c4x_add_gc_roots): New function.
12588         (c4x_override_options): Call c4x_add_gc_roots.
12590 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
12592         * defaults.h (TARGET_ESC): Move ...
12593         * system.h: ... here, where Linas had it in the first place.  Silly me.
12595 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
12597         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
12598         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
12599         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
12600         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
12601         * defaults.h (TARGET_ESC): Add default.
12603 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
12605         * configure.in: add i370-*-openedition, i370-*-mvs and
12606         i370-*-linux targets
12608 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
12610         * dsp16xxx.c: Include ggc.h
12611         (override_options): Mark GC roots.
12612         * mn10200.c: Include ggc.h.
12613         (asm_file_start): Mark GC roots.
12614         * tahoe.c: Include ggc.h.
12615         (extensible_operand): Mark GC roots.
12617 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
12619         * README: Add section discussing status of ELF ABI.
12620         * i370.c: Fix misc spelling mistakes.
12621         (i370_label_scan): Updated notes, exception handling.
12622         (i370_function_prolog): Simplify ELF stack handling.
12623         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
12624         (STACK_GROWS_DOWNWARD): ELF stack grows down.
12625         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
12626         * i370.md: (movdi): Add notes.
12627         (floatsidf2): Use stack not rtca for scratch float area.
12628         (iorsi3): Correct operand constraints.
12629         * x-oe: Restore TAROUTOPTS which are used by pax.
12631 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
12633         * rs6000.c: Include ggc.h.
12634         (rs6000_add_gc_roots): New function.
12635         (override_options): Call it.
12637 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
12639         * alpha.h (alpha_compare): New.
12640         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
12641         * alpha.c: Likewise for the definitions.
12642         (alpha_emit_conditional_branch): Update for alpha_compare.
12643         (alpha_emit_conditional_move): Likewise.
12644         * alpha.md (cmpdf, cmpdi): Likewise.
12645         (setcc patterns): Likewise.  Zero alpha_compare after use.
12646         (sne): Optimize (x != 0) into (0U < x).
12648 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
12650         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
12651         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
12652         (INIT_EXPANDERS): Remove.
12653         * alpha.c: Include ggc.h.
12654         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
12655         (alpha_init_machine_status, alpha_mark_machine_status): New.
12656         (override_options): Install them.
12657         (struct machine_function): Moved to alpha.h.
12658         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
12659         (alpha_init_expanders): Remove.
12660         (alpha_return_addr): Adjust to use current_function->machine.
12661         (alpha_ra_ever_killed): Likewise.
12662         (alpha_expand_epilogue): Likewise.
12663         * alpha.md (eh_epilogue): Likewise.
12665 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
12666                           Melissa O'Neill  <oneill@cs.sfu.ca>
12667                           Geoffrey Keating  <geoffk@cygnus.com>
12669         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
12670         call-used registers (call-saved registers must still be contiguous
12671         and end with r31, of course).
12673 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
12675         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
12676         (self_promoting_type_p): Delete.
12677         (self_promoting_args_p): Move ...
12678         * c-common.c: ... here.
12679         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
12680         (simple_type_promotes_to): New.
12681         * builtins.c (lang_type_promotes_to): New.
12682         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
12683         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
12684         * c-common.h: ... here.
12685         (self_promoting_args_p, simple_type_promotes_to): Declare.
12686         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
12687         (grokdeclarator): Likewise.
12688         * tree.h (lang_type_promotes_to): Declare.
12690 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
12692         Add some machine-dependent GC roots.
12693         * sparc.c: Include ggc.h.
12694         (sparc_add_gc_roots): New function.
12695         (mark_ultrasparc_pipeline_state): Likewise.
12696         (override_options): Call sparc_add_gc_roots.
12697         * pa.c: Include ggc.h.
12698         (pa_add_gc_roots): New function.
12699         (mark_deferred_plabels): Likewise.
12700         (override_options): Call pa_add_gc_roots.
12701         * mips.c: Include ggc.h.
12702         (mips_add_gc_roots): New function.
12703         (override_options): Use it.
12705 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12707         * cpperror.c (cpp_file_line_for_message): Constify a char*.
12709         * cppexp.c (parse_number, parse_charconst, cpp_lex,
12710         cpp_parse_expr): Add static prototypes.
12711         (parse_charconst): Don't cast away const-ness.
12712         (token): Constify a char*.
12714         * cppfiles.c (file_name_list, include_hash, find_include_file,
12715         finclude, initialize_input_buffer): Constify a char*.
12716         (file_cleanup, find_position): Add static prototypes.
12718         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
12719         collect_expansion): Add static prototypes.
12720         (cpp_install, create_definition, monthnames): Constify a char*.
12722         * cpphash.h (cpp_install): Likewise.
12724         * cppinit.c (known_suffixes, default_include,
12725         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
12726         (base_name, dump_special_to_buffer, initialize_dependency_output):
12727         Add static prototypes.
12729         * cpplib.c (my_strerror): Constify a char*.
12730         (null_underflow, null_cleanup, skip_comment, copy_comment,
12731         copy_rest_of_line, handle_directive, pass_thru_directive,
12732         get_directive_token, read_line_number, cpp_print_file_and_line,
12733         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
12734         v_cpp_warning_with_line, detect_if_not_defined,
12735         consider_directive_while_skipping): Add static prototypes.
12736         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
12737         cpp_pedwarn_with_file_and_line): Constify a char*.
12739         * cpplib.h (cpp_options, include_hash, progname, definition,
12740         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
12741         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
12742         find_include_file, deps_output, include_hash): Constify a char*.
12744         * cppmain.c (progname): Constify.
12745         (main): Add prototype.  Use return, not exit.
12747         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
12748         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
12749         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
12750         check_protection): Add static prototype.
12751         (xfree): Remove.
12752         (progname, recognized_macrom, recognized_extern): Constify a char*.
12753         (main): Add prototype.
12755         * gen-protos.c (progname): Constify a char*.
12757 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
12759         * emit-rtl.c (free_emit_status): Take decl as a parameter.
12760         (init_emit_once): Add more GC roots.
12761         * except.c (mark_func_eh_entry): New function.
12762         (mark_eh_node): Mark false_label and rethrow_label.
12763         (init_eh): Add more GC roots.
12764         * function.c (free_after_compilation): Take decl as a paramter.
12765         Call free_stmt_status.
12766         (mark_function_state): Don't assume x_parm_reg_stack_loc is
12767         non-NULL.
12768         * function.h (free_after_compilation): Change prototype.
12769         (free_varasm_status): Likewise.
12770         (free_emit_status): Likewise.
12771         (free_stmt_status): New function.
12772         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
12773         Remove, replacing with ...
12774         (ggc_status): New structure.
12775         (ggc_chain): New variable.
12776         (init_gcc): Define.
12777         (ggc_push_context): New function.
12778         (ggc_pop_context): Likewise.
12779         (ggc_alloc_rtx): Adjust for use of ggc_chain.
12780         (ggc_alloc_rtvec): Likewise.
12781         (ggc_alloc_tree): Likewise.
12782         (ggc_alloc_string): Likewise.
12783         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
12784         (ggc_mark_tree): Give language-dependent code a chance to mark
12785         `x' nodes.
12786         (ggc_mark_tree_varray): Handle empty arrays.
12787         (ggc_collect): Adjust for use of ggc_chain.  Clear
12788         bytes_alloced_since_last_gc.
12789         * ggc.h (ggc_pop_context): New function.
12790         (ggc_push_context): Likewise.
12791         * print-tree.c (print_node): Don't print obstacks when GC'ing.
12792         * stmt.c (free_stmt_status): New function.
12793         (init_stmt_for_function): Clear last_expr_value.
12794         * toplev.c (rest_of_compilation): Always call free_after_compilation.
12795         Conditionalize call to ggc_collect.
12796         (main): Call init_ggc.
12797         * tree.c (push_obstacks): Do the push, even when GC'ing.
12798         (push_obstacks_nochange): Likewise.
12799         (pop_obstacks): Liekwise.
12800         * varasm.c (free_varasm_status): Take decl as a parameter.
12802 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
12804         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
12805         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
12806         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
12807         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
12809 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
12811         * pa/x-pa-mpeix: New file for the MPE port.
12813         * pa/quadlib.asm: New file for long double support.
12815         * configure.in: Add hppa1.0-*-mpeix for MPE port.
12816         * configure: Rebuilt.
12818 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
12820         * final.c (shorten_branches): Fix last change.
12822 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
12824         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
12826 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
12828         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
12829         details.
12831 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12833         * c-aux-info.c (concat): Don't define.
12835         * cccp.c (my_strerror): Likewise.  All callers changed to use
12836         xstrerror instead.
12837         (do_include): Call xstrdup, not xmalloc/strcpy.
12838         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
12839         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
12841         * collect2.c (my_strsignal): Likewise.  All callers changed to use
12842         strsignal instead.
12843         (locatelib): Call xstrdup, not xmalloc/strcpy.
12845         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
12847         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
12849         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
12851         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
12853         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
12855         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
12857         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
12858         malloc/realloc.
12859         (find_all_handler_type_matches): Likewise.  Don't check return
12860         value.
12861         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
12862         xmalloc, not malloc.
12863         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
12865         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
12866         (init_spec): Call xcalloc, not xmalloc/bzero.
12867         (set_spec): Call xstrdup, not save_string.
12868         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
12869         (find_a_file): Call xstrdup, not xmalloc/strcpy.
12870         (process_command): Call xstrdup, not save_string.
12871         (main): Call xcalloc, not xmalloc/bzero.
12873         * gcov.c (xmalloc): Don't define.
12874         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
12875         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
12876         (output_data): Call xcalloc, not xmalloc/bzero.
12878         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
12880         * mips-tdump.c (xmalloc): Don't define.
12881         (print_symbol): Call xmalloc, not malloc.
12882         (read_tfile): Call xcalloc, not calloc.
12884         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
12885         Don't define.  All callers of xfree/my_strsignal changed to use
12886         free/strsignal instead.
12887         (allocate_cluster): Call xcalloc, not calloc.
12889         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
12890         Fix memory leak, free allocated memory.
12892         * prefix.c (translate_name): Call xstrdup, not save_string.
12893         (update_path): Likewise.
12895         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
12897         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
12898         Don't define.  Callers of xfree/savestring2 changed to use
12899         free/concat instead.
12901         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
12902         (init_elim_table): Likewise.
12904         * resource.c (init_resource_info): Likewise.
12906         * stupid.c (stupid_life_analysis): Likewise.
12908         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
12909         (open_dump_file): Call concat, not xmalloc/strcpy/...
12910         (clean_dump_file): Likewise.
12911         (compile_file): Call xstrdup, not xmalloc/strcpy.
12913 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
12915         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
12916         * v850.c (v850_va_arg): New.
12918 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12920         * haifa-sched.c: Tidy comments.
12922 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12924         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
12925         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
12926         $(out_object_file)): Depend on ggc.h.
12927         * c-common.c: Include "ggc.h".
12928         (combine_strings): If doing GC, use ggc_alloc_string.
12929         * c-decl.c: Include "ggc.h".
12930         (ggc_p): Define with value 0.
12931         (mark_binding_level): New function.
12932         (init_decl_processing): Add GC roots.
12933         (mark_c_function_context): New function.
12934         (lang_mark_false_label_stack): New function.
12935         (lang_mark_tree): New function.
12936         (lang_cleanup_tree): New function.
12937         * c-lang.c: Include "ggc.h".
12938         (lang_init): Call c_parse_init.
12939         * c-lex.c: Include "ggc.h".
12940         (check_linenum): If doing GC, don't copy filenames to permanent
12941         obstack.
12942         * c-parse.in: Include "ggc.h".
12943         (c_parse_init): New function.
12944         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
12945         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
12947         * except.c (mark_eh_state): Mark more state.
12948         * function.c (mark_function_state): Likewise.
12949         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
12950         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
12951         * toplev.c (mark_file_stack): New function.
12952         (compile_file): If doing GC, use ggc_alloc_string on input filename.
12953         (main): Add root for input_file_stack.
12955         * i386.c: Include "ggc.h".
12956         (ix86_mark_machine_status): New function.
12957         (override_options): Set mark_machine_status.
12959 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12961         * tree.c (copy_node): Copy node contents also if doing GC.
12963 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
12965         * collect2.c (scan_libraries): Fix double-thinko :-).
12967 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
12969         * collect2.c (scan_libraries): Fix thinko.
12971         * cse.c (delete_trivially_dead_insns): Do not skip the last
12972         insn if it is a real insn.
12974 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
12976         * Makefile.in (ggc-simple.o): Depend on hash.h.
12977         * ggc.h (ggc_add_tree_hash_table_root): Declare.
12978         (ggc_mark_tree_varray): Likewise.
12979         (ggc_mark_tree_hash_table): Likewise.
12980         * ggc-simple.c: Include hash.h.
12981         (ggc_mark_tree_hash_table_ptr): New function.
12982         (ggc_mark_tree_hash_table_entry): Likewise.
12983         (ggc_mark_tree_hash_table): Likewise.
12984         (ggc_add_tree_hash_table_root): Likewise.
12985         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
12986         rtx, when defining fields.
12988 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
12990         * profile.c (output_func_start_profiler): Remove apparently
12991         nonsensical call to start_sequence.
12993 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
12995         * clipper/clipper.c (clipper_va_start): Fix typos.
12997         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
12998         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
12999         (spur_va_arg): New stub.
13001         * configure.in: Comment out pyramid.
13003 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
13005         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
13006         don't conflict with the bits that win32, cygwin, and dgux
13007         defines.
13009 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
13010                           Bernd Schmidt <bernds@cygnus.co.uk>
13012         * integrate.c (function_cannot_inline_p): Do not inline
13013         functions with forced labels.
13015 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
13016                           Bernd Schmidt <bernds@cygnus.co.uk>
13017                           Mark Mitchell  <mark@codesourcery.com>
13019         * Makefile.in (ggc-simple.o): Depend on varray.h.
13020         (rtl.o): Depend on ggc.h.
13021         (genattrtab.o): Depend on ggc.h.
13022         (print-tree.o): Likewise.
13023         (fold-const.o): Likewise.
13024         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
13025         (make_insn_raw): Don't cache insns when GC'ing.
13026         (emit_insn_before): Likewise.
13027         (emit_insn_after): Likewise.
13028         (emit_insn): Likewise.
13029         (start_sequence): Use xmalloc to allocate the sequence_stack.
13030         (end_sequence): Add free to free it.
13031         (gen_sequence): Don't cache insns when GC'ing.
13032         (clear_emit_caches): Don't use sequence_element_free_list.
13033         (init_emit): Use xcalloc, not xmalloc+bzero.
13034         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
13035         * function.c (pop_function_context_from): Use free to free the
13036         fixup_var_refs_queue.
13037         (put_reg_into_stack): Allocate it with xmalloc.
13038         * genattrtab.c: Include ggc.h.
13039         (operate_exp): Don't use obstack_free when GC'ing.
13040         (simplify_cond): Likewise.
13041         (simplify_text_exp): Likewise.
13042         (optimize_attrs): Likewise.
13043         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
13044         GC'ing.
13045         (gencode): Generate a #include for ggc.h.
13046         * ggc-callbacks.c (ggc_p): Define it to zero.
13047         * ggc-none.c (ggc_p): Likewise.
13048         * ggc-simple.c: Include varray.h.
13049         (ggc_mark_tree_varray): New function.
13050         (ggc_add_tree_varray_root): Likewise.
13051         (ggc_mark_tree_varray_ptr): Likewise.
13052         * ggc.h (ggc_p): Declare.
13053         (varray_head_tag): Likewise.
13054         (ggc_add_tree_varray_root): Declare.
13055         * print-tree.c (print_node): Don't check for TREE_PERMANENT
13056         inconsistencies when GC'ing.
13057         * rtl.c: Include ggc.h.
13058         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
13059         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
13060         (rtx_free): Don't call obstack_free when GC'ing.
13061         * toplev.c (rest_of_compilation): Call ggc_collect after every
13062         pass, if GC'ing.
13063         * tree.c (push_obstacks): Do nothing, if GC'ing.
13064         (pop_obstacks_nochange): Likewise.
13065         (pop_obstacks): Likewise.
13066         (make_node): Use ggc_alloc_tree when GC'ing.
13067         (copy_node): Likewise.
13068         (get_identifier): Use ggc_alloc_string when GC'ing.
13069         (build_string): Likewise.
13070         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
13071         (tree_cons): Likewise.
13072         (build1): Likewise.
13073         (type_hash_canon): Don't call obstack_free when GC'ing.
13075 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
13077         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
13078         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
13080 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
13081                           Bernd Schmidt <bernds@cygnus.co.uk>
13082                           Mark Mitchell  <mark@codesourcery.com>
13084         * Makefile.in (stor-layout.o): Depend on ggc.h.
13085         (expr.o): Depend on ggc.h.
13086         (profile.o): Depend on ggc.h.
13087         (stor-layout.o): Depend on ggc.h.
13088         * emit-rtl.c (init_emit_once): Add gc roots.
13089         * expr.c: Include ggc.h.
13090         (emit_block_move): Add gc roots.
13091         (clear_storage): Likewise.
13092         * expr.h (init_stor_layout_once): New function.
13093         * profile.c: Include ggc.h.
13094         (init_arc_profiler): profiler_label is a root.
13095         * scan.c (make_sstring_space): Trust xrealloc to function
13096         correctly with first parameter NULL.
13097         * stor-layout.c: Include ggc.h.
13098         (set_sizetype): Add gc root.
13099         (init_stor_layout_once): New function.
13100         * toplev.c (compile_file): Call it.
13102 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
13103                           Bernd Schmidt <bernds@cygnus.co.uk>
13104                           Mark Mitchell  <mark@codesourcery.com>
13106         * Makefile.in (tree.o): Depend on ggc.h.
13107         (varasm.o): Likewise.
13108         (function.o): Likewise.
13109         (stmt.o): Likewise.
13110         (except.o): Likewise.
13111         (optabs.o): Likewise.
13112         (emit-rtl.o): Likewise.
13113         * emit-rtl.c: Include ggc.h.
13114         (sequence_element_free_list): Remove, and all references.
13115         (mark_sequence): New functions.
13116         (mark_emit_state): New function.
13117         * except.c: Include ggc.h.
13118         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
13119         (mark_tree_label_node): New functions.
13120         (mark_eh_state): New function.
13121         * function.c: Include ggc.h.
13122         (mark_temp_slot, mark_function_chain): New functions.
13123         (mark_function_state): New function.
13124         (init_function_once): New function.
13125         * function.h (init_function_once): New function.
13126         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
13127         * ggc.h (label_node): Declare.
13128         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
13129         (lang_mark_false_label_stack): New function.
13130         (mark_temp_slot): Remove declaration.
13131         (mark_function_chain): Likewise.
13132         (mark_eh_state): Adjust prototype.
13133         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
13134         Likewise.
13135         * optabs.c: Include ggc.h.
13136         (mark_optab): New function.
13137         (init_optabs): Add gc roots.
13138         * stmt.c: Include ggc.h.
13139         (mark_cond_nesting, mark_loop_nesting): New functions.
13140         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
13141         (mark_stmt_state): New function.
13142         * toplev.c (compile_file): Call init_function_once.
13143         * tree.c: Include ggc.h.
13144         (type_hash): Move declaration earlier in file.
13145         (TYPE_HASH_SIZE, type_hash_table): Likewise.
13146         (init_obstacks): Add gc roots.
13147         (mark_type_hash): New function.
13148         * varasm.c: Include ggc.h.
13149         (mark_pool_constant): New function.
13150         (mark_varasm_state): New function.
13152 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13154         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
13156 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
13158         * c-decl.c (struct language_function): Renamed from struct c_function.
13159         Delete elt NEXT.
13160         (c_function_chain): Delete.
13161         (push_c_function_context): New arg F.  Don't warn about nested
13162         functions here.  Fill LANGUAGE elt of F.  Delete code to update
13163         c_function_chain.  Don't call push_function_context.
13164         (pop_c_function_context): New arg F.  Restore from there instead of
13165         from c_function_chain.  Don't call pop_function_context.  Clear out
13166         LANGUAGE field of F when done.
13167         * c-lang.c: Include "function.h"
13168         (lang_init): Initialize save_lang_status and restore_lang_status.
13169         * c-parse.in (nested_function, nested_function_notype): Warn about
13170         nested functions.  Call push_function_context/pop_function_context
13171         instead of the _c_ variants.
13172         * c-tree.h (push_c_function_context, pop_c_function_context): Update
13173         prototype.
13174         * Makefile.in (c-lang.o): Update dependencies.
13176         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
13177         regno_pointer_flag, regno_pointer_align.
13178         (gen_reg_rtx): Use xrealloc to enlarge them.
13179         (free_emit_status): New function.
13180         * function.c (mark_machine_status, mark_lang_status): New variables.
13181         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
13182         in some bits from assign_stack_local.  All callers changed to use new
13183         name.
13184         (assign_stack_local): Just call assign_stack_local_1.
13185         (free_after_compilation): New function.
13186         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
13187         (trampoline_address): Likewise.
13188         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
13189         (prepare_function_start): Explicitly clear some more variables.
13190         * function.h (struct function): New elt can_garbage_collect.
13191         (mark_machine_status, mark_lang_status): Declare variables.
13192         (free_after_compilation, free_emit_status, free_varasm_status,
13193         init_varasm_status): Declare functions.
13194         * toplev.c (rest_of_compilation): Call free_after_compilation when
13195         done with the current function.
13196         * varasm.c (free_varasm_status): New function.
13198 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
13200         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
13201         (EXPAND_BUILTIN_VA_ARG): Define.
13202         * sparc.c (sparc_va_start): New.
13203         (sparc_va_arg): New.
13205 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13207         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
13209 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13211         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
13213 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
13215         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
13216         (OBJS): Add $(GGC).
13217         (ggc-callbacks.o): New target.
13218         * ggc-callbacks.c: New file.
13220 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13222         * expr.h: Collapse individual optab and libfunc vars to arrays.
13223         (optab_index, libfunc_index): New enumerations.
13224         (optab_table, libfunc_table): New arrays.
13225         Add accessor macros for both.
13227         * optabs.c (optab_table, libfunc_table): New.
13228         Delete declarations for individual optab and libfunc vars.
13230 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
13232         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
13234 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
13236         * Makefile.in (GGC, GGC_LIB): New.
13237         (HOST_RTL): Include ggc-none.o.
13238         (ggc-simple.o): New target.
13239         (ggc-none.o): Likewise.
13240         * tree.h (tree_common): Add gc_mark.
13241         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
13242         (struct rtvec_def): Add gc_mark.
13243         * emit-rtl.c (global_rtl): Update static initializers to contain
13244         enough initializers.
13245         * ggc.h, ggc-none.c, ggc-simple.c: New files.
13246         * toplev.c (gc_time): New variable.
13247         (all_time): New variable.
13248         (compile_file): Print gc time.
13249         (print_time): Calculate percentage of the whole.
13251 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13253         Change obstack memory management and varasm constant pool handling so
13254         that nested functions are treated like any other functions.
13255         * function.c (init_machine_status): New variable.
13256         (push_function_context_to): Set contains_functions for the outer
13257         function.  Don't call save_varasm_status.
13258         (pop_function_context_from): Don't call restore_varasm_status.  Don't
13259         set current_function_contains_functions.
13260         (prepare_function_start): Call init_varasm_status rather than
13261         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
13262         is non-null.
13263         * function.h (struct function) Add field varasm.  Delete fields
13264         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
13265         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
13266         (init_machine_status): Declare.
13267         (save_varasm_status, restore_varasm_status): Delete declarations.
13268         (save_tree_status, restore_tree_status): Delete last argument.
13269         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
13270         code.  All callers changed.
13271         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
13272         save_constants_in_decl_trees, restore_constants, save_constants,
13273         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
13274         functions.
13275         (inlining): New variable.
13276         (reg_map, label_map, insn_map, orig_asm_operands_vector,
13277         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
13278         variables.
13279         (save_for_inline_nocopy): Don't save constants.
13280         Don't set inl_emit field in current_function.
13281         (expand_inline_function): Use emit field, not inl_emit, of the inlined
13282         function.  Set new variable inlining before
13283         calling copy_rtx_and_substitute.
13284         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
13285         constant pool references if inlining is nonzero.
13286         Delete ADDRESS and (most of the) CONST cases.
13287         (output_inline_function): Save and restore current_function/
13288         current_function_decl.  Delete restore_constants code.  Don't call
13289         init_const_rtx_hash_table.
13290         * output.h (init_const_rtx_hash_table): Don't declare.
13291         * rtl.h (struct function): Declare.
13292         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
13293         * toplev.c (rest_of_compilation): Don't treat nested functions or
13294         functions containing them specially.  Delete all code to deal with
13295         save_for_inline_copying.
13296         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
13297         inline_obstacks): Delete variables.
13298         (save_tree_status): Lose arg CONTEXT.  All callers changed.
13299         Simply allocate a new function_maybepermanent_obstack for the new
13300         function, delete all the special cases.
13301         Don't save inline_obstacks.
13302         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
13303         Delete special handling for function_maybepermanent_obstack; simply
13304         free it if empty.
13305         Don't restore inline_obstacks.
13306         (permanent_allocation):  Delete code that frees inline_obstacks.
13307         (print_inline_obstack_statistics): Delete function.
13308         (dump_tree_statistics): Don't call it.
13309         * varasm.c (struct varasm_status): New.
13310         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
13311         last_pool, pool_offset, const_double_chain): Delete global
13312         variables, replace with accessor macros.
13313         (immed_double_const): Don't walk const_double_chain outside a
13314         function, but don't treat nested functions specially anymore.
13315         (immed_real_const_1): Likewise.
13316         (clear_const_double_mem): Don't treat nested functions specially.
13317         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
13318         (save_varasm_status, restore_varasm_status): Delete functions.
13319         (init_varasm_status): New function.
13320         (force_const_mem): Don't treat nested functions specially.
13321         (find_pool_constant): Accept new arg F, search for constants in
13322         that function's pool rather than the current one.  All callers
13323         changed.
13324         (get_pool_constant_for_function, get_pool_mode_for_function): New
13325         functions.
13327         * i386.c (init_386_machine_status): New function, mostly from
13328         clear_386_stack_locals.
13329         (struct machine_functions): Rename element names to avoid name
13330         clashes.
13331         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
13332         macros, replacing global variables.
13333         (clear_386_stack_locals, save_386_machine_status,
13334         restore_386_machine_status): Delete functions.
13335         (override_options): Initialize init_machine_status.
13336         * i386.h (INIT_EXPANDERS): Delete macro.
13337         (save_386_machine_status, restore_386_machine_status,
13338         clear_386_stack_locals): Delete declarations.
13340 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13342         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
13343         (doloop_begin):  Simplify pattern and use emit_jump_insn.
13344         (doloop_end): Simplify pattern, switch operand order,
13345         and use emit_jump_insn.
13347 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
13349         * function.h (struct function): Add new element LANGUAGE.
13350         (save_lang_status): Declare new variable.
13351         (restore_lang_status): Likewise.
13352         * function.c (save_lang_status): Define.
13353         (restore_lang_status): Likewise.
13354         (push_function_context_to): Call language-specific save function.
13355         (pop_function_context_from): Call language-specific restore function.
13357 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
13359         * i386.md (movsf_1): Check REG_P before use of REGNO.
13360         (movdf_1): Likewise.
13361         (movxf_1): Likewise.
13362         (extendsfdf2): Likewise.
13363         (extendsfxf2): Likewise.
13364         (extenddfxf2): Likewise.
13366 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13368         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
13369         constants into memory.
13370         (c4x_shiftable_constant): New function.
13371         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
13372         (c4x_shiftable_constant): Declare.
13373         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
13374         ashlqi3_noclobber): Add new patterns and associated splitters.
13376 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
13378         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
13379         * dwarf2out.c (dwarf2out_frame_init): Likewise.
13380         * final.c (shorten_branches): Likewise.
13381         * global.c (global_alloc): Likewise.
13382         * haifa-sched.c (build_control_flow): Likewise.
13383         * stmt.c (check_for_full_enumeration_handling): Likewise.
13384         (estimate_case_costs): Likewise.
13386 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
13388         * rtl.h (RTL_CHECKC2): Fix typo in last change.
13390 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
13392         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
13393         (recompute_reg_usage): Likewise.
13394         * rtlanal.c (find_regno_fusage): Likewise.
13396         * rtl.c (rtl_check_failed_code1): New function.
13397         (rtl_check_failed_code2): New.
13398         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
13399         (RTL_CHECKC1, RTL_CHECKC2): New.
13400         (XC*): New accessor macros.
13401         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
13402         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
13403         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
13404         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
13405         (TRAP_*, RANGE_INFO_*): Likewise.
13407 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13409         * Makefile.in (tlink.o): Don't depend on toplev.h.
13411         * collect2.c (c_file, o_file, export_file, import_file, ldout,
13412         output_file, nm_file_name, ldd_file_name, strip_file_name,
13413         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
13414         add_prefix, prefix_from_env, prefix_from_string, do_wait,
13415         fork_execute, maybe_unlink, add_to_list,
13416         extract_init_priority, write_list, dump_list,
13417         dump_prefix_list, write_list_with_asm, write_c_file,
13418         write_c_file_stat, write_c_file_glob, scan_prog_file,
13419         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
13420         ignore_library, extract_string, notice, dump_file, target_machine,
13421         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
13422         read_file, print_load_command): Constify a char*.
13423         (fdopen, error, fatal, fatal_perror): Don't prototype.
13424         (my_strerror): Remove.  All callers use xstrerror instead.
13425         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
13426         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
13427         to xcalloc/strcpy/strcat/...  to one call to concat.
13428         (main, scan_prog_file, scan_libraries): Use an intermediate
13429         `const char **' to build an argv array.
13430         (mapfile, libselect, libcompare, locatelib): Add prototypes.
13432         * collect2.h (collect_execute, collect_wait, dump_file,
13433         file_exists): Constify a char*.
13434         (ldout, c_file_name, temporary_obstack, permanent_obstack,
13435         temporary_firstobj, vflag, debug): Add extern declarations.
13436         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
13438         * tlink.c: Don't include toplev.h.
13439         (vflag, debug, ldout, c_file_name, temporary_obstack,
13440         permanent_obstack, temporary_firstobj): Don't declare.
13441         (tlink_execute, frob_extension, symbol_hash_lookup,
13442         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
13443         recompile_files, read_repo_files, demangle_new_symbols,
13444         scan_linker_output): Constify a char*.
13445         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
13446         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
13448 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
13450         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
13451         (relative) rather than jsr (absolute) subroutine call insns.
13452         * config/m68k/m68k-coff.h: Ditto.
13454 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
13456         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
13457         now rework these too.
13458         (arm_reorg): If an insn can't reach the end of the current pool,
13459         ensure that we emit that pool before the insn.
13461 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
13463         * tlink.c (scan_linker_output): Skip the initial underscore in
13464         a mangled name if appropriate.
13466 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13468         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
13469         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
13470         error_with_ivar, gen_declarator, create_builtin_decl,
13471         my_build_string, generate_descriptor_table, generate_ivars_list,
13472         generate_dispatch_table, check_protocols, TAG_GETCLASS,
13473         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
13474         dump_base_name, lang_decode_option, build_encode_expr,
13475         start_class, finish_class, encode_pointer, really_start_method,
13476         gen_declaration, dump_interface, handle_class_ref, handle_impent):
13477         Constify.
13478         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
13479         Add static prototypes.
13480         (build_objc_string_decl, build_selector_reference_decl,
13481         encode_bitfield, build_class_reference_decl): Remove unused
13482         parameter, all callers changed.
13483         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
13484         (objc_printable_name): Likewise.  Change second parameter to type int.
13485         (init_objc): Use memcpy, not bcopy, to avoid casts.
13487 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
13489         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
13490         reg notes on a deleted insn.
13491         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
13493 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
13495         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
13497 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13499         * stmt.c (expand_asm_operands): Fix index into inout_mode when
13500         reading it.
13502 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
13504         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
13505         * tm.texi (MD_ASM_CLOBBERS): Document it.
13507 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
13509         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
13510         * except.c (expand_rethrow): Remove unused variable.
13511         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
13512         * flow.c (replace_insns): Likewise.
13513         (create_edge_list, verify_edge_list): Likewise.
13514         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
13516         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
13517         is special code to run.
13518         (main): Don't define operands to emit_operand.
13519         * genrecog.c (main): Don't emit an empty peephole2_insn function.
13521         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
13523         * alpha/alpha.h (normal_memory_operand): Declare.
13524         (reg_no_subreg_operand): Declare.
13525         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
13527 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
13529         * c-parse.in (compstmt_primary_start): New, broken out of first
13530         part of compstmt handling in primary.
13531         (primary): Use it.  Add an error clause.
13532         (compstmt_nostart): Renamed from compstmt; remove all
13533         initial invocations of compstmt_start.
13534         (compstmt): New.
13536 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
13538         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
13539         needed.
13541 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
13543         * combine.c (simplify_shift_const): Remove extra semicolon.
13544         * dwarf2out.c (remove_AT): Likewise.
13545         * expmed.c (expand_mult): Likewise.
13546         * gcov.c (create_program_flow_graph): Likewise.
13547         * reorg.c (mostly_true_jump): Likewise.
13549 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
13551         * fold-const.c (fold_range_test): Do not try to fold the range
13552         test if the rhs or lhs has side effects.
13554         * combine.c (simplify_rtx): Recognize another case of a synthesized
13555         sign extension.
13557         * varasm.c (mark_constant_pool): When marking indirect references,
13558         only look at SYMBOL_REFs.
13560         * except.c (expand_fixup_region_end): Do not peek at
13561         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
13563 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
13565         * flags.h: New variables align_loops, align_loops_log,
13566         align_jumps, align_jumps_log, align_labels, align_labels_log,
13567         align_functions, align_functions_log.
13568         * toplev.c: Define them.
13569         (f_options): Handle -falign-* when they have no argument.
13570         (main): Add logic to set variables for -falign-functions,
13571         -falign-jumps, -falign-labels, -falign-loops.
13572         Make it -fsched-verbose=<n> and -finline-limit=<n>.
13573         (display_help): Change help to match options.
13574         * final.c (LABEL_ALIGN): Default to align_labels_log.
13575         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
13576         (LOOP_ALIGN): Default to align_loops_log.
13577         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
13578         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
13579         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
13580         * varasm.c (assemble_start_function): Handle align_functions.
13582         * config/sparc/sparc.h: Don't declare sparc_align_*.
13583         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
13584         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
13585         sparc.c.
13586         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
13587         it's a promise.
13588         * config/sparc/sparc.c: Delete sparc_align_loops,
13589         sparc_align_jumps, sparc_align_funcs and the corresponding string
13590         variables.
13591         (sparc_override_options): Default align_functions on ultrasparc.
13592         Delete -malign-* handling.
13594         * config/mips/mips.c (override_options):  On 64-bit targets,
13595         try to align code to 64-bit boundaries.
13596         (print_operand): New substitution, %~,
13597         which aligns labels to align_labels_log.
13598         * config/mips/mips.md (div_trap_normal): Use %~.
13599         (div_trap_mips16): Likewise.
13600         (abssi): Likewise.
13601         (absdi2): Likewise.
13602         (ffssi2): Likewise.
13603         (ffsdi2): Likewise.
13604         (ashldi3_internal): Likewise.
13605         (ashrdi3_internal): Likewise.
13606         (lshrdi3_internal): Likewise.
13607         (casesi_internal): Likewise.
13609 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
13611         Merge new ia32 backend from the branch!
13613         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
13614         See ChangeLog.P2 on new_ia32_branch for details.
13616         * rtl.h (stack_regs_mentioned_p): Delete prototype.
13617         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
13618         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
13619         * i386/gas.h (ASM_FILE_START): Define.
13620         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
13621         for name change of ix86_valid_decl_attribute_p.
13622         (i386_pe_valid_type_attribute_p): Similarly.
13624 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
13626         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
13627         to step through CC modes.
13629 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13631         * regmove.c (fixup_match_1): Don't move INSN in front of P if
13632         it would end up in the shadow of a live flags regsiter.
13634 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13636         * reload1.c: Fix many indentation problems.
13637         * reload.c: Likewise.
13639 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
13641         * alias.c (non_local_reference_p): Constify fmt.
13643 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
13645         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
13647 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
13649         * cse.c (delete_trivially_dead_insns): Do not delete stores to
13650         the internal_arg_pointer.
13652 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
13654         Merge peephole2 from new_ia32_branch:
13655         * Makefile.in (STAGESTUFF): Add *.peephole2.
13656         (mostlyclean): Likewise.
13657         (recog.o): Depend on resource.h.
13659         * final.c (peephole): Conditionalize decl on HAVE_peephole.
13660         (final_scan_insn): Likewise for the invocation of peephole.
13661         * genconfig.c (main): Look for peephole and peephole2 patterns.
13662         Emit HAVE_peephole* accordingly.
13663         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
13664         * flags.h (flag_peephole2): Declare.
13665         * toplev.c: New pass peephole2.  New flag -fpeephole2.
13667         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
13668         * gencodes.c (main): Likewise.
13669         * genextract.c (main): Likewise.
13670         * genoutput.c (main): Likewise.
13671         * genemit.c (max_operand_1): Look for the max scratch operand.
13672         (gen_rtx_scratch): New.
13673         (gen_exp): Use it, and pass on new arg subroutine_type.
13674         (gen_expand): Take max scratch into account.
13675         (gen_split): Emit peephole2 functions.
13676         (output_peephole2_scratch): New.
13677         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
13678         * genrecog.c (routine_type): Add PEEPHOLE2.
13679         (IS_SPLIT): New.
13680         (make_insn_sequence): Match outer parallel for peep2.  Discard
13681         top level scratches and dups.
13682         (add_to_sequence): New args insn_type and top.  Update all callers.
13683         Handle toplevel peep2 matching insns.
13684         (write_subroutine): Handle peep2.
13685         (write_tree_1): Likewise.
13686         (write_tree): Likewise.
13687         (main): Likewise.
13688         (change_state): New arg afterward.  Update all callers.
13689         Handle matching separate insns.
13690         * recog.c (recog_next_insn): New.
13691         (peephole2_optimize): New.
13692         * rtl.def (DEFINE_PEEPHOLE2): New.
13693         * resource.c (find_free_register): New argument last_insn.  Use it
13694         to find a register available through the entire span.
13695         * resource.h (find_free_register): Update prototype.
13697 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
13699         * i386.c (output_strlen_unroll): Don't write xops[7]
13700         label if it wasn't set.
13702 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
13704         * cpplib.c (struct directive): Const-ify name pointer and
13705         function pointer prototype.
13706         (validate_else, do_define, do_line, do_include, do_undef,
13707         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
13708         do_elif, do_endif, do_sccs, do_assert, do_unassert,
13709         do_warning): Const-ify second arg.
13710         (directive_table): Mark const.  Reorder entries by frequency
13711         of usage, record statistics.
13713 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
13715         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
13716         bounds- check RTL accesses if --enable-checking.
13717         (RTVEC_ELT): Bounds check if --enable-checking.
13718         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
13719         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
13720         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
13721         GET_NUM_ELEM.
13722         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
13723         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
13725         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
13726         (NOTE_SOURCE_FILE): Use X0STR.
13727         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
13728         MEM_ALIAS_SET): Use X0INT.
13729         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
13730         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
13731         Use X0EXP.
13732         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
13733         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
13734         (rtl_check_failed_bounds, rtl_check_failed_type1,
13735         rtl_check_failed_type2, rtvec_check_failed_bounds): New
13736         functions.
13737         (fancy_abort): Fix comment.
13739         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
13740         (cse_insn): Decrement LABEL_NUSES for jump target before
13741         deleting jump insn.
13742         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
13743         * final.c (alter_subreg): Compute regno before changing x to
13744         REG; set REGNO(x) after changing it.
13745         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
13746         notes containing CONST_INTs.
13747         (delete_eh_regions): Use NOTE_EH_HANDLER.
13748         * function.c (put_reg_into_stack): Make reg a MEM before
13749         initializing it.
13750         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
13751         delete insn.
13752         (gen_mem_addressof): Make reg a MEM before initializing it.
13753         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
13754         X0WINT.
13755         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
13756         deleting an insn, not after.
13757         (block_alloc): Only look at PATTERN(insn) if we have to, and
13758         only if it's format class 'i'.
13759         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
13760         CONST_INT before using its INTVAL.
13761         * print-rtl.c (print_rtx): Use X0STR.
13762         * regmove.c (fixup_match_1): Don't look at PATTERN of
13763         non-class-'i' insn chain elements.
13764         * reload.c (loc_mentioned_in_p): Take address of
13765         in->fld[1].rtx directly.
13766         * reload1.c (reload): Change reg to a MEM before initializing
13767         it.
13768         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
13769         have no names.
13770         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
13772 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
13774         * config/mips/mips.c (machine_dependent_reorg): Force a
13775         barrier to output the local constant pool if a barrier hasn't
13776         been found at a natural point in the instruction stream.
13778 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13780         * c-parse.in (language_string): Constify.
13782         * dwarf2out.c (language_string): Remove declaration.
13784         * dwarfout.c (language_string): Likewise.
13786         * toplev.c (language_string, init_parse, finish_parse): Likewise.
13788         * tree.h (language_string, init_parse, finish_parse): Declare.
13790         * i386/sun386.h (language_string): Remove declaration.
13792         * mips.h (language_string): Likewise.
13794         * nextstep.h (language_string): Likewise.
13796         * nextstep21.h (language_string): Likewise.
13798         * rs6000.c (language_string): Likewise.
13800 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13802         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
13803         (getpwd.o): Remove target.
13805         * getpwd.c: Delete file.  Its in libiberty now.
13807         * dbxout.c (getpwd): Don't prototype.
13808         * dwarf2out.c (getpwd): Likewise
13809         * dwarfout.c (getpwd): Likewise
13810         * final.c (getpwd): Likewise.
13811         * protoize.c (getpwd): Likewise.
13813 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13815         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
13817 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
13819         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
13820         mark_set_resources.
13822 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
13824         * fixinc/Makefile.in (subdir): New.
13825         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
13826         (Makefile): New.
13828 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
13830         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
13831         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
13832         be shared.
13834         * invoke.texi: Fix typo.
13836         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
13837         changed.  Handle autoincrement addressing modes.
13839         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
13840         just like we would the virtual incoming args register when
13841         integrating.
13843 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
13845         * rs6000.h (ASM_FILE_START): Specify complete filename, including
13846         path, in .file directive.
13848 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
13850         * gcc.texi (External Bugs): Remove obsolete note about Perl on
13851         SunOS.
13853 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
13855         * stdbool.h: Make the typedef name _Bool, with bool a #defined
13856         alias.
13858 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13860         * tree.c (tree_code_name): Constify a char*.
13862         * tree.h (tree_code_name, decl_printable_name): Likewise.
13864         * function.h (struct function): Likewise.
13866         * toplev.c (decl_name, decl_printable_name): Likewise.
13868         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
13870         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
13871         (init_objc): Remove function pointer cast.
13873 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
13875         * pa.md (interspace_jump): New pattern.
13876         (builtin_longjmp): New expander.
13878 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
13880         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
13881         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
13882         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
13884 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
13886         * jump.c (delete_prior_computation): Also check calls
13887         to constant functions.  Don't bother checking for a
13888         REG_UNUSED note before adding it.
13889         (delete_computation): Handle multi-word hard registers
13890         when synthesizing missing REG_DEAD notes for a register
13891         which is both set and used by an insn.
13893 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13895         * loop.c (this_loop_info): New variable.
13896         (loop_has_call, loop_has_volatile, loop_has_tablejump,
13897         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
13898         All uses updated.
13899         (prescan_loop, strength_reduce): New argument loop_info.  All callers
13900         updated.
13901         (scan_loop): New variable loop_info, initialise to address of
13902         this_loop_info.
13903         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
13904         Delete variable loop_has_multiple_exit targets and replace with
13905         field in this_loop_info.
13906         (find_and_verify_loops): Rename this_loop to this_loop_num.
13907         (strength_reduce): Delete loop_iteration_info.  Replace variable
13908         loop_info with function argument of same name.
13909         (insert_bct): Rework test for loop being completely unrolled.
13911         * loop.h (struct loop_info): New fields num, loops_enclosed,
13912         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
13913         has_indirect_jump, and cont.  Redefine use of unroll_number.
13914         (loop_unroll_number): Delete.
13916         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
13917         field of loop_info.
13918         (loop_iterations): Delete variable vtop and instead use
13919         loop_info->vtop computed in prescan_loop.
13921 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
13923         * fix-header.c (main): Do not pass a null pointer to strcmp.
13925 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
13927         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
13928         filenames.
13929         * configure: Rebuilt.
13931 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
13933         * jump.c (jump_optimize_1): Do not delete assignments to
13934         internal_arg_pointer.
13935         * cse.c (delete_trivially_dead_insns): Always consider a set of
13936         the internal_arg_pointer live.
13938 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
13940         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
13941         (update_life_info) [REG_WAS_0]: Search the original insns rather
13942         than the new insns for the note.  Fix typos finding note_dest.
13943         If no dest found, discard the note rather than abort.
13944         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
13945         (replace_insns): Remove the old insn list after update_life_info
13946         not before.
13948 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
13950         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
13951         sched_analyze_insn.
13952         (sched_analyze_1): Let add_dependence care for not adding dups.
13953         (sched_analyze_2): Likewise.
13954         (add_branch_dependences): Likewise.
13956 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13958         * i386/winnt.c (export_list): New type.
13959         (exports_head): Rename to
13960         (export_head):  this.
13961         (i386_pe_record_exported_symbol): Add is_data flag.
13962         (i386_pe_asm_file_end): Emit directive for exported variables.
13963         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
13964         prototype.
13965         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
13966         (ASM_DECLARE_OBJECT_NAME): Likewise.
13967         (ASM_DECLARE_FUNCTION_NAME): Likewise.
13968         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
13970 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
13972         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
13974         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
13975         operand.
13977 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
13979         * config/openbsd.h: Define SET_ASM_OP.
13980         * tm.texi: cross-reference SET_ASM_OP in the index.
13982 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
13984         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
13985         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
13986         and class_narrowest_mode at compile time.  Kill init_rtl.
13987         Mark rtx_length, mode_class, mode_size, mode_unit_size,
13988         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
13989         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
13990         EXTRA_CC_NAMES.
13991         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
13992         format.
13993         * rtl.h: Declare rtx_length and rtx_format as const.
13994         * machmode.def: Define CC().  Use CC() to define CCmode.  If
13995         EXTRA_CC_MODES is defined, expand it here.
13996         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
13997         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
13998         const.  Kill all references to EXTRA_CC_MODES.
14000         * toplev.c: Don't prototype or call init_rtl.
14001         * optabs.c: Don't call init_mov_optab.
14002         * genemit.c: Don't generate init_mov_optab.  Don't call
14003         init_rtl.
14004         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
14005         here.
14006         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
14007         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
14008         genrecog.c: Don't call init_rtl.
14010         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
14011         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
14012         definition of EXTRA_CC_MODES.
14014         * md.texi: Kill ref to EXTRA_CC_NAMES.
14015         * tm.texi: Document new way to define EXTRA_CC_MODES.
14017         * genrecog.c: Do not look up the name of a define_split.
14018         (Unrelated bugfix.)
14020 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
14022         * config/v850/v850.md: Fix typo introduced by previous delta.
14024 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14026         * gcc.c (fatal): Make definition static to match prototype.
14028 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14030         * combine.c (get_last_value): Don't look for earlier sets if the last
14031         known set is somewhere in between the insns being combined.
14033 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
14035         * configure.in: Don't use shell ! to negate exit codes
14036         * configure: Regenerate
14038 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
14040         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
14041         the fact that ALIGN is measured in bits, not bytes.
14043 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
14045         * errors.c: New file; defines functions error, warning, and
14046         fatal, variables have_error and progname.
14047         * errors.h: New file; prototypes and decls for stuff in errors.c.
14049         * Makefile: Add rules to build errors.o and
14050         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
14051         genopinit, genrecog, genextract, genpeep, genattr, and
14052         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
14053         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
14054         genpeep.o, genattr.o, and genoutput.o.
14056         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
14057         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
14058         define or prototype fatal.  Set progname at beginning of main.
14059         * genoutput.c:  Likewise, and don't define or prototype error
14060         either.
14062         * c-typeck.c (c_expand_start_case): Return immediately if exp
14063         is an ERROR_MARK.
14064         * fold-const.c (operand_equal_p): Return immediately if arg1
14065         or arg0 are ERROR_MARKs.
14066         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
14067         fields of type ERROR_MARK when calculating if the record can
14068         go in a register.
14070 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
14071         with much help from Jeffrey A Law and Richard Henderson
14073         * i386.md: In the 6 insns which call output_fix_trunc,
14074         earlyclobber operands[0].
14076 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
14078         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
14079         creating new registers.
14081 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
14083         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
14084         i386_reg_alloc_order, i386_regparm_string,
14085         i386_align_loops_string, i386_align_jumps_string,
14086         i386_align_funcs_string, i386_preferred_stack_boundary_string,
14087         and i386_branch_cost_string as type "const char *".
14088         * i386.c: Define all above strings as type "const char *".
14090 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
14092         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
14093         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
14095 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
14097         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
14098         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
14100 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
14102         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
14103         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
14104         (dwarf2out_line, dwarf2out_finish): Likewise.
14105         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
14107 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14109         * tree.c (lang_unsave_expr_now) : Correct return type.
14110         * tree.h (lang_unsave_expr_now) : Same.
14112 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
14114         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
14115         instead of duplicating code.
14117 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14119         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
14121 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
14123         * tree.h: fancy_abort always takes three args.
14124         * resource.c: Move include of system.h before toplev.h.
14126 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
14128         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
14129         as SYMBOL_REFs.
14131 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
14133         * system.h: Don't redefine abort or trim_filename.
14134         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
14135         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
14136         whether or not __FUNCTION__ is available.
14137         * tree.h: Duplicate rtl.h's definition of abort, for files
14138         that don't include rtl.h.  Delete all code to perform type
14139         checking with a compiler other than GCC.
14140         * varray.h: Delete all code to perform type checking with a
14141         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
14142         its arguments exactly once, using a statement expression.
14143         Adjust the VARRAY_<type> accessor macros to match.
14144         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
14145         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
14146         caller's location.  Define fatal_insn and fatal_insn_not_found
14147         as macros that use _fatal_insn and _fatal_insn_not_found.
14148         (fancy_abort, trim_filename): Kill prototypes.
14150         * rtl.c (trim_filename): Move here from toplev.c.
14151         (fancy_abort): New function.
14152         (DIR_SEPARATOR): Provide default definition.
14153         * tree.c (tree_check_failed, tree_class_check_failed): Go
14154         through fancy_abort.
14155         (tree_check, tree_class_check, cst_or_constructor_check,
14156         expr_check): Delete.
14157         * varray.c (varray_check_failed): New function.
14158         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
14159         _fatal_insn and _fatal_insn_not_found.  Go through
14160         fancy_abort.
14161         (trim_filename, fancy_abort): Delete.
14163         * builtins.c (expand_builtin_args_info): Report ICE with abort.
14164         * except.c (start_catch_handler): Report ICE with error/abort
14165         combo.
14166         * final.c (output_operand_lossage): Likewise.
14167         * flow.c (verify_flow_info): Likewise.
14169         * gcc.c: Prototype fatal.
14170         * gengenrtl.c: Undef abort after including rtl.h not system.h.
14171         * genattr.c, genattrtab.c, genemit.c, genextract.c,
14172         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
14173         Don't define fancy_abort.
14175 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
14177         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
14178         canonization.
14180 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
14182         * m88k.h (VERSION_INFO2): Kill.
14183         (VERSION_STRING): Kill.
14184         (TM_RCS_ID): Kill.
14185         (VERSION_INFO1): Tidy.
14186         (TARGET_VERSION): Update.
14187         * m88k/dgux.h (VERSION_INFO2): Kill.
14188         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
14189         * m88k/luna.h (VERSION_INFO1): Tidy.
14190         * m88k/sysv4.h (VERSION_INFO1): Likewise.
14191         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
14192         (output_file_start): Adjust for death of VERSION_STRING.
14194 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
14196         * cpplib.c (detect_if_not_defined): New function.
14197         (do_if): Use it to detect potential once-only headers.
14199 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
14201         * c-common.c (combine_strings): Always set TREE_CONSTANT.
14203 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14205         * combine.c (nonzero_bits) : Allow single-ly set registers to be
14206         anywere in the function only if they are pseudos and set before
14207         being used (not live at the start of the function).
14208         (num_sign_bit_copies) : Same.
14209         (get_last_value_validate) : Same.
14210         (get_last_value) : Same.
14212 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
14214         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
14215         where N and M are constant and N is an integer multiple of M.
14217 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
14219         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
14220         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
14221         sbitmap_union_of_preds): Add prototypes.
14222         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
14223         the intersection of successors with the new flow graph structures.
14224         (sbitmap_intersection_of_preds): New function to compute the
14225         intersection of predecessors with the new flow graph structures.
14226         (sbitmap_union_of_succs): New function to compute the union of
14227         successors with the new flow graph structures.
14228         (sbitmap_union_of_preds): New function to compute the union of
14229         predecessors with the new flow graph structures.
14230         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
14231         (expr_reaches_here_p): Use edge and basic_block structures instead
14232         of s_preds and s_succs.
14233         (compute_cprop_avinout): Use new sbitmap routines.
14234         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
14235         of s_preds and s_succs.
14236         * flow.c (compute_flow_dominators): Compute dominators using
14237         edges and basic blocks instead of s_preds and s_succs.
14239 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
14241         * lists.c (unused_insn_list, unused_expr_list): New file for
14242         maintaining various types of lists. New statics for maintaining a
14243         cache of available INSN_LIST and EXPR_LIST nodes.
14244         (free_list): Static function for freeing a list of INSN/EXPR nodes.
14245         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
14246         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
14247         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
14248         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
14249         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
14250         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
14251         (free_INSN_LIST_node): Free an individual INSN_LIST node.
14252         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
14253         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
14254         (remove_dependence, free_pending_lists): Use new global routines.
14255         (flush_pending_lists, sched_analyze_insn): Use new global routines.
14256         (sched_analyze, compute_block_backward_dependences): Use new routines.
14257         (sched_analyze_1, sched_analyze_2): Use new routines.
14258         (schedule_insns): Use new global routines.
14259         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
14260         prototypes.
14261         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
14262         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
14263         prototypes.
14264         * toplev.c (rest_of_compilation): Initialize node cache.
14265         * Makefile.in (OBJS): Add lists.o to list of object files.
14266         (lists.o): Add dependancies.
14268 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
14270         * config/v850/v850.md: Fix compile time warning messages.
14271         * config/v850/v850.c: Fix compile time warning messages.
14272         * config/v850/v850.h: Fix compile time warning messages.
14274 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14276         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
14277         Remove unused prototype for `init_lengths'.
14279 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14281         * calls.c (emit_call_1): Mark parameter `stack_size' with
14282         ATTRIBUTE_UNUSED.
14283         (expand_call): Initialize variable `insn'.
14284         (emit_library_call): Likewise for variable `high_to_save'.
14285         (emit_library_call_value): Likewise.
14286         (store_one_arg): Likewise for variables `lower_bound' and
14287         `upper_bound'.
14289         * combine.c (try_combine): Likewise for variables `i2_code_number'
14290         and `other_code_number'.
14291         (find_split_point): Likewise for variables `pos', `unsignedp' and
14292         `inner'.
14293         (simplify_if_then_else): Likewise for variables `op' and `c1'.
14294         (simplify_and_const_int): Remove unused variable `width'.
14295         (merge_outer_ops): Likewise.
14297         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
14298         HOST_WIDE_INT' when comparing against one.
14299         (simplify_relational_operation): Likewise.
14300         (cse_insn): Initialize variables `src_eqv_volatile',
14301         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
14303         * final.c (init_final): Constify parameter `filename'.
14304         (final_start_function): Mark parameter `optimize' with
14305         ATTRIBUTE_UNUSED.
14306         (profile_function): Likewise for parameters `first' and `optimize'.
14307         (output_source_line): Likewise for parameter `file'.
14309         * integrate.c (subst_constants): Cast a value to `size_t' when
14310         comparing against one.
14311         (mark_stores): Initialize variable `mode'.  Cast a value to
14312         `size_t' when comparing against one.
14314         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
14316         * loop.c (move_movables): Initialize variable `first'.
14317         (strength_reduce): Likewise for variable `increment'.
14318         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
14319         value to `size_t' when comparing against one.
14320         (load_mems): Initialize variable `end_label'.
14322         * output.h (init_final): Constify parameter.
14324         * reload.c (decompose): Initialize variable `base'.
14326         * reload1.c (reload): Likewise for variable `is_scalar'.
14327         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
14328         (choose_reload_regs): Initialize variable `mode'.
14329         (emit_reload_insns): Likewise for variable `store_insn'.
14330         (reload_cse_noop_set_p): Mark parameter `insn' with
14331         ATTRIBUTE_UNUSED.
14332         (reload_combine): Initialize variable `set'.
14334         * unroll.c (unroll_loop): Likewise for variable `local_label'.
14335         (copy_loop_body): Cast a value to `size_t' when comparing against
14336         one.
14338         * varasm.c (assemble_variable): Initialize variable `size_tree'.
14339         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
14340         (remove_from_pending_weak_list): Mark parameter `name' with
14341         ATTRIBUTE_UNUSED.
14343 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14345         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
14346         gcse dump file.
14348 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
14350         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
14351         (ASM_DECLARE_FUNCTION_NAME): Define.
14352         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
14353         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
14354         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
14355         not already defined.
14357 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
14359         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
14360         of n_popped when call/call_value are not defined.
14362 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
14364         * tm.texi: GNU CC -> GCC conversion.
14365         (CC1_SPEC): Indicate it is used for all language front ends.
14367 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
14369         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
14370         NOTE_INSN_EH_REGION_END correctly.
14372 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
14373                           Jeff Law <law@cygnus.com>
14375         * loop.c (strength_reduce): Automatically unroll loops if the
14376         unrolled loop size is smaller than the rolled loop size.
14378         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
14379         and delete comment that code should be rewritten.
14381 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
14383         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
14384         as reachable.
14386         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
14388 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
14390         * fixinc/mkfixinc.sh: Don't fix uwin headers.
14391         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
14392         (LINK_SPEC): Add -u _main when building executables.
14393         (ASM_DECLARE_FUNCTION): Update from Cygwin.
14394         (ASM_FILE_END): Use the default for ix86-pe.
14395         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
14397 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
14399         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
14400         and ASM_CLOSE_PAREN are empty strings.
14402 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
14403                           Geoffrey Keating <geoffk@cygnus.com>
14405         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
14406         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
14407         (unprotoize.o): Ditto.
14408         (test-protoize-simple): Don't define STD_PROTO_DIR.
14409         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
14410         changes to make 'test-protoize-simple' pass.
14411         (STD_PROTO_DIR): Remove define.
14412         (STANDARD_EXEC_PREFIX): Supply default define.
14413         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
14414         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
14415         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
14416         (GET_ENV_PATH_LIST): New macro.
14417         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
14418         (do_processing): Initialize default_syscalls_dir using new
14419         macros.  Use it to initialize syscalls_absolute_filename.
14421 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
14423         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
14424         B into a register before emit_conditional_move.
14426 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
14428         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
14429         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
14430         multiplicand out of (+ (* a b) (* c d)).
14432 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
14433                           Richard Henderson  <rth@cygnus.com>
14435         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
14436         (new_insn_dead_notes): Likewise.
14437         (update_n_sets): Likewise.
14438         (update_flow_info): Move to flow.c, renamed to update_life_info;
14439         extend to handle multiple source insns.
14440         * flow.c: Include resource.h
14441         (unlink_insn_chain): New.
14442         (split_hard_reg_notes): New.
14443         (maybe_add_dead_note): New.
14444         (maybe_add_dead_note_use): New.
14445         (find_insn_with_note): New.
14446         (new_insn_dead_notes): New.
14447         (update_n_sets): New.
14448         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
14449         (maybe_remove_dead_notes): New.
14450         (update_life_info): New.
14451         (prepend_reg_notes): New.
14452         (replace_insns): New.
14453         * output.h (update_life_info): Declare.
14454         * recog.c (split_block_insns): Use update_life_info.
14455         * resource.c (find_free_register): Use reg_alloc_order, don't use
14456         fixed regs, make sure the mode is supported, don't use new regs.
14457         (reg_dead_p): New.
14458         * rtl.h (replace_insns): Declare.
14460 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
14462         * expr.c (expand_expr): Cope with COND_EXPRs with one
14463         non-returning branch.
14465 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
14467         * expr.c (store_expr): Always pass down the target, even when not
14468         doing CSE.
14470 1999-08-24  Nick Clifton  <nickc@cygnus.com>
14472         * configure.in: Define target_cpu_default for v850 targets.
14473         * configure: Regenerate
14475         * config/v850/v850.h (TARGET_CPU_generic): Define.
14476         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
14477         addresses are 4 byte aligned.
14479         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
14480         addresses.
14482 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14484         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
14485         (main): Add prototypes.
14487         * genattrtab.c (substitute_address, write_const_num_delay_slots,
14488         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
14489         (write_attr_get): Emit prototypes along with function definition.
14490         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
14491         (write_complex_function): Emit static prototype along with
14492         function definition.
14494         * genemit.c (gen_split): Emit prototypes along with function
14495         definition.
14497         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
14498         Likewise for predicates and `insn_operand_predicate'.
14499         (process_template): Emit static prototype along with function
14500         definition.
14502         * genrecog.c (make_insn_sequence): Constify a char*.  Add
14503         prototypes for get_split_*().
14504         (write_subroutine): Emit prototypes along with function
14505         definition.
14507 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14509         * gcse.c (find_avail_set): Follow chains of register-register copies.
14510         Use oprs_not_set_p to guarantee that the returned value can be
14511         substituted.
14512         (cprop_insn): Don't verify the return value of find_avail_set with
14513         oprs_not_set_p.
14515         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
14516         (cprop_cc0_jump): New function.
14517         (cprop_insn): Break out new function cprop_jump and use it.
14518         Also use cprop_cc0_jump for machines with CC0.
14519         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
14521         * tree.h (current_function_calls_setjmp,
14522         current_function_calls_longjmp): Delete declarations.
14523         * dsp16xx.c: Include "function.h".
14524         * elxsi.c: Likewise.
14525         * gmicro.c: Likewise.
14526         * h8300.c: Likewise.
14527         * i370.c: Likewise.
14528         * m32r.c: Likewise.
14529         * mn10200.c: Likewise.
14530         * mn10300.c: Likewise.
14531         * ns32k.c: Likewise.
14532         * spur.c: Likewise.
14533         * v850.c: Likewise.
14535         * rtl.h (rtx_equal_function_value_matters): Declare.
14536         * toplev.c (rtx_equal_function_value_matters): Don't declare.
14537         * cse.c: Likewise.
14538         * function.c: Likewise.
14539         * emit-rtl.c: Likewise.
14541 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
14543         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
14544         call.
14546 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14548         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
14549         exactly.
14551 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
14553         * cpp.texi: Add a node documenting macro varargs (copied
14554         from extend.texi).
14556 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
14558         * cppspec.c: Put a null pointer at the end of the new argv.
14560 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
14562         * configure.in: Remove code to select/de-select the haifa
14563         scheduler.  Every scheduled port gets haifa now.
14564         * configure: Rebuilt.
14565         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
14566         * sched.c Deleted.
14567         * Makefile.in: Corresponding changes.
14569 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14571         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
14572         All callers changed.
14573         (prepare_float_lib_cmp): Likewise.
14574         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
14575         * expr.h (emit_float_lib_cmp): Delete declaration.
14576         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
14577         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
14578         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
14579         specially.
14580         (cmptf): Now conditional on TARGET_HARD_QUAD.
14582 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
14584         * resource.c (mark_target_live_regs): Use
14585         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
14587 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14589         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
14591         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
14593         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
14595 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14597         * rtl.h (rtx_format): Constify a char*.
14599         * rtl.c (rtx_format): Likewise.
14600         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
14601         (init_rtl): Use accessor macro, not `rtx_format'.
14603         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
14604         char*.
14606         * caller-save.c (mark_referenced_regs): Likewise.
14608         * combine.c (subst, make_compound_operation, known_cond,
14609         gen_rtx_combine, update_table_tick, get_last_value_validate,
14610         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
14612         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
14613         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
14614         count_reg_usage): Likewise.
14616         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
14617         Likewise.
14619         * final.c (leaf_renumber_regs_insn): Likewise.
14621         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
14622         dump_edge_info, count_reg_references): Likewise.
14624         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
14625         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
14626         Likewise.
14628         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
14629         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
14630         add_label_notes): Likewise.
14632         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
14633         clear_struct_flag, count_sub_rtxs, count_alternatives,
14634         compares_alternatives_p, contained_in_p, walk_attr_value,
14635         write_expr_attr_cache): Likewise.
14637         * genconfig.c (walk_insn_part): Likewise.
14639         * genemit.c (max_operand_1, gen_exp): Likewise.
14641         * genextract.c (walk_rtx): Likewise.
14643         * genflags.c (num_operands): Likewise.
14645         * genoutput.c (scan_operands): Likewise.
14647         * genpeep.c (match_rtx): Likewise.
14649         * genrecog.c (add_to_sequence): Likewise.
14651         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
14652         Likewise.
14654         * integrate.c (save_constants, copy_for_inline,
14655         copy_rtx_and_substitute, subst_constants, restore_constants):
14656         Likewise.
14658         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
14659         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
14661         * local-alloc.c (contains_replace_regs, memref_referenced_p):
14662         Likewise.
14664         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
14665         add_label_notes, replace_call_address, count_nonfixed_reads,
14666         invariant_p, find_single_use_in_loop, find_mem_givs,
14667         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
14668         Likewise.
14670         * print-rtl.c (reg_names, print_rtx): Likewise.
14672         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
14674         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
14675         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
14676         print_blocks): Likewise.
14678         * regclass.c (fix_register, record_address_regs,
14679         reg_scan_mark_refs): Likewise.
14681         * regmove.c (stable_but_for_p): Likewise.
14683         * reload.c (loc_mentioned_in_p, operands_match_p,
14684         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
14685         copy_replacements, refers_to_regno_for_reload_p,
14686         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
14687         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
14688         Likewise.
14690         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
14691         delete_address_reloads_1, count_occurrences,
14692         reload_cse_mem_conflict_p, reload_combine_note_use,
14693         add_auto_inc_notes): Likewise.
14695         * resource.c (mark_referenced_resources, mark_set_resources):
14696         Likewise.
14698         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
14699         reg_mentioned_p, regs_set_between_p, modified_between_p,
14700         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
14701         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
14702         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
14703         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
14705         * sched.c (sched_analyze_2, attach_deaths): Likewise.
14707         * stupid.c (stupid_mark_refs): Likewise.
14709         * unroll.c (remap_split_bivs): Likewise.
14711         * varasm.c (mark_constants): Likewise.
14713         * a29k/a29k.c (uses_local_reg_p): Likewise.
14715         * alpha/alpha.c (summarize_insn): Likewise.
14717         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
14718         eliminate_lr2ip): Likewise.
14720         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
14722         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
14723         reg_mentioned_in_mem): Likewise.
14725         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
14726         symbolic_reference_mentioned_p): Likewise.
14728         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
14730         * sh/sh.c (regs_used, mark_use): Likewise.
14732         * vax/vax.c (vax_rtx_cost): Likewise.
14734 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14736         * machmode.h (mode_name): Constify a char*.
14738         * rtl.c (mode_name): Likewise.
14740         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
14742         * optabs.c (init_libfuncs): Constify a char*.
14744         * print-tree.c (mode_name): Remove redundant declaration.
14745         (print_node): Use accessor macro, not `mode_name'.
14747         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
14748         not `mode_name'.
14749         (new_spill_reg): Constify a char*.
14751         * tree.c (mode_name): Remove redundant declaration.
14753 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14755         * rtl.c (rtx_name): Constify a char*.
14757         * rtl.h (rtx_name, fix_sched_param): Likewise.
14759         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
14760         (mypr): Use accessor macro, not `rtx_name'.
14762         * genemit.c (print_code): Constify a char*.
14764         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
14766         * genpeep.c (print_code): Constify a char*.
14768         * genrecog.c (print_code): Likewise.
14770         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
14771         end_bb): Add static prototype.
14772         (draw_edge): Constify a char*.
14773         (end_bb): Remove unused parameter.
14775         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
14776         print_block_visualization): Constify a char*.
14778 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
14780         * c-common.c (c_get_alias_set): Update comment.
14782 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
14784         * linux.h (LIB_SPEC): Added.
14786 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14788         * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
14790 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
14792         * tree.c (expr_check): Fix typo in last change.
14794 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
14796         * rtl.def (NOTE): Change format to "iuu0n".
14797         (ADDR_DIFF_VEC): Change format to "eEee0".
14798         (ADDRESSOF): Change format to "eit".
14800         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
14801         (RTVEC_ELT): Change to match.
14802         (XVECEXP): Use XVEC and RTVEC_ELT.
14803         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
14804         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
14805         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
14806         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
14807         TRAP_CONDITION, TRAP_CODE): Use XEXP.
14808         (INTVAL): Use XWINT.
14809         (ADDRESSOF_DECL): Use XTREE.
14810         (SET_ADDRESSOF_DECL): Delete.
14811         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
14812         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
14813         ifdefed out since 2.6 at least.
14814         (gen_rtvec_vv): Delete prototype.
14816         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
14817         not rtunion.
14818         (copy_most_rtx): Handle 't' format letter.
14819         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
14820         (gen_rtvec_vv): Delete function.  All callers changed to use
14821         gen_rtvec_v instead.
14822         * print-rtl.c (print_rtx): Move special casing of NOTEs to
14823         the '0' format letter.
14825         * function.c (gen_mem_addressof): Don't use
14826         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
14827         instead.
14828         * integrate.c (copy_rtx_and_substitute): Likewise.
14829         Copy 't' slots with XTREE.
14830         (subst_constants): Treat 't' slots like '[swi]' slots.
14831         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
14832         * jump.c (rtx_equal_for_thread_p): Likewise.
14833         * rtlanal.c (rtx_equal_p): Likewise.
14834         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
14835         only four arguments.
14836         * gengenrtl.c (type_from_format): Provide correct types for
14837         'b' and 't' slots.
14840         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
14841         If a recent gcc is in use (always in stage2 and beyond), use
14842         statement expressions, so we don't make a function call unless
14843         the check fails.  Evaluate arguments exactly once.
14844         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
14845         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
14846         Delete.
14847         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
14848         they evaluate their arguments exactly once, irrespective of
14849         the compiler in use.
14851         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
14852         is used by the currently-enabled check macros.  This is:
14853         (tree_check_failed, tree_class_check_failed): For gcc.
14854         (tree_check, tree_class_check, cst_or_constructor_check,
14855         expr_check): For other compilers.
14857         * gencheck.c: Do not define any *_CHECK1 macros.
14859 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
14860                           Mark Mitchell <mark@codesourcery.com>
14862         * c-common.c (c_get_alias_set): Fix support for poitners and
14863         references.
14865 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
14867         * alias.c: Include tree.h.
14868         (nonlocal_reference_p, mark_constant_function): New functions.
14869         * flow.c (life_analysis): Call mark_constant_function.
14870         * rtl.h (mark_constant_function): Declare it.
14872 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
14874         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
14875         unrecognisable switches.
14877 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14879         * loop.c (recombine_givs): Set ix field after sorting.
14880         (recombine_givs): Remove bogus index / giv lockstep looping.
14882 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14884         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
14885         on CODE.
14886         (emit_store_flag_force): Use do_compare_rtx_and_jump.
14887         (do_cmp_and_jump): Formatting fixes.
14888         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
14889         do_compare_rtx_and_jump instead of compare_from_rtx.
14890         (do_compare_rtx_and_jump): New function; mostly copied from
14891         compare_from_rtx.
14892         (do_jump_for_compare): Delete.
14893         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
14894         MIN_EXPR.
14895         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
14896         of compare/do_jump_for_compare pairs.
14897         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
14898         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
14899         compare_from_rtx/do_jump_for_compare pairs.
14900         (do_jump_by_parts_equality): Likewise.
14901         (do_jump_by_parts_equality_rtx): Likewise.
14902         * expr.h (do_compare_rtx_and_jump): Declare.
14903         * optabs.c (prepare_cmp_insn): New function, contains most of the code
14904         that used to be in emit_cmp_insn.
14905         (cmp_available_p): New function.
14906         (prepare_operand): New function.
14907         (emit_cmp_and_jump_insn_1): New function, contains some code that used
14908         to be in emit_cmp_insn.
14909         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
14910         parameters to be pointers; don't emit final compare but modify some of
14911         the values pointed to by the args so the caller can perform the
14912         correct comparison.
14913         (expand_binop): Call emit_store_flag_force with signed forms of
14914         comparison code.
14915         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
14916         emit_jump_insn pair.
14917         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
14918         emit_cmp_and_jump_insn_1.  Call emit_queue.
14919         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
14920         arg.
14921         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
14922         jump sets cc0 before deleting it.
14923         * integrate.c (expand_inline_function): Likewise.
14924         * unroll.c (unroll_loop): Similar changes in several places.
14925         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
14926         before deleting it.
14928 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14930         * Makefile.in (insn-recog.o): Update dependencies.
14931         * genrecog.c (main): Make generated file include "function.h".
14933 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
14935         * cse.c (cse_insn): Call never_reached_warning when a jump is
14936         changed to be unconditional.
14937         * flags.h: Declare warn_notreached.
14938         * flow.c (delete_block): Call never_reached_warning when
14939         a block is deleted.
14940         * jump.c (delete_barrier_successors): Call never_reached_warning
14941         when we delete everything after a BARRIER.
14942         (never_reached_warning): New function.
14943         * rtl.h: Declare never_reached_warning.
14944         * toplev.c (warn_notreached): New variable.
14945         (lang_independent_options): Set warn_notreached
14946         when -Wunreachable-code.
14947         (compile_file): We need line numbers for -Wunreachable-code.
14949 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
14951         * haifa-sched.c (insn_unit): Fix typo on out of range test.
14952         * sched.c (insn_unit): Likewise.
14954 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
14956         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
14958 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
14960         * flow.c (create_edge_list): Use xmalloc, not malloc.
14962 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
14964         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
14965         C-style comments.  Do not lose the character before double slash.
14967 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
14969         * basic-block.h (struct edge_list): Stucture to maintain a vector
14970         of edges.
14971         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
14972          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
14973         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
14974         New function prototypes.
14975         * flow.c (create_edge_list): Function to create an edge list.
14976         (free_edge_list): Discards memory used by an edge list.
14977         (print_edge_list): Debug output showing an edge list.
14978         (verify_edge_list): Internal consistency check for an edge list.
14979         (find_edge_index): Function to find an edge index for a pred and succ.
14981 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
14983         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
14984         hashtable.
14986 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
14988         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
14990 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
14992         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
14994 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
14996         * toplev.c (rest_of_compilation): Allow machine dependent
14997         reorganisation pass to place information into the RTL dump
14998         file if it so wishes.
15000 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
15002         * explow.c (hard_function_value): Use VOIDmode instead of
15003         MAX_MACHINE_MODE.
15004         * stmt.c (expand_return): Likewise.
15005         * stor-layout.c (get_best_mode): Likewise.
15007         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
15008         emit call instead of emit_insn call.
15010 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15012         * configure.in: Handle --disable/enable-win32-registry.
15013         * install.texi: Document --disable/enable-win32-registry.
15014         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
15015         (WIN32_REGISTRY_KEY): New macro.
15016         * prefix.c: Use to enable/disable win32-specific code.
15017         (lookup_key): Use versioned key.
15018         * configure: Regenerate.
15019         * config.in: Likewise.
15021 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
15023         * cpplib.c (read_line_number): New fn, split out of...
15024         (do_line): Here.
15026 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15028         tree.c (lang_unsave_expr_now) : New.
15029         (unsave_expr_now): Call lang_unsave_expr_now.
15030         tree.h (lang_unsave_expr_now) : New.
15032 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
15034         * toplev.c (flag_new_exceptions): On by default.
15036 1999-08-13  Michael Meissner  <meissner@cygnus.com>
15038         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
15040 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
15042         * dwarfout.c (fundamental_type_code): Return FT_boolean for
15043         INTEGER_TYPE with precision==1, it's __java_boolean.
15045 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15047         * global.c (prune_preferences): Move some invariants out of the
15048         inner loop.
15050 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
15052         * configure.in (alpha*-dec-osf*): Add osf5.
15054 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
15056         * configure.in: Rework handling of ARM GNU/Linux slightly.
15057         (arm*-*-linux-gnuoldld): New target.
15058         * configure: Regenerate.
15059         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
15060         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
15061         * config/arm/linux-oldld.h: New file.
15062         * config/arm/linux-elf26.h: Don't include linux-elf.h.
15063         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
15064         Don't define.
15065         * config/arm/linux-elf.h (ASM_SPEC): Define.
15066         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
15067         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
15068         for 26-bit APCS and old linker.
15069         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
15070         `arm_elf'.
15071         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
15072         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
15073         don't define `arm' or `arm_elf'.
15074         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
15075         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
15077 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
15079         * rtl.texi: Fix typo.
15081 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
15083         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
15085 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
15087         * extend.texi (C++ Signatures): Remove node.
15088         * invoke.texi: Remove discussion of -fhandle-signatures,
15089         signature, sigof, __signature__, and __sigof__.
15091 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
15093         * Makefile.in (JAVAGC): Removed.
15095 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15097         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
15099 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
15101         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
15103 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
15105         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
15106         a register that is already known to be a pointer.
15108 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
15110         * fixinc/inclhack.tpl: Only install assert.h conditionally.
15111         * fixinc/inclhack.sh: Regenerated.
15112         * fixinc/fixincl.sh: Regenerated.
15114 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
15116         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
15117         Fix documentation of -ansi flag to describe its C++ behavior.
15118         Remove bogus reference to GCC 2.9.
15120 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
15122         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
15123         note if it is non-NULL.
15125 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15127         * except.h (eh_nesting_info): Add new structure defintion.
15128         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
15129         (reachable_handlers, update_rethrow_references): Add function
15130         prototypes.
15131         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
15132         a rethrow symbol instead of an integer exception region number.
15133         * flow.c (Make_edges): Use new exception nesting routines to determine
15134         which handlers are reachable from a CALL or asynchronous insn.
15135         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
15136         goto receivers.
15137         (delete_eh_regions): Update rethrow labels, and don't delete
15138         regions which are the target of a rethrow.
15139         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
15140         avoid overloading the SYMBOL_REF_USED flag.
15141         (rethrow_symbol_map): Use new rethrow_ref field.
15142         (rethrow_used): Use new rethrow_ref field.
15143         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
15144         of an integer.  Fix formatting.
15145         (output_exception_table_entry): Use new rethrow_ref field.
15146         (can_throw): Check for EH_REGION_NOTE before deciding
15147         whether a CALL can throw or not.
15148         (scan_region): Call rethrow_used() instead of accessing data structure.
15149         (update_rethrow_references): New function to make sure only regions
15150         which are still targets of a rethrow are flagged as such.
15151         (process_nestinfo): New static function to initialize a handler
15152         list for a specific region.
15153         (init_eh_nesting_info): New function to allocate and initialize
15154         the list of all EH handlers reachable from all regions.
15155         (reachable_handlers): New function to retrieve the list of handlers
15156         reachable from a specific region and insn.
15157         (free_eh_nesting_info): New function to dispose of a list of
15158         reachable handlers.
15160 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15162         * flow.c (split_edge): Set JUMP_LABEL field.
15163         (commit_one_edge_insertion): Set head correctly for insert_before.
15164         When inserting insns, update insn block numbers if allocated.
15166 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15168         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
15169         retry_incomplete_types): Add static prototype.
15170         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
15171         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
15172         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
15173         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
15174         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
15175         Constify a char*.
15177         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
15178         dwarf2out_start_source_file, dwarf2out_line): Likewise.
15180 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15182         * output.h (assemble_name): Constify a char*.
15184         * varasm.c (UNIQUE_SECTION, assemble_start_function,
15185         assemble_variable, assemble_name): Likewise.
15187         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
15189         * arm/pe.c (arm_pe_unique_section): Likewise.
15191         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
15193         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
15195         * i386/interix.c (i386_pe_unique_section): Likewise.
15197         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
15199         * i386/winnt.c (i386_pe_unique_section): Likewise.
15201         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
15203         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
15205         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
15207         * pa/pa.c (output_call): Likewise.
15209         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
15211         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
15213         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
15214         Likewise.
15216         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
15217         Likewise.
15219         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
15221         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
15222         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
15224         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
15226 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15228         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
15230 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15232         * tree.h (lang_identify): Constify a char*.
15233         (print_error_function): Add extern prototype.  Constify a char*.
15235         * c-lang.c (lang_identify): Constify a char*.
15237         * objc/objc-act.c (lang_identify): Constify a char*.
15239 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15241         * genpeep.c (main): Make generated file include "function.h".
15242         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
15244 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15246         * Makefile.in: Update dependencies.
15247         * alias.c: Include "function.h"
15248         * c-decl.c: Likewise.
15249         * caller-save.c: Likewise.
15250         * calls.c: Likewise.
15251         * combine.c: Likewise.
15252         * cse.c: Likewise.
15253         * explow.c: Likewise.
15254         * final.c: Likewise.
15255         * global.c: Likewise.
15256         * graph.c: Likewise.
15257         * local-alloc.c: Likewise.
15258         * loop.c: Likewise.
15259         * optabs.c: Likewise.
15260         * profile.c: Likewise.
15261         * recog.c: Likewise.
15262         * regclass.c: Likewise.
15263         * regmove.c: Likewise.
15264         * reload.c: Likewise.
15265         * reorg.c: Likewise.
15266         * resource.c: Likewise.
15267         * sched.c: Likewise.
15268         * stupid.c: Likewise.
15269         * config/1750a/1750a.c: Likewise.
15270         * config/a29k/a29k.c: Likewise.
15271         * config/arc/arc.c: Likewise.
15272         * config/arm/arm.c: Likewise.
15273         * config/arm/thumb.c: Likewise.
15274         * config/c4x/c4x.c: Likewise.
15275         * config/clipper/clipper.c: Likewise.
15276         * config/convex/convex.c: Likewise.
15277         * config/fx80/fx80.c: Likewise.
15278         * config/i860/i860.c: Likewise.
15279         * config/m68k/m68k.c: Likewise.
15280         * config/m88k/m88k.c: Likewise.
15281         * config/mips/mips.c: Likewise.
15282         * config/pdp11/pdp11.c: Likewise.
15283         * config/pyr/pyr.c: Likewise.
15284         * config/romp/romp.c: Likewise.
15285         * config/sh/sh.c: Likewise.
15286         * config/tahoe/tahoe.c: Likewise.
15287         * config/vax/vax.c: Likewise.
15288         * config/we32k/we32k.c: Likewise.
15289         * config/sparc/sparc.c: Include "function.h".
15290         (mem_min_alignment): Test current_function rather than
15291         regno_pointer_align.
15292         * config/pa/pa.c: Likewise.
15293         (compute_frame_size): Delete declaration of
15294         current_function_outgoing_args_size.
15295         * config/arc/arc.h (current_function_varargs): Delete declaration.
15296         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
15297         declaration.
15298         * config/i370/i370.h (current_function_outgoing_args_size): Delete
15299         declaration.
15300         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
15301         current_function_uses_pic_offset_table.
15302         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
15303         of current_function_returns_pointer.
15304         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
15305         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
15306         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
15307         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
15308         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
15309         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
15310         * config/m88k/m88k.c: Include "function.h"
15311         (call_used_regs, current_function_pretend_args_size,
15312         current_function_outgoing_args_size, frame_pointer_needed): Delete
15313         declarations.
15314         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
15315         declaration.
15316         * config/mips/mips.h (current_function_calls_alloca): Delete
15317         declaration.
15318         * config/mn10200/mn10200.h (current_function_needs_context,
15319         rtx_equal_function_value_matters): Delete declarations.
15320         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
15321         flag_pic): Delete declarations.
15322         * config/pa/pa.h (current_function_pretend_args_size,
15323         current_function_decl): Delete declarations.
15324         * config/pa/som.h (current_function_varargs): Delete declaration.
15325         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
15326         declaration.
15327         * config/pyr/pyr.h (current_function_pretend_args_size,
15328         current_function_args_size, current_function_calls_alloca): Delete
15329         declarations.
15330         * config/sh/sh.h (current_function_varargs): Delete declaration.
15331         * config/sparc/sparc.h (current_function_outgoing_args_size,
15332         current_function_calls_alloca, current_function_decl): Delete
15333         declarations.
15334         * config/spur/spur.h (current_function_pretend_args_size,
15335         current_function_calls_alloca): Delete declarations.
15336         * config/v850/v850.c (current_function_outgoing_args_size): Delete
15337         declaration.
15338         * config/vax/vms.h (current_function_name): Delete declaration.
15339         * gcse.c: Include "function.h".
15340         (current_function_name, current_function_calls_setjmp): Delete
15341         declarations.
15342         * haifa-sched.c: Include "function.h".
15343         (forced_labels): Delete declaration.
15344         * jump.c: Likewise.
15345         * reg-stack.c: Likewise.
15346         * reload1.c: Likewise.
15347         * genemit.c (main): Make generated file include function.h.
15348         * genoutput.c (output_prologue): Likewise.
15350         * builtins.c (saveregs_value, apply_args_value): Delete variables.
15351         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
15352         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
15353         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
15354         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
15355         macros for some of them.
15356         (emit_filename, emit_lineno): Delete declarations.
15357         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
15358         regno_pointer_* variables through current_function.
15359         (gen_inline_header_rtx): Delete function.
15360         (save_emit_status): Delete function.
15361         (set_new_last_label_num): New function.
15362         (clear_emit_caches): New function.
15363         (restore_emit_status): Just clear last_labelnum and call
15364         clear_emit_caches.
15365         (get_last_insn_anywhere): Variable sequence_stack is now accessed
15366         through macro seq_stack.
15367         (add_insn_after): Likewise.
15368         (add_insn_before): Likewise.
15369         (remove_insn): Likewise.
15370         (pop_topmost_sequence): Likewise.
15371         (in_sequence_p): Likewise.
15372         (start_sequence_for_rtl_expr): Likewise.
15373         (start_sequence): Likewise, and likewise for
15374         sequence_rtl_expr/seq_rtl_expr.
15375         (push_topmost_sequence): Likewise.
15376         (end_sequence): Likewise.
15377         (init_virtual_regs): Now takes a "struct emit_status *" argument.
15378         All callers changed.  Store into that pointer instead of globals.
15379         (init_emit): Allocate emit elt of current_function.
15380         Changes for sequence_rtl_expr/sequence_stack renaming.
15381         Call clear_emit_caches instead of doing it in-line.
15382         Access regno_pointer_* variables through current_function.
15383         (init_emit_once) Don't clear sequence_stack.
15385         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
15386         Delete variables.
15387         (arg_pointer_save_area): Delete declaration.
15388         (finish_expr_for_function): Renamed from init_queue; no longer static.
15389         (init_expr): Don't call init_queue.
15390         (save_expr_status, restore_expr_status): Delete functions.
15391         (expand_expr): Changes to reflect new layout of struct function.
15392         Don't access current_function_check_memory_usage when current_function
15393         is 0.
15394         * expr.h (forced_labels, save_expr_regs, saveregs_value,
15395         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
15396         current_function_outgoing_args_size, current_function_arg_offset_rtx,
15397         current_function_uses_const_pool, function_call_count,
15398         current_function_uses_pic_offset_table, nonlocal_labels,
15399         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
15400         current_function_check_memory_usage, nonlocal_goto_handler_slots,
15401         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
15402         declarations.
15403         (finish_expr_for_function): Declare.
15404         * flags.h (current_function_has_nonlocal_label,
15405         current_function_has_nonlocal_goto, current_function_is_thunk,
15406         current_function_has_computed_jump): Delete declarations.
15407         * flow.c (forced_labels): Delete declaration.
15408         * function.c (current_function_pops_args,
15409         current_function_returns_struct, current_function_returns_pcc_struct,
15410         current_function_needs_context, current_function_calls_setjmp,
15411         current_function_calls_longjmp, current_function_has_nonlocal_label,
15412         current_function_has_nonlocal_goto, current_function_is_thunk,
15413         current_function_has_computed_jump, current_function_calls_alloca,
15414         current_function_contains_functions, current_function_returns_pointer,
15415         current_function_epilogue_delay_list, current_function_args_size,
15416         current_function_pretend_args_size, current_function_arg_offset_rtx,
15417         current_function_outgoing_args_size, current_function_varargs,
15418         current_function_stdarg, current_function_args_info, cleanup_label,
15419         current_function_name, current_function_uses_const_pool,
15420         current_function_instrument_entry_exit, current_function_return_rtx,
15421         current_function_uses_pic_offset_table, nonlocal_labels,
15422         current_function_internal_arg_pointer, current_function_cannot_inline,
15423         current_function_check_memory_usage, function_call_count,
15424         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
15425         nonlocal_goto_stack_level, return_label, save_expr_regs,
15426         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
15427         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
15428         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
15429         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
15430         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
15431         Delete variables.
15432         (push_function_context_to): Don't save them.  Don't call
15433         save_storage_status, save_emit_status or save_expr_status.
15434         (pop_function_context_from): Don't restore them.  Don't call
15435         restore_storage_status or restore_expr_status.
15436         (get_func_frame_size): New function.
15437         (get_frame_size): Use it.
15438         (assign_outer_stack_local): Reflect some member name changes in struct
15439         function.
15440         (put_reg_into_stack): Likewise.
15441         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
15442         seq_rtl_expr.
15443         (fixup_var_refs): Likewise.
15444         (fix_lexical_addr): Likewise.
15445         (trampoline_address): Likewise.
15446         (prepare_function_start): Clear field inlinable of current_function.
15447         (init_function_for_compilation): New function.
15448         (expand_dummy_function_end): New function.
15449         (expand_function_end): Call finish_expr_for_function.
15450         * function.h (struct emit_status): New; fields moved here from struct
15451         function and from global variables.  Add accessor macros for some of
15452         the fields.
15453         (struct expr_status): Likewise.
15454         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
15455         (struct function): Add fields expr and emit, inlinable, inl_emit,
15456         original_arg_vector, original_decl_initial, inl_last_parm_insn,
15457         inl_max_label_num.  Add many comments.
15458         Add accessor macros for all elts of struct function that no longer
15459         have a global variable.
15460         (cleanup_label, return_label, frame_offset, tail_recursion_label,
15461         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
15462         stack_slot_list): Delete declarations.
15463         (get_func_frame_size): Declare.
15464         (save_expr_status, restore_expr_status, save_emit_status,
15465         save_storage_status, restore_storage_status): Delete declarations.
15466         (init_virtual_regs): Declare.
15467         * output.h (current_function_pops_args,
15468         current_function_returns_struct, current_function_returns_pcc_struct,
15469         current_function_needs_context, current_function_calls_setjmp,
15470         current_function_calls_longjmp, current_function_calls_alloca,
15471         current_function_has_nonlocal_label, current_function_varargs,
15472         current_function_has_computed_jump, current_function_returns_pointer,
15473         current_function_contains_functions, current_function_args_size,
15474         current_function_pretend_args_size, current_function_stdarg,
15475         current_function_outgoing_args_size, current_function_args_info,
15476         current_function_name, current_function_return_rtx,
15477         current_function_epilogue_delay_list,
15478         current_function_uses_const_pool, current_function_cannot_inline):
15479         Delete declarations.
15480         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
15481         regno_reg_rtx): Delete declaration.
15482         (REGNO_POINTER_FLAG): Delete macro.
15483         * stmt.c (expand_goto): Changes to reflect that some fields in struct
15484         function were renamed.
15485         * stor-layout.c (save_storage_status, restore_storage_status): Delete
15486         functions.
15487         * toplev.c: Include "function.h".
15488         (current_function_decl): Delete declaration.
15489         (compile_file): Call init_dummy_function_start and
15490         expand_dummy_function_end around some initializations that need to
15491         emit rtl.
15492         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
15493         Call init_function_for_compilation.
15494         * unroll.c: Include "function.h"
15495         (unroll_loop): Access regno_pointer_* variables through
15496         current_function.
15498         * tree.h (struct tree_decl): Add elt f to saved_insns member.
15499         (DECL_SAVED_INSNS): use it.
15500         (expand_dummy_function_end): Declare.
15501         (init_function_for_compilation): Declare.
15502         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
15503         that it's no longer an INLINE_HEADER.
15504         (expand_call): Likewise.
15505         * integrate.c (finish_inline): Delete function.
15506         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
15507         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
15508         args.  Don't generate an INLINE_HEADER rtx, just return the arg
15509         vector.  All callers changed.
15510         (save_for_inline_copying):  Create a duplicate struct emit_status to
15511         hold the emit state for compiling the current function.  Use this and
15512         the other new fields in struct function that are for integration
15513         instead of an INLINE_HEADER.
15514         Use memcpy instead of bcopy.
15515         Store the current struct function in DECL_SAVED_INSNS of fndecl.
15516         (save_for_inline_nocopy): Similar changes, except no new emit_status
15517         is needed here.
15518         (expand_inline_function): Get information from function structure,
15519         not from an inline header rtx.
15520         (output_inline_function): Lose code to extract the necessary
15521         information from an inline header; simply put back the function
15522         structure into current_function.  Clear its inlinable elt.
15523         * rtl.def (INLINE_HEADER): Delete.
15524         * rtl.h: Delete all accessors for an INLINE_HEADER.
15525         (gen_inline_header_rtx): Delete declaration.
15526         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
15527         Delete declarations.
15528         (REGNO_POINTER_ALIGN): Delete.
15529         (clear_emit_caches): Declare.
15530         (set_new_last_label_num): Declare.
15532 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
15534         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
15536         * except.c (expand_eh_region_start_for_decl): Always start a new block.
15537         * stmt.c (is_eh_region): Make sure current_function is present, too.
15539 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
15541         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
15542         for 64bit PA targets.
15544         * pa.h (SELECT_SECTION): Define.
15545         * som.h (SELECT_SECTION): Delete.
15547 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15549         * alias.c (init_alias_analysis): Wrap call to
15550         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
15552 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
15554         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
15555         <sys/asm.h> contains an asm comment with an apostrophe
15556         * fixinc/inclhack.sh:  regen
15557         * fixinc/fixincl.x:  regen
15559 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
15561         * function.c (init_function_start): Clear prologue & epilogue.
15562         (prologue_epilogue_contains): New function.
15563         * alias.c (init_alias_analysis): Use it.
15564         * rtl.h (prologue_epilogue_contains): Declare it.
15566 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
15568         * jump.c (onlyjump_p): New function.
15569         * rtl.h: Declare it.
15570         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
15571         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
15573 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
15575         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
15576         to invert loops.  Simplify block scanning.
15578 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
15580         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
15581         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
15583 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
15585         * config/sparc/liteelf.h: New file to support sparclite-elf target
15586         * config/sparc/t-sp86x: New file to support sparc86x targets
15587         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
15588         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
15589         * configure.in: Support above target triplets
15590         * configure: Regenerated
15592 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
15594         * fixinc/server.c (server_setup): Do not prefix function used as
15595         parameter with `&'.
15597 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
15599         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
15600         Remove fp reg alternatives.
15602 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
15604         * Makefile.in (TAROUTOPTS): Kill.
15605         (install-headers-tar): Use "xpf" for tar headerfile extraction
15606         * i370/x-oe (TAROUTOPTS): Delete.
15607         * m68k/x-apollo68 (TAROUTOPTS): Delete.
15608         * m68k/x-hp320 (TAROUTOPTS): Delete.
15609         * m68k/x-hp320g (TAROUTOPTS): Delete.
15610         * gcc.texi: Update bug reporting text.
15612 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15614         * reg-stack.c (change_stack) Fixed problem with negative array index.
15616 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
15618         * extend.texi, install.texi: Fix spelling mistakes.
15620         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
15621         (s-attrtab); No longer try to use pre-made insn-attrtab file.
15622         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
15623         PREMADE_ATTRTAB_MD.
15624         * mips/t-ecoff: Likewise.
15625         * mips/t-elf: Likewise.
15626         * mips/t-mips: Likewise.
15627         * mips/t-osfrose: Likewise.
15628         * mips/t-r3900: Likewise.
15629         * mips/t-svr3: Likewise.
15630         * mips/t-svr4: Likewise.
15631         * mips/t-ultrix: Likewise.
15633         * gcc.texi: Document recommend means to provide software floating
15634         point libraries in libgcc.a
15636 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
15638         * c-lex.c (yylex): We can have a number with no digits.
15640 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
15642         * jump.c (delete_prior_computation): New function, broken
15643         out of delete_computation.  Check for side effects with
15644         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
15645         multi-word hard registers.
15646         (delete_computation): Use it.  Check for side effects with
15647         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
15648         missing REG_DEAD note for a register which is both set and
15649         used by an insn.
15651 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
15653         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
15654         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
15655         (ASM_FILE_START): Import _mcount with the right type.
15656         (ASM_DECLARE_FUNCTION_NAME): Define.
15657         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
15658         * pa.c (output_function_prologue): Always emit the function's label
15659         here.
15660         * pa.h (TEXT_SPACE_P): Define.
15661         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
15662         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
15663         * som.h (TEXT_SPACE_P): Delete.
15664         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
15665         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
15667 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
15669         * expr.c (emit_group_load): Allow src to be a CONCAT.
15671 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15673         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
15674         (___mulsi3): Use '!' comment character.
15676 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15678         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
15680 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
15682         * gcc.c: Update URLs and mail addresses.
15683         * gcc.texi: Likewise.
15685 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
15687         * rs6000.c (current_file_function_operand): Return zero for
15688         weak functions.
15689         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
15690         weak symbols.
15691         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
15692         for weak symbols.
15694 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
15696         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
15697         allocate space in the stack frame for the PIC register.
15699 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
15701         * m68k.md (xordi3, anddi3): These patterns are not available on
15702         the coldfire.
15704 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
15706         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
15707         (PUT_REAL): Likewise.
15709 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15711         * final.c (shorten_branches): Don't add an alignment for loops
15712         that have no label inside.
15714 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15716         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
15717         prototypes in macro HAVE_cmpstrsi.
15719         * cpplib.c (cpp_get_token): Remove unused label `op3'.
15721         * emit-rtl.c (operand_subword): Remove unused variable
15722         `bits_per_word'.
15724         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
15726         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
15728 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
15730         * cpphash.c (macroexpand): Delete leading whitespace when arg
15731         is concatenated before.
15732         (unsafe_chars): Correct test for whether + and - can extend a
15733         token.
15735         * cppinit.c (cpp_start_read): Do dependencies for
15736         -include/-imacros files also.
15738         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
15739         tokenizing non-directive lines.
15740         (cpp_expand_to_buffer): Temporarily disable no-output mode.
15741         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
15742         the input file.
15744 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
15746         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
15748         * c-lex.c: Sync with C++ frontend.
15749         (linemode): New variable.
15750         (parse_float): imag, conversion_errno, and type are output only.
15751         (yylex): Adjust.  Move initial '.' case into main switch.
15752         Use linemode.
15753         (handle_generic_pragma): Just deal with tokens.
15754         (readescape): Use ISXDIGIT and ISGRAPH.
15755         * c-parse.in: Add END_OF_LINE token.
15757         * c-lex.c (lang_init): Generalize.
15758         (nextchar): Remove.  Replace uses with UNGETC.
15759         (skip_white_space): Handle linemode here.  Optimize for cpplib.
15760         (skip_white_space_on_line): Remove.
15761         (extend_token_buffer_to): New fn.
15762         (extend_token_buffer): Use it.
15763         (read_line_number, check_newline): Just deal with tokens.
15764         (token_getch, token_put_back): New fns.
15765         (yylex): Use them.  More cpplib optimizations.  Simplify.
15767 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
15768                           Jason Merrill  <jason@yorick.cygnus.com>
15770         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
15771         (consume_string): Make this smart about USE_CPPLIB.
15772         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
15773         (yylex): Rewrite to be intelligent about USE_CPPLIB.
15774         Also, clean up cases where we redundantly set token_buffer[0].
15775         (read_line_number): New fn.
15776         (ignore_escape_flag): New variable.
15778 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
15780         * a29k/t-a29kbare: Fix some comments.
15781         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
15782         (FPBIT, DPBIT): Define.
15783         * a29k/t-vx29k: Likewise.
15784         * arc/t-arc: Likewise.
15785         * arm/t-arm-elf: Likewise.
15786         * arm/t-bare: Likewise.
15787         * arm/t-pe: Likewise.
15788         * arm/t-pe-thumb: Likewise.
15789         * arm/t-semi: Likewise.
15790         * arm/t-thumb: Likewise.
15791         * arm/t-thumb-elf: Likewise.
15792         * arm/t-thumb-linux: Likewise.
15793         * h8300/t-h8300: Likewise.
15794         * i960/t-i960: Likewise.
15795         * i960/t-vxworks960: Likewise.
15796         * m32r/t-m32r: Likewise.
15797         * mips/t-ecoff: Likewise.
15798         * mips/t-elf: Likewise.
15799         * mips/t-r3900: Likewise.
15800         * pa/t-pro: Likewise.
15801         * rs6000/t-aix43: Likewise.
15802         * rs6000/t-beos: Likewise.
15803         * rs6000/t-newas: Likewise.
15804         * rs6000/t-ppccomm: Likewise.
15805         * rs6000/t-rs6000: Likewise.
15806         * rs6000/t-winnt: Likewise.
15807         * rs6000/t-xnewas: Likewise.
15808         * rs6000/t-xrs6000: Likewise.
15809         * sh/t-sh: Likewise.
15810         * sparc/t-elf: Likewise.
15811         * sparc/t-sparcbare: Likewise.
15812         * sparc/t-sparclite: Likewise.
15813         * sparc/t-splet: Likewise.
15814         * v850/t-v850: Likewise.
15815         * mn10200/t-mn10200: Fix comments.
15816         * mn10300/t-mn10300: Likewise.
15818         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
15819         dummy operand.  Allocate a new pseudo for the dummy operand.
15820         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
15822         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
15824 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
15826         * configure: Rebuilt.
15827         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
15829 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
15831         * recog.c (preproces_constraints): Zero recog_op_alt before
15832         processing the constraints.
15834         * arm.c (typedef minipool_node): Renamed from pool_node.
15835         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
15836         (add_minipool_constant): New function.
15837         (dump_minipool): New function.
15838         (find_barrier): Remove special case for getting the insn size of
15839         an insn that references the constant pool.
15840         (minipool_fixup): New structure.
15841         (push_minipool_barrier): New function.
15842         (push_minipool_fix): New function.
15843         (note_invalid_constants): New function.
15844         (add_pool_constant, dump_table, fixit, broken_move): Delete.
15845         (arm_reorg): Rewrite code to fix up the constant pool into a
15846         series of mini-pools embedded in the insn stream.
15847         (arm_output_epilogue): New function, made mainly from the body
15848         of output_func_epilogue.
15849         (output_func_epilogue): Move insn generation part of epilogue code
15850         to arm_output_epilogue.
15851         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
15852         * arm.md (pool_range): New attribute.
15853         (zero_extendqidi2): Add attribute pool_range.
15854         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
15855         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
15856         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
15857         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
15858         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
15859         (epilogue): New expand.
15860         (epilogue_insn): New insn.  Call arm_output_epilogue.
15862         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
15863         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
15865 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
15867         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
15869 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
15871         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
15873 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
15875         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
15877 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
15879         * global.c: Fix comment.
15881 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
15883         * gcc.c (access_check): New static function.
15884         (find_a_file): Use it when searching a directory list.
15885         * collect2.c (find_a_file): Don't accept directories found when
15886         searching a directory list.
15888 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
15890         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
15891         function parameters with `&'.
15892         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
15894 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
15896         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
15897         or tidy_fallthru_edge if the last insn in the block is not
15898         an unconditional jump or a simple conditional jump.
15900 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15902         * Makefile.in (c-decl.o): Depends on defaults.h.
15904 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
15906         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
15907         PA1.1 and above.
15908         (CLASS_MAX_NREGS): Likewise.
15910 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
15912         * cse.c (cse_insn): Fix dumb thinko in last change.
15914 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15916         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
15917         "const char *".
15919 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
15921         * dwarf2out.c (add_location_or_const_value_attribute): Correct
15922         test for sizes of passed and declared parameter types.
15924 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15926         * fixincludes: Fix the return type of bsearch, char* -> void*.
15928         * fixinc/inclhack.def: Likewise.
15930 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
15932         * invoke.texi (-fdump-translation-unit): New option.
15934 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
15936         * expr.h (PROMOTE_PROTOTYPES): Move ...
15937         * defaults.h: ... to here.
15938         * c-decl.c: Include defaults.h instead of expr.h.
15939         * c-typeck.c: Include defaults.h.
15941 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
15943         * toplev.h (errorcount): Declare.
15944         (warningcount): Likewise.
15945         (sorrycount): Likewise.
15946         * c-lex.c (errorcount): Don't declare.
15947         * dwarf2out.c (errorcount): Don't declare.
15949 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
15951         * config/libgloss.h: Add a note discouraging use with ELF.
15952         * configure.in: Don't use libgloss.h for ELF targets.
15953         Always use_collect2 on a.out targets.
15955 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
15957         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
15958         (force_to_mode, case ASHIFTRT): Add shiftrt label.
15960 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15962         * loop.c (strength_reduce): When doing biv->giv conversion, update
15963         reg note of NEXT->insn.
15965 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
15967         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
15969 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
15971         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
15972         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
15973         Ensure expr.h is included.
15974         * c-typecheck.c (convert_arguments): Ditto.
15976         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
15978         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
15979         * config/convex/convex.h: Ditto.
15980         * config/dsp16xx/dsp16xx.h: Ditto.
15981         * config/fx80/fx80.h: Ditto.
15982         * config/gmicro/gmicro.h: Ditto.
15983         * config/i370/i370.h: Ditto.
15984         * config/i386/i386.h: Ditto.
15985         * config/m32r/m32r.h: Ditto.
15986         * config/m68k/m68k.h: Ditto.
15987         * config/m88k/m88k.h: Ditto.
15988         * config/mips/mips.h: Ditto.
15989         * config/pa/pa.h: Ditto.
15990         * config/pyr/pyr.h: Ditto.
15991         * config/tahoe/tahoe.h: Ditto.
15992         * config/we32k/we32k.h: Ditto.
15994         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
15995         based on arch size.
15997         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
15999         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
16000         from comment.
16002         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
16004 1999-08-02  Richard Henderson  <rth@cygnus.com>
16006         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
16007         for the register spill block.
16008         (m32r_va_arg): New.
16009         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
16010         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
16012         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
16013         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
16014         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
16016 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
16018         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
16019         MAX_WCHAR_TYPE defined in sparc.h.
16020         * config/sparc/linuxaout.h: Likewise.
16021         * config/sparc/linux64.h: Likewise.
16022         Also default to -mvis if CPU is UltraSPARC.
16024 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
16026         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
16027         (RTX_OK_FOR_OLO10): Likewise.
16028         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
16029         %lo(), allow it in addresses...
16030         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
16031         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
16032         does not make sense.
16033         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
16034         (sparc_output_scratch_registers): New function.
16035         (output_function_prologue, sparc_flat_output_function_prologue): Use
16036         it.
16037         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
16038         defined.
16039         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
16040         * configure.in: Add check for .register pseudo-op support in as and
16041         check for offsetable %lo().
16042         * acconfig.h: Add templates for the above checks.
16043         * configure: Regenerate.
16045 1999-08-02  Richard Henderson  <rth@cygnus.com>
16047         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
16048         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
16049         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
16051 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16053         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
16054         reg_biv_class.
16056 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
16058         * config/float-sparc.h: New file.
16059         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
16060         sparc-*-linux-gnu and sparc64-*-linux*.
16062 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16064         * rs6000.c (rs6000_va_list): Type is an array.
16065         (rs6000_va_start): Don't doubly adjust for varargs.
16066         (rs6000_va_arg): Evaluate long long GPR adjustment.
16068 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
16070         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
16071         -maix64 and -maix32.
16072         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
16073         LINK_SPEC): Change appropriately.
16074         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
16075         (u_short_cint_operand): Likewise.
16076         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
16077         for 64-bit hosts.
16078         * rs6000/t-aix43 (MULTILIB): Change to -m64.
16080         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
16082 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
16084         * rs6000/rs6000.c (num_insns_constant_wide): Correct
16085         for type promotion.
16086         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
16087         (non_add_cint_operand): Likewise.
16088         (logical_operand): Likewise.
16089         (non_logical_cint_operand): Likewise.
16090         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
16091         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
16092         (rs6000_select_rtx_section): Suppress warning.
16093         (small_data_operand): Suppress warning.
16094         (rs6000_got_register): Suppress warning.
16095         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
16096         type, so `J' is generally the wrong constraint for a SImode value;
16097         use `L' instead.
16098         (andsi3_internal2): Likewise.
16099         (andsi3_internal3): Likewise.
16100         (iorsi3_internal1): Likewise.
16101         (xorsi3_internal1): Likewise.
16102         (movsi): Likewise.
16103         (movsf_softfloat): Likewise.
16104         (scc insns): Likewise.
16105         (movsi+2): Preserve sign bits of SImode constant.
16106         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
16107         (movdf+1): Sign-extend properly.
16108         (movdi_32+1): Sign-extend properly.
16109         (scc insns): Sign-extend properly.
16111         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
16112         K, L, and T.
16114 1999-08-02  Richard Henderson  <rth@cygnus.com>
16116         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
16117         -mcpu parsing code.
16118         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
16119         * alpha.md (all fp insns): Likewise.
16121 1999-08-02  Nick Clifton  <nickc@cygnus.com>
16123         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
16124         already defined.
16126 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
16128         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
16129         pic_load_label generator directly.
16130         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
16131         No longer a named pattern.
16133 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
16135         * explow.c (force_reg): Call force_operand if X does not
16136         satisfy general_operand.
16138 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
16140         * fix-header.c (main): When testing for CONTINUED, use string
16141         equality, not pointer equality.
16143 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
16145         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
16147 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
16149         * cse.c (cse_insn): Fix loop which deletes insns after a jump
16150         that has become an unconditional jump.
16152         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
16153         (output_function_epilogue): Similarly.
16155 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16157         * tree.h (init_dummy_function_start): Declare.
16159 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16161         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
16162         last_expr_type, last_expr_value, block_start_count, block_stack,
16163         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
16164         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
16165         dynamically in stmt elt of struct function for each function.
16166         (struct nesting): Rename function_call_count elt to n_function_calls,
16167         target_temp_slot_level to block_target_temp_slot_level.  All users
16168         changed.
16169         (struct stmt_status): New structure definition.
16170         Add many accessor macros for stmt_status elements which previously
16171         were global variables.
16172         (init_stmt_for_function): Allocate stmt elt for current_function.
16173         Reflect that block_start_count was renamed to
16174         current_block_start_count.
16175         (save_stmt_status, restore_stmt_status): Delete functions.
16176         (preserve_subexpressions_p): Don't access loop_stack when outside
16177         a function.
16178         (expand_start_bindings): Reflect that block_start_count was renamed to
16179         current_block_start_count.
16180         (expand_fixup): Likewise.
16181         (expand_decl): Don't access block_stack when outside a function.
16182         (expand_decl_cleanup): Likewise.
16183         (expand_dcc_cleanup): Likewise.
16184         (expand_dhc_cleanup): Likewise.
16185         (expand_anon_union_decl): Likewise.
16186         (set_file_and_line_for_stmt): New function.
16187         (in_control_zone_p): New function.
16189         * function.h (struct function): Add new elt stmt.
16190         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
16191         case_stack, nesting_stack, nesting_depth, block_start_count,
16192         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
16193         emit_lineno, goto_fixup_chain.
16194         (save_eh_status, restore_eh_status, save_stmt_status,
16195         restore_stmt_status): Delete declarations.
16196         * function.c (push_function_context_to): Don't call save_stmt_status.
16197         (pop_function_context_to): Don't call restore_stmt_status.
16198         * tree.h (in_control_zone_p): Declare.
16199         * rtl.h (set_file_and_line_for_stmt): Declare.
16201         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
16202         call set_file_and_line_for_stmt.
16204 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
16206         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
16207         Also update copyright.
16209 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16211         * c-pragma.c: Don't include "except.h".
16212         * emit-rtl.c: Likewise.
16213         * stor-layout.c: Likewise.
16214         * tree.c: Likewise.
16215         * varasm.c: Likewise.
16217         * flow.c: Include "function.h".
16218         * tree.h (init_dummy_function_start): Declare new function.
16220         * except.h (struct eh_status): New structure.
16221         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
16222         been included.
16223         (eh_return_stub_label, ehstack, catchstack, ehqueue,
16224         catch_clauses, false_label_stack, caught_return_label_stack,
16225         protect_list, current_function_ehc): Add accessor macros for the
16226         corresponding fields in current_function->eh; delete declarations
16227         for all items that used to be declared here.
16228         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
16229         catch_clauses, false_label_stack, caught_return_label_stack,
16230         protect_list, current_function_ehc): Delete variables.
16231         (init_eh_for_function): Allocate current_function->eh.
16232         (save_eh_status, restore_eh_status): Delete functions.
16234         * function.h (struct function): Add fields next_global and eh.
16235         Delete all exception handling related fields.
16236         * function.c (current_function): New variable.
16237         (all_functions): New variable.
16238         (push_function_context_to): Don't allocate a struct function,
16239         use current_function instead.  Call init_dummy_function_start when
16240         outside a function.  Clear current_function before returning.
16241         (pop_function_context_from): Restore current_function.
16242         Don't free the restored struct function.
16243         (prepare_function_start): New function.
16244         (init_dummy_function_start): New function.
16245         (init_function_start): Break out some code into prepare_function_start
16246         and call it here.
16248         * stmt.c (save_stmt_status): Don't call save_eh_status.
16249         (restore_stmt_status): Don't call restore_eh_status.
16251         * Makefile.in: Update dependencies.
16253 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
16255         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
16256         of depending on a magic constant value.  Update comments.
16257         (hppa_expand_prologue): Similarly.
16259         * pa.md (reload_indi, reload_outdi): Allow any register for the
16260         original reload register.
16262 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
16264         * cccp.c (print_help): Change marcos to macros.
16266 1999-07-30  Richard Henderson  <rth@cygnus.com>
16268         * c-typeck.c (initializer_constant_valid_p): Move ...
16269         * c-common.c (initializer_constant_valid_p): ... here.  Use
16270         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
16271         of label addresses.
16272         * c-common.h (initializer_constant_valid_p): Declare.
16273         * c-tree.h (initializer_constant_valid_p): Remove.
16275 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
16277         * config/i386/sol2-c1.asm: Align the stack.
16278         * config/i386/sol2-gc1.asm: Likewise.
16280 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
16282         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
16283         -Asparclite for sparc86x.
16284         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
16285         sparc86x.
16286         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
16288 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
16290         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
16291         the user if using the non-default arch size in BI_ARCH configuration.
16292         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
16294         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
16295         Fix patterns so that they actually match.
16296         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
16297         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
16298         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
16299         TARGET_HARD_MUL32.
16300         (mulsidi3): Reflect this in the expand.
16301         (smulsi3_highpart): Only on TARGET_ARCH32.
16302         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
16303         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
16304         (umulsidi3): Reflect this in the expand.
16305         (umulsi3_highpart): Only on TARGET_ARCH32.
16306         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
16307         don't require g0 to be zero.
16308         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
16309         ({,u}divsi3): New expands.
16310         ({,u}divsi3_sp64): New patterns.
16311         (after lshrdi3_v8plus): Four new patterns to help combiner
16312         optimizing nested mixed mode shifts.
16314         * config/sparc/sparc.c (sparc_override_options): Use deprecated
16315         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
16316         speed things up. Don't use them by default on plain v9 in 64bit
16317         mode, according to what SPAMv9 sais.
16319         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
16320         top 32 bits of %[og][0-7] in signal handlers.
16321         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
16323 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
16325         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
16326         (ashlsi3): Corresponding changes.
16328         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
16330 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
16332         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
16334 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16336         * arm.h (Hint): Delete macro.
16337         Substitute HOST_WIDE_INT for Hint in some prototypes.
16338         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
16340 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
16342         * builtins.c (expand_builtin_setjmp): Use force_operand to
16343         make sure that the buffer address is in a suitable form to be
16344         passed to force_reg.
16346 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
16348         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
16349         them here.
16351 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
16353         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
16354         proper mode in the condition string.
16355         (icacheflush, dcacheflush): Remove modes from match_operands.
16357         * pa.c (emit_move_sequence): Always convert scratch_reg to the
16358         proper mode before using it.
16360         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
16361         pair.
16363         * pa.c (store_reg): Do not call add_high_const generator directly.
16364         (load_reg, set_reg_plus_d): Likewise.
16365         * pa.md (add_high_const): No longer a named pattern.
16367         * pa.c (legitimize_address): Consistently use Pmode rather than
16368         SImode.  Do not call gen_pic2_highpart directly anymore.
16369         * pa.md (pic2_highpart): No longer a named pattern.
16370         (pic2_lo_sum): Similarly.  Reformat to make more readable.
16372         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
16373         needed.
16375         * README: Update.
16377 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16379         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
16381 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
16383         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
16384         and tag the spill mems.
16385         (hppa_va_start): New.
16386         (hppa_va_arg): New.
16387         * pa.h (EXPAND_BUILTIN_VA_START): New.
16388         (EXPAND_BUILTIN_VA_ARG): New.
16390 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
16392         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
16393         and tag the spill mems.
16394         (mn10300_va_start): New.
16395         (mn10300_va_arg): New.
16396         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
16397         (EXPAND_BUILTIN_VA_ARG): New.
16399 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
16401         * mn10200.c (mn10200_va_arg): New.
16402         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
16404 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
16406         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
16407         rather than play with TREE_INT_CST_LOW.
16409 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
16411         * config/arm/telf.h: Include dbxelf.h.
16412         (CPP_PREDEFINES): Only define if not already defined.
16413         (ASM_IDENTIFY_GCC): Likewise.
16414         (SUBTARGET_EXTRA_SECTIONS): Likewise.
16415         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
16416         * config/arm/thumb.h (LINK_SPEC): Only define if not already
16417         defined.
16418         (DBX_DEBUGGING_INFO): Don't define.
16419         * config/arm/linux-telf.h: New file.
16420         * config/arm/linux-tgas.h: New file.
16421         * config/arm/t-thumb-linux: New file.
16422         * config/arm/uclinux-elf.h: New file.
16423         * config/arm/uclinux-telf.h: New file.
16424         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
16425         thumb-*-uclinux): New targets.
16426         * configure: Regenerate.
16428 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
16430         * pa.md (post_store, pre_load): New expanders.
16431         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
16432         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
16433         need to directly generate RTL for them.
16434         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
16435         changes.
16437 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
16439         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
16440         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
16441         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
16442         (secndary_reload_class): Make TARGET_ELF conditional compile.
16443         (print_operand_address): Similar.
16444         (output_toc): Print all values as hex.
16445         (get_issue_rate): Rearrange and add RS64A and PPC630.
16446         * rs6000.h (processor_type): Add RS64A and PPC630.
16447         (PROCESSOR_POWERPC64): New.
16448         (PROMOTE_MODE): Use word_mode.
16449         (RTX_COSTS): Add RS64A and PPC630.
16450         * rs6000.md (scheduling information): Add lmul and ldiv
16451         representing 64-bit integer multiply and divide.  Add rs64a and
16452         PPC630 information.
16453         (ashldi3): Add support for "rldic" instruction.
16454         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
16456 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
16458         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
16459         instead of V8 for sparclite86x in cpu_table.
16461 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16463         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
16464         output_file_directive.
16466 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
16468         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
16469         tree for op1, not the rtl.
16471 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
16473         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
16474         to m88k_va_start, leaving only the register spill.
16475         (m88k_build_va_list): New.
16476         (m88k_va_start): New.
16477         (m88k_va_arg): New.
16478         * m88k.h (BUILD_VA_LIST_TYPE): New.
16479         (EXPAND_BUILTIN_VA_START): New.
16480         (EXPAND_BUILTIN_VA_ARG): New.
16482 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
16484         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
16485         Rename from expand_builtin_saveregs.
16486         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
16488 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
16490         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
16491         for the register spill block.
16492         (i960_build_va_list): New.
16493         (i960_va_start): New.
16494         (i960_va_arg): New.
16495         * i960.h (BUILD_VA_LIST_TYPE): New.
16496         (EXPAND_BUILTIN_VA_START): New.
16497         (EXPAND_BUILTIN_VA_ARG): New.
16498         * i960.md (store_multiple): Use change_address on individul mems.
16500 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
16502         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
16503         an ARRAY_TYPE.
16504         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
16505         (expand_builtin_va_end): Evaluate arg for side effects.
16506         * c-common.c (c_common_nodes_and_builtins): Construct a
16507         va_list_arg_type_node to handle array decomposition to pointer.
16509 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
16511         * except.c (start_dynamic_cleanup): Use force_operand on the
16512         buffer's address.
16514 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
16516         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
16517         * c4x.c (c4x_va_arg): New.
16519 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
16521         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
16522         has manual_pop set.
16524 1999-07-26  Nathan Sidwell  <nathan@acm.org>
16526         * eh-common.h (__eh_matcher): Prototype correctly.
16528 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
16530         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
16531         (TARGET_SINGLE_PIC_BASE): Likewise.
16532         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
16533         definitions.
16534         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
16535         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
16536         (TARGET_OPTIONS): Add -mpic-register=N.
16537         (OUTPUT_INT_ADDR_CONST): New macro.
16538         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
16539         LEGITIMATE_PIC_OPERAND_P): Likewise.
16540         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
16541         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
16542         output_addr_const directly.
16543         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
16544         ARM port.
16545         (thumb_pic_register, thumb_pic_register_string): Declare.
16547         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
16548         from arm.c.
16549         (label_mentioned_p): New function: Imported from arm.c.
16550         (legitimize_pic_address): New function: Imported from arm.c.
16551         (is_pic):New function: Imported from arm.c.
16552         (thumb_finalize_pic):New function: Imported from arm.c.
16553         (add_constant): Cope with PIC constants.
16554         (fixit): Cope with PIC constants.
16555         (output_return): Do not treat the PIC register as live if
16556         TARGET_SINGLE_PIC_BASE is true.
16557         (thumb_function_prologue): Do not treat the PIC register as live if
16558         TARGET_SINGLE_PIC_BASE is true.
16559         (thumb_expand_prologue): Do not treat the PIC register as live if
16560         TARGET_SINGLE_PIC_BASE is true.
16561         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
16562         TARGET_SINGLE_PIC_BASE is true.
16563         (thumb_print_operand): Accept '|'.
16564         (thumb_override_options): Process PIC options.
16566         * config/arm/thumb.md (movsi): Support PIC.
16567         (call_insn): Change "i" constraint to "X".
16568         (call_value_insn): Likewise.
16569         (consttable_4, consttable_8, consttable_end): Set and clear
16570         "making_const_table" as appropriate.
16571         (pic_load_addr, pic_add_dot_plus_four): New insns.
16573         * invoke.texi (Thumb Options): Fix spelling.  Document new
16574         options -msingle-pic-base and -mpic-register=.
16576 1999-07-26  Andrew Haley  <aph@cygnus.com>
16578         * config/m32r/initfini.c (__init): Use a full word immediate for
16579         __fini: this allows it to be placed in any memory region.
16581         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
16582         -mmodel=medium.  This is OK for all memory models.
16584 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
16586         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
16587         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
16589 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
16591         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
16592         defined.
16594         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
16596 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
16598         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
16599         (BUILD_VA_LIST_TYPE): New.
16600         (EXPAND_BUILTIN_VA_START): New.
16601         (EXPAND_BUILTIN_VA_ARG): New.
16602         * i860.c (output_delayed_branch): Disable.
16603         (output_delay_insn): Likewise.
16604         (i860_saveregs): New.
16605         (i860_build_va_list): New.
16606         (i860_va_start): New.
16607         (i860_va_arg): New.
16608         * i860.md: Disable all peepholes using output_delayed_branch.
16609         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
16611 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
16613         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
16614         (BUILD_VA_LIST_TYPE): New.
16615         (EXPAND_BUILTIN_VA_START): New.
16616         (EXPAND_BUILTIN_VA_ARG): New.
16617         * clipper.c (clipper_builtin_saveregs): Only dump registers.
16618         Return the address of the save area.
16619         (clipper_build_va_list): New.
16620         (clipper_va_start): New.
16621         (clipper_va_arg): New.
16623 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
16625         * arc.h (EXPAND_BUILTIN_VA_START): New.
16626         (EXPAND_BUILTIN_VA_ARG): New.
16627         * arc.c (arc_setup_incoming_varargs): Set alias set of
16628         varargs save area.
16629         (arc_va_start): New.
16630         (arc_va_arg): New.
16632 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
16634         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
16635         (BUILD_VA_LIST_TYPE): New.
16636         (EXPAND_BUILTIN_VA_START): New.
16637         (EXPAND_BUILTIN_VA_ARG): New.
16638         * alpha.c (alpha_builtin_saveregs): Delete.
16639         (alpha_build_va_list): New.
16640         (alpha_va_start): New.
16641         (alpha_va_arg): New.
16643 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
16645         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
16646         column zero.
16647         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
16648         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
16650         * gcc.texi: More changes related to list conversion.
16651         * invoke.texi: Likewise.
16653 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
16655         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
16656         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
16657         (expand_builtin_next_arg): Accept ARGLIST not EXP.
16658         (stabilize_va_list): New function.
16659         (std_expand_builtin_va_start): New function.
16660         (expand_builtin_va_start): New function.
16661         (get_varargs_alias_set): New function.
16662         (std_expand_builtin_va_arg): New function.
16663         (expand_builtin_va_arg): New function.
16664         (expand_builtin_va_end): New function.
16665         (expand_builtin_va_copy): New function.
16666         (expand_builtin): Call them.
16667         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
16668         __builtin_{varargs_start,stdarg_start,end,copy}.
16669         (build_va_arg): New function.
16670         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
16671         (build_va_arg): Declare.
16672         * c-decl.c (ptr_type_node, va_list_type_node): New.
16673         * c-parse.gperf (__builtin_va_arg): New.
16674         * c-parse.in (VA_ARG): New token.
16675         (unary_expr): Recognize it.
16676         * expr.c (expand_expr): Expand VA_ARG_EXPR.
16677         * expr.h (std_expand_builtin_va_start): Declare.
16678         (std_expand_builtin_va_arg): Declare.
16679         (expand_builtin_va_arg): Declare.
16680         (get_varargs_alias_set): Declare.
16681         * tree.def (VA_ARG_EXPR): New.
16682         * tree.h (BUILT_IN_VARARGS_START): New.
16683         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
16684         (ptr_type_node, va_list_type_node): Declare.
16685         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
16686         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
16687         * m88k.h, m88k.c: Likewise.
16688         * mn10300.h, mn10300.c: Likewise.
16689         * pa.h, pa.c: Likewise.
16690         * rs6000.h, rs6000.c: Likewise.
16691         * sh.h, sh.c: Likewise.
16692         * sparc.h, sparc.c: Likewise.
16694         * emit-rtl.c (operand_subword): Copy alias set.
16695         (change_address): Likewise.
16697 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
16699         * pa.c (compute_frame_size): Scan all the used callee saved registers,
16700         not just the first one.
16702 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
16704         * config/arm/arm.h (TARGET_SWITCHES): Add
16705         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
16706         (TARGET_OPTIONS): Add -mpic-register=.
16707         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
16708         (arm_pic_register_string): Declare.
16709         (NEED_PLT_GOT): Delete, replace with ...
16710         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
16711         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
16712         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
16713         * config/arm/arm.c (arm_override_options): Add new option
16714         -mpic-register=N.
16715         (arm_pic_register_string): New variable.
16716         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
16717         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
16718         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
16719         (output_return_instruction): Likewise.
16720         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
16721         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
16722         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
16724         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
16725         mention of -msched-prolog.  Document new options -msingle-pic-base
16726         and -mpic-register=.
16728 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
16730         * haifa-sched.c (reemit_notes): Tidy.
16731         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
16732         haifa's routine.
16734 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
16736         * explow.c (trunc_int_for_mode): New function.
16737         (plus_constant_wide): Use it.
16738         * combine.c (simplify_and_const_int): Likewise.
16739         (merge_outer_ops): Likewise.
16740         (simplify_shift_const): Likewise.
16741         * cse.c (simplify_unary_operation): Likewise.
16742         (simplify_binary_operation): Likewise.
16743         * emit-rtl.c (operand_subword): Likewise.
16744         * rtl.h: Declare it.
16746 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16748         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
16749         (use NUM_REGS instead of NUM_INTS).
16751 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16753         * builtins.c: New file.
16754         * expr.c (saveregs_value, apply_args_value):  Delete definition,
16755         moved into builtins.c.
16756         (string_constant): No longer static.
16757         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
16758         apply_args_size, apply_result_size, result_vector,
16759         expand_builtin_apply_args, expand_builtin_apply,
16760         expand_builtin_return): Delete functions, moved into builtins.c.
16761         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
16762         * expr.h (saveregs_value, apply_args_value): Declare variables.
16763         (expand_builtin, string_constant): Declare functions.
16764         * Makefile.in: Update to build builtin.o.
16766 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
16768         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
16769         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
16770         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
16771         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
16772         false.
16773         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
16774         Define to zero.
16776 1999-07-21  Michael Meissner  <meissner@cygnus.com>
16778         * print-rtl.c (print_rtx): Print the names of the virtual
16779         registers.
16781 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
16783         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
16784         introduced in previous delta.
16786 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16788         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
16789         to avoid name clash.
16791 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16793         * c-lex.c (yylex) : Correct the test for overflow when lexing
16794         integer literals.
16796 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
16798         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
16799         (adjust_priority): Always call ADJUST_PRIORITY.
16800         (schedule_insn): Only put insns into the ready at cost 0.
16801         (schedule_block): Remove redundant initial sort.  Give clock_var
16802         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
16803         is not 0.
16804         * tm.texi (MD_SCHED_REORDER): Update docs.
16806         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
16807         * sparc.c (ultra_reorder_called_this_block): Delete.
16808         (ultrasparc_sched_init): Don't set it.
16809         (ultrasparc_sched_reorder): Don't check it.
16811 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
16813         * rs6000.h (struct rs6000_args): Add sysv_gregno.
16814         * rs6000.c (init_cumulative_args): Init sysv_gregno.
16815         (function_arg_boundary): Align DFmode.
16816         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
16817         to get fp reg and stack overflow correct.
16818         (function_arg): Likewise.
16819         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
16820         (setup_incoming_varargs): Restructure for ABI_V4; use
16821         function_arg_advance to skip final named argument.
16822         (expand_builtin_saveregs): Properly unskip the last integer arg
16823         when doing varargs.  Adjust overflow location calculation.
16825         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
16826         explicitly unsigned.
16827         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
16828         (__VA_GP_REGSAVE): Similarly.
16829         (__va_longlong_p): Delete.
16830         (__va_arg_type_violation): New declaration.
16831         (va_arg): Restructure.  Flag promotion errors.  Align double.
16832         TFmode passed by reference.
16834         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
16835         in the HOST_BITS_PER_WIDE_INT > 32 case.
16837 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
16839         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
16841 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
16843         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
16844         * toplev.c (documented_lang_options): Add -fpreprocessed.
16845         * cpplib.h (struct cpp_buffer): Add preprocessed.
16846         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
16847         (cpp_start_read): Don't expand macros or emit an initial #line
16848         directive if -fpreprocessed.
16850 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
16852         * cpplib.h (struct cpp_buffer): Added manual_pop for
16853         better C++ tokenization.
16854         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
16855         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
16856         * c-common.c (cpp_token): Make non-static.
16858 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16860         * c-common.h: New file.
16861         * c-common.c (permanent_obstack): Delete unused declaration.
16862         (c_global_trees): New array.
16863         (c_common_nodes_and_builtins): New function; split off common code
16864         from init_decl_processing in both c-decl.c and cp/decl.c.
16865         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
16866         c_global_trees and accessor macros defined in c-common.h.
16867         Include c-common.h.
16868         * c-decl.c: Delete definitions for tree nodes that were replaced by
16869         c_global_trees.
16870         (init_decl_processing): Build void_list_node.
16871         Call c_common_nodes_and_builtins; delete code to generate the common
16872         builtins here.
16873         * objc/objc-act.c (build_module_descriptor): Rename variable
16874         void_list_node to avoid clash with c-common.h.
16876         * Makefile.in: Update dependencies.
16877         * objc/Make-lang.in: Likewise.
16879 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
16881         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
16882         (UNIQUE_SECTION_P): Likewise.
16883         (UNIQUE_SECTION): Likewise.
16885 1999-07-19  Linas Vepstas  <linas@linas.org>
16887         * config/i370/README: New file.
16888         * config/i370/linux.h: New file.
16889         * config/i370/mvs.h: New file.
16890         * config/i370/oe.h: New file.
16891         * config/i370/t-linux: New file.
16892         * config/i370/t-mvs: New file.
16893         * config/i370/t-oe: New file.
16894         * config/i370/x-oe: New file.
16895         * config/i370/xm-linux.h: New file.
16896         * config/i370/xm-mvs.h: New file.
16897         * config/i370/xm-oe.h: New file.
16899         * i370.c (label_node_t): Add first_ref_page, label_addr,
16900         label_first_ref, label_last_ref members.
16901         (mvs_need_base_reload): Renamed from mvs_label_emitted.
16902         (MAX_MVS_LABEL_SIZE): Define.
16903         (MAX_LONG_LABEL_SIZE): Define.
16904         (alias_node_t, alias_anchor, alias_number): New.
16905         (mvs_function_table): Reorder for EBCDIC.
16906         (ascebc, ebcasc): Unconditionally define.
16907         (i370_branch_dest, i370_branch_length): New functions.
16908         (i370_short_branch, i370_label_scan): New functions.
16909         (mvs_get_label): Renamed from mvs_add_label.  Search for
16910         an existing label before creating a new one.
16911         (mvs_add_label): New function.
16912         (mvs_get_label_page): New function.
16913         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
16914         over the entire list.
16915         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
16916         (mvs_check_page) [TARGET_ELF_ABI]: New function.
16917         (mvs_add_alias, mvs_need_alias): New functions.
16918         (mvs_get_alias, mvs_check_alias): New functions.
16919         (handle_pragma): New function.
16920         (mvs_function_check): New function.
16921         (unsigned_jump_follows_p): Search harder.
16922         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
16923         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
16924         * i370.h (TARGET_VERSION): Delete.
16925         (CPP_SPEC, CPP_PREDEFINES): Delete.
16926         (mvs_label_emitted): Delete.
16927         (TARGET_EBCDIC): Delete.
16928         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
16929         (HANDLE_PRAGMA): Define.
16930         (HARD_REGNO_NREGS): Handle complex modes.
16931         (HARD_REGNO_MODE_OK): Likewise.
16932         (CLASS_MAX_NREGS): Likewise.
16933         (RET_REG): Likewise.
16934         (EXTRA_CONSTRAINT): Define.
16935         (RETURN_IN_MEMORY): True for DImode.
16936         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
16937         (FUNCTION_PROFILER): Delete.
16938         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
16939         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
16940         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
16941         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
16942         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
16943         (ASM_FILE_START): Add "RMODE ANY".
16944         (ASM_OUTPUT_EXTERNAL): Check for aliases.
16945         (ASM_GLOBALIZE_LABEL): Likewise.
16946         (ASM_OUTPUT_LABELREF): Likewise.
16947         (ASM_OUTPUT_COMMON): Likewise.
16948         (PRINT_OPERAND): Handle 'K', 'W', default.
16949         (PRINT_OPERAND_ADDRESS): New.
16950         (Lots of defines): Add support for TARGET_ELF_ABI.
16951         * i370.md (attr length): New.  Define for all patterns.
16952         (*): Lots of tweeks to assembly output and constraints.
16954 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
16956         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
16957         Disable patterns performing SImode comparisons with SImode values
16958         if TARGET_POWERPC64 and instruction does not sign-extend or does
16959         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
16960         differ for signed quantities.
16961         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
16962         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
16963         (decrement_and_branch_on_count): Add 64-bit variant.
16965 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16967         * final.c (output_asm_insn): When searching for the matching string
16968         for a given dialect, don't run past the end of the list of
16969         alternatives if there are fewer alternatives in the template than
16970         dialects.
16972 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
16974         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
16975         Removed paragraph about compression of files and size limitation,
16976         duplicated in the FAQ.  Use gcc-patches for posting patches.
16977         * gcc.c (main): Updated URL with bug reporting instructions to
16978         gcc.gnu.org.  Removed e-mail address.
16979         * system.h (abort): Likewise.
16981 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16983         * Makefile.in (stmp-multilib-sub): Make the files extracted
16984         from $(LIBGCC1) writable.
16986 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
16988         * config/arm/aout.h: Reformat for improved readability.
16990         * config/arm/arm.h: Reformat for improved readability.
16991         Replace uses of fprintf with asm_fprintf where appropriate.
16992         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
16993         function declaration assembler actions.
16994         (NUM_INTS): New macro: Convert from bytes to words.
16995         (NUM_REGS): New macro: Compute number of registers required to
16996         hold a quanitity of tyep MODE.
16997         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
16998         types.
16999         (NUM_ARG_REGS): New macro: The number of argument registers
17000         available.
17001         (ARG_REGISTER): New macro: Compute the register number of the Nth
17002         argument register.
17003         (LAST_ARG_REGNUM): New macro: The number of the last argument
17004         register.
17005         (SP_REGNUM): New macro: Register number of the stack pointer.
17006         (FP_REGNUM): New macro: Register number of the frame pointer.
17007         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
17008         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
17009         CUMULATIVE_ARGS so that it counts registers not bytes.
17011         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
17012         TARGET_INTERWORK.
17013         Replace uses of fprintf with asm_fprintf where appropriate.
17014         (output_ascii_pseudo_op): Replace with version from thumb.c
17016         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
17018         * config/arm/elf.h (CPP_PREDEFINES): Replace with
17019         SUBTARGET_CPP_SPEC.
17020         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
17021         (ASM_FILE_START): Emit ASM_APP_OFF.
17023 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
17025         * pa.c (compute_frame_size): Round frame according to
17026         STACK_BOUNDARY rather than a hardwired value.
17028         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
17030         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
17031         of "1".
17032         * configure: Rebuilt.
17034         * configure.in (hppa*-*-linux*): New configuration.
17035         * configure: Rebuilt.
17036         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
17037         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
17038         * pa/pa-linux.h: New file.
17039         * pa/t-linux: New file.
17040         * pa/xm-linux.h: New file.
17042         * pa.c (hppa_legitimize_address): Change references from SImode to
17043         either Pmode or word_mode as appropriate.
17044         (emit_move_sequence, store_reg, load_reg): Likewise.
17045         (set_reg_plus_d, hppa_expand_prologue): Likewise.
17046         (output_mul_insn): Likewise.
17047         * pa.h (PROMOTE_MODE): Likewise.
17048         (INITIALZE_TRAMPOLINE): Likewise.
17049         (Pmode): Define to word_mode.
17051         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
17052         value of 4.  Allocate 8 bytes for each FP register save.
17053         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
17054         value of 4.
17055         (hppa_expand_prologue): Likewise.
17056         * pa.h (PROMOTE_MODE): Likewise.
17057         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
17058         (FUNCTION_ARG_BOUNDARY): Likewise.
17060         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
17062         * pa.c (out_of_line_prologue_epilogue): Delete.
17063         (override_options): Remove -mspace related code.
17064         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
17065         (compute_frame_size): Only allocate space for register that
17066         actually need to be saved.
17067         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
17068         (TARGET_SWITCHES): Remove -mspace, -mno-space
17069         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
17070         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
17071         * pa/ee.asm, pa/ee_fp.asm: Delete.
17073         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
17075         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
17076         directive in column zero.
17078 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
17080         * m68k.c (output_function_prologue): Fix computation of save mask
17081         when generating PIC code.
17083 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
17085         * tree.c (build_type_attribute_variant): Move current_obstack restore
17086         after build_qualified_type call.
17088 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
17090         * configure.in: Use t-iris6, even with GNU LD.
17091         * config/mips/iris6gld.h: Fix typo in linker spec.
17092         * config/mips/t-iris6gld: Remove.
17094 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
17096         * rs6000.md (insv, extzv): Remove SImode dependence in named
17097         patterns.  Explicitly generate DImode RTL if PowerPC64 and
17098         operand is DImode.
17099         (insvdi): Reverse start and size in instruction template.
17101 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
17103         * invoke.texi: Typo fixes.
17105 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
17107         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
17108         handle at this time instead of silently generating incorrect code.
17109         (gen_imagpart): Likewise.
17111         * reload.c (find_reloads): Emit a USE for a pseudo register without
17112         a hard register if we could not create an optional reload for the
17113         pseudo.
17115 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17117         * c-typeck.c (output_init_element, process_init_element):
17118         When advancing constructor_unfilled_fields for a RECORD_TYPE,
17119         check for nameless bit fields.
17121 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
17123         * regclass.c (scan_one_insn): Notice subregs that change the
17124         size of their operand.
17125         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
17127 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
17129         * configure.in (alpha*-*-*): Include alpha/t-ieee.
17130         * configure: Rebuilt.
17131         * alpha/t-ieee: New file.
17133 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
17135         * rs6000.c (find_addr_reg): Do not select r0 as an address
17136         register.
17138 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
17140         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
17142 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
17144         * rs6000.md (movsf): Do not force easy FP constants into memory.
17146         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
17147         immed_double_const to ensure they are properly truncated then
17148         sign extended.
17150 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
17152         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
17153         always unless NO_DEBUG is used.  Compile this code
17154         unconditionally.
17155         (replace_symbols_in_block): Compile it unconditionally.
17157 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
17159         * configure.in (i?86-*-elf*): New target.
17160         * configure: Rebuilt.
17161         * i386/i386elf.h, i386/t-i386elf: New files.
17163 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
17165         * toplev.c (main): Don't complain about saying -gdwarf.
17166         (rest_of_compilation): Remove redundant code.
17168 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
17170         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
17172 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
17174         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
17175         "Li960R:", to avoid name clash.
17177 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17179         * loop.c (check_dbra_loop): When reversing a loop, delete all
17180         REG_EQUAL notes referencing the reversed biv except those which are
17181         for a giv based on it.
17183 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
17185         * version.c: Drop "gcc-" prefix from version #.
17187 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
17189         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
17190         the label if we're being verbose.
17192 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
17194         * m68k.c (output_function_prologue): Add pic register to mask
17195         if live and flag_pic.
17196         (output_function_epilogue): Likewise.
17198 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
17200         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
17201         directives in column zero.
17203         * pa/elf.h (ASM_FILE_START): Define.
17204         * pa/som.h (ASM_FILE_START): Include .level directives.
17205         * pa/hpux10.h (ASM_FILE_START): Delete.
17206         * pa/hpux11.h (ASM_FILE_START): Delete.
17208         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
17210 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17212         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
17213         when reload_out equals reload_in.
17215 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
17217         * invoke.texi (Spec Files): New node: Describe the contents of
17218         spec files.
17220 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
17222         * invoke.texi (DEC Alpha Options): Put @end table at
17223         beginning of line, to avoid confusing texi2html.
17225 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
17227         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
17228         introduced in previous delta.
17230 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17232         * reload1.c (gen_reload): When synthesizing a 3 operand add
17233         sequence, improve test for when to reload OP1 into the reload
17234         register instead of OP0.
17236 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
17238         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
17240 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
17242         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
17243         string literal.
17245 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
17247         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
17248         (va_dcl): Use __builtin_va_alist_t.
17250 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
17252         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
17253         on the permanent_obstack.
17254         * dwarfout.c (output_type): Likewise.
17256 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17258         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
17259         Merged from c-typeck.c and cp/typeck.c.
17260         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
17261         Merged into c-common.
17263 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
17265         * c-lex.c (errorcount): Declare it.
17266         (finish_parse): Update errorcount when using CPPLIB.
17268 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
17270         * fixinc/inclhack.def(end_else_label): Double the backslash so
17271         sed gets a chance to see it.
17272         * fixinc/inclhack.sh: regen
17273         * fixinc/fixincl.x: regen
17275 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
17277         Add framework to support armv5 architecture when it becomes
17278         available:
17280         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
17281         (arm_arch5): New variable.
17282         (all_architectures): Add armv5 line.
17283         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
17284         -march=armv5 is specified on the command line.
17285         (arm_arch5): Export this variable.
17286         * invoke.texi: Document new string accepted by -march= switch for
17287         ARM ports.
17289         * config/arm/arm.h: Replace use of constant 12 as a register
17290         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
17291         * config/arm/arm.c: Replace use of constant 12 as a register
17292         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
17294         * config/arm/elf.h: Tidy up.
17295         * config/arm/coff.h: Tidy up.
17297 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
17299         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
17300         * gcc/config/mips/t-iris6gld: New file.
17301         * gcc/config/mips/iris6gld.h: Likewise.
17303 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17305         * c-decl.c (widest_integer_literal_type_node,
17306         widest_unsigned_literal_type) : New.
17307         (init_decl_processing): Handle/use the two new types.
17308         * c-common.c (type_for_size,type_for_mode) : Same.
17309         * c-lex.c (yylex) : Same.
17310         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
17311         Same.
17312         * c-tree.h (widest_integer_literal_type_node,
17313         widest_unsigned_literal_type) : New.
17315 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
17317         * dwarfout.c (field_byte_offset): Correctly compute the object's
17318         byte offset for the first bit of a field which crosses an alignment
17319         boundary on a !BYTES_BIG_ENDIAN target.
17321 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
17323         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
17324         ntohs.
17326 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
17327                           Jeff Law <law@cygnus.com>
17329         * ginclude/varargs.h (va_dcl): Use word_mode for type of
17330         __builtin_va_list.
17332         * except.c: Include intl.h.
17333         (expand_eh_return): Set current_function_cannot_inline.
17334         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
17335         * function.h (struct function): Add eh_return_stub_label.
17336         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
17337         * Makefile.in (except.o): Depend on intl.h.
17339 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
17341         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
17342         same as offsettable in cases 1 and 2.
17344 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
17346         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
17347         (extlh, extwh): Likewise.
17349 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17351         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
17353 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
17355         * configure.in: Add arm-pe and thumb-pe targets.
17356         * configure: Regenerate.
17358         * thumb.c (arm_naked_function_p): New function: Determines if
17359         a function is naked (has no gcc generated prologue/epilogue).
17360         (is_called_in_ARM_mode): Return true if the func has the
17361         interfacearm attribute.
17362         (output_return): Do not generate a return for naked functions.
17363         (thumb_function_prologue): Do not generate a prologue for
17364         naked functions.
17365         (thumb_expand_prologue): Do not generate a prologue for naked
17366         functions.
17367         (thumb_expand_epilogue): Do not generate an epilogue for naked
17368         functions.
17369         (arm_valid_machine_decl_attribute): New function, copied from
17370         arm.c:  Permit naked and interfacearm attributes.
17372         * config/arm/pe.c: New file: Support code for arm-pe target.
17373         * config/arm/pe.h: New file: Header file for arm-pe target.
17374         * config/arm/tpe.h: New file: Header file for thumb-pe target.
17375         * config/arm/t-thumb-pe: New file: Makefile fragment for
17376         thumb-pe target.
17378 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
17380         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
17381         -fPIC or -fpic is specified.
17383 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
17385         * expr.c (emit_block_move): Use copy_to_mode_reg for
17386         !TARGET_MEM_FUNCTIONS case too.
17388         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
17389         appropriate.
17390         * configure: Rebuilt.
17391         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
17392         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
17393         definitions made redundant by dbxelf.h inclusion.  Delete
17394         lots of definitions related to assembly output that are
17395         specific to the SOM object format.
17396         * pa.c (output_function_prologue): Do not emit the function's
17397         name for OBJ_ELF.
17398         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
17399         * pa-pro.h: Deleted.
17400         * som.h: New file with SOM specific definitions.
17401         * elf.h: New file with ELF specific definitions.
17403         * elfos.h (const_section): Output a tab before assembler directives.
17404         (ctors_section, dtors_section): Likewise.
17405         (ASM_OUTPUT_SECTION_NAME): Likewise.
17407         * pa/pa1.h: Delete unused file.
17409 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
17411         * configure.in (hppa*-hp-hpux11*): New configuration.
17412         * configure: Rebuilt.
17413         * pa/pa-hpux11.h: New file.
17414         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
17415         command line.
17417         * mips.md (leasi, leadi): New patterns.
17419         * expr.c (emit_block_move): Properly handle case where one of the
17420         block move arguments has a queued increment or decrement.
17421         (clear_storage): Similarly.  Fix formatting goof.
17423 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
17425         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
17426         semicolon from the BSD VA_LIST replacement expression.
17428         * fixinc/inclhack.sh: regen
17429         * fixinc/fixincl.x: regen
17431         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
17432         now use the fixincl program.
17434 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
17436         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
17437         case.  Also make the PIC register call_used.
17439         * m68k.h (FINALIZE_PIC): Delete.
17440         * m68k.c (finalize_pic): Delete.
17442 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
17444         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
17445         to memory.
17447 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
17449         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
17451 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
17453         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
17455 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
17457         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
17459 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
17461         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
17463 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
17465         * rs6000.c (output_toc): Always use hex values for floating-point
17466         constants.  Store single-precision values in upper-half of TOC
17467         entry in 64-bit mode.
17468         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
17469         to final constraints.
17470         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
17471         (fctiwz): Improve accuracy of RTL for pattern.
17473 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17475         * expr.c (expand_expr): Allow RTL_EXPR's through the
17476         MAX_INTEGER_COMPUTATION_MODE checks.
17478 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
17480         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
17481         such that MASK_SUPPORT_ARCH is not negative.
17483 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
17485         * loop.c (verify_dominator): Properly handle ADDR_VEC and
17486         ADDR_DIFF_VEC insns that appear inside loops.
17488 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
17489                           Jeff Law <law@cygnus.com>
17491         * rs6000.md (movdf_hardfloat32): Revert previous patch.
17492         Handle LO_SUM the same as offsettable in cases 1 and 2.
17493         * rs6000.c (find_addr_reg): Revert previous patch.
17495 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
17497         * system.h (strstr): New external function declaration.
17498         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
17499         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
17500         * config.in, configure: Rebuilt.
17502 1999-06-24  Tom Tromey  <tromey@cygnus.com>
17504         * gcc.c (main): Read user-specified specs files after computing
17505         additional startfile_prefixes.
17507 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
17509         Revert these two patches:
17511         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17512         * loop.c (strength_reduce): When doing biv->giv conversion, update
17513         reg note of NEXT->insn.
17515         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17516         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
17517         reg_biv_class.
17518         (recombine_givs): Set ix field after sorting.
17520 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17522         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
17523         for the parts of an UNSPEC / UNSPEC_VOLATILE.
17525 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
17527         *fixinc/inclhack.def:  Add fix development commentary
17528         (read_ret_type): reactivate and add selection clause
17529         (zzz_*): tweak output file name to match what is used in hackshell.tpl
17530         *fixinc/{fixincl.x|inclhack.sh}: regen
17532 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
17534         * expr.c (expand_expr): STRIP_NOPS before checking against
17535         MAX_INTEGER_COMPUTATION_MODE
17536         (check_max_integer_computation_mode): Likewise.
17538 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
17540         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
17542 1999-06-22  Jim Wilson  <wilson@cygnus.com>
17544         * expr.c (store_expr): When target is a promoted subreg, return a
17545         promoted subreg as a result.
17547 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
17549         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
17550         coding standards.
17551         (dwarf2out_define): Mark unused parameters appropriately.
17552         (gen_unspecified_parameters_die): Ditto.
17553         (gen_subprogram_die): Fix signed/unsigned warnings.
17554         (gen_variable_die): Ditto.
17556 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
17558         * fixinc/inclhack.def(end_else_label): combined else_label
17559         and endif_label and fixed the sed expression.
17560         *fixinc/{fixincl.x|inclhack.sh}: regen
17562 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
17564         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
17565         'x' when handling non-offsettable addresses
17567 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
17569         * final.c (shorten_branches): Don't try to split an insn that has
17570         been deleted.
17572 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
17574         * config/mips/mips.c (symbolic_expression_p): New function.
17575         (mips_select_rtx_section): Put symbolic expressions in the
17576         data section, not the read-only data section.
17578 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
17580         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
17582 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
17584         * collect2.c (main): Log frame table count.
17585         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
17586         (scan_prog_file) [COFF]: Handle frame tables.
17588         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
17589         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
17590         * alpha/elf.h: Undef them again.
17591         * alpha/vms.h: Remove their definitions.
17593 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17595         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
17596         remove the clobber of r0 and change the REG_UNUSED note to
17597         REG_INC.
17599 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
17601         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
17602         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
17603         fits in HOST_WIDE_INT and one uses union to access a long constant
17604         as double.
17606 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
17608         * sparc.c (sparc_override_options): Don't allow profiling for
17609         code models other than medlow.
17610         (sparc_function_profiler): New function from old FUNCTION_PROFILER
17611         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
17612         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
17613         (sparc_block_profiler): Likewise.
17614         (sparc_function_block_profiler_exit): Likewise.
17615         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
17616         (FUNCTION_BLOCK_PROFILER): Likewise.
17617         (BLOCK_PROFILER): Likewise.
17618         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
17619         (MCOUNT_FUNCTION): New.
17620         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
17621         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
17622         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
17623         (MCOUNT_FUNCTION): New.
17624         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
17625         (BLOCK_PROFILER): Delete.
17626         (MCOUNT_FUNCTION): New.
17628 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
17630         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
17632 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
17634         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
17635         Add the macros.
17637         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
17638         Ditto.
17640         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
17641         Ditto.
17643         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
17644         Ditto.
17646 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
17648         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
17649         types.
17651 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
17653         * i386/djgpp.h (LIB_SPEC): New.
17654         (STARTFILE_SPEC): New.
17656         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
17658 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
17660         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
17661         compiler flags.
17663         * system.h (WSTOPSIG): New macro.
17665 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17667         * c-pragma.c (push_alignment): Don't ignore alignments greater than
17668         4 bytes.
17669         (insert_pack_attributes): Take into account member natural
17670         alignment.
17672         * i386/winnt.c (exports_head): New static variable.
17673         (i386_pe_record_exported_symbol): New function.
17674         (i386_pe_asm_file_end): Use.
17675         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
17676         symbols to be emitted at end of assembly.
17677         (ASM_DECLARE_OBJECT_NAME): Likewise.
17678         (ASM_DECLARE_FUNCTION_NAME): Likewise.
17680         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
17681         -iwithprefix.
17683 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
17685         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
17686         in last change.
17688 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
17690         * haifa-sched.c (sched_analyze_1): Use free_list instead of
17691         zapping reg_last_uses directly.
17692         (sched_analyze_2, sched_analyze_insn): Likewise.
17693         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
17695 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
17697         * rs6000.md (movdf_hardfloat32): Use worst case insn length
17698         attributes for cases 1 and 2.
17700 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
17702         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
17703         instead of set.
17705 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
17707         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
17709 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
17711         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
17712         PIC_OFFSET_TABLE_REGNUM for general alloaction.
17713         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
17714         must be stacked if it is used for PIC accesses.
17715         * arm.c (use_return_insn): Handle PIC register specially.
17716         (output_return_instruction): Likewise.
17717         (output_func_{prologue,epilogue}): Likewise.
17718         (output_expand_prologue): Likewise.
17720         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
17721         (*strsi_predec): Renamed from *strqi_predec.
17722         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
17723         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
17725         * arm.c (arm_override_options): Remove warning about PIC code
17726         not being supported.
17728 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
17730         * rs6000.c (find_addr_reg): New function.
17731         * rs6000.h (find_addr_reg): Declare.
17732         (offsettable_addr_operand): Delete.
17733         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
17734         from and stores to GPRs.
17736 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
17738         * alpha.c (alpha_expand_block_move): Use get_insns rather than
17739         gen_sequence as argument to emit_no_conflict_block.
17741 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
17743         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
17744         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
17745         *fixinc/fixincl.x: regen
17746         *fixinc/inclhack.sh: regen
17748 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
17750         * added support for -mpcrel (PC relative addressing for m68k)
17751         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
17752         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
17753         * m68k.c (print_operand_address): Handle 32-bit PIC case.
17754         (comments for general_src_operand): Add some explanation
17755         about EXTRA_CONSTRAINTS.
17756         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
17757         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
17758         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
17759         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
17760         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
17761         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
17762         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
17763         if not already set.
17764         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
17765         * m68k.h (TARGET_PCREL): New target flag.
17766         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
17767         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
17768         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
17769         contains a SYMBOL_REF.  Relax this constraint during reload, since
17770         we want to use the predicates, not reload's built-in concept of a
17771         valid memory address, to control what insns need reloading.
17772         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
17773         operands (essentially 'g', 'm', and 's' under normal circumstances).
17774         * m68k.c (print_operand): Cause printing of pc-relative addresses
17775         to include pc register.
17776         (print_operand_address): Ditto.
17777         (general_src_operand): Accept operands that are not only
17778         general_operands, but are also valid when used as a pc-relative
17779         source.
17780         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
17781         (memory_src_operand): Similar, for memory_operands.
17782         (pcrel_address): New predicate to accept the special case of a
17783         pc-relative address.
17784         * m68k.md (many patterns): Rewrite common SImode, HImode, and
17785         QImode insns to accept *_src_operand instead of *_operand where
17786         pc-relative operands can fit.  For example, a pc-relative operand
17787         can be used as a memory source operand for addsi3, but not as a
17788         memory destination.
17789         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
17791 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
17793         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
17794         .thumb_set pseudo op to mark aliases of thumb functions.
17796 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
17798         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
17799         preference to ASM_OUTPUT_DEF, if it is defined.
17801         * tm.texi: Document new, optional target macro
17802         ASM_OUTPUT_DEF_FROM_DECLS.
17804 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
17806         * fixincludes: ISCNTL patch
17807         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
17808         (dgux_int_varargs): new for DG/UX
17809         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
17811 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
17813         * invoke.texi (ia32 options): Fix typo.
17815 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17817         * loop.c (strength_reduce): When doing biv->giv conversion, update
17818         reg note of NEXT->insn.
17820 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
17822         * loop.c (move_movables): Note issues with replacing REGs with
17823         SUBREGs.
17824         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
17826 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
17828         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
17830         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
17831         the reference to `mcount' was not correct for the ELF on FreeBSD.
17833 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17835         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
17836         reg_biv_class.
17838         (recombine_givs): Set ix field after sorting.
17840 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
17842         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
17843         to safe to extract a subword out of a REG.
17845 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17847         * sh.md (mulsi3): Don't add a no-op move at the end.
17849 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17851         * cse.c (cse_insn): Don't put hard register source into tables for
17852         the last insn of a libcall.
17854 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17856         * loop.c (strength_reduce): Insert sets of derived givs at every
17857         biv increment, even if it's the only one.
17859 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
17861         * dwarfout.c (add_incomplete_type): New fn.
17862         (output_type): Call it.
17863         (retry_incomplete_types): New fn.
17864         (dwarfout_finish): Call it.
17866         From Eric Raskin <ehr@listworks.com>:
17867         (output_type): Output types for bases.
17869 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
17871         * mips.c (mips_output_conditional_branch): Add `break'
17872         between `default' label and `close braces'.
17874 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
17876         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
17877         specifications and make it realistic.
17878         (LIB_SPEC): Likewise.
17880 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
17882         * config/mips/mips.c (mips_secondary_reload_class): Check for
17883         (PLUS (SP) (REG)) and return appropriate register class.
17884         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
17885         Handle (PLUS (SP) (REG)).
17886         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
17887         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
17888         of emit_insn for tablejump.
17890 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
17892         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
17893         asm_fprintf format string by itself.
17894         (output_function_profiler): Likewise.
17896 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
17898         * combine.c (simplify_logical, case AND): Only call
17899         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
17900         or the constant is positive.
17902 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
17904         * configure.in: Fix typo in rs6000-ibm-aix4 case.
17905         * configure: Regenerate.
17907 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
17909         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
17910         require a sub-version #.
17911         * configure: Rebuilt.
17913 1999-06-14  Robert Lipe  (robertlipe@usa.net)
17915         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
17917 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
17919         * c-typeck.c (process_init_element): Detect excess elements in
17920         char array initializer.
17922 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
17924         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
17926 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
17928         * invoke.texi (Option Summary): Add -fpermissive flag.
17930 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
17932         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
17933         that require PIC code sequences.
17935 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
17937         * configure.in: Add new target: thumb-elf.
17938         * configure: Regenerate.
17939         * config/arm/t-thumb-elf: New file: Makefile fragment for
17940         thumb-elf build.
17941         * config/arm/telf.h: New file: Header file for thumb-elf
17942         build.
17944 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
17946         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
17947         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
17948         initializers is some circumstances.
17950         * fixinc/inclhack.def (endif_label): Add additional selector for
17951         more bogus stuff after #endif statements.
17952         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
17954 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17956         * i386/cygwin.h (SET_ASM_OP): Define.
17958 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17960         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
17962 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17964         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
17965         latter.
17967         * sh.md (ic_invalidate_line_i): Remove second alternative.
17969 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
17971         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
17972         test for the presence of valid prototypes.  Delete bypass expr.
17973         (ioctl_fix_ctrl): Correct the selection expression.
17974         (no_double_slash): Correct quoting rules
17975         *fixinc/fixincl.x: regen
17976         *fixinc/inclhack.sh: regen
17978 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
17980         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
17982 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17984         * rs6000.md (movsi_got_internal_mem): Delete.
17985         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
17986         (GOT_TOC_REGNUM): Delete.
17987         (PIC_OFFSET_TABLE_REGNUM): Define.
17988         (FINALIZE_PIC): Disable.
17989         * rs6000.c (rs6000_got_register): New code for fixed pic register.
17990         (rs6000_replace_regno): Delete.
17991         (rs6000_finalize_pic): Likewise.
17992         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
17994 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17996         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
17997         is a note; use <= for the compare; advance P while it is
17998         a NOTE.
18000 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
18002         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
18003         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
18005         * varasm.c (remove_from_pending_weak_list): Verify t->name
18006         is non-NULL before passing it to strcmp.
18008 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
18010         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
18011         the typed arguments are not part of a comment
18012         (ioctl_fix_ctrl): Added a purpose comment
18013         *fixinc/fixincl.x: regenerate
18014         *fixinc/inclhack.sh: regenerate
18016 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18018         * invoke.texi: Add C4x invocation docs.
18020 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18022         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
18023         Define new macros.
18024         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
18025         TARGET_EXPOSE_LDP.
18026         (c4x_legitimize_reload_address): New function.
18027         * config/c4x/c4x.md: Update docs.
18029 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
18031         * fixincludes: Avoid removing '.'.
18032         * fixinc/fixinc.svr4: Likewise.
18033         * fixinc/fixinc.winnt: Likewise.
18034         * fixinc/inclhack.tpl: Likewise.
18035         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
18037 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18039         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
18040         pattern.
18041         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
18043 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18045         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
18046         correctly.
18048 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
18050         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
18051         * configure: Regenerate.
18053 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
18055         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
18056         values.
18058 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
18060         * fixinc/inclhack.def (avoid_bool): Also catch
18061         "typedef [unsigned] int bool".
18062         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
18064         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
18065         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
18066         * configure: Rebuilt.
18068 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
18070         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
18071         such that we can override its definitions if necessary.
18072         (CPP_SPEC): New define.  Support processor specific predefines via
18073         %(cpp_cpu).
18074         (CC1_SPEC): New define.  Support processor specific compiler
18075         options via %(cc1_cpu).
18076         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
18077         -static.
18079 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18081         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
18082         between sed's -e flag, and the open-quote following it.
18083         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
18085 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
18086                           Jeffrey A Law  (law@cygnus.com)
18088         * varasm.c (assemble_start_function): Remove the function
18089         from the pending weak decls list when we define a function.
18090         (assemble_variable): Similarly for variables.
18091         (weak_finish): Ignore items on the list with a NULL name.
18092         (remove_from_ending_weak_list); New function to "remove" an item
18093         from the pending weak declarations list.
18095 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
18097         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
18099 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
18101         * c-lex.c (GETC): Redefine to call getch.
18102         (UNGETC): Redefine to call put_back.
18103         (putback_buffer): New structure type.
18104         (putback): New static structure.
18105         (getch): New function.
18106         (put_back): New function.
18107         (yylex): Replace unused bytes from bad multibyte character.
18109 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
18111         * cpplib.c (do_define): Cast `alloca' return value.
18112         (do_include, do_undef, do_pragma): Likewise.
18113         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
18114         values.
18115         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
18116         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
18118 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
18120         * sparc.md (abstf2): This should be an expand.
18121         (split after abstf2_notv9): Fix mode.
18122         (abstf2_hq_v9): New pattern.
18123         (abstf2_v9): Only use when no hard quad.
18124         (absdf2_v9): Fix if target is not the same as source.
18125         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
18126         Add correct output constraints.
18128 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
18130         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
18131         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
18133 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
18135         * mips.h (mips_output_conditional_branch): New function.
18136         (mips_adjust_insn_length): Likewise.
18137         (ASSEMBLER_SCRATCH_REGNUM): New macro.
18138         (ADJUST_INSN_LENGTH): Likewise.
18139         * mips.c (print_operand): Add `F' and `W' for floating-point
18140         comparison opcodes.
18141         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
18142         are now in bytes.
18143         (mips_adjust_insn_length): New function.
18144         (mips_output_conditional_branch): New function.
18145         * mips.md (length): Adjust attribute definition to handle
18146         conditional branches.  Change lengths to bytes, rather than
18147         instructions throughout.  Remove length attribute from
18148         instructions whose length is four bytes, and rely on the default
18149         instead.
18150         (dslot): Fix typo in comment.
18151         Reword conditional branch patterns to use
18152         mips_output_conditional_branch.
18154 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
18156         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
18157         (LIB_SPEC): Likewise.
18158         Link with -lprof1_r for -g/-pg.
18160 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
18162         * loop.c (check_dbra_loop): Fix change of Jan 19.
18164 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
18166         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
18167         (STARTFILE_SPEC):  Define, override the svr4.h version.
18168         (ENDFILE_SPEC):  Likewise.
18170 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
18172         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
18173         * fixinc/fixincl.x: Regenerated.
18174         * fixinc/inclhack.sh: Regenerated.
18176 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18178         * sh.c (barrier_align): Don't return early for normal branch/barrier
18179         when optimizing for SH2.
18181 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
18183         * i386/udk.h (LINK_SPEC): Correct linker search path for
18184         system libraries.
18186 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18188         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
18189         (braf_label_ref_operand): Delete.
18190         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
18191         * sh.md (casesi_jump_2): Operand1 is now the inside of a
18192         label_ref, and has no predicate.
18193         The patten has a predicate to guard against invalid substitutions.
18194         (dummy_jump): Delete.
18195         (casesi): Update use of casesi_jump_2.
18197 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
18199         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
18200         *fixinc/fixincl.x: regenerate
18201         *fixinc/inclhack.sh: regenerate
18203 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
18205         * dwarf2out.c (add_incomplete_type): New fn.
18206         (gen_struct_or_union_type_die): Call it.
18207         (retry_incomplete_types): New fn.
18208         (dwarf2out_finish): Call it.
18210 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
18212         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
18213         current block starts with a CODE_LABEL and ends with a CALL and
18214         we can not find all the argument setup instructions for the CALL.
18216 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
18218         Revert this change:
18219         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
18220         something is a candidate for optimize_bit_field_compare.
18222 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18224         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
18226 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
18228         * alpha.c (override_options): Thinko in last patch.
18230         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
18231         (LIB_SPEC): Recognize -pthread.
18233 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
18235         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
18236         definition in config/arm/coff.h
18237         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
18239 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
18241         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
18242         fixes that need "file=xxx\n" prepended before invocation
18243         (start_fixer - new): starting the fixer process is complex enough
18244         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
18245         (process): uses the new routine; omit usage of putenv()
18246         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
18247         * fixinc/fixincl.x: regenerate
18249 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
18251         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
18252         and version #s (1.1 -> 2.96) as needed.
18253         * README.g77: Kill way out of date file in the toplevel directory.
18255 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
18257         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
18258         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
18259         * configure: Rebuilt.
18260         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
18261         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
18262         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
18263         (SWITCH_TAKES_ARG): Likewise.
18264         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
18265         * config/t-freebsd: Moved from config/i386/ so it can used for all
18266         FreeBSD targets.
18268 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
18270         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
18272 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
18274         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
18275         * configure: Rebuilt.
18277 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
18279         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
18280         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
18281         * rs6000/rs6000.c (rs6000_file_start): Use putc.
18282         (rs6000_output_load_toc_table): Same.
18283         (output_prolog, output_mi_thunk): Same.
18284         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
18285         (ASM_GLOBALIZE_LABEL): Use putc.
18287 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
18289         * alpha.md (reload_*_help): New patterns and splitters.
18290         (reload_*): Use them.
18291         (mov[qh]i): Likewise.
18293 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
18295         * cccp.c (handle_directive): Handle backslash-newlines in quoted
18296         strings correctly.
18298 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
18300         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
18302 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
18304         * flow.c (mark_regs_live_at_end, insn_dead_p,
18305         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
18306         and HARD_FRAME_POINTER_REGNUM special treatment if reload
18307         hasn't run or the frame pointer is needed.
18308         * haifa-sched.c (attach_deaths): Likewise.
18309         * sched.c (attach_deaths): Likewise.
18311 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
18313         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
18314         calculate_can_reach_end returns nonzero.
18316         * configure.in (native gas tests): Search for an assembler in the
18317         same manner that the installed compiler will.
18318         * configure: Rebuilt.
18319         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
18321         * alias.c (find_base_term): Improve handling of addresses
18322         constructed from binary operations.
18324 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
18326         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
18328 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
18330         * function.h (cleanup_label, frame_offset): Declare.
18331         (tail_recursion_label, tail_recursion_reentry): Likewise.
18332         (arg_pointer_save_area, rtl_expr_chain): Likewise.
18333         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
18334         (tail_recursion_label, tail_recursion_reentry): Likewise.
18335         (arg_pointer_save_area, rtl_expr_chain): Likewise.
18337 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
18339         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
18340         defined.
18341         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
18342         (MAX_OFILE_ALIGNMENT): Define.
18344 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
18346         * fixincl.c: Replace local include scheme with #includes of
18347         gansidecl.h and system.h.
18348         * procopen.c:  Likewise.
18349         * server.c:  Likewise.
18351 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
18353         * i386/t-dgux (EXTRA_PARTS): Add crti.o
18354         (crti.o): Add build rule and dependencies.
18355         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
18357 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18359         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
18360         (LIB_LINUX_SPEC): Likewise.
18361         (LIB_LINUX_SPEC): Add support for -pthread
18362         (CPP_OS_LINUX_SPEC): Likewise.
18363         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
18364         specified.
18366 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
18368         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
18369         conditional move.
18370         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
18371         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
18372         for IEEE math and CC_FCOMI.
18373         (put_jump_code): No IEEE if CC_FCOMI is set.
18375 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
18377         * fold-const.c (fold_truthop): Make the field reference unsigned
18378         when converting a single bit compare.
18380 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18382         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
18384 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
18386         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
18387         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
18388         version did.
18390         * reload.c (push_reload): Do not call remove_address_replacements
18391         when presented with identical optional reloads.
18393 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
18395         * alpha.h (MASK_FIX, TARGET_FIX): New.
18396         (MASK_*): Reorganize constants.
18397         (CPP_AM_FIX_SPEC): New.
18398         (TARGET_SWITCHES): Add FIX.
18399         (EXTRA_SPECS): Likewise.
18400         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
18401         (SECONDARY_MEMORY_NEEDED): Likewise.
18402         (REGISTER_MOVE_COST): Likewise.
18403         * alpha.c (override_options): Add FIX support.  Always use
18404         ALPHA_TP_PROG for ev6.
18405         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
18406         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
18407         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
18409 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
18411         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
18412         something is a candidate for optimize_bit_field_compare.
18414 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
18416         * gcc.texi (Passes): Document branch-shortening.
18417         * invoke.texi (Debugging Options): Document the fact that `-dp'
18418         outputs length information for instructions.
18420 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
18422         * flow.c: Revert previous delta.
18424 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
18426         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
18427         FRAME_POINTER_REGNUM.
18428         (mark_set_1): Ditto.
18429         (mark_used_regs): Ditto.
18431 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
18433         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
18434         (GOT_PCREL): New macro.  Define to 1 if not already defined.
18435         * arm/elf.h (GOT_PCREL): Define to 0.
18436         * arm.c (arm_finalize_pic): Take into account the setting of
18437         GOT_PCREL.
18439 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
18441         * output.h (STRIP_NAME_ENCODING): Provide default definition.
18442         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
18444         * flow.c (mark_set_1): Do not record BLKmode stores as dead
18445         store elimination candidates.
18447 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18449         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
18450         TARGET_GAS.
18452 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
18454         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
18455         Add use of x-aix41-gld.
18457 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
18459         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
18460         (ASM_OUTPUT_DESTRUCTOR): Define.
18462 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
18464         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
18465         last CODE_LABEL in a loop if we have previously passed a jump
18466         to the top of the loop.
18468 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
18470         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
18471         applying Philip's patch.
18473 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
18475         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
18476         are not VAR_DECLs.
18478 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
18480         * loop.c (strength_reduce): Grow reg_single_usage as needed.
18482 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
18484         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
18485         Also remove a useless comment.
18487 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
18489         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
18491 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
18493         * collect2.c (main): Only generate import or export file and add
18494         to link arguments if non-empty.  Use xmalloc not alloca.
18495         (write_{export,import}_file): Delete.
18496         (write_aix_file): New function.
18497         (locatelib): Use xmalloc not malloc.
18498         (GCC_OK_SYMBOL): Do not check type if aix64.
18500 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
18502         Based on patch by Scott Bambrough and Pat Beirne:
18503         * config/arm/arm.c (making_const_table): New variable.
18504         * config/arm/arm.h (making_const_table): Declare.
18505         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
18506         appropriate.
18507         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
18508         Keep track of when we are building the constant table.
18510 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
18512         * config/arm/arm.c (arm_override_options): Fix erroneous warning
18513         message.
18515 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
18517         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
18518         defined.
18520 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
18522         * tm.texi (FUNCTION_ARG): Correct description of a stack element
18523         in a PARALLEL.
18525 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
18527         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
18529 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18531         * rs6000.c (output_mi_thunk): Enable full support again.
18533 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18535         * sh.h (BRANCH_COST): Define.
18537 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
18539         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
18541 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
18543         * function.c (assign_stack_local): Align stack slot propertly.
18544         (assign_outer_stack_local): Likewise.
18546 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
18548         * expr.h (lang_expand_constant): Declare.
18549         * toplev.c (lang_expand_constant): Define it.
18550         * varasm.c (output_constant): Use it.
18552 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18554         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
18555         Change function definitions to K&R style.
18557 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
18559         * fixinc/fixincl.c: We must not ignore SIGCLD now.
18561 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
18563         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
18564         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
18565         (several places): omit static initialization
18566         (process): use single fd, since only the read fd is used
18567         * fixinc/gnu-regex.c: define 'const' away, if not supported
18568         * fixinc/procopen.c(several places): omit static initialization
18569         * fixinc/server.c: define 'volitile' away, if not supported
18571 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
18573         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
18574         asm_fprintf and %L to generate the label name.
18575         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
18576         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
18578 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
18580         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
18581         insn for a conditional jump can not be found.
18583 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
18585         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
18586         on variables in specific sections other than .sbss and .sdata.
18588 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
18590         * stmt.c (expand_return): Call start_cleanup_deferral and
18591         end_cleanup_deferral around conditional code.
18593 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
18595         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
18596         filename lists.  Utilizes new "krstr" AutoGen function.
18597         * fixinc/fixincl.x: Rebuilt.
18599 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
18601         * i386.c (output_float_compare): Avoid GNU-C extensions.
18603 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
18605         * version.c: Bump to distinguish mainline tree from the
18606         gcc-2.95 branch.
18608 See ChangeLog.1 for earlier changes.