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