* ggc.h (lang_cleanup_tree): Remove.
[official-gcc.git] / gcc / ChangeLog
blobafc3ccbfb0bc0123ef23a92cbde15019fc505292
1 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
3         * ggc.h (lang_cleanup_tree): Remove.
4         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
5         * ggc-callbacks.c (lang_cleanup_tree): Remove.
6         
7         * c-decl.c (finish_struct): Use ggc_alloc to allocate
8         TYPE_LANG_SPECIFIC when garbage collecting.
9         (lang_cleanup_tree): Remove.
11 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
13         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
14         * crtstuff.c: Not here.
15         * dwarf2out.c: Or here.
16         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
17         info.
19 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
21         * function.h (free_after_compilation): Remove decl parameter.
22         (free_varasm_status0: Likewise.
23         (free_emit_status): Likewise.
24         (free_stmt_status): Likewise.
25         (free_after_compilation): Likewise.
26         (init_lang_status): New variable.
27         (free_lang_status): Likewise.
28         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
29         * function.c (init_lang_status): New variable.
30         (free_lang_status): Likewise.
31         (push_function_context_to): Don't set function::decl here.
32         (free_after_copmilation): Make decl parameter implicit.  Call
33         free_lang_status if defined. 
34         (prepare_function_start): Call init_lang_status if defined.
35         (init_function_start): Set function::decl here.
36         * profile.c (output_func_start_profiler): Don't call pushdecl
37         until we've actually started the function.
38         * stmt.c (free_stmt_status): Make decl parameter implicit.
39         * toplev.c (rest_of_compilation): Don't pass decl to
40         free_after_compilation.
41         * varasm.c (free_varasm_status): Likewise.
42         
43 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
45         * except.c (call_get_eh_context): Add root when allocating static
46         tree variable.
48 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
50         * arm.c: Include "ggc.h".
51         (arm_add_gc_roots): New function.
52         (arm_override_options): Call it.
53         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
55         * arm.md (define_asm_attributes): Add a pool_range attribute.
57 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
59         * extend.texi (Volatiles): New node.
61 Thu Sep  9 12:20:34 1999  Nick Clifton  <nickc@cygnus.com>
63         * toplev.c (documented_lang_options): 
65 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
67         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
68         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
69         (struct ggc_any): Replace `mark' with `magic_mark'.
70         (ggc_alloc_string): Use memcpy, not bcopy.
71         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
72         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
73         (ggc_free_any): New.
74         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
75         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
76         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
77         Use IS_MARKED. Use ggc_free_any.
79 1999-09-09  Scott Bambrough <scottb@netwinder.org>
81         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
83 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
85         * toplev.c (main): Always init_ggc.
87 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
89         * except.c (find_all_handler_type_matches): Free the list if
90         we found no matches.
92         * combine.c (SUBST): Break out to a real function do_SUBST.
93         (SUBST_INT): Likewise.
94         * gcse.c (free_pre_mem): Free `temp_bitmap'.
95         (pre_insert): Free `inserted'.
96         * loop.c (basic_induction_var): Always set `location'.
98         * function.c (expand_function_end): Add initial_trampoline as a root.
99         * rtl.h (init_varasm_once): Declare.
100         * toplev.c (compile_file): Call it.
101         * ggc-simple.c (ggc_mark_string_ptr): New.
102         (ggc_add_string_root): New.
103         (ggc_collect): Disable collection avoidance temporarily.
104         * ggc.h (ggc_add_string_root): Declare.
105         * except.c (create_rethrow_ref): Use ggc_alloc_string.
106         * optabs.c (init_libfuncs): Likewise.
107         * varasm.c (named_section): Use ggc_alloc_string.
108         (make_function_rtl): Likewise.
109         (make_decl_rtl): Likewise.
110         (assemble_static_space): Likewise.
111         (assemble_trampoline_template): Likewise.
112         (output_constant_def): Likewise.
113         (force_const_mem): Likewise.
114         (mark_const_hash_entry): New.
115         (mark_pool_sym_hash_table): New.
116         (mark_varasm_state): Use it.
117         (init_varasm_once): New.
119         * expr.h (init_one_libfunc): Declare.
120         * optabs.c (init_one_libfunc): New.
121         (init_optabs): Use it.
122         * config/gofast.h: Likewise.
123         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
124         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
126 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
128         * Makefile.in (cppexp.o): Depend on cpphash.h.
129         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
130         Include cpphash.h.
131         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
132         * cpplib.c (do_define): Generalise to handle poisoned definitions,
133         redefining poisoned identifiers, etc.
134         (do_undef): Don't allow poisoned identifiers to be undefined.
135         (do_pragma): Add #pragma poison.
136         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
138         * cccp.c: Add T_POISON node type.
139         (special_symbol): Handle `defined(xxx)' and plain `xxx' for 
140         poisoned xxx.  
141         (do_define): Generalise to handle poisoned definitions,
142         redefining poisoned identifiers, etc.
143         (do_undef): Don't allow poisoned identifiers to be undefined.
144         (do_pragma): Add #pragma poison.
145         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
147         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
148         * c-pragma.h: Add ps_poison state.  We now always have generic
149         pragmas.
151 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
153         * ggc.h (ggc_alloc): New function.
154         (ggc_mark): Likewise.
155         * ggc-simple.c (ggc_any): New structure.
156         (ggc_status): Add anys.
157         (n_anys_collected): New variable.
158         (ggc_alloc): Define.
159         (ggc_mark): Likewise.
160         (ggc_collect): Collect the anys.
162 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
164         * c-decl.c (mark_binding_level): Make static to match prototype.
166 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
168         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
170 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
172         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC 
173         will use into account.  Expand the max width to 5.
174         * rtl.c: Likewise.
176 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
178         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
179         for the rtx length.
181 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
183         * alpha.md (call value patterns): Remove the result predicates.
185 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
187         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
188         last change.
190 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
192         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
193         changed from extern char *, to extern PTR.  Also fix typo in
194         NEED_DECLARATION_REALLOC test.
196         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
197         
198 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
200         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
201         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
202         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
203         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
205         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
207         * cccp.c (pcfinclude): Likewise.
209         * global.c (allocno_compare): Likewise.
210         
211         * haifa-sched.c (rank_for_schedule): Likewise.
213         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
215         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
217         * stupid.c (stupid_reg_compare): Likewise.
219         * tree.c (_obstack_allocated_p): Likewise.
221         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
223 1999-09-08  Bruce Korb  autogen@linuxbox.com
225         * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
226         why "gperf -F" fails.
227         * gcc/cp/Makefile.in: ditto
228         * gcc/Makefile.in: ditto
229         * gcc/java/Makefile.in: ditto
231 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
233         * lists.c: Include ggc.h.
234         (zap_lists): New.
235         (init_EXPR_INSN_LIST_cache): Install it.
237         * ggc-simple.c (init_ggc): Absorb the old init.
238         (ggc_push_context): Use xcalloc.
239         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
240         (ggc_collect): Add [rvts] tags to the collection stats.
242 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
244         * cccp.c (main): Fix handling of -include and -imacros options.
246 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
248         * cpplib.c (cpp_push_buffer): Fix order of arguments.
250 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
252         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
253         genrtl.c.
255 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
257         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
258         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
259         and SET_DEST. Update comment.
261 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
263         * config/c4x/c4x.c: Include ggc.h. 
264         (c4x_add_gc_roots): New function.
265         (c4x_override_options): Call c4x_add_gc_roots.
267 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
269         * defaults.h (TARGET_ESC): Move ...
270         * system.h: ... here, where Linas had it in the first place.  Silly me.
272 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
274         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
275         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
276         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
277         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
278         * defaults.h (TARGET_ESC): Add default.
280 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
282         * configure.in: add i370-*-openedition, i370-*-mvs and
283         i370-*-linux targets
285 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
287         * dsp16xxx.c: Include ggc.h
288         (override_options): Mark GC roots.
289         * mn10200.c: Include ggc.h.
290         (asm_file_start): Mark GC roots.
291         * tahoe.c: Include ggc.h.
292         (extensible_operand): Mark GC roots.
294 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
296         * README: Add section discussing status of ELF ABI.
297         * i370.c: Fix misc spelling mistakes.
298         (i370_label_scan): Updated notes, exception handling.
299         (i370_function_prolog): Simplify ELF stack handling.
300         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
301         (STACK_GROWS_DOWNWARD): ELF stack grows down.
302         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
303         * i370.md: (movdi): Add notes.
304         (floatsidf2): Use stack not rtca for scratch float area.
305         (iorsi3): Correct operand constraints.
306         * x-oe: Restore TAROUTOPTS which are used by pax.
308 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
310         * rs6000.c: Include ggc.h.
311         (rs6000_add_gc_roots): New function.
312         (override_options): Call it.
314 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
316         * alpha.h (alpha_compare): New.
317         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
318         * alpha.c: Likewise for the definitions.
319         (alpha_emit_conditional_branch): Update for alpha_compare.
320         (alpha_emit_conditional_move): Likewise.
321         * alpha.md (cmpdf, cmpdi): Likewise.
322         (setcc patterns): Likewise.  Zero alpha_compare after use.
323         (sne): Optimize (x != 0) into (0U < x).
325 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
327         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
328         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
329         (INIT_EXPANDERS): Remove.
330         * alpha.c: Include ggc.h.
331         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
332         (alpha_init_machine_status, alpha_mark_machine_status): New.
333         (override_options): Install them.
334         (struct machine_function): Moved to alpha.h.
335         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
336         (alpha_init_expanders): Remove.
337         (alpha_return_addr): Adjust to use current_function->machine.
338         (alpha_ra_ever_killed): Likewise.
339         (alpha_expand_epilogue): Likewise.
340         * alpha.md (eh_epilogue): Likewise.
342 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
343                           Melissa O'Neill  <oneill@cs.sfu.ca>
344                           Geoffrey Keating  <geoffk@cygnus.com>
346         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
347         call-used registers (call-saved registers must still be contiguous
348         and end with r31, of course).
350 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
352         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
353         (self_promoting_type_p): Delete.
354         (self_promoting_args_p): Move ...
355         * c-common.c: ... here.
356         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
357         (simple_type_promotes_to): New.
358         * builtins.c (lang_type_promotes_to): New.
359         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
360         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
361         * c-common.h: ... here.
362         (self_promoting_args_p, simple_type_promotes_to): Declare.
363         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
364         (grokdeclarator): Likewise.
365         * tree.h (lang_type_promotes_to): Declare.
367 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
369         Add some machine-dependent GC roots.
370         * sparc.c: Include ggc.h. 
371         (sparc_add_gc_roots): New function.
372         (mark_ultrasparc_pipeline_state): Likewise.
373         (override_options): Call sparc_add_gc_roots.
374         * pa.c: Include ggc.h.
375         (pa_add_gc_roots): New function.
376         (mark_deferred_plabels): Likewise.
377         (override_options): Call pa_add_gc_roots.
378         * mips.c: Include ggc.h.
379         (mips_add_gc_roots): New function.
380         (override_options): Use it.
382 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
384         * cpperror.c (cpp_file_line_for_message): Constify a char*.
386         * cppexp.c (parse_number, parse_charconst, cpp_lex,
387         cpp_parse_expr): Add static prototypes.
388         (parse_charconst): Don't cast away const-ness.
389         (token): Constify a char*.
391         * cppfiles.c (file_name_list, include_hash, find_include_file,
392         finclude, initialize_input_buffer): Constify a char*.
393         (file_cleanup, find_position): Add static prototypes.
395         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
396         collect_expansion): Add static prototypes.
397         (cpp_install, create_definition, monthnames): Constify a char*.
399         * cpphash.h (cpp_install): Likewise.
401         * cppinit.c (known_suffixes, default_include,
402         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
403         (base_name, dump_special_to_buffer, initialize_dependency_output):
404         Add static prototypes.
406         * cpplib.c (my_strerror): Constify a char*.
407         (null_underflow, null_cleanup, skip_comment, copy_comment,
408         copy_rest_of_line, handle_directive, pass_thru_directive,
409         get_directive_token, read_line_number, cpp_print_file_and_line,
410         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
411         v_cpp_warning_with_line, detect_if_not_defined,
412         consider_directive_while_skipping): Add static prototypes.
413         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
414         cpp_pedwarn_with_file_and_line): Constify a char*.
416         * cpplib.h (cpp_options, include_hash, progname, definition,
417         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
418         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
419         find_include_file, deps_output, include_hash): Constify a char*.
421         * cppmain.c (progname): Constify.
422         (main): Add prototype.  Use return, not exit.
424         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
425         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
426         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
427         check_protection): Add static prototype.
428         (xfree): Remove.
429         (progname, recognized_macrom, recognized_extern): Constify a char*.
430         (main): Add prototype.
432         * gen-protos.c (progname): Constify a char*.
434 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
436         * emit-rtl.c (free_emit_status): Take decl as a parameter.
437         (init_emit_once): Add more GC roots.
438         * except.c (mark_func_eh_entry): New function.
439         (mark_eh_node): Mark false_label and rethrow_label.
440         (init_eh): Add more GC roots.
441         * function.c (free_after_compilation): Take decl as a paramter.
442         Call free_stmt_status.
443         (mark_function_state): Don't assume x_parm_reg_stack_loc is
444         non-NULL.
445         * function.h (free_after_compilation): Change prototype.
446         (free_varasm_status): Likewise.
447         (free_emit_status): Likewise.
448         (free_stmt_status): New function.
449         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc): 
450         Remove, replacing with ...
451         (ggc_status): New structure.
452         (ggc_chain): New variable.
453         (init_gcc): Define.
454         (ggc_push_context): New function.
455         (ggc_pop_context): Likewise.
456         (ggc_alloc_rtx): Adjust for use of ggc_chain.
457         (ggc_alloc_rtvec): Likewise.
458         (ggc_alloc_tree): Likewise.
459         (ggc_alloc_string): Likewise.
460         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
461         (ggc_mark_tree): Give language-dependent code a chance to mark
462         `x' nodes.
463         (ggc_mark_tree_varray): Handle empty arrays.
464         (ggc_collect): Adjust for use of ggc_chain.  Clear
465         bytes_alloced_since_last_gc.
466         * ggc.h (ggc_pop_context): New function.
467         (ggc_push_context): Likewise.
468         * print-tree.c (print_node): Don't print obstacks when GC'ing.
469         * stmt.c (free_stmt_status): New function.
470         (init_stmt_for_function): Clear last_expr_value.
471         * toplev.c (rest_of_compilation): Always call free_after_compilation.
472         Conditionalize call to ggc_collect.
473         (main): Call init_ggc.
474         * tree.c (push_obstacks): Do the push, even when GC'ing.
475         (push_obstacks_nochange): Likewise.
476         (pop_obstacks): Liekwise.
477         * varasm.c (free_varasm_status): Take decl as a parameter.
478         
479 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
481         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
482         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
483         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
484         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
486 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
488         * pa/x-pa-mpeix: New file for the MPE port.
490         * pa/quadlib.asm: New file for long double support.
492         * configure.in: Add hppa1.0-*-mpeix for MPE port.
493         * configure: Rebuilt.
495 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
497         * final.c (shorten_branches): Fix last change.
499 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
501         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
503 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
505         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
506         details.
508 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
510         * c-aux-info.c (concat): Don't define.
512         * cccp.c (my_strerror): Likewise.  All callers changed to use
513         xstrerror instead.
514         (do_include): Call xstrdup, not xmalloc/strcpy.
515         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
516         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
518         * collect2.c (my_strsignal): Likewise.  All callers changed to use
519         strsignal instead.
520         (locatelib): Call xstrdup, not xmalloc/strcpy.
522         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
524         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
526         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
528         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
530         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
532         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
534         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
535         malloc/realloc.
536         (find_all_handler_type_matches): Likewise.  Don't check return
537         value.
538         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
539         xmalloc, not malloc.
540         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
542         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
543         (init_spec): Call xcalloc, not xmalloc/bzero.
544         (set_spec): Call xstrdup, not save_string.
545         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
546         (find_a_file): Call xstrdup, not xmalloc/strcpy.
547         (process_command): Call xstrdup, not save_string.
548         (main): Call xcalloc, not xmalloc/bzero.
550         * gcov.c (xmalloc): Don't define.
551         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
552         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
553         (output_data): Call xcalloc, not xmalloc/bzero.
555         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
557         * mips-tdump.c (xmalloc): Don't define.
558         (print_symbol): Call xmalloc, not malloc.
559         (read_tfile): Call xcalloc, not calloc.
561         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
562         Don't define.  All callers of xfree/my_strsignal changed to use
563         free/strsignal instead.
564         (allocate_cluster): Call xcalloc, not calloc.
566         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
567         Fix memory leak, free allocated memory.
569         * prefix.c (translate_name): Call xstrdup, not save_string.
570         (update_path): Likewise.
572         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
574         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
575         Don't define.  Callers of xfree/savestring2 changed to use
576         free/concat instead.
578         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
579         (init_elim_table): Likewise.
581         * resource.c (init_resource_info): Likewise.
583         * stupid.c (stupid_life_analysis): Likewise.
585         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
586         (open_dump_file): Call concat, not xmalloc/strcpy/...
587         (clean_dump_file): Likewise.
588         (compile_file): Call xstrdup, not xmalloc/strcpy.
590 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
592         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
593         * v850.c (v850_va_arg): New.
595 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
597         * haifa-sched.c: Tidy comments.
599 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
601         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
602         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
603         $(out_object_file)): Depend on ggc.h.
604         * c-common.c: Include "ggc.h".
605         (combine_strings): If doing GC, use ggc_alloc_string.
606         * c-decl.c: Include "ggc.h".
607         (ggc_p): Define with value 0.
608         (mark_binding_level): New function.
609         (init_decl_processing): Add GC roots.
610         (mark_c_function_context): New function.
611         (lang_mark_false_label_stack): New function.
612         (lang_mark_tree): New function.
613         (lang_cleanup_tree): New function.
614         * c-lang.c: Include "ggc.h".
615         (lang_init): Call c_parse_init.
616         * c-lex.c: Include "ggc.h".
617         (check_linenum): If doing GC, don't copy filenames to permanent
618         obstack.
619         * c-parse.in: Include "ggc.h".
620         (c_parse_init): New function.
621         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
622         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
624         * except.c (mark_eh_state): Mark more state.
625         * function.c (mark_function_state): Likewise.
626         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
627         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
628         * toplev.c (mark_file_stack): New function.
629         (compile_file): If doing GC, use ggc_alloc_string on input filename.
630         (main): Add root for input_file_stack.
632         * i386.c: Include "ggc.h".
633         (ix86_mark_machine_status): New function.
634         (override_options): Set mark_machine_status.
636 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
638         * tree.c (copy_node): Copy node contents also if doing GC.
640 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
642         * collect2.c (scan_libraries): Fix double-thinko :-).
644 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
646         * collect2.c (scan_libraries): Fix thinko.
648         * cse.c (delete_trivially_dead_insns): Do not skip the last
649         insn if it is a real insn.
651 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
653         * Makefile.in (ggc-simple.o): Depend on hash.h.
654         * ggc.h (ggc_add_tree_hash_table_root): Declare.
655         (ggc_mark_tree_varray): Likewise.
656         (ggc_mark_tree_hash_table): Likewise.
657         * ggc-simple.c: Include hash.h.
658         (ggc_mark_tree_hash_table_ptr): New function.
659         (ggc_mark_tree_hash_table_entry): Likewise.
660         (ggc_mark_tree_hash_table): Likewise.
661         (ggc_add_tree_hash_table_root): Likewise.
662         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
663         rtx, when defining fields.
664         
665 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
667         * profile.c (output_func_start_profiler): Remove apparently
668         nonsensical call to start_sequence.
669         
670 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
672         * clipper/clipper.c (clipper_va_start): Fix typos.
674         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
675         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
676         (spur_va_arg): New stub.
678         * configure.in: Comment out pyramid.
680 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
682         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
683         don't conflict with the bits that win32, cygwin, and dgux
684         defines.
686 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
687                           Bernd Schmidt <bernds@cygnus.co.uk>
689         * integrate.c (function_cannot_inline_p): Do not inline
690         functions with forced labels.
692 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
693                           Bernd Schmidt <bernds@cygnus.co.uk>
694                           Mark Mitchell  <mark@codesourcery.com>
696         * Makefile.in (ggc-simple.o): Depend on varray.h.
697         (rtl.o): Depend on ggc.h.
698         (genattrtab.o): Depend on ggc.h.
699         (print-tree.o): Likewise.
700         (fold-const.o): Likewise.
701         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
702         (make_insn_raw): Don't cache insns when GC'ing.
703         (emit_insn_before): Likewise.
704         (emit_insn_after): Likewise.
705         (emit_insn): Likewise.
706         (start_sequence): Use xmalloc to allocate the sequence_stack.
707         (end_sequence): Add free to free it.
708         (gen_sequence): Don't cache insns when GC'ing.
709         (clear_emit_caches): Don't use sequence_element_free_list.
710         (init_emit): Use xcalloc, not xmalloc+bzero.
711         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
712         * function.c (pop_function_context_from): Use free to free the
713         fixup_var_refs_queue.
714         (put_reg_into_stack): Allocate it with xmalloc.
715         * genattrtab.c: Include ggc.h.
716         (operate_exp): Don't use obstack_free when GC'ing.
717         (simplify_cond): Likewise.
718         (simplify_text_exp): Likewise.
719         (optimize_attrs): Likewise.
720         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
721         GC'ing.
722         (gencode): Generate a #include for ggc.h.
723         * ggc-callbacks.c (ggc_p): Define it to zero.
724         * ggc-none.c (ggc_p): Likewise.
725         * ggc-simple.c: Include varray.h.
726         (ggc_mark_tree_varray): New function.
727         (ggc_add_tree_varray_root): Likewise.
728         (ggc_mark_tree_varray_ptr): Likewise.
729         * ggc.h (ggc_p): Declare.
730         (varray_head_tag): Likewise.
731         (ggc_add_tree_varray_root): Declare.
732         * print-tree.c (print_node): Don't check for TREE_PERMANENT
733         inconsistencies when GC'ing.
734         * rtl.c: Include ggc.h.
735         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
736         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
737         (rtx_free): Don't call obstack_free when GC'ing.
738         * toplev.c (rest_of_compilation): Call ggc_collect after every
739         pass, if GC'ing.
740         * tree.c (push_obstacks): Do nothing, if GC'ing.
741         (pop_obstacks_nochange): Likewise.
742         (pop_obstacks): Likewise.
743         (make_node): Use ggc_alloc_tree when GC'ing.
744         (copy_node): Likewise.
745         (get_identifier): Use ggc_alloc_string when GC'ing.
746         (build_string): Likewise.
747         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
748         (tree_cons): Likewise.
749         (build1): Likewise.
750         (type_hash_canon): Don't call obstack_free when GC'ing.
751         
752 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
754         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
755         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
757 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
758                           Bernd Schmidt <bernds@cygnus.co.uk>
759                           Mark Mitchell  <mark@codesourcery.com>
761         * Makefile.in (stor-layout.o): Depend on ggc.h.
762         (expr.o): Depend on ggc.h.
763         (profile.o): Depend on ggc.h.
764         (stor-layout.o): Depend on ggc.h.
765         * emit-rtl.c (init_emit_once): Add gc roots.
766         * expr.c: Include ggc.h.
767         (emit_block_move): Add gc roots.
768         (clear_storage): Likewise.
769         * expr.h (init_stor_layout_once): New function.
770         * profile.c: Include ggc.h.
771         (init_arc_profiler): profiler_label is a root.
772         * scan.c (make_sstring_space): Trust xrealloc to function
773         correctly with first parameter NULL.
774         * stor-layout.c: Include ggc.h.
775         (set_sizetype): Add gc root.
776         (init_stor_layout_once): New function.
777         * toplev.c (compile_file): Call it.
778         
779 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
780                           Bernd Schmidt <bernds@cygnus.co.uk>
781                           Mark Mitchell  <mark@codesourcery.com>
783         * Makefile.in (tree.o): Depend on ggc.h.
784         (varasm.o): Likewise.
785         (function.o): Likewise.
786         (stmt.o): Likewise.
787         (except.o): Likewise.
788         (optabs.o): Likewise.
789         (emit-rtl.o): Likewise.
790         * emit-rtl.c: Include ggc.h.
791         (sequence_element_free_list): Remove, and all references.
792         (mark_sequence): New functions.
793         (mark_emit_state): New function.
794         * except.c: Include ggc.h.
795         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
796         (mark_tree_label_node): New functions.
797         (mark_eh_state): New function.
798         * function.c: Include ggc.h.
799         (mark_temp_slot, mark_function_chain): New functions.
800         (mark_function_state): New function.
801         (init_function_once): New function.
802         * function.h (init_function_once): New function.
803         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
804         * ggc.h (label_node): Declare.
805         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
806         (lang_mark_false_label_stack): New function.
807         (mark_temp_slot): Remove declaration.
808         (mark_function_chain): Likewise.
809         (mark_eh_state): Adjust prototype.
810         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
811         Likewise.
812         * optabs.c: Include ggc.h.
813         (mark_optab): New function.
814         (init_optabs): Add gc roots.
815         * stmt.c: Include ggc.h.
816         (mark_cond_nesting, mark_loop_nesting): New functions.
817         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
818         (mark_stmt_state): New function.
819         * toplev.c (compile_file): Call init_function_once.
820         * tree.c: Include ggc.h.
821         (type_hash): Move declaration earlier in file.
822         (TYPE_HASH_SIZE, type_hash_table): Likewise.
823         (init_obstacks): Add gc roots.
824         (mark_type_hash): New function.
825         * varasm.c: Include ggc.h.
826         (mark_pool_constant): New function.
827         (mark_varasm_state): New function.
828         
829 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
831         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
833 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
835         * c-decl.c (struct language_function): Renamed from struct c_function.
836         Delete elt NEXT.
837         (c_function_chain): Delete.
838         (push_c_function_context): New arg F.  Don't warn about nested
839         functions here.  Fill LANGUAGE elt of F.  Delete code to update
840         c_function_chain.  Don't call push_function_context.
841         (pop_c_function_context): New arg F.  Restore from there instead of
842         from c_function_chain.  Don't call pop_function_context.  Clear out
843         LANGUAGE field of F when done.
844         * c-lang.c: Include "function.h"
845         (lang_init): Initialize save_lang_status and restore_lang_status.
846         * c-parse.in (nested_function, nested_function_notype): Warn about
847         nested functions.  Call push_function_context/pop_function_context
848         instead of the _c_ variants.
849         * c-tree.h (push_c_function_context, pop_c_function_context): Update
850         prototype.
851         * Makefile.in (c-lang.o): Update dependencies.
853         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
854         regno_pointer_flag, regno_pointer_align.
855         (gen_reg_rtx): Use xrealloc to enlarge them.
856         (free_emit_status): New function.
857         * function.c (mark_machine_status, mark_lang_status): New variables.
858         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
859         in some bits from assign_stack_local.  All callers changed to use new
860         name.
861         (assign_stack_local): Just call assign_stack_local_1.
862         (free_after_compilation): New function.
863         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
864         (trampoline_address): Likewise.
865         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
866         (prepare_function_start): Explicitly clear some more variables.
867         * function.h (struct function): New elt can_garbage_collect.
868         (mark_machine_status, mark_lang_status): Declare variables.
869         (free_after_compilation, free_emit_status, free_varasm_status,
870         init_varasm_status): Declare functions.
871         * toplev.c (rest_of_compilation): Call free_after_compilation when
872         done with the current function.
873         * varasm.c (free_varasm_status): New function.
875 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
877         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
878         (EXPAND_BUILTIN_VA_ARG): Define.
879         * sparc.c (sparc_va_start): New.
880         (sparc_va_arg): New.
882 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
884         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
886 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
888         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
890 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
892         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
893         (OBJS): Add $(GGC).
894         (ggc-callbacks.o): New target.
895         * ggc-callbacks.c: New file.
897 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
899         * expr.h: Collapse individual optab and libfunc vars to arrays.
900         (optab_index, libfunc_index): New enumerations.
901         (optab_table, libfunc_table): New arrays.
902         Add accessor macros for both.
904         * optabs.c (optab_table, libfunc_table): New.
905         Delete declarations for individual optab and libfunc vars.
907 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
909         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
911 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
913         * Makefile.in (GGC, GGC_LIB): New.
914         (HOST_RTL): Include ggc-none.o.
915         (ggc-simple.o): New target.
916         (ggc-none.o): Likewise.
917         * tree.h (tree_common): Add gc_mark.
918         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
919         (struct rtvec_def): Add gc_mark.
920         * emit-rtl.c (global_rtl): Update static initializers to contain
921         enough initializers.
922         * ggc.h, ggc-none.c, ggc-simple.c: New files.
923         * toplev.c (gc_time): New variable.
924         (all_time): New variable.
925         (compile_file): Print gc time.
926         (print_time): Calculate percentage of the whole.
927         
928 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
930         Change obstack memory management and varasm constant pool handling so
931         that nested functions are treated like any other functions.
932         * function.c (init_machine_status): New variable.
933         (push_function_context_to): Set contains_functions for the outer
934         function.  Don't call save_varasm_status.
935         (pop_function_context_from): Don't call restore_varasm_status.  Don't
936         set current_function_contains_functions.
937         (prepare_function_start): Call init_varasm_status rather than
938         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
939         is non-null.
940         * function.h (struct function) Add field varasm.  Delete fields
941         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
942         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
943         (init_machine_status): Declare.
944         (save_varasm_status, restore_varasm_status): Delete declarations.
945         (save_tree_status, restore_tree_status): Delete last argument.
946         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
947         code.  All callers changed.
948         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
949         save_constants_in_decl_trees, restore_constants, save_constants,
950         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
951         functions.
952         (inlining): New variable.
953         (reg_map, label_map, insn_map, orig_asm_operands_vector,
954         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
955         variables.
956         (save_for_inline_nocopy): Don't save constants.
957         Don't set inl_emit field in current_function.
958         (expand_inline_function): Use emit field, not inl_emit, of the inlined
959         function.  Set new variable inlining before
960         calling copy_rtx_and_substitute.
961         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
962         constant pool references if inlining is nonzero.
963         Delete ADDRESS and (most of the) CONST cases.
964         (output_inline_function): Save and restore current_function/
965         current_function_decl.  Delete restore_constants code.  Don't call
966         init_const_rtx_hash_table.
967         * output.h (init_const_rtx_hash_table): Don't declare.
968         * rtl.h (struct function): Declare.
969         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
970         * toplev.c (rest_of_compilation): Don't treat nested functions or
971         functions containing them specially.  Delete all code to deal with
972         save_for_inline_copying.
973         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
974         inline_obstacks): Delete variables.
975         (save_tree_status): Lose arg CONTEXT.  All callers changed.
976         Simply allocate a new function_maybepermanent_obstack for the new
977         function, delete all the special cases.
978         Don't save inline_obstacks.
979         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
980         Delete special handling for function_maybepermanent_obstack; simply
981         free it if empty.
982         Don't restore inline_obstacks.
983         (permanent_allocation):  Delete code that frees inline_obstacks.
984         (print_inline_obstack_statistics): Delete function.
985         (dump_tree_statistics): Don't call it.
986         * varasm.c (struct varasm_status): New.
987         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
988         last_pool, pool_offset, const_double_chain): Delete global
989         variables, replace with accessor macros.
990         (immed_double_const): Don't walk const_double_chain outside a
991         function, but don't treat nested functions specially anymore.
992         (immed_real_const_1): Likewise.
993         (clear_const_double_mem): Don't treat nested functions specially.
994         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
995         (save_varasm_status, restore_varasm_status): Delete functions.
996         (init_varasm_status): New function.
997         (force_const_mem): Don't treat nested functions specially.
998         (find_pool_constant): Accept new arg F, search for constants in
999         that function's pool rather than the current one.  All callers
1000         changed.
1001         (get_pool_constant_for_function, get_pool_mode_for_function): New
1002         functions.
1004         * i386.c (init_386_machine_status): New function, mostly from
1005         clear_386_stack_locals.
1006         (struct machine_functions): Rename element names to avoid name
1007         clashes.
1008         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
1009         macros, replacing global variables.
1010         (clear_386_stack_locals, save_386_machine_status,
1011         restore_386_machine_status): Delete functions.
1012         (override_options): Initialize init_machine_status.
1013         * i386.h (INIT_EXPANDERS): Delete macro.
1014         (save_386_machine_status, restore_386_machine_status,
1015         clear_386_stack_locals): Delete declarations.
1017 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1019         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
1020         (doloop_begin):  Simplify pattern and use emit_jump_insn.
1021         (doloop_end): Simplify pattern, switch operand order,
1022         and use emit_jump_insn.
1024 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
1026         * function.h (struct function): Add new element LANGUAGE.
1027         (save_lang_status): Declare new variable.
1028         (restore_lang_status): Likewise.
1029         * function.c (save_lang_status): Define.
1030         (restore_lang_status): Likewise.
1031         (push_function_context_to): Call language-specific save function.
1032         (pop_function_context_from): Call language-specific restore function.
1033         
1034 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
1036         * i386.md (movsf_1): Check REG_P before use of REGNO.
1037         (movdf_1): Likewise.
1038         (movxf_1): Likewise.
1039         (extendsfdf2): Likewise.
1040         (extendsfxf2): Likewise.
1041         (extenddfxf2): Likewise.
1043 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1045         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
1046         constants into memory.
1047         (c4x_shiftable_constant): New function.
1048         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
1049         (c4x_shiftable_constant): Declare.
1050         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
1051         ashlqi3_noclobber): Add new patterns and associated splitters.
1052         
1053 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
1055         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
1056         * dwarf2out.c (dwarf2out_frame_init): Likewise.
1057         * final.c (shorten_branches): Likewise.
1058         * global.c (global_alloc): Likewise.
1059         * haifa-sched.c (build_control_flow): Likewise.
1060         * stmt.c (check_for_full_enumeration_handling): Likewise.
1061         (estimate_case_costs): Likewise.
1063 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
1065         * rtl.h (RTL_CHECKC2): Fix typo in last change.
1067 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
1069         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
1070         (recompute_reg_usage): Likewise.
1071         * rtlanal.c (find_regno_fusage): Likewise.
1073         * rtl.c (rtl_check_failed_code1): New function.
1074         (rtl_check_failed_code2): New.
1075         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
1076         (RTL_CHECKC1, RTL_CHECKC2): New.
1077         (XC*): New accessor macros.
1078         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
1079         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
1080         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
1081         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
1082         (TRAP_*, RANGE_INFO_*): Likewise.
1084 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1086         * Makefile.in (tlink.o): Don't depend on toplev.h.
1088         * collect2.c (c_file, o_file, export_file, import_file, ldout,
1089         output_file, nm_file_name, ldd_file_name, strip_file_name,
1090         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
1091         add_prefix, prefix_from_env, prefix_from_string, do_wait,
1092         fork_execute, maybe_unlink, add_to_list,
1093         extract_init_priority, write_list, dump_list,
1094         dump_prefix_list, write_list_with_asm, write_c_file,
1095         write_c_file_stat, write_c_file_glob, scan_prog_file,
1096         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
1097         ignore_library, extract_string, notice, dump_file, target_machine,
1098         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
1099         read_file, print_load_command): Constify a char*.
1100         (fdopen, error, fatal, fatal_perror): Don't prototype.
1101         (my_strerror): Remove.  All callers use xstrerror instead.
1102         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
1103         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
1104         to xcalloc/strcpy/strcat/...  to one call to concat.
1105         (main, scan_prog_file, scan_libraries): Use an intermediate
1106         `const char **' to build an argv array.
1107         (mapfile, libselect, libcompare, locatelib): Add prototypes.
1109         * collect2.h (collect_execute, collect_wait, dump_file,
1110         file_exists): Constify a char*.
1111         (ldout, c_file_name, temporary_obstack, permanent_obstack,
1112         temporary_firstobj, vflag, debug): Add extern declarations.
1113         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
1115         * tlink.c: Don't include toplev.h.
1116         (vflag, debug, ldout, c_file_name, temporary_obstack,
1117         permanent_obstack, temporary_firstobj): Don't declare.
1118         (tlink_execute, frob_extension, symbol_hash_lookup,
1119         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
1120         recompile_files, read_repo_files, demangle_new_symbols,
1121         scan_linker_output): Constify a char*.
1122         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
1123         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
1124         
1125 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
1127         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
1128         (relative) rather than jsr (absolute) subroutine call insns.  
1129         * config/m68k/m68k-coff.h: Ditto.
1131 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
1133         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
1134         now rework these too.
1135         (arm_reorg): If an insn can't reach the end of the current pool,
1136         ensure that we emit that pool before the insn.
1138 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
1140         * tlink.c (scan_linker_output): Skip the initial underscore in
1141         a mangled name if appropriate.
1143 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1145         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
1146         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
1147         error_with_ivar, gen_declarator, create_builtin_decl,
1148         my_build_string, generate_descriptor_table, generate_ivars_list,
1149         generate_dispatch_table, check_protocols, TAG_GETCLASS,
1150         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
1151         dump_base_name, lang_decode_option, build_encode_expr,
1152         start_class, finish_class, encode_pointer, really_start_method,
1153         gen_declaration, dump_interface, handle_class_ref, handle_impent):
1154         Constify.
1155         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
1156         Add static prototypes.
1157         (build_objc_string_decl, build_selector_reference_decl,
1158         encode_bitfield, build_class_reference_decl): Remove unused
1159         parameter, all callers changed.
1160         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
1161         (objc_printable_name): Likewise.  Change second parameter to type int.
1162         (init_objc): Use memcpy, not bcopy, to avoid casts.
1164 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
1166         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
1167         reg notes on a deleted insn.
1168         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
1170 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
1172         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
1174 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1176         * stmt.c (expand_asm_operands): Fix index into inout_mode when
1177         reading it.
1179 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
1181         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
1182         * tm.texi (MD_ASM_CLOBBERS): Document it.
1184 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
1186         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
1187         * except.c (expand_rethrow): Remove unused variable.
1188         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
1189         * flow.c (replace_insns): Likewise.
1190         (create_edge_list, verify_edge_list): Likewise.
1191         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
1193         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
1194         is special code to run.
1195         (main): Don't define operands to emit_operand.
1196         * genrecog.c (main): Don't emit an empty peephole2_insn function.
1198         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
1200         * alpha/alpha.h (normal_memory_operand): Declare.
1201         (reg_no_subreg_operand): Declare.
1202         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
1204 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
1206         * c-parse.in (compstmt_primary_start): New, broken out of first
1207         part of compstmt handling in primary.
1208         (primary): Use it.  Add an error clause.
1209         (compstmt_nostart): Renamed from compstmt; remove all
1210         initial invocations of compstmt_start.
1211         (compstmt): New.
1213 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
1215         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
1216         needed.
1218 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
1220         * combine.c (simplify_shift_const): Remove extra semicolon.
1221         * dwarf2out.c (remove_AT): Likewise.
1222         * expmed.c (expand_mult): Likewise.
1223         * gcov.c (create_program_flow_graph): Likewise.
1224         * reorg.c (mostly_true_jump): Likewise.
1226 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
1228         * fold-const.c (fold_range_test): Do not try to fold the range
1229         test if the rhs or lhs has side effects.
1231         * combine.c (simplify_rtx): Recognize another case of a synthesized
1232         sign extension.
1234         * varasm.c (mark_constant_pool): When marking indirect references,
1235         only look at SYMBOL_REFs.
1237         * except.c (expand_fixup_region_end): Do not peek at
1238         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
1240 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
1242         * flags.h: New variables align_loops, align_loops_log,
1243         align_jumps, align_jumps_log, align_labels, align_labels_log,
1244         align_functions, align_functions_log.
1245         * toplev.c: Define them.
1246         (f_options): Handle -falign-* when they have no argument.
1247         (main): Add logic to set variables for -falign-functions,
1248         -falign-jumps, -falign-labels, -falign-loops.
1249         Make it -fsched-verbose=<n> and -finline-limit=<n>.
1250         (display_help): Change help to match options.
1251         * final.c (LABEL_ALIGN): Default to align_labels_log.
1252         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
1253         (LOOP_ALIGN): Default to align_loops_log.
1254         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
1255         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
1256         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
1257         * varasm.c (assemble_start_function): Handle align_functions.
1259         * config/sparc/sparc.h: Don't declare sparc_align_*.
1260         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
1261         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
1262         sparc.c.
1263         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
1264         it's a promise.
1265         * config/sparc/sparc.c: Delete sparc_align_loops,
1266         sparc_align_jumps, sparc_align_funcs and the corresponding string
1267         variables.
1268         (sparc_override_options): Default align_functions on ultrasparc.
1269         Delete -malign-* handling.
1271         * config/mips/mips.c (override_options):  On 64-bit targets,
1272         try to align code to 64-bit boundaries.
1273         (print_operand): New substitution, %~,
1274         which aligns labels to align_labels_log.
1275         * config/mips/mips.md (div_trap_normal): Use %~.
1276         (div_trap_mips16): Likewise.
1277         (abssi): Likewise.
1278         (absdi2): Likewise.
1279         (ffssi2): Likewise.
1280         (ffsdi2): Likewise.
1281         (ashldi3_internal): Likewise.
1282         (ashrdi3_internal): Likewise.
1283         (lshrdi3_internal): Likewise.
1284         (casesi_internal): Likewise.
1286 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
1288         Merge new ia32 backend from the branch!
1290         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
1291         See ChangeLog.P2 on new_ia32_branch for details.
1293         * rtl.h (stack_regs_mentioned_p): Delete prototype.
1294         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
1295         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
1296         * i386/gas.h (ASM_FILE_START): Define.
1297         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
1298         for name change of ix86_valid_decl_attribute_p.
1299         (i386_pe_valid_type_attribute_p): Similarly.
1301 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
1303         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
1304         to step through CC modes.
1306 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1308         * regmove.c (fixup_match_1): Don't move INSN in front of P if
1309         it would end up in the shadow of a live flags regsiter.
1311 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1313         * reload1.c: Fix many indentation problems.
1314         * reload.c: Likewise.
1316 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
1318         * alias.c (non_local_reference_p): Constify fmt.
1320 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
1322         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
1324 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
1326         * cse.c (delete_trivially_dead_insns): Do not delete stores to
1327         the internal_arg_pointer.
1329 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
1331         Merge peephole2 from new_ia32_branch:
1332         * Makefile.in (STAGESTUFF): Add *.peephole2.
1333         (mostlyclean): Likewise.
1334         (recog.o): Depend on resource.h.
1336         * final.c (peephole): Conditionalize decl on HAVE_peephole.
1337         (final_scan_insn): Likewise for the invocation of peephole.
1338         * genconfig.c (main): Look for peephole and peephole2 patterns.
1339         Emit HAVE_peephole* accordingly.
1340         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
1341         * flags.h (flag_peephole2): Declare.
1342         * toplev.c: New pass peephole2.  New flag -fpeephole2.
1344         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
1345         * gencodes.c (main): Likewise.
1346         * genextract.c (main): Likewise.
1347         * genoutput.c (main): Likewise.
1348         * genemit.c (max_operand_1): Look for the max scratch operand.
1349         (gen_rtx_scratch): New.
1350         (gen_exp): Use it, and pass on new arg subroutine_type.
1351         (gen_expand): Take max scratch into account.
1352         (gen_split): Emit peephole2 functions.
1353         (output_peephole2_scratch): New.
1354         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
1355         * genrecog.c (routine_type): Add PEEPHOLE2.
1356         (IS_SPLIT): New.
1357         (make_insn_sequence): Match outer parallel for peep2.  Discard
1358         top level scratches and dups.
1359         (add_to_sequence): New args insn_type and top.  Update all callers.
1360         Handle toplevel peep2 matching insns.
1361         (write_subroutine): Handle peep2.
1362         (write_tree_1): Likewise.
1363         (write_tree): Likewise.
1364         (main): Likewise.
1365         (change_state): New arg afterward.  Update all callers.
1366         Handle matching separate insns.
1367         * recog.c (recog_next_insn): New.
1368         (peephole2_optimize): New.
1369         * rtl.def (DEFINE_PEEPHOLE2): New.
1370         * resource.c (find_free_register): New argument last_insn.  Use it
1371         to find a register available through the entire span.
1372         * resource.h (find_free_register): Update prototype.
1374 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
1376         * i386.c (output_strlen_unroll): Don't write xops[7]
1377         label if it wasn't set.
1379 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
1381         * cpplib.c (struct directive): Const-ify name pointer and
1382         function pointer prototype.
1383         (validate_else, do_define, do_line, do_include, do_undef,
1384         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
1385         do_elif, do_endif, do_sccs, do_assert, do_unassert,
1386         do_warning): Const-ify second arg.
1387         (directive_table): Mark const.  Reorder entries by frequency
1388         of usage, record statistics.
1390 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
1392         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
1393         bounds- check RTL accesses if --enable-checking.
1394         (RTVEC_ELT): Bounds check if --enable-checking.
1395         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
1396         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
1397         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
1398         GET_NUM_ELEM.
1399         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
1400         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
1402         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
1403         (NOTE_SOURCE_FILE): Use X0STR.
1404         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
1405         MEM_ALIAS_SET): Use X0INT.
1406         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
1407         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
1408         Use X0EXP.
1409         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
1410         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
1411         (rtl_check_failed_bounds, rtl_check_failed_type1,
1412         rtl_check_failed_type2, rtvec_check_failed_bounds): New
1413         functions.
1414         (fancy_abort): Fix comment.
1416         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
1417         (cse_insn): Decrement LABEL_NUSES for jump target before
1418         deleting jump insn.
1419         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
1420         * final.c (alter_subreg): Compute regno before changing x to
1421         REG; set REGNO(x) after changing it.
1422         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
1423         notes containing CONST_INTs.
1424         (delete_eh_regions): Use NOTE_EH_HANDLER.
1425         * function.c (put_reg_into_stack): Make reg a MEM before
1426         initializing it.
1427         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
1428         delete insn.
1429         (gen_mem_addressof): Make reg a MEM before initializing it.
1430         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
1431         X0WINT.
1432         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
1433         deleting an insn, not after.
1434         (block_alloc): Only look at PATTERN(insn) if we have to, and
1435         only if it's format class 'i'.
1436         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
1437         CONST_INT before using its INTVAL.
1438         * print-rtl.c (print_rtx): Use X0STR.
1439         * regmove.c (fixup_match_1): Don't look at PATTERN of
1440         non-class-'i' insn chain elements.
1441         * reload.c (loc_mentioned_in_p): Take address of
1442         in->fld[1].rtx directly.
1443         * reload1.c (reload): Change reg to a MEM before initializing
1444         it.
1445         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
1446         have no names.
1447         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
1449 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
1451         * config/mips/mips.c (machine_dependent_reorg): Force a
1452         barrier to output the local constant pool if a barrier hasn't
1453         been found at a natural point in the instruction stream.
1455 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1457         * c-parse.in (language_string): Constify.
1459         * dwarf2out.c (language_string): Remove declaration.
1461         * dwarfout.c (language_string): Likewise.
1463         * toplev.c (language_string, init_parse, finish_parse): Likewise.
1465         * tree.h (language_string, init_parse, finish_parse): Declare.
1467         * i386/sun386.h (language_string): Remove declaration.
1469         * mips.h (language_string): Likewise.
1471         * nextstep.h (language_string): Likewise.
1473         * nextstep21.h (language_string): Likewise.
1475         * rs6000.c (language_string): Likewise.
1477 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1479         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
1480         (getpwd.o): Remove target.
1482         * getpwd.c: Delete file.  Its in libiberty now.
1484         * dbxout.c (getpwd): Don't prototype.
1485         * dwarf2out.c (getpwd): Likewise
1486         * dwarfout.c (getpwd): Likewise
1487         * final.c (getpwd): Likewise.
1488         * protoize.c (getpwd): Likewise.
1490 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1492         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
1494 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
1496         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
1497         mark_set_resources.
1499 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
1501         * fixinc/Makefile.in (subdir): New.
1502         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
1503         (Makefile): New.
1505 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
1507         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
1508         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
1509         be shared.
1511         * invoke.texi: Fix typo.
1513         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
1514         changed.  Handle autoincrement addressing modes.
1516         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
1517         just like we would the virtual incoming args register when
1518         integrating.
1520 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
1522         * rs6000.h (ASM_FILE_START): Specify complete filename, including
1523         path, in .file directive.
1525 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
1527         * gcc.texi (External Bugs): Remove obsolete note about Perl on
1528         SunOS.
1530 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
1532         * stdbool.h: Make the typedef name _Bool, with bool a #defined
1533         alias.
1535 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1537         * tree.c (tree_code_name): Constify a char*.
1539         * tree.h (tree_code_name, decl_printable_name): Likewise.
1541         * function.h (struct function): Likewise.
1543         * toplev.c (decl_name, decl_printable_name): Likewise.
1545         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
1547         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
1548         (init_objc): Remove function pointer cast.
1550 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
1552         * pa.md (interspace_jump): New pattern.
1553         (builtin_longjmp): New expander.
1555 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
1557         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
1558         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
1559         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
1561 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
1563         * jump.c (delete_prior_computation): Also check calls
1564         to constant functions.  Don't bother checking for a
1565         REG_UNUSED note before adding it.
1566         (delete_computation): Handle multi-word hard registers
1567         when synthesizing missing REG_DEAD notes for a register
1568         which is both set and used by an insn.
1570 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1572         * loop.c (this_loop_info): New variable.
1573         (loop_has_call, loop_has_volatile, loop_has_tablejump,
1574         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
1575         All uses updated.
1576         (prescan_loop, strength_reduce): New argument loop_info.  All callers
1577         updated.
1578         (scan_loop): New variable loop_info, initialise to address of
1579         this_loop_info.
1580         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
1581         Delete variable loop_has_multiple_exit targets and replace with
1582         field in this_loop_info.
1583         (find_and_verify_loops): Rename this_loop to this_loop_num.
1584         (strength_reduce): Delete loop_iteration_info.  Replace variable
1585         loop_info with function argument of same name.
1586         (insert_bct): Rework test for loop being completely unrolled.
1588         * loop.h (struct loop_info): New fields num, loops_enclosed,
1589         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
1590         has_indirect_jump, and cont.  Redefine use of unroll_number.
1591         (loop_unroll_number): Delete.
1593         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
1594         field of loop_info.
1595         (loop_iterations): Delete variable vtop and instead use
1596         loop_info->vtop computed in prescan_loop.
1598 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
1600         * fix-header.c (main): Do not pass a null pointer to strcmp.
1602 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
1604         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
1605         filenames.
1606         * configure: Rebuilt.
1608 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
1610         * jump.c (jump_optimize_1): Do not delete assignments to
1611         internal_arg_pointer.
1612         * cse.c (delete_trivially_dead_insns): Always consider a set of
1613         the internal_arg_pointer live.
1615 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
1617         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
1618         (update_life_info) [REG_WAS_0]: Search the original insns rather
1619         than the new insns for the note.  Fix typos finding note_dest.
1620         If no dest found, discard the note rather than abort.
1621         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
1622         (replace_insns): Remove the old insn list after update_life_info
1623         not before.
1625 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
1627         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
1628         sched_analyze_insn.
1629         (sched_analyze_1): Let add_dependence care for not adding dups.
1630         (sched_analyze_2): Likewise.
1631         (add_branch_dependences): Likewise.
1633 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
1635         * i386/winnt.c (export_list): New type.
1636         (exports_head): Rename to
1637         (export_head):  this.
1638         (i386_pe_record_exported_symbol): Add is_data flag.
1639         (i386_pe_asm_file_end): Emit directive for exported variables.
1640         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
1641         prototype.
1642         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
1643         (ASM_DECLARE_OBJECT_NAME): Likewise.
1644         (ASM_DECLARE_FUNCTION_NAME): Likewise.
1645         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
1647 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
1649         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
1651         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
1652         operand.
1654 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
1656         * config/openbsd.h: Define SET_ASM_OP.
1657         * tm.texi: cross-reference SET_ASM_OP in the index.
1659 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
1661         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
1662         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
1663         and class_narrowest_mode at compile time.  Kill init_rtl.
1664         Mark rtx_length, mode_class, mode_size, mode_unit_size,
1665         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
1666         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
1667         EXTRA_CC_NAMES.
1668         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
1669         format.
1670         * rtl.h: Declare rtx_length and rtx_format as const.
1671         * machmode.def: Define CC().  Use CC() to define CCmode.  If
1672         EXTRA_CC_MODES is defined, expand it here.
1673         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
1674         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
1675         const.  Kill all references to EXTRA_CC_MODES.
1677         * toplev.c: Don't prototype or call init_rtl.
1678         * optabs.c: Don't call init_mov_optab.
1679         * genemit.c: Don't generate init_mov_optab.  Don't call
1680         init_rtl.
1681         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
1682         here.
1683         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
1684         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
1685         genrecog.c: Don't call init_rtl.
1687         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
1688         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
1689         definition of EXTRA_CC_MODES.
1691         * md.texi: Kill ref to EXTRA_CC_NAMES.
1692         * tm.texi: Document new way to define EXTRA_CC_MODES.
1694         * genrecog.c: Do not look up the name of a define_split.
1695         (Unrelated bugfix.)
1697 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
1699         * config/v850/v850.md: Fix typo introduced by previous delta.
1701 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1703         * gcc.c (fatal): Make definition static to match prototype.
1705 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1707         * combine.c (get_last_value): Don't look for earlier sets if the last
1708         known set is somewhere in between the insns being combined.
1710 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
1712         * configure.in: Don't use shell ! to negate exit codes
1713         * configure: Regenerate
1715 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
1717         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
1718         the fact that ALIGN is measured in bits, not bytes.
1720 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
1722         * errors.c: New file; defines functions error, warning, and
1723         fatal, variables have_error and progname.
1724         * errors.h: New file; prototypes and decls for stuff in errors.c.
1726         * Makefile: Add rules to build errors.o and
1727         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
1728         genopinit, genrecog, genextract, genpeep, genattr, and
1729         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
1730         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
1731         genpeep.o, genattr.o, and genoutput.o.
1733         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
1734         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
1735         define or prototype fatal.  Set progname at beginning of main.
1736         * genoutput.c:  Likewise, and don't define or prototype error
1737         either.
1739         * c-typeck.c (c_expand_start_case): Return immediately if exp
1740         is an ERROR_MARK.
1741         * fold-const.c (operand_equal_p): Return immediately if arg1
1742         or arg0 are ERROR_MARKs.
1743         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
1744         fields of type ERROR_MARK when calculating if the record can
1745         go in a register.
1747 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
1748         with much help from Jeffrey A Law and Richard Henderson
1750         * i386.md: In the 6 insns which call output_fix_trunc,
1751         earlyclobber operands[0].
1753 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
1755         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
1756         creating new registers.
1758 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
1760         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
1761         i386_reg_alloc_order, i386_regparm_string,
1762         i386_align_loops_string, i386_align_jumps_string,
1763         i386_align_funcs_string, i386_preferred_stack_boundary_string,
1764         and i386_branch_cost_string as type "const char *".
1765         * i386.c: Define all above strings as type "const char *".
1767 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
1769         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
1770         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
1772 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
1774         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
1775         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
1777 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
1779         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
1780         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
1781         (dwarf2out_line, dwarf2out_finish): Likewise.
1782         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
1784 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
1786         * tree.c (lang_unsave_expr_now) : Correct return type.
1787         * tree.h (lang_unsave_expr_now) : Same.
1789 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
1791         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
1792         instead of duplicating code.
1794 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1796         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
1798 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
1800         * tree.h: fancy_abort always takes three args.
1801         * resource.c: Move include of system.h before toplev.h.
1803 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
1805         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
1806         as SYMBOL_REFs.
1808 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
1810         * system.h: Don't redefine abort or trim_filename.
1811         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
1812         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
1813         whether or not __FUNCTION__ is available.
1814         * tree.h: Duplicate rtl.h's definition of abort, for files
1815         that don't include rtl.h.  Delete all code to perform type
1816         checking with a compiler other than GCC.
1817         * varray.h: Delete all code to perform type checking with a
1818         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
1819         its arguments exactly once, using a statement expression.
1820         Adjust the VARRAY_<type> accessor macros to match.
1821         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
1822         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
1823         caller's location.  Define fatal_insn and fatal_insn_not_found
1824         as macros that use _fatal_insn and _fatal_insn_not_found.
1825         (fancy_abort, trim_filename): Kill prototypes.
1827         * rtl.c (trim_filename): Move here from toplev.c.
1828         (fancy_abort): New function.
1829         (DIR_SEPARATOR): Provide default definition.
1830         * tree.c (tree_check_failed, tree_class_check_failed): Go
1831         through fancy_abort.
1832         (tree_check, tree_class_check, cst_or_constructor_check,
1833         expr_check): Delete.
1834         * varray.c (varray_check_failed): New function.
1835         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
1836         _fatal_insn and _fatal_insn_not_found.  Go through
1837         fancy_abort.
1838         (trim_filename, fancy_abort): Delete.
1840         * builtins.c (expand_builtin_args_info): Report ICE with abort.
1841         * except.c (start_catch_handler): Report ICE with error/abort
1842         combo.
1843         * final.c (output_operand_lossage): Likewise.
1844         * flow.c (verify_flow_info): Likewise.
1846         * gcc.c: Prototype fatal.
1847         * gengenrtl.c: Undef abort after including rtl.h not system.h.
1848         * genattr.c, genattrtab.c, genemit.c, genextract.c,
1849         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
1850         Don't define fancy_abort.
1852 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
1854         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
1855         canonization.
1857 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
1859         * m88k.h (VERSION_INFO2): Kill.
1860         (VERSION_STRING): Kill.
1861         (TM_RCS_ID): Kill.
1862         (VERSION_INFO1): Tidy.
1863         (TARGET_VERSION): Update.
1864         * m88k/dgux.h (VERSION_INFO2): Kill.
1865         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
1866         * m88k/luna.h (VERSION_INFO1): Tidy.
1867         * m88k/sysv4.h (VERSION_INFO1): Likewise.
1868         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
1869         (output_file_start): Adjust for death of VERSION_STRING.
1871 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
1873         * cpplib.c (detect_if_not_defined): New function.
1874         (do_if): Use it to detect potential once-only headers.
1876 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
1878         * c-common.c (combine_strings): Always set TREE_CONSTANT.
1880 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
1882         * combine.c (nonzero_bits) : Allow single-ly set registers to be
1883         anywere in the function only if they are pseudos and set before
1884         being used (not live at the start of the function).
1885         (num_sign_bit_copies) : Same.
1886         (get_last_value_validate) : Same.
1887         (get_last_value) : Same.
1889 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
1891         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
1892         where N and M are constant and N is an integer multiple of M.
1894 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
1896         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
1897         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
1898         sbitmap_union_of_preds): Add prototypes.
1899         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
1900         the intersection of successors with the new flow graph structures.
1901         (sbitmap_intersection_of_preds): New function to compute the
1902         intersection of predecessors with the new flow graph structures.
1903         (sbitmap_union_of_succs): New function to compute the union of
1904         successors with the new flow graph structures.
1905         (sbitmap_union_of_preds): New function to compute the union of
1906         predecessors with the new flow graph structures.
1907         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
1908         (expr_reaches_here_p): Use edge and basic_block structures instead
1909         of s_preds and s_succs.
1910         (compute_cprop_avinout): Use new sbitmap routines.
1911         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
1912         of s_preds and s_succs.
1913         * flow.c (compute_flow_dominators): Compute dominators using
1914         edges and basic blocks instead of s_preds and s_succs.
1916 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
1918         * lists.c (unused_insn_list, unused_expr_list): New file for
1919         maintaining various types of lists. New statics for maintaining a
1920         cache of available INSN_LIST and EXPR_LIST nodes.
1921         (free_list): Static function for freeing a list of INSN/EXPR nodes.
1922         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
1923         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
1924         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
1925         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
1926         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
1927         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
1928         (free_INSN_LIST_node): Free an individual INSN_LIST node.
1929         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
1930         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
1931         (remove_dependence, free_pending_lists): Use new global routines.
1932         (flush_pending_lists, sched_analyze_insn): Use new global routines.
1933         (sched_analyze, compute_block_backward_dependences): Use new routines.
1934         (sched_analyze_1, sched_analyze_2): Use new routines.
1935         (schedule_insns): Use new global routines.
1936         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
1937         prototypes.
1938         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
1939         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
1940         prototypes.
1941         * toplev.c (rest_of_compilation): Initialize node cache.
1942         * Makefile.in (OBJS): Add lists.o to list of object files.
1943         (lists.o): Add dependancies.
1945 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
1947         * config/v850/v850.md: Fix compile time warning messages.
1948         * config/v850/v850.c: Fix compile time warning messages.
1949         * config/v850/v850.h: Fix compile time warning messages.
1951 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1953         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
1954         Remove unused prototype for `init_lengths'.
1956 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1958         * calls.c (emit_call_1): Mark parameter `stack_size' with
1959         ATTRIBUTE_UNUSED.
1960         (expand_call): Initialize variable `insn'.
1961         (emit_library_call): Likewise for variable `high_to_save'.
1962         (emit_library_call_value): Likewise.
1963         (store_one_arg): Likewise for variables `lower_bound' and
1964         `upper_bound'.
1966         * combine.c (try_combine): Likewise for variables `i2_code_number'
1967         and `other_code_number'.
1968         (find_split_point): Likewise for variables `pos', `unsignedp' and
1969         `inner'.
1970         (simplify_if_then_else): Likewise for variables `op' and `c1'.
1971         (simplify_and_const_int): Remove unused variable `width'.
1972         (merge_outer_ops): Likewise.
1974         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
1975         HOST_WIDE_INT' when comparing against one.
1976         (simplify_relational_operation): Likewise.
1977         (cse_insn): Initialize variables `src_eqv_volatile',
1978         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
1980         * final.c (init_final): Constify parameter `filename'.
1981         (final_start_function): Mark parameter `optimize' with
1982         ATTRIBUTE_UNUSED.
1983         (profile_function): Likewise for parameters `first' and `optimize'.
1984         (output_source_line): Likewise for parameter `file'.
1986         * integrate.c (subst_constants): Cast a value to `size_t' when
1987         comparing against one.
1988         (mark_stores): Initialize variable `mode'.  Cast a value to
1989         `size_t' when comparing against one.
1991         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
1993         * loop.c (move_movables): Initialize variable `first'.
1994         (strength_reduce): Likewise for variable `increment'.
1995         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
1996         value to `size_t' when comparing against one.
1997         (load_mems): Initialize variable `end_label'.
1999         * output.h (init_final): Constify parameter.
2001         * reload.c (decompose): Initialize variable `base'.
2003         * reload1.c (reload): Likewise for variable `is_scalar'.
2004         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
2005         (choose_reload_regs): Initialize variable `mode'.
2006         (emit_reload_insns): Likewise for variable `store_insn'.
2007         (reload_cse_noop_set_p): Mark parameter `insn' with
2008         ATTRIBUTE_UNUSED.
2009         (reload_combine): Initialize variable `set'.
2011         * unroll.c (unroll_loop): Likewise for variable `local_label'.
2012         (copy_loop_body): Cast a value to `size_t' when comparing against
2013         one.
2015         * varasm.c (assemble_variable): Initialize variable `size_tree'.
2016         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
2017         (remove_from_pending_weak_list): Mark parameter `name' with
2018         ATTRIBUTE_UNUSED.
2020 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2022         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
2023         gcse dump file.
2025 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
2027         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
2028         (ASM_DECLARE_FUNCTION_NAME): Define.
2029         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
2030         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
2031         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
2032         not already defined.
2034 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2036         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
2037         of n_popped when call/call_value are not defined.
2039 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
2041         * tm.texi: GNU CC -> GCC conversion.
2042         (CC1_SPEC): Indicate it is used for all language front ends.
2044 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
2046         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
2047         NOTE_INSN_EH_REGION_END correctly.
2049 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
2050                           Jeff Law <law@cygnus.com>
2052         * loop.c (strength_reduce): Automatically unroll loops if the
2053         unrolled loop size is smaller than the rolled loop size.
2055         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
2056         and delete comment that code should be rewritten.
2058 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
2060         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
2061         as reachable.
2063         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
2065 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2067         * fixinc/mkfixinc.sh: Don't fix uwin headers.
2068         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
2069         (LINK_SPEC): Add -u _main when building executables.
2070         (ASM_DECLARE_FUNCTION): Update from Cygwin.
2071         (ASM_FILE_END): Use the default for ix86-pe.
2072         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
2074 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
2076         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
2077         and ASM_CLOSE_PAREN are empty strings.
2079 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
2080                           Geoffrey Keating <geoffk@cygnus.com>
2082         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
2083         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
2084         (unprotoize.o): Ditto.
2085         (test-protoize-simple): Don't define STD_PROTO_DIR.
2086         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
2087         changes to make 'test-protoize-simple' pass.
2088         (STD_PROTO_DIR): Remove define.
2089         (STANDARD_EXEC_PREFIX): Supply default define.
2090         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
2091         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
2092         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
2093         (GET_ENV_PATH_LIST): New macro.
2094         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
2095         (do_processing): Initialize default_syscalls_dir using new
2096         macros.  Use it to initialize syscalls_absolute_filename.
2098 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
2100         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
2101         B into a register before emit_conditional_move.
2103 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
2105         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
2106         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
2107         multiplicand out of (+ (* a b) (* c d)).
2109 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
2110                           Richard Henderson  <rth@cygnus.com>
2112         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
2113         (new_insn_dead_notes): Likewise.
2114         (update_n_sets): Likewise.
2115         (update_flow_info): Move to flow.c, renamed to update_life_info;
2116         extend to handle multiple source insns.
2117         * flow.c: Include resource.h
2118         (unlink_insn_chain): New.
2119         (split_hard_reg_notes): New.
2120         (maybe_add_dead_note): New.
2121         (maybe_add_dead_note_use): New.
2122         (find_insn_with_note): New.
2123         (new_insn_dead_notes): New.
2124         (update_n_sets): New.
2125         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
2126         (maybe_remove_dead_notes): New.
2127         (update_life_info): New.
2128         (prepend_reg_notes): New.
2129         (replace_insns): New.
2130         * output.h (update_life_info): Declare.
2131         * recog.c (split_block_insns): Use update_life_info.
2132         * resource.c (find_free_register): Use reg_alloc_order, don't use
2133         fixed regs, make sure the mode is supported, don't use new regs.
2134         (reg_dead_p): New.
2135         * rtl.h (replace_insns): Declare.
2137 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
2139         * expr.c (expand_expr): Cope with COND_EXPRs with one
2140         non-returning branch.
2142 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
2144         * expr.c (store_expr): Always pass down the target, even when not
2145         doing CSE.
2147 1999-08-24  Nick Clifton  <nickc@cygnus.com>
2149         * configure.in: Define target_cpu_default for v850 targets.
2150         * configure: Regenerate
2152         * config/v850/v850.h (TARGET_CPU_generic): Define.
2153         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
2154         addresses are 4 byte aligned.
2156         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
2157         addresses.
2159 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2161         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
2162         (main): Add prototypes.
2164         * genattrtab.c (substitute_address, write_const_num_delay_slots,
2165         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
2166         (write_attr_get): Emit prototypes along with function definition.
2167         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
2168         (write_complex_function): Emit static prototype along with
2169         function definition.
2171         * genemit.c (gen_split): Emit prototypes along with function
2172         definition.
2174         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
2175         Likewise for predicates and `insn_operand_predicate'.
2176         (process_template): Emit static prototype along with function
2177         definition.
2179         * genrecog.c (make_insn_sequence): Constify a char*.  Add
2180         prototypes for get_split_*().
2181         (write_subroutine): Emit prototypes along with function
2182         definition.
2184 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2186         * gcse.c (find_avail_set): Follow chains of register-register copies.
2187         Use oprs_not_set_p to guarantee that the returned value can be
2188         substituted.
2189         (cprop_insn): Don't verify the return value of find_avail_set with
2190         oprs_not_set_p.
2192         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
2193         (cprop_cc0_jump): New function.
2194         (cprop_insn): Break out new function cprop_jump and use it.
2195         Also use cprop_cc0_jump for machines with CC0.
2196         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
2198         * tree.h (current_function_calls_setjmp,
2199         current_function_calls_longjmp): Delete declarations.
2200         * dsp16xx.c: Include "function.h".
2201         * elxsi.c: Likewise.
2202         * gmicro.c: Likewise.
2203         * h8300.c: Likewise.
2204         * i370.c: Likewise.
2205         * m32r.c: Likewise.
2206         * mn10200.c: Likewise.
2207         * mn10300.c: Likewise.
2208         * ns32k.c: Likewise.
2209         * spur.c: Likewise.
2210         * v850.c: Likewise.
2212         * rtl.h (rtx_equal_function_value_matters): Declare.
2213         * toplev.c (rtx_equal_function_value_matters): Don't declare.
2214         * cse.c: Likewise.
2215         * function.c: Likewise.
2216         * emit-rtl.c: Likewise.
2218 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
2220         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
2221         call.
2223 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2225         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
2226         exactly.
2228 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
2230         * cpp.texi: Add a node documenting macro varargs (copied
2231         from extend.texi).
2233 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
2235         * cppspec.c: Put a null pointer at the end of the new argv.
2237 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
2239         * configure.in: Remove code to select/de-select the haifa
2240         scheduler.  Every scheduled port gets haifa now.
2241         * configure: Rebuilt.
2242         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
2243         * sched.c Deleted.
2244         * Makefile.in: Corresponding changes.
2246 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2248         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
2249         All callers changed.
2250         (prepare_float_lib_cmp): Likewise.
2251         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
2252         * expr.h (emit_float_lib_cmp): Delete declaration.
2253         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
2254         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
2255         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
2256         specially.
2257         (cmptf): Now conditional on TARGET_HARD_QUAD.
2259 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
2261         * resource.c (mark_target_live_regs): Use
2262         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
2264 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2266         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
2268         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
2270         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
2272 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2274         * rtl.h (rtx_format): Constify a char*.
2276         * rtl.c (rtx_format): Likewise.
2277         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
2278         (init_rtl): Use accessor macro, not `rtx_format'.
2280         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
2281         char*.
2283         * caller-save.c (mark_referenced_regs): Likewise.
2285         * combine.c (subst, make_compound_operation, known_cond,
2286         gen_rtx_combine, update_table_tick, get_last_value_validate,
2287         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
2289         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
2290         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
2291         count_reg_usage): Likewise.
2293         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
2294         Likewise.
2296         * final.c (leaf_renumber_regs_insn): Likewise.
2298         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
2299         dump_edge_info, count_reg_references): Likewise.
2301         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
2302         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
2303         Likewise.
2305         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
2306         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
2307         add_label_notes): Likewise.
2309         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
2310         clear_struct_flag, count_sub_rtxs, count_alternatives,
2311         compares_alternatives_p, contained_in_p, walk_attr_value,
2312         write_expr_attr_cache): Likewise.
2314         * genconfig.c (walk_insn_part): Likewise.
2316         * genemit.c (max_operand_1, gen_exp): Likewise.
2318         * genextract.c (walk_rtx): Likewise.
2320         * genflags.c (num_operands): Likewise.
2322         * genoutput.c (scan_operands): Likewise.
2324         * genpeep.c (match_rtx): Likewise.
2326         * genrecog.c (add_to_sequence): Likewise.
2328         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
2329         Likewise.
2331         * integrate.c (save_constants, copy_for_inline,
2332         copy_rtx_and_substitute, subst_constants, restore_constants):
2333         Likewise.
2335         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
2336         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
2338         * local-alloc.c (contains_replace_regs, memref_referenced_p):
2339         Likewise.
2341         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
2342         add_label_notes, replace_call_address, count_nonfixed_reads,
2343         invariant_p, find_single_use_in_loop, find_mem_givs,
2344         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
2345         Likewise.
2347         * print-rtl.c (reg_names, print_rtx): Likewise.
2349         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
2351         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
2352         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
2353         print_blocks): Likewise.
2355         * regclass.c (fix_register, record_address_regs,
2356         reg_scan_mark_refs): Likewise.
2358         * regmove.c (stable_but_for_p): Likewise.
2360         * reload.c (loc_mentioned_in_p, operands_match_p,
2361         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
2362         copy_replacements, refers_to_regno_for_reload_p,
2363         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
2364         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
2365         Likewise.
2367         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
2368         delete_address_reloads_1, count_occurrences,
2369         reload_cse_mem_conflict_p, reload_combine_note_use,
2370         add_auto_inc_notes): Likewise.
2372         * resource.c (mark_referenced_resources, mark_set_resources):
2373         Likewise.
2375         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
2376         reg_mentioned_p, regs_set_between_p, modified_between_p,
2377         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
2378         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
2379         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
2380         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
2382         * sched.c (sched_analyze_2, attach_deaths): Likewise.
2384         * stupid.c (stupid_mark_refs): Likewise.
2386         * unroll.c (remap_split_bivs): Likewise.
2388         * varasm.c (mark_constants): Likewise.
2390         * a29k/a29k.c (uses_local_reg_p): Likewise.
2392         * alpha/alpha.c (summarize_insn): Likewise.
2394         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
2395         eliminate_lr2ip): Likewise.
2397         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
2399         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
2400         reg_mentioned_in_mem): Likewise.
2402         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
2403         symbolic_reference_mentioned_p): Likewise.
2405         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
2407         * sh/sh.c (regs_used, mark_use): Likewise.
2409         * vax/vax.c (vax_rtx_cost): Likewise.
2411 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2413         * machmode.h (mode_name): Constify a char*.
2415         * rtl.c (mode_name): Likewise.
2417         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
2419         * optabs.c (init_libfuncs): Constify a char*.
2421         * print-tree.c (mode_name): Remove redundant declaration.
2422         (print_node): Use accessor macro, not `mode_name'.
2424         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
2425         not `mode_name'.
2426         (new_spill_reg): Constify a char*.
2428         * tree.c (mode_name): Remove redundant declaration.
2430 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2432         * rtl.c (rtx_name): Constify a char*.
2434         * rtl.h (rtx_name, fix_sched_param): Likewise.
2436         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
2437         (mypr): Use accessor macro, not `rtx_name'.
2439         * genemit.c (print_code): Constify a char*.
2441         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
2443         * genpeep.c (print_code): Constify a char*.
2445         * genrecog.c (print_code): Likewise.
2447         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
2448         end_bb): Add static prototype.
2449         (draw_edge): Constify a char*.
2450         (end_bb): Remove unused parameter.
2452         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
2453         print_block_visualization): Constify a char*.
2455 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
2457         * c-common.c (c_get_alias_set): Update comment.
2459 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2461         * linux.h (LIB_SPEC): Added.
2463 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2465         * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
2467 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
2469         * tree.c (expr_check): Fix typo in last change.
2471 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
2473         * rtl.def (NOTE): Change format to "iuu0n".
2474         (ADDR_DIFF_VEC): Change format to "eEee0".
2475         (ADDRESSOF): Change format to "eit".
2477         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
2478         (RTVEC_ELT): Change to match.
2479         (XVECEXP): Use XVEC and RTVEC_ELT.
2480         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
2481         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
2482         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
2483         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
2484         TRAP_CONDITION, TRAP_CODE): Use XEXP.
2485         (INTVAL): Use XWINT.
2486         (ADDRESSOF_DECL): Use XTREE.
2487         (SET_ADDRESSOF_DECL): Delete.
2488         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
2489         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
2490         ifdefed out since 2.6 at least.
2491         (gen_rtvec_vv): Delete prototype.
2493         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
2494         not rtunion.
2495         (copy_most_rtx): Handle 't' format letter.
2496         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
2497         (gen_rtvec_vv): Delete function.  All callers changed to use
2498         gen_rtvec_v instead.
2499         * print-rtl.c (print_rtx): Move special casing of NOTEs to
2500         the '0' format letter.
2502         * function.c (gen_mem_addressof): Don't use
2503         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
2504         instead.
2505         * integrate.c (copy_rtx_and_substitute): Likewise.
2506         Copy 't' slots with XTREE.
2507         (subst_constants): Treat 't' slots like '[swi]' slots.
2508         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
2509         * jump.c (rtx_equal_for_thread_p): Likewise.
2510         * rtlanal.c (rtx_equal_p): Likewise.
2511         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
2512         only four arguments.
2513         * gengenrtl.c (type_from_format): Provide correct types for
2514         'b' and 't' slots.
2517         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
2518         If a recent gcc is in use (always in stage2 and beyond), use
2519         statement expressions, so we don't make a function call unless
2520         the check fails.  Evaluate arguments exactly once.
2521         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
2522         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
2523         Delete.
2524         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
2525         they evaluate their arguments exactly once, irrespective of
2526         the compiler in use.
2528         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
2529         is used by the currently-enabled check macros.  This is:
2530         (tree_check_failed, tree_class_check_failed): For gcc.
2531         (tree_check, tree_class_check, cst_or_constructor_check,
2532         expr_check): For other compilers.
2534         * gencheck.c: Do not define any *_CHECK1 macros.
2536 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
2537                           Mark Mitchell <mark@codesourcery.com>
2539         * c-common.c (c_get_alias_set): Fix support for poitners and
2540         references.
2542 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
2544         * alias.c: Include tree.h.
2545         (nonlocal_reference_p, mark_constant_function): New functions.
2546         * flow.c (life_analysis): Call mark_constant_function.
2547         * rtl.h (mark_constant_function): Declare it.
2549 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
2551         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
2552         unrecognisable switches.
2554 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2556         * loop.c (recombine_givs): Set ix field after sorting.
2557         (recombine_givs): Remove bogus index / giv lockstep looping.
2559 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2561         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
2562         on CODE.
2563         (emit_store_flag_force): Use do_compare_rtx_and_jump.
2564         (do_cmp_and_jump): Formatting fixes.
2565         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
2566         do_compare_rtx_and_jump instead of compare_from_rtx.
2567         (do_compare_rtx_and_jump): New function; mostly copied from
2568         compare_from_rtx.
2569         (do_jump_for_compare): Delete.
2570         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
2571         MIN_EXPR.
2572         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
2573         of compare/do_jump_for_compare pairs.
2574         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
2575         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
2576         compare_from_rtx/do_jump_for_compare pairs.
2577         (do_jump_by_parts_equality): Likewise.
2578         (do_jump_by_parts_equality_rtx): Likewise.
2579         * expr.h (do_compare_rtx_and_jump): Declare.
2580         * optabs.c (prepare_cmp_insn): New function, contains most of the code
2581         that used to be in emit_cmp_insn.
2582         (cmp_available_p): New function.
2583         (prepare_operand): New function.
2584         (emit_cmp_and_jump_insn_1): New function, contains some code that used
2585         to be in emit_cmp_insn.
2586         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
2587         parameters to be pointers; don't emit final compare but modify some of
2588         the values pointed to by the args so the caller can perform the
2589         correct comparison.
2590         (expand_binop): Call emit_store_flag_force with signed forms of
2591         comparison code.
2592         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
2593         emit_jump_insn pair.
2594         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
2595         emit_cmp_and_jump_insn_1.  Call emit_queue.
2596         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
2597         arg.
2598         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
2599         jump sets cc0 before deleting it.
2600         * integrate.c (expand_inline_function): Likewise.
2601         * unroll.c (unroll_loop): Similar changes in several places.
2602         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
2603         before deleting it.
2605 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2607         * Makefile.in (insn-recog.o): Update dependencies.
2608         * genrecog.c (main): Make generated file include "function.h".
2610 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
2612         * cse.c (cse_insn): Call never_reached_warning when a jump is
2613         changed to be unconditional.
2614         * flags.h: Declare warn_notreached.
2615         * flow.c (delete_block): Call never_reached_warning when
2616         a block is deleted.
2617         * jump.c (delete_barrier_successors): Call never_reached_warning
2618         when we delete everything after a BARRIER.
2619         (never_reached_warning): New function.
2620         * rtl.h: Declare never_reached_warning.
2621         * toplev.c (warn_notreached): New variable.
2622         (lang_independent_options): Set warn_notreached
2623         when -Wunreachable-code.
2624         (compile_file): We need line numbers for -Wunreachable-code.
2626 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
2628         * haifa-sched.c (insn_unit): Fix typo on out of range test.
2629         * sched.c (insn_unit): Likewise.
2631 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
2633         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
2635 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
2637         * flow.c (create_edge_list): Use xmalloc, not malloc.
2639 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
2641         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
2642         C-style comments.  Do not lose the character before double slash.
2644 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
2646         * basic-block.h (struct edge_list): Stucture to maintain a vector
2647         of edges.
2648         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
2649          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
2650         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
2651         New function prototypes.
2652         * flow.c (create_edge_list): Function to create an edge list.
2653         (free_edge_list): Discards memory used by an edge list.
2654         (print_edge_list): Debug output showing an edge list.
2655         (verify_edge_list): Internal consistency check for an edge list.
2656         (find_edge_index): Function to find an edge index for a pred and succ.
2658 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
2660         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
2661         hashtable.
2663 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
2665         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
2667 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2669         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
2671 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
2673         * toplev.c (rest_of_compilation): Allow machine dependent
2674         reorganisation pass to place information into the RTL dump
2675         file if it so wishes.
2677 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
2679         * explow.c (hard_function_value): Use VOIDmode instead of
2680         MAX_MACHINE_MODE.
2681         * stmt.c (expand_return): Likewise.
2682         * stor-layout.c (get_best_mode): Likewise.
2684         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
2685         emit call instead of emit_insn call.
2687 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2689         * configure.in: Handle --disable/enable-win32-registry.
2690         * install.texi: Document --disable/enable-win32-registry.
2691         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
2692         (WIN32_REGISTRY_KEY): New macro.
2693         * prefix.c: Use to enable/disable win32-specific code.
2694         (lookup_key): Use versioned key.
2695         * configure: Regenerate.
2696         * config.in: Likewise.
2698 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
2700         * cpplib.c (read_line_number): New fn, split out of...
2701         (do_line): Here.
2703 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
2705         tree.c (lang_unsave_expr_now) : New.
2706         (unsave_expr_now): Call lang_unsave_expr_now.
2707         tree.h (lang_unsave_expr_now) : New.
2709 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
2711         * toplev.c (flag_new_exceptions): On by default.
2713 1999-08-13  Michael Meissner  <meissner@cygnus.com>
2715         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
2717 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
2719         * dwarfout.c (fundamental_type_code): Return FT_boolean for
2720         INTEGER_TYPE with precision==1, it's __java_boolean.
2722 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2724         * global.c (prune_preferences): Move some invariants out of the
2725         inner loop.
2727 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
2729         * configure.in (alpha*-dec-osf*): Add osf5.
2731 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
2733         * configure.in: Rework handling of ARM GNU/Linux slightly.
2734         (arm*-*-linux-gnuoldld): New target.
2735         * configure: Regenerate.
2736         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
2737         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
2738         * config/arm/linux-oldld.h: New file.
2739         * config/arm/linux-elf26.h: Don't include linux-elf.h.
2740         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
2741         Don't define.
2742         * config/arm/linux-elf.h (ASM_SPEC): Define.
2743         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
2744         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
2745         for 26-bit APCS and old linker.
2746         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
2747         `arm_elf'.
2748         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
2749         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
2750         don't define `arm' or `arm_elf'.
2751         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
2752         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
2754 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
2756         * rtl.texi: Fix typo.
2758 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
2760         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
2762 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
2764         * extend.texi (C++ Signatures): Remove node.
2765         * invoke.texi: Remove discussion of -fhandle-signatures,
2766         signature, sigof, __signature__, and __sigof__.
2768 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
2770         * Makefile.in (JAVAGC): Removed.
2772 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2774         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
2776 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
2778         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
2780 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
2782         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
2783         a register that is already known to be a pointer.
2785 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
2787         * fixinc/inclhack.tpl: Only install assert.h conditionally.
2788         * fixinc/inclhack.sh: Regenerated.
2789         * fixinc/fixincl.sh: Regenerated.
2791 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
2793         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
2794         Fix documentation of -ansi flag to describe its C++ behavior.
2795         Remove bogus reference to GCC 2.9.
2797 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
2799         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
2800         note if it is non-NULL.
2802 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
2804         * except.h (eh_nesting_info): Add new structure defintion.
2805         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
2806         (reachable_handlers, update_rethrow_references): Add function
2807         prototypes.
2808         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
2809         a rethrow symbol instead of an integer exception region number.
2810         * flow.c (Make_edges): Use new exception nesting routines to determine
2811         which handlers are reachable from a CALL or asynchronous insn.
2812         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
2813         goto receivers.
2814         (delete_eh_regions): Update rethrow labels, and don't delete
2815         regions which are the target of a rethrow.
2816         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
2817         avoid overloading the SYMBOL_REF_USED flag.
2818         (rethrow_symbol_map): Use new rethrow_ref field.
2819         (rethrow_used): Use new rethrow_ref field.
2820         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
2821         of an integer.  Fix formatting.
2822         (output_exception_table_entry): Use new rethrow_ref field.
2823         (can_throw): Check for EH_REGION_NOTE before deciding
2824         whether a CALL can throw or not.
2825         (scan_region): Call rethrow_used() instead of accessing data structure.
2826         (update_rethrow_references): New function to make sure only regions
2827         which are still targets of a rethrow are flagged as such.
2828         (process_nestinfo): New static function to initialize a handler
2829         list for a specific region.
2830         (init_eh_nesting_info): New function to allocate and initialize
2831         the list of all EH handlers reachable from all regions.
2832         (reachable_handlers): New function to retrieve the list of handlers
2833         reachable from a specific region and insn.
2834         (free_eh_nesting_info): New function to dispose of a list of
2835         reachable handlers.
2837 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
2839         * flow.c (split_edge): Set JUMP_LABEL field.
2840         (commit_one_edge_insertion): Set head correctly for insert_before.
2841         When inserting insns, update insn block numbers if allocated.
2843 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2845         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
2846         retry_incomplete_types): Add static prototype.
2847         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
2848         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
2849         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
2850         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
2851         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
2852         Constify a char*.
2854         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
2855         dwarf2out_start_source_file, dwarf2out_line): Likewise.
2857 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2859         * output.h (assemble_name): Constify a char*.
2861         * varasm.c (UNIQUE_SECTION, assemble_start_function,
2862         assemble_variable, assemble_name): Likewise.
2864         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
2866         * arm/pe.c (arm_pe_unique_section): Likewise.
2868         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
2870         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
2872         * i386/interix.c (i386_pe_unique_section): Likewise.
2874         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
2876         * i386/winnt.c (i386_pe_unique_section): Likewise.
2878         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
2880         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
2882         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
2884         * pa/pa.c (output_call): Likewise.
2886         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
2888         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
2890         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
2891         Likewise.
2893         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
2894         Likewise.
2896         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2898         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
2899         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
2901         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
2903 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2905         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
2907 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2909         * tree.h (lang_identify): Constify a char*.
2910         (print_error_function): Add extern prototype.  Constify a char*.
2912         * c-lang.c (lang_identify): Constify a char*.
2914         * objc/objc-act.c (lang_identify): Constify a char*.
2916 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2918         * genpeep.c (main): Make generated file include "function.h".
2919         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
2921 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2923         * Makefile.in: Update dependencies.
2924         * alias.c: Include "function.h"
2925         * c-decl.c: Likewise.
2926         * caller-save.c: Likewise.
2927         * calls.c: Likewise.
2928         * combine.c: Likewise.
2929         * cse.c: Likewise.
2930         * explow.c: Likewise.
2931         * final.c: Likewise.
2932         * global.c: Likewise.
2933         * graph.c: Likewise.
2934         * local-alloc.c: Likewise.
2935         * loop.c: Likewise.
2936         * optabs.c: Likewise.
2937         * profile.c: Likewise.
2938         * recog.c: Likewise.
2939         * regclass.c: Likewise.
2940         * regmove.c: Likewise.
2941         * reload.c: Likewise.
2942         * reorg.c: Likewise.
2943         * resource.c: Likewise.
2944         * sched.c: Likewise.
2945         * stupid.c: Likewise.
2946         * config/1750a/1750a.c: Likewise.
2947         * config/a29k/a29k.c: Likewise.
2948         * config/arc/arc.c: Likewise.
2949         * config/arm/arm.c: Likewise.
2950         * config/arm/thumb.c: Likewise.
2951         * config/c4x/c4x.c: Likewise.
2952         * config/clipper/clipper.c: Likewise.
2953         * config/convex/convex.c: Likewise.
2954         * config/fx80/fx80.c: Likewise.
2955         * config/i860/i860.c: Likewise.
2956         * config/m68k/m68k.c: Likewise.
2957         * config/m88k/m88k.c: Likewise.
2958         * config/mips/mips.c: Likewise.
2959         * config/pdp11/pdp11.c: Likewise.
2960         * config/pyr/pyr.c: Likewise.
2961         * config/romp/romp.c: Likewise.
2962         * config/sh/sh.c: Likewise.
2963         * config/tahoe/tahoe.c: Likewise.
2964         * config/vax/vax.c: Likewise.
2965         * config/we32k/we32k.c: Likewise.
2966         * config/sparc/sparc.c: Include "function.h".
2967         (mem_min_alignment): Test current_function rather than
2968         regno_pointer_align.
2969         * config/pa/pa.c: Likewise.
2970         (compute_frame_size): Delete declaration of
2971         current_function_outgoing_args_size.
2972         * config/arc/arc.h (current_function_varargs): Delete declaration.
2973         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
2974         declaration.
2975         * config/i370/i370.h (current_function_outgoing_args_size): Delete
2976         declaration.
2977         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
2978         current_function_uses_pic_offset_table.
2979         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
2980         of current_function_returns_pointer.
2981         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2982         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2983         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2984         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2985         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2986         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2987         * config/m88k/m88k.c: Include "function.h"
2988         (call_used_regs, current_function_pretend_args_size,
2989         current_function_outgoing_args_size, frame_pointer_needed): Delete
2990         declarations.
2991         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
2992         declaration.
2993         * config/mips/mips.h (current_function_calls_alloca): Delete
2994         declaration.
2995         * config/mn10200/mn10200.h (current_function_needs_context,
2996         rtx_equal_function_value_matters): Delete declarations.
2997         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
2998         flag_pic): Delete declarations.
2999         * config/pa/pa.h (current_function_pretend_args_size,
3000         current_function_decl): Delete declarations.
3001         * config/pa/som.h (current_function_varargs): Delete declaration.
3002         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
3003         declaration.
3004         * config/pyr/pyr.h (current_function_pretend_args_size,
3005         current_function_args_size, current_function_calls_alloca): Delete
3006         declarations.
3007         * config/sh/sh.h (current_function_varargs): Delete declaration.
3008         * config/sparc/sparc.h (current_function_outgoing_args_size,
3009         current_function_calls_alloca, current_function_decl): Delete
3010         declarations.
3011         * config/spur/spur.h (current_function_pretend_args_size,
3012         current_function_calls_alloca): Delete declarations.
3013         * config/v850/v850.c (current_function_outgoing_args_size): Delete
3014         declaration.
3015         * config/vax/vms.h (current_function_name): Delete declaration.
3016         * gcse.c: Include "function.h".
3017         (current_function_name, current_function_calls_setjmp): Delete
3018         declarations.
3019         * haifa-sched.c: Include "function.h".
3020         (forced_labels): Delete declaration.
3021         * jump.c: Likewise.
3022         * reg-stack.c: Likewise.
3023         * reload1.c: Likewise.
3024         * genemit.c (main): Make generated file include function.h.
3025         * genoutput.c (output_prologue): Likewise.
3027         * builtins.c (saveregs_value, apply_args_value): Delete variables.
3028         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
3029         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
3030         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
3031         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
3032         macros for some of them.
3033         (emit_filename, emit_lineno): Delete declarations.
3034         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
3035         regno_pointer_* variables through current_function.
3036         (gen_inline_header_rtx): Delete function.
3037         (save_emit_status): Delete function.
3038         (set_new_last_label_num): New function.
3039         (clear_emit_caches): New function.
3040         (restore_emit_status): Just clear last_labelnum and call
3041         clear_emit_caches.
3042         (get_last_insn_anywhere): Variable sequence_stack is now accessed
3043         through macro seq_stack.
3044         (add_insn_after): Likewise.
3045         (add_insn_before): Likewise.
3046         (remove_insn): Likewise.
3047         (pop_topmost_sequence): Likewise.
3048         (in_sequence_p): Likewise.
3049         (start_sequence_for_rtl_expr): Likewise.
3050         (start_sequence): Likewise, and likewise for
3051         sequence_rtl_expr/seq_rtl_expr.
3052         (push_topmost_sequence): Likewise.
3053         (end_sequence): Likewise.
3054         (init_virtual_regs): Now takes a "struct emit_status *" argument.
3055         All callers changed.  Store into that pointer instead of globals.
3056         (init_emit): Allocate emit elt of current_function.
3057         Changes for sequence_rtl_expr/sequence_stack renaming.
3058         Call clear_emit_caches instead of doing it in-line.
3059         Access regno_pointer_* variables through current_function.
3060         (init_emit_once) Don't clear sequence_stack.
3062         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
3063         Delete variables.
3064         (arg_pointer_save_area): Delete declaration.
3065         (finish_expr_for_function): Renamed from init_queue; no longer static.
3066         (init_expr): Don't call init_queue.
3067         (save_expr_status, restore_expr_status): Delete functions.
3068         (expand_expr): Changes to reflect new layout of struct function.
3069         Don't access current_function_check_memory_usage when current_function
3070         is 0.
3071         * expr.h (forced_labels, save_expr_regs, saveregs_value,
3072         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
3073         current_function_outgoing_args_size, current_function_arg_offset_rtx,
3074         current_function_uses_const_pool, function_call_count,
3075         current_function_uses_pic_offset_table, nonlocal_labels,
3076         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
3077         current_function_check_memory_usage, nonlocal_goto_handler_slots,
3078         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
3079         declarations.
3080         (finish_expr_for_function): Declare.
3081         * flags.h (current_function_has_nonlocal_label,
3082         current_function_has_nonlocal_goto, current_function_is_thunk,
3083         current_function_has_computed_jump): Delete declarations.
3084         * flow.c (forced_labels): Delete declaration.
3085         * function.c (current_function_pops_args,
3086         current_function_returns_struct, current_function_returns_pcc_struct,
3087         current_function_needs_context, current_function_calls_setjmp,
3088         current_function_calls_longjmp, current_function_has_nonlocal_label,
3089         current_function_has_nonlocal_goto, current_function_is_thunk,
3090         current_function_has_computed_jump, current_function_calls_alloca,
3091         current_function_contains_functions, current_function_returns_pointer,
3092         current_function_epilogue_delay_list, current_function_args_size,
3093         current_function_pretend_args_size, current_function_arg_offset_rtx,
3094         current_function_outgoing_args_size, current_function_varargs,
3095         current_function_stdarg, current_function_args_info, cleanup_label,
3096         current_function_name, current_function_uses_const_pool,
3097         current_function_instrument_entry_exit, current_function_return_rtx,
3098         current_function_uses_pic_offset_table, nonlocal_labels,
3099         current_function_internal_arg_pointer, current_function_cannot_inline,
3100         current_function_check_memory_usage, function_call_count,
3101         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
3102         nonlocal_goto_stack_level, return_label, save_expr_regs,
3103         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
3104         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
3105         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
3106         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
3107         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
3108         Delete variables.
3109         (push_function_context_to): Don't save them.  Don't call
3110         save_storage_status, save_emit_status or save_expr_status.
3111         (pop_function_context_from): Don't restore them.  Don't call
3112         restore_storage_status or restore_expr_status.
3113         (get_func_frame_size): New function.
3114         (get_frame_size): Use it.
3115         (assign_outer_stack_local): Reflect some member name changes in struct
3116         function.
3117         (put_reg_into_stack): Likewise.
3118         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
3119         seq_rtl_expr.
3120         (fixup_var_refs): Likewise.
3121         (fix_lexical_addr): Likewise.
3122         (trampoline_address): Likewise.
3123         (prepare_function_start): Clear field inlinable of current_function.
3124         (init_function_for_compilation): New function.
3125         (expand_dummy_function_end): New function.
3126         (expand_function_end): Call finish_expr_for_function.
3127         * function.h (struct emit_status): New; fields moved here from struct
3128         function and from global variables.  Add accessor macros for some of
3129         the fields.
3130         (struct expr_status): Likewise.
3131         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
3132         (struct function): Add fields expr and emit, inlinable, inl_emit,
3133         original_arg_vector, original_decl_initial, inl_last_parm_insn,
3134         inl_max_label_num.  Add many comments.
3135         Add accessor macros for all elts of struct function that no longer
3136         have a global variable.
3137         (cleanup_label, return_label, frame_offset, tail_recursion_label,
3138         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
3139         stack_slot_list): Delete declarations.
3140         (get_func_frame_size): Declare.
3141         (save_expr_status, restore_expr_status, save_emit_status,
3142         save_storage_status, restore_storage_status): Delete declarations.
3143         (init_virtual_regs): Declare.
3144         * output.h (current_function_pops_args,
3145         current_function_returns_struct, current_function_returns_pcc_struct,
3146         current_function_needs_context, current_function_calls_setjmp,
3147         current_function_calls_longjmp, current_function_calls_alloca,
3148         current_function_has_nonlocal_label, current_function_varargs,
3149         current_function_has_computed_jump, current_function_returns_pointer,
3150         current_function_contains_functions, current_function_args_size,
3151         current_function_pretend_args_size, current_function_stdarg,
3152         current_function_outgoing_args_size, current_function_args_info,
3153         current_function_name, current_function_return_rtx,
3154         current_function_epilogue_delay_list,
3155         current_function_uses_const_pool, current_function_cannot_inline):
3156         Delete declarations.
3157         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
3158         regno_reg_rtx): Delete declaration.
3159         (REGNO_POINTER_FLAG): Delete macro.
3160         * stmt.c (expand_goto): Changes to reflect that some fields in struct
3161         function were renamed.
3162         * stor-layout.c (save_storage_status, restore_storage_status): Delete
3163         functions.
3164         * toplev.c: Include "function.h".
3165         (current_function_decl): Delete declaration.
3166         (compile_file): Call init_dummy_function_start and
3167         expand_dummy_function_end around some initializations that need to
3168         emit rtl.
3169         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
3170         Call init_function_for_compilation.
3171         * unroll.c: Include "function.h"
3172         (unroll_loop): Access regno_pointer_* variables through
3173         current_function.
3175         * tree.h (struct tree_decl): Add elt f to saved_insns member.
3176         (DECL_SAVED_INSNS): use it.
3177         (expand_dummy_function_end): Declare.
3178         (init_function_for_compilation): Declare.
3179         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
3180         that it's no longer an INLINE_HEADER.
3181         (expand_call): Likewise.
3182         * integrate.c (finish_inline): Delete function.
3183         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
3184         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
3185         args.  Don't generate an INLINE_HEADER rtx, just return the arg
3186         vector.  All callers changed.
3187         (save_for_inline_copying):  Create a duplicate struct emit_status to
3188         hold the emit state for compiling the current function.  Use this and
3189         the other new fields in struct function that are for integration
3190         instead of an INLINE_HEADER.
3191         Use memcpy instead of bcopy.
3192         Store the current struct function in DECL_SAVED_INSNS of fndecl.
3193         (save_for_inline_nocopy): Similar changes, except no new emit_status
3194         is needed here.
3195         (expand_inline_function): Get information from function structure,
3196         not from an inline header rtx.
3197         (output_inline_function): Lose code to extract the necessary
3198         information from an inline header; simply put back the function
3199         structure into current_function.  Clear its inlinable elt.
3200         * rtl.def (INLINE_HEADER): Delete.
3201         * rtl.h: Delete all accessors for an INLINE_HEADER.
3202         (gen_inline_header_rtx): Delete declaration.
3203         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
3204         Delete declarations.
3205         (REGNO_POINTER_ALIGN): Delete.
3206         (clear_emit_caches): Declare.
3207         (set_new_last_label_num): Declare.
3209 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
3211         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
3213         * except.c (expand_eh_region_start_for_decl): Always start a new block.
3214         * stmt.c (is_eh_region): Make sure current_function is present, too.
3216 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
3218         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
3219         for 64bit PA targets.
3221         * pa.h (SELECT_SECTION): Define.
3222         * som.h (SELECT_SECTION): Delete.
3224 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3226         * alias.c (init_alias_analysis): Wrap call to
3227         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
3229 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
3231         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
3232         <sys/asm.h> contains an asm comment with an apostrophe
3233         * fixinc/inclhack.sh:  regen
3234         * fixinc/fixincl.x:  regen
3236 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
3238         * function.c (init_function_start): Clear prologue & epilogue.
3239         (prologue_epilogue_contains): New function.
3240         * alias.c (init_alias_analysis): Use it.
3241         * rtl.h (prologue_epilogue_contains): Declare it.
3243 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
3245         * jump.c (onlyjump_p): New function.
3246         * rtl.h: Declare it.
3247         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
3248         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
3250 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
3252         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
3253         to invert loops.  Simplify block scanning.
3255 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
3257         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
3258         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
3260 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
3262         * config/sparc/liteelf.h: New file to support sparclite-elf target
3263         * config/sparc/t-sp86x: New file to support sparc86x targets
3264         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
3265         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
3266         * configure.in: Support above target triplets
3267         * configure: Regenerated
3269 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
3271         * fixinc/server.c (server_setup): Do not prefix function used as
3272         parameter with `&'.
3274 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
3276         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
3277         Remove fp reg alternatives.
3279 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
3281         * Makefile.in (TAROUTOPTS): Kill.
3282         (install-headers-tar): Use "xpf" for tar headerfile extraction
3283         * i370/x-oe (TAROUTOPTS): Delete.
3284         * m68k/x-apollo68 (TAROUTOPTS): Delete.
3285         * m68k/x-hp320 (TAROUTOPTS): Delete.
3286         * m68k/x-hp320g (TAROUTOPTS): Delete.
3287         * gcc.texi: Update bug reporting text.
3289 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3291         * reg-stack.c (change_stack) Fixed problem with negative array index.
3293 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
3295         * extend.texi, install.texi: Fix spelling mistakes.
3297         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
3298         (s-attrtab); No longer try to use pre-made insn-attrtab file.
3299         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
3300         PREMADE_ATTRTAB_MD.
3301         * mips/t-ecoff: Likewise.
3302         * mips/t-elf: Likewise.
3303         * mips/t-mips: Likewise.
3304         * mips/t-osfrose: Likewise.
3305         * mips/t-r3900: Likewise.
3306         * mips/t-svr3: Likewise.
3307         * mips/t-svr4: Likewise.
3308         * mips/t-ultrix: Likewise.
3310         * gcc.texi: Document recommend means to provide software floating
3311         point libraries in libgcc.a
3313 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
3315         * c-lex.c (yylex): We can have a number with no digits.
3317 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
3319         * jump.c (delete_prior_computation): New function, broken
3320         out of delete_computation.  Check for side effects with
3321         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
3322         multi-word hard registers.
3323         (delete_computation): Use it.  Check for side effects with
3324         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
3325         missing REG_DEAD note for a register which is both set and
3326         used by an insn.
3328 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
3330         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
3331         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
3332         (ASM_FILE_START): Import _mcount with the right type.
3333         (ASM_DECLARE_FUNCTION_NAME): Define.
3334         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
3335         * pa.c (output_function_prologue): Always emit the function's label
3336         here.
3337         * pa.h (TEXT_SPACE_P): Define.
3338         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
3339         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
3340         * som.h (TEXT_SPACE_P): Delete.
3341         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
3342         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
3344 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
3346         * expr.c (emit_group_load): Allow src to be a CONCAT.
3348 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3350         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
3351         (___mulsi3): Use '!' comment character.
3353 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3355         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
3357 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
3359         * gcc.c: Update URLs and mail addresses.
3360         * gcc.texi: Likewise.
3362 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
3364         * rs6000.c (current_file_function_operand): Return zero for
3365         weak functions.
3366         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
3367         weak symbols.
3368         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
3369         for weak symbols.
3371 Thu Aug  5 00:56:30 1999  Geoffrey Keating   <geoffk@cygnus.com>
3373         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
3374         allocate space in the stack frame for the PIC register.
3376 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
3378         * m68k.md (xordi3, anddi3): These patterns are not available on
3379         the coldfire.
3381 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
3383         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
3384         (PUT_REAL): Likewise.
3386 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3388         * final.c (shorten_branches): Don't add an alignment for loops
3389         that have no label inside.
3391 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3393         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
3394         prototypes in macro HAVE_cmpstrsi.
3396         * cpplib.c (cpp_get_token): Remove unused label `op3'.
3398         * emit-rtl.c (operand_subword): Remove unused variable
3399         `bits_per_word'.
3401         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
3403         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
3405 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
3407         * cpphash.c (macroexpand): Delete leading whitespace when arg
3408         is concatenated before.
3409         (unsafe_chars): Correct test for whether + and - can extend a
3410         token.
3412         * cppinit.c (cpp_start_read): Do dependencies for
3413         -include/-imacros files also.
3415         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
3416         tokenizing non-directive lines.
3417         (cpp_expand_to_buffer): Temporarily disable no-output mode.
3418         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
3419         the input file.
3421 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
3423         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
3425         * c-lex.c: Sync with C++ frontend.
3426         (linemode): New variable.
3427         (parse_float): imag, conversion_errno, and type are output only.
3428         (yylex): Adjust.  Move initial '.' case into main switch.
3429         Use linemode.
3430         (handle_generic_pragma): Just deal with tokens.
3431         (readescape): Use ISXDIGIT and ISGRAPH.
3432         * c-parse.in: Add END_OF_LINE token.
3434         * c-lex.c (lang_init): Generalize.
3435         (nextchar): Remove.  Replace uses with UNGETC.
3436         (skip_white_space): Handle linemode here.  Optimize for cpplib.
3437         (skip_white_space_on_line): Remove.
3438         (extend_token_buffer_to): New fn.
3439         (extend_token_buffer): Use it.
3440         (read_line_number, check_newline): Just deal with tokens.
3441         (token_getch, token_put_back): New fns.
3442         (yylex): Use them.  More cpplib optimizations.  Simplify.
3444 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
3445                           Jason Merrill  <jason@yorick.cygnus.com>
3447         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
3448         (consume_string): Make this smart about USE_CPPLIB.
3449         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
3450         (yylex): Rewrite to be intelligent about USE_CPPLIB.
3451         Also, clean up cases where we redundantly set token_buffer[0].
3452         (read_line_number): New fn.
3453         (ignore_escape_flag): New variable.
3455 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
3457         * a29k/t-a29kbare: Fix some comments.
3458         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
3459         (FPBIT, DPBIT): Define.
3460         * a29k/t-vx29k: Likewise.
3461         * arc/t-arc: Likewise.
3462         * arm/t-arm-elf: Likewise.
3463         * arm/t-bare: Likewise.
3464         * arm/t-pe: Likewise.
3465         * arm/t-pe-thumb: Likewise.
3466         * arm/t-semi: Likewise.
3467         * arm/t-thumb: Likewise.
3468         * arm/t-thumb-elf: Likewise.
3469         * arm/t-thumb-linux: Likewise.
3470         * h8300/t-h8300: Likewise.
3471         * i960/t-i960: Likewise.
3472         * i960/t-vxworks960: Likewise.
3473         * m32r/t-m32r: Likewise.
3474         * mips/t-ecoff: Likewise.
3475         * mips/t-elf: Likewise.
3476         * mips/t-r3900: Likewise.
3477         * pa/t-pro: Likewise.
3478         * rs6000/t-aix43: Likewise.
3479         * rs6000/t-beos: Likewise.
3480         * rs6000/t-newas: Likewise.
3481         * rs6000/t-ppccomm: Likewise.
3482         * rs6000/t-rs6000: Likewise.
3483         * rs6000/t-winnt: Likewise.
3484         * rs6000/t-xnewas: Likewise.
3485         * rs6000/t-xrs6000: Likewise.
3486         * sh/t-sh: Likewise.
3487         * sparc/t-elf: Likewise.
3488         * sparc/t-sparcbare: Likewise.
3489         * sparc/t-sparclite: Likewise.
3490         * sparc/t-splet: Likewise.
3491         * v850/t-v850: Likewise.
3492         * mn10200/t-mn10200: Fix comments.
3493         * mn10300/t-mn10300: Likewise.
3495         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
3496         dummy operand.  Allocate a new pseudo for the dummy operand.
3497         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
3499         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
3501 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
3503         * configure: Rebuilt.
3504         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
3506 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
3508         * recog.c (preproces_constraints): Zero recog_op_alt before
3509         processing the constraints.
3511         * arm.c (typedef minipool_node): Renamed from pool_node.
3512         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
3513         (add_minipool_constant): New function.
3514         (dump_minipool): New function.
3515         (find_barrier): Remove special case for getting the insn size of
3516         an insn that references the constant pool.
3517         (minipool_fixup): New structure.
3518         (push_minipool_barrier): New function.
3519         (push_minipool_fix): New function.
3520         (note_invalid_constants): New function.
3521         (add_pool_constant, dump_table, fixit, broken_move): Delete.
3522         (arm_reorg): Rewrite code to fix up the constant pool into a
3523         series of mini-pools embedded in the insn stream.
3524         (arm_output_epilogue): New function, made mainly from the body
3525         of output_func_epilogue.
3526         (output_func_epilogue): Move insn generation part of epilogue code
3527         to arm_output_epilogue.
3528         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
3529         * arm.md (pool_range): New attribute.
3530         (zero_extendqidi2): Add attribute pool_range.
3531         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
3532         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
3533         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
3534         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
3535         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
3536         (epilogue): New expand.
3537         (epilogue_insn): New insn.  Call arm_output_epilogue.
3539         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
3540         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
3542 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
3544         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
3546 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
3548         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
3550 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
3552         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
3554 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
3556         * global.c: Fix comment.
3558 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
3560         * gcc.c (access_check): New static function.
3561         (find_a_file): Use it when searching a directory list.
3562         * collect2.c (find_a_file): Don't accept directories found when
3563         searching a directory list.
3565 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
3567         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
3568         function parameters with `&'.
3569         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
3571 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
3573         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
3574         or tidy_fallthru_edge if the last insn in the block is not
3575         an unconditional jump or a simple conditional jump.
3577 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3579         * Makefile.in (c-decl.o): Depends on defaults.h.
3581 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
3583         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
3584         PA1.1 and above.
3585         (CLASS_MAX_NREGS): Likewise.
3587 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
3589         * cse.c (cse_insn): Fix dumb thinko in last change.
3591 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3593         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
3594         "const char *".
3596 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
3598         * dwarf2out.c (add_location_or_const_value_attribute): Correct
3599         test for sizes of passed and declared parameter types.
3601 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3603         * fixincludes: Fix the return type of bsearch, char* -> void*.
3605         * fixinc/inclhack.def: Likewise.
3607 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
3609         * invoke.texi (-fdump-translation-unit): New option.
3611 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
3613         * expr.h (PROMOTE_PROTOTYPES): Move ...
3614         * defaults.h: ... to here.
3615         * c-decl.c: Include defaults.h instead of expr.h.
3616         * c-typeck.c: Include defaults.h.
3618 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
3620         * toplev.h (errorcount): Declare.
3621         (warningcount): Likewise.
3622         (sorrycount): Likewise.
3623         * c-lex.c (errorcount): Don't declare.
3624         * dwarf2out.c (errorcount): Don't declare.
3626 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
3628         * config/libgloss.h: Add a note discouraging use with ELF.
3629         * configure.in: Don't use libgloss.h for ELF targets.
3630         Always use_collect2 on a.out targets.
3632 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
3634         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
3635         (force_to_mode, case ASHIFTRT): Add shiftrt label.
3637 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3639         * loop.c (strength_reduce): When doing biv->giv conversion, update
3640         reg note of NEXT->insn.
3642 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
3644         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
3646 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
3648         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
3649         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
3650         Ensure expr.h is included.
3651         * c-typecheck.c (convert_arguments): Ditto.
3653         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
3655         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
3656         * config/convex/convex.h: Ditto.
3657         * config/dsp16xx/dsp16xx.h: Ditto.
3658         * config/fx80/fx80.h: Ditto.
3659         * config/gmicro/gmicro.h: Ditto.
3660         * config/i370/i370.h: Ditto.
3661         * config/i386/i386.h: Ditto.
3662         * config/m32r/m32r.h: Ditto.
3663         * config/m68k/m68k.h: Ditto.
3664         * config/m88k/m88k.h: Ditto.
3665         * config/mips/mips.h: Ditto.
3666         * config/pa/pa.h: Ditto.
3667         * config/pyr/pyr.h: Ditto.
3668         * config/tahoe/tahoe.h: Ditto.
3669         * config/we32k/we32k.h: Ditto.
3671         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
3672         based on arch size.
3674         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
3676         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
3677         from comment.
3679         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
3681 1999-08-02  Richard Henderson  <rth@cygnus.com>
3683         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
3684         for the register spill block.
3685         (m32r_va_arg): New.
3686         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
3687         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
3689         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
3690         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
3691         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
3693 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
3695         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
3696         MAX_WCHAR_TYPE defined in sparc.h.
3697         * config/sparc/linuxaout.h: Likewise.
3698         * config/sparc/linux64.h: Likewise.
3699         Also default to -mvis if CPU is UltraSPARC.
3701 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
3703         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
3704         (RTX_OK_FOR_OLO10): Likewise.
3705         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
3706         %lo(), allow it in addresses...
3707         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
3708         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
3709         does not make sense.
3710         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
3711         (sparc_output_scratch_registers): New function.
3712         (output_function_prologue, sparc_flat_output_function_prologue): Use
3713         it.
3714         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
3715         defined.
3716         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
3717         * configure.in: Add check for .register pseudo-op support in as and
3718         check for offsetable %lo().
3719         * acconfig.h: Add templates for the above checks.
3720         * configure: Regenerate.
3722 1999-08-02  Richard Henderson  <rth@cygnus.com>
3724         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
3725         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
3726         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
3728 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3730         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
3731         reg_biv_class.
3733 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
3735         * config/float-sparc.h: New file.
3736         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
3737         sparc-*-linux-gnu and sparc64-*-linux*.
3739 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3741         * rs6000.c (rs6000_va_list): Type is an array.
3742         (rs6000_va_start): Don't doubly adjust for varargs.
3743         (rs6000_va_arg): Evaluate long long GPR adjustment.
3745 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
3747         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
3748         -maix64 and -maix32.
3749         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
3750         LINK_SPEC): Change appropriately.
3751         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
3752         (u_short_cint_operand): Likewise.
3753         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
3754         for 64-bit hosts.
3755         * rs6000/t-aix43 (MULTILIB): Change to -m64.
3757         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
3759 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
3761         * rs6000/rs6000.c (num_insns_constant_wide): Correct
3762         for type promotion.
3763         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
3764         (non_add_cint_operand): Likewise.
3765         (logical_operand): Likewise.
3766         (non_logical_cint_operand): Likewise.
3767         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
3768         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
3769         (rs6000_select_rtx_section): Suppress warning.
3770         (small_data_operand): Suppress warning.
3771         (rs6000_got_register): Suppress warning.
3772         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
3773         type, so `J' is generally the wrong constraint for a SImode value;
3774         use `L' instead.
3775         (andsi3_internal2): Likewise.
3776         (andsi3_internal3): Likewise.
3777         (iorsi3_internal1): Likewise.
3778         (xorsi3_internal1): Likewise.
3779         (movsi): Likewise.
3780         (movsf_softfloat): Likewise.
3781         (scc insns): Likewise.
3782         (movsi+2): Preserve sign bits of SImode constant.
3783         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
3784         (movdf+1): Sign-extend properly.
3785         (movdi_32+1): Sign-extend properly.
3786         (scc insns): Sign-extend properly.
3788         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
3789         K, L, and T.
3791 1999-08-02  Richard Henderson  <rth@cygnus.com>
3793         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
3794         -mcpu parsing code.
3795         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
3796         * alpha.md (all fp insns): Likewise.
3798 1999-08-02  Nick Clifton  <nickc@cygnus.com>
3800         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
3801         already defined.
3803 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
3805         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
3806         pic_load_label generator directly.
3807         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
3808         No longer a named pattern.
3810 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
3812         * explow.c (force_reg): Call force_operand if X does not
3813         satisfy general_operand.
3815 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
3817         * fix-header.c (main): When testing for CONTINUED, use string
3818         equality, not pointer equality.
3820 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
3822         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
3824 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
3826         * cse.c (cse_insn): Fix loop which deletes insns after a jump
3827         that has become an unconditional jump.
3829         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
3830         (output_function_epilogue): Similarly.
3832 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3834         * tree.h (init_dummy_function_start): Declare.
3836 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3838         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
3839         last_expr_type, last_expr_value, block_start_count, block_stack,
3840         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
3841         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
3842         dynamically in stmt elt of struct function for each function.
3843         (struct nesting): Rename function_call_count elt to n_function_calls,
3844         target_temp_slot_level to block_target_temp_slot_level.  All users
3845         changed.
3846         (struct stmt_status): New structure definition.
3847         Add many accessor macros for stmt_status elements which previously
3848         were global variables.
3849         (init_stmt_for_function): Allocate stmt elt for current_function.
3850         Reflect that block_start_count was renamed to
3851         current_block_start_count.
3852         (save_stmt_status, restore_stmt_status): Delete functions.
3853         (preserve_subexpressions_p): Don't access loop_stack when outside
3854         a function.
3855         (expand_start_bindings): Reflect that block_start_count was renamed to
3856         current_block_start_count.
3857         (expand_fixup): Likewise.
3858         (expand_decl): Don't access block_stack when outside a function.
3859         (expand_decl_cleanup): Likewise.
3860         (expand_dcc_cleanup): Likewise.
3861         (expand_dhc_cleanup): Likewise.
3862         (expand_anon_union_decl): Likewise.
3863         (set_file_and_line_for_stmt): New function.
3864         (in_control_zone_p): New function.
3866         * function.h (struct function): Add new elt stmt.
3867         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
3868         case_stack, nesting_stack, nesting_depth, block_start_count,
3869         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
3870         emit_lineno, goto_fixup_chain.
3871         (save_eh_status, restore_eh_status, save_stmt_status,
3872         restore_stmt_status): Delete declarations.
3873         * function.c (push_function_context_to): Don't call save_stmt_status.
3874         (pop_function_context_to): Don't call restore_stmt_status.
3875         * tree.h (in_control_zone_p): Declare.
3876         * rtl.h (set_file_and_line_for_stmt): Declare.
3878         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
3879         call set_file_and_line_for_stmt.
3881 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
3883         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
3884         Also update copyright.
3886 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3888         * c-pragma.c: Don't include "except.h".
3889         * emit-rtl.c: Likewise.
3890         * stor-layout.c: Likewise.
3891         * tree.c: Likewise.
3892         * varasm.c: Likewise.
3894         * flow.c: Include "function.h".
3895         * tree.h (init_dummy_function_start): Declare new function.
3897         * except.h (struct eh_status): New structure.
3898         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
3899         been included.
3900         (eh_return_stub_label, ehstack, catchstack, ehqueue,
3901         catch_clauses, false_label_stack, caught_return_label_stack,
3902         protect_list, current_function_ehc): Add accessor macros for the
3903         corresponding fields in current_function->eh; delete declarations
3904         for all items that used to be declared here.
3905         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
3906         catch_clauses, false_label_stack, caught_return_label_stack,
3907         protect_list, current_function_ehc): Delete variables.
3908         (init_eh_for_function): Allocate current_function->eh.
3909         (save_eh_status, restore_eh_status): Delete functions.
3911         * function.h (struct function): Add fields next_global and eh.
3912         Delete all exception handling related fields.
3913         * function.c (current_function): New variable.
3914         (all_functions): New variable.
3915         (push_function_context_to): Don't allocate a struct function,
3916         use current_function instead.  Call init_dummy_function_start when
3917         outside a function.  Clear current_function before returning.
3918         (pop_function_context_from): Restore current_function.
3919         Don't free the restored struct function.
3920         (prepare_function_start): New function.
3921         (init_dummy_function_start): New function.
3922         (init_function_start): Break out some code into prepare_function_start
3923         and call it here.
3925         * stmt.c (save_stmt_status): Don't call save_eh_status.
3926         (restore_stmt_status): Don't call restore_eh_status.
3928         * Makefile.in: Update dependencies.
3930 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
3932         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
3933         of depending on a magic constant value.  Update comments.
3934         (hppa_expand_prologue): Similarly.
3936         * pa.md (reload_indi, reload_outdi): Allow any register for the
3937         original reload register.
3939 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
3941         * cccp.c (print_help): Change marcos to macros.
3943 1999-07-30  Richard Henderson  <rth@cygnus.com>
3945         * c-typeck.c (initializer_constant_valid_p): Move ...
3946         * c-common.c (initializer_constant_valid_p): ... here.  Use
3947         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
3948         of label addresses.
3949         * c-common.h (initializer_constant_valid_p): Declare.
3950         * c-tree.h (initializer_constant_valid_p): Remove.
3952 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
3954         * config/i386/sol2-c1.asm: Align the stack.
3955         * config/i386/sol2-gc1.asm: Likewise.
3957 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
3959         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
3960         -Asparclite for sparc86x.
3961         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
3962         sparc86x.
3963         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
3965 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
3967         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
3968         the user if using the non-default arch size in BI_ARCH configuration.
3969         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
3971         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
3972         Fix patterns so that they actually match.
3973         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
3974         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
3975         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
3976         TARGET_HARD_MUL32.
3977         (mulsidi3): Reflect this in the expand.
3978         (smulsi3_highpart): Only on TARGET_ARCH32.
3979         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
3980         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
3981         (umulsidi3): Reflect this in the expand.
3982         (umulsi3_highpart): Only on TARGET_ARCH32.
3983         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
3984         don't require g0 to be zero.
3985         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
3986         ({,u}divsi3): New expands.
3987         ({,u}divsi3_sp64): New patterns.
3988         (after lshrdi3_v8plus): Four new patterns to help combiner
3989         optimizing nested mixed mode shifts.
3991         * config/sparc/sparc.c (sparc_override_options): Use deprecated
3992         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
3993         speed things up. Don't use them by default on plain v9 in 64bit
3994         mode, according to what SPAMv9 sais.
3996         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
3997         top 32 bits of %[og][0-7] in signal handlers.
3998         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
4000 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
4002         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
4003         (ashlsi3): Corresponding changes.
4005         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
4007 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
4009         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
4011 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4013         * arm.h (Hint): Delete macro.
4014         Substitute HOST_WIDE_INT for Hint in some prototypes.
4015         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
4017 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
4019         * builtins.c (expand_builtin_setjmp): Use force_operand to
4020         make sure that the buffer address is in a suitable form to be
4021         passed to force_reg.
4023 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
4025         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
4026         them here.
4028 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
4030         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
4031         proper mode in the condition string.
4032         (icacheflush, dcacheflush): Remove modes from match_operands.
4034         * pa.c (emit_move_sequence): Always convert scratch_reg to the
4035         proper mode before using it.
4037         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
4038         pair.
4040         * pa.c (store_reg): Do not call add_high_const generator directly.
4041         (load_reg, set_reg_plus_d): Likewise.
4042         * pa.md (add_high_const): No longer a named pattern.
4044         * pa.c (legitimize_address): Consistently use Pmode rather than
4045         SImode.  Do not call gen_pic2_highpart directly anymore.
4046         * pa.md (pic2_highpart): No longer a named pattern.
4047         (pic2_lo_sum): Similarly.  Reformat to make more readable.
4049         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
4050         needed.
4052         * README: Update.
4054 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4056         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
4058 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
4060         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
4061         and tag the spill mems.
4062         (hppa_va_start): New.
4063         (hppa_va_arg): New.
4064         * pa.h (EXPAND_BUILTIN_VA_START): New.
4065         (EXPAND_BUILTIN_VA_ARG): New.
4067 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
4069         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
4070         and tag the spill mems.
4071         (mn10300_va_start): New.
4072         (mn10300_va_arg): New.
4073         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
4074         (EXPAND_BUILTIN_VA_ARG): New.
4076 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
4078         * mn10200.c (mn10200_va_arg): New.
4079         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
4081 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
4083         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
4084         rather than play with TREE_INT_CST_LOW.
4086 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
4088         * config/arm/telf.h: Include dbxelf.h.
4089         (CPP_PREDEFINES): Only define if not already defined.
4090         (ASM_IDENTIFY_GCC): Likewise.
4091         (SUBTARGET_EXTRA_SECTIONS): Likewise.
4092         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
4093         * config/arm/thumb.h (LINK_SPEC): Only define if not already
4094         defined.
4095         (DBX_DEBUGGING_INFO): Don't define.
4096         * config/arm/linux-telf.h: New file.
4097         * config/arm/linux-tgas.h: New file.
4098         * config/arm/t-thumb-linux: New file.
4099         * config/arm/uclinux-elf.h: New file.
4100         * config/arm/uclinux-telf.h: New file.
4101         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
4102         thumb-*-uclinux): New targets.
4103         * configure: Regenerate.
4105 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
4107         * pa.md (post_store, pre_load): New expanders.
4108         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
4109         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
4110         need to directly generate RTL for them.
4111         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
4112         changes.
4114 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
4116         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
4117         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
4118         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
4119         (secndary_reload_class): Make TARGET_ELF conditional compile.
4120         (print_operand_address): Similar.
4121         (output_toc): Print all values as hex.
4122         (get_issue_rate): Rearrange and add RS64A and PPC630.
4123         * rs6000.h (processor_type): Add RS64A and PPC630.
4124         (PROCESSOR_POWERPC64): New.
4125         (PROMOTE_MODE): Use word_mode.
4126         (RTX_COSTS): Add RS64A and PPC630.
4127         * rs6000.md (scheduling information): Add lmul and ldiv
4128         representing 64-bit integer multiply and divide.  Add rs64a and
4129         PPC630 information.
4130         (ashldi3): Add support for "rldic" instruction.
4131         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
4133 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
4135         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
4136         instead of V8 for sparclite86x in cpu_table.
4138 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4140         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
4141         output_file_directive.
4143 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
4145         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
4146         tree for op1, not the rtl.
4148 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
4150         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
4151         to m88k_va_start, leaving only the register spill.
4152         (m88k_build_va_list): New.
4153         (m88k_va_start): New.
4154         (m88k_va_arg): New.
4155         * m88k.h (BUILD_VA_LIST_TYPE): New.
4156         (EXPAND_BUILTIN_VA_START): New.
4157         (EXPAND_BUILTIN_VA_ARG): New.
4159 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
4161         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
4162         Rename from expand_builtin_saveregs.
4163         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
4165 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
4167         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
4168         for the register spill block.
4169         (i960_build_va_list): New.
4170         (i960_va_start): New.
4171         (i960_va_arg): New.
4172         * i960.h (BUILD_VA_LIST_TYPE): New.
4173         (EXPAND_BUILTIN_VA_START): New.
4174         (EXPAND_BUILTIN_VA_ARG): New.
4175         * i960.md (store_multiple): Use change_address on individul mems.
4177 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
4179         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
4180         an ARRAY_TYPE.
4181         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
4182         (expand_builtin_va_end): Evaluate arg for side effects.
4183         * c-common.c (c_common_nodes_and_builtins): Construct a
4184         va_list_arg_type_node to handle array decomposition to pointer.
4186 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
4188         * except.c (start_dynamic_cleanup): Use force_operand on the
4189         buffer's address.
4191 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
4193         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
4194         * c4x.c (c4x_va_arg): New.
4196 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
4198         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
4199         has manual_pop set.
4201 1999-07-26  Nathan Sidwell  <nathan@acm.org>
4203         * eh-common.h (__eh_matcher): Prototype correctly.
4205 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
4207         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
4208         (TARGET_SINGLE_PIC_BASE): Likewise.
4209         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
4210         definitions.
4211         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
4212         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
4213         (TARGET_OPTIONS): Add -mpic-register=N.
4214         (OUTPUT_INT_ADDR_CONST): New macro.
4215         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
4216         LEGITIMATE_PIC_OPERAND_P): Likewise.
4217         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
4218         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
4219         output_addr_const directly.
4220         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
4221         ARM port.
4222         (thumb_pic_register, thumb_pic_register_string): Declare.
4224         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
4225         from arm.c.
4226         (label_mentioned_p): New function: Imported from arm.c.
4227         (legitimize_pic_address): New function: Imported from arm.c.
4228         (is_pic):New function: Imported from arm.c.
4229         (thumb_finalize_pic):New function: Imported from arm.c.
4230         (add_constant): Cope with PIC constants.
4231         (fixit): Cope with PIC constants.
4232         (output_return): Do not treat the PIC register as live if
4233         TARGET_SINGLE_PIC_BASE is true.
4234         (thumb_function_prologue): Do not treat the PIC register as live if
4235         TARGET_SINGLE_PIC_BASE is true.
4236         (thumb_expand_prologue): Do not treat the PIC register as live if
4237         TARGET_SINGLE_PIC_BASE is true.
4238         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
4239         TARGET_SINGLE_PIC_BASE is true.
4240         (thumb_print_operand): Accept '|'.
4241         (thumb_override_options): Process PIC options.
4243         * config/arm/thumb.md (movsi): Support PIC.
4244         (call_insn): Change "i" constraint to "X".
4245         (call_value_insn): Likewise.
4246         (consttable_4, consttable_8, consttable_end): Set and clear
4247         "making_const_table" as appropriate.
4248         (pic_load_addr, pic_add_dot_plus_four): New insns.
4250         * invoke.texi (Thumb Options): Fix spelling.  Document new
4251         options -msingle-pic-base and -mpic-register=.
4253 1999-07-26  Andrew Haley  <aph@cygnus.com>
4255         * config/m32r/initfini.c (__init): Use a full word immediate for
4256         __fini: this allows it to be placed in any memory region.
4258         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
4259         -mmodel=medium.  This is OK for all memory models.
4261 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
4263         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
4264         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
4266 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
4268         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
4269         defined.
4271         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
4273 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
4275         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
4276         (BUILD_VA_LIST_TYPE): New.
4277         (EXPAND_BUILTIN_VA_START): New.
4278         (EXPAND_BUILTIN_VA_ARG): New.
4279         * i860.c (output_delayed_branch): Disable.
4280         (output_delay_insn): Likewise.
4281         (i860_saveregs): New.
4282         (i860_build_va_list): New.
4283         (i860_va_start): New.
4284         (i860_va_arg): New.
4285         * i860.md: Disable all peepholes using output_delayed_branch.
4286         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
4288 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
4290         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
4291         (BUILD_VA_LIST_TYPE): New.
4292         (EXPAND_BUILTIN_VA_START): New.
4293         (EXPAND_BUILTIN_VA_ARG): New.
4294         * clipper.c (clipper_builtin_saveregs): Only dump registers.
4295         Return the address of the save area.
4296         (clipper_build_va_list): New.
4297         (clipper_va_start): New.
4298         (clipper_va_arg): New.
4300 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
4302         * arc.h (EXPAND_BUILTIN_VA_START): New.
4303         (EXPAND_BUILTIN_VA_ARG): New.
4304         * arc.c (arc_setup_incoming_varargs): Set alias set of
4305         varargs save area.
4306         (arc_va_start): New.
4307         (arc_va_arg): New.
4309 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
4311         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
4312         (BUILD_VA_LIST_TYPE): New.
4313         (EXPAND_BUILTIN_VA_START): New.
4314         (EXPAND_BUILTIN_VA_ARG): New.
4315         * alpha.c (alpha_builtin_saveregs): Delete.
4316         (alpha_build_va_list): New.
4317         (alpha_va_start): New.
4318         (alpha_va_arg): New.
4320 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
4322         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
4323         column zero.
4324         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
4325         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
4327         * gcc.texi: More changes related to list conversion.
4328         * invoke.texi: Likewise.
4330 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
4332         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
4333         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
4334         (expand_builtin_next_arg): Accept ARGLIST not EXP.
4335         (stabilize_va_list): New function.
4336         (std_expand_builtin_va_start): New function.
4337         (expand_builtin_va_start): New function.
4338         (get_varargs_alias_set): New function.
4339         (std_expand_builtin_va_arg): New function.
4340         (expand_builtin_va_arg): New function.
4341         (expand_builtin_va_end): New function.
4342         (expand_builtin_va_copy): New function.
4343         (expand_builtin): Call them.
4344         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
4345         __builtin_{varargs_start,stdarg_start,end,copy}.
4346         (build_va_arg): New function.
4347         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
4348         (build_va_arg): Declare.
4349         * c-decl.c (ptr_type_node, va_list_type_node): New.
4350         * c-parse.gperf (__builtin_va_arg): New.
4351         * c-parse.in (VA_ARG): New token.
4352         (unary_expr): Recognize it.
4353         * expr.c (expand_expr): Expand VA_ARG_EXPR.
4354         * expr.h (std_expand_builtin_va_start): Declare.
4355         (std_expand_builtin_va_arg): Declare.
4356         (expand_builtin_va_arg): Declare.
4357         (get_varargs_alias_set): Declare.
4358         * tree.def (VA_ARG_EXPR): New.
4359         * tree.h (BUILT_IN_VARARGS_START): New.
4360         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
4361         (ptr_type_node, va_list_type_node): Declare.
4362         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
4363         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
4364         * m88k.h, m88k.c: Likewise.
4365         * mn10300.h, mn10300.c: Likewise.
4366         * pa.h, pa.c: Likewise.
4367         * rs6000.h, rs6000.c: Likewise.
4368         * sh.h, sh.c: Likewise.
4369         * sparc.h, sparc.c: Likewise.
4371         * emit-rtl.c (operand_subword): Copy alias set.
4372         (change_address): Likewise.
4374 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
4376         * pa.c (compute_frame_size): Scan all the used callee saved registers,
4377         not just the first one.
4379 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
4381         * config/arm/arm.h (TARGET_SWITCHES): Add
4382         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
4383         (TARGET_OPTIONS): Add -mpic-register=.
4384         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
4385         (arm_pic_register_string): Declare.
4386         (NEED_PLT_GOT): Delete, replace with ...
4387         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
4388         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
4389         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
4390         * config/arm/arm.c (arm_override_options): Add new option
4391         -mpic-register=N.
4392         (arm_pic_register_string): New variable.
4393         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
4394         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
4395         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
4396         (output_return_instruction): Likewise.
4397         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
4398         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
4399         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
4401         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
4402         mention of -msched-prolog.  Document new options -msingle-pic-base
4403         and -mpic-register=.
4405 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
4407         * haifa-sched.c (reemit_notes): Tidy.
4408         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
4409         haifa's routine.
4411 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
4413         * explow.c (trunc_int_for_mode): New function.
4414         (plus_constant_wide): Use it.
4415         * combine.c (simplify_and_const_int): Likewise.
4416         (merge_outer_ops): Likewise.
4417         (simplify_shift_const): Likewise.
4418         * cse.c (simplify_unary_operation): Likewise.
4419         (simplify_binary_operation): Likewise.
4420         * emit-rtl.c (operand_subword): Likewise.
4421         * rtl.h: Declare it.
4423 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4425         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
4426         (use NUM_REGS instead of NUM_INTS).
4428 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4430         * builtins.c: New file.
4431         * expr.c (saveregs_value, apply_args_value):  Delete definition,
4432         moved into builtins.c.
4433         (string_constant): No longer static.
4434         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
4435         apply_args_size, apply_result_size, result_vector,
4436         expand_builtin_apply_args, expand_builtin_apply,
4437         expand_builtin_return): Delete functions, moved into builtins.c.
4438         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
4439         * expr.h (saveregs_value, apply_args_value): Declare variables.
4440         (expand_builtin, string_constant): Declare functions.
4441         * Makefile.in: Update to build builtin.o.
4443 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
4445         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
4446         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
4447         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
4448         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
4449         false.
4450         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
4451         Define to zero.
4453 1999-07-21  Michael Meissner  <meissner@cygnus.com>
4455         * print-rtl.c (print_rtx): Print the names of the virtual
4456         registers.
4458 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
4460         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
4461         introduced in previous delta.
4463 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4465         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
4466         to avoid name clash.
4468 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
4470         * c-lex.c (yylex) : Correct the test for overflow when lexing
4471         integer literals.
4473 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
4475         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
4476         (adjust_priority): Always call ADJUST_PRIORITY.
4477         (schedule_insn): Only put insns into the ready at cost 0.
4478         (schedule_block): Remove redundant initial sort.  Give clock_var
4479         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
4480         is not 0.
4481         * tm.texi (MD_SCHED_REORDER): Update docs.
4483         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
4484         * sparc.c (ultra_reorder_called_this_block): Delete.
4485         (ultrasparc_sched_init): Don't set it.
4486         (ultrasparc_sched_reorder): Don't check it.
4488 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
4490         * rs6000.h (struct rs6000_args): Add sysv_gregno.
4491         * rs6000.c (init_cumulative_args): Init sysv_gregno.
4492         (function_arg_boundary): Align DFmode.
4493         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
4494         to get fp reg and stack overflow correct.
4495         (function_arg): Likewise.
4496         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
4497         (setup_incoming_varargs): Restructure for ABI_V4; use
4498         function_arg_advance to skip final named argument.
4499         (expand_builtin_saveregs): Properly unskip the last integer arg
4500         when doing varargs.  Adjust overflow location calculation.
4502         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
4503         explicitly unsigned.
4504         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
4505         (__VA_GP_REGSAVE): Similarly.
4506         (__va_longlong_p): Delete.
4507         (__va_arg_type_violation): New declaration.
4508         (va_arg): Restructure.  Flag promotion errors.  Align double.
4509         TFmode passed by reference.
4511         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
4512         in the HOST_BITS_PER_WIDE_INT > 32 case.
4514 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
4516         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
4518 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
4520         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
4521         * toplev.c (documented_lang_options): Add -fpreprocessed.
4522         * cpplib.h (struct cpp_buffer): Add preprocessed.
4523         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
4524         (cpp_start_read): Don't expand macros or emit an initial #line
4525         directive if -fpreprocessed.
4527 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
4529         * cpplib.h (struct cpp_buffer): Added manual_pop for
4530         better C++ tokenization.
4531         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
4532         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
4533         * c-common.c (cpp_token): Make non-static.
4535 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4537         * c-common.h: New file.
4538         * c-common.c (permanent_obstack): Delete unused declaration.
4539         (c_global_trees): New array.
4540         (c_common_nodes_and_builtins): New function; split off common code
4541         from init_decl_processing in both c-decl.c and cp/decl.c.
4542         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
4543         c_global_trees and accessor macros defined in c-common.h.
4544         Include c-common.h.
4545         * c-decl.c: Delete definitions for tree nodes that were replaced by
4546         c_global_trees.
4547         (init_decl_processing): Build void_list_node.
4548         Call c_common_nodes_and_builtins; delete code to generate the common
4549         builtins here.
4550         * objc/objc-act.c (build_module_descriptor): Rename variable
4551         void_list_node to avoid clash with c-common.h.
4553         * Makefile.in: Update dependencies.
4554         * objc/Make-lang.in: Likewise.
4556 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
4558         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
4559         (UNIQUE_SECTION_P): Likewise.
4560         (UNIQUE_SECTION): Likewise.
4562 1999-07-19  Linas Vepstas  <linas@linas.org>
4564         * config/i370/README: New file.
4565         * config/i370/linux.h: New file.
4566         * config/i370/mvs.h: New file.
4567         * config/i370/oe.h: New file.
4568         * config/i370/t-linux: New file.
4569         * config/i370/t-mvs: New file.
4570         * config/i370/t-oe: New file.
4571         * config/i370/x-oe: New file.
4572         * config/i370/xm-linux.h: New file.
4573         * config/i370/xm-mvs.h: New file.
4574         * config/i370/xm-oe.h: New file.
4576         * i370.c (label_node_t): Add first_ref_page, label_addr,
4577         label_first_ref, label_last_ref members.
4578         (mvs_need_base_reload): Renamed from mvs_label_emitted.
4579         (MAX_MVS_LABEL_SIZE): Define.
4580         (MAX_LONG_LABEL_SIZE): Define.
4581         (alias_node_t, alias_anchor, alias_number): New.
4582         (mvs_function_table): Reorder for EBCDIC.
4583         (ascebc, ebcasc): Unconditionally define.
4584         (i370_branch_dest, i370_branch_length): New functions.
4585         (i370_short_branch, i370_label_scan): New functions.
4586         (mvs_get_label): Renamed from mvs_add_label.  Search for
4587         an existing label before creating a new one.
4588         (mvs_add_label): New function.
4589         (mvs_get_label_page): New function.
4590         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
4591         over the entire list.
4592         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
4593         (mvs_check_page) [TARGET_ELF_ABI]: New function.
4594         (mvs_add_alias, mvs_need_alias): New functions.
4595         (mvs_get_alias, mvs_check_alias): New functions.
4596         (handle_pragma): New function.
4597         (mvs_function_check): New function.
4598         (unsigned_jump_follows_p): Search harder.
4599         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
4600         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
4601         * i370.h (TARGET_VERSION): Delete.
4602         (CPP_SPEC, CPP_PREDEFINES): Delete.
4603         (mvs_label_emitted): Delete.
4604         (TARGET_EBCDIC): Delete.
4605         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
4606         (HANDLE_PRAGMA): Define.
4607         (HARD_REGNO_NREGS): Handle complex modes.
4608         (HARD_REGNO_MODE_OK): Likewise.
4609         (CLASS_MAX_NREGS): Likewise.
4610         (RET_REG): Likewise.
4611         (EXTRA_CONSTRAINT): Define.
4612         (RETURN_IN_MEMORY): True for DImode.
4613         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
4614         (FUNCTION_PROFILER): Delete.
4615         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
4616         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
4617         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
4618         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
4619         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
4620         (ASM_FILE_START): Add "RMODE ANY".
4621         (ASM_OUTPUT_EXTERNAL): Check for aliases.
4622         (ASM_GLOBALIZE_LABEL): Likewise.
4623         (ASM_OUTPUT_LABELREF): Likewise.
4624         (ASM_OUTPUT_COMMON): Likewise.
4625         (PRINT_OPERAND): Handle 'K', 'W', default.
4626         (PRINT_OPERAND_ADDRESS): New.
4627         (Lots of defines): Add support for TARGET_ELF_ABI.
4628         * i370.md (attr length): New.  Define for all patterns.
4629         (*): Lots of tweeks to assembly output and constraints.
4631 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
4633         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
4634         Disable patterns performing SImode comparisons with SImode values
4635         if TARGET_POWERPC64 and instruction does not sign-extend or does
4636         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
4637         differ for signed quantities.
4638         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
4639         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
4640         (decrement_and_branch_on_count): Add 64-bit variant.
4642 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4644         * final.c (output_asm_insn): When searching for the matching string
4645         for a given dialect, don't run past the end of the list of
4646         alternatives if there are fewer alternatives in the template than
4647         dialects.
4649 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
4651         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
4652         Removed paragraph about compression of files and size limitation,
4653         duplicated in the FAQ.  Use gcc-patches for posting patches.
4654         * gcc.c (main): Updated URL with bug reporting instructions to
4655         gcc.gnu.org.  Removed e-mail address.
4656         * system.h (abort): Likewise.
4658 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4660         * Makefile.in (stmp-multilib-sub): Make the files extracted
4661         from $(LIBGCC1) writable.
4663 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
4665         * config/arm/aout.h: Reformat for improved readability.
4667         * config/arm/arm.h: Reformat for improved readability.
4668         Replace uses of fprintf with asm_fprintf where appropriate.
4669         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
4670         function declaration assembler actions.
4671         (NUM_INTS): New macro: Convert from bytes to words.
4672         (NUM_REGS): New macro: Compute number of registers required to
4673         hold a quanitity of tyep MODE.
4674         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
4675         types.
4676         (NUM_ARG_REGS): New macro: The number of argument registers
4677         available.
4678         (ARG_REGISTER): New macro: Compute the register number of the Nth
4679         argument register.
4680         (LAST_ARG_REGNUM): New macro: The number of the last argument
4681         register.
4682         (SP_REGNUM): New macro: Register number of the stack pointer.
4683         (FP_REGNUM): New macro: Register number of the frame pointer.
4684         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
4685         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
4686         CUMULATIVE_ARGS so that it counts registers not bytes.
4688         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
4689         TARGET_INTERWORK.
4690         Replace uses of fprintf with asm_fprintf where appropriate.
4691         (output_ascii_pseudo_op): Replace with version from thumb.c
4693         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
4695         * config/arm/elf.h (CPP_PREDEFINES): Replace with
4696         SUBTARGET_CPP_SPEC.
4697         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
4698         (ASM_FILE_START): Emit ASM_APP_OFF.
4700 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
4702         * pa.c (compute_frame_size): Round frame according to
4703         STACK_BOUNDARY rather than a hardwired value.
4705         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
4707         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
4708         of "1".
4709         * configure: Rebuilt.
4711         * configure.in (hppa*-*-linux*): New configuration.
4712         * configure: Rebuilt.
4713         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
4714         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
4715         * pa/pa-linux.h: New file.
4716         * pa/t-linux: New file.
4717         * pa/xm-linux.h: New file.
4719         * pa.c (hppa_legitimize_address): Change references from SImode to
4720         either Pmode or word_mode as appropriate.
4721         (emit_move_sequence, store_reg, load_reg): Likewise.
4722         (set_reg_plus_d, hppa_expand_prologue): Likewise.
4723         (output_mul_insn): Likewise.
4724         * pa.h (PROMOTE_MODE): Likewise.
4725         (INITIALZE_TRAMPOLINE): Likewise.
4726         (Pmode): Define to word_mode.
4728         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
4729         value of 4.  Allocate 8 bytes for each FP register save.
4730         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
4731         value of 4.
4732         (hppa_expand_prologue): Likewise.
4733         * pa.h (PROMOTE_MODE): Likewise.
4734         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
4735         (FUNCTION_ARG_BOUNDARY): Likewise.
4737         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
4739         * pa.c (out_of_line_prologue_epilogue): Delete.
4740         (override_options): Remove -mspace related code.
4741         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
4742         (compute_frame_size): Only allocate space for register that
4743         actually need to be saved.
4744         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
4745         (TARGET_SWITCHES): Remove -mspace, -mno-space
4746         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
4747         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
4748         * pa/ee.asm, pa/ee_fp.asm: Delete.
4750         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
4752         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
4753         directive in column zero.
4755 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
4757         * m68k.c (output_function_prologue): Fix computation of save mask
4758         when generating PIC code.
4760 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
4762         * tree.c (build_type_attribute_variant): Move current_obstack restore
4763         after build_qualified_type call.
4765 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
4767         * configure.in: Use t-iris6, even with GNU LD.
4768         * config/mips/iris6gld.h: Fix typo in linker spec.
4769         * config/mips/t-iris6gld: Remove.
4771 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
4773         * rs6000.md (insv, extzv): Remove SImode dependence in named
4774         patterns.  Explicitly generate DImode RTL if PowerPC64 and
4775         operand is DImode.
4776         (insvdi): Reverse start and size in instruction template.
4778 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
4780         * invoke.texi: Typo fixes.
4782 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
4784         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
4785         handle at this time instead of silently generating incorrect code.
4786         (gen_imagpart): Likewise.
4788         * reload.c (find_reloads): Emit a USE for a pseudo register without
4789         a hard register if we could not create an optional reload for the
4790         pseudo.
4792 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4794         * c-typeck.c (output_init_element, process_init_element):
4795         When advancing constructor_unfilled_fields for a RECORD_TYPE,
4796         check for nameless bit fields.
4798 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
4800         * regclass.c (scan_one_insn): Notice subregs that change the
4801         size of their operand.
4802         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
4804 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
4806         * configure.in (alpha*-*-*): Include alpha/t-ieee.
4807         * configure: Rebuilt.
4808         * alpha/t-ieee: New file.
4810 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
4812         * rs6000.c (find_addr_reg): Do not select r0 as an address
4813         register.
4815 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
4817         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
4819 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
4821         * rs6000.md (movsf): Do not force easy FP constants into memory.
4823         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
4824         immed_double_const to ensure they are properly truncated then
4825         sign extended.
4827 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
4829         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
4830         always unless NO_DEBUG is used.  Compile this code
4831         unconditionally.
4832         (replace_symbols_in_block): Compile it unconditionally.
4834 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
4836         * configure.in (i?86-*-elf*): New target.
4837         * configure: Rebuilt.
4838         * i386/i386elf.h, i386/t-i386elf: New files.
4840 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
4842         * toplev.c (main): Don't complain about saying -gdwarf.
4843         (rest_of_compilation): Remove redundant code.
4845 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
4847         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
4849 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
4851         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
4852         "Li960R:", to avoid name clash.
4854 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4856         * loop.c (check_dbra_loop): When reversing a loop, delete all
4857         REG_EQUAL notes referencing the reversed biv except those which are
4858         for a giv based on it.
4860 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
4862         * version.c: Drop "gcc-" prefix from version #.
4864 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
4866         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
4867         the label if we're being verbose.
4869 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
4871         * m68k.c (output_function_prologue): Add pic register to mask
4872         if live and flag_pic.
4873         (output_function_epilogue): Likewise.
4875 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
4877         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
4878         directives in column zero.
4880         * pa/elf.h (ASM_FILE_START): Define.
4881         * pa/som.h (ASM_FILE_START): Include .level directives.
4882         * pa/hpux10.h (ASM_FILE_START): Delete.
4883         * pa/hpux11.h (ASM_FILE_START): Delete.
4885         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
4887 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4889         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
4890         when reload_out equals reload_in.
4892 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
4894         * invoke.texi (Spec Files): New node: Describe the contents of
4895         spec files.
4897 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
4899         * invoke.texi (DEC Alpha Options): Put @end table at
4900         beginning of line, to avoid confusing texi2html.
4902 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
4904         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
4905         introduced in previous delta.
4907 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4909         * reload1.c (gen_reload): When synthesizing a 3 operand add
4910         sequence, improve test for when to reload OP1 into the reload
4911         register instead of OP0.
4913 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
4915         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
4917 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
4919         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
4920         string literal.
4922 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
4924         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
4925         (va_dcl): Use __builtin_va_alist_t.
4927 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
4929         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
4930         on the permanent_obstack.
4931         * dwarfout.c (output_type): Likewise.
4933 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
4935         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
4936         Merged from c-typeck.c and cp/typeck.c.
4937         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
4938         Merged into c-common.
4940 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
4942         * c-lex.c (errorcount): Declare it.
4943         (finish_parse): Update errorcount when using CPPLIB.
4945 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
4947         * fixinc/inclhack.def(end_else_label): Double the backslash so
4948         sed gets a chance to see it.
4949         * fixinc/inclhack.sh: regen
4950         * fixinc/fixincl.x: regen
4952 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
4954         Add framework to support armv5 architecture when it becomes
4955         available:
4957         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
4958         (arm_arch5): New variable.
4959         (all_architectures): Add armv5 line.
4960         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
4961         -march=armv5 is specified on the command line.
4962         (arm_arch5): Export this variable.
4963         * invoke.texi: Document new string accepted by -march= switch for
4964         ARM ports.
4966         * config/arm/arm.h: Replace use of constant 12 as a register
4967         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
4968         * config/arm/arm.c: Replace use of constant 12 as a register
4969         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
4971         * config/arm/elf.h: Tidy up.
4972         * config/arm/coff.h: Tidy up.
4974 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
4976         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
4977         * gcc/config/mips/t-iris6gld: New file.
4978         * gcc/config/mips/iris6gld.h: Likewise.
4980 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
4982         * c-decl.c (widest_integer_literal_type_node,
4983         widest_unsigned_literal_type) : New.
4984         (init_decl_processing): Handle/use the two new types.
4985         * c-common.c (type_for_size,type_for_mode) : Same.
4986         * c-lex.c (yylex) : Same.
4987         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
4988         Same.
4989         * c-tree.h (widest_integer_literal_type_node,
4990         widest_unsigned_literal_type) : New.
4992 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
4994         * dwarfout.c (field_byte_offset): Correctly compute the object's
4995         byte offset for the first bit of a field which crosses an alignment
4996         boundary on a !BYTES_BIG_ENDIAN target.
4998 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
5000         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
5001         ntohs.
5003 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
5004                           Jeff Law <law@cygnus.com>
5006         * ginclude/varargs.h (va_dcl): Use word_mode for type of
5007         __builtin_va_list.
5009         * except.c: Include intl.h.
5010         (expand_eh_return): Set current_function_cannot_inline.
5011         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
5012         * function.h (struct function): Add eh_return_stub_label.
5013         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
5014         * Makefile.in (except.o): Depend on intl.h.
5016 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
5018         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
5019         same as offsettable in cases 1 and 2.
5021 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
5023         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
5024         (extlh, extwh): Likewise.
5026 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
5028         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
5030 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
5032         * configure.in: Add arm-pe and thumb-pe targets.
5033         * configure: Regenerate.
5035         * thumb.c (arm_naked_function_p): New function: Determines if
5036         a function is naked (has no gcc generated prologue/epilogue).
5037         (is_called_in_ARM_mode): Return true if the func has the
5038         interfacearm attribute.
5039         (output_return): Do not generate a return for naked functions.
5040         (thumb_function_prologue): Do not generate a prologue for
5041         naked functions.
5042         (thumb_expand_prologue): Do not generate a prologue for naked
5043         functions.
5044         (thumb_expand_epilogue): Do not generate an epilogue for naked
5045         functions.
5046         (arm_valid_machine_decl_attribute): New function, copied from
5047         arm.c:  Permit naked and interfacearm attributes.
5049         * config/arm/pe.c: New file: Support code for arm-pe target.
5050         * config/arm/pe.h: New file: Header file for arm-pe target.
5051         * config/arm/tpe.h: New file: Header file for thumb-pe target.
5052         * config/arm/t-thumb-pe: New file: Makefile fragment for
5053         thumb-pe target.
5055 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
5057         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
5058         -fPIC or -fpic is specified.
5060 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
5062         * expr.c (emit_block_move): Use copy_to_mode_reg for
5063         !TARGET_MEM_FUNCTIONS case too.
5065         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
5066         appropriate.
5067         * configure: Rebuilt.
5068         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
5069         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
5070         definitions made redundant by dbxelf.h inclusion.  Delete
5071         lots of definitions related to assembly output that are
5072         specific to the SOM object format.
5073         * pa.c (output_function_prologue): Do not emit the function's
5074         name for OBJ_ELF.
5075         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
5076         * pa-pro.h: Deleted.
5077         * som.h: New file with SOM specific definitions.
5078         * elf.h: New file with ELF specific definitions.
5080         * elfos.h (const_section): Output a tab before assembler directives.
5081         (ctors_section, dtors_section): Likewise.
5082         (ASM_OUTPUT_SECTION_NAME): Likewise.
5084         * pa/pa1.h: Delete unused file.
5086 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
5088         * configure.in (hppa*-hp-hpux11*): New configuration.
5089         * configure: Rebuilt.
5090         * pa/pa-hpux11.h: New file.
5091         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
5092         command line.
5094         * mips.md (leasi, leadi): New patterns.
5096         * expr.c (emit_block_move): Properly handle case where one of the
5097         block move arguments has a queued increment or decrement.
5098         (clear_storage): Similarly.  Fix formatting goof.
5100 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
5102         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
5103         semicolon from the BSD VA_LIST replacement expression.
5105         * fixinc/inclhack.sh: regen
5106         * fixinc/fixincl.x: regen
5108         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
5109         now use the fixincl program.
5111 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
5113         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
5114         case.  Also make the PIC register call_used.
5116         * m68k.h (FINALIZE_PIC): Delete.
5117         * m68k.c (finalize_pic): Delete.
5119 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
5121         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
5122         to memory.
5124 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
5126         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
5128 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
5130         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
5132 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
5134         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
5136 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
5138         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
5140 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
5142         * rs6000.c (output_toc): Always use hex values for floating-point
5143         constants.  Store single-precision values in upper-half of TOC
5144         entry in 64-bit mode.
5145         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
5146         to final constraints.
5147         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
5148         (fctiwz): Improve accuracy of RTL for pattern.
5150 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
5152         * expr.c (expand_expr): Allow RTL_EXPR's through the
5153         MAX_INTEGER_COMPUTATION_MODE checks.
5155 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
5157         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
5158         such that MASK_SUPPORT_ARCH is not negative.
5160 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
5162         * loop.c (verify_dominator): Properly handle ADDR_VEC and
5163         ADDR_DIFF_VEC insns that appear inside loops.
5165 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
5166                           Jeff Law <law@cygnus.com>
5168         * rs6000.md (movdf_hardfloat32): Revert previous patch.
5169         Handle LO_SUM the same as offsettable in cases 1 and 2.
5170         * rs6000.c (find_addr_reg): Revert previous patch.
5172 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
5174         * system.h (strstr): New external function declaration.
5175         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
5176         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
5177         * config.in, configure: Rebuilt.
5179 1999-06-24  Tom Tromey  <tromey@cygnus.com>
5181         * gcc.c (main): Read user-specified specs files after computing
5182         additional startfile_prefixes.
5184 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
5186         Revert these two patches:
5188         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5189         * loop.c (strength_reduce): When doing biv->giv conversion, update
5190         reg note of NEXT->insn.
5192         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5193         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
5194         reg_biv_class.
5195         (recombine_givs): Set ix field after sorting.
5197 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5199         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
5200         for the parts of an UNSPEC / UNSPEC_VOLATILE.
5202 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
5204         *fixinc/inclhack.def:  Add fix development commentary
5205         (read_ret_type): reactivate and add selection clause
5206         (zzz_*): tweak output file name to match what is used in hackshell.tpl
5207         *fixinc/{fixincl.x|inclhack.sh}: regen
5209 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
5211         * expr.c (expand_expr): STRIP_NOPS before checking against
5212         MAX_INTEGER_COMPUTATION_MODE
5213         (check_max_integer_computation_mode): Likewise.
5215 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
5217         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
5219 1999-06-22  Jim Wilson  <wilson@cygnus.com>
5221         * expr.c (store_expr): When target is a promoted subreg, return a
5222         promoted subreg as a result.
5224 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
5226         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
5227         coding standards.
5228         (dwarf2out_define): Mark unused parameters appropriately.
5229         (gen_unspecified_parameters_die): Ditto.
5230         (gen_subprogram_die): Fix signed/unsigned warnings.
5231         (gen_variable_die): Ditto.
5233 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
5235         * fixinc/inclhack.def(end_else_label): combined else_label
5236         and endif_label and fixed the sed expression.
5237         *fixinc/{fixincl.x|inclhack.sh}: regen
5239 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
5241         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
5242         'x' when handling non-offsettable addresses
5244 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
5246         * final.c (shorten_branches): Don't try to split an insn that has
5247         been deleted.
5249 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
5251         * config/mips/mips.c (symbolic_expression_p): New function.
5252         (mips_select_rtx_section): Put symbolic expressions in the
5253         data section, not the read-only data section.
5255 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
5257         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
5259 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
5261         * collect2.c (main): Log frame table count.
5262         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
5263         (scan_prog_file) [COFF]: Handle frame tables.
5265         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
5266         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
5267         * alpha/elf.h: Undef them again.
5268         * alpha/vms.h: Remove their definitions.
5270 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5272         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
5273         remove the clobber of r0 and change the REG_UNUSED note to
5274         REG_INC.
5276 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
5278         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
5279         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
5280         fits in HOST_WIDE_INT and one uses union to access a long constant
5281         as double.
5283 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
5285         * sparc.c (sparc_override_options): Don't allow profiling for
5286         code models other than medlow.
5287         (sparc_function_profiler): New function from old FUNCTION_PROFILER
5288         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
5289         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
5290         (sparc_block_profiler): Likewise.
5291         (sparc_function_block_profiler_exit): Likewise.
5292         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
5293         (FUNCTION_BLOCK_PROFILER): Likewise.
5294         (BLOCK_PROFILER): Likewise.
5295         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
5296         (MCOUNT_FUNCTION): New.
5297         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
5298         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
5299         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
5300         (MCOUNT_FUNCTION): New.
5301         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
5302         (BLOCK_PROFILER): Delete.
5303         (MCOUNT_FUNCTION): New.
5305 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
5307         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
5309 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
5311         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
5312         Add the macros.
5314         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
5315         Ditto.
5317         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
5318         Ditto.
5320         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
5321         Ditto.
5323 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
5325         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
5326         types.
5328 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
5330         * i386/djgpp.h (LIB_SPEC): New.
5331         (STARTFILE_SPEC): New.
5333         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
5335 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
5337         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
5338         compiler flags.
5340         * system.h (WSTOPSIG): New macro.
5342 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
5344         * c-pragma.c (push_alignment): Don't ignore alignments greater than
5345         4 bytes.
5346         (insert_pack_attributes): Take into account member natural
5347         alignment.
5349         * i386/winnt.c (exports_head): New static variable.
5350         (i386_pe_record_exported_symbol): New function.
5351         (i386_pe_asm_file_end): Use.
5352         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
5353         symbols to be emitted at end of assembly.
5354         (ASM_DECLARE_OBJECT_NAME): Likewise.
5355         (ASM_DECLARE_FUNCTION_NAME): Likewise.
5357         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
5358         -iwithprefix.
5360 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
5362         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
5363         in last change.
5365 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
5367         * haifa-sched.c (sched_analyze_1): Use free_list instead of
5368         zapping reg_last_uses directly.
5369         (sched_analyze_2, sched_analyze_insn): Likewise.
5370         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
5372 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
5374         * rs6000.md (movdf_hardfloat32): Use worst case insn length
5375         attributes for cases 1 and 2.
5377 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
5379         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
5380         instead of set.
5382 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
5384         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
5386 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
5388         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
5389         PIC_OFFSET_TABLE_REGNUM for general alloaction.
5390         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
5391         must be stacked if it is used for PIC accesses.
5392         * arm.c (use_return_insn): Handle PIC register specially.
5393         (output_return_instruction): Likewise.
5394         (output_func_{prologue,epilogue}): Likewise.
5395         (output_expand_prologue): Likewise.
5397         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
5398         (*strsi_predec): Renamed from *strqi_predec.
5399         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
5400         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
5402         * arm.c (arm_override_options): Remove warning about PIC code
5403         not being supported.
5405 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
5407         * rs6000.c (find_addr_reg): New function.
5408         * rs6000.h (find_addr_reg): Declare.
5409         (offsettable_addr_operand): Delete.
5410         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
5411         from and stores to GPRs.
5413 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
5415         * alpha.c (alpha_expand_block_move): Use get_insns rather than
5416         gen_sequence as argument to emit_no_conflict_block.
5418 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
5420         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
5421         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
5422         *fixinc/fixincl.x: regen
5423         *fixinc/inclhack.sh: regen
5425 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
5427         * added support for -mpcrel (PC relative addressing for m68k)
5428         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
5429         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
5430         * m68k.c (print_operand_address): Handle 32-bit PIC case.
5431         (comments for general_src_operand): Add some explanation
5432         about EXTRA_CONSTRAINTS.
5433         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
5434         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
5435         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
5436         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
5437         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
5438         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
5439         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
5440         if not already set.
5441         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
5442         * m68k.h (TARGET_PCREL): New target flag.
5443         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
5444         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
5445         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
5446         contains a SYMBOL_REF.  Relax this constraint during reload, since
5447         we want to use the predicates, not reload's built-in concept of a
5448         valid memory address, to control what insns need reloading.
5449         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
5450         operands (essentially 'g', 'm', and 's' under normal circumstances).
5451         * m68k.c (print_operand): Cause printing of pc-relative addresses
5452         to include pc register.
5453         (print_operand_address): Ditto.
5454         (general_src_operand): Accept operands that are not only
5455         general_operands, but are also valid when used as a pc-relative
5456         source.
5457         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
5458         (memory_src_operand): Similar, for memory_operands.
5459         (pcrel_address): New predicate to accept the special case of a
5460         pc-relative address.
5461         * m68k.md (many patterns): Rewrite common SImode, HImode, and
5462         QImode insns to accept *_src_operand instead of *_operand where
5463         pc-relative operands can fit.  For example, a pc-relative operand
5464         can be used as a memory source operand for addsi3, but not as a
5465         memory destination.
5466         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
5468 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
5470         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
5471         .thumb_set pseudo op to mark aliases of thumb functions.
5473 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
5475         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
5476         preference to ASM_OUTPUT_DEF, if it is defined.
5478         * tm.texi: Document new, optional target macro
5479         ASM_OUTPUT_DEF_FROM_DECLS.
5481 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
5483         * fixincludes: ISCNTL patch
5484         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
5485         (dgux_int_varargs): new for DG/UX
5486         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
5488 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
5490         * invoke.texi (ia32 options): Fix typo.
5492 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5494         * loop.c (strength_reduce): When doing biv->giv conversion, update
5495         reg note of NEXT->insn.
5497 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
5499         * loop.c (move_movables): Note issues with replacing REGs with
5500         SUBREGs.
5501         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
5503 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
5505         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
5507         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
5508         the reference to `mcount' was not correct for the ELF on FreeBSD.
5510 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5512         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
5513         reg_biv_class.
5515         (recombine_givs): Set ix field after sorting.
5517 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
5519         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
5520         to safe to extract a subword out of a REG.
5522 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5524         * sh.md (mulsi3): Don't add a no-op move at the end.
5526 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5528         * cse.c (cse_insn): Don't put hard register source into tables for
5529         the last insn of a libcall.
5531 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5533         * loop.c (strength_reduce): Insert sets of derived givs at every
5534         biv increment, even if it's the only one.
5536 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
5538         * dwarfout.c (add_incomplete_type): New fn.
5539         (output_type): Call it.
5540         (retry_incomplete_types): New fn.
5541         (dwarfout_finish): Call it.
5543         From Eric Raskin <ehr@listworks.com>:
5544         (output_type): Output types for bases.
5546 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
5548         * mips.c (mips_output_conditional_branch): Add `break'
5549         between `default' label and `close braces'.
5551 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
5553         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
5554         specifications and make it realistic.
5555         (LIB_SPEC): Likewise.
5557 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
5559         * config/mips/mips.c (mips_secondary_reload_class): Check for
5560         (PLUS (SP) (REG)) and return appropriate register class.
5561         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
5562         Handle (PLUS (SP) (REG)).
5563         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
5564         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
5565         of emit_insn for tablejump.
5567 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
5569         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
5570         asm_fprintf format string by itself.
5571         (output_function_profiler): Likewise.
5573 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
5575         * combine.c (simplify_logical, case AND): Only call
5576         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
5577         or the constant is positive.
5579 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
5581         * configure.in: Fix typo in rs6000-ibm-aix4 case.
5582         * configure: Regenerate.
5584 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
5586         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
5587         require a sub-version #.
5588         * configure: Rebuilt.
5590 1999-06-14  Robert Lipe  (robertlipe@usa.net)
5592         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
5594 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
5596         * c-typeck.c (process_init_element): Detect excess elements in
5597         char array initializer.
5599 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5601         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
5603 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
5605         * invoke.texi (Option Summary): Add -fpermissive flag.
5607 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
5609         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
5610         that require PIC code sequences.
5612 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
5614         * configure.in: Add new target: thumb-elf.
5615         * configure: Regenerate.
5616         * config/arm/t-thumb-elf: New file: Makefile fragment for
5617         thumb-elf build.
5618         * config/arm/telf.h: New file: Header file for thumb-elf
5619         build.
5621 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
5623         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
5624         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
5625         initializers is some circumstances.
5627         * fixinc/inclhack.def (endif_label): Add additional selector for
5628         more bogus stuff after #endif statements.
5629         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
5631 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
5633         * i386/cygwin.h (SET_ASM_OP): Define.
5635 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
5637         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
5639 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5641         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
5642         latter.
5644         * sh.md (ic_invalidate_line_i): Remove second alternative.
5646 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
5648         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
5649         test for the presence of valid prototypes.  Delete bypass expr.
5650         (ioctl_fix_ctrl): Correct the selection expression.
5651         (no_double_slash): Correct quoting rules
5652         *fixinc/fixincl.x: regen
5653         *fixinc/inclhack.sh: regen
5655 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
5657         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
5659 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5661         * rs6000.md (movsi_got_internal_mem): Delete.
5662         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
5663         (GOT_TOC_REGNUM): Delete.
5664         (PIC_OFFSET_TABLE_REGNUM): Define.
5665         (FINALIZE_PIC): Disable.
5666         * rs6000.c (rs6000_got_register): New code for fixed pic register.
5667         (rs6000_replace_regno): Delete.
5668         (rs6000_finalize_pic): Likewise.
5669         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
5671 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5673         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
5674         is a note; use <= for the compare; advance P while it is
5675         a NOTE.
5677 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
5679         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
5680         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
5682         * varasm.c (remove_from_pending_weak_list): Verify t->name
5683         is non-NULL before passing it to strcmp.
5685 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
5687         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
5688         the typed arguments are not part of a comment
5689         (ioctl_fix_ctrl): Added a purpose comment
5690         *fixinc/fixincl.x: regenerate
5691         *fixinc/inclhack.sh: regenerate
5693 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5695         * invoke.texi: Add C4x invocation docs.
5697 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5699         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
5700         Define new macros.
5701         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
5702         TARGET_EXPOSE_LDP.
5703         (c4x_legitimize_reload_address): New function.
5704         * config/c4x/c4x.md: Update docs.
5706 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
5708         * fixincludes: Avoid removing '.'.
5709         * fixinc/fixinc.svr4: Likewise.
5710         * fixinc/fixinc.winnt: Likewise.
5711         * fixinc/inclhack.tpl: Likewise.
5712         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
5714 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5716         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
5717         pattern.
5718         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
5720 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
5722         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
5723         correctly.
5725 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
5727         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
5728         * configure: Regenerate.
5730 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
5732         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
5733         values.
5735 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
5737         * fixinc/inclhack.def (avoid_bool): Also catch
5738         "typedef [unsigned] int bool".
5739         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
5741         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
5742         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
5743         * configure: Rebuilt.
5745 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
5747         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
5748         such that we can override its definitions if necessary.
5749         (CPP_SPEC): New define.  Support processor specific predefines via
5750         %(cpp_cpu).
5751         (CC1_SPEC): New define.  Support processor specific compiler
5752         options via %(cc1_cpu).
5753         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
5754         -static.
5756 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5758         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
5759         between sed's -e flag, and the open-quote following it.
5760         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
5762 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
5763                           Jeffrey A Law  (law@cygnus.com)
5765         * varasm.c (assemble_start_function): Remove the function
5766         from the pending weak decls list when we define a function.
5767         (assemble_variable): Similarly for variables.
5768         (weak_finish): Ignore items on the list with a NULL name.
5769         (remove_from_ending_weak_list); New function to "remove" an item
5770         from the pending weak declarations list.
5772 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
5774         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
5776 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
5778         * c-lex.c (GETC): Redefine to call getch.
5779         (UNGETC): Redefine to call put_back.
5780         (putback_buffer): New structure type.
5781         (putback): New static structure.
5782         (getch): New function.
5783         (put_back): New function.
5784         (yylex): Replace unused bytes from bad multibyte character.
5786 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
5788         * cpplib.c (do_define): Cast `alloca' return value.
5789         (do_include, do_undef, do_pragma): Likewise.
5790         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
5791         values.
5792         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
5793         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
5795 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
5797         * sparc.md (abstf2): This should be an expand.
5798         (split after abstf2_notv9): Fix mode.
5799         (abstf2_hq_v9): New pattern.
5800         (abstf2_v9): Only use when no hard quad.
5801         (absdf2_v9): Fix if target is not the same as source.
5802         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
5803         Add correct output constraints.
5805 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
5807         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
5808         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
5810 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
5812         * mips.h (mips_output_conditional_branch): New function.
5813         (mips_adjust_insn_length): Likewise.
5814         (ASSEMBLER_SCRATCH_REGNUM): New macro.
5815         (ADJUST_INSN_LENGTH): Likewise.
5816         * mips.c (print_operand): Add `F' and `W' for floating-point
5817         comparison opcodes.
5818         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
5819         are now in bytes.
5820         (mips_adjust_insn_length): New function.
5821         (mips_output_conditional_branch): New function.
5822         * mips.md (length): Adjust attribute definition to handle
5823         conditional branches.   Change lengths to bytes, rather than
5824         instructions throughout.  Remove length attribute from
5825         instructions whose length is four bytes, and rely on the default
5826         instead.
5827         (dslot): Fix typo in comment.
5828         Reword conditional branch patterns to use
5829         mips_output_conditional_branch.
5831 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5833         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
5834         (LIB_SPEC): Likewise.
5835         Link with -lprof1_r for -g/-pg.
5837 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5839         * loop.c (check_dbra_loop): Fix change of Jan 19.
5841 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
5843         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
5844         (STARTFILE_SPEC):  Define, override the svr4.h version.
5845         (ENDFILE_SPEC):  Likewise.
5847 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
5849         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
5850         * fixinc/fixincl.x: Regenerated.
5851         * fixinc/inclhack.sh: Regenerated.
5853 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5855         * sh.c (barrier_align): Don't return early for normal branch/barrier
5856         when optimizing for SH2.
5858 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
5860         * i386/udk.h (LINK_SPEC): Correct linker search path for
5861         system libraries.
5863 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5865         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
5866         (braf_label_ref_operand): Delete.
5867         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
5868         * sh.md (casesi_jump_2): Operand1 is now the inside of a
5869         label_ref, and has no predicate.
5870         The patten has a predicate to guard against invalid substitutions.
5871         (dummy_jump): Delete.
5872         (casesi): Update use of casesi_jump_2.
5874 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
5876         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
5877         *fixinc/fixincl.x: regenerate
5878         *fixinc/inclhack.sh: regenerate
5880 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
5882         * dwarf2out.c (add_incomplete_type): New fn.
5883         (gen_struct_or_union_type_die): Call it.
5884         (retry_incomplete_types): New fn.
5885         (dwarf2out_finish): Call it.
5887 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
5889         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
5890         current block starts with a CODE_LABEL and ends with a CALL and
5891         we can not find all the argument setup instructions for the CALL.
5893 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
5895         Revert this change:
5896         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
5897         something is a candidate for optimize_bit_field_compare.
5899 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5901         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
5903 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
5905         * alpha.c (override_options): Thinko in last patch.
5907         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
5908         (LIB_SPEC): Recognize -pthread.
5910 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
5912         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
5913         definition in config/arm/coff.h
5914         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
5916 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
5918         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
5919         fixes that need "file=xxx\n" prepended before invocation
5920         (start_fixer - new): starting the fixer process is complex enough
5921         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
5922         (process): uses the new routine; omit usage of putenv()
5923         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
5924         * fixinc/fixincl.x: regenerate
5926 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
5928         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
5929         and version #s (1.1 -> 2.96) as needed.
5930         * README.g77: Kill way out of date file in the toplevel directory.
5932 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
5934         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
5935         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
5936         * configure: Rebuilt.
5937         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
5938         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
5939         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
5940         (SWITCH_TAKES_ARG): Likewise.
5941         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
5942         * config/t-freebsd: Moved from config/i386/ so it can used for all
5943         FreeBSD targets.
5945 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
5947         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
5949 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
5951         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
5952         * configure: Rebuilt.
5954 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
5956         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
5957         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
5958         * rs6000/rs6000.c (rs6000_file_start): Use putc.
5959         (rs6000_output_load_toc_table): Same.
5960         (output_prolog, output_mi_thunk): Same.
5961         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
5962         (ASM_GLOBALIZE_LABEL): Use putc.
5964 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
5966         * alpha.md (reload_*_help): New patterns and splitters.
5967         (reload_*): Use them.
5968         (mov[qh]i): Likewise.
5970 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
5972         * cccp.c (handle_directive): Handle backslash-newlines in quoted
5973         strings correctly.
5975 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
5977         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
5979 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
5981         * flow.c (mark_regs_live_at_end, insn_dead_p,
5982         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
5983         and HARD_FRAME_POINTER_REGNUM special treatment if reload
5984         hasn't run or the frame pointer is needed.
5985         * haifa-sched.c (attach_deaths): Likewise.
5986         * sched.c (attach_deaths): Likewise.
5988 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
5990         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
5991         calculate_can_reach_end returns nonzero.
5993         * configure.in (native gas tests): Search for an assembler in the
5994         same manner that the installed compiler will.
5995         * configure: Rebuilt.
5996         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
5998         * alias.c (find_base_term): Improve handling of addresses
5999         constructed from binary operations.
6001 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
6003         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
6005 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
6007         * function.h (cleanup_label, frame_offset): Declare.
6008         (tail_recursion_label, tail_recursion_reentry): Likewise.
6009         (arg_pointer_save_area, rtl_expr_chain): Likewise.
6010         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
6011         (tail_recursion_label, tail_recursion_reentry): Likewise.
6012         (arg_pointer_save_area, rtl_expr_chain): Likewise.
6014 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
6016         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
6017         defined.
6018         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
6019         (MAX_OFILE_ALIGNMENT): Define.
6021 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
6023         * fixincl.c: Replace local include scheme with #includes of
6024         gansidecl.h and system.h.
6025         * procopen.c:  Likewise.
6026         * server.c:  Likewise.
6028 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
6030         * i386/t-dgux (EXTRA_PARTS): Add crti.o
6031         (crti.o): Add build rule and dependencies.
6032         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
6034 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6036         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
6037         (LIB_LINUX_SPEC): Likewise.
6038         (LIB_LINUX_SPEC): Add support for -pthread
6039         (CPP_OS_LINUX_SPEC): Likewise.
6040         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
6041         specified.
6043 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
6045         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
6046         conditional move.
6047         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
6048         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
6049         for IEEE math and CC_FCOMI.
6050         (put_jump_code): No IEEE if CC_FCOMI is set.
6052 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6054         * fold-const.c (fold_truthop): Make the field reference unsigned
6055         when converting a single bit compare.
6057 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
6059         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
6061 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
6063         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
6064         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
6065         version did.
6067         * reload.c (push_reload): Do not call remove_address_replacements
6068         when presented with identical optional reloads.
6070 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
6072         * alpha.h (MASK_FIX, TARGET_FIX): New.
6073         (MASK_*): Reorganize constants.
6074         (CPP_AM_FIX_SPEC): New.
6075         (TARGET_SWITCHES): Add FIX.
6076         (EXTRA_SPECS): Likewise.
6077         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
6078         (SECONDARY_MEMORY_NEEDED): Likewise.
6079         (REGISTER_MOVE_COST): Likewise.
6080         * alpha.c (override_options): Add FIX support.  Always use
6081         ALPHA_TP_PROG for ev6.
6082         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
6083         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
6084         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
6086 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
6088         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
6089         something is a candidate for optimize_bit_field_compare.
6091 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
6093         * gcc.texi (Passes): Document branch-shortening.
6094         * invoke.texi (Debugging Options): Document the fact that `-dp'
6095         outputs length information for instructions.
6097 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
6099         * flow.c: Revert previous delta.
6101 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
6103         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
6104         FRAME_POINTER_REGNUM.
6105         (mark_set_1): Ditto.
6106         (mark_used_regs): Ditto.
6108 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
6110         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
6111         (GOT_PCREL): New macro.  Define to 1 if not already defined.
6112         * arm/elf.h (GOT_PCREL): Define to 0.
6113         * arm.c (arm_finalize_pic): Take into account the setting of
6114         GOT_PCREL.
6116 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
6118         * output.h (STRIP_NAME_ENCODING): Provide default definition.
6119         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
6121         * flow.c (mark_set_1): Do not record BLKmode stores as dead
6122         store elimination candidates.
6124 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
6126         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
6127         TARGET_GAS.
6129 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
6131         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
6132         Add use of x-aix41-gld.
6134 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
6136         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
6137         (ASM_OUTPUT_DESTRUCTOR): Define.
6139 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
6141         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
6142         last CODE_LABEL in a loop if we have previously passed a jump
6143         to the top of the loop.
6145 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
6147         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
6148         applying Philip's patch.
6150 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
6152         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
6153         are not VAR_DECLs.
6155 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
6157         * loop.c (strength_reduce): Grow reg_single_usage as needed.
6159 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
6161         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
6162         Also remove a useless comment.
6164 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
6166         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
6168 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
6170         * collect2.c (main): Only generate import or export file and add
6171         to link arguments if non-empty.  Use xmalloc not alloca.
6172         (write_{export,import}_file): Delete.
6173         (write_aix_file): New function.
6174         (locatelib): Use xmalloc not malloc.
6175         (GCC_OK_SYMBOL): Do not check type if aix64.
6177 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
6179         Based on patch by Scott Bambrough and Pat Beirne:
6180         * config/arm/arm.c (making_const_table): New variable.
6181         * config/arm/arm.h (making_const_table): Declare.
6182         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
6183         appropriate.
6184         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
6185         Keep track of when we are building the constant table.
6187 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
6189         * config/arm/arm.c (arm_override_options): Fix erroneous warning
6190         message.
6192 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
6194         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
6195         defined.
6197 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
6199         * tm.texi (FUNCTION_ARG): Correct description of a stack element
6200         in a PARALLEL.
6202 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
6204         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
6206 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6208         * rs6000.c (output_mi_thunk): Enable full support again.
6210 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
6212         * sh.h (BRANCH_COST): Define.
6214 Thu May 20 10:00:42 1999   Stephen L Moshier  <moshier@world.std.com>
6216         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
6218 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
6220         * function.c (assign_stack_local): Align stack slot propertly.
6221         (assign_outer_stack_local): Likewise.
6223 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
6225         * expr.h (lang_expand_constant): Declare.
6226         * toplev.c (lang_expand_constant): Define it.
6227         * varasm.c (output_constant): Use it.
6229 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6231         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
6232         Change function definitions to K&R style.
6234 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
6236         * fixinc/fixincl.c: We must not ignore SIGCLD now.
6238 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
6240         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
6241         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
6242         (several places): omit static initialization
6243         (process): use single fd, since only the read fd is used
6244         * fixinc/gnu-regex.c: define 'const' away, if not supported
6245         * fixinc/procopen.c(several places): omit static initialization
6246         * fixinc/server.c: define 'volitile' away, if not supported
6248 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6250         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
6251         asm_fprintf and %L to generate the label name.
6252         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
6253         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
6255 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
6257         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
6258         insn for a conditional jump can not be found.
6260 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
6262         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
6263         on variables in specific sections other than .sbss and .sdata.
6265 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
6267         * stmt.c (expand_return): Call start_cleanup_deferral and
6268         end_cleanup_deferral around conditional code.
6270 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
6272         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
6273         filename lists.  Utilizes new "krstr" AutoGen function.
6274         * fixinc/fixincl.x: Rebuilt.
6276 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
6278         * i386.c (output_float_compare): Avoid GNU-C extensions.
6280 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
6282         * version.c: Bump to distinguish mainline tree from the
6283         gcc-2.95 branch.
6285 See ChangeLog.1 for earlier changes.
6287 Local Variables:
6288 add-log-time-format: current-time-string
6289 End: