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