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