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