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