Move 'temporary' bits so they don't conflict with windows/cygwin/dgux bits
[official-gcc.git] / gcc / ChangeLog
blob84f20dc5c5bb09f2fc5f6e32cd70399741164553
1 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
3         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
4         don't conflict with the bits that win32, cygwin, and dgux
5         defines.
7 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
8                           Bernd Schmidt <bernds@cygnus.co.uk>
10         * integrate.c (function_cannot_inline_p): Do not inline
11         functions with forced labels.
13 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
14                           Bernd Schmidt <bernds@cygnus.co.uk>
15                           Mark Mitchell  <mark@codesourcery.com>
17         * Makefile.in (ggc-simple.o): Depend on varray.h.
18         (rtl.o): Depend on ggc.h.
19         (genattrtab.o): Depend on ggc.h.
20         (print-tree.o): Likewise.
21         (fold-const.o): Likewise.
22         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
23         (make_insn_raw): Don't cache insns when GC'ing.
24         (emit_insn_before): Likewise.
25         (emit_insn_after): Likewise.
26         (emit_insn): Likewise.
27         (start_sequence): Use xmalloc to allocate the sequence_stack.
28         (end_sequence): Add free to free it.
29         (gen_sequence): Don't cache insns when GC'ing.
30         (clear_emit_caches): Don't use sequence_element_free_list.
31         (init_emit): Use xcalloc, not xmalloc+bzero.
32         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
33         * function.c (pop_function_context_from): Use free to free the
34         fixup_var_refs_queue.
35         (put_reg_into_stack): Allocate it with xmalloc.
36         * genattrtab.c: Include ggc.h.
37         (operate_exp): Don't use obstack_free when GC'ing.
38         (simplify_cond): Likewise.
39         (simplify_text_exp): Likewise.
40         (optimize_attrs): Likewise.
41         * gengentrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
42         GC'ing.
43         (gencode): Generate a #include for ggc.h.
44         * ggc-callbacks.c (ggc_p): Define it to zero.
45         * ggc-none.c (ggc_p): Likewise.
46         * ggc-simple.c: Include varray.h.
47         (ggc_mark_tree_varray): New function.
48         (ggc_add_tree_varray_root): Likewise.
49         (ggc_mark_tree_varray_ptr): Likewise.
50         * ggc.h (ggc_p): Declare.
51         (varray_head_tag): Likewise.
52         (ggc_add_tree_varray_root): Declare.
53         * print-tree.c (print_node): Don't check for TREE_PERMANENT
54         inconsistencies when GC'ing.
55         * rtl.c: Include ggc.h.
56         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
57         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
58         (rtx_free): Don't call obstack_free when GC'ing.
59         * toplev.c (rest_of_compilation): Call ggc_collect after every
60         pass, if GC'ing.
61         * tree.c (push_obstacks): Do nothing, if GC'ing.
62         (pop_obstacks_nochange): Likewise.
63         (pop_obstacks): Likewise.
64         (make_node): Use ggc_alloc_tree when GC'ing.
65         (copy_node): Likewise.
66         (get_identifier): Use ggc_alloc_string when GC'ing.
67         (build_string): Likewise.
68         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
69         (tree_cons): Likewise.
70         (build1): Likewise.
71         (type_hash_canon): Don't call obstack_free when GC'ing.
72         
73 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
75         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
76         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
78 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
79                           Bernd Schmidt <bernds@cygnus.co.uk>
80                           Mark Mitchell  <mark@codesourcery.com>
82         * Makefile.in (stor-layout.o): Depend on ggc.h.
83         (expr.o): Depend on ggc.h.
84         (profile.o): Depend on ggc.h.
85         (stor-layout.o): Depend on ggc.h.
86         * emit-rtl.c (init_emit_once): Add gc roots.
87         * expr.c: Include ggc.h.
88         (emit_block_move): Add gc roots.
89         (clear_storage): Likewise.
90         * expr.h (init_stor_layout_once): New function.
91         * profile.c: Include ggc.h.
92         (init_arc_profiler): profiler_label is a root.
93         * scan.c (make_sstring_space): Trust xrealloc to function
94         correctly with first parameter NULL.
95         * stor-layout.c: Include ggc.h.
96         (set_sizetype): Add gc root.
97         (init_stor_layout_once): New function.
98         * toplev.c (compile_file): Call it.
99         
100 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
101                           Bernd Schmidt <bernds@cygnus.co.uk>
102                           Mark Mitchell  <mark@codesourcery.com>
104         * Makefile.in (tree.o): Depend on ggc.h.
105         (varasm.o): Likewise.
106         (function.o): Likewise.
107         (stmt.o): Likewise.
108         (except.o): Likewise.
109         (optabs.o): Likewise.
110         (emit-rtl.o): Likewise.
111         * emit-rtl.c: Include ggc.h.
112         (sequence_element_free_list): Remove, and all references.
113         (mark_sequence): New functions.
114         (mark_emit_state): New function.
115         * except.c: Include ggc.h.
116         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
117         (mark_tree_label_node): New functions.
118         (mark_eh_state): New function.
119         * function.c: Include ggc.h.
120         (mark_temp_slot, mark_function_chain): New functions.
121         (mark_function_state): New function.
122         (init_function_once): New function.
123         * function.h (init_function_once): New function.
124         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
125         * ggc.h (label_node): Declare.
126         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
127         (lang_mark_false_label_stack): New function.
128         (mark_temp_slot): Remove declaration.
129         (mark_function_chain): Likewise.
130         (mark_eh_state): Adjust prototype.
131         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
132         Likewise.
133         * optabs.c: Include ggc.h.
134         (mark_optab): New function.
135         (init_optabs): Add gc roots.
136         * stmt.c: Include ggc.h.
137         (mark_cond_nesting, mark_loop_nesting): New functions.
138         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
139         (mark_stmt_state): New function.
140         * toplev.c (compile_file): Call init_function_once.
141         * tree.c: Include ggc.h.
142         (type_hash): Move declaration earlier in file.
143         (TYPE_HASH_SIZE, type_hash_table): Likewise.
144         (init_obstacks): Add gc roots.
145         (mark_type_hash): New function.
146         * varasm.c: Include ggc.h.
147         (mark_pool_constant): New function.
148         (mark_varasm_state): New function.
149         
150 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
152         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
154 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
156         * c-decl.c (struct language_function): Renamed from struct c_function.
157         Delete elt NEXT.
158         (c_function_chain): Delete.
159         (push_c_function_context): New arg F.  Don't warn about nested
160         functions here.  Fill LANGUAGE elt of F.  Delete code to update
161         c_function_chain.  Don't call push_function_context.
162         (pop_c_function_context): New arg F.  Restore from there instead of
163         from c_function_chain.  Don't call pop_function_context.  Clear out
164         LANGUAGE field of F when done.
165         * c-lang.c: Include "function.h"
166         (lang_init): Initialize save_lang_status and restore_lang_status.
167         * c-parse.in (nested_function, nested_function_notype): Warn about
168         nested functions.  Call push_function_context/pop_function_context
169         instead of the _c_ variants.
170         * c-tree.h (push_c_function_context, pop_c_function_context): Update
171         prototype.
172         * Makefile.in (c-lang.o): Update dependencies.
174         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
175         regno_pointer_flag, regno_pointer_align.
176         (gen_reg_rtx): Use xrealloc to enlarge them.
177         (free_emit_status): New function.
178         * function.c (mark_machine_status, mark_lang_status): New variables.
179         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
180         in some bits from assign_stack_local.  All callers changed to use new
181         name.
182         (assign_stack_local): Just call assign_stack_local_1.
183         (free_after_compilation): New function.
184         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
185         (trampoline_address): Likewise.
186         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
187         (prepare_function_start): Explicitly clear some more variables.
188         * function.h (struct function): New elt can_garbage_collect.
189         (mark_machine_status, mark_lang_status): Declare variables.
190         (free_after_compilation, free_emit_status, free_varasm_status,
191         init_varasm_status): Declare functions.
192         * toplev.c (rest_of_compilation): Call free_after_compilation when
193         done with the current function.
194         * varasm.c (free_varasm_status): New function.
196 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
198         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
199         (EXPAND_BUILTIN_VA_ARG): Define.
200         * sparc.c (sparc_va_start): New.
201         (sparc_va_arg): New.
203 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
205         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
207 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
209         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
211 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
213         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
214         (OBJS): Add $(GGC).
215         (ggc-callbacks.o): New target.
216         * ggc-callbacks.c: New file.
218 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
220         * expr.h: Collapse individual optab and libfunc vars to arrays.
221         (optab_index, libfunc_index): New enumerations.
222         (optab_table, libfunc_table): New arrays.
223         Add accessor macros for both.
225         * optabs.c (optab_table, libfunc_table): New.
226         Delete declarations for individual optab and libfunc vars.
228 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
230         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
232 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
234         * Makefile.in (GGC, GGC_LIB): New.
235         (HOST_RTL): Include ggc-none.o.
236         (ggc-simple.o): New target.
237         (ggc-none.o): Likewise.
238         * tree.h (tree_common): Add gc_mark.
239         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
240         (struct rtvec_def): Add gc_mark.
241         * emit-rtl.c (global_rtl): Update static initializers to contain
242         enough initializers.
243         * ggc.h, ggc-none.c, ggc-simple.c: New files.
244         * toplev.c (gc_time): New variable.
245         (all_time): New variable.
246         (compile_file): Print gc time.
247         (print_time): Calculate percentage of the whole.
248         
249 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
251         Change obstack memory management and varasm constant pool handling so
252         that nested functions are treated like any other functions.
253         * function.c (init_machine_status): New variable.
254         (push_function_context_to): Set contains_functions for the outer
255         function.  Don't call save_varasm_status.
256         (pop_function_context_from): Don't call restore_varasm_status.  Don't
257         set current_function_contains_functions.
258         (prepare_function_start): Call init_varasm_status rather than
259         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
260         is non-null.
261         * function.h (struct function) Add field varasm.  Delete fields
262         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
263         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
264         (init_machine_status): Declare.
265         (save_varasm_status, restore_varasm_status): Delete declarations.
266         (save_tree_status, restore_tree_status): Delete last argument.
267         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
268         code.  All callers changed.
269         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
270         save_constants_in_decl_trees, restore_constants, save_constants,
271         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
272         functions.
273         (inlining): New variable.
274         (reg_map, label_map, insn_map, orig_asm_operands_vector,
275         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
276         variables.
277         (save_for_inline_nocopy): Don't save constants.
278         Don't set inl_emit field in current_function.
279         (expand_inline_function): Use emit field, not inl_emit, of the inlined
280         function.  Set new variable inlining before
281         calling copy_rtx_and_substitute.
282         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
283         constant pool references if inlining is nonzero.
284         Delete ADDRESS and (most of the) CONST cases.
285         (output_inline_function): Save and restore current_function/
286         current_function_decl.  Delete restore_constants code.  Don't call
287         init_const_rtx_hash_table.
288         * output.h (init_const_rtx_hash_table): Don't declare.
289         * rtl.h (struct function): Declare.
290         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
291         * toplev.c (rest_of_compilation): Don't treat nested functions or
292         functions containing them specially.  Delete all code to deal with
293         save_for_inline_copying.
294         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
295         inline_obstacks): Delete variables.
296         (save_tree_status): Lose arg CONTEXT.  All callers changed.
297         Simply allocate a new function_maybepermanent_obstack for the new
298         function, delete all the special cases.
299         Don't save inline_obstacks.
300         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
301         Delete special handling for function_maybepermanent_obstack; simply
302         free it if empty.
303         Don't restore inline_obstacks.
304         (permanent_allocation):  Delete code that frees inline_obstacks.
305         (print_inline_obstack_statistics): Delete function.
306         (dump_tree_statistics): Don't call it.
307         * varasm.c (struct varasm_status): New.
308         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
309         last_pool, pool_offset, const_double_chain): Delete global
310         variables, replace with accessor macros.
311         (immed_double_const): Don't walk const_double_chain outside a
312         function, but don't treat nested functions specially anymore.
313         (immed_real_const_1): Likewise.
314         (clear_const_double_mem): Don't treat nested functions specially.
315         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
316         (save_varasm_status, restore_varasm_status): Delete functions.
317         (init_varasm_status): New function.
318         (force_const_mem): Don't treat nested functions specially.
319         (find_pool_constant): Accept new arg F, search for constants in
320         that function's pool rather than the current one.  All callers
321         changed.
322         (get_pool_constant_for_function, get_pool_mode_for_function): New
323         functions.
325         * i386.c (init_386_machine_status): New function, mostly from
326         clear_386_stack_locals.
327         (struct machine_functions): Rename element names to avoid name
328         clashes.
329         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
330         macros, replacing global variables.
331         (clear_386_stack_locals, save_386_machine_status,
332         restore_386_machine_status): Delete functions.
333         (override_options): Initialize init_machine_status.
334         * i386.h (INIT_EXPANDERS): Delete macro.
335         (save_386_machine_status, restore_386_machine_status,
336         clear_386_stack_locals): Delete declarations.
338 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
340         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
341         (doloop_begin):  Simplify pattern and use emit_jump_insn.
342         (doloop_end): Simplify pattern, switch operand order,
343         and use emit_jump_insn.
345 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
347         * function.h (struct function): Add new element LANGUAGE.
348         (save_lang_status): Declare new variable.
349         (restore_lang_status): Likewise.
350         * function.c (save_lang_status): Define.
351         (restore_lang_status): Likewise.
352         (push_function_context_to): Call language-specific save function.
353         (pop_function_context_from): Call language-specific restore function.
354         
355 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
357         * i386.md (movsf_1): Check REG_P before use of REGNO.
358         (movdf_1): Likewise.
359         (movxf_1): Likewise.
360         (extendsfdf2): Likewise.
361         (extendsfxf2): Likewise.
362         (extenddfxf2): Likewise.
364 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
366         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
367         constants into memory.
368         (c4x_shiftable_constant): New function.
369         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
370         (c4x_shiftable_constant): Declare.
371         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
372         ashlqi3_noclobber): Add new patterns and associated splitters.
373         
374 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
376         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
377         * dwarf2out.c (dwarf2out_frame_init): Likewise.
378         * final.c (shorten_branches): Likewise.
379         * global.c (global_alloc): Likewise.
380         * haifa-sched.c (build_control_flow): Likewise.
381         * stmt.c (check_for_full_enumeration_handling): Likewise.
382         (estimate_case_costs): Likewise.
384 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
386         * rtl.h (RTL_CHECKC2): Fix typo in last change.
388 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
390         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
391         (recompute_reg_usage): Likewise.
392         * rtlanal.c (find_regno_fusage): Likewise.
394         * rtl.c (rtl_check_failed_code1): New function.
395         (rtl_check_failed_code2): New.
396         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
397         (RTL_CHECKC1, RTL_CHECKC2): New.
398         (XC*): New accessor macros.
399         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
400         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
401         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
402         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
403         (TRAP_*, RANGE_INFO_*): Likewise.
405 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
407         * Makefile.in (tlink.o): Don't depend on toplev.h.
409         * collect2.c (c_file, o_file, export_file, import_file, ldout,
410         output_file, nm_file_name, ldd_file_name, strip_file_name,
411         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
412         add_prefix, prefix_from_env, prefix_from_string, do_wait,
413         fork_execute, maybe_unlink, add_to_list,
414         extract_init_priority, write_list, dump_list,
415         dump_prefix_list, write_list_with_asm, write_c_file,
416         write_c_file_stat, write_c_file_glob, scan_prog_file,
417         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
418         ignore_library, extract_string, notice, dump_file, target_machine,
419         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
420         read_file, print_load_command): Constify a char*.
421         (fdopen, error, fatal, fatal_perror): Don't prototype.
422         (my_strerror): Remove.  All callers use xstrerror instead.
423         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
424         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
425         to xcalloc/strcpy/strcat/...  to one call to concat.
426         (main, scan_prog_file, scan_libraries): Use an intermediate
427         `const char **' to build an argv array.
428         (mapfile, libselect, libcompare, locatelib): Add prototypes.
430         * collect2.h (collect_execute, collect_wait, dump_file,
431         file_exists): Constify a char*.
432         (ldout, c_file_name, temporary_obstack, permanent_obstack,
433         temporary_firstobj, vflag, debug): Add extern declarations.
434         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
436         * tlink.c: Don't include toplev.h.
437         (vflag, debug, ldout, c_file_name, temporary_obstack,
438         permanent_obstack, temporary_firstobj): Don't declare.
439         (tlink_execute, frob_extension, symbol_hash_lookup,
440         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
441         recompile_files, read_repo_files, demangle_new_symbols,
442         scan_linker_output): Constify a char*.
443         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
444         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
445         
446 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
448         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
449         (relative) rather than jsr (absolute) subroutine call insns.  
450         * config/m68k/m68k-coff.h: Ditto.
452 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
454         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
455         now rework these too.
456         (arm_reorg): If an insn can't reach the end of the current pool,
457         ensure that we emit that pool before the insn.
459 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
461         * tlink.c (scan_linker_output): Skip the initial underscore in
462         a mangled name if appropriate.
464 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
466         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
467         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
468         error_with_ivar, gen_declarator, create_builtin_decl,
469         my_build_string, generate_descriptor_table, generate_ivars_list,
470         generate_dispatch_table, check_protocols, TAG_GETCLASS,
471         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
472         dump_base_name, lang_decode_option, build_encode_expr,
473         start_class, finish_class, encode_pointer, really_start_method,
474         gen_declaration, dump_interface, handle_class_ref, handle_impent):
475         Constify.
476         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
477         Add static prototypes.
478         (build_objc_string_decl, build_selector_reference_decl,
479         encode_bitfield, build_class_reference_decl): Remove unused
480         parameter, all callers changed.
481         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
482         (objc_printable_name): Likewise.  Change second parameter to type int.
483         (init_objc): Use memcpy, not bcopy, to avoid casts.
485 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
487         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
488         reg notes on a deleted insn.
489         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
491 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
493         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
495 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
497         * stmt.c (expand_asm_operands): Fix index into inout_mode when
498         reading it.
500 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
502         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
503         * tm.texi (MD_ASM_CLOBBERS): Document it.
505 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
507         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
508         * except.c (expand_rethrow): Remove unused variable.
509         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
510         * flow.c (replace_insns): Likewise.
511         (create_edge_list, verify_edge_list): Likewise.
512         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
514         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
515         is special code to run.
516         (main): Don't define operands to emit_operand.
517         * genrecog.c (main): Don't emit an empty peephole2_insn function.
519         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
521         * alpha/alpha.h (normal_memory_operand): Declare.
522         (reg_no_subreg_operand): Declare.
523         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
525 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
527         * c-parse.in (compstmt_primary_start): New, broken out of first
528         part of compstmt handling in primary.
529         (primary): Use it.  Add an error clause.
530         (compstmt_nostart): Renamed from compstmt; remove all
531         initial invocations of compstmt_start.
532         (compstmt): New.
534 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
536         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
537         needed.
539 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
541         * combine.c (simplify_shift_const): Remove extra semicolon.
542         * dwarf2out.c (remove_AT): Likewise.
543         * expmed.c (expand_mult): Likewise.
544         * gcov.c (create_program_flow_graph): Likewise.
545         * reorg.c (mostly_true_jump): Likewise.
547 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
549         * fold-const.c (fold_range_test): Do not try to fold the range
550         test if the rhs or lhs has side effects.
552         * combine.c (simplify_rtx): Recognize another case of a synthesized
553         sign extension.
555         * varasm.c (mark_constant_pool): When marking indirect references,
556         only look at SYMBOL_REFs.
558         * except.c (expand_fixup_region_end): Do not peek at
559         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
561 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
563         * flags.h: New variables align_loops, align_loops_log,
564         align_jumps, align_jumps_log, align_labels, align_labels_log,
565         align_functions, align_functions_log.
566         * toplev.c: Define them.
567         (f_options): Handle -falign-* when they have no argument.
568         (main): Add logic to set variables for -falign-functions,
569         -falign-jumps, -falign-labels, -falign-loops.
570         Make it -fsched-verbose=<n> and -finline-limit=<n>.
571         (display_help): Change help to match options.
572         * final.c (LABEL_ALIGN): Default to align_labels_log.
573         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
574         (LOOP_ALIGN): Default to align_loops_log.
575         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
576         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
577         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
578         * varasm.c (assemble_start_function): Handle align_functions.
580         * config/sparc/sparc.h: Don't declare sparc_align_*.
581         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
582         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
583         sparc.c.
584         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
585         it's a promise.
586         * config/sparc/sparc.c: Delete sparc_align_loops,
587         sparc_align_jumps, sparc_align_funcs and the corresponding string
588         variables.
589         (sparc_override_options): Default align_functions on ultrasparc.
590         Delete -malign-* handling.
592         * config/mips/mips.c (override_options):  On 64-bit targets,
593         try to align code to 64-bit boundaries.
594         (print_operand): New substitution, %~,
595         which aligns labels to align_labels_log.
596         * config/mips/mips.md (div_trap_normal): Use %~.
597         (div_trap_mips16): Likewise.
598         (abssi): Likewise.
599         (absdi2): Likewise.
600         (ffssi2): Likewise.
601         (ffsdi2): Likewise.
602         (ashldi3_internal): Likewise.
603         (ashrdi3_internal): Likewise.
604         (lshrdi3_internal): Likewise.
605         (casesi_internal): Likewise.
607 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
609         Merge new ia32 backend from the branch!
611         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
612         See ChangeLog.P2 on new_ia32_branch for details.
614         * rtl.h (stack_regs_mentioned_p): Delete prototype.
615         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
616         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
617         * i386/gas.h (ASM_FILE_START): Define.
618         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
619         for name change of ix86_valid_decl_attribute_p.
620         (i386_pe_valid_type_attribute_p): Similarly.
622 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
624         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
625         to step through CC modes.
627 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
629         * regmove.c (fixup_match_1): Don't move INSN in front of P if
630         it would end up in the shadow of a live flags regsiter.
632 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
634         * reload1.c: Fix many indentation problems.
635         * reload.c: Likewise.
637 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
639         * alias.c (non_local_reference_p): Constify fmt.
641 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
643         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
645 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
647         * cse.c (delete_trivially_dead_insns): Do not delete stores to
648         the internal_arg_pointer.
650 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
652         Merge peephole2 from new_ia32_branch:
653         * Makefile.in (STAGESTUFF): Add *.peephole2.
654         (mostlyclean): Likewise.
655         (recog.o): Depend on resource.h.
657         * final.c (peephole): Conditionalize decl on HAVE_peephole.
658         (final_scan_insn): Likewise for the invocation of peephole.
659         * genconfig.c (main): Look for peephole and peephole2 patterns.
660         Emit HAVE_peephole* accordingly.
661         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
662         * flags.h (flag_peephole2): Declare.
663         * toplev.c: New pass peephole2.  New flag -fpeephole2.
665         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
666         * gencodes.c (main): Likewise.
667         * genextract.c (main): Likewise.
668         * genoutput.c (main): Likewise.
669         * genemit.c (max_operand_1): Look for the max scratch operand.
670         (gen_rtx_scratch): New.
671         (gen_exp): Use it, and pass on new arg subroutine_type.
672         (gen_expand): Take max scratch into account.
673         (gen_split): Emit peephole2 functions.
674         (output_peephole2_scratch): New.
675         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
676         * genrecog.c (routine_type): Add PEEPHOLE2.
677         (IS_SPLIT): New.
678         (make_insn_sequence): Match outer parallel for peep2.  Discard
679         top level scratches and dups.
680         (add_to_sequence): New args insn_type and top.  Update all callers.
681         Handle toplevel peep2 matching insns.
682         (write_subroutine): Handle peep2.
683         (write_tree_1): Likewise.
684         (write_tree): Likewise.
685         (main): Likewise.
686         (change_state): New arg afterward.  Update all callers.
687         Handle matching separate insns.
688         * recog.c (recog_next_insn): New.
689         (peephole2_optimize): New.
690         * rtl.def (DEFINE_PEEPHOLE2): New.
691         * resource.c (find_free_register): New argument last_insn.  Use it
692         to find a register available through the entire span.
693         * resource.h (find_free_register): Update prototype.
695 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
697         * i386.c (output_strlen_unroll): Don't write xops[7]
698         label if it wasn't set.
700 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
702         * cpplib.c (struct directive): Const-ify name pointer and
703         function pointer prototype.
704         (validate_else, do_define, do_line, do_include, do_undef,
705         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
706         do_elif, do_endif, do_sccs, do_assert, do_unassert,
707         do_warning): Const-ify second arg.
708         (directive_table): Mark const.  Reorder entries by frequency
709         of usage, record statistics.
711 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
713         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
714         bounds- check RTL accesses if --enable-checking.
715         (RTVEC_ELT): Bounds check if --enable-checking.
716         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
717         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
718         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
719         GET_NUM_ELEM.
720         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
721         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
723         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
724         (NOTE_SOURCE_FILE): Use X0STR.
725         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
726         MEM_ALIAS_SET): Use X0INT.
727         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
728         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
729         Use X0EXP.
730         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
731         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
732         (rtl_check_failed_bounds, rtl_check_failed_type1,
733         rtl_check_failed_type2, rtvec_check_failed_bounds): New
734         functions.
735         (fancy_abort): Fix comment.
737         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
738         (cse_insn): Decrement LABEL_NUSES for jump target before
739         deleting jump insn.
740         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
741         * final.c (alter_subreg): Compute regno before changing x to
742         REG; set REGNO(x) after changing it.
743         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
744         notes containing CONST_INTs.
745         (delete_eh_regions): Use NOTE_EH_HANDLER.
746         * function.c (put_reg_into_stack): Make reg a MEM before
747         initializing it.
748         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
749         delete insn.
750         (gen_mem_addressof): Make reg a MEM before initializing it.
751         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
752         X0WINT.
753         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
754         deleting an insn, not after.
755         (block_alloc): Only look at PATTERN(insn) if we have to, and
756         only if it's format class 'i'.
757         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
758         CONST_INT before using its INTVAL.
759         * print-rtl.c (print_rtx): Use X0STR.
760         * regmove.c (fixup_match_1): Don't look at PATTERN of
761         non-class-'i' insn chain elements.
762         * reload.c (loc_mentioned_in_p): Take address of
763         in->fld[1].rtx directly.
764         * reload1.c (reload): Change reg to a MEM before initializing
765         it.
766         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
767         have no names.
768         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
770 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
772         * config/mips/mips.c (machine_dependent_reorg): Force a
773         barrier to output the local constant pool if a barrier hasn't
774         been found at a natural point in the instruction stream.
776 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
778         * c-parse.in (language_string): Constify.
780         * dwarf2out.c (language_string): Remove declaration.
782         * dwarfout.c (language_string): Likewise.
784         * toplev.c (language_string, init_parse, finish_parse): Likewise.
786         * tree.h (language_string, init_parse, finish_parse): Declare.
788         * i386/sun386.h (language_string): Remove declaration.
790         * mips.h (language_string): Likewise.
792         * nextstep.h (language_string): Likewise.
794         * nextstep21.h (language_string): Likewise.
796         * rs6000.c (language_string): Likewise.
798 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
800         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
801         (getpwd.o): Remove target.
803         * getpwd.c: Delete file.  Its in libiberty now.
805         * dbxout.c (getpwd): Don't prototype.
806         * dwarf2out.c (getpwd): Likewise
807         * dwarfout.c (getpwd): Likewise
808         * final.c (getpwd): Likewise.
809         * protoize.c (getpwd): Likewise.
811 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
813         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
815 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
817         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
818         mark_set_resources.
820 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
822         * fixinc/Makefile.in (subdir): New.
823         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
824         (Makefile): New.
826 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
828         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
829         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
830         be shared.
832         * invoke.texi: Fix typo.
834         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
835         changed.  Handle autoincrement addressing modes.
837         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
838         just like we would the virtual incoming args register when
839         integrating.
841 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
843         * rs6000.h (ASM_FILE_START): Specify complete filename, including
844         path, in .file directive.
846 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
848         * gcc.texi (External Bugs): Remove obsolete note about Perl on
849         SunOS.
851 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
853         * stdbool.h: Make the typedef name _Bool, with bool a #defined
854         alias.
856 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
858         * tree.c (tree_code_name): Constify a char*.
860         * tree.h (tree_code_name, decl_printable_name): Likewise.
862         * function.h (struct function): Likewise.
864         * toplev.c (decl_name, decl_printable_name): Likewise.
866         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
868         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
869         (init_objc): Remove function pointer cast.
871 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
873         * pa.md (interspace_jump): New pattern.
874         (builtin_longjmp): New expander.
876 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
878         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
879         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
880         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
882 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
884         * jump.c (delete_prior_computation): Also check calls
885         to constant functions.  Don't bother checking for a
886         REG_UNUSED note before adding it.
887         (delete_computation): Handle multi-word hard registers
888         when synthesizing missing REG_DEAD notes for a register
889         which is both set and used by an insn.
891 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
893         * loop.c (this_loop_info): New variable.
894         (loop_has_call, loop_has_volatile, loop_has_tablejump,
895         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
896         All uses updated.
897         (prescan_loop, strength_reduce): New argument loop_info.  All callers
898         updated.
899         (scan_loop): New variable loop_info, initialise to address of
900         this_loop_info.
901         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
902         Delete variable loop_has_multiple_exit targets and replace with
903         field in this_loop_info.
904         (find_and_verify_loops): Rename this_loop to this_loop_num.
905         (strength_reduce): Delete loop_iteration_info.  Replace variable
906         loop_info with function argument of same name.
907         (insert_bct): Rework test for loop being completely unrolled.
909         * loop.h (struct loop_info): New fields num, loops_enclosed,
910         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
911         has_indirect_jump, and cont.  Redefine use of unroll_number.
912         (loop_unroll_number): Delete.
914         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
915         field of loop_info.
916         (loop_iterations): Delete variable vtop and instead use
917         loop_info->vtop computed in prescan_loop.
919 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
921         * fix-header.c (main): Do not pass a null pointer to strcmp.
923 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
925         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
926         filenames.
927         * configure: Rebuilt.
929 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
931         * jump.c (jump_optimize_1): Do not delete assignments to
932         internal_arg_pointer.
933         * cse.c (delete_trivially_dead_insns): Always consider a set of
934         the internal_arg_pointer live.
936 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
938         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
939         (update_life_info) [REG_WAS_0]: Search the original insns rather
940         than the new insns for the note.  Fix typos finding note_dest.
941         If no dest found, discard the note rather than abort.
942         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
943         (replace_insns): Remove the old insn list after update_life_info
944         not before.
946 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
948         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
949         sched_analyze_insn.
950         (sched_analyze_1): Let add_dependence care for not adding dups.
951         (sched_analyze_2): Likewise.
952         (add_branch_dependences): Likewise.
954 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
956         * i386/winnt.c (export_list): New type.
957         (exports_head): Rename to
958         (export_head):  this.
959         (i386_pe_record_exported_symbol): Add is_data flag.
960         (i386_pe_asm_file_end): Emit directive for exported variables.
961         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
962         prototype.
963         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
964         (ASM_DECLARE_OBJECT_NAME): Likewise.
965         (ASM_DECLARE_FUNCTION_NAME): Likewise.
966         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
968 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
970         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
972         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
973         operand.
975 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
977         * config/openbsd.h: Define SET_ASM_OP.
978         * tm.texi: cross-reference SET_ASM_OP in the index.
980 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
982         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
983         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
984         and class_narrowest_mode at compile time.  Kill init_rtl.
985         Mark rtx_length, mode_class, mode_size, mode_unit_size,
986         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
987         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
988         EXTRA_CC_NAMES.
989         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
990         format.
991         * rtl.h: Declare rtx_length and rtx_format as const.
992         * machmode.def: Define CC().  Use CC() to define CCmode.  If
993         EXTRA_CC_MODES is defined, expand it here.
994         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
995         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
996         const.  Kill all references to EXTRA_CC_MODES.
998         * toplev.c: Don't prototype or call init_rtl.
999         * optabs.c: Don't call init_mov_optab.
1000         * genemit.c: Don't generate init_mov_optab.  Don't call
1001         init_rtl.
1002         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
1003         here.
1004         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
1005         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
1006         genrecog.c: Don't call init_rtl.
1008         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
1009         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
1010         definition of EXTRA_CC_MODES.
1012         * md.texi: Kill ref to EXTRA_CC_NAMES.
1013         * tm.texi: Document new way to define EXTRA_CC_MODES.
1015         * genrecog.c: Do not look up the name of a define_split.
1016         (Unrelated bugfix.)
1018 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
1020         * config/v850/v850.md: Fix typo introduced by previous delta.
1022 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1024         * gcc.c (fatal): Make definition static to match prototype.
1026 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1028         * combine.c (get_last_value): Don't look for earlier sets if the last
1029         known set is somewhere in between the insns being combined.
1031 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
1033         * configure.in: Don't use shell ! to negate exit codes
1034         * configure: Regenerate
1036 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
1038         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
1039         the fact that ALIGN is measured in bits, not bytes.
1041 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
1043         * errors.c: New file; defines functions error, warning, and
1044         fatal, variables have_error and progname.
1045         * errors.h: New file; prototypes and decls for stuff in errors.c.
1047         * Makefile: Add rules to build errors.o and
1048         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
1049         genopinit, genrecog, genextract, genpeep, genattr, and
1050         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
1051         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
1052         genpeep.o, genattr.o, and genoutput.o.
1054         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
1055         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
1056         define or prototype fatal.  Set progname at beginning of main.
1057         * genoutput.c:  Likewise, and don't define or prototype error
1058         either.
1060         * c-typeck.c (c_expand_start_case): Return immediately if exp
1061         is an ERROR_MARK.
1062         * fold-const.c (operand_equal_p): Return immediately if arg1
1063         or arg0 are ERROR_MARKs.
1064         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
1065         fields of type ERROR_MARK when calculating if the record can
1066         go in a register.
1068 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
1069         with much help from Jeffrey A Law and Richard Henderson
1071         * i386.md: In the 6 insns which call output_fix_trunc,
1072         earlyclobber operands[0].
1074 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
1076         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
1077         creating new registers.
1079 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
1081         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
1082         i386_reg_alloc_order, i386_regparm_string,
1083         i386_align_loops_string, i386_align_jumps_string,
1084         i386_align_funcs_string, i386_preferred_stack_boundary_string,
1085         and i386_branch_cost_string as type "const char *".
1086         * i386.c: Define all above strings as type "const char *".
1088 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
1090         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
1091         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
1093 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
1095         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
1096         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
1098 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
1100         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
1101         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
1102         (dwarf2out_line, dwarf2out_finish): Likewise.
1103         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
1105 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
1107         * tree.c (lang_unsave_expr_now) : Correct return type.
1108         * tree.h (lang_unsave_expr_now) : Same.
1110 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
1112         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
1113         instead of duplicating code.
1115 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1117         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
1119 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
1121         * tree.h: fancy_abort always takes three args.
1122         * resource.c: Move include of system.h before toplev.h.
1124 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
1126         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
1127         as SYMBOL_REFs.
1129 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
1131         * system.h: Don't redefine abort or trim_filename.
1132         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
1133         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
1134         whether or not __FUNCTION__ is available.
1135         * tree.h: Duplicate rtl.h's definition of abort, for files
1136         that don't include rtl.h.  Delete all code to perform type
1137         checking with a compiler other than GCC.
1138         * varray.h: Delete all code to perform type checking with a
1139         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
1140         its arguments exactly once, using a statement expression.
1141         Adjust the VARRAY_<type> accessor macros to match.
1142         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
1143         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
1144         caller's location.  Define fatal_insn and fatal_insn_not_found
1145         as macros that use _fatal_insn and _fatal_insn_not_found.
1146         (fancy_abort, trim_filename): Kill prototypes.
1148         * rtl.c (trim_filename): Move here from toplev.c.
1149         (fancy_abort): New function.
1150         (DIR_SEPARATOR): Provide default definition.
1151         * tree.c (tree_check_failed, tree_class_check_failed): Go
1152         through fancy_abort.
1153         (tree_check, tree_class_check, cst_or_constructor_check,
1154         expr_check): Delete.
1155         * varray.c (varray_check_failed): New function.
1156         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
1157         _fatal_insn and _fatal_insn_not_found.  Go through
1158         fancy_abort.
1159         (trim_filename, fancy_abort): Delete.
1161         * builtins.c (expand_builtin_args_info): Report ICE with abort.
1162         * except.c (start_catch_handler): Report ICE with error/abort
1163         combo.
1164         * final.c (output_operand_lossage): Likewise.
1165         * flow.c (verify_flow_info): Likewise.
1167         * gcc.c: Prototype fatal.
1168         * gengenrtl.c: Undef abort after including rtl.h not system.h.
1169         * genattr.c, genattrtab.c, genemit.c, genextract.c,
1170         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
1171         Don't define fancy_abort.
1173 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
1175         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
1176         canonization.
1178 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
1180         * m88k.h (VERSION_INFO2): Kill.
1181         (VERSION_STRING): Kill.
1182         (TM_RCS_ID): Kill.
1183         (VERSION_INFO1): Tidy.
1184         (TARGET_VERSION): Update.
1185         * m88k/dgux.h (VERSION_INFO2): Kill.
1186         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
1187         * m88k/luna.h (VERSION_INFO1): Tidy.
1188         * m88k/sysv4.h (VERSION_INFO1): Likewise.
1189         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
1190         (output_file_start): Adjust for death of VERSION_STRING.
1192 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
1194         * cpplib.c (detect_if_not_defined): New function.
1195         (do_if): Use it to detect potential once-only headers.
1197 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
1199         * c-common.c (combine_strings): Always set TREE_CONSTANT.
1201 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
1203         * combine.c (nonzero_bits) : Allow single-ly set registers to be
1204         anywere in the function only if they are pseudos and set before
1205         being used (not live at the start of the function).
1206         (num_sign_bit_copies) : Same.
1207         (get_last_value_validate) : Same.
1208         (get_last_value) : Same.
1210 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
1212         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
1213         where N and M are constant and N is an integer multiple of M.
1215 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
1217         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
1218         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
1219         sbitmap_union_of_preds): Add prototypes.
1220         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
1221         the intersection of successors with the new flow graph structures.
1222         (sbitmap_intersection_of_preds): New function to compute the
1223         intersection of predecessors with the new flow graph structures.
1224         (sbitmap_union_of_succs): New function to compute the union of
1225         successors with the new flow graph structures.
1226         (sbitmap_union_of_preds): New function to compute the union of
1227         predecessors with the new flow graph structures.
1228         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
1229         (expr_reaches_here_p): Use edge and basic_block structures instead
1230         of s_preds and s_succs.
1231         (compute_cprop_avinout): Use new sbitmap routines.
1232         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
1233         of s_preds and s_succs.
1234         * flow.c (compute_flow_dominators): Compute dominators using
1235         edges and basic blocks instead of s_preds and s_succs.
1237 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
1239         * lists.c (unused_insn_list, unused_expr_list): New file for
1240         maintaining various types of lists. New statics for maintaining a
1241         cache of available INSN_LIST and EXPR_LIST nodes.
1242         (free_list): Static function for freeing a list of INSN/EXPR nodes.
1243         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
1244         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
1245         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
1246         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
1247         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
1248         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
1249         (free_INSN_LIST_node): Free an individual INSN_LIST node.
1250         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
1251         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
1252         (remove_dependence, free_pending_lists): Use new global routines.
1253         (flush_pending_lists, sched_analyze_insn): Use new global routines.
1254         (sched_analyze, compute_block_backward_dependences): Use new routines.
1255         (sched_analyze_1, sched_analyze_2): Use new routines.
1256         (schedule_insns): Use new global routines.
1257         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
1258         prototypes.
1259         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
1260         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
1261         prototypes.
1262         * toplev.c (rest_of_compilation): Initialize node cache.
1263         * Makefile.in (OBJS): Add lists.o to list of object files.
1264         (lists.o): Add dependancies.
1266 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
1268         * config/v850/v850.md: Fix compile time warning messages.
1269         * config/v850/v850.c: Fix compile time warning messages.
1270         * config/v850/v850.h: Fix compile time warning messages.
1272 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1274         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
1275         Remove unused prototype for `init_lengths'.
1277 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1279         * calls.c (emit_call_1): Mark parameter `stack_size' with
1280         ATTRIBUTE_UNUSED.
1281         (expand_call): Initialize variable `insn'.
1282         (emit_library_call): Likewise for variable `high_to_save'.
1283         (emit_library_call_value): Likewise.
1284         (store_one_arg): Likewise for variables `lower_bound' and
1285         `upper_bound'.
1287         * combine.c (try_combine): Likewise for variables `i2_code_number'
1288         and `other_code_number'.
1289         (find_split_point): Likewise for variables `pos', `unsignedp' and
1290         `inner'.
1291         (simplify_if_then_else): Likewise for variables `op' and `c1'.
1292         (simplify_and_const_int): Remove unused variable `width'.
1293         (merge_outer_ops): Likewise.
1295         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
1296         HOST_WIDE_INT' when comparing against one.
1297         (simplify_relational_operation): Likewise.
1298         (cse_insn): Initialize variables `src_eqv_volatile',
1299         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
1301         * final.c (init_final): Constify parameter `filename'.
1302         (final_start_function): Mark parameter `optimize' with
1303         ATTRIBUTE_UNUSED.
1304         (profile_function): Likewise for parameters `first' and `optimize'.
1305         (output_source_line): Likewise for parameter `file'.
1307         * integrate.c (subst_constants): Cast a value to `size_t' when
1308         comparing against one.
1309         (mark_stores): Initialize variable `mode'.  Cast a value to
1310         `size_t' when comparing against one.
1312         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
1314         * loop.c (move_movables): Initialize variable `first'.
1315         (strength_reduce): Likewise for variable `increment'.
1316         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
1317         value to `size_t' when comparing against one.
1318         (load_mems): Initialize variable `end_label'.
1320         * output.h (init_final): Constify parameter.
1322         * reload.c (decompose): Initialize variable `base'.
1324         * reload1.c (reload): Likewise for variable `is_scalar'.
1325         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
1326         (choose_reload_regs): Initialize variable `mode'.
1327         (emit_reload_insns): Likewise for variable `store_insn'.
1328         (reload_cse_noop_set_p): Mark parameter `insn' with
1329         ATTRIBUTE_UNUSED.
1330         (reload_combine): Initialize variable `set'.
1332         * unroll.c (unroll_loop): Likewise for variable `local_label'.
1333         (copy_loop_body): Cast a value to `size_t' when comparing against
1334         one.
1336         * varasm.c (assemble_variable): Initialize variable `size_tree'.
1337         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
1338         (remove_from_pending_weak_list): Mark parameter `name' with
1339         ATTRIBUTE_UNUSED.
1341 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1343         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
1344         gcse dump file.
1346 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
1348         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
1349         (ASM_DECLARE_FUNCTION_NAME): Define.
1350         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
1351         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
1352         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
1353         not already defined.
1355 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1357         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
1358         of n_popped when call/call_value are not defined.
1360 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
1362         * tm.texi: GNU CC -> GCC conversion.
1363         (CC1_SPEC): Indicate it is used for all language front ends.
1365 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
1367         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
1368         NOTE_INSN_EH_REGION_END correctly.
1370 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
1371                           Jeff Law <law@cygnus.com>
1373         * loop.c (strength_reduce): Automatically unroll loops if the
1374         unrolled loop size is smaller than the rolled loop size.
1376         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
1377         and delete comment that code should be rewritten.
1379 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
1381         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
1382         as reachable.
1384         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
1386 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
1388         * fixinc/mkfixinc.sh: Don't fix uwin headers.
1389         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
1390         (LINK_SPEC): Add -u _main when building executables.
1391         (ASM_DECLARE_FUNCTION): Update from Cygwin.
1392         (ASM_FILE_END): Use the default for ix86-pe.
1393         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
1395 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
1397         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
1398         and ASM_CLOSE_PAREN are empty strings.
1400 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
1401                           Geoffrey Keating <geoffk@cygnus.com>
1403         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
1404         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
1405         (unprotoize.o): Ditto.
1406         (test-protoize-simple): Don't define STD_PROTO_DIR.
1407         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
1408         changes to make 'test-protoize-simple' pass.
1409         (STD_PROTO_DIR): Remove define.
1410         (STANDARD_EXEC_PREFIX): Supply default define.
1411         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
1412         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
1413         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
1414         (GET_ENV_PATH_LIST): New macro.
1415         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
1416         (do_processing): Initialize default_syscalls_dir using new
1417         macros.  Use it to initialize syscalls_absolute_filename.
1419 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
1421         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
1422         B into a register before emit_conditional_move.
1424 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
1426         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
1427         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
1428         multiplicand out of (+ (* a b) (* c d)).
1430 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
1431                           Richard Henderson  <rth@cygnus.com>
1433         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
1434         (new_insn_dead_notes): Likewise.
1435         (update_n_sets): Likewise.
1436         (update_flow_info): Move to flow.c, renamed to update_life_info;
1437         extend to handle multiple source insns.
1438         * flow.c: Include resource.h
1439         (unlink_insn_chain): New.
1440         (split_hard_reg_notes): New.
1441         (maybe_add_dead_note): New.
1442         (maybe_add_dead_note_use): New.
1443         (find_insn_with_note): New.
1444         (new_insn_dead_notes): New.
1445         (update_n_sets): New.
1446         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
1447         (maybe_remove_dead_notes): New.
1448         (update_life_info): New.
1449         (prepend_reg_notes): New.
1450         (replace_insns): New.
1451         * output.h (update_life_info): Declare.
1452         * recog.c (split_block_insns): Use update_life_info.
1453         * resource.c (find_free_register): Use reg_alloc_order, don't use
1454         fixed regs, make sure the mode is supported, don't use new regs.
1455         (reg_dead_p): New.
1456         * rtl.h (replace_insns): Declare.
1458 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
1460         * expr.c (expand_expr): Cope with COND_EXPRs with one
1461         non-returning branch.
1463 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
1465         * expr.c (store_expr): Always pass down the target, even when not
1466         doing CSE.
1468 1999-08-24  Nick Clifton  <nickc@cygnus.com>
1470         * configure.in: Define target_cpu_default for v850 targets.
1471         * configure: Regenerate
1473         * config/v850/v850.h (TARGET_CPU_generic): Define.
1474         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
1475         addresses are 4 byte aligned.
1477         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
1478         addresses.
1480 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1482         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
1483         (main): Add prototypes.
1485         * genattrtab.c (substitute_address, write_const_num_delay_slots,
1486         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
1487         (write_attr_get): Emit prototypes along with function definition.
1488         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
1489         (write_complex_function): Emit static prototype along with
1490         function definition.
1492         * genemit.c (gen_split): Emit prototypes along with function
1493         definition.
1495         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
1496         Likewise for predicates and `insn_operand_predicate'.
1497         (process_template): Emit static prototype along with function
1498         definition.
1500         * genrecog.c (make_insn_sequence): Constify a char*.  Add
1501         prototypes for get_split_*().
1502         (write_subroutine): Emit prototypes along with function
1503         definition.
1505 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1507         * gcse.c (find_avail_set): Follow chains of register-register copies.
1508         Use oprs_not_set_p to guarantee that the returned value can be
1509         substituted.
1510         (cprop_insn): Don't verify the return value of find_avail_set with
1511         oprs_not_set_p.
1513         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
1514         (cprop_cc0_jump): New function.
1515         (cprop_insn): Break out new function cprop_jump and use it.
1516         Also use cprop_cc0_jump for machines with CC0.
1517         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
1519         * tree.h (current_function_calls_setjmp,
1520         current_function_calls_longjmp): Delete declarations.
1521         * dsp16xx.c: Include "function.h".
1522         * elxsi.c: Likewise.
1523         * gmicro.c: Likewise.
1524         * h8300.c: Likewise.
1525         * i370.c: Likewise.
1526         * m32r.c: Likewise.
1527         * mn10200.c: Likewise.
1528         * mn10300.c: Likewise.
1529         * ns32k.c: Likewise.
1530         * spur.c: Likewise.
1531         * v850.c: Likewise.
1533         * rtl.h (rtx_equal_function_value_matters): Declare.
1534         * toplev.c (rtx_equal_function_value_matters): Don't declare.
1535         * cse.c: Likewise.
1536         * function.c: Likewise.
1537         * emit-rtl.c: Likewise.
1539 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
1541         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
1542         call.
1544 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1546         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
1547         exactly.
1549 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
1551         * cpp.texi: Add a node documenting macro varargs (copied
1552         from extend.texi).
1554 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
1556         * cppspec.c: Put a null pointer at the end of the new argv.
1558 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
1560         * configure.in: Remove code to select/de-select the haifa
1561         scheduler.  Every scheduled port gets haifa now.
1562         * configure: Rebuilt.
1563         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
1564         * sched.c Deleted.
1565         * Makefile.in: Corresponding changes.
1567 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1569         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
1570         All callers changed.
1571         (prepare_float_lib_cmp): Likewise.
1572         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
1573         * expr.h (emit_float_lib_cmp): Delete declaration.
1574         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
1575         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
1576         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
1577         specially.
1578         (cmptf): Now conditional on TARGET_HARD_QUAD.
1580 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
1582         * resource.c (mark_target_live_regs): Use
1583         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
1585 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1587         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
1589         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
1591         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
1593 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1595         * rtl.h (rtx_format): Constify a char*.
1597         * rtl.c (rtx_format): Likewise.
1598         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
1599         (init_rtl): Use accessor macro, not `rtx_format'.
1601         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
1602         char*.
1604         * caller-save.c (mark_referenced_regs): Likewise.
1606         * combine.c (subst, make_compound_operation, known_cond,
1607         gen_rtx_combine, update_table_tick, get_last_value_validate,
1608         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
1610         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
1611         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
1612         count_reg_usage): Likewise.
1614         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
1615         Likewise.
1617         * final.c (leaf_renumber_regs_insn): Likewise.
1619         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
1620         dump_edge_info, count_reg_references): Likewise.
1622         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
1623         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
1624         Likewise.
1626         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
1627         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
1628         add_label_notes): Likewise.
1630         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
1631         clear_struct_flag, count_sub_rtxs, count_alternatives,
1632         compares_alternatives_p, contained_in_p, walk_attr_value,
1633         write_expr_attr_cache): Likewise.
1635         * genconfig.c (walk_insn_part): Likewise.
1637         * genemit.c (max_operand_1, gen_exp): Likewise.
1639         * genextract.c (walk_rtx): Likewise.
1641         * genflags.c (num_operands): Likewise.
1643         * genoutput.c (scan_operands): Likewise.
1645         * genpeep.c (match_rtx): Likewise.
1647         * genrecog.c (add_to_sequence): Likewise.
1649         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
1650         Likewise.
1652         * integrate.c (save_constants, copy_for_inline,
1653         copy_rtx_and_substitute, subst_constants, restore_constants):
1654         Likewise.
1656         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
1657         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
1659         * local-alloc.c (contains_replace_regs, memref_referenced_p):
1660         Likewise.
1662         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
1663         add_label_notes, replace_call_address, count_nonfixed_reads,
1664         invariant_p, find_single_use_in_loop, find_mem_givs,
1665         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
1666         Likewise.
1668         * print-rtl.c (reg_names, print_rtx): Likewise.
1670         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
1672         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
1673         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
1674         print_blocks): Likewise.
1676         * regclass.c (fix_register, record_address_regs,
1677         reg_scan_mark_refs): Likewise.
1679         * regmove.c (stable_but_for_p): Likewise.
1681         * reload.c (loc_mentioned_in_p, operands_match_p,
1682         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
1683         copy_replacements, refers_to_regno_for_reload_p,
1684         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
1685         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
1686         Likewise.
1688         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
1689         delete_address_reloads_1, count_occurrences,
1690         reload_cse_mem_conflict_p, reload_combine_note_use,
1691         add_auto_inc_notes): Likewise.
1693         * resource.c (mark_referenced_resources, mark_set_resources):
1694         Likewise.
1696         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
1697         reg_mentioned_p, regs_set_between_p, modified_between_p,
1698         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
1699         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
1700         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
1701         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
1703         * sched.c (sched_analyze_2, attach_deaths): Likewise.
1705         * stupid.c (stupid_mark_refs): Likewise.
1707         * unroll.c (remap_split_bivs): Likewise.
1709         * varasm.c (mark_constants): Likewise.
1711         * a29k/a29k.c (uses_local_reg_p): Likewise.
1713         * alpha/alpha.c (summarize_insn): Likewise.
1715         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
1716         eliminate_lr2ip): Likewise.
1718         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
1720         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
1721         reg_mentioned_in_mem): Likewise.
1723         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
1724         symbolic_reference_mentioned_p): Likewise.
1726         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
1728         * sh/sh.c (regs_used, mark_use): Likewise.
1730         * vax/vax.c (vax_rtx_cost): Likewise.
1732 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1734         * machmode.h (mode_name): Constify a char*.
1736         * rtl.c (mode_name): Likewise.
1738         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
1740         * optabs.c (init_libfuncs): Constify a char*.
1742         * print-tree.c (mode_name): Remove redundant declaration.
1743         (print_node): Use accessor macro, not `mode_name'.
1745         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
1746         not `mode_name'.
1747         (new_spill_reg): Constify a char*.
1749         * tree.c (mode_name): Remove redundant declaration.
1751 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1753         * rtl.c (rtx_name): Constify a char*.
1755         * rtl.h (rtx_name, fix_sched_param): Likewise.
1757         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
1758         (mypr): Use accessor macro, not `rtx_name'.
1760         * genemit.c (print_code): Constify a char*.
1762         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
1764         * genpeep.c (print_code): Constify a char*.
1766         * genrecog.c (print_code): Likewise.
1768         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
1769         end_bb): Add static prototype.
1770         (draw_edge): Constify a char*.
1771         (end_bb): Remove unused parameter.
1773         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
1774         print_block_visualization): Constify a char*.
1776 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
1778         * c-common.c (c_get_alias_set): Update comment.
1780 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1782         * linux.h (LIB_SPEC): Added.
1784 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1786         * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
1788 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
1790         * tree.c (expr_check): Fix typo in last change.
1792 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
1794         * rtl.def (NOTE): Change format to "iuu0n".
1795         (ADDR_DIFF_VEC): Change format to "eEee0".
1796         (ADDRESSOF): Change format to "eit".
1798         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
1799         (RTVEC_ELT): Change to match.
1800         (XVECEXP): Use XVEC and RTVEC_ELT.
1801         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
1802         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
1803         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
1804         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
1805         TRAP_CONDITION, TRAP_CODE): Use XEXP.
1806         (INTVAL): Use XWINT.
1807         (ADDRESSOF_DECL): Use XTREE.
1808         (SET_ADDRESSOF_DECL): Delete.
1809         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
1810         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
1811         ifdefed out since 2.6 at least.
1812         (gen_rtvec_vv): Delete prototype.
1814         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
1815         not rtunion.
1816         (copy_most_rtx): Handle 't' format letter.
1817         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
1818         (gen_rtvec_vv): Delete function.  All callers changed to use
1819         gen_rtvec_v instead.
1820         * print-rtl.c (print_rtx): Move special casing of NOTEs to
1821         the '0' format letter.
1823         * function.c (gen_mem_addressof): Don't use
1824         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
1825         instead.
1826         * integrate.c (copy_rtx_and_substitute): Likewise.
1827         Copy 't' slots with XTREE.
1828         (subst_constants): Treat 't' slots like '[swi]' slots.
1829         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
1830         * jump.c (rtx_equal_for_thread_p): Likewise.
1831         * rtlanal.c (rtx_equal_p): Likewise.
1832         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
1833         only four arguments.
1834         * gengenrtl.c (type_from_format): Provide correct types for
1835         'b' and 't' slots.
1838         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
1839         If a recent gcc is in use (always in stage2 and beyond), use
1840         statement expressions, so we don't make a function call unless
1841         the check fails.  Evaluate arguments exactly once.
1842         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
1843         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
1844         Delete.
1845         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
1846         they evaluate their arguments exactly once, irrespective of
1847         the compiler in use.
1849         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
1850         is used by the currently-enabled check macros.  This is:
1851         (tree_check_failed, tree_class_check_failed): For gcc.
1852         (tree_check, tree_class_check, cst_or_constructor_check,
1853         expr_check): For other compilers.
1855         * gencheck.c: Do not define any *_CHECK1 macros.
1857 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
1858                           Mark Mitchell <mark@codesourcery.com>
1860         * c-common.c (c_get_alias_set): Fix support for poitners and
1861         references.
1863 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
1865         * alias.c: Include tree.h.
1866         (nonlocal_reference_p, mark_constant_function): New functions.
1867         * flow.c (life_analysis): Call mark_constant_function.
1868         * rtl.h (mark_constant_function): Declare it.
1870 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
1872         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
1873         unrecognisable switches.
1875 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1877         * loop.c (recombine_givs): Set ix field after sorting.
1878         (recombine_givs): Remove bogus index / giv lockstep looping.
1880 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1882         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
1883         on CODE.
1884         (emit_store_flag_force): Use do_compare_rtx_and_jump.
1885         (do_cmp_and_jump): Formatting fixes.
1886         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
1887         do_compare_rtx_and_jump instead of compare_from_rtx.
1888         (do_compare_rtx_and_jump): New function; mostly copied from
1889         compare_from_rtx.
1890         (do_jump_for_compare): Delete.
1891         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
1892         MIN_EXPR.
1893         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
1894         of compare/do_jump_for_compare pairs.
1895         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
1896         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
1897         compare_from_rtx/do_jump_for_compare pairs.
1898         (do_jump_by_parts_equality): Likewise.
1899         (do_jump_by_parts_equality_rtx): Likewise.
1900         * expr.h (do_compare_rtx_and_jump): Declare.
1901         * optabs.c (prepare_cmp_insn): New function, contains most of the code
1902         that used to be in emit_cmp_insn.
1903         (cmp_available_p): New function.
1904         (prepare_operand): New function.
1905         (emit_cmp_and_jump_insn_1): New function, contains some code that used
1906         to be in emit_cmp_insn.
1907         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
1908         parameters to be pointers; don't emit final compare but modify some of
1909         the values pointed to by the args so the caller can perform the
1910         correct comparison.
1911         (expand_binop): Call emit_store_flag_force with signed forms of
1912         comparison code.
1913         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
1914         emit_jump_insn pair.
1915         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
1916         emit_cmp_and_jump_insn_1.  Call emit_queue.
1917         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
1918         arg.
1919         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
1920         jump sets cc0 before deleting it.
1921         * integrate.c (expand_inline_function): Likewise.
1922         * unroll.c (unroll_loop): Similar changes in several places.
1923         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
1924         before deleting it.
1926 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1928         * Makefile.in (insn-recog.o): Update dependencies.
1929         * genrecog.c (main): Make generated file include "function.h".
1931 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
1933         * cse.c (cse_insn): Call never_reached_warning when a jump is
1934         changed to be unconditional.
1935         * flags.h: Declare warn_notreached.
1936         * flow.c (delete_block): Call never_reached_warning when
1937         a block is deleted.
1938         * jump.c (delete_barrier_successors): Call never_reached_warning
1939         when we delete everything after a BARRIER.
1940         (never_reached_warning): New function.
1941         * rtl.h: Declare never_reached_warning.
1942         * toplev.c (warn_notreached): New variable.
1943         (lang_independent_options): Set warn_notreached
1944         when -Wunreachable-code.
1945         (compile_file): We need line numbers for -Wunreachable-code.
1947 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
1949         * haifa-sched.c (insn_unit): Fix typo on out of range test.
1950         * sched.c (insn_unit): Likewise.
1952 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
1954         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
1956 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
1958         * flow.c (create_edge_list): Use xmalloc, not malloc.
1960 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
1962         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
1963         C-style comments.  Do not lose the character before double slash.
1965 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
1967         * basic-block.h (struct edge_list): Stucture to maintain a vector
1968         of edges.
1969         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
1970          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
1971         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
1972         New function prototypes.
1973         * flow.c (create_edge_list): Function to create an edge list.
1974         (free_edge_list): Discards memory used by an edge list.
1975         (print_edge_list): Debug output showing an edge list.
1976         (verify_edge_list): Internal consistency check for an edge list.
1977         (find_edge_index): Function to find an edge index for a pred and succ.
1979 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
1981         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
1982         hashtable.
1984 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
1986         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
1988 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1990         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
1992 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
1994         * toplev.c (rest_of_compilation): Allow machine dependent
1995         reorganisation pass to place information into the RTL dump
1996         file if it so wishes.
1998 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
2000         * explow.c (hard_function_value): Use VOIDmode instead of
2001         MAX_MACHINE_MODE.
2002         * stmt.c (expand_return): Likewise.
2003         * stor-layout.c (get_best_mode): Likewise.
2005         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
2006         emit call instead of emit_insn call.
2008 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2010         * configure.in: Handle --disable/enable-win32-registry.
2011         * install.texi: Document --disable/enable-win32-registry.
2012         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
2013         (WIN32_REGISTRY_KEY): New macro.
2014         * prefix.c: Use to enable/disable win32-specific code.
2015         (lookup_key): Use versioned key.
2016         * configure: Regenerate.
2017         * config.in: Likewise.
2019 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
2021         * cpplib.c (read_line_number): New fn, split out of...
2022         (do_line): Here.
2024 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
2026         tree.c (lang_unsave_expr_now) : New.
2027         (unsave_expr_now): Call lang_unsave_expr_now.
2028         tree.h (lang_unsave_expr_now) : New.
2030 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
2032         * toplev.c (flag_new_exceptions): On by default.
2034 1999-08-13  Michael Meissner  <meissner@cygnus.com>
2036         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
2038 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
2040         * dwarfout.c (fundamental_type_code): Return FT_boolean for
2041         INTEGER_TYPE with precision==1, it's __java_boolean.
2043 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2045         * global.c (prune_preferences): Move some invariants out of the
2046         inner loop.
2048 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
2050         * configure.in (alpha*-dec-osf*): Add osf5.
2052 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
2054         * configure.in: Rework handling of ARM GNU/Linux slightly.
2055         (arm*-*-linux-gnuoldld): New target.
2056         * configure: Regenerate.
2057         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
2058         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
2059         * config/arm/linux-oldld.h: New file.
2060         * config/arm/linux-elf26.h: Don't include linux-elf.h.
2061         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
2062         Don't define.
2063         * config/arm/linux-elf.h (ASM_SPEC): Define.
2064         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
2065         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
2066         for 26-bit APCS and old linker.
2067         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
2068         `arm_elf'.
2069         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
2070         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
2071         don't define `arm' or `arm_elf'.
2072         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
2073         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
2075 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
2077         * rtl.texi: Fix typo.
2079 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
2081         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
2083 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
2085         * extend.texi (C++ Signatures): Remove node.
2086         * invoke.texi: Remove discussion of -fhandle-signatures,
2087         signature, sigof, __signature__, and __sigof__.
2089 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
2091         * Makefile.in (JAVAGC): Removed.
2093 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2095         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
2097 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
2099         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
2101 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
2103         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
2104         a register that is already known to be a pointer.
2106 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
2108         * fixinc/inclhack.tpl: Only install assert.h conditionally.
2109         * fixinc/inclhack.sh: Regenerated.
2110         * fixinc/fixincl.sh: Regenerated.
2112 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
2114         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
2115         Fix documentation of -ansi flag to describe its C++ behavior.
2116         Remove bogus reference to GCC 2.9.
2118 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
2120         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
2121         note if it is non-NULL.
2123 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
2125         * except.h (eh_nesting_info): Add new structure defintion.
2126         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
2127         (reachable_handlers, update_rethrow_references): Add function
2128         prototypes.
2129         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
2130         a rethrow symbol instead of an integer exception region number.
2131         * flow.c (Make_edges): Use new exception nesting routines to determine
2132         which handlers are reachable from a CALL or asynchronous insn.
2133         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
2134         goto receivers.
2135         (delete_eh_regions): Update rethrow labels, and don't delete
2136         regions which are the target of a rethrow.
2137         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
2138         avoid overloading the SYMBOL_REF_USED flag.
2139         (rethrow_symbol_map): Use new rethrow_ref field.
2140         (rethrow_used): Use new rethrow_ref field.
2141         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
2142         of an integer.  Fix formatting.
2143         (output_exception_table_entry): Use new rethrow_ref field.
2144         (can_throw): Check for EH_REGION_NOTE before deciding
2145         whether a CALL can throw or not.
2146         (scan_region): Call rethrow_used() instead of accessing data structure.
2147         (update_rethrow_references): New function to make sure only regions
2148         which are still targets of a rethrow are flagged as such.
2149         (process_nestinfo): New static function to initialize a handler
2150         list for a specific region.
2151         (init_eh_nesting_info): New function to allocate and initialize
2152         the list of all EH handlers reachable from all regions.
2153         (reachable_handlers): New function to retrieve the list of handlers
2154         reachable from a specific region and insn.
2155         (free_eh_nesting_info): New function to dispose of a list of
2156         reachable handlers.
2158 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
2160         * flow.c (split_edge): Set JUMP_LABEL field.
2161         (commit_one_edge_insertion): Set head correctly for insert_before.
2162         When inserting insns, update insn block numbers if allocated.
2164 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2166         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
2167         retry_incomplete_types): Add static prototype.
2168         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
2169         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
2170         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
2171         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
2172         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
2173         Constify a char*.
2175         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
2176         dwarf2out_start_source_file, dwarf2out_line): Likewise.
2178 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2180         * output.h (assemble_name): Constify a char*.
2182         * varasm.c (UNIQUE_SECTION, assemble_start_function,
2183         assemble_variable, assemble_name): Likewise.
2185         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
2187         * arm/pe.c (arm_pe_unique_section): Likewise.
2189         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
2191         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
2193         * i386/interix.c (i386_pe_unique_section): Likewise.
2195         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
2197         * i386/winnt.c (i386_pe_unique_section): Likewise.
2199         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
2201         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
2203         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
2205         * pa/pa.c (output_call): Likewise.
2207         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
2209         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
2211         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
2212         Likewise.
2214         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
2215         Likewise.
2217         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2219         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
2220         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
2222         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
2224 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2226         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
2228 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2230         * tree.h (lang_identify): Constify a char*.
2231         (print_error_function): Add extern prototype.  Constify a char*.
2233         * c-lang.c (lang_identify): Constify a char*.
2235         * objc/objc-act.c (lang_identify): Constify a char*.
2237 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2239         * genpeep.c (main): Make generated file include "function.h".
2240         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
2242 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2244         * Makefile.in: Update dependencies.
2245         * alias.c: Include "function.h"
2246         * c-decl.c: Likewise.
2247         * caller-save.c: Likewise.
2248         * calls.c: Likewise.
2249         * combine.c: Likewise.
2250         * cse.c: Likewise.
2251         * explow.c: Likewise.
2252         * final.c: Likewise.
2253         * global.c: Likewise.
2254         * graph.c: Likewise.
2255         * local-alloc.c: Likewise.
2256         * loop.c: Likewise.
2257         * optabs.c: Likewise.
2258         * profile.c: Likewise.
2259         * recog.c: Likewise.
2260         * regclass.c: Likewise.
2261         * regmove.c: Likewise.
2262         * reload.c: Likewise.
2263         * reorg.c: Likewise.
2264         * resource.c: Likewise.
2265         * sched.c: Likewise.
2266         * stupid.c: Likewise.
2267         * config/1750a/1750a.c: Likewise.
2268         * config/a29k/a29k.c: Likewise.
2269         * config/arc/arc.c: Likewise.
2270         * config/arm/arm.c: Likewise.
2271         * config/arm/thumb.c: Likewise.
2272         * config/c4x/c4x.c: Likewise.
2273         * config/clipper/clipper.c: Likewise.
2274         * config/convex/convex.c: Likewise.
2275         * config/fx80/fx80.c: Likewise.
2276         * config/i860/i860.c: Likewise.
2277         * config/m68k/m68k.c: Likewise.
2278         * config/m88k/m88k.c: Likewise.
2279         * config/mips/mips.c: Likewise.
2280         * config/pdp11/pdp11.c: Likewise.
2281         * config/pyr/pyr.c: Likewise.
2282         * config/romp/romp.c: Likewise.
2283         * config/sh/sh.c: Likewise.
2284         * config/tahoe/tahoe.c: Likewise.
2285         * config/vax/vax.c: Likewise.
2286         * config/we32k/we32k.c: Likewise.
2287         * config/sparc/sparc.c: Include "function.h".
2288         (mem_min_alignment): Test current_function rather than
2289         regno_pointer_align.
2290         * config/pa/pa.c: Likewise.
2291         (compute_frame_size): Delete declaration of
2292         current_function_outgoing_args_size.
2293         * config/arc/arc.h (current_function_varargs): Delete declaration.
2294         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
2295         declaration.
2296         * config/i370/i370.h (current_function_outgoing_args_size): Delete
2297         declaration.
2298         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
2299         current_function_uses_pic_offset_table.
2300         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
2301         of current_function_returns_pointer.
2302         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2303         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2304         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2305         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2306         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2307         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2308         * config/m88k/m88k.c: Include "function.h"
2309         (call_used_regs, current_function_pretend_args_size,
2310         current_function_outgoing_args_size, frame_pointer_needed): Delete
2311         declarations.
2312         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
2313         declaration.
2314         * config/mips/mips.h (current_function_calls_alloca): Delete
2315         declaration.
2316         * config/mn10200/mn10200.h (current_function_needs_context,
2317         rtx_equal_function_value_matters): Delete declarations.
2318         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
2319         flag_pic): Delete declarations.
2320         * config/pa/pa.h (current_function_pretend_args_size,
2321         current_function_decl): Delete declarations.
2322         * config/pa/som.h (current_function_varargs): Delete declaration.
2323         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
2324         declaration.
2325         * config/pyr/pyr.h (current_function_pretend_args_size,
2326         current_function_args_size, current_function_calls_alloca): Delete
2327         declarations.
2328         * config/sh/sh.h (current_function_varargs): Delete declaration.
2329         * config/sparc/sparc.h (current_function_outgoing_args_size,
2330         current_function_calls_alloca, current_function_decl): Delete
2331         declarations.
2332         * config/spur/spur.h (current_function_pretend_args_size,
2333         current_function_calls_alloca): Delete declarations.
2334         * config/v850/v850.c (current_function_outgoing_args_size): Delete
2335         declaration.
2336         * config/vax/vms.h (current_function_name): Delete declaration.
2337         * gcse.c: Include "function.h".
2338         (current_function_name, current_function_calls_setjmp): Delete
2339         declarations.
2340         * haifa-sched.c: Include "function.h".
2341         (forced_labels): Delete declaration.
2342         * jump.c: Likewise.
2343         * reg-stack.c: Likewise.
2344         * reload1.c: Likewise.
2345         * genemit.c (main): Make generated file include function.h.
2346         * genoutput.c (output_prologue): Likewise.
2348         * builtins.c (saveregs_value, apply_args_value): Delete variables.
2349         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
2350         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
2351         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
2352         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
2353         macros for some of them.
2354         (emit_filename, emit_lineno): Delete declarations.
2355         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
2356         regno_pointer_* variables through current_function.
2357         (gen_inline_header_rtx): Delete function.
2358         (save_emit_status): Delete function.
2359         (set_new_last_label_num): New function.
2360         (clear_emit_caches): New function.
2361         (restore_emit_status): Just clear last_labelnum and call
2362         clear_emit_caches.
2363         (get_last_insn_anywhere): Variable sequence_stack is now accessed
2364         through macro seq_stack.
2365         (add_insn_after): Likewise.
2366         (add_insn_before): Likewise.
2367         (remove_insn): Likewise.
2368         (pop_topmost_sequence): Likewise.
2369         (in_sequence_p): Likewise.
2370         (start_sequence_for_rtl_expr): Likewise.
2371         (start_sequence): Likewise, and likewise for
2372         sequence_rtl_expr/seq_rtl_expr.
2373         (push_topmost_sequence): Likewise.
2374         (end_sequence): Likewise.
2375         (init_virtual_regs): Now takes a "struct emit_status *" argument.
2376         All callers changed.  Store into that pointer instead of globals.
2377         (init_emit): Allocate emit elt of current_function.
2378         Changes for sequence_rtl_expr/sequence_stack renaming.
2379         Call clear_emit_caches instead of doing it in-line.
2380         Access regno_pointer_* variables through current_function.
2381         (init_emit_once) Don't clear sequence_stack.
2383         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
2384         Delete variables.
2385         (arg_pointer_save_area): Delete declaration.
2386         (finish_expr_for_function): Renamed from init_queue; no longer static.
2387         (init_expr): Don't call init_queue.
2388         (save_expr_status, restore_expr_status): Delete functions.
2389         (expand_expr): Changes to reflect new layout of struct function.
2390         Don't access current_function_check_memory_usage when current_function
2391         is 0.
2392         * expr.h (forced_labels, save_expr_regs, saveregs_value,
2393         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
2394         current_function_outgoing_args_size, current_function_arg_offset_rtx,
2395         current_function_uses_const_pool, function_call_count,
2396         current_function_uses_pic_offset_table, nonlocal_labels,
2397         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
2398         current_function_check_memory_usage, nonlocal_goto_handler_slots,
2399         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
2400         declarations.
2401         (finish_expr_for_function): Declare.
2402         * flags.h (current_function_has_nonlocal_label,
2403         current_function_has_nonlocal_goto, current_function_is_thunk,
2404         current_function_has_computed_jump): Delete declarations.
2405         * flow.c (forced_labels): Delete declaration.
2406         * function.c (current_function_pops_args,
2407         current_function_returns_struct, current_function_returns_pcc_struct,
2408         current_function_needs_context, current_function_calls_setjmp,
2409         current_function_calls_longjmp, current_function_has_nonlocal_label,
2410         current_function_has_nonlocal_goto, current_function_is_thunk,
2411         current_function_has_computed_jump, current_function_calls_alloca,
2412         current_function_contains_functions, current_function_returns_pointer,
2413         current_function_epilogue_delay_list, current_function_args_size,
2414         current_function_pretend_args_size, current_function_arg_offset_rtx,
2415         current_function_outgoing_args_size, current_function_varargs,
2416         current_function_stdarg, current_function_args_info, cleanup_label,
2417         current_function_name, current_function_uses_const_pool,
2418         current_function_instrument_entry_exit, current_function_return_rtx,
2419         current_function_uses_pic_offset_table, nonlocal_labels,
2420         current_function_internal_arg_pointer, current_function_cannot_inline,
2421         current_function_check_memory_usage, function_call_count,
2422         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
2423         nonlocal_goto_stack_level, return_label, save_expr_regs,
2424         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
2425         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
2426         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
2427         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
2428         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
2429         Delete variables.
2430         (push_function_context_to): Don't save them.  Don't call
2431         save_storage_status, save_emit_status or save_expr_status.
2432         (pop_function_context_from): Don't restore them.  Don't call
2433         restore_storage_status or restore_expr_status.
2434         (get_func_frame_size): New function.
2435         (get_frame_size): Use it.
2436         (assign_outer_stack_local): Reflect some member name changes in struct
2437         function.
2438         (put_reg_into_stack): Likewise.
2439         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
2440         seq_rtl_expr.
2441         (fixup_var_refs): Likewise.
2442         (fix_lexical_addr): Likewise.
2443         (trampoline_address): Likewise.
2444         (prepare_function_start): Clear field inlinable of current_function.
2445         (init_function_for_compilation): New function.
2446         (expand_dummy_function_end): New function.
2447         (expand_function_end): Call finish_expr_for_function.
2448         * function.h (struct emit_status): New; fields moved here from struct
2449         function and from global variables.  Add accessor macros for some of
2450         the fields.
2451         (struct expr_status): Likewise.
2452         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
2453         (struct function): Add fields expr and emit, inlinable, inl_emit,
2454         original_arg_vector, original_decl_initial, inl_last_parm_insn,
2455         inl_max_label_num.  Add many comments.
2456         Add accessor macros for all elts of struct function that no longer
2457         have a global variable.
2458         (cleanup_label, return_label, frame_offset, tail_recursion_label,
2459         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
2460         stack_slot_list): Delete declarations.
2461         (get_func_frame_size): Declare.
2462         (save_expr_status, restore_expr_status, save_emit_status,
2463         save_storage_status, restore_storage_status): Delete declarations.
2464         (init_virtual_regs): Declare.
2465         * output.h (current_function_pops_args,
2466         current_function_returns_struct, current_function_returns_pcc_struct,
2467         current_function_needs_context, current_function_calls_setjmp,
2468         current_function_calls_longjmp, current_function_calls_alloca,
2469         current_function_has_nonlocal_label, current_function_varargs,
2470         current_function_has_computed_jump, current_function_returns_pointer,
2471         current_function_contains_functions, current_function_args_size,
2472         current_function_pretend_args_size, current_function_stdarg,
2473         current_function_outgoing_args_size, current_function_args_info,
2474         current_function_name, current_function_return_rtx,
2475         current_function_epilogue_delay_list,
2476         current_function_uses_const_pool, current_function_cannot_inline):
2477         Delete declarations.
2478         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
2479         regno_reg_rtx): Delete declaration.
2480         (REGNO_POINTER_FLAG): Delete macro.
2481         * stmt.c (expand_goto): Changes to reflect that some fields in struct
2482         function were renamed.
2483         * stor-layout.c (save_storage_status, restore_storage_status): Delete
2484         functions.
2485         * toplev.c: Include "function.h".
2486         (current_function_decl): Delete declaration.
2487         (compile_file): Call init_dummy_function_start and
2488         expand_dummy_function_end around some initializations that need to
2489         emit rtl.
2490         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
2491         Call init_function_for_compilation.
2492         * unroll.c: Include "function.h"
2493         (unroll_loop): Access regno_pointer_* variables through
2494         current_function.
2496         * tree.h (struct tree_decl): Add elt f to saved_insns member.
2497         (DECL_SAVED_INSNS): use it.
2498         (expand_dummy_function_end): Declare.
2499         (init_function_for_compilation): Declare.
2500         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
2501         that it's no longer an INLINE_HEADER.
2502         (expand_call): Likewise.
2503         * integrate.c (finish_inline): Delete function.
2504         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
2505         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
2506         args.  Don't generate an INLINE_HEADER rtx, just return the arg
2507         vector.  All callers changed.
2508         (save_for_inline_copying):  Create a duplicate struct emit_status to
2509         hold the emit state for compiling the current function.  Use this and
2510         the other new fields in struct function that are for integration
2511         instead of an INLINE_HEADER.
2512         Use memcpy instead of bcopy.
2513         Store the current struct function in DECL_SAVED_INSNS of fndecl.
2514         (save_for_inline_nocopy): Similar changes, except no new emit_status
2515         is needed here.
2516         (expand_inline_function): Get information from function structure,
2517         not from an inline header rtx.
2518         (output_inline_function): Lose code to extract the necessary
2519         information from an inline header; simply put back the function
2520         structure into current_function.  Clear its inlinable elt.
2521         * rtl.def (INLINE_HEADER): Delete.
2522         * rtl.h: Delete all accessors for an INLINE_HEADER.
2523         (gen_inline_header_rtx): Delete declaration.
2524         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
2525         Delete declarations.
2526         (REGNO_POINTER_ALIGN): Delete.
2527         (clear_emit_caches): Declare.
2528         (set_new_last_label_num): Declare.
2530 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
2532         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
2534         * except.c (expand_eh_region_start_for_decl): Always start a new block.
2535         * stmt.c (is_eh_region): Make sure current_function is present, too.
2537 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
2539         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
2540         for 64bit PA targets.
2542         * pa.h (SELECT_SECTION): Define.
2543         * som.h (SELECT_SECTION): Delete.
2545 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2547         * alias.c (init_alias_analysis): Wrap call to
2548         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
2550 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
2552         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
2553         <sys/asm.h> contains an asm comment with an apostrophe
2554         * fixinc/inclhack.sh:  regen
2555         * fixinc/fixincl.x:  regen
2557 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
2559         * function.c (init_function_start): Clear prologue & epilogue.
2560         (prologue_epilogue_contains): New function.
2561         * alias.c (init_alias_analysis): Use it.
2562         * rtl.h (prologue_epilogue_contains): Declare it.
2564 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
2566         * jump.c (onlyjump_p): New function.
2567         * rtl.h: Declare it.
2568         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
2569         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
2571 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
2573         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
2574         to invert loops.  Simplify block scanning.
2576 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
2578         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
2579         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
2581 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
2583         * config/sparc/liteelf.h: New file to support sparclite-elf target
2584         * config/sparc/t-sp86x: New file to support sparc86x targets
2585         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
2586         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
2587         * configure.in: Support above target triplets
2588         * configure: Regenerated
2590 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
2592         * fixinc/server.c (server_setup): Do not prefix function used as
2593         parameter with `&'.
2595 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
2597         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
2598         Remove fp reg alternatives.
2600 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
2602         * Makefile.in (TAROUTOPTS): Kill.
2603         (install-headers-tar): Use "xpf" for tar headerfile extraction
2604         * i370/x-oe (TAROUTOPTS): Delete.
2605         * m68k/x-apollo68 (TAROUTOPTS): Delete.
2606         * m68k/x-hp320 (TAROUTOPTS): Delete.
2607         * m68k/x-hp320g (TAROUTOPTS): Delete.
2608         * gcc.texi: Update bug reporting text.
2610 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2612         * reg-stack.c (change_stack) Fixed problem with negative array index.
2614 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
2616         * extend.texi, install.texi: Fix spelling mistakes.
2618         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
2619         (s-attrtab); No longer try to use pre-made insn-attrtab file.
2620         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
2621         PREMADE_ATTRTAB_MD.
2622         * mips/t-ecoff: Likewise.
2623         * mips/t-elf: Likewise.
2624         * mips/t-mips: Likewise.
2625         * mips/t-osfrose: Likewise.
2626         * mips/t-r3900: Likewise.
2627         * mips/t-svr3: Likewise.
2628         * mips/t-svr4: Likewise.
2629         * mips/t-ultrix: Likewise.
2631         * gcc.texi: Document recommend means to provide software floating
2632         point libraries in libgcc.a
2634 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
2636         * c-lex.c (yylex): We can have a number with no digits.
2638 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
2640         * jump.c (delete_prior_computation): New function, broken
2641         out of delete_computation.  Check for side effects with
2642         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
2643         multi-word hard registers.
2644         (delete_computation): Use it.  Check for side effects with
2645         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
2646         missing REG_DEAD note for a register which is both set and
2647         used by an insn.
2649 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
2651         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
2652         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
2653         (ASM_FILE_START): Import _mcount with the right type.
2654         (ASM_DECLARE_FUNCTION_NAME): Define.
2655         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
2656         * pa.c (output_function_prologue): Always emit the function's label
2657         here.
2658         * pa.h (TEXT_SPACE_P): Define.
2659         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
2660         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
2661         * som.h (TEXT_SPACE_P): Delete.
2662         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
2663         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
2665 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
2667         * expr.c (emit_group_load): Allow src to be a CONCAT.
2669 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2671         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
2672         (___mulsi3): Use '!' comment character.
2674 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2676         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
2678 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
2680         * gcc.c: Update URLs and mail addresses.
2681         * gcc.texi: Likewise.
2683 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
2685         * rs6000.c (current_file_function_operand): Return zero for
2686         weak functions.
2687         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
2688         weak symbols.
2689         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
2690         for weak symbols.
2692 Thu Aug  5 00:56:30 1999  Geoffrey Keating   <geoffk@cygnus.com>
2694         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
2695         allocate space in the stack frame for the PIC register.
2697 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
2699         * m68k.md (xordi3, anddi3): These patterns are not available on
2700         the coldfire.
2702 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
2704         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
2705         (PUT_REAL): Likewise.
2707 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2709         * final.c (shorten_branches): Don't add an alignment for loops
2710         that have no label inside.
2712 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2714         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
2715         prototypes in macro HAVE_cmpstrsi.
2717         * cpplib.c (cpp_get_token): Remove unused label `op3'.
2719         * emit-rtl.c (operand_subword): Remove unused variable
2720         `bits_per_word'.
2722         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
2724         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
2726 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
2728         * cpphash.c (macroexpand): Delete leading whitespace when arg
2729         is concatenated before.
2730         (unsafe_chars): Correct test for whether + and - can extend a
2731         token.
2733         * cppinit.c (cpp_start_read): Do dependencies for
2734         -include/-imacros files also.
2736         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
2737         tokenizing non-directive lines.
2738         (cpp_expand_to_buffer): Temporarily disable no-output mode.
2739         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
2740         the input file.
2742 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
2744         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
2746         * c-lex.c: Sync with C++ frontend.
2747         (linemode): New variable.
2748         (parse_float): imag, conversion_errno, and type are output only.
2749         (yylex): Adjust.  Move initial '.' case into main switch.
2750         Use linemode.
2751         (handle_generic_pragma): Just deal with tokens.
2752         (readescape): Use ISXDIGIT and ISGRAPH.
2753         * c-parse.in: Add END_OF_LINE token.
2755         * c-lex.c (lang_init): Generalize.
2756         (nextchar): Remove.  Replace uses with UNGETC.
2757         (skip_white_space): Handle linemode here.  Optimize for cpplib.
2758         (skip_white_space_on_line): Remove.
2759         (extend_token_buffer_to): New fn.
2760         (extend_token_buffer): Use it.
2761         (read_line_number, check_newline): Just deal with tokens.
2762         (token_getch, token_put_back): New fns.
2763         (yylex): Use them.  More cpplib optimizations.  Simplify.
2765 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
2766                           Jason Merrill  <jason@yorick.cygnus.com>
2768         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
2769         (consume_string): Make this smart about USE_CPPLIB.
2770         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
2771         (yylex): Rewrite to be intelligent about USE_CPPLIB.
2772         Also, clean up cases where we redundantly set token_buffer[0].
2773         (read_line_number): New fn.
2774         (ignore_escape_flag): New variable.
2776 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
2778         * a29k/t-a29kbare: Fix some comments.
2779         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
2780         (FPBIT, DPBIT): Define.
2781         * a29k/t-vx29k: Likewise.
2782         * arc/t-arc: Likewise.
2783         * arm/t-arm-elf: Likewise.
2784         * arm/t-bare: Likewise.
2785         * arm/t-pe: Likewise.
2786         * arm/t-pe-thumb: Likewise.
2787         * arm/t-semi: Likewise.
2788         * arm/t-thumb: Likewise.
2789         * arm/t-thumb-elf: Likewise.
2790         * arm/t-thumb-linux: Likewise.
2791         * h8300/t-h8300: Likewise.
2792         * i960/t-i960: Likewise.
2793         * i960/t-vxworks960: Likewise.
2794         * m32r/t-m32r: Likewise.
2795         * mips/t-ecoff: Likewise.
2796         * mips/t-elf: Likewise.
2797         * mips/t-r3900: Likewise.
2798         * pa/t-pro: Likewise.
2799         * rs6000/t-aix43: Likewise.
2800         * rs6000/t-beos: Likewise.
2801         * rs6000/t-newas: Likewise.
2802         * rs6000/t-ppccomm: Likewise.
2803         * rs6000/t-rs6000: Likewise.
2804         * rs6000/t-winnt: Likewise.
2805         * rs6000/t-xnewas: Likewise.
2806         * rs6000/t-xrs6000: Likewise.
2807         * sh/t-sh: Likewise.
2808         * sparc/t-elf: Likewise.
2809         * sparc/t-sparcbare: Likewise.
2810         * sparc/t-sparclite: Likewise.
2811         * sparc/t-splet: Likewise.
2812         * v850/t-v850: Likewise.
2813         * mn10200/t-mn10200: Fix comments.
2814         * mn10300/t-mn10300: Likewise.
2816         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
2817         dummy operand.  Allocate a new pseudo for the dummy operand.
2818         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
2820         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
2822 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
2824         * configure: Rebuilt.
2825         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
2827 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
2829         * recog.c (preproces_constraints): Zero recog_op_alt before
2830         processing the constraints.
2832         * arm.c (typedef minipool_node): Renamed from pool_node.
2833         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
2834         (add_minipool_constant): New function.
2835         (dump_minipool): New function.
2836         (find_barrier): Remove special case for getting the insn size of
2837         an insn that references the constant pool.
2838         (minipool_fixup): New structure.
2839         (push_minipool_barrier): New function.
2840         (push_minipool_fix): New function.
2841         (note_invalid_constants): New function.
2842         (add_pool_constant, dump_table, fixit, broken_move): Delete.
2843         (arm_reorg): Rewrite code to fix up the constant pool into a
2844         series of mini-pools embedded in the insn stream.
2845         (arm_output_epilogue): New function, made mainly from the body
2846         of output_func_epilogue.
2847         (output_func_epilogue): Move insn generation part of epilogue code
2848         to arm_output_epilogue.
2849         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
2850         * arm.md (pool_range): New attribute.
2851         (zero_extendqidi2): Add attribute pool_range.
2852         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
2853         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
2854         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
2855         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
2856         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
2857         (epilogue): New expand.
2858         (epilogue_insn): New insn.  Call arm_output_epilogue.
2860         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
2861         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
2863 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
2865         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
2867 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
2869         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
2871 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
2873         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
2875 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
2877         * global.c: Fix comment.
2879 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
2881         * gcc.c (access_check): New static function.
2882         (find_a_file): Use it when searching a directory list.
2883         * collect2.c (find_a_file): Don't accept directories found when
2884         searching a directory list.
2886 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
2888         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
2889         function parameters with `&'.
2890         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
2892 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
2894         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
2895         or tidy_fallthru_edge if the last insn in the block is not
2896         an unconditional jump or a simple conditional jump.
2898 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2900         * Makefile.in (c-decl.o): Depends on defaults.h.
2902 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
2904         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
2905         PA1.1 and above.
2906         (CLASS_MAX_NREGS): Likewise.
2908 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
2910         * cse.c (cse_insn): Fix dumb thinko in last change.
2912 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2914         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
2915         "const char *".
2917 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
2919         * dwarf2out.c (add_location_or_const_value_attribute): Correct
2920         test for sizes of passed and declared parameter types.
2922 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2924         * fixincludes: Fix the return type of bsearch, char* -> void*.
2926         * fixinc/inclhack.def: Likewise.
2928 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
2930         * invoke.texi (-fdump-translation-unit): New option.
2932 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
2934         * expr.h (PROMOTE_PROTOTYPES): Move ...
2935         * defaults.h: ... to here.
2936         * c-decl.c: Include defaults.h instead of expr.h.
2937         * c-typeck.c: Include defaults.h.
2939 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
2941         * toplev.h (errorcount): Declare.
2942         (warningcount): Likewise.
2943         (sorrycount): Likewise.
2944         * c-lex.c (errorcount): Don't declare.
2945         * dwarf2out.c (errorcount): Don't declare.
2947 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
2949         * config/libgloss.h: Add a note discouraging use with ELF.
2950         * configure.in: Don't use libgloss.h for ELF targets.
2951         Always use_collect2 on a.out targets.
2953 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
2955         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
2956         (force_to_mode, case ASHIFTRT): Add shiftrt label.
2958 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2960         * loop.c (strength_reduce): When doing biv->giv conversion, update
2961         reg note of NEXT->insn.
2963 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
2965         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
2967 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
2969         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
2970         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
2971         Ensure expr.h is included.
2972         * c-typecheck.c (convert_arguments): Ditto.
2974         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
2976         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
2977         * config/convex/convex.h: Ditto.
2978         * config/dsp16xx/dsp16xx.h: Ditto.
2979         * config/fx80/fx80.h: Ditto.
2980         * config/gmicro/gmicro.h: Ditto.
2981         * config/i370/i370.h: Ditto.
2982         * config/i386/i386.h: Ditto.
2983         * config/m32r/m32r.h: Ditto.
2984         * config/m68k/m68k.h: Ditto.
2985         * config/m88k/m88k.h: Ditto.
2986         * config/mips/mips.h: Ditto.
2987         * config/pa/pa.h: Ditto.
2988         * config/pyr/pyr.h: Ditto.
2989         * config/tahoe/tahoe.h: Ditto.
2990         * config/we32k/we32k.h: Ditto.
2992         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
2993         based on arch size.
2995         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
2997         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
2998         from comment.
3000         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
3002 1999-08-02  Richard Henderson  <rth@cygnus.com>
3004         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
3005         for the register spill block.
3006         (m32r_va_arg): New.
3007         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
3008         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
3010         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
3011         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
3012         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
3014 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
3016         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
3017         MAX_WCHAR_TYPE defined in sparc.h.
3018         * config/sparc/linuxaout.h: Likewise.
3019         * config/sparc/linux64.h: Likewise.
3020         Also default to -mvis if CPU is UltraSPARC.
3022 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
3024         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
3025         (RTX_OK_FOR_OLO10): Likewise.
3026         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
3027         %lo(), allow it in addresses...
3028         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
3029         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
3030         does not make sense.
3031         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
3032         (sparc_output_scratch_registers): New function.
3033         (output_function_prologue, sparc_flat_output_function_prologue): Use
3034         it.
3035         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
3036         defined.
3037         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
3038         * configure.in: Add check for .register pseudo-op support in as and
3039         check for offsetable %lo().
3040         * acconfig.h: Add templates for the above checks.
3041         * configure: Regenerate.
3043 1999-08-02  Richard Henderson  <rth@cygnus.com>
3045         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
3046         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
3047         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
3049 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3051         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
3052         reg_biv_class.
3054 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
3056         * config/float-sparc.h: New file.
3057         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
3058         sparc-*-linux-gnu and sparc64-*-linux*.
3060 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3062         * rs6000.c (rs6000_va_list): Type is an array.
3063         (rs6000_va_start): Don't doubly adjust for varargs.
3064         (rs6000_va_arg): Evaluate long long GPR adjustment.
3066 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
3068         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
3069         -maix64 and -maix32.
3070         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
3071         LINK_SPEC): Change appropriately.
3072         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
3073         (u_short_cint_operand): Likewise.
3074         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
3075         for 64-bit hosts.
3076         * rs6000/t-aix43 (MULTILIB): Change to -m64.
3078         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
3080 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
3082         * rs6000/rs6000.c (num_insns_constant_wide): Correct
3083         for type promotion.
3084         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
3085         (non_add_cint_operand): Likewise.
3086         (logical_operand): Likewise.
3087         (non_logical_cint_operand): Likewise.
3088         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
3089         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
3090         (rs6000_select_rtx_section): Suppress warning.
3091         (small_data_operand): Suppress warning.
3092         (rs6000_got_register): Suppress warning.
3093         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
3094         type, so `J' is generally the wrong constraint for a SImode value;
3095         use `L' instead.
3096         (andsi3_internal2): Likewise.
3097         (andsi3_internal3): Likewise.
3098         (iorsi3_internal1): Likewise.
3099         (xorsi3_internal1): Likewise.
3100         (movsi): Likewise.
3101         (movsf_softfloat): Likewise.
3102         (scc insns): Likewise.
3103         (movsi+2): Preserve sign bits of SImode constant.
3104         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
3105         (movdf+1): Sign-extend properly.
3106         (movdi_32+1): Sign-extend properly.
3107         (scc insns): Sign-extend properly.
3109         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
3110         K, L, and T.
3112 1999-08-02  Richard Henderson  <rth@cygnus.com>
3114         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
3115         -mcpu parsing code.
3116         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
3117         * alpha.md (all fp insns): Likewise.
3119 1999-08-02  Nick Clifton  <nickc@cygnus.com>
3121         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
3122         already defined.
3124 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
3126         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
3127         pic_load_label generator directly.
3128         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
3129         No longer a named pattern.
3131 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
3133         * explow.c (force_reg): Call force_operand if X does not
3134         satisfy general_operand.
3136 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
3138         * fix-header.c (main): When testing for CONTINUED, use string
3139         equality, not pointer equality.
3141 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
3143         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
3145 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
3147         * cse.c (cse_insn): Fix loop which deletes insns after a jump
3148         that has become an unconditional jump.
3150         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
3151         (output_function_epilogue): Similarly.
3153 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3155         * tree.h (init_dummy_function_start): Declare.
3157 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3159         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
3160         last_expr_type, last_expr_value, block_start_count, block_stack,
3161         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
3162         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
3163         dynamically in stmt elt of struct function for each function.
3164         (struct nesting): Rename function_call_count elt to n_function_calls,
3165         target_temp_slot_level to block_target_temp_slot_level.  All users
3166         changed.
3167         (struct stmt_status): New structure definition.
3168         Add many accessor macros for stmt_status elements which previously
3169         were global variables.
3170         (init_stmt_for_function): Allocate stmt elt for current_function.
3171         Reflect that block_start_count was renamed to
3172         current_block_start_count.
3173         (save_stmt_status, restore_stmt_status): Delete functions.
3174         (preserve_subexpressions_p): Don't access loop_stack when outside
3175         a function.
3176         (expand_start_bindings): Reflect that block_start_count was renamed to
3177         current_block_start_count.
3178         (expand_fixup): Likewise.
3179         (expand_decl): Don't access block_stack when outside a function.
3180         (expand_decl_cleanup): Likewise.
3181         (expand_dcc_cleanup): Likewise.
3182         (expand_dhc_cleanup): Likewise.
3183         (expand_anon_union_decl): Likewise.
3184         (set_file_and_line_for_stmt): New function.
3185         (in_control_zone_p): New function.
3187         * function.h (struct function): Add new elt stmt.
3188         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
3189         case_stack, nesting_stack, nesting_depth, block_start_count,
3190         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
3191         emit_lineno, goto_fixup_chain.
3192         (save_eh_status, restore_eh_status, save_stmt_status,
3193         restore_stmt_status): Delete declarations.
3194         * function.c (push_function_context_to): Don't call save_stmt_status.
3195         (pop_function_context_to): Don't call restore_stmt_status.
3196         * tree.h (in_control_zone_p): Declare.
3197         * rtl.h (set_file_and_line_for_stmt): Declare.
3199         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
3200         call set_file_and_line_for_stmt.
3202 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
3204         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
3205         Also update copyright.
3207 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3209         * c-pragma.c: Don't include "except.h".
3210         * emit-rtl.c: Likewise.
3211         * stor-layout.c: Likewise.
3212         * tree.c: Likewise.
3213         * varasm.c: Likewise.
3215         * flow.c: Include "function.h".
3216         * tree.h (init_dummy_function_start): Declare new function.
3218         * except.h (struct eh_status): New structure.
3219         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
3220         been included.
3221         (eh_return_stub_label, ehstack, catchstack, ehqueue,
3222         catch_clauses, false_label_stack, caught_return_label_stack,
3223         protect_list, current_function_ehc): Add accessor macros for the
3224         corresponding fields in current_function->eh; delete declarations
3225         for all items that used to be declared here.
3226         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
3227         catch_clauses, false_label_stack, caught_return_label_stack,
3228         protect_list, current_function_ehc): Delete variables.
3229         (init_eh_for_function): Allocate current_function->eh.
3230         (save_eh_status, restore_eh_status): Delete functions.
3232         * function.h (struct function): Add fields next_global and eh.
3233         Delete all exception handling related fields.
3234         * function.c (current_function): New variable.
3235         (all_functions): New variable.
3236         (push_function_context_to): Don't allocate a struct function,
3237         use current_function instead.  Call init_dummy_function_start when
3238         outside a function.  Clear current_function before returning.
3239         (pop_function_context_from): Restore current_function.
3240         Don't free the restored struct function.
3241         (prepare_function_start): New function.
3242         (init_dummy_function_start): New function.
3243         (init_function_start): Break out some code into prepare_function_start
3244         and call it here.
3246         * stmt.c (save_stmt_status): Don't call save_eh_status.
3247         (restore_stmt_status): Don't call restore_eh_status.
3249         * Makefile.in: Update dependencies.
3251 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
3253         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
3254         of depending on a magic constant value.  Update comments.
3255         (hppa_expand_prologue): Similarly.
3257         * pa.md (reload_indi, reload_outdi): Allow any register for the
3258         original reload register.
3260 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
3262         * cccp.c (print_help): Change marcos to macros.
3264 1999-07-30  Richard Henderson  <rth@cygnus.com>
3266         * c-typeck.c (initializer_constant_valid_p): Move ...
3267         * c-common.c (initializer_constant_valid_p): ... here.  Use
3268         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
3269         of label addresses.
3270         * c-common.h (initializer_constant_valid_p): Declare.
3271         * c-tree.h (initializer_constant_valid_p): Remove.
3273 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
3275         * config/i386/sol2-c1.asm: Align the stack.
3276         * config/i386/sol2-gc1.asm: Likewise.
3278 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
3280         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
3281         -Asparclite for sparc86x.
3282         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
3283         sparc86x.
3284         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
3286 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
3288         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
3289         the user if using the non-default arch size in BI_ARCH configuration.
3290         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
3292         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
3293         Fix patterns so that they actually match.
3294         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
3295         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
3296         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
3297         TARGET_HARD_MUL32.
3298         (mulsidi3): Reflect this in the expand.
3299         (smulsi3_highpart): Only on TARGET_ARCH32.
3300         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
3301         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
3302         (umulsidi3): Reflect this in the expand.
3303         (umulsi3_highpart): Only on TARGET_ARCH32.
3304         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
3305         don't require g0 to be zero.
3306         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
3307         ({,u}divsi3): New expands.
3308         ({,u}divsi3_sp64): New patterns.
3309         (after lshrdi3_v8plus): Four new patterns to help combiner
3310         optimizing nested mixed mode shifts.
3312         * config/sparc/sparc.c (sparc_override_options): Use deprecated
3313         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
3314         speed things up. Don't use them by default on plain v9 in 64bit
3315         mode, according to what SPAMv9 sais.
3317         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
3318         top 32 bits of %[og][0-7] in signal handlers.
3319         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
3321 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
3323         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
3324         (ashlsi3): Corresponding changes.
3326         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
3328 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
3330         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
3332 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3334         * arm.h (Hint): Delete macro.
3335         Substitute HOST_WIDE_INT for Hint in some prototypes.
3336         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
3338 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
3340         * builtins.c (expand_builtin_setjmp): Use force_operand to
3341         make sure that the buffer address is in a suitable form to be
3342         passed to force_reg.
3344 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
3346         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
3347         them here.
3349 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
3351         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
3352         proper mode in the condition string.
3353         (icacheflush, dcacheflush): Remove modes from match_operands.
3355         * pa.c (emit_move_sequence): Always convert scratch_reg to the
3356         proper mode before using it.
3358         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
3359         pair.
3361         * pa.c (store_reg): Do not call add_high_const generator directly.
3362         (load_reg, set_reg_plus_d): Likewise.
3363         * pa.md (add_high_const): No longer a named pattern.
3365         * pa.c (legitimize_address): Consistently use Pmode rather than
3366         SImode.  Do not call gen_pic2_highpart directly anymore.
3367         * pa.md (pic2_highpart): No longer a named pattern.
3368         (pic2_lo_sum): Similarly.  Reformat to make more readable.
3370         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
3371         needed.
3373         * README: Update.
3375 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3377         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
3379 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
3381         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
3382         and tag the spill mems.
3383         (hppa_va_start): New.
3384         (hppa_va_arg): New.
3385         * pa.h (EXPAND_BUILTIN_VA_START): New.
3386         (EXPAND_BUILTIN_VA_ARG): New.
3388 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
3390         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
3391         and tag the spill mems.
3392         (mn10300_va_start): New.
3393         (mn10300_va_arg): New.
3394         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
3395         (EXPAND_BUILTIN_VA_ARG): New.
3397 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
3399         * mn10200.c (mn10200_va_arg): New.
3400         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
3402 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
3404         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
3405         rather than play with TREE_INT_CST_LOW.
3407 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
3409         * config/arm/telf.h: Include dbxelf.h.
3410         (CPP_PREDEFINES): Only define if not already defined.
3411         (ASM_IDENTIFY_GCC): Likewise.
3412         (SUBTARGET_EXTRA_SECTIONS): Likewise.
3413         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
3414         * config/arm/thumb.h (LINK_SPEC): Only define if not already
3415         defined.
3416         (DBX_DEBUGGING_INFO): Don't define.
3417         * config/arm/linux-telf.h: New file.
3418         * config/arm/linux-tgas.h: New file.
3419         * config/arm/t-thumb-linux: New file.
3420         * config/arm/uclinux-elf.h: New file.
3421         * config/arm/uclinux-telf.h: New file.
3422         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
3423         thumb-*-uclinux): New targets.
3424         * configure: Regenerate.
3426 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
3428         * pa.md (post_store, pre_load): New expanders.
3429         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
3430         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
3431         need to directly generate RTL for them.
3432         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
3433         changes.
3435 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
3437         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
3438         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
3439         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
3440         (secndary_reload_class): Make TARGET_ELF conditional compile.
3441         (print_operand_address): Similar.
3442         (output_toc): Print all values as hex.
3443         (get_issue_rate): Rearrange and add RS64A and PPC630.
3444         * rs6000.h (processor_type): Add RS64A and PPC630.
3445         (PROCESSOR_POWERPC64): New.
3446         (PROMOTE_MODE): Use word_mode.
3447         (RTX_COSTS): Add RS64A and PPC630.
3448         * rs6000.md (scheduling information): Add lmul and ldiv
3449         representing 64-bit integer multiply and divide.  Add rs64a and
3450         PPC630 information.
3451         (ashldi3): Add support for "rldic" instruction.
3452         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
3454 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
3456         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
3457         instead of V8 for sparclite86x in cpu_table.
3459 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3461         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
3462         output_file_directive.
3464 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
3466         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
3467         tree for op1, not the rtl.
3469 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
3471         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
3472         to m88k_va_start, leaving only the register spill.
3473         (m88k_build_va_list): New.
3474         (m88k_va_start): New.
3475         (m88k_va_arg): New.
3476         * m88k.h (BUILD_VA_LIST_TYPE): New.
3477         (EXPAND_BUILTIN_VA_START): New.
3478         (EXPAND_BUILTIN_VA_ARG): New.
3480 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
3482         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
3483         Rename from expand_builtin_saveregs.
3484         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
3486 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
3488         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
3489         for the register spill block.
3490         (i960_build_va_list): New.
3491         (i960_va_start): New.
3492         (i960_va_arg): New.
3493         * i960.h (BUILD_VA_LIST_TYPE): New.
3494         (EXPAND_BUILTIN_VA_START): New.
3495         (EXPAND_BUILTIN_VA_ARG): New.
3496         * i960.md (store_multiple): Use change_address on individul mems.
3498 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
3500         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
3501         an ARRAY_TYPE.
3502         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
3503         (expand_builtin_va_end): Evaluate arg for side effects.
3504         * c-common.c (c_common_nodes_and_builtins): Construct a
3505         va_list_arg_type_node to handle array decomposition to pointer.
3507 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
3509         * except.c (start_dynamic_cleanup): Use force_operand on the
3510         buffer's address.
3512 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
3514         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
3515         * c4x.c (c4x_va_arg): New.
3517 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
3519         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
3520         has manual_pop set.
3522 1999-07-26  Nathan Sidwell  <nathan@acm.org>
3524         * eh-common.h (__eh_matcher): Prototype correctly.
3526 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
3528         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
3529         (TARGET_SINGLE_PIC_BASE): Likewise.
3530         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
3531         definitions.
3532         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
3533         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
3534         (TARGET_OPTIONS): Add -mpic-register=N.
3535         (OUTPUT_INT_ADDR_CONST): New macro.
3536         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
3537         LEGITIMATE_PIC_OPERAND_P): Likewise.
3538         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
3539         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
3540         output_addr_const directly.
3541         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
3542         ARM port.
3543         (thumb_pic_register, thumb_pic_register_string): Declare.
3545         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
3546         from arm.c.
3547         (label_mentioned_p): New function: Imported from arm.c.
3548         (legitimize_pic_address): New function: Imported from arm.c.
3549         (is_pic):New function: Imported from arm.c.
3550         (thumb_finalize_pic):New function: Imported from arm.c.
3551         (add_constant): Cope with PIC constants.
3552         (fixit): Cope with PIC constants.
3553         (output_return): Do not treat the PIC register as live if
3554         TARGET_SINGLE_PIC_BASE is true.
3555         (thumb_function_prologue): Do not treat the PIC register as live if
3556         TARGET_SINGLE_PIC_BASE is true.
3557         (thumb_expand_prologue): Do not treat the PIC register as live if
3558         TARGET_SINGLE_PIC_BASE is true.
3559         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
3560         TARGET_SINGLE_PIC_BASE is true.
3561         (thumb_print_operand): Accept '|'.
3562         (thumb_override_options): Process PIC options.
3564         * config/arm/thumb.md (movsi): Support PIC.
3565         (call_insn): Change "i" constraint to "X".
3566         (call_value_insn): Likewise.
3567         (consttable_4, consttable_8, consttable_end): Set and clear
3568         "making_const_table" as appropriate.
3569         (pic_load_addr, pic_add_dot_plus_four): New insns.
3571         * invoke.texi (Thumb Options): Fix spelling.  Document new
3572         options -msingle-pic-base and -mpic-register=.
3574 1999-07-26  Andrew Haley  <aph@cygnus.com>
3576         * config/m32r/initfini.c (__init): Use a full word immediate for
3577         __fini: this allows it to be placed in any memory region.
3579         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
3580         -mmodel=medium.  This is OK for all memory models.
3582 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
3584         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
3585         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
3587 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
3589         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
3590         defined.
3592         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
3594 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
3596         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
3597         (BUILD_VA_LIST_TYPE): New.
3598         (EXPAND_BUILTIN_VA_START): New.
3599         (EXPAND_BUILTIN_VA_ARG): New.
3600         * i860.c (output_delayed_branch): Disable.
3601         (output_delay_insn): Likewise.
3602         (i860_saveregs): New.
3603         (i860_build_va_list): New.
3604         (i860_va_start): New.
3605         (i860_va_arg): New.
3606         * i860.md: Disable all peepholes using output_delayed_branch.
3607         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
3609 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
3611         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
3612         (BUILD_VA_LIST_TYPE): New.
3613         (EXPAND_BUILTIN_VA_START): New.
3614         (EXPAND_BUILTIN_VA_ARG): New.
3615         * clipper.c (clipper_builtin_saveregs): Only dump registers.
3616         Return the address of the save area.
3617         (clipper_build_va_list): New.
3618         (clipper_va_start): New.
3619         (clipper_va_arg): New.
3621 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
3623         * arc.h (EXPAND_BUILTIN_VA_START): New.
3624         (EXPAND_BUILTIN_VA_ARG): New.
3625         * arc.c (arc_setup_incoming_varargs): Set alias set of
3626         varargs save area.
3627         (arc_va_start): New.
3628         (arc_va_arg): New.
3630 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
3632         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
3633         (BUILD_VA_LIST_TYPE): New.
3634         (EXPAND_BUILTIN_VA_START): New.
3635         (EXPAND_BUILTIN_VA_ARG): New.
3636         * alpha.c (alpha_builtin_saveregs): Delete.
3637         (alpha_build_va_list): New.
3638         (alpha_va_start): New.
3639         (alpha_va_arg): New.
3641 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
3643         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
3644         column zero.
3645         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
3646         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
3648         * gcc.texi: More changes related to list conversion.
3649         * invoke.texi: Likewise.
3651 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
3653         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
3654         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
3655         (expand_builtin_next_arg): Accept ARGLIST not EXP.
3656         (stabilize_va_list): New function.
3657         (std_expand_builtin_va_start): New function.
3658         (expand_builtin_va_start): New function.
3659         (get_varargs_alias_set): New function.
3660         (std_expand_builtin_va_arg): New function.
3661         (expand_builtin_va_arg): New function.
3662         (expand_builtin_va_end): New function.
3663         (expand_builtin_va_copy): New function.
3664         (expand_builtin): Call them.
3665         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
3666         __builtin_{varargs_start,stdarg_start,end,copy}.
3667         (build_va_arg): New function.
3668         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
3669         (build_va_arg): Declare.
3670         * c-decl.c (ptr_type_node, va_list_type_node): New.
3671         * c-parse.gperf (__builtin_va_arg): New.
3672         * c-parse.in (VA_ARG): New token.
3673         (unary_expr): Recognize it.
3674         * expr.c (expand_expr): Expand VA_ARG_EXPR.
3675         * expr.h (std_expand_builtin_va_start): Declare.
3676         (std_expand_builtin_va_arg): Declare.
3677         (expand_builtin_va_arg): Declare.
3678         (get_varargs_alias_set): Declare.
3679         * tree.def (VA_ARG_EXPR): New.
3680         * tree.h (BUILT_IN_VARARGS_START): New.
3681         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
3682         (ptr_type_node, va_list_type_node): Declare.
3683         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
3684         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
3685         * m88k.h, m88k.c: Likewise.
3686         * mn10300.h, mn10300.c: Likewise.
3687         * pa.h, pa.c: Likewise.
3688         * rs6000.h, rs6000.c: Likewise.
3689         * sh.h, sh.c: Likewise.
3690         * sparc.h, sparc.c: Likewise.
3692         * emit-rtl.c (operand_subword): Copy alias set.
3693         (change_address): Likewise.
3695 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
3697         * pa.c (compute_frame_size): Scan all the used callee saved registers,
3698         not just the first one.
3700 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
3702         * config/arm/arm.h (TARGET_SWITCHES): Add
3703         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
3704         (TARGET_OPTIONS): Add -mpic-register=.
3705         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
3706         (arm_pic_register_string): Declare.
3707         (NEED_PLT_GOT): Delete, replace with ...
3708         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
3709         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
3710         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
3711         * config/arm/arm.c (arm_override_options): Add new option
3712         -mpic-register=N.
3713         (arm_pic_register_string): New variable.
3714         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
3715         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
3716         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
3717         (output_return_instruction): Likewise.
3718         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
3719         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
3720         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
3722         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
3723         mention of -msched-prolog.  Document new options -msingle-pic-base
3724         and -mpic-register=.
3726 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
3728         * haifa-sched.c (reemit_notes): Tidy.
3729         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
3730         haifa's routine.
3732 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
3734         * explow.c (trunc_int_for_mode): New function.
3735         (plus_constant_wide): Use it.
3736         * combine.c (simplify_and_const_int): Likewise.
3737         (merge_outer_ops): Likewise.
3738         (simplify_shift_const): Likewise.
3739         * cse.c (simplify_unary_operation): Likewise.
3740         (simplify_binary_operation): Likewise.
3741         * emit-rtl.c (operand_subword): Likewise.
3742         * rtl.h: Declare it.
3744 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3746         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
3747         (use NUM_REGS instead of NUM_INTS).
3749 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3751         * builtins.c: New file.
3752         * expr.c (saveregs_value, apply_args_value):  Delete definition,
3753         moved into builtins.c.
3754         (string_constant): No longer static.
3755         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
3756         apply_args_size, apply_result_size, result_vector,
3757         expand_builtin_apply_args, expand_builtin_apply,
3758         expand_builtin_return): Delete functions, moved into builtins.c.
3759         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
3760         * expr.h (saveregs_value, apply_args_value): Declare variables.
3761         (expand_builtin, string_constant): Declare functions.
3762         * Makefile.in: Update to build builtin.o.
3764 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
3766         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
3767         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
3768         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
3769         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
3770         false.
3771         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
3772         Define to zero.
3774 1999-07-21  Michael Meissner  <meissner@cygnus.com>
3776         * print-rtl.c (print_rtx): Print the names of the virtual
3777         registers.
3779 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
3781         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
3782         introduced in previous delta.
3784 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3786         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
3787         to avoid name clash.
3789 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
3791         * c-lex.c (yylex) : Correct the test for overflow when lexing
3792         integer literals.
3794 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
3796         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
3797         (adjust_priority): Always call ADJUST_PRIORITY.
3798         (schedule_insn): Only put insns into the ready at cost 0.
3799         (schedule_block): Remove redundant initial sort.  Give clock_var
3800         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
3801         is not 0.
3802         * tm.texi (MD_SCHED_REORDER): Update docs.
3804         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
3805         * sparc.c (ultra_reorder_called_this_block): Delete.
3806         (ultrasparc_sched_init): Don't set it.
3807         (ultrasparc_sched_reorder): Don't check it.
3809 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
3811         * rs6000.h (struct rs6000_args): Add sysv_gregno.
3812         * rs6000.c (init_cumulative_args): Init sysv_gregno.
3813         (function_arg_boundary): Align DFmode.
3814         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
3815         to get fp reg and stack overflow correct.
3816         (function_arg): Likewise.
3817         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
3818         (setup_incoming_varargs): Restructure for ABI_V4; use
3819         function_arg_advance to skip final named argument.
3820         (expand_builtin_saveregs): Properly unskip the last integer arg
3821         when doing varargs.  Adjust overflow location calculation.
3823         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
3824         explicitly unsigned.
3825         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
3826         (__VA_GP_REGSAVE): Similarly.
3827         (__va_longlong_p): Delete.
3828         (__va_arg_type_violation): New declaration.
3829         (va_arg): Restructure.  Flag promotion errors.  Align double.
3830         TFmode passed by reference.
3832         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
3833         in the HOST_BITS_PER_WIDE_INT > 32 case.
3835 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
3837         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
3839 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
3841         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
3842         * toplev.c (documented_lang_options): Add -fpreprocessed.
3843         * cpplib.h (struct cpp_buffer): Add preprocessed.
3844         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
3845         (cpp_start_read): Don't expand macros or emit an initial #line
3846         directive if -fpreprocessed.
3848 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
3850         * cpplib.h (struct cpp_buffer): Added manual_pop for
3851         better C++ tokenization.
3852         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
3853         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
3854         * c-common.c (cpp_token): Make non-static.
3856 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3858         * c-common.h: New file.
3859         * c-common.c (permanent_obstack): Delete unused declaration.
3860         (c_global_trees): New array.
3861         (c_common_nodes_and_builtins): New function; split off common code
3862         from init_decl_processing in both c-decl.c and cp/decl.c.
3863         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
3864         c_global_trees and accessor macros defined in c-common.h.
3865         Include c-common.h.
3866         * c-decl.c: Delete definitions for tree nodes that were replaced by
3867         c_global_trees.
3868         (init_decl_processing): Build void_list_node.
3869         Call c_common_nodes_and_builtins; delete code to generate the common
3870         builtins here.
3871         * objc/objc-act.c (build_module_descriptor): Rename variable
3872         void_list_node to avoid clash with c-common.h.
3874         * Makefile.in: Update dependencies.
3875         * objc/Make-lang.in: Likewise.
3877 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
3879         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
3880         (UNIQUE_SECTION_P): Likewise.
3881         (UNIQUE_SECTION): Likewise.
3883 1999-07-19  Linas Vepstas  <linas@linas.org>
3885         * config/i370/README: New file.
3886         * config/i370/linux.h: New file.
3887         * config/i370/mvs.h: New file.
3888         * config/i370/oe.h: New file.
3889         * config/i370/t-linux: New file.
3890         * config/i370/t-mvs: New file.
3891         * config/i370/t-oe: New file.
3892         * config/i370/x-oe: New file.
3893         * config/i370/xm-linux.h: New file.
3894         * config/i370/xm-mvs.h: New file.
3895         * config/i370/xm-oe.h: New file.
3897         * i370.c (label_node_t): Add first_ref_page, label_addr,
3898         label_first_ref, label_last_ref members.
3899         (mvs_need_base_reload): Renamed from mvs_label_emitted.
3900         (MAX_MVS_LABEL_SIZE): Define.
3901         (MAX_LONG_LABEL_SIZE): Define.
3902         (alias_node_t, alias_anchor, alias_number): New.
3903         (mvs_function_table): Reorder for EBCDIC.
3904         (ascebc, ebcasc): Unconditionally define.
3905         (i370_branch_dest, i370_branch_length): New functions.
3906         (i370_short_branch, i370_label_scan): New functions.
3907         (mvs_get_label): Renamed from mvs_add_label.  Search for
3908         an existing label before creating a new one.
3909         (mvs_add_label): New function.
3910         (mvs_get_label_page): New function.
3911         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
3912         over the entire list.
3913         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
3914         (mvs_check_page) [TARGET_ELF_ABI]: New function.
3915         (mvs_add_alias, mvs_need_alias): New functions.
3916         (mvs_get_alias, mvs_check_alias): New functions.
3917         (handle_pragma): New function.
3918         (mvs_function_check): New function.
3919         (unsigned_jump_follows_p): Search harder.
3920         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
3921         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
3922         * i370.h (TARGET_VERSION): Delete.
3923         (CPP_SPEC, CPP_PREDEFINES): Delete.
3924         (mvs_label_emitted): Delete.
3925         (TARGET_EBCDIC): Delete.
3926         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
3927         (HANDLE_PRAGMA): Define.
3928         (HARD_REGNO_NREGS): Handle complex modes.
3929         (HARD_REGNO_MODE_OK): Likewise.
3930         (CLASS_MAX_NREGS): Likewise.
3931         (RET_REG): Likewise.
3932         (EXTRA_CONSTRAINT): Define.
3933         (RETURN_IN_MEMORY): True for DImode.
3934         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
3935         (FUNCTION_PROFILER): Delete.
3936         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
3937         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
3938         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
3939         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
3940         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
3941         (ASM_FILE_START): Add "RMODE ANY".
3942         (ASM_OUTPUT_EXTERNAL): Check for aliases.
3943         (ASM_GLOBALIZE_LABEL): Likewise.
3944         (ASM_OUTPUT_LABELREF): Likewise.
3945         (ASM_OUTPUT_COMMON): Likewise.
3946         (PRINT_OPERAND): Handle 'K', 'W', default.
3947         (PRINT_OPERAND_ADDRESS): New.
3948         (Lots of defines): Add support for TARGET_ELF_ABI.
3949         * i370.md (attr length): New.  Define for all patterns.
3950         (*): Lots of tweeks to assembly output and constraints.
3952 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
3954         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
3955         Disable patterns performing SImode comparisons with SImode values
3956         if TARGET_POWERPC64 and instruction does not sign-extend or does
3957         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
3958         differ for signed quantities.
3959         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
3960         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
3961         (decrement_and_branch_on_count): Add 64-bit variant.
3963 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3965         * final.c (output_asm_insn): When searching for the matching string
3966         for a given dialect, don't run past the end of the list of
3967         alternatives if there are fewer alternatives in the template than
3968         dialects.
3970 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
3972         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
3973         Removed paragraph about compression of files and size limitation,
3974         duplicated in the FAQ.  Use gcc-patches for posting patches.
3975         * gcc.c (main): Updated URL with bug reporting instructions to
3976         gcc.gnu.org.  Removed e-mail address.
3977         * system.h (abort): Likewise.
3979 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3981         * Makefile.in (stmp-multilib-sub): Make the files extracted
3982         from $(LIBGCC1) writable.
3984 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
3986         * config/arm/aout.h: Reformat for improved readability.
3988         * config/arm/arm.h: Reformat for improved readability.
3989         Replace uses of fprintf with asm_fprintf where appropriate.
3990         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
3991         function declaration assembler actions.
3992         (NUM_INTS): New macro: Convert from bytes to words.
3993         (NUM_REGS): New macro: Compute number of registers required to
3994         hold a quanitity of tyep MODE.
3995         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
3996         types.
3997         (NUM_ARG_REGS): New macro: The number of argument registers
3998         available.
3999         (ARG_REGISTER): New macro: Compute the register number of the Nth
4000         argument register.
4001         (LAST_ARG_REGNUM): New macro: The number of the last argument
4002         register.
4003         (SP_REGNUM): New macro: Register number of the stack pointer.
4004         (FP_REGNUM): New macro: Register number of the frame pointer.
4005         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
4006         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
4007         CUMULATIVE_ARGS so that it counts registers not bytes.
4009         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
4010         TARGET_INTERWORK.
4011         Replace uses of fprintf with asm_fprintf where appropriate.
4012         (output_ascii_pseudo_op): Replace with version from thumb.c
4014         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
4016         * config/arm/elf.h (CPP_PREDEFINES): Replace with
4017         SUBTARGET_CPP_SPEC.
4018         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
4019         (ASM_FILE_START): Emit ASM_APP_OFF.
4021 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
4023         * pa.c (compute_frame_size): Round frame according to
4024         STACK_BOUNDARY rather than a hardwired value.
4026         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
4028         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
4029         of "1".
4030         * configure: Rebuilt.
4032         * configure.in (hppa*-*-linux*): New configuration.
4033         * configure: Rebuilt.
4034         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
4035         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
4036         * pa/pa-linux.h: New file.
4037         * pa/t-linux: New file.
4038         * pa/xm-linux.h: New file.
4040         * pa.c (hppa_legitimize_address): Change references from SImode to
4041         either Pmode or word_mode as appropriate.
4042         (emit_move_sequence, store_reg, load_reg): Likewise.
4043         (set_reg_plus_d, hppa_expand_prologue): Likewise.
4044         (output_mul_insn): Likewise.
4045         * pa.h (PROMOTE_MODE): Likewise.
4046         (INITIALZE_TRAMPOLINE): Likewise.
4047         (Pmode): Define to word_mode.
4049         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
4050         value of 4.  Allocate 8 bytes for each FP register save.
4051         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
4052         value of 4.
4053         (hppa_expand_prologue): Likewise.
4054         * pa.h (PROMOTE_MODE): Likewise.
4055         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
4056         (FUNCTION_ARG_BOUNDARY): Likewise.
4058         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
4060         * pa.c (out_of_line_prologue_epilogue): Delete.
4061         (override_options): Remove -mspace related code.
4062         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
4063         (compute_frame_size): Only allocate space for register that
4064         actually need to be saved.
4065         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
4066         (TARGET_SWITCHES): Remove -mspace, -mno-space
4067         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
4068         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
4069         * pa/ee.asm, pa/ee_fp.asm: Delete.
4071         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
4073         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
4074         directive in column zero.
4076 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
4078         * m68k.c (output_function_prologue): Fix computation of save mask
4079         when generating PIC code.
4081 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
4083         * tree.c (build_type_attribute_variant): Move current_obstack restore
4084         after build_qualified_type call.
4086 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
4088         * configure.in: Use t-iris6, even with GNU LD.
4089         * config/mips/iris6gld.h: Fix typo in linker spec.
4090         * config/mips/t-iris6gld: Remove.
4092 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
4094         * rs6000.md (insv, extzv): Remove SImode dependence in named
4095         patterns.  Explicitly generate DImode RTL if PowerPC64 and
4096         operand is DImode.
4097         (insvdi): Reverse start and size in instruction template.
4099 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
4101         * invoke.texi: Typo fixes.
4103 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
4105         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
4106         handle at this time instead of silently generating incorrect code.
4107         (gen_imagpart): Likewise.
4109         * reload.c (find_reloads): Emit a USE for a pseudo register without
4110         a hard register if we could not create an optional reload for the
4111         pseudo.
4113 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4115         * c-typeck.c (output_init_element, process_init_element):
4116         When advancing constructor_unfilled_fields for a RECORD_TYPE,
4117         check for nameless bit fields.
4119 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
4121         * regclass.c (scan_one_insn): Notice subregs that change the
4122         size of their operand.
4123         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
4125 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
4127         * configure.in (alpha*-*-*): Include alpha/t-ieee.
4128         * configure: Rebuilt.
4129         * alpha/t-ieee: New file.
4131 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
4133         * rs6000.c (find_addr_reg): Do not select r0 as an address
4134         register.
4136 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
4138         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
4140 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
4142         * rs6000.md (movsf): Do not force easy FP constants into memory.
4144         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
4145         immed_double_const to ensure they are properly truncated then
4146         sign extended.
4148 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
4150         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
4151         always unless NO_DEBUG is used.  Compile this code
4152         unconditionally.
4153         (replace_symbols_in_block): Compile it unconditionally.
4155 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
4157         * configure.in (i?86-*-elf*): New target.
4158         * configure: Rebuilt.
4159         * i386/i386elf.h, i386/t-i386elf: New files.
4161 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
4163         * toplev.c (main): Don't complain about saying -gdwarf.
4164         (rest_of_compilation): Remove redundant code.
4166 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
4168         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
4170 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
4172         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
4173         "Li960R:", to avoid name clash.
4175 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4177         * loop.c (check_dbra_loop): When reversing a loop, delete all
4178         REG_EQUAL notes referencing the reversed biv except those which are
4179         for a giv based on it.
4181 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
4183         * version.c: Drop "gcc-" prefix from version #.
4185 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
4187         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
4188         the label if we're being verbose.
4190 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
4192         * m68k.c (output_function_prologue): Add pic register to mask
4193         if live and flag_pic.
4194         (output_function_epilogue): Likewise.
4196 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
4198         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
4199         directives in column zero.
4201         * pa/elf.h (ASM_FILE_START): Define.
4202         * pa/som.h (ASM_FILE_START): Include .level directives.
4203         * pa/hpux10.h (ASM_FILE_START): Delete.
4204         * pa/hpux11.h (ASM_FILE_START): Delete.
4206         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
4208 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4210         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
4211         when reload_out equals reload_in.
4213 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
4215         * invoke.texi (Spec Files): New node: Describe the contents of
4216         spec files.
4218 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
4220         * invoke.texi (DEC Alpha Options): Put @end table at
4221         beginning of line, to avoid confusing texi2html.
4223 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
4225         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
4226         introduced in previous delta.
4228 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4230         * reload1.c (gen_reload): When synthesizing a 3 operand add
4231         sequence, improve test for when to reload OP1 into the reload
4232         register instead of OP0.
4234 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
4236         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
4238 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
4240         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
4241         string literal.
4243 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
4245         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
4246         (va_dcl): Use __builtin_va_alist_t.
4248 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
4250         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
4251         on the permanent_obstack.
4252         * dwarfout.c (output_type): Likewise.
4254 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
4256         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
4257         Merged from c-typeck.c and cp/typeck.c.
4258         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
4259         Merged into c-common.
4261 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
4263         * c-lex.c (errorcount): Declare it.
4264         (finish_parse): Update errorcount when using CPPLIB.
4266 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
4268         * fixinc/inclhack.def(end_else_label): Double the backslash so
4269         sed gets a chance to see it.
4270         * fixinc/inclhack.sh: regen
4271         * fixinc/fixincl.x: regen
4273 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
4275         Add framework to support armv5 architecture when it becomes
4276         available:
4278         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
4279         (arm_arch5): New variable.
4280         (all_architectures): Add armv5 line.
4281         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
4282         -march=armv5 is specified on the command line.
4283         (arm_arch5): Export this variable.
4284         * invoke.texi: Document new string accepted by -march= switch for
4285         ARM ports.
4287         * config/arm/arm.h: Replace use of constant 12 as a register
4288         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
4289         * config/arm/arm.c: Replace use of constant 12 as a register
4290         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
4292         * config/arm/elf.h: Tidy up.
4293         * config/arm/coff.h: Tidy up.
4295 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
4297         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
4298         * gcc/config/mips/t-iris6gld: New file.
4299         * gcc/config/mips/iris6gld.h: Likewise.
4301 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
4303         * c-decl.c (widest_integer_literal_type_node,
4304         widest_unsigned_literal_type) : New.
4305         (init_decl_processing): Handle/use the two new types.
4306         * c-common.c (type_for_size,type_for_mode) : Same.
4307         * c-lex.c (yylex) : Same.
4308         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
4309         Same.
4310         * c-tree.h (widest_integer_literal_type_node,
4311         widest_unsigned_literal_type) : New.
4313 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
4315         * dwarfout.c (field_byte_offset): Correctly compute the object's
4316         byte offset for the first bit of a field which crosses an alignment
4317         boundary on a !BYTES_BIG_ENDIAN target.
4319 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
4321         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
4322         ntohs.
4324 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
4325                           Jeff Law <law@cygnus.com>
4327         * ginclude/varargs.h (va_dcl): Use word_mode for type of
4328         __builtin_va_list.
4330         * except.c: Include intl.h.
4331         (expand_eh_return): Set current_function_cannot_inline.
4332         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
4333         * function.h (struct function): Add eh_return_stub_label.
4334         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
4335         * Makefile.in (except.o): Depend on intl.h.
4337 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
4339         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
4340         same as offsettable in cases 1 and 2.
4342 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
4344         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
4345         (extlh, extwh): Likewise.
4347 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
4349         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
4351 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
4353         * configure.in: Add arm-pe and thumb-pe targets.
4354         * configure: Regenerate.
4356         * thumb.c (arm_naked_function_p): New function: Determines if
4357         a function is naked (has no gcc generated prologue/epilogue).
4358         (is_called_in_ARM_mode): Return true if the func has the
4359         interfacearm attribute.
4360         (output_return): Do not generate a return for naked functions.
4361         (thumb_function_prologue): Do not generate a prologue for
4362         naked functions.
4363         (thumb_expand_prologue): Do not generate a prologue for naked
4364         functions.
4365         (thumb_expand_epilogue): Do not generate an epilogue for naked
4366         functions.
4367         (arm_valid_machine_decl_attribute): New function, copied from
4368         arm.c:  Permit naked and interfacearm attributes.
4370         * config/arm/pe.c: New file: Support code for arm-pe target.
4371         * config/arm/pe.h: New file: Header file for arm-pe target.
4372         * config/arm/tpe.h: New file: Header file for thumb-pe target.
4373         * config/arm/t-thumb-pe: New file: Makefile fragment for
4374         thumb-pe target.
4376 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
4378         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
4379         -fPIC or -fpic is specified.
4381 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
4383         * expr.c (emit_block_move): Use copy_to_mode_reg for
4384         !TARGET_MEM_FUNCTIONS case too.
4386         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
4387         appropriate.
4388         * configure: Rebuilt.
4389         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
4390         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
4391         definitions made redundant by dbxelf.h inclusion.  Delete
4392         lots of definitions related to assembly output that are
4393         specific to the SOM object format.
4394         * pa.c (output_function_prologue): Do not emit the function's
4395         name for OBJ_ELF.
4396         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
4397         * pa-pro.h: Deleted.
4398         * som.h: New file with SOM specific definitions.
4399         * elf.h: New file with ELF specific definitions.
4401         * elfos.h (const_section): Output a tab before assembler directives.
4402         (ctors_section, dtors_section): Likewise.
4403         (ASM_OUTPUT_SECTION_NAME): Likewise.
4405         * pa/pa1.h: Delete unused file.
4407 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
4409         * configure.in (hppa*-hp-hpux11*): New configuration.
4410         * configure: Rebuilt.
4411         * pa/pa-hpux11.h: New file.
4412         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
4413         command line.
4415         * mips.md (leasi, leadi): New patterns.
4417         * expr.c (emit_block_move): Properly handle case where one of the
4418         block move arguments has a queued increment or decrement.
4419         (clear_storage): Similarly.  Fix formatting goof.
4421 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
4423         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
4424         semicolon from the BSD VA_LIST replacement expression.
4426         * fixinc/inclhack.sh: regen
4427         * fixinc/fixincl.x: regen
4429         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
4430         now use the fixincl program.
4432 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
4434         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
4435         case.  Also make the PIC register call_used.
4437         * m68k.h (FINALIZE_PIC): Delete.
4438         * m68k.c (finalize_pic): Delete.
4440 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
4442         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
4443         to memory.
4445 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
4447         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
4449 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
4451         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
4453 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
4455         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
4457 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
4459         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
4461 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
4463         * rs6000.c (output_toc): Always use hex values for floating-point
4464         constants.  Store single-precision values in upper-half of TOC
4465         entry in 64-bit mode.
4466         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
4467         to final constraints.
4468         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
4469         (fctiwz): Improve accuracy of RTL for pattern.
4471 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
4473         * expr.c (expand_expr): Allow RTL_EXPR's through the
4474         MAX_INTEGER_COMPUTATION_MODE checks.
4476 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
4478         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
4479         such that MASK_SUPPORT_ARCH is not negative.
4481 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
4483         * loop.c (verify_dominator): Properly handle ADDR_VEC and
4484         ADDR_DIFF_VEC insns that appear inside loops.
4486 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
4487                           Jeff Law <law@cygnus.com>
4489         * rs6000.md (movdf_hardfloat32): Revert previous patch.
4490         Handle LO_SUM the same as offsettable in cases 1 and 2.
4491         * rs6000.c (find_addr_reg): Revert previous patch.
4493 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
4495         * system.h (strstr): New external function declaration.
4496         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
4497         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
4498         * config.in, configure: Rebuilt.
4500 1999-06-24  Tom Tromey  <tromey@cygnus.com>
4502         * gcc.c (main): Read user-specified specs files after computing
4503         additional startfile_prefixes.
4505 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
4507         Revert these two patches:
4509         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4510         * loop.c (strength_reduce): When doing biv->giv conversion, update
4511         reg note of NEXT->insn.
4513         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4514         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
4515         reg_biv_class.
4516         (recombine_givs): Set ix field after sorting.
4518 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4520         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
4521         for the parts of an UNSPEC / UNSPEC_VOLATILE.
4523 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
4525         *fixinc/inclhack.def:  Add fix development commentary
4526         (read_ret_type): reactivate and add selection clause
4527         (zzz_*): tweak output file name to match what is used in hackshell.tpl
4528         *fixinc/{fixincl.x|inclhack.sh}: regen
4530 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
4532         * expr.c (expand_expr): STRIP_NOPS before checking against
4533         MAX_INTEGER_COMPUTATION_MODE
4534         (check_max_integer_computation_mode): Likewise.
4536 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
4538         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
4540 1999-06-22  Jim Wilson  <wilson@cygnus.com>
4542         * expr.c (store_expr): When target is a promoted subreg, return a
4543         promoted subreg as a result.
4545 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
4547         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
4548         coding standards.
4549         (dwarf2out_define): Mark unused parameters appropriately.
4550         (gen_unspecified_parameters_die): Ditto.
4551         (gen_subprogram_die): Fix signed/unsigned warnings.
4552         (gen_variable_die): Ditto.
4554 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
4556         * fixinc/inclhack.def(end_else_label): combined else_label
4557         and endif_label and fixed the sed expression.
4558         *fixinc/{fixincl.x|inclhack.sh}: regen
4560 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
4562         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
4563         'x' when handling non-offsettable addresses
4565 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
4567         * final.c (shorten_branches): Don't try to split an insn that has
4568         been deleted.
4570 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
4572         * config/mips/mips.c (symbolic_expression_p): New function.
4573         (mips_select_rtx_section): Put symbolic expressions in the
4574         data section, not the read-only data section.
4576 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
4578         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
4580 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
4582         * collect2.c (main): Log frame table count.
4583         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
4584         (scan_prog_file) [COFF]: Handle frame tables.
4586         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
4587         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
4588         * alpha/elf.h: Undef them again.
4589         * alpha/vms.h: Remove their definitions.
4591 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4593         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
4594         remove the clobber of r0 and change the REG_UNUSED note to
4595         REG_INC.
4597 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
4599         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
4600         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
4601         fits in HOST_WIDE_INT and one uses union to access a long constant
4602         as double.
4604 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
4606         * sparc.c (sparc_override_options): Don't allow profiling for
4607         code models other than medlow.
4608         (sparc_function_profiler): New function from old FUNCTION_PROFILER
4609         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
4610         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
4611         (sparc_block_profiler): Likewise.
4612         (sparc_function_block_profiler_exit): Likewise.
4613         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
4614         (FUNCTION_BLOCK_PROFILER): Likewise.
4615         (BLOCK_PROFILER): Likewise.
4616         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
4617         (MCOUNT_FUNCTION): New.
4618         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
4619         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
4620         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
4621         (MCOUNT_FUNCTION): New.
4622         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
4623         (BLOCK_PROFILER): Delete.
4624         (MCOUNT_FUNCTION): New.
4626 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
4628         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
4630 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
4632         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
4633         Add the macros.
4635         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
4636         Ditto.
4638         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
4639         Ditto.
4641         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
4642         Ditto.
4644 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
4646         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
4647         types.
4649 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
4651         * i386/djgpp.h (LIB_SPEC): New.
4652         (STARTFILE_SPEC): New.
4654         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
4656 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
4658         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
4659         compiler flags.
4661         * system.h (WSTOPSIG): New macro.
4663 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
4665         * c-pragma.c (push_alignment): Don't ignore alignments greater than
4666         4 bytes.
4667         (insert_pack_attributes): Take into account member natural
4668         alignment.
4670         * i386/winnt.c (exports_head): New static variable.
4671         (i386_pe_record_exported_symbol): New function.
4672         (i386_pe_asm_file_end): Use.
4673         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
4674         symbols to be emitted at end of assembly.
4675         (ASM_DECLARE_OBJECT_NAME): Likewise.
4676         (ASM_DECLARE_FUNCTION_NAME): Likewise.
4678         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
4679         -iwithprefix.
4681 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
4683         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
4684         in last change.
4686 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
4688         * haifa-sched.c (sched_analyze_1): Use free_list instead of
4689         zapping reg_last_uses directly.
4690         (sched_analyze_2, sched_analyze_insn): Likewise.
4691         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
4693 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
4695         * rs6000.md (movdf_hardfloat32): Use worst case insn length
4696         attributes for cases 1 and 2.
4698 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
4700         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
4701         instead of set.
4703 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
4705         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
4707 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
4709         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
4710         PIC_OFFSET_TABLE_REGNUM for general alloaction.
4711         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
4712         must be stacked if it is used for PIC accesses.
4713         * arm.c (use_return_insn): Handle PIC register specially.
4714         (output_return_instruction): Likewise.
4715         (output_func_{prologue,epilogue}): Likewise.
4716         (output_expand_prologue): Likewise.
4718         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
4719         (*strsi_predec): Renamed from *strqi_predec.
4720         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
4721         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
4723         * arm.c (arm_override_options): Remove warning about PIC code
4724         not being supported.
4726 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
4728         * rs6000.c (find_addr_reg): New function.
4729         * rs6000.h (find_addr_reg): Declare.
4730         (offsettable_addr_operand): Delete.
4731         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
4732         from and stores to GPRs.
4734 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
4736         * alpha.c (alpha_expand_block_move): Use get_insns rather than
4737         gen_sequence as argument to emit_no_conflict_block.
4739 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
4741         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
4742         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
4743         *fixinc/fixincl.x: regen
4744         *fixinc/inclhack.sh: regen
4746 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
4748         * added support for -mpcrel (PC relative addressing for m68k)
4749         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
4750         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
4751         * m68k.c (print_operand_address): Handle 32-bit PIC case.
4752         (comments for general_src_operand): Add some explanation
4753         about EXTRA_CONSTRAINTS.
4754         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
4755         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
4756         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
4757         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
4758         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
4759         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
4760         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
4761         if not already set.
4762         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
4763         * m68k.h (TARGET_PCREL): New target flag.
4764         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
4765         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
4766         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
4767         contains a SYMBOL_REF.  Relax this constraint during reload, since
4768         we want to use the predicates, not reload's built-in concept of a
4769         valid memory address, to control what insns need reloading.
4770         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
4771         operands (essentially 'g', 'm', and 's' under normal circumstances).
4772         * m68k.c (print_operand): Cause printing of pc-relative addresses
4773         to include pc register.
4774         (print_operand_address): Ditto.
4775         (general_src_operand): Accept operands that are not only
4776         general_operands, but are also valid when used as a pc-relative
4777         source.
4778         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
4779         (memory_src_operand): Similar, for memory_operands.
4780         (pcrel_address): New predicate to accept the special case of a
4781         pc-relative address.
4782         * m68k.md (many patterns): Rewrite common SImode, HImode, and
4783         QImode insns to accept *_src_operand instead of *_operand where
4784         pc-relative operands can fit.  For example, a pc-relative operand
4785         can be used as a memory source operand for addsi3, but not as a
4786         memory destination.
4787         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
4789 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
4791         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
4792         .thumb_set pseudo op to mark aliases of thumb functions.
4794 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
4796         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
4797         preference to ASM_OUTPUT_DEF, if it is defined.
4799         * tm.texi: Document new, optional target macro
4800         ASM_OUTPUT_DEF_FROM_DECLS.
4802 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
4804         * fixincludes: ISCNTL patch
4805         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
4806         (dgux_int_varargs): new for DG/UX
4807         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
4809 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
4811         * invoke.texi (ia32 options): Fix typo.
4813 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4815         * loop.c (strength_reduce): When doing biv->giv conversion, update
4816         reg note of NEXT->insn.
4818 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
4820         * loop.c (move_movables): Note issues with replacing REGs with
4821         SUBREGs.
4822         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
4824 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
4826         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
4828         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
4829         the reference to `mcount' was not correct for the ELF on FreeBSD.
4831 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4833         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
4834         reg_biv_class.
4836         (recombine_givs): Set ix field after sorting.
4838 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
4840         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
4841         to safe to extract a subword out of a REG.
4843 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4845         * sh.md (mulsi3): Don't add a no-op move at the end.
4847 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4849         * cse.c (cse_insn): Don't put hard register source into tables for
4850         the last insn of a libcall.
4852 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4854         * loop.c (strength_reduce): Insert sets of derived givs at every
4855         biv increment, even if it's the only one.
4857 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
4859         * dwarfout.c (add_incomplete_type): New fn.
4860         (output_type): Call it.
4861         (retry_incomplete_types): New fn.
4862         (dwarfout_finish): Call it.
4864         From Eric Raskin <ehr@listworks.com>:
4865         (output_type): Output types for bases.
4867 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
4869         * mips.c (mips_output_conditional_branch): Add `break'
4870         between `default' label and `close braces'.
4872 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
4874         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
4875         specifications and make it realistic.
4876         (LIB_SPEC): Likewise.
4878 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
4880         * config/mips/mips.c (mips_secondary_reload_class): Check for
4881         (PLUS (SP) (REG)) and return appropriate register class.
4882         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
4883         Handle (PLUS (SP) (REG)).
4884         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
4885         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
4886         of emit_insn for tablejump.
4888 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
4890         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
4891         asm_fprintf format string by itself.
4892         (output_function_profiler): Likewise.
4894 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
4896         * combine.c (simplify_logical, case AND): Only call
4897         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
4898         or the constant is positive.
4900 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
4902         * configure.in: Fix typo in rs6000-ibm-aix4 case.
4903         * configure: Regenerate.
4905 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
4907         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
4908         require a sub-version #.
4909         * configure: Rebuilt.
4911 1999-06-14  Robert Lipe  (robertlipe@usa.net)
4913         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
4915 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
4917         * c-typeck.c (process_init_element): Detect excess elements in
4918         char array initializer.
4920 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4922         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
4924 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
4926         * invoke.texi (Option Summary): Add -fpermissive flag.
4928 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
4930         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
4931         that require PIC code sequences.
4933 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
4935         * configure.in: Add new target: thumb-elf.
4936         * configure: Regenerate.
4937         * config/arm/t-thumb-elf: New file: Makefile fragment for
4938         thumb-elf build.
4939         * config/arm/telf.h: New file: Header file for thumb-elf
4940         build.
4942 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
4944         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
4945         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
4946         initializers is some circumstances.
4948         * fixinc/inclhack.def (endif_label): Add additional selector for
4949         more bogus stuff after #endif statements.
4950         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
4952 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
4954         * i386/cygwin.h (SET_ASM_OP): Define.
4956 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
4958         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
4960 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4962         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
4963         latter.
4965         * sh.md (ic_invalidate_line_i): Remove second alternative.
4967 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
4969         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
4970         test for the presence of valid prototypes.  Delete bypass expr.
4971         (ioctl_fix_ctrl): Correct the selection expression.
4972         (no_double_slash): Correct quoting rules
4973         *fixinc/fixincl.x: regen
4974         *fixinc/inclhack.sh: regen
4976 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
4978         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
4980 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4982         * rs6000.md (movsi_got_internal_mem): Delete.
4983         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
4984         (GOT_TOC_REGNUM): Delete.
4985         (PIC_OFFSET_TABLE_REGNUM): Define.
4986         (FINALIZE_PIC): Disable.
4987         * rs6000.c (rs6000_got_register): New code for fixed pic register.
4988         (rs6000_replace_regno): Delete.
4989         (rs6000_finalize_pic): Likewise.
4990         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
4992 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4994         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
4995         is a note; use <= for the compare; advance P while it is
4996         a NOTE.
4998 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
5000         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
5001         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
5003         * varasm.c (remove_from_pending_weak_list): Verify t->name
5004         is non-NULL before passing it to strcmp.
5006 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
5008         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
5009         the typed arguments are not part of a comment
5010         (ioctl_fix_ctrl): Added a purpose comment
5011         *fixinc/fixincl.x: regenerate
5012         *fixinc/inclhack.sh: regenerate
5014 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5016         * invoke.texi: Add C4x invocation docs.
5018 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5020         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
5021         Define new macros.
5022         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
5023         TARGET_EXPOSE_LDP.
5024         (c4x_legitimize_reload_address): New function.
5025         * config/c4x/c4x.md: Update docs.
5027 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
5029         * fixincludes: Avoid removing '.'.
5030         * fixinc/fixinc.svr4: Likewise.
5031         * fixinc/fixinc.winnt: Likewise.
5032         * fixinc/inclhack.tpl: Likewise.
5033         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
5035 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5037         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
5038         pattern.
5039         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
5041 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
5043         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
5044         correctly.
5046 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
5048         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
5049         * configure: Regenerate.
5051 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
5053         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
5054         values.
5056 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
5058         * fixinc/inclhack.def (avoid_bool): Also catch
5059         "typedef [unsigned] int bool".
5060         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
5062         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
5063         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
5064         * configure: Rebuilt.
5066 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
5068         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
5069         such that we can override its definitions if necessary.
5070         (CPP_SPEC): New define.  Support processor specific predefines via
5071         %(cpp_cpu).
5072         (CC1_SPEC): New define.  Support processor specific compiler
5073         options via %(cc1_cpu).
5074         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
5075         -static.
5077 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5079         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
5080         between sed's -e flag, and the open-quote following it.
5081         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
5083 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
5084                           Jeffrey A Law  (law@cygnus.com)
5086         * varasm.c (assemble_start_function): Remove the function
5087         from the pending weak decls list when we define a function.
5088         (assemble_variable): Similarly for variables.
5089         (weak_finish): Ignore items on the list with a NULL name.
5090         (remove_from_ending_weak_list); New function to "remove" an item
5091         from the pending weak declarations list.
5093 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
5095         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
5097 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
5099         * c-lex.c (GETC): Redefine to call getch.
5100         (UNGETC): Redefine to call put_back.
5101         (putback_buffer): New structure type.
5102         (putback): New static structure.
5103         (getch): New function.
5104         (put_back): New function.
5105         (yylex): Replace unused bytes from bad multibyte character.
5107 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
5109         * cpplib.c (do_define): Cast `alloca' return value.
5110         (do_include, do_undef, do_pragma): Likewise.
5111         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
5112         values.
5113         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
5114         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
5116 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
5118         * sparc.md (abstf2): This should be an expand.
5119         (split after abstf2_notv9): Fix mode.
5120         (abstf2_hq_v9): New pattern.
5121         (abstf2_v9): Only use when no hard quad.
5122         (absdf2_v9): Fix if target is not the same as source.
5123         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
5124         Add correct output constraints.
5126 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
5128         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
5129         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
5131 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
5133         * mips.h (mips_output_conditional_branch): New function.
5134         (mips_adjust_insn_length): Likewise.
5135         (ASSEMBLER_SCRATCH_REGNUM): New macro.
5136         (ADJUST_INSN_LENGTH): Likewise.
5137         * mips.c (print_operand): Add `F' and `W' for floating-point
5138         comparison opcodes.
5139         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
5140         are now in bytes.
5141         (mips_adjust_insn_length): New function.
5142         (mips_output_conditional_branch): New function.
5143         * mips.md (length): Adjust attribute definition to handle
5144         conditional branches.   Change lengths to bytes, rather than
5145         instructions throughout.  Remove length attribute from
5146         instructions whose length is four bytes, and rely on the default
5147         instead.
5148         (dslot): Fix typo in comment.
5149         Reword conditional branch patterns to use
5150         mips_output_conditional_branch.
5152 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5154         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
5155         (LIB_SPEC): Likewise.
5156         Link with -lprof1_r for -g/-pg.
5158 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5160         * loop.c (check_dbra_loop): Fix change of Jan 19.
5162 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
5164         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
5165         (STARTFILE_SPEC):  Define, override the svr4.h version.
5166         (ENDFILE_SPEC):  Likewise.
5168 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
5170         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
5171         * fixinc/fixincl.x: Regenerated.
5172         * fixinc/inclhack.sh: Regenerated.
5174 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5176         * sh.c (barrier_align): Don't return early for normal branch/barrier
5177         when optimizing for SH2.
5179 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
5181         * i386/udk.h (LINK_SPEC): Correct linker search path for
5182         system libraries.
5184 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5186         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
5187         (braf_label_ref_operand): Delete.
5188         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
5189         * sh.md (casesi_jump_2): Operand1 is now the inside of a
5190         label_ref, and has no predicate.
5191         The patten has a predicate to guard against invalid substitutions.
5192         (dummy_jump): Delete.
5193         (casesi): Update use of casesi_jump_2.
5195 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
5197         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
5198         *fixinc/fixincl.x: regenerate
5199         *fixinc/inclhack.sh: regenerate
5201 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
5203         * dwarf2out.c (add_incomplete_type): New fn.
5204         (gen_struct_or_union_type_die): Call it.
5205         (retry_incomplete_types): New fn.
5206         (dwarf2out_finish): Call it.
5208 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
5210         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
5211         current block starts with a CODE_LABEL and ends with a CALL and
5212         we can not find all the argument setup instructions for the CALL.
5214 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
5216         Revert this change:
5217         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
5218         something is a candidate for optimize_bit_field_compare.
5220 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5222         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
5224 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
5226         * alpha.c (override_options): Thinko in last patch.
5228         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
5229         (LIB_SPEC): Recognize -pthread.
5231 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
5233         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
5234         definition in config/arm/coff.h
5235         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
5237 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
5239         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
5240         fixes that need "file=xxx\n" prepended before invocation
5241         (start_fixer - new): starting the fixer process is complex enough
5242         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
5243         (process): uses the new routine; omit usage of putenv()
5244         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
5245         * fixinc/fixincl.x: regenerate
5247 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
5249         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
5250         and version #s (1.1 -> 2.96) as needed.
5251         * README.g77: Kill way out of date file in the toplevel directory.
5253 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
5255         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
5256         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
5257         * configure: Rebuilt.
5258         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
5259         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
5260         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
5261         (SWITCH_TAKES_ARG): Likewise.
5262         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
5263         * config/t-freebsd: Moved from config/i386/ so it can used for all
5264         FreeBSD targets.
5266 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
5268         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
5270 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
5272         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
5273         * configure: Rebuilt.
5275 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
5277         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
5278         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
5279         * rs6000/rs6000.c (rs6000_file_start): Use putc.
5280         (rs6000_output_load_toc_table): Same.
5281         (output_prolog, output_mi_thunk): Same.
5282         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
5283         (ASM_GLOBALIZE_LABEL): Use putc.
5285 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
5287         * alpha.md (reload_*_help): New patterns and splitters.
5288         (reload_*): Use them.
5289         (mov[qh]i): Likewise.
5291 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
5293         * cccp.c (handle_directive): Handle backslash-newlines in quoted
5294         strings correctly.
5296 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
5298         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
5300 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
5302         * flow.c (mark_regs_live_at_end, insn_dead_p,
5303         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
5304         and HARD_FRAME_POINTER_REGNUM special treatment if reload
5305         hasn't run or the frame pointer is needed.
5306         * haifa-sched.c (attach_deaths): Likewise.
5307         * sched.c (attach_deaths): Likewise.
5309 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
5311         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
5312         calculate_can_reach_end returns nonzero.
5314         * configure.in (native gas tests): Search for an assembler in the
5315         same manner that the installed compiler will.
5316         * configure: Rebuilt.
5317         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
5319         * alias.c (find_base_term): Improve handling of addresses
5320         constructed from binary operations.
5322 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
5324         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
5326 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
5328         * function.h (cleanup_label, frame_offset): Declare.
5329         (tail_recursion_label, tail_recursion_reentry): Likewise.
5330         (arg_pointer_save_area, rtl_expr_chain): Likewise.
5331         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
5332         (tail_recursion_label, tail_recursion_reentry): Likewise.
5333         (arg_pointer_save_area, rtl_expr_chain): Likewise.
5335 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
5337         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
5338         defined.
5339         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
5340         (MAX_OFILE_ALIGNMENT): Define.
5342 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
5344         * fixincl.c: Replace local include scheme with #includes of
5345         gansidecl.h and system.h.
5346         * procopen.c:  Likewise.
5347         * server.c:  Likewise.
5349 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
5351         * i386/t-dgux (EXTRA_PARTS): Add crti.o
5352         (crti.o): Add build rule and dependencies.
5353         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
5355 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5357         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
5358         (LIB_LINUX_SPEC): Likewise.
5359         (LIB_LINUX_SPEC): Add support for -pthread
5360         (CPP_OS_LINUX_SPEC): Likewise.
5361         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
5362         specified.
5364 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
5366         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
5367         conditional move.
5368         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
5369         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
5370         for IEEE math and CC_FCOMI.
5371         (put_jump_code): No IEEE if CC_FCOMI is set.
5373 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5375         * fold-const.c (fold_truthop): Make the field reference unsigned
5376         when converting a single bit compare.
5378 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5380         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
5382 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
5384         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
5385         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
5386         version did.
5388         * reload.c (push_reload): Do not call remove_address_replacements
5389         when presented with identical optional reloads.
5391 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
5393         * alpha.h (MASK_FIX, TARGET_FIX): New.
5394         (MASK_*): Reorganize constants.
5395         (CPP_AM_FIX_SPEC): New.
5396         (TARGET_SWITCHES): Add FIX.
5397         (EXTRA_SPECS): Likewise.
5398         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
5399         (SECONDARY_MEMORY_NEEDED): Likewise.
5400         (REGISTER_MOVE_COST): Likewise.
5401         * alpha.c (override_options): Add FIX support.  Always use
5402         ALPHA_TP_PROG for ev6.
5403         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
5404         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
5405         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
5407 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
5409         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
5410         something is a candidate for optimize_bit_field_compare.
5412 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
5414         * gcc.texi (Passes): Document branch-shortening.
5415         * invoke.texi (Debugging Options): Document the fact that `-dp'
5416         outputs length information for instructions.
5418 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
5420         * flow.c: Revert previous delta.
5422 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
5424         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
5425         FRAME_POINTER_REGNUM.
5426         (mark_set_1): Ditto.
5427         (mark_used_regs): Ditto.
5429 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
5431         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
5432         (GOT_PCREL): New macro.  Define to 1 if not already defined.
5433         * arm/elf.h (GOT_PCREL): Define to 0.
5434         * arm.c (arm_finalize_pic): Take into account the setting of
5435         GOT_PCREL.
5437 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
5439         * output.h (STRIP_NAME_ENCODING): Provide default definition.
5440         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
5442         * flow.c (mark_set_1): Do not record BLKmode stores as dead
5443         store elimination candidates.
5445 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
5447         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
5448         TARGET_GAS.
5450 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
5452         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
5453         Add use of x-aix41-gld.
5455 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
5457         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
5458         (ASM_OUTPUT_DESTRUCTOR): Define.
5460 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
5462         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
5463         last CODE_LABEL in a loop if we have previously passed a jump
5464         to the top of the loop.
5466 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
5468         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
5469         applying Philip's patch.
5471 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
5473         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
5474         are not VAR_DECLs.
5476 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
5478         * loop.c (strength_reduce): Grow reg_single_usage as needed.
5480 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
5482         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
5483         Also remove a useless comment.
5485 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
5487         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
5489 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
5491         * collect2.c (main): Only generate import or export file and add
5492         to link arguments if non-empty.  Use xmalloc not alloca.
5493         (write_{export,import}_file): Delete.
5494         (write_aix_file): New function.
5495         (locatelib): Use xmalloc not malloc.
5496         (GCC_OK_SYMBOL): Do not check type if aix64.
5498 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
5500         Based on patch by Scott Bambrough and Pat Beirne:
5501         * config/arm/arm.c (making_const_table): New variable.
5502         * config/arm/arm.h (making_const_table): Declare.
5503         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
5504         appropriate.
5505         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
5506         Keep track of when we are building the constant table.
5508 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
5510         * config/arm/arm.c (arm_override_options): Fix erroneous warning
5511         message.
5513 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
5515         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
5516         defined.
5518 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
5520         * tm.texi (FUNCTION_ARG): Correct description of a stack element
5521         in a PARALLEL.
5523 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
5525         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
5527 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5529         * rs6000.c (output_mi_thunk): Enable full support again.
5531 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5533         * sh.h (BRANCH_COST): Define.
5535 Thu May 20 10:00:42 1999   Stephen L Moshier  <moshier@world.std.com>
5537         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
5539 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
5541         * function.c (assign_stack_local): Align stack slot propertly.
5542         (assign_outer_stack_local): Likewise.
5544 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
5546         * expr.h (lang_expand_constant): Declare.
5547         * toplev.c (lang_expand_constant): Define it.
5548         * varasm.c (output_constant): Use it.
5550 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5552         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
5553         Change function definitions to K&R style.
5555 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
5557         * fixinc/fixincl.c: We must not ignore SIGCLD now.
5559 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
5561         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
5562         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
5563         (several places): omit static initialization
5564         (process): use single fd, since only the read fd is used
5565         * fixinc/gnu-regex.c: define 'const' away, if not supported
5566         * fixinc/procopen.c(several places): omit static initialization
5567         * fixinc/server.c: define 'volitile' away, if not supported
5569 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5571         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
5572         asm_fprintf and %L to generate the label name.
5573         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
5574         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
5576 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
5578         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
5579         insn for a conditional jump can not be found.
5581 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
5583         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
5584         on variables in specific sections other than .sbss and .sdata.
5586 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
5588         * stmt.c (expand_return): Call start_cleanup_deferral and
5589         end_cleanup_deferral around conditional code.
5591 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
5593         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
5594         filename lists.  Utilizes new "krstr" AutoGen function.
5595         * fixinc/fixincl.x: Rebuilt.
5597 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
5599         * i386.c (output_float_compare): Avoid GNU-C extensions.
5601 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
5603         * version.c: Bump to distinguish mainline tree from the
5604         gcc-2.95 branch.
5606 See ChangeLog.1 for earlier changes.
5608 Local Variables:
5609 add-log-time-format: current-time-string
5610 End: