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