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