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