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