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