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