* ggc.h (ggc_alloc): New function.
[official-gcc.git] / gcc / ChangeLog
blobbdd4753b1a8103bb5b71753436ff1f498cd146f6
1 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
3         * ggc.h (ggc_alloc): New function.
4         (ggc_mark): Likewise.
5         * ggc-simple.c (ggc_any): New structure.
6         (ggc_status): Add anys.
7         (n_anys_collected): New variable.
8         (ggc_alloc): Define.
9         (ggc_mark): Likewise.
10         (ggc_collect): Collect the anys.
12 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14         * c-decl.c (mark_binding_level): Make static to match prototype.
16 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
18         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
20 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
22         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC 
23         will use into account.  Expand the max width to 5.
24         * rtl.c: Likewise.
26 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
28         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
29         for the rtx length.
31 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
33         * alpha.md (call value patterns): Remove the result predicates.
35 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
37         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
38         last change.
40 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
42         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
43         changed from extern char *, to extern PTR.  Also fix typo in
44         NEED_DECLARATION_REALLOC test.
46         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
47         
48 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
50         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
51         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
52         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
53         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
55         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
57         * cccp.c (pcfinclude): Likewise.
59         * global.c (allocno_compare): Likewise.
60         
61         * haifa-sched.c (rank_for_schedule): Likewise.
63         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
65         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
67         * stupid.c (stupid_reg_compare): Likewise.
69         * tree.c (_obstack_allocated_p): Likewise.
71         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
73 1999-09-08  Bruce Korb  autogen@linuxbox.com
75         * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
76         why "gperf -F" fails.
77         * gcc/cp/Makefile.in: ditto
78         * gcc/Makefile.in: ditto
79         * gcc/java/Makefile.in: ditto
81 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
83         * lists.c: Include ggc.h.
84         (zap_lists): New.
85         (init_EXPR_INSN_LIST_cache): Install it.
87         * ggc-simple.c (init_ggc): Absorb the old init.
88         (ggc_push_context): Use xcalloc.
89         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
90         (ggc_collect): Add [rvts] tags to the collection stats.
92 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
94         * cccp.c (main): Fix handling of -include and -imacros options.
96 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
98         * cpplib.c (cpp_push_buffer): Fix order of arguments.
100 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
102         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
103         genrtl.c.
105 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
107         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
108         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
109         and SET_DEST. Update comment.
111 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
113         * config/c4x/c4x.c: Include ggc.h. 
114         (c4x_add_gc_roots): New function.
115         (c4x_override_options): Call c4x_add_gc_roots.
117 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
119         * defaults.h (TARGET_ESC): Move ...
120         * system.h: ... here, where Linas had it in the first place.  Silly me.
122 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
124         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
125         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
126         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
127         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
128         * defaults.h (TARGET_ESC): Add default.
130 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
132         * configure.in: add i370-*-openedition, i370-*-mvs and
133         i370-*-linux targets
135 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
137         * dsp16xxx.c: Include ggc.h
138         (override_options): Mark GC roots.
139         * mn10200.c: Include ggc.h.
140         (asm_file_start): Mark GC roots.
141         * tahoe.c: Include ggc.h.
142         (extensible_operand): Mark GC roots.
144 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
146         * README: Add section discussing status of ELF ABI.
147         * i370.c: Fix misc spelling mistakes.
148         (i370_label_scan): Updated notes, exception handling.
149         (i370_function_prolog): Simplify ELF stack handling.
150         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
151         (STACK_GROWS_DOWNWARD): ELF stack grows down.
152         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
153         * i370.md: (movdi): Add notes.
154         (floatsidf2): Use stack not rtca for scratch float area.
155         (iorsi3): Correct operand constraints.
156         * x-oe: Restore TAROUTOPTS which are used by pax.
158 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
160         * rs6000.c: Include ggc.h.
161         (rs6000_add_gc_roots): New function.
162         (override_options): Call it.
164 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
166         * alpha.h (alpha_compare): New.
167         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
168         * alpha.c: Likewise for the definitions.
169         (alpha_emit_conditional_branch): Update for alpha_compare.
170         (alpha_emit_conditional_move): Likewise.
171         * alpha.md (cmpdf, cmpdi): Likewise.
172         (setcc patterns): Likewise.  Zero alpha_compare after use.
173         (sne): Optimize (x != 0) into (0U < x).
175 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
177         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
178         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
179         (INIT_EXPANDERS): Remove.
180         * alpha.c: Include ggc.h.
181         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
182         (alpha_init_machine_status, alpha_mark_machine_status): New.
183         (override_options): Install them.
184         (struct machine_function): Moved to alpha.h.
185         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
186         (alpha_init_expanders): Remove.
187         (alpha_return_addr): Adjust to use current_function->machine.
188         (alpha_ra_ever_killed): Likewise.
189         (alpha_expand_epilogue): Likewise.
190         * alpha.md (eh_epilogue): Likewise.
192 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
193                           Melissa O'Neill  <oneill@cs.sfu.ca>
194                           Geoffrey Keating  <geoffk@cygnus.com>
196         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
197         call-used registers (call-saved registers must still be contiguous
198         and end with r31, of course).
200 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
202         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
203         (self_promoting_type_p): Delete.
204         (self_promoting_args_p): Move ...
205         * c-common.c: ... here.
206         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
207         (simple_type_promotes_to): New.
208         * builtins.c (lang_type_promotes_to): New.
209         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
210         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
211         * c-common.h: ... here.
212         (self_promoting_args_p, simple_type_promotes_to): Declare.
213         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
214         (grokdeclarator): Likewise.
215         * tree.h (lang_type_promotes_to): Declare.
217 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
219         Add some machine-dependent GC roots.
220         * sparc.c: Include ggc.h. 
221         (sparc_add_gc_roots): New function.
222         (mark_ultrasparc_pipeline_state): Likewise.
223         (override_options): Call sparc_add_gc_roots.
224         * pa.c: Include ggc.h.
225         (pa_add_gc_roots): New function.
226         (mark_deferred_plabels): Likewise.
227         (override_options): Call pa_add_gc_roots.
228         * mips.c: Include ggc.h.
229         (mips_add_gc_roots): New function.
230         (override_options): Use it.
232 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
234         * cpperror.c (cpp_file_line_for_message): Constify a char*.
236         * cppexp.c (parse_number, parse_charconst, cpp_lex,
237         cpp_parse_expr): Add static prototypes.
238         (parse_charconst): Don't cast away const-ness.
239         (token): Constify a char*.
241         * cppfiles.c (file_name_list, include_hash, find_include_file,
242         finclude, initialize_input_buffer): Constify a char*.
243         (file_cleanup, find_position): Add static prototypes.
245         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
246         collect_expansion): Add static prototypes.
247         (cpp_install, create_definition, monthnames): Constify a char*.
249         * cpphash.h (cpp_install): Likewise.
251         * cppinit.c (known_suffixes, default_include,
252         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
253         (base_name, dump_special_to_buffer, initialize_dependency_output):
254         Add static prototypes.
256         * cpplib.c (my_strerror): Constify a char*.
257         (null_underflow, null_cleanup, skip_comment, copy_comment,
258         copy_rest_of_line, handle_directive, pass_thru_directive,
259         get_directive_token, read_line_number, cpp_print_file_and_line,
260         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
261         v_cpp_warning_with_line, detect_if_not_defined,
262         consider_directive_while_skipping): Add static prototypes.
263         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
264         cpp_pedwarn_with_file_and_line): Constify a char*.
266         * cpplib.h (cpp_options, include_hash, progname, definition,
267         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
268         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
269         find_include_file, deps_output, include_hash): Constify a char*.
271         * cppmain.c (progname): Constify.
272         (main): Add prototype.  Use return, not exit.
274         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
275         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
276         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
277         check_protection): Add static prototype.
278         (xfree): Remove.
279         (progname, recognized_macrom, recognized_extern): Constify a char*.
280         (main): Add prototype.
282         * gen-protos.c (progname): Constify a char*.
284 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
286         * emit-rtl.c (free_emit_status): Take decl as a parameter.
287         (init_emit_once): Add more GC roots.
288         * except.c (mark_func_eh_entry): New function.
289         (mark_eh_node): Mark false_label and rethrow_label.
290         (init_eh): Add more GC roots.
291         * function.c (free_after_compilation): Take decl as a paramter.
292         Call free_stmt_status.
293         (mark_function_state): Don't assume x_parm_reg_stack_loc is
294         non-NULL.
295         * function.h (free_after_compilation): Change prototype.
296         (free_varasm_status): Likewise.
297         (free_emit_status): Likewise.
298         (free_stmt_status): New function.
299         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc): 
300         Remove, replacing with ...
301         (ggc_status): New structure.
302         (ggc_chain): New variable.
303         (init_gcc): Define.
304         (ggc_push_context): New function.
305         (ggc_pop_context): Likewise.
306         (ggc_alloc_rtx): Adjust for use of ggc_chain.
307         (ggc_alloc_rtvec): Likewise.
308         (ggc_alloc_tree): Likewise.
309         (ggc_alloc_string): Likewise.
310         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
311         (ggc_mark_tree): Give language-dependent code a chance to mark
312         `x' nodes.
313         (ggc_mark_tree_varray): Handle empty arrays.
314         (ggc_collect): Adjust for use of ggc_chain.  Clear
315         bytes_alloced_since_last_gc.
316         * ggc.h (ggc_pop_context): New function.
317         (ggc_push_context): Likewise.
318         * print-tree.c (print_node): Don't print obstacks when GC'ing.
319         * stmt.c (free_stmt_status): New function.
320         (init_stmt_for_function): Clear last_expr_value.
321         * toplev.c (rest_of_compilation): Always call free_after_compilation.
322         Conditionalize call to ggc_collect.
323         (main): Call init_ggc.
324         * tree.c (push_obstacks): Do the push, even when GC'ing.
325         (push_obstacks_nochange): Likewise.
326         (pop_obstacks): Liekwise.
327         * varasm.c (free_varasm_status): Take decl as a parameter.
328         
329 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
331         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
332         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
333         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
334         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
336 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
338         * pa/x-pa-mpeix: New file for the MPE port.
340         * pa/quadlib.asm: New file for long double support.
342         * configure.in: Add hppa1.0-*-mpeix for MPE port.
343         * configure: Rebuilt.
345 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
347         * final.c (shorten_branches): Fix last change.
349 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
351         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
353 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
355         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
356         details.
358 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
360         * c-aux-info.c (concat): Don't define.
362         * cccp.c (my_strerror): Likewise.  All callers changed to use
363         xstrerror instead.
364         (do_include): Call xstrdup, not xmalloc/strcpy.
365         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
366         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
368         * collect2.c (my_strsignal): Likewise.  All callers changed to use
369         strsignal instead.
370         (locatelib): Call xstrdup, not xmalloc/strcpy.
372         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
374         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
376         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
378         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
380         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
382         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
384         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
385         malloc/realloc.
386         (find_all_handler_type_matches): Likewise.  Don't check return
387         value.
388         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
389         xmalloc, not malloc.
390         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
392         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
393         (init_spec): Call xcalloc, not xmalloc/bzero.
394         (set_spec): Call xstrdup, not save_string.
395         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
396         (find_a_file): Call xstrdup, not xmalloc/strcpy.
397         (process_command): Call xstrdup, not save_string.
398         (main): Call xcalloc, not xmalloc/bzero.
400         * gcov.c (xmalloc): Don't define.
401         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
402         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
403         (output_data): Call xcalloc, not xmalloc/bzero.
405         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
407         * mips-tdump.c (xmalloc): Don't define.
408         (print_symbol): Call xmalloc, not malloc.
409         (read_tfile): Call xcalloc, not calloc.
411         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
412         Don't define.  All callers of xfree/my_strsignal changed to use
413         free/strsignal instead.
414         (allocate_cluster): Call xcalloc, not calloc.
416         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
417         Fix memory leak, free allocated memory.
419         * prefix.c (translate_name): Call xstrdup, not save_string.
420         (update_path): Likewise.
422         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
424         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
425         Don't define.  Callers of xfree/savestring2 changed to use
426         free/concat instead.
428         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
429         (init_elim_table): Likewise.
431         * resource.c (init_resource_info): Likewise.
433         * stupid.c (stupid_life_analysis): Likewise.
435         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
436         (open_dump_file): Call concat, not xmalloc/strcpy/...
437         (clean_dump_file): Likewise.
438         (compile_file): Call xstrdup, not xmalloc/strcpy.
440 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
442         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
443         * v850.c (v850_va_arg): New.
445 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
447         * haifa-sched.c: Tidy comments.
449 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
451         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
452         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
453         $(out_object_file)): Depend on ggc.h.
454         * c-common.c: Include "ggc.h".
455         (combine_strings): If doing GC, use ggc_alloc_string.
456         * c-decl.c: Include "ggc.h".
457         (ggc_p): Define with value 0.
458         (mark_binding_level): New function.
459         (init_decl_processing): Add GC roots.
460         (mark_c_function_context): New function.
461         (lang_mark_false_label_stack): New function.
462         (lang_mark_tree): New function.
463         (lang_cleanup_tree): New function.
464         * c-lang.c: Include "ggc.h".
465         (lang_init): Call c_parse_init.
466         * c-lex.c: Include "ggc.h".
467         (check_linenum): If doing GC, don't copy filenames to permanent
468         obstack.
469         * c-parse.in: Include "ggc.h".
470         (c_parse_init): New function.
471         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
472         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
474         * except.c (mark_eh_state): Mark more state.
475         * function.c (mark_function_state): Likewise.
476         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
477         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
478         * toplev.c (mark_file_stack): New function.
479         (compile_file): If doing GC, use ggc_alloc_string on input filename.
480         (main): Add root for input_file_stack.
482         * i386.c: Include "ggc.h".
483         (ix86_mark_machine_status): New function.
484         (override_options): Set mark_machine_status.
486 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
488         * tree.c (copy_node): Copy node contents also if doing GC.
490 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
492         * collect2.c (scan_libraries): Fix double-thinko :-).
494 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
496         * collect2.c (scan_libraries): Fix thinko.
498         * cse.c (delete_trivially_dead_insns): Do not skip the last
499         insn if it is a real insn.
501 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
503         * Makefile.in (ggc-simple.o): Depend on hash.h.
504         * ggc.h (ggc_add_tree_hash_table_root): Declare.
505         (ggc_mark_tree_varray): Likewise.
506         (ggc_mark_tree_hash_table): Likewise.
507         * ggc-simple.c: Include hash.h.
508         (ggc_mark_tree_hash_table_ptr): New function.
509         (ggc_mark_tree_hash_table_entry): Likewise.
510         (ggc_mark_tree_hash_table): Likewise.
511         (ggc_add_tree_hash_table_root): Likewise.
512         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
513         rtx, when defining fields.
514         
515 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
517         * profile.c (output_func_start_profiler): Remove apparently
518         nonsensical call to start_sequence.
519         
520 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
522         * clipper/clipper.c (clipper_va_start): Fix typos.
524         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
525         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
526         (spur_va_arg): New stub.
528         * configure.in: Comment out pyramid.
530 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
532         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
533         don't conflict with the bits that win32, cygwin, and dgux
534         defines.
536 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
537                           Bernd Schmidt <bernds@cygnus.co.uk>
539         * integrate.c (function_cannot_inline_p): Do not inline
540         functions with forced labels.
542 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
543                           Bernd Schmidt <bernds@cygnus.co.uk>
544                           Mark Mitchell  <mark@codesourcery.com>
546         * Makefile.in (ggc-simple.o): Depend on varray.h.
547         (rtl.o): Depend on ggc.h.
548         (genattrtab.o): Depend on ggc.h.
549         (print-tree.o): Likewise.
550         (fold-const.o): Likewise.
551         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
552         (make_insn_raw): Don't cache insns when GC'ing.
553         (emit_insn_before): Likewise.
554         (emit_insn_after): Likewise.
555         (emit_insn): Likewise.
556         (start_sequence): Use xmalloc to allocate the sequence_stack.
557         (end_sequence): Add free to free it.
558         (gen_sequence): Don't cache insns when GC'ing.
559         (clear_emit_caches): Don't use sequence_element_free_list.
560         (init_emit): Use xcalloc, not xmalloc+bzero.
561         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
562         * function.c (pop_function_context_from): Use free to free the
563         fixup_var_refs_queue.
564         (put_reg_into_stack): Allocate it with xmalloc.
565         * genattrtab.c: Include ggc.h.
566         (operate_exp): Don't use obstack_free when GC'ing.
567         (simplify_cond): Likewise.
568         (simplify_text_exp): Likewise.
569         (optimize_attrs): Likewise.
570         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
571         GC'ing.
572         (gencode): Generate a #include for ggc.h.
573         * ggc-callbacks.c (ggc_p): Define it to zero.
574         * ggc-none.c (ggc_p): Likewise.
575         * ggc-simple.c: Include varray.h.
576         (ggc_mark_tree_varray): New function.
577         (ggc_add_tree_varray_root): Likewise.
578         (ggc_mark_tree_varray_ptr): Likewise.
579         * ggc.h (ggc_p): Declare.
580         (varray_head_tag): Likewise.
581         (ggc_add_tree_varray_root): Declare.
582         * print-tree.c (print_node): Don't check for TREE_PERMANENT
583         inconsistencies when GC'ing.
584         * rtl.c: Include ggc.h.
585         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
586         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
587         (rtx_free): Don't call obstack_free when GC'ing.
588         * toplev.c (rest_of_compilation): Call ggc_collect after every
589         pass, if GC'ing.
590         * tree.c (push_obstacks): Do nothing, if GC'ing.
591         (pop_obstacks_nochange): Likewise.
592         (pop_obstacks): Likewise.
593         (make_node): Use ggc_alloc_tree when GC'ing.
594         (copy_node): Likewise.
595         (get_identifier): Use ggc_alloc_string when GC'ing.
596         (build_string): Likewise.
597         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
598         (tree_cons): Likewise.
599         (build1): Likewise.
600         (type_hash_canon): Don't call obstack_free when GC'ing.
601         
602 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
604         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
605         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
607 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
608                           Bernd Schmidt <bernds@cygnus.co.uk>
609                           Mark Mitchell  <mark@codesourcery.com>
611         * Makefile.in (stor-layout.o): Depend on ggc.h.
612         (expr.o): Depend on ggc.h.
613         (profile.o): Depend on ggc.h.
614         (stor-layout.o): Depend on ggc.h.
615         * emit-rtl.c (init_emit_once): Add gc roots.
616         * expr.c: Include ggc.h.
617         (emit_block_move): Add gc roots.
618         (clear_storage): Likewise.
619         * expr.h (init_stor_layout_once): New function.
620         * profile.c: Include ggc.h.
621         (init_arc_profiler): profiler_label is a root.
622         * scan.c (make_sstring_space): Trust xrealloc to function
623         correctly with first parameter NULL.
624         * stor-layout.c: Include ggc.h.
625         (set_sizetype): Add gc root.
626         (init_stor_layout_once): New function.
627         * toplev.c (compile_file): Call it.
628         
629 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
630                           Bernd Schmidt <bernds@cygnus.co.uk>
631                           Mark Mitchell  <mark@codesourcery.com>
633         * Makefile.in (tree.o): Depend on ggc.h.
634         (varasm.o): Likewise.
635         (function.o): Likewise.
636         (stmt.o): Likewise.
637         (except.o): Likewise.
638         (optabs.o): Likewise.
639         (emit-rtl.o): Likewise.
640         * emit-rtl.c: Include ggc.h.
641         (sequence_element_free_list): Remove, and all references.
642         (mark_sequence): New functions.
643         (mark_emit_state): New function.
644         * except.c: Include ggc.h.
645         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
646         (mark_tree_label_node): New functions.
647         (mark_eh_state): New function.
648         * function.c: Include ggc.h.
649         (mark_temp_slot, mark_function_chain): New functions.
650         (mark_function_state): New function.
651         (init_function_once): New function.
652         * function.h (init_function_once): New function.
653         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
654         * ggc.h (label_node): Declare.
655         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
656         (lang_mark_false_label_stack): New function.
657         (mark_temp_slot): Remove declaration.
658         (mark_function_chain): Likewise.
659         (mark_eh_state): Adjust prototype.
660         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
661         Likewise.
662         * optabs.c: Include ggc.h.
663         (mark_optab): New function.
664         (init_optabs): Add gc roots.
665         * stmt.c: Include ggc.h.
666         (mark_cond_nesting, mark_loop_nesting): New functions.
667         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
668         (mark_stmt_state): New function.
669         * toplev.c (compile_file): Call init_function_once.
670         * tree.c: Include ggc.h.
671         (type_hash): Move declaration earlier in file.
672         (TYPE_HASH_SIZE, type_hash_table): Likewise.
673         (init_obstacks): Add gc roots.
674         (mark_type_hash): New function.
675         * varasm.c: Include ggc.h.
676         (mark_pool_constant): New function.
677         (mark_varasm_state): New function.
678         
679 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
681         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
683 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
685         * c-decl.c (struct language_function): Renamed from struct c_function.
686         Delete elt NEXT.
687         (c_function_chain): Delete.
688         (push_c_function_context): New arg F.  Don't warn about nested
689         functions here.  Fill LANGUAGE elt of F.  Delete code to update
690         c_function_chain.  Don't call push_function_context.
691         (pop_c_function_context): New arg F.  Restore from there instead of
692         from c_function_chain.  Don't call pop_function_context.  Clear out
693         LANGUAGE field of F when done.
694         * c-lang.c: Include "function.h"
695         (lang_init): Initialize save_lang_status and restore_lang_status.
696         * c-parse.in (nested_function, nested_function_notype): Warn about
697         nested functions.  Call push_function_context/pop_function_context
698         instead of the _c_ variants.
699         * c-tree.h (push_c_function_context, pop_c_function_context): Update
700         prototype.
701         * Makefile.in (c-lang.o): Update dependencies.
703         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
704         regno_pointer_flag, regno_pointer_align.
705         (gen_reg_rtx): Use xrealloc to enlarge them.
706         (free_emit_status): New function.
707         * function.c (mark_machine_status, mark_lang_status): New variables.
708         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
709         in some bits from assign_stack_local.  All callers changed to use new
710         name.
711         (assign_stack_local): Just call assign_stack_local_1.
712         (free_after_compilation): New function.
713         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
714         (trampoline_address): Likewise.
715         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
716         (prepare_function_start): Explicitly clear some more variables.
717         * function.h (struct function): New elt can_garbage_collect.
718         (mark_machine_status, mark_lang_status): Declare variables.
719         (free_after_compilation, free_emit_status, free_varasm_status,
720         init_varasm_status): Declare functions.
721         * toplev.c (rest_of_compilation): Call free_after_compilation when
722         done with the current function.
723         * varasm.c (free_varasm_status): New function.
725 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
727         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
728         (EXPAND_BUILTIN_VA_ARG): Define.
729         * sparc.c (sparc_va_start): New.
730         (sparc_va_arg): New.
732 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
734         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
736 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
738         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
740 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
742         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
743         (OBJS): Add $(GGC).
744         (ggc-callbacks.o): New target.
745         * ggc-callbacks.c: New file.
747 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
749         * expr.h: Collapse individual optab and libfunc vars to arrays.
750         (optab_index, libfunc_index): New enumerations.
751         (optab_table, libfunc_table): New arrays.
752         Add accessor macros for both.
754         * optabs.c (optab_table, libfunc_table): New.
755         Delete declarations for individual optab and libfunc vars.
757 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
759         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
761 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
763         * Makefile.in (GGC, GGC_LIB): New.
764         (HOST_RTL): Include ggc-none.o.
765         (ggc-simple.o): New target.
766         (ggc-none.o): Likewise.
767         * tree.h (tree_common): Add gc_mark.
768         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
769         (struct rtvec_def): Add gc_mark.
770         * emit-rtl.c (global_rtl): Update static initializers to contain
771         enough initializers.
772         * ggc.h, ggc-none.c, ggc-simple.c: New files.
773         * toplev.c (gc_time): New variable.
774         (all_time): New variable.
775         (compile_file): Print gc time.
776         (print_time): Calculate percentage of the whole.
777         
778 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
780         Change obstack memory management and varasm constant pool handling so
781         that nested functions are treated like any other functions.
782         * function.c (init_machine_status): New variable.
783         (push_function_context_to): Set contains_functions for the outer
784         function.  Don't call save_varasm_status.
785         (pop_function_context_from): Don't call restore_varasm_status.  Don't
786         set current_function_contains_functions.
787         (prepare_function_start): Call init_varasm_status rather than
788         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
789         is non-null.
790         * function.h (struct function) Add field varasm.  Delete fields
791         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
792         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
793         (init_machine_status): Declare.
794         (save_varasm_status, restore_varasm_status): Delete declarations.
795         (save_tree_status, restore_tree_status): Delete last argument.
796         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
797         code.  All callers changed.
798         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
799         save_constants_in_decl_trees, restore_constants, save_constants,
800         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
801         functions.
802         (inlining): New variable.
803         (reg_map, label_map, insn_map, orig_asm_operands_vector,
804         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
805         variables.
806         (save_for_inline_nocopy): Don't save constants.
807         Don't set inl_emit field in current_function.
808         (expand_inline_function): Use emit field, not inl_emit, of the inlined
809         function.  Set new variable inlining before
810         calling copy_rtx_and_substitute.
811         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
812         constant pool references if inlining is nonzero.
813         Delete ADDRESS and (most of the) CONST cases.
814         (output_inline_function): Save and restore current_function/
815         current_function_decl.  Delete restore_constants code.  Don't call
816         init_const_rtx_hash_table.
817         * output.h (init_const_rtx_hash_table): Don't declare.
818         * rtl.h (struct function): Declare.
819         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
820         * toplev.c (rest_of_compilation): Don't treat nested functions or
821         functions containing them specially.  Delete all code to deal with
822         save_for_inline_copying.
823         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
824         inline_obstacks): Delete variables.
825         (save_tree_status): Lose arg CONTEXT.  All callers changed.
826         Simply allocate a new function_maybepermanent_obstack for the new
827         function, delete all the special cases.
828         Don't save inline_obstacks.
829         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
830         Delete special handling for function_maybepermanent_obstack; simply
831         free it if empty.
832         Don't restore inline_obstacks.
833         (permanent_allocation):  Delete code that frees inline_obstacks.
834         (print_inline_obstack_statistics): Delete function.
835         (dump_tree_statistics): Don't call it.
836         * varasm.c (struct varasm_status): New.
837         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
838         last_pool, pool_offset, const_double_chain): Delete global
839         variables, replace with accessor macros.
840         (immed_double_const): Don't walk const_double_chain outside a
841         function, but don't treat nested functions specially anymore.
842         (immed_real_const_1): Likewise.
843         (clear_const_double_mem): Don't treat nested functions specially.
844         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
845         (save_varasm_status, restore_varasm_status): Delete functions.
846         (init_varasm_status): New function.
847         (force_const_mem): Don't treat nested functions specially.
848         (find_pool_constant): Accept new arg F, search for constants in
849         that function's pool rather than the current one.  All callers
850         changed.
851         (get_pool_constant_for_function, get_pool_mode_for_function): New
852         functions.
854         * i386.c (init_386_machine_status): New function, mostly from
855         clear_386_stack_locals.
856         (struct machine_functions): Rename element names to avoid name
857         clashes.
858         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
859         macros, replacing global variables.
860         (clear_386_stack_locals, save_386_machine_status,
861         restore_386_machine_status): Delete functions.
862         (override_options): Initialize init_machine_status.
863         * i386.h (INIT_EXPANDERS): Delete macro.
864         (save_386_machine_status, restore_386_machine_status,
865         clear_386_stack_locals): Delete declarations.
867 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
869         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
870         (doloop_begin):  Simplify pattern and use emit_jump_insn.
871         (doloop_end): Simplify pattern, switch operand order,
872         and use emit_jump_insn.
874 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
876         * function.h (struct function): Add new element LANGUAGE.
877         (save_lang_status): Declare new variable.
878         (restore_lang_status): Likewise.
879         * function.c (save_lang_status): Define.
880         (restore_lang_status): Likewise.
881         (push_function_context_to): Call language-specific save function.
882         (pop_function_context_from): Call language-specific restore function.
883         
884 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
886         * i386.md (movsf_1): Check REG_P before use of REGNO.
887         (movdf_1): Likewise.
888         (movxf_1): Likewise.
889         (extendsfdf2): Likewise.
890         (extendsfxf2): Likewise.
891         (extenddfxf2): Likewise.
893 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
895         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
896         constants into memory.
897         (c4x_shiftable_constant): New function.
898         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
899         (c4x_shiftable_constant): Declare.
900         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
901         ashlqi3_noclobber): Add new patterns and associated splitters.
902         
903 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
905         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
906         * dwarf2out.c (dwarf2out_frame_init): Likewise.
907         * final.c (shorten_branches): Likewise.
908         * global.c (global_alloc): Likewise.
909         * haifa-sched.c (build_control_flow): Likewise.
910         * stmt.c (check_for_full_enumeration_handling): Likewise.
911         (estimate_case_costs): Likewise.
913 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
915         * rtl.h (RTL_CHECKC2): Fix typo in last change.
917 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
919         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
920         (recompute_reg_usage): Likewise.
921         * rtlanal.c (find_regno_fusage): Likewise.
923         * rtl.c (rtl_check_failed_code1): New function.
924         (rtl_check_failed_code2): New.
925         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
926         (RTL_CHECKC1, RTL_CHECKC2): New.
927         (XC*): New accessor macros.
928         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
929         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
930         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
931         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
932         (TRAP_*, RANGE_INFO_*): Likewise.
934 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
936         * Makefile.in (tlink.o): Don't depend on toplev.h.
938         * collect2.c (c_file, o_file, export_file, import_file, ldout,
939         output_file, nm_file_name, ldd_file_name, strip_file_name,
940         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
941         add_prefix, prefix_from_env, prefix_from_string, do_wait,
942         fork_execute, maybe_unlink, add_to_list,
943         extract_init_priority, write_list, dump_list,
944         dump_prefix_list, write_list_with_asm, write_c_file,
945         write_c_file_stat, write_c_file_glob, scan_prog_file,
946         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
947         ignore_library, extract_string, notice, dump_file, target_machine,
948         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
949         read_file, print_load_command): Constify a char*.
950         (fdopen, error, fatal, fatal_perror): Don't prototype.
951         (my_strerror): Remove.  All callers use xstrerror instead.
952         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
953         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
954         to xcalloc/strcpy/strcat/...  to one call to concat.
955         (main, scan_prog_file, scan_libraries): Use an intermediate
956         `const char **' to build an argv array.
957         (mapfile, libselect, libcompare, locatelib): Add prototypes.
959         * collect2.h (collect_execute, collect_wait, dump_file,
960         file_exists): Constify a char*.
961         (ldout, c_file_name, temporary_obstack, permanent_obstack,
962         temporary_firstobj, vflag, debug): Add extern declarations.
963         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
965         * tlink.c: Don't include toplev.h.
966         (vflag, debug, ldout, c_file_name, temporary_obstack,
967         permanent_obstack, temporary_firstobj): Don't declare.
968         (tlink_execute, frob_extension, symbol_hash_lookup,
969         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
970         recompile_files, read_repo_files, demangle_new_symbols,
971         scan_linker_output): Constify a char*.
972         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
973         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
974         
975 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
977         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
978         (relative) rather than jsr (absolute) subroutine call insns.  
979         * config/m68k/m68k-coff.h: Ditto.
981 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
983         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
984         now rework these too.
985         (arm_reorg): If an insn can't reach the end of the current pool,
986         ensure that we emit that pool before the insn.
988 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
990         * tlink.c (scan_linker_output): Skip the initial underscore in
991         a mangled name if appropriate.
993 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
995         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
996         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
997         error_with_ivar, gen_declarator, create_builtin_decl,
998         my_build_string, generate_descriptor_table, generate_ivars_list,
999         generate_dispatch_table, check_protocols, TAG_GETCLASS,
1000         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
1001         dump_base_name, lang_decode_option, build_encode_expr,
1002         start_class, finish_class, encode_pointer, really_start_method,
1003         gen_declaration, dump_interface, handle_class_ref, handle_impent):
1004         Constify.
1005         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
1006         Add static prototypes.
1007         (build_objc_string_decl, build_selector_reference_decl,
1008         encode_bitfield, build_class_reference_decl): Remove unused
1009         parameter, all callers changed.
1010         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
1011         (objc_printable_name): Likewise.  Change second parameter to type int.
1012         (init_objc): Use memcpy, not bcopy, to avoid casts.
1014 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
1016         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
1017         reg notes on a deleted insn.
1018         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
1020 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
1022         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
1024 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1026         * stmt.c (expand_asm_operands): Fix index into inout_mode when
1027         reading it.
1029 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
1031         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
1032         * tm.texi (MD_ASM_CLOBBERS): Document it.
1034 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
1036         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
1037         * except.c (expand_rethrow): Remove unused variable.
1038         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
1039         * flow.c (replace_insns): Likewise.
1040         (create_edge_list, verify_edge_list): Likewise.
1041         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
1043         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
1044         is special code to run.
1045         (main): Don't define operands to emit_operand.
1046         * genrecog.c (main): Don't emit an empty peephole2_insn function.
1048         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
1050         * alpha/alpha.h (normal_memory_operand): Declare.
1051         (reg_no_subreg_operand): Declare.
1052         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
1054 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
1056         * c-parse.in (compstmt_primary_start): New, broken out of first
1057         part of compstmt handling in primary.
1058         (primary): Use it.  Add an error clause.
1059         (compstmt_nostart): Renamed from compstmt; remove all
1060         initial invocations of compstmt_start.
1061         (compstmt): New.
1063 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
1065         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
1066         needed.
1068 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
1070         * combine.c (simplify_shift_const): Remove extra semicolon.
1071         * dwarf2out.c (remove_AT): Likewise.
1072         * expmed.c (expand_mult): Likewise.
1073         * gcov.c (create_program_flow_graph): Likewise.
1074         * reorg.c (mostly_true_jump): Likewise.
1076 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
1078         * fold-const.c (fold_range_test): Do not try to fold the range
1079         test if the rhs or lhs has side effects.
1081         * combine.c (simplify_rtx): Recognize another case of a synthesized
1082         sign extension.
1084         * varasm.c (mark_constant_pool): When marking indirect references,
1085         only look at SYMBOL_REFs.
1087         * except.c (expand_fixup_region_end): Do not peek at
1088         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
1090 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
1092         * flags.h: New variables align_loops, align_loops_log,
1093         align_jumps, align_jumps_log, align_labels, align_labels_log,
1094         align_functions, align_functions_log.
1095         * toplev.c: Define them.
1096         (f_options): Handle -falign-* when they have no argument.
1097         (main): Add logic to set variables for -falign-functions,
1098         -falign-jumps, -falign-labels, -falign-loops.
1099         Make it -fsched-verbose=<n> and -finline-limit=<n>.
1100         (display_help): Change help to match options.
1101         * final.c (LABEL_ALIGN): Default to align_labels_log.
1102         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
1103         (LOOP_ALIGN): Default to align_loops_log.
1104         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
1105         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
1106         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
1107         * varasm.c (assemble_start_function): Handle align_functions.
1109         * config/sparc/sparc.h: Don't declare sparc_align_*.
1110         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
1111         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
1112         sparc.c.
1113         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
1114         it's a promise.
1115         * config/sparc/sparc.c: Delete sparc_align_loops,
1116         sparc_align_jumps, sparc_align_funcs and the corresponding string
1117         variables.
1118         (sparc_override_options): Default align_functions on ultrasparc.
1119         Delete -malign-* handling.
1121         * config/mips/mips.c (override_options):  On 64-bit targets,
1122         try to align code to 64-bit boundaries.
1123         (print_operand): New substitution, %~,
1124         which aligns labels to align_labels_log.
1125         * config/mips/mips.md (div_trap_normal): Use %~.
1126         (div_trap_mips16): Likewise.
1127         (abssi): Likewise.
1128         (absdi2): Likewise.
1129         (ffssi2): Likewise.
1130         (ffsdi2): Likewise.
1131         (ashldi3_internal): Likewise.
1132         (ashrdi3_internal): Likewise.
1133         (lshrdi3_internal): Likewise.
1134         (casesi_internal): Likewise.
1136 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
1138         Merge new ia32 backend from the branch!
1140         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
1141         See ChangeLog.P2 on new_ia32_branch for details.
1143         * rtl.h (stack_regs_mentioned_p): Delete prototype.
1144         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
1145         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
1146         * i386/gas.h (ASM_FILE_START): Define.
1147         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
1148         for name change of ix86_valid_decl_attribute_p.
1149         (i386_pe_valid_type_attribute_p): Similarly.
1151 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
1153         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
1154         to step through CC modes.
1156 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1158         * regmove.c (fixup_match_1): Don't move INSN in front of P if
1159         it would end up in the shadow of a live flags regsiter.
1161 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1163         * reload1.c: Fix many indentation problems.
1164         * reload.c: Likewise.
1166 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
1168         * alias.c (non_local_reference_p): Constify fmt.
1170 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
1172         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
1174 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
1176         * cse.c (delete_trivially_dead_insns): Do not delete stores to
1177         the internal_arg_pointer.
1179 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
1181         Merge peephole2 from new_ia32_branch:
1182         * Makefile.in (STAGESTUFF): Add *.peephole2.
1183         (mostlyclean): Likewise.
1184         (recog.o): Depend on resource.h.
1186         * final.c (peephole): Conditionalize decl on HAVE_peephole.
1187         (final_scan_insn): Likewise for the invocation of peephole.
1188         * genconfig.c (main): Look for peephole and peephole2 patterns.
1189         Emit HAVE_peephole* accordingly.
1190         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
1191         * flags.h (flag_peephole2): Declare.
1192         * toplev.c: New pass peephole2.  New flag -fpeephole2.
1194         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
1195         * gencodes.c (main): Likewise.
1196         * genextract.c (main): Likewise.
1197         * genoutput.c (main): Likewise.
1198         * genemit.c (max_operand_1): Look for the max scratch operand.
1199         (gen_rtx_scratch): New.
1200         (gen_exp): Use it, and pass on new arg subroutine_type.
1201         (gen_expand): Take max scratch into account.
1202         (gen_split): Emit peephole2 functions.
1203         (output_peephole2_scratch): New.
1204         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
1205         * genrecog.c (routine_type): Add PEEPHOLE2.
1206         (IS_SPLIT): New.
1207         (make_insn_sequence): Match outer parallel for peep2.  Discard
1208         top level scratches and dups.
1209         (add_to_sequence): New args insn_type and top.  Update all callers.
1210         Handle toplevel peep2 matching insns.
1211         (write_subroutine): Handle peep2.
1212         (write_tree_1): Likewise.
1213         (write_tree): Likewise.
1214         (main): Likewise.
1215         (change_state): New arg afterward.  Update all callers.
1216         Handle matching separate insns.
1217         * recog.c (recog_next_insn): New.
1218         (peephole2_optimize): New.
1219         * rtl.def (DEFINE_PEEPHOLE2): New.
1220         * resource.c (find_free_register): New argument last_insn.  Use it
1221         to find a register available through the entire span.
1222         * resource.h (find_free_register): Update prototype.
1224 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
1226         * i386.c (output_strlen_unroll): Don't write xops[7]
1227         label if it wasn't set.
1229 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
1231         * cpplib.c (struct directive): Const-ify name pointer and
1232         function pointer prototype.
1233         (validate_else, do_define, do_line, do_include, do_undef,
1234         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
1235         do_elif, do_endif, do_sccs, do_assert, do_unassert,
1236         do_warning): Const-ify second arg.
1237         (directive_table): Mark const.  Reorder entries by frequency
1238         of usage, record statistics.
1240 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
1242         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
1243         bounds- check RTL accesses if --enable-checking.
1244         (RTVEC_ELT): Bounds check if --enable-checking.
1245         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
1246         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
1247         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
1248         GET_NUM_ELEM.
1249         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
1250         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
1252         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
1253         (NOTE_SOURCE_FILE): Use X0STR.
1254         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
1255         MEM_ALIAS_SET): Use X0INT.
1256         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
1257         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
1258         Use X0EXP.
1259         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
1260         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
1261         (rtl_check_failed_bounds, rtl_check_failed_type1,
1262         rtl_check_failed_type2, rtvec_check_failed_bounds): New
1263         functions.
1264         (fancy_abort): Fix comment.
1266         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
1267         (cse_insn): Decrement LABEL_NUSES for jump target before
1268         deleting jump insn.
1269         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
1270         * final.c (alter_subreg): Compute regno before changing x to
1271         REG; set REGNO(x) after changing it.
1272         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
1273         notes containing CONST_INTs.
1274         (delete_eh_regions): Use NOTE_EH_HANDLER.
1275         * function.c (put_reg_into_stack): Make reg a MEM before
1276         initializing it.
1277         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
1278         delete insn.
1279         (gen_mem_addressof): Make reg a MEM before initializing it.
1280         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
1281         X0WINT.
1282         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
1283         deleting an insn, not after.
1284         (block_alloc): Only look at PATTERN(insn) if we have to, and
1285         only if it's format class 'i'.
1286         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
1287         CONST_INT before using its INTVAL.
1288         * print-rtl.c (print_rtx): Use X0STR.
1289         * regmove.c (fixup_match_1): Don't look at PATTERN of
1290         non-class-'i' insn chain elements.
1291         * reload.c (loc_mentioned_in_p): Take address of
1292         in->fld[1].rtx directly.
1293         * reload1.c (reload): Change reg to a MEM before initializing
1294         it.
1295         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
1296         have no names.
1297         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
1299 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
1301         * config/mips/mips.c (machine_dependent_reorg): Force a
1302         barrier to output the local constant pool if a barrier hasn't
1303         been found at a natural point in the instruction stream.
1305 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1307         * c-parse.in (language_string): Constify.
1309         * dwarf2out.c (language_string): Remove declaration.
1311         * dwarfout.c (language_string): Likewise.
1313         * toplev.c (language_string, init_parse, finish_parse): Likewise.
1315         * tree.h (language_string, init_parse, finish_parse): Declare.
1317         * i386/sun386.h (language_string): Remove declaration.
1319         * mips.h (language_string): Likewise.
1321         * nextstep.h (language_string): Likewise.
1323         * nextstep21.h (language_string): Likewise.
1325         * rs6000.c (language_string): Likewise.
1327 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1329         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
1330         (getpwd.o): Remove target.
1332         * getpwd.c: Delete file.  Its in libiberty now.
1334         * dbxout.c (getpwd): Don't prototype.
1335         * dwarf2out.c (getpwd): Likewise
1336         * dwarfout.c (getpwd): Likewise
1337         * final.c (getpwd): Likewise.
1338         * protoize.c (getpwd): Likewise.
1340 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1342         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
1344 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
1346         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
1347         mark_set_resources.
1349 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
1351         * fixinc/Makefile.in (subdir): New.
1352         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
1353         (Makefile): New.
1355 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
1357         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
1358         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
1359         be shared.
1361         * invoke.texi: Fix typo.
1363         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
1364         changed.  Handle autoincrement addressing modes.
1366         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
1367         just like we would the virtual incoming args register when
1368         integrating.
1370 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
1372         * rs6000.h (ASM_FILE_START): Specify complete filename, including
1373         path, in .file directive.
1375 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
1377         * gcc.texi (External Bugs): Remove obsolete note about Perl on
1378         SunOS.
1380 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
1382         * stdbool.h: Make the typedef name _Bool, with bool a #defined
1383         alias.
1385 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1387         * tree.c (tree_code_name): Constify a char*.
1389         * tree.h (tree_code_name, decl_printable_name): Likewise.
1391         * function.h (struct function): Likewise.
1393         * toplev.c (decl_name, decl_printable_name): Likewise.
1395         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
1397         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
1398         (init_objc): Remove function pointer cast.
1400 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
1402         * pa.md (interspace_jump): New pattern.
1403         (builtin_longjmp): New expander.
1405 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
1407         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
1408         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
1409         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
1411 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
1413         * jump.c (delete_prior_computation): Also check calls
1414         to constant functions.  Don't bother checking for a
1415         REG_UNUSED note before adding it.
1416         (delete_computation): Handle multi-word hard registers
1417         when synthesizing missing REG_DEAD notes for a register
1418         which is both set and used by an insn.
1420 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1422         * loop.c (this_loop_info): New variable.
1423         (loop_has_call, loop_has_volatile, loop_has_tablejump,
1424         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
1425         All uses updated.
1426         (prescan_loop, strength_reduce): New argument loop_info.  All callers
1427         updated.
1428         (scan_loop): New variable loop_info, initialise to address of
1429         this_loop_info.
1430         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
1431         Delete variable loop_has_multiple_exit targets and replace with
1432         field in this_loop_info.
1433         (find_and_verify_loops): Rename this_loop to this_loop_num.
1434         (strength_reduce): Delete loop_iteration_info.  Replace variable
1435         loop_info with function argument of same name.
1436         (insert_bct): Rework test for loop being completely unrolled.
1438         * loop.h (struct loop_info): New fields num, loops_enclosed,
1439         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
1440         has_indirect_jump, and cont.  Redefine use of unroll_number.
1441         (loop_unroll_number): Delete.
1443         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
1444         field of loop_info.
1445         (loop_iterations): Delete variable vtop and instead use
1446         loop_info->vtop computed in prescan_loop.
1448 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
1450         * fix-header.c (main): Do not pass a null pointer to strcmp.
1452 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
1454         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
1455         filenames.
1456         * configure: Rebuilt.
1458 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
1460         * jump.c (jump_optimize_1): Do not delete assignments to
1461         internal_arg_pointer.
1462         * cse.c (delete_trivially_dead_insns): Always consider a set of
1463         the internal_arg_pointer live.
1465 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
1467         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
1468         (update_life_info) [REG_WAS_0]: Search the original insns rather
1469         than the new insns for the note.  Fix typos finding note_dest.
1470         If no dest found, discard the note rather than abort.
1471         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
1472         (replace_insns): Remove the old insn list after update_life_info
1473         not before.
1475 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
1477         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
1478         sched_analyze_insn.
1479         (sched_analyze_1): Let add_dependence care for not adding dups.
1480         (sched_analyze_2): Likewise.
1481         (add_branch_dependences): Likewise.
1483 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
1485         * i386/winnt.c (export_list): New type.
1486         (exports_head): Rename to
1487         (export_head):  this.
1488         (i386_pe_record_exported_symbol): Add is_data flag.
1489         (i386_pe_asm_file_end): Emit directive for exported variables.
1490         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
1491         prototype.
1492         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
1493         (ASM_DECLARE_OBJECT_NAME): Likewise.
1494         (ASM_DECLARE_FUNCTION_NAME): Likewise.
1495         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
1497 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
1499         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
1501         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
1502         operand.
1504 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
1506         * config/openbsd.h: Define SET_ASM_OP.
1507         * tm.texi: cross-reference SET_ASM_OP in the index.
1509 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
1511         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
1512         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
1513         and class_narrowest_mode at compile time.  Kill init_rtl.
1514         Mark rtx_length, mode_class, mode_size, mode_unit_size,
1515         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
1516         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
1517         EXTRA_CC_NAMES.
1518         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
1519         format.
1520         * rtl.h: Declare rtx_length and rtx_format as const.
1521         * machmode.def: Define CC().  Use CC() to define CCmode.  If
1522         EXTRA_CC_MODES is defined, expand it here.
1523         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
1524         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
1525         const.  Kill all references to EXTRA_CC_MODES.
1527         * toplev.c: Don't prototype or call init_rtl.
1528         * optabs.c: Don't call init_mov_optab.
1529         * genemit.c: Don't generate init_mov_optab.  Don't call
1530         init_rtl.
1531         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
1532         here.
1533         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
1534         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
1535         genrecog.c: Don't call init_rtl.
1537         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
1538         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
1539         definition of EXTRA_CC_MODES.
1541         * md.texi: Kill ref to EXTRA_CC_NAMES.
1542         * tm.texi: Document new way to define EXTRA_CC_MODES.
1544         * genrecog.c: Do not look up the name of a define_split.
1545         (Unrelated bugfix.)
1547 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
1549         * config/v850/v850.md: Fix typo introduced by previous delta.
1551 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1553         * gcc.c (fatal): Make definition static to match prototype.
1555 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1557         * combine.c (get_last_value): Don't look for earlier sets if the last
1558         known set is somewhere in between the insns being combined.
1560 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
1562         * configure.in: Don't use shell ! to negate exit codes
1563         * configure: Regenerate
1565 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
1567         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
1568         the fact that ALIGN is measured in bits, not bytes.
1570 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
1572         * errors.c: New file; defines functions error, warning, and
1573         fatal, variables have_error and progname.
1574         * errors.h: New file; prototypes and decls for stuff in errors.c.
1576         * Makefile: Add rules to build errors.o and
1577         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
1578         genopinit, genrecog, genextract, genpeep, genattr, and
1579         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
1580         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
1581         genpeep.o, genattr.o, and genoutput.o.
1583         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
1584         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
1585         define or prototype fatal.  Set progname at beginning of main.
1586         * genoutput.c:  Likewise, and don't define or prototype error
1587         either.
1589         * c-typeck.c (c_expand_start_case): Return immediately if exp
1590         is an ERROR_MARK.
1591         * fold-const.c (operand_equal_p): Return immediately if arg1
1592         or arg0 are ERROR_MARKs.
1593         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
1594         fields of type ERROR_MARK when calculating if the record can
1595         go in a register.
1597 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
1598         with much help from Jeffrey A Law and Richard Henderson
1600         * i386.md: In the 6 insns which call output_fix_trunc,
1601         earlyclobber operands[0].
1603 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
1605         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
1606         creating new registers.
1608 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
1610         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
1611         i386_reg_alloc_order, i386_regparm_string,
1612         i386_align_loops_string, i386_align_jumps_string,
1613         i386_align_funcs_string, i386_preferred_stack_boundary_string,
1614         and i386_branch_cost_string as type "const char *".
1615         * i386.c: Define all above strings as type "const char *".
1617 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
1619         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
1620         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
1622 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
1624         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
1625         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
1627 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
1629         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
1630         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
1631         (dwarf2out_line, dwarf2out_finish): Likewise.
1632         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
1634 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
1636         * tree.c (lang_unsave_expr_now) : Correct return type.
1637         * tree.h (lang_unsave_expr_now) : Same.
1639 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
1641         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
1642         instead of duplicating code.
1644 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1646         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
1648 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
1650         * tree.h: fancy_abort always takes three args.
1651         * resource.c: Move include of system.h before toplev.h.
1653 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
1655         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
1656         as SYMBOL_REFs.
1658 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
1660         * system.h: Don't redefine abort or trim_filename.
1661         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
1662         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
1663         whether or not __FUNCTION__ is available.
1664         * tree.h: Duplicate rtl.h's definition of abort, for files
1665         that don't include rtl.h.  Delete all code to perform type
1666         checking with a compiler other than GCC.
1667         * varray.h: Delete all code to perform type checking with a
1668         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
1669         its arguments exactly once, using a statement expression.
1670         Adjust the VARRAY_<type> accessor macros to match.
1671         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
1672         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
1673         caller's location.  Define fatal_insn and fatal_insn_not_found
1674         as macros that use _fatal_insn and _fatal_insn_not_found.
1675         (fancy_abort, trim_filename): Kill prototypes.
1677         * rtl.c (trim_filename): Move here from toplev.c.
1678         (fancy_abort): New function.
1679         (DIR_SEPARATOR): Provide default definition.
1680         * tree.c (tree_check_failed, tree_class_check_failed): Go
1681         through fancy_abort.
1682         (tree_check, tree_class_check, cst_or_constructor_check,
1683         expr_check): Delete.
1684         * varray.c (varray_check_failed): New function.
1685         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
1686         _fatal_insn and _fatal_insn_not_found.  Go through
1687         fancy_abort.
1688         (trim_filename, fancy_abort): Delete.
1690         * builtins.c (expand_builtin_args_info): Report ICE with abort.
1691         * except.c (start_catch_handler): Report ICE with error/abort
1692         combo.
1693         * final.c (output_operand_lossage): Likewise.
1694         * flow.c (verify_flow_info): Likewise.
1696         * gcc.c: Prototype fatal.
1697         * gengenrtl.c: Undef abort after including rtl.h not system.h.
1698         * genattr.c, genattrtab.c, genemit.c, genextract.c,
1699         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
1700         Don't define fancy_abort.
1702 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
1704         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
1705         canonization.
1707 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
1709         * m88k.h (VERSION_INFO2): Kill.
1710         (VERSION_STRING): Kill.
1711         (TM_RCS_ID): Kill.
1712         (VERSION_INFO1): Tidy.
1713         (TARGET_VERSION): Update.
1714         * m88k/dgux.h (VERSION_INFO2): Kill.
1715         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
1716         * m88k/luna.h (VERSION_INFO1): Tidy.
1717         * m88k/sysv4.h (VERSION_INFO1): Likewise.
1718         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
1719         (output_file_start): Adjust for death of VERSION_STRING.
1721 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
1723         * cpplib.c (detect_if_not_defined): New function.
1724         (do_if): Use it to detect potential once-only headers.
1726 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
1728         * c-common.c (combine_strings): Always set TREE_CONSTANT.
1730 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
1732         * combine.c (nonzero_bits) : Allow single-ly set registers to be
1733         anywere in the function only if they are pseudos and set before
1734         being used (not live at the start of the function).
1735         (num_sign_bit_copies) : Same.
1736         (get_last_value_validate) : Same.
1737         (get_last_value) : Same.
1739 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
1741         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
1742         where N and M are constant and N is an integer multiple of M.
1744 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
1746         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
1747         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
1748         sbitmap_union_of_preds): Add prototypes.
1749         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
1750         the intersection of successors with the new flow graph structures.
1751         (sbitmap_intersection_of_preds): New function to compute the
1752         intersection of predecessors with the new flow graph structures.
1753         (sbitmap_union_of_succs): New function to compute the union of
1754         successors with the new flow graph structures.
1755         (sbitmap_union_of_preds): New function to compute the union of
1756         predecessors with the new flow graph structures.
1757         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
1758         (expr_reaches_here_p): Use edge and basic_block structures instead
1759         of s_preds and s_succs.
1760         (compute_cprop_avinout): Use new sbitmap routines.
1761         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
1762         of s_preds and s_succs.
1763         * flow.c (compute_flow_dominators): Compute dominators using
1764         edges and basic blocks instead of s_preds and s_succs.
1766 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
1768         * lists.c (unused_insn_list, unused_expr_list): New file for
1769         maintaining various types of lists. New statics for maintaining a
1770         cache of available INSN_LIST and EXPR_LIST nodes.
1771         (free_list): Static function for freeing a list of INSN/EXPR nodes.
1772         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
1773         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
1774         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
1775         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
1776         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
1777         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
1778         (free_INSN_LIST_node): Free an individual INSN_LIST node.
1779         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
1780         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
1781         (remove_dependence, free_pending_lists): Use new global routines.
1782         (flush_pending_lists, sched_analyze_insn): Use new global routines.
1783         (sched_analyze, compute_block_backward_dependences): Use new routines.
1784         (sched_analyze_1, sched_analyze_2): Use new routines.
1785         (schedule_insns): Use new global routines.
1786         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
1787         prototypes.
1788         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
1789         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
1790         prototypes.
1791         * toplev.c (rest_of_compilation): Initialize node cache.
1792         * Makefile.in (OBJS): Add lists.o to list of object files.
1793         (lists.o): Add dependancies.
1795 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
1797         * config/v850/v850.md: Fix compile time warning messages.
1798         * config/v850/v850.c: Fix compile time warning messages.
1799         * config/v850/v850.h: Fix compile time warning messages.
1801 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1803         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
1804         Remove unused prototype for `init_lengths'.
1806 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1808         * calls.c (emit_call_1): Mark parameter `stack_size' with
1809         ATTRIBUTE_UNUSED.
1810         (expand_call): Initialize variable `insn'.
1811         (emit_library_call): Likewise for variable `high_to_save'.
1812         (emit_library_call_value): Likewise.
1813         (store_one_arg): Likewise for variables `lower_bound' and
1814         `upper_bound'.
1816         * combine.c (try_combine): Likewise for variables `i2_code_number'
1817         and `other_code_number'.
1818         (find_split_point): Likewise for variables `pos', `unsignedp' and
1819         `inner'.
1820         (simplify_if_then_else): Likewise for variables `op' and `c1'.
1821         (simplify_and_const_int): Remove unused variable `width'.
1822         (merge_outer_ops): Likewise.
1824         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
1825         HOST_WIDE_INT' when comparing against one.
1826         (simplify_relational_operation): Likewise.
1827         (cse_insn): Initialize variables `src_eqv_volatile',
1828         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
1830         * final.c (init_final): Constify parameter `filename'.
1831         (final_start_function): Mark parameter `optimize' with
1832         ATTRIBUTE_UNUSED.
1833         (profile_function): Likewise for parameters `first' and `optimize'.
1834         (output_source_line): Likewise for parameter `file'.
1836         * integrate.c (subst_constants): Cast a value to `size_t' when
1837         comparing against one.
1838         (mark_stores): Initialize variable `mode'.  Cast a value to
1839         `size_t' when comparing against one.
1841         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
1843         * loop.c (move_movables): Initialize variable `first'.
1844         (strength_reduce): Likewise for variable `increment'.
1845         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
1846         value to `size_t' when comparing against one.
1847         (load_mems): Initialize variable `end_label'.
1849         * output.h (init_final): Constify parameter.
1851         * reload.c (decompose): Initialize variable `base'.
1853         * reload1.c (reload): Likewise for variable `is_scalar'.
1854         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
1855         (choose_reload_regs): Initialize variable `mode'.
1856         (emit_reload_insns): Likewise for variable `store_insn'.
1857         (reload_cse_noop_set_p): Mark parameter `insn' with
1858         ATTRIBUTE_UNUSED.
1859         (reload_combine): Initialize variable `set'.
1861         * unroll.c (unroll_loop): Likewise for variable `local_label'.
1862         (copy_loop_body): Cast a value to `size_t' when comparing against
1863         one.
1865         * varasm.c (assemble_variable): Initialize variable `size_tree'.
1866         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
1867         (remove_from_pending_weak_list): Mark parameter `name' with
1868         ATTRIBUTE_UNUSED.
1870 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1872         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
1873         gcse dump file.
1875 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
1877         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
1878         (ASM_DECLARE_FUNCTION_NAME): Define.
1879         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
1880         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
1881         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
1882         not already defined.
1884 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1886         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
1887         of n_popped when call/call_value are not defined.
1889 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
1891         * tm.texi: GNU CC -> GCC conversion.
1892         (CC1_SPEC): Indicate it is used for all language front ends.
1894 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
1896         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
1897         NOTE_INSN_EH_REGION_END correctly.
1899 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
1900                           Jeff Law <law@cygnus.com>
1902         * loop.c (strength_reduce): Automatically unroll loops if the
1903         unrolled loop size is smaller than the rolled loop size.
1905         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
1906         and delete comment that code should be rewritten.
1908 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
1910         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
1911         as reachable.
1913         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
1915 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
1917         * fixinc/mkfixinc.sh: Don't fix uwin headers.
1918         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
1919         (LINK_SPEC): Add -u _main when building executables.
1920         (ASM_DECLARE_FUNCTION): Update from Cygwin.
1921         (ASM_FILE_END): Use the default for ix86-pe.
1922         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
1924 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
1926         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
1927         and ASM_CLOSE_PAREN are empty strings.
1929 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
1930                           Geoffrey Keating <geoffk@cygnus.com>
1932         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
1933         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
1934         (unprotoize.o): Ditto.
1935         (test-protoize-simple): Don't define STD_PROTO_DIR.
1936         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
1937         changes to make 'test-protoize-simple' pass.
1938         (STD_PROTO_DIR): Remove define.
1939         (STANDARD_EXEC_PREFIX): Supply default define.
1940         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
1941         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
1942         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
1943         (GET_ENV_PATH_LIST): New macro.
1944         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
1945         (do_processing): Initialize default_syscalls_dir using new
1946         macros.  Use it to initialize syscalls_absolute_filename.
1948 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
1950         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
1951         B into a register before emit_conditional_move.
1953 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
1955         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
1956         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
1957         multiplicand out of (+ (* a b) (* c d)).
1959 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
1960                           Richard Henderson  <rth@cygnus.com>
1962         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
1963         (new_insn_dead_notes): Likewise.
1964         (update_n_sets): Likewise.
1965         (update_flow_info): Move to flow.c, renamed to update_life_info;
1966         extend to handle multiple source insns.
1967         * flow.c: Include resource.h
1968         (unlink_insn_chain): New.
1969         (split_hard_reg_notes): New.
1970         (maybe_add_dead_note): New.
1971         (maybe_add_dead_note_use): New.
1972         (find_insn_with_note): New.
1973         (new_insn_dead_notes): New.
1974         (update_n_sets): New.
1975         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
1976         (maybe_remove_dead_notes): New.
1977         (update_life_info): New.
1978         (prepend_reg_notes): New.
1979         (replace_insns): New.
1980         * output.h (update_life_info): Declare.
1981         * recog.c (split_block_insns): Use update_life_info.
1982         * resource.c (find_free_register): Use reg_alloc_order, don't use
1983         fixed regs, make sure the mode is supported, don't use new regs.
1984         (reg_dead_p): New.
1985         * rtl.h (replace_insns): Declare.
1987 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
1989         * expr.c (expand_expr): Cope with COND_EXPRs with one
1990         non-returning branch.
1992 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
1994         * expr.c (store_expr): Always pass down the target, even when not
1995         doing CSE.
1997 1999-08-24  Nick Clifton  <nickc@cygnus.com>
1999         * configure.in: Define target_cpu_default for v850 targets.
2000         * configure: Regenerate
2002         * config/v850/v850.h (TARGET_CPU_generic): Define.
2003         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
2004         addresses are 4 byte aligned.
2006         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
2007         addresses.
2009 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2011         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
2012         (main): Add prototypes.
2014         * genattrtab.c (substitute_address, write_const_num_delay_slots,
2015         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
2016         (write_attr_get): Emit prototypes along with function definition.
2017         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
2018         (write_complex_function): Emit static prototype along with
2019         function definition.
2021         * genemit.c (gen_split): Emit prototypes along with function
2022         definition.
2024         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
2025         Likewise for predicates and `insn_operand_predicate'.
2026         (process_template): Emit static prototype along with function
2027         definition.
2029         * genrecog.c (make_insn_sequence): Constify a char*.  Add
2030         prototypes for get_split_*().
2031         (write_subroutine): Emit prototypes along with function
2032         definition.
2034 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2036         * gcse.c (find_avail_set): Follow chains of register-register copies.
2037         Use oprs_not_set_p to guarantee that the returned value can be
2038         substituted.
2039         (cprop_insn): Don't verify the return value of find_avail_set with
2040         oprs_not_set_p.
2042         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
2043         (cprop_cc0_jump): New function.
2044         (cprop_insn): Break out new function cprop_jump and use it.
2045         Also use cprop_cc0_jump for machines with CC0.
2046         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
2048         * tree.h (current_function_calls_setjmp,
2049         current_function_calls_longjmp): Delete declarations.
2050         * dsp16xx.c: Include "function.h".
2051         * elxsi.c: Likewise.
2052         * gmicro.c: Likewise.
2053         * h8300.c: Likewise.
2054         * i370.c: Likewise.
2055         * m32r.c: Likewise.
2056         * mn10200.c: Likewise.
2057         * mn10300.c: Likewise.
2058         * ns32k.c: Likewise.
2059         * spur.c: Likewise.
2060         * v850.c: Likewise.
2062         * rtl.h (rtx_equal_function_value_matters): Declare.
2063         * toplev.c (rtx_equal_function_value_matters): Don't declare.
2064         * cse.c: Likewise.
2065         * function.c: Likewise.
2066         * emit-rtl.c: Likewise.
2068 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
2070         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
2071         call.
2073 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2075         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
2076         exactly.
2078 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
2080         * cpp.texi: Add a node documenting macro varargs (copied
2081         from extend.texi).
2083 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
2085         * cppspec.c: Put a null pointer at the end of the new argv.
2087 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
2089         * configure.in: Remove code to select/de-select the haifa
2090         scheduler.  Every scheduled port gets haifa now.
2091         * configure: Rebuilt.
2092         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
2093         * sched.c Deleted.
2094         * Makefile.in: Corresponding changes.
2096 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2098         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
2099         All callers changed.
2100         (prepare_float_lib_cmp): Likewise.
2101         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
2102         * expr.h (emit_float_lib_cmp): Delete declaration.
2103         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
2104         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
2105         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
2106         specially.
2107         (cmptf): Now conditional on TARGET_HARD_QUAD.
2109 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
2111         * resource.c (mark_target_live_regs): Use
2112         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
2114 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2116         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
2118         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
2120         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
2122 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2124         * rtl.h (rtx_format): Constify a char*.
2126         * rtl.c (rtx_format): Likewise.
2127         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
2128         (init_rtl): Use accessor macro, not `rtx_format'.
2130         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
2131         char*.
2133         * caller-save.c (mark_referenced_regs): Likewise.
2135         * combine.c (subst, make_compound_operation, known_cond,
2136         gen_rtx_combine, update_table_tick, get_last_value_validate,
2137         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
2139         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
2140         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
2141         count_reg_usage): Likewise.
2143         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
2144         Likewise.
2146         * final.c (leaf_renumber_regs_insn): Likewise.
2148         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
2149         dump_edge_info, count_reg_references): Likewise.
2151         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
2152         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
2153         Likewise.
2155         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
2156         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
2157         add_label_notes): Likewise.
2159         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
2160         clear_struct_flag, count_sub_rtxs, count_alternatives,
2161         compares_alternatives_p, contained_in_p, walk_attr_value,
2162         write_expr_attr_cache): Likewise.
2164         * genconfig.c (walk_insn_part): Likewise.
2166         * genemit.c (max_operand_1, gen_exp): Likewise.
2168         * genextract.c (walk_rtx): Likewise.
2170         * genflags.c (num_operands): Likewise.
2172         * genoutput.c (scan_operands): Likewise.
2174         * genpeep.c (match_rtx): Likewise.
2176         * genrecog.c (add_to_sequence): Likewise.
2178         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
2179         Likewise.
2181         * integrate.c (save_constants, copy_for_inline,
2182         copy_rtx_and_substitute, subst_constants, restore_constants):
2183         Likewise.
2185         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
2186         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
2188         * local-alloc.c (contains_replace_regs, memref_referenced_p):
2189         Likewise.
2191         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
2192         add_label_notes, replace_call_address, count_nonfixed_reads,
2193         invariant_p, find_single_use_in_loop, find_mem_givs,
2194         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
2195         Likewise.
2197         * print-rtl.c (reg_names, print_rtx): Likewise.
2199         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
2201         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
2202         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
2203         print_blocks): Likewise.
2205         * regclass.c (fix_register, record_address_regs,
2206         reg_scan_mark_refs): Likewise.
2208         * regmove.c (stable_but_for_p): Likewise.
2210         * reload.c (loc_mentioned_in_p, operands_match_p,
2211         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
2212         copy_replacements, refers_to_regno_for_reload_p,
2213         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
2214         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
2215         Likewise.
2217         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
2218         delete_address_reloads_1, count_occurrences,
2219         reload_cse_mem_conflict_p, reload_combine_note_use,
2220         add_auto_inc_notes): Likewise.
2222         * resource.c (mark_referenced_resources, mark_set_resources):
2223         Likewise.
2225         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
2226         reg_mentioned_p, regs_set_between_p, modified_between_p,
2227         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
2228         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
2229         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
2230         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
2232         * sched.c (sched_analyze_2, attach_deaths): Likewise.
2234         * stupid.c (stupid_mark_refs): Likewise.
2236         * unroll.c (remap_split_bivs): Likewise.
2238         * varasm.c (mark_constants): Likewise.
2240         * a29k/a29k.c (uses_local_reg_p): Likewise.
2242         * alpha/alpha.c (summarize_insn): Likewise.
2244         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
2245         eliminate_lr2ip): Likewise.
2247         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
2249         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
2250         reg_mentioned_in_mem): Likewise.
2252         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
2253         symbolic_reference_mentioned_p): Likewise.
2255         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
2257         * sh/sh.c (regs_used, mark_use): Likewise.
2259         * vax/vax.c (vax_rtx_cost): Likewise.
2261 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2263         * machmode.h (mode_name): Constify a char*.
2265         * rtl.c (mode_name): Likewise.
2267         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
2269         * optabs.c (init_libfuncs): Constify a char*.
2271         * print-tree.c (mode_name): Remove redundant declaration.
2272         (print_node): Use accessor macro, not `mode_name'.
2274         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
2275         not `mode_name'.
2276         (new_spill_reg): Constify a char*.
2278         * tree.c (mode_name): Remove redundant declaration.
2280 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2282         * rtl.c (rtx_name): Constify a char*.
2284         * rtl.h (rtx_name, fix_sched_param): Likewise.
2286         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
2287         (mypr): Use accessor macro, not `rtx_name'.
2289         * genemit.c (print_code): Constify a char*.
2291         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
2293         * genpeep.c (print_code): Constify a char*.
2295         * genrecog.c (print_code): Likewise.
2297         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
2298         end_bb): Add static prototype.
2299         (draw_edge): Constify a char*.
2300         (end_bb): Remove unused parameter.
2302         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
2303         print_block_visualization): Constify a char*.
2305 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
2307         * c-common.c (c_get_alias_set): Update comment.
2309 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2311         * linux.h (LIB_SPEC): Added.
2313 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2315         * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
2317 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
2319         * tree.c (expr_check): Fix typo in last change.
2321 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
2323         * rtl.def (NOTE): Change format to "iuu0n".
2324         (ADDR_DIFF_VEC): Change format to "eEee0".
2325         (ADDRESSOF): Change format to "eit".
2327         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
2328         (RTVEC_ELT): Change to match.
2329         (XVECEXP): Use XVEC and RTVEC_ELT.
2330         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
2331         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
2332         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
2333         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
2334         TRAP_CONDITION, TRAP_CODE): Use XEXP.
2335         (INTVAL): Use XWINT.
2336         (ADDRESSOF_DECL): Use XTREE.
2337         (SET_ADDRESSOF_DECL): Delete.
2338         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
2339         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
2340         ifdefed out since 2.6 at least.
2341         (gen_rtvec_vv): Delete prototype.
2343         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
2344         not rtunion.
2345         (copy_most_rtx): Handle 't' format letter.
2346         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
2347         (gen_rtvec_vv): Delete function.  All callers changed to use
2348         gen_rtvec_v instead.
2349         * print-rtl.c (print_rtx): Move special casing of NOTEs to
2350         the '0' format letter.
2352         * function.c (gen_mem_addressof): Don't use
2353         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
2354         instead.
2355         * integrate.c (copy_rtx_and_substitute): Likewise.
2356         Copy 't' slots with XTREE.
2357         (subst_constants): Treat 't' slots like '[swi]' slots.
2358         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
2359         * jump.c (rtx_equal_for_thread_p): Likewise.
2360         * rtlanal.c (rtx_equal_p): Likewise.
2361         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
2362         only four arguments.
2363         * gengenrtl.c (type_from_format): Provide correct types for
2364         'b' and 't' slots.
2367         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
2368         If a recent gcc is in use (always in stage2 and beyond), use
2369         statement expressions, so we don't make a function call unless
2370         the check fails.  Evaluate arguments exactly once.
2371         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
2372         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
2373         Delete.
2374         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
2375         they evaluate their arguments exactly once, irrespective of
2376         the compiler in use.
2378         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
2379         is used by the currently-enabled check macros.  This is:
2380         (tree_check_failed, tree_class_check_failed): For gcc.
2381         (tree_check, tree_class_check, cst_or_constructor_check,
2382         expr_check): For other compilers.
2384         * gencheck.c: Do not define any *_CHECK1 macros.
2386 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
2387                           Mark Mitchell <mark@codesourcery.com>
2389         * c-common.c (c_get_alias_set): Fix support for poitners and
2390         references.
2392 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
2394         * alias.c: Include tree.h.
2395         (nonlocal_reference_p, mark_constant_function): New functions.
2396         * flow.c (life_analysis): Call mark_constant_function.
2397         * rtl.h (mark_constant_function): Declare it.
2399 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
2401         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
2402         unrecognisable switches.
2404 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2406         * loop.c (recombine_givs): Set ix field after sorting.
2407         (recombine_givs): Remove bogus index / giv lockstep looping.
2409 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2411         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
2412         on CODE.
2413         (emit_store_flag_force): Use do_compare_rtx_and_jump.
2414         (do_cmp_and_jump): Formatting fixes.
2415         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
2416         do_compare_rtx_and_jump instead of compare_from_rtx.
2417         (do_compare_rtx_and_jump): New function; mostly copied from
2418         compare_from_rtx.
2419         (do_jump_for_compare): Delete.
2420         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
2421         MIN_EXPR.
2422         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
2423         of compare/do_jump_for_compare pairs.
2424         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
2425         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
2426         compare_from_rtx/do_jump_for_compare pairs.
2427         (do_jump_by_parts_equality): Likewise.
2428         (do_jump_by_parts_equality_rtx): Likewise.
2429         * expr.h (do_compare_rtx_and_jump): Declare.
2430         * optabs.c (prepare_cmp_insn): New function, contains most of the code
2431         that used to be in emit_cmp_insn.
2432         (cmp_available_p): New function.
2433         (prepare_operand): New function.
2434         (emit_cmp_and_jump_insn_1): New function, contains some code that used
2435         to be in emit_cmp_insn.
2436         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
2437         parameters to be pointers; don't emit final compare but modify some of
2438         the values pointed to by the args so the caller can perform the
2439         correct comparison.
2440         (expand_binop): Call emit_store_flag_force with signed forms of
2441         comparison code.
2442         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
2443         emit_jump_insn pair.
2444         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
2445         emit_cmp_and_jump_insn_1.  Call emit_queue.
2446         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
2447         arg.
2448         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
2449         jump sets cc0 before deleting it.
2450         * integrate.c (expand_inline_function): Likewise.
2451         * unroll.c (unroll_loop): Similar changes in several places.
2452         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
2453         before deleting it.
2455 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2457         * Makefile.in (insn-recog.o): Update dependencies.
2458         * genrecog.c (main): Make generated file include "function.h".
2460 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
2462         * cse.c (cse_insn): Call never_reached_warning when a jump is
2463         changed to be unconditional.
2464         * flags.h: Declare warn_notreached.
2465         * flow.c (delete_block): Call never_reached_warning when
2466         a block is deleted.
2467         * jump.c (delete_barrier_successors): Call never_reached_warning
2468         when we delete everything after a BARRIER.
2469         (never_reached_warning): New function.
2470         * rtl.h: Declare never_reached_warning.
2471         * toplev.c (warn_notreached): New variable.
2472         (lang_independent_options): Set warn_notreached
2473         when -Wunreachable-code.
2474         (compile_file): We need line numbers for -Wunreachable-code.
2476 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
2478         * haifa-sched.c (insn_unit): Fix typo on out of range test.
2479         * sched.c (insn_unit): Likewise.
2481 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
2483         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
2485 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
2487         * flow.c (create_edge_list): Use xmalloc, not malloc.
2489 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
2491         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
2492         C-style comments.  Do not lose the character before double slash.
2494 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
2496         * basic-block.h (struct edge_list): Stucture to maintain a vector
2497         of edges.
2498         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
2499          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
2500         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
2501         New function prototypes.
2502         * flow.c (create_edge_list): Function to create an edge list.
2503         (free_edge_list): Discards memory used by an edge list.
2504         (print_edge_list): Debug output showing an edge list.
2505         (verify_edge_list): Internal consistency check for an edge list.
2506         (find_edge_index): Function to find an edge index for a pred and succ.
2508 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
2510         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
2511         hashtable.
2513 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
2515         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
2517 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2519         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
2521 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
2523         * toplev.c (rest_of_compilation): Allow machine dependent
2524         reorganisation pass to place information into the RTL dump
2525         file if it so wishes.
2527 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
2529         * explow.c (hard_function_value): Use VOIDmode instead of
2530         MAX_MACHINE_MODE.
2531         * stmt.c (expand_return): Likewise.
2532         * stor-layout.c (get_best_mode): Likewise.
2534         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
2535         emit call instead of emit_insn call.
2537 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2539         * configure.in: Handle --disable/enable-win32-registry.
2540         * install.texi: Document --disable/enable-win32-registry.
2541         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
2542         (WIN32_REGISTRY_KEY): New macro.
2543         * prefix.c: Use to enable/disable win32-specific code.
2544         (lookup_key): Use versioned key.
2545         * configure: Regenerate.
2546         * config.in: Likewise.
2548 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
2550         * cpplib.c (read_line_number): New fn, split out of...
2551         (do_line): Here.
2553 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
2555         tree.c (lang_unsave_expr_now) : New.
2556         (unsave_expr_now): Call lang_unsave_expr_now.
2557         tree.h (lang_unsave_expr_now) : New.
2559 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
2561         * toplev.c (flag_new_exceptions): On by default.
2563 1999-08-13  Michael Meissner  <meissner@cygnus.com>
2565         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
2567 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
2569         * dwarfout.c (fundamental_type_code): Return FT_boolean for
2570         INTEGER_TYPE with precision==1, it's __java_boolean.
2572 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2574         * global.c (prune_preferences): Move some invariants out of the
2575         inner loop.
2577 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
2579         * configure.in (alpha*-dec-osf*): Add osf5.
2581 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
2583         * configure.in: Rework handling of ARM GNU/Linux slightly.
2584         (arm*-*-linux-gnuoldld): New target.
2585         * configure: Regenerate.
2586         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
2587         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
2588         * config/arm/linux-oldld.h: New file.
2589         * config/arm/linux-elf26.h: Don't include linux-elf.h.
2590         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
2591         Don't define.
2592         * config/arm/linux-elf.h (ASM_SPEC): Define.
2593         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
2594         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
2595         for 26-bit APCS and old linker.
2596         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
2597         `arm_elf'.
2598         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
2599         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
2600         don't define `arm' or `arm_elf'.
2601         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
2602         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
2604 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
2606         * rtl.texi: Fix typo.
2608 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
2610         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
2612 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
2614         * extend.texi (C++ Signatures): Remove node.
2615         * invoke.texi: Remove discussion of -fhandle-signatures,
2616         signature, sigof, __signature__, and __sigof__.
2618 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
2620         * Makefile.in (JAVAGC): Removed.
2622 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2624         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
2626 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
2628         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
2630 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
2632         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
2633         a register that is already known to be a pointer.
2635 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
2637         * fixinc/inclhack.tpl: Only install assert.h conditionally.
2638         * fixinc/inclhack.sh: Regenerated.
2639         * fixinc/fixincl.sh: Regenerated.
2641 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
2643         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
2644         Fix documentation of -ansi flag to describe its C++ behavior.
2645         Remove bogus reference to GCC 2.9.
2647 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
2649         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
2650         note if it is non-NULL.
2652 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
2654         * except.h (eh_nesting_info): Add new structure defintion.
2655         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
2656         (reachable_handlers, update_rethrow_references): Add function
2657         prototypes.
2658         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
2659         a rethrow symbol instead of an integer exception region number.
2660         * flow.c (Make_edges): Use new exception nesting routines to determine
2661         which handlers are reachable from a CALL or asynchronous insn.
2662         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
2663         goto receivers.
2664         (delete_eh_regions): Update rethrow labels, and don't delete
2665         regions which are the target of a rethrow.
2666         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
2667         avoid overloading the SYMBOL_REF_USED flag.
2668         (rethrow_symbol_map): Use new rethrow_ref field.
2669         (rethrow_used): Use new rethrow_ref field.
2670         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
2671         of an integer.  Fix formatting.
2672         (output_exception_table_entry): Use new rethrow_ref field.
2673         (can_throw): Check for EH_REGION_NOTE before deciding
2674         whether a CALL can throw or not.
2675         (scan_region): Call rethrow_used() instead of accessing data structure.
2676         (update_rethrow_references): New function to make sure only regions
2677         which are still targets of a rethrow are flagged as such.
2678         (process_nestinfo): New static function to initialize a handler
2679         list for a specific region.
2680         (init_eh_nesting_info): New function to allocate and initialize
2681         the list of all EH handlers reachable from all regions.
2682         (reachable_handlers): New function to retrieve the list of handlers
2683         reachable from a specific region and insn.
2684         (free_eh_nesting_info): New function to dispose of a list of
2685         reachable handlers.
2687 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
2689         * flow.c (split_edge): Set JUMP_LABEL field.
2690         (commit_one_edge_insertion): Set head correctly for insert_before.
2691         When inserting insns, update insn block numbers if allocated.
2693 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2695         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
2696         retry_incomplete_types): Add static prototype.
2697         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
2698         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
2699         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
2700         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
2701         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
2702         Constify a char*.
2704         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
2705         dwarf2out_start_source_file, dwarf2out_line): Likewise.
2707 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2709         * output.h (assemble_name): Constify a char*.
2711         * varasm.c (UNIQUE_SECTION, assemble_start_function,
2712         assemble_variable, assemble_name): Likewise.
2714         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
2716         * arm/pe.c (arm_pe_unique_section): Likewise.
2718         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
2720         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
2722         * i386/interix.c (i386_pe_unique_section): Likewise.
2724         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
2726         * i386/winnt.c (i386_pe_unique_section): Likewise.
2728         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
2730         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
2732         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
2734         * pa/pa.c (output_call): Likewise.
2736         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
2738         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
2740         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
2741         Likewise.
2743         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
2744         Likewise.
2746         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2748         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
2749         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
2751         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
2753 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2755         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
2757 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2759         * tree.h (lang_identify): Constify a char*.
2760         (print_error_function): Add extern prototype.  Constify a char*.
2762         * c-lang.c (lang_identify): Constify a char*.
2764         * objc/objc-act.c (lang_identify): Constify a char*.
2766 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2768         * genpeep.c (main): Make generated file include "function.h".
2769         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
2771 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2773         * Makefile.in: Update dependencies.
2774         * alias.c: Include "function.h"
2775         * c-decl.c: Likewise.
2776         * caller-save.c: Likewise.
2777         * calls.c: Likewise.
2778         * combine.c: Likewise.
2779         * cse.c: Likewise.
2780         * explow.c: Likewise.
2781         * final.c: Likewise.
2782         * global.c: Likewise.
2783         * graph.c: Likewise.
2784         * local-alloc.c: Likewise.
2785         * loop.c: Likewise.
2786         * optabs.c: Likewise.
2787         * profile.c: Likewise.
2788         * recog.c: Likewise.
2789         * regclass.c: Likewise.
2790         * regmove.c: Likewise.
2791         * reload.c: Likewise.
2792         * reorg.c: Likewise.
2793         * resource.c: Likewise.
2794         * sched.c: Likewise.
2795         * stupid.c: Likewise.
2796         * config/1750a/1750a.c: Likewise.
2797         * config/a29k/a29k.c: Likewise.
2798         * config/arc/arc.c: Likewise.
2799         * config/arm/arm.c: Likewise.
2800         * config/arm/thumb.c: Likewise.
2801         * config/c4x/c4x.c: Likewise.
2802         * config/clipper/clipper.c: Likewise.
2803         * config/convex/convex.c: Likewise.
2804         * config/fx80/fx80.c: Likewise.
2805         * config/i860/i860.c: Likewise.
2806         * config/m68k/m68k.c: Likewise.
2807         * config/m88k/m88k.c: Likewise.
2808         * config/mips/mips.c: Likewise.
2809         * config/pdp11/pdp11.c: Likewise.
2810         * config/pyr/pyr.c: Likewise.
2811         * config/romp/romp.c: Likewise.
2812         * config/sh/sh.c: Likewise.
2813         * config/tahoe/tahoe.c: Likewise.
2814         * config/vax/vax.c: Likewise.
2815         * config/we32k/we32k.c: Likewise.
2816         * config/sparc/sparc.c: Include "function.h".
2817         (mem_min_alignment): Test current_function rather than
2818         regno_pointer_align.
2819         * config/pa/pa.c: Likewise.
2820         (compute_frame_size): Delete declaration of
2821         current_function_outgoing_args_size.
2822         * config/arc/arc.h (current_function_varargs): Delete declaration.
2823         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
2824         declaration.
2825         * config/i370/i370.h (current_function_outgoing_args_size): Delete
2826         declaration.
2827         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
2828         current_function_uses_pic_offset_table.
2829         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
2830         of current_function_returns_pointer.
2831         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2832         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2833         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2834         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2835         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2836         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2837         * config/m88k/m88k.c: Include "function.h"
2838         (call_used_regs, current_function_pretend_args_size,
2839         current_function_outgoing_args_size, frame_pointer_needed): Delete
2840         declarations.
2841         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
2842         declaration.
2843         * config/mips/mips.h (current_function_calls_alloca): Delete
2844         declaration.
2845         * config/mn10200/mn10200.h (current_function_needs_context,
2846         rtx_equal_function_value_matters): Delete declarations.
2847         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
2848         flag_pic): Delete declarations.
2849         * config/pa/pa.h (current_function_pretend_args_size,
2850         current_function_decl): Delete declarations.
2851         * config/pa/som.h (current_function_varargs): Delete declaration.
2852         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
2853         declaration.
2854         * config/pyr/pyr.h (current_function_pretend_args_size,
2855         current_function_args_size, current_function_calls_alloca): Delete
2856         declarations.
2857         * config/sh/sh.h (current_function_varargs): Delete declaration.
2858         * config/sparc/sparc.h (current_function_outgoing_args_size,
2859         current_function_calls_alloca, current_function_decl): Delete
2860         declarations.
2861         * config/spur/spur.h (current_function_pretend_args_size,
2862         current_function_calls_alloca): Delete declarations.
2863         * config/v850/v850.c (current_function_outgoing_args_size): Delete
2864         declaration.
2865         * config/vax/vms.h (current_function_name): Delete declaration.
2866         * gcse.c: Include "function.h".
2867         (current_function_name, current_function_calls_setjmp): Delete
2868         declarations.
2869         * haifa-sched.c: Include "function.h".
2870         (forced_labels): Delete declaration.
2871         * jump.c: Likewise.
2872         * reg-stack.c: Likewise.
2873         * reload1.c: Likewise.
2874         * genemit.c (main): Make generated file include function.h.
2875         * genoutput.c (output_prologue): Likewise.
2877         * builtins.c (saveregs_value, apply_args_value): Delete variables.
2878         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
2879         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
2880         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
2881         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
2882         macros for some of them.
2883         (emit_filename, emit_lineno): Delete declarations.
2884         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
2885         regno_pointer_* variables through current_function.
2886         (gen_inline_header_rtx): Delete function.
2887         (save_emit_status): Delete function.
2888         (set_new_last_label_num): New function.
2889         (clear_emit_caches): New function.
2890         (restore_emit_status): Just clear last_labelnum and call
2891         clear_emit_caches.
2892         (get_last_insn_anywhere): Variable sequence_stack is now accessed
2893         through macro seq_stack.
2894         (add_insn_after): Likewise.
2895         (add_insn_before): Likewise.
2896         (remove_insn): Likewise.
2897         (pop_topmost_sequence): Likewise.
2898         (in_sequence_p): Likewise.
2899         (start_sequence_for_rtl_expr): Likewise.
2900         (start_sequence): Likewise, and likewise for
2901         sequence_rtl_expr/seq_rtl_expr.
2902         (push_topmost_sequence): Likewise.
2903         (end_sequence): Likewise.
2904         (init_virtual_regs): Now takes a "struct emit_status *" argument.
2905         All callers changed.  Store into that pointer instead of globals.
2906         (init_emit): Allocate emit elt of current_function.
2907         Changes for sequence_rtl_expr/sequence_stack renaming.
2908         Call clear_emit_caches instead of doing it in-line.
2909         Access regno_pointer_* variables through current_function.
2910         (init_emit_once) Don't clear sequence_stack.
2912         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
2913         Delete variables.
2914         (arg_pointer_save_area): Delete declaration.
2915         (finish_expr_for_function): Renamed from init_queue; no longer static.
2916         (init_expr): Don't call init_queue.
2917         (save_expr_status, restore_expr_status): Delete functions.
2918         (expand_expr): Changes to reflect new layout of struct function.
2919         Don't access current_function_check_memory_usage when current_function
2920         is 0.
2921         * expr.h (forced_labels, save_expr_regs, saveregs_value,
2922         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
2923         current_function_outgoing_args_size, current_function_arg_offset_rtx,
2924         current_function_uses_const_pool, function_call_count,
2925         current_function_uses_pic_offset_table, nonlocal_labels,
2926         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
2927         current_function_check_memory_usage, nonlocal_goto_handler_slots,
2928         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
2929         declarations.
2930         (finish_expr_for_function): Declare.
2931         * flags.h (current_function_has_nonlocal_label,
2932         current_function_has_nonlocal_goto, current_function_is_thunk,
2933         current_function_has_computed_jump): Delete declarations.
2934         * flow.c (forced_labels): Delete declaration.
2935         * function.c (current_function_pops_args,
2936         current_function_returns_struct, current_function_returns_pcc_struct,
2937         current_function_needs_context, current_function_calls_setjmp,
2938         current_function_calls_longjmp, current_function_has_nonlocal_label,
2939         current_function_has_nonlocal_goto, current_function_is_thunk,
2940         current_function_has_computed_jump, current_function_calls_alloca,
2941         current_function_contains_functions, current_function_returns_pointer,
2942         current_function_epilogue_delay_list, current_function_args_size,
2943         current_function_pretend_args_size, current_function_arg_offset_rtx,
2944         current_function_outgoing_args_size, current_function_varargs,
2945         current_function_stdarg, current_function_args_info, cleanup_label,
2946         current_function_name, current_function_uses_const_pool,
2947         current_function_instrument_entry_exit, current_function_return_rtx,
2948         current_function_uses_pic_offset_table, nonlocal_labels,
2949         current_function_internal_arg_pointer, current_function_cannot_inline,
2950         current_function_check_memory_usage, function_call_count,
2951         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
2952         nonlocal_goto_stack_level, return_label, save_expr_regs,
2953         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
2954         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
2955         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
2956         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
2957         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
2958         Delete variables.
2959         (push_function_context_to): Don't save them.  Don't call
2960         save_storage_status, save_emit_status or save_expr_status.
2961         (pop_function_context_from): Don't restore them.  Don't call
2962         restore_storage_status or restore_expr_status.
2963         (get_func_frame_size): New function.
2964         (get_frame_size): Use it.
2965         (assign_outer_stack_local): Reflect some member name changes in struct
2966         function.
2967         (put_reg_into_stack): Likewise.
2968         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
2969         seq_rtl_expr.
2970         (fixup_var_refs): Likewise.
2971         (fix_lexical_addr): Likewise.
2972         (trampoline_address): Likewise.
2973         (prepare_function_start): Clear field inlinable of current_function.
2974         (init_function_for_compilation): New function.
2975         (expand_dummy_function_end): New function.
2976         (expand_function_end): Call finish_expr_for_function.
2977         * function.h (struct emit_status): New; fields moved here from struct
2978         function and from global variables.  Add accessor macros for some of
2979         the fields.
2980         (struct expr_status): Likewise.
2981         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
2982         (struct function): Add fields expr and emit, inlinable, inl_emit,
2983         original_arg_vector, original_decl_initial, inl_last_parm_insn,
2984         inl_max_label_num.  Add many comments.
2985         Add accessor macros for all elts of struct function that no longer
2986         have a global variable.
2987         (cleanup_label, return_label, frame_offset, tail_recursion_label,
2988         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
2989         stack_slot_list): Delete declarations.
2990         (get_func_frame_size): Declare.
2991         (save_expr_status, restore_expr_status, save_emit_status,
2992         save_storage_status, restore_storage_status): Delete declarations.
2993         (init_virtual_regs): Declare.
2994         * output.h (current_function_pops_args,
2995         current_function_returns_struct, current_function_returns_pcc_struct,
2996         current_function_needs_context, current_function_calls_setjmp,
2997         current_function_calls_longjmp, current_function_calls_alloca,
2998         current_function_has_nonlocal_label, current_function_varargs,
2999         current_function_has_computed_jump, current_function_returns_pointer,
3000         current_function_contains_functions, current_function_args_size,
3001         current_function_pretend_args_size, current_function_stdarg,
3002         current_function_outgoing_args_size, current_function_args_info,
3003         current_function_name, current_function_return_rtx,
3004         current_function_epilogue_delay_list,
3005         current_function_uses_const_pool, current_function_cannot_inline):
3006         Delete declarations.
3007         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
3008         regno_reg_rtx): Delete declaration.
3009         (REGNO_POINTER_FLAG): Delete macro.
3010         * stmt.c (expand_goto): Changes to reflect that some fields in struct
3011         function were renamed.
3012         * stor-layout.c (save_storage_status, restore_storage_status): Delete
3013         functions.
3014         * toplev.c: Include "function.h".
3015         (current_function_decl): Delete declaration.
3016         (compile_file): Call init_dummy_function_start and
3017         expand_dummy_function_end around some initializations that need to
3018         emit rtl.
3019         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
3020         Call init_function_for_compilation.
3021         * unroll.c: Include "function.h"
3022         (unroll_loop): Access regno_pointer_* variables through
3023         current_function.
3025         * tree.h (struct tree_decl): Add elt f to saved_insns member.
3026         (DECL_SAVED_INSNS): use it.
3027         (expand_dummy_function_end): Declare.
3028         (init_function_for_compilation): Declare.
3029         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
3030         that it's no longer an INLINE_HEADER.
3031         (expand_call): Likewise.
3032         * integrate.c (finish_inline): Delete function.
3033         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
3034         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
3035         args.  Don't generate an INLINE_HEADER rtx, just return the arg
3036         vector.  All callers changed.
3037         (save_for_inline_copying):  Create a duplicate struct emit_status to
3038         hold the emit state for compiling the current function.  Use this and
3039         the other new fields in struct function that are for integration
3040         instead of an INLINE_HEADER.
3041         Use memcpy instead of bcopy.
3042         Store the current struct function in DECL_SAVED_INSNS of fndecl.
3043         (save_for_inline_nocopy): Similar changes, except no new emit_status
3044         is needed here.
3045         (expand_inline_function): Get information from function structure,
3046         not from an inline header rtx.
3047         (output_inline_function): Lose code to extract the necessary
3048         information from an inline header; simply put back the function
3049         structure into current_function.  Clear its inlinable elt.
3050         * rtl.def (INLINE_HEADER): Delete.
3051         * rtl.h: Delete all accessors for an INLINE_HEADER.
3052         (gen_inline_header_rtx): Delete declaration.
3053         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
3054         Delete declarations.
3055         (REGNO_POINTER_ALIGN): Delete.
3056         (clear_emit_caches): Declare.
3057         (set_new_last_label_num): Declare.
3059 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
3061         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
3063         * except.c (expand_eh_region_start_for_decl): Always start a new block.
3064         * stmt.c (is_eh_region): Make sure current_function is present, too.
3066 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
3068         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
3069         for 64bit PA targets.
3071         * pa.h (SELECT_SECTION): Define.
3072         * som.h (SELECT_SECTION): Delete.
3074 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3076         * alias.c (init_alias_analysis): Wrap call to
3077         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
3079 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
3081         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
3082         <sys/asm.h> contains an asm comment with an apostrophe
3083         * fixinc/inclhack.sh:  regen
3084         * fixinc/fixincl.x:  regen
3086 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
3088         * function.c (init_function_start): Clear prologue & epilogue.
3089         (prologue_epilogue_contains): New function.
3090         * alias.c (init_alias_analysis): Use it.
3091         * rtl.h (prologue_epilogue_contains): Declare it.
3093 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
3095         * jump.c (onlyjump_p): New function.
3096         * rtl.h: Declare it.
3097         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
3098         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
3100 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
3102         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
3103         to invert loops.  Simplify block scanning.
3105 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
3107         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
3108         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
3110 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
3112         * config/sparc/liteelf.h: New file to support sparclite-elf target
3113         * config/sparc/t-sp86x: New file to support sparc86x targets
3114         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
3115         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
3116         * configure.in: Support above target triplets
3117         * configure: Regenerated
3119 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
3121         * fixinc/server.c (server_setup): Do not prefix function used as
3122         parameter with `&'.
3124 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
3126         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
3127         Remove fp reg alternatives.
3129 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
3131         * Makefile.in (TAROUTOPTS): Kill.
3132         (install-headers-tar): Use "xpf" for tar headerfile extraction
3133         * i370/x-oe (TAROUTOPTS): Delete.
3134         * m68k/x-apollo68 (TAROUTOPTS): Delete.
3135         * m68k/x-hp320 (TAROUTOPTS): Delete.
3136         * m68k/x-hp320g (TAROUTOPTS): Delete.
3137         * gcc.texi: Update bug reporting text.
3139 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3141         * reg-stack.c (change_stack) Fixed problem with negative array index.
3143 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
3145         * extend.texi, install.texi: Fix spelling mistakes.
3147         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
3148         (s-attrtab); No longer try to use pre-made insn-attrtab file.
3149         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
3150         PREMADE_ATTRTAB_MD.
3151         * mips/t-ecoff: Likewise.
3152         * mips/t-elf: Likewise.
3153         * mips/t-mips: Likewise.
3154         * mips/t-osfrose: Likewise.
3155         * mips/t-r3900: Likewise.
3156         * mips/t-svr3: Likewise.
3157         * mips/t-svr4: Likewise.
3158         * mips/t-ultrix: Likewise.
3160         * gcc.texi: Document recommend means to provide software floating
3161         point libraries in libgcc.a
3163 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
3165         * c-lex.c (yylex): We can have a number with no digits.
3167 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
3169         * jump.c (delete_prior_computation): New function, broken
3170         out of delete_computation.  Check for side effects with
3171         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
3172         multi-word hard registers.
3173         (delete_computation): Use it.  Check for side effects with
3174         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
3175         missing REG_DEAD note for a register which is both set and
3176         used by an insn.
3178 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
3180         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
3181         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
3182         (ASM_FILE_START): Import _mcount with the right type.
3183         (ASM_DECLARE_FUNCTION_NAME): Define.
3184         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
3185         * pa.c (output_function_prologue): Always emit the function's label
3186         here.
3187         * pa.h (TEXT_SPACE_P): Define.
3188         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
3189         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
3190         * som.h (TEXT_SPACE_P): Delete.
3191         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
3192         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
3194 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
3196         * expr.c (emit_group_load): Allow src to be a CONCAT.
3198 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3200         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
3201         (___mulsi3): Use '!' comment character.
3203 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3205         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
3207 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
3209         * gcc.c: Update URLs and mail addresses.
3210         * gcc.texi: Likewise.
3212 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
3214         * rs6000.c (current_file_function_operand): Return zero for
3215         weak functions.
3216         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
3217         weak symbols.
3218         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
3219         for weak symbols.
3221 Thu Aug  5 00:56:30 1999  Geoffrey Keating   <geoffk@cygnus.com>
3223         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
3224         allocate space in the stack frame for the PIC register.
3226 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
3228         * m68k.md (xordi3, anddi3): These patterns are not available on
3229         the coldfire.
3231 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
3233         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
3234         (PUT_REAL): Likewise.
3236 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3238         * final.c (shorten_branches): Don't add an alignment for loops
3239         that have no label inside.
3241 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3243         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
3244         prototypes in macro HAVE_cmpstrsi.
3246         * cpplib.c (cpp_get_token): Remove unused label `op3'.
3248         * emit-rtl.c (operand_subword): Remove unused variable
3249         `bits_per_word'.
3251         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
3253         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
3255 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
3257         * cpphash.c (macroexpand): Delete leading whitespace when arg
3258         is concatenated before.
3259         (unsafe_chars): Correct test for whether + and - can extend a
3260         token.
3262         * cppinit.c (cpp_start_read): Do dependencies for
3263         -include/-imacros files also.
3265         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
3266         tokenizing non-directive lines.
3267         (cpp_expand_to_buffer): Temporarily disable no-output mode.
3268         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
3269         the input file.
3271 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
3273         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
3275         * c-lex.c: Sync with C++ frontend.
3276         (linemode): New variable.
3277         (parse_float): imag, conversion_errno, and type are output only.
3278         (yylex): Adjust.  Move initial '.' case into main switch.
3279         Use linemode.
3280         (handle_generic_pragma): Just deal with tokens.
3281         (readescape): Use ISXDIGIT and ISGRAPH.
3282         * c-parse.in: Add END_OF_LINE token.
3284         * c-lex.c (lang_init): Generalize.
3285         (nextchar): Remove.  Replace uses with UNGETC.
3286         (skip_white_space): Handle linemode here.  Optimize for cpplib.
3287         (skip_white_space_on_line): Remove.
3288         (extend_token_buffer_to): New fn.
3289         (extend_token_buffer): Use it.
3290         (read_line_number, check_newline): Just deal with tokens.
3291         (token_getch, token_put_back): New fns.
3292         (yylex): Use them.  More cpplib optimizations.  Simplify.
3294 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
3295                           Jason Merrill  <jason@yorick.cygnus.com>
3297         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
3298         (consume_string): Make this smart about USE_CPPLIB.
3299         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
3300         (yylex): Rewrite to be intelligent about USE_CPPLIB.
3301         Also, clean up cases where we redundantly set token_buffer[0].
3302         (read_line_number): New fn.
3303         (ignore_escape_flag): New variable.
3305 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
3307         * a29k/t-a29kbare: Fix some comments.
3308         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
3309         (FPBIT, DPBIT): Define.
3310         * a29k/t-vx29k: Likewise.
3311         * arc/t-arc: Likewise.
3312         * arm/t-arm-elf: Likewise.
3313         * arm/t-bare: Likewise.
3314         * arm/t-pe: Likewise.
3315         * arm/t-pe-thumb: Likewise.
3316         * arm/t-semi: Likewise.
3317         * arm/t-thumb: Likewise.
3318         * arm/t-thumb-elf: Likewise.
3319         * arm/t-thumb-linux: Likewise.
3320         * h8300/t-h8300: Likewise.
3321         * i960/t-i960: Likewise.
3322         * i960/t-vxworks960: Likewise.
3323         * m32r/t-m32r: Likewise.
3324         * mips/t-ecoff: Likewise.
3325         * mips/t-elf: Likewise.
3326         * mips/t-r3900: Likewise.
3327         * pa/t-pro: Likewise.
3328         * rs6000/t-aix43: Likewise.
3329         * rs6000/t-beos: Likewise.
3330         * rs6000/t-newas: Likewise.
3331         * rs6000/t-ppccomm: Likewise.
3332         * rs6000/t-rs6000: Likewise.
3333         * rs6000/t-winnt: Likewise.
3334         * rs6000/t-xnewas: Likewise.
3335         * rs6000/t-xrs6000: Likewise.
3336         * sh/t-sh: Likewise.
3337         * sparc/t-elf: Likewise.
3338         * sparc/t-sparcbare: Likewise.
3339         * sparc/t-sparclite: Likewise.
3340         * sparc/t-splet: Likewise.
3341         * v850/t-v850: Likewise.
3342         * mn10200/t-mn10200: Fix comments.
3343         * mn10300/t-mn10300: Likewise.
3345         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
3346         dummy operand.  Allocate a new pseudo for the dummy operand.
3347         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
3349         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
3351 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
3353         * configure: Rebuilt.
3354         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
3356 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
3358         * recog.c (preproces_constraints): Zero recog_op_alt before
3359         processing the constraints.
3361         * arm.c (typedef minipool_node): Renamed from pool_node.
3362         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
3363         (add_minipool_constant): New function.
3364         (dump_minipool): New function.
3365         (find_barrier): Remove special case for getting the insn size of
3366         an insn that references the constant pool.
3367         (minipool_fixup): New structure.
3368         (push_minipool_barrier): New function.
3369         (push_minipool_fix): New function.
3370         (note_invalid_constants): New function.
3371         (add_pool_constant, dump_table, fixit, broken_move): Delete.
3372         (arm_reorg): Rewrite code to fix up the constant pool into a
3373         series of mini-pools embedded in the insn stream.
3374         (arm_output_epilogue): New function, made mainly from the body
3375         of output_func_epilogue.
3376         (output_func_epilogue): Move insn generation part of epilogue code
3377         to arm_output_epilogue.
3378         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
3379         * arm.md (pool_range): New attribute.
3380         (zero_extendqidi2): Add attribute pool_range.
3381         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
3382         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
3383         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
3384         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
3385         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
3386         (epilogue): New expand.
3387         (epilogue_insn): New insn.  Call arm_output_epilogue.
3389         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
3390         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
3392 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
3394         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
3396 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
3398         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
3400 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
3402         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
3404 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
3406         * global.c: Fix comment.
3408 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
3410         * gcc.c (access_check): New static function.
3411         (find_a_file): Use it when searching a directory list.
3412         * collect2.c (find_a_file): Don't accept directories found when
3413         searching a directory list.
3415 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
3417         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
3418         function parameters with `&'.
3419         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
3421 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
3423         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
3424         or tidy_fallthru_edge if the last insn in the block is not
3425         an unconditional jump or a simple conditional jump.
3427 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3429         * Makefile.in (c-decl.o): Depends on defaults.h.
3431 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
3433         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
3434         PA1.1 and above.
3435         (CLASS_MAX_NREGS): Likewise.
3437 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
3439         * cse.c (cse_insn): Fix dumb thinko in last change.
3441 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3443         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
3444         "const char *".
3446 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
3448         * dwarf2out.c (add_location_or_const_value_attribute): Correct
3449         test for sizes of passed and declared parameter types.
3451 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3453         * fixincludes: Fix the return type of bsearch, char* -> void*.
3455         * fixinc/inclhack.def: Likewise.
3457 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
3459         * invoke.texi (-fdump-translation-unit): New option.
3461 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
3463         * expr.h (PROMOTE_PROTOTYPES): Move ...
3464         * defaults.h: ... to here.
3465         * c-decl.c: Include defaults.h instead of expr.h.
3466         * c-typeck.c: Include defaults.h.
3468 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
3470         * toplev.h (errorcount): Declare.
3471         (warningcount): Likewise.
3472         (sorrycount): Likewise.
3473         * c-lex.c (errorcount): Don't declare.
3474         * dwarf2out.c (errorcount): Don't declare.
3476 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
3478         * config/libgloss.h: Add a note discouraging use with ELF.
3479         * configure.in: Don't use libgloss.h for ELF targets.
3480         Always use_collect2 on a.out targets.
3482 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
3484         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
3485         (force_to_mode, case ASHIFTRT): Add shiftrt label.
3487 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3489         * loop.c (strength_reduce): When doing biv->giv conversion, update
3490         reg note of NEXT->insn.
3492 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
3494         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
3496 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
3498         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
3499         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
3500         Ensure expr.h is included.
3501         * c-typecheck.c (convert_arguments): Ditto.
3503         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
3505         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
3506         * config/convex/convex.h: Ditto.
3507         * config/dsp16xx/dsp16xx.h: Ditto.
3508         * config/fx80/fx80.h: Ditto.
3509         * config/gmicro/gmicro.h: Ditto.
3510         * config/i370/i370.h: Ditto.
3511         * config/i386/i386.h: Ditto.
3512         * config/m32r/m32r.h: Ditto.
3513         * config/m68k/m68k.h: Ditto.
3514         * config/m88k/m88k.h: Ditto.
3515         * config/mips/mips.h: Ditto.
3516         * config/pa/pa.h: Ditto.
3517         * config/pyr/pyr.h: Ditto.
3518         * config/tahoe/tahoe.h: Ditto.
3519         * config/we32k/we32k.h: Ditto.
3521         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
3522         based on arch size.
3524         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
3526         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
3527         from comment.
3529         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
3531 1999-08-02  Richard Henderson  <rth@cygnus.com>
3533         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
3534         for the register spill block.
3535         (m32r_va_arg): New.
3536         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
3537         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
3539         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
3540         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
3541         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
3543 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
3545         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
3546         MAX_WCHAR_TYPE defined in sparc.h.
3547         * config/sparc/linuxaout.h: Likewise.
3548         * config/sparc/linux64.h: Likewise.
3549         Also default to -mvis if CPU is UltraSPARC.
3551 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
3553         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
3554         (RTX_OK_FOR_OLO10): Likewise.
3555         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
3556         %lo(), allow it in addresses...
3557         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
3558         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
3559         does not make sense.
3560         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
3561         (sparc_output_scratch_registers): New function.
3562         (output_function_prologue, sparc_flat_output_function_prologue): Use
3563         it.
3564         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
3565         defined.
3566         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
3567         * configure.in: Add check for .register pseudo-op support in as and
3568         check for offsetable %lo().
3569         * acconfig.h: Add templates for the above checks.
3570         * configure: Regenerate.
3572 1999-08-02  Richard Henderson  <rth@cygnus.com>
3574         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
3575         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
3576         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
3578 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3580         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
3581         reg_biv_class.
3583 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
3585         * config/float-sparc.h: New file.
3586         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
3587         sparc-*-linux-gnu and sparc64-*-linux*.
3589 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3591         * rs6000.c (rs6000_va_list): Type is an array.
3592         (rs6000_va_start): Don't doubly adjust for varargs.
3593         (rs6000_va_arg): Evaluate long long GPR adjustment.
3595 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
3597         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
3598         -maix64 and -maix32.
3599         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
3600         LINK_SPEC): Change appropriately.
3601         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
3602         (u_short_cint_operand): Likewise.
3603         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
3604         for 64-bit hosts.
3605         * rs6000/t-aix43 (MULTILIB): Change to -m64.
3607         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
3609 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
3611         * rs6000/rs6000.c (num_insns_constant_wide): Correct
3612         for type promotion.
3613         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
3614         (non_add_cint_operand): Likewise.
3615         (logical_operand): Likewise.
3616         (non_logical_cint_operand): Likewise.
3617         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
3618         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
3619         (rs6000_select_rtx_section): Suppress warning.
3620         (small_data_operand): Suppress warning.
3621         (rs6000_got_register): Suppress warning.
3622         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
3623         type, so `J' is generally the wrong constraint for a SImode value;
3624         use `L' instead.
3625         (andsi3_internal2): Likewise.
3626         (andsi3_internal3): Likewise.
3627         (iorsi3_internal1): Likewise.
3628         (xorsi3_internal1): Likewise.
3629         (movsi): Likewise.
3630         (movsf_softfloat): Likewise.
3631         (scc insns): Likewise.
3632         (movsi+2): Preserve sign bits of SImode constant.
3633         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
3634         (movdf+1): Sign-extend properly.
3635         (movdi_32+1): Sign-extend properly.
3636         (scc insns): Sign-extend properly.
3638         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
3639         K, L, and T.
3641 1999-08-02  Richard Henderson  <rth@cygnus.com>
3643         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
3644         -mcpu parsing code.
3645         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
3646         * alpha.md (all fp insns): Likewise.
3648 1999-08-02  Nick Clifton  <nickc@cygnus.com>
3650         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
3651         already defined.
3653 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
3655         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
3656         pic_load_label generator directly.
3657         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
3658         No longer a named pattern.
3660 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
3662         * explow.c (force_reg): Call force_operand if X does not
3663         satisfy general_operand.
3665 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
3667         * fix-header.c (main): When testing for CONTINUED, use string
3668         equality, not pointer equality.
3670 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
3672         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
3674 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
3676         * cse.c (cse_insn): Fix loop which deletes insns after a jump
3677         that has become an unconditional jump.
3679         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
3680         (output_function_epilogue): Similarly.
3682 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3684         * tree.h (init_dummy_function_start): Declare.
3686 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3688         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
3689         last_expr_type, last_expr_value, block_start_count, block_stack,
3690         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
3691         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
3692         dynamically in stmt elt of struct function for each function.
3693         (struct nesting): Rename function_call_count elt to n_function_calls,
3694         target_temp_slot_level to block_target_temp_slot_level.  All users
3695         changed.
3696         (struct stmt_status): New structure definition.
3697         Add many accessor macros for stmt_status elements which previously
3698         were global variables.
3699         (init_stmt_for_function): Allocate stmt elt for current_function.
3700         Reflect that block_start_count was renamed to
3701         current_block_start_count.
3702         (save_stmt_status, restore_stmt_status): Delete functions.
3703         (preserve_subexpressions_p): Don't access loop_stack when outside
3704         a function.
3705         (expand_start_bindings): Reflect that block_start_count was renamed to
3706         current_block_start_count.
3707         (expand_fixup): Likewise.
3708         (expand_decl): Don't access block_stack when outside a function.
3709         (expand_decl_cleanup): Likewise.
3710         (expand_dcc_cleanup): Likewise.
3711         (expand_dhc_cleanup): Likewise.
3712         (expand_anon_union_decl): Likewise.
3713         (set_file_and_line_for_stmt): New function.
3714         (in_control_zone_p): New function.
3716         * function.h (struct function): Add new elt stmt.
3717         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
3718         case_stack, nesting_stack, nesting_depth, block_start_count,
3719         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
3720         emit_lineno, goto_fixup_chain.
3721         (save_eh_status, restore_eh_status, save_stmt_status,
3722         restore_stmt_status): Delete declarations.
3723         * function.c (push_function_context_to): Don't call save_stmt_status.
3724         (pop_function_context_to): Don't call restore_stmt_status.
3725         * tree.h (in_control_zone_p): Declare.
3726         * rtl.h (set_file_and_line_for_stmt): Declare.
3728         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
3729         call set_file_and_line_for_stmt.
3731 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
3733         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
3734         Also update copyright.
3736 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3738         * c-pragma.c: Don't include "except.h".
3739         * emit-rtl.c: Likewise.
3740         * stor-layout.c: Likewise.
3741         * tree.c: Likewise.
3742         * varasm.c: Likewise.
3744         * flow.c: Include "function.h".
3745         * tree.h (init_dummy_function_start): Declare new function.
3747         * except.h (struct eh_status): New structure.
3748         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
3749         been included.
3750         (eh_return_stub_label, ehstack, catchstack, ehqueue,
3751         catch_clauses, false_label_stack, caught_return_label_stack,
3752         protect_list, current_function_ehc): Add accessor macros for the
3753         corresponding fields in current_function->eh; delete declarations
3754         for all items that used to be declared here.
3755         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
3756         catch_clauses, false_label_stack, caught_return_label_stack,
3757         protect_list, current_function_ehc): Delete variables.
3758         (init_eh_for_function): Allocate current_function->eh.
3759         (save_eh_status, restore_eh_status): Delete functions.
3761         * function.h (struct function): Add fields next_global and eh.
3762         Delete all exception handling related fields.
3763         * function.c (current_function): New variable.
3764         (all_functions): New variable.
3765         (push_function_context_to): Don't allocate a struct function,
3766         use current_function instead.  Call init_dummy_function_start when
3767         outside a function.  Clear current_function before returning.
3768         (pop_function_context_from): Restore current_function.
3769         Don't free the restored struct function.
3770         (prepare_function_start): New function.
3771         (init_dummy_function_start): New function.
3772         (init_function_start): Break out some code into prepare_function_start
3773         and call it here.
3775         * stmt.c (save_stmt_status): Don't call save_eh_status.
3776         (restore_stmt_status): Don't call restore_eh_status.
3778         * Makefile.in: Update dependencies.
3780 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
3782         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
3783         of depending on a magic constant value.  Update comments.
3784         (hppa_expand_prologue): Similarly.
3786         * pa.md (reload_indi, reload_outdi): Allow any register for the
3787         original reload register.
3789 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
3791         * cccp.c (print_help): Change marcos to macros.
3793 1999-07-30  Richard Henderson  <rth@cygnus.com>
3795         * c-typeck.c (initializer_constant_valid_p): Move ...
3796         * c-common.c (initializer_constant_valid_p): ... here.  Use
3797         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
3798         of label addresses.
3799         * c-common.h (initializer_constant_valid_p): Declare.
3800         * c-tree.h (initializer_constant_valid_p): Remove.
3802 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
3804         * config/i386/sol2-c1.asm: Align the stack.
3805         * config/i386/sol2-gc1.asm: Likewise.
3807 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
3809         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
3810         -Asparclite for sparc86x.
3811         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
3812         sparc86x.
3813         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
3815 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
3817         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
3818         the user if using the non-default arch size in BI_ARCH configuration.
3819         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
3821         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
3822         Fix patterns so that they actually match.
3823         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
3824         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
3825         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
3826         TARGET_HARD_MUL32.
3827         (mulsidi3): Reflect this in the expand.
3828         (smulsi3_highpart): Only on TARGET_ARCH32.
3829         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
3830         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
3831         (umulsidi3): Reflect this in the expand.
3832         (umulsi3_highpart): Only on TARGET_ARCH32.
3833         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
3834         don't require g0 to be zero.
3835         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
3836         ({,u}divsi3): New expands.
3837         ({,u}divsi3_sp64): New patterns.
3838         (after lshrdi3_v8plus): Four new patterns to help combiner
3839         optimizing nested mixed mode shifts.
3841         * config/sparc/sparc.c (sparc_override_options): Use deprecated
3842         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
3843         speed things up. Don't use them by default on plain v9 in 64bit
3844         mode, according to what SPAMv9 sais.
3846         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
3847         top 32 bits of %[og][0-7] in signal handlers.
3848         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
3850 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
3852         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
3853         (ashlsi3): Corresponding changes.
3855         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
3857 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
3859         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
3861 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3863         * arm.h (Hint): Delete macro.
3864         Substitute HOST_WIDE_INT for Hint in some prototypes.
3865         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
3867 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
3869         * builtins.c (expand_builtin_setjmp): Use force_operand to
3870         make sure that the buffer address is in a suitable form to be
3871         passed to force_reg.
3873 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
3875         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
3876         them here.
3878 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
3880         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
3881         proper mode in the condition string.
3882         (icacheflush, dcacheflush): Remove modes from match_operands.
3884         * pa.c (emit_move_sequence): Always convert scratch_reg to the
3885         proper mode before using it.
3887         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
3888         pair.
3890         * pa.c (store_reg): Do not call add_high_const generator directly.
3891         (load_reg, set_reg_plus_d): Likewise.
3892         * pa.md (add_high_const): No longer a named pattern.
3894         * pa.c (legitimize_address): Consistently use Pmode rather than
3895         SImode.  Do not call gen_pic2_highpart directly anymore.
3896         * pa.md (pic2_highpart): No longer a named pattern.
3897         (pic2_lo_sum): Similarly.  Reformat to make more readable.
3899         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
3900         needed.
3902         * README: Update.
3904 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3906         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
3908 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
3910         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
3911         and tag the spill mems.
3912         (hppa_va_start): New.
3913         (hppa_va_arg): New.
3914         * pa.h (EXPAND_BUILTIN_VA_START): New.
3915         (EXPAND_BUILTIN_VA_ARG): New.
3917 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
3919         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
3920         and tag the spill mems.
3921         (mn10300_va_start): New.
3922         (mn10300_va_arg): New.
3923         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
3924         (EXPAND_BUILTIN_VA_ARG): New.
3926 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
3928         * mn10200.c (mn10200_va_arg): New.
3929         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
3931 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
3933         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
3934         rather than play with TREE_INT_CST_LOW.
3936 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
3938         * config/arm/telf.h: Include dbxelf.h.
3939         (CPP_PREDEFINES): Only define if not already defined.
3940         (ASM_IDENTIFY_GCC): Likewise.
3941         (SUBTARGET_EXTRA_SECTIONS): Likewise.
3942         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
3943         * config/arm/thumb.h (LINK_SPEC): Only define if not already
3944         defined.
3945         (DBX_DEBUGGING_INFO): Don't define.
3946         * config/arm/linux-telf.h: New file.
3947         * config/arm/linux-tgas.h: New file.
3948         * config/arm/t-thumb-linux: New file.
3949         * config/arm/uclinux-elf.h: New file.
3950         * config/arm/uclinux-telf.h: New file.
3951         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
3952         thumb-*-uclinux): New targets.
3953         * configure: Regenerate.
3955 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
3957         * pa.md (post_store, pre_load): New expanders.
3958         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
3959         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
3960         need to directly generate RTL for them.
3961         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
3962         changes.
3964 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
3966         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
3967         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
3968         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
3969         (secndary_reload_class): Make TARGET_ELF conditional compile.
3970         (print_operand_address): Similar.
3971         (output_toc): Print all values as hex.
3972         (get_issue_rate): Rearrange and add RS64A and PPC630.
3973         * rs6000.h (processor_type): Add RS64A and PPC630.
3974         (PROCESSOR_POWERPC64): New.
3975         (PROMOTE_MODE): Use word_mode.
3976         (RTX_COSTS): Add RS64A and PPC630.
3977         * rs6000.md (scheduling information): Add lmul and ldiv
3978         representing 64-bit integer multiply and divide.  Add rs64a and
3979         PPC630 information.
3980         (ashldi3): Add support for "rldic" instruction.
3981         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
3983 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
3985         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
3986         instead of V8 for sparclite86x in cpu_table.
3988 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3990         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
3991         output_file_directive.
3993 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
3995         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
3996         tree for op1, not the rtl.
3998 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
4000         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
4001         to m88k_va_start, leaving only the register spill.
4002         (m88k_build_va_list): New.
4003         (m88k_va_start): New.
4004         (m88k_va_arg): New.
4005         * m88k.h (BUILD_VA_LIST_TYPE): New.
4006         (EXPAND_BUILTIN_VA_START): New.
4007         (EXPAND_BUILTIN_VA_ARG): New.
4009 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
4011         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
4012         Rename from expand_builtin_saveregs.
4013         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
4015 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
4017         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
4018         for the register spill block.
4019         (i960_build_va_list): New.
4020         (i960_va_start): New.
4021         (i960_va_arg): New.
4022         * i960.h (BUILD_VA_LIST_TYPE): New.
4023         (EXPAND_BUILTIN_VA_START): New.
4024         (EXPAND_BUILTIN_VA_ARG): New.
4025         * i960.md (store_multiple): Use change_address on individul mems.
4027 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
4029         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
4030         an ARRAY_TYPE.
4031         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
4032         (expand_builtin_va_end): Evaluate arg for side effects.
4033         * c-common.c (c_common_nodes_and_builtins): Construct a
4034         va_list_arg_type_node to handle array decomposition to pointer.
4036 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
4038         * except.c (start_dynamic_cleanup): Use force_operand on the
4039         buffer's address.
4041 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
4043         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
4044         * c4x.c (c4x_va_arg): New.
4046 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
4048         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
4049         has manual_pop set.
4051 1999-07-26  Nathan Sidwell  <nathan@acm.org>
4053         * eh-common.h (__eh_matcher): Prototype correctly.
4055 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
4057         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
4058         (TARGET_SINGLE_PIC_BASE): Likewise.
4059         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
4060         definitions.
4061         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
4062         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
4063         (TARGET_OPTIONS): Add -mpic-register=N.
4064         (OUTPUT_INT_ADDR_CONST): New macro.
4065         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
4066         LEGITIMATE_PIC_OPERAND_P): Likewise.
4067         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
4068         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
4069         output_addr_const directly.
4070         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
4071         ARM port.
4072         (thumb_pic_register, thumb_pic_register_string): Declare.
4074         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
4075         from arm.c.
4076         (label_mentioned_p): New function: Imported from arm.c.
4077         (legitimize_pic_address): New function: Imported from arm.c.
4078         (is_pic):New function: Imported from arm.c.
4079         (thumb_finalize_pic):New function: Imported from arm.c.
4080         (add_constant): Cope with PIC constants.
4081         (fixit): Cope with PIC constants.
4082         (output_return): Do not treat the PIC register as live if
4083         TARGET_SINGLE_PIC_BASE is true.
4084         (thumb_function_prologue): Do not treat the PIC register as live if
4085         TARGET_SINGLE_PIC_BASE is true.
4086         (thumb_expand_prologue): Do not treat the PIC register as live if
4087         TARGET_SINGLE_PIC_BASE is true.
4088         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
4089         TARGET_SINGLE_PIC_BASE is true.
4090         (thumb_print_operand): Accept '|'.
4091         (thumb_override_options): Process PIC options.
4093         * config/arm/thumb.md (movsi): Support PIC.
4094         (call_insn): Change "i" constraint to "X".
4095         (call_value_insn): Likewise.
4096         (consttable_4, consttable_8, consttable_end): Set and clear
4097         "making_const_table" as appropriate.
4098         (pic_load_addr, pic_add_dot_plus_four): New insns.
4100         * invoke.texi (Thumb Options): Fix spelling.  Document new
4101         options -msingle-pic-base and -mpic-register=.
4103 1999-07-26  Andrew Haley  <aph@cygnus.com>
4105         * config/m32r/initfini.c (__init): Use a full word immediate for
4106         __fini: this allows it to be placed in any memory region.
4108         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
4109         -mmodel=medium.  This is OK for all memory models.
4111 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
4113         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
4114         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
4116 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
4118         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
4119         defined.
4121         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
4123 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
4125         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
4126         (BUILD_VA_LIST_TYPE): New.
4127         (EXPAND_BUILTIN_VA_START): New.
4128         (EXPAND_BUILTIN_VA_ARG): New.
4129         * i860.c (output_delayed_branch): Disable.
4130         (output_delay_insn): Likewise.
4131         (i860_saveregs): New.
4132         (i860_build_va_list): New.
4133         (i860_va_start): New.
4134         (i860_va_arg): New.
4135         * i860.md: Disable all peepholes using output_delayed_branch.
4136         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
4138 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
4140         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
4141         (BUILD_VA_LIST_TYPE): New.
4142         (EXPAND_BUILTIN_VA_START): New.
4143         (EXPAND_BUILTIN_VA_ARG): New.
4144         * clipper.c (clipper_builtin_saveregs): Only dump registers.
4145         Return the address of the save area.
4146         (clipper_build_va_list): New.
4147         (clipper_va_start): New.
4148         (clipper_va_arg): New.
4150 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
4152         * arc.h (EXPAND_BUILTIN_VA_START): New.
4153         (EXPAND_BUILTIN_VA_ARG): New.
4154         * arc.c (arc_setup_incoming_varargs): Set alias set of
4155         varargs save area.
4156         (arc_va_start): New.
4157         (arc_va_arg): New.
4159 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
4161         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
4162         (BUILD_VA_LIST_TYPE): New.
4163         (EXPAND_BUILTIN_VA_START): New.
4164         (EXPAND_BUILTIN_VA_ARG): New.
4165         * alpha.c (alpha_builtin_saveregs): Delete.
4166         (alpha_build_va_list): New.
4167         (alpha_va_start): New.
4168         (alpha_va_arg): New.
4170 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
4172         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
4173         column zero.
4174         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
4175         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
4177         * gcc.texi: More changes related to list conversion.
4178         * invoke.texi: Likewise.
4180 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
4182         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
4183         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
4184         (expand_builtin_next_arg): Accept ARGLIST not EXP.
4185         (stabilize_va_list): New function.
4186         (std_expand_builtin_va_start): New function.
4187         (expand_builtin_va_start): New function.
4188         (get_varargs_alias_set): New function.
4189         (std_expand_builtin_va_arg): New function.
4190         (expand_builtin_va_arg): New function.
4191         (expand_builtin_va_end): New function.
4192         (expand_builtin_va_copy): New function.
4193         (expand_builtin): Call them.
4194         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
4195         __builtin_{varargs_start,stdarg_start,end,copy}.
4196         (build_va_arg): New function.
4197         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
4198         (build_va_arg): Declare.
4199         * c-decl.c (ptr_type_node, va_list_type_node): New.
4200         * c-parse.gperf (__builtin_va_arg): New.
4201         * c-parse.in (VA_ARG): New token.
4202         (unary_expr): Recognize it.
4203         * expr.c (expand_expr): Expand VA_ARG_EXPR.
4204         * expr.h (std_expand_builtin_va_start): Declare.
4205         (std_expand_builtin_va_arg): Declare.
4206         (expand_builtin_va_arg): Declare.
4207         (get_varargs_alias_set): Declare.
4208         * tree.def (VA_ARG_EXPR): New.
4209         * tree.h (BUILT_IN_VARARGS_START): New.
4210         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
4211         (ptr_type_node, va_list_type_node): Declare.
4212         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
4213         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
4214         * m88k.h, m88k.c: Likewise.
4215         * mn10300.h, mn10300.c: Likewise.
4216         * pa.h, pa.c: Likewise.
4217         * rs6000.h, rs6000.c: Likewise.
4218         * sh.h, sh.c: Likewise.
4219         * sparc.h, sparc.c: Likewise.
4221         * emit-rtl.c (operand_subword): Copy alias set.
4222         (change_address): Likewise.
4224 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
4226         * pa.c (compute_frame_size): Scan all the used callee saved registers,
4227         not just the first one.
4229 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
4231         * config/arm/arm.h (TARGET_SWITCHES): Add
4232         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
4233         (TARGET_OPTIONS): Add -mpic-register=.
4234         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
4235         (arm_pic_register_string): Declare.
4236         (NEED_PLT_GOT): Delete, replace with ...
4237         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
4238         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
4239         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
4240         * config/arm/arm.c (arm_override_options): Add new option
4241         -mpic-register=N.
4242         (arm_pic_register_string): New variable.
4243         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
4244         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
4245         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
4246         (output_return_instruction): Likewise.
4247         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
4248         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
4249         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
4251         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
4252         mention of -msched-prolog.  Document new options -msingle-pic-base
4253         and -mpic-register=.
4255 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
4257         * haifa-sched.c (reemit_notes): Tidy.
4258         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
4259         haifa's routine.
4261 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
4263         * explow.c (trunc_int_for_mode): New function.
4264         (plus_constant_wide): Use it.
4265         * combine.c (simplify_and_const_int): Likewise.
4266         (merge_outer_ops): Likewise.
4267         (simplify_shift_const): Likewise.
4268         * cse.c (simplify_unary_operation): Likewise.
4269         (simplify_binary_operation): Likewise.
4270         * emit-rtl.c (operand_subword): Likewise.
4271         * rtl.h: Declare it.
4273 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4275         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
4276         (use NUM_REGS instead of NUM_INTS).
4278 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4280         * builtins.c: New file.
4281         * expr.c (saveregs_value, apply_args_value):  Delete definition,
4282         moved into builtins.c.
4283         (string_constant): No longer static.
4284         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
4285         apply_args_size, apply_result_size, result_vector,
4286         expand_builtin_apply_args, expand_builtin_apply,
4287         expand_builtin_return): Delete functions, moved into builtins.c.
4288         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
4289         * expr.h (saveregs_value, apply_args_value): Declare variables.
4290         (expand_builtin, string_constant): Declare functions.
4291         * Makefile.in: Update to build builtin.o.
4293 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
4295         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
4296         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
4297         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
4298         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
4299         false.
4300         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
4301         Define to zero.
4303 1999-07-21  Michael Meissner  <meissner@cygnus.com>
4305         * print-rtl.c (print_rtx): Print the names of the virtual
4306         registers.
4308 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
4310         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
4311         introduced in previous delta.
4313 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4315         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
4316         to avoid name clash.
4318 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
4320         * c-lex.c (yylex) : Correct the test for overflow when lexing
4321         integer literals.
4323 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
4325         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
4326         (adjust_priority): Always call ADJUST_PRIORITY.
4327         (schedule_insn): Only put insns into the ready at cost 0.
4328         (schedule_block): Remove redundant initial sort.  Give clock_var
4329         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
4330         is not 0.
4331         * tm.texi (MD_SCHED_REORDER): Update docs.
4333         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
4334         * sparc.c (ultra_reorder_called_this_block): Delete.
4335         (ultrasparc_sched_init): Don't set it.
4336         (ultrasparc_sched_reorder): Don't check it.
4338 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
4340         * rs6000.h (struct rs6000_args): Add sysv_gregno.
4341         * rs6000.c (init_cumulative_args): Init sysv_gregno.
4342         (function_arg_boundary): Align DFmode.
4343         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
4344         to get fp reg and stack overflow correct.
4345         (function_arg): Likewise.
4346         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
4347         (setup_incoming_varargs): Restructure for ABI_V4; use
4348         function_arg_advance to skip final named argument.
4349         (expand_builtin_saveregs): Properly unskip the last integer arg
4350         when doing varargs.  Adjust overflow location calculation.
4352         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
4353         explicitly unsigned.
4354         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
4355         (__VA_GP_REGSAVE): Similarly.
4356         (__va_longlong_p): Delete.
4357         (__va_arg_type_violation): New declaration.
4358         (va_arg): Restructure.  Flag promotion errors.  Align double.
4359         TFmode passed by reference.
4361         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
4362         in the HOST_BITS_PER_WIDE_INT > 32 case.
4364 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
4366         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
4368 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
4370         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
4371         * toplev.c (documented_lang_options): Add -fpreprocessed.
4372         * cpplib.h (struct cpp_buffer): Add preprocessed.
4373         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
4374         (cpp_start_read): Don't expand macros or emit an initial #line
4375         directive if -fpreprocessed.
4377 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
4379         * cpplib.h (struct cpp_buffer): Added manual_pop for
4380         better C++ tokenization.
4381         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
4382         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
4383         * c-common.c (cpp_token): Make non-static.
4385 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4387         * c-common.h: New file.
4388         * c-common.c (permanent_obstack): Delete unused declaration.
4389         (c_global_trees): New array.
4390         (c_common_nodes_and_builtins): New function; split off common code
4391         from init_decl_processing in both c-decl.c and cp/decl.c.
4392         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
4393         c_global_trees and accessor macros defined in c-common.h.
4394         Include c-common.h.
4395         * c-decl.c: Delete definitions for tree nodes that were replaced by
4396         c_global_trees.
4397         (init_decl_processing): Build void_list_node.
4398         Call c_common_nodes_and_builtins; delete code to generate the common
4399         builtins here.
4400         * objc/objc-act.c (build_module_descriptor): Rename variable
4401         void_list_node to avoid clash with c-common.h.
4403         * Makefile.in: Update dependencies.
4404         * objc/Make-lang.in: Likewise.
4406 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
4408         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
4409         (UNIQUE_SECTION_P): Likewise.
4410         (UNIQUE_SECTION): Likewise.
4412 1999-07-19  Linas Vepstas  <linas@linas.org>
4414         * config/i370/README: New file.
4415         * config/i370/linux.h: New file.
4416         * config/i370/mvs.h: New file.
4417         * config/i370/oe.h: New file.
4418         * config/i370/t-linux: New file.
4419         * config/i370/t-mvs: New file.
4420         * config/i370/t-oe: New file.
4421         * config/i370/x-oe: New file.
4422         * config/i370/xm-linux.h: New file.
4423         * config/i370/xm-mvs.h: New file.
4424         * config/i370/xm-oe.h: New file.
4426         * i370.c (label_node_t): Add first_ref_page, label_addr,
4427         label_first_ref, label_last_ref members.
4428         (mvs_need_base_reload): Renamed from mvs_label_emitted.
4429         (MAX_MVS_LABEL_SIZE): Define.
4430         (MAX_LONG_LABEL_SIZE): Define.
4431         (alias_node_t, alias_anchor, alias_number): New.
4432         (mvs_function_table): Reorder for EBCDIC.
4433         (ascebc, ebcasc): Unconditionally define.
4434         (i370_branch_dest, i370_branch_length): New functions.
4435         (i370_short_branch, i370_label_scan): New functions.
4436         (mvs_get_label): Renamed from mvs_add_label.  Search for
4437         an existing label before creating a new one.
4438         (mvs_add_label): New function.
4439         (mvs_get_label_page): New function.
4440         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
4441         over the entire list.
4442         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
4443         (mvs_check_page) [TARGET_ELF_ABI]: New function.
4444         (mvs_add_alias, mvs_need_alias): New functions.
4445         (mvs_get_alias, mvs_check_alias): New functions.
4446         (handle_pragma): New function.
4447         (mvs_function_check): New function.
4448         (unsigned_jump_follows_p): Search harder.
4449         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
4450         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
4451         * i370.h (TARGET_VERSION): Delete.
4452         (CPP_SPEC, CPP_PREDEFINES): Delete.
4453         (mvs_label_emitted): Delete.
4454         (TARGET_EBCDIC): Delete.
4455         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
4456         (HANDLE_PRAGMA): Define.
4457         (HARD_REGNO_NREGS): Handle complex modes.
4458         (HARD_REGNO_MODE_OK): Likewise.
4459         (CLASS_MAX_NREGS): Likewise.
4460         (RET_REG): Likewise.
4461         (EXTRA_CONSTRAINT): Define.
4462         (RETURN_IN_MEMORY): True for DImode.
4463         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
4464         (FUNCTION_PROFILER): Delete.
4465         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
4466         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
4467         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
4468         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
4469         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
4470         (ASM_FILE_START): Add "RMODE ANY".
4471         (ASM_OUTPUT_EXTERNAL): Check for aliases.
4472         (ASM_GLOBALIZE_LABEL): Likewise.
4473         (ASM_OUTPUT_LABELREF): Likewise.
4474         (ASM_OUTPUT_COMMON): Likewise.
4475         (PRINT_OPERAND): Handle 'K', 'W', default.
4476         (PRINT_OPERAND_ADDRESS): New.
4477         (Lots of defines): Add support for TARGET_ELF_ABI.
4478         * i370.md (attr length): New.  Define for all patterns.
4479         (*): Lots of tweeks to assembly output and constraints.
4481 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
4483         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
4484         Disable patterns performing SImode comparisons with SImode values
4485         if TARGET_POWERPC64 and instruction does not sign-extend or does
4486         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
4487         differ for signed quantities.
4488         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
4489         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
4490         (decrement_and_branch_on_count): Add 64-bit variant.
4492 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4494         * final.c (output_asm_insn): When searching for the matching string
4495         for a given dialect, don't run past the end of the list of
4496         alternatives if there are fewer alternatives in the template than
4497         dialects.
4499 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
4501         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
4502         Removed paragraph about compression of files and size limitation,
4503         duplicated in the FAQ.  Use gcc-patches for posting patches.
4504         * gcc.c (main): Updated URL with bug reporting instructions to
4505         gcc.gnu.org.  Removed e-mail address.
4506         * system.h (abort): Likewise.
4508 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4510         * Makefile.in (stmp-multilib-sub): Make the files extracted
4511         from $(LIBGCC1) writable.
4513 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
4515         * config/arm/aout.h: Reformat for improved readability.
4517         * config/arm/arm.h: Reformat for improved readability.
4518         Replace uses of fprintf with asm_fprintf where appropriate.
4519         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
4520         function declaration assembler actions.
4521         (NUM_INTS): New macro: Convert from bytes to words.
4522         (NUM_REGS): New macro: Compute number of registers required to
4523         hold a quanitity of tyep MODE.
4524         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
4525         types.
4526         (NUM_ARG_REGS): New macro: The number of argument registers
4527         available.
4528         (ARG_REGISTER): New macro: Compute the register number of the Nth
4529         argument register.
4530         (LAST_ARG_REGNUM): New macro: The number of the last argument
4531         register.
4532         (SP_REGNUM): New macro: Register number of the stack pointer.
4533         (FP_REGNUM): New macro: Register number of the frame pointer.
4534         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
4535         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
4536         CUMULATIVE_ARGS so that it counts registers not bytes.
4538         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
4539         TARGET_INTERWORK.
4540         Replace uses of fprintf with asm_fprintf where appropriate.
4541         (output_ascii_pseudo_op): Replace with version from thumb.c
4543         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
4545         * config/arm/elf.h (CPP_PREDEFINES): Replace with
4546         SUBTARGET_CPP_SPEC.
4547         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
4548         (ASM_FILE_START): Emit ASM_APP_OFF.
4550 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
4552         * pa.c (compute_frame_size): Round frame according to
4553         STACK_BOUNDARY rather than a hardwired value.
4555         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
4557         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
4558         of "1".
4559         * configure: Rebuilt.
4561         * configure.in (hppa*-*-linux*): New configuration.
4562         * configure: Rebuilt.
4563         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
4564         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
4565         * pa/pa-linux.h: New file.
4566         * pa/t-linux: New file.
4567         * pa/xm-linux.h: New file.
4569         * pa.c (hppa_legitimize_address): Change references from SImode to
4570         either Pmode or word_mode as appropriate.
4571         (emit_move_sequence, store_reg, load_reg): Likewise.
4572         (set_reg_plus_d, hppa_expand_prologue): Likewise.
4573         (output_mul_insn): Likewise.
4574         * pa.h (PROMOTE_MODE): Likewise.
4575         (INITIALZE_TRAMPOLINE): Likewise.
4576         (Pmode): Define to word_mode.
4578         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
4579         value of 4.  Allocate 8 bytes for each FP register save.
4580         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
4581         value of 4.
4582         (hppa_expand_prologue): Likewise.
4583         * pa.h (PROMOTE_MODE): Likewise.
4584         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
4585         (FUNCTION_ARG_BOUNDARY): Likewise.
4587         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
4589         * pa.c (out_of_line_prologue_epilogue): Delete.
4590         (override_options): Remove -mspace related code.
4591         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
4592         (compute_frame_size): Only allocate space for register that
4593         actually need to be saved.
4594         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
4595         (TARGET_SWITCHES): Remove -mspace, -mno-space
4596         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
4597         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
4598         * pa/ee.asm, pa/ee_fp.asm: Delete.
4600         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
4602         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
4603         directive in column zero.
4605 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
4607         * m68k.c (output_function_prologue): Fix computation of save mask
4608         when generating PIC code.
4610 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
4612         * tree.c (build_type_attribute_variant): Move current_obstack restore
4613         after build_qualified_type call.
4615 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
4617         * configure.in: Use t-iris6, even with GNU LD.
4618         * config/mips/iris6gld.h: Fix typo in linker spec.
4619         * config/mips/t-iris6gld: Remove.
4621 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
4623         * rs6000.md (insv, extzv): Remove SImode dependence in named
4624         patterns.  Explicitly generate DImode RTL if PowerPC64 and
4625         operand is DImode.
4626         (insvdi): Reverse start and size in instruction template.
4628 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
4630         * invoke.texi: Typo fixes.
4632 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
4634         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
4635         handle at this time instead of silently generating incorrect code.
4636         (gen_imagpart): Likewise.
4638         * reload.c (find_reloads): Emit a USE for a pseudo register without
4639         a hard register if we could not create an optional reload for the
4640         pseudo.
4642 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4644         * c-typeck.c (output_init_element, process_init_element):
4645         When advancing constructor_unfilled_fields for a RECORD_TYPE,
4646         check for nameless bit fields.
4648 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
4650         * regclass.c (scan_one_insn): Notice subregs that change the
4651         size of their operand.
4652         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
4654 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
4656         * configure.in (alpha*-*-*): Include alpha/t-ieee.
4657         * configure: Rebuilt.
4658         * alpha/t-ieee: New file.
4660 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
4662         * rs6000.c (find_addr_reg): Do not select r0 as an address
4663         register.
4665 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
4667         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
4669 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
4671         * rs6000.md (movsf): Do not force easy FP constants into memory.
4673         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
4674         immed_double_const to ensure they are properly truncated then
4675         sign extended.
4677 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
4679         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
4680         always unless NO_DEBUG is used.  Compile this code
4681         unconditionally.
4682         (replace_symbols_in_block): Compile it unconditionally.
4684 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
4686         * configure.in (i?86-*-elf*): New target.
4687         * configure: Rebuilt.
4688         * i386/i386elf.h, i386/t-i386elf: New files.
4690 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
4692         * toplev.c (main): Don't complain about saying -gdwarf.
4693         (rest_of_compilation): Remove redundant code.
4695 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
4697         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
4699 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
4701         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
4702         "Li960R:", to avoid name clash.
4704 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4706         * loop.c (check_dbra_loop): When reversing a loop, delete all
4707         REG_EQUAL notes referencing the reversed biv except those which are
4708         for a giv based on it.
4710 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
4712         * version.c: Drop "gcc-" prefix from version #.
4714 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
4716         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
4717         the label if we're being verbose.
4719 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
4721         * m68k.c (output_function_prologue): Add pic register to mask
4722         if live and flag_pic.
4723         (output_function_epilogue): Likewise.
4725 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
4727         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
4728         directives in column zero.
4730         * pa/elf.h (ASM_FILE_START): Define.
4731         * pa/som.h (ASM_FILE_START): Include .level directives.
4732         * pa/hpux10.h (ASM_FILE_START): Delete.
4733         * pa/hpux11.h (ASM_FILE_START): Delete.
4735         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
4737 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4739         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
4740         when reload_out equals reload_in.
4742 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
4744         * invoke.texi (Spec Files): New node: Describe the contents of
4745         spec files.
4747 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
4749         * invoke.texi (DEC Alpha Options): Put @end table at
4750         beginning of line, to avoid confusing texi2html.
4752 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
4754         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
4755         introduced in previous delta.
4757 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4759         * reload1.c (gen_reload): When synthesizing a 3 operand add
4760         sequence, improve test for when to reload OP1 into the reload
4761         register instead of OP0.
4763 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
4765         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
4767 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
4769         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
4770         string literal.
4772 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
4774         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
4775         (va_dcl): Use __builtin_va_alist_t.
4777 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
4779         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
4780         on the permanent_obstack.
4781         * dwarfout.c (output_type): Likewise.
4783 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
4785         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
4786         Merged from c-typeck.c and cp/typeck.c.
4787         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
4788         Merged into c-common.
4790 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
4792         * c-lex.c (errorcount): Declare it.
4793         (finish_parse): Update errorcount when using CPPLIB.
4795 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
4797         * fixinc/inclhack.def(end_else_label): Double the backslash so
4798         sed gets a chance to see it.
4799         * fixinc/inclhack.sh: regen
4800         * fixinc/fixincl.x: regen
4802 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
4804         Add framework to support armv5 architecture when it becomes
4805         available:
4807         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
4808         (arm_arch5): New variable.
4809         (all_architectures): Add armv5 line.
4810         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
4811         -march=armv5 is specified on the command line.
4812         (arm_arch5): Export this variable.
4813         * invoke.texi: Document new string accepted by -march= switch for
4814         ARM ports.
4816         * config/arm/arm.h: Replace use of constant 12 as a register
4817         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
4818         * config/arm/arm.c: Replace use of constant 12 as a register
4819         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
4821         * config/arm/elf.h: Tidy up.
4822         * config/arm/coff.h: Tidy up.
4824 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
4826         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
4827         * gcc/config/mips/t-iris6gld: New file.
4828         * gcc/config/mips/iris6gld.h: Likewise.
4830 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
4832         * c-decl.c (widest_integer_literal_type_node,
4833         widest_unsigned_literal_type) : New.
4834         (init_decl_processing): Handle/use the two new types.
4835         * c-common.c (type_for_size,type_for_mode) : Same.
4836         * c-lex.c (yylex) : Same.
4837         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
4838         Same.
4839         * c-tree.h (widest_integer_literal_type_node,
4840         widest_unsigned_literal_type) : New.
4842 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
4844         * dwarfout.c (field_byte_offset): Correctly compute the object's
4845         byte offset for the first bit of a field which crosses an alignment
4846         boundary on a !BYTES_BIG_ENDIAN target.
4848 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
4850         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
4851         ntohs.
4853 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
4854                           Jeff Law <law@cygnus.com>
4856         * ginclude/varargs.h (va_dcl): Use word_mode for type of
4857         __builtin_va_list.
4859         * except.c: Include intl.h.
4860         (expand_eh_return): Set current_function_cannot_inline.
4861         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
4862         * function.h (struct function): Add eh_return_stub_label.
4863         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
4864         * Makefile.in (except.o): Depend on intl.h.
4866 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
4868         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
4869         same as offsettable in cases 1 and 2.
4871 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
4873         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
4874         (extlh, extwh): Likewise.
4876 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
4878         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
4880 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
4882         * configure.in: Add arm-pe and thumb-pe targets.
4883         * configure: Regenerate.
4885         * thumb.c (arm_naked_function_p): New function: Determines if
4886         a function is naked (has no gcc generated prologue/epilogue).
4887         (is_called_in_ARM_mode): Return true if the func has the
4888         interfacearm attribute.
4889         (output_return): Do not generate a return for naked functions.
4890         (thumb_function_prologue): Do not generate a prologue for
4891         naked functions.
4892         (thumb_expand_prologue): Do not generate a prologue for naked
4893         functions.
4894         (thumb_expand_epilogue): Do not generate an epilogue for naked
4895         functions.
4896         (arm_valid_machine_decl_attribute): New function, copied from
4897         arm.c:  Permit naked and interfacearm attributes.
4899         * config/arm/pe.c: New file: Support code for arm-pe target.
4900         * config/arm/pe.h: New file: Header file for arm-pe target.
4901         * config/arm/tpe.h: New file: Header file for thumb-pe target.
4902         * config/arm/t-thumb-pe: New file: Makefile fragment for
4903         thumb-pe target.
4905 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
4907         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
4908         -fPIC or -fpic is specified.
4910 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
4912         * expr.c (emit_block_move): Use copy_to_mode_reg for
4913         !TARGET_MEM_FUNCTIONS case too.
4915         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
4916         appropriate.
4917         * configure: Rebuilt.
4918         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
4919         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
4920         definitions made redundant by dbxelf.h inclusion.  Delete
4921         lots of definitions related to assembly output that are
4922         specific to the SOM object format.
4923         * pa.c (output_function_prologue): Do not emit the function's
4924         name for OBJ_ELF.
4925         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
4926         * pa-pro.h: Deleted.
4927         * som.h: New file with SOM specific definitions.
4928         * elf.h: New file with ELF specific definitions.
4930         * elfos.h (const_section): Output a tab before assembler directives.
4931         (ctors_section, dtors_section): Likewise.
4932         (ASM_OUTPUT_SECTION_NAME): Likewise.
4934         * pa/pa1.h: Delete unused file.
4936 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
4938         * configure.in (hppa*-hp-hpux11*): New configuration.
4939         * configure: Rebuilt.
4940         * pa/pa-hpux11.h: New file.
4941         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
4942         command line.
4944         * mips.md (leasi, leadi): New patterns.
4946         * expr.c (emit_block_move): Properly handle case where one of the
4947         block move arguments has a queued increment or decrement.
4948         (clear_storage): Similarly.  Fix formatting goof.
4950 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
4952         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
4953         semicolon from the BSD VA_LIST replacement expression.
4955         * fixinc/inclhack.sh: regen
4956         * fixinc/fixincl.x: regen
4958         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
4959         now use the fixincl program.
4961 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
4963         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
4964         case.  Also make the PIC register call_used.
4966         * m68k.h (FINALIZE_PIC): Delete.
4967         * m68k.c (finalize_pic): Delete.
4969 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
4971         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
4972         to memory.
4974 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
4976         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
4978 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
4980         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
4982 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
4984         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
4986 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
4988         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
4990 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
4992         * rs6000.c (output_toc): Always use hex values for floating-point
4993         constants.  Store single-precision values in upper-half of TOC
4994         entry in 64-bit mode.
4995         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
4996         to final constraints.
4997         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
4998         (fctiwz): Improve accuracy of RTL for pattern.
5000 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
5002         * expr.c (expand_expr): Allow RTL_EXPR's through the
5003         MAX_INTEGER_COMPUTATION_MODE checks.
5005 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
5007         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
5008         such that MASK_SUPPORT_ARCH is not negative.
5010 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
5012         * loop.c (verify_dominator): Properly handle ADDR_VEC and
5013         ADDR_DIFF_VEC insns that appear inside loops.
5015 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
5016                           Jeff Law <law@cygnus.com>
5018         * rs6000.md (movdf_hardfloat32): Revert previous patch.
5019         Handle LO_SUM the same as offsettable in cases 1 and 2.
5020         * rs6000.c (find_addr_reg): Revert previous patch.
5022 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
5024         * system.h (strstr): New external function declaration.
5025         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
5026         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
5027         * config.in, configure: Rebuilt.
5029 1999-06-24  Tom Tromey  <tromey@cygnus.com>
5031         * gcc.c (main): Read user-specified specs files after computing
5032         additional startfile_prefixes.
5034 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
5036         Revert these two patches:
5038         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5039         * loop.c (strength_reduce): When doing biv->giv conversion, update
5040         reg note of NEXT->insn.
5042         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5043         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
5044         reg_biv_class.
5045         (recombine_givs): Set ix field after sorting.
5047 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5049         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
5050         for the parts of an UNSPEC / UNSPEC_VOLATILE.
5052 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
5054         *fixinc/inclhack.def:  Add fix development commentary
5055         (read_ret_type): reactivate and add selection clause
5056         (zzz_*): tweak output file name to match what is used in hackshell.tpl
5057         *fixinc/{fixincl.x|inclhack.sh}: regen
5059 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
5061         * expr.c (expand_expr): STRIP_NOPS before checking against
5062         MAX_INTEGER_COMPUTATION_MODE
5063         (check_max_integer_computation_mode): Likewise.
5065 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
5067         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
5069 1999-06-22  Jim Wilson  <wilson@cygnus.com>
5071         * expr.c (store_expr): When target is a promoted subreg, return a
5072         promoted subreg as a result.
5074 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
5076         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
5077         coding standards.
5078         (dwarf2out_define): Mark unused parameters appropriately.
5079         (gen_unspecified_parameters_die): Ditto.
5080         (gen_subprogram_die): Fix signed/unsigned warnings.
5081         (gen_variable_die): Ditto.
5083 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
5085         * fixinc/inclhack.def(end_else_label): combined else_label
5086         and endif_label and fixed the sed expression.
5087         *fixinc/{fixincl.x|inclhack.sh}: regen
5089 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
5091         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
5092         'x' when handling non-offsettable addresses
5094 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
5096         * final.c (shorten_branches): Don't try to split an insn that has
5097         been deleted.
5099 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
5101         * config/mips/mips.c (symbolic_expression_p): New function.
5102         (mips_select_rtx_section): Put symbolic expressions in the
5103         data section, not the read-only data section.
5105 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
5107         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
5109 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
5111         * collect2.c (main): Log frame table count.
5112         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
5113         (scan_prog_file) [COFF]: Handle frame tables.
5115         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
5116         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
5117         * alpha/elf.h: Undef them again.
5118         * alpha/vms.h: Remove their definitions.
5120 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5122         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
5123         remove the clobber of r0 and change the REG_UNUSED note to
5124         REG_INC.
5126 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
5128         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
5129         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
5130         fits in HOST_WIDE_INT and one uses union to access a long constant
5131         as double.
5133 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
5135         * sparc.c (sparc_override_options): Don't allow profiling for
5136         code models other than medlow.
5137         (sparc_function_profiler): New function from old FUNCTION_PROFILER
5138         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
5139         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
5140         (sparc_block_profiler): Likewise.
5141         (sparc_function_block_profiler_exit): Likewise.
5142         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
5143         (FUNCTION_BLOCK_PROFILER): Likewise.
5144         (BLOCK_PROFILER): Likewise.
5145         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
5146         (MCOUNT_FUNCTION): New.
5147         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
5148         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
5149         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
5150         (MCOUNT_FUNCTION): New.
5151         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
5152         (BLOCK_PROFILER): Delete.
5153         (MCOUNT_FUNCTION): New.
5155 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
5157         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
5159 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
5161         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
5162         Add the macros.
5164         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
5165         Ditto.
5167         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
5168         Ditto.
5170         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
5171         Ditto.
5173 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
5175         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
5176         types.
5178 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
5180         * i386/djgpp.h (LIB_SPEC): New.
5181         (STARTFILE_SPEC): New.
5183         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
5185 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
5187         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
5188         compiler flags.
5190         * system.h (WSTOPSIG): New macro.
5192 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
5194         * c-pragma.c (push_alignment): Don't ignore alignments greater than
5195         4 bytes.
5196         (insert_pack_attributes): Take into account member natural
5197         alignment.
5199         * i386/winnt.c (exports_head): New static variable.
5200         (i386_pe_record_exported_symbol): New function.
5201         (i386_pe_asm_file_end): Use.
5202         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
5203         symbols to be emitted at end of assembly.
5204         (ASM_DECLARE_OBJECT_NAME): Likewise.
5205         (ASM_DECLARE_FUNCTION_NAME): Likewise.
5207         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
5208         -iwithprefix.
5210 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
5212         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
5213         in last change.
5215 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
5217         * haifa-sched.c (sched_analyze_1): Use free_list instead of
5218         zapping reg_last_uses directly.
5219         (sched_analyze_2, sched_analyze_insn): Likewise.
5220         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
5222 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
5224         * rs6000.md (movdf_hardfloat32): Use worst case insn length
5225         attributes for cases 1 and 2.
5227 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
5229         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
5230         instead of set.
5232 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
5234         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
5236 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
5238         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
5239         PIC_OFFSET_TABLE_REGNUM for general alloaction.
5240         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
5241         must be stacked if it is used for PIC accesses.
5242         * arm.c (use_return_insn): Handle PIC register specially.
5243         (output_return_instruction): Likewise.
5244         (output_func_{prologue,epilogue}): Likewise.
5245         (output_expand_prologue): Likewise.
5247         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
5248         (*strsi_predec): Renamed from *strqi_predec.
5249         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
5250         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
5252         * arm.c (arm_override_options): Remove warning about PIC code
5253         not being supported.
5255 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
5257         * rs6000.c (find_addr_reg): New function.
5258         * rs6000.h (find_addr_reg): Declare.
5259         (offsettable_addr_operand): Delete.
5260         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
5261         from and stores to GPRs.
5263 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
5265         * alpha.c (alpha_expand_block_move): Use get_insns rather than
5266         gen_sequence as argument to emit_no_conflict_block.
5268 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
5270         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
5271         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
5272         *fixinc/fixincl.x: regen
5273         *fixinc/inclhack.sh: regen
5275 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
5277         * added support for -mpcrel (PC relative addressing for m68k)
5278         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
5279         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
5280         * m68k.c (print_operand_address): Handle 32-bit PIC case.
5281         (comments for general_src_operand): Add some explanation
5282         about EXTRA_CONSTRAINTS.
5283         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
5284         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
5285         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
5286         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
5287         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
5288         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
5289         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
5290         if not already set.
5291         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
5292         * m68k.h (TARGET_PCREL): New target flag.
5293         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
5294         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
5295         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
5296         contains a SYMBOL_REF.  Relax this constraint during reload, since
5297         we want to use the predicates, not reload's built-in concept of a
5298         valid memory address, to control what insns need reloading.
5299         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
5300         operands (essentially 'g', 'm', and 's' under normal circumstances).
5301         * m68k.c (print_operand): Cause printing of pc-relative addresses
5302         to include pc register.
5303         (print_operand_address): Ditto.
5304         (general_src_operand): Accept operands that are not only
5305         general_operands, but are also valid when used as a pc-relative
5306         source.
5307         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
5308         (memory_src_operand): Similar, for memory_operands.
5309         (pcrel_address): New predicate to accept the special case of a
5310         pc-relative address.
5311         * m68k.md (many patterns): Rewrite common SImode, HImode, and
5312         QImode insns to accept *_src_operand instead of *_operand where
5313         pc-relative operands can fit.  For example, a pc-relative operand
5314         can be used as a memory source operand for addsi3, but not as a
5315         memory destination.
5316         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
5318 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
5320         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
5321         .thumb_set pseudo op to mark aliases of thumb functions.
5323 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
5325         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
5326         preference to ASM_OUTPUT_DEF, if it is defined.
5328         * tm.texi: Document new, optional target macro
5329         ASM_OUTPUT_DEF_FROM_DECLS.
5331 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
5333         * fixincludes: ISCNTL patch
5334         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
5335         (dgux_int_varargs): new for DG/UX
5336         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
5338 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
5340         * invoke.texi (ia32 options): Fix typo.
5342 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5344         * loop.c (strength_reduce): When doing biv->giv conversion, update
5345         reg note of NEXT->insn.
5347 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
5349         * loop.c (move_movables): Note issues with replacing REGs with
5350         SUBREGs.
5351         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
5353 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
5355         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
5357         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
5358         the reference to `mcount' was not correct for the ELF on FreeBSD.
5360 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5362         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
5363         reg_biv_class.
5365         (recombine_givs): Set ix field after sorting.
5367 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
5369         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
5370         to safe to extract a subword out of a REG.
5372 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5374         * sh.md (mulsi3): Don't add a no-op move at the end.
5376 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5378         * cse.c (cse_insn): Don't put hard register source into tables for
5379         the last insn of a libcall.
5381 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5383         * loop.c (strength_reduce): Insert sets of derived givs at every
5384         biv increment, even if it's the only one.
5386 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
5388         * dwarfout.c (add_incomplete_type): New fn.
5389         (output_type): Call it.
5390         (retry_incomplete_types): New fn.
5391         (dwarfout_finish): Call it.
5393         From Eric Raskin <ehr@listworks.com>:
5394         (output_type): Output types for bases.
5396 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
5398         * mips.c (mips_output_conditional_branch): Add `break'
5399         between `default' label and `close braces'.
5401 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
5403         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
5404         specifications and make it realistic.
5405         (LIB_SPEC): Likewise.
5407 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
5409         * config/mips/mips.c (mips_secondary_reload_class): Check for
5410         (PLUS (SP) (REG)) and return appropriate register class.
5411         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
5412         Handle (PLUS (SP) (REG)).
5413         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
5414         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
5415         of emit_insn for tablejump.
5417 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
5419         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
5420         asm_fprintf format string by itself.
5421         (output_function_profiler): Likewise.
5423 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
5425         * combine.c (simplify_logical, case AND): Only call
5426         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
5427         or the constant is positive.
5429 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
5431         * configure.in: Fix typo in rs6000-ibm-aix4 case.
5432         * configure: Regenerate.
5434 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
5436         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
5437         require a sub-version #.
5438         * configure: Rebuilt.
5440 1999-06-14  Robert Lipe  (robertlipe@usa.net)
5442         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
5444 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
5446         * c-typeck.c (process_init_element): Detect excess elements in
5447         char array initializer.
5449 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5451         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
5453 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
5455         * invoke.texi (Option Summary): Add -fpermissive flag.
5457 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
5459         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
5460         that require PIC code sequences.
5462 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
5464         * configure.in: Add new target: thumb-elf.
5465         * configure: Regenerate.
5466         * config/arm/t-thumb-elf: New file: Makefile fragment for
5467         thumb-elf build.
5468         * config/arm/telf.h: New file: Header file for thumb-elf
5469         build.
5471 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
5473         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
5474         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
5475         initializers is some circumstances.
5477         * fixinc/inclhack.def (endif_label): Add additional selector for
5478         more bogus stuff after #endif statements.
5479         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
5481 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
5483         * i386/cygwin.h (SET_ASM_OP): Define.
5485 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
5487         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
5489 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5491         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
5492         latter.
5494         * sh.md (ic_invalidate_line_i): Remove second alternative.
5496 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
5498         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
5499         test for the presence of valid prototypes.  Delete bypass expr.
5500         (ioctl_fix_ctrl): Correct the selection expression.
5501         (no_double_slash): Correct quoting rules
5502         *fixinc/fixincl.x: regen
5503         *fixinc/inclhack.sh: regen
5505 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
5507         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
5509 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5511         * rs6000.md (movsi_got_internal_mem): Delete.
5512         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
5513         (GOT_TOC_REGNUM): Delete.
5514         (PIC_OFFSET_TABLE_REGNUM): Define.
5515         (FINALIZE_PIC): Disable.
5516         * rs6000.c (rs6000_got_register): New code for fixed pic register.
5517         (rs6000_replace_regno): Delete.
5518         (rs6000_finalize_pic): Likewise.
5519         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
5521 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5523         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
5524         is a note; use <= for the compare; advance P while it is
5525         a NOTE.
5527 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
5529         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
5530         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
5532         * varasm.c (remove_from_pending_weak_list): Verify t->name
5533         is non-NULL before passing it to strcmp.
5535 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
5537         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
5538         the typed arguments are not part of a comment
5539         (ioctl_fix_ctrl): Added a purpose comment
5540         *fixinc/fixincl.x: regenerate
5541         *fixinc/inclhack.sh: regenerate
5543 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5545         * invoke.texi: Add C4x invocation docs.
5547 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5549         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
5550         Define new macros.
5551         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
5552         TARGET_EXPOSE_LDP.
5553         (c4x_legitimize_reload_address): New function.
5554         * config/c4x/c4x.md: Update docs.
5556 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
5558         * fixincludes: Avoid removing '.'.
5559         * fixinc/fixinc.svr4: Likewise.
5560         * fixinc/fixinc.winnt: Likewise.
5561         * fixinc/inclhack.tpl: Likewise.
5562         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
5564 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5566         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
5567         pattern.
5568         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
5570 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
5572         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
5573         correctly.
5575 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
5577         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
5578         * configure: Regenerate.
5580 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
5582         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
5583         values.
5585 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
5587         * fixinc/inclhack.def (avoid_bool): Also catch
5588         "typedef [unsigned] int bool".
5589         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
5591         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
5592         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
5593         * configure: Rebuilt.
5595 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
5597         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
5598         such that we can override its definitions if necessary.
5599         (CPP_SPEC): New define.  Support processor specific predefines via
5600         %(cpp_cpu).
5601         (CC1_SPEC): New define.  Support processor specific compiler
5602         options via %(cc1_cpu).
5603         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
5604         -static.
5606 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5608         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
5609         between sed's -e flag, and the open-quote following it.
5610         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
5612 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
5613                           Jeffrey A Law  (law@cygnus.com)
5615         * varasm.c (assemble_start_function): Remove the function
5616         from the pending weak decls list when we define a function.
5617         (assemble_variable): Similarly for variables.
5618         (weak_finish): Ignore items on the list with a NULL name.
5619         (remove_from_ending_weak_list); New function to "remove" an item
5620         from the pending weak declarations list.
5622 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
5624         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
5626 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
5628         * c-lex.c (GETC): Redefine to call getch.
5629         (UNGETC): Redefine to call put_back.
5630         (putback_buffer): New structure type.
5631         (putback): New static structure.
5632         (getch): New function.
5633         (put_back): New function.
5634         (yylex): Replace unused bytes from bad multibyte character.
5636 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
5638         * cpplib.c (do_define): Cast `alloca' return value.
5639         (do_include, do_undef, do_pragma): Likewise.
5640         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
5641         values.
5642         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
5643         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
5645 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
5647         * sparc.md (abstf2): This should be an expand.
5648         (split after abstf2_notv9): Fix mode.
5649         (abstf2_hq_v9): New pattern.
5650         (abstf2_v9): Only use when no hard quad.
5651         (absdf2_v9): Fix if target is not the same as source.
5652         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
5653         Add correct output constraints.
5655 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
5657         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
5658         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
5660 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
5662         * mips.h (mips_output_conditional_branch): New function.
5663         (mips_adjust_insn_length): Likewise.
5664         (ASSEMBLER_SCRATCH_REGNUM): New macro.
5665         (ADJUST_INSN_LENGTH): Likewise.
5666         * mips.c (print_operand): Add `F' and `W' for floating-point
5667         comparison opcodes.
5668         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
5669         are now in bytes.
5670         (mips_adjust_insn_length): New function.
5671         (mips_output_conditional_branch): New function.
5672         * mips.md (length): Adjust attribute definition to handle
5673         conditional branches.   Change lengths to bytes, rather than
5674         instructions throughout.  Remove length attribute from
5675         instructions whose length is four bytes, and rely on the default
5676         instead.
5677         (dslot): Fix typo in comment.
5678         Reword conditional branch patterns to use
5679         mips_output_conditional_branch.
5681 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5683         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
5684         (LIB_SPEC): Likewise.
5685         Link with -lprof1_r for -g/-pg.
5687 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5689         * loop.c (check_dbra_loop): Fix change of Jan 19.
5691 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
5693         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
5694         (STARTFILE_SPEC):  Define, override the svr4.h version.
5695         (ENDFILE_SPEC):  Likewise.
5697 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
5699         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
5700         * fixinc/fixincl.x: Regenerated.
5701         * fixinc/inclhack.sh: Regenerated.
5703 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5705         * sh.c (barrier_align): Don't return early for normal branch/barrier
5706         when optimizing for SH2.
5708 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
5710         * i386/udk.h (LINK_SPEC): Correct linker search path for
5711         system libraries.
5713 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5715         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
5716         (braf_label_ref_operand): Delete.
5717         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
5718         * sh.md (casesi_jump_2): Operand1 is now the inside of a
5719         label_ref, and has no predicate.
5720         The patten has a predicate to guard against invalid substitutions.
5721         (dummy_jump): Delete.
5722         (casesi): Update use of casesi_jump_2.
5724 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
5726         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
5727         *fixinc/fixincl.x: regenerate
5728         *fixinc/inclhack.sh: regenerate
5730 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
5732         * dwarf2out.c (add_incomplete_type): New fn.
5733         (gen_struct_or_union_type_die): Call it.
5734         (retry_incomplete_types): New fn.
5735         (dwarf2out_finish): Call it.
5737 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
5739         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
5740         current block starts with a CODE_LABEL and ends with a CALL and
5741         we can not find all the argument setup instructions for the CALL.
5743 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
5745         Revert this change:
5746         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
5747         something is a candidate for optimize_bit_field_compare.
5749 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5751         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
5753 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
5755         * alpha.c (override_options): Thinko in last patch.
5757         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
5758         (LIB_SPEC): Recognize -pthread.
5760 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
5762         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
5763         definition in config/arm/coff.h
5764         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
5766 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
5768         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
5769         fixes that need "file=xxx\n" prepended before invocation
5770         (start_fixer - new): starting the fixer process is complex enough
5771         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
5772         (process): uses the new routine; omit usage of putenv()
5773         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
5774         * fixinc/fixincl.x: regenerate
5776 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
5778         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
5779         and version #s (1.1 -> 2.96) as needed.
5780         * README.g77: Kill way out of date file in the toplevel directory.
5782 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
5784         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
5785         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
5786         * configure: Rebuilt.
5787         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
5788         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
5789         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
5790         (SWITCH_TAKES_ARG): Likewise.
5791         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
5792         * config/t-freebsd: Moved from config/i386/ so it can used for all
5793         FreeBSD targets.
5795 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
5797         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
5799 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
5801         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
5802         * configure: Rebuilt.
5804 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
5806         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
5807         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
5808         * rs6000/rs6000.c (rs6000_file_start): Use putc.
5809         (rs6000_output_load_toc_table): Same.
5810         (output_prolog, output_mi_thunk): Same.
5811         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
5812         (ASM_GLOBALIZE_LABEL): Use putc.
5814 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
5816         * alpha.md (reload_*_help): New patterns and splitters.
5817         (reload_*): Use them.
5818         (mov[qh]i): Likewise.
5820 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
5822         * cccp.c (handle_directive): Handle backslash-newlines in quoted
5823         strings correctly.
5825 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
5827         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
5829 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
5831         * flow.c (mark_regs_live_at_end, insn_dead_p,
5832         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
5833         and HARD_FRAME_POINTER_REGNUM special treatment if reload
5834         hasn't run or the frame pointer is needed.
5835         * haifa-sched.c (attach_deaths): Likewise.
5836         * sched.c (attach_deaths): Likewise.
5838 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
5840         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
5841         calculate_can_reach_end returns nonzero.
5843         * configure.in (native gas tests): Search for an assembler in the
5844         same manner that the installed compiler will.
5845         * configure: Rebuilt.
5846         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
5848         * alias.c (find_base_term): Improve handling of addresses
5849         constructed from binary operations.
5851 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
5853         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
5855 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
5857         * function.h (cleanup_label, frame_offset): Declare.
5858         (tail_recursion_label, tail_recursion_reentry): Likewise.
5859         (arg_pointer_save_area, rtl_expr_chain): Likewise.
5860         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
5861         (tail_recursion_label, tail_recursion_reentry): Likewise.
5862         (arg_pointer_save_area, rtl_expr_chain): Likewise.
5864 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
5866         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
5867         defined.
5868         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
5869         (MAX_OFILE_ALIGNMENT): Define.
5871 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
5873         * fixincl.c: Replace local include scheme with #includes of
5874         gansidecl.h and system.h.
5875         * procopen.c:  Likewise.
5876         * server.c:  Likewise.
5878 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
5880         * i386/t-dgux (EXTRA_PARTS): Add crti.o
5881         (crti.o): Add build rule and dependencies.
5882         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
5884 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5886         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
5887         (LIB_LINUX_SPEC): Likewise.
5888         (LIB_LINUX_SPEC): Add support for -pthread
5889         (CPP_OS_LINUX_SPEC): Likewise.
5890         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
5891         specified.
5893 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
5895         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
5896         conditional move.
5897         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
5898         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
5899         for IEEE math and CC_FCOMI.
5900         (put_jump_code): No IEEE if CC_FCOMI is set.
5902 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5904         * fold-const.c (fold_truthop): Make the field reference unsigned
5905         when converting a single bit compare.
5907 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5909         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
5911 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
5913         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
5914         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
5915         version did.
5917         * reload.c (push_reload): Do not call remove_address_replacements
5918         when presented with identical optional reloads.
5920 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
5922         * alpha.h (MASK_FIX, TARGET_FIX): New.
5923         (MASK_*): Reorganize constants.
5924         (CPP_AM_FIX_SPEC): New.
5925         (TARGET_SWITCHES): Add FIX.
5926         (EXTRA_SPECS): Likewise.
5927         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
5928         (SECONDARY_MEMORY_NEEDED): Likewise.
5929         (REGISTER_MOVE_COST): Likewise.
5930         * alpha.c (override_options): Add FIX support.  Always use
5931         ALPHA_TP_PROG for ev6.
5932         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
5933         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
5934         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
5936 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
5938         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
5939         something is a candidate for optimize_bit_field_compare.
5941 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
5943         * gcc.texi (Passes): Document branch-shortening.
5944         * invoke.texi (Debugging Options): Document the fact that `-dp'
5945         outputs length information for instructions.
5947 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
5949         * flow.c: Revert previous delta.
5951 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
5953         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
5954         FRAME_POINTER_REGNUM.
5955         (mark_set_1): Ditto.
5956         (mark_used_regs): Ditto.
5958 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
5960         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
5961         (GOT_PCREL): New macro.  Define to 1 if not already defined.
5962         * arm/elf.h (GOT_PCREL): Define to 0.
5963         * arm.c (arm_finalize_pic): Take into account the setting of
5964         GOT_PCREL.
5966 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
5968         * output.h (STRIP_NAME_ENCODING): Provide default definition.
5969         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
5971         * flow.c (mark_set_1): Do not record BLKmode stores as dead
5972         store elimination candidates.
5974 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
5976         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
5977         TARGET_GAS.
5979 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
5981         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
5982         Add use of x-aix41-gld.
5984 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
5986         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
5987         (ASM_OUTPUT_DESTRUCTOR): Define.
5989 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
5991         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
5992         last CODE_LABEL in a loop if we have previously passed a jump
5993         to the top of the loop.
5995 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
5997         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
5998         applying Philip's patch.
6000 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
6002         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
6003         are not VAR_DECLs.
6005 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
6007         * loop.c (strength_reduce): Grow reg_single_usage as needed.
6009 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
6011         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
6012         Also remove a useless comment.
6014 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
6016         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
6018 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
6020         * collect2.c (main): Only generate import or export file and add
6021         to link arguments if non-empty.  Use xmalloc not alloca.
6022         (write_{export,import}_file): Delete.
6023         (write_aix_file): New function.
6024         (locatelib): Use xmalloc not malloc.
6025         (GCC_OK_SYMBOL): Do not check type if aix64.
6027 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
6029         Based on patch by Scott Bambrough and Pat Beirne:
6030         * config/arm/arm.c (making_const_table): New variable.
6031         * config/arm/arm.h (making_const_table): Declare.
6032         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
6033         appropriate.
6034         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
6035         Keep track of when we are building the constant table.
6037 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
6039         * config/arm/arm.c (arm_override_options): Fix erroneous warning
6040         message.
6042 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
6044         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
6045         defined.
6047 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
6049         * tm.texi (FUNCTION_ARG): Correct description of a stack element
6050         in a PARALLEL.
6052 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
6054         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
6056 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6058         * rs6000.c (output_mi_thunk): Enable full support again.
6060 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
6062         * sh.h (BRANCH_COST): Define.
6064 Thu May 20 10:00:42 1999   Stephen L Moshier  <moshier@world.std.com>
6066         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
6068 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
6070         * function.c (assign_stack_local): Align stack slot propertly.
6071         (assign_outer_stack_local): Likewise.
6073 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
6075         * expr.h (lang_expand_constant): Declare.
6076         * toplev.c (lang_expand_constant): Define it.
6077         * varasm.c (output_constant): Use it.
6079 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6081         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
6082         Change function definitions to K&R style.
6084 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
6086         * fixinc/fixincl.c: We must not ignore SIGCLD now.
6088 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
6090         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
6091         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
6092         (several places): omit static initialization
6093         (process): use single fd, since only the read fd is used
6094         * fixinc/gnu-regex.c: define 'const' away, if not supported
6095         * fixinc/procopen.c(several places): omit static initialization
6096         * fixinc/server.c: define 'volitile' away, if not supported
6098 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6100         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
6101         asm_fprintf and %L to generate the label name.
6102         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
6103         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
6105 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
6107         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
6108         insn for a conditional jump can not be found.
6110 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
6112         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
6113         on variables in specific sections other than .sbss and .sdata.
6115 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
6117         * stmt.c (expand_return): Call start_cleanup_deferral and
6118         end_cleanup_deferral around conditional code.
6120 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
6122         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
6123         filename lists.  Utilizes new "krstr" AutoGen function.
6124         * fixinc/fixincl.x: Rebuilt.
6126 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
6128         * i386.c (output_float_compare): Avoid GNU-C extensions.
6130 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
6132         * version.c: Bump to distinguish mainline tree from the
6133         gcc-2.95 branch.
6135 See ChangeLog.1 for earlier changes.
6137 Local Variables:
6138 add-log-time-format: current-time-string
6139 End: