Do not include stddef.h if building trampoline support and inhibit_libc is defined
[official-gcc.git] / gcc / ChangeLog
blob261079c36135c33341ade1c7d0c1ed6db640a3d2
1 Tue Oct  5 15:37:04 1999  Michael Meissner  <meissner@cygnus.com>
3         * libgcc2.c (toplevel): If inhibit_libc is defined and not
4         building the trampoline support, declare malloc, free, and
5         atexit.
6         (__clear_cache): Mark arguments as potentially unused.
7         
8         * frame.c (toplevel): If inhibit_libc is defined, declare
9         malloc and free.
11 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
13         * flow.c (make_edge): Accept an optional 2D bitmap in which
14         to cache edge existence.  Update all callers.
15         (make_label_edge, make_eh_edge): Pass through the edge cache.
16         (make_edges): Provide the cache.
18 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
21         a char*.
22         (local_mbtowc): Change the type of variable `i' from int to size_t.
24         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
25         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
27 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
29         * ggc-{common,callbacks,none,page,simple}.c (toplevel): Reorder
30         includes, so that ggc.h comes after other includes that define the
31         appropriate types.  Include tm_p.h for getting user prototypes.
33 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
34                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
36         * config/mips/mips.c (mips_move_2words): Split doubles if
37         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
39 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
41         * genrecog.c (struct decision_test): New.
42         (struct decision): Remove test-related members, sort the rest by size.
43         (IS_SPLIT): Simplify.
44         (new_decision, new_decision_test): New.
45         (add_to_sequence): Use them.  No special handling for args of
46         non-MATCH codes.
47         (maybe_both_true): Renamed from not_both_true; return sense changed.
48         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
49         of maybe_both_true and adjusted for decision_test.
50         (position_merit): Remove.
51         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
52         (merge_accept_insn): New, broken out of merge_trees.
53         (merge_trees): Use them.  No special case for c_test; no node
54         splitting; use test type instead of position_merit.
55         (factor_tests): New.
56         (simplify_tests): New.
57         (break_out_subroutines): Don't write code now.
58         (find_afterward): New.
59         (write_afterward, write_switch, write_cond): New.
60         (write_action, is_unconditional): New.
61         (write_node): New.  Use them.
62         (write_tree_1): Rewrite.  Use the new functions above.
63         (write_tree): Remove afterward processing.
64         (write_subroutine): Simplify function variant emission.
65         (write_subroutines): New.
66         (same_codes, clear_codes): Remove.
67         (same_modes, clear_modes): Remove.
68         (write_header): New, broken out of main.
69         (make_insn_sequence): Use new_decision and new_decision_test.
70         (process_tree): New, broken out of main.
71         (main): Adjust for merge_trees interface change. 
72         Don't #define operands in the output file.
73         (record_insn_name): New, broken out of make_insn_sequence.
74         (debug_decision_2, debug_decision_1, debug_decision_0): New.
75         (debug_decision): New.
77 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
79         * resource.c (find_free_register): Mark class_str argument const.
80         * resource.h: Update prototype to match.
82         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
83         * i386.md: Give all anonymous insns names.
85 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
87         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
88         blocks.
90 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
92         * toplev.c (dbr_sched_time): Unconditional.
93         (peephole2_time): New.
94         (compile_file): Add pass numbers to all of the dump file suffixes.
95         Dump peephole2_time.  Don't dump times for non-applicable passes.
96         (rest_of_compilation): Add pass numbers to dump file suffixes.
97         Conditionalize calls to the scheduler.
98         * invoke.texi: Update.
100 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
102         * flow.c (make_edges): Fix insn iteration.
103         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
104         (find_basic_blocks_1): Fix spelling mistake.
106 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
108         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
109         always have side-effects.  Use memset not bzero.
110         (make_node): Likewise.
112 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
114         * stmt.c (expand_anon_union_decl): When any of the elements of the
115         union is addressable, so is the entire union.
117 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
119         * sbitmap.c (sbitmap_ones): Don't set too many bits.
121         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
122         * bitmap.c (bitmap_operation): Return true iff TO changed.
123         (bitmap_equal_p): New.
124         (bitmap_bit_p): Tidy arithmetic.
125         (debug_bitmap_file): Likewise.
127 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
129         * toplev.c (rest_of_compilation): Turn on cse_not_expected
130         before cse2 instead of after.
132 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
134         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
135         register offsets. 
137 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
139         * cppinit.c (is_idchar initializer): Loosen tests to accept
140         gcc 2.>6 and >2.
142 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
144         * mips.md: Define conditional move patterns for floating point
145         operands and DI mode conditions.
147 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
149         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
150         always have side-effects.
152 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
154         * mn10200.c (asm_file_start): Fix typo.
156         * cppinit.c (is_idchar initializer): Tighten tests for when
157         to put the table into initialized memory.
159         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
160         not an array of rtunion.
161         * gcc-page.c (ggc_alloc_rtvec): Similarly.
162         * gcc-simple (ggc_free_rtvec): Similarly.
164         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
165         of rtunions.
167         * mbchar.h: Add missing #endif.
169         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
170         (FPBIT, DPBIT): Define.
172 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
174         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
176         * profile.c (instrument_arcs, output_gcov_string,
177         tablejump_entry_p): Add static prototypes.
178         (output_gcov_string): Constify a char*.
179         
180         * regmove.c (replacement_quality, fixup_match_2): Add static
181         prototypes.
183         * resource.h (reg_dead_p): Add extern prototype.
185         * rtl.c (trim_filename): Add static prototype.
187         * scan-decls.c (skip_to_closing_brace): Likewise.
189         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
190         (expand_end_case): Initialize variable `range'.
191         (emit_case_nodes): Remove unused prototype `rtx_fn'.
193         * varasm.c (asm_emit_uninitialised): Add static prototype.
194         (asm_emit_uninitialised, assemble_variable): Mark parameter with
195         ATTRIBUTE_UNUSED.
197 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
199         * cpplib.c (if_directive_nameo): Add static prototype.
201         * cse.c (cse_insn): Remove unused variable `p'.
203         * except.c (create_rethrow_ref, push_entry,
204         receive_exception_label, new_eh_region_entry, find_func_region,
205         clear_function_eh_region, process_nestinfo): Add static prototypes.
206         (get_reg_for_handler): Hide definition.
207         (process_nestinfo): Initialize variable `extra_handlers'.
209         * expr.h (expand_builtin_longjmp): Add extern prototype.
211         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
213         * function.c (prepare_function_start): Likewise.
214         (pop_function_context_from): Mark parameter `context' with
215         ATTRIBUTE_UNUSED.
216         (push_temp_slots_for_block, flush_addressof): Hide definition.
217         
218         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
219         solve_program_flow_graph, calculate_branch_probs,
220         function_summary, main, fancy_abort): Add prototypes.
222         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
223         (add_hash): Constify a char*.
225         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
226         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
227         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
229         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
231         * lists.c (free_list, zap_lists): Likewise.
233 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
235         * alias.c (nonlocal_reference_p): Add static prototype.
237         * bitmap.c (bitmap_element_allocate): Prototype args in function
238         pointer cast.
240         * builtins.c (stabilize_va_list): Add static prototype.
241         (expand_builtin_va_arg): Constify a char*.
242         
243         * c-lex.c (getch, put_back, extend_token_buffer_to,
244         read_line_number, token_getch, token_put_back): Add static
245         prototypes.
247         * c-parse.gperf (hash, is_reserved_word): Likewise.
249         * cccp.c (is_dir_separator): Likewise.
251 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
253         * graph.h: New file to prototype functions exported by graph.c.
255         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
257         * graph.c: Include graph.h.
259         * toplev.c: Likewise.  Remove redundant prototypes.
261 Sat Oct  2 11:28:33 1999   Krister Walfridsson <cato@df.lth.se>
263         * invoke.texi: Removed duplicated description for -Q.
265 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
267         * extend.texi: Grammar fix in __extension__ text.
269 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
271         * md.texi (define_peephole2): New section.
273 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
275         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
276         (mov $-1 to or peepholer): Enable for pentium when optimizing for
277         speed.
279 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
281         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
283 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
285         * i386.md (ffs expander): Emit Pentium friendly code for
286         TARGET_PENTIUM.
288 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
290         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES 
291         for non-trees.
292         (build1): Likewise.
293         
294 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
296         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
298 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
300         * config/m68k/m68k.c (use_return_insn): Return false if the pic
301         register is in use.
303 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
305         * md.texi (No Constraints): Delete section.
306         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
307         * final.c (final_scan_insn): We always have register constraints.
308         * genattrtab.c: Don't include "insn-config.h".
309         (write_attr_case): We always have register constraints.
310         * genconfig.c (register_constraint_flag): Delete.
311         (walk_insn_part): Don't check whether we have register constraints.
312         (main): Don't write out "#define REGISTER_CONSTRAINTS".
313         * genoutput.c (have_constraints): Delete.
314         (main): Don't set it.
315         (output_operand_data): We always have constraints.
316         (scan_operands): Likewise.
317         (compare_operands): Likewise.
318         * local-alloc.c (block_alloc): We always have constraints.
319         (requires_inout): Always compile this function.
320         * recog.c (extract_insn): We always have constraints.
321         (constrain_operands, reg_fits_class_p): Always compile these
322         functions.
323         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
324         fields.
325         (struct insn_operand_data): Likewise.
326         * regclass.c (regclass): We always have constraints.
327         (record_reg_classes, copy_cost, record_address_regs,
328         auto_inc_dec_reg_p): Always compile these functions.
329         * regmove.c (regmove_optimize): We always have constraints.
330         * reload.c (find_reloads): Likewise.
331         * reload1.c (reload): Likewise.
332         (reload_cse_simplify_operands): Likewise.
333         * i860.c (output_delay_insn): Likewise.
335 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
337         * iris6.h (BUILD_VA_LIST_TYPE): Define.
339 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
341         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
342         for the va_list record.
344 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
346         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
347         prologues.
349 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
351         * alias.c: Include insn-flags.h.
352         * Makefile.in (alias.o): Update.
354 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
356         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
357         to LTU and GEU.  Handle more cases using sbb.
359 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
361         * i386.md (truncatexfdf splitters): Do not use subreg.
362         (fop XFmode patterns): Fix mode in operand testing.
364 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
366         * jump.c (jump_optimize_1): Amend last change to test only the
367         form of the operand, not the insn.
369         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
370         not register_operand to determine when B may need preloading.
372 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
374         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
375         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
376         (call-value patterns): Move to end of file.
377         (*): Remove mode from label_ref in (pc) context.
378         (movstrqi): Use memory not general_operand for BLKmode operands.
379         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode 
380         to register_operand operands.
381         (peep2 patterns): Convert from commented-out peephole patterns.
383 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
385         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
386         to BUILT_IN_INIT_DWARF_REG_SIZES.
387         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
388         Renamed from BUILT_IN_DWARF_REG_SIZE; call
389         expand_builtin_init_dwarf_reg_sizes.
390         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
391         with __builtin_init_dwarf_reg_size_table.
392         * dwarf2out.c (struct reg_size_range): Delete.
393         (expand_builtin_init_dwarf_reg_sizes): New function.
394         (expand_builtin_dwarf_reg_size): Delete.
395         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
396         (expand_builtin_dwarf_reg_size): Don't declare.
397         * libgcc2.c (dwarf_reg_size_table_initialized): New.
398         (dwarf_reg_size_table): New.
399         (init_reg_size_table): New function.
400         (copy_reg): Use dwarf_reg_size_table.
401         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
402         before use.
404 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
406         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR): 
407         Correctly build argument list to constructor and destructor functions.
409 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
411         * c-tree.h (warn_float_equal): Declare.
412         * c-decl.c (warn_float_equal): Define.
413         (c_decode_option): Recognize -W[no-]float-equal.
414         * c-typeck.c (build_binary_op): Conditionally warn
415         about equality tests of floating point types.
416         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
417         * invoke.texi: Add docs for -Wfloat-equal warning.
419 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
421         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
422         generating RTL directly.
423         * mips.h (INIT_TARGET_OPTABS): Likewise.
424         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
426         * expr.h (init_mov_optab): Delete declaration
428         * h8300.c (WORD_REG_USED): Update to avoid useless register
429         saves in interrupt functions and functions which never return.
431         * cse.c (struct set): Delete inner_dest_loc field. 
432         (cse_insn): Remove assignments to inner_dest_loc field.
434 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
436         * ggc-page.c: Don't include <unistd.h> etc taken care of
437         by "system.h".  Include <sys/mman.h> afterward.
439 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
441         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
442         ggc_alloc_string.
444 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
446         * xcoffout.c (xcoffout_declare_function): Add documentation.
447         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
448         TARGET_64BIT.  Compare constant to -1, not bit pattern.
449         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
450         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
451         gen_movsi typos.
453 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
455         * dwarf2out.c (add_abstract_origin_attribute): Abort if
456         origin_die is NULL.
457         (gen_inlined_enumeration_type_die): Do not abort if the type has
458         not been writeen out.
459         (gen_inlined_structure_type_die): Do not abort if the type has
460         not been writeen out.
461         (gen_inlined_union_type_die): Do not abort if the type has
462         not been writeen out.
463         (gen_tagged_type_instantiation_die): Do not abort if the type
464         has not been written out.
466 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
468         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
469         call it.
470         * reg-stack.c (straighten_stack): Copy hard reg set with
471         COPY_HARD_REG_SET.
473 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
475         * builtins.c (stabilize_va_list): Stabilize array type va_list
476         to a pointer type, not the base record type.
477         (expand_builtin_va_copy): Dereference the pointers explicitly;
478         use the correct size for the copy.
480         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
481         (rs6000_va_arg): Likewise.
483 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
485         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
487 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
489         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
490         field.
491         (DECL_BUILT_IN_CLASS): Adjust accordingly.
493 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
495         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
496         (init_ggc): Use it instead of a constant.
497         (ggc_collect): Bound allocated_last_gc by it.
499 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
501         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
502         with va_list.
504 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
506         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
507         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
508         * configure:  Regen.
509         * config/mips/openbsd.h:  New, OpenBSD little endian target.
510         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
511         * config/mips/xm-openbsd.h:  New, OpenBSD host.
513 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
515         * config/m68k/m68k.c (output_function_prologue,
516         output_function_epilogue): Use
517         current_function_uses_pic_offset_table instead of regs_ever_live
518         to decide whether to save/restore pic register.
519         (legitimize_pic_address): Don't modify regs_ever_live any more.
521 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
523         * function.h (struct function): Add x_dont_save_pending_sizes_p.
524         * stor-layout.c (variable_size): Don't add sizes to the pending
525         sizes list if x_dont_save_pending_sizes_p is set.
526         
527 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
529         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
530         for symbolic_operand().
531         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
533 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
535         * combine.c (gen_rtx_combine): Add missing call to va_end().
537         * final.c (asm_fprintf): Likewise.
539         * genattrtab.c (attr_rtx): Likewise.
541 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
543         * cse.c: Update comments.
544         (cse_insn): When converting a conditional/computed jump into
545         an unconditional jump, always make sure a BARRIER immediately
546         follows the converted jump.  Do not delete unreachable code.
547         (cse_basic_block): Do not delete unreachable code.
548         * toplev.c (rest_of_compilation): Move call to 
549         delete_trivially_dead_insns after the conditional call to
550         jump_optimize.
552 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
554         * collect2.c (make_temp_file): Don't prototype.
556         * gcc.c (make_temp_file): Likewise.
558         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
560 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
562         * varasm.c (asm_emit_uninitialised): New function: Generate
563         the assembler statements necessary to declare an uninitialised 
564         variable.
565         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
566         variable.
567         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
568         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
569         section.
570         (assemble_variable): Use asm_emit_uninitialised to emit an
571         uninitialised variable.
573 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
575         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
576         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
577         <geoffk@cygnus.com>.
579 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
581         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
582         * c-common.h (builtin_function): Don't declare.
584         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
585         DECL_BUILT_IN.
586         (pushdecl): Likewise.
587         (finish_decl): Likewise.
588         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
589         int.  All callers changed.
590         Set the builtin's DECL_BUILT_IN_CLASS.
591         * tree.h (enum built_in_class): New.
592         (enum built_in_function): Delete NOT_BUILT_IN.
593         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
594         in a union.
595         (DECL_SET_FUNCTION_CODE): Likewise.
596         (DECL_BUILT_IN_CLASS): New macro.
597         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
598         (struct tree_decl): Split builtin function code field into a
599         struct.
600         (builtin_function): Declare.
602 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
604         * optabs.c (init_traps): Fix typo in last change.
606 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
608         * toplev.c (rest_of_decl_compilation): Update comment.
610 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
612         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
613         in .sbss if appropriate.
614         (EXTRA_SECTION_FUNCTIONS): Add sbss.
615         (SBSS_SECTION_ASM_OP): New macro.
616         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
617         (EXTRA_SECTIONS): Add in_sbss.
618         * config/mips/mips.h: Prototype sbss_section.
620 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
622         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
623         to disappear.
625 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
627         * optabs.c (init_traps): Register trap_rtx as a GC root.
629 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
631         * config/mips/mips.c (function_arg_pass_by_reference): Define
632         unconditionally, since it's called unconditionally.
634 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
636         * toplev.c (documented_lang_options): Add -fshort-wchar.
637         * c-decl.c (c_decode_option): Likewise.
638         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
639         for wchar_t.
640         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
641         * gcc.c (default_compilers): If -fshort-wchar, 
642         override __WCHAR_TYPE__.
643         * tm.texi (C Dialect Options): Add -fshort-wchar.
645         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
646         symbol for a variable.
648         * cpplib.h (CPP_PREPROCESSED): New macro.
649         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
650         we're seeing this input for a second time.
652 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
654         * emit-rtl.c (init_emit_once): Initialize modes first.
656 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
658         * config/i386/i386.c (pic_label_name): Change to char pointer.
659         (global_offset_table): New variable.
660         (load_pic_register): Fill global_offset_table if it hasn't
661         already been done.  Allocate pic_label_name dynamically.
662         * ggc.h (empty_string): New variable.
663         * ggc-simple.c (empty_string): Likewise.
664         (init_ggc): Allocate empty_string and add as root.
665         * stmt.c (digit_strings): New variable.
666         (init_stmt): Add last_block_end_note as root.  Allocate and
667         initialize digit_strings. 
668         (expand_asm_operands): Use empty_string instead of string
669         constant.  Use digit_strings instead of string constants.
670         * profile.c (init_arc_profiler): Allocate string with
671         ggc_alloc_string instead of xmalloc.
672         (output_func_start_profiler): Likewise.
673         * c-typeck.c (digest_init): Check if init is error_mark_node.
675 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
676                           Richard Henderson  <rth@cygnus.com>
678         * ggc-page.c: New file.
679         * Makefile.in (ggc-page.o): New.
681 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
683         * invoke.texi: Document -fdelete-null-pointer-checks
684         * toplev.c (flag_delete_null_pointer_checks): New.
685         (f_options): Add entry for -fdelete-null-pointer-checks.
686         (rest_of_compilation): Conditionalize null pointer check
687         elimination on flag_delete_null_pointer_checks.
688         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
690 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
692         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
693         copyright notice and special exception to GPL.
695 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
697         * abi64.h (mips_function_value): Add prototype arguments.
699         * mips-protos.h: New file with mips prototypes.
701         * mips.c: Include "tm_p.h".
702         (mktemp, lookup_name): Add prototype arguments.
703         (extern_list, string_constant, mips_fill_delay_slot,
704         mips_output_external, mips_output_external_libcall,
705         mips_output_filename, mips_declare_object, function_prologue,
706         mips_expand_prologue, function_epilogue, mips16_constant,
707         build_mips16_function_stub, mips_output_conditional_branch):
708         Constify a char*.
709         (mips_va_start): Remove unused variable `u'.
710         (mips_va_arg): Cast value to unsigned when comparing against one.
711         (trace): Delete.
712         (save_restore_insns, mips_expand_prologue): Add missing arg in
713         call to `large_int'.
715         * mips.h: Move prototypes to mips-protos.h.
716         (data_section, memory_address_p, rdata_section,
717         readonly_data_section, simple_epilogue_p, text_section): Delete
718         prototypes delcared elsewhere.
719         (mips_epilogue_delay_slots, print_options): Delete unused decls.
720         (trace): Delete.
721         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
723         * mips.md: Delete extra args in call to `mips_move_2words'.
725         * xm-iris6.h (alloca): Add prototype argument.
727         * genpeep.c: Include "tm_p.h" in generated output file.
729 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
731         * basic-block.h (find_edge_index): Change parameters.
732         * flow.c (verify_edge_list): Pass basic_block parameters to
733         find_edge_index instead of integers.
735 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
737         * combine.c (simplify_comparison): Use an unsigned shift to adjust
738         the constant.
740 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
742         * gcc.1: Fix a formatting error.
744 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
746         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
747         i786, mn10200, mn10300, pdp11, v850.
749 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
751         * libgcc2.c (num_digits): Add prototype with 
752         __attribute__((const)).
753         (__terminate): Add prototype.
755 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
757         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
759         * alpha/alpha.c (print_operand): Fix type of `code'.
760         (alpha_output_filename): Constify.
761         * alpha/alpha.h: Move all function declarations ...
762         * alpha/alpha-protos.h: ... here.  New file.
763         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
764         (SECTION_FUNCTION_TEMPLATE): Likewise.
766 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
768         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
769         * expr.c (expand_expr): Likewise.
770         (do_jump): Likewise.
771         (do_store_flag): Pass ccp_store_flag to can_compare_p.
772         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
773         accessor macros.
774         (enum can_compare_purpose): New.
775         (can_compare_p): Adjust prototype.
776         (prepare_cmp_insn, prepare_operand): Declare.
777         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
778         * optabs.c (cmp_available_p): Deleted.
779         (expand_abs): Pass ccp_jump to can_compare_p.
780         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
781         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
782         Call can_compare_p rather than cmp_available_p.
783         (prepare_operand): No longer static.
784         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
785         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
786         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
787         sequence to use emit_cmp_and_jump_insns.
788         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
790 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
792         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
793         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
794         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
795         (plus (reg) (const_int 0))
796         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
797         
798 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
800         * rs6000.c (expand_block_move): DImode loads and stores require
801         word-aligned displacements.  Increment address registers with
802         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
804 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
806         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
807         is no name for the base type, rather than segfault.  If we are
808         writing out a complex integer type, use DW_ATE_lo_user.
810         * expr.c (emit_move_insn_1): If we are copying a complex that fits
811         in one word or less (complex char, complex short, or on 64 bit
812         systems complex float) to/from a hard register, copy it through
813         memory instead of dying in gen_{real,imag}part.  If we have a
814         short complex type, prevent inlining since it allocates stack
815         memory.
817         * tree.c (build_complex_type): If we are writing dwarf2 output,
818         generate a name for complex integer types.
820 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
822         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
823         * flow.c (remove_edge): Remove extra whitespace.
824         (remove_fake_edges): Fix comment.
825         (add_noreturn_fake_exit_edges): Use the correct name.
827 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
829         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
830         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
831         (clean): Depend on INTL_CLEAN.
832         (maintainer-clean): Adjust.
834 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
836         * configure.in (AC_PREREQ): Bump to 2.13.
837         (AC_C_STRINGIZE): Call this instead of using a custom macro.
839         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
841         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
843         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
845         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
846         (HAVE_STRINGIZE): Define.
848 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
850         * c-parse.in: save and restore warn_pointer_arith on __extension__
851         along with pedantic.
852         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
853         Set the type of extension to itype rather than $<itype>1 kludge.
854         * extend.texi (Alternate Keywords): Adjust documentation.
855         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
857 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
859         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
860         most assembler templates.
862         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
863         FP loads and stores.
864         (following_call): Always return zero for the PA8000.
865         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
866         FP loads and stores.
867         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
869         * pa.h (BRANCH_COST): Define.
871         * pa.md (return, return_internal): Use bve for PA2.0.
873         * pa.md (fused multiply): Add variants which reduce height for the
874         fused multiply, but which still generate 2 insns.
875         (fnegabs): Similarly.
877         * pa.md (subsi3): Turn into an expander.  Create two anonymous
878         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
879         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
881         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
882         for TARGET_PA_20.
883         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
884         code generation.
885         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
886         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
888         * regclass.c (init_regs): Add "top_of_stack" as a garbage
889         collection root.
891         * flow.c (record_active_eh_regions): Terminate loop after finding
892         the last insn in the last basic block.
894 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
896         * config/c4x/c4x.md: Delete parallel instruction peepholes.
898 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
900         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
902 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
904         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
905         splitting to not use output template.
907 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
909         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
910         * config/c4x/c4x.c (c4x_va_start): New function.
912 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
914         * genrecog.c (not_both_true): Handle correctly cases when called for
915         tests with different positions in the insn.
917 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
919         * machmode.h (HOST_PTR_PRINTF): Move from here ...
921         * system.h (HOST_PTR_PRINTF): ... to here.
923         * mips-tfile.c: Don't include machmode.h.
925         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
926         (mips-tfile.o): Don't depend on machmode.h.
928 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
930         * haifa-sched.c (sched_analyze): Rename local variable `region' to
931         avoid conflicts with typedef struct `region' at the top level scope.
933 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
935         * basic-block.h (basic_block): Add eh_beg, eh_end.
936         * flow.c (entry_exit_blocks): Update.
937         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
938         Call new functions.
939         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
940         lists.c functions to allocate insn lists.
941         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
942         edge creation ...
943         (make_eh_edge): ... here.  New.
944         (move_stray_eh_region_notes): New.
945         (record_active_eh_regions): New.
946         (delete_unreachable_blocks): Split out block merging ...
947         (try_merge_blocks): ... here.  New.
948         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
949         Dump debugging data.
950         (merge_blocks_move_successor_nojumps): Likewise.
951         (merge_blocks): Use eh_beg+eh_end to validate block movement.
953 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
955         * extend.texi (Bound member functions): Document unbound pmf
956         conversion.
958 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
960         * flow.c (split_edge): Handle insertion on a fallthrough edge which
961         has the EXIT_BLOCK as a dest.
963 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
965         * flow.c (remove_edge): New function to remove an edge from the 
966         flow graph.
967         (remove_fake_successors): New function to remove fake successor edges.
968         (remove_fake_edges): New function to remove all fake edges from the
969         flow graph.
970         (add_fake_exit_edges): New function to add fake edges from all blocks
971         with no successors to the exit block.
972         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add 
973         prototypes for new functions.
975 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
977         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
978         Use Pmode to determine whether to output .dword or .word.
980 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
982         * tree.c (built_in_filename): New variable.
983         (BUILT_IN_FILENAME): New macro.
984         (init_tree_codes): Allocate built_in_filename.
985         (make_node): Use built_in_filename instead of string constant.
987 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
989         * configure.in: Add fr30 target.
990         * configure: Regenerate.
991         * config/fr30: New directory.
992         * config/fr30/crti.asm: New file.
993         * config/fr30/fr30.c: New file.
994         * config/fr30/crtn.asm: New file.
995         * config/fr30/fr30.h: New file.
996         * config/fr30/fr30.md: New file.
997         * config/fr30/lib1funcs.asm: New file.
998         * config/fr30/t-fr30: New file.
999         * config/fr30/xm-fr30.h: New file.
1001 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
1003         * flow.c (merge_blocks_move_successor_nojumps): Delete the
1004         BARRIER at the end of the successor, not the BARRIER before
1005         the successor.
1007         * pa.c (pa_add_gc_roots): Fix thinko in last change.
1009 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
1011         * stmt.c (any_pending_cleanups): Don't crash when 
1012         current_function->stmt is unset.
1014 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1016         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
1017         other initializations that may use it for relative offsets.
1019 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1021         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
1022         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
1023         * config/i386/sol2dbg.h: Removed.
1024         * config/i386/sol2gas.h: New file, to enable gas work-around.
1025         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
1026         Don't use sol2dbg.h.
1027         * configure: Rebuilt.
1029 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
1031         * invoke.texi (-fthis-is-variable): Remove documentation.
1033 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
1035         * basic-block.h (compute_bb_for_insn): Declare.
1036         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
1037         to use; set size of basic_block_for_insn directly.
1038         (find_basic_blocks): Update.
1040 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1042         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
1044 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1046         * crtstuff.c (ON_EXIT): Delete empty macro definition.
1047         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
1049 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
1051         * c-decl.c (c_decode_option): Extend comment.
1053 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
1055         * toplev.c (progname): Make 'const char *'
1056         (flag_print_mem): Move out of main.
1057         (version_flag): Move out of main.
1058         (filename): Move out of main.
1059         (debug_args): Remove g prefix from options.
1060         (documented_lang_options): Remove cpplib specific options.
1061         (display_help): Add g prefix to debug options.
1062         (check_lang_option): Delete this function.
1063         (decode_d_option): New function: Decode -d... option.
1064         (decode_f_option): New function: Decode -f... option.
1065         (decode_W_option): New function: Decode -W... option.
1066         (decode_g_option): New function: Decode -g... option.
1067         (independent_decode_option): New function: Decode a language
1068         independent command line option.
1069         (main): Invoke lang_decode_option and then
1070         independent_decode_option on each command line option in
1071         turn. 
1073 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
1075         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
1076          * fold-const.c (fold_range_test): Do not try to fold the range
1077          test if the rhs or lhs has side effects.
1079         * basic-block.h (compute_flow_dominators): Declare.
1081         * gcse.c (alloc_code_hoist_mem): New function.
1082         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
1083         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
1084         (hoist_code, one_code_hoisting_pass): Likewise.
1085         (gcse_main): If optimizing for size, then hoist expressions
1086         computed in multiple dominated basic blocks.
1088         * gcse.c (invalid_nonnull_info): New function.
1089         (delete_null_pointer_checks): Likewise.
1090         * rtl.h (delete_null_pointer_checks): Declare.
1091         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
1093         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
1094         (merge-blocks_move_successor_nojumps): Likewise.
1095         (merge_blocks): Allow merging of some blocks, even if it requires
1096         physical movement of the blocks, but not if it requires new jumps.
1098         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
1099         Callers and prototype changed.
1100         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
1102 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1104         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
1105         -YP when both -p and -pg are present.  From i386/sol2.h.
1107 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1109         * Makefile.in (distclean): Delete tm_p.h.
1110         * configure.in: Create a new file, "tm_p.h", from a list in
1111         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
1112         "i386/i386-protos.h".
1114         * alias.c: Include "tm_p.h".
1115         * c-typeck.c: Likewise.
1116         * calls.c: Likewise.
1117         * cse.c: Likewise.
1118         * emit-rtl.c: Likewise.
1119         * explow.c: Likewise.
1120         * expmed.c: Likewise.
1121         * expr.c: Likewise.
1122         * final.c: Likewise.
1123         * flow.c: Likewise.
1124         * fold-const.c: Likewise.
1125         * function.c: Likewise.
1126         * gcse.c: Likewise.
1127         * global.c: Likewise.
1128         * haifa-sched.c: Likewise.
1129         * integrate.c: Likewise.
1130         * jump.c: Likewise.
1131         * local-alloc.c: Likewise.
1132         * loop.c: Likewise.
1133         * optabs.c: Likewise.
1134         * recog.c: Likewise.
1135         * reg-stack.c: Likewise.
1136         * regclass.c: Likewise.
1137         * regmove.c: Likewise.
1138         * reload.c: Likewise.
1139         * reload1.c: Likewise.
1140         * reorg.c: Likewise.
1141         * resource.c: Likewise.
1142         * stmt.c: Likewise.
1143         * stor-layout.c: Likewise.
1144         * toplev.c: Likewise.
1145         * tree.c: Likewise.
1146         * unroll.c: Likewise.
1147         * genattrtab.c (main): Make generated file include "tm_p.h".
1148         * genemit.c (main): Likewise.
1149         * genoutput.c (main): Likewise.
1150         * genrecog.c (main): Likewise.
1152         * i386.h: Delete all prototypes.
1153         * i386.c: Include "tm_p.h".
1154         (ix86_attr_length_default): Call constant_call_address_operand
1155         with correct number of arguments.
1156         * i386-protos.h: New file.
1157         * i386.md (unnamed patterns): Call constant_call_address_operand
1158         with correct number of arguments.
1159         (exception_receiver): Call load_pic_register with correct number
1160         of arguments.
1162 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
1164         * c-pragma.c (mark_align_stack): Dereference the void* properly.
1166 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
1168         * rtl.h (insns_safe_to_move_p): New function.
1169         * loop.c (find_and_verify_loops): Use it.
1170         * rtlanal.c (insns_safe_to_move_p): Define it.
1172 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
1174         * c-pragma.c: Include ggc.h.
1175         * Makefile.in (c-pragma.o): Update.
1177 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1179         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
1180         (LIB_SPEC): Likewise.
1181         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
1182         Reindent -YP/-p/-pg.
1183         Copied from config/sparc/sol2.h.
1185 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
1187         * c-pragma.c (mark_align_stack): New.
1188         (init_pragma): New.
1189         * c-pragma.h (init_pragma): Declare it.
1190         * c-lex.c (init_parse): Call it.
1192 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1194         * configure.in: Pick up thread library on Solaris/x86 just
1195         like on Solaris/sparc.
1196         * configure: Rebuilt.
1198 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
1200         * rtl.h (global_rtx_index): New enum.
1201         (global_rtl): Change to array of rtx.
1202         (pc_rtx, cc0_rtx): Redefine accordingly.
1203         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
1204         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
1205         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
1206         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
1207         (const_int_rtx): Change to array of rtx.
1208         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
1209         accordingly. 
1210         * emit-rtl.c (global_rtl): Change to array of rtx.
1211         (const_int_rtx): Change to aray of rtx.
1212         (gen_rtx_CONST_INT): Redefine accordingly.
1213         (init_emit_once): Allocate and initialize global_rtl.  Likewise
1214         for const_int_rtx.  Add both as GC roots.
1215         * genattrtab.c (global_rtl): Update declaration.
1217 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
1219         * Makefile (USER_H): Add iso646.h back.
1221 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
1223         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
1224         zapping the LOG_LINKS of sched_before_next_call.
1226         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
1227         * pa.c (insn_refs_are_delayed): Renamed from
1228         insn_sets_and_refs_are_delayed.
1230 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
1232         * functiion.h (struct function): Add x_whole_function_mode_p.
1233         (retrofit_block): Declare.
1234         * function.c (retrofit_block): New function.
1235         (identify_blocks): Add assertions.  Allow an incomplete set of
1236         block notes if we're still generating code for the function.
1237         * integrate.c: Include loop.h.
1238         (expand_inline_function): Call find_loop_tree_blocks to map block
1239         notes to blocks when in whole-function mode.  Use retrofit_block
1240         to insert new BLOCKs for the inlined function, rather than
1241         insert_block.
1242         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
1243         * Makefile.in (integrate.o): Depend on loop.h.
1245 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
1247         * tree.h (warn_about_unused_variables): Declare.
1248         * stmt.c (warn_about_unused_variables): New function, split out
1249         from ...
1250         (expand_end_bindings): Here.
1252 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
1254         * stmt.c (preserve_subexpressions_p): Don't crash when
1255         current_function->stmt is unset.
1257 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
1259         * stmt.c (expand_start_bindings): Allow callers to pass a flag
1260         indicating that no NOTE_INSN_BLOCK_BEG note is required.
1261         (expand_start_target_temps): Use it.
1262         * except.c (expand_eh_region_start_for_decl): Likewise.
1263         * expr.c (expand_expr): Likewise.
1265 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
1267         * fold-const.c (operand_equal_p): Pay attention to side effects.
1269 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
1271         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
1272         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
1274         * tlink.c (scan_linker_output): Look for keywords before accepting
1275         a mangled name in quotes.
1277 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
1279         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
1280         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
1282 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
1284         * alpha.md: Revert Thu Nov 26 change that came in through the
1285         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
1286         Avoid earlyclobber when possible.
1288 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1290         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
1292         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
1293         Define HAVE_ON_EXIT.
1295 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1297         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
1298         CTYPE_CONV in all ctype macros.
1300         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
1301         from system.h.
1303         * cexp.y (initialize_random_junk): Likewise.
1305         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
1307         * i370.c (handle_pragma): Likewise.
1309         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
1311         * v850.c (override_options): Likewise.
1313         * doprint.c (_doprnt): Likewise.
1315         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
1316         Likewise.
1318         * fixinc/server.c (load_data): Likewise.
1320         * fold-const.c (real_hex_to_f): Likewise.
1322         * genattr.c (write_upcase, gen_attr): Likewise.
1324         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
1325         write_upcase): Likewise.
1327         * genemit.c (print_code): Likewise.
1329         * genopinit.c (gen_insn): Likewise.
1331         * genpeep.c (print_code): Likewise.
1333         * genrecog.c (print_code): Likewise.
1335         * optabs.c (init_libfuncs): Likewise.
1337 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
1339         * haifa-sched.c (sched_analyze): Keep the list of notes organized
1340         in pairs.
1341         (reemit_notes): Likewise.
1343 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
1345         * ggc.h (ggc_root): Move to ggc-common.c.
1346         (roots): Remove.
1347         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
1348         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
1349         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
1350         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
1351         * ggc-common.c (ggc_root): Move from ggc.h.
1352         (roots): Declare, static.
1353         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
1354         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
1355         null or check/set mark bit.
1356         (ggc_mark_roots): New.
1357         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
1359 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
1361         * m32r.c: Include toplev.h.
1362         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
1363         (gen_compare): Rename swap_p to must_swap to match uses.
1364         Add default abort case.
1365         (m32r_output_function_epilogue): Remove unused variables.
1366         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
1367         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
1368         define to empty parameter list.  Update all uses.
1369         (predicate decls): Use enum machine_mode not int.
1370         * m32r.md (movsi): Call abort, not fatal_insn.
1371         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
1373 1999-09-14  Andrew Haley  <aph@cygnus.com>
1375         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
1376         use $0 instead of 0.
1378 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1380         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
1381         computation out of loop over hard regs.
1383 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
1385         * function.c (identify_blocks): Don't shadow a variable in an 
1386         outer scope.
1387         * integrate.c (integrate_decl_tree): Don't use pushlevel,
1388         pushdecl, or poplevel to build up the new BLOCK tree.
1389         (expand_inline_function): Likewise.
1390         (integrate_parm_decls): Likewise.
1392 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
1394         * c-typeck.c (qualify_type): Merge qualifiers from both types.
1396 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
1398         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
1399         * invoke.texi: Document this change.
1401 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
1403         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
1404         Free the struct.
1405         (mark_emit_status): Renamed from mark_emit_state.
1406         * except.c (mark_eh_status): Renamed from mark_eh_state.
1407         Check not null before marking.
1408         (free_eh_status): New.
1409         * expr.c (mark_expr_status, free_expr_status): New.
1410         * function.c (free_machine_status): New.
1411         (free_after_parsing): New.
1412         (free_after_compilation): Move bits to free_after_parsing; call
1413         free_eh_status, free_expr_status; zero the marked members of the
1414         function state.
1415         (prepare_function_start): No can_garbage_collect. 
1416         Call init_eh_for_function.
1417         (expand_dummy_function_end): Free up current_function state.
1418         (mark_function_status): Renamed from mark_function_state.
1419         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
1420         * function.h (struct function): No can_garbage_collect.
1421         (free_machine_status, free_after_parsing): Declare.
1422         (free_eh_status, free_expr_status): Declare.
1423         * ggc.h (mark_expr_status): Declare.
1424         * stmt.c (free_stmt_status): Free the struct.
1425         (mark_stmt_status): Renamed from mark_stmt_state.
1426         (init_stmt): Don't call init_eh.
1427         (init_stmt_for_function): Don't call init_eh_for_function.
1428         * toplev.c (compile_file): Call init_eh.
1429         (rest_of_compilation): Free basic block info before ggc_collect.
1430         Call free_after_parsing; conditionally call free_after_compilation.
1431         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
1432         Check not null before marking.
1433         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
1435 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
1437         * c-lex.c (yylex): Initialize warn.
1439 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
1441         * pa.c (emit_move_sequence): Properly set the mode of the scratch
1442         register when performing secondary reloads for the SAR register.
1444 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
1446         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
1447         (NOTE_BLOCK): New macro.
1448         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
1449         * function.h (identify_blocks): Change prototype.
1450         * function.c (identify_blocks): Simplify.
1451         (reorder_blocks): Likewise.
1452         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a 
1453         NOTE_INSN_BLOCK_{BEG,END}.
1454         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
1455         the list of saved notes if the note isn't a
1456         NOTE_INSN_BLOCK_{BEG,END}.
1457         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
1458         NOTE_BLOCK_NUMBER.
1459         (reemit_notes): Adjust recreation of notes to reflect new saved
1460         note structure.
1461         * print-rtl.c (print_rtx): Print the address of the BLOCK when
1462         printing a block note.
1463         * stmt.c (block_vector): Remove.
1464         (find_loop_tree_blocks): Simplify.
1465         (unroll_block_trees): Likewise.
1466         * tree.h (reorder_block): Change prototype.
1467         
1468 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
1470         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
1471         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
1472         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
1473         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
1474         (atexit, exit): Simplify.
1475         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
1476         * config/lots: Remove defns of HAVE_ATEXIT.
1478 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
1480         * calls.c (precompute_arguments): Fix typo in comment.
1481         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
1482         TARGET_EXPR.
1484 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
1486         * dsp16xx.c (override_options): Fix typos in GC root registration.
1488 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
1490         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
1491         from config/svr4.h.
1492         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
1493         (FUNCTION_PROFILER): Redefine appropriately for Linux.
1494         (CC1_SPEC): Likewise.
1496 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1498         * genattr.c (main): Add extern prototype.  Call return, not exit.
1499         * genattrtab.c (main): Likewise.
1500         * gencheck.c (main): Likewise.
1501         * gencodes.c (main): Likewise.
1502         * genconfig.c (main): Likewise.
1503         * genemit.c (main): Likewise.
1504         * genextract.c (main): Likewise.
1505         * genflags.c (main): Likewise.
1506         * gengenrtl.c (main): Likewise.
1507         * genopinit.c (main): Likewise.
1508         * genoutput.c (main): Likewise.
1509         * genpeep.c (main): Likewise.
1510         * genrecog.c (main): Likewise.
1511         
1512         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
1513         * genattrtab.c (get_insn_name): Likewise.
1514         * gencodes.c (get_insn_name): Likewise.
1515         * genconfig.c (get_insn_name): Likewise.
1516         * genemit.c (get_insn_name): Likewise.
1517         * genextract.c (get_insn_name): Likewise.
1518         * genflags.c (get_insn_name): Likewise.
1519         * genopinit.c (get_insn_name): Likewise.
1520         * genpeep.c (get_insn_name): Likewise.
1521         
1522         * gencheck.c (usage): Add static prototype.
1523         * genextract.c (print_path): Constify a char*.
1524         * genopinit.c (optabs): Likewise.
1525         * genoutput.c (operand_data, data, output_predicate_decls,
1526         compare_operands): Likewise.
1527         * genrecog.c (write_tree): Add default case in switch.
1529 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1531         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
1533         * print-rtl.c (get_insn_name): Remove prototype.
1535         * toplev.h (progname): Declare const.
1537         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
1538         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
1539         dump_sched_info, dump_local_alloc, regset_release_memory,
1540         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
1541         error_with_file_and_line, error_with_decl, error_for_asm, error,
1542         fatal, warning_with_file_and_line, warning_with_decl, warning,
1543         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
1544         Remove redundant prototypes.
1546         (notice, check_lang_option, report_file_and_line, vnotice,
1547         mark_file_stack): Add static prototype.
1548         (set_fatal_function): Add prototype.
1549         (vnotice, report_file_and_line, set_fatal_function,
1550         check_lang_option): Constify a char*.
1551         (main): Prototype.  Call return, not exit.
1553 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1555         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
1557         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
1559         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
1561         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
1563 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1565         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
1566         behave as if it's zero in all cases.
1567         (expand_function_start): Adjust call to assign_parms.
1568         * tree.h (assign_parms): Adjust prototype.
1569         * objc/objc-act.c (hack_method_prototype): Adjust call to
1570         assign_parms.
1572 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
1574         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
1575         arg_pointer_rtx fixed if the argument pointer register is
1576         not fixed.
1577         (NONZERO_BASE_PLUS_P): Likewise.
1579 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
1581         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
1582         match_insn2 to match_insn.
1583         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
1585 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
1587         * Makefile.in (USER_H): Remove va-foo.h.
1589         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
1590         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
1591         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
1592         va-spur.h,va-v850.h}: Remove.
1594 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
1596         * sparc/sparc.md (eligible_for_return_delay): New attribute.
1597         (in_return_delay): Use it instead of match_insn.
1599 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1601         * config/alpha/va_list.h (va-alpha.h): Do not include.
1602         (__gnuc_va_list): Typedef as in varargs.h.
1604 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
1606         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
1607         DECL_LIVE_RANGE_RTL.
1609 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
1611         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
1612         not NOTE_BLOCK_NUMBER.
1613         (expand_eh_region_end): Likewise.
1614         (find_exception_handler_labels): Likewise.
1615         (scan_region): Likewise.
1616         (exception_optimize): Likewise.
1617         (update_rethrow_references): Likewise.
1618         (set_insn_eh_region): Likewise.
1619         * final.c (final_scan_insn): Likewise.
1620         * flow.c (make_edges): Likewise.
1621         * integrate.c (expand_inline_function): Likewise.
1622         * print-rtl.c (print_rtx): Likewise.
1624 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
1626         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
1627         terms of builtin functions and types.
1629         * mips.c (mips_build_va_list): New.
1630         (mips_va_start, mips_va_arg): New.
1631         * mips.h (BUILD_VA_LIST_TYPE): New.
1632         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
1634         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
1635         (sh_build_va_list, sh_va_start, sh_va_arg): New.
1636         * sh.h (BUILD_VA_LIST_TYPE): New.
1637         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
1639 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
1641         * recog.h (struct recog_data): Make dup_num, operand_address_p,
1642         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
1643         (struct insn_data): Likewise with n_operands, n_dups, 
1644         n_alternatives, output_format.
1645         * regclass.c (scan_one_insn): Cast n_operands to int before
1646         arithmetic inside comparison.
1648 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
1650         * toplev.c (compile_function): Unconditionally emit nop.
1652 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1654         * haifa-sched.c (actual_hazard): Move declaration of variable
1655         `this_cost' into the scope where it is used.
1657 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1659         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
1660         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
1661         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
1663         * genrecog.c (make_insn_sequence): Call memset, not bzero.
1665         * jump.c (find_insert_position): Don't declare or define unless
1666         !HAVE_conditional_arithmetic.
1667         (returnjump_p_1, delete_prior_computation): Add static prototypes.
1669         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
1670         
1671         * recog.c (offsettable_address_p): Prototype function pointer.
1672         (preprocess_constraints): Call memset, not bzero.
1673         
1674         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
1675         (gcc_obstack_init): Don't declare.
1676         (fix_sizetype): Add static prototype.
1677         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
1678         (tree_cons): Call memset, not bzero.
1680         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
1681         definition in macro ASM_WEAKEN_LABEL.
1682         (mark_const_hash_entry): Add static prototype.
1684 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1686         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
1688         * unroll.c (find_common_reg_term, subtract_reg_term,
1689         loop_find_equiv_value): Add static prototypes.
1690         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
1691         (copy_loop_body): Remove unreachable break statement.
1692         
1693         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
1695         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
1696         
1697 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1699         Undo some changes from the gcc2 merge:
1700         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
1701         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
1702         pointers.
1704         Undo this change:
1705         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
1706         * emit-rtl.c (gen_lowpart_common): Disable optimization of
1707         initialized float-int union if the value is a NaN.
1709 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
1711         * gthr-win32.h: New file.
1713         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
1714         shared as a valid attribute.
1715         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
1716         * extend.texi: Document `shared' variable attribute.
1718 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
1720         * configure.in: Handle --enable-threads on FreeBSD.
1721         * configure: Rebuit.
1723 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1725         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add 
1726         thread support.
1727         * configure: Rebuilt.
1729 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
1730                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
1731                           Rosimildo DaSilva <rdasilva@connecttel.com>
1733         * configure.in (m68k-*-rtemscoff*): Added.
1734         * configure.in (mips64orion-*-rtems*): Converted to ELF.
1735         * configure.in (sparc-*-rtemsaout*): Added as alias for old
1736         sparc-rtems configuration.
1737         * configure.in (sparc-*-rtemself*): Added.
1738         * configure.in (sparc-*-rtems*): Now ELF not a.out.
1739         * config/i386/rtems.h: Added comment.
1740         * config/sparc/rtemself.h: New file.
1742         * configure.in (m68k-rtemself): Added.
1743         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
1744         and DWARF_DEBUGGING_INFO.
1745         * config/m68k/crti.s: New file.
1746         * config/m68k/crtn.s: New file.
1747         * config/m68k/t-crtstuff: New file.
1748         * config/m68k/rtemself.h: New file.
1750         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
1751         global ctor/dtor and C++ exception handling.
1752         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
1753         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
1754         ENDFILE_SPEC.
1755         * config/i386/t-rtems-i386: New File.
1757 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
1759         * stmt.c (expand_end_case): Return right away if the case stack is
1760         empty.
1762 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
1764         * Makefile.in (version.c): Remove rule incorrectly brought in from
1765         the gcc2 merge.
1767 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
1769         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
1770         * msdos/top.sed:  Take into account a prepended $(SHELL) to
1771         move-if-change.
1772         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
1774         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
1776 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1778         * regmove.c (fixup_match_1): Don't change an unchanging register.
1779         (stable_but_for_p): Renamed to:
1780         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
1781         Changed all callers.
1783 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
1785         * loop.c (strength_reduce): Don't call reg_used_between_p if the
1786         insn from BL2 is after the insn from BL.
1788 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
1790         * recog.h (INSN_OUTPUT_FORMAT_*): New.
1791         (struct insn_data): Merge `template' and `outfun' into `output'.
1792         Add `output_format'.
1793         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
1794         (struct data): Remove `outfun'; add `output_format'.
1795         (name_for_index): Remove declaration.
1796         (output_insn_data): Handle output formats.
1797         (process_template): Emit the bare array for @.
1798         (gen_expand, gen_split): Set output_format to NONE.
1799         * output.h (get_insn_template): Declare.
1800         * final.c (get_insn_template): New.
1801         (final_scan_insn): Use it.
1802         * toplev.c (compile_file): Likewise.
1804         * c4x/c4x.c (c4x_process_after_reload): Likewise.
1805         * i860/i860.c (output_delayed_branch): Likewise.
1806         (output_delay_insn): Likewise.
1808 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1810         * rtl.c (obstack_alloc_rtx): Removed.
1812 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
1814         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
1816 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
1818         * i386.c (call_insn_operand): Reject const_int.
1819         (expander_call_insn_operand): Use call_insn_operand.
1821 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1823         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
1825 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
1827         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
1828         Use DImode operation.
1830 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
1832         * gcc.c: Include sys/resource.h.
1833         (report_times): New flag.
1834         (execute):  If report_times is set, calculate and report the
1835         CPU time consumed by each subprocess.
1837         (rus, prus): New globals.
1838         (option_map): Add --time.
1839         (display_help): Document -time.
1840         (process_command): Set report_times if -time is given.
1841         Turn off -pipe if -time is given.
1843         * invoke.texi: Document new option -time.
1845         * configure.in: Check for getrusage.  Check if we have to
1846         prototype getrusage.
1847         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
1848         * configure: Regenerate.
1849         * config.in: Regenerate.
1851 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
1853         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
1854         fields.
1856 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
1858         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
1859         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
1860         (nan): Return _thenan_sf or _thenan_df as appropriate.
1861         (L_thenan_sf): Define _thenan_sf.
1862         (L_thenan_df): Define _thenan_df.
1864         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
1865         (DPBIT_FUNCS): Add _thenan_df.
1867 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
1869         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
1870         TYPE_SIZE_UNIT.
1872 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1874         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
1876         * gcc.h: New file.
1877         (lang_specific_driver): Don't take a function pointer parameter.
1878         All callers changed.
1880         * gcc.c: Include gcc.h.
1881         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
1882         lang_specific_extra_outfiles, fatal): Don't declare.
1883         (multilib_defaults_raw): Constify.
1884         (read_specs): Call memset, rather than bzero.
1885         (main): Call return, not exit.
1886         (lookup_compiler): Call memcpy, not bcopy.
1887         (fatal): Make extern.
1889         * cppspec.c: Include gcc.h.
1890         (lang_specific_driver): Initialize variable `quote'.  Constify a
1891         char*.  All calls to the function pointer parameter now
1892         explicitly call `fatal'.
1894         * gccspec.c (lang_specific_driver): Include gcc.h.
1896 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
1898         * arm.c (note_invalid_constants): Use recog_data.operand_type
1899         for recog_op_type.
1901 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1903         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
1904         Declare.
1906         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
1907         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
1908         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
1909         reload_secondary_in_reload, reload_secondary_out_reload,
1910         reload_secondary_in_icode, reload_secondary_out_icode,
1911         reload_reg_rtx, reload_when_needed): Delete declarations.
1912         (struct reload): New structure.
1913         (rld): Declare new array.
1914         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
1915         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
1916         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
1917         reload_secondary_in_reload, reload_secondary_out_reload,
1918         reload_secondary_in_icode, reload_secondary_out_icode,
1919         reload_reg_rtx, reload_when_needed): Delete definitions.
1920         (rld): New array.
1921         (whole file): Replace uses of the deleted arrays with uses of rld.
1922         * reload1.c (whole file): Replace uses of the deleted arrays with
1923         uses of rld.
1924         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
1925         explicit loops, not with bcopy.
1927 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
1929         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
1930         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
1931         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
1932         insn_name): Delete and consolidate into new structures.
1933         (insn_operand_predicate_fn): New.
1934         (insn_output_fn): New.
1935         (insn_gen_fn): New.
1936         (struct insn_operand_data): New.
1937         (struct insn_data): New.
1938         (insn_data): New.
1939         (OUT_FCN): Update for insn_data change.
1940         * builtins.c (expand_builtin_strlen): Likewise.
1941         (expand_builtin_memcmp): Likewise.
1942         * combine.c (make_extraction, simplify_comparison): Likewise.
1943         * cse.c (canon_reg, cse_insn): Likewise.
1944         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
1945         * expmed.c (store_bit_field, extract_bit_field): Likewise.
1946         (emit_store_flag): Likewise.
1947         * expr.c (convert_move, emit_block_move): Likewise.
1948         (clear_storage, emit_push_insn, expand_increment): Likewise.
1949         (do_store_flag): Likewise.
1950         * expr.h (GEN_FCN): Likewise.
1951         (insn_gen_function): Die.
1952         * final.c (final_scan_insn): Update for insn_data change.
1953         (output_asm_name): Likewise.
1954         * function.c (fixup_var_refs_1): Likewise.
1955         * loop.c (check_dbra_loop): Likewise.
1956         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
1957         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
1958         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
1959         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
1960         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
1961         * regmove.c (gen_add3_insn): Likewise.
1962         * reload.c (push_secondary_reload, combine_reloads): Likewise.
1963         (find_reloads, find_reloads_address_1): Likewise.
1964         (debug_reload_to_stream): Likewise.
1965         * reload1.c (emit_reload_insns, gen_reload): Likewise.
1966         * stmt.c (expand_end_case): Likewise.
1967         * toplev.c (compile_file): Likewise.
1969         * c4x/c4x.c (c4x_process_after_reload): Likewise.
1970         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
1972         * print-rtl.c (insn_name_ptr): Remove declaration.
1973         (get_insn_name): Declare.
1974         (print_rtx): Use it.
1975         * genoutput.c (insn_name_ptr): Remove.
1976         (next_operand_number): New.
1977         (struct operand_data): New.
1978         (null_operand, odata, odata_end): New.
1979         (struct data): Use struct operand_data.
1980         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
1981         (get_insn_name): Renamed from name_for_index.
1982         (output_prologue): Define NO_MD_PROTOTYPES.
1983         (output_predicate_decls): Break out from output_epilogue.
1984         Iterate over the operands list.
1985         (output_operand_data): Break out from output_epilogue.  Emit
1986         just the operands list.
1987         (output_insn_data): Break out from output_epilogue.  Emit just
1988         the insn data.
1989         (output_epilogue): Remove.
1990         (output_get_insn_name): New.
1991         (constraints, op_n_alternatives, predicates, address_p): Die.
1992         (modes, strict_low, seen): Die.
1993         (scan_operands): Take new param `d' instead of writing to 
1994         seven global variables.
1995         (compare_operands): New.
1996         (place_operands): New.
1997         (validate_insn_alternatives): Update for struct data change.
1998         (gen_insn): Don't zero or copy 7 global arrays.  Update for
1999         scan_operands; call place_operands.
2000         (gen_peephole, gen_expand, gen_split): Likewise.
2001         (main): Update for new output routines.
2003         * genattr.c (insn_name_ptr): Remove.
2004         (get_insn_name): New function.
2005         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
2006         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
2007         * genrecog.c: Likewise.
2009         * alpha.md (adddi3): Make `pattern' array static.
2011 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2013         * config/c4x/c4x.h (c4x_rpts_cycles_string,
2014         c4x_cpu_version_string): Constify char *.
2015         * config/c4x/c4x.c (c4x_rpts_cycles_string,
2016         c4x_cpu_version_string): Likewise.
2018 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
2020         * tree.c (save_tree_status): Revert 10 Sep change.
2021         (restore_tree_status): Likewise.  Call obstack_free with NULL 
2022         before freeing the obstack proper.
2024 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
2026         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
2028         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
2029         surrounding context.
2031 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
2033         * tree.c (type_hash_canon): Put all types in the hash-table, when
2034         GC'ing.
2036 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
2038         * recog.h (struct recog_data, recog_data): New.
2039         (recog_foo variables): Kill.
2040         * recog.c (recog_operand, recog_operand_loc): Kill.
2041         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
2042         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
2043         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
2044         (recog_data): Define.
2045         (extract_insn): Update all recog_foo references to use recog_data.
2046         (preprocess_constraints, constrain_operands): Likewise.
2047         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
2048         * genattrtab.c (main): Likewise.
2049         * genextract.c (main): Likewise.
2050         * genoutput.c: Likewise.
2051         * genrecog.c (write_subroutine, main): Likewise.
2052         * local-alloc.c (block_alloc): Likewise.
2053         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
2054         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
2055         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
2056         * reload.c (find_reloads, find_reloads_toplev): Likewise.
2057         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
2058         (reload_cse_simplify_operands): Likewise.
2060         * arc/arc.c (arc_final_prescan_insn): Likewise.
2061         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
2062         * h8300/h8300.c (notice_update_cc): Likewise.
2063         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
2064         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
2065         * mn10200/mn10200.c (notice_update_cc): Likewise.
2066         * mn10300/mn10300.c (notice_update_cc): Likewise.
2067         * romp/romp.c (update_cc): Likewise.
2068         * sparc/sparc.c (check_pic): Likewise.
2069         * v850/v850.c (notice_update_cc): Likewise.
2071         * genemit.c (main): Don't declare recog_operand.
2073 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
2075         * ggc.h (rtvec_def): Forward declare.
2076         (tree_node): Likewise.
2077         (ggc_root): Define.
2078         (roots): Declare.
2079         (ggc_set_mark_rtx): Add prototype.
2080         (ggc_set_mark_rtvec): Likewise.
2081         (ggc_set_mark_tree): Likewise.
2082         * ggc-simple.c (ggc_root): Don't define.
2083         (roots): Don't declare.
2084         (ggc_mark_rtx): Remove.
2085         (ggc_mark_rtvec): Likewise.
2086         (ggc_mark_tree): Likewise.
2087         (ggc_mark_varray): Likewise.
2088         (ggc_mark_tree_hash_table_entry): Likewise.
2089         (ggc_mark_tree_hash_table): Likewise.
2090         (ggc_set_mart_rtx): New function.
2091         (ggc_set_mark_rtvec): Likewise.
2092         (ggc_set_mark_tree): Likewise.
2093         (ggc_add_root): Remove.
2094         (ggc_add_rtx_root): Likewise.
2095         (ggc_remove_tree_root): Likewise.
2096         (ggc_add_string_root): Likewise.
2097         (ggc_add_tree_varray_root): Likewise.
2098         (ggc_add_tree_hash_table_root): Likewise.
2099         (ggc_del_root): Likewise.
2100         (ggc_mark_rtx_ptr): Likewise.
2101         (ggc_mark_tree_ptr): Likewise.
2102         (ggc_mark_string_ptr): Likewise.
2103         (ggc_mark_tree_varray_ptr): Likewise.
2104         (ggc_mark_tree_hash_table_ptr): Likewise.
2105         * ggc-common.c: New file.
2106         * Makefile.in (OBJS): Add ggc-common.o.
2107         (ggc-common.o): List dependencies.
2109 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
2111         * cppalloc.c (xstrdup): Use memcpy.
2112         * cpperror.c (cpp_print_containing_files): Don't use
2113         cpp_notice.
2114         * cpplib.c (conditional_skip): Set temp->lineno.
2115         (do_endif): Make error message less obscure.
2116         (if_directive_name): New function.
2117         (cpp_get_token [case EOF]): Unwind the if stack and generate
2118         error messages for each unterminated conditional in this file.
2119         (parse_string):  Do not behave differently if -traditional.
2121 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
2123         * builtins.c (expand_builtin_va_arg): Cope with an array-type
2124         va_list decomposing to pointer-type.
2125         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
2126         (rs6000_va_arg): Likewise.
2128 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
2130         * except.c (start_dynamic_handler): Compute size using
2131         STACK_SAVEAREA_MODE.
2133 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2135         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
2136         include directory headers.  Don't define strrchr.  Don't provide
2137         my_* replacement functions.  Prefer PTR over `pointer_type'.
2138         Don't prototype system functions.  Don't redefine getopt.
2140         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
2141         safe_read, safe_write, save_pointers, restore_pointers,
2142         is_id_char, in_system_include_dir, directory_specified_p,
2143         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
2144         find_corresponding_lparen, referenced_file_is_newer,
2145         save_def_or_dec, munge_compile_params, gen_aux_info_file,
2146         process_aux_info_file, identify_lineno, check_source,
2147         seek_to_line, forward_to_next_token_char, output_bytes,
2148         output_string, output_up_to, other_variable_style_function,
2149         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
2150         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
2151         find_static_definition, connect_defs_and_decs, add_local_decl,
2152         add_global_decls, needs_to_be_converted, visit_each_hash_node,
2153         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
2154         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
2155         scan_for_missed_items, edit_file, string_list_cons): Add static
2156         prototypes.
2157         (standard_exec_prefix, target_machine, target_version,
2158         default_syscalls_dir, string_list, string_list_cons, find_file,
2159         do_cleaning): Constify a char*.
2160         (safe_read, safe_write): Use PTR, not a char*.
2161         (is_id_char): Take an int, not a char.
2162         (main): Add prototype.  Call return, not exit.
2164 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
2166         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
2167         when comparing types.
2169 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
2171         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
2172         (strength_reduce): Release the varrays from the no-bivs early exit.
2174         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
2175         the loop over the registers.
2177         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
2178         for a new obstack.
2179         (restore_tree_status): Check that instead when freeing the obstack.
2181 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
2183         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
2184         as pointers.
2186 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2188         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
2189         operand size modifiers.
2191 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2193         * c-common.c (c_common_nodes_and_builtins): Don't build
2194         va_list_type_node.
2195         * c-common.h (enum c_tree_index and related accesor macros): Remove
2196         everything now declared in tree.h.
2197         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
2198         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
2199         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
2200         (error_mark_node, void_type_node, char_type_node, integer_type_node,
2201         unsigned_type_node, ptr_type_node, va_list_type_node,
2202         integer_zero_node, null_pointer_node, integer_one_node): Delete.
2203         (init_decl_processing): Call build_common_tree_nodes and
2204         build_common_tree_nodes_2 instead of building their nodes here.
2205         Don't add roots for these nodes.
2206         * stor-layout.c (size_zero_node, size_one_node): Delete.
2207         (set_sizetype): Make a new node for bitsizetype each time.
2208         * tree.c (global_trees): New variable.
2209         (init_obstacks): Add a gc root for it.
2210         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
2211         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
2212         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
2213         (build_common_tree_nodes): New function.
2214         (fix_sizetype): New function.
2215         (build_common_tree_nodes_2): New function.
2216         * tree.h (enum tree_index): New.
2217         (global_trees): Declare.
2218         Add accessor macros for all nodes now moved to global_trees.
2219         Delete their declarations.
2221 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
2223         * c-decl.c (finish_function): When processing a nested function,
2224         push and pop GC context around rest_of_compilation.
2226 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
2228         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
2229         Default ix86_arch to PROCESSOR_I386.
2230         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
2231         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
2232         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
2233         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
2234         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
2235         (EXTRA_SPECS): Remove deleted specs.
2237 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
2239         * function.c (assign_stack_local_1): Allocate from
2240         function->x_frame_offset, not frame_offset.
2242 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
2244         * ggc.h (lang_cleanup_tree): Remove.
2245         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
2246         * ggc-callbacks.c (lang_cleanup_tree): Remove.
2248         * c-decl.c (finish_struct): Use ggc_alloc to allocate
2249         TYPE_LANG_SPECIFIC when garbage collecting.
2250         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
2251         (lang_cleanup_tree): Remove.
2253 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
2255         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
2256         * crtstuff.c: Not here.
2257         * dwarf2out.c: Or here.
2258         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
2259         info.
2261 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
2263         * function.h (free_after_compilation): Remove decl parameter.
2264         (free_varasm_status0: Likewise.
2265         (free_emit_status): Likewise.
2266         (free_stmt_status): Likewise.
2267         (free_after_compilation): Likewise.
2268         (init_lang_status): New variable.
2269         (free_lang_status): Likewise.
2270         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
2271         * function.c (init_lang_status): New variable.
2272         (free_lang_status): Likewise.
2273         (push_function_context_to): Don't set function::decl here.
2274         (free_after_copmilation): Make decl parameter implicit.  Call
2275         free_lang_status if defined.
2276         (prepare_function_start): Call init_lang_status if defined.
2277         (init_function_start): Set function::decl here.
2278         * profile.c (output_func_start_profiler): Don't call pushdecl
2279         until we've actually started the function.
2280         * stmt.c (free_stmt_status): Make decl parameter implicit.
2281         * toplev.c (rest_of_compilation): Don't pass decl to
2282         free_after_compilation.
2283         * varasm.c (free_varasm_status): Likewise.
2285 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2287         * except.c (call_get_eh_context): Add root when allocating static
2288         tree variable.
2290 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
2292         * arm.c: Include "ggc.h".
2293         (arm_add_gc_roots): New function.
2294         (arm_override_options): Call it.
2295         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
2297         * arm.md (define_asm_attributes): Add a pool_range attribute.
2299 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
2301         * extend.texi (Volatiles): New node.
2303 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
2305         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
2306         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
2307         (struct ggc_any): Replace `mark' with `magic_mark'.
2308         (ggc_alloc_string): Use memcpy, not bcopy.
2309         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
2310         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
2311         (ggc_free_any): New.
2312         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
2313         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
2314         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
2315         Use IS_MARKED. Use ggc_free_any.
2317 1999-09-09  Scott Bambrough <scottb@netwinder.org>
2319         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
2321 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
2323         * toplev.c (main): Always init_ggc.
2325 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
2327         * except.c (find_all_handler_type_matches): Free the list if
2328         we found no matches.
2330         * combine.c (SUBST): Break out to a real function do_SUBST.
2331         (SUBST_INT): Likewise.
2332         * gcse.c (free_pre_mem): Free `temp_bitmap'.
2333         (pre_insert): Free `inserted'.
2334         * loop.c (basic_induction_var): Always set `location'.
2336         * function.c (expand_function_end): Add initial_trampoline as a root.
2337         * rtl.h (init_varasm_once): Declare.
2338         * toplev.c (compile_file): Call it.
2339         * ggc-simple.c (ggc_mark_string_ptr): New.
2340         (ggc_add_string_root): New.
2341         (ggc_collect): Disable collection avoidance temporarily.
2342         * ggc.h (ggc_add_string_root): Declare.
2343         * except.c (create_rethrow_ref): Use ggc_alloc_string.
2344         * optabs.c (init_libfuncs): Likewise.
2345         * varasm.c (named_section): Use ggc_alloc_string.
2346         (make_function_rtl): Likewise.
2347         (make_decl_rtl): Likewise.
2348         (assemble_static_space): Likewise.
2349         (assemble_trampoline_template): Likewise.
2350         (output_constant_def): Likewise.
2351         (force_const_mem): Likewise.
2352         (mark_const_hash_entry): New.
2353         (mark_pool_sym_hash_table): New.
2354         (mark_varasm_state): Use it.
2355         (init_varasm_once): New.
2357         * expr.h (init_one_libfunc): Declare.
2358         * optabs.c (init_one_libfunc): New.
2359         (init_optabs): Use it.
2360         * config/gofast.h: Likewise.
2361         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
2362         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
2364 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
2366         * Makefile.in (cppexp.o): Depend on cpphash.h.
2367         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
2368         Include cpphash.h.
2369         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
2370         * cpplib.c (do_define): Generalise to handle poisoned definitions,
2371         redefining poisoned identifiers, etc.
2372         (do_undef): Don't allow poisoned identifiers to be undefined.
2373         (do_pragma): Add #pragma poison.
2374         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
2376         * cccp.c: Add T_POISON node type.
2377         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
2378         poisoned xxx.
2379         (do_define): Generalise to handle poisoned definitions,
2380         redefining poisoned identifiers, etc.
2381         (do_undef): Don't allow poisoned identifiers to be undefined.
2382         (do_pragma): Add #pragma poison.
2383         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
2385         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
2386         * c-pragma.h: Add ps_poison state.  We now always have generic
2387         pragmas.
2389 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
2391         * ggc.h (ggc_alloc): New function.
2392         (ggc_mark): Likewise.
2393         * ggc-simple.c (ggc_any): New structure.
2394         (ggc_status): Add anys.
2395         (n_anys_collected): New variable.
2396         (ggc_alloc): Define.
2397         (ggc_mark): Likewise.
2398         (ggc_collect): Collect the anys.
2400 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2402         * c-decl.c (mark_binding_level): Make static to match prototype.
2404 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
2406         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
2408 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
2410         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
2411         will use into account.  Expand the max width to 5.
2412         * rtl.c: Likewise.
2414 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
2416         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
2417         for the rtx length.
2419 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
2421         * alpha.md (call value patterns): Remove the result predicates.
2423 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
2425         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
2426         last change.
2428 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2430         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
2431         changed from extern char *, to extern PTR.  Also fix typo in
2432         NEED_DECLARATION_REALLOC test.
2434         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
2436 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2438         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
2439         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
2440         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
2441         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
2443         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
2445         * cccp.c (pcfinclude): Likewise.
2447         * global.c (allocno_compare): Likewise.
2449         * haifa-sched.c (rank_for_schedule): Likewise.
2451         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
2453         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
2455         * stupid.c (stupid_reg_compare): Likewise.
2457         * tree.c (_obstack_allocated_p): Likewise.
2459         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
2461 1999-09-08  Bruce Korb  autogen@linuxbox.com
2463         * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
2464         why "gperf -F" fails.
2465         * gcc/cp/Makefile.in: ditto
2466         * gcc/Makefile.in: ditto
2467         * gcc/java/Makefile.in: ditto
2469 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
2471         * lists.c: Include ggc.h.
2472         (zap_lists): New.
2473         (init_EXPR_INSN_LIST_cache): Install it.
2475         * ggc-simple.c (init_ggc): Absorb the old init.
2476         (ggc_push_context): Use xcalloc.
2477         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
2478         (ggc_collect): Add [rvts] tags to the collection stats.
2480 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
2482         * cccp.c (main): Fix handling of -include and -imacros options.
2484 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
2486         * cpplib.c (cpp_push_buffer): Fix order of arguments.
2488 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
2490         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
2491         genrtl.c.
2493 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
2495         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
2496         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
2497         and SET_DEST. Update comment.
2499 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2501         * config/c4x/c4x.c: Include ggc.h.
2502         (c4x_add_gc_roots): New function.
2503         (c4x_override_options): Call c4x_add_gc_roots.
2505 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
2507         * defaults.h (TARGET_ESC): Move ...
2508         * system.h: ... here, where Linas had it in the first place.  Silly me.
2510 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
2512         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
2513         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
2514         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
2515         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
2516         * defaults.h (TARGET_ESC): Add default.
2518 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
2520         * configure.in: add i370-*-openedition, i370-*-mvs and
2521         i370-*-linux targets
2523 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
2525         * dsp16xxx.c: Include ggc.h
2526         (override_options): Mark GC roots.
2527         * mn10200.c: Include ggc.h.
2528         (asm_file_start): Mark GC roots.
2529         * tahoe.c: Include ggc.h.
2530         (extensible_operand): Mark GC roots.
2532 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
2534         * README: Add section discussing status of ELF ABI.
2535         * i370.c: Fix misc spelling mistakes.
2536         (i370_label_scan): Updated notes, exception handling.
2537         (i370_function_prolog): Simplify ELF stack handling.
2538         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
2539         (STACK_GROWS_DOWNWARD): ELF stack grows down.
2540         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
2541         * i370.md: (movdi): Add notes.
2542         (floatsidf2): Use stack not rtca for scratch float area.
2543         (iorsi3): Correct operand constraints.
2544         * x-oe: Restore TAROUTOPTS which are used by pax.
2546 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
2548         * rs6000.c: Include ggc.h.
2549         (rs6000_add_gc_roots): New function.
2550         (override_options): Call it.
2552 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
2554         * alpha.h (alpha_compare): New.
2555         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
2556         * alpha.c: Likewise for the definitions.
2557         (alpha_emit_conditional_branch): Update for alpha_compare.
2558         (alpha_emit_conditional_move): Likewise.
2559         * alpha.md (cmpdf, cmpdi): Likewise.
2560         (setcc patterns): Likewise.  Zero alpha_compare after use.
2561         (sne): Optimize (x != 0) into (0U < x).
2563 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
2565         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
2566         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
2567         (INIT_EXPANDERS): Remove.
2568         * alpha.c: Include ggc.h.
2569         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
2570         (alpha_init_machine_status, alpha_mark_machine_status): New.
2571         (override_options): Install them.
2572         (struct machine_function): Moved to alpha.h.
2573         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
2574         (alpha_init_expanders): Remove.
2575         (alpha_return_addr): Adjust to use current_function->machine.
2576         (alpha_ra_ever_killed): Likewise.
2577         (alpha_expand_epilogue): Likewise.
2578         * alpha.md (eh_epilogue): Likewise.
2580 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
2581                           Melissa O'Neill  <oneill@cs.sfu.ca>
2582                           Geoffrey Keating  <geoffk@cygnus.com>
2584         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
2585         call-used registers (call-saved registers must still be contiguous
2586         and end with r31, of course).
2588 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
2590         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
2591         (self_promoting_type_p): Delete.
2592         (self_promoting_args_p): Move ...
2593         * c-common.c: ... here.
2594         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
2595         (simple_type_promotes_to): New.
2596         * builtins.c (lang_type_promotes_to): New.
2597         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
2598         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
2599         * c-common.h: ... here.
2600         (self_promoting_args_p, simple_type_promotes_to): Declare.
2601         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
2602         (grokdeclarator): Likewise.
2603         * tree.h (lang_type_promotes_to): Declare.
2605 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
2607         Add some machine-dependent GC roots.
2608         * sparc.c: Include ggc.h.
2609         (sparc_add_gc_roots): New function.
2610         (mark_ultrasparc_pipeline_state): Likewise.
2611         (override_options): Call sparc_add_gc_roots.
2612         * pa.c: Include ggc.h.
2613         (pa_add_gc_roots): New function.
2614         (mark_deferred_plabels): Likewise.
2615         (override_options): Call pa_add_gc_roots.
2616         * mips.c: Include ggc.h.
2617         (mips_add_gc_roots): New function.
2618         (override_options): Use it.
2620 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2622         * cpperror.c (cpp_file_line_for_message): Constify a char*.
2624         * cppexp.c (parse_number, parse_charconst, cpp_lex,
2625         cpp_parse_expr): Add static prototypes.
2626         (parse_charconst): Don't cast away const-ness.
2627         (token): Constify a char*.
2629         * cppfiles.c (file_name_list, include_hash, find_include_file,
2630         finclude, initialize_input_buffer): Constify a char*.
2631         (file_cleanup, find_position): Add static prototypes.
2633         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
2634         collect_expansion): Add static prototypes.
2635         (cpp_install, create_definition, monthnames): Constify a char*.
2637         * cpphash.h (cpp_install): Likewise.
2639         * cppinit.c (known_suffixes, default_include,
2640         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
2641         (base_name, dump_special_to_buffer, initialize_dependency_output):
2642         Add static prototypes.
2644         * cpplib.c (my_strerror): Constify a char*.
2645         (null_underflow, null_cleanup, skip_comment, copy_comment,
2646         copy_rest_of_line, handle_directive, pass_thru_directive,
2647         get_directive_token, read_line_number, cpp_print_file_and_line,
2648         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
2649         v_cpp_warning_with_line, detect_if_not_defined,
2650         consider_directive_while_skipping): Add static prototypes.
2651         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
2652         cpp_pedwarn_with_file_and_line): Constify a char*.
2654         * cpplib.h (cpp_options, include_hash, progname, definition,
2655         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
2656         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
2657         find_include_file, deps_output, include_hash): Constify a char*.
2659         * cppmain.c (progname): Constify.
2660         (main): Add prototype.  Use return, not exit.
2662         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
2663         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
2664         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
2665         check_protection): Add static prototype.
2666         (xfree): Remove.
2667         (progname, recognized_macrom, recognized_extern): Constify a char*.
2668         (main): Add prototype.
2670         * gen-protos.c (progname): Constify a char*.
2672 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
2674         * emit-rtl.c (free_emit_status): Take decl as a parameter.
2675         (init_emit_once): Add more GC roots.
2676         * except.c (mark_func_eh_entry): New function.
2677         (mark_eh_node): Mark false_label and rethrow_label.
2678         (init_eh): Add more GC roots.
2679         * function.c (free_after_compilation): Take decl as a paramter.
2680         Call free_stmt_status.
2681         (mark_function_state): Don't assume x_parm_reg_stack_loc is
2682         non-NULL.
2683         * function.h (free_after_compilation): Change prototype.
2684         (free_varasm_status): Likewise.
2685         (free_emit_status): Likewise.
2686         (free_stmt_status): New function.
2687         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
2688         Remove, replacing with ...
2689         (ggc_status): New structure.
2690         (ggc_chain): New variable.
2691         (init_gcc): Define.
2692         (ggc_push_context): New function.
2693         (ggc_pop_context): Likewise.
2694         (ggc_alloc_rtx): Adjust for use of ggc_chain.
2695         (ggc_alloc_rtvec): Likewise.
2696         (ggc_alloc_tree): Likewise.
2697         (ggc_alloc_string): Likewise.
2698         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
2699         (ggc_mark_tree): Give language-dependent code a chance to mark
2700         `x' nodes.
2701         (ggc_mark_tree_varray): Handle empty arrays.
2702         (ggc_collect): Adjust for use of ggc_chain.  Clear
2703         bytes_alloced_since_last_gc.
2704         * ggc.h (ggc_pop_context): New function.
2705         (ggc_push_context): Likewise.
2706         * print-tree.c (print_node): Don't print obstacks when GC'ing.
2707         * stmt.c (free_stmt_status): New function.
2708         (init_stmt_for_function): Clear last_expr_value.
2709         * toplev.c (rest_of_compilation): Always call free_after_compilation.
2710         Conditionalize call to ggc_collect.
2711         (main): Call init_ggc.
2712         * tree.c (push_obstacks): Do the push, even when GC'ing.
2713         (push_obstacks_nochange): Likewise.
2714         (pop_obstacks): Liekwise.
2715         * varasm.c (free_varasm_status): Take decl as a parameter.
2717 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
2719         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
2720         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
2721         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
2722         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
2724 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
2726         * pa/x-pa-mpeix: New file for the MPE port.
2728         * pa/quadlib.asm: New file for long double support.
2730         * configure.in: Add hppa1.0-*-mpeix for MPE port.
2731         * configure: Rebuilt.
2733 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
2735         * final.c (shorten_branches): Fix last change.
2737 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
2739         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
2741 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
2743         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
2744         details.
2746 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2748         * c-aux-info.c (concat): Don't define.
2750         * cccp.c (my_strerror): Likewise.  All callers changed to use
2751         xstrerror instead.
2752         (do_include): Call xstrdup, not xmalloc/strcpy.
2753         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
2754         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
2756         * collect2.c (my_strsignal): Likewise.  All callers changed to use
2757         strsignal instead.
2758         (locatelib): Call xstrdup, not xmalloc/strcpy.
2760         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
2762         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
2764         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
2766         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
2768         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
2770         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
2772         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
2773         malloc/realloc.
2774         (find_all_handler_type_matches): Likewise.  Don't check return
2775         value.
2776         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
2777         xmalloc, not malloc.
2778         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
2780         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
2781         (init_spec): Call xcalloc, not xmalloc/bzero.
2782         (set_spec): Call xstrdup, not save_string.
2783         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
2784         (find_a_file): Call xstrdup, not xmalloc/strcpy.
2785         (process_command): Call xstrdup, not save_string.
2786         (main): Call xcalloc, not xmalloc/bzero.
2788         * gcov.c (xmalloc): Don't define.
2789         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
2790         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
2791         (output_data): Call xcalloc, not xmalloc/bzero.
2793         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
2795         * mips-tdump.c (xmalloc): Don't define.
2796         (print_symbol): Call xmalloc, not malloc.
2797         (read_tfile): Call xcalloc, not calloc.
2799         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
2800         Don't define.  All callers of xfree/my_strsignal changed to use
2801         free/strsignal instead.
2802         (allocate_cluster): Call xcalloc, not calloc.
2804         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
2805         Fix memory leak, free allocated memory.
2807         * prefix.c (translate_name): Call xstrdup, not save_string.
2808         (update_path): Likewise.
2810         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
2812         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
2813         Don't define.  Callers of xfree/savestring2 changed to use
2814         free/concat instead.
2816         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
2817         (init_elim_table): Likewise.
2819         * resource.c (init_resource_info): Likewise.
2821         * stupid.c (stupid_life_analysis): Likewise.
2823         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
2824         (open_dump_file): Call concat, not xmalloc/strcpy/...
2825         (clean_dump_file): Likewise.
2826         (compile_file): Call xstrdup, not xmalloc/strcpy.
2828 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
2830         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
2831         * v850.c (v850_va_arg): New.
2833 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2835         * haifa-sched.c: Tidy comments.
2837 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2839         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
2840         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
2841         $(out_object_file)): Depend on ggc.h.
2842         * c-common.c: Include "ggc.h".
2843         (combine_strings): If doing GC, use ggc_alloc_string.
2844         * c-decl.c: Include "ggc.h".
2845         (ggc_p): Define with value 0.
2846         (mark_binding_level): New function.
2847         (init_decl_processing): Add GC roots.
2848         (mark_c_function_context): New function.
2849         (lang_mark_false_label_stack): New function.
2850         (lang_mark_tree): New function.
2851         (lang_cleanup_tree): New function.
2852         * c-lang.c: Include "ggc.h".
2853         (lang_init): Call c_parse_init.
2854         * c-lex.c: Include "ggc.h".
2855         (check_linenum): If doing GC, don't copy filenames to permanent
2856         obstack.
2857         * c-parse.in: Include "ggc.h".
2858         (c_parse_init): New function.
2859         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
2860         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
2862         * except.c (mark_eh_state): Mark more state.
2863         * function.c (mark_function_state): Likewise.
2864         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
2865         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
2866         * toplev.c (mark_file_stack): New function.
2867         (compile_file): If doing GC, use ggc_alloc_string on input filename.
2868         (main): Add root for input_file_stack.
2870         * i386.c: Include "ggc.h".
2871         (ix86_mark_machine_status): New function.
2872         (override_options): Set mark_machine_status.
2874 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2876         * tree.c (copy_node): Copy node contents also if doing GC.
2878 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
2880         * collect2.c (scan_libraries): Fix double-thinko :-).
2882 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
2884         * collect2.c (scan_libraries): Fix thinko.
2886         * cse.c (delete_trivially_dead_insns): Do not skip the last
2887         insn if it is a real insn.
2889 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
2891         * Makefile.in (ggc-simple.o): Depend on hash.h.
2892         * ggc.h (ggc_add_tree_hash_table_root): Declare.
2893         (ggc_mark_tree_varray): Likewise.
2894         (ggc_mark_tree_hash_table): Likewise.
2895         * ggc-simple.c: Include hash.h.
2896         (ggc_mark_tree_hash_table_ptr): New function.
2897         (ggc_mark_tree_hash_table_entry): Likewise.
2898         (ggc_mark_tree_hash_table): Likewise.
2899         (ggc_add_tree_hash_table_root): Likewise.
2900         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
2901         rtx, when defining fields.
2903 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
2905         * profile.c (output_func_start_profiler): Remove apparently
2906         nonsensical call to start_sequence.
2908 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
2910         * clipper/clipper.c (clipper_va_start): Fix typos.
2912         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
2913         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
2914         (spur_va_arg): New stub.
2916         * configure.in: Comment out pyramid.
2918 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
2920         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
2921         don't conflict with the bits that win32, cygwin, and dgux
2922         defines.
2924 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
2925                           Bernd Schmidt <bernds@cygnus.co.uk>
2927         * integrate.c (function_cannot_inline_p): Do not inline
2928         functions with forced labels.
2930 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
2931                           Bernd Schmidt <bernds@cygnus.co.uk>
2932                           Mark Mitchell  <mark@codesourcery.com>
2934         * Makefile.in (ggc-simple.o): Depend on varray.h.
2935         (rtl.o): Depend on ggc.h.
2936         (genattrtab.o): Depend on ggc.h.
2937         (print-tree.o): Likewise.
2938         (fold-const.o): Likewise.
2939         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
2940         (make_insn_raw): Don't cache insns when GC'ing.
2941         (emit_insn_before): Likewise.
2942         (emit_insn_after): Likewise.
2943         (emit_insn): Likewise.
2944         (start_sequence): Use xmalloc to allocate the sequence_stack.
2945         (end_sequence): Add free to free it.
2946         (gen_sequence): Don't cache insns when GC'ing.
2947         (clear_emit_caches): Don't use sequence_element_free_list.
2948         (init_emit): Use xcalloc, not xmalloc+bzero.
2949         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
2950         * function.c (pop_function_context_from): Use free to free the
2951         fixup_var_refs_queue.
2952         (put_reg_into_stack): Allocate it with xmalloc.
2953         * genattrtab.c: Include ggc.h.
2954         (operate_exp): Don't use obstack_free when GC'ing.
2955         (simplify_cond): Likewise.
2956         (simplify_text_exp): Likewise.
2957         (optimize_attrs): Likewise.
2958         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
2959         GC'ing.
2960         (gencode): Generate a #include for ggc.h.
2961         * ggc-callbacks.c (ggc_p): Define it to zero.
2962         * ggc-none.c (ggc_p): Likewise.
2963         * ggc-simple.c: Include varray.h.
2964         (ggc_mark_tree_varray): New function.
2965         (ggc_add_tree_varray_root): Likewise.
2966         (ggc_mark_tree_varray_ptr): Likewise.
2967         * ggc.h (ggc_p): Declare.
2968         (varray_head_tag): Likewise.
2969         (ggc_add_tree_varray_root): Declare.
2970         * print-tree.c (print_node): Don't check for TREE_PERMANENT
2971         inconsistencies when GC'ing.
2972         * rtl.c: Include ggc.h.
2973         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
2974         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
2975         (rtx_free): Don't call obstack_free when GC'ing.
2976         * toplev.c (rest_of_compilation): Call ggc_collect after every
2977         pass, if GC'ing.
2978         * tree.c (push_obstacks): Do nothing, if GC'ing.
2979         (pop_obstacks_nochange): Likewise.
2980         (pop_obstacks): Likewise.
2981         (make_node): Use ggc_alloc_tree when GC'ing.
2982         (copy_node): Likewise.
2983         (get_identifier): Use ggc_alloc_string when GC'ing.
2984         (build_string): Likewise.
2985         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
2986         (tree_cons): Likewise.
2987         (build1): Likewise.
2988         (type_hash_canon): Don't call obstack_free when GC'ing.
2990 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
2992         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
2993         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
2995 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
2996                           Bernd Schmidt <bernds@cygnus.co.uk>
2997                           Mark Mitchell  <mark@codesourcery.com>
2999         * Makefile.in (stor-layout.o): Depend on ggc.h.
3000         (expr.o): Depend on ggc.h.
3001         (profile.o): Depend on ggc.h.
3002         (stor-layout.o): Depend on ggc.h.
3003         * emit-rtl.c (init_emit_once): Add gc roots.
3004         * expr.c: Include ggc.h.
3005         (emit_block_move): Add gc roots.
3006         (clear_storage): Likewise.
3007         * expr.h (init_stor_layout_once): New function.
3008         * profile.c: Include ggc.h.
3009         (init_arc_profiler): profiler_label is a root.
3010         * scan.c (make_sstring_space): Trust xrealloc to function
3011         correctly with first parameter NULL.
3012         * stor-layout.c: Include ggc.h.
3013         (set_sizetype): Add gc root.
3014         (init_stor_layout_once): New function.
3015         * toplev.c (compile_file): Call it.
3017 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
3018                           Bernd Schmidt <bernds@cygnus.co.uk>
3019                           Mark Mitchell  <mark@codesourcery.com>
3021         * Makefile.in (tree.o): Depend on ggc.h.
3022         (varasm.o): Likewise.
3023         (function.o): Likewise.
3024         (stmt.o): Likewise.
3025         (except.o): Likewise.
3026         (optabs.o): Likewise.
3027         (emit-rtl.o): Likewise.
3028         * emit-rtl.c: Include ggc.h.
3029         (sequence_element_free_list): Remove, and all references.
3030         (mark_sequence): New functions.
3031         (mark_emit_state): New function.
3032         * except.c: Include ggc.h.
3033         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
3034         (mark_tree_label_node): New functions.
3035         (mark_eh_state): New function.
3036         * function.c: Include ggc.h.
3037         (mark_temp_slot, mark_function_chain): New functions.
3038         (mark_function_state): New function.
3039         (init_function_once): New function.
3040         * function.h (init_function_once): New function.
3041         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
3042         * ggc.h (label_node): Declare.
3043         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
3044         (lang_mark_false_label_stack): New function.
3045         (mark_temp_slot): Remove declaration.
3046         (mark_function_chain): Likewise.
3047         (mark_eh_state): Adjust prototype.
3048         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
3049         Likewise.
3050         * optabs.c: Include ggc.h.
3051         (mark_optab): New function.
3052         (init_optabs): Add gc roots.
3053         * stmt.c: Include ggc.h.
3054         (mark_cond_nesting, mark_loop_nesting): New functions.
3055         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
3056         (mark_stmt_state): New function.
3057         * toplev.c (compile_file): Call init_function_once.
3058         * tree.c: Include ggc.h.
3059         (type_hash): Move declaration earlier in file.
3060         (TYPE_HASH_SIZE, type_hash_table): Likewise.
3061         (init_obstacks): Add gc roots.
3062         (mark_type_hash): New function.
3063         * varasm.c: Include ggc.h.
3064         (mark_pool_constant): New function.
3065         (mark_varasm_state): New function.
3067 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3069         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
3071 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
3073         * c-decl.c (struct language_function): Renamed from struct c_function.
3074         Delete elt NEXT.
3075         (c_function_chain): Delete.
3076         (push_c_function_context): New arg F.  Don't warn about nested
3077         functions here.  Fill LANGUAGE elt of F.  Delete code to update
3078         c_function_chain.  Don't call push_function_context.
3079         (pop_c_function_context): New arg F.  Restore from there instead of
3080         from c_function_chain.  Don't call pop_function_context.  Clear out
3081         LANGUAGE field of F when done.
3082         * c-lang.c: Include "function.h"
3083         (lang_init): Initialize save_lang_status and restore_lang_status.
3084         * c-parse.in (nested_function, nested_function_notype): Warn about
3085         nested functions.  Call push_function_context/pop_function_context
3086         instead of the _c_ variants.
3087         * c-tree.h (push_c_function_context, pop_c_function_context): Update
3088         prototype.
3089         * Makefile.in (c-lang.o): Update dependencies.
3091         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
3092         regno_pointer_flag, regno_pointer_align.
3093         (gen_reg_rtx): Use xrealloc to enlarge them.
3094         (free_emit_status): New function.
3095         * function.c (mark_machine_status, mark_lang_status): New variables.
3096         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
3097         in some bits from assign_stack_local.  All callers changed to use new
3098         name.
3099         (assign_stack_local): Just call assign_stack_local_1.
3100         (free_after_compilation): New function.
3101         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
3102         (trampoline_address): Likewise.
3103         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
3104         (prepare_function_start): Explicitly clear some more variables.
3105         * function.h (struct function): New elt can_garbage_collect.
3106         (mark_machine_status, mark_lang_status): Declare variables.
3107         (free_after_compilation, free_emit_status, free_varasm_status,
3108         init_varasm_status): Declare functions.
3109         * toplev.c (rest_of_compilation): Call free_after_compilation when
3110         done with the current function.
3111         * varasm.c (free_varasm_status): New function.
3113 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
3115         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
3116         (EXPAND_BUILTIN_VA_ARG): Define.
3117         * sparc.c (sparc_va_start): New.
3118         (sparc_va_arg): New.
3120 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3122         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
3124 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3126         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
3128 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
3130         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
3131         (OBJS): Add $(GGC).
3132         (ggc-callbacks.o): New target.
3133         * ggc-callbacks.c: New file.
3135 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3137         * expr.h: Collapse individual optab and libfunc vars to arrays.
3138         (optab_index, libfunc_index): New enumerations.
3139         (optab_table, libfunc_table): New arrays.
3140         Add accessor macros for both.
3142         * optabs.c (optab_table, libfunc_table): New.
3143         Delete declarations for individual optab and libfunc vars.
3145 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
3147         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
3149 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
3151         * Makefile.in (GGC, GGC_LIB): New.
3152         (HOST_RTL): Include ggc-none.o.
3153         (ggc-simple.o): New target.
3154         (ggc-none.o): Likewise.
3155         * tree.h (tree_common): Add gc_mark.
3156         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
3157         (struct rtvec_def): Add gc_mark.
3158         * emit-rtl.c (global_rtl): Update static initializers to contain
3159         enough initializers.
3160         * ggc.h, ggc-none.c, ggc-simple.c: New files.
3161         * toplev.c (gc_time): New variable.
3162         (all_time): New variable.
3163         (compile_file): Print gc time.
3164         (print_time): Calculate percentage of the whole.
3166 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3168         Change obstack memory management and varasm constant pool handling so
3169         that nested functions are treated like any other functions.
3170         * function.c (init_machine_status): New variable.
3171         (push_function_context_to): Set contains_functions for the outer
3172         function.  Don't call save_varasm_status.
3173         (pop_function_context_from): Don't call restore_varasm_status.  Don't
3174         set current_function_contains_functions.
3175         (prepare_function_start): Call init_varasm_status rather than
3176         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
3177         is non-null.
3178         * function.h (struct function) Add field varasm.  Delete fields
3179         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
3180         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
3181         (init_machine_status): Declare.
3182         (save_varasm_status, restore_varasm_status): Delete declarations.
3183         (save_tree_status, restore_tree_status): Delete last argument.
3184         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
3185         code.  All callers changed.
3186         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
3187         save_constants_in_decl_trees, restore_constants, save_constants,
3188         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
3189         functions.
3190         (inlining): New variable.
3191         (reg_map, label_map, insn_map, orig_asm_operands_vector,
3192         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
3193         variables.
3194         (save_for_inline_nocopy): Don't save constants.
3195         Don't set inl_emit field in current_function.
3196         (expand_inline_function): Use emit field, not inl_emit, of the inlined
3197         function.  Set new variable inlining before
3198         calling copy_rtx_and_substitute.
3199         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
3200         constant pool references if inlining is nonzero.
3201         Delete ADDRESS and (most of the) CONST cases.
3202         (output_inline_function): Save and restore current_function/
3203         current_function_decl.  Delete restore_constants code.  Don't call
3204         init_const_rtx_hash_table.
3205         * output.h (init_const_rtx_hash_table): Don't declare.
3206         * rtl.h (struct function): Declare.
3207         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
3208         * toplev.c (rest_of_compilation): Don't treat nested functions or
3209         functions containing them specially.  Delete all code to deal with
3210         save_for_inline_copying.
3211         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
3212         inline_obstacks): Delete variables.
3213         (save_tree_status): Lose arg CONTEXT.  All callers changed.
3214         Simply allocate a new function_maybepermanent_obstack for the new
3215         function, delete all the special cases.
3216         Don't save inline_obstacks.
3217         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
3218         Delete special handling for function_maybepermanent_obstack; simply
3219         free it if empty.
3220         Don't restore inline_obstacks.
3221         (permanent_allocation):  Delete code that frees inline_obstacks.
3222         (print_inline_obstack_statistics): Delete function.
3223         (dump_tree_statistics): Don't call it.
3224         * varasm.c (struct varasm_status): New.
3225         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
3226         last_pool, pool_offset, const_double_chain): Delete global
3227         variables, replace with accessor macros.
3228         (immed_double_const): Don't walk const_double_chain outside a
3229         function, but don't treat nested functions specially anymore.
3230         (immed_real_const_1): Likewise.
3231         (clear_const_double_mem): Don't treat nested functions specially.
3232         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
3233         (save_varasm_status, restore_varasm_status): Delete functions.
3234         (init_varasm_status): New function.
3235         (force_const_mem): Don't treat nested functions specially.
3236         (find_pool_constant): Accept new arg F, search for constants in
3237         that function's pool rather than the current one.  All callers
3238         changed.
3239         (get_pool_constant_for_function, get_pool_mode_for_function): New
3240         functions.
3242         * i386.c (init_386_machine_status): New function, mostly from
3243         clear_386_stack_locals.
3244         (struct machine_functions): Rename element names to avoid name
3245         clashes.
3246         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
3247         macros, replacing global variables.
3248         (clear_386_stack_locals, save_386_machine_status,
3249         restore_386_machine_status): Delete functions.
3250         (override_options): Initialize init_machine_status.
3251         * i386.h (INIT_EXPANDERS): Delete macro.
3252         (save_386_machine_status, restore_386_machine_status,
3253         clear_386_stack_locals): Delete declarations.
3255 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3257         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
3258         (doloop_begin):  Simplify pattern and use emit_jump_insn.
3259         (doloop_end): Simplify pattern, switch operand order,
3260         and use emit_jump_insn.
3262 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
3264         * function.h (struct function): Add new element LANGUAGE.
3265         (save_lang_status): Declare new variable.
3266         (restore_lang_status): Likewise.
3267         * function.c (save_lang_status): Define.
3268         (restore_lang_status): Likewise.
3269         (push_function_context_to): Call language-specific save function.
3270         (pop_function_context_from): Call language-specific restore function.
3272 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
3274         * i386.md (movsf_1): Check REG_P before use of REGNO.
3275         (movdf_1): Likewise.
3276         (movxf_1): Likewise.
3277         (extendsfdf2): Likewise.
3278         (extendsfxf2): Likewise.
3279         (extenddfxf2): Likewise.
3281 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3283         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
3284         constants into memory.
3285         (c4x_shiftable_constant): New function.
3286         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
3287         (c4x_shiftable_constant): Declare.
3288         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
3289         ashlqi3_noclobber): Add new patterns and associated splitters.
3291 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
3293         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
3294         * dwarf2out.c (dwarf2out_frame_init): Likewise.
3295         * final.c (shorten_branches): Likewise.
3296         * global.c (global_alloc): Likewise.
3297         * haifa-sched.c (build_control_flow): Likewise.
3298         * stmt.c (check_for_full_enumeration_handling): Likewise.
3299         (estimate_case_costs): Likewise.
3301 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
3303         * rtl.h (RTL_CHECKC2): Fix typo in last change.
3305 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
3307         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
3308         (recompute_reg_usage): Likewise.
3309         * rtlanal.c (find_regno_fusage): Likewise.
3311         * rtl.c (rtl_check_failed_code1): New function.
3312         (rtl_check_failed_code2): New.
3313         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
3314         (RTL_CHECKC1, RTL_CHECKC2): New.
3315         (XC*): New accessor macros.
3316         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
3317         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
3318         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
3319         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
3320         (TRAP_*, RANGE_INFO_*): Likewise.
3322 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3324         * Makefile.in (tlink.o): Don't depend on toplev.h.
3326         * collect2.c (c_file, o_file, export_file, import_file, ldout,
3327         output_file, nm_file_name, ldd_file_name, strip_file_name,
3328         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
3329         add_prefix, prefix_from_env, prefix_from_string, do_wait,
3330         fork_execute, maybe_unlink, add_to_list,
3331         extract_init_priority, write_list, dump_list,
3332         dump_prefix_list, write_list_with_asm, write_c_file,
3333         write_c_file_stat, write_c_file_glob, scan_prog_file,
3334         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
3335         ignore_library, extract_string, notice, dump_file, target_machine,
3336         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
3337         read_file, print_load_command): Constify a char*.
3338         (fdopen, error, fatal, fatal_perror): Don't prototype.
3339         (my_strerror): Remove.  All callers use xstrerror instead.
3340         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
3341         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
3342         to xcalloc/strcpy/strcat/...  to one call to concat.
3343         (main, scan_prog_file, scan_libraries): Use an intermediate
3344         `const char **' to build an argv array.
3345         (mapfile, libselect, libcompare, locatelib): Add prototypes.
3347         * collect2.h (collect_execute, collect_wait, dump_file,
3348         file_exists): Constify a char*.
3349         (ldout, c_file_name, temporary_obstack, permanent_obstack,
3350         temporary_firstobj, vflag, debug): Add extern declarations.
3351         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
3353         * tlink.c: Don't include toplev.h.
3354         (vflag, debug, ldout, c_file_name, temporary_obstack,
3355         permanent_obstack, temporary_firstobj): Don't declare.
3356         (tlink_execute, frob_extension, symbol_hash_lookup,
3357         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
3358         recompile_files, read_repo_files, demangle_new_symbols,
3359         scan_linker_output): Constify a char*.
3360         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
3361         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
3363 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
3365         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
3366         (relative) rather than jsr (absolute) subroutine call insns.
3367         * config/m68k/m68k-coff.h: Ditto.
3369 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
3371         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
3372         now rework these too.
3373         (arm_reorg): If an insn can't reach the end of the current pool,
3374         ensure that we emit that pool before the insn.
3376 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
3378         * tlink.c (scan_linker_output): Skip the initial underscore in
3379         a mangled name if appropriate.
3381 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3383         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
3384         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
3385         error_with_ivar, gen_declarator, create_builtin_decl,
3386         my_build_string, generate_descriptor_table, generate_ivars_list,
3387         generate_dispatch_table, check_protocols, TAG_GETCLASS,
3388         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
3389         dump_base_name, lang_decode_option, build_encode_expr,
3390         start_class, finish_class, encode_pointer, really_start_method,
3391         gen_declaration, dump_interface, handle_class_ref, handle_impent):
3392         Constify.
3393         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
3394         Add static prototypes.
3395         (build_objc_string_decl, build_selector_reference_decl,
3396         encode_bitfield, build_class_reference_decl): Remove unused
3397         parameter, all callers changed.
3398         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
3399         (objc_printable_name): Likewise.  Change second parameter to type int.
3400         (init_objc): Use memcpy, not bcopy, to avoid casts.
3402 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
3404         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
3405         reg notes on a deleted insn.
3406         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
3408 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
3410         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
3412 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3414         * stmt.c (expand_asm_operands): Fix index into inout_mode when
3415         reading it.
3417 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
3419         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
3420         * tm.texi (MD_ASM_CLOBBERS): Document it.
3422 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
3424         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
3425         * except.c (expand_rethrow): Remove unused variable.
3426         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
3427         * flow.c (replace_insns): Likewise.
3428         (create_edge_list, verify_edge_list): Likewise.
3429         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
3431         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
3432         is special code to run.
3433         (main): Don't define operands to emit_operand.
3434         * genrecog.c (main): Don't emit an empty peephole2_insn function.
3436         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
3438         * alpha/alpha.h (normal_memory_operand): Declare.
3439         (reg_no_subreg_operand): Declare.
3440         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
3442 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
3444         * c-parse.in (compstmt_primary_start): New, broken out of first
3445         part of compstmt handling in primary.
3446         (primary): Use it.  Add an error clause.
3447         (compstmt_nostart): Renamed from compstmt; remove all
3448         initial invocations of compstmt_start.
3449         (compstmt): New.
3451 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
3453         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
3454         needed.
3456 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
3458         * combine.c (simplify_shift_const): Remove extra semicolon.
3459         * dwarf2out.c (remove_AT): Likewise.
3460         * expmed.c (expand_mult): Likewise.
3461         * gcov.c (create_program_flow_graph): Likewise.
3462         * reorg.c (mostly_true_jump): Likewise.
3464 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
3466         * fold-const.c (fold_range_test): Do not try to fold the range
3467         test if the rhs or lhs has side effects.
3469         * combine.c (simplify_rtx): Recognize another case of a synthesized
3470         sign extension.
3472         * varasm.c (mark_constant_pool): When marking indirect references,
3473         only look at SYMBOL_REFs.
3475         * except.c (expand_fixup_region_end): Do not peek at
3476         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
3478 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
3480         * flags.h: New variables align_loops, align_loops_log,
3481         align_jumps, align_jumps_log, align_labels, align_labels_log,
3482         align_functions, align_functions_log.
3483         * toplev.c: Define them.
3484         (f_options): Handle -falign-* when they have no argument.
3485         (main): Add logic to set variables for -falign-functions,
3486         -falign-jumps, -falign-labels, -falign-loops.
3487         Make it -fsched-verbose=<n> and -finline-limit=<n>.
3488         (display_help): Change help to match options.
3489         * final.c (LABEL_ALIGN): Default to align_labels_log.
3490         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
3491         (LOOP_ALIGN): Default to align_loops_log.
3492         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
3493         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
3494         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
3495         * varasm.c (assemble_start_function): Handle align_functions.
3497         * config/sparc/sparc.h: Don't declare sparc_align_*.
3498         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
3499         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
3500         sparc.c.
3501         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
3502         it's a promise.
3503         * config/sparc/sparc.c: Delete sparc_align_loops,
3504         sparc_align_jumps, sparc_align_funcs and the corresponding string
3505         variables.
3506         (sparc_override_options): Default align_functions on ultrasparc.
3507         Delete -malign-* handling.
3509         * config/mips/mips.c (override_options):  On 64-bit targets,
3510         try to align code to 64-bit boundaries.
3511         (print_operand): New substitution, %~,
3512         which aligns labels to align_labels_log.
3513         * config/mips/mips.md (div_trap_normal): Use %~.
3514         (div_trap_mips16): Likewise.
3515         (abssi): Likewise.
3516         (absdi2): Likewise.
3517         (ffssi2): Likewise.
3518         (ffsdi2): Likewise.
3519         (ashldi3_internal): Likewise.
3520         (ashrdi3_internal): Likewise.
3521         (lshrdi3_internal): Likewise.
3522         (casesi_internal): Likewise.
3524 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
3526         Merge new ia32 backend from the branch!
3528         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
3529         See ChangeLog.P2 on new_ia32_branch for details.
3531         * rtl.h (stack_regs_mentioned_p): Delete prototype.
3532         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
3533         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
3534         * i386/gas.h (ASM_FILE_START): Define.
3535         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
3536         for name change of ix86_valid_decl_attribute_p.
3537         (i386_pe_valid_type_attribute_p): Similarly.
3539 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
3541         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
3542         to step through CC modes.
3544 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3546         * regmove.c (fixup_match_1): Don't move INSN in front of P if
3547         it would end up in the shadow of a live flags regsiter.
3549 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3551         * reload1.c: Fix many indentation problems.
3552         * reload.c: Likewise.
3554 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
3556         * alias.c (non_local_reference_p): Constify fmt.
3558 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
3560         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
3562 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
3564         * cse.c (delete_trivially_dead_insns): Do not delete stores to
3565         the internal_arg_pointer.
3567 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
3569         Merge peephole2 from new_ia32_branch:
3570         * Makefile.in (STAGESTUFF): Add *.peephole2.
3571         (mostlyclean): Likewise.
3572         (recog.o): Depend on resource.h.
3574         * final.c (peephole): Conditionalize decl on HAVE_peephole.
3575         (final_scan_insn): Likewise for the invocation of peephole.
3576         * genconfig.c (main): Look for peephole and peephole2 patterns.
3577         Emit HAVE_peephole* accordingly.
3578         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
3579         * flags.h (flag_peephole2): Declare.
3580         * toplev.c: New pass peephole2.  New flag -fpeephole2.
3582         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
3583         * gencodes.c (main): Likewise.
3584         * genextract.c (main): Likewise.
3585         * genoutput.c (main): Likewise.
3586         * genemit.c (max_operand_1): Look for the max scratch operand.
3587         (gen_rtx_scratch): New.
3588         (gen_exp): Use it, and pass on new arg subroutine_type.
3589         (gen_expand): Take max scratch into account.
3590         (gen_split): Emit peephole2 functions.
3591         (output_peephole2_scratch): New.
3592         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
3593         * genrecog.c (routine_type): Add PEEPHOLE2.
3594         (IS_SPLIT): New.
3595         (make_insn_sequence): Match outer parallel for peep2.  Discard
3596         top level scratches and dups.
3597         (add_to_sequence): New args insn_type and top.  Update all callers.
3598         Handle toplevel peep2 matching insns.
3599         (write_subroutine): Handle peep2.
3600         (write_tree_1): Likewise.
3601         (write_tree): Likewise.
3602         (main): Likewise.
3603         (change_state): New arg afterward.  Update all callers.
3604         Handle matching separate insns.
3605         * recog.c (recog_next_insn): New.
3606         (peephole2_optimize): New.
3607         * rtl.def (DEFINE_PEEPHOLE2): New.
3608         * resource.c (find_free_register): New argument last_insn.  Use it
3609         to find a register available through the entire span.
3610         * resource.h (find_free_register): Update prototype.
3612 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
3614         * i386.c (output_strlen_unroll): Don't write xops[7]
3615         label if it wasn't set.
3617 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
3619         * cpplib.c (struct directive): Const-ify name pointer and
3620         function pointer prototype.
3621         (validate_else, do_define, do_line, do_include, do_undef,
3622         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
3623         do_elif, do_endif, do_sccs, do_assert, do_unassert,
3624         do_warning): Const-ify second arg.
3625         (directive_table): Mark const.  Reorder entries by frequency
3626         of usage, record statistics.
3628 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
3630         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
3631         bounds- check RTL accesses if --enable-checking.
3632         (RTVEC_ELT): Bounds check if --enable-checking.
3633         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
3634         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
3635         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
3636         GET_NUM_ELEM.
3637         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
3638         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
3640         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
3641         (NOTE_SOURCE_FILE): Use X0STR.
3642         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
3643         MEM_ALIAS_SET): Use X0INT.
3644         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
3645         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
3646         Use X0EXP.
3647         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
3648         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
3649         (rtl_check_failed_bounds, rtl_check_failed_type1,
3650         rtl_check_failed_type2, rtvec_check_failed_bounds): New
3651         functions.
3652         (fancy_abort): Fix comment.
3654         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
3655         (cse_insn): Decrement LABEL_NUSES for jump target before
3656         deleting jump insn.
3657         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
3658         * final.c (alter_subreg): Compute regno before changing x to
3659         REG; set REGNO(x) after changing it.
3660         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
3661         notes containing CONST_INTs.
3662         (delete_eh_regions): Use NOTE_EH_HANDLER.
3663         * function.c (put_reg_into_stack): Make reg a MEM before
3664         initializing it.
3665         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
3666         delete insn.
3667         (gen_mem_addressof): Make reg a MEM before initializing it.
3668         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
3669         X0WINT.
3670         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
3671         deleting an insn, not after.
3672         (block_alloc): Only look at PATTERN(insn) if we have to, and
3673         only if it's format class 'i'.
3674         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
3675         CONST_INT before using its INTVAL.
3676         * print-rtl.c (print_rtx): Use X0STR.
3677         * regmove.c (fixup_match_1): Don't look at PATTERN of
3678         non-class-'i' insn chain elements.
3679         * reload.c (loc_mentioned_in_p): Take address of
3680         in->fld[1].rtx directly.
3681         * reload1.c (reload): Change reg to a MEM before initializing
3682         it.
3683         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
3684         have no names.
3685         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
3687 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
3689         * config/mips/mips.c (machine_dependent_reorg): Force a
3690         barrier to output the local constant pool if a barrier hasn't
3691         been found at a natural point in the instruction stream.
3693 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3695         * c-parse.in (language_string): Constify.
3697         * dwarf2out.c (language_string): Remove declaration.
3699         * dwarfout.c (language_string): Likewise.
3701         * toplev.c (language_string, init_parse, finish_parse): Likewise.
3703         * tree.h (language_string, init_parse, finish_parse): Declare.
3705         * i386/sun386.h (language_string): Remove declaration.
3707         * mips.h (language_string): Likewise.
3709         * nextstep.h (language_string): Likewise.
3711         * nextstep21.h (language_string): Likewise.
3713         * rs6000.c (language_string): Likewise.
3715 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3717         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
3718         (getpwd.o): Remove target.
3720         * getpwd.c: Delete file.  Its in libiberty now.
3722         * dbxout.c (getpwd): Don't prototype.
3723         * dwarf2out.c (getpwd): Likewise
3724         * dwarfout.c (getpwd): Likewise
3725         * final.c (getpwd): Likewise.
3726         * protoize.c (getpwd): Likewise.
3728 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3730         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
3732 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
3734         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
3735         mark_set_resources.
3737 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
3739         * fixinc/Makefile.in (subdir): New.
3740         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
3741         (Makefile): New.
3743 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
3745         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
3746         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
3747         be shared.
3749         * invoke.texi: Fix typo.
3751         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
3752         changed.  Handle autoincrement addressing modes.
3754         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
3755         just like we would the virtual incoming args register when
3756         integrating.
3758 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
3760         * rs6000.h (ASM_FILE_START): Specify complete filename, including
3761         path, in .file directive.
3763 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
3765         * gcc.texi (External Bugs): Remove obsolete note about Perl on
3766         SunOS.
3768 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
3770         * stdbool.h: Make the typedef name _Bool, with bool a #defined
3771         alias.
3773 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3775         * tree.c (tree_code_name): Constify a char*.
3777         * tree.h (tree_code_name, decl_printable_name): Likewise.
3779         * function.h (struct function): Likewise.
3781         * toplev.c (decl_name, decl_printable_name): Likewise.
3783         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
3785         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
3786         (init_objc): Remove function pointer cast.
3788 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
3790         * pa.md (interspace_jump): New pattern.
3791         (builtin_longjmp): New expander.
3793 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
3795         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
3796         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
3797         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
3799 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
3801         * jump.c (delete_prior_computation): Also check calls
3802         to constant functions.  Don't bother checking for a
3803         REG_UNUSED note before adding it.
3804         (delete_computation): Handle multi-word hard registers
3805         when synthesizing missing REG_DEAD notes for a register
3806         which is both set and used by an insn.
3808 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3810         * loop.c (this_loop_info): New variable.
3811         (loop_has_call, loop_has_volatile, loop_has_tablejump,
3812         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
3813         All uses updated.
3814         (prescan_loop, strength_reduce): New argument loop_info.  All callers
3815         updated.
3816         (scan_loop): New variable loop_info, initialise to address of
3817         this_loop_info.
3818         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
3819         Delete variable loop_has_multiple_exit targets and replace with
3820         field in this_loop_info.
3821         (find_and_verify_loops): Rename this_loop to this_loop_num.
3822         (strength_reduce): Delete loop_iteration_info.  Replace variable
3823         loop_info with function argument of same name.
3824         (insert_bct): Rework test for loop being completely unrolled.
3826         * loop.h (struct loop_info): New fields num, loops_enclosed,
3827         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
3828         has_indirect_jump, and cont.  Redefine use of unroll_number.
3829         (loop_unroll_number): Delete.
3831         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
3832         field of loop_info.
3833         (loop_iterations): Delete variable vtop and instead use
3834         loop_info->vtop computed in prescan_loop.
3836 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
3838         * fix-header.c (main): Do not pass a null pointer to strcmp.
3840 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
3842         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
3843         filenames.
3844         * configure: Rebuilt.
3846 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
3848         * jump.c (jump_optimize_1): Do not delete assignments to
3849         internal_arg_pointer.
3850         * cse.c (delete_trivially_dead_insns): Always consider a set of
3851         the internal_arg_pointer live.
3853 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
3855         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
3856         (update_life_info) [REG_WAS_0]: Search the original insns rather
3857         than the new insns for the note.  Fix typos finding note_dest.
3858         If no dest found, discard the note rather than abort.
3859         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
3860         (replace_insns): Remove the old insn list after update_life_info
3861         not before.
3863 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
3865         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
3866         sched_analyze_insn.
3867         (sched_analyze_1): Let add_dependence care for not adding dups.
3868         (sched_analyze_2): Likewise.
3869         (add_branch_dependences): Likewise.
3871 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3873         * i386/winnt.c (export_list): New type.
3874         (exports_head): Rename to
3875         (export_head):  this.
3876         (i386_pe_record_exported_symbol): Add is_data flag.
3877         (i386_pe_asm_file_end): Emit directive for exported variables.
3878         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
3879         prototype.
3880         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
3881         (ASM_DECLARE_OBJECT_NAME): Likewise.
3882         (ASM_DECLARE_FUNCTION_NAME): Likewise.
3883         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
3885 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
3887         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
3889         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
3890         operand.
3892 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
3894         * config/openbsd.h: Define SET_ASM_OP.
3895         * tm.texi: cross-reference SET_ASM_OP in the index.
3897 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
3899         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
3900         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
3901         and class_narrowest_mode at compile time.  Kill init_rtl.
3902         Mark rtx_length, mode_class, mode_size, mode_unit_size,
3903         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
3904         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
3905         EXTRA_CC_NAMES.
3906         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
3907         format.
3908         * rtl.h: Declare rtx_length and rtx_format as const.
3909         * machmode.def: Define CC().  Use CC() to define CCmode.  If
3910         EXTRA_CC_MODES is defined, expand it here.
3911         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
3912         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
3913         const.  Kill all references to EXTRA_CC_MODES.
3915         * toplev.c: Don't prototype or call init_rtl.
3916         * optabs.c: Don't call init_mov_optab.
3917         * genemit.c: Don't generate init_mov_optab.  Don't call
3918         init_rtl.
3919         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
3920         here.
3921         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
3922         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
3923         genrecog.c: Don't call init_rtl.
3925         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
3926         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
3927         definition of EXTRA_CC_MODES.
3929         * md.texi: Kill ref to EXTRA_CC_NAMES.
3930         * tm.texi: Document new way to define EXTRA_CC_MODES.
3932         * genrecog.c: Do not look up the name of a define_split.
3933         (Unrelated bugfix.)
3935 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
3937         * config/v850/v850.md: Fix typo introduced by previous delta.
3939 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3941         * gcc.c (fatal): Make definition static to match prototype.
3943 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3945         * combine.c (get_last_value): Don't look for earlier sets if the last
3946         known set is somewhere in between the insns being combined.
3948 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
3950         * configure.in: Don't use shell ! to negate exit codes
3951         * configure: Regenerate
3953 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
3955         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
3956         the fact that ALIGN is measured in bits, not bytes.
3958 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
3960         * errors.c: New file; defines functions error, warning, and
3961         fatal, variables have_error and progname.
3962         * errors.h: New file; prototypes and decls for stuff in errors.c.
3964         * Makefile: Add rules to build errors.o and
3965         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
3966         genopinit, genrecog, genextract, genpeep, genattr, and
3967         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
3968         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
3969         genpeep.o, genattr.o, and genoutput.o.
3971         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
3972         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
3973         define or prototype fatal.  Set progname at beginning of main.
3974         * genoutput.c:  Likewise, and don't define or prototype error
3975         either.
3977         * c-typeck.c (c_expand_start_case): Return immediately if exp
3978         is an ERROR_MARK.
3979         * fold-const.c (operand_equal_p): Return immediately if arg1
3980         or arg0 are ERROR_MARKs.
3981         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
3982         fields of type ERROR_MARK when calculating if the record can
3983         go in a register.
3985 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
3986         with much help from Jeffrey A Law and Richard Henderson
3988         * i386.md: In the 6 insns which call output_fix_trunc,
3989         earlyclobber operands[0].
3991 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
3993         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
3994         creating new registers.
3996 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
3998         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
3999         i386_reg_alloc_order, i386_regparm_string,
4000         i386_align_loops_string, i386_align_jumps_string,
4001         i386_align_funcs_string, i386_preferred_stack_boundary_string,
4002         and i386_branch_cost_string as type "const char *".
4003         * i386.c: Define all above strings as type "const char *".
4005 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
4007         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
4008         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
4010 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
4012         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
4013         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
4015 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
4017         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
4018         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
4019         (dwarf2out_line, dwarf2out_finish): Likewise.
4020         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
4022 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
4024         * tree.c (lang_unsave_expr_now) : Correct return type.
4025         * tree.h (lang_unsave_expr_now) : Same.
4027 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
4029         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
4030         instead of duplicating code.
4032 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4034         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
4036 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
4038         * tree.h: fancy_abort always takes three args.
4039         * resource.c: Move include of system.h before toplev.h.
4041 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
4043         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
4044         as SYMBOL_REFs.
4046 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
4048         * system.h: Don't redefine abort or trim_filename.
4049         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
4050         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
4051         whether or not __FUNCTION__ is available.
4052         * tree.h: Duplicate rtl.h's definition of abort, for files
4053         that don't include rtl.h.  Delete all code to perform type
4054         checking with a compiler other than GCC.
4055         * varray.h: Delete all code to perform type checking with a
4056         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
4057         its arguments exactly once, using a statement expression.
4058         Adjust the VARRAY_<type> accessor macros to match.
4059         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
4060         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
4061         caller's location.  Define fatal_insn and fatal_insn_not_found
4062         as macros that use _fatal_insn and _fatal_insn_not_found.
4063         (fancy_abort, trim_filename): Kill prototypes.
4065         * rtl.c (trim_filename): Move here from toplev.c.
4066         (fancy_abort): New function.
4067         (DIR_SEPARATOR): Provide default definition.
4068         * tree.c (tree_check_failed, tree_class_check_failed): Go
4069         through fancy_abort.
4070         (tree_check, tree_class_check, cst_or_constructor_check,
4071         expr_check): Delete.
4072         * varray.c (varray_check_failed): New function.
4073         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
4074         _fatal_insn and _fatal_insn_not_found.  Go through
4075         fancy_abort.
4076         (trim_filename, fancy_abort): Delete.
4078         * builtins.c (expand_builtin_args_info): Report ICE with abort.
4079         * except.c (start_catch_handler): Report ICE with error/abort
4080         combo.
4081         * final.c (output_operand_lossage): Likewise.
4082         * flow.c (verify_flow_info): Likewise.
4084         * gcc.c: Prototype fatal.
4085         * gengenrtl.c: Undef abort after including rtl.h not system.h.
4086         * genattr.c, genattrtab.c, genemit.c, genextract.c,
4087         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
4088         Don't define fancy_abort.
4090 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
4092         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
4093         canonization.
4095 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
4097         * m88k.h (VERSION_INFO2): Kill.
4098         (VERSION_STRING): Kill.
4099         (TM_RCS_ID): Kill.
4100         (VERSION_INFO1): Tidy.
4101         (TARGET_VERSION): Update.
4102         * m88k/dgux.h (VERSION_INFO2): Kill.
4103         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
4104         * m88k/luna.h (VERSION_INFO1): Tidy.
4105         * m88k/sysv4.h (VERSION_INFO1): Likewise.
4106         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
4107         (output_file_start): Adjust for death of VERSION_STRING.
4109 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
4111         * cpplib.c (detect_if_not_defined): New function.
4112         (do_if): Use it to detect potential once-only headers.
4114 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
4116         * c-common.c (combine_strings): Always set TREE_CONSTANT.
4118 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
4120         * combine.c (nonzero_bits) : Allow single-ly set registers to be
4121         anywere in the function only if they are pseudos and set before
4122         being used (not live at the start of the function).
4123         (num_sign_bit_copies) : Same.
4124         (get_last_value_validate) : Same.
4125         (get_last_value) : Same.
4127 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
4129         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
4130         where N and M are constant and N is an integer multiple of M.
4132 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
4134         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
4135         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
4136         sbitmap_union_of_preds): Add prototypes.
4137         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
4138         the intersection of successors with the new flow graph structures.
4139         (sbitmap_intersection_of_preds): New function to compute the
4140         intersection of predecessors with the new flow graph structures.
4141         (sbitmap_union_of_succs): New function to compute the union of
4142         successors with the new flow graph structures.
4143         (sbitmap_union_of_preds): New function to compute the union of
4144         predecessors with the new flow graph structures.
4145         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
4146         (expr_reaches_here_p): Use edge and basic_block structures instead
4147         of s_preds and s_succs.
4148         (compute_cprop_avinout): Use new sbitmap routines.
4149         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
4150         of s_preds and s_succs.
4151         * flow.c (compute_flow_dominators): Compute dominators using
4152         edges and basic blocks instead of s_preds and s_succs.
4154 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
4156         * lists.c (unused_insn_list, unused_expr_list): New file for
4157         maintaining various types of lists. New statics for maintaining a
4158         cache of available INSN_LIST and EXPR_LIST nodes.
4159         (free_list): Static function for freeing a list of INSN/EXPR nodes.
4160         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
4161         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
4162         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
4163         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
4164         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
4165         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
4166         (free_INSN_LIST_node): Free an individual INSN_LIST node.
4167         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
4168         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
4169         (remove_dependence, free_pending_lists): Use new global routines.
4170         (flush_pending_lists, sched_analyze_insn): Use new global routines.
4171         (sched_analyze, compute_block_backward_dependences): Use new routines.
4172         (sched_analyze_1, sched_analyze_2): Use new routines.
4173         (schedule_insns): Use new global routines.
4174         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
4175         prototypes.
4176         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
4177         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
4178         prototypes.
4179         * toplev.c (rest_of_compilation): Initialize node cache.
4180         * Makefile.in (OBJS): Add lists.o to list of object files.
4181         (lists.o): Add dependancies.
4183 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
4185         * config/v850/v850.md: Fix compile time warning messages.
4186         * config/v850/v850.c: Fix compile time warning messages.
4187         * config/v850/v850.h: Fix compile time warning messages.
4189 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4191         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
4192         Remove unused prototype for `init_lengths'.
4194 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4196         * calls.c (emit_call_1): Mark parameter `stack_size' with
4197         ATTRIBUTE_UNUSED.
4198         (expand_call): Initialize variable `insn'.
4199         (emit_library_call): Likewise for variable `high_to_save'.
4200         (emit_library_call_value): Likewise.
4201         (store_one_arg): Likewise for variables `lower_bound' and
4202         `upper_bound'.
4204         * combine.c (try_combine): Likewise for variables `i2_code_number'
4205         and `other_code_number'.
4206         (find_split_point): Likewise for variables `pos', `unsignedp' and
4207         `inner'.
4208         (simplify_if_then_else): Likewise for variables `op' and `c1'.
4209         (simplify_and_const_int): Remove unused variable `width'.
4210         (merge_outer_ops): Likewise.
4212         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
4213         HOST_WIDE_INT' when comparing against one.
4214         (simplify_relational_operation): Likewise.
4215         (cse_insn): Initialize variables `src_eqv_volatile',
4216         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
4218         * final.c (init_final): Constify parameter `filename'.
4219         (final_start_function): Mark parameter `optimize' with
4220         ATTRIBUTE_UNUSED.
4221         (profile_function): Likewise for parameters `first' and `optimize'.
4222         (output_source_line): Likewise for parameter `file'.
4224         * integrate.c (subst_constants): Cast a value to `size_t' when
4225         comparing against one.
4226         (mark_stores): Initialize variable `mode'.  Cast a value to
4227         `size_t' when comparing against one.
4229         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
4231         * loop.c (move_movables): Initialize variable `first'.
4232         (strength_reduce): Likewise for variable `increment'.
4233         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
4234         value to `size_t' when comparing against one.
4235         (load_mems): Initialize variable `end_label'.
4237         * output.h (init_final): Constify parameter.
4239         * reload.c (decompose): Initialize variable `base'.
4241         * reload1.c (reload): Likewise for variable `is_scalar'.
4242         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
4243         (choose_reload_regs): Initialize variable `mode'.
4244         (emit_reload_insns): Likewise for variable `store_insn'.
4245         (reload_cse_noop_set_p): Mark parameter `insn' with
4246         ATTRIBUTE_UNUSED.
4247         (reload_combine): Initialize variable `set'.
4249         * unroll.c (unroll_loop): Likewise for variable `local_label'.
4250         (copy_loop_body): Cast a value to `size_t' when comparing against
4251         one.
4253         * varasm.c (assemble_variable): Initialize variable `size_tree'.
4254         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
4255         (remove_from_pending_weak_list): Mark parameter `name' with
4256         ATTRIBUTE_UNUSED.
4258 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4260         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
4261         gcse dump file.
4263 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
4265         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
4266         (ASM_DECLARE_FUNCTION_NAME): Define.
4267         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
4268         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
4269         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
4270         not already defined.
4272 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4274         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
4275         of n_popped when call/call_value are not defined.
4277 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
4279         * tm.texi: GNU CC -> GCC conversion.
4280         (CC1_SPEC): Indicate it is used for all language front ends.
4282 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
4284         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
4285         NOTE_INSN_EH_REGION_END correctly.
4287 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
4288                           Jeff Law <law@cygnus.com>
4290         * loop.c (strength_reduce): Automatically unroll loops if the
4291         unrolled loop size is smaller than the rolled loop size.
4293         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
4294         and delete comment that code should be rewritten.
4296 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
4298         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
4299         as reachable.
4301         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
4303 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
4305         * fixinc/mkfixinc.sh: Don't fix uwin headers.
4306         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
4307         (LINK_SPEC): Add -u _main when building executables.
4308         (ASM_DECLARE_FUNCTION): Update from Cygwin.
4309         (ASM_FILE_END): Use the default for ix86-pe.
4310         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
4312 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
4314         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
4315         and ASM_CLOSE_PAREN are empty strings.
4317 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
4318                           Geoffrey Keating <geoffk@cygnus.com>
4320         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
4321         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
4322         (unprotoize.o): Ditto.
4323         (test-protoize-simple): Don't define STD_PROTO_DIR.
4324         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
4325         changes to make 'test-protoize-simple' pass.
4326         (STD_PROTO_DIR): Remove define.
4327         (STANDARD_EXEC_PREFIX): Supply default define.
4328         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
4329         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
4330         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
4331         (GET_ENV_PATH_LIST): New macro.
4332         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
4333         (do_processing): Initialize default_syscalls_dir using new
4334         macros.  Use it to initialize syscalls_absolute_filename.
4336 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
4338         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
4339         B into a register before emit_conditional_move.
4341 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
4343         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
4344         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
4345         multiplicand out of (+ (* a b) (* c d)).
4347 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
4348                           Richard Henderson  <rth@cygnus.com>
4350         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
4351         (new_insn_dead_notes): Likewise.
4352         (update_n_sets): Likewise.
4353         (update_flow_info): Move to flow.c, renamed to update_life_info;
4354         extend to handle multiple source insns.
4355         * flow.c: Include resource.h
4356         (unlink_insn_chain): New.
4357         (split_hard_reg_notes): New.
4358         (maybe_add_dead_note): New.
4359         (maybe_add_dead_note_use): New.
4360         (find_insn_with_note): New.
4361         (new_insn_dead_notes): New.
4362         (update_n_sets): New.
4363         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
4364         (maybe_remove_dead_notes): New.
4365         (update_life_info): New.
4366         (prepend_reg_notes): New.
4367         (replace_insns): New.
4368         * output.h (update_life_info): Declare.
4369         * recog.c (split_block_insns): Use update_life_info.
4370         * resource.c (find_free_register): Use reg_alloc_order, don't use
4371         fixed regs, make sure the mode is supported, don't use new regs.
4372         (reg_dead_p): New.
4373         * rtl.h (replace_insns): Declare.
4375 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
4377         * expr.c (expand_expr): Cope with COND_EXPRs with one
4378         non-returning branch.
4380 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
4382         * expr.c (store_expr): Always pass down the target, even when not
4383         doing CSE.
4385 1999-08-24  Nick Clifton  <nickc@cygnus.com>
4387         * configure.in: Define target_cpu_default for v850 targets.
4388         * configure: Regenerate
4390         * config/v850/v850.h (TARGET_CPU_generic): Define.
4391         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
4392         addresses are 4 byte aligned.
4394         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
4395         addresses.
4397 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4399         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
4400         (main): Add prototypes.
4402         * genattrtab.c (substitute_address, write_const_num_delay_slots,
4403         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
4404         (write_attr_get): Emit prototypes along with function definition.
4405         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
4406         (write_complex_function): Emit static prototype along with
4407         function definition.
4409         * genemit.c (gen_split): Emit prototypes along with function
4410         definition.
4412         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
4413         Likewise for predicates and `insn_operand_predicate'.
4414         (process_template): Emit static prototype along with function
4415         definition.
4417         * genrecog.c (make_insn_sequence): Constify a char*.  Add
4418         prototypes for get_split_*().
4419         (write_subroutine): Emit prototypes along with function
4420         definition.
4422 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4424         * gcse.c (find_avail_set): Follow chains of register-register copies.
4425         Use oprs_not_set_p to guarantee that the returned value can be
4426         substituted.
4427         (cprop_insn): Don't verify the return value of find_avail_set with
4428         oprs_not_set_p.
4430         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
4431         (cprop_cc0_jump): New function.
4432         (cprop_insn): Break out new function cprop_jump and use it.
4433         Also use cprop_cc0_jump for machines with CC0.
4434         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
4436         * tree.h (current_function_calls_setjmp,
4437         current_function_calls_longjmp): Delete declarations.
4438         * dsp16xx.c: Include "function.h".
4439         * elxsi.c: Likewise.
4440         * gmicro.c: Likewise.
4441         * h8300.c: Likewise.
4442         * i370.c: Likewise.
4443         * m32r.c: Likewise.
4444         * mn10200.c: Likewise.
4445         * mn10300.c: Likewise.
4446         * ns32k.c: Likewise.
4447         * spur.c: Likewise.
4448         * v850.c: Likewise.
4450         * rtl.h (rtx_equal_function_value_matters): Declare.
4451         * toplev.c (rtx_equal_function_value_matters): Don't declare.
4452         * cse.c: Likewise.
4453         * function.c: Likewise.
4454         * emit-rtl.c: Likewise.
4456 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
4458         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
4459         call.
4461 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4463         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
4464         exactly.
4466 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
4468         * cpp.texi: Add a node documenting macro varargs (copied
4469         from extend.texi).
4471 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
4473         * cppspec.c: Put a null pointer at the end of the new argv.
4475 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
4477         * configure.in: Remove code to select/de-select the haifa
4478         scheduler.  Every scheduled port gets haifa now.
4479         * configure: Rebuilt.
4480         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
4481         * sched.c Deleted.
4482         * Makefile.in: Corresponding changes.
4484 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4486         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
4487         All callers changed.
4488         (prepare_float_lib_cmp): Likewise.
4489         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
4490         * expr.h (emit_float_lib_cmp): Delete declaration.
4491         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
4492         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
4493         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
4494         specially.
4495         (cmptf): Now conditional on TARGET_HARD_QUAD.
4497 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
4499         * resource.c (mark_target_live_regs): Use
4500         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
4502 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4504         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
4506         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
4508         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
4510 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4512         * rtl.h (rtx_format): Constify a char*.
4514         * rtl.c (rtx_format): Likewise.
4515         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
4516         (init_rtl): Use accessor macro, not `rtx_format'.
4518         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
4519         char*.
4521         * caller-save.c (mark_referenced_regs): Likewise.
4523         * combine.c (subst, make_compound_operation, known_cond,
4524         gen_rtx_combine, update_table_tick, get_last_value_validate,
4525         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
4527         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
4528         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
4529         count_reg_usage): Likewise.
4531         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
4532         Likewise.
4534         * final.c (leaf_renumber_regs_insn): Likewise.
4536         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
4537         dump_edge_info, count_reg_references): Likewise.
4539         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
4540         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
4541         Likewise.
4543         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
4544         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
4545         add_label_notes): Likewise.
4547         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
4548         clear_struct_flag, count_sub_rtxs, count_alternatives,
4549         compares_alternatives_p, contained_in_p, walk_attr_value,
4550         write_expr_attr_cache): Likewise.
4552         * genconfig.c (walk_insn_part): Likewise.
4554         * genemit.c (max_operand_1, gen_exp): Likewise.
4556         * genextract.c (walk_rtx): Likewise.
4558         * genflags.c (num_operands): Likewise.
4560         * genoutput.c (scan_operands): Likewise.
4562         * genpeep.c (match_rtx): Likewise.
4564         * genrecog.c (add_to_sequence): Likewise.
4566         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
4567         Likewise.
4569         * integrate.c (save_constants, copy_for_inline,
4570         copy_rtx_and_substitute, subst_constants, restore_constants):
4571         Likewise.
4573         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
4574         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
4576         * local-alloc.c (contains_replace_regs, memref_referenced_p):
4577         Likewise.
4579         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
4580         add_label_notes, replace_call_address, count_nonfixed_reads,
4581         invariant_p, find_single_use_in_loop, find_mem_givs,
4582         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
4583         Likewise.
4585         * print-rtl.c (reg_names, print_rtx): Likewise.
4587         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
4589         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
4590         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
4591         print_blocks): Likewise.
4593         * regclass.c (fix_register, record_address_regs,
4594         reg_scan_mark_refs): Likewise.
4596         * regmove.c (stable_but_for_p): Likewise.
4598         * reload.c (loc_mentioned_in_p, operands_match_p,
4599         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
4600         copy_replacements, refers_to_regno_for_reload_p,
4601         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
4602         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
4603         Likewise.
4605         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
4606         delete_address_reloads_1, count_occurrences,
4607         reload_cse_mem_conflict_p, reload_combine_note_use,
4608         add_auto_inc_notes): Likewise.
4610         * resource.c (mark_referenced_resources, mark_set_resources):
4611         Likewise.
4613         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
4614         reg_mentioned_p, regs_set_between_p, modified_between_p,
4615         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
4616         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
4617         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
4618         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
4620         * sched.c (sched_analyze_2, attach_deaths): Likewise.
4622         * stupid.c (stupid_mark_refs): Likewise.
4624         * unroll.c (remap_split_bivs): Likewise.
4626         * varasm.c (mark_constants): Likewise.
4628         * a29k/a29k.c (uses_local_reg_p): Likewise.
4630         * alpha/alpha.c (summarize_insn): Likewise.
4632         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
4633         eliminate_lr2ip): Likewise.
4635         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
4637         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
4638         reg_mentioned_in_mem): Likewise.
4640         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
4641         symbolic_reference_mentioned_p): Likewise.
4643         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
4645         * sh/sh.c (regs_used, mark_use): Likewise.
4647         * vax/vax.c (vax_rtx_cost): Likewise.
4649 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4651         * machmode.h (mode_name): Constify a char*.
4653         * rtl.c (mode_name): Likewise.
4655         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
4657         * optabs.c (init_libfuncs): Constify a char*.
4659         * print-tree.c (mode_name): Remove redundant declaration.
4660         (print_node): Use accessor macro, not `mode_name'.
4662         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
4663         not `mode_name'.
4664         (new_spill_reg): Constify a char*.
4666         * tree.c (mode_name): Remove redundant declaration.
4668 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4670         * rtl.c (rtx_name): Constify a char*.
4672         * rtl.h (rtx_name, fix_sched_param): Likewise.
4674         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
4675         (mypr): Use accessor macro, not `rtx_name'.
4677         * genemit.c (print_code): Constify a char*.
4679         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
4681         * genpeep.c (print_code): Constify a char*.
4683         * genrecog.c (print_code): Likewise.
4685         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
4686         end_bb): Add static prototype.
4687         (draw_edge): Constify a char*.
4688         (end_bb): Remove unused parameter.
4690         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
4691         print_block_visualization): Constify a char*.
4693 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
4695         * c-common.c (c_get_alias_set): Update comment.
4697 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4699         * linux.h (LIB_SPEC): Added.
4701 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4703         * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
4705 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
4707         * tree.c (expr_check): Fix typo in last change.
4709 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
4711         * rtl.def (NOTE): Change format to "iuu0n".
4712         (ADDR_DIFF_VEC): Change format to "eEee0".
4713         (ADDRESSOF): Change format to "eit".
4715         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
4716         (RTVEC_ELT): Change to match.
4717         (XVECEXP): Use XVEC and RTVEC_ELT.
4718         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
4719         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
4720         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
4721         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
4722         TRAP_CONDITION, TRAP_CODE): Use XEXP.
4723         (INTVAL): Use XWINT.
4724         (ADDRESSOF_DECL): Use XTREE.
4725         (SET_ADDRESSOF_DECL): Delete.
4726         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
4727         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
4728         ifdefed out since 2.6 at least.
4729         (gen_rtvec_vv): Delete prototype.
4731         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
4732         not rtunion.
4733         (copy_most_rtx): Handle 't' format letter.
4734         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
4735         (gen_rtvec_vv): Delete function.  All callers changed to use
4736         gen_rtvec_v instead.
4737         * print-rtl.c (print_rtx): Move special casing of NOTEs to
4738         the '0' format letter.
4740         * function.c (gen_mem_addressof): Don't use
4741         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
4742         instead.
4743         * integrate.c (copy_rtx_and_substitute): Likewise.
4744         Copy 't' slots with XTREE.
4745         (subst_constants): Treat 't' slots like '[swi]' slots.
4746         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
4747         * jump.c (rtx_equal_for_thread_p): Likewise.
4748         * rtlanal.c (rtx_equal_p): Likewise.
4749         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
4750         only four arguments.
4751         * gengenrtl.c (type_from_format): Provide correct types for
4752         'b' and 't' slots.
4755         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
4756         If a recent gcc is in use (always in stage2 and beyond), use
4757         statement expressions, so we don't make a function call unless
4758         the check fails.  Evaluate arguments exactly once.
4759         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
4760         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
4761         Delete.
4762         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
4763         they evaluate their arguments exactly once, irrespective of
4764         the compiler in use.
4766         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
4767         is used by the currently-enabled check macros.  This is:
4768         (tree_check_failed, tree_class_check_failed): For gcc.
4769         (tree_check, tree_class_check, cst_or_constructor_check,
4770         expr_check): For other compilers.
4772         * gencheck.c: Do not define any *_CHECK1 macros.
4774 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
4775                           Mark Mitchell <mark@codesourcery.com>
4777         * c-common.c (c_get_alias_set): Fix support for poitners and
4778         references.
4780 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
4782         * alias.c: Include tree.h.
4783         (nonlocal_reference_p, mark_constant_function): New functions.
4784         * flow.c (life_analysis): Call mark_constant_function.
4785         * rtl.h (mark_constant_function): Declare it.
4787 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
4789         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
4790         unrecognisable switches.
4792 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4794         * loop.c (recombine_givs): Set ix field after sorting.
4795         (recombine_givs): Remove bogus index / giv lockstep looping.
4797 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4799         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
4800         on CODE.
4801         (emit_store_flag_force): Use do_compare_rtx_and_jump.
4802         (do_cmp_and_jump): Formatting fixes.
4803         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
4804         do_compare_rtx_and_jump instead of compare_from_rtx.
4805         (do_compare_rtx_and_jump): New function; mostly copied from
4806         compare_from_rtx.
4807         (do_jump_for_compare): Delete.
4808         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
4809         MIN_EXPR.
4810         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
4811         of compare/do_jump_for_compare pairs.
4812         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
4813         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
4814         compare_from_rtx/do_jump_for_compare pairs.
4815         (do_jump_by_parts_equality): Likewise.
4816         (do_jump_by_parts_equality_rtx): Likewise.
4817         * expr.h (do_compare_rtx_and_jump): Declare.
4818         * optabs.c (prepare_cmp_insn): New function, contains most of the code
4819         that used to be in emit_cmp_insn.
4820         (cmp_available_p): New function.
4821         (prepare_operand): New function.
4822         (emit_cmp_and_jump_insn_1): New function, contains some code that used
4823         to be in emit_cmp_insn.
4824         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
4825         parameters to be pointers; don't emit final compare but modify some of
4826         the values pointed to by the args so the caller can perform the
4827         correct comparison.
4828         (expand_binop): Call emit_store_flag_force with signed forms of
4829         comparison code.
4830         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
4831         emit_jump_insn pair.
4832         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
4833         emit_cmp_and_jump_insn_1.  Call emit_queue.
4834         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
4835         arg.
4836         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
4837         jump sets cc0 before deleting it.
4838         * integrate.c (expand_inline_function): Likewise.
4839         * unroll.c (unroll_loop): Similar changes in several places.
4840         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
4841         before deleting it.
4843 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4845         * Makefile.in (insn-recog.o): Update dependencies.
4846         * genrecog.c (main): Make generated file include "function.h".
4848 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
4850         * cse.c (cse_insn): Call never_reached_warning when a jump is
4851         changed to be unconditional.
4852         * flags.h: Declare warn_notreached.
4853         * flow.c (delete_block): Call never_reached_warning when
4854         a block is deleted.
4855         * jump.c (delete_barrier_successors): Call never_reached_warning
4856         when we delete everything after a BARRIER.
4857         (never_reached_warning): New function.
4858         * rtl.h: Declare never_reached_warning.
4859         * toplev.c (warn_notreached): New variable.
4860         (lang_independent_options): Set warn_notreached
4861         when -Wunreachable-code.
4862         (compile_file): We need line numbers for -Wunreachable-code.
4864 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
4866         * haifa-sched.c (insn_unit): Fix typo on out of range test.
4867         * sched.c (insn_unit): Likewise.
4869 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
4871         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
4873 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
4875         * flow.c (create_edge_list): Use xmalloc, not malloc.
4877 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
4879         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
4880         C-style comments.  Do not lose the character before double slash.
4882 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
4884         * basic-block.h (struct edge_list): Stucture to maintain a vector
4885         of edges.
4886         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
4887          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
4888         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
4889         New function prototypes.
4890         * flow.c (create_edge_list): Function to create an edge list.
4891         (free_edge_list): Discards memory used by an edge list.
4892         (print_edge_list): Debug output showing an edge list.
4893         (verify_edge_list): Internal consistency check for an edge list.
4894         (find_edge_index): Function to find an edge index for a pred and succ.
4896 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
4898         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
4899         hashtable.
4901 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
4903         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
4905 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
4907         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
4909 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
4911         * toplev.c (rest_of_compilation): Allow machine dependent
4912         reorganisation pass to place information into the RTL dump
4913         file if it so wishes.
4915 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
4917         * explow.c (hard_function_value): Use VOIDmode instead of
4918         MAX_MACHINE_MODE.
4919         * stmt.c (expand_return): Likewise.
4920         * stor-layout.c (get_best_mode): Likewise.
4922         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
4923         emit call instead of emit_insn call.
4925 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
4927         * configure.in: Handle --disable/enable-win32-registry.
4928         * install.texi: Document --disable/enable-win32-registry.
4929         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
4930         (WIN32_REGISTRY_KEY): New macro.
4931         * prefix.c: Use to enable/disable win32-specific code.
4932         (lookup_key): Use versioned key.
4933         * configure: Regenerate.
4934         * config.in: Likewise.
4936 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
4938         * cpplib.c (read_line_number): New fn, split out of...
4939         (do_line): Here.
4941 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
4943         tree.c (lang_unsave_expr_now) : New.
4944         (unsave_expr_now): Call lang_unsave_expr_now.
4945         tree.h (lang_unsave_expr_now) : New.
4947 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
4949         * toplev.c (flag_new_exceptions): On by default.
4951 1999-08-13  Michael Meissner  <meissner@cygnus.com>
4953         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
4955 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
4957         * dwarfout.c (fundamental_type_code): Return FT_boolean for
4958         INTEGER_TYPE with precision==1, it's __java_boolean.
4960 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4962         * global.c (prune_preferences): Move some invariants out of the
4963         inner loop.
4965 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
4967         * configure.in (alpha*-dec-osf*): Add osf5.
4969 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
4971         * configure.in: Rework handling of ARM GNU/Linux slightly.
4972         (arm*-*-linux-gnuoldld): New target.
4973         * configure: Regenerate.
4974         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
4975         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
4976         * config/arm/linux-oldld.h: New file.
4977         * config/arm/linux-elf26.h: Don't include linux-elf.h.
4978         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
4979         Don't define.
4980         * config/arm/linux-elf.h (ASM_SPEC): Define.
4981         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
4982         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
4983         for 26-bit APCS and old linker.
4984         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
4985         `arm_elf'.
4986         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
4987         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
4988         don't define `arm' or `arm_elf'.
4989         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
4990         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
4992 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
4994         * rtl.texi: Fix typo.
4996 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
4998         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
5000 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
5002         * extend.texi (C++ Signatures): Remove node.
5003         * invoke.texi: Remove discussion of -fhandle-signatures,
5004         signature, sigof, __signature__, and __sigof__.
5006 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
5008         * Makefile.in (JAVAGC): Removed.
5010 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
5012         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
5014 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
5016         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
5018 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
5020         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
5021         a register that is already known to be a pointer.
5023 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
5025         * fixinc/inclhack.tpl: Only install assert.h conditionally.
5026         * fixinc/inclhack.sh: Regenerated.
5027         * fixinc/fixincl.sh: Regenerated.
5029 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
5031         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
5032         Fix documentation of -ansi flag to describe its C++ behavior.
5033         Remove bogus reference to GCC 2.9.
5035 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
5037         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
5038         note if it is non-NULL.
5040 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
5042         * except.h (eh_nesting_info): Add new structure defintion.
5043         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
5044         (reachable_handlers, update_rethrow_references): Add function
5045         prototypes.
5046         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
5047         a rethrow symbol instead of an integer exception region number.
5048         * flow.c (Make_edges): Use new exception nesting routines to determine
5049         which handlers are reachable from a CALL or asynchronous insn.
5050         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
5051         goto receivers.
5052         (delete_eh_regions): Update rethrow labels, and don't delete
5053         regions which are the target of a rethrow.
5054         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
5055         avoid overloading the SYMBOL_REF_USED flag.
5056         (rethrow_symbol_map): Use new rethrow_ref field.
5057         (rethrow_used): Use new rethrow_ref field.
5058         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
5059         of an integer.  Fix formatting.
5060         (output_exception_table_entry): Use new rethrow_ref field.
5061         (can_throw): Check for EH_REGION_NOTE before deciding
5062         whether a CALL can throw or not.
5063         (scan_region): Call rethrow_used() instead of accessing data structure.
5064         (update_rethrow_references): New function to make sure only regions
5065         which are still targets of a rethrow are flagged as such.
5066         (process_nestinfo): New static function to initialize a handler
5067         list for a specific region.
5068         (init_eh_nesting_info): New function to allocate and initialize
5069         the list of all EH handlers reachable from all regions.
5070         (reachable_handlers): New function to retrieve the list of handlers
5071         reachable from a specific region and insn.
5072         (free_eh_nesting_info): New function to dispose of a list of
5073         reachable handlers.
5075 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
5077         * flow.c (split_edge): Set JUMP_LABEL field.
5078         (commit_one_edge_insertion): Set head correctly for insert_before.
5079         When inserting insns, update insn block numbers if allocated.
5081 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5083         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
5084         retry_incomplete_types): Add static prototype.
5085         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
5086         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
5087         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
5088         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
5089         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
5090         Constify a char*.
5092         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
5093         dwarf2out_start_source_file, dwarf2out_line): Likewise.
5095 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5097         * output.h (assemble_name): Constify a char*.
5099         * varasm.c (UNIQUE_SECTION, assemble_start_function,
5100         assemble_variable, assemble_name): Likewise.
5102         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
5104         * arm/pe.c (arm_pe_unique_section): Likewise.
5106         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
5108         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
5110         * i386/interix.c (i386_pe_unique_section): Likewise.
5112         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
5114         * i386/winnt.c (i386_pe_unique_section): Likewise.
5116         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
5118         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
5120         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
5122         * pa/pa.c (output_call): Likewise.
5124         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
5126         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
5128         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
5129         Likewise.
5131         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
5132         Likewise.
5134         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
5136         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
5137         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
5139         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
5141 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5143         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
5145 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5147         * tree.h (lang_identify): Constify a char*.
5148         (print_error_function): Add extern prototype.  Constify a char*.
5150         * c-lang.c (lang_identify): Constify a char*.
5152         * objc/objc-act.c (lang_identify): Constify a char*.
5154 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5156         * genpeep.c (main): Make generated file include "function.h".
5157         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
5159 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5161         * Makefile.in: Update dependencies.
5162         * alias.c: Include "function.h"
5163         * c-decl.c: Likewise.
5164         * caller-save.c: Likewise.
5165         * calls.c: Likewise.
5166         * combine.c: Likewise.
5167         * cse.c: Likewise.
5168         * explow.c: Likewise.
5169         * final.c: Likewise.
5170         * global.c: Likewise.
5171         * graph.c: Likewise.
5172         * local-alloc.c: Likewise.
5173         * loop.c: Likewise.
5174         * optabs.c: Likewise.
5175         * profile.c: Likewise.
5176         * recog.c: Likewise.
5177         * regclass.c: Likewise.
5178         * regmove.c: Likewise.
5179         * reload.c: Likewise.
5180         * reorg.c: Likewise.
5181         * resource.c: Likewise.
5182         * sched.c: Likewise.
5183         * stupid.c: Likewise.
5184         * config/1750a/1750a.c: Likewise.
5185         * config/a29k/a29k.c: Likewise.
5186         * config/arc/arc.c: Likewise.
5187         * config/arm/arm.c: Likewise.
5188         * config/arm/thumb.c: Likewise.
5189         * config/c4x/c4x.c: Likewise.
5190         * config/clipper/clipper.c: Likewise.
5191         * config/convex/convex.c: Likewise.
5192         * config/fx80/fx80.c: Likewise.
5193         * config/i860/i860.c: Likewise.
5194         * config/m68k/m68k.c: Likewise.
5195         * config/m88k/m88k.c: Likewise.
5196         * config/mips/mips.c: Likewise.
5197         * config/pdp11/pdp11.c: Likewise.
5198         * config/pyr/pyr.c: Likewise.
5199         * config/romp/romp.c: Likewise.
5200         * config/sh/sh.c: Likewise.
5201         * config/tahoe/tahoe.c: Likewise.
5202         * config/vax/vax.c: Likewise.
5203         * config/we32k/we32k.c: Likewise.
5204         * config/sparc/sparc.c: Include "function.h".
5205         (mem_min_alignment): Test current_function rather than
5206         regno_pointer_align.
5207         * config/pa/pa.c: Likewise.
5208         (compute_frame_size): Delete declaration of
5209         current_function_outgoing_args_size.
5210         * config/arc/arc.h (current_function_varargs): Delete declaration.
5211         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
5212         declaration.
5213         * config/i370/i370.h (current_function_outgoing_args_size): Delete
5214         declaration.
5215         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
5216         current_function_uses_pic_offset_table.
5217         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
5218         of current_function_returns_pointer.
5219         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
5220         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
5221         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
5222         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
5223         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
5224         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
5225         * config/m88k/m88k.c: Include "function.h"
5226         (call_used_regs, current_function_pretend_args_size,
5227         current_function_outgoing_args_size, frame_pointer_needed): Delete
5228         declarations.
5229         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
5230         declaration.
5231         * config/mips/mips.h (current_function_calls_alloca): Delete
5232         declaration.
5233         * config/mn10200/mn10200.h (current_function_needs_context,
5234         rtx_equal_function_value_matters): Delete declarations.
5235         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
5236         flag_pic): Delete declarations.
5237         * config/pa/pa.h (current_function_pretend_args_size,
5238         current_function_decl): Delete declarations.
5239         * config/pa/som.h (current_function_varargs): Delete declaration.
5240         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
5241         declaration.
5242         * config/pyr/pyr.h (current_function_pretend_args_size,
5243         current_function_args_size, current_function_calls_alloca): Delete
5244         declarations.
5245         * config/sh/sh.h (current_function_varargs): Delete declaration.
5246         * config/sparc/sparc.h (current_function_outgoing_args_size,
5247         current_function_calls_alloca, current_function_decl): Delete
5248         declarations.
5249         * config/spur/spur.h (current_function_pretend_args_size,
5250         current_function_calls_alloca): Delete declarations.
5251         * config/v850/v850.c (current_function_outgoing_args_size): Delete
5252         declaration.
5253         * config/vax/vms.h (current_function_name): Delete declaration.
5254         * gcse.c: Include "function.h".
5255         (current_function_name, current_function_calls_setjmp): Delete
5256         declarations.
5257         * haifa-sched.c: Include "function.h".
5258         (forced_labels): Delete declaration.
5259         * jump.c: Likewise.
5260         * reg-stack.c: Likewise.
5261         * reload1.c: Likewise.
5262         * genemit.c (main): Make generated file include function.h.
5263         * genoutput.c (output_prologue): Likewise.
5265         * builtins.c (saveregs_value, apply_args_value): Delete variables.
5266         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
5267         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
5268         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
5269         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
5270         macros for some of them.
5271         (emit_filename, emit_lineno): Delete declarations.
5272         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
5273         regno_pointer_* variables through current_function.
5274         (gen_inline_header_rtx): Delete function.
5275         (save_emit_status): Delete function.
5276         (set_new_last_label_num): New function.
5277         (clear_emit_caches): New function.
5278         (restore_emit_status): Just clear last_labelnum and call
5279         clear_emit_caches.
5280         (get_last_insn_anywhere): Variable sequence_stack is now accessed
5281         through macro seq_stack.
5282         (add_insn_after): Likewise.
5283         (add_insn_before): Likewise.
5284         (remove_insn): Likewise.
5285         (pop_topmost_sequence): Likewise.
5286         (in_sequence_p): Likewise.
5287         (start_sequence_for_rtl_expr): Likewise.
5288         (start_sequence): Likewise, and likewise for
5289         sequence_rtl_expr/seq_rtl_expr.
5290         (push_topmost_sequence): Likewise.
5291         (end_sequence): Likewise.
5292         (init_virtual_regs): Now takes a "struct emit_status *" argument.
5293         All callers changed.  Store into that pointer instead of globals.
5294         (init_emit): Allocate emit elt of current_function.
5295         Changes for sequence_rtl_expr/sequence_stack renaming.
5296         Call clear_emit_caches instead of doing it in-line.
5297         Access regno_pointer_* variables through current_function.
5298         (init_emit_once) Don't clear sequence_stack.
5300         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
5301         Delete variables.
5302         (arg_pointer_save_area): Delete declaration.
5303         (finish_expr_for_function): Renamed from init_queue; no longer static.
5304         (init_expr): Don't call init_queue.
5305         (save_expr_status, restore_expr_status): Delete functions.
5306         (expand_expr): Changes to reflect new layout of struct function.
5307         Don't access current_function_check_memory_usage when current_function
5308         is 0.
5309         * expr.h (forced_labels, save_expr_regs, saveregs_value,
5310         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
5311         current_function_outgoing_args_size, current_function_arg_offset_rtx,
5312         current_function_uses_const_pool, function_call_count,
5313         current_function_uses_pic_offset_table, nonlocal_labels,
5314         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
5315         current_function_check_memory_usage, nonlocal_goto_handler_slots,
5316         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
5317         declarations.
5318         (finish_expr_for_function): Declare.
5319         * flags.h (current_function_has_nonlocal_label,
5320         current_function_has_nonlocal_goto, current_function_is_thunk,
5321         current_function_has_computed_jump): Delete declarations.
5322         * flow.c (forced_labels): Delete declaration.
5323         * function.c (current_function_pops_args,
5324         current_function_returns_struct, current_function_returns_pcc_struct,
5325         current_function_needs_context, current_function_calls_setjmp,
5326         current_function_calls_longjmp, current_function_has_nonlocal_label,
5327         current_function_has_nonlocal_goto, current_function_is_thunk,
5328         current_function_has_computed_jump, current_function_calls_alloca,
5329         current_function_contains_functions, current_function_returns_pointer,
5330         current_function_epilogue_delay_list, current_function_args_size,
5331         current_function_pretend_args_size, current_function_arg_offset_rtx,
5332         current_function_outgoing_args_size, current_function_varargs,
5333         current_function_stdarg, current_function_args_info, cleanup_label,
5334         current_function_name, current_function_uses_const_pool,
5335         current_function_instrument_entry_exit, current_function_return_rtx,
5336         current_function_uses_pic_offset_table, nonlocal_labels,
5337         current_function_internal_arg_pointer, current_function_cannot_inline,
5338         current_function_check_memory_usage, function_call_count,
5339         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
5340         nonlocal_goto_stack_level, return_label, save_expr_regs,
5341         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
5342         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
5343         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
5344         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
5345         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
5346         Delete variables.
5347         (push_function_context_to): Don't save them.  Don't call
5348         save_storage_status, save_emit_status or save_expr_status.
5349         (pop_function_context_from): Don't restore them.  Don't call
5350         restore_storage_status or restore_expr_status.
5351         (get_func_frame_size): New function.
5352         (get_frame_size): Use it.
5353         (assign_outer_stack_local): Reflect some member name changes in struct
5354         function.
5355         (put_reg_into_stack): Likewise.
5356         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
5357         seq_rtl_expr.
5358         (fixup_var_refs): Likewise.
5359         (fix_lexical_addr): Likewise.
5360         (trampoline_address): Likewise.
5361         (prepare_function_start): Clear field inlinable of current_function.
5362         (init_function_for_compilation): New function.
5363         (expand_dummy_function_end): New function.
5364         (expand_function_end): Call finish_expr_for_function.
5365         * function.h (struct emit_status): New; fields moved here from struct
5366         function and from global variables.  Add accessor macros for some of
5367         the fields.
5368         (struct expr_status): Likewise.
5369         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
5370         (struct function): Add fields expr and emit, inlinable, inl_emit,
5371         original_arg_vector, original_decl_initial, inl_last_parm_insn,
5372         inl_max_label_num.  Add many comments.
5373         Add accessor macros for all elts of struct function that no longer
5374         have a global variable.
5375         (cleanup_label, return_label, frame_offset, tail_recursion_label,
5376         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
5377         stack_slot_list): Delete declarations.
5378         (get_func_frame_size): Declare.
5379         (save_expr_status, restore_expr_status, save_emit_status,
5380         save_storage_status, restore_storage_status): Delete declarations.
5381         (init_virtual_regs): Declare.
5382         * output.h (current_function_pops_args,
5383         current_function_returns_struct, current_function_returns_pcc_struct,
5384         current_function_needs_context, current_function_calls_setjmp,
5385         current_function_calls_longjmp, current_function_calls_alloca,
5386         current_function_has_nonlocal_label, current_function_varargs,
5387         current_function_has_computed_jump, current_function_returns_pointer,
5388         current_function_contains_functions, current_function_args_size,
5389         current_function_pretend_args_size, current_function_stdarg,
5390         current_function_outgoing_args_size, current_function_args_info,
5391         current_function_name, current_function_return_rtx,
5392         current_function_epilogue_delay_list,
5393         current_function_uses_const_pool, current_function_cannot_inline):
5394         Delete declarations.
5395         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
5396         regno_reg_rtx): Delete declaration.
5397         (REGNO_POINTER_FLAG): Delete macro.
5398         * stmt.c (expand_goto): Changes to reflect that some fields in struct
5399         function were renamed.
5400         * stor-layout.c (save_storage_status, restore_storage_status): Delete
5401         functions.
5402         * toplev.c: Include "function.h".
5403         (current_function_decl): Delete declaration.
5404         (compile_file): Call init_dummy_function_start and
5405         expand_dummy_function_end around some initializations that need to
5406         emit rtl.
5407         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
5408         Call init_function_for_compilation.
5409         * unroll.c: Include "function.h"
5410         (unroll_loop): Access regno_pointer_* variables through
5411         current_function.
5413         * tree.h (struct tree_decl): Add elt f to saved_insns member.
5414         (DECL_SAVED_INSNS): use it.
5415         (expand_dummy_function_end): Declare.
5416         (init_function_for_compilation): Declare.
5417         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
5418         that it's no longer an INLINE_HEADER.
5419         (expand_call): Likewise.
5420         * integrate.c (finish_inline): Delete function.
5421         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
5422         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
5423         args.  Don't generate an INLINE_HEADER rtx, just return the arg
5424         vector.  All callers changed.
5425         (save_for_inline_copying):  Create a duplicate struct emit_status to
5426         hold the emit state for compiling the current function.  Use this and
5427         the other new fields in struct function that are for integration
5428         instead of an INLINE_HEADER.
5429         Use memcpy instead of bcopy.
5430         Store the current struct function in DECL_SAVED_INSNS of fndecl.
5431         (save_for_inline_nocopy): Similar changes, except no new emit_status
5432         is needed here.
5433         (expand_inline_function): Get information from function structure,
5434         not from an inline header rtx.
5435         (output_inline_function): Lose code to extract the necessary
5436         information from an inline header; simply put back the function
5437         structure into current_function.  Clear its inlinable elt.
5438         * rtl.def (INLINE_HEADER): Delete.
5439         * rtl.h: Delete all accessors for an INLINE_HEADER.
5440         (gen_inline_header_rtx): Delete declaration.
5441         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
5442         Delete declarations.
5443         (REGNO_POINTER_ALIGN): Delete.
5444         (clear_emit_caches): Declare.
5445         (set_new_last_label_num): Declare.
5447 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
5449         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
5451         * except.c (expand_eh_region_start_for_decl): Always start a new block.
5452         * stmt.c (is_eh_region): Make sure current_function is present, too.
5454 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
5456         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
5457         for 64bit PA targets.
5459         * pa.h (SELECT_SECTION): Define.
5460         * som.h (SELECT_SECTION): Delete.
5462 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5464         * alias.c (init_alias_analysis): Wrap call to
5465         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
5467 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
5469         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
5470         <sys/asm.h> contains an asm comment with an apostrophe
5471         * fixinc/inclhack.sh:  regen
5472         * fixinc/fixincl.x:  regen
5474 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
5476         * function.c (init_function_start): Clear prologue & epilogue.
5477         (prologue_epilogue_contains): New function.
5478         * alias.c (init_alias_analysis): Use it.
5479         * rtl.h (prologue_epilogue_contains): Declare it.
5481 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
5483         * jump.c (onlyjump_p): New function.
5484         * rtl.h: Declare it.
5485         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
5486         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
5488 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
5490         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
5491         to invert loops.  Simplify block scanning.
5493 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
5495         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
5496         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
5498 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
5500         * config/sparc/liteelf.h: New file to support sparclite-elf target
5501         * config/sparc/t-sp86x: New file to support sparc86x targets
5502         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
5503         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
5504         * configure.in: Support above target triplets
5505         * configure: Regenerated
5507 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
5509         * fixinc/server.c (server_setup): Do not prefix function used as
5510         parameter with `&'.
5512 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
5514         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
5515         Remove fp reg alternatives.
5517 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
5519         * Makefile.in (TAROUTOPTS): Kill.
5520         (install-headers-tar): Use "xpf" for tar headerfile extraction
5521         * i370/x-oe (TAROUTOPTS): Delete.
5522         * m68k/x-apollo68 (TAROUTOPTS): Delete.
5523         * m68k/x-hp320 (TAROUTOPTS): Delete.
5524         * m68k/x-hp320g (TAROUTOPTS): Delete.
5525         * gcc.texi: Update bug reporting text.
5527 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5529         * reg-stack.c (change_stack) Fixed problem with negative array index.
5531 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
5533         * extend.texi, install.texi: Fix spelling mistakes.
5535         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
5536         (s-attrtab); No longer try to use pre-made insn-attrtab file.
5537         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
5538         PREMADE_ATTRTAB_MD.
5539         * mips/t-ecoff: Likewise.
5540         * mips/t-elf: Likewise.
5541         * mips/t-mips: Likewise.
5542         * mips/t-osfrose: Likewise.
5543         * mips/t-r3900: Likewise.
5544         * mips/t-svr3: Likewise.
5545         * mips/t-svr4: Likewise.
5546         * mips/t-ultrix: Likewise.
5548         * gcc.texi: Document recommend means to provide software floating
5549         point libraries in libgcc.a
5551 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
5553         * c-lex.c (yylex): We can have a number with no digits.
5555 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
5557         * jump.c (delete_prior_computation): New function, broken
5558         out of delete_computation.  Check for side effects with
5559         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
5560         multi-word hard registers.
5561         (delete_computation): Use it.  Check for side effects with
5562         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
5563         missing REG_DEAD note for a register which is both set and
5564         used by an insn.
5566 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
5568         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
5569         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
5570         (ASM_FILE_START): Import _mcount with the right type.
5571         (ASM_DECLARE_FUNCTION_NAME): Define.
5572         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
5573         * pa.c (output_function_prologue): Always emit the function's label
5574         here.
5575         * pa.h (TEXT_SPACE_P): Define.
5576         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
5577         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
5578         * som.h (TEXT_SPACE_P): Delete.
5579         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
5580         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
5582 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
5584         * expr.c (emit_group_load): Allow src to be a CONCAT.
5586 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5588         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
5589         (___mulsi3): Use '!' comment character.
5591 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5593         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
5595 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
5597         * gcc.c: Update URLs and mail addresses.
5598         * gcc.texi: Likewise.
5600 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
5602         * rs6000.c (current_file_function_operand): Return zero for
5603         weak functions.
5604         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
5605         weak symbols.
5606         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
5607         for weak symbols.
5609 Thu Aug  5 00:56:30 1999  Geoffrey Keating   <geoffk@cygnus.com>
5611         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
5612         allocate space in the stack frame for the PIC register.
5614 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
5616         * m68k.md (xordi3, anddi3): These patterns are not available on
5617         the coldfire.
5619 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
5621         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
5622         (PUT_REAL): Likewise.
5624 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5626         * final.c (shorten_branches): Don't add an alignment for loops
5627         that have no label inside.
5629 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5631         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
5632         prototypes in macro HAVE_cmpstrsi.
5634         * cpplib.c (cpp_get_token): Remove unused label `op3'.
5636         * emit-rtl.c (operand_subword): Remove unused variable
5637         `bits_per_word'.
5639         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
5641         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
5643 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
5645         * cpphash.c (macroexpand): Delete leading whitespace when arg
5646         is concatenated before.
5647         (unsafe_chars): Correct test for whether + and - can extend a
5648         token.
5650         * cppinit.c (cpp_start_read): Do dependencies for
5651         -include/-imacros files also.
5653         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
5654         tokenizing non-directive lines.
5655         (cpp_expand_to_buffer): Temporarily disable no-output mode.
5656         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
5657         the input file.
5659 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
5661         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
5663         * c-lex.c: Sync with C++ frontend.
5664         (linemode): New variable.
5665         (parse_float): imag, conversion_errno, and type are output only.
5666         (yylex): Adjust.  Move initial '.' case into main switch.
5667         Use linemode.
5668         (handle_generic_pragma): Just deal with tokens.
5669         (readescape): Use ISXDIGIT and ISGRAPH.
5670         * c-parse.in: Add END_OF_LINE token.
5672         * c-lex.c (lang_init): Generalize.
5673         (nextchar): Remove.  Replace uses with UNGETC.
5674         (skip_white_space): Handle linemode here.  Optimize for cpplib.
5675         (skip_white_space_on_line): Remove.
5676         (extend_token_buffer_to): New fn.
5677         (extend_token_buffer): Use it.
5678         (read_line_number, check_newline): Just deal with tokens.
5679         (token_getch, token_put_back): New fns.
5680         (yylex): Use them.  More cpplib optimizations.  Simplify.
5682 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
5683                           Jason Merrill  <jason@yorick.cygnus.com>
5685         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
5686         (consume_string): Make this smart about USE_CPPLIB.
5687         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
5688         (yylex): Rewrite to be intelligent about USE_CPPLIB.
5689         Also, clean up cases where we redundantly set token_buffer[0].
5690         (read_line_number): New fn.
5691         (ignore_escape_flag): New variable.
5693 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
5695         * a29k/t-a29kbare: Fix some comments.
5696         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
5697         (FPBIT, DPBIT): Define.
5698         * a29k/t-vx29k: Likewise.
5699         * arc/t-arc: Likewise.
5700         * arm/t-arm-elf: Likewise.
5701         * arm/t-bare: Likewise.
5702         * arm/t-pe: Likewise.
5703         * arm/t-pe-thumb: Likewise.
5704         * arm/t-semi: Likewise.
5705         * arm/t-thumb: Likewise.
5706         * arm/t-thumb-elf: Likewise.
5707         * arm/t-thumb-linux: Likewise.
5708         * h8300/t-h8300: Likewise.
5709         * i960/t-i960: Likewise.
5710         * i960/t-vxworks960: Likewise.
5711         * m32r/t-m32r: Likewise.
5712         * mips/t-ecoff: Likewise.
5713         * mips/t-elf: Likewise.
5714         * mips/t-r3900: Likewise.
5715         * pa/t-pro: Likewise.
5716         * rs6000/t-aix43: Likewise.
5717         * rs6000/t-beos: Likewise.
5718         * rs6000/t-newas: Likewise.
5719         * rs6000/t-ppccomm: Likewise.
5720         * rs6000/t-rs6000: Likewise.
5721         * rs6000/t-winnt: Likewise.
5722         * rs6000/t-xnewas: Likewise.
5723         * rs6000/t-xrs6000: Likewise.
5724         * sh/t-sh: Likewise.
5725         * sparc/t-elf: Likewise.
5726         * sparc/t-sparcbare: Likewise.
5727         * sparc/t-sparclite: Likewise.
5728         * sparc/t-splet: Likewise.
5729         * v850/t-v850: Likewise.
5730         * mn10200/t-mn10200: Fix comments.
5731         * mn10300/t-mn10300: Likewise.
5733         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
5734         dummy operand.  Allocate a new pseudo for the dummy operand.
5735         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
5737         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
5739 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
5741         * configure: Rebuilt.
5742         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
5744 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
5746         * recog.c (preproces_constraints): Zero recog_op_alt before
5747         processing the constraints.
5749         * arm.c (typedef minipool_node): Renamed from pool_node.
5750         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
5751         (add_minipool_constant): New function.
5752         (dump_minipool): New function.
5753         (find_barrier): Remove special case for getting the insn size of
5754         an insn that references the constant pool.
5755         (minipool_fixup): New structure.
5756         (push_minipool_barrier): New function.
5757         (push_minipool_fix): New function.
5758         (note_invalid_constants): New function.
5759         (add_pool_constant, dump_table, fixit, broken_move): Delete.
5760         (arm_reorg): Rewrite code to fix up the constant pool into a
5761         series of mini-pools embedded in the insn stream.
5762         (arm_output_epilogue): New function, made mainly from the body
5763         of output_func_epilogue.
5764         (output_func_epilogue): Move insn generation part of epilogue code
5765         to arm_output_epilogue.
5766         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
5767         * arm.md (pool_range): New attribute.
5768         (zero_extendqidi2): Add attribute pool_range.
5769         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
5770         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
5771         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
5772         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
5773         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
5774         (epilogue): New expand.
5775         (epilogue_insn): New insn.  Call arm_output_epilogue.
5777         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
5778         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
5780 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
5782         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
5784 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
5786         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
5788 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
5790         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
5792 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
5794         * global.c: Fix comment.
5796 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
5798         * gcc.c (access_check): New static function.
5799         (find_a_file): Use it when searching a directory list.
5800         * collect2.c (find_a_file): Don't accept directories found when
5801         searching a directory list.
5803 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
5805         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
5806         function parameters with `&'.
5807         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
5809 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
5811         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
5812         or tidy_fallthru_edge if the last insn in the block is not
5813         an unconditional jump or a simple conditional jump.
5815 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5817         * Makefile.in (c-decl.o): Depends on defaults.h.
5819 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
5821         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
5822         PA1.1 and above.
5823         (CLASS_MAX_NREGS): Likewise.
5825 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
5827         * cse.c (cse_insn): Fix dumb thinko in last change.
5829 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5831         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
5832         "const char *".
5834 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
5836         * dwarf2out.c (add_location_or_const_value_attribute): Correct
5837         test for sizes of passed and declared parameter types.
5839 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5841         * fixincludes: Fix the return type of bsearch, char* -> void*.
5843         * fixinc/inclhack.def: Likewise.
5845 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
5847         * invoke.texi (-fdump-translation-unit): New option.
5849 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
5851         * expr.h (PROMOTE_PROTOTYPES): Move ...
5852         * defaults.h: ... to here.
5853         * c-decl.c: Include defaults.h instead of expr.h.
5854         * c-typeck.c: Include defaults.h.
5856 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
5858         * toplev.h (errorcount): Declare.
5859         (warningcount): Likewise.
5860         (sorrycount): Likewise.
5861         * c-lex.c (errorcount): Don't declare.
5862         * dwarf2out.c (errorcount): Don't declare.
5864 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
5866         * config/libgloss.h: Add a note discouraging use with ELF.
5867         * configure.in: Don't use libgloss.h for ELF targets.
5868         Always use_collect2 on a.out targets.
5870 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
5872         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
5873         (force_to_mode, case ASHIFTRT): Add shiftrt label.
5875 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5877         * loop.c (strength_reduce): When doing biv->giv conversion, update
5878         reg note of NEXT->insn.
5880 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
5882         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
5884 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
5886         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
5887         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
5888         Ensure expr.h is included.
5889         * c-typecheck.c (convert_arguments): Ditto.
5891         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
5893         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
5894         * config/convex/convex.h: Ditto.
5895         * config/dsp16xx/dsp16xx.h: Ditto.
5896         * config/fx80/fx80.h: Ditto.
5897         * config/gmicro/gmicro.h: Ditto.
5898         * config/i370/i370.h: Ditto.
5899         * config/i386/i386.h: Ditto.
5900         * config/m32r/m32r.h: Ditto.
5901         * config/m68k/m68k.h: Ditto.
5902         * config/m88k/m88k.h: Ditto.
5903         * config/mips/mips.h: Ditto.
5904         * config/pa/pa.h: Ditto.
5905         * config/pyr/pyr.h: Ditto.
5906         * config/tahoe/tahoe.h: Ditto.
5907         * config/we32k/we32k.h: Ditto.
5909         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
5910         based on arch size.
5912         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
5914         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
5915         from comment.
5917         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
5919 1999-08-02  Richard Henderson  <rth@cygnus.com>
5921         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
5922         for the register spill block.
5923         (m32r_va_arg): New.
5924         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
5925         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
5927         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
5928         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
5929         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
5931 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
5933         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
5934         MAX_WCHAR_TYPE defined in sparc.h.
5935         * config/sparc/linuxaout.h: Likewise.
5936         * config/sparc/linux64.h: Likewise.
5937         Also default to -mvis if CPU is UltraSPARC.
5939 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
5941         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
5942         (RTX_OK_FOR_OLO10): Likewise.
5943         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
5944         %lo(), allow it in addresses...
5945         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
5946         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
5947         does not make sense.
5948         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
5949         (sparc_output_scratch_registers): New function.
5950         (output_function_prologue, sparc_flat_output_function_prologue): Use
5951         it.
5952         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
5953         defined.
5954         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
5955         * configure.in: Add check for .register pseudo-op support in as and
5956         check for offsetable %lo().
5957         * acconfig.h: Add templates for the above checks.
5958         * configure: Regenerate.
5960 1999-08-02  Richard Henderson  <rth@cygnus.com>
5962         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
5963         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
5964         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
5966 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5968         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
5969         reg_biv_class.
5971 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
5973         * config/float-sparc.h: New file.
5974         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
5975         sparc-*-linux-gnu and sparc64-*-linux*.
5977 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5979         * rs6000.c (rs6000_va_list): Type is an array.
5980         (rs6000_va_start): Don't doubly adjust for varargs.
5981         (rs6000_va_arg): Evaluate long long GPR adjustment.
5983 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
5985         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
5986         -maix64 and -maix32.
5987         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
5988         LINK_SPEC): Change appropriately.
5989         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
5990         (u_short_cint_operand): Likewise.
5991         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
5992         for 64-bit hosts.
5993         * rs6000/t-aix43 (MULTILIB): Change to -m64.
5995         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
5997 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
5999         * rs6000/rs6000.c (num_insns_constant_wide): Correct
6000         for type promotion.
6001         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
6002         (non_add_cint_operand): Likewise.
6003         (logical_operand): Likewise.
6004         (non_logical_cint_operand): Likewise.
6005         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
6006         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
6007         (rs6000_select_rtx_section): Suppress warning.
6008         (small_data_operand): Suppress warning.
6009         (rs6000_got_register): Suppress warning.
6010         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
6011         type, so `J' is generally the wrong constraint for a SImode value;
6012         use `L' instead.
6013         (andsi3_internal2): Likewise.
6014         (andsi3_internal3): Likewise.
6015         (iorsi3_internal1): Likewise.
6016         (xorsi3_internal1): Likewise.
6017         (movsi): Likewise.
6018         (movsf_softfloat): Likewise.
6019         (scc insns): Likewise.
6020         (movsi+2): Preserve sign bits of SImode constant.
6021         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
6022         (movdf+1): Sign-extend properly.
6023         (movdi_32+1): Sign-extend properly.
6024         (scc insns): Sign-extend properly.
6026         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
6027         K, L, and T.
6029 1999-08-02  Richard Henderson  <rth@cygnus.com>
6031         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
6032         -mcpu parsing code.
6033         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
6034         * alpha.md (all fp insns): Likewise.
6036 1999-08-02  Nick Clifton  <nickc@cygnus.com>
6038         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
6039         already defined.
6041 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
6043         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
6044         pic_load_label generator directly.
6045         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
6046         No longer a named pattern.
6048 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
6050         * explow.c (force_reg): Call force_operand if X does not
6051         satisfy general_operand.
6053 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
6055         * fix-header.c (main): When testing for CONTINUED, use string
6056         equality, not pointer equality.
6058 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
6060         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
6062 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
6064         * cse.c (cse_insn): Fix loop which deletes insns after a jump
6065         that has become an unconditional jump.
6067         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
6068         (output_function_epilogue): Similarly.
6070 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6072         * tree.h (init_dummy_function_start): Declare.
6074 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6076         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
6077         last_expr_type, last_expr_value, block_start_count, block_stack,
6078         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
6079         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
6080         dynamically in stmt elt of struct function for each function.
6081         (struct nesting): Rename function_call_count elt to n_function_calls,
6082         target_temp_slot_level to block_target_temp_slot_level.  All users
6083         changed.
6084         (struct stmt_status): New structure definition.
6085         Add many accessor macros for stmt_status elements which previously
6086         were global variables.
6087         (init_stmt_for_function): Allocate stmt elt for current_function.
6088         Reflect that block_start_count was renamed to
6089         current_block_start_count.
6090         (save_stmt_status, restore_stmt_status): Delete functions.
6091         (preserve_subexpressions_p): Don't access loop_stack when outside
6092         a function.
6093         (expand_start_bindings): Reflect that block_start_count was renamed to
6094         current_block_start_count.
6095         (expand_fixup): Likewise.
6096         (expand_decl): Don't access block_stack when outside a function.
6097         (expand_decl_cleanup): Likewise.
6098         (expand_dcc_cleanup): Likewise.
6099         (expand_dhc_cleanup): Likewise.
6100         (expand_anon_union_decl): Likewise.
6101         (set_file_and_line_for_stmt): New function.
6102         (in_control_zone_p): New function.
6104         * function.h (struct function): Add new elt stmt.
6105         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
6106         case_stack, nesting_stack, nesting_depth, block_start_count,
6107         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
6108         emit_lineno, goto_fixup_chain.
6109         (save_eh_status, restore_eh_status, save_stmt_status,
6110         restore_stmt_status): Delete declarations.
6111         * function.c (push_function_context_to): Don't call save_stmt_status.
6112         (pop_function_context_to): Don't call restore_stmt_status.
6113         * tree.h (in_control_zone_p): Declare.
6114         * rtl.h (set_file_and_line_for_stmt): Declare.
6116         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
6117         call set_file_and_line_for_stmt.
6119 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
6121         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
6122         Also update copyright.
6124 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6126         * c-pragma.c: Don't include "except.h".
6127         * emit-rtl.c: Likewise.
6128         * stor-layout.c: Likewise.
6129         * tree.c: Likewise.
6130         * varasm.c: Likewise.
6132         * flow.c: Include "function.h".
6133         * tree.h (init_dummy_function_start): Declare new function.
6135         * except.h (struct eh_status): New structure.
6136         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
6137         been included.
6138         (eh_return_stub_label, ehstack, catchstack, ehqueue,
6139         catch_clauses, false_label_stack, caught_return_label_stack,
6140         protect_list, current_function_ehc): Add accessor macros for the
6141         corresponding fields in current_function->eh; delete declarations
6142         for all items that used to be declared here.
6143         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
6144         catch_clauses, false_label_stack, caught_return_label_stack,
6145         protect_list, current_function_ehc): Delete variables.
6146         (init_eh_for_function): Allocate current_function->eh.
6147         (save_eh_status, restore_eh_status): Delete functions.
6149         * function.h (struct function): Add fields next_global and eh.
6150         Delete all exception handling related fields.
6151         * function.c (current_function): New variable.
6152         (all_functions): New variable.
6153         (push_function_context_to): Don't allocate a struct function,
6154         use current_function instead.  Call init_dummy_function_start when
6155         outside a function.  Clear current_function before returning.
6156         (pop_function_context_from): Restore current_function.
6157         Don't free the restored struct function.
6158         (prepare_function_start): New function.
6159         (init_dummy_function_start): New function.
6160         (init_function_start): Break out some code into prepare_function_start
6161         and call it here.
6163         * stmt.c (save_stmt_status): Don't call save_eh_status.
6164         (restore_stmt_status): Don't call restore_eh_status.
6166         * Makefile.in: Update dependencies.
6168 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
6170         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
6171         of depending on a magic constant value.  Update comments.
6172         (hppa_expand_prologue): Similarly.
6174         * pa.md (reload_indi, reload_outdi): Allow any register for the
6175         original reload register.
6177 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
6179         * cccp.c (print_help): Change marcos to macros.
6181 1999-07-30  Richard Henderson  <rth@cygnus.com>
6183         * c-typeck.c (initializer_constant_valid_p): Move ...
6184         * c-common.c (initializer_constant_valid_p): ... here.  Use
6185         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
6186         of label addresses.
6187         * c-common.h (initializer_constant_valid_p): Declare.
6188         * c-tree.h (initializer_constant_valid_p): Remove.
6190 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
6192         * config/i386/sol2-c1.asm: Align the stack.
6193         * config/i386/sol2-gc1.asm: Likewise.
6195 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
6197         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
6198         -Asparclite for sparc86x.
6199         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
6200         sparc86x.
6201         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
6203 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
6205         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
6206         the user if using the non-default arch size in BI_ARCH configuration.
6207         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
6209         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
6210         Fix patterns so that they actually match.
6211         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
6212         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
6213         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
6214         TARGET_HARD_MUL32.
6215         (mulsidi3): Reflect this in the expand.
6216         (smulsi3_highpart): Only on TARGET_ARCH32.
6217         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
6218         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
6219         (umulsidi3): Reflect this in the expand.
6220         (umulsi3_highpart): Only on TARGET_ARCH32.
6221         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
6222         don't require g0 to be zero.
6223         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
6224         ({,u}divsi3): New expands.
6225         ({,u}divsi3_sp64): New patterns.
6226         (after lshrdi3_v8plus): Four new patterns to help combiner
6227         optimizing nested mixed mode shifts.
6229         * config/sparc/sparc.c (sparc_override_options): Use deprecated
6230         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
6231         speed things up. Don't use them by default on plain v9 in 64bit
6232         mode, according to what SPAMv9 sais.
6234         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
6235         top 32 bits of %[og][0-7] in signal handlers.
6236         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
6238 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
6240         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
6241         (ashlsi3): Corresponding changes.
6243         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
6245 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
6247         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
6249 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6251         * arm.h (Hint): Delete macro.
6252         Substitute HOST_WIDE_INT for Hint in some prototypes.
6253         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
6255 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
6257         * builtins.c (expand_builtin_setjmp): Use force_operand to
6258         make sure that the buffer address is in a suitable form to be
6259         passed to force_reg.
6261 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
6263         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
6264         them here.
6266 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
6268         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
6269         proper mode in the condition string.
6270         (icacheflush, dcacheflush): Remove modes from match_operands.
6272         * pa.c (emit_move_sequence): Always convert scratch_reg to the
6273         proper mode before using it.
6275         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
6276         pair.
6278         * pa.c (store_reg): Do not call add_high_const generator directly.
6279         (load_reg, set_reg_plus_d): Likewise.
6280         * pa.md (add_high_const): No longer a named pattern.
6282         * pa.c (legitimize_address): Consistently use Pmode rather than
6283         SImode.  Do not call gen_pic2_highpart directly anymore.
6284         * pa.md (pic2_highpart): No longer a named pattern.
6285         (pic2_lo_sum): Similarly.  Reformat to make more readable.
6287         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
6288         needed.
6290         * README: Update.
6292 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6294         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
6296 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
6298         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
6299         and tag the spill mems.
6300         (hppa_va_start): New.
6301         (hppa_va_arg): New.
6302         * pa.h (EXPAND_BUILTIN_VA_START): New.
6303         (EXPAND_BUILTIN_VA_ARG): New.
6305 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
6307         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
6308         and tag the spill mems.
6309         (mn10300_va_start): New.
6310         (mn10300_va_arg): New.
6311         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
6312         (EXPAND_BUILTIN_VA_ARG): New.
6314 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
6316         * mn10200.c (mn10200_va_arg): New.
6317         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
6319 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
6321         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
6322         rather than play with TREE_INT_CST_LOW.
6324 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
6326         * config/arm/telf.h: Include dbxelf.h.
6327         (CPP_PREDEFINES): Only define if not already defined.
6328         (ASM_IDENTIFY_GCC): Likewise.
6329         (SUBTARGET_EXTRA_SECTIONS): Likewise.
6330         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
6331         * config/arm/thumb.h (LINK_SPEC): Only define if not already
6332         defined.
6333         (DBX_DEBUGGING_INFO): Don't define.
6334         * config/arm/linux-telf.h: New file.
6335         * config/arm/linux-tgas.h: New file.
6336         * config/arm/t-thumb-linux: New file.
6337         * config/arm/uclinux-elf.h: New file.
6338         * config/arm/uclinux-telf.h: New file.
6339         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
6340         thumb-*-uclinux): New targets.
6341         * configure: Regenerate.
6343 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
6345         * pa.md (post_store, pre_load): New expanders.
6346         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
6347         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
6348         need to directly generate RTL for them.
6349         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
6350         changes.
6352 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
6354         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
6355         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
6356         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
6357         (secndary_reload_class): Make TARGET_ELF conditional compile.
6358         (print_operand_address): Similar.
6359         (output_toc): Print all values as hex.
6360         (get_issue_rate): Rearrange and add RS64A and PPC630.
6361         * rs6000.h (processor_type): Add RS64A and PPC630.
6362         (PROCESSOR_POWERPC64): New.
6363         (PROMOTE_MODE): Use word_mode.
6364         (RTX_COSTS): Add RS64A and PPC630.
6365         * rs6000.md (scheduling information): Add lmul and ldiv
6366         representing 64-bit integer multiply and divide.  Add rs64a and
6367         PPC630 information.
6368         (ashldi3): Add support for "rldic" instruction.
6369         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
6371 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
6373         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
6374         instead of V8 for sparclite86x in cpu_table.
6376 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6378         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
6379         output_file_directive.
6381 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
6383         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
6384         tree for op1, not the rtl.
6386 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
6388         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
6389         to m88k_va_start, leaving only the register spill.
6390         (m88k_build_va_list): New.
6391         (m88k_va_start): New.
6392         (m88k_va_arg): New.
6393         * m88k.h (BUILD_VA_LIST_TYPE): New.
6394         (EXPAND_BUILTIN_VA_START): New.
6395         (EXPAND_BUILTIN_VA_ARG): New.
6397 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
6399         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
6400         Rename from expand_builtin_saveregs.
6401         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
6403 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
6405         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
6406         for the register spill block.
6407         (i960_build_va_list): New.
6408         (i960_va_start): New.
6409         (i960_va_arg): New.
6410         * i960.h (BUILD_VA_LIST_TYPE): New.
6411         (EXPAND_BUILTIN_VA_START): New.
6412         (EXPAND_BUILTIN_VA_ARG): New.
6413         * i960.md (store_multiple): Use change_address on individul mems.
6415 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
6417         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
6418         an ARRAY_TYPE.
6419         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
6420         (expand_builtin_va_end): Evaluate arg for side effects.
6421         * c-common.c (c_common_nodes_and_builtins): Construct a
6422         va_list_arg_type_node to handle array decomposition to pointer.
6424 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
6426         * except.c (start_dynamic_cleanup): Use force_operand on the
6427         buffer's address.
6429 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
6431         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
6432         * c4x.c (c4x_va_arg): New.
6434 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
6436         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
6437         has manual_pop set.
6439 1999-07-26  Nathan Sidwell  <nathan@acm.org>
6441         * eh-common.h (__eh_matcher): Prototype correctly.
6443 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
6445         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
6446         (TARGET_SINGLE_PIC_BASE): Likewise.
6447         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
6448         definitions.
6449         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
6450         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
6451         (TARGET_OPTIONS): Add -mpic-register=N.
6452         (OUTPUT_INT_ADDR_CONST): New macro.
6453         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
6454         LEGITIMATE_PIC_OPERAND_P): Likewise.
6455         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
6456         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
6457         output_addr_const directly.
6458         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
6459         ARM port.
6460         (thumb_pic_register, thumb_pic_register_string): Declare.
6462         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
6463         from arm.c.
6464         (label_mentioned_p): New function: Imported from arm.c.
6465         (legitimize_pic_address): New function: Imported from arm.c.
6466         (is_pic):New function: Imported from arm.c.
6467         (thumb_finalize_pic):New function: Imported from arm.c.
6468         (add_constant): Cope with PIC constants.
6469         (fixit): Cope with PIC constants.
6470         (output_return): Do not treat the PIC register as live if
6471         TARGET_SINGLE_PIC_BASE is true.
6472         (thumb_function_prologue): Do not treat the PIC register as live if
6473         TARGET_SINGLE_PIC_BASE is true.
6474         (thumb_expand_prologue): Do not treat the PIC register as live if
6475         TARGET_SINGLE_PIC_BASE is true.
6476         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
6477         TARGET_SINGLE_PIC_BASE is true.
6478         (thumb_print_operand): Accept '|'.
6479         (thumb_override_options): Process PIC options.
6481         * config/arm/thumb.md (movsi): Support PIC.
6482         (call_insn): Change "i" constraint to "X".
6483         (call_value_insn): Likewise.
6484         (consttable_4, consttable_8, consttable_end): Set and clear
6485         "making_const_table" as appropriate.
6486         (pic_load_addr, pic_add_dot_plus_four): New insns.
6488         * invoke.texi (Thumb Options): Fix spelling.  Document new
6489         options -msingle-pic-base and -mpic-register=.
6491 1999-07-26  Andrew Haley  <aph@cygnus.com>
6493         * config/m32r/initfini.c (__init): Use a full word immediate for
6494         __fini: this allows it to be placed in any memory region.
6496         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
6497         -mmodel=medium.  This is OK for all memory models.
6499 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
6501         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
6502         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
6504 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
6506         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
6507         defined.
6509         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
6511 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
6513         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
6514         (BUILD_VA_LIST_TYPE): New.
6515         (EXPAND_BUILTIN_VA_START): New.
6516         (EXPAND_BUILTIN_VA_ARG): New.
6517         * i860.c (output_delayed_branch): Disable.
6518         (output_delay_insn): Likewise.
6519         (i860_saveregs): New.
6520         (i860_build_va_list): New.
6521         (i860_va_start): New.
6522         (i860_va_arg): New.
6523         * i860.md: Disable all peepholes using output_delayed_branch.
6524         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
6526 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
6528         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
6529         (BUILD_VA_LIST_TYPE): New.
6530         (EXPAND_BUILTIN_VA_START): New.
6531         (EXPAND_BUILTIN_VA_ARG): New.
6532         * clipper.c (clipper_builtin_saveregs): Only dump registers.
6533         Return the address of the save area.
6534         (clipper_build_va_list): New.
6535         (clipper_va_start): New.
6536         (clipper_va_arg): New.
6538 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
6540         * arc.h (EXPAND_BUILTIN_VA_START): New.
6541         (EXPAND_BUILTIN_VA_ARG): New.
6542         * arc.c (arc_setup_incoming_varargs): Set alias set of
6543         varargs save area.
6544         (arc_va_start): New.
6545         (arc_va_arg): New.
6547 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
6549         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
6550         (BUILD_VA_LIST_TYPE): New.
6551         (EXPAND_BUILTIN_VA_START): New.
6552         (EXPAND_BUILTIN_VA_ARG): New.
6553         * alpha.c (alpha_builtin_saveregs): Delete.
6554         (alpha_build_va_list): New.
6555         (alpha_va_start): New.
6556         (alpha_va_arg): New.
6558 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
6560         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
6561         column zero.
6562         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
6563         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
6565         * gcc.texi: More changes related to list conversion.
6566         * invoke.texi: Likewise.
6568 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
6570         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
6571         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
6572         (expand_builtin_next_arg): Accept ARGLIST not EXP.
6573         (stabilize_va_list): New function.
6574         (std_expand_builtin_va_start): New function.
6575         (expand_builtin_va_start): New function.
6576         (get_varargs_alias_set): New function.
6577         (std_expand_builtin_va_arg): New function.
6578         (expand_builtin_va_arg): New function.
6579         (expand_builtin_va_end): New function.
6580         (expand_builtin_va_copy): New function.
6581         (expand_builtin): Call them.
6582         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
6583         __builtin_{varargs_start,stdarg_start,end,copy}.
6584         (build_va_arg): New function.
6585         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
6586         (build_va_arg): Declare.
6587         * c-decl.c (ptr_type_node, va_list_type_node): New.
6588         * c-parse.gperf (__builtin_va_arg): New.
6589         * c-parse.in (VA_ARG): New token.
6590         (unary_expr): Recognize it.
6591         * expr.c (expand_expr): Expand VA_ARG_EXPR.
6592         * expr.h (std_expand_builtin_va_start): Declare.
6593         (std_expand_builtin_va_arg): Declare.
6594         (expand_builtin_va_arg): Declare.
6595         (get_varargs_alias_set): Declare.
6596         * tree.def (VA_ARG_EXPR): New.
6597         * tree.h (BUILT_IN_VARARGS_START): New.
6598         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
6599         (ptr_type_node, va_list_type_node): Declare.
6600         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
6601         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
6602         * m88k.h, m88k.c: Likewise.
6603         * mn10300.h, mn10300.c: Likewise.
6604         * pa.h, pa.c: Likewise.
6605         * rs6000.h, rs6000.c: Likewise.
6606         * sh.h, sh.c: Likewise.
6607         * sparc.h, sparc.c: Likewise.
6609         * emit-rtl.c (operand_subword): Copy alias set.
6610         (change_address): Likewise.
6612 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
6614         * pa.c (compute_frame_size): Scan all the used callee saved registers,
6615         not just the first one.
6617 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
6619         * config/arm/arm.h (TARGET_SWITCHES): Add
6620         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
6621         (TARGET_OPTIONS): Add -mpic-register=.
6622         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
6623         (arm_pic_register_string): Declare.
6624         (NEED_PLT_GOT): Delete, replace with ...
6625         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
6626         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
6627         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
6628         * config/arm/arm.c (arm_override_options): Add new option
6629         -mpic-register=N.
6630         (arm_pic_register_string): New variable.
6631         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
6632         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
6633         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
6634         (output_return_instruction): Likewise.
6635         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
6636         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
6637         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
6639         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
6640         mention of -msched-prolog.  Document new options -msingle-pic-base
6641         and -mpic-register=.
6643 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
6645         * haifa-sched.c (reemit_notes): Tidy.
6646         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
6647         haifa's routine.
6649 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
6651         * explow.c (trunc_int_for_mode): New function.
6652         (plus_constant_wide): Use it.
6653         * combine.c (simplify_and_const_int): Likewise.
6654         (merge_outer_ops): Likewise.
6655         (simplify_shift_const): Likewise.
6656         * cse.c (simplify_unary_operation): Likewise.
6657         (simplify_binary_operation): Likewise.
6658         * emit-rtl.c (operand_subword): Likewise.
6659         * rtl.h: Declare it.
6661 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6663         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
6664         (use NUM_REGS instead of NUM_INTS).
6666 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6668         * builtins.c: New file.
6669         * expr.c (saveregs_value, apply_args_value):  Delete definition,
6670         moved into builtins.c.
6671         (string_constant): No longer static.
6672         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
6673         apply_args_size, apply_result_size, result_vector,
6674         expand_builtin_apply_args, expand_builtin_apply,
6675         expand_builtin_return): Delete functions, moved into builtins.c.
6676         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
6677         * expr.h (saveregs_value, apply_args_value): Declare variables.
6678         (expand_builtin, string_constant): Declare functions.
6679         * Makefile.in: Update to build builtin.o.
6681 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
6683         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
6684         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
6685         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
6686         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
6687         false.
6688         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
6689         Define to zero.
6691 1999-07-21  Michael Meissner  <meissner@cygnus.com>
6693         * print-rtl.c (print_rtx): Print the names of the virtual
6694         registers.
6696 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
6698         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
6699         introduced in previous delta.
6701 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6703         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
6704         to avoid name clash.
6706 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
6708         * c-lex.c (yylex) : Correct the test for overflow when lexing
6709         integer literals.
6711 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
6713         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
6714         (adjust_priority): Always call ADJUST_PRIORITY.
6715         (schedule_insn): Only put insns into the ready at cost 0.
6716         (schedule_block): Remove redundant initial sort.  Give clock_var
6717         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
6718         is not 0.
6719         * tm.texi (MD_SCHED_REORDER): Update docs.
6721         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
6722         * sparc.c (ultra_reorder_called_this_block): Delete.
6723         (ultrasparc_sched_init): Don't set it.
6724         (ultrasparc_sched_reorder): Don't check it.
6726 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
6728         * rs6000.h (struct rs6000_args): Add sysv_gregno.
6729         * rs6000.c (init_cumulative_args): Init sysv_gregno.
6730         (function_arg_boundary): Align DFmode.
6731         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
6732         to get fp reg and stack overflow correct.
6733         (function_arg): Likewise.
6734         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
6735         (setup_incoming_varargs): Restructure for ABI_V4; use
6736         function_arg_advance to skip final named argument.
6737         (expand_builtin_saveregs): Properly unskip the last integer arg
6738         when doing varargs.  Adjust overflow location calculation.
6740         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
6741         explicitly unsigned.
6742         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
6743         (__VA_GP_REGSAVE): Similarly.
6744         (__va_longlong_p): Delete.
6745         (__va_arg_type_violation): New declaration.
6746         (va_arg): Restructure.  Flag promotion errors.  Align double.
6747         TFmode passed by reference.
6749         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
6750         in the HOST_BITS_PER_WIDE_INT > 32 case.
6752 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
6754         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
6756 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
6758         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
6759         * toplev.c (documented_lang_options): Add -fpreprocessed.
6760         * cpplib.h (struct cpp_buffer): Add preprocessed.
6761         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
6762         (cpp_start_read): Don't expand macros or emit an initial #line
6763         directive if -fpreprocessed.
6765 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
6767         * cpplib.h (struct cpp_buffer): Added manual_pop for
6768         better C++ tokenization.
6769         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
6770         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
6771         * c-common.c (cpp_token): Make non-static.
6773 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6775         * c-common.h: New file.
6776         * c-common.c (permanent_obstack): Delete unused declaration.
6777         (c_global_trees): New array.
6778         (c_common_nodes_and_builtins): New function; split off common code
6779         from init_decl_processing in both c-decl.c and cp/decl.c.
6780         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
6781         c_global_trees and accessor macros defined in c-common.h.
6782         Include c-common.h.
6783         * c-decl.c: Delete definitions for tree nodes that were replaced by
6784         c_global_trees.
6785         (init_decl_processing): Build void_list_node.
6786         Call c_common_nodes_and_builtins; delete code to generate the common
6787         builtins here.
6788         * objc/objc-act.c (build_module_descriptor): Rename variable
6789         void_list_node to avoid clash with c-common.h.
6791         * Makefile.in: Update dependencies.
6792         * objc/Make-lang.in: Likewise.
6794 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
6796         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
6797         (UNIQUE_SECTION_P): Likewise.
6798         (UNIQUE_SECTION): Likewise.
6800 1999-07-19  Linas Vepstas  <linas@linas.org>
6802         * config/i370/README: New file.
6803         * config/i370/linux.h: New file.
6804         * config/i370/mvs.h: New file.
6805         * config/i370/oe.h: New file.
6806         * config/i370/t-linux: New file.
6807         * config/i370/t-mvs: New file.
6808         * config/i370/t-oe: New file.
6809         * config/i370/x-oe: New file.
6810         * config/i370/xm-linux.h: New file.
6811         * config/i370/xm-mvs.h: New file.
6812         * config/i370/xm-oe.h: New file.
6814         * i370.c (label_node_t): Add first_ref_page, label_addr,
6815         label_first_ref, label_last_ref members.
6816         (mvs_need_base_reload): Renamed from mvs_label_emitted.
6817         (MAX_MVS_LABEL_SIZE): Define.
6818         (MAX_LONG_LABEL_SIZE): Define.
6819         (alias_node_t, alias_anchor, alias_number): New.
6820         (mvs_function_table): Reorder for EBCDIC.
6821         (ascebc, ebcasc): Unconditionally define.
6822         (i370_branch_dest, i370_branch_length): New functions.
6823         (i370_short_branch, i370_label_scan): New functions.
6824         (mvs_get_label): Renamed from mvs_add_label.  Search for
6825         an existing label before creating a new one.
6826         (mvs_add_label): New function.
6827         (mvs_get_label_page): New function.
6828         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
6829         over the entire list.
6830         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
6831         (mvs_check_page) [TARGET_ELF_ABI]: New function.
6832         (mvs_add_alias, mvs_need_alias): New functions.
6833         (mvs_get_alias, mvs_check_alias): New functions.
6834         (handle_pragma): New function.
6835         (mvs_function_check): New function.
6836         (unsigned_jump_follows_p): Search harder.
6837         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
6838         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
6839         * i370.h (TARGET_VERSION): Delete.
6840         (CPP_SPEC, CPP_PREDEFINES): Delete.
6841         (mvs_label_emitted): Delete.
6842         (TARGET_EBCDIC): Delete.
6843         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
6844         (HANDLE_PRAGMA): Define.
6845         (HARD_REGNO_NREGS): Handle complex modes.
6846         (HARD_REGNO_MODE_OK): Likewise.
6847         (CLASS_MAX_NREGS): Likewise.
6848         (RET_REG): Likewise.
6849         (EXTRA_CONSTRAINT): Define.
6850         (RETURN_IN_MEMORY): True for DImode.
6851         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
6852         (FUNCTION_PROFILER): Delete.
6853         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
6854         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
6855         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
6856         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
6857         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
6858         (ASM_FILE_START): Add "RMODE ANY".
6859         (ASM_OUTPUT_EXTERNAL): Check for aliases.
6860         (ASM_GLOBALIZE_LABEL): Likewise.
6861         (ASM_OUTPUT_LABELREF): Likewise.
6862         (ASM_OUTPUT_COMMON): Likewise.
6863         (PRINT_OPERAND): Handle 'K', 'W', default.
6864         (PRINT_OPERAND_ADDRESS): New.
6865         (Lots of defines): Add support for TARGET_ELF_ABI.
6866         * i370.md (attr length): New.  Define for all patterns.
6867         (*): Lots of tweeks to assembly output and constraints.
6869 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
6871         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
6872         Disable patterns performing SImode comparisons with SImode values
6873         if TARGET_POWERPC64 and instruction does not sign-extend or does
6874         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
6875         differ for signed quantities.
6876         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
6877         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
6878         (decrement_and_branch_on_count): Add 64-bit variant.
6880 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6882         * final.c (output_asm_insn): When searching for the matching string
6883         for a given dialect, don't run past the end of the list of
6884         alternatives if there are fewer alternatives in the template than
6885         dialects.
6887 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
6889         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
6890         Removed paragraph about compression of files and size limitation,
6891         duplicated in the FAQ.  Use gcc-patches for posting patches.
6892         * gcc.c (main): Updated URL with bug reporting instructions to
6893         gcc.gnu.org.  Removed e-mail address.
6894         * system.h (abort): Likewise.
6896 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6898         * Makefile.in (stmp-multilib-sub): Make the files extracted
6899         from $(LIBGCC1) writable.
6901 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
6903         * config/arm/aout.h: Reformat for improved readability.
6905         * config/arm/arm.h: Reformat for improved readability.
6906         Replace uses of fprintf with asm_fprintf where appropriate.
6907         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
6908         function declaration assembler actions.
6909         (NUM_INTS): New macro: Convert from bytes to words.
6910         (NUM_REGS): New macro: Compute number of registers required to
6911         hold a quanitity of tyep MODE.
6912         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
6913         types.
6914         (NUM_ARG_REGS): New macro: The number of argument registers
6915         available.
6916         (ARG_REGISTER): New macro: Compute the register number of the Nth
6917         argument register.
6918         (LAST_ARG_REGNUM): New macro: The number of the last argument
6919         register.
6920         (SP_REGNUM): New macro: Register number of the stack pointer.
6921         (FP_REGNUM): New macro: Register number of the frame pointer.
6922         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
6923         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
6924         CUMULATIVE_ARGS so that it counts registers not bytes.
6926         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
6927         TARGET_INTERWORK.
6928         Replace uses of fprintf with asm_fprintf where appropriate.
6929         (output_ascii_pseudo_op): Replace with version from thumb.c
6931         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
6933         * config/arm/elf.h (CPP_PREDEFINES): Replace with
6934         SUBTARGET_CPP_SPEC.
6935         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
6936         (ASM_FILE_START): Emit ASM_APP_OFF.
6938 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
6940         * pa.c (compute_frame_size): Round frame according to
6941         STACK_BOUNDARY rather than a hardwired value.
6943         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
6945         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
6946         of "1".
6947         * configure: Rebuilt.
6949         * configure.in (hppa*-*-linux*): New configuration.
6950         * configure: Rebuilt.
6951         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
6952         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
6953         * pa/pa-linux.h: New file.
6954         * pa/t-linux: New file.
6955         * pa/xm-linux.h: New file.
6957         * pa.c (hppa_legitimize_address): Change references from SImode to
6958         either Pmode or word_mode as appropriate.
6959         (emit_move_sequence, store_reg, load_reg): Likewise.
6960         (set_reg_plus_d, hppa_expand_prologue): Likewise.
6961         (output_mul_insn): Likewise.
6962         * pa.h (PROMOTE_MODE): Likewise.
6963         (INITIALZE_TRAMPOLINE): Likewise.
6964         (Pmode): Define to word_mode.
6966         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
6967         value of 4.  Allocate 8 bytes for each FP register save.
6968         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
6969         value of 4.
6970         (hppa_expand_prologue): Likewise.
6971         * pa.h (PROMOTE_MODE): Likewise.
6972         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
6973         (FUNCTION_ARG_BOUNDARY): Likewise.
6975         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
6977         * pa.c (out_of_line_prologue_epilogue): Delete.
6978         (override_options): Remove -mspace related code.
6979         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
6980         (compute_frame_size): Only allocate space for register that
6981         actually need to be saved.
6982         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
6983         (TARGET_SWITCHES): Remove -mspace, -mno-space
6984         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
6985         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
6986         * pa/ee.asm, pa/ee_fp.asm: Delete.
6988         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
6990         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
6991         directive in column zero.
6993 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
6995         * m68k.c (output_function_prologue): Fix computation of save mask
6996         when generating PIC code.
6998 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
7000         * tree.c (build_type_attribute_variant): Move current_obstack restore
7001         after build_qualified_type call.
7003 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
7005         * configure.in: Use t-iris6, even with GNU LD.
7006         * config/mips/iris6gld.h: Fix typo in linker spec.
7007         * config/mips/t-iris6gld: Remove.
7009 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
7011         * rs6000.md (insv, extzv): Remove SImode dependence in named
7012         patterns.  Explicitly generate DImode RTL if PowerPC64 and
7013         operand is DImode.
7014         (insvdi): Reverse start and size in instruction template.
7016 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
7018         * invoke.texi: Typo fixes.
7020 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
7022         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
7023         handle at this time instead of silently generating incorrect code.
7024         (gen_imagpart): Likewise.
7026         * reload.c (find_reloads): Emit a USE for a pseudo register without
7027         a hard register if we could not create an optional reload for the
7028         pseudo.
7030 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7032         * c-typeck.c (output_init_element, process_init_element):
7033         When advancing constructor_unfilled_fields for a RECORD_TYPE,
7034         check for nameless bit fields.
7036 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
7038         * regclass.c (scan_one_insn): Notice subregs that change the
7039         size of their operand.
7040         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
7042 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
7044         * configure.in (alpha*-*-*): Include alpha/t-ieee.
7045         * configure: Rebuilt.
7046         * alpha/t-ieee: New file.
7048 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
7050         * rs6000.c (find_addr_reg): Do not select r0 as an address
7051         register.
7053 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
7055         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
7057 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
7059         * rs6000.md (movsf): Do not force easy FP constants into memory.
7061         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
7062         immed_double_const to ensure they are properly truncated then
7063         sign extended.
7065 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
7067         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
7068         always unless NO_DEBUG is used.  Compile this code
7069         unconditionally.
7070         (replace_symbols_in_block): Compile it unconditionally.
7072 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
7074         * configure.in (i?86-*-elf*): New target.
7075         * configure: Rebuilt.
7076         * i386/i386elf.h, i386/t-i386elf: New files.
7078 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
7080         * toplev.c (main): Don't complain about saying -gdwarf.
7081         (rest_of_compilation): Remove redundant code.
7083 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
7085         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
7087 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
7089         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
7090         "Li960R:", to avoid name clash.
7092 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7094         * loop.c (check_dbra_loop): When reversing a loop, delete all
7095         REG_EQUAL notes referencing the reversed biv except those which are
7096         for a giv based on it.
7098 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
7100         * version.c: Drop "gcc-" prefix from version #.
7102 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
7104         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
7105         the label if we're being verbose.
7107 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
7109         * m68k.c (output_function_prologue): Add pic register to mask
7110         if live and flag_pic.
7111         (output_function_epilogue): Likewise.
7113 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
7115         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
7116         directives in column zero.
7118         * pa/elf.h (ASM_FILE_START): Define.
7119         * pa/som.h (ASM_FILE_START): Include .level directives.
7120         * pa/hpux10.h (ASM_FILE_START): Delete.
7121         * pa/hpux11.h (ASM_FILE_START): Delete.
7123         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
7125 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7127         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
7128         when reload_out equals reload_in.
7130 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
7132         * invoke.texi (Spec Files): New node: Describe the contents of
7133         spec files.
7135 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
7137         * invoke.texi (DEC Alpha Options): Put @end table at
7138         beginning of line, to avoid confusing texi2html.
7140 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
7142         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
7143         introduced in previous delta.
7145 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7147         * reload1.c (gen_reload): When synthesizing a 3 operand add
7148         sequence, improve test for when to reload OP1 into the reload
7149         register instead of OP0.
7151 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
7153         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
7155 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
7157         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
7158         string literal.
7160 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
7162         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
7163         (va_dcl): Use __builtin_va_alist_t.
7165 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
7167         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
7168         on the permanent_obstack.
7169         * dwarfout.c (output_type): Likewise.
7171 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
7173         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
7174         Merged from c-typeck.c and cp/typeck.c.
7175         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
7176         Merged into c-common.
7178 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
7180         * c-lex.c (errorcount): Declare it.
7181         (finish_parse): Update errorcount when using CPPLIB.
7183 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
7185         * fixinc/inclhack.def(end_else_label): Double the backslash so
7186         sed gets a chance to see it.
7187         * fixinc/inclhack.sh: regen
7188         * fixinc/fixincl.x: regen
7190 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
7192         Add framework to support armv5 architecture when it becomes
7193         available:
7195         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
7196         (arm_arch5): New variable.
7197         (all_architectures): Add armv5 line.
7198         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
7199         -march=armv5 is specified on the command line.
7200         (arm_arch5): Export this variable.
7201         * invoke.texi: Document new string accepted by -march= switch for
7202         ARM ports.
7204         * config/arm/arm.h: Replace use of constant 12 as a register
7205         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
7206         * config/arm/arm.c: Replace use of constant 12 as a register
7207         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
7209         * config/arm/elf.h: Tidy up.
7210         * config/arm/coff.h: Tidy up.
7212 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
7214         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
7215         * gcc/config/mips/t-iris6gld: New file.
7216         * gcc/config/mips/iris6gld.h: Likewise.
7218 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
7220         * c-decl.c (widest_integer_literal_type_node,
7221         widest_unsigned_literal_type) : New.
7222         (init_decl_processing): Handle/use the two new types.
7223         * c-common.c (type_for_size,type_for_mode) : Same.
7224         * c-lex.c (yylex) : Same.
7225         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
7226         Same.
7227         * c-tree.h (widest_integer_literal_type_node,
7228         widest_unsigned_literal_type) : New.
7230 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
7232         * dwarfout.c (field_byte_offset): Correctly compute the object's
7233         byte offset for the first bit of a field which crosses an alignment
7234         boundary on a !BYTES_BIG_ENDIAN target.
7236 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
7238         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
7239         ntohs.
7241 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
7242                           Jeff Law <law@cygnus.com>
7244         * ginclude/varargs.h (va_dcl): Use word_mode for type of
7245         __builtin_va_list.
7247         * except.c: Include intl.h.
7248         (expand_eh_return): Set current_function_cannot_inline.
7249         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
7250         * function.h (struct function): Add eh_return_stub_label.
7251         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
7252         * Makefile.in (except.o): Depend on intl.h.
7254 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
7256         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
7257         same as offsettable in cases 1 and 2.
7259 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
7261         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
7262         (extlh, extwh): Likewise.
7264 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
7266         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
7268 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
7270         * configure.in: Add arm-pe and thumb-pe targets.
7271         * configure: Regenerate.
7273         * thumb.c (arm_naked_function_p): New function: Determines if
7274         a function is naked (has no gcc generated prologue/epilogue).
7275         (is_called_in_ARM_mode): Return true if the func has the
7276         interfacearm attribute.
7277         (output_return): Do not generate a return for naked functions.
7278         (thumb_function_prologue): Do not generate a prologue for
7279         naked functions.
7280         (thumb_expand_prologue): Do not generate a prologue for naked
7281         functions.
7282         (thumb_expand_epilogue): Do not generate an epilogue for naked
7283         functions.
7284         (arm_valid_machine_decl_attribute): New function, copied from
7285         arm.c:  Permit naked and interfacearm attributes.
7287         * config/arm/pe.c: New file: Support code for arm-pe target.
7288         * config/arm/pe.h: New file: Header file for arm-pe target.
7289         * config/arm/tpe.h: New file: Header file for thumb-pe target.
7290         * config/arm/t-thumb-pe: New file: Makefile fragment for
7291         thumb-pe target.
7293 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
7295         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
7296         -fPIC or -fpic is specified.
7298 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
7300         * expr.c (emit_block_move): Use copy_to_mode_reg for
7301         !TARGET_MEM_FUNCTIONS case too.
7303         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
7304         appropriate.
7305         * configure: Rebuilt.
7306         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
7307         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
7308         definitions made redundant by dbxelf.h inclusion.  Delete
7309         lots of definitions related to assembly output that are
7310         specific to the SOM object format.
7311         * pa.c (output_function_prologue): Do not emit the function's
7312         name for OBJ_ELF.
7313         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
7314         * pa-pro.h: Deleted.
7315         * som.h: New file with SOM specific definitions.
7316         * elf.h: New file with ELF specific definitions.
7318         * elfos.h (const_section): Output a tab before assembler directives.
7319         (ctors_section, dtors_section): Likewise.
7320         (ASM_OUTPUT_SECTION_NAME): Likewise.
7322         * pa/pa1.h: Delete unused file.
7324 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
7326         * configure.in (hppa*-hp-hpux11*): New configuration.
7327         * configure: Rebuilt.
7328         * pa/pa-hpux11.h: New file.
7329         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
7330         command line.
7332         * mips.md (leasi, leadi): New patterns.
7334         * expr.c (emit_block_move): Properly handle case where one of the
7335         block move arguments has a queued increment or decrement.
7336         (clear_storage): Similarly.  Fix formatting goof.
7338 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
7340         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
7341         semicolon from the BSD VA_LIST replacement expression.
7343         * fixinc/inclhack.sh: regen
7344         * fixinc/fixincl.x: regen
7346         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
7347         now use the fixincl program.
7349 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
7351         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
7352         case.  Also make the PIC register call_used.
7354         * m68k.h (FINALIZE_PIC): Delete.
7355         * m68k.c (finalize_pic): Delete.
7357 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
7359         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
7360         to memory.
7362 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
7364         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
7366 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
7368         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
7370 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
7372         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
7374 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
7376         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
7378 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
7380         * rs6000.c (output_toc): Always use hex values for floating-point
7381         constants.  Store single-precision values in upper-half of TOC
7382         entry in 64-bit mode.
7383         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
7384         to final constraints.
7385         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
7386         (fctiwz): Improve accuracy of RTL for pattern.
7388 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
7390         * expr.c (expand_expr): Allow RTL_EXPR's through the
7391         MAX_INTEGER_COMPUTATION_MODE checks.
7393 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
7395         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
7396         such that MASK_SUPPORT_ARCH is not negative.
7398 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
7400         * loop.c (verify_dominator): Properly handle ADDR_VEC and
7401         ADDR_DIFF_VEC insns that appear inside loops.
7403 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
7404                           Jeff Law <law@cygnus.com>
7406         * rs6000.md (movdf_hardfloat32): Revert previous patch.
7407         Handle LO_SUM the same as offsettable in cases 1 and 2.
7408         * rs6000.c (find_addr_reg): Revert previous patch.
7410 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
7412         * system.h (strstr): New external function declaration.
7413         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
7414         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
7415         * config.in, configure: Rebuilt.
7417 1999-06-24  Tom Tromey  <tromey@cygnus.com>
7419         * gcc.c (main): Read user-specified specs files after computing
7420         additional startfile_prefixes.
7422 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
7424         Revert these two patches:
7426         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7427         * loop.c (strength_reduce): When doing biv->giv conversion, update
7428         reg note of NEXT->insn.
7430         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7431         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
7432         reg_biv_class.
7433         (recombine_givs): Set ix field after sorting.
7435 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7437         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
7438         for the parts of an UNSPEC / UNSPEC_VOLATILE.
7440 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
7442         *fixinc/inclhack.def:  Add fix development commentary
7443         (read_ret_type): reactivate and add selection clause
7444         (zzz_*): tweak output file name to match what is used in hackshell.tpl
7445         *fixinc/{fixincl.x|inclhack.sh}: regen
7447 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
7449         * expr.c (expand_expr): STRIP_NOPS before checking against
7450         MAX_INTEGER_COMPUTATION_MODE
7451         (check_max_integer_computation_mode): Likewise.
7453 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
7455         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
7457 1999-06-22  Jim Wilson  <wilson@cygnus.com>
7459         * expr.c (store_expr): When target is a promoted subreg, return a
7460         promoted subreg as a result.
7462 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
7464         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
7465         coding standards.
7466         (dwarf2out_define): Mark unused parameters appropriately.
7467         (gen_unspecified_parameters_die): Ditto.
7468         (gen_subprogram_die): Fix signed/unsigned warnings.
7469         (gen_variable_die): Ditto.
7471 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
7473         * fixinc/inclhack.def(end_else_label): combined else_label
7474         and endif_label and fixed the sed expression.
7475         *fixinc/{fixincl.x|inclhack.sh}: regen
7477 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
7479         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
7480         'x' when handling non-offsettable addresses
7482 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
7484         * final.c (shorten_branches): Don't try to split an insn that has
7485         been deleted.
7487 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
7489         * config/mips/mips.c (symbolic_expression_p): New function.
7490         (mips_select_rtx_section): Put symbolic expressions in the
7491         data section, not the read-only data section.
7493 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
7495         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
7497 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
7499         * collect2.c (main): Log frame table count.
7500         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
7501         (scan_prog_file) [COFF]: Handle frame tables.
7503         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
7504         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
7505         * alpha/elf.h: Undef them again.
7506         * alpha/vms.h: Remove their definitions.
7508 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7510         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
7511         remove the clobber of r0 and change the REG_UNUSED note to
7512         REG_INC.
7514 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
7516         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
7517         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
7518         fits in HOST_WIDE_INT and one uses union to access a long constant
7519         as double.
7521 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
7523         * sparc.c (sparc_override_options): Don't allow profiling for
7524         code models other than medlow.
7525         (sparc_function_profiler): New function from old FUNCTION_PROFILER
7526         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
7527         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
7528         (sparc_block_profiler): Likewise.
7529         (sparc_function_block_profiler_exit): Likewise.
7530         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
7531         (FUNCTION_BLOCK_PROFILER): Likewise.
7532         (BLOCK_PROFILER): Likewise.
7533         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
7534         (MCOUNT_FUNCTION): New.
7535         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
7536         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
7537         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
7538         (MCOUNT_FUNCTION): New.
7539         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
7540         (BLOCK_PROFILER): Delete.
7541         (MCOUNT_FUNCTION): New.
7543 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
7545         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
7547 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
7549         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
7550         Add the macros.
7552         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
7553         Ditto.
7555         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
7556         Ditto.
7558         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
7559         Ditto.
7561 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
7563         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
7564         types.
7566 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
7568         * i386/djgpp.h (LIB_SPEC): New.
7569         (STARTFILE_SPEC): New.
7571         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
7573 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
7575         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
7576         compiler flags.
7578         * system.h (WSTOPSIG): New macro.
7580 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
7582         * c-pragma.c (push_alignment): Don't ignore alignments greater than
7583         4 bytes.
7584         (insert_pack_attributes): Take into account member natural
7585         alignment.
7587         * i386/winnt.c (exports_head): New static variable.
7588         (i386_pe_record_exported_symbol): New function.
7589         (i386_pe_asm_file_end): Use.
7590         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
7591         symbols to be emitted at end of assembly.
7592         (ASM_DECLARE_OBJECT_NAME): Likewise.
7593         (ASM_DECLARE_FUNCTION_NAME): Likewise.
7595         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
7596         -iwithprefix.
7598 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
7600         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
7601         in last change.
7603 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
7605         * haifa-sched.c (sched_analyze_1): Use free_list instead of
7606         zapping reg_last_uses directly.
7607         (sched_analyze_2, sched_analyze_insn): Likewise.
7608         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
7610 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
7612         * rs6000.md (movdf_hardfloat32): Use worst case insn length
7613         attributes for cases 1 and 2.
7615 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
7617         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
7618         instead of set.
7620 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
7622         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
7624 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
7626         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
7627         PIC_OFFSET_TABLE_REGNUM for general alloaction.
7628         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
7629         must be stacked if it is used for PIC accesses.
7630         * arm.c (use_return_insn): Handle PIC register specially.
7631         (output_return_instruction): Likewise.
7632         (output_func_{prologue,epilogue}): Likewise.
7633         (output_expand_prologue): Likewise.
7635         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
7636         (*strsi_predec): Renamed from *strqi_predec.
7637         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
7638         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
7640         * arm.c (arm_override_options): Remove warning about PIC code
7641         not being supported.
7643 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
7645         * rs6000.c (find_addr_reg): New function.
7646         * rs6000.h (find_addr_reg): Declare.
7647         (offsettable_addr_operand): Delete.
7648         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
7649         from and stores to GPRs.
7651 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
7653         * alpha.c (alpha_expand_block_move): Use get_insns rather than
7654         gen_sequence as argument to emit_no_conflict_block.
7656 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
7658         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
7659         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
7660         *fixinc/fixincl.x: regen
7661         *fixinc/inclhack.sh: regen
7663 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
7665         * added support for -mpcrel (PC relative addressing for m68k)
7666         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
7667         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
7668         * m68k.c (print_operand_address): Handle 32-bit PIC case.
7669         (comments for general_src_operand): Add some explanation
7670         about EXTRA_CONSTRAINTS.
7671         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
7672         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
7673         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
7674         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
7675         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
7676         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
7677         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
7678         if not already set.
7679         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
7680         * m68k.h (TARGET_PCREL): New target flag.
7681         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
7682         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
7683         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
7684         contains a SYMBOL_REF.  Relax this constraint during reload, since
7685         we want to use the predicates, not reload's built-in concept of a
7686         valid memory address, to control what insns need reloading.
7687         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
7688         operands (essentially 'g', 'm', and 's' under normal circumstances).
7689         * m68k.c (print_operand): Cause printing of pc-relative addresses
7690         to include pc register.
7691         (print_operand_address): Ditto.
7692         (general_src_operand): Accept operands that are not only
7693         general_operands, but are also valid when used as a pc-relative
7694         source.
7695         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
7696         (memory_src_operand): Similar, for memory_operands.
7697         (pcrel_address): New predicate to accept the special case of a
7698         pc-relative address.
7699         * m68k.md (many patterns): Rewrite common SImode, HImode, and
7700         QImode insns to accept *_src_operand instead of *_operand where
7701         pc-relative operands can fit.  For example, a pc-relative operand
7702         can be used as a memory source operand for addsi3, but not as a
7703         memory destination.
7704         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
7706 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
7708         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
7709         .thumb_set pseudo op to mark aliases of thumb functions.
7711 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
7713         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
7714         preference to ASM_OUTPUT_DEF, if it is defined.
7716         * tm.texi: Document new, optional target macro
7717         ASM_OUTPUT_DEF_FROM_DECLS.
7719 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
7721         * fixincludes: ISCNTL patch
7722         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
7723         (dgux_int_varargs): new for DG/UX
7724         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
7726 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
7728         * invoke.texi (ia32 options): Fix typo.
7730 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7732         * loop.c (strength_reduce): When doing biv->giv conversion, update
7733         reg note of NEXT->insn.
7735 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
7737         * loop.c (move_movables): Note issues with replacing REGs with
7738         SUBREGs.
7739         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
7741 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
7743         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
7745         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
7746         the reference to `mcount' was not correct for the ELF on FreeBSD.
7748 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7750         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
7751         reg_biv_class.
7753         (recombine_givs): Set ix field after sorting.
7755 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
7757         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
7758         to safe to extract a subword out of a REG.
7760 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7762         * sh.md (mulsi3): Don't add a no-op move at the end.
7764 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7766         * cse.c (cse_insn): Don't put hard register source into tables for
7767         the last insn of a libcall.
7769 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7771         * loop.c (strength_reduce): Insert sets of derived givs at every
7772         biv increment, even if it's the only one.
7774 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
7776         * dwarfout.c (add_incomplete_type): New fn.
7777         (output_type): Call it.
7778         (retry_incomplete_types): New fn.
7779         (dwarfout_finish): Call it.
7781         From Eric Raskin <ehr@listworks.com>:
7782         (output_type): Output types for bases.
7784 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
7786         * mips.c (mips_output_conditional_branch): Add `break'
7787         between `default' label and `close braces'.
7789 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
7791         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
7792         specifications and make it realistic.
7793         (LIB_SPEC): Likewise.
7795 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
7797         * config/mips/mips.c (mips_secondary_reload_class): Check for
7798         (PLUS (SP) (REG)) and return appropriate register class.
7799         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
7800         Handle (PLUS (SP) (REG)).
7801         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
7802         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
7803         of emit_insn for tablejump.
7805 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
7807         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
7808         asm_fprintf format string by itself.
7809         (output_function_profiler): Likewise.
7811 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
7813         * combine.c (simplify_logical, case AND): Only call
7814         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
7815         or the constant is positive.
7817 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
7819         * configure.in: Fix typo in rs6000-ibm-aix4 case.
7820         * configure: Regenerate.
7822 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
7824         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
7825         require a sub-version #.
7826         * configure: Rebuilt.
7828 1999-06-14  Robert Lipe  (robertlipe@usa.net)
7830         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
7832 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
7834         * c-typeck.c (process_init_element): Detect excess elements in
7835         char array initializer.
7837 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7839         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
7841 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
7843         * invoke.texi (Option Summary): Add -fpermissive flag.
7845 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
7847         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
7848         that require PIC code sequences.
7850 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
7852         * configure.in: Add new target: thumb-elf.
7853         * configure: Regenerate.
7854         * config/arm/t-thumb-elf: New file: Makefile fragment for
7855         thumb-elf build.
7856         * config/arm/telf.h: New file: Header file for thumb-elf
7857         build.
7859 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
7861         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
7862         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
7863         initializers is some circumstances.
7865         * fixinc/inclhack.def (endif_label): Add additional selector for
7866         more bogus stuff after #endif statements.
7867         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
7869 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
7871         * i386/cygwin.h (SET_ASM_OP): Define.
7873 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
7875         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
7877 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7879         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
7880         latter.
7882         * sh.md (ic_invalidate_line_i): Remove second alternative.
7884 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
7886         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
7887         test for the presence of valid prototypes.  Delete bypass expr.
7888         (ioctl_fix_ctrl): Correct the selection expression.
7889         (no_double_slash): Correct quoting rules
7890         *fixinc/fixincl.x: regen
7891         *fixinc/inclhack.sh: regen
7893 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
7895         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
7897 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7899         * rs6000.md (movsi_got_internal_mem): Delete.
7900         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
7901         (GOT_TOC_REGNUM): Delete.
7902         (PIC_OFFSET_TABLE_REGNUM): Define.
7903         (FINALIZE_PIC): Disable.
7904         * rs6000.c (rs6000_got_register): New code for fixed pic register.
7905         (rs6000_replace_regno): Delete.
7906         (rs6000_finalize_pic): Likewise.
7907         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
7909 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7911         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
7912         is a note; use <= for the compare; advance P while it is
7913         a NOTE.
7915 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
7917         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
7918         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
7920         * varasm.c (remove_from_pending_weak_list): Verify t->name
7921         is non-NULL before passing it to strcmp.
7923 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
7925         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
7926         the typed arguments are not part of a comment
7927         (ioctl_fix_ctrl): Added a purpose comment
7928         *fixinc/fixincl.x: regenerate
7929         *fixinc/inclhack.sh: regenerate
7931 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7933         * invoke.texi: Add C4x invocation docs.
7935 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7937         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
7938         Define new macros.
7939         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
7940         TARGET_EXPOSE_LDP.
7941         (c4x_legitimize_reload_address): New function.
7942         * config/c4x/c4x.md: Update docs.
7944 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
7946         * fixincludes: Avoid removing '.'.
7947         * fixinc/fixinc.svr4: Likewise.
7948         * fixinc/fixinc.winnt: Likewise.
7949         * fixinc/inclhack.tpl: Likewise.
7950         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
7952 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7954         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
7955         pattern.
7956         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
7958 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
7960         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
7961         correctly.
7963 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
7965         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
7966         * configure: Regenerate.
7968 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
7970         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
7971         values.
7973 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
7975         * fixinc/inclhack.def (avoid_bool): Also catch
7976         "typedef [unsigned] int bool".
7977         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
7979         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
7980         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
7981         * configure: Rebuilt.
7983 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
7985         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
7986         such that we can override its definitions if necessary.
7987         (CPP_SPEC): New define.  Support processor specific predefines via
7988         %(cpp_cpu).
7989         (CC1_SPEC): New define.  Support processor specific compiler
7990         options via %(cc1_cpu).
7991         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
7992         -static.
7994 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7996         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
7997         between sed's -e flag, and the open-quote following it.
7998         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
8000 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
8001                           Jeffrey A Law  (law@cygnus.com)
8003         * varasm.c (assemble_start_function): Remove the function
8004         from the pending weak decls list when we define a function.
8005         (assemble_variable): Similarly for variables.
8006         (weak_finish): Ignore items on the list with a NULL name.
8007         (remove_from_ending_weak_list); New function to "remove" an item
8008         from the pending weak declarations list.
8010 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
8012         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
8014 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
8016         * c-lex.c (GETC): Redefine to call getch.
8017         (UNGETC): Redefine to call put_back.
8018         (putback_buffer): New structure type.
8019         (putback): New static structure.
8020         (getch): New function.
8021         (put_back): New function.
8022         (yylex): Replace unused bytes from bad multibyte character.
8024 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
8026         * cpplib.c (do_define): Cast `alloca' return value.
8027         (do_include, do_undef, do_pragma): Likewise.
8028         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
8029         values.
8030         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
8031         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
8033 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
8035         * sparc.md (abstf2): This should be an expand.
8036         (split after abstf2_notv9): Fix mode.
8037         (abstf2_hq_v9): New pattern.
8038         (abstf2_v9): Only use when no hard quad.
8039         (absdf2_v9): Fix if target is not the same as source.
8040         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
8041         Add correct output constraints.
8043 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
8045         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
8046         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
8048 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
8050         * mips.h (mips_output_conditional_branch): New function.
8051         (mips_adjust_insn_length): Likewise.
8052         (ASSEMBLER_SCRATCH_REGNUM): New macro.
8053         (ADJUST_INSN_LENGTH): Likewise.
8054         * mips.c (print_operand): Add `F' and `W' for floating-point
8055         comparison opcodes.
8056         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
8057         are now in bytes.
8058         (mips_adjust_insn_length): New function.
8059         (mips_output_conditional_branch): New function.
8060         * mips.md (length): Adjust attribute definition to handle
8061         conditional branches.   Change lengths to bytes, rather than
8062         instructions throughout.  Remove length attribute from
8063         instructions whose length is four bytes, and rely on the default
8064         instead.
8065         (dslot): Fix typo in comment.
8066         Reword conditional branch patterns to use
8067         mips_output_conditional_branch.
8069 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8071         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
8072         (LIB_SPEC): Likewise.
8073         Link with -lprof1_r for -g/-pg.
8075 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8077         * loop.c (check_dbra_loop): Fix change of Jan 19.
8079 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
8081         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
8082         (STARTFILE_SPEC):  Define, override the svr4.h version.
8083         (ENDFILE_SPEC):  Likewise.
8085 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
8087         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
8088         * fixinc/fixincl.x: Regenerated.
8089         * fixinc/inclhack.sh: Regenerated.
8091 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8093         * sh.c (barrier_align): Don't return early for normal branch/barrier
8094         when optimizing for SH2.
8096 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
8098         * i386/udk.h (LINK_SPEC): Correct linker search path for
8099         system libraries.
8101 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8103         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
8104         (braf_label_ref_operand): Delete.
8105         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
8106         * sh.md (casesi_jump_2): Operand1 is now the inside of a
8107         label_ref, and has no predicate.
8108         The patten has a predicate to guard against invalid substitutions.
8109         (dummy_jump): Delete.
8110         (casesi): Update use of casesi_jump_2.
8112 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
8114         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
8115         *fixinc/fixincl.x: regenerate
8116         *fixinc/inclhack.sh: regenerate
8118 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
8120         * dwarf2out.c (add_incomplete_type): New fn.
8121         (gen_struct_or_union_type_die): Call it.
8122         (retry_incomplete_types): New fn.
8123         (dwarf2out_finish): Call it.
8125 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
8127         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
8128         current block starts with a CODE_LABEL and ends with a CALL and
8129         we can not find all the argument setup instructions for the CALL.
8131 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
8133         Revert this change:
8134         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
8135         something is a candidate for optimize_bit_field_compare.
8137 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8139         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
8141 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
8143         * alpha.c (override_options): Thinko in last patch.
8145         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
8146         (LIB_SPEC): Recognize -pthread.
8148 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
8150         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
8151         definition in config/arm/coff.h
8152         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
8154 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
8156         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
8157         fixes that need "file=xxx\n" prepended before invocation
8158         (start_fixer - new): starting the fixer process is complex enough
8159         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
8160         (process): uses the new routine; omit usage of putenv()
8161         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
8162         * fixinc/fixincl.x: regenerate
8164 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
8166         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
8167         and version #s (1.1 -> 2.96) as needed.
8168         * README.g77: Kill way out of date file in the toplevel directory.
8170 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
8172         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
8173         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
8174         * configure: Rebuilt.
8175         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
8176         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
8177         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
8178         (SWITCH_TAKES_ARG): Likewise.
8179         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
8180         * config/t-freebsd: Moved from config/i386/ so it can used for all
8181         FreeBSD targets.
8183 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
8185         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
8187 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
8189         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
8190         * configure: Rebuilt.
8192 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
8194         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
8195         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
8196         * rs6000/rs6000.c (rs6000_file_start): Use putc.
8197         (rs6000_output_load_toc_table): Same.
8198         (output_prolog, output_mi_thunk): Same.
8199         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
8200         (ASM_GLOBALIZE_LABEL): Use putc.
8202 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
8204         * alpha.md (reload_*_help): New patterns and splitters.
8205         (reload_*): Use them.
8206         (mov[qh]i): Likewise.
8208 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
8210         * cccp.c (handle_directive): Handle backslash-newlines in quoted
8211         strings correctly.
8213 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
8215         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
8217 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
8219         * flow.c (mark_regs_live_at_end, insn_dead_p,
8220         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
8221         and HARD_FRAME_POINTER_REGNUM special treatment if reload
8222         hasn't run or the frame pointer is needed.
8223         * haifa-sched.c (attach_deaths): Likewise.
8224         * sched.c (attach_deaths): Likewise.
8226 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
8228         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
8229         calculate_can_reach_end returns nonzero.
8231         * configure.in (native gas tests): Search for an assembler in the
8232         same manner that the installed compiler will.
8233         * configure: Rebuilt.
8234         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
8236         * alias.c (find_base_term): Improve handling of addresses
8237         constructed from binary operations.
8239 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
8241         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
8243 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
8245         * function.h (cleanup_label, frame_offset): Declare.
8246         (tail_recursion_label, tail_recursion_reentry): Likewise.
8247         (arg_pointer_save_area, rtl_expr_chain): Likewise.
8248         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
8249         (tail_recursion_label, tail_recursion_reentry): Likewise.
8250         (arg_pointer_save_area, rtl_expr_chain): Likewise.
8252 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
8254         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
8255         defined.
8256         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
8257         (MAX_OFILE_ALIGNMENT): Define.
8259 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
8261         * fixincl.c: Replace local include scheme with #includes of
8262         gansidecl.h and system.h.
8263         * procopen.c:  Likewise.
8264         * server.c:  Likewise.
8266 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
8268         * i386/t-dgux (EXTRA_PARTS): Add crti.o
8269         (crti.o): Add build rule and dependencies.
8270         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
8272 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8274         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
8275         (LIB_LINUX_SPEC): Likewise.
8276         (LIB_LINUX_SPEC): Add support for -pthread
8277         (CPP_OS_LINUX_SPEC): Likewise.
8278         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
8279         specified.
8281 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
8283         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
8284         conditional move.
8285         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
8286         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
8287         for IEEE math and CC_FCOMI.
8288         (put_jump_code): No IEEE if CC_FCOMI is set.
8290 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8292         * fold-const.c (fold_truthop): Make the field reference unsigned
8293         when converting a single bit compare.
8295 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8297         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
8299 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
8301         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
8302         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
8303         version did.
8305         * reload.c (push_reload): Do not call remove_address_replacements
8306         when presented with identical optional reloads.
8308 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
8310         * alpha.h (MASK_FIX, TARGET_FIX): New.
8311         (MASK_*): Reorganize constants.
8312         (CPP_AM_FIX_SPEC): New.
8313         (TARGET_SWITCHES): Add FIX.
8314         (EXTRA_SPECS): Likewise.
8315         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
8316         (SECONDARY_MEMORY_NEEDED): Likewise.
8317         (REGISTER_MOVE_COST): Likewise.
8318         * alpha.c (override_options): Add FIX support.  Always use
8319         ALPHA_TP_PROG for ev6.
8320         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
8321         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
8322         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
8324 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
8326         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
8327         something is a candidate for optimize_bit_field_compare.
8329 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
8331         * gcc.texi (Passes): Document branch-shortening.
8332         * invoke.texi (Debugging Options): Document the fact that `-dp'
8333         outputs length information for instructions.
8335 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
8337         * flow.c: Revert previous delta.
8339 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
8341         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
8342         FRAME_POINTER_REGNUM.
8343         (mark_set_1): Ditto.
8344         (mark_used_regs): Ditto.
8346 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
8348         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
8349         (GOT_PCREL): New macro.  Define to 1 if not already defined.
8350         * arm/elf.h (GOT_PCREL): Define to 0.
8351         * arm.c (arm_finalize_pic): Take into account the setting of
8352         GOT_PCREL.
8354 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
8356         * output.h (STRIP_NAME_ENCODING): Provide default definition.
8357         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
8359         * flow.c (mark_set_1): Do not record BLKmode stores as dead
8360         store elimination candidates.
8362 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
8364         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
8365         TARGET_GAS.
8367 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
8369         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
8370         Add use of x-aix41-gld.
8372 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
8374         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
8375         (ASM_OUTPUT_DESTRUCTOR): Define.
8377 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
8379         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
8380         last CODE_LABEL in a loop if we have previously passed a jump
8381         to the top of the loop.
8383 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
8385         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
8386         applying Philip's patch.
8388 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
8390         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
8391         are not VAR_DECLs.
8393 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
8395         * loop.c (strength_reduce): Grow reg_single_usage as needed.
8397 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
8399         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
8400         Also remove a useless comment.
8402 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
8404         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
8406 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
8408         * collect2.c (main): Only generate import or export file and add
8409         to link arguments if non-empty.  Use xmalloc not alloca.
8410         (write_{export,import}_file): Delete.
8411         (write_aix_file): New function.
8412         (locatelib): Use xmalloc not malloc.
8413         (GCC_OK_SYMBOL): Do not check type if aix64.
8415 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
8417         Based on patch by Scott Bambrough and Pat Beirne:
8418         * config/arm/arm.c (making_const_table): New variable.
8419         * config/arm/arm.h (making_const_table): Declare.
8420         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
8421         appropriate.
8422         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
8423         Keep track of when we are building the constant table.
8425 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
8427         * config/arm/arm.c (arm_override_options): Fix erroneous warning
8428         message.
8430 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
8432         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
8433         defined.
8435 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
8437         * tm.texi (FUNCTION_ARG): Correct description of a stack element
8438         in a PARALLEL.
8440 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
8442         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
8444 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8446         * rs6000.c (output_mi_thunk): Enable full support again.
8448 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8450         * sh.h (BRANCH_COST): Define.
8452 Thu May 20 10:00:42 1999   Stephen L Moshier  <moshier@world.std.com>
8454         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
8456 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
8458         * function.c (assign_stack_local): Align stack slot propertly.
8459         (assign_outer_stack_local): Likewise.
8461 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
8463         * expr.h (lang_expand_constant): Declare.
8464         * toplev.c (lang_expand_constant): Define it.
8465         * varasm.c (output_constant): Use it.
8467 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8469         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
8470         Change function definitions to K&R style.
8472 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
8474         * fixinc/fixincl.c: We must not ignore SIGCLD now.
8476 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
8478         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
8479         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
8480         (several places): omit static initialization
8481         (process): use single fd, since only the read fd is used
8482         * fixinc/gnu-regex.c: define 'const' away, if not supported
8483         * fixinc/procopen.c(several places): omit static initialization
8484         * fixinc/server.c: define 'volitile' away, if not supported
8486 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8488         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
8489         asm_fprintf and %L to generate the label name.
8490         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
8491         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
8493 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
8495         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
8496         insn for a conditional jump can not be found.
8498 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
8500         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
8501         on variables in specific sections other than .sbss and .sdata.
8503 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
8505         * stmt.c (expand_return): Call start_cleanup_deferral and
8506         end_cleanup_deferral around conditional code.
8508 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
8510         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
8511         filename lists.  Utilizes new "krstr" AutoGen function.
8512         * fixinc/fixincl.x: Rebuilt.
8514 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
8516         * i386.c (output_float_compare): Avoid GNU-C extensions.
8518 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
8520         * version.c: Bump to distinguish mainline tree from the
8521         gcc-2.95 branch.
8523 See ChangeLog.1 for earlier changes.
8525 Local Variables:
8526 add-log-time-format: current-time-string
8527 End: