1 2000-04-30 Richard Henderson <rth@cygnus.com>
3 * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
5 * ifcvt.c (noce_process_if_block): Fail the conversion if X is
6 referenced bewteen the condition and the jump. Don't delete
9 Sun Apr 30 22:48:24 2000 Jason Eckhardt <jle@cygnus.com>
11 * bb-reorder.c (scope_def): New struct.
12 (scope_forest_info): New struct.
13 (struct reorder_block_def): New member "scope".
14 (REORDER_BLOCK_SCOPE): New macro.
15 (relate_bbs_with_scopes): New function and prototype.
16 (make_new_scope): Likewise.
17 (build_scope_forest): Likewise.
18 (remove_scope_notes): Likewise.
19 (insert_intra_1): Likewise.
20 (insert_intra_bb_scope_notes): Likewise.
21 (insert_inter_bb_scope_notes): Likewise.
22 (rebuild_scope_notes): Likewise.
23 (free_scope_forest_1): Likewise.
24 (free_scope_forest): Likewise.
25 (dump_scope_forest): Likewise.
26 (dump_scope_forest_1): Likewise.
27 (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
28 Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
30 (reorder_basic_blocks): Added calls to build_scope_scope_forest
31 and remove_scope_notes before reordering is done. Added calls to
32 rebuild_scope_notes, free_scope_forest, and reorder_blocks after
33 after reordering is done.
35 2000-40-30 Bruce Korb <bkorb@gnu.org>
37 * fixinc/inclhack.def: Added definitions needed by OSR5,
38 removed two stale entries (defined away with OLD_CPP).
39 * fixinc/inclhack.sh: regen
40 * fixinc/fixincl.x: regen
42 2000-04-30 Richard Henderson <rth@cygnus.com>
44 * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
45 from the last insn in the sequence.
47 2000-04-30 Zack Weinberg <zack@wolery.cumb.org>
49 * cpplex.c (cpp_idcmp): New function.
50 * cpplib.h: Prototype it.
51 * scan_decls.c (scan_decls): Use it to inspect token names.
52 * fix-header.c (read_scan_file): Likewise. Set system_header_p on
53 the file being run through the preprocessor.
54 (check_macro_names): Provide length of token to cpp_defined.
56 * Makefile.in: Remove stale warning message.
58 * cppfiles.c (redundant_include_p): Provide length of token to
60 * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
61 values are unsigned int.
62 (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
63 (_cpp_lookup_slot): Do not calculate the hash, either.
64 * cpphash.h: Update prototypes.
65 * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
66 Hashes are unsigned int. Calculate hash here, pass by value
69 2000-04-30 Bernd Schmidt <bernds@cygnus.co.uk>
71 * simplify-rtx.c (check_value_useless): Delete function.
72 (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
74 (cselib_invalidate_regno): Likewise.
75 (cselib_invalidate_mem_1): Likewise.
76 (references_value_p): Recognize useless values by the fact that they
78 (discard_useless_values): Likewise.
79 (cselib_record_set): This may turn a useless value
82 2000-04-30 Richard Henderson <rth@cygnus.com>
84 * config/d30v: New port.
86 * configure.in (d30v-*): Set fp format.
89 2000-04-30 Richard Henderson <rth@cygnus.com>
92 * Makefile.in (OBJS): Add it.
93 (ifcvt.o): New target.
94 * jump.c (jump_optimize_1): Remove all code related to if-conversion,
95 and conditional arithmetic.
96 (find_insert_position): Remove.
97 * timevar.def (TV_IFCVT, TV_IFCVT2): New.
98 * toplev.c (DFI_ce, DFI_ce2): New.
99 (dump_file): Add ce and ce2 dumps.
100 (rest_of_compilation): Run if_convert a couple o times. Set
101 cse_not_expected after cse2. Don't set no_new_pseudos until
102 after sched1 or recompute_reg_usage.
104 2000-04-30 Richard Henderson <rth@cygnus.com>
106 * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
107 (crtend.o, crtbeginS.o, crtendS.o): Likewise.
109 2000-04-30 Richard Henderson <rth@cygnus.com>
111 * flow.c (struct reg_cond_life_info): New.
112 (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
113 (init_propagate_block_info): Initialize them.
114 (free_propagate_block_info): Destruct them.
115 (mark_set_1): Consider conditional life before killing a register.
116 (mark_regno_cond_dead): New.
117 (free_reg_cond_life_info): New.
118 (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
119 (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
120 (mark_used_reg): Record conditional life.
122 * haifa-sched.c (schedule_insns): Disable death counting
123 sanity check for HAVE_conditional_execution.
125 2000-04-30 Richard Henderson <rth@cygnus.com>
127 * Makefile.in (TIMEVAR_H): New.
128 (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
129 (timevar.h): Remove rule.
131 2000-04-29 Richard Henderson <rth@cygnus.com>
133 * config/alpha/crtend.asm: Use C comments instead of #.
134 * config/alpha/crtbegin.asm: Likewise. Mark __dso_handle hidden.
136 * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
138 2000-04-29 Zack Weinberg <zack@wolery.cumb.org>
140 * cpphash.h (enum node_type: Take out T_MCONST.
141 (union hashval): Move into struct hashnode.
142 (struct hashnode): Pack tighter. Remove file, line, col
144 * cpphash.c: Constify most of the macro-definition structures.
145 (struct definition): Replace by struct object_defn
146 and struct funct_defn. Put file, line, column information
147 here. All users updated to match.
148 (_cpp_create_definition, _cpp_macroexpand): Remove special
149 case for #define WORD OTHERWORD.
150 * cpplib.c (do_undef): Remove T_MCONST case.
152 * cpphash.h: Move struct reflist, struct definition, and the
153 DEFINITION typedef to cpphash.c. Use 'struct definition *' in
154 union hashval. _cpp_free_definition takes a HASHNODE pointer.
155 * cpphash.c (_cpp_free_definition): Free data pointed to by
156 MCONST, XCONST, MACRO, and FMACRO nodes properly.
157 (_cpp_create_definition, del_HASHNODE): Just call
158 _cpp_free_definition to clear out a hashnode.
159 * cpplib.c (do_pragma_poison): Likewise.
161 Sat Apr 29 12:25:17 2000 Alexandre Oliva <aoliva@cygnus.com>
163 * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
164 LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
165 FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
166 (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
167 (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
168 REGNO_AM33_P): Redefine in terms of the new macros.
169 (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
170 (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
171 STRUCT_VALUE): Likewise.
172 (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
173 ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise. Moved.
175 Sat Apr 29 01:18:45 MET DST 2000 Jan Hubicka <jh@suse.cz>
177 * regmove.c (struct record_stack_memrefs_data): New.
178 (record_stack_memrefs): New function.
179 (combine_stack_adjustments_for_block): Use it.
181 Sat Apr 29 01:15:27 MET DST 2000 Jan Hubicka <jh@suse.cz>
183 * calls.c (calls_function_1): Propertly handle TREE_LIST expressions;
184 use special_function_p to detect alloca.
186 Fri Apr 28 16:30:33 2000 Marc Espie <espie@cvs.openbsd.org>
188 * gcc.texi: Fixes for makeinfo 4.0 --html.
190 2000-04-28 Zack Weinberg <zack@wolery.cumb.org>
192 * pcp.h: Delete file.
194 2000-04-28 Kazu Hirata <kazu@hxi.com>
196 * h8300.c (function_epilogue): Clean up flags when the last insn
197 in a function is a barrier.
199 2000-04-28 Chris Demetriou <cgd@sibyte.com>
201 * configure.in (sparc-hal-solaris2*): protect [] glob from
203 (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
204 rather than hard-coded constants in target_cpu_default2.
205 * configure: Regenerate.
207 2000-04-28 Jason Merrill <jason@casey.cygnus.com>
209 * tree.c (get_callee_fndecl): Extract the initial value from
212 2000-04-28 Richard Henderson <rth@cygnus.com>
214 * varasm.c (record_constant_1): Record the CODE_LABEL when
215 taking the address of a LABEL_REF.
217 2000-04-28 Richard Henderson <rth@cygnus.com>
218 Jan Hubicka <jh@suse.cz>
220 * calls.c (combine_pending_stack_adjustment_and_call): Return the
221 adjustment; don't do the stack adjust.
222 (expand_call): Call compute_argument_block_size right before
223 allocating the block; update comment; don't do alignment sanity
224 checking for sibling call; use args_size instead of
225 unadjusted_args_size before args_size is adjusted. Use
226 combine_pending_stack_adjustment_and_call to compute stack adjust
227 for must_preallocate case.
229 * expr.c (push_block): Remove shadow `temp' in inner scope.
231 2000-04-28 Jason Merrill <jason@casey.cygnus.com>
233 * toplev.c (rest_of_compilation): Call
234 note_deferral_of_defined_inline_function even if the function
237 2000-04-28 Scott Bambrough <scottb@netwinder.org>
239 * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
241 2000-04-28 Richard Henderson <rth@cygnus.com>
243 * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
245 2000-04-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
247 * timevar.c (init_timevar): DeANSIfy function definition.
249 2000-04-27 Alex Samuel <samuel@codesourcery.com>
251 * Makefile.in (timevar.o): Depend on flags.h.
252 * timevar.c (unused_stack_instances): New variable.
253 (timevar_push): Take a timevar_stack_def from
254 unused_stack_instances if available.
255 (timevar_pop): Push the popped timevar_stack_def onto
256 unused_stack_instances.
257 (TIMEVAR_ENABLE): New macro.
258 (timevar_def): Make standalone a 1-bit field. Add field used.
259 (get_time): Rename parameter to now. Return after clearing it if
261 (init_timevar): Do nothing if not TIMEVAR_ENABLE.
262 (timevar_pop): Likewise.
263 (timevar_stop): Likewise.
264 (timevar_push): Likewise. Mark the timing variable as used.
265 (timevar_start): Likewise.
266 (timevar_print): Do nothing if not TIMEVAR_ENABLE. Don't print
267 timevars that were never used.
269 2000-04-27 Mark Mitchell <mark@codesourcery.com>
271 * c-commom.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
272 always TREE_READONLY.
274 2000-04-27 Ulrich Drepper <drepper@cygnus.com>
276 * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
277 for call instruction with mode QImode.
279 2000-04-27 Alex Samuel <samuel@codesourcery.com>
281 * Makefile.in (OBJS): Add timevar.o.
282 (toplev.o): Depend on timevar.h.
283 (ggc-simple.o): Likewise.
284 (ggc-page.o): Likewise.
285 (timevar.o): New rule.
286 (timevar.h): New rule.
288 * timevar.h: New file.
289 * timevar.c: Likewise.
290 * timevar.def: Likewise.
292 * toplev.h (gc_time, parse_time, varconst_time): Remove.
293 * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
295 (TIMEVAR): Remove macro.
296 (gc_time, parse_time, varconst_time, integration_time, jump_time,
297 cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
298 flow_time, combine_time, regmove_time, sched_time,
299 local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
300 sched2_time, dbr_sched_time, reorder_blocks_time,
301 rename_registers_time, shorten_branch_time, stack_reg_time,
302 to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
304 (compile_file): Don't initialize time variables. Call
305 init_timevar and start TV_TOTAL timer. Call timevar_print instead
306 of many calls to print_time.
307 (rest_of_compilation): Add timing for reload_cse_regs.
308 (get_run_time): Removed to timevar.c.
309 (print_time): Likewise.
310 (get_run_time): Implement using TV_TOTAL time variable.
311 (print_time): Get total run time from get_run_time.
312 * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
313 computing elapsed time explicitly.
314 * ggc-simple.c (ggc_collect): Likewise.
315 (gc_time): Remove declaration.
317 2000-04-27 Mark Mitchell <mark@codesourcery.com>
319 * calls.c (combine_pending_stack_adjustment_and_call): New function.
320 (expand_call): Use it.
322 2000-04-27 Jan Hubicka <jh@suse.cz>
324 * flow.c (mark_set_1): Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
327 Thu Apr 27 12:47:00 2000 Alexandre Oliva <aoliva@cygnus.com>
329 * config/mn10300/mn10300.md (movhi): Simplify. Prefer data
332 Thu Apr 27 17:33:05 MET DST 2000 Jan Hubicka <jh@suse.cz>
334 * function.c (epilogue_done): Pass whole insn to record_insns.
336 Thu Apr 27 16:55:28 MET DST 2000 Jan Hubicka <jh@suse.cz>
338 * cse.c (CSE_ADDRESS_COST): Remove.
339 (find_best_addr): Add new parameter "MODE", use address_cost instead
342 (fold_rtx): Update call of find_best_addr.
343 * rtl.h (address_cost): Declare.
344 * loop.c (general_induction_var): Add new parameter "MODE", use
345 address_cost instead of ADDRESS_COST
346 (init_loop): Use address_cost instead of ADDRESS_COST.
347 (check_insn_for_givs): Update call of general_induction_var.
348 (find_mem_givs): Likewise.
349 (consec_sets_giv): Likewise.
350 * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
351 * i386.c (ix86_address_cost): New.
352 * i386-protos.h (ix86_address_cost): Declare.
354 Thu Apr 27 11:45:16 2000 Alexandre Oliva <aoliva@cygnus.com>
356 * config/mn10300/mn10300.md (movqi): Simplify. Prefer data
359 Thu Apr 27 16:11:00 MET DST 2000 Jan Hubicka <jh@suse.cz>
361 * expr.c (store_expr): Use clear_storage instead of direct memset
364 Thu Apr 27 10:36:51 2000 Alexandre Oliva <aoliva@cygnus.com>
366 * config/mn10300/mn10300.c (mn10300_address_cost): Test
367 ASHIFT, AND and LABEL_REF.
369 Thu Apr 27 15:08:46 MET DST 2000 Jan Hubicka <jh@suse.cz>
371 * invoke.texi (-foptimize-sibling-calls): Fix.
373 Thu Apr 27 14:54:22 MET DST 2000 Jan Hubicka <jh@suse.cz>
375 * loop.c (load_mems) Don't use hard registers for the hoisting.
377 * unroll.c (unroll_loop): Avoid overflow in the n_iterations
378 calculation; rename const_equiv array in the preconditioning code
379 from loop_unroll to loop_unroll_precondition
381 2000-04-27 Richard Henderson <rth@cygnus.com>
383 * flow.c (struct propagate_block_info): Remove new_dead, new_live;
385 (propagate_one_insn): Clear it. Don't update reg_live here.
386 (init_propagate_block_info): Update for pbi member changes.
387 (free_propagate_block_info): Likewise.
388 (mark_set_1): Know that zero_extract, sign_extract, and
389 strict_low_part don't kill their argument. Alter hard subregs.
390 Update new_set for non-CLOBBER sets. Update reg_live.
391 (find_auto_inc): Update reg_live, not new_dead.
392 (mark_used_reg): Update reg_live, not new_live. Examine new_set
393 to determine if the reg in question was set this insn. Only update
394 reg info with PROP_REG_INFO.
396 2000-04-26 Richard Henderson <rth@cygnus.com>
398 * flow.c (allocate_reg_life_data): Set max_regno here ...
399 (life_analysis): ... not here.
401 * flow.c (calculate_global_regs_live): Force stack pointer
404 2000-04-26 Richard Henderson <rth@cygnus.com>
406 * jump.c (redirect_exp_1): Rework from old redirect_exp. Never
407 commit change group changes.
408 (invert_exp_1): Similarly.
409 (redirect_exp, invert_exp): Use them.
410 (redirect_jump_1): New.
411 (invert_jump_1): New.
412 (jump_optimize_1): Remove code subsumed by condexec.c.
413 * rtl.h (invert_jump_1, redirect_jump_1): Declare.
415 2000-04-26 Richard Henderson <rth@cygnus.com>
417 * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
419 * genconfig.c (main): Set all HAVE_foo to 1.
421 * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
423 2000-04-26 Alex Samuel <samuel@codesourcery.com>
425 * invoke.texi: Document -fssa flag.
427 2000-04-26 Richard Henderson <rth@cygnus.com>
429 * flow.c (count_reg_sets_1): Remove.
430 (count_reg_sets, count_reg_references): Remove.
431 (recompute_reg_usage): Implement with update_life_info.
432 Reallocate life data.
434 2000-04-26 Richard Henderson <rth@cygnus.com>
436 * flow.c (update_life_info): Consider blocks null to mean the
438 (calculate_global_regs_live): Likewise.
439 (life_analysis): Do that instead of collecting all_blocks.
441 2000-04-26 Richard Henderson <rth@cygnus.com>
443 * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
444 a still-valid conditional jump.
446 2000-04-26 Richard Henderson <rth@cygnus.com>
448 * jump.c (invert_jump): Always invert REG_BR_PROB. Do it correctly.
450 * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
451 * flow.c (calculate_loop_depth): Remove.
452 * output.h (calculate_loop_depth): Don't declare.
453 * toplev.c (rest_of_compilation): Expand calculate_loop_depth
454 inline; run estimate_probability at the same time.
456 2000-04-26 Neil Booth <NeilB@earthling.net>
458 * cpplib.h: "~=" is not a single pp-token.
459 * cpplex.c: Correct commentary.
461 2000-04-26 Richard Henderson <rth@cygnus.com>
463 * flow.c (mark_set_1): New arguments code and flags; update all
464 callers. Track regno_first and regno_last; do HARD_REGNO_NREGS
465 test in one place. Tidy flags tests. Don't bias REG_N_REFS by
466 loop_depth when optimizing for size. Do new_dead update after
467 emitting REG_UNUSED notes. Merge mark_set_reg code.
468 (mark_set_reg): Remove.
469 (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
470 arrange to not emit REG_UNUSED notes.
472 2000-04-26 Richard Henderson <rth@cygnus.com>
474 * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
475 * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
477 2000-04-26 Richard Henderson <rth@cygnus.com>
479 * flow.c (propagate_one_insn): Break out from propagate_block.
480 (init_propagate_block_info): Likewise.
481 (free_propagate_block_info): Likewise.
482 (propagate_block): Use them. Export.
483 * basic-block.h: Declare them all.
485 2000-04-26 Richard Henderson <rth@cygnus.com>
487 * basic-block.h (life_analysis): Declare here ...
488 * output.h: ... not here.
489 * flow.c (life_analysis): Remove nregs parameter; replace
490 remove_dead_code with flags. Remove ssa dead code check.
491 Only init alias analysis if we'll use it.
492 * reg-stack.c (reg_to_stack): Update life_analysis arguments.
493 * ssa.c (convert_to_ssa): Likewise.
494 (convert_from_ssa): Likewise.
495 * toplev.c (rest_of_compilation): Likewise.
497 2000-04-26 Richard Henderson <rth@cygnus.com>
499 * flow.c (flow_delete_block): Rename from delete_block. Export.
500 * basic-block.h (flow_delete_block): Declare.
502 2000-04-26 David S. Miller <davem@redhat.com>
504 * optabs.c (emit_libcall_block): Verify insns with INSN_P before
505 taking a PATTERN of it.
507 2000-04-26 <NeilB@earthling.net>
509 * cpplex.c (spell_other, spell_char): Remove.
511 (token_spelling, trigraph_map): Use unsigned chars.
512 (_cpp_lex_line): Tidy up the switch statement.
513 * cpplib.h: Implement spell_char with spell_string.
516 2000-04-26 <RodneyBrown@pmsc.com>
518 * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
519 * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
521 2000-04-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
523 * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
524 reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
525 dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
526 dwarf2out_return_save, dwarf2out_return_reg,
527 dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
528 add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
529 gen_compile_unit_die, dwarf2out_init): Constify a char*.
531 * dwarf2out.h (dwarf2out_init): Likewise.
533 * dwarfout.c (filename_entry, primary_filename, last_filename,
534 type_tag, output_compile_unit_die, dwarfout_init): Likewise.
536 * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
537 dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
538 dwarf2out_return_reg): Likewise.
540 2000-04-26 Andreas Jaeger <aj@suse.de>
542 * extend.texi (Function Attributes): Fix description of pure
545 2000-04-26 Jason Merrill <jason@casey.cygnus.com>
547 * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
548 before calling rest_of_compilation.
550 2000-04-26 Andreas Jaeger <aj@suse.de>
552 * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
555 2000-04-25 Richard Henderson <rth@cygnus.com>
557 * cse.c (cse_insn): Emit barrier after unconditional jump.
559 * calls.c (expand_call): Disable tail call generation once
560 rtx_equal_function_value_matters is false.
562 * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
565 2000-04-25 Jason Merrill <jason@casey.cygnus.com>
567 * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
569 * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
571 * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
572 is the primary DIE for a member function.
573 (gen_decl_die): Call set_decl_origin_self here.
574 * dwarfout.c (output_decl): And here.
575 * integrate.c (output_inline_function): Not here.
576 Don't clear DECL_INLINE until after calling rest_of_compilation.
577 (set_decl_origin_self): No longer static.
578 * tree.h: Add prototype.
579 * toplev.c (note_deferral_of_defined_inline_function): Only write
580 out abstract instance for actual inlines.
582 2000-04-25 Alexandre Oliva <aoliva@cygnus.com>
584 * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
585 EXTENDED_REGS only if TARGET_AM33.
586 * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
587 SP_REGS to register allocation and reloading unless absolutely
589 (movsi3): Remove special-case of adding non-constants to SP.
591 2000-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
593 * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
594 INCLUDES to search and does not provide any of its own. Also it
595 now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
596 parameters. Also it does not call AC_DEFINE.
597 (gcc_AC_NEED_DECLARATIONS): Likewise. Also this macro now calls
598 AC_DEFINE and provides for automatic entries for autoheader.
599 (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
601 * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
602 so we can pass -I flags and include gansidecl.h/system.h in this
605 * acconfig.h: Delete all NEED_DECLARATION_* entries.
607 2000-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
609 * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
610 ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
611 ENABLE_GC_ALWAYS_COLLECT): Delete entries.
613 * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
614 ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
615 ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
616 for these macros. Clean up spacing and linewraps.
618 2000-04-26 Jason Merrill <jason@casey.cygnus.com>
620 * calls.c (expand_call): Use get_callee_fndecl.
622 * print-tree.c (print_node): Print the chain of an _EXPR.
624 Tue Apr 25 16:16:04 2000 Andrew MacLeod <amacleod@cygnus.com>
625 Jim Wilson <wilson@cygnus.com>
626 Andrew Haley <aph@cygnus.com>
628 * config/ia64/crtbegin.asm: Add IA-64 unwind support. Correct alloc
629 and gp save/restore problems.
630 * config/ia64/crtend.asm: Add IA-64 unwind support.
631 * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
632 in fr_pad_size calculation.
633 (save_restore_insns): Move PR save area. Correct uses of
635 (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
636 (ia64_expand_epilogue): Add eh_epilogue support.
637 (ia64_function_prologue): Emit .prologue directive.
638 (ia64_init_machine_status, ia64_mark_machine_status): New functions.
639 (ia64_override_options): Set init_machine_status and
641 (rtx_needs_barrier): Handle bsp reads and writes.
642 (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
643 New static variables.
644 (process_set, process_for_unwind_directive): New functions.
645 * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
646 ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
647 ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
649 (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
650 (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
651 (struct machine_function): Define.
652 * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
654 2000-04-25 Bruce Korb <bkorb@gnu.org>
656 * fixinc/Makefile.in: make the removal of old programs more
658 * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
659 install-bin and install-sh
661 2000-04-25 Nick Clifton <nickc@cygnus.com>
663 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
664 defined, define to return zero.
665 (function_cannot_inline_p): If a function has any target
666 specific attributes, then use the macro
667 FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
668 whether it can be inlined. If it cannot, issue a suitable
671 * tm.texi: Add a new node 'Inlining' to document the new macro
672 FUNCTION_ATTRIBUTE_INLINABLE_P.
674 2000-04-25 Zack Weinberg <zack@wolery.cumb.org>
676 * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
679 2000-04-25 Neil Booth <NeilB@earthling.net>
681 Restore previous patch, plus the following fixes:
683 * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
684 flags, not CPP_OPEN_PAREN.
685 * cpplex.c (expand_token_space, init_token_list,
686 cpp_free_token_list): Put the dummy token at list->tokens[-1].
687 (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
689 Tue Apr 25 14:06:40 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
691 * config/i386/freebsd.h (INT_ASM_OP): Define.
693 Tue Apr 25 14:51:07 MET DST 2000 Jan Hubicka <jh@suse.cz>
695 * loop.c (strength_reduce): Fix typo in the last checkin.
697 Tue Apr 25 07:33:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
699 * stor-layout.c (finalize_record_size): Simplify to use existing
701 (compute_record_mode): No longer static.
702 * tree.h (compute_record_mode): New declaration.
704 2000-04-25 Neil Booth <NeilB@earthling.net>
706 * Revert my patch below until cause of build failures
709 2000-04-25 Richard Henderson <rth@cygnus.com>
711 * combine.c (combine_instructions): Add missing argument
714 * toplev.c (rest_of_compilation): Delay sibcall optimization
715 until after emit_eh_context.
717 2000-04-24 Nick Clifton <nickc@redhat.com>
719 * combine.c (combine_instructions): Do not try to combine a
720 sequence of insns when the second insn has been replaced by a
723 Mon Apr 24 17:34:18 2000 Mumit Khan <khan@xraylith.wisc.edu>
725 * gcc.c (load_specs): New static function.
726 (read_specs): Use it.
728 * gcc.c (lookup_compiler): Make multiple passes for case
729 insensitive filesystems.
731 2000-04-24 Neil Booth <NeilB@earthling.net>
733 * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
734 * cpphash.h (_cpp_check_directive): new.
735 * cpplex.c (handle_newline, cpp_free_token_list,
736 init_trigraph_map, trigraph_ok, trigraph_replace,
737 backslash_start, skip_block_comment, skip_line_comment,
738 skip_whitespace, parse_name, parse_number, parse_string,
739 copy_comment, _cpp_lex_line, spell_char, spell_string,
740 spell_comment, spell_name, spell_other, _cpp_lex_file,
741 _cpp_output_list): new.
742 (expand_name_space): take length argument.
743 (init_token_list): add comment list initialisation.
744 (cpp_scan_line): use auto_expand_name_space. PREV_WHITESPACE
745 instead of HSPACE_BEFORE.
747 * cpplib.c (_cpp_check_directive): new
748 * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
749 DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
750 (HSPACE_BEFORE): delete.
751 (TTYPE_TABLE): rearrange.
752 (struct cpp_toklist): update.
754 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
756 * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
757 gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
758 argument form of AC_DEFINE.
760 * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
761 HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
762 WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
763 HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
764 HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
766 * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
768 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
770 * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
771 deduced.h): Use -isystem, not -I, for including system headers.
773 2000-04-24 Nick Clifton <nickc@cygnus.com>
775 * config/fr30/fr30.md (addsi3): Do not use small add instruction if
776 the source register is the frame pointer or arg pointer.
777 (addsi3_small_int): Disallow if source register is the frame
778 pointer or arg pointer.
780 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
782 * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
783 call to AC_MSG_RESULT.
785 2000-04-24 Martin v. Löwis <loewis@informatik.hu-berlin.de>
787 * invoke.texi: Correct grammatical errors, document
788 -fno-gnu-keywords as identical to -fno-asm for C++.
790 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
792 * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
793 GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
794 GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
795 AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
796 EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
798 * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
799 GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
800 GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
801 GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
804 2000-04-24 Mumit Khan <khan@xraylith.wisc.edu>
806 * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
807 (pop_alignment): Likewise.
808 (handle_pragma_token): Likewise.
810 2000-04-24 Robert Lipe <robertlipe@usa.net>
812 * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
814 2000-04-24 Hiroyuki Machida <machida@sm.sony.co.jp>
816 * combine.c (try_combine): Update reg_nonzero_bits of
817 newi2pat before newpat.
819 Mon Apr 24 10:19:48 MET DST 2000 Jan Hubicka <jh@suse.cz>
821 * loop.c (strength_reduce): Simplify test to INSN_P.
822 (record_giv): Attempt to simplify the add value, use CONSTANT_P
823 expressions instead of CONST_INT.
824 (express_from_1): Likewise.
826 2000-04-24 Mark Mitchell <mark@codesourcery.com>
828 * regs.h (reg_n_max): Don't declare.
829 * flow.c (reg_n_max): Don't define.
830 * regclass.c (renumber): Don't initialize to zero.
831 (regno_allocated): Likewise.
833 (allocate_reg_info): Don't initialize unnecessarily.
835 Mon Apr 24 00:21:36 2000 Jeffrey A Law (law@cygnus.com)
837 * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
838 and blockage_p in the newly allocated attribute.
840 Sun Apr 23 20:16:49 2000 Alexandre Oliva <aoliva@cygnus.com>
842 * config/mn10300/mn10300.md (addsi): `inc4' on address
843 registers does not modify cc, but `inc' on an extended
846 Sun Apr 23 16:24:35 2000 Denis Chertykov <denisc@overta.ru>
848 * reload.c (find_equiv_reg): Checks all valueno regs
849 as a reload_reg_p regs.
851 2000-04-23 Zack Weinberg <zack@wolery.cumb.org>
853 * cpphash.c (collect_objlike_expansion): Add sanity check.
854 (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST. If
855 the buffer is the empty string, return. Mark __DATE__ and
856 __TIME__ as XCONST nodes, not MCONST.
857 (_cpp_macroexpand): Avoid pushing an empty buffer.
858 (funlike_macroexpand): Don't pop token_buffer here.
860 Sun Apr 23 18:37:53 2000 Alexandre Oliva <aoliva@cygnus.com>
862 * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
863 (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
864 (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
865 (REGNO_OK_FOR_BASE_P): Define in terms of them.
866 (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
867 (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
868 (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
870 Sun Apr 23 22:23:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
872 * loop.c (simplify_giv_expr): Be more agressive on simplifying
875 2000-04-23 Zack Weinberg <zack@wolery.cumb.org>
877 * cpphash.h (struct definition): Move file, line, col members...
878 (struct hashnode): ... here. Also add 'disabled' flag.
879 (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
880 T_IDENTITY. Remove T_DISABLED.
883 * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
884 (collect_expansion): Split into collect_objlike_expansion and
885 collect_funlike_expansion.
886 (_cpp_macroexpand): Split out scan_arguments, stringify, and
888 (_cpp_compare_defs): Rename compare_defs, make static.
889 (_cpp_make_hashnode): Initialize hp->disabled.
890 (macro_cleanup): Adjust for new token types. Clear
892 (_cpp_create_definition): Move code here to determine what
893 sort of macro it is, and code to check for redefinitions, from
894 do_define. Implement a few simple cases without creating a
896 (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
897 Handle the simple cases.
898 (push_macro_expansion): Set buf->has_escapes and hp->disabled
901 * cppinit.c (builtin_array): Change MCONST to XCONST
903 * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
904 fix check for disabled and function-like macros.
905 * cpplib.c (do_define): Move most logic to
906 _cpp_create_definition.
907 (do_undef): Handle new special token types.
909 Sun Apr 23 14:27:44 MET DST 2000 Jan Hubicka <jh@suse.cz>
911 * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
912 of CONSTANT_P for mult_val; always use validate_change to update insn.
914 2000-04-22 Zack Weinberg <zack@wolery.cumb.org>
916 * cpphash.c (trad_stringify, add_pat): New functions.
917 (collect_expansion): Restore support for -traditional syntax.
918 Use trad_stringify and add_pat.
919 (_cpp_macroexpand): Restore support for -traditional semantics.
920 * cpplex.c (_cpp_scan_line): Don't change space_before if we
922 (_cpp_lex_token): Provide COMMENT tokens to caller if
923 traditional and parsing_define_directive.
924 (skip_comment): Warn about // comments if -Wtraditional.
925 * cpplib.c (do_define): Fix typo. Create EMPTY nodes with
927 (do_undef): Don't warn about undefining EMPTY nodes.
929 Sat Apr 22 22:35:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
931 * loop.c (strength_reduce): Fix biv removal code.
933 2000-04-22 Richard Henderson <rth@cygnus.com>
935 * predict.c (estimate_probability): Examine both sides of
936 a branch for no exits. Use 90% not 50% for predict taken.
937 Reorg for one copy of note generation code.
939 2000-04-22 Richard Henderson <rth@cygnus.com>
941 * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
943 2000-04-22 Richard Henderson <rth@cygnus.com>
945 * diagnostic.c (init_output_buffer): Don't initialize format_args.
946 (output_clear): Likewise.
947 (output_printf): Use va_copy.
948 (vline_wrapper_message_with_location): Likewise.
949 (v_message_with_decl): Likewise.
950 (line_wrapper_printf): VA_START infor buffer.format_args directly.
951 * system.h (va_copy): Provide default implementation.
953 2000-04-22 Richard Henderson <rth@cygnus.com>
955 * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
956 the collected condition is not a constant.
958 2000-04-22 Gabriel Dos Reis <gdr@codesourcery.com>
960 * diagnostic.h: New file.
962 * Makefile.in (diagnostic.o): Depends on diagnostic.h
964 * diagnostic.c: Tweak. Rationalize the output logic. Adjust
965 various function prototypes.
966 (diagnostic.h): #include.
967 (struct output_buffer): Move into diagnostic.h.
968 (get_output_prefix): Rename to output_get_prefix. Export.
969 (init_output_buffer): Export. Break out. Ajust intialization.
970 (output_space_left, output_append): Export.
971 (output_newline): Rename to output_add_newline. Export.
972 (output_clear): Nullify additional output_buffer fields.
973 (output_puts): Rename to output_add_string. Export.
974 (dump_output): Rename to output_flush_on. Export.
975 (build_location_prefix): Constify return-type.
976 (emit_output_prefix): Rename to output_emit_prefix. Export.
977 (set_real_maximum_length): New function.
978 (output_set_maximum_length): Ditto
979 (output_clear): Ditto.
980 (output_add_character): Ditto.
981 (output_add_integer): Ditto.
982 (output_add_space): Ditto.
983 (output_format): Ditto.
984 (output_printf): Adjust buffer initialization.
985 (vline_wrapper_message_with_location): Ditto.
986 (v_message_with_decl): Ditto. Adjust call to output_puts
987 and get_output_prefix.
988 (default_print_error_function): Adjust buffer intialization.
990 Sat Apr 22 06:45:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
992 * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
995 Fri Apr 21 18:33:09 2000 Alexandre Oliva <aoliva@cygnus.com>
997 * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
1000 Fri Apr 21 18:30:00 2000 Alexandre Oliva <aoliva@cygnus.com>
1002 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
1003 accurate data about SP moves.
1005 Fri Apr 21 18:28:28 2000 Alexandre Oliva <aoliva@cygnus.com>
1007 * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
1008 aliases to AM33 registers.
1010 Fri Apr 21 18:26:17 2000 Alexandre Oliva <aoliva@cygnus.com>
1012 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
1013 to all EXTENDED bitmaps.
1015 Fri Apr 21 18:17:12 2000 Alexandre Oliva <aoliva@cygnus.com>
1017 * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
1018 * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
1019 * config/mn10300/mn10300.c (mn10300_address_cost): New function.
1021 Fri Apr 21 18:11:56 2000 Alexandre Oliva <aoliva@cygnus.com>
1023 * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
1024 the operand is not constant.
1026 Fri Apr 21 14:58:29 2000 Denis Chertykov <denisc@overta.ru>
1028 * reload.c (find_equiv_reg): Checks all valueno and regno regs
1029 as a call-clobbered regs.
1031 Fri Apr 21 13:30:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1033 * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
1035 * rtl.def: Update comment.
1036 * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
1037 * integrate.c (expand_inline_function): Likewise.
1038 * profile.c (branch_prob): Likewise.
1039 * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
1040 * print-rtl.c (print_rtx): Likewise.
1041 * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
1042 (reemit_notes): Likewise; also use enum insn_note.
1044 * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
1045 (place_field): Properly compute know and actual alignment.
1047 * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
1050 * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
1053 2000-04-21 Zack Weinberg <zack@wolery.cumb.org>
1055 * cpphash.c (struct arg, struct arglist): Const-ify strings.
1056 (warn_trad_stringify, duplicate_arg_p): New helper functions.
1057 (collect_expansion): Rewrite to scan over a token list.
1058 Remove -traditional support.
1059 (collect_formal_parameters): Rename to collect_params; rewrite
1060 to scan over a token list.
1061 (_cpp_create_definition): Adjust to scan a token list.
1062 (_cpp_macroexpand): Remove -traditional support.
1063 (_cpp_compare_defs): Whitespace is now canonicalized.
1064 (comp_def_part): Delete function.
1066 * cpphash.h: Update prototypes.
1067 * cpplex.c (init_token_list): Don't set lineno if there is no
1069 (pedantic_whitespace): New function.
1070 (_cpp_scan_line): Mark tokens that had hspace before. Don't
1071 consume a newline. Use pedantic_whitespace.
1072 (_cpp_lex_token): Remove support for -traditional macros.
1073 (_cpp_get_define_token): Delete.
1074 (_cpp_get_directive_token): Do the real work here. Use
1075 pedantic_whitespace.
1076 (_cpp_init_input_buffer): Initialize pfile->directbuf.
1078 * cpplib.c (get_macro_name): Delete.
1079 (do_define): Read the entire line into pfile->directbuf, then
1080 feed the token list to _cpp_create_definition.
1081 * cpplib.h (HSPACE_BEFORE): new define.
1082 (struct cpp_reader): Add a toklist member, "directbuf".
1084 * predict.c (estimate_probability): New heuristic: if a jump
1085 branches around a block with no successors, predict it taken.
1086 Disentangle control flow.
1088 2000-04-20 Richard Henderson <rth@cygnus.com>
1090 * loop.c (emit_iv_add_mult): Revert last change.
1092 2000-04-20 Zack Weinberg <zack@wolery.cumb.org>
1094 * cpplib.h (enum cpp_ttype): Add token types for all
1095 punctuators. Distinguish pp-numbers from valid C numbers.
1096 Give some tokens better names. Initialize from macro.
1097 (struct cpp_name, cpp_token, cpp_toklist): New data
1100 * cpplex.c (bump_column, expand_name_space,
1101 expand_token_space, init_token_list, cpp_output_list,
1102 _cpp_scan_line): New functions.
1103 (output_line_command): Add third argument, new line number.
1104 * cpphash.h: Update prototypes.
1105 * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
1108 2000-04-20 Richard Henderson <rth@cygnus.com>
1110 * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
1112 2000-04-20 Zack Weinberg <zack@wolery.cumb.org>
1114 * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
1117 Thu Apr 20 14:19:18 MET DST 2000 Jan Hubicka <jh@suse.cz>
1119 * loop.c (emit_iv_add_mult): Simplify it's input and emit
1120 REG_EQUAL note explaining the calculated value.
1122 * calls.c (expand_call): Avoid unnecesary precalculation
1123 and outgoing parameters space guarding for sibling calls.
1124 (store_one_arg): Likewise.
1126 Thu Apr 20 08:01:07 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1128 * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
1129 (rest_of_compilation): Write sibling dump file and account
1130 for time as jump time.
1131 * invoke.texi: Update documentation on dump flags.
1133 2000-04-19 Marek Michalkiewicz <marekm@linux.org.pl>
1135 * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
1137 2000-04-19 Zack Weinberg <zack@wolery.cumb.org>
1139 * cpphash.c (special_symbol): Represent an empty macro with
1140 "\r \r " not just "\r ".
1141 (_cpp_macroexpand): Correct condition for the foo ( ) special
1143 (unsafe_chars): Handle EOF as second argument.
1144 (push_macro_expansion): Simplify test for removing escape at
1145 end. Do not trim both escapes if there is no text in between.
1147 2000-04-19 Jim Blandy <jimb@redhat.com>
1149 * dwarf2out.c (DWARF2_ADDR_SIZE): New macro. Use it instead
1150 of PTR_SIZE, when appropriate.
1152 2000-04-19 Mark Mitchell <mark@codesourcery.com>
1154 * system.h (ONLY_INT_FIELDS): Make sure it is defined.
1155 (USE_ENUM_BITFIELDS): Fix typo.
1157 Wed Apr 19 12:14:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1159 * stor-layout.c (place_field): Set rli->offset_align properly.
1161 2000-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1163 * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
1164 INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
1165 PARM_BOUNDARY): Remove unnecessary casts.
1167 Wed Apr 19 12:02:37 MET DST 2000 Jan Hubicka <jh@suse.cz>
1169 * calls.c (precompute_arguments): Remove must_preallocate and
1171 (expand_call): Update call of precompute_arguments.
1173 * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
1174 check_insn_for_givs): Break out from ...
1175 (strength_reduce) ... here; use for_every_insn_in_loop to call
1176 check_insn_for_givs.
1177 * loop.h (for_every_insn_in_loop): Declare.
1178 (loop_insn_callback): New type.
1180 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
1182 * cpplib.c (do_pragma_poison): Strings in the token buffer are
1185 Tue Apr 18 16:04:12 2000 Jim Wilson <wilson@cygnus.com>
1187 * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
1190 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
1192 * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
1194 * configure.in: Delete --disable-cpplib option and all
1195 references to cpp_main.
1196 * configure: Regenerate.
1197 * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
1198 @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
1199 cccp.o, cccp, or cppmain. Link cppmain.o straight to
1200 cpp$(exeext). Add --no-headers to makeinfo command line when
1201 generating INSTALL. Install and uninstall cpp.1 manpage, not
1203 * install.texi: Delete all references to cexp.y/cexp.c.
1204 Delete ancient instructions for compiling GCC on 3b1.
1205 * INSTALL: Regenerate.
1207 * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
1208 mips/t-elf, mips/t-r3900: Remove references to cccp.c.
1209 * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
1211 * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
1212 which is no longer tested anywhere.
1214 * cppinit.c (handle_option): Don't run error message through
1217 Tue Apr 18 14:16:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1219 * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
1220 * cpperror.c (hashtab.h): Now include.
1221 * cppexp.c (hashtab.h): Likewise.
1222 * cpplex.c (hashtab.h): Likewise.
1223 * cppfiles.c (hashtab.h): Likewise.
1224 (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
1225 to htab_find_slot_with_hash.
1226 * cpphash.c (hashtab.h): Now include.
1227 (_cpp_lookup_slot): INSERT is now enum insert_option.
1228 * cpphash.h (_cpp_lookup_slot): Likewise.
1229 * cppinit.c (hashtab.h): Include earlier.
1230 (initialize_builtins): Pass enum to htab_find_slot.
1231 * cpplib.c (hashtab.h): Now include.
1232 (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
1233 (do_pragma_poison, do_assert): Likewise.
1234 * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
1235 htab_find_slot_with_hash.
1236 * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
1237 * tree.c (type_hash_add): Likewise.
1238 (build1): Minor cleanup.
1240 * ggc-common.c: Add missing blanks.
1241 * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
1242 * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
1244 * stmt.c (mark_case_node): New function.
1245 (mark_case_nesting): Call it.
1247 * expmed.c (emit_store_flag): If comparing two-word integer
1248 with zero, can optimize NE, EQ, GE, and LT.
1250 * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
1251 * conflict.c: Minor cleanups.
1252 * optabs.c: Add blank line
1253 * simplify-rtx.c: Minor cleanups.
1255 2000-04-18 Stan Cox <scox@cygnus.com>
1257 * gengenrtl.c (genlegend): Fix misspelling.
1259 2000-04-18 Robert Lipe <robertlipe@usa.net>
1261 * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added. Check that
1262 bitfields of the host compiler are not signed quantities.
1263 * config.in: Regenerate.
1264 * configure: Regenerate.
1265 * system.h (USE_ENUM_BITFIELDS): Added.
1266 (ENUM_BITFIELDS): Added.
1267 * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
1268 (SHORT_ENUM_BUG): Deleted.
1269 * tree.h (tree_common): Members `code', `mode', `built_in_class',
1271 * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
1272 (CODE_FIELD_BUG): Likewise.
1273 * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
1275 * config/m68k/x-ccur (X_CFLAGS): Likewise.
1277 2000-04-18 Mark Mitchell <mark@codesourcery.com>
1279 * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
1282 2000-04-17 Zack Weinberg <zack@wolery.cumb.org>
1284 * cppexp.c (lex): Don't assume tokens are NUL terminated.
1285 * cpplib.c (do_include, do_import, do_include_next,
1286 read_line_number, detect_if_not_defined): Likewise.
1287 * cpphash.c (collect_expansion): Likewise.
1288 (special_symbol, _cpp_macroexpand): Check return from
1290 * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
1291 macros. Delete all uses.
1293 * gcc.dg/cpp-mi.c: Add two more test cases.
1294 * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
1296 2000-04-17 Richard Henderson <rth@cygnus.com>
1298 * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
1299 (reorder_basic_blocks): If no epilogue in rtl, force last block last.
1301 2000-04-17 Mark Mitchell <mark@codesourcery.com>
1303 * function.c (expand_function_start): Use hard_function_value to
1304 compute the RTL to use for DECL_RESULT.
1306 Mon Apr 17 23:35:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
1308 * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
1309 (x86_integer_DFmode_moves, x86_partial_reg_dependency,
1310 x86_memory_mismatch_stall): New global variables.
1311 (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
1312 alloved; fix load penalties for Athlon.
1313 * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
1314 x86_memory_mismatch_stall): Declare.
1315 (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
1316 TARGET_MEMORY_MISMATCH_STALL): New.
1317 * i386.md (athlon scheduling parameters): Fix latencies according to
1318 Athlon Optimization Manual.
1319 (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
1321 (fsqrt instruction patterns): Set athlon_decode to direct.
1322 (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
1323 PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
1324 (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
1325 and TARGET_PARTIAL_REGISTER_STALL machines.
1326 (pushdf_nointeger): New pattern.
1327 (pushdf_integer): Rename from pushdf.
1328 (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
1329 (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
1331 2000-04-17 Richard Henderson <rth@cygnus.com>
1333 * loop.c (canonicalize_condition): Add WANT_REG argument.
1334 Stop the search if we match it.
1335 * expr.h (canonicalize_condition): Update decl.
1336 * predict.c (expected_value_to_br_prob): Use it. Track last
1337 expected value note.
1338 (find_expected_value): Remove.
1340 * reorg.c (mostly_true_jump): Always use BR_PROB if present.
1342 2000-04-17 Zack Weinberg <zack@wolery.cumb.org>
1344 * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
1345 (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
1347 * configure.in: Call AC_FUNC_MMAP_FILE.
1348 * configure: Regenerate.
1349 * config.in: Regenerate.
1351 * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
1352 * fixinc/fixincl.c: Likewise.
1354 2000-04-17 Richard Henderson <rth@cygnus.com>
1356 * builtins.c (expand_builtin_expect): New.
1357 (expand_builtin): Call it.
1358 * builtins.def (BUILT_IN_EXPECT): New.
1359 * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
1360 * extend.texi: Document it.
1362 * predict.c (expected_value_to_br_prob): New.
1363 (find_expected_value): New.
1364 * basic-block.h (expected_value_to_br_prob): Declare.
1365 * toplev.c (rest_of_compilation): Invoke it.
1367 * rtl.h (NOTE_EXPECTED_VALUE): New.
1368 (NOTE_INSN_EXPECTED_VALUE): New.
1369 * rtl.c (note_insn_name): Update.
1370 * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
1371 cases; handle NOTE_INSN_EXPECTED_VALUE.
1373 2000-04-17 Jakub Jelinek <jakub@redhat.com>
1375 * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
1376 leaf sibcall delay slot if flag_pic.
1377 (output_sibcall): Always emit call for leaf sibcall if flag_pic.
1379 2000-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1381 * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
1383 * fixproto: If fix-header fails, exit with an error.
1385 Mon Apr 17 14:59:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
1387 * cse.c (struct check_depdendence_data): New.
1388 (check_dependence): New function.
1389 (invalidate): Use check_depdenence.
1391 2000-04-16 Mark Mitchell <mark@codesourcery.com>
1393 * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
1394 UNITS_PER_WORD is unsigned.
1396 * tree.h (struct tree_common): Remove misleading comment.
1398 2000-04-16 Dave Pitts <dpitts@cozx.com>
1400 * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
1401 message in quotes. Otherwise, IBM's make program treats the '#' as the
1402 start of a comment and ignores the remainder of the line.
1404 * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
1406 * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
1407 * cexp.y (initialize_random_junk): Likewise.
1408 * cppfiles.c (find_include_file): Cast alloca return value.
1409 * cppinit.c (initialize_standard_includes): Likewise.
1410 * cpplib.c (cpp_define, cpp_undef): Likewise.
1411 * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
1412 * final.c (output_asm_insn): Allow for holes in EBCDIC.
1413 * fold-const.c (CHARMASK): New.
1414 (real_hex_to_f): Use it.
1415 * real.c (CHARMASK): New.
1416 (etoasc, asctoeg): Use it.
1417 (asctoeg): EBCDIC lower case characters preceed upper case.
1419 * i370.c (mvs_add_label): Change spacing for coding conventions.
1420 * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
1421 outputing case vectors.
1422 (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
1423 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
1424 since vector in in the data CSECT.
1425 (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
1426 * i370.md (Many patterns): Put the length in the XL directives.
1427 (movdi): Put back STM and MVC in definition.
1428 (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
1429 pattern using the TCA.
1430 * oe.h (CPP_SPEC): Added to allow trigraphs.
1431 * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
1432 not support the "long long" type.
1434 2000-04-16 Mark Mitchell <mark@codesourcery.com>
1436 * config/mips/mips-protos.h (mips_legitimate_address_p): New
1438 (mips_reg_mode_ok_for_base_p): Likewise.
1439 * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
1440 (REG_OK_FOR_INDEX_P): Define unconditionally.
1441 (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
1442 (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
1443 * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
1444 that GET_MODE_SIZE is unsigned.
1445 (mips_reg_mode_ok_for_base_p): Define.
1446 (mips_legitimate_address_p): Likewise. Adjust now
1447 that GET_MODE_SIZE is unsigned.
1448 (block_move_loop): Make the number of bytes unsigned.
1449 (expand_block_move): Likewise.
1450 (function_arg): Make the loop counter unsigned to match the
1453 2000-04-16 Richard Henderson <rth@cygnus.com>
1455 * rtl.h (enum insn_note): New enumeration. Subsume
1456 NOTE_INSN_DELETED and friends.
1457 (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
1458 * rtl.c (note_insn_name): Tweak string order.
1460 2000-04-15 Zack Weinberg <zack@wolery.cumb.org>
1462 * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
1465 * cpplex.c (output_line_command): Remove debugging prints.
1466 (cpp_output_tokens): Don't write out a zero-length buffer or
1467 try to see if it has a newline in it.
1468 (_cpp_expand_to_buffer): Copy the source buffer before pushing.
1469 (_cpp_read_and_prescan): Move shift-down of pushback bytes to
1470 the end of the loop. Use memmove. Don't read past the end of
1471 the buffer. Remove trailing newlines from error messages.
1473 2004-04-16 Neil Booth <NeilB@earthling.net>
1475 * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
1476 * cpplib.c: Add new syntax flags to directive table, and
1479 2000-04-15 Ulrich Drepper <drepper@redhat.com>
1481 * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
1484 2000-04-15 David Edelsohn <edelsohn@gnu.org>
1486 * toplev.c (display_help): Prefix "f" to "sched-verbose=".
1487 * haifa-sched.c: Update -fsched-verbose comments to use "=".
1489 Sat Apr 15 10:59:19 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1491 * Makefile.in (ggc-page.o): Now includes toplev.h.
1492 * ggc-page.c (toplev.h): Now included.
1493 (gc_time): Remove declaration.
1494 (ggc_collect): TIME now long.
1495 * toplev.c (parse_time, varasm_time, gc_time): Still global; all
1497 * toplev.h (gc_time, parse_time, gc_time): New declarations.
1499 * toplev.c: Make *_time variable long to reduce chance of overflow.
1500 (TIMEVAR): Likewise for `otime'.
1501 (print_time): Arg is now long; compute percentage in FP and round.
1502 * toplev.h (print_time): Arg is long.
1504 * tree.c: Minor whitespace changes.
1506 * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
1507 * configure: Rebuilt.
1508 * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
1509 (__fixunsxfDI): Renamed from __fixunsxfdi.
1510 (__fixunsdfDI): Renamed from __fixunsdfdi.
1511 (__fixunssfDI): Renamed from __fixunssfdi.
1512 (__floatdisf): Use proper type in REP_BIT macro.
1513 (__fixunsxfSI): Renamed from __fixunsxfsi.
1514 (__fixunsdfSI): Renamed from __fixunsdfsi.
1515 (__fixunssfSI): Renamed from __fixunssfsi.
1516 * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
1517 Change location of macros and upper-case some names as above.
1518 * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
1519 * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
1521 * varasm.c (assemble_variable): Add cast to remove warning.
1522 (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
1524 * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
1525 * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
1526 region number to -1.
1528 2000-04-15 Richard Earnshaw (rearnsah@arm.com)
1530 * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
1531 call unshare_all_rtl.
1533 * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
1535 Fri Apr 14 16:58:45 2000 Jim Wilson <wilson@cygnus.com>
1537 * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
1538 Use .s1 not .s0 for all FP instructions.
1540 2000-04-14 Zack Weinberg <zack@wolery.cumb.org>
1542 * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
1544 (safe_fwrite, output_line_command): New static functions.
1545 (cpp_expand_to_buffer): Now private to cpplib.
1546 (cpp_scan_buffer): Take a printer.
1548 * cpphash.h: Update prototypes.
1549 * cpplib.h: Update prototypes.
1551 (cpp_buffer): Remove last_nominal_fname.
1552 (cpp_reader): Remove lineno.
1554 * cppmain.c: Use a cpp_printer.
1555 * fix-header.c: No need to inhibit line commands. Call
1556 cpp_start_read with no printer.
1558 * cpperror.c (cpp_notice_from_errno): Provide default name.
1559 * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
1560 (find_include_file, cpp_read_file): Use make_IHASH.
1561 (file_cleanup): Set control_macro and clear
1562 input_stack_listing_current here.
1563 (_cpp_execute_include): Don't output entering-file marker.
1564 * cpphash.c (special_symbol): Look for the line number in the
1565 buffer, not the reader.
1566 (_cpp_macroexpand): No need to disable line commands.
1567 (_cpp_dump_definition): No need to generate line commands.
1568 (dump_hash_helper): Remove excess newline from output.
1569 * cppinit.c (dump_special_to_buffer): No need to generate line
1571 (cpp_printer_init): New.
1572 (cpp_start_read): Take a printer, and start it up if it's not
1573 NULL. No need to generate line commands.
1574 (cpp_finish): Expect no buffers stacked at all. Take a
1575 printer argument, and flush the output buffer if it's not
1577 * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
1578 Don't put two hashes at the beginning of an assertion.
1579 (cpp_get_token): Don't increment pfile->lineno or emit line
1580 commands here. Return EOF if there's no buffer when we get
1582 * cpplib.c (do_define, skip_if_group):
1583 No need to disable line commands.
1584 (_cpp_output_line_command): Delete function.
1585 (do_line): Don't emit line commands here, but set things up so
1586 they will be emitted if necessary. Use _cpp_fake_ihash to
1587 make unique nominal_fnames if necessary.
1588 (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
1589 with 0 for column, not -1.
1590 (_cpp_handle_eof): Don't set the control macro here. Don't
1591 clear input_stack_listing_current here. Don't emit line
1594 2000-04-14 Geoff Keating <geoffk@cygnus.com>
1596 * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
1597 always, use the default SVR4 start address.
1599 * config/rs6000/linux.h (LINK_SPEC): Don't define.
1600 (LINK_SHLIB_SPEC): Define.
1601 (LINK_START_DEFAULT_SPEC): Define.
1602 (LINK_OS_DEFAULT_SPEC): Define.
1604 * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
1606 * config/rs6000/eabi.asm (__eabi): Call __init rather than
1607 __do_global_ctors to handle constructors.
1608 * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
1609 (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
1610 (STARTFILE_MVME_SPEC): Likewise.
1611 (STARTFILE_SIM_SPEC): Likewise.
1612 (ENDFILE_ADS_SPEC): Use crtend.
1613 (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
1614 (ENDFILE_MVME_SPEC): Likewise.
1615 (ENDFILE_SIM_SPEC): Likewise.
1616 (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
1617 (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
1618 (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
1619 (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
1620 * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
1621 (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
1622 (CRTSTUFF_T_CFLAGS_S): Define.
1623 * config/rs6000/eabi-ctors.c: Delete.
1625 * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
1628 * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
1632 Fri Apr 14 16:09:02 2000 Jim Wilson <wilson@cygnus.com>
1634 * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
1635 plus mask size is smaller or equal to the mode size.
1637 Fri Apr 14 18:07:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1639 * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
1642 * expr.c (reload.h): Now included.
1643 (emit_block_move): Set volatile_ok when checking for movstr.
1644 (emit_move_1): Check for replacements in addresses in multi-word case.
1645 * Makefile.in (expr.o): Now includes reload.h.
1647 * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
1648 Never have a LIBCALL end a basic block.
1649 (find_basic_blocks_1): Likewise.
1650 Reorganize CALL_INSN cases.
1652 * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
1654 Fri Apr 14 10:54:22 2000 Jim Wilson <wilson@cygnus.com>
1656 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
1657 completers from mov.ret instruction.
1659 2000-04-14 Richard Henderson <rth@cygnus.com>
1661 * fold-const.c (extract_muldiv): Don't distribute and widen
1662 multiply across plus for non-sizetype unsigned types.
1664 2000-04-14 Richard Henderson <rth@cygnus.com>
1666 * flow.c (find_auto_inc): Don't autoinc eliminable registers.
1667 If the original source is dead in the incr insn, it's dead now.
1669 Fri Apr 14 07:40:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1671 * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
1672 see if DECL_BIT_FIELD needs to still be set.
1674 * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
1676 * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
1677 print_int_cst_octal with something that's not an INTEGER_CST.
1679 * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
1680 and not a SUBREG to a FLOAT rtl.
1682 Thu Apr 13 19:39:56 2000 Clinton Popetz <cpopetz@cygnus.com>
1684 * emit-rtl.c (try_split): Avoid infinite loop if the split
1685 results in a sequence that contains the original insn.
1687 2000-04-13 Andreas Jaeger <aj@suse.de>
1689 * config/mips/mips.c (expand_block_move): Pass alignment
1690 argument to move_by_pieces in bits, not bytes.
1692 * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
1693 __pic__ for little endian.
1695 2000-04-13 Andreas Jaeger <aj@suse.de>
1697 * config/i386/i386-protos.h: Add prototype for
1698 uno_comparison_operator.
1700 Thu Apr 13 15:55:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
1702 * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
1703 * calls.c (ECF_PURE): New flag.
1704 (emit_call_1): Handle ECF_PURE calls.
1705 (initialize_argument_information): Unset ECF_PURE flag too.
1706 (precompute_arguments): Precompute for ECF_PURE too.
1707 (expand_call): Handle ECF_PURE calls too.
1708 (emit_library_call_value_1): Rename no_queue argument to fn_type,
1709 accept value of 2 as pure function.
1710 (emit_library_call_value, emit_library_call): Rename no_queue argument
1712 * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
1714 * tree.h (DECL_IS_PURE): New macro.
1715 (struct tree_decl): Add pure_flag.
1716 * c-common.c (enum attrs): Add attribute "pure".
1717 (init_attributes): Initialize attribute "pure"
1718 (decl_attributes): Handle attribute "pure".
1719 * extend.texi (Attribute "pure"): Document.
1720 * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
1722 (flags_from_decl_or_type): Support attribute "pure".
1724 2000-04-13 Jason Merrill <jason@casey.cygnus.com>
1726 * cpplex.c (_cpp_lex_token): Handle digraphs. Don't null-terminate
1727 the token except for numbers and identifiers.
1729 Thu Apr 13 00:09:16 EDT 2000 John Wehle (john@feith.com)
1731 * i386.c (ix86_expand_binary_operator,
1732 ix86_expand_unary_operator): Check no_new_pseudos
1733 instead of reload_in_progress and reload_completed.
1734 (ix86_split_ashldi, ix86_split_ashrdi,
1735 ix86_split_lshrdi): Check no_new_pseudos instead
1736 of reload_completed.
1738 2000-04-12 Jeffrey A Law (law@cygnus.com)
1740 * function.c (purge_addressof): Unshare any shared rtl created by
1741 purge_addressof and its children.
1743 2000-04-12 Mark Mitchell <mark@codesourcery.com>
1745 * function.c (aggregate_value_p): VOID_TYPE nodes are never
1748 2000-04-05 Andreas Jaeger <aj@suse.de>
1750 * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
1751 not compiling PIC code, add flags for mabi=64.
1752 (SUBTARGET_CPP_SIZE_SPEC): New.
1753 (SUBTARGET_CPP_SPEC): New.
1754 (CPP_PREDEFINES): Define __PIC__ and __pic__. PIC code is default
1755 for MIPS/Linux and lots of code needs these defines.
1757 Wed Apr 12 22:44:11 2000 Hans-Peter Nilsson <hp@axis.com>
1759 * reorg.c (fill_slots_from_thread): Check side_effects_p when
1760 trying the "opposite arithmetic" approach.
1762 Wed Apr 12 20:51:20 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1764 * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
1765 (struct sh_args): Add new field force_mem.
1766 (INIT_CUMULATIVE_ARGS): Initialize it.
1767 (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
1769 Wed Apr 12 17:20:41 MET DST 2000 Jan Hubicka <jh@suse.cz>
1771 * calls.c (expand_call): Do not reverse args in "equal from" field.
1772 (emit_library_call_value_1): Emit_libcall_block for const and pure
1775 Wed Apr 12 16:00:25 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1777 * reload1.c (reload_combine): Don't enable optimization for fixed
1778 registers when encountering a BARRIER.
1780 Wed Apr 12 15:54:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
1782 * builtins.c (expand_builtin_memcmp): Do expansion even with
1783 !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
1785 * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
1786 stack is propertly aligned; add sanity checking for aligned
1788 (expand_library_call_value_1): Add sanity checking for aligned
1791 Wed Apr 12 07:51:54 2000 Catherine Moore <clm@cygnus.com>
1793 * calls.c (emit_library_call_value_1): Change 3rd arg to
1794 locate_and_pad_parm to disregard the setting of partial.
1796 Wed Apr 12 08:47:38 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1798 * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
1800 * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
1801 CALL_INSN from the normal case.
1803 Fri Apr 7 12:23:04 MET DST 2000 Jan Hubicka <jh@suse.cz>
1805 * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
1806 New global variables.
1807 (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
1809 * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
1811 (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
1812 TARGET_ADD_ESP_8): New macros.
1813 * i386.md: Add peep2s to convert esp adjustments to push and pop
1815 (pushsi_prologue, popsi_epilogue): New patterns.
1817 2000-04-12 Jakub Jelinek <jakub@redhat.com>
1819 * real.c (toe64): Remove stale #endif from the last change.
1821 2000-04-12 Stephen L Moshier <moshier@mediaone.net>
1823 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
1824 * real.c (toe64): Revert previous change.
1826 2000-04-12 Jakub Jelinek <jakub@redhat.com>
1828 * objc/objc-act.c: Include ggc.h.
1829 (objc_tree_index, objc_global_trees): Convert most of the
1830 static tree variables into a static array with previous names
1832 (objc_ellipsis_node): New variable.
1833 (lang_init): Call objc_act_parse_init and c_parse_init.
1834 Create objc_ellipsis_node.
1835 (build_selector_translation_table): Use objc_ellipsis_node instead
1837 (hack_method_prototype): Likewise.
1838 (get_arg_type_list): Likewise.
1839 (start_method_def): Likewise.
1840 (continue_method_def): Likewise.
1841 (gen_method_decl): Likewise.
1842 (ggc_mark_imp_list): New function.
1843 (ggc_mark_hash_table): New function.
1844 (objc_act_parse_init): New function.
1845 * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
1846 * c-parse.in (c_parse_init): For objc add roots of objc specific
1847 local tree variables.
1848 * objc/objc-parse.y: Rebuilt.
1849 * objc/objc-parse.c: Rebuilt.
1850 (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
1852 Wed Apr 12 01:00:44 EDT 2000 John Wehle (john@feith.com)
1854 * cse.c (delete_trivially_dead_insns): Also delete insns
1855 that copy a register to itself where the destination is
1858 2000-04-11 Richard Henderson <rth@cygnus.com>
1860 * flow.c (struct propagate_block_info): Add new_dead, new_live.
1861 (propagate_block): Initialize them. Use them in parallel instead
1862 of one tmp variable, ie revert much of the 0408 and 0407 functional
1863 changes, but keep the structural changes.
1864 (mark_set_regs): Take new_dead from propagate_block_info instead.
1865 (mark_set_1, mark_set_reg): Likewise.
1866 (mark_used_regs): Likewise with new_live.
1867 (mark_used_reg): Likewise. Revert 0408 change.
1869 2000-04-11 Nick Clifton <nickc@cygnus.com>
1871 * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
1873 (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
1875 2000-04-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1877 * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
1878 const section to output a CONSTRUCTOR based on the same conditions
1881 Tue Apr 11 09:55:59 2000 Jeffrey A Law (law@cygnus.com)
1883 * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
1884 * pa/pa-protos.h (output_call): Add additional argument indicating
1885 if the call is a sibling/tail call.
1886 (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
1887 (compute_64bit_ior, cmpib_comparison_operator): Likewise.
1888 (function_arg, function_arg_partial_nregs): Likewise
1889 * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
1890 (emit_move_sequence): Zero extend certain constants as needed
1892 (compute_zdepdi_operands, output_64bit_and): New functions.
1893 (output_64bit_ior, function_arg): Likewise.
1894 (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
1895 (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
1896 (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
1897 (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
1898 (output_bvb): Likewise.
1899 (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
1900 (output_call): New argument 'sibcall'. Generate sibcall sequences
1902 (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT. For
1903 (ouput_arg_descriptor): Do not emit argument descriptors for
1905 * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
1907 (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
1908 (FUNCTION_OK_FOR_SIBALL): Define.
1909 (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
1910 (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
1911 (CPP_SPEC): Use new spec infrastructure.
1912 (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
1913 (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
1914 (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
1915 (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
1916 (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
1917 (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
1918 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
1919 (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
1920 (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
1921 (FUNCTION_ARG); Call out to C code.
1922 (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
1923 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
1924 (MIN_UNITS_PER_WORD): Likewise.
1925 * pa/pa.md (cmpdi): New expander.
1926 (scc patterns, movstrsi): Not available for TARGET_64BIT.
1927 (64bit conditional arithmetic): New patterns.
1928 (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
1929 (movsicc): Not available if modes on all the operands to not match.
1930 (movdicc): New expander and associated patterns.
1931 (64bit branches): New patterns.
1932 (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
1933 (pre_ldd, post_std): New patterns.
1934 (64bit addil, load low part): New patterns.
1935 (special movsf constant): Not available for TARGET_64BIT.
1936 (movsf, movdf expanders): Force constants into memory.
1937 (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
1938 (64bit movdf/movdi patterns): New patterns.
1939 (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
1941 (extendqidi2, extendhidi2, extendsidi2): Similarly.
1942 (adddi3 expander): Allow "arith_operand" for second input.
1943 (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
1944 (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
1945 (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
1946 (muldi3): New expander for TARGET_64BIT.
1947 (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
1949 (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
1950 patterns for TARGET_64BIT.
1951 (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
1952 patterns for TARGET_64BIT.
1953 (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
1954 (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
1955 (sibcall_epilogue): New expander.
1956 (casesi): Tweak for TARGET_64BIT.
1957 (call expanders): Set & use the outgoing argument pointer. Use the
1958 64bit call patterns as needed. Add additional arg to output_call.
1959 (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
1960 (sibcall, sibcall_internal_symref): New expanders.
1961 (sibcall_value, sibcall_value_internal_symref
1962 (interspace_jump): Turn into an expander + matching patterns.
1963 (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
1964 * pa/pa64-regs.h: Eliminate trigraph sequences.
1965 * pa/pa64-start.h (TARGET_PA_20): Fix typo.
1967 2000-04-11 Zack Weinberg <zack@wolery.cumb.org>
1969 * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
1970 cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
1971 cpp_token with cpp_ttype everywhere.
1972 * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
1973 Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
1974 CPP_BUF_COL. Line and column numbers are unsigned int, not
1976 * cpplex.c (cpp_buf_line_and_col): Delete.
1977 * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
1978 'long lineno' to 'unsigned int lineno'.
1979 (CPP_BUF_LINE, CPP_BUF_COL): New macros.
1981 2000-04-11 Martin v. Löwis <loewis@informatik.hu-berlin.de>
1983 * extend.texi: ISO C99 is not a draft anymore.
1984 * invoke.texi: ISO C++ is not a draft anymore.
1985 * cpp.texi: __cplusplus is required by the ISO standard.
1987 * extend.texi (-fthis-is-variable): Undocument.
1988 * flags.h (warn_template_debugging): Remove declaration.
1989 * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
1990 -Wenum-clash, -Wtemplate-debugging): Undocument.
1992 2000-04-10 Nick Clifton <nickc@cygnus.com>
1994 * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
1996 (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
1998 (ARM_SIGN_EXTEND): Use HOST_UINT.
1999 (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
2000 (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
2001 (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
2002 (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
2004 * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
2005 (arm_gen_constant): Use HOST_UINT.
2006 (arm_canonicalize_constant): Use HOST_UINT.
2007 (arm_reload_in_hi): Use HOST_UINT.
2008 (arm_reload_out_hi): Use HOST_UINT.
2009 (output_multi_immediate): Use HOST_UINT.
2010 (int_log2): Use HOST_UINT.
2011 (arm_poke_function_name): Use HOST_UINT.
2012 (arm_output_epilogue): Use arm_volatile_func().
2013 (output_thumb_prologue): Use arm_strip_name_encoding().
2015 Mon Apr 10 15:40:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2017 * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
2018 of sequence point problems.
2020 2000-04-10 Nathan Sidwell <nathan@codesourcery.com>
2022 * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
2024 * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
2026 Mon Apr 10 07:21:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2028 * sbitmap.h: Whitespace changes and use upper-case macro args.
2029 (struct simple_bitmap_def): All sizes now unsigned.
2030 (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
2031 * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
2032 (sbitmap_vector_alloc): Parms and local vars now unsigned.
2033 (sbitmap_zero): Cast bzero arg to PTR.
2034 (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
2035 (sbitmap_union_of_diffs): Change loop index to unsigned and rework
2036 loop to make structure clearer.
2037 (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
2038 (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
2039 (sbitmap_a_and_b_or_c): Likewise.
2040 (sbitmap_intersection_of_succs): Minor cleanups.
2041 (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
2042 (sbitmap_union_of_preds): Likewise.
2043 (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
2044 (debug_sbitmap): New function.
2046 * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
2047 * c-typeck.c (convert_for_assignment): Likewise.
2049 * expmed.c (init_expmed): Don't free objects we make.
2050 * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
2052 * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
2053 (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
2055 * gcse.c (expr_hash_table_size): Now unsigned.
2056 (compute_ae_gen): Local variable `i' now unsigned.
2057 (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
2058 (compute_transout, hoist_code): Likewise.
2059 (compute_local_properties): Likewise, also hash_table_size.
2060 (alloc_expr_hash_table): N_INSNS now unsigned.
2061 (delete_null_pointer_checks): Mark arg F as unused.
2063 * regrename.c: Minor cleanups, including chang some variables
2066 2000-04-10 Neil Booth <NeilB@earthling.net>
2068 * cpplex.c (skip_block_comment): Use pointer arithmetic rather
2070 * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
2072 2000-04-10 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2074 * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
2075 __classof__, and __headof__ from the list of gnu keywords.
2076 (-ansi): Remove -foperator-names from list of implied options.
2077 Do not call it ANSI C++.
2078 (-foperator-names): Document as -fno-operator-names.
2080 2000-04-09 Zack Weinberg <zack@wolery.cumb.org>
2082 * cpphash.c (timestamp): Delete.
2083 (del_HASHNODE): If type is T_MCONST, free value.cpval.
2084 (special_symbol): Remove unnecessary braces. Remove
2085 T_VERSION. Treat T_STDC like T_CONST unless
2086 STDC_0_IN_SYSTEM_HEADERS. Render both __DATE__ and __TIME__
2087 when one is encountered, then convert them into T_MCONST
2089 * cppinit.c (builtin_array): version_string is T_MCONST.
2090 __STDC__ has a "1" in its cpval. Don't have a terminator
2091 entry. Clean up which entries are dumped.
2092 (initialize_builtins): Only __STDC__ gets the special
2093 -traditional treatment. Count the length of builtin_array.
2094 Render version_string here.
2095 * cpphash.h: Remove T_VERSION. Add T_MCONST.
2096 * cpplib.h (struct cpp_reader): Remove timebuf.
2098 2000-04-09 Richard Henderson <rth@cygnus.com>
2100 * genrecog.c (pred): Update comparison_operator for the unordered
2103 * config/i386/i386.c (no_comparison_operator): Disallow unordered
2105 (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
2106 (uno_comparison_operator): New.
2107 (put_condition_code): Handle UNORDERED/ORDERED.
2108 (unsigned_comparison): Likewise.
2109 (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
2110 (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
2111 (ix86_expand_fp_compare): Use them. Take scratch as argument,
2112 update all callers. Handle all 8 unordered operators.
2113 (ix86_expand_setcc): Lose the unordered argument, update all callers.
2114 (ix86_expand_branch): Likewise. Don't fully expand fp branches.
2115 * config/i386/i386.h (PREDICATE_CODES): Update.
2116 * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
2117 (ix86_expand_branch, ix86_expand_setcc): Update.
2118 * config/i386/i386.md (sunordered, sordered): New.
2119 (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
2120 (bunordered, bordered): New.
2121 (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
2122 (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
2123 (*fp_jcc_5, *fp_jcc_6, and splitters): New.
2125 2000-04-09 Philip Blundell <philb@gnu.org>
2127 * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
2129 Sun Apr 9 15:16:14 EDT 2000 John Wehle (john@feith.com)
2131 * i386.md (fix_truncsfhi2, fix_truncdfhi2,
2132 fix_truncxfhi2): New patterns.
2133 * i386.c (output_fix_trunc): Handle converting to HImode.
2135 2000-04-08 Alex Samuel <samuel@codesourcery.com>
2137 * ssa.c (convert_to_ssa): Eliminate dead code when calling
2139 (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
2140 (for_each_successor_phi): Change parameter to basic_block.
2141 (coalesce_regs_in_successor_phi_nodes): Likewise.
2142 (coalesce_regs_in_copies): Likewise.
2143 (compute_coalesced_reg_partition): Use basic_block instead of index.
2144 * rtl.h (convert_to_ssa): Delete.
2145 (convert_from_ssa): Likewise.
2146 (successor_phi_fn): Likewise.
2147 (for_each_successor_phi): Likewise.
2148 (in_ssa_form): Likewise.
2149 * basic-block.h (convert_to_ssa): Moved from rtl.h.
2150 (convert_from_ssa): Likewise.
2151 (successor_phi_fn): Likewise.
2152 (in_ssa_form): Likewise.
2153 (for_each_successor_phi): Likewise. Change parameter to basic_block.
2154 * flow.c (calculate_global_regs_live): Pass a basic_block to
2155 for_each_successor_phi.
2157 2000-04-08 Richard Henderson <rth@cygnus.com>
2159 * flow.c (mark_used_reg): Use reg_set_p to determine if a register
2160 was modified in the current insn.
2162 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
2164 * arm/thumb.md: Delete.
2165 * arm/thumb-protos.h: Delete.
2167 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
2169 Merge changes from merged-arm-thumb-backend-branch onto trunk.
2171 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
2173 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
2176 * arm.md (nop): Use the standard RTL expression. Don't code as a
2178 (*arm_nop, *thumb_nop): Delete.
2180 * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
2181 constants. Use casts instead.
2182 (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
2183 output_multi_immediate, arm_poke_function_name): Likewise.
2184 * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
2185 MASK_RETURN_ADDDR): Likewise.
2187 2000-03-31 Richard Earnshaw (rearnsha@arm.com)
2189 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
2192 * arm.md (eh_epilogue): New function.
2193 * arm.h (struct machine_function): Move to here ...
2194 * arm.c: ... from here.
2195 (arm_output_epilogue): Support epilogues for __builtin_eh_return.
2196 (thumb_exit): Extra parameter eh_ofs. All callers changed.
2197 Handle epilogues for __builtin_eh_return. Make bit-fields unsigned.
2199 2000-03-30 Nick Clifton <nickc@cygnus.com>
2201 * config/arm/semi.h (ASM_SPEC): Restore definition.
2202 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
2204 * config/arm/elf.h (ASM_SPEC): Restore definition.
2205 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
2207 * config/arm/arm.h (ASM_SPEC): Remove definition.
2208 (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
2210 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
2212 * config/arm/arm.c: Disable -fschedule-insns for Thumb.
2214 2000-03-24 Nick Clifton <nickc@cygnus.com>
2216 Various formating tidyups, elimination of compile time
2217 warnings and synchronisation with internal sources:
2219 * config/arm/arm-protos.h (assemble_align): Add prototype.
2220 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
2221 (gen_comapre_reg): Rename to arm_gen_compare_reg.
2222 (arm_return_addr_rtx): Rename to arm_return_addr.
2224 * config/arm/arm.c: Include except.h.
2225 Define shorter typenames for strict minipool_node and struct
2227 (arm_return_in_memory): For WinCE return all structures <= 32 bits
2229 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
2230 (gen_comapre_reg): Rename to arm_gen_compare_reg.
2232 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
2234 (ASM_SPEC): Define if not already defined.
2235 (ASM_OUTPUT_DEF_FROM_DECLS): Define.
2237 * config/arm/arm.md: Rename references to gen_rotated_half_load to
2238 arm_gen_rotated_half_load, and references to gen_comapre_reg to
2239 arm_gen_compare_reg.
2240 (indirect_jump): Only accept register operands.
2241 (load_indirect_jump): Keep this pattern since combine can generate
2244 * config/arm/coff.h: Include aout.h.
2245 (MULTILIB_DEFAULTS): Only define if not already defined.
2247 * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
2248 into arm.h (so that COFF ports can support thumb based aliases).
2249 (ASM_SPEC): Move definition into arm.h
2251 * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
2252 redundant apcs spec.
2253 (ASM_SPEC): Move definition to arm.h
2255 * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
2257 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
2258 for entries in the .bss section
2260 2000-03-23 Nick Clifton <nickc@cygnus.com>
2262 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
2263 to thumb_far_jump_used_p.
2265 * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
2266 single integer parameter.
2268 * config/arm/arm.c (struct machine_function): Add two new
2269 fields, 'far_jump_used' and 'arg_pointer_live'.
2270 (thumb_far_jump_used_p): Once the decision has been made that
2271 far jumps might be used, always return true.
2272 If being called from the initial elimination offset macro then
2273 do not bother to perform the test if the arg pointer is not
2275 (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
2276 (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
2278 2000-03-23 Richard Earnshaw (rearnsha@arm.com)
2280 * arm.c (output_return_instruction): Handle more cases where we can
2281 return from a function with an ldr instruction.
2282 (arm_output_epilogue): Likewise.
2284 * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
2285 if we need to push a large stack frame and there are no callee-saved
2288 * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
2289 in ARM code if the frame pointer has been eliminated.
2291 * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
2292 unspec_volatile arguments to avoid duplicates.
2293 (consttable_1, consttable_2): Fixes for big-endian mode.
2295 * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
2298 Re-write constant pool code.
2299 * arm.c (minipool_node, minipool_fix): New types.
2300 (minifix): Delete type.
2301 (arm_add_minipool_constant): Delete.
2302 (arm_compute_minipool_offsets, arm_find_barrier,
2303 arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
2304 (get_jump_table_size): Now returns HOST_WIDE_INT.
2305 (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
2307 (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
2308 (assign_minipool_offsets, arm_print_value): Likewise.
2309 (dump_minipool): Rewrite.
2310 (arm_barrier_cost): New function.
2311 (create_fix_barrier): New function.
2312 (push_minipool_barrier): New function.
2313 (push_minipool_fix): Record additional information about the fixup
2315 (note_invalid_constants): Remove push for (UNSPEC 3). Don't
2316 check the mode of what needs fixing.
2317 (arm_reorg): Rewrite.
2319 2000-03-08 Nick Clifton <nickc@cygnus.com>
2321 * config/arm/arm.md (indirect_jump): Force constant addresses into
2324 2000-03-01 Bernd Schmidt <bernds@cygnus.co.uk>
2326 * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
2328 2000-02-24 Nick Clifton <nickc@cygnus.com>
2330 * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
2331 adjust is word aligned.
2332 (thumb_expand_epilogue): Make sure that stack adjust is word
2335 * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
2337 2000-02-24 Bernd Schmidt <bernds@cygnus.com>
2339 * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
2340 pointer relative addresses.
2342 2000-02-10 Richard Earnshaw <rearnsha@arm.com>
2344 * arm.c (find_barrier): Find the last barrier within the allowed
2347 2000-02-09 Nick Clifton <nickc@cygnus.com>
2349 * config/arm/arm-protos.h: Replace PROTO with PARAMS.
2351 2000-02-09 Nick Clifton <nickc@cygnus.com>
2353 * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
2354 ARM_FUNCTION_PROFILER.
2356 * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
2357 ARM_FUNCTION_PROFILER.
2359 * config/arm/linux-oldld.h: Imported from mainline sources.
2361 2000-02-07 Nick Clifton <nickc@cygnus.com>
2363 * config/arm/lib1funcs.asm: Merge in thumb functions from
2366 * config/arm/lib1thumb.asm: Delete.
2368 2000-02-04 Nick Clifton <nickc@cygnus.com>
2370 * config/arm/arm.c: Sychronised with current Red hat local
2372 * config/arm/arm.h: Ditto.
2373 * config/arm/arm-protos.h: Ditto.
2375 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
2377 * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
2379 * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
2382 2000-02-02 Nick Clifton <nickc@cygnus.com>
2384 * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
2386 * config/arm/arm.md (epilogue): Fix rtl checking abort because
2387 (return) was emited using an emit_insn() call.
2389 2000-01-31 Nick Clifton <nickc@cygnus.com>
2391 * config/arm/arm.c (output_thumb_prologue): Fix bug generating
2393 (thumb_exit): Move frame pointer back into hard frame pointer
2394 register if backtracing is being used.
2396 2000-01-13 Richard Earnshaw (rearnsha@arm.com)
2398 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
2401 1999-12-15 Bernd Schmidt <bernds@cygnus.co.uk>
2403 * config/arm/arm.md (neg_pool_offset): Provide default for new
2405 (arm_movsi_insn): Add neg_pool_offset attribute.
2406 * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
2407 rtx for the insn that starts the scan and an unsigned long for its
2408 address. Add MIN_OFFSET and PINSERTED args. All callers changed.
2409 Change scan to ignore insns before MIN_OFFSET. Store size of inserted
2410 instructions in *PINSERTED.
2411 (struct minipool_fixup): Add MIN_ADDRESS elt.
2412 (sort_fixups): Compute it.
2413 (arm_reorg): Changes to support inserting pools before the insn to be
2416 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
2418 * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
2419 * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
2420 * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
2422 Wed Nov 3 10:04:07 1999 Nick Clifton <nickc@cygnus.com>
2424 * config/arm/semi.h (TARGET_VERSION): Do not define if already
2426 (TARGET_DEFAULT): Do not define if already defined.
2428 Tue Nov 2 10:37:25 1999 Nick Clifton <nickc@cygnus.com>
2430 * config/arm/arm.md (anddi3): Allow disjoint source operands.
2431 (iordi3): Allow disjoint source operands.
2432 (xordi3): Allow disjoint source operands.
2433 (negdi2): Permit construction for ARM and Thumb.
2434 (arm_negdi2): Renamed version of old negdi2 pattern.
2435 (thumb_negdi2): New pattern: Only permit non-overlapping
2436 source and destination.
2438 Fri Oct 29 18:52:38 1999 Nick Clifton <nickc@cygnus.com>
2440 * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
2441 scratch low register so that it will not be deleted.
2443 Fri Oct 29 15:23:48 1999 Nick Clifton <nickc@cygnus.com>
2445 * config/arm/pe.h (ARM_PE): Define.
2447 * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
2448 interfacearm attribute if this is a PE toolchain.
2449 (output_return_instruction): Do not emit anything if the function
2450 has the naked attribute set.
2451 (is_called_in_ARM_mode): If the function has the interfacearm
2452 attribute then return true.
2453 (thumb_expand_prologue): Do not generate a prologue for naked
2455 (thumb_expand_epilogue): Do not generate an epilogie for a naked
2457 (output_thumb_prologue): Do not bother if the function is naked.
2458 Strip PE encoding from function name before emitting.
2460 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
2462 * arm.md (pic_load_addr): Fix constraints.
2464 * arm.md (casesi_insn): Fix mis-applied patch.
2466 * arm.md ("core" function unit): Add rules for single- and
2468 (All TARGET_THUMB patterns): Add "type" attribute information
2470 * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
2471 the following insn is a CALL.
2473 * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
2475 * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
2476 ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
2477 (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
2479 Wed Oct 27 14:40:48 1999 Nick Clifton <nickc@cygnus.com>
2481 * config/arm/linux-gas.h: oops - this file was missed out when the
2482 branch was created...
2484 Tue Oct 26 17:07:38 1999 Richard Earnshaw <rearnsha@arm.com>
2486 * thumb.c: Deleted. Move contents to ...
2488 * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
2490 * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
2493 * arm-protos.h: Use RTX_CODE and tidy up long lines. Don't
2494 declare a prototype for asm_output_align();
2496 * arm.c (thumb_condition_code): Delete.
2497 (arm_print_operand): Always use arm_condition_code array.
2499 * arm.c (thumb_return_addr_rtx): Delete.
2500 (arm_save_machine_status, arm_restore_machine_status): Delete.
2501 (arm_init_machine_status, arm_mark_machine_status): New functions.
2502 (arm_init_expanders): Update accordingly.
2503 (arm_return_addr): Renamed from arm_return_addr_rtx. Rewrite.
2504 (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
2505 * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
2507 Tue Oct 26 13:24:16 1999 Nick Clifton <nickc@cygnus.com>
2509 * configure.in : Fix arm-*-aout target to use new t-arm-aout
2511 * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
2514 Tue Oct 26 11:27:12 1999 Nick Clifton <nickc@cygnus.com>
2516 * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
2517 stack backtrace structure.
2519 * config/arm/arm-protos.h: Add prototypes for functions defined in
2522 * config/arm/arm.c (arm_override_options): Fix selection of
2523 attributes of default processor.
2525 * config/arm/coff.h: Delete needless #include.
2527 * config/arm/pe.c: Delete unused code.
2529 * config/arm/pe.h (CPP_DEFINES): Delete
2530 (SUBTARGET_CPP_SPEC): Define.
2531 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
2533 * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
2535 Mon Oct 25 15:42:09 1999 Richard Earnshaw (rearnsha@arm.com)
2537 * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
2539 (CAN_DEBUG_WITHOUT_FP): Define.
2540 (FIXED_REGISTERS): Make r11 call-saved.
2541 (CALL_USED_REGISTERS): Likewise.
2542 (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
2543 (FRAME_POINTER_REQUIRED): Correct logic for determining when a
2544 frame-pointer is required.
2545 (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
2546 * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
2547 if the target normally needs a stack frame in non-leaf functions.
2548 (use_return_insn): Correct logic for determining when a return
2549 instruction can be used.
2550 (output_return_instruction): Handle the frame-pointer register as
2551 a normal register when not TARGET_APCS_FRAME.
2552 (arm_output_prologue): Likewise.
2553 (arm_output_epilogue): Likewise.
2554 (output_func_epilogue): Likewise.
2555 (arm_expand_prologue): Likewise.
2556 * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
2558 * arm.c (use_return_insn): No need to check floating point regs if
2560 (arm_find_minipool_constant): Correct typo; use GET_CODE to get
2561 the code of value stored in the minipool array.
2562 (arm_add_minipool_constant): Likewise.
2564 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2566 * basic-block.h (conflict_graph_enum_fn): K&R fix.
2568 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2570 * tree.c (tree_expr_nonnegative_p): New function.
2572 * tree.h (tree_expr_nonnegative_p): Declare.
2574 * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
2575 elide some sign_compare warnings.
2576 (build_conditional_expr): Likewise.
2578 Sat Apr 8 00:21:51 EDT 2000 John Wehle (john@feith.com)
2580 * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
2582 * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
2583 * i386.c (print_operand): Use the proper suffix for a 387 HImode
2584 operand. Abort if a 387 operand has an unsupported size.
2586 2000-04-08 Neil Booth <NeilB@earthling.net>
2588 * cppexp.c (parse_charconst): Null does not end character
2590 * cppinit.c (ISTABLE): Null character handled as whitespace.
2591 * cpplex.c (null_warning): new function.
2592 (skip_string): Emit warning if nulls encountered.
2593 (_cpp_skip_hspace): Emit warning if nulls encountered.
2594 (_cpp_lex_token): Emit warning if nulls encountered. Drop
2598 2000-04-07 Richard Henderson <rth@cygnus.com>
2600 * flow.c (loop_depth): Remove.
2601 (reg_next_use, cc0_live, mem_set_list): Replace with ...
2602 (struct propagate_block_info): New.
2603 (life_analysis): Don't allocate reg_next_use.
2604 (propagate_block_delete_insn): Break out of propagate_block.
2605 Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
2606 (propagate_block_delete_libcall): Likewise.
2607 (propagate_block): Create a propagate_block_info struct to pass
2608 to subroutines. Allocate one not two temporary regsets. Don't
2609 clobber memory for const calls. Look for clobbers in
2610 CALL_INSN_FUNCTION_USAGE.
2611 (mark_set_regs): Recognize COND_EXEC.
2612 (mark_set_reg): Break out of mark_set_1.
2613 (mark_used_reg): Break out of mark_used_regs.
2614 (mark_used_regs): Recognize COND_EXEC.
2615 (insn_dead_p): Use propagate_block_info struct.
2616 (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
2617 (find_auto_inc, try_pre_increment_1): Likewise.
2618 (print_rtl_with_bb): Dump regs live at end too.
2619 (count_reg_sets_1): Pass in loop_depth.
2620 (count_reg_sets, count_reg_references): Likewise.
2621 (recompute_reg_usage): Provide it.
2623 2000-04-07 Richard Henderson <rth@cygnus.com>
2625 * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
2628 2000-04-07 Zack Weinberg <zack@wolery.cumb.org>
2630 * cpplib.c (do_elif): Skip the rest of the line if we're
2631 not going to bother evaluating it.
2632 (skip_if_group): Clear pfile->only_seen_white. Reorder loop
2633 to avoid pointless calls to the lexer.
2635 Fri Apr 7 11:50:54 2000 Jim Wilson <wilson@cygnus.com>
2637 * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
2639 2000-04-07 Jason Merrill <jason@casey.cygnus.com>
2641 * calls.c (expand_call): emit_queue if we're trying a sibcall.
2643 2000-04-07 Jakub Jelinek <jakub@redhat.com>
2645 * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
2647 2000-04-06 Geoff Keating <geoffk@cygnus.com>
2649 * Makefile.in: Build crtbeginS and crtendS like crtbegin and
2650 crtend so they can be multilibbed.
2651 (STAGESTUFF): Remove s-crt and s-crtS.
2653 2000-04-07 Richard Henderson <rth@cygnus.com>
2655 * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
2656 if we discover we need a pseudo and no_new_pseudos is true.
2657 * config/alpha/alpha.md (ne:DI insn): New.
2658 (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
2660 2000-04-07 Richard Henderson <rth@cygnus.com>
2662 * rtl.def (COND_EXEC): New.
2663 * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
2664 * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
2666 * genconfig.c (have_cond_arith_flag): Remove.
2667 (have_cond_exec_flag): New.
2668 (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
2669 (main): Print HAVE_conditional_execution.
2671 * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
2672 (sched_analyze_insn, print_pattern): Likewise.
2673 * reload.c (find_equiv_reg): Likewise.
2674 * rtlanal.c (reg_referenced_p): Likewise.
2675 (note_stores, dead_or_set_regno_p): Likewise.
2676 (reg_overlap_mentioned_p): Rewrite to use a switch.
2678 * ggc.h (struct rtx_def): Forward declare.
2680 * print-rtl.c (debug_rtx_range): New.
2681 * rtl.h (debug_rtx_range): Declare.
2683 * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
2685 * gcse.c (gcse_main): Don't rebuild the CFG here.
2686 (delete_null_pointer_checks): Likewise.
2687 * ssa.c (convert_to_ssa): Likewise.
2688 * toplev.c (rest_of_compilation): Do it here instead. Combine
2689 sequential calls to TIMEVAR. Consistently use `insns' instead of
2690 `get_insns()'. Always split insns after reload when optimizing.
2692 * basic-block.h (merge_blocks_nomove): Declare.
2693 (tidy_fallthru_edge): Declare.
2694 * flow.c (merge_blocks_nomove): Document as merging into previous
2695 blocks. Remove cruft from between blocks; remove all edges out of A.
2696 (tidy_fallthru_edge): Export.
2698 2000-04-06 Alex Samuel <samuel@codesourcery.com>
2700 * ssa.c (compute_conservative_reg_partition): Declare with
2702 * toplev.c (clean_dump_file): Remove previously-deleted function
2703 inadvertantly merged back in.
2704 * conflict.c (conflict_graph_add): Use a single call to
2705 htab_find_slot to look up and insert.
2707 2000-04-06 Richard Henderson <rth@cygnus.com>
2709 * genrecog.c (*): Rename _last_insn to last_insn.
2710 (make_insn_sequence): Set the position of the peephole2 C test
2711 to be at the last insn.
2713 2000-04-06 Richard Henderson <rth@cygnus.com>
2715 * flow.c (compute_flow_dominators): Free worklist.
2717 2000-04-06 Michael Matz <matzmich@cs.tu-berlin.de>
2719 * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
2721 2000-04-06 Alex Samuel <samuel@codesourcery.com>
2723 * rtl.h (INSN_P): New macro.
2724 (successor_phi_fn): New typedef.
2725 (for_each_successor_phi): New prototype.
2726 (in_ssa_form): New variable.
2727 (PHI_NODE_P): Likewise.
2728 * flow.c (calculate_global_regs_live): Add to new_live_at_end from
2729 phi nodes in successors.
2730 (mark_used_regs): Add PHI case.
2731 (set_phi_alternative_reg): New function.
2732 (life_analysis): Assert that dead code elimination is not selected
2734 * toplev.c (to_ssa_time): New variable.
2735 (from_ssa_time): Likewise.
2736 (compile_file): Zero to_ssa_time and from_ssa_time.
2737 Print time to convert to and from SSA.
2738 (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
2739 (print_time): Compute percent fraction as integer.
2740 * ssa.c (PHI_NODE_P): Moved to rtl.h.
2741 (convert_to_ssa): Check if we're already in SSA.
2742 Don't eliminate dead code in life_analysis.
2743 Rerun flow and life analysis at bottom.
2744 (eliminate_phi): Use canonical regnos when adding nodes.
2745 (mark_reg_in_phi): New function.
2746 (mark_phi_and_copy_regs): Likewise.
2747 (convert_from_ssa): Rerun life analysis at top.
2748 Use coalesced partition.
2749 Check for removing a phi node at the end of the block.
2750 (compute_coalesced_reg_partition): New function.
2751 (coalesce_regs_in_copies): Likewise.
2752 (coalesce_reg_in_phi): Likewise.
2753 (coalesce_regs_in_sucessor_phi_nodes): Likewise.
2754 (for_each_successor_phi): Likewise.
2755 (rename_context): New struct.
2756 (rename_block): Use a rename_context with rename_insn_1. When
2757 renaming sets of a subreg, emit a copy of the entire reg first.
2758 (rename_insn_1): Treat data as a rename_context *. Save current
2760 (rename_set_data): Add field set_insn.
2761 * Makefile.in (HASHTAB_H): Move up in file.
2762 (OBSTACK_H): New macro.
2763 (collect2.o): Use OBSTACK_H in dependencies.
2764 (sdbout.o): Likewise.
2765 (emit-rtl.o): Likewise.
2766 (simplify-rtx.o): Likewise.
2767 (fix-header.o): Likewise.
2768 (OBJS): Add conflict.o.
2769 (conflict.o): New rule.
2770 * basic-block.h: Include partition.h.
2771 (conflict_graph): New typedef.
2772 (conflict_graph_enum_fn): Likewise.
2773 (conflict_graph_new): New prototype.
2774 (conflict_graph_delete): Likewise.
2775 (conflict_graph_add): Likewise.
2776 (conflict_graph_conflict_p): Likewise.
2777 (conflict_graph_enum): Likewise.
2778 (conflict_graph_merge_regs): Likewise.
2779 (conflict_graph_print): Likewise.
2780 (conflict_graph_compute): Likewise.
2781 * conflict.c: New file.
2783 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2785 * tlink.c (read_repo_files): Don't look for .rpo info for
2788 Thu Apr 6 20:39:26 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2790 * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
2792 Thu Apr 6 19:34:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2794 * config/sh/lib1funcs.asm (___udivsi3_i4):
2795 ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
2796 only depends on FMOVD_WORKS.
2798 Thu Apr 6 19:11:47 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2800 * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
2801 make double constant 8-byte aligned.
2803 2000-04-06 Jakub Jelinek <jakub@redhat.com>
2805 * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
2806 movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
2807 movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
2808 (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
2809 Accept storing GENERAL_REGS into offsetable memory.
2810 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
2811 building a TFmode constant other than 0.0L into GENERAL_REGS.
2813 2000-04-06 Clinton Popetz <cpopetz@cygnus.com>
2815 * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
2817 2000-04-06 Zack Weinberg <zack@wolery.cumb.org>
2819 * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
2820 (macro_cleanup): No need to cast pbuf->macro.
2821 (collect_expansion): Use _cpp_get_define_token. Goto done if
2822 it returns VSPACE. Remove check for trailing space after
2824 (_cpp_create_definition): Don't diddle flags here. Return
2826 (unsafe_chars): Handle c1 being EOF.
2827 (push_macro_expansion): Use unsafe_chars for both accidental-paste
2828 checks. Don't push the buffer till after we're done with
2830 * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
2831 (PEEKN, FORWARD, GETC, PEEKC): Use them.
2832 (cpp_push_buffer): Don't set new->alimit. Set new->mark
2834 (_cpp_parse_assertion): Don't NUL terminate.
2835 (_cpp_lex_token): Fix -traditional macro handling. Don't skip
2836 hspace before calling _cpp_parse_assertion. Remove all sets
2837 of only_seen_white. Treat '\f' as hspace. Don't do anything
2838 special with '\n' here.
2839 (maybe_macroexpand): Handle T_EMPTY hash entries without
2840 pushing a buffer at all.
2841 (cpp_get_token): Handle clearing only_seen_white here. Handle
2842 incrementing the line number here. Clear
2843 potential_control_macro as well as only_seen_white, if
2845 (cpp_get_non_space_token): Don't eat CPP_POP tokens.
2846 (_cpp_get_define_token): New function, basically like
2847 _cpp_get_directive_token was but doesn't eat horizontal space.
2848 Don't do anything with only_seen_white here.
2849 (_cpp_get_directive_token): Just call _cpp_get_define_token
2850 repeatedly till it returns non-hspace.
2852 * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
2853 (conditional_skip, skip_if_group): Return int.
2854 (DIRECTIVE_TABLE): Change origin of all conditional directives
2856 (TRAD_DIRECT_P): New macro.
2857 (_cpp_handle_directive): Use _cpp_get_directive_token. Issue
2858 an error for a bogus directive, unless -lang-asm. Use
2859 TRAD_DIRECT_P. Loop calling handler functions till one returns
2861 (get_macro_name): Don't diddle flags here.
2862 (do_define): Diddle flags here. Use _cpp_get_directive_token.
2863 Create T_EMPTY nodes for #define macro /* nothing */.
2864 (do_undef): Don't copy the name. Use _cpp_get_directive_token.
2865 Use hp->name when calling pass_thru_directive.
2866 (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
2867 Return the result of conditional_skip and/or skip_if_group.
2868 Don't call _cpp_output_line_command.
2869 (consider_directive_while_skipping): Use _cpp_get_directive_token.
2870 Issue -Wtraditional warnings as appropriate. Don't complain
2871 about unrecognized directives. If we are to stop skipping,
2872 return the number of the directive that ended the skip.
2873 (skip_if_group): Use _cpp_get_directive_token. Turn off macro
2874 expansion and line commands while skipping. Return the result
2875 of consider_directive_while_skipping, if nonzero.
2876 (do_endif): Just set potential_control_macro here.
2877 (validate_else): Use _cpp_get_directive_token.
2878 (do_assert, do_unassert): Don't save pointers into the
2879 token_buffer across calls to the lexer. Use
2880 _cpp_get_directive_token.
2882 * cpplib.h (cpp_buffer): Remove alimit and colno. Make mark a
2883 pointer, not an offset. Replace 'data', which was a generic
2884 pointer, with 'macro', which points to a struct hashnode.
2885 (cpp_reader): Add 'potential_control_macro' pointer.
2886 * cpphash.h (T_UNUSED): Replace with T_EMPTY.
2887 (CPP_BUF_GET, CPP_FORWARD): Delete.
2888 (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
2889 (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
2890 ACTIVE_MARK_P): Update.
2891 (_cpp_get_define_token): New internal function.
2892 * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
2894 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
2896 * configure.in: And here.
2897 * configure: Regenerate.
2898 * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
2899 --enable-libstdcxx-v3 is passed at configure time.
2900 * config.h.in: Regenerate.
2902 2000-04-05 Mark Mitchell <mark@codesourcery.com>
2904 * final.c (final): Use xcalloc to allocate line_note_exists.
2905 * function.c (free_after_compilation): Free the temp_slots.
2906 (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
2907 (combine_temp_slot): Free temp_slots when they get combined.
2908 (purge_addressof): Fix typo in comment.
2909 * stmt.c (mark_goto_fixup): Mark the fixup itself.
2910 (expand_fixup): Allocate the fixup with ggc_alloc_obj.
2912 * ggc.h: Include varray.h.
2913 (ggc_pending_trees): Declare.
2914 (ggc_mark_tree_children): Remove declaration.
2915 (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
2916 * ggc-common.c (ggc_pending_trees): New variable.
2917 (ggc_mark_roots): Call ggc_mark_trees.
2918 (ggc_mark_tree_children): Rename to ggc_mark_trees. Process all
2919 the ggc_pending_trees.
2920 * Makefile.in (GGC_H): New variable. Use it throughout in place
2923 Thu Apr 6 00:30:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2925 * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
2928 Wed Apr 5 23:17:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2930 * sh.c (sh_insn_length_adjustment): New function.
2931 * sh-protos.h (sh_insn_length_adjustment): Declare.
2932 * sh.h (ADJUST_INSN_LENGTH): Use it.
2934 Wed Apr 5 12:35:18 2000 Hans-Peter Nilsson <hp@axis.com>
2936 * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
2937 from the insn where REG_RETVAL is added.
2938 (emit_no_conflict_block): Ditto.
2940 * md.texi (Standard Names): Clarify when movX is needed.
2942 * combine.c (simplify_comparison) [MINUS]: Do not replace
2943 all (op (minus A B) 0) with (op A B).
2945 Wed Apr 5 18:03:31 2000 Toshiyasu Morita (toshi.morita@sega.com)
2946 J"orn Rennecke <amylaar@cygnus.co.uk>
2948 * sh.md (block_lump_real_i4): Add missing clobber of T_REG
2949 (block_lump_real): Likewise.
2951 2000-04-05 Chris Demetriou <cgd@netbsd.org>
2953 * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
2954 remaining non-zero debugging masks.
2956 Wed Apr 5 09:44:07 2000 Jeffrey A Law (law@cygnus.com)
2958 * basic-block.h (verify_flow_info): Declare.
2959 (flow_loop_outside_edge_p): Declare.
2960 * flow.c (verify_flow_info): Remove declaration.
2961 (clear_log_links, flow_loop_outside_edge_p): Likewise.
2963 Wed Apr 5 09:34:26 2000 Philippe De Muyter <phdm@macqel.be>
2965 * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
2968 2000-04-05 Jakub Jelinek <jakub@redhat.com>
2970 * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
2971 snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
2972 seqdi_zero_trunc+1): Allow splits only if registers are
2975 2000-04-04 Ulrich Drepper <drepper@cygnus.com>
2977 * acconfig.h: Add HAVE_GAS_HIDDEN.
2978 * config.in: Regenerated.
2979 * configure.in: Add test for .hidden pseudo-op in gas.
2980 * configure: Regenerated.
2981 * crtstuff.c: Include auto-host.h.
2982 Emit additional .hidden pseudo-op for __dso_handle if the
2983 assembler knows about it.
2985 2000-04-04 Philippe De Muyter <phdm@macqel.be>
2987 * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
2988 before freeing argnames.
2989 * cpplib.c (do_ifndef): Cast return value of xstrdup.
2991 2000-04-05 Michael Meissner <meissner@redhat.com>
2993 * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
2994 Walton <jonboy@gordian.com> to make memory references with update
2995 work wtih -mregnames.
2997 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2999 * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
3000 (regrename_optimize): Rename variables `def_uses' and
3001 `ext_basic_blocks' to avoid conflicts with similarly named
3002 typedefs in traditional C.
3004 * calls.c (initialize_argument_information): Fix typo in previous
3007 2000-04-04 Richard Henderson <rth@cygnus.com>
3009 * regrename.c (consider_available): Test fixed_regs not
3010 PIC_OFFSET_TABLE_REGNUM.
3012 2000-04-04 Geoff Keating <geoffk@cygnus.com>
3014 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
3016 (CRTSTUFF_T_CFLAGS_S): Delete definition.
3017 * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
3018 (ENDFILE_LINUX_SPEC): Always use crtend.
3019 * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
3020 (powerpc-*-linux-gnu): Likewise.
3021 * configure: Regenerate.
3023 * config/rs6000/eabi.h: Don't include sysv4.h.
3024 (MULTILIB_DEFAULTS): Don't define.
3025 * config/rs6000/eabiaix.h: Don't include eabi.h.
3026 * config/rs6000/eabile.h: Delete.
3027 * config/rs6000/eabilesim.h: Delete.
3028 * config/rs6000/eabisim.h: Don't include eabi.h.
3029 * config/rs6000/linux.h: Don't include sysv4.h.
3030 (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
3031 (MULTILIB_DEFAULTS): Don't redefine.
3032 * config/rs6000/rtems.h: Don't include eabi.h.
3033 * config/rs6000/sol2.h: Don't include sysv4le.h.
3034 * config/rs6000/sysv4le.h: Don't include sysv4.h.
3035 * config/rs6000/t-ppc: Delete.
3036 * config/rs6000/t-ppcgas: Correct comment.
3037 * config/rs6000/t-ppcos: Correct comment. Don't build
3038 multilibs for -fPIC, rather use -fPIC -mstrict-align
3040 * config/rs6000/t-ppc: Delete.
3041 * config/rs6000/vxppc.h: Don't include sysv4.h.
3042 * config/rs6000/vxppcle.h: Delete.
3043 * configure.in: Use multiple header files for p2pc ELF targets
3044 powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
3045 powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
3046 powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
3047 powerpc-vxworks, powerpcle-vxworks. Assume GAS functionality is
3048 always available for these platforms.
3050 2000-04-04 Richard Henderson <rth@cygnus.com>
3052 * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
3054 2000-04-04 Stan Cox <scox@cygnus.com>
3056 * Makefile.in: Add rules for regrename.o
3057 * regrename.c: New file.
3058 * rtl.h (regrename_optimize): Add prototype.
3059 * toplev.c (rename_registers_dump, flag_rename_registers): New variables
3060 (compile_file, decode_d_option): Add support for -frename-registers.
3061 (rest_of_compilation): Call regrename_optimize.
3062 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
3065 2000-04-04 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3067 * Makefile (gccbug): New target.
3068 (doc): Depend on it.
3069 * gcc.texi (Bugs): Link subnodes.
3071 * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
3072 Document severities, priorities, and classes in bug form.
3074 2000-04-04 Zack Weinberg <zack@wolery.cumb.org>
3076 * cpplex.c (trigraph_map, speccase): Combine into single
3078 (NORMAL, NONTRI): New macros.
3079 (_cpp_read_and_prescan): Change to use unified table. Use
3080 is_hspace to test for whitespace.
3082 * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
3083 definition that doesn't provoke the "empty body in an
3084 if-statement" warning.
3086 2000-04-04 Clinton Popetz <cpopetz@cygnus.com>
3088 * builtins.c (expand_builtin_strlen): Force the source to
3089 be a memory address.
3091 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3093 * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
3095 Tue Apr 4 19:17:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
3097 * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
3098 ECF_LONGJMP, ECF_FORK_OR_EXEC): New constants.
3099 (ECF_IS_CONST): Rename to ECF_CONST.
3100 (special_function_p): Make static, change interface.
3101 (flags_from_decl_or_type, try_to_integrate): Break out from ...
3102 (expand_call) ... here; convert number of variables to flags.
3103 (emit_library_call_vlue_1): Likewise.
3104 (setjmp_call_p): New function.
3105 (initialize_argument_information): Accepts flags as argument;
3107 (precompute_arguments): Likewise.
3108 * tree.h (special_function_p): Remove.
3109 (setjmp_call_p): Add prototype.
3111 2000-04-04 Jakub Jelinek <jakub@redhat.com>
3113 * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
3114 so that addresses are offsetable by up to 16 bytes.
3115 (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
3116 non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
3119 * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
3120 (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
3121 (movsf): Don't force any constant to memory if target is integer
3123 Move fp_zero_operand check below the const0_rtx check.
3124 (movtf): Likewise. Also allow fp_zero_operand for stores into
3126 (movdf): Likewise. Also allow fp_zero_operand for stores into
3127 memory and into integer hard registers.
3128 (clear_df, clear_dfp, movdf_const_intreg_sp32,
3129 movdf_const_intreg_sp64): Remove.
3130 (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
3132 (movdf_no_e_insn_v9_sp32): New pattern.
3133 (movdf_insn_v9only): Remove.
3134 (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
3135 (movdf_insn_sp64): Remove.
3136 (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
3137 (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
3138 (following splits): Rewrite conditions. Add two new splits
3139 for storing 0.0 into memory and registers.
3140 (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
3141 (movtf_insn_sp32): Redo constraints and conditions.
3142 (movtf_insn_vis_sp32): New pattern.
3143 (movtf_no_e_insn_sp32): Redo constraints and conditions.
3144 (movtf_insn_hq_sp64): Likewise.
3145 (movtf_insn_hq_vis_sp64): New pattern.
3146 (movtf_insn_sp64): Redo constraints and conditions.
3147 (movtf_insn_vis_sp64): New pattern.
3148 (movtf_no_e_insn_sp64): Redo constraints and conditions.
3149 (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
3151 * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
3152 -mvis or -m64 to take down the number of various reload patterns.
3154 Tue Apr 4 00:41:53 2000 Jeffrey A Law (law@cygnus.com)
3156 * pa/pa-64.h: New file.
3157 * pa/pa64-regs.h: New file.
3158 * pa/pa64-start.h: New file.
3159 * pa/t-pa64: New file.
3160 * pa/xm-pa64hpux.h: New file.
3162 2000-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3164 * sparc.c (output_restore_regs): Prototype.
3165 (sparc_emit_float_lib_cmp): Constification.
3167 * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
3169 * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
3172 * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
3173 (get_value_hash, hash_rtx): Likewise.
3175 * ssa.c (compute_conservative_reg_partition): Prototype.
3177 * tree.c (mark_hash_entry): Prototype.
3179 2000-04-03 Zack Weinberg <zack@wolery.cumb.org>
3181 * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
3182 * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
3183 * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
3185 * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
3186 * objc/lang-specs.h: Likewise.
3188 2000-04-03 Neil Booth <NeilB@earthling.net>
3190 * cppexp.c: wrap long lines. New macros CPP_ICE, SYNTAX_ERROR
3191 and SYNTAX_ERROR2. Replace `' in messages with ''.
3192 (op_to_str): Make re-entrant.
3193 (_cpp_parse_expr): Implement new error macros. Use | rather
3194 than || to logically or 2 boolean integers. Simply expression
3195 checking we have a left operand iff needed.
3197 2000-04-03 Nick Clifton <nickc@cygnus.com>
3199 * Makefile.in (diagnostic.o): Depend upon diagnostic.c
3201 2000-04-03 Philip Blundell <philb@gnu.org>
3203 * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
3205 2000-04-03 Felix Lee <flee@cygnus.com>
3207 * fixinc/server.c (find_shell): New function. Avoid $SHELL.
3208 (run_shell): Use it.
3210 2000-04-03 Jonathan Larmour <jlarmour@redhat.co.uk>
3212 * Makefile.in (stmp-int-hdrs): Make include subdir here...
3213 (stmp-fixproto): ...rather than here.
3215 Mon Apr 3 00:50:06 2000 Jason Eckhardt <jle@cygnus.com>
3217 * pa.c (print_operand): Compute 'base' only inside the code paths
3220 2000-04-03 Geoffrey Keating <geoffk@cygnus.com>
3222 * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
3225 2000-04-03 Philipp Thomas <pthomas@suse.de>
3227 * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
3229 Mon Apr 3 00:02:59 2000 Brad Lucier <lucier@math.purdue.edu>
3231 * Makefile.in (alias.o): Depend on $(TREE_H).
3233 2000-04-02 Zack Weinberg <zack@wolery.cumb.org>
3235 * cppinit.c (cpp_start_read): Turn off -Wtraditional if
3237 * cpplib.c (_cpp_handle_directive): Improve warnings for
3238 traditional C and indented directives.
3240 * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
3241 fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
3242 fixinc/inclhack.def: Indent the # of #include_next one space.
3243 * cp/rtti.c: Un-indent #if and #endif.
3245 * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
3246 syntax error, but an error has already been printed.
3247 * cpplex.c (_cpp_parse_assertion): Give a more specific error
3248 message when called with nothing remaining on the line.
3249 (_cpp_lex_token): If _cpp_parse_assertion fails, return an
3250 OTHER token, not an ASSERTION.
3251 * cpplib.c (do_assert): When we create a 'base' node, clear
3252 its aschain pointer.
3254 2000-04-02 Neil Booth <NeilB@earthling.net>
3256 * cppexp.c: New typedef op_t. struct operation and struct
3257 token updated to use it.
3258 (op_to_str): New function.
3259 (_cpp_parse_expr): Error messages modified to use op_to_str.
3261 2000-04-02 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3263 * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
3264 before checking MUST_PASS_IN_STACK.
3266 2000-04-02 Neil Booth <NeilB@earthling.net>
3268 * cppexp.c: New FINISHED dummy token. Combine operator initial
3269 flags and initial priority into a single constant. New
3270 EQUALITY macro. New operator flag SHORT_CIRCUIT.
3271 (_parse_cpp_expr): Implement new constants. Take left operand
3272 checks out of reduction loop. Handle SHORT_CIRCUIT. End of
3273 parse indicated by reducing FINISHED token. Remove new lines
3274 from cpp_error messages.
3276 2000-04-01 Mark Mitchell <mark@codesourcery.com>
3278 * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
3281 2000-04-01 Zack Weinberg <zack@wolery.cumb.org>
3283 * cpplib.c: Include symcat.h. Add 'origin' field to struct
3284 directive. Add origin values to DIRECTIVE_TABLE. Generate
3285 the strings and function names on the fly. Take the #sccs
3286 entry out of the table if SCCS_DIRECTIVE is not defined.
3287 (_cpp_handle_directive): Decide if the # was at the beginning
3288 of the line here. Issue -pedantic warnings for extended
3289 directives here. Warn about K+R directives with the #
3290 indented, and C89/extended directives with the # not indented,
3292 (do_import, do_include_next, do_warning, do_ident, do_sccs,
3293 do_assert, do_unassert): Don't issue pedantic warning here.
3295 * cpphash.h: Add CPP_WTRADITIONAL macro.
3296 * cpplib.h (struct cpp_options): Rename warn_stringify to
3297 warn_traditional; update comments.
3298 * cppinit.c (handle_option): Set warn_traditional not
3300 * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
3301 CPP_WTRADITIONAL (pfile).
3302 * cpplex.c (_cpp_lex_token): Don't decide if directives should
3303 be ignored in -traditional mode here.
3305 * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
3306 to initialize speccase[] and trigraph_map[]. Delete all
3307 references to pfile->input_speccase. Always treat '?' as a
3308 special character. Remove table-initialization code from
3309 _cpp_init_input_buffer.
3311 * cpplib.h (struct cpp_reader): Remove input_speccase field.
3312 * cppinit.c (cpp_cleanup): Don't free input_speccase.
3314 2000-04-01 Richard Henderson <rth@cygnus.com>
3316 * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
3317 (mostlyclean): Likewise.
3319 * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
3320 (struct dump_file_info, enum dump_file_index, dump_file): New.
3321 (open_dump_file): Take a dump_file_index not a suffix, and a decl
3322 not a string. Clean out file if we havn't yet done so. Do nothing
3323 if the dump isn't enabled.
3324 (close_dump_file): Do nothing if the dump isn't open. Dump
3325 graph data if requested.
3326 (dump_rtl, clean_dump_file): Remove.
3327 (compile_file): Don't clean the dump files. Only finalize .bp dump
3328 if flag_test_coverage or flag_branch_probabilities. Only finalize
3329 .combine dump if optimizing. Iterate over dump_file to finalize the
3331 (rest_of_compilation): Update for open_dump_file/close_dump_file.
3332 Convert all uses of dump_rtl.
3333 (decode_d_option): Iterate over dump_file to implement 'a' and to
3334 locate pass-specific dumps.
3336 2000-04-01 Neil Booth <NeilB@earthling.net>
3338 * cppexp.c: Redefine priority constants.
3339 (_cpp_parse_expr): Replace left and right priority scheme with
3340 single priority logic. Move LOGICAL to same place as COMPARE.
3341 Remove bogus check for multiple unary +/- operators.
3343 2000-04-01 Neil Booth <NeilB@earthling.net>
3345 * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
3346 within the switch statement. Binary operations break out of
3347 the switch naturally. '(' tokens handled by forcing
3348 immediate shift. ')' handled by forcing immediate reduce to
3349 the previous '('. New error messages.
3351 2000-03-31 Geoff Keating <geoffk@cygnus.com>
3353 * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
3354 part', it's already in use. Use %K instead. Add a return at the
3355 end of what is now %K.
3356 * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
3358 Sat Apr 1 02:05:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
3360 * builtins.c (expand_builtin_apply): Pass proper parameters to
3361 allocate_dynamic_stack_space.
3362 * calls.c (emit_call_1): Do not adjust stack pointer for SIB,
3363 update stack_pointer_delta; do not update arg_size_so_far.
3364 (compute_argument_block_size): Use stack_delta instead of
3365 stack_pointer_pending and arg_size_so_far.
3366 (expand_call): Add sanity checking for stack_pointer_delta;
3367 save and restore stack_pointer_delta for SIB, use
3368 stack_pointer_delta for alignment; do not update arg_space_so_far.
3369 (emit_library_call_value): Use stack_pointer_delta for alignment.
3370 (store_one_arg): Do not update arg_space_so_far.
3371 * explow.c (adjust_stack, anti_adjust_stack): Update
3372 stack_pointer_delta.
3373 (allocate_dynamic_stack_space): Add sanity checking for
3374 stack_pointer_delta.
3375 * expr.c (init_expr, clear_pending_stack_adjust): Clear
3376 stack_pointer_delta.
3377 (emit_push_insn): Update stack_pointer_delta.
3378 * function.h (struct expr_status): Add x_stack_pointer_delta;
3379 remove x_arg_space_so_far.
3380 (arg_space_so_far): Remove.
3381 (stack_pointer_delta): New macro.
3383 2000-03-31 Zack Weinberg <zack@wolery.cumb.org>
3385 * cpplib.h: Merge struct cpp_options into struct cpp_reader.
3386 Reorder struct cpp_options and struct cpp_reader for better
3387 packing. Replace CPP_OPTIONS macro with CPP_OPTION which
3388 takes two args. Change all 'char' flags to 'unsigned char'.
3389 Move show_column flag into struct cpp_options. Don't
3390 prototype cpp_options_init.
3391 * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
3392 cppinit.c, cpplex.c, cpplib.c:
3393 Replace CPP_OPTIONS (pfile)->whatever with
3394 CPP_OPTION (pfile, whatever), and likewise for
3395 opts = CPP_OPTIONS (pfile); ... opts->whatever;
3397 * cppinit.c (merge_include_chains): Take a cpp_reader *.
3398 Extract CPP_OPTION (pfile, pending) and work with that
3400 (cpp_options_init): Delete.
3401 (cpp_reader_init): Turn on on-by-default options here.
3402 Allocate the pending structure here.
3403 (cl_options, enum opt_code): Define these from the same table,
3404 kept in a large macro. Add -fshow-column and -fno-show-column
3407 * cpperror.c (v_message): If show_column is off, don't print
3410 * cppmain.c: Update for new interface.
3411 * fix-header.c: Likewise.
3413 2000-03-30 Geoff Keating <geoffk@cygnus.com>
3415 * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
3417 * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
3418 are passed to any invocation of AR_FOR_TARGET.
3419 (AR_CREATE_FOR_TARGET): New macro.
3420 (AR_EXTRACT_FOR_TARGET): New macro.
3421 (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
3422 AR_EXTRACT_FOR_TARGET.
3423 (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
3424 in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
3425 `$(AR_FOR_TARGET) x'. Pass AR_CREATE_FOR_TARGET and
3426 AR_EXTRACT_FOR_TARGET to sub-makes.
3428 2000-03-31 Neil Booth <NeilB@earthling.net>
3430 * cppexp.c: Delete SKIP_OPERAND. Correct priority
3432 (_cpp_parse_expr): Check for multiple unary +/- operators.
3433 Correct priorities of ':' and '?'. Treat ')' as having a
3434 value. Ensure conditional expression is not void.
3436 2000-03-31 Mark Mitchell <mark@codesourcery.com>
3438 * alias.c (canon_rtx): Make it global.
3439 (rtx_equal_for_memref_p): CONST_INT equality is now pointer
3441 * cse.c (struct table_elt): Add canon_exp.
3443 (invalidate): Canonicalize expressions only once.
3444 * rtl.h (canon_rtx): Declare.
3446 2000-03-30 Mark Mitchell <mark@codesourcery.com>
3448 * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
3449 * alias.c (reg_known_value): Add comments.
3450 (init_alias_analysis): Likewise.
3451 * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
3453 (cse_basic_block): Fix typo in comment.
3454 * emit-rtl.c: Include hashtab.h.
3455 (const_int_htab): New variable.
3456 (const_int_htab_hash): New function.
3457 (const_int_htab_eq): Likewise.
3458 (rtx_htab_mark_1): Likewise.
3459 (rtx_htab_mark): Likewise.
3460 (gen_rtx_CONST_INT): Cache all CONST_INTs.
3461 (unshare_all_rtx): Fix formatting.
3462 (init_emit_once): Initialize const_int_htab.
3463 * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
3465 * rtl.texi: Document the fact that all CONST_INTs with the same
3468 2000-03-30 Richard Henderson <rth@cygnus.com>
3470 * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
3472 2000-03-30 Zack Weinberg <zack@wolery.cumb.org>
3474 * configure.in: Comment out --enable-c-cpplib stanza.
3475 * configure: Regenerate.
3477 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3479 * expr.c (store_constructor): Properly compute displacement and
3480 alignment when offset is variable.
3482 * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
3483 cases of alignment in bytes.
3485 Thu Mar 30 13:30:40 2000 Jeffrey A Law (law@cygnus.com)
3487 * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
3488 since it is used to generate c-parse.y.
3489 * objc-parse.c, objc-parse.y: Regenerated.
3491 * function.c (expand_function_end): Pass alignment argument to
3492 emit_block_move in bits, not bytes.
3494 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3496 * expr.c (move_by_pieces_ninsns): Fix one more missing align
3499 * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
3501 * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
3502 * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
3503 * function.c (assign_parms): Likewise.
3504 * integrate.c (expand_inline_function): Likewise.
3505 * stmt.c (expand_decl): Likewise.
3506 (copy_rtx_and_substitute): Likewise.
3507 * expr.c (expand_expr, expand_expr_unaligned): Likewise.
3508 (clear_by_pieces): Fix error in last change.
3509 * emit-rtl.c (init_emit): Set known registers alignment in bits.
3510 * function.h (regno_pointer_align): Now unsigned.
3511 * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
3513 * config/i386/i386.c (aligned_operand): Likewise.
3514 * config/sparc/sparc.c (mem_min_alignment): Likewise.
3515 * config/alpha/alpha.c (aligned_memory_operand): Likewise.
3516 (unaligned_memory_operand): Likewise.
3517 (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
3518 Also make alignments and sizes unsigned and some whitespace cleanup.
3519 (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
3521 * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
3522 (expand_builtin_apply): Pass alignment to emit_block_move in bits.
3523 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
3524 (expand_builtin_memset): Likewise, but to clear_storage.
3525 * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
3526 (restore_fixed_argument_area): Likewise.
3527 (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
3528 (load_register_parameters): Likewise, to emit_group_load.
3529 (expand_call): Likewise, to emit_group_store and emit_block_move.
3530 (emit_library_call_value_1): Likewise, to emit_block_move.
3531 (store_one_arg): Likewise, and to emit_push_insn.
3532 * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
3533 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
3534 * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
3535 (emit_block_move, emit_group_load, emit_group_store): Likewise.
3536 (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
3537 (expand_assigment, store_expr, store_constructor_field): Likewise.
3538 (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
3539 (store_constructor, store_field, get_inner_reference): Likewise.
3540 Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
3541 (expand_expr, case COMPONENT_REF): Likewise.
3542 (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
3543 and positions; reindent code.
3544 * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
3545 * function.c (purge_addressof_1): Pass bit align to store_bit_field.
3546 (assign_parms): Likewise to emit_group_store.
3547 * optabs.c (prepare_cmp_insn): Alignment is in bits.
3548 (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
3549 * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
3550 (expand_return): Likewise to {extract,store}_bit_field.
3551 * stor-layout.c (get_mode_alignment): Minor cleanup.
3552 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
3553 * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
3555 2000-03-29 Nick Clifton <nickc@cygnus.com>
3557 * config/arm/arm.h: Undo effects of previous delta:
3558 (ASM_SPEC): Do not define.
3559 (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
3561 * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
3564 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
3566 * cppinit.c (cpp_start_read): Call initialize_dependency_output
3567 only after reading in the primary source file.
3569 2000-03-29 Geoff Keating <geoffk@cygnus.com>
3571 * c-common.c (c_common_nodes_and_builtins): The first parameter to
3572 __builtin_va_start and __builtin_va_copy is now either a 'va_list'
3573 or a reference to a va_list.
3574 * builtins.c (stabilize_va_list): Simplify now we don't have to
3575 work around C array address decay.
3576 * c-typeck.c (convert_for_assignment): Handle assignment to
3577 a reference parameter by taking the address of the RHS.
3578 * ginclude/stdarg.h (va_start): Don't take address of first parameter.
3579 (va_copy): Likewise.
3580 (__va_copy): Likewise.
3581 * ginclude/varargs.h (va_start): Likewise.
3582 (__va_copy): Likewise.
3584 Wed Mar 29 15:44:53 2000 Jeffrey A Law (law@cygnus.com)
3586 * i386/djgpp.h: Remove extraneous "+".
3588 * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
3590 * calls.c (expand_call): Fix typo in last change.
3592 2000-03-29 Jason Merrill <jason@casey.cygnus.com>
3594 * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
3597 Wed Mar 29 15:39:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3599 * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
3600 (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
3601 (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
3602 * tree.c (bit_position, byte_position): Likewise.
3603 * tree.h: Declare new functions.
3605 2000-03-29 Nick Clifton <nickc@cygnus.com>
3607 * config/arm/arm.c: Minor formatting changes/
3608 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
3610 (ASM_SPEC): Define if not already defined.
3612 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
3614 * cppfiles.c (cpp_read_file): Don't pass zero-length string to
3617 2000-03-29 Jakub Jelinek <jakub@redhat.com>
3619 * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
3620 value, don't output it as unsigned.
3622 Wed Mar 29 10:53:49 2000 Jeffrey A Law (law@cygnus.com)
3624 * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
3626 2000-03-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3628 * c-common.c (c_common_nodes_and_builtins): Don't special case
3629 cplus_mode when declaring builtin bzero/bcmp, always avoid
3630 prototype arguments.
3632 2000-03-29 Bruce Korb <bkorb@gnu.org>
3634 * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
3637 Wed Mar 29 15:08:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
3639 Convert ACCUMULATE_OUTGOING_ARGS to an expression.
3640 * calls.c (PUSH_ARGS_REVERSED) Change to expression.
3641 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
3642 (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
3643 (save_fixed_argument_area, restore_fixed_argument_area):
3644 conditionize by #ifdef REG_PARM_STACK_SPACE only.
3645 (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
3646 to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
3647 (precompute_register_parameters): Avoid #ifdefs on
3648 ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
3649 (stire_one_args): Likewise.
3650 (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
3651 (emit_library_call_value_1): Likewise.
3652 (compute_argument_block_size): Align to STACK_BOUNDARY only for
3653 ACCUMULATE_OUTGOING_ARGS.
3654 * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
3656 (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
3657 (use_crosses_set_p): Likewise.
3658 * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
3659 #define ACCUMULATE_OUTGOING_ARGS 1.
3660 * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
3662 * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
3664 (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
3665 (TARGET_SWITCHES): Add push-args, no-push-args,
3666 accumulate-outgoing-args and no-accumulate-outgoing-args.
3667 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
3668 * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
3669 (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
3671 (emit_push_insn): Likewise.
3672 * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
3673 (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
3674 * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
3675 (STACK_DYNAMIC_OFFSET): Define correctly for both
3676 ACCUMULATE_OUTGOING_ARGS and normal mode.
3677 * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
3678 * tm.texi (PUSH_ARGS): Document.
3679 (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
3681 Wed Mar 29 11:51:13 MET DST 2000 Jan Hubicka <jh@suse.cz>
3683 * flags.h (flag_optimize_sibling_calls): Declare.
3684 * calls.c (expand_call): Fail sibcall when
3685 !flag_optimize_sibling_calls
3686 * invoke.texi (flag_optimize_sibling_calls): Document.
3687 * toplev.c (flag_optimize_sibling_calls): New global variable.
3688 (f_options): Add flag_optimize_sibling_calls.
3689 (rest_of_compilation): Conditionize
3690 optimize_sibling_and_tail_recursive_calls by
3691 flag_optimize_sibling_calls.
3692 (main): Set flag_optimize_sibling_calls for -O2.
3693 * stmt.c (expand_return): Conditionize tail recursion by
3694 flag_optimize_sibling_calls.
3696 2000-03-29 Richard Henderson <rth@cygnus.com>
3698 * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
3699 (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
3701 2000-03-29 Nathan Sidwell <nathan@codesourcery.com>
3703 * except.c (add_eh_table_entry): Mark type_info's as referenced.
3705 2000-03-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3707 * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
3709 * config/rs6000/aix43.h (CPP_SPEC): Likewise.
3710 * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
3711 * config/rs6000/aix.h: then modified likewise.
3713 2000-03-28 Richard Henderson <rth@cygnus.com>
3715 * rtl.h: Redistribute enum reg_note documentation.
3716 Kill trailing whitespace.
3717 * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
3718 Kill trailing whitespace.
3720 2000-03-28 Zack Weinberg <zack@wolery.cumb.org>
3722 * cppfiles.c (hash_IHASH): Just return i->hash.
3723 (cpp_included): Set dummy.hash using _cpp_calc_hash. Use
3724 htab_find_with_hash.
3725 (cpp_read_file): Likewise.
3726 (find_include_file): Likewise. Properly initialize
3727 ih->nshort. Share ih->name and ih->nshort if possible.
3728 * cpphash.c (_cpp_calc_hash): New function.
3729 (hash_HASHNODE): Just return h->hash.
3730 (_cpp_lookup): Set dummy.hash using _cpp_calc_hash. Use
3731 htab_find_with_hash.
3732 * cpphash.h: Prototype _cpp_calc_hash.
3733 * cppinit.c (initialize_builtins): Provide a valid hash
3734 to _cpp_make_hashnode, using _cpp_calc_hash.
3736 * cpphash.c (collect_expansion): # is not a special character
3737 in object-like macros. In -traditional mode, /**/ is not
3738 token paste at the beginning or end of the line.
3739 * cpplib.c (do_include, do_import, do_include_next): If
3740 parse_include fails, return immediately.
3742 2000-03-28 Jason Merrill <jason@casey.cygnus.com>
3744 * config/arm/arm.md (return peepholes): Update to reflect the new
3746 * config/arm/arm.c (arm_volatile_func): Also check
3747 current_function_nothrow.
3748 (output_return_instruction, output_func_prologue): Use it.
3749 (arm_output_epilogue, arm_expand_prologue): Likewise.
3751 2000-03-27 Tom Tromey <tromey@cygnus.com>
3753 * gcc.c (handle_braces): In {x*...} case, break out of loop if
3756 Tue Mar 28 11:55:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3758 * expr.c (store_constructor): SIZE now signed.
3759 For EXPR_SIZE, don't evaluate size; just needed if constant.
3760 * fold-const.c (fold): Fix a number of cases when folded tree is
3762 * function.c (flush_addressof): Reenable.
3763 * tree.h (flush_addressof): Likewise.
3764 * toplev.c (independent_decode_option): Look at strings_processed.
3765 * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
3767 Tue Mar 28 08:29:46 2000 Jan Hubicka <jh@suse.cz>
3769 * sibcall.c (indentify_call_return_value): Find last call in the chain;
3770 Allow stack adjustment after function call.
3772 * regmove.c (struct csa_memlist): Make mem field rtx *.
3773 (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
3774 (try_apply_stack_adjustment): Replace whole MEM rtx.
3775 (combine_stack_adjustments_for_block): Update calls
3776 to record_one_stack_ref.
3778 2000-03-28 Neil Booth <NeilB@earthling.net>
3780 * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
3781 '\\' rather than a null character, so nulls are not special. Fix
3782 "\\\n" handling in end-of-buffer conditions. Use trigraph map to
3783 speed trigraph conversion.
3784 (_cpp_init_input_buffer): Initialize trigraph map.
3786 2000-03-27 Alan Modra <alan@linuxcare.com.au>
3788 * config/i386/i386.c (output_387_binary_op): Correct intel
3789 mode assembly output, and add spaces after commas in AT&T
3790 output. Correct Unixware assembler comment. Document input
3791 constraints. Comment fp operations. Reduce profligate buffer
3792 size. Remove extraneous abort. Localize temp var.
3793 (SYSV386_COMPAT): Define. Add !SYSV386_COMPAT code.
3794 (output_fix_trunc): Add spaces after commas in assembly output.
3796 2000-03-27 Richard Henderson <rth@cygnus.com>
3798 * i386-protos.h (ix86_match_ccmode): Declare.
3799 * i386.c (ix86_match_ccmode): New.
3800 (ix86_expand_fp_compare): Update for pattern renames.
3801 (ix86_expand_strlensi_unroll_1): Likewise.
3802 * i386.h (EXTRA_CC_MODES): Add CCZ.
3803 (SELECT_CC_MODE): Use it for EQ/NE zero.
3804 * i386.md (cmpsi_ccz_1): New.
3806 (*testsi_ccz_1): New.
3807 (testqi_ccz_1): New.
3808 (cmpsi_ccno_1): Rename from cmpsi_0.
3809 (testsi_ccno_1): Rename from testsi_1.
3810 (testqi_ccno_1): Rename from testqi_1.
3811 (*testqi_ext_ccz_0): Rename from testqi_ext_0.
3812 (testqi_ext_ccno_0): Rename from *testqi_ext_1.
3813 (*cmphi_0): Use ix86_match_ccmode.
3814 (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
3815 (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
3816 (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
3817 (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
3818 (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
3819 (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
3820 (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
3821 (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
3822 (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
3823 (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
3824 (appropriate peepholes): Likewise.
3825 (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
3826 (*subsi_3, *subhi_3, *subqi_3): Remove.
3827 (*negdi2_1+1 splitter): Use CCZ for neg patterns.
3828 (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
3829 (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
3830 (*neghi2_cmpz, *negqi2_cmpz): Similarly.
3831 (x86_shift_adj_1): Use CCZ.
3832 (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
3834 2000-03-27 Stan Cox <scox@cygnus.com>
3836 * resource.h (mark_resource_type): New.
3837 * resource.c (find_dead_or_set_registers, mark_target_live_regs,
3838 find_free_register): Use mark_resource_type.
3839 (mark_set_resources): Change include_delayed_effects
3840 to mark_resource_type.
3841 * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
3842 redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
3843 Use mark_resource_type.
3845 2000-03-27 Richard Henderson <rth@cygnus.com>
3847 * i386.md (call_pop_0, call_value_pop_0): New.
3848 (call_pop_1): Remove constraint from unused arg. Support sibcalls.
3849 (call_value_pop_1): Likewise.
3850 (call_0, call_value_0): New.
3851 (call_1, call_value_1): Remove constraint from unused arg.
3853 2000-03-27 Nick Clifton <nickc@cygnus.com>
3855 * invoke.texi (Spec Files): Document new spec % command created by
3856 Tom Tromey's recent patch.
3858 2000-03-27 Jakub Jelinek <jakub@redhat.com>
3860 * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
3863 Mon Mar 27 06:04:22 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3865 * expr.c (expand_assignment): Fix typo in last change.
3867 * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
3869 Sun Mar 26 20:15:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3871 * c-convert.c (convert): Return if output or input type is ERROR_MARK.
3872 * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
3873 and DECL_INLINE if FUNCTION_DECL.
3874 (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
3875 (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
3876 Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
3877 (combine_parm_decls): Likewise.
3878 * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
3879 * print-tree.c (print_node): Likewise.
3880 Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
3881 DECL_TRANSPARENT_UNION on proper decl types.
3882 Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
3883 * stor-layout.c (layout_decl): Only check DECL_PACKED and
3884 DECL_BIT_FIELD of FIELD_DECL.
3885 * tree.h (DECL_RESULT_FLD): New macro.
3887 * expr.c (expand_assignment): Add code to handle variable-sized
3890 2000-03-26 Richard Henderson <rth@cygnus.com>
3892 * calls.c (expand_call): Pass parms not original exp to
3893 optimize_tail_recursion. Mind return value instead of looking
3895 * stmt.c (optimize_tail_recursion): Take parameter list, not entire
3896 call_expr. Move checks for call_expr and current_function_decl ...
3897 (expand_return): ... here.
3899 2000-03-26 Tom Tromey <tromey@cygnus.com>
3901 * gcc.c (handle_braces): Recognize `%{<S}' construct.
3902 (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
3904 (process_command): Use them.
3905 (check_live_switch): Likewise.
3906 (give_switch): Skip ignored switches.
3908 2000-03-26 Jan Hubicka <jh@suse.cz>
3910 * jump.c (jump_optimize_1): Fix typo in elide optimizations
3911 for minimal jump pass test.
3913 2000-03-26 Mark Mitchell <mark@codesourcery.com>
3915 * integrate.c (function_cannot_inline_p): Do inline functions that
3918 Sun Mar 26 11:37:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3920 * stor-layout.c (layout_type, set_sizetype): early_type_list is
3921 now a list of TREE_LIST entries, not types.
3922 * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
3924 * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
3925 * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
3927 * config/mips/mips.c (function_arg): Likewise; also remove cast
3928 and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
3929 (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
3930 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
3931 * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
3932 (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
3933 (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
3934 (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
3935 (struct mips_arg): arg_number, arg_words, fp_arg_words, and
3936 num_adjusts now unsigned.
3937 (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
3938 * config/sparc/sparc.c (struct function_arg_record_value_parms):
3940 (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
3941 as is BITPOS variable; use host_integerp and int_bit_position.
3942 (function_arg_record_value_2): Likewise.
3943 (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
3944 Variable REGNO now unsigned.
3945 (function_arg_record_value): NREGS now unsigned.
3947 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
3949 * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
3951 Sat Mar 25 09:12:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3953 * Rework fields used to describe positions of bitfields and
3954 modify sizes to be unsigned and use HOST_WIDE_INT.
3955 * alias.c (reg_known_value_size): Now unsigned.
3956 * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
3957 (really_start_incremental_init): Use bitsize_zero_node.
3958 (push_init_level, pop_init_level, output_init_element): Likewise.
3959 Use bitsize_unit_node and bitsize_one_node.
3960 (output_pending_init_elements, process_init_element): Likewise.
3961 * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
3962 (make_extraction): Position and length HOST_WIDE_INT and unsigned
3963 HOST_WIDE_INT, respectively.
3964 (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
3965 (num_sign_bit_copies): Returns unsigned.
3966 BITWIDTH now unsigned; rework arithmetic.
3967 Remove recursive call from arg to MAX.
3968 (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
3969 (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
3971 (set_nonzero_bit_and_sign_copies): NUM now unsigned.
3972 (find_split_point, expand_compound_operation, make_extraction): LEN
3973 now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
3974 (make_field_assignment): Likewise.
3975 (combine_simplify_rtx): Add cast.
3976 (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
3977 (force_to_mode): WIDTH now unsigned; add cast.
3978 (if_then_else_cond): SIZE now unsigned.
3979 (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
3980 (extended_count): Now returns unsigned.
3981 (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
3982 Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
3983 (simplify_comparison): MODE_WIDTH now unsigned.
3984 (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
3985 (mark_used_regs_combine): Likewise; rework arithmetic.
3986 (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
3987 (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
3988 (record_promoted_value): REGNO now unsigned.
3989 (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
3990 (get_last_value): REGNO now unsigned.
3991 (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
3992 (reg_dead_regno, reg_dead_endregno): Now unsigned.
3993 (remove_death): Arg REGNO now unsigned.
3994 (move_deaths): REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
3995 (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
3997 * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
3998 * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
3999 (struct cse_reg_info): REGNO now unsigned.
4000 (cached_regno): Now unsigned.
4001 (REGNO_QTY_VALID_P): Add cast.
4002 (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
4003 (remove_invalid_regs): Likewise.
4004 (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
4005 as are variables END and I.
4006 (get_cse_reg_info, insert): Likewise.
4007 (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
4008 (canon_hash): Likewise.
4009 (insert_regs, lookup_for_remove): REGNO now unsigned.
4010 (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
4012 * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
4013 * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
4014 * emit-rtl.c (subreg_realpart_p): Add cast.
4015 (operand_subword): Arg I is now unsigned as is var PARTWORDS.
4016 (operand_subword_force): Arg I is now unsigned.
4017 * except.c (eh_regs): Variable I is now unsigned.
4018 * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
4019 * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
4020 length is unsigned HOST_WIDE_INT; likewise for internal variables.
4021 (store_split_bit_field, extract_fixed_bit_field): Likewise.
4022 (extract_split_bit_field, store_bit_field, extract_bit_field):
4024 * expr.c (store_constructor_fields, store_constructor, store_field):
4025 Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
4026 (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
4027 (do_jump): Likewise.
4028 (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
4029 MAX_SIZE is now unsigned.
4030 (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
4031 (emit_group_store): Likewise.
4032 (emit_move_insn): I now unsigned.
4033 (store_constructor): Use host_integerp, tree_low_cst, and
4035 (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
4036 Rework all calculations to use trees and new fields.
4037 * expr.h (promoted_input_arg): Regno now unsigned.
4038 (store_bit_field, extract_bit_field): Adjust types of pos and size.
4039 (mark_seen_cases): Arg is HOST_WIDE_INT.
4040 * flow.c (verify_wide_reg_1): REGNO now unsigned.
4041 * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
4042 precisions and alignments are unsigned.
4043 (optimize_bit_field_compare, fold_truthop): Likewise.
4044 (int_const_binop): Adjust threshold for size_int_type_wide call.
4045 (fold_convert): Likewise.
4046 (size_int_type_wide): Make table larger and fix thinko that only
4047 had half of table used.
4048 (all_ones_mask_p, fold): Precisions are unsigned.
4049 * function.c (put_reg_info_stack): REGNO is unsigned.
4050 (instantiate_decl): Size is HOST_WIDE_INT.
4051 (instantiate_virtual_regs): I is unsigned.
4052 (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
4053 (promoted_input_arg): REGNO is unsigned.
4054 * function.h (struct function): x_max_parm_reg is now unsigned.
4055 * gcse.c (max_gcse_regno): Now unsigned.
4056 (struct null_pointer_info): min_reg and max_reg now unsigned.
4057 (lookup_set, next_set): REGNO arg now unsigned.
4058 (compute_hash_table): REGNO and I now unsigned.
4059 (handle_avail_expr): regnum_for_replacing now unsigned.
4060 (cprop_insn): REGNO now unsigned.
4061 (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
4062 * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
4063 * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
4064 * hard-reg-set.h (reg_class_size): Now unsigned.
4065 * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
4066 * jump.c (mark_modified_reg): I now unsigned; add cast.
4067 (rtx_equal_for_thread_p): Add cast.
4068 * loop.c (max_reg_before_loop): Now unsigned.
4069 (struct_movable): REGNO now unsigned.
4070 (try_copy_prop): REGNO arg unsigned.
4071 (regs_match_p): XN and YN now unsigned.
4072 (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
4073 (strength_reduce): Likewise; NREGS also unsigned.
4074 (first_increment_giv, last_increment_giv unsigned): Now unsigned.
4075 * loop.h (struct iv_class): REGNO now unsigned.
4076 (max_reg_before_loop, first_increment_giv, last_increment_giv):
4078 * machmode.h (mode_size, mode_unit_size): Now unsigned.
4079 (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
4080 * optabs.c (expand_binop): I and NWORDS now unsigned.
4081 (expand_unop): I now unsigned.
4082 * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
4083 print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
4084 * real.c (significand_size): Now returns unsigned.
4085 * real.h (significand_size): Likewise.
4086 * regclass.c (reg_class_size): Now unsigned.
4087 (choose_hard_reg_mode): Both operands now unsigned.
4088 (record_reg_classes): REGNO and NR now unsigned.
4089 (reg_scan): NREGS now unsigned.
4090 (reg_scan_update): old_max_regno now unsigned.
4091 (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
4092 * reload.c (find_valid_class): BEST_SIZE now unsigned.
4093 (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
4094 (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
4095 Likewise for variable R.
4096 (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
4097 as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
4098 (find_equiv_reg): Add casts.
4099 (regno_clobbered_p): Arg REGNO now unsigned.
4100 * reload.h (struct reload): NREGS now unsigned.
4101 (refers_to_regno_for_reload_p): Regno args are unsigned.
4102 (regno_clobbered_p): Likewise.
4103 * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
4104 (compute_use_by_pseudos): REGNO now unsigned.
4105 (find_reg): I and J now unsigned, new variable K, and change loop
4106 variables accordingly; THIS_NREGS now unsigned.
4107 (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
4108 (spill_hard_reg): REGNO arg now unsigned; add casts.
4109 (forget_old_reloads_1): REGNO, NR, and I now unsigned.
4110 (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
4111 (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
4112 END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
4113 (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
4114 (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
4115 (emit_reload_insns): REGNO now unsigned.
4116 (reload_cse_move2add): Add cast.
4117 (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
4119 * resource.c (mark_referenced_resources, mark_set_resources): New
4120 variable R; REGNO and LAST_REGNO now unsigned.
4121 (mark_target_live_regs): J and REGNO now unsigned.
4122 * rtl.c (mode_size, mode_unit_size): Now unsigned.
4123 * rtl.h (union rtunion_def): New field rtuint.
4124 (XCUINT): New macro.
4125 (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
4126 (operand_subword, operand_subword_force): Word number is unsigned.
4127 (choose_hard_reg_mode): Operands are unsigned.
4128 (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
4129 (find_regno_note, find_regno_fusage, replace_regs): Likewise.
4130 (regno_use_in, combine_instructions, remove_death): Likewise.
4131 (reg_scan, reg_scan_update): Likewise.
4132 (extended_count): Return is unsigned.
4133 * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
4134 INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
4135 (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
4136 (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
4137 (reg_reg_last_1): FIRS and LAST now unsigned.
4138 (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
4139 (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
4141 (find_regno_note, regno_use_in): Arg REGNO now unsigned.
4142 (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
4143 (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
4144 (replace_regs): Arg NREGS now unsigned.
4145 * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
4146 * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
4147 (simplify_binary_operation): Likewise.
4148 (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
4149 THIS_LAST now unsigned.
4150 (cselib_record_set): Add cast.
4151 * ssa.c (ssa_max_reg_num): Now unsigned.
4152 (rename_block): REGNO now unsigned.
4153 * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
4155 (all_cases_count): Just return -1 not -2.
4156 COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
4157 Rework tests to use trees whenever possible.
4158 Use host_integerp and tree_low_cst.
4159 (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
4160 Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
4161 (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
4162 * stor-layout.c (mode_for_size): SIZE arg now unsigned.
4163 (smallest_mode_for_size): Likewise.
4164 (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
4165 KNOWN_ALIGN is now an alignment, so simplify code.
4166 Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
4167 (start_record_layout): Renamed from new_record_layout_info.
4168 Update to new fields.
4169 (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
4171 (place_union_field): Renamed from layout_union_field.
4172 Update to use new fields in rli.
4173 (place_field): Renamed from layout_field.
4174 Major rewrite to use new fields in rli; pass alignment to layout_decl.
4175 (finalize_record_size): Rework to use new fields in rli and handle
4177 (compute_record_mode): Rework to simplify and to use new DECL fields.
4178 (finalize_type_size): Make rounding more consistent.
4179 (finish_union_layout): Deleted.
4180 (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
4181 (layout_type, case RECORD_TYPE): Call new function names.
4182 (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
4183 (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
4184 (get_best_mode): UNIT is now unsigned; remove casts.
4185 * tree.c (bit_position): Compute from new fields.
4186 (byte_position, int_byte_position): New functions.
4187 (print_type_hash_statistics): Cast to remove warning.
4188 (build_range_type): Use host_integerp and tree_low_cst to try to hash.
4189 (build_index_type): Likewise; make subtype of sizetype.
4190 (build_index_2_type): Pass sizetype to build_range_type.
4191 (build_common_tree_nodes): Use size_int and bitsize_int to
4192 initialize nodes; add bitsize_{zero,one,unit}_node.
4193 * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
4194 (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
4195 (DECL_PACKED, DECL_BIT_FIELD): Likewise.
4196 (DECL_FIELD_BITPOS): Deleted.
4197 (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
4198 (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
4199 (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
4200 (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
4201 (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
4202 (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
4203 (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
4204 (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
4205 (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
4206 (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
4207 (DECL_ALIGN): Adjust to new field in union.
4208 (DECL_OFFSET_ALIGN): New field.
4209 (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
4210 (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
4211 (union tree_decl): Add struct for both aligns.
4212 (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
4213 (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
4214 (struct record_layout_info): Rework fields to have offset
4215 alignment and byte and bit position.
4216 (start_record_layout, place_field): Renamed from old names.
4217 (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
4218 (byte_position, int_byte_position): Likewise.
4219 (get_inner_reference): Change types of position and length.
4220 * unroll.c (unroll_loop): New variable R; use for some loops.
4221 MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
4222 (calculate_giv_inc): Arg REGNO now unsigned.
4223 (copy_loop_body): REGNO and SRC_REGNO now unsigned.
4224 * varasm.c (assemble_variable): Clean up handling of size using
4225 host_integerp and tree_low_cst.
4226 (decode_addr_const): Use byte, not bit, position.
4227 (output_constructor): bitpos and offsets are HOST_WIDE_INT;
4228 use tree_low_cst and int_bit_position.
4229 * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
4231 Fri Mar 24 20:13:49 2000 Jason Eckhardt <jle@cygnus.com>
4233 * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
4234 (reorder_block_def): New members eff_head and eff_end.
4235 (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
4236 (verify_insn_chain): New function.
4237 (skip_insns_between_block): Add code to skip deleted insns.
4238 Check for note before using.
4239 (chain_reorder_blocks): Replace calls to skip_insns_between_block
4240 with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
4241 Check for note before using.
4242 (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
4243 (fixup_reorder_chain): Restructure, clean up, defect removal.
4244 (reorder_basic_blocks): Remove last_insn and references to it.
4245 Moved insn chain verification code into a new function (see above).
4246 Delete defective code that sets last insn.
4247 Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
4250 2000-03-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4252 * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
4254 2000-03-24 Richard Henderson <rth@cygnus.com>
4256 * tree.c (lang_safe_for_unsave): Remove.
4257 (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
4258 allowing for two levels of unsafeness. Remove lang hook.
4259 * tree.h: Update declarations.
4260 * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
4261 Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
4262 Always fail sibcalls when there are pending cleanups.
4264 2000-03-24 Geoff Keating <geoffk@cygnus.com>
4266 * flow.c (propagate_block): When we delete an ADDR_VEC,
4267 also delete the BARRIER following it if there is one.
4269 2000-03-24 Richard Henderson <rth@cygnus.com>
4271 * builtins.c (expand_builtin_bzero): Convert `length' argument
4274 2000-03-24 Jakub Jelinek <jakub@redhat.com>
4276 * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
4277 comparison if regno's are equal.
4278 * calls.c (initialize_argument_informat): Add ecf_flags argument.
4279 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
4280 (expand_call): Update caller.
4281 Avoid making a sibling call if argument size of the callee is larger
4282 than argument size of the caller.
4283 Call hard_function_value with outgoing set if in sibcall pass.
4284 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
4286 * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
4287 Change LEAF_REGISTERS from an array initializer to actual array
4288 identifier. Move static global variable into the function.
4289 (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
4290 sequences for leaf functions.
4291 * global.c (global_alloc): Likewise.
4292 * tm.texi (LEAF_REGISTERS): Update documentation.
4294 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
4295 TARGET_FLAT leaf disabling hack.
4296 (LEAF_REGISTERS): Changed from an array initializer to actual array
4297 identifier to avoid duplication and remove the above hack.
4298 (FUNCTION_OK_FOR_SIBCALL): Define.
4299 * config/sparc/sparc.md (sibcall): New attr type. Use it almost
4300 always like call attribute.
4301 (eligible_for_sibcall_delay): New attribute.
4302 (sibcall): New delay type.
4303 (sibcall, sibcall_value, sibcall_epilogue): New expands.
4304 (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
4305 sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
4306 * config/sparc/sparc.c (sparc_leaf_regs): New array.
4307 (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
4309 (output_function_epilogue): Move part of the code into
4310 output_restore_regs.
4311 (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
4313 * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
4316 * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
4317 until infrastructure is finished.
4319 Fri Mar 24 13:49:45 2000 Jeffrey A Law (law@cygnus.com)
4321 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
4322 (save_parm_insns): Not here.
4324 2000-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4326 * builtins.c (expand_builtin_bzero): New function.
4327 (expand_builtin): Handle bzero.
4329 * builtins.def: Add BUILT_IN_BZERO.
4331 * c-common.c (c_common_nodes_and_builtins): Provide builtin
4332 prototype & function for bzero.
4334 2000-03-23 Michael Meissner <meissner@redhat.com>
4336 * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
4337 change adding TARGET_FP to the TF floating point insns, except for
4338 trunctfsf2, which generates direct calls to truncdfsf2.
4340 2000-03-23 Geoff Keating <geoffk@cygnus.com>
4342 * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
4343 try to protect against middle-end changes that break binary
4345 (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
4347 2000-03-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4349 * config/c4x/c4x.md (load_immed_address): Add DP reg clobber.
4351 Thu Mar 23 17:10:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4353 * calls.c (expand_call): If TARGET is passed by reference and
4354 is readonly, write a CLOBBER.
4356 2000-03-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4358 * builtins.c (expand_builtin): Handle bcmp.
4360 * builtins.def: Add BUILT_IN_BCMP.
4362 * c-common.c (c_common_nodes_and_builtins): Provide builtin
4363 prototype & function for bcmp.
4365 Thu Mar 23 11:34:39 2000 Jim Wilson <wilson@cygnus.com>
4367 * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
4368 (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
4369 * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
4371 Thu Mar 23 16:04:40 2000 Andrew Haley <aph@cygnus.com>
4373 * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
4374 alternative when using -fp64 -gp32.
4376 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
4378 * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
4379 * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
4380 * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
4382 * frame.h (frame_state): Revert last change.
4383 * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
4384 * libgcc2.c (throw_helper): Revert last change.
4386 2000-03-22 Richard Henderson <rth@cygnus.com>
4388 * stmt.c (expand_asm_operands): Don't promote the temporary.
4390 2000-03-22 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
4392 * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
4393 * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
4394 c_get_alias_set): Likewise.
4395 * c-decl.c (duplicate_decls): Likewise.
4396 * c-typeck.c (default_conversion,build_unary_op): Likewise.
4397 * calls.c (initialize_argument_information): Likewise.
4398 * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
4400 * dwarfout.c (decl_class_context,output_type): Likewise.
4401 * expr.c (get_inner_reference): Likewise.
4402 * fold-const.c (simple_operand_p,fold): Likewise.
4403 * function.c (aggregate_value_p): Likewise.
4404 * stmt.c (expand_asm_operands): Likewise.
4405 * varasm.c (named_section): Likewise.
4407 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
4409 Implement dwarf2 exception handling for the ARM.
4410 * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
4411 (DWARF_FRAME_RETURN_COLUMN): Define.
4412 * config/arm/arm.c (emit_multi_reg_push): Return rtx. Attach
4413 REG_FRAME_RELATED_EXPR note.
4414 (emit_sfm): Likewise.
4415 (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
4416 * dwarf2out.c (reg_save): Handle saving a register to itself.
4417 (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
4418 * except.c (eh_regs): Don't use the static chain reg if it's
4420 * frame.h (frame_state): Add cfa_saved field.
4421 * frame.c (execute_cfa_insn): Set it.
4422 * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
4424 * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
4426 (instantiate_virtual_regs): Adjust.
4428 * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
4429 * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
4430 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
4432 * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
4433 (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
4435 2000-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4437 * builtins.def: New file.
4439 * Makefile.in (TREE_H): Depend on builtins.def.
4441 * builtins.c (built_in_names): Use builtins.def.
4443 * tree.h (built_in_function): Likewise.
4445 2000-03-22 Mark Mitchell <mark@codesourcery.com>
4447 * tree.c (size_in_bytes): Return size_zero_node, not
4450 2000-03-22 Geoff Keating <geoffk@cygnus.com>
4452 * config/fp-bit.c (pack_d): Correct the case when a denormal
4453 is rounded up and stops being denormal.
4455 2000-03-21 Richard Henderson <rth@cygnus.com>
4457 * config/alpha/alpha.c (function_arg): Check for void_type_node
4458 before using MUST_PASS_IN_STACK.
4460 2000-03-21 Stephane Carrez <stcarrez@worldnet.fr>
4462 * regmove.c (combine_stack_adjustments_for_block): Check that
4463 the stack pointer is a valid memory address.
4465 Wed Mar 22 11:44:50 MET 2000 Jan Hubicka <jh@suse.cz>
4467 * calls.c: re-install Mar 16 emit_library_call merge.
4469 2000-03-21 Jakub Jelinek <jakub@redhat.com>
4471 * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
4472 we cannot be sure that if reload_completed base register will
4473 be properly aligned.
4475 2000-03-21 Richard Henderson <rth@cygnus.com>
4477 * flow.c (delete_block): Fix typo last change.
4479 2000-03-21 Mark Mitchell <mark@codesourcery.com>
4481 * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
4482 not COMPLETE_TYPE_P, to check the type of the expression.
4484 2000-03-21 Michael Meissner <meissner@redhat.com>
4486 * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
4487 all floating point insns that just tested the macro
4488 TARGET_HAS_XFLOATING_LIBS.
4489 (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
4490 used to only use the gprs.
4492 2000-03-21 Nathan Sidwell <nathan@codesourcery.com>
4494 * tree.h (COMPLETE_TYPE_P): New macro.
4495 (COMPLETE_OR_VOID_TYPE_P): New macro.
4496 (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
4497 * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
4498 * c-aux-info.c (gen_type): Use them.
4499 * c-common.c (c_expand_expr_stmt): Likewise.
4500 * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
4501 grokdeclarator, grokparms, finish_struct, start_function,
4502 store_parm_decls, combine_parm_decls): Likewise.
4503 * c-parse.y (cast_expr): Likewise.
4504 * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
4505 c_size_in_bytes, c_alignof, build_component_ref,
4506 build_indirect_ref, build_array_ref, convert_arguments,
4507 build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
4508 * calls.c (initialize_argument_information): Likewise.
4509 * convert.c (convert_to_integer): Likewise.
4510 * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
4511 * dwarfout.c (location_or_const_value_attribute,
4512 output_enumeration_type_die, output_structure_type_die,
4513 output_union_type_die, output_type): Likewise.
4514 * expr.c (safe_from_p, expand_expr): Likewise.
4515 * function.c (assign_parms): Likewise.
4516 * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
4517 * tree.c (build_array_type, build_function_type,
4518 build_method_type, build_offset_type, build_complex_type): Likewise.
4519 * c-parse.c, c-parse.h: Regenerated.
4521 2000-03-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4523 * config/c4x/rtems.h: Include config/rtems.h.
4525 Tue Mar 21 09:24:00 2000 Denis Chertykov <denisc@overta.ru>
4527 * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
4528 decl is a FUNCTION_DECL
4530 Mon Mar 20 19:53:53 2000 Jim Wilson <wilson@cygnus.com>
4532 * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
4533 function uses output registers. Don't save RP for leaf functions.
4534 Do save RP even if no epilogue.
4535 * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
4536 (CALL_USED_REGISTERS): Unmark in registers.
4537 (REG_ALLOC_ORDER): Move out regs up, to near the top. Move in regs up,
4540 2000-03-20 Geoff Keating <geoffk@cygnus.com>
4542 * config/rs6000/rs6000.md (bunordered): New expander.
4543 (bordered): New expander.
4544 (buneq): New expander.
4545 (bunge): New expander.
4546 (bungt): New expander.
4547 (bunle): New expander.
4548 (bunlt): New expander.
4549 (bltgt): New expander.
4551 * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
4552 (ccr_bit_negated_p): New function.
4553 (print_operand): For %C, generate appropriate cror for UNEQ,
4554 UNLT, UNGT, and LTGT. For %T and %t, use ccr_bit_negated_p.
4556 2000-03-20 Andreas Jaeger <aj@suse.de>
4558 * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
4561 * tree.h (safe_for_unsave): Prototype.
4563 2000-03-20 Richard Henderson <rth@cygnus.com>
4565 * regmove.c (stack_memref_p): Fix typo, reorg for readability.
4566 (combine_stack_adjustments_for_block): Don't allow sp references
4567 in the side of a set we're not fixing up.
4568 * toplev.c (rest_of_compilation): Run combine_stack_adjustments
4569 after life_analysis.
4571 2000-03-20 Richard Henderson <rth@cygnus.com>
4573 * calls.c (expand_call): Don't bother generating tail call
4574 sequences if there are pending cleanups. Use
4575 expand_start_target_temps/expand_end_target_temps to elide
4576 cleanups created during sibcall expansion.
4578 2000-03-20 Geoff Keating <geoffk@cygnus.com>
4580 * configure.in: Set $IFS to a value if it doesn't already have one
4581 in the --enable-checking handling.
4582 * configure: Regenerate.
4584 2000-03-20 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4586 * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
4587 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
4590 Mon Mar 20 11:43:15 MET 2000 Jan Hubicka <jh@suse.cz>
4592 * jump.c (delete_noop_moves): Remove code attempting to
4593 combine stack adjustments.
4595 2000-03-19 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4597 * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
4598 * except.c (emit_cleanup_handler): Use them.
4599 (expand_end_all_catch): Likewise.
4600 * function.c (fixup_var_refs): Likewise.
4601 (expand_function_end): Clear catch_clauses_last.
4602 * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
4603 * except.h (struct eh_status): New field x_catch_clauses_last.
4604 (catch_clauses_last): New define.
4606 * Makefile.in (tree.o): Depend on HASHTAB_H.
4607 * tree.c: Include hashtab.h.
4608 (struct type_hash): Remove next field.
4609 (TYPE_HASH_SIZE): Remove.
4610 (TYPE_HASH_INITIAL_SIZE): New define.
4611 (type_hash_table): Change type to htab_t.
4612 (type_hash_eq, type_hash_hash, print_type_hash_statistics,
4613 mark_hash_entry): New functions.
4614 (init_obstacks): Allocate type hash.
4615 (type_hash_lookup): Use htab functions.
4616 (type_hash_add, mark_type_hash): Likewise.
4617 (dump_tree_statistics): Call print_type_hash_statistics.
4619 2000-03-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4621 * rs6000/t-aix41: New file.
4623 * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
4625 Sun Mar 19 13:27:30 2000 Hans-Peter Nilsson <hp@axis.com>
4627 * tm.texi (Driver): Fix typos and tweak entry for
4629 Move misplaced STRUCT_FORCE_BLK entry ...
4630 (Storage Layout): ... to here.
4631 (Run-time Target): Recommend having TARGET_MASK_... helper macros.
4633 2000-03-19 Richard Henderson <rth@cygnus.com>
4635 * flow.c (delete_block): Delete the addr_vec along with the block.
4636 (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
4639 * fold-const.c (extract_muldiv): Apply type check for defined
4640 overflow to multiply as well as divide.
4642 * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
4644 2000-03-18 Mark Mitchell <mark@codesourcery.com>
4646 * emit-rtl.c (remove_unncessary_notes): Check that all
4647 NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
4648 associated NOTE_BLOCK.
4649 * function.h (identify_blocks): Update comments.
4650 (reorder_blocks): Declare.
4651 * function.c (identify_blocks): Don't take paramters.
4652 (reorder_blocks): Don't take parameters.
4653 * loop.h (find_loop_tree_blocks): Remove.
4654 (unroll_block_trees): Likewise.
4655 * loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
4656 reorder_blocks instead of unroll_block_trees.h
4657 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
4658 * stmt.c (find_loop_tree_blocks): Remove.
4659 (unroll_block_trees): Likewise.
4660 * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
4661 in whole-function mode.
4662 * tree.h (reorder_blocks): Remove declaration.
4664 * expr.c: Include intl.h.
4665 * Makefile.in (expr.o): Depend on intl.h.
4667 2000-03-18 Richard Henderson <rth@cygnus.com>
4669 * expr.c (emit_move_insn_1): Clarify cannot_inline message.
4671 2000-03-18 Mark Mitchell <mark@codesourcery.com>
4673 * tree.h (tree_index): Remove enumerals for integer types.
4674 (integer_type_kind): New type.
4675 (integer_types): New variable.
4676 (char_type_node): Adjust.
4677 (signed_char_type_node): Likewise.
4678 (unsigned_char_type_node): Likewise.
4679 (short_integer_type_node): Likewise.
4680 (short_unsigned_type_node): Likewise.
4681 (integer_type_node): Likewise.
4682 (unsigned_type_node): Likewise.
4683 (long_integer_type_node): Likewise.
4684 (long_unsigned_type_node): Likewise.
4685 (long_long_integer_type_node): Likewise.
4686 (long_long_unsigned_type_node): Likewise.
4687 * tree.c (integer_types): New variable.
4688 (init_obstacks): Register it as a root.
4690 Sat Mar 18 14:38:00 2000 Jason Eckhardt <jle@cygnus.com>
4692 * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
4693 NEXT_INSN. Update last insn in chain.
4695 2000-03-17 Jason Merrill <jason@casey.cygnus.com>
4697 * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
4698 with TYPE_DECL_SUPPRESS_DEBUG set.
4700 2000-03-18 Richard Henderson <rth@cygnus.com>
4702 * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
4704 2000-03-18 Richard Henderson <rth@cygnus.com>
4706 * i386.c (call_insn_operand): Always allow SYMBOL_REF,
4707 care for HALF_PIC_P.
4708 (expander_call_insn_operand): Remove.
4709 (ix86_expand_epilogue): New arg `emit_return' to control return insn.
4710 * i386.h (PREDICATE_CODES): Update.
4711 * i386.md (all call expanders): Remove predicates, remove special
4712 handling for half-pic.
4713 (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
4714 (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
4715 (sibcall_epilogue): New.
4717 2000-03-17 Richard Henderson <rth@cygnus.com>
4719 * rtlanal.c (single_set): Reject if the parallel has anything
4720 except SET or USE or CLOBBER.
4722 2000-03-17 Jeff Law <law@cygnus.com>
4723 Richard Henderson <rth@cygnus.com>
4725 * Makefile.in (OBJS): Add sibcall.o.
4727 * sibcall.c: New file.
4728 * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
4729 (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
4730 (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
4731 Emit sibcall patterns when requested. Update all callers.
4732 (expand_call): Generate CALL_PLACEHOLDER insns when tail call
4733 elimination seems feasable.
4734 * final.c (leaf_function_p): Sibling calls don't discount being
4736 * flow.c (HAVE_sibcall_epilogue): Provide default.
4737 (find_basic_blocks_1): Sibling calls don't throw.
4738 (make_edges): Make edge from sibling call to EXIT.
4739 (propagate_block): Don't remove sibcall_epilogue insns.
4740 * function.c (prologue, epilogue): Turn into varrays. Update all uses.
4741 (sibcall_epilogue): New.
4742 (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
4743 (identify_blocks_1): Likewise. Break out from ...
4744 (identify_blocks): ... here.
4745 (reorder_blocks_1): Scan CALL_PLACEHOLDER. Break out from ...
4746 (reorder_blocks): ... here.
4747 (init_function_for_compilation): Zap prologue/epilogue as varrays.
4748 (record_insns): Extend a varray instead of mallocing new memory.
4749 (contains): Read a varray not array of ints.
4750 (sibcall_epilogue_contains): New.
4751 (thread_prologue_and_epilogue_insns): Emit and record
4752 sibcall_epilogue patterns.
4753 (init_function_once): Allocate prologue/epilogue varrays.
4754 * genflags.c (gen_insn): Treat sibcall patterns as calls.
4755 * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
4757 (save_for_inline_nocopy): ... here.
4758 (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
4760 (expand_inline_function): ... here.
4761 (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
4762 (subst_constants): Handle 'n' formats.
4763 * jump.c (jump_optimize_minimal): New.
4764 (jump_optimize_1): New arg `minimal'; update callers. Elide most
4765 optimizations if it's set.
4766 * rtl.c (copy_rtx): Do copy jump & call for insns.
4767 * rtl.h (struct rtx_def): Document use of jump and call for insns.
4768 (SIBLING_CALL_P): New.
4769 (sibcall_use_t): New.
4770 * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
4771 Invoke optimize_sibling_and_tail_recursive_calls.
4772 * tree.c (lang_safe_for_unsave): New.
4773 (safe_for_unsave): New.
4774 * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
4776 * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
4777 * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
4778 (*sibcall_osf_1, *sibcall_value_osf_1): New.
4780 2000-03-17 Mark Mitchell <mark@codesourcery.com>
4782 * objc/objc-act.c (encode_method_prototype): Pass types, not
4783 PARM_DECLs, to int_size_in_bytes.
4785 Fri Mar 17 11:51:34 2000 Jim Wilson <wilson@cygnus.com>
4787 * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
4789 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
4790 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
4792 Fri Mar 17 08:09:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4794 * Clean up usages of TREE_INT_CST_LOW.
4795 * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
4796 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
4798 * c-tree.h (min_precision): Move declaration to here.
4799 * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
4800 (build_unary_op, add_pending_init): Use bit_position.
4801 (pending_init_member, process_init_element): Likewise.
4802 (really_start_incremental_init, push_init_level, pop_init_level):
4803 Don't make copies of nodes or modify them in place, use consistent
4804 types when tracking positions, and use tree routines computations.
4805 (set_init_index, output_init_element): Likewise.
4806 (output_pending_init_elements, process_init_element): Likewise.
4807 * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
4808 tree_low_cst and int_bit_position; also minor cleanup.
4809 (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
4810 (print_cst_octal): Precision is unsigned.
4811 (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
4812 * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
4813 (simple_type_align_in_bits): Result is unsigned int.
4814 Use tree_int_low_cst and host_integerp.
4815 (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
4816 (field_byte_offset): Result is HOST_WIDE_INT.
4817 Change types of internal variables so alignments are unsigned int,
4818 offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
4819 Use host_integerp, tree_low_cst, and int_bit_position.
4820 (add_bit_offset_attribute): Likewise.
4821 (add_data_member_location_attribute): Use tree_cst_low.
4822 (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
4823 (add_bit_size_attribute): Use tree_low_cst.
4824 (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
4825 * dwarfout.c: Similar changes to dwarf2out.c.
4826 * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
4827 * genoutput.c (n_occurences): Return -1 for null string.
4828 (strip_whitespace): Accept null string and make into function.
4829 (scan_operands): Reflect above changes.
4830 * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
4831 (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
4832 * ssa.c (rename_registers): Add missing cast of arg to bzero.
4833 * tree.c (int_size_in_bytes): Check for too big to represent.
4834 (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
4835 * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
4837 (min_precision): Delete from here.
4838 * varasm.c (decode_addr_const): Use host_integerp, bit_position,
4839 and int_bit_position.
4840 * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
4841 (encode_method_def): Likewise.
4842 (build_ivar_list_initializer): Use int_bit_position.
4843 (generate_shared_structures): Convert size.
4844 (encode_type, encode_complete_bitfield): Use integer_zerop.
4845 (encode_bitfield): Use tree_low_cst and int_bit_position.
4847 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4849 * config/c4x/c4x.h (CPP_SPEC): Fix typo.
4851 2000-03-17 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4853 * call.c (special_function_p): It is only malloc if it returns
4856 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4858 * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
4859 (C33_FLAG, TARGET_C3X): Add macros.
4860 (TARGET_SWITCHES): Add -m33 option.
4861 * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
4863 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4865 * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
4866 (PARALLEL_PACK_FLAG): Delete.
4867 (TARGET_SWITCHES): Update.
4868 (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
4870 Thu Mar 16 18:52:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4872 * fold-const.c (fold): Fix a few cases when the returned result
4873 is not of the same type as the input.
4875 2000-03-16 Nick Clifton <nickc@cygnus.com>
4877 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
4880 2000-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4882 * libgcc2.h: Move prototypes above macros with the same name.
4883 Wrap some function prototypes in the conditional which indicates
4884 whether they are supported, i.e. "BITS_PER_UNIT == 8".
4886 2000-03-16 Richard Henderson <rth@cygnus.com>
4888 * calls.c: Revert last two changes.
4890 2000-03-16 Bernd Schmidt <bernds@cygnus.co.uk>
4892 * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
4893 has exponent 0 is a zero.
4895 * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
4896 HASH may already be nonzero. Add code/mode into hash value
4897 immediately after repeat label.
4898 (cselib_lookup): Don't leave the hash table in an inconsistent
4899 state before a hash lookup operation.
4901 Thu Mar 16 17:03:10 MET 2000 Jan Hubicka <jh@suse.cz>
4903 * i386.md (all HI and QI mode non-move patterns): Conditionize
4904 by TARGET_[HQ]IMODE_MATH.
4905 * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
4906 x86_promote_qi_regs): Declare.
4907 (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
4908 TARGET_PROMOTE_QI_REGS): New macros.
4909 (PROMOTE_MODE): New macro.
4910 * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
4911 x86_promote_qi_regs): New global variables.
4913 Thu Mar 16 16:50:44 MET 2000 Jan Hubicka <jh@suse.cz>
4915 * calls.c (emit_library_call_value_1): Break out from ...; handle
4916 VOIDmode function calls too.
4917 (emit_library_call_value): ... here.
4918 (emit_library_call): Implement by calling emit_library_call_value_1.
4920 Thu Mar 16 16:01:30 MET 2000 Jan Hubicka <jh@suse.cz>
4922 * calls.c (expand_call): Do sanity checking on arg_space_so_far.
4923 Update arg_space_so_far on stack adjustments.
4924 (emit_library_call, emit_library_call_value): Likewise; take into
4925 account arg_space_so_far and pending_stack_adjust when calculcating
4928 Thu Mar 16 09:02:19 2000 Jason Eckhardt <jle@cygnus.com>
4930 * flow.c: Move all basic block reordering code into its own file.
4931 (create_basic_block): Externalize.
4932 * bb-reorder.c: New file. Copy all basic block reordering code from
4933 flow.c to this file.
4934 (reorder_basic_blocks): Fix fencepost error in for-loop.
4935 (reorder_basic_blocks): Remove braces from single statement for-loops.
4936 * basic-block.h: Add declaration for create_basic_block.
4937 * Makefile.in: Add rules for bb-reorder.o.
4939 2000-03-16 Neil Booth <NeilB@earthling.net>
4941 * cppinit.c (handle_option): Implement #unassert directive
4942 as -A- command line option.
4943 (print_help): Update.
4944 * cpptexi.c: Update.
4946 Thu Mar 16 02:14:16 2000 Hans-Peter Nilsson <hp@bitrange.com>
4948 * md.texi (Standard Names): Document `jump'.
4950 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
4952 * calls.c (emit_call_1): Nothrow functions can still have nonlocal
4955 2000-03-15 Geoff Keating <geoffk@cygnus.com>
4957 Merge changes from newppc-branch onto trunk.
4959 2000-03-15 Geoff Keating <geoffk@cygnus.com>
4961 * rs6000.c (toc_hash_table): Update for new hash table functions.
4962 (toc_hash_function): Likewise.
4963 (toc_hash_eq): Likewise.
4964 (toc_hash_mark_entry): Likewise.
4965 (toc_hash_mark_table): Likewise.
4966 (output_toc): Likewise.
4967 (rs6000_add_gc_roots): Likewise.
4969 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4971 * t-aix43 (AR_FOR_TARGET): Deleted. Moved `-X32_64'...
4972 (AR_FLAGS_FOR_TARGET): here. New macro.
4974 2000-03-05 Clinton Popetz <cpopetz@cygnus.com>
4976 * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
4977 fpmem_operand) Delete.
4979 (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
4980 (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
4981 (rs6000_save_machine_status, rs6000_restore_machine_status,
4982 rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
4983 references to above variables.
4984 (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
4985 * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
4986 DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
4987 (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
4988 (XER_REGNO_P, XER_REGNO): New.
4989 (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
4990 (PREDICATE_CODES): Change fpmem_operand to xer_operand.
4991 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
4993 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
4994 REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS, and remove FLOAT_OR_FPMEM_REGS.
4995 (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
4997 2000-02-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4999 * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
5000 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
5001 * rs6000.h: from here.
5003 * rs6000-protos.h (rs6000_select_section): Provide prototype.
5004 (rs6000_select_rtx_section): Likewise.
5005 (rs6000_encode_section_info): Likewise.
5006 (sdata_section): Likewise.
5007 (sdata2_section): Likewise.
5008 (sbss_section): Likewise.
5009 * sysv4.h (rs6000_select_section): Delete prototype.
5010 (rs6000_select_rtx_section): Likewise.
5011 (rs6000_encode_section_info): Likewise.
5012 (sdata_section): Likewise.
5013 (sdata2_section): Likewise.
5014 (sbss_section): Likewise.
5015 (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
5017 * sysv4.h: Delete various unnecessary #undef's and put a comment
5018 on the remaining ones.
5019 Change various comments according to coding standard.
5021 2000-02-29 Clinton Popetz <cpopetz@cygnus.com>
5023 * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
5024 CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
5025 (CR0_REGNO_P) Remove.
5026 * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
5027 setup_incoming_varargs, mtcrf_operation, print_operand,
5028 rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
5029 Use the above macros.
5031 2000-02-24 Clinton Popetz <cpopetz@cygnus.com>
5033 * config/rs6000/rs6000.md: Added a new alternative for each
5034 pattern that had a 'x' alternative but no 'y' alternative.
5035 Added a new split for each of the above patterns.
5037 2000-02-18 Geoff Keating <geoffk@cygnus.com>
5039 * aix41.h (ASM_CPU_SPEC): Delete.
5040 (CPP_CPU_SPEC): Delete.
5042 * aix.h (RS6000_OUTPUT_BASENAME): Define.
5043 (ASM_OUTPUT_LABEL): Define.
5044 (ASM_GLOBALIZE_LABEL): Define.
5045 (STRIP_NAME_ENCODING): Define.
5046 * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
5047 (STRIP_NAME_ENCODING): Don't define.
5048 (ASM_OUTPUT_LABEL): Don't define.
5049 (ASM_GLOBALIZE_LABEL): Don't define.
5050 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
5051 names, and ASM_OUTPUT_LABEL to output labels, rather than
5053 (ASM_OUTPUT_LABEL): Define.
5054 (ASM_OUTPUT_INT): Use assemble_name.
5055 (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
5056 (STRIP_NAME_ENCODING): Don't undefine first.
5057 (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
5059 (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
5060 specified with 'asm' even with -fleading-underscore.
5061 * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
5062 (output_epilog): Likewise.
5063 (output_toc): Likewise.
5064 * tramp.asm: Handle -fleading-underscore correctly.
5066 * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
5068 (nonlocal_goto_receiver): Delete.
5069 * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
5071 * rs6000.h (ASM_OUTPUT_DEF): Don't define.
5072 (SET_ASM_OP): Define.
5073 * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
5075 * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
5078 * rs6000.c (rs6000_dll_import_ref): Delete, not used.
5079 * rs6000-protos.h (rs6000_dll_import_ref): Delete.
5081 * rs6000.h: Add 'u' to more constants.
5083 2000-02-18 David Edelsohn <edelsohn@gnu.org>
5085 * rs6000.md (mfcr+shift): Delete PowerPC64 version.
5087 2000-02-15 David Edelsohn <edelsohn@gnu.org>
5089 * rs6000.c (reg_or_u_cint_operand): New function.
5090 (logical_operand): Handle 64-bit hosts.
5091 (logical_u_operand): New function.
5092 (non_logical_cint_operand): Handle 64-bit hosts.
5093 (non_logical_u_cint_operand): New function.
5094 * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
5095 (PREDICATE_CODES): Define new functions.
5096 * rs6000-protos.h: Declare new functions.
5097 * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
5098 (movdi_64): Bracket code intended for 64-bit hosts. Create
5099 CONST_DOUBLE for 32-bit values.
5100 (scc insns): Generate DImode compares.
5101 (mfcr insns): Create DImode versions.
5102 (sge matchers): New patterns.
5104 2000-02-15 Gabriel Paubert <paubert@iram.es>
5106 * rs6000.md: Correct instructions length attributes and
5107 constraints on unsigned compare instructions.
5108 (*ne0): Disable for PowerPC64.
5110 2000-02-11 Geoff Keating <geoffk@cygnus.com>
5112 * rs6000.c (output_function_profiler): Use .long for a 32-bit
5113 quantity, fix profile1.C test failure under -fPIC.
5115 * rs6000.c: Add 'u' to many constants to suppress warnings.
5116 (constant_pool_expr_1): Make static.
5117 (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
5118 * rs6000.h: Add 'u' to many constants to suppress warnings.
5120 * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
5121 for the start of the TOC, instead of LCTOC..0.
5122 * aix.h (toc_section): Use LCTOC..1 under AIX for the start
5124 * rs6000.md (load_toc_aix_si): Use LCTOC..1.
5125 (load_toc_aix_di): Use LCTOC..1.
5127 * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
5128 * rs6000.c (rs6000_legitimize_address): New function from
5129 LEGITIMIZE_ADDRESS. Only use create_TOC_reference on
5130 symbols in the constant pool that really are TOC references.
5131 (print_operand_address): For ELF, write TOC offsets under
5132 -fPIC as subtractions in the insn.
5133 (output_toc): For ELF, define symbols in TOC as normal labels,
5135 (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
5136 * rs6000-protos.h (rs6000_legitimize_address): Prototype.
5137 (create_TOC_reference): Prototype only when RTX_CODE is defined.
5138 * rs6000.md (movsi): Only use create_TOC_reference on
5139 symbols in the constant pool that really are TOC references.
5141 * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
5142 * rs6000.c (rs6000_reorg): Delete.
5143 * rs6000-protos.h (rs6000_reorg): Delete.
5145 2000-02-09 Geoff Keating <geoffk@cygnus.com>
5147 * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
5149 * aix.h (SETUP_FRAME_ADDRESSES): Define.
5150 * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
5151 [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
5152 [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
5153 * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
5154 rs6000_aix_emit_builtin_unwind_init.
5155 * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
5156 rs6000_emit_eh_toc_restore on AIX.
5157 (return_eh_si): Use r2.
5158 (return_eh_di): Use r2.
5160 * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
5161 since we're breaking binary compatibility anyway.
5163 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
5165 * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
5166 constant_pool_expr_p): Declare them.
5167 (constant_pool_expr_p): Declare it.
5168 * config/rs6000/rs6000.c (toc_label_name): Define.
5169 (rs6000_override_options): Set toc_label_name.
5170 (input_operand): Allow any TOC_RELATIVE_EXPR_P.
5171 (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
5172 uses_TOC): New functions.
5173 (print_operand): Delete old '*' case.
5174 (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
5175 and strip off rtl for TOC before calling output_addr_const.
5176 (rs6000_emit_load_toc_table): Use toc_label_name.
5177 * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
5179 (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
5180 (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
5181 (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
5182 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
5183 into explicit TOC_REGISTER offsets.
5184 (TOC_REGISTER): New macro.
5185 * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
5186 TARGET_TOC to reference TOC_REGISTER.
5187 (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
5188 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
5189 uses_TOC before emitting label references.
5191 2000-02-05 Geoff Keating <geoffk@cygnus.com>
5193 * rs6000.md (stack_tie): Fix warning.
5195 * eabi-ctors.c: Use 'asm' names for the start/end variables,
5196 to handle -fleading-underscore.
5197 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
5198 (USER_LABEL_PREFIX): New macro.
5199 (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
5200 (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
5201 * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
5202 call-linux can use the same multilibs.
5203 * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
5204 and call-linux multilibs. Do multilib with -fleading-underscore.
5205 (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
5206 (MULTILIB_EXCEPTIONS): Remove call-linux exceptions. Add restrictions
5209 * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
5210 have MASK_SOFT_FLOAT set.
5211 (CPP_FLOAT_DEFAULT_SPEC): New macro.
5212 (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
5213 CPP_FLOAT_DEFAULT_SPEC.
5215 * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
5216 * rs6000.md: Whitespace change.
5217 * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
5218 * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
5220 2000-02-05 Geoff Keating <geoffk@cygnus.com>
5222 * rs6000.md (eh_epilogue): New expander.
5223 (eh_reg_restore): New expand/split/insn combination.
5224 (return_eh_si): New insn.
5225 (return_eh_di): New insn.
5227 * eabi-ci.asm: Put a label at the start of the .eh_frame section.
5228 * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
5229 * eabi-ctors.c (__do_global_ctors): Register this object's
5230 frame. Clean up. Call atexit() after the constructors.
5231 (__do_global_dtors): Deregister this object's frame. Clean up.
5232 Allow for recursive calls to exit().
5233 * rs6000.c (fixuplabelno): New variable.
5234 * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
5235 TARGET_RELOCATABLE, it slows down exec() under linux.
5236 (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
5238 * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
5239 (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
5240 (ASM_OUTPUT_DWARF_DELTA2): New macro.
5241 (ASM_OUTPUT_DWARF_DELTA4): New macro.
5242 (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
5243 (ASM_OUTPUT_DWARF_ADDR): New macro.
5244 (ASM_OUTPUT_DWARF_DATA4): New macro.
5245 (ASM_OUTPUT_DWARF_DATA2): New macro.
5246 (ASM_OUTPUT_DWARF_OFFSET4): New macro.
5247 (ASM_OUTPUT_DWARF_OFFSET): New macro.
5248 (UNALIGNED_INT_ASM_OP): New macro, fake definition.
5250 2000-02-03 Geoff Keating <geoffk@cygnus.com>
5252 * rs6000.c (rs6000_sr_alias_set): New variable.
5253 (rs6000_override_options): Initialise rs6000_sr_alias_set.
5254 (rs6000_emit_stack_tie): New function.
5255 (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
5256 in a way that dwarf2out can understand.
5257 (rs6000_frame_related): New function.
5258 (rs6000_emit_prologue): Use rs6000_sr_alias_set. Specify
5259 RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
5260 Use rs6000_emit_stack_tie when needed.
5261 (rs6000_emit_epilogue): Use rs6000_sr_alias_set. Don't set
5262 RTX_FRAME_RELATED_P. Use rs6000_emit_stack_tie when needed.
5263 * rs6000.md (stack_tie): New insn.
5264 (return_internal_si): Allow return value to be in the count
5266 (return_internal_di): Likewise.
5268 * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
5270 2000-02-03 Geoff Keating <geoffk@cygnus.com>
5272 * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
5274 2000-01-31 Geoff Keating <geoffk@cygnus.com>
5276 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
5278 * rs6000.md (stmw): Use the right POWER opcode.
5281 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5283 * rs6000-protos.h: New file.
5285 * rs6000.c: Include tm_p.h. Fix compile time warnings.
5287 * rs6000.h: Move prototypes to rs6000-protos.h. Fix compile time
5290 * sysv4.h: Likewise.
5292 2000-01-28 Geoff Keating <geoffk@cygnus.com>
5294 * ../../configure.in: Delete powerpcle-*-winnt*
5295 and powerpcle-*-pe|powerpcle-*-cygwin*.
5296 * ../../configure: Regenerated.
5298 * rs6000.h (OBJECT_WINDOWS_NT): Delete.
5299 (TARGET_WINDOWS_NT): Delete.
5301 (CALL_NT_DLLIMPORT): Delete.
5302 Delete NT-specific code.
5303 * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
5306 * nt-ci.asm: Delete.
5307 * nt-cn.asm: Delete.
5308 * ntstack.asm: Delete.
5310 2000-01-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5312 * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
5313 (ASM_FILE_START): Likewise.
5314 (ASM_DECLARE_FUNCTION_NAME): Likewise.
5315 (ASM_OUTPUT_LABELREF): Likewise.
5316 (ASM_OUTPUT_SKIP): Likewise.
5317 (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
5318 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5319 (ASM_OUTPUT_CASE_LABEL): Likewise.
5320 (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
5321 (ASM_OUTPUT_ASCII): Likewise.
5323 2000-01-27 Clinton Popetz <cpopetz@cygnus.com>
5325 * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
5326 reload_toc_labelno for non-prologue TOC reloads. Also, don't
5327 increment rs6000_pic_labelno here.
5328 (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
5329 and increment rs6000_pic_labelno here.
5331 2000-01-24 Geoffrey Keating <geoffk@cygnus.com>
5333 * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
5334 rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
5335 allocation knows (reg) is dead before the insn.
5337 2000-01-21 Geoff Keating <geoffk@cygnus.com>
5339 * rs6000.md (movsi_to_cr): Correct typo in output template.
5341 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
5343 * rs6000.c (rs6000_pic_labelno): Always define.
5344 (rs6000_pic_func_labelno): Delete.
5345 (lmw_operation): Check for a zero base register,
5346 which doesn't mean what we want.
5347 (stmw_operation): New function.
5348 (print_operand): Define new 'l' modifier.
5349 (rs6000_stack_info): We must save all 64 bits of the registers
5350 if TARGET_POWERPC64.
5351 (rs6000_output_load_toc_table): Delete.
5352 (rs6000_emit_load_toc_table): New function.
5353 (rs6000_allocate_stack_space): Delete.
5354 (rs6000_emit_allocate_stack): New function.
5355 (rs6000_emit_prologue): New function.
5356 (output_prolog): Use rs6000_emit_prologue.
5357 (rs6000_emit_epilogue): Change a few variable names to be
5358 more accurate. Restore all 64 bits of the registers if
5359 TARGET_POWERPC64. Only restore the FP registers which were used
5360 if they are being saved/restored one-at-a-time.
5361 (output_mi_thunk): Delete inefficient code generation.
5362 (output_function_profiler): Don't use rs6000_output_load_toc_table.
5363 * rs6000.h: Declare rs6000_emit_load_toc_table,
5364 rs6000_allocate_stack_space, stmw_operation. Don't declare
5365 rs6000_output_load_toc_table.
5366 * rs6000.md (elf_high): Allow register 0, but discourage it
5368 (elf_low): Support loading into register 0.
5369 (load_toc_aix_si): New pattern.
5370 (load_toc_aix_di): New pattern.
5371 (load_toc_v4_pic_si): New pattern.
5372 (load_toc_v4_pic_di): New pattern.
5373 (load_toc_v4_PIC_1): New pattern.
5374 (load_toc_v4_PIC_1b): New pattern.
5375 (load_toc_v4_PIC_2): New pattern.
5376 (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
5377 (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
5378 (prologue): New expander.
5379 (movesi_from_cr): New pattern.
5380 (stmw): New pattern.
5381 (save_fpregs_si): New pattern.
5382 (save_fpregs_di): New pattern.
5384 2000-01-19 Geoff Keating <geoffk@cygnus.com>
5386 * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
5391 2000-01-19 Geoff Keating <geoffk@cygnus.com>
5393 * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
5395 (movsi_got_internal): Likewise.
5396 (movsi_got_internal+1): Likewise.
5397 (set_sp): 'unspec 7' does a SImode clobber.
5399 2000-01-19 Geoff Keating <geoffk@cygnus.com>
5401 * rs6000.md (floatsidf2): Don't use the fpmem "register", just
5402 allocate a stack temporary.
5403 (floatsidf2_internal): Likewise.
5404 (floatsidf2_internal+1): Likewise. Don't do bizzare hacks
5406 (floatunssidf2): Don't use the fpmem "register", just
5407 allocate a stack temporary.
5408 (floatunssidf2_internal): Likewise.
5409 (floatunssidf2_internal+1): Likewise. Don't do bizzare hacks
5411 (floatsidf2_loadaddr): Delete.
5412 (floatsidf2_store1): Delete.
5413 (floatsidf2_store2): Delete.
5414 (floatsidf2_load): Delete.
5415 (fix_truncdfsi2): Don't use the fpmem "register", just
5416 allocate a stack temporary.
5417 (fix_truncdfsi2_internal_si): Delete.
5418 (fix_truncdfsi2_internal_di): Delete.
5419 (fix_truncdfsi2_internal): New insn.
5420 (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
5421 (fix_truncdfsi2_store): Delete.
5422 (fix_truncdfsi2_load): Delete.
5423 (fctiwz): Produce gen_fctiwz.
5425 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
5427 * eabi.h (INVOKE__main): Define.
5428 * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
5430 (rs6000_emit_prologue): Likewise.
5431 * rs6000.h (struct rs6000_stack): Don't keep track of whether
5432 this is the main program.
5434 2000-01-19 Geoff Keating <geoffk@cygnus.com>
5436 * rs6000.c (rs6000_va_arg): Delete some unused variables.
5438 2000-01-19 Geoff Keating <geoffk@cygnus.com>
5440 * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
5441 goes after the argument.
5443 2000-01-12 Geoff Keating <geoffk@cygnus.com>
5445 * rs6000.md: Document 'unspec' values used.
5446 (epilogue): New expander.
5447 (movesi_to_cr_one): New expander.
5448 (movesi_to_cr and following): New pattern.
5450 (return_internal_si): New pattern.
5451 (return_internal_di): New pattern.
5452 (return_and_restore_fpregs_si): New pattern.
5453 (return_and_restore_fpregs_di): New pattern.
5454 * rs6000.h: Declare new functions.
5455 * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
5456 rather than rs6000_calls_p.
5457 (rs6000_makes_calls): Delete.
5458 (lmw_operation): New function.
5459 (mtcrf_operation): New function.
5460 (rs6000_emit_epilogue): New function.
5461 (output_epilog): Call rs6000_emit_epilogue and final if
5462 !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
5464 2000-01-12 Geoff Keating <geoffk@cygnus.com>
5466 * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
5467 * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
5468 * aix.h (SUBTARGET_SWITCHES): Document switches.
5469 * rs6000.h: (TARGET_SWITCHES): Don't print options twice. Make
5470 sched-prolog and sched-epilog the same. Document all the
5472 (TARGET_OPTIONS): No longer allow -mdebug-.
5474 2000-01-12 Geoff Keating <geoffk@cygnus.com>
5476 * rs6000.h (ASM_FILE_END): Move to aix.h.
5477 (EXTRA_SECTIONS): Move to aix.h.
5478 (READONLY_DATA_SECTION): Move to aix.h.
5479 (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
5480 (SELECT_SECTION): Move to aix.h.
5481 (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
5482 (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
5483 (LINK_REGISTER_REGNUM): New definition.
5484 (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
5485 (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
5487 * sysv4.h: Delete the code between the inclusion of rs6000.h
5489 (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
5490 (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
5491 (RS6000_REG_SAVE): Move generic definition to rs6000.h.
5492 (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
5493 * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
5494 (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
5495 (fix_truncdfsi2_internal_di): New pattern.
5496 (fix_truncdfsi2_store): The second arg here is Pmode too.
5497 (fix_truncdfsi2_load): The second arg here is Pmode too.
5498 (tablejumpdi): Now that switch tables hold only SImode values,
5499 gcc needs to know how to add them to the pc which is DImode.
5500 * rs6000.c (rs6000_stack_info): Use symbolic name for
5501 LINK_REGISTER_REGNUM.
5502 (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
5503 (output_toc): Delete unused variables s1 and s2.
5504 (output_ascii): Use fputs not fprintf on a variable string.
5506 2000-01-07 David Edelsohn <edelsohn@gnu.org>
5508 * rs6000.c (processor_target_table): Add power3 as alias for 630.
5509 * aix43.h: Revert Aug 2 change.
5510 (HAS_INIT_SECTION): Define, not visible yet.
5511 (LD_INIT_SWITCH): Define, not visible yet.
5512 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
5514 2000-01-04 Joel Sherrill (joel@OARcorp.com>
5516 * config/rs6000/rtems.h: Include config/rtems.h.
5518 2000-01-04 David Edelsohn <edelsohn@gnu.org>
5520 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
5521 (SLOW_UNALIGNED_ACCESS): Define.
5522 (CASE_VECTOR_MODE): Always use 32-bit offsets.
5523 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
5524 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
5525 (toc_section): Likewise and .toc pseudo-op.
5526 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
5528 (TEXT_SECTION_ASM_OP): Likewise.
5529 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
5532 1999-12-17 Jakub Jelinek <jakub@redhat.com>
5534 * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
5535 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
5538 2000-01-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5540 * rs6000.h: Move more stuff from here...
5542 * sysv4.h: Cleanup accordingly.
5543 * netware.h: Likewise
5545 2000-01-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5547 * rs6000.h: Continue cleanup.
5550 * netware.h: Likewise.
5552 * sysv4.h: Likewise.
5553 * win-nt.h: Likewise.
5555 * rs6000.h (TARGET_SWITCHES): Add descriptions.
5556 (TARGET_OPTIONS): Likewise.
5558 * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
5559 (SUBTARGET_OPTIONS): Likewise.
5561 * rs6000.md: Fix compile time warnings.
5563 2000-01-04 Geoff Keating <geoffk@cygnus.com>
5565 vxworks patches from the Cygnus tree originally by
5566 Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
5567 <vmakarov@cygnus.com>.
5568 * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
5569 (ENDFILE_SPEC): Likewise.
5570 (LIB_VXWORKS_SPEC): New macro.
5571 (STARTFILE_VXWORKS_SPEC): New macro.
5572 (ENDFILE_VXWORKS_SPEC): New macro.
5573 (LINK_START_VXWORKS_SPEC): New macro.
5574 (LINK_OS_VXWORKS_SPEC): New macro.
5575 (CPP_OS_VXWORKS_SPEC): New macro.
5576 (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
5577 * vxppc.h: Rewrite to use proper configuration method.
5578 * vxppcle.h: New file.
5579 * ../../configure.in: Add powerpcle-wrs-vxworks*.
5580 * ../../configure: Rebuilt.
5582 2000-01-04 Geoff Keating <geoffk@cygnus.com>
5584 Lots of changes to rs6000.h, sysv4.h, aix.h,
5585 aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
5586 with the aim that rs6000.h is the first header
5587 included and the others override it.
5590 * x-aix41-gld: Remove.
5592 * x-aix41: Remove target-specific switches, and don't specify
5593 -Wl,-bbigtoc as we don't need it any more.
5594 * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
5595 Use t-aix43 for AIX 4.3 and above.
5596 * ../../configure: Regenerated.
5598 * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
5599 options, that don't do anything yet.
5600 (MASK_SCHED_PROLOG): New macro.
5601 (MASK_SCHED_EPILOG): New macro.
5602 (TARGET_SCHED_PROLOG): New macro.
5603 (TARGET_SCHED_EPILOG): New macro.
5605 2000-01-04 Geoff Keating <geoffk@cygnus.com>
5607 * rs6000.c: Correct comment, the `minimal' TOCs are actually
5608 one per translation unit, not one per function.
5609 (output_toc): Also do duplicate constant elimination
5610 for per-translation-unit TOCs.
5612 * rs6000.md (nonlocal_goto_receiver): Put it back as before. Add
5613 a comment explaining _exactly_ when this pattern gets used.
5614 (builtin_setjmp_receiver): New pattern for better clarity.
5615 (init_v4_pic): Move it into a section dealing with TOC registers.
5617 1999-12-30 Geoff Keating <geoffk@cygnus.com>
5619 * rs6000.c (toc_hash_table): New variable.
5620 (rs6000_hash_constant): New function.
5621 (toc_hash_function): New function.
5622 (toc_hash_eq): New function.
5623 (toc_hash_mark_entry): New function.
5624 (toc_hash_mark_table): New function.
5625 (output_toc): Don't output duplicate TOC entries in
5627 (rs6000_add_gc_roots): Add the hash table as a GC root.
5628 * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
5629 where they clearly shouldn't be. This may need to be fixed
5630 later when there is a GNU ar for AIX.
5631 * x-aix43: Don't define CLIB or AR_FOR_TARGET.
5632 Don't define BOOT_LDFLAGS as it is now not necessary.
5634 1999-12-29 Geoff Keating <geoffk@cygnus.com>
5636 * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
5637 for va_list on AIX. Use unsigned_char_type_node rather than
5638 constructing our own version on svr4.
5640 1999-12-17 Geoff Keating <geoffk@cygnus.com>
5642 * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
5643 since patently it's not.
5645 1999-12-08 Geoff Keating <geoffk@cygnus.com>
5647 * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
5648 define_expand/define_insn pair, and handle restore of the
5649 SVR4 -fpic register.
5651 Wed Mar 15 15:43:38 2000 Jeffrey A Law (law@cygnus.com)
5653 * acconfig.h (HAVE_GAS_WEAK): New define.
5654 * configure.in (assembler weak support): Check for .weak support.
5655 * config.in, configure: Rebuilt.
5656 * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
5657 HAVE_GAS_WEAK is defined.
5659 2000-03-15 Nick Clifton <nickc@cygnus.com>
5661 * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
5664 2000-03-15 Zack Weinberg <zack@wolery.cumb.org>
5666 * cppfiles.c (open_include_file): New function.
5667 (find_include_file, cpp_read_file): Use it.
5669 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
5671 * cpphash.c (dump_hash_helper): Take the slot, not the element.
5673 Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
5675 * flow.c (verify_flow_info): Check for unconditional return.
5677 Wed Mar 15 11:34:27 2000 Jim Wilson <wilson@cygnus.com>
5679 * config/ia64/ia64.md (restore_stack_nonlocal): New.
5680 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
5681 (__ia64_restore_stack_nonlocal): New.
5682 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
5684 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5686 * cpphash.c (collect_formal_parameters): Do not complain about
5687 parameter names that just start with `__VA_ARGS__'.
5689 Wed Mar 15 13:26:58 MET 2000 Jan Hubicka <jh@suse.cz>
5691 * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
5692 movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
5693 * i386.c (pentiumpro_cost): Set mul cost to 4.
5694 (x86_use_movx): Set for PPro.
5696 Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
5698 * i386.md (ix86_compute_frame_size): stack_alignment_needed is
5699 STACK_BOUNDARY for empty frames now.
5701 2000-03-14 Mark Mitchell <mark@codesourcery.com>
5703 * stor-layout.c (layout_union): Remove.
5704 (layout_union_field): New function, split out from layout_union.
5705 (finish_union_layout): Likewise.
5706 (layout_field): Handle unions by calling layout_union_field.
5707 (finish_record_layout): Handle unions.
5708 (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
5709 QUAL_UNION_TYPE handling.
5711 Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz>
5713 * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
5714 end of basic block is jump_insn, not barrier; use create_basic_block
5715 instead of creating basic block by hand.
5717 2000-03-14 Jason Eckhardt <jle@cygnus.com>
5719 * flow.c (reorder_basic_blocks): Account for barriers when writing
5720 over NEXT_INSN (last_bb->end).
5721 (verify_flow_info): Add check for missing barriers.
5723 2000-03-14 Greg McGary <gkm@gnu.org>
5725 * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
5726 * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
5727 * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
5728 __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
5729 __unbounded, __unbounded__): New keywords.
5730 * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
5731 * c-parse.y, c-parse.c, c-parse.h: Regenerate.
5732 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
5734 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
5736 * cselib.h: New file.
5737 * alias.c: Include "cselib.h".
5738 (fixed_scalar_and_varying_struct_p): Accept the addresses of the
5739 MEMs as two new arguments.
5740 (get_addr): New static function.
5741 (find_base_term): Handle VALUEs.
5742 (memrefs_conflict_p): Likewise.
5743 (true_dependence): Call get_addr on the addresses.
5744 Call fixed_scalar_and_varying_struct_p with addresses that have been
5745 passed through get_addr and canon_rtx.
5746 (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
5747 with true_dependence.
5748 Call get_addr on the addresses; don't call canon_rtx on the MEMs.
5749 * loop.c: Include "cselib.h".
5750 (load_mems): Process extended basic block that enters the loop with
5751 cselib. Use that information to change initialization of the shadow
5752 register so that a constant equivalence is seen by later passes.
5753 * reload1.c: Include "cselib.h".
5754 (reload_cse_invalidate_regno): Delete function.
5755 (reload_cse_mem_conflict_p): Likewise.
5756 (reload_cse_invalidate_mem): Likewise.
5757 (reload_cse_invalidate_rtx): Likewise.
5758 (reload_cse_regno_equal_p): Likewise.
5759 (reload_cse_check_clobber): Likewise.
5760 (reload_cse_record_set): Likewise.
5761 (reg_values): Delete static variable.
5762 (invalidate_regno_rtx): Likewise.
5763 (reload_cse_delete_noop_set): New static function.
5764 (reload_cse_simplify): New static function, broken out of
5766 (reload_cse_noop_set_p): Delete unused argument INSN.
5767 Just call rtx_equal_for_cselib_p on set source and destination.
5768 (reload_cse_regs_1): Break out some code into reload_cse_simplify and
5769 reload_cse_delete_noop_set. Delete code to keep track of values; use
5770 cselib functions instead. Delete code to push/pop obstacks.
5771 (reload_cse_simplify_set): Use cselib to find equivalent values.
5772 Delete code to push/pop obstacks.
5773 (reload_cse_simplify_operands): Likewise.
5774 * rtl.def (VALUE): New rtx code.
5775 * rtl.h (union rtunion_def): New elt rt_cselib.
5776 (X0CSELIB, CSELIB_VAL_PTR): New macros.
5777 * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
5778 (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
5779 unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
5780 discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
5781 hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
5782 cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
5783 cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
5784 cselib_record_set, cselib_record_sets): New static functions.
5785 (cselib_lookup, cselib_update_varray_sizes, cselib_init,
5786 cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
5787 references_value_p): New functions.
5788 (MAX_USELESS_VALUES, REG_VALUES): New macros.
5789 (table, cselib_current_insn, next_unknown_value, cselib_nregs,
5790 n_useless_values, reg_values, callmem, cselib_obstack,
5791 cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
5792 New static variables.
5793 * varray.h (union varray_data_tag): New elt te.
5794 (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
5795 * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
5798 2000-03-14 Nick Clifton <nickc@cygnus.com>
5800 * gcc.c (do_spec_1): Catch the case where %* is used in a
5801 substitution pattern, but it has not been initialised.
5802 Issue a meaningful error message if an unrecognised operator
5803 is encountered in a spec string.
5805 2000-03-14 Richard Earnshaw <rearnsha@arm.com>
5807 * function.c (prepare_function_start): Correctly initialize
5808 cfun->stack_alignment_needed.
5810 2000-03-14 Zack Weinberg <zack@wolery.cumb.org>
5812 * cppfiles.c (find_include_file): Don't assume nshort is a
5815 Tue Mar 14 08:42:21 2000 Jeffrey A Law (law@cygnus.com)
5817 * configure.in (hppa configurations): Add pa32-regs.h to the
5818 list of tm files as appropriate.
5819 * configure: Rebuilt.
5820 * pa.c (compute_frame_size): Remove explicit knowledge about FP
5822 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
5823 (fmpyaddoperands, fmpysuboperands): Likewise.
5824 * pa.h: Remove various definitions which depend on knowing
5825 how registers are numbered.
5826 * pa32-regs.h: New file with PA32 register numbering specific
5829 2000-03-14 Richard Henderson <rth@cygnus.com>
5831 * regmove.c (combine_stack_adjustments): New.
5832 (stack_memref_p, single_set_for_csa): New.
5833 (free_csa_memlist, record_one_stack_memref): New.
5834 (try_apply_stack_adjustment): New.
5835 (combine_stack_adjustments_for_block): New.
5836 * rtl.h (combine_stack_adjustments): Declare.
5837 * toplev.c (rest_of_compilation): Call it.
5839 * i386.md: Revert 2000-01-16 change.
5841 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5843 * gccbug.in: Add web category, gcc specific classes.
5845 2000-03-14 Nathan Sidwell <nathan@codesourcery.com>
5847 * stor-layout.c (finalize_record_size): Fix typo.
5849 2000-03-14 Stan Shebs <shebs@apple.com>
5851 * c-typeck.c (c_alignof): Error on incomplete types.
5852 * extend.texi (Alignment): Document this.
5854 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
5856 * cppfiles.c: Include mkdeps.h.
5857 (find_include_file, read_include_file): Remove _cpp_ prefix
5858 from name, make static.
5859 (_cpp_execute_include): New function, broken out of
5862 * cpplib.c: Don't include mkdeps.h.
5863 (struct directive): Remove type field. Reorder entries. The
5864 function takes only one argument.
5865 (struct if_stack): Make type field an int.
5866 (directive_table): Rename to dtable. Generate it, the
5867 prototypes of the directive handlers, and the enum for the
5868 directive numbers, from a template macro.
5869 (do_ifndef, do_include_next, do_import): New functions.
5870 (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
5871 do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
5872 do_ident, do_assert, do_unassert, do_sccs): Take only one
5874 (do_sccs): Define always, but alter behavior based on
5876 (_cpp_handle_directive, consider_directive_while_skipping):
5877 Restructure for new directive table layout.
5879 (pass_thru_directive): Take a directive number, not a pointer
5880 to a struct directive.
5881 (parse_include): New function, broken out of do_include.
5882 (do_include, do_import, do_include_next): Use parse_include
5883 and _cpp_execute_include.
5884 (do_elif, do_else): Test for T_ELSE specifically when checking
5885 for #elif/#else after #else.
5886 (parse_ifdef): New function, broken out of do_ifdef.
5887 (validate_else): Expect a name arg without a leading #.
5888 (if_directive_name): Delete.
5889 (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
5890 directive handlers with only one argument.
5892 * cpphash.h: Update prototypes.
5893 (enum node_type): Remove entries for directives.
5894 * Makefile.in: Update dependencies.
5896 * cpphash.c (dump_hash_helper): Only dump nodes of type
5897 T_MACRO. Emit a newline after each definition.
5899 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5901 * gccbug.in: New file.
5902 * configure.in (all_outputs): Add gccbug.
5903 * Makefile.in (install-common): Install gccbug.
5904 (GCCBUG_INSTALL_NAME): New variable.
5905 * configure: Rebuilt.
5907 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
5909 * function.c (put_var_into_stack): Use type_for_mode to calculate
5910 part_type. Use MEM_SET_IN_STRUCT_P.
5911 * expr.c (store_field): Handle CONCAT.
5912 (store_constructor): Use fields_length.
5913 * tree.c (fields_length): New fn.
5914 * tree.h: Declare it.
5916 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
5918 * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
5919 (cpplex.o): New target.
5920 * po/POTFILES.in: Add cpplex.c.
5922 * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
5923 cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
5924 cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
5925 skip_block_comment, skip_line_comment, skip_comment,
5926 copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
5927 _cpp_parse_name, skip_string, parse_string,
5928 _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
5929 _cpp_get_directive_token, find_position,
5930 _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
5931 (maybe_macroexpand, _cpp_lex_token): New functions.
5933 * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
5934 parse_goto_mark): Delete.
5935 (_cpp_handle_eof): New function.
5936 (_cpp_handle_directive): Rename from handle_directive.
5937 (_cpp_output_line_command): Rename from output_line_command.
5938 (do_if, do_elif): Call _cpp_parse_expr directly.
5939 * cppfiles.c (_cpp_read_include_file): Don't call
5940 init_input_buffer here.
5941 * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
5942 * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
5943 here; pop the token_buffer and skip the rest of the line here.
5944 * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
5947 * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
5949 (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
5950 CPP_GOTO_MARK): New macros.
5951 (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
5952 _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
5953 _cpp_read_and_prescan, _cpp_init_input_buffer,
5954 _cpp_grow_token_buffer, _cpp_get_directive_token,
5955 _cpp_handle_directive, _cpp_handle_eof,
5956 _cpp_output_line_command): Prototype them here.
5957 * cpplib.h (enum cpp_token): Add CPP_MACRO.
5958 (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
5959 quote_string, output_line_command): Remove.
5961 2000-03-13 Bernd Schmidt <bernds@cygnus.co.uk>
5963 * stmt.c (expand_end_case): RANGE may be signed, and when checking
5964 whether it is too large we must also verify that it isn't negative.
5966 2000-03-13 Jakub Jelinek <jakub@redhat.com>
5968 * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
5969 (movsi_zero_liveg0): Remove.
5970 (movsf_insn_novis_liveg0): Remove.
5972 (negsi2_not_liveg0): Rename to negsi2.
5973 (one_cmplsi2): Remove.
5974 (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
5975 (one_cmplsi2_liveg0): Remove.
5976 * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
5977 MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
5978 (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
5979 (PREDICATE_CODES): Remove zero_operand.
5980 * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
5981 TARGET_BROKEN_SAVERESTORE.
5982 (zero_operand): Remove.
5983 * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
5984 -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
5986 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
5987 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
5988 TARGET_BROKEN_SAVERESTORE): Remove.
5989 * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
5991 * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
5993 * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
5996 * config/sparc/sparc.md (return_df_no_fpu): New pattern.
5998 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
6000 * cpplib.c (do_pragma_implementation): Fix off-by-one error
6001 truncating a string. Don't assume tokens are nul terminated.
6002 Problem noted by Andreas Jaeger <aj@suse.de>
6004 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
6006 * dwarf2out.c (add_name_and_src_coords_attributes): Only add
6007 DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
6008 (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
6010 2000-03-13 Richard Earnshaw <rearnsha@arm.com>
6012 * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
6013 STRUCTURE_SIZE_BOUNDARY.
6015 2000-03-13 Mark Mitchell <mark@codesourcery.com>
6017 * tree.h (record_layout_info_s): New structure.
6018 (record_layout_info): New type.
6019 (new_record_layout_info): New function.
6020 (layout_field): Likewise.
6021 (finish_record_layout): Likewise.
6022 * stor-layout.c (layout_record): Remove.
6023 (new_record_layout_info): New function.
6024 (layout_field): New function, broken out from layout_record.
6025 (finalize_record_size): Likewise.
6026 (compute_record_mode): Likewise.
6027 (finalize_type_size): New function, broken out from layout_type.
6028 (finish_record_layout): Likewise.
6029 (layout_type): Use them.
6031 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
6033 * cpphash.c: Don't include version.h.
6034 (special_symbol) [case T_VERSION]: Look for the string in
6035 hp->value.cpval; don't use version_string.
6036 * cppinit.c (initialize_builtins): Set hp->value.cpval for
6037 __VERSION__ to version_string.
6038 * Makefile.in (cpphash.o): Update deps.
6040 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
6042 Convert cpplib to use libiberty/hashtab.c.
6044 * cpplib.h (struct cpp_reader): Make hashtab and
6045 all_include_files of type 'struct htab *'. Delete HASHSIZE
6046 and ALL_INCLUDE_HASHSIZE macros.
6048 * cpphash.h: Update prototypes.
6049 (struct hashnode): Remove next, prev, and bucket_hdr members.
6050 Make length a size_t. Add hash member.
6051 (struct ihash): Remove next member. Add hash member. Make
6052 name a flexible array member.
6054 * cppfiles.c: Include hashtab.h.
6055 (include_hash): Delete.
6056 (IHASHSIZE): New macro.
6057 (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
6058 (cpp_included): Do the hash lookup here.
6059 (_cpp_find_include_file): Rewrite.
6060 (cpp_read_file): Put the "fake" hash entry into the hash
6061 table. Honor the control_macro, if it turns out we've seen
6062 the file before. Don't push the buffer here.
6063 (_cpp_read_include_file): Push the buffer here.
6064 (OMODES): New macro. Use it whenever we call open(2).
6066 * cpphash.c: Include hashtab.h.
6067 (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
6068 _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
6069 _cpp_lookup_slot): New functions.
6070 (HASHSIZE): new macro.
6071 (hashf, _cpp_install, _cpp_delete_macro): Delete.
6072 (_cpp_lookup): Use hashtab.h routines.
6074 * cppinit.c: Include hashtab.h.
6075 (cpp_reader_init): Call _cpp_init_macro_hash and
6076 _cpp_init_include_hash. Don't allocate hashtab directly.
6077 (cpp_cleanup): Just call htab_delete on pfile->hashtab and
6078 pfile->all_include_files.
6079 (initialize_builtins): Use _cpp_make_hashnode and
6080 htab_find_slot to add hash entries.
6081 (cpp_finish): Just call _cpp_dump_macro_hash.
6082 * cpplib.c: Include hashtab.h.
6083 (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
6084 create hash entries.
6085 (do_pragma_poison, do_assert): Likewise.
6086 (do_include): Don't push the buffer here. Don't increment
6087 system_include_depth unless _cpp_read_include_file succeeds.
6088 (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
6090 (do_pragma_implementation): Use alloca to create copy.
6092 * Makefile.in: Update dependencies.
6094 2000-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6096 * cppinit.c (cl_directive_handler): More K&R fixing.
6098 Sat Mar 11 23:54:26 2000 Jim Wilson <wilson@cygnus.com>
6100 * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
6102 * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
6104 2000-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6106 * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
6107 Change from char[] to macros.
6109 2000-03-12 Neil Booth <NeilB@earthling.net>
6111 * cppinit.c (cpp_start_read): Update indirect function
6114 Sat Mar 11 16:18:12 2000 Jim Wilson <wilson@cygnus.com>
6116 * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
6119 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
6120 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
6122 2000-03-11 Neil Booth <NeilB@earthling.net>
6124 * cppinit.c (struct pending option): Replace undef with a
6125 pointer to a directive handling routine.
6126 (struct cpp_pending): Replace separate assert_ and define_
6127 lists with one directive_ list.
6128 (new_pending_define): Rename new_pending_directive. Extra
6129 argument is the directive's handling routine.
6130 (handle_option): Update to use new_pending_directive.
6132 2000-03-11 Neil Booth <NeilB@earthling.net>
6134 * cppfiles.c (file_cleanup, _cpp_find_include_file,
6135 remap_filename, _cpp_read_include_file, actual_directory,
6136 hack_vms_include_specification): Replace bcopy(), index() etc
6137 calls. Add casts to some allocations. Make some variables
6138 pointers to const [unsigned] char.
6139 * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
6140 collect_formal_parameters): Similarly.
6141 * cppinit.c (struct pending_option, append_include_chain,
6142 cpp_options_init, cpp_reader_init, initialize_standard_includes,
6143 cpp_start_read, new_pending_define, handle_option): Similarly.
6144 * cpplib.c (cpp_define, copy_comment, do_define, do_include,
6145 do_undef, do_error, do_warning, do_pragma, do_pragma_once,
6146 do_pragma_implementation, detect_if_not_defined,
6147 do_ifdef, skip_if_group, cpp_get_token, parse_string,
6148 do_assert, do_unassert): Similarly.
6149 * cpplib.h (cpp_buffer, cpp_options): Update types. Update
6150 function prototypes.
6151 * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
6153 2000-03-10 Richard Henderson <rth@cygnus.com>
6155 * builtins.c (expand_builtin_strlen): Revert last change.
6156 Use emit_insn_before if we're at the beginning of a sequence.
6158 2000-03-10 Jason Merrill <jason@casey.cygnus.com>
6160 * builtins.c (expand_builtin_strlen): Make sure that we have something
6161 at the beginning of the sequence.
6163 * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
6166 * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
6168 2000-03-10 Richard Henderson <rth@cygnus.com>
6170 * except.c (can_throw): Use INTVAL on a CONST_INT.
6171 (reachable_handlers): Likewise.
6172 * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
6174 2000-03-10 Andreas Jaeger <aj@suse.de>
6176 * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
6177 MD_STARTFILE_PREFIX since those are not needed on linux.
6178 (ASM_FILE_START): New, from mips/gnu.h.
6180 2000-03-09 Richard Henderson <rth@cygnus.com>
6181 Alex Samuel <samuel@codesourcery.com> and others
6183 * Makefile.in (ssa.o): New rule.
6185 (STAGESTUFF): Add *.ssa and *.ussa.
6186 (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
6187 * rtl.def (PHI): New RTL expression.
6188 * rtl.h (clear_log_links): New declaration.
6189 (convert_to_ssa): Likewise.
6190 (convert_from_ssa): Likewise.
6191 * flow.c (split_edge): If the entry node falls through to the
6192 split edge's source block, split the entry edge.
6193 (clear_log_links): New function.
6194 * toplev.c (ssa_dump): New variable.
6195 (flag_ssa): Likewise.
6196 (f_options): Add "ssa".
6197 (compile_file): Create SSA dump files.
6198 (rest_of_compilation): Go to and from SSA if enabled.
6199 (decide_d_option): Handle -de for SSA dump files.
6202 Thu Mar 9 20:01:38 2000 Jim Wilson <wilson@cygnus.com>
6204 * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
6207 2000-03-09 Benjamin Kosnik <bkoz@cygnus.com>
6209 * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
6211 Thu Mar 9 18:10:02 2000 Jeffrey A Law (law@cygnus.com)
6213 * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
6214 (MD_STARTFILE_PREFIX_1): New macro.
6216 2000-03-09 Robert Lipe <robertl@sco.com>
6218 * config/ia64/ia64.c: Include system.h.
6220 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
6222 * except.c (nothrow_function_p): If -fno-exceptions, just return.
6223 (init_eh_nesting_info): Likewise.
6225 * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
6226 (TREE_NOTHROW): Rename from TREE_RAISES.
6227 * toplev.c (rest_of_compilation): Set it.
6228 * print-tree.c (print_node): Adjust.
6229 * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
6230 (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
6231 * calls.c (emit_call_1): Add 'nothrow' parm. Add
6232 REG_EH_REGION note as appropriate.
6233 (libfunc_nothrow): New fn.
6234 (emit_library_call, emit_library_call_value): Use it.
6235 (expand_call): Check TREE_NOTHROW.
6237 * varasm.c (make_decl_rtl): Skip initial '*' when setting
6238 DECL_ASSEMBLER_NAME.
6240 2000-03-09 Andreas Jaeger <aj@suse.de>
6242 * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
6243 (TARGET_MEM_FUNCTIONS): Define.
6245 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
6247 * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
6249 * except.c (can_throw): See through a SEQUENCE.
6250 (nothrow_function_p): New fn.
6251 * except.h: Declare it.
6252 * function.c (current_function_nothrow): New var.
6253 (prepare_function_start): Initialize it.
6254 * output.h: Declare it.
6255 * toplev.c (rest_of_compilation): Set it.
6256 * dwarf2out.c (dwarf2out_begin_prologue): Use it.
6258 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
6260 * cpphash.c (collect_formal_parameters): strncmp returns 0 for
6261 match. (cpp_compare_defs): Count the nul separator when
6262 advancing over argument names.
6264 2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk>
6266 * recog.c (preprocess_constraints): Matching constraints affect
6267 same alternative/different operand, not same operand/different
6270 * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
6271 register and a constant specially.
6273 2000-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6275 * libgcc2.h: New file.
6276 * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
6278 Wed Mar 8 16:19:42 2000 Jim Wilson <wilson@cygnus.com>
6280 * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
6281 * configure: Regenerate.
6284 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
6286 * Makefile.in (LIBCPP_DEPS): New macro.
6287 (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
6289 * cpperror.c: Include cpphash.h.
6290 * cppexp.c: Include cpphash.h. Remove MULTIBYTE_CHARS
6292 (lex): Don't use CPP_WARN_UNDEF.
6293 (_cpp_parse_expr): Return an int, the truth value.
6294 * cppfiles.c: Include cpphash.h.
6295 (_cpp_merge_include_chains): Move to cppinit.c and make static.
6296 * cppinit.c (include_defaults_array): Disentangle.
6297 (cpp_cleanup): Don't free the if stack here.
6298 (cpp_finish): Pop off all buffers, not just one.
6299 * cpplib.c (eval_if_expr): Return int.
6300 (do_xifdef): Rename do_ifdef.
6301 (handle_directive): Don't use CPP_PREPROCESSED.
6302 (cpp_get_token): Don't use CPP_C89.
6303 * fix-header.c: Don't use CPP_OPTIONS.
6305 * cpplib.h: Move U_CHAR, enum node_type, struct
6306 file_name_list, struct ihash, is_idchar, is_idstart,
6307 is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
6308 CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
6309 CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
6310 CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
6311 CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
6312 of _cpp_simplify_pathname, _cpp_find_include_file,
6313 _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
6314 Move struct if_stack to cpplib.c. Move struct cpp_pending to
6316 Change all uses of U_CHAR to be unsigned char instead.
6317 Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
6319 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
6321 * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
6322 (dwarf2out_begin_prologue): Set it.
6323 (output_call_frame_info): Don't emit EH unwind info for leaves.
6325 * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
6326 can occur outside of an EH region.
6327 * except.c: Correct comments about rethrow behavior.
6328 (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
6330 2000-03-08 Andrew MacLeod <amacleod@cygnus.com>
6332 * flow.c (make_edges): Always call make_eh_edge for calls.
6334 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
6336 * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
6337 (struct cpp_buffer): Remove fname and underflow fields.
6338 (struct cpp_reader): Remove get_token field.
6339 (struct include_hash): Rename to struct ihash. Add typedef to
6341 (struct if_stack): Remove fname field.
6342 (IF_STACK_FRAME): Rename to IF_STACK.
6344 * cpperror.c (print_containing_files): Trust that there are no
6345 macro buffers below the top file buffer.
6346 * cppfiles.c: Replace all references to 'struct include_hash'
6347 with 'IHASH'. Rename initialize_input_buffer to
6348 init_input_buffer. Don't set or reference cpp_buffer->fname,
6349 use buffer->ihash->name instead.
6350 * cpphash.c (special_symbol): Use cpp_file_buffer. Use NULL
6351 not CPP_NULL_BUFFER.
6352 * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
6353 IF_STACK_FRAME, IHASH not struct include_hash.
6354 * cpplib.c: Rename eval_if_expression to eval_if_expr. Remove
6355 null_underflow. Use IF_STACK not IF_STACK_FRAME, IHASH not
6356 struct include_hash, NULL not CPP_NULL_BUFFER. Remove all
6357 references to cpp_buffer->fname (delete entirely, or use
6358 ->ihash->name instead) and IF_STACK->fname.
6359 (cpp_push_buffer): Don't set new->underflow.
6360 (do_include): Use cpp_file_buffer.
6362 * cpphash.c (collect_formal_parameters): Remove duplicate
6363 increment of argslen. Pedwarn in C99 mode if __VA_ARGS__ is
6364 used as a macro argument name. Don't append "..." to namebuf
6365 for varargs macros. After we're done scanning, go through
6366 namebuf and make it NUL separated, not comma separated.
6367 (_cpp_compare_defs): Remove register tag from variables.
6368 Expect defn->argnames to be NUL separated.
6369 (_cpp_dump_definition): Expect defn->argnames to be NUL
6370 separated and in forward order.
6371 * cpphash.h: Update documentation of argnames field.
6373 2000-03-08 Richard Henderson <rth@cygnus.com>
6375 * builtins.c (expand_builtin_strlen): Be prepared for strlensi
6376 to fail. Don't pre-expand the source operand.
6378 * i386.md (strlensi): Initialize eoschar and align before use.
6380 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
6382 * expr.c (expand_expr, case ARRAY_REF): Still check for missing
6383 CONSTRUCTOR element.
6385 2000-03-08 Gavin Romig-Koch <gavin@cetus.cygnus.com>
6387 * mips.c (mips_expand_prologue): If the last
6388 named argument is the vararg marker "va_list", treat it as
6389 an unnamed argument.
6391 2000-03-08 Clinton Popetz <cpopetz@cygnus.com>
6393 * dbxout.c (dbxout_parms): When correcting for promoted
6394 big-endian parameters, use the mode of the DECL_RTL rather
6395 than UNITS_PER_WORD.
6397 2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
6399 * c-common.h (make_fname_decl): Declare.
6400 * c-common.c (make_fname_decl): Define.
6401 (declare_hidden_char_array): Remove.
6402 (declare_function_name): Use make_fname_decl.
6403 * c-decl.c (c_make_fname_decl): New function.
6404 (init_decl_processing): Set make_fname_decl.
6406 Tue Mar 7 23:50:31 2000 Jeffrey A Law (law@cygnus.com)
6408 * cccp.c (handle_directive): Initialize backslash_newlines_p.
6410 2000-03-07 Philipp Thomas <pthomas@suse.de>
6412 * po/POTFILES.in: Remove cppalloc.c from file list.
6414 2000-03-07 Steve Chamberlain <sac@pobox.com>
6416 * pj.c (pj_expand_prologue): current_function->args_info is
6417 now current_function_args_info.
6419 * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
6420 LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
6421 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
6423 2000-03-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6425 * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
6426 output as hexadecimal rather than the default octal.
6428 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
6430 * cpphash.c (special_symbol): Fix thinko in previous commit.
6432 2000-03-07 Neil Booth <NeilB@earthling.net>
6434 * cppexp.c (struct operation, left_shift, right_shift,
6435 cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
6436 "int"s to "unsigned int"s.
6437 * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
6439 * cpplib.h: Update for above.
6440 * mkdeps.c (deps_init, deps_calc_target): Cast pointers
6441 returned from allocations.
6443 * cppinit.c (opt_comp, parse_options): New functions.
6444 (handle_option): Use parse_option to parse a single command
6445 line option, that possibly takes an argument.
6446 (cpp_handle_options): Sort the array of command line options on
6447 first invocation (non-ASCII hosts only).
6448 (print_help): Update.
6450 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
6452 * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
6453 backslash counting loops. Problem noted by Matt Kraai <kraai@ghs.com>.
6455 * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
6457 * cppinit.c (cpp_cleanup): Free imp->nshort also.
6459 * cpperror.c (cpp_print_containing_files,
6460 cpp_print_file_and_line, v_cpp_message): Rename to
6461 print_containing_files, print_file_and_line, and v_message.
6462 * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
6463 to _cpp_parse_expr, parse_escape, and lex.
6464 (parse_charconst): Remove broken multibyte support.
6465 * cppfiles.c (include_hash): Make static.
6466 (cpp_included): New function.
6467 (merge_include_chains, find_include_file, finclude,
6468 simplify_pathname): Rename to _cpp_merge_include_chains,
6469 _cpp_find_include_file, _cpp_read_include_file, and
6470 _cpp_simplify_pathname.
6471 * cpphash.c (cpp_lookup, free_definition, delete_macro,
6472 cpp_install, create_definition, macroexpand, compare_defs,
6473 dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
6474 _cpp_delete_macro, _cpp_install, _cpp_create_definition,
6475 _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
6476 * cppinit.c (cpp_handle_option): Rename to handle_option, make
6478 * cpplib.c: Remove extern prototype of cpp_parse_expr.
6480 * cpphash.h: Update prototypes.
6481 * cpplib.h: Likewise. Prototype _cpp_parse_expr here.
6483 2000-03-07 Andrew Haley <aph@cygnus.com>
6485 * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
6486 PTRDIFF_TYPE should be based solely on Pmode.
6489 2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6491 * rtl.h (rtunion_def): Constify member `rtstr'.
6492 (emit_line_note_after, emit_line_note, emit_line_note_force,
6493 emit_note, decode_asm_operands): Constify.
6495 * cse.c (canon_hash): Likewise.
6497 * dbxout.c (dbxout_block): Likewise.
6499 * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
6500 v_warning_for_asm): Likewise.
6502 * dwarfout.c (function_start_label): Likewise.
6504 * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
6505 emit_line_note_force): Likewise.
6507 * final.c (last_filename, asm_insn_count, final_scan_insn,
6508 output_source_line): Likewise.
6510 * function.h (struct emit_status): Likewise.
6512 * gcse.c (hash_expr_1): Likewise.
6514 * genattr.c (gen_attr, main): Likewise.
6516 * genattrtab.c (struct function_unit, current_alternative_string,
6517 write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
6518 attr_numeral, check_attr_test, check_attr_value,
6519 convert_set_attr_alternative, convert_set_attr,
6520 compute_alternative_mask, simplify_by_exploding, gen_attr,
6521 gen_unit): Likewise.
6523 * genflags.c (gen_insn): Likewise.
6525 * gengenrtl.c (type_from_format): Likewise.
6527 * genopinit.c (gen_insn): Likewise.
6529 * genoutput.c (n_occurrences, process_template, process_template):
6532 * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
6535 * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
6538 * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
6539 ggc_set_mark, ggc_get_size): Likewise.
6541 * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
6543 * optabs.c (init_one_libfunc): Likewise.
6545 * output.h (assemble_start_function): Likewise.
6547 * recog.c (decode_asm_operands): Likewise.
6549 * toplev.c (rest_of_compilation): Likewise.
6551 * tree.h (emit_line_note_after, emit_line_note,
6552 emit_line_note_force): Likewise.
6554 * varasm.c (asm_output_bss, asm_output_aligned_bss,
6555 asm_emit_uninitialised, assemble_start_function,
6556 assemble_variable, const_hash, compare_constant_1,
6557 find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
6559 * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
6561 * alpha/alpha.md (call_vms, call_value_vms): Likewise.
6563 * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
6565 * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
6567 * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
6568 arm_dllimport_name_p): Likewise.
6570 * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
6573 * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
6575 * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6577 * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
6578 arm_mark_dllexport, arm_mark_dllimport,
6579 arm_pe_encode_section_info): Likewise.
6581 * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
6582 ASM_FINISH_DECLARE_OBJECT): Likewise.
6584 * arm/thumb.c (thumb_function_prologue): Likewise.
6586 * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
6588 * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6590 * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
6592 * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
6594 * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
6596 * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6598 * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
6599 ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
6601 * i386/i386-protos.h (asm_output_function_prefix): Likewise.
6603 * i386/i386.c (asm_output_function_prefix): Likewise.
6605 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
6607 * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6609 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
6611 * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
6612 ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
6613 ASM_OUTPUT_SECTION_NAME): Likewise.
6615 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
6617 * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
6619 * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
6621 * m32r/m32r.c (m32r_encode_section_info): Likewise.
6623 * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6625 * mcore/mcore.c (mcore_encode_section_info): Likewise.
6627 * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6629 * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6631 * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6633 * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
6635 * mips/mips.md (movdi, movsi): Likewise.
6637 * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6639 * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6641 * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6643 * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
6644 ASM_OUTPUT_ASCII): Likewise.
6646 * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
6647 output_mi_thunk, output_toc): Likewise.
6649 * rs6000/rs6000.md (movsi): Likewise.
6651 * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
6653 * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
6655 * v850/v850.c (print_operand, print_operand_address,
6656 v850_encode_data_area): Likewise.
6658 2000-03-07 Clinton Popetz <cpopetz@cygnus.com>
6660 * config/mips/mips.md (zero_extendsidi2): Always force operand
6661 one to memory for mips16.
6663 Mon Mar 6 15:22:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6665 * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
6666 (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
6667 (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
6668 (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
6669 (min_precision): Result is unsigned.
6670 (add_double, neg_double, mul_double): Low word is unsigned.
6671 (lshift_double, rshift_double, lrotate_double): Likewise.
6672 (rrotate_double, div_and_round_double): Likewise.
6673 (tree_floor_log2, compare_tree_int): New functions.
6674 (preserve_rtl_expr_temps): New declaration.
6675 * c-common.c (declare_hidden_char_array): Use compare_tree_int.
6676 (decl_attributes): Use tree_log2 to find alignment.
6677 Check for TREE_INT_CST_HIGH for format args.
6678 (min_precision): Now unsigned.
6679 Use tree_floor_log2.
6680 (truthvalue_conversion): Delete long-disabled code.
6681 * c-decl.c (finish_struct): Clean up tests on field width.
6682 (finish_function): Use compare_tree_int.
6683 * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
6684 * c-typeck.c (comptypes): Use tree_int_cst_equal.
6685 (default_conversion, digest_init): Use compare_tree_int.
6686 (build_binary_op): Use integer_all_onesp and compare_tree_int.
6687 Fix type errors in forming masks.
6688 * calls.c (initialize_argument_information): Use compare_tree_int.
6689 * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
6690 * except.c (expand_eh_region_start_tree): Use compare_tree_int.
6691 * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
6692 (store_field): Use compare_tree_int.
6693 (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
6694 (expand_expr, case ARRAY_REF): Use compare_tree_int.
6695 (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
6696 (do_store_flag): Use compare_tree_int.
6697 * fold-const.c (encode, decode): Low part is always unsigned.
6698 (force_fit_type, add_double, neg_double, mul_double): Likewise.
6699 (lshift_double, rshift_double, lrotate_double): Likewise.
6700 (rrotate_double, div_and_round_double, int_const_binop): Likewise.
6701 (fold_convert): Use compare_tree_int.
6702 (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
6703 (invert_truthvalue, case INTEGER_CST): Likewise.
6704 (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
6705 * mkdeps.c (deps_dummy_targets): Make I unsigned.
6706 * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
6707 (lshift_double, rshift_double, lrotate_double, rrotate_double):
6709 * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
6710 (expand_end_case): Use compare_tree_int.
6711 (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
6712 * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
6713 (layout_decl): Likewise.
6714 (layout_record, layout_union): Make sizes unsigned.
6715 (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
6716 (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
6717 * tree.c (struct type_hash): hashcode is unsigned.
6718 (build_type_attribute_variant, type_hash_list): Likewise.
6719 (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
6720 (attribute_hash_list, build_array_type, build_method_type): Likewise.
6721 (build_complex_type): Likewise.
6722 (real_value_from_int_cst): Remove unneeded casts.
6723 (integer_all_onesp): Add casts.
6724 (tree_floor_log2, compare_tree_int): New functions.
6725 (build_index_type): Use tree_int_cst_sgn.
6726 * varasm.c (assemble_variable): Use compare_tree_int.
6728 2000-03-06 Jason Merrill <jason@casey.cygnus.com>
6730 * cpphash.c (collect_expansion): Also catch ## at start of macro.
6732 * varasm.c (make_decl_rtl): Don't add a number to members of
6734 (make_function_rtl): Likewise.
6736 2000-03-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6738 * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
6739 patch from 2000-01-28.
6741 2000-03-06 Clinton Popetz <cpopetz@cygnus.com>
6743 * config/sh/sh.c: (barrier_align): Handle a delay slot that is
6744 filled with an insn from the jump target.
6746 2000-03-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6748 * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
6749 (c4x_external_ref): Likewise.
6750 * config/c4x/c4x.c (struct name_list): Likewise.
6752 1999-12-16 Ben Collins <bcollins@debian.org>
6754 * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
6755 argument to genmultilib.
6756 * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
6757 the contents into the multilib.h header.
6758 * gcc.c: Declare multilib_exclusions for the specs file.
6759 (set_multilib_dir): Use it.
6760 (print_multilib_info): Likewise.
6761 * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
6762 to pass to genmultilib.
6764 2000-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6766 * builtins.c (built_in_class_names, built_in_names): Constify a
6769 * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
6771 (_mcleanup): Ensure value matches format specifier in sprintf.
6773 * cpphash.c (special_symbol): Don't needlessly cast away
6776 * cppinit.c (base_name): Delete unused prototype.
6778 * mkdeps.c (deps_init): Make definition K&R safe.
6780 * tree.h (built_in_class_names, built_in_names): Constify a
6783 2000-03-06 Jakub Jelinek <jakub@redhat.com>
6785 * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
6786 floating point instructions for epilogue delay.
6788 * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
6789 to gas if it supports .register pseudo.
6791 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
6792 LONG_DOUBLE_TYPE_SIZE if not defined.
6793 Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
6794 LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
6796 * gengenrtl.c: Likewise.
6797 * print-rtl.c: Likewise.
6799 * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
6800 MASK_LONG_DOUBLE_128.
6801 * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
6802 * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
6803 * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
6804 (SUBTARGET_SWITCHES): Define.
6805 (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
6806 with -mlong-double-128.
6807 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
6808 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
6809 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
6810 (CC1_SPEC): Include -mlong-double-{64,128} as needed.
6811 * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
6812 (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
6813 with -mlong-double-128.
6814 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
6815 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
6816 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
6817 * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
6818 TARGET_LONG_DOUBLE_128): Define.
6819 * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
6820 * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
6821 long double on TARGET_ARCH64.
6823 2000-03-06 Mark Mitchell <mark@codesourcery.com>
6825 * function.c (free_temps_for_rtl_expr): Don't free slots
6826 that have been pushed into a higher level.
6829 2000-03-05 Mark Mitchell <mark@codesourcery.com>
6831 2000-03-05 Mark Mitchell <mark@codesourcery.com>
6833 * basic-block.h (ALLOCA_REG_SET): Remove.
6834 (INITIALIZE_REG_SET): New macro.
6835 * flow.c (update_life_info): Use it.
6836 (calculate_global_regs_live): Likewise.
6837 (propagate_block): Likewise.
6838 * global.c (build_insn_chain): Likewise.
6839 * haifa-sched.c (schedule_region): Likewise.
6841 2000-03-05 Stephane Carrez <stcarrez@worldnet.fr>
6843 * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
6844 (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
6845 (DWARF_ARANGES_PAD_SIZE): New define.
6846 (output_aranges): Use it to pad the address range header.
6847 (DWARF_ROUND): Fix for non power of 2 rounding.
6849 2000-03-05 Jason Merrill <jason@casey.cygnus.com>
6851 * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
6853 2000-03-05 Mark Mitchell <mark@codesourcery.com>
6855 * tree.def (RTL_EXPR): Update documentation.
6856 * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
6857 * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
6858 * function.c (preserve_rtl_expr_temp): New function.
6859 (preserve_rtl_expr_temps): Likewise.
6860 (preserve_rtl_expr_result): Use it.
6863 2000-03-04 Mark Mitchell <mark@codesourcery.com>
6865 2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
6867 * regmove.c (copy_src_to_dest) Do not create src->dest move
6868 for unchanging destination.
6870 2000-03-04 Mark Mitchell <mark@codesourcery.com>
6872 * function.h (struct sequence_stack): Remove rtl_expr.
6873 (struct emit_staus): Likewise.
6874 (seq_rtl_expr): Remove.
6875 * tree.h (free_temps_for_rtl_expr): Don't declare.
6876 (start_sequence_for_rtl_expr): Likewise.
6877 * rtl.h (preserve_rtl_expr_result): Likewise.
6878 * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
6879 (start_sequence_for_rtl_expr): Remove.
6880 (push_topmost_sequence): Don't save sequence_rtl_expr.
6881 (pop_topmost_sequence): Remove comment about not restoring it.
6882 (end_sequence): Don't set seq_rtl_expr.
6883 (init_emit): Don't initialize it.
6884 (mark_sequence_stack): Don't mark it.
6885 (mark_emit_status): Likewise.
6886 * except.c (protect_with_terminate): Use
6887 start_sequence_for_rtl_expr, not start_sequence.
6888 * expr.c (expand_expr, case RTL_EXPR): Don't call
6889 preserve_rtl_expr_result or free_temps_for_rtl_expr.
6890 * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
6891 (preserve_rtl_expr_result): Remove.
6892 (free_temps_for_rtl_expr): Likewise.
6893 (pop_temp_slots): Likewise.
6894 (mark_temp_slot): Don't mark the rtl_expr.
6895 * stmt.c (expand_start_stmt_expr): Use start_sequence, not
6896 start_sequence_for_rtl_expr.
6898 2000-03-04 Zack Weinberg <zack@wolery.cumb.org>
6900 * mkdeps.c, mkdeps.h: New files.
6901 * po/POTFILES.in: Add them.
6902 * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
6903 (cpplib.o, cppinit.o): Depend on mkdeps.h.
6904 (mkdeps.o): New target.
6906 * cppfiles.c: Delete deps_output.
6907 * cppinit.c: Include mkdeps.h. Delete known_suffixes,
6908 OBJECT_SUFFIX, and base_name.
6909 (cpp_cleanup): Use deps_free. Free ihash->name when clearing
6911 (initialize_dependency_output): Use deps_init,
6912 deps_add_target, deps_calc_target, and deps_add_dep. Remove
6913 all the unnecessary string bashing.
6914 (cpp_finish): Use deps_write. Remove an unnecessary nesting
6916 * cpplib.c (do_include): Use deps_add_dep.
6917 * cpplib.h (struct cpp_reader): Replace deps_buffer,
6918 deps_allocated_size, deps_size, deps_column members with
6919 single pointer to a struct deps. Delete prototype of
6922 * cppinit.c: Fix thinko in previous patch.
6924 Sat Mar 4 11:32:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6926 * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
6927 * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
6928 (mode_for_size_tree): New function.
6929 (layout_decl, layout_type): Call it and clean up BLKmode checks.
6930 * tree.h (mode_for_size_tree): New declaration.
6932 * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
6934 2000-03-04 Jason Merrill <jason@casey.cygnus.com>
6936 * stmt.c (is_body_block): Move...
6937 * dwarfout.c, dwarf2out.c: ...from here.
6938 * tree.h: Declare it.
6939 * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
6940 * final.c (final_start_function): Do call remove_unnecessary_notes
6943 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
6945 * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
6947 * cpplib.h (_dollar_ok): New macro.
6948 (is_idchar, is_idstart): Use it.
6949 (IStable): Rename to _cpp_IStable. Declare it const if
6950 gcc >=2.7 or C99. Delete all references to FAKE_CONST.
6951 (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
6952 is_space): Update for renamed IStable.
6954 * cppinit.c: Delete all references to FAKE_CONST and CAT
6955 macros. Define init_IStable as empty macro if gcc >=2.7 or
6956 C99. Change TABLE() to ISTABLE and hardcode name of table.
6957 (cpp_start_read): Don't change the IStable based on
6960 * cpphash.c (unsafe_chars): Add pfile argument. All callers
6961 changed. Handle '$' for char1 correctly.
6962 * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
6964 * cppexp.c (tokentab2): Make const.
6965 (cpp_lex): Make toktab const.
6966 * cppinit.c (include_defaults_array): Make const.
6967 (initialize_standard_includes): Make default_include const.
6969 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
6971 * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
6972 (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
6973 (gen_decl_die): Likewise.
6974 * dwarfout.c (dwarfout_file_scope_decl): Likewise.
6975 (output_decl): Likewise.
6977 * varasm.c (make_function_rtl): If we change the name used in the
6978 rtl, update DECL_ASSEMBLER_NAME accordingly.
6979 (make_decl_rtl): Likewise.
6981 * toplev.c (rest_of_compilation): Tweak formatting.
6983 * toplev.c (rest_of_compilation): find_loop_tree_blocks before
6984 remove_unnecessary_notes.
6985 (debug_ignore_block): New fn.
6986 * toplev.h: Declare it.
6987 * emit-rtl.c (remove_unncessary_notes): Call it.
6988 * dwarf2out.c (dwarf2out_ignore_block): New fn.
6989 * dwarf2out.h: Declare it.
6990 * final.c (final_start_function): Don't call remove_unnecessary_notes
6991 if we did insn scheduling.
6993 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
6995 * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
6996 * cpplib.h: Delete SET_CPP_PEDANTIC.
6998 Fri Mar 3 14:56:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7000 * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
7001 result is a RECORD_TYPE.
7003 2000-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
7005 * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
7007 2000-03-03 Richard Henderson <rth@cygnus.com>
7009 * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
7010 addition over compliments over shifts.
7012 Fri Mar 3 12:49:28 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
7014 * reload1.c (reload_combine_note_use): Handle return register USEs.
7015 REG case: Handle multi-hard-register hard regs.
7017 Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7019 * md.texi: Document use of '*' in insn pattern name.
7021 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
7023 * calls.c (special_function_p): operator new may not be malloc-like.
7025 * gcse.c (dump_hash_table): Really fix error in last change.
7027 2000-03-02 Denis Chertykov <denisc@overta.ru>
7029 * avr.c (print_operand): Use print_operand_address instead of
7031 * avr/libgcc.S: Cleanup code.
7033 2000-03-02 Richard Henderson <rth@cygnus.com>
7035 * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
7037 2000-03-02 Mark Mitchell <mark@codesourcery.com>
7039 * tree.h (TYPE_ALIGN_UNIT): New macro.
7041 2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
7043 * i386.c: (constant_call_address_operand): Reject CONST_INT.
7045 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
7047 * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
7049 (SET_CPP_PEDANTIC): New macro.
7050 * cpplib.c (do_include): Don't bother checking system_header_p.
7051 (do_warning, do_ident, do_assert, do_unassert): Likewise.
7052 * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
7054 * function.h (struct expr_status): Add x_arg_space_so_far.
7055 (arg_space_so_far): New macro.
7056 * expr.c (init_expr): Initialize it.
7057 * calls.c (emit_call_1): Reset it.
7058 (compute_argument_block_size, expand_call): Use it.
7059 (expand_call, store_one_arg): Increment it.
7061 Thu Mar 2 17:27:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7063 * varasm.c (output_constant): Strip off a CONVERT_EXPR to
7066 2000-03-02 Zack Weinberg <zack@wolery.cumb.org>
7068 * cppfiles.c (cpp_read_file): New function.
7070 * cpphash.c (collect_expansion): Make sure to reset last_token
7071 to NORM when we hit a string. Handle trailing whitespace
7072 properly when the expansion is empty.
7073 (create_definition): Disable line commands while parsing the
7075 (dump_definition): If pfile->lineno == 0, output a line
7076 command ahead of the dump, and add a trailing newline.
7078 * cppinit.c (append_include_chain): Add fifth argument, which
7079 indicates whether or not system headers are C++ aware.
7080 (initialize_standard_includes): New function,
7081 broken out of read_and_prescan. Pass 'cxx_aware' value from
7082 the include_defaults_array on to append_include_chain.
7083 (dump_special_to_buffer): Const-ify char array.
7084 (builtin_array): Don't dump __BASE_FILE__.
7085 (cpp_start_read): Use cpp_read_file. Reorder code for
7086 clarity. Don't output line commands here for -D/-A/-U
7087 switches. Don't call deps_output for files included with
7088 -include or -imacros.
7090 * cpplib.c (do_define): Don't pay any attention to the second
7092 (cpp_expand_to_buffer): Disable line commands while scanning.
7093 (output_line_command): Work in the file buffer.
7094 * cpplib.h: Remove no_record_file flag from struct cpp_reader.
7095 Fix formatting of comments. Prototype cpp_read_file.
7097 Thu Mar 2 13:29:46 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7099 * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
7100 reference the language-equivalent of sizetype.
7101 * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
7102 * fold-const.c (size_binop, size_diffop): Put back checks.
7103 * gcse.c (dump_hash_table): Fix minor error in last change.
7104 * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
7105 Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
7108 Thu Mar 2 12:48:45 MET 2000 Jan Hubicka <jh@suse.cz>
7110 * calls.c (expand_call) Do not attempt to combine stack adjustments
7111 with inhibit_defer_pop set.
7113 2000-03-01 Mark Mitchell <mark@codesourcery.com>
7115 * stor-layout.c (layout_decl): Allow front-ends to explicitly set
7116 the DECL_SIZE for a FIELD_DECL.
7118 2000-03-01 Bruce Korb <bkorb@gnu.org>
7120 * fixinc/inclhack.tpl: remove unused symlinks
7121 * fixinc/README: GCC Maintainer info
7122 * fixinc/inclhack.sh: regen
7123 * fixinc/fixincl.sh: regen
7125 2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
7127 * cpphash.c (collect_expansion): Trim trailing white space
7128 from macro definitions, but don't go past the last insertion
7131 Wed Mar 1 12:14:31 MET 2000 Jan Hubicka <jh@suse.cz>
7133 * i386.md (mulqi3): New pattern.
7135 2000-02-29 Zack Weinberg <zack@wolery.cumb.org>
7137 * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
7139 (struct cpp_reader): Add parsing_if_directive and
7140 parsing_define_directive flags.
7141 (struct cpp_options): Remove output_conditionals flag.
7142 (check_macro_name): Delete prototype.
7144 * cpphash.h (struct macrodef): Delete.
7145 (struct reflist): Separate from struct definition.
7146 (struct definition): Remove unused fields. Add column number.
7147 (create_definition): Returns a DEFINITION *. Takes a
7148 cpp_reader * and an int.
7150 * cpphash.c (SKIP_WHITE_SPACE): Delete.
7151 (PEEKC): Copy defn from cpplib.c.
7152 (rest_extension, REST_EXTENSION_LENGTH): Delete.
7154 (struct arglist): Simplify.
7155 (collect_expansion): Rewrite. Get tokens by calling
7156 cpp_get_token. Add more error checking.
7157 (collect_formal_parameters): New function, broken out of
7158 create_definition and reworked to use get_directive_token.
7159 (create_definition): All real work is now in collect_expansion
7160 and collect_formal_parameters. do_define handles finding the
7161 macro name. Return a DEFINITION, not a MACRODEF.
7162 (macroexpand): Replace bcopy with memcpy throughout. Replace
7163 character-at-a-time copy loop with memcpy and pointer increments.
7164 (compare-defs): d1->argnames / d2->argnames might be null.
7166 * cpplib.c (copy_rest_of_line): Delete function.
7167 (skip_rest_of_line): Do all the work ourselves.
7168 (skip_string): New function.
7169 (parse_string): Use skip_string.
7170 (get_macro_name): New function.
7171 (check_macro_name): Delete.
7172 (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
7173 (cpp_skip_hspace): Use CPP_BUMP_LINE.
7174 (handle_directive): ICE if we're called on a macro buffer.
7175 (do_define): Determine macro name and type (funlike/objlike)
7176 here. Expunge all uses of MACRODEF.
7177 (cpp_push_buffer): Set line_base to NULL.
7178 (do_undef, read_line_number): Don't worry about getting a POP token.
7179 (eval_if_expression): Set/reset parsing_if_directive around
7180 cpp_parse_expr. Don't clear only_seen_white.
7181 (skip_if_group): Remove output_conditionals logic. Use
7183 (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
7184 tokens under appropriate conditions.
7185 (cpp_unassert): Call do_unassert not do_assert. Oops.
7187 * cppexp.c (parse_defined): New function, break out of
7189 (cpp_lex): We now get CPP_ASSERTION tokens and can check them
7190 ourselves, with cpp_defined.
7191 * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
7193 * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
7194 * gcc.dg/strpaste-2.c: New.
7196 2000-02-29 Mark Mitchell <mark@codesourcery.com>
7198 * fold-const.c (size_binop): Don't asert inputs are the same and
7199 have TYPE_IS_SIZETYPE set.
7200 (size_diffop): Likewise.
7202 2000-02-29 Jason Merrill <jason@casey.cygnus.com>
7204 * dwarfout.c (output_block): Output abstract blocks even if they
7205 don't have TREE_ASM_WRITTEN set.
7207 * calls.c (emit_library_call): Check for null REG.
7209 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
7211 * c-decl.c (current_function_decl): Move to toplev.c.
7212 (init_decl_processing): Don't add current_function_decl as a ggc
7214 * dbxout.c (dbxout_symbol): Change return type to int.
7215 (dbxout_symbol_location, dbxout_syms): Likewise.
7216 (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
7217 any locals. Use current_function_func_begin_label if set.
7218 * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
7219 * dwarf2out.c (dwarf2out_begin_prologue): Set
7220 current_function_func_begin_label.
7221 * final.c (final_start_function): Reset it.
7222 * toplev.c (current_function_decl): Define it here.
7223 (current_function_func_begin_label): New variable.
7224 (main): Add both as ggc roots.
7225 * tree.h (current_function_func_begin_label): Declare.
7227 Tue Feb 29 14:07:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7229 * gcse.c: Cleanups throughout: mostly white-space, but also
7230 some minor rearrangement of code.
7232 Tue Feb 29 10:45:59 2000 Jeffrey A Law (law@cygnus.com)
7234 * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
7235 returns a PARALLEL. Use emit_group_load and use_group_regs
7237 (emit_library_call_value): Similarly.
7239 * pa/t-pa: Use quadlib.c instead of quadlib.asm.
7240 * pa/quadlib.asm: Remove.
7241 * pa/quadlib.c: New file.
7243 * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
7244 * configure: Rebuilt.
7246 2000-02-29 Philip Blundell <pb@futuretv.com>
7248 * config/arm/conix-elf.h: New file.
7249 * configure.in (arm*-*-conix*): New configuration.
7250 * configure: Regenerate.
7252 2000-02-28 Jason Merrill <jason@casey.cygnus.com>
7254 * dwarf2out.c (gen_block_die): Output abstract blocks even if they
7255 don't have TREE_ASM_WRITTEN set.
7257 Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7259 * Eliminate DECL_FIELD_SIZE.
7260 * builtins.c (built_in_class_names, built_in_names): New variables.
7261 * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
7262 * expr.c (expand_expr, case COMPONENT_REF): Get field size from
7263 DECL_SIZE, not DECL_FIELD_SIZE.
7264 * print-tree.c (print_node): Remove code that prints extra blank
7265 lines in some cases.
7266 Properly handle inline and builtin function cases.
7267 * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
7268 * tree.h (built_in_class_named, built_in_names): New declarations.
7269 (union tree_decl): Rename internal unions to u1 and u2 and change
7270 some of their components.
7271 Add new field built_in_class.
7272 (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
7273 Reflect above changes.
7274 (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
7275 (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
7276 * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
7277 (encode_field_decl): Likewise; also remove obsolete test for bitfield.
7279 2000-02-28 Dmitri Makarov <dim@windriver.com>
7281 * extend.texi: Document ARM's support for long/short calls.
7283 * invoke.texi: Document ARM's -mlong-calls command line switch.
7285 * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
7286 (arm_encode_call_attribute): Add prototype.
7287 (arm_set_default_type_attribute): Add prototype.
7288 (arm_strip_name_encoding): Add prototype.
7290 * config/arm/arm.c (arm_init_cumulative_args): replace
7291 initialisation og 'long_calls' field with initialisation of
7292 'call_cookie' field.
7293 (enum arm_pragma_enum): New enum.
7294 (arm_pragma_long_calls): New static variable.
7295 (arm_process_pragma): Also process "#pragma long_calls_off".
7296 (arm_valid_type_attribute_p): Accept short_call attribute.
7297 (arm_comp_type_attributes): Check long/short call attributes.
7298 (arm_encode_call_attribute): New function: Encode long_call
7299 or short_call attribute in function name.
7300 (arm_set_default_type_attributes): New function: Assign
7301 default attributes to newly defined type.
7302 (current_file_function_operand): New function: Return true if
7303 the symbol is a function which has already been compiled.
7304 (arm_is_longcall_p): New function: Return true if the
7305 indicated function should be called via a long call.
7306 (arm_get_strip_length): New function. Returns number of
7307 prefix characters to be stripped from a function's name.
7308 (arm_strip_name_encoding): New function. Strip prefix characters
7309 from a function's name.
7311 * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
7313 (SHORT_CALL_FAG_CHAR): Define.
7314 (LONG_CALL_FAG_CHAR): Define.
7315 (ENCODED_SHORT_CALL_ATTR_P): Define.
7316 (ENCODED_LONG_CALL_ATTR_P): Define.
7317 (ARM_NAME_ENCODING_LENGTHS): Define.
7318 (STRIP_NAME_ENCODING): Define.
7319 (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
7320 (ARM_ENCODE_CALL_TYPE): Define.
7321 (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
7322 (ARM_DECLARE_FUNCTION_SIZE): Define.
7323 (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
7325 * config/arm/arm.md (call): Call arm_is_longcall_p to decide
7326 if a long call is needed.
7327 (call_value): Ditto.
7328 (call_symbol): Ditto.
7330 * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
7331 ARM_DECLARE_FUNCTION_SIZE.
7333 * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
7334 (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
7335 (ARM_STRIP_NAME_ENCODING): Undefine.
7336 (STRIP_NAME_ENCODING): Undefine.
7337 (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
7338 (ASM_DECLARE_FUNCTION_NAME): Ditto.
7339 (ASM_OUTPUT_COMMON): Ditto.
7340 (ASM_DECLARE_OBJECT_NAME): Ditto.
7342 * config/arm/pe.c (arm_dllexport_name_p): Check for
7344 (arm_dllimport_name_p): Ditto.
7345 (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
7346 (arm_mark_dllimport): Ditto.
7348 Mon Feb 28 22:11:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
7350 * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
7352 2000-02-28 Mark Mitchell <mark@codesourcery.com>
7354 * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
7356 2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
7358 * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
7359 * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
7360 NO_BUILTIN_WCHAR_TYPE is not defined.
7361 (CPP_WCHAR_TYPE): Delete.
7362 * cccp.c (main): Don't change wchar_type if cplusplus.
7363 (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
7365 2000-02-28 Nick Clifton <nickc@cygnus.com>
7367 * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
7369 Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
7371 * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
7372 (ASM_WEAKEN_LABEL): Define.
7374 Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
7376 * expr.c (store_constructor): Do not emit USE.
7377 * rtl.h (stupid_life_analysis): Remove.
7379 Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7381 * function.c (number_blocks): Reset next_block_index based on
7382 what debugging format is used, not what is defined.
7384 * lcm.c: Minor reformatting throughout.
7385 (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
7387 * toplev.c (rest_of_compilation): Account for time in
7388 optimize_mode_switching.
7390 * jump.c (jump_optimize_1): Don't call delete_barrier_successors
7391 if only marking labels.
7393 Mon Feb 28 12:53:57 MET 2000 Jan Hubicka <jh@suse.cz>
7395 * calls.c (expand_call): Attempt to combine stack adjustments with
7396 pending stack adjustments.
7398 Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
7400 * loop.c (reg_in_basic_block_p): Don't abort when falling through
7401 to the end of the function.
7403 2000-02-27 Mark Mitchell <mark@codesourcery.com>
7405 * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
7407 * final.c (next_block_index): Remove.
7408 (max_block_depth): Likewise.
7409 (pending_blocks): Likewise.
7410 (init_final): Don't initialize them.
7411 (final_start_function): Don't set next_block_index. Set up
7413 (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
7414 * function.h (number_blocks): New function.
7415 * function.c (get_block_vector): New function.
7416 (identify_blocks): Use it.
7417 (reorder_blocks): Set NOTE_BLOCK.
7418 (number_blocks): New function.
7419 * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
7420 * tree.h (BLOCK_NUMBER): New macro.
7421 (tree_block): Add block_num field.
7422 * dbxout.c (next_block_number): Remove.
7423 (dbxout_init): Don't set it.
7424 (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
7425 set. Use BLOCK_NUMBER, rather than next_block_num, to determine
7427 * toplev.c (rest_of_compilation): Always call
7428 find_loop_tree_blocks. Fix indentation.
7429 * dwarf2out.c (next_block_number): Remove.
7430 (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
7431 to determine block numbers.
7432 (gen_inlined_subroutine_die): Likewise.
7433 (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
7434 (decls_for_scope): Don't increment next_block_number.
7435 * dwarfout.c (next_block_number): Remove.
7436 (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
7437 to determine block numbers.
7438 (output_inlined_subroutine_die): Likewise.
7439 (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
7440 (output_decls_for_scope): Don't increment next_block_number.
7441 * sdbout.c (next_block_number): Remove.
7442 (sdbout_block): Use BLOCK_NUMBER.
7443 (sdbout_begin_block): Simplify.
7444 * xcoffout.c (next_block_number): Remove.
7445 (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
7446 (xcoffout_begin_block): Don't set next_block_number.
7447 (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
7450 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7452 * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
7453 (expand_builtin_strcpy): Pass correct type to size_binop.
7454 (expand_builtin_strcmp): Likewise.
7455 Clean up conditional structure.
7456 * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
7457 (complete_array_type): Don't use size_binop for MAXINDEX.
7458 * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
7459 (c_sizeof_nowarn, c_size_in_bytes): Likewise.
7460 (c_alignof): Use size_one_node.
7461 (build_unary_op): Pass arg of proper type to size_binop.
7462 (really_start_incremental_init, push_init_level): Use sizetype for
7463 constructor{,_bit,_unfilled}_index.
7464 (pop_init_label, output_init_element): Likewise.
7465 (output_pending_init_elements, process_init_element): Likewise.
7466 * calls.c (compute_argument_block_size): Field VAR is ssizetype.
7467 * expr.c (store_expr): Use size_int.
7468 (store_constructor): Use proper types for size_binop args.
7469 (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
7470 (expand_expr_unaligned): Likewise.
7471 (string_contant): Return object of sizetype.
7472 * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
7473 (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
7474 (ARGS_SIZE_TREE): Pass proper types to size_binop.
7475 * fold-const.c (int_const_binop): Refine when size_int is called.
7476 (fold_convert): Likewise.
7477 (size_int_wide): Rework to take KIND as arg, only take low order
7478 bits, handle new sizetype_tab datatype, and chain entries in
7480 (size_int_type_wide): New function.
7481 (size_binop): Validate types of arguments.
7482 (ssize_binop): Deleted.
7483 (size_diffop): New function.
7484 (extract_muldiv): Only fold division into multiplication for sizetypes.
7485 * function.c (assign_parms): Use size_diffop and make sure
7486 VAR field is of ssizetype; also pass proper type to size_binop.
7487 (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
7488 (round_down): Deleted from here.
7489 * store-layout.c (sizetype_tab): Now an array.
7490 (sizetype_set, early_root_list): New variables.
7491 (variable_size): Use size_one_node.
7492 (round_up): Pass proper type to size_binop.
7493 (round_down): Moved to here and corrected as above.
7494 (layout_record): Pass proper arg types to size_binop.
7495 (layout_type): Likewise.
7496 If sizetype_set is zero, record the type just laid out.
7497 (make_unsigned_type): Don't call set_sizetype;
7498 (make_signed_type): Likewise; also, call fixup_signed_type.
7499 (initialize_sizetypes): New function.
7500 (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
7501 set name of bitsizetype to "bit_size_type".
7502 Fix up type of sizes of all types made before call.
7503 * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
7504 * tree.c (fix_sizetype): Deleted.
7505 (build_common_tree_nodes): Call initialize_sizetypes.
7506 (build_common_tree_nodes_2): Don't call fix_sizetype.
7507 * tree.h (TYPE_IS_SIZETYPE): New macro.
7508 (initialize_sizetype): New declaration.
7509 (enum size_type_kind): New type.
7510 (struct sizetype_tab): Deleted.
7511 (sizetype_tab): Now array; adjust sizetype macros.
7512 (size_diffop, size_int_type_wide): New functions.
7513 (size_int_wide): Change number of args and type; access macros changed.
7514 (ssize_int, sbitsize_int): New macros.
7515 * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
7516 (ROUND_TYPE_SIZE_UNIT): New macro.
7518 2000-02-27 Zack Weinberg <zack@wolery.cumb.org>
7520 * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
7522 Sun Feb 27 07:44:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7524 * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
7525 Mark as possibly unused.
7527 * cse.c (cse_insn): Delete dead code involving tablejump.
7528 Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
7530 * Makefile.in (libcpp.a): Start by deleting it.
7532 2000-02-27 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7534 * cpplib.h (enum file_change_code): Added rename_file.
7535 * cpplib.c (do_line): If a filename is given, set file_change to
7537 (output_line_command): If file_change is rename_file, always
7538 output a # directive with the file name.
7540 * cpplib.c (do_pragma): Accept #pragma without consecutive token.
7542 2000-02-26 Mark Mitchell <mark@codesourcery.com>
7544 * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
7545 when copying a PARM_DECL or RESULT_DECL.
7547 2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7549 * fix-header.c (recognized_function): Also fix prototypes for
7550 functions taking "void".
7552 2000-02-26 Geoff Keating <geoffk@cygnus.com>
7554 * reload1.c (do_output_reload): Check reg_reloaded_valid before
7555 looking at reg_reloaded_contents.
7557 2000-02-26 Zack Weinberg <zack@wolery.cumb.org>
7559 * Makefile.in (STMP_FIXINC): New toggle.
7560 (LIBGCC2_DEPS): Delete all references.
7561 (stmp-headers): Delete target. All references either deleted
7562 or changed to stmp-int-headers.
7563 (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
7564 (LIBCPP_OBJS): Take out cppalloc.o.
7565 (cppalloc.o): Delete target.
7566 (stmp-int-hdrs): Depend on $(STMP_FIXINC).
7567 (gen-protos, fix-header): Link with libiberty.a.
7568 * build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
7571 * configure.in: Remove refs to strerror.
7572 * acconfig.h: Take out NEED_DECLARATION_STRERROR.
7573 * system.h: Take out strerror stanza.
7575 * cpperror.c (my_strerror): Delete function.
7576 (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
7577 * cppmain.c (main): Call xmalloc_set_program_name first thing.
7578 * cppalloc.c: Delete file.
7579 * gen-protos.c: Don't provide xrealloc.
7581 * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
7582 xstrerror throughout.
7584 2000-02-26 Bruce Korb <bkorb@gnu.org>
7586 * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
7587 match for DOS headers, too.
7588 * fixinc/inclhack.sh,fixincl.x: Regenerate.
7590 2000-02-26 Geoff Keating <geoffk@cygnus.com>
7592 * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define. The default
7593 is right for most ELF targets.
7594 * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
7595 Let the default file use %U properly.
7596 * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define. Use the
7599 * config/fp-bit.c (pack_d): Properly handle rounding of denormal
7602 Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7604 * toplev.c (documented_lang_options): Correct spelling error.
7605 (decode_d_option, decode_f_option, main): Likewise.
7607 * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
7609 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
7610 to tell assembler it is permitted to expand large constants.
7612 2000-02-25 Mumit Khan <khan@xraylith.wisc.edu>
7614 * protoize.c: (AUX_INFO_SUFFIX): New macro.
7615 (aux_info_suffix): Use.
7616 (SAVE_SUFFIX): New macro.
7618 (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
7619 (gen_aux_info_file): Use aux_info_suffix instead of ".X".
7620 (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
7622 * invoke.texi (Running Protoize): Update documentation.
7624 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
7626 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
7628 2000-02-25 John Wehle (john@feith.com)
7630 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
7632 2000-02-25 Anthony Green <green@cygnus.com>
7634 * toplev.c (rest_of_compilation): Rebuild jump labels if
7635 combine_instructions has created a new direct jump.
7636 * combine.c (try_combine): Add new_direct_jump_p argument. Set it
7638 (combine_instructions): Call try_combine with new argument.
7639 Return non-null value when new direct jump instruction is created.
7640 * rtl.h: combine_instructions returns an int.
7642 Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com)
7644 * cse.c (cse_insn): Replace the PATTERN of the insn with an new
7645 jump when changing a computed jump into a jump to a known
7648 Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk>
7650 * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
7651 to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
7653 * i386.md (define_expand "clrstrsi"): Fix typo.
7655 Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com>
7657 * rtl.texi: Fix typo.
7659 Fri Feb 25 20:02:35 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
7661 * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
7662 UNITS_PER_WORD. Change caller initial_elimination_offset.
7663 (rounded_frame_size): Take into account that argument pushed has
7664 changed. Fix TARGET_ALIGN_DOUBLE problem.
7666 2000-02-25 Geoff Keating <geoffk@cygnus.com>
7668 * haifa-sched.c (schedule_block): Explain the real reason
7669 we delete REG_SAVE_NOTEs on the first insn of a block.
7670 Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
7672 2000-02-24 Mark Mitchell <mark@codesourcery.com>
7674 * input.h (push_srcloc): New function.
7675 (pop_srcloc): Likewise.
7676 * toplev.c (push_srcloc): Define it.
7677 (pop_srcloc): Likewise.
7679 2000-02-24 Richard Henderson <rth@cygnus.com>
7681 * flow.c (life_analysis): When collecting reg info, clear
7684 Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
7686 Fix bug exposed by reload.c no longer rounding the frame
7687 size to BIGGEST_ALIGNMENT:
7688 * sh.c (rounded_frame_size): New function.
7689 (sh_expand_prologue, sh_expand_epilogue): Use it.
7690 (initial_elimination_offset): Likewise.
7692 Thu Feb 24 20:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
7694 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
7695 * sh-protos.h (sh_need_epilogue): Declare.
7696 * sh.c (sh_need_epilogue_known): New static variable.
7697 (sh_need_epilogue): New function.
7698 (function_epilogue): Clear need_epilogue_known.
7699 * sh.md (return): Split into expander / insn pattern.
7700 Make the expander conditional on ! sh_need_epilogue ().
7702 2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
7704 * machmode.h (get_mode_alignment): Declare.
7705 (GET_MODE_ALIGNMENT): Call it.
7706 * stor-layout.c (get_mode_alignment): New function. Make
7707 sure alignment is always power of 2.
7709 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
7711 * i386.h: Remove useless definition of "I386" and misleading
7714 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
7716 * tree.h (TREE_SET_PERMANENT): New macro. Document conditions
7717 under which TREE_PERMANENT will be set.
7718 * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
7719 build1): Use TREE_SET_PERMANENT.
7720 * print-tree.c (print_node): Don't report value of
7721 TREE_PERMANENT if ggc_p is true.
7723 * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
7724 decide whether to give a type a new alias set.
7725 * objc/objc-act.c (build_objc_string_object): Never copy the string.
7726 * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
7727 of value of 'obstack'.
7730 2000-02-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7732 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
7734 2000-02-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7736 * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
7737 * cpplib.c (cpp_get_token): Produce them.
7738 * cppexp.c (cpp_lex): Handle them.
7740 2000-02-23 Nick Clifton <nickc@cygnus.com>
7742 * config/arm/arm.c (arm_comp_type_attributes): Simply and
7743 comment tests on type attributes.
7745 Wed Feb 23 16:42:21 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
7747 * final.c (shorten_branches): Make value passed to LOOP_ALIGN
7748 conform to documentation.
7749 * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
7750 to check for special cases.
7751 * sh-protos.h (sh_loop_align): Declare.
7752 * sh.c (sh_loop_align): Define.
7754 2000-02-22 Andrew Haley <aph@cygnus.com>
7756 * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
7757 (SIZE_TYPE): Is 32 bits when using -mgp32.
7758 (PTRDIFF_TYPE): Ditto.
7760 Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7762 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
7764 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
7766 * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
7767 BIGGEST_FIELD_ALIGNMENT a constant.
7769 2000-02-21 Jason Merrill <jason@casey.cygnus.com>
7771 * dwarf2out.c (output_line_info): Put the marker for the end of
7772 the line number info at the actual end.
7773 (gen_struct_or_union_type_die): Use decl_function_context
7774 to check for local classes.
7775 * dwarfout.c (output_type): Likewise.
7777 Tue Feb 22 01:38:57 2000 Jeffrey A Law (law@cygnus.com)
7779 * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
7780 for arguments with a mode, but no type.
7781 (FUNCTION_ARG_CALLEE_COPIES): Similarly.
7782 * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
7783 * pa/long_double.h: New file.
7784 * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
7785 both have 128bit wide long doubles.
7786 * configure: Rebuilt.
7788 2000-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7790 * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
7792 * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
7793 fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
7794 (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
7796 * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
7798 * integrate.c (compare_blocks, find_block): Likewise.
7800 * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
7802 * rtl.h (set_file_and_line_for_stmt): Constify a char*.
7804 * stmt.c (stmt_status, set_file_and_line_for_stmt,
7805 expand_asm_operands): Likewise.
7807 Mon Feb 21 17:06:27 2000 Jason Eckhardt <jle@cygnus.com>
7809 * predict.c (estimate_probability): Added the pointer heuristic to
7810 the collection of static branch predictors.
7812 2000-02-21 Catherine Moore <clm@cygnus.com>
7814 * config/mips/mips.h (ASM_SPEC): Add -mfix700.
7815 * invoke.texi (-mfix7000): Document.
7817 2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com>
7819 * diagnostic.c (init_output_buffer): Make it possible to output at
7820 least 32 characters if we're given a too long prefix.
7822 2000-02-20 Mark Mitchell <mark@codesourcery.com>
7824 * varasm.c (initializer_constant_valid_p): Call
7825 lang_expand_constant to simplify the constant.
7827 2000-02-20 Bruce Korb <bkorb@gnu.org>
7829 * fixinc/inclhack.def(stdio_va_list):
7830 typedef needs to be disabled.
7831 * fixinc/inclhack.sh: regen
7832 * fixinc/fixincl.x: regen
7834 2000-02-20 Geoff Keating <geoffk@cygnus.com>
7836 * print-rtl.c (print_rtx): Don't print addresses when
7837 flag_dump_unnumbered.
7839 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7841 * sparc.c (sparc_output_scratch_registers): Mark parameter with
7843 (sparc_va_arg, sparc_flat_output_function_prologue,
7844 sparc_flat_output_function_epilogue): Cast value to unsigned in
7846 (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
7848 * sparc.md: Add default case in switch.
7850 2000-02-19 Richard Henderson <rth@cygnus.com>
7852 * c-typeck.c (add_pending_init): Don't abort for multiple
7853 fields at the same offset.
7854 (pending_init_member): Test the correct member.
7856 2000-02-19 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7858 * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
7860 (start_catch_handler) : Same.
7862 2000-02-19 Brad Lucier (lucier@math.purdue.edu)
7864 * Makefile.in: Have flow.o depend on $(EXPR_H)
7866 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7868 * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
7869 * c-decl.c (duplicate_decls, finish_enum): Likewise.
7870 (finish_decl): Remove -Wlarger-than code from here.
7871 * flags.h (id_clash_len): Now int.
7872 (larger_than_size): Now HOST_WIDE_INT.
7873 * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
7874 Clean up checking to see if in table.
7875 (make_bit_field_ref): Remove extra parm to bitsize_int.
7876 * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
7877 * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
7878 * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
7879 and for computing size of decl.
7880 * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
7881 Move -Wlarger-than code to here.
7882 (layout_record): Remove extra arg to bitsize_int.
7883 Set TYPE_BINFO_SIZE_UNIT.
7884 (layout_union): Remove extra arg to bitsize_int.
7885 Use proper type for size of QUAL_UNION.
7886 (layout_type): Remove extra arg to bitsize_int.
7887 * toplev.c (id_clash_len): Now int.
7888 (larger_than_size): Now HOST_WIDE_INT.
7889 (decode_W_option): Clean up id-clash and larger-than- cases.
7890 * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
7891 (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
7892 * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
7893 (struct tree_decl): New field size_unit.
7894 (size_int_wide): No HIGH operand; NUMBER is now signed.
7895 (size_int_2): Deleted.
7896 (size_int, bitsize_int): Don't use it and rework args.
7897 * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
7899 Fri Feb 18 20:01:58 2000 Jeffrey A Law (law@cygnus.com)
7901 * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
7903 2000-02-18 Geoff Keating <geoffk@cygnus.com>
7905 * invoke.texi (Warning Options): Add an explanation of why
7906 you might want the -Wfloat-equal flag.
7908 Fri Feb 18 20:08:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7910 * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
7911 * cppinit.c (new_pending_define): Add cast to avoid warning.
7912 * expmed.c (extract_bit_field): Likewise.
7913 * flow.c (enum reorder_skip_type): New type.
7914 (skip_insns_between_blcok): New it.
7915 Rework to avoid warning about possibly undefined variable.
7916 * function.c (assign_parms): Make thisparm_boundary unsigned.
7917 * genrecog.c (write_switch): Cast XWINT result to int.
7918 * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
7919 * mips-tfile.c (init_file): Make two versions of FDR intializer:
7920 one for MIPS and one for Alpha.
7921 (get_tag, copy_object): Add casts to avoid warnings.
7922 * optabs.c (init_one_libfunc): Cast NAME to (char *).
7923 * reload.c (find_reloads): Make TYPE enum reload_type.
7924 * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
7925 * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
7926 * varasm.c (compare_constant_1): Add cast to avoid warning.
7927 * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
7929 (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
7930 Cast switch operand of size to int.
7931 (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
7932 * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
7935 2000-02-18 Nick Clifton <nickc@cygnus.com>
7937 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
7938 anything for an alignment of zero.
7940 * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
7941 anything for an alignment of zero.
7943 2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de>
7945 * gcc.texi (Bug Reporting): Refer to bugs.html.
7946 (Bug Lists): Likewise.
7947 * system.h (GCCBUGURL): New preprocessor define.
7948 * rtl.c (fancy_abort): Use it.
7949 * gcc.c (main): Likewise.
7951 2000-02-18 Richard Henderson <rth@cygnus.com>
7953 * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
7954 (life_analysis_1): Subsume into ...
7955 (life_analysis): ... here. Force PROP_REG_INFO off after reload.
7956 Use update_life_info for the relaxation.
7957 (update_life_info): Update REG_BASIC_BLOCK for registers live on
7958 entry and regs_live_at_setjmp.
7959 (set_noop_p): Simplify.
7960 (notice_stack_pointer_modification_1): Renamed from s/_1//.
7961 (record_volatile_insns): Split into ...
7962 (delete_noop_moves): ... here,
7963 (notice_stack_pointer_modification): ... here,
7964 (insn_dead_p): ... and here.
7965 (propagate_block): Don't query INSN_VOLATILE.
7966 (mark_used_regs): Mind !PROP_REG_INFO.
7967 * toplev.c (rest_of_compilation): Call mark_constant_function here,
7968 not in life_analysis.
7970 Fri Feb 18 01:29:22 EST 2000 John Wehle (john@feith.com)
7972 * loop.c (canonicalize_condition): New function,
7973 broken out of get_condition.
7974 (get_condition): Use it.
7975 * expr.h (canonicalize_condition): Prototype it.
7977 * tree.h (tree_int_cst_msb): Declare.
7978 * tree.c (tree_int_cst_msb): New function.
7980 2000-02-17 Mark Mitchell <mark@codesourcery.com>
7982 * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
7985 * invoke.texi (-fmessage-length=n): Document.
7987 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
7989 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
7991 2000-02-17 Mark Mitchell <mark@codesourcery.com>
7993 * function.c (thread_prologue_and_epilogue_insns): Put a line note
7996 2000-02-17 Nick Clifton <nickc@cygnus.com>
7998 * config/arm/thumb.c: Replace includes of system headers with
7999 #include "system.h".
8001 2000-02-16 Richard Henderson <rth@cygnus.com>
8003 * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
8004 Add crtbeginS.o and crtendS.o.
8005 * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
8006 (ENDFILE_SPEC): Use crtendS.o.
8007 * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
8009 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
8010 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
8012 (__dso_handle): New variable.
8013 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
8014 bias to __CTOR_END__.
8016 2000-02-16 Richard Henderson <rth@cygnus.com>
8018 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
8020 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
8022 * longlong.h (__clz_tab): Declare as static to match definition.
8024 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
8025 * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
8026 (XREF_FILE_NAME): Define.
8028 * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
8029 (EH_FRAME_SECTION_ASM_OP): Define.
8030 (IDENT_ASM_OP): Define.
8031 (TEXT_SECTION_ASM_OP): Define.
8033 (CTORS_SECTION_ASM_OP): Define.
8034 (CTOR_SECTION_FUNCTION): Use it.
8035 (DTORS_SECTION_ASM_OP): Define.
8036 (DTOR_SECTION_FUNCTION): Use it.
8038 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
8040 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
8043 * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
8044 debug_bb_n): New functions.
8045 (dump_flow_info, print_rtl_with_bb): Use dump_regset.
8046 * basic-block.h: Prototype new functions.
8048 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
8050 * configure.in: Add support for avr target.
8051 * configure: Rebuilt.
8053 * invoke.texi: Add AVR invocation docs.
8054 * install.texi: Add information about AVR.
8055 * md.texi: Add AVR constraint letters description.
8056 * extend.texi: Add description for AVR specific attributes.
8058 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
8060 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
8062 2000-02-16 Nick Clifton <nickc@cygnus.com>
8064 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
8065 (make_insn_raw): Move RTL check here.
8067 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8069 * version.c: Include gansidecl.h and version.h.
8071 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
8073 * configure.in (gcc_version): When setting, narrow search to
8074 lines containing `version_string'.
8076 * Makefile.in (mainversion): Likewise.
8077 (GCC_H): New variable.
8078 (gcc.h): Delete target.
8079 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
8080 (version.o): Depend on version.h.
8081 (dbxout.o): Don't depend on gcc.h.
8083 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
8084 Michael Meissner <meissner@cygnus.com>
8086 * md.texi (Simple Constraints): Add item about whitespace.
8087 * genoutput.c (strip_whitespace): New.
8088 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
8089 strip_whitespace for constraints.
8090 Test pointer using NULL, not 0.
8092 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8094 * cpplib.c (do_line): Pedwarn for #line > 32767.
8096 * c-lex.c (readescape): Warn about '\x', but do not reject it.
8098 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
8100 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
8101 to default cpp spec.
8102 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
8103 * cpp.texi: Document __GNUC_PATCHLEVEL__.
8106 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
8109 2000-02-15 Denis Chertykov <denisc@overta.ru>
8111 * configure.in: Add support for avr target.
8113 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8115 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
8116 (sh_addr_diff_vec_mode): Don't declare.
8117 * sh.c (sh_addr_diff_vec_mode): Delete.
8119 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8121 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
8123 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8125 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
8126 (smulsi3_highpart_i): Name.
8127 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
8128 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
8129 (smulsi3_highpart, umulsi3_highpart): Likewise.
8131 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
8132 correctly independent of endianness.
8133 (mulsidi3, umulsidi3): Now define_insn. Hide details that
8134 confuse the optimizers.
8135 (mulsidi3+1, umulsidi3+1): New define_split.
8137 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
8139 * config/sh/sh.md: Guard insn splits against illegal registers.
8140 * config/sh/sh.h: Correct comment about macros.
8142 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8143 Andrew MacLeod <amacleod@cygnus.com>
8145 * Makefile.in (lcm.o): Depend on insn-attr.h.
8146 * basic-block.h (optimize_mode_switching): Declare.
8147 * lcm.c (tm_p.h, insn-attr.h): #include.
8148 (seginfo, bb_info): New structs.
8149 (antic, transp, comp, delete, insert) : New file-scope static variables.
8150 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
8151 (reg_becomes_live, optimize_mode_switching): Likewise.
8152 * tm.texi: Add description of mode switching macros.
8153 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
8155 * sh-protos.h (remove_dead_before_cse): Remove prototype.
8156 (fldi_ok, fpscr_set_from_mem): New prototypes.
8157 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
8158 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
8159 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
8160 (sh_flag_remove_dead_before_cse): Remove declaration.
8161 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
8162 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
8163 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
8164 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
8165 (barrier_align): Allow for JUMP_INSNS containing a parallel.
8166 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
8167 (fldi_ok): New function.
8168 (get_fpscr_rtx): Add fpscr_rtx as GC root.
8169 (emit_sf_insn): Only generate fpu switches when optimize < 1.
8170 (emit_df_insn): Likewise.
8171 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
8172 (sh_flag_remove_dead_before_cse): Delete.
8173 (get_free_reg, fpscr_set_from_mem): New functions.
8174 * sh.md (movdf, movsf): Remove no_new_pseudos code.
8175 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
8177 2000-02-15 Loren Rittle <ljrittle@acm.org>
8179 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
8181 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8183 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
8184 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
8186 * cccp.c: Include version.h and/or don't declare `version_string'.
8187 * collect2.c: Likewise.
8188 * alpha.c: Likewise.
8189 * arm/aof.h: Likewise.
8190 * arm/coff.h: Likewise.
8191 * arm/elf.h: Likewise.
8192 * arm/pe.h: Likewise.
8193 * arm/tcoff.h: Likewise.
8194 * arm/telf.h: Likewise.
8195 * arm/tpe.h: Likewise.
8196 * arm/vxarm.h: Likewise.
8197 * convex/convex.c: Likewise.
8198 * i386/dgux.c: Likewise.
8199 * i386/sun386.h: Likewise.
8200 * m88k/m88k.c: Likewise.
8201 * mcore/mcore-pe.h: Likewise.
8202 * mips/mips.h: Likewise.
8203 * romp/romp.h: Likewise.
8204 * sh/sh.c: Likewise.
8205 * cpphash.c: Likewise.
8206 * cppinit.c: Likewise.
8207 * dwarf2out.c: Likewise.
8208 * dwarfout.c: Likewise.
8211 * mips-tfile.c: Likewise.
8212 * protoize.c: Likewise.
8213 * toplev.c: Likewise.
8216 * version.c (version_string): Constify a char*.
8218 * version.h: New file.
8220 2000-02-14 Nick Clifton <nickc@cygnus.com>
8222 * configure.in: Add mcore-elf and mcore-pe targets.
8223 * configure: Regenerate.
8225 * NEWS: Add note that MCore port has been contributed.
8227 * invoke.texi: Document command line switches for MCore port.
8228 * install.texi: Add MCore to list of supported targets.
8230 2000-02-14 Geoff Keating <geoffk@cygnus.com>
8232 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
8233 then we will need to import the frame handling functions.
8234 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
8235 to import the frames themselves.
8237 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
8238 Jason Eckhardt <jle@cygnus.com>
8240 * basic_block.h: Added prototype for reorder_basic_blocks.
8241 * toplev.c: Changes to add -freorder-blocks and graph dump after
8242 block reordering is done.
8243 * flow.c (reorder_block_def): New structure for use during block
8245 (REORDER_BLOCK_*): New macros to access members of above structure.
8246 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
8247 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
8248 functions for block reordering.
8250 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
8252 * gcc.texi (Passes): Fix typo.
8253 * md.texi (Standard Names): Ditto.
8254 * tm.texi (Storage Layout): Ditto.
8256 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
8258 * cpplib.c (do_define): Only free the old definition if it
8261 2000-02-13 Neil Booth <NeilB@earthling.net>
8263 * cppfiles.c (read_and_prescan): When emitting deferred
8264 newlines, test speccase[] again instead of checking each
8265 possible whitespace character in turn. When we encounter \r,
8266 look behind for \n first, then ahead.
8268 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
8270 * cse.c (cse_altered): New internal flag.
8271 (cse_insn): Set it if we changed an insn.
8272 (cse_main): Clear cse_altered before each basic block.
8273 Only garbage collect if cse_altered is true afterward.
8275 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8277 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
8279 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
8281 * combine.c (simplify_comparison): Fix typo.
8283 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
8285 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
8288 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8290 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
8291 previously inserted node instead of root node. Caller changed.
8293 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8295 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
8297 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8299 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
8300 __dereg_frame_dtor): Add prototype argument.
8302 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
8304 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
8306 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
8308 * gthr-vxworks.h (__gthread_once): Likewise.
8310 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
8312 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
8314 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
8315 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
8316 stack pointer in functions w/o saved registers, output LEAVE more often
8317 on TARGET_USE_LEAVE machines.
8319 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
8321 * config/arm/arm.c (arm_init_cumulative_args); New function:
8322 Initlaise the CUMULATIE_ARGS strcuture for a function
8324 (arm_function_arg): New function: Determine where to place a
8325 function's argument. Also handles deciding the function's
8327 (current_file_function_operand): New function: Return true if
8328 the symbol is a function which has already been compiled.
8329 (arm_is_long_call_p): New function: Return true if the
8330 indicated function should be called via a long call.
8331 (arm_valid_type_attribute_p): New function: Return true if the
8332 attribute is a valid, arm specific, attribute.
8333 (arm_comp_type_attribute): New function: Return true if the
8334 two types have compatable, arm specific, attributes.
8336 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
8338 (FUNCTION_ARG): Redefine to call arm_function_arg.
8339 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
8341 (INIT_CUMULATIVE_ARGS): Redefine to call
8342 arm_init_cumulative_args.
8343 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
8345 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
8347 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
8349 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
8350 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
8351 (COMP_TYPE_ATTRIBUTES): Define.
8353 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
8354 if a long call is needed.
8355 (call_value): Call arm_is_long_call_p to decide if a long call
8357 (call_symbol): Call arm_is_long_call_p to decide if a long call
8360 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
8362 2000-02-11 Denis Chertykov <denisc@overta.ru>
8364 * README.AVR: New file with information about the avr ports.
8365 * config/avr: New directory with avr port files.
8367 2000-02-11 Andreas Jaeger <aj@suse.de>
8369 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
8371 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
8373 * cpphash.c: Fix formatting, update commentary.
8374 (dump_definition): Take three separate arguments instead of a
8375 MACRODEF structure argument.
8376 * cpphash.h: Update prototype of dump_definition.
8377 * cppinit.c (cpp_finish): Update call of dump_definition.
8379 * cpplib.c (do_define): Always create new hash entry with
8380 T_MACRO type. Remove redundant check for redefinition of
8381 poisoned identifier. Update call of dump_definition.
8382 (do_undef): Don't call check_macro_name. Rename sym_length to
8384 (do_error, do_warning): Don't use copy_rest_of_line or
8386 (do_warning): Don't use pedwarn for the actual warning,
8387 only the notice about its not being in the standard. (Fixes
8388 bug with #warning in system headers.)
8389 (do_ident): Stricter argument checking - accept only a single
8390 string after #ident. Also, macro-expand the line.
8391 (do_xifdef): Use cpp_defined. De-obfuscate.
8393 (do_pragma): Split out specific pragma handling to separate
8394 functions. Use get_directive_token. Update commentary. Do
8395 not pass on #pragma once or #pragma poison to the front end.
8396 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
8397 do_pragma_default): New.
8399 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
8401 * jump.c (jump_optimize_1): The first operand in a relational
8403 * optabs.c (emit_conditional_move): Handle relationals which
8404 have a known true/false result.
8406 2000-02-11 Geoff Keating <geoffk@cygnus.com>
8408 * function.c (thread_prologue_and_epilogue_insns): Don't insert
8409 a RETURN insn into a block which already ends with a jump.
8411 2000-02-11 Geoff Keating <geoffk@cygnus.com>
8413 * haifa-sched.c (BUF_LEN): Increase a lot.
8415 2000-02-11 Nick Clifton <nickc@cygnus.com>
8417 * configure.in: Add tm_p_file specification for thumb targets.
8418 * configure: Regenerate.
8420 * config/arm/thumb-protos.h: New file: Prototypes for exported
8421 functions defined in thumb.c.
8423 2000-02-11 Robert Lipe <robertl@sco.com>
8425 * Makefile.in (bootstrap-lean): Remove additional files.
8426 (bootstrap2-lean): Likewise.
8427 (VOL_FILES): List of files for above.
8429 2000-02-11 Nathan Sidwell <nathan@acm.org>
8431 * cpphash.c (special_symbol): Remove spurious argument to
8434 2000-02-11 Joel Sherrill (joel@OARcorp.com>
8436 * configure.in: (i*86-*-rtems*): Swapped elf and coff
8438 * configure: Rebuilt.
8440 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
8442 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
8444 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
8446 * pa.c, pa.h: Remove trigraph sequences within comments.
8448 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
8450 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
8452 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
8454 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
8456 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8458 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
8460 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8462 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
8463 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
8464 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
8465 (ASM_FILE_END): Use c4x_file_end.
8466 * config/c4x/c4x.c (c4x_global_label): New function.
8467 (c4x_external_ref, c4x_file_end): Likewise.
8469 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
8470 (c4x_external_ref, c4x_end_file): Likewise.
8472 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
8474 * cppexp.c: Don't include cpphash.h.
8475 (parse_charconst, cpp_lex): Use cpp_defined.
8476 (cpp_lex): Use get_directive_token throughout. Remove
8477 unnecessary cases from switch. Move assertion-handling code
8479 (cpp_parse_expr): If we see '+' or '-', check the context to
8480 determine if they are unary or binary operators. Streamline
8481 the jumps a bit. Do not call skip_rest_of_line.
8483 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
8484 static. Export get_directive_token. Update commentary.
8485 (cpp_defined): New function.
8486 (do_define): Remove reference to T_PCSTRING. Call
8487 free_definition to release memory for old definition, when
8489 (eval_if_expression): Set only_seen_white to 0 before calling
8490 cpp_parse_expr. Call skip_rest_of_line after it returns.
8491 (cpp_read_check_assertion): Don't preserve a pointer into the
8492 token buffer across a call to cpp_get_token.
8494 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
8495 * cppfiles.c (redundant_include_p): Use cpp_defined.
8496 * cpphash.c (free_definition): New function.
8497 (delete_macro): Use it. Update commentary.
8498 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
8500 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
8501 from enum node_type. Prototype cpp_defined and get_directive_token.
8502 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
8504 * fix-header.c (check_macro_names): Use cpp_defined.
8505 (read_scan_file): Set inhibit_warnings and inhibit_errors in
8506 the options structure.
8508 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8510 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
8512 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
8514 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
8515 rather than die->die_tag.
8517 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8519 * combine.c (make_extraction, force_to_mode): Avoid warning on
8520 mixed-signedness conditionals.
8521 (make_field_assignment, nonzero_bits): Likewise.
8522 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
8523 (store_split_bit_field, extract_split_bit_field): Likewise.
8524 (extract_fixed_bit_field, store_bit_field,
8525 * expr.c: Change alignment to be unsigned everywhere.
8526 (move_by_pieces, store_constructor_field, store_constructor):
8527 Alignment parm is unsigned.
8528 (emit_block_move, emit_group_load, emit_group_store): Likewise.
8529 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
8530 (do_compare_rtx_and_jump): Likewise.
8531 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
8532 Compare align with GET_MODE_ALIGNMENT.
8533 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
8534 (get_inner_reference): Likewise.
8535 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
8536 (expand_assignment): Local vars for alignment now unsigned.
8537 (store_constructor, store_field, expand_expr, do_jump): Likewise.
8538 (do_compare_and_jump): Likewise.
8539 (store_field): Call new function expr_align.
8540 * expr.h (emit_block_move, emit_group_load, emit_group_store):
8541 Alignment arg now unsigned.
8542 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
8543 (do_compare_rtx_and_jump, store_bit_field): Likewise.
8544 (extract_bit_field): Likewise.
8545 * fold-const.c (add_double): Add cast to eliminate signedness warning.
8546 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
8547 (get_best_mode): Alignment arg is unsigned.
8548 * rtl.h (move_by_pieces): Likewise.
8549 * store-layout.c (maximum_field_alignment, set_alignment):
8551 (layout_decl): Alignment arg is now unsigned.
8552 Remove unneeded casts.
8553 (layout_record, layout_union, layout_type): Remove unneeded casts.
8554 Local alignment variables now unsigned.
8555 (get_best_mode): Alignment arg now unsigned.
8556 * tree.c (expr_align): New function.
8557 * tree.h (expr_align): Likewise.
8558 (maximum_field_alignment, set_alignment): Now unsigned.
8559 (get_inner_reference): Alignment argument is now pointer to unsigned.
8560 * varasm.c (assemble_variable): Add cast to eliminate warning.
8562 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
8564 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
8565 then store directly into op0.
8567 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
8568 the CALL_INSN, and emit the note immediately after it.
8570 2000-02-10 Nick Clifton <nickc@cygnus.com>
8572 * config/arm/thumb.md (epilogue): Include a (return) in the
8573 generated insn, and emit it using emit_jump_insn not
8576 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
8578 * function.c (assign_temp): Change zero-sized arrays to size 1.
8579 * integrate.c (expand_inline_function): Do not update
8580 stack_alignment_needed
8581 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
8582 add some sanity checking, remove optimization for function with
8585 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8587 * flow.c (mark_regs_live_at_end): Delete unused variables.
8589 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
8591 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
8592 in macro FRAME_GROWS_DOWNWARD.
8594 * stmt.c (expand_end_bindings): Delete unused variable.
8596 * unroll.c (iteration_info): Mark parameter `loop' with
8599 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8601 * fixinc/server.c (load_data): Return NULL if the marker line is
8603 (run_shell): If load_data returns NULL, retry the command once, in
8606 * configure: Rebuilt.
8608 2000-02-09 Bruce Korb <bkorb@gnu.org>
8610 * gcc/fixincludes: ** DELETED **
8611 * gcc/fixcpp: ** DELETED **
8612 * gcc/fixinc-nt.sed: ** DELETED **
8613 * gcc/just-fixinc: ** DELETED **
8614 * gcc/Makefile.in: Removed out-dated commentary
8615 * gcc/configure.in: Removed fast-fixincludes disablement.
8616 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
8618 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
8619 * function.c (thread_prologue_and_epilogue_insns): Uncomment
8622 2000-02-09 Richard Henderson <rth@cygnus.com>
8624 * jump.c (delete_insn): Don't delete user labels at -O0.
8626 2000-02-09 Robert Lipe <robertl@sco.com>
8628 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
8629 Don't link with HOST_LIBS.
8631 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
8633 * configure.in: Correct --help text for --with-dwarf2.
8634 Put tm-dwarf2.h after other tm files, if it's requested.
8635 * configure: Regenerate.
8636 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
8639 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
8641 * cpplib.h: Provide HASHNODE typedef and forward decl of
8642 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
8643 DEFINITION, struct hashnode, struct macrodef, struct
8644 definition, scan_decls prototype, default defn of
8645 INCLUDE_LEN_FUDGE moved elsewhere.
8647 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
8648 definition, and struct hashnode moved here. Remove the unused
8649 'predefined' field from struct definition. Replace the 'args'
8650 union with its sole member. All users updated (cpphash.c).
8651 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
8652 multiple include guard.
8654 * cpphash.c (hashf): Make static; use better algorithm; drop
8655 HASHSIZE parameter; return an unsigned int.
8656 (cpp_lookup): Drop HASH parameter. PFILE parameter is
8657 used. Calculate HASHSIZE modulus here.
8658 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
8660 (create_definition): Drop PREDEFINITION parameter.
8661 * cpplib.c (do_define): Don't calculate a hash value here.
8662 Don't pass (keyword == NULL) to create_definition.
8664 * scan.h: Prototype scan_decls here.
8665 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
8666 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
8667 callers of cpp_lookup and cpp_install updated.
8669 * cpphash.c (macarg): Hoist all the flag diddling out of the
8671 (macroexpand): ... and out of the loop that calls macarg.
8672 Skip over the initial paren before macro arguments with
8673 cpp_get_non_space_token; point may be some distance before
8674 that paren. Abort if it's not there.
8676 * cpplib.c (parse_clear_mark): Delete function.
8677 (parse_set_mark, parse_goto_mark): Make static.
8678 (ACTIVE_MARK_P): New macro.
8679 (skip_block_comment, skip_line_comment): Do not bump the line
8680 if ACTIVE_MARK_P is true.
8681 (cpp_pop_buffer): The buffer to be popped may not have an
8683 (cpp_get_token): When looking for the initial paren before
8684 macro arguments, only set a mark in a file buffer, Always
8685 return to that mark before proceeding to call macroexpand or
8686 return a NAME token.
8688 * cpplib.h: Remove prototypes of parse_set_mark,
8689 parse_clear_mark, parse_goto_mark.
8690 (struct cpp_options): Rename 'put_out_comments' to
8691 'discard_comments' and invert its sense.
8692 * cppinit.c, cpphash.c, cpplib.c: All users of
8693 put_out_comments changed to use discard_comments, with
8696 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
8698 * function.c (thread_prologue_and_epilogue_insns): Don't delete
8699 the edge from a block that both jumps and falls through to the
8702 2000-02-09 Scott Bambrough <scottb@netwinder.org>
8704 * config/arm/arm.md (movsi): In PIC mode, make sure that a
8705 constant source address is legitimate.
8707 2000-02-09 Philip Blundell <pb@futuretv.com>
8709 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
8712 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
8714 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
8716 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
8718 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
8719 ends with a newline and a NUL. Don't be so clever manipulating
8722 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
8724 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
8725 not to BIGGEST_ALIGNMENT.
8727 2000-02-08 Geoff Keating <geoffk@cygnus.com>
8729 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
8730 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
8731 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
8732 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
8733 * frame.c (execute_cfa_insn): Handle
8734 DW_CFA_GNU_negative_offset_extended.
8736 2000-02-08 Richard Henderson <rth@cygnus.com>
8738 * flow.c (tidy_fallthru_edges): Split out from ...
8739 (delete_unreachable_blocks): ... here.
8740 (find_basic_blocks): Use it.
8742 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8744 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
8746 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
8748 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
8749 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
8750 (fix-header.o): Don't depend on cpphash.h.
8752 * scan.c (hashstr): New function.
8753 * scan.h: Prototype it.
8754 * fix-header.c: Don't include cpphash.h. Use hashstr.
8755 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
8756 hashstr. Report hash table statistics. Add private
8757 definition of xrealloc.
8759 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8761 * i386.h (TARGET_SWITCHES): Fix typo in option name.
8763 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
8765 * function.c (thread_prologue_and_epilogue_insns): Don't replace
8766 jumps with returns unless they are jumps to the fallthru block.
8768 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
8770 * i386.md (addqi3_cc): Fix contraints.
8772 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
8774 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
8776 2000-02-07 Mark Mitchell <mark@codesourcery.com>
8778 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
8779 carriage return after a macro name.
8781 2000-02-07 Fred Fish <fnf@be.com>
8783 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
8784 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
8786 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
8788 * cppfiles.c (deps_output): Count spacers in deps_column.
8790 2000-02-07 Neil Booth <NeilB@earthling.net>
8792 * cppinit.c (initialize_dependency_output): If there is no
8793 suffix, don't try to look for known suffixes. Use strrchr.
8794 (cpp_start_read): Remove duplicate initialization.
8796 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
8798 * calls.c (compute_argument_block_size): New argument
8799 preferred_stack_boundary.
8800 (expand_call): update cfun->preferred_stack_boundary, update call of
8801 compute_argument_block_size
8802 (emit_library_call): Increate cfun->preferred_stack_boundary
8803 to PREFERRED_STACK_BOUNDARY
8804 (emit_library_call_value): Likewise.
8805 * explow.c (allocate_dynamic_stack_spave): Likewise.
8806 * function.c (prepare_function_start): Set
8807 cfun->preferred_stack_boundary
8808 * function.h (struct function): Add preferred_stack_boundary field.
8809 * integrate.c (expand_inline_function): Update
8810 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
8811 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
8812 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
8814 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
8816 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
8817 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
8818 cpp_pedwarn, cpp_pedwarn_with_line,
8819 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
8820 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
8821 v_cpp_error_with_line, v_cpp_warning_with_line,
8822 cpp_message_from_errno, cpp_perror_with_name): Delete.
8824 * cpperror.c (cpp_print_containing_files): Take starting
8826 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
8827 (v_cpp_message): Now called directly by all entry points.
8829 (cpp_pfatal_with_name, cpp_message): Delete.
8830 (cpp_notice_from_errno, cpp_ice): New functions.
8831 (cpp_notice): Is now for reporting error conditions, just
8832 without an associated file.
8833 (cpp_error, cpp_error_with_line): Don't do anything if
8834 opts->inhibit_errors is on.
8835 (cpp_pedwarn_with_file_and_line): Take column argument also.
8837 * cpplib.h: Update prototypes of exported functions.
8838 (struct cpp_options): Add inhibit_errors.
8840 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
8841 non-error messages. Include intl.h.
8843 * cppinit.c, cppmain.c: Likewise. Also, use
8844 cpp_notice_from_errno instead of cpp_perror_with_name or
8845 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
8847 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
8848 report internal errors.
8850 * cpplib.c (do_define): Switch bcopy to memcpy.
8851 Give cpp_pedwarn_with_file_and_line a dummy column argument.
8853 * cpplib.c (copy_rest_of_line): Revert previous change: don't
8854 bail out early if we hit a line comment.
8856 2000-02-06 Richard Henderson <rth@cygnus.com>
8858 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
8859 * basic-block.h: Declare them.
8860 * emit-rtl.h (active_insn_p): New.
8861 (next_active_insn, prev_active_insn): Use it.
8862 * rtl.h: Declare it.
8863 * function.c (emit_return_into_block): New.
8864 (thread_prologue_and_epilogue_insns): Insert return insns instead
8865 of epilogues when possible.
8866 * jump.c (jump_optimize_1): Remove code to insert a return insn
8867 on the fallthru to the exit block.
8869 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
8870 and for non-empty stack frames.
8871 * i386.md (return): Expand to return-pop as needed.
8873 2000-02-06 Richard Henderson <rth@cygnus.com>
8875 * simplify-rtx.c (simplify_relational_operation): Canonicalize
8876 constant to op1 for testing.
8878 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8880 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
8881 (fixuns_truncqfqi2): Use it.
8883 2000-02-06 Richard Henderson <rth@cygnus.com>
8885 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
8888 * i386.md (widening and peepholes): Mask the constant instead of
8891 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
8893 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
8894 input pointer before possibly branching off to the backslash
8896 * cpphash.c (macroexpand): Correctly delete \r escapes when
8897 stringifying parameters.
8898 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
8899 if we can; bail out early if we hit a line comment.
8900 (handle_directive): Treat '# 123' in an .S file just like
8901 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
8902 Return 1 for '# not_a_directive'.
8903 (get_directive_token): Pop macro buffers here, so that
8904 cpp_get_token can't sneakily move past a newline.
8906 (cpp_get_token): goto randomchar if handle_directive returns 0.
8908 * cppalloc.c: Update copyright.
8909 * cpplib.c: Merge all the static function prototypes into one
8911 * cpplib.h: Remove #if 0 block.
8913 * cpperror.c: Remove #ifdef EMACS block.
8914 * cppmain.c: Likewise.
8915 * cpphash.c: Remove #if 0 blocks.
8916 * cppinit.c: Remove #if 0 blocks, and the -lint option.
8917 * cpplib.c: Remove #if 0 blocks and code referencing
8918 pcp_inside_if or for_lint. Remove duplicate error message.
8919 Fix error messages for #else after #else or #elif. Reformat.
8920 Remove archaic TODO list.
8921 * cpplib.h: Remove pcp_inside_if and for_lint flags.
8923 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
8925 * i386/osf1elf.h: Add missing backslash to multiline string.
8927 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8929 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
8931 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8933 * Makefile.in (c-common.o): Depend on $(EXPR_H).
8935 * c-common.c: Include expr.h.
8937 * c-pragma.c (mark_align_stack): Add prototype.
8939 * caller-save.c (add_stored_regs): Likewise.
8941 * combine.c (record_promoted_value): Likewise.
8943 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
8946 * cppinit.c (new_pending_define): Likewise.
8948 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
8950 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
8951 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
8952 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
8953 class_scope_p): Likewise.
8955 * dwarf2out.h (dwarf2out_set_demangle_name_func,
8956 dwarf2out_add_library_unit_info): Likewise.
8958 * ggc.h (ggc_page_print_statistics): Likewise.
8960 * haifa-sched.c (propagate_deps): Likewise.
8962 * reg-stack.c (next_flags_user, record_label_references): Likewise.
8964 * rtl.h (set_stack_check_libfunc): Likewise.
8966 * toplev.h (set_fatal_function): Likewise.
8968 * toplev.c (set_fatal_function): Delete prototype.
8970 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
8972 2000-02-05 Geoff Keating <geoffk@cygnus.com>
8974 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
8975 (FUNC_END): Likewise.
8977 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8979 * caller-save.c: Include tm_p.h.
8981 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8983 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
8985 2000-02-04 Neil Booth <NeilB@earthling.net>
8987 * cccp.c (main): Check 'dir' for a NULL pointer before passing
8990 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
8992 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
8993 * genflags.c: Use the max_operand_1 logic from genemit.c to
8994 calculate how many arguments gen_insn prototypes have. Remove
8995 NO_MD_PROTOTYPES ifdefs from the generated file.
8996 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
8997 file. Cast gen_insn initializers to insn_gen_fn.
8998 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
8999 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
9001 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9003 * fixinc/Makefile.in (HDR): Add machname.h.
9006 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9008 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
9009 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
9010 (c4x_cpu_version): Ditto.
9011 * config/c4x/c4x-protos.h: ... here.
9013 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
9015 * dwarf2out.c (add_abstract_origin_attribute): Don't call
9016 gen_abstract_function on our context if we're a nested function.
9018 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9020 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
9021 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
9023 2000-02-04 Bruce Korb <bkorb@gnu.org>
9025 * fixinc/genfixes(machname.h):
9026 Move the functionality from gen-machine.h into this file.
9027 UNdef MN_NAME_PAT if there are no names to change.
9028 Also, be a little kinder when AutoGen is not present.
9030 * fixinc/Makefile.in(machname.h):
9031 Change the generation rule to use genfixes.
9033 * fixinc/fixfixes.c(machine_name):
9034 machine_name_fix's functionality now dependent upon whether
9035 MN_NAME_PAT is defined.
9037 * fixinc/fixtests.c(machine_name):
9040 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
9043 * fixinc/fixlib.h(mn_get_regexps):
9046 * fixinc/gen-machine.h: DELETED
9048 2000-02-04 Jan Hubicka <jh@suse.cz>
9049 Richard Henderson <rth@cygnus.com>
9051 * i386.c (SAVE_REGS_FIRST): Remove.
9052 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
9053 (ix86_compute_frame_size): Likewise.
9054 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
9055 (ix86_emit_restore_regs): Remove.
9056 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
9057 when a frame pointer is in use.
9058 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
9059 instead of pop to restore a register when profitable; emit leave
9061 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
9063 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
9064 * i386.md (prologue_allocate_stack): Remove.
9065 (epilogue_deallocate_stack): Remove.
9066 (pro_epilogue_adjust_stack): New.
9068 2000-02-04 Richard Henderson <rth@cygnus.com>
9070 * function.c (diddle_return_value): Rework to use a callback function.
9071 Use current_function_return_rtx if it's been set up.
9072 (do_clobber_return_reg, clobber_return_register): New.
9073 (do_use_return_reg, use_return_register): New.
9074 (expand_function_end): Use them.
9075 * stmt.c (expand_null_return): Likewise.
9076 * function.h: Declare them.
9077 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
9078 (mark_reg): Change arguments as appropriate for callback.
9079 * integrate.c (expand_inline_function): Revert 19 Jan change.
9081 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
9083 * tm.texi (Values in Registers): Fix typo: "fo" "for".
9084 (Misc): Say the scheduler, not the Haifa scheduler.
9086 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
9088 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
9089 when in_mem is set. Update all callers.
9091 2000-02-04 Richard Henderson <rth@cygnus.com>
9093 * i386/openbsd.h (INT_ASM_OP): Define.
9095 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
9097 * tm.texi: Fix various typos.
9099 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
9101 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
9102 (MD_STARTFILE_PREFIX_1): New macro.
9104 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
9106 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
9107 destination when needed.
9108 (strmovsi, strsetsi): New expander.
9109 (strmovsi_1, strsetsi_1): New pattern.
9110 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
9111 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
9112 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
9113 * invoke.texi (align-stringops, inline-all-stringops): Document.
9115 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
9117 * i386/netbsd.h (INT_ASM_OP): Define.
9119 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
9121 * cpplib.h (cpp_reader): Add new flag, no_directives.
9122 * cpphash.c (macarg): Set it.
9123 * cpplib.c (handle_directive): If no_directives is on and we
9124 find a directive, issue an error and discard the line.
9126 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
9128 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
9129 FP constants. Add ! TARGET_FPU check for FP constants.
9131 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
9133 * flow.c (find_basic_blocks): Don't kill label_value_list
9135 (cleanup_cfg): Kill it here.
9137 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9139 * expr.c (store_field): Ensure ALIGN is no stricter than the
9142 2000-02-02 Richard Henderson <rth@cygnus.com>
9144 * jump.c (delete_insn): Partially revert 19 Jan change;
9145 don't convert unused code labels to notes at -O0.
9147 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9149 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
9150 split_all_insns to recreate REG_LABEL notes for flow2 pass.
9152 2000-02-01 Richard Henderson <rth@cygnus.com>
9154 * i386.c (general_no_elim_operand): New.
9155 (nonmemory_no_elim_operand): New.
9156 (ix86_expand_move): Copy eliminable operands before a push.
9157 * i386-protos.h: Declare new functions.
9158 * i386.h (CAN_ELIMINATE): Simplify.
9159 (PREDICATE_CODES): Update.
9160 * i386.md (push insns): Don't allow eliminable register operands.
9162 2000-02-01 Richard Henderson <rth@cygnus.com>
9164 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
9165 replace BLKmode with DECL_RTL's mode.
9167 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
9169 * frame.c (find_fde): Convert for loop to do-while so compiler
9170 sees it's always executed at least once.
9171 * libgcc2.c (BBINBUFSIZE): Kill.
9172 (__bb_init_prg): Use fgets.
9173 (__bb_exit_trace_func): Don't paste strings.
9174 * unroll.c (unroll_loop): Initialize unroll_type, not
9175 unroll_number, and tweak logic to match.
9177 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
9179 (ix86_flags_dependant): Likewise. Disentangle control flow.
9180 (ix86_sched_reorder): Break guts out to
9181 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
9182 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
9185 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
9186 use string concatenation. Don't save and restore esi.
9188 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
9189 (machname.h): Remove script to separate file. Use two-step
9190 sequence so target is not created if script fails.
9191 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
9192 identifiers are defined.
9193 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
9194 an empty string, machine_name doesn't need to do anything at
9196 (is_cxx_header): Add more cases to regexp.
9197 * fixinc/fixlib.h: Update prototype.
9198 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
9200 * fixinc/fixincl.c: Define NO_BOGOSITY.
9202 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
9203 (hp_sysfile): Add missing comma.
9204 (math_exception): Put the wrapper ifdefs at the beginning and
9205 the end of the file.
9206 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
9208 2000-02-01 Richard Henderson <rth@cygnus.com>
9210 * sparc.c (fp_zero_operand): Turn into a normal predicate.
9211 Use CONST0_RTX. Update all callers.
9212 * sparc.h, sparc-protos.h: Update accordingly.
9213 * sparc.md (fp mov insns): Use fp_zero_operand directly
9216 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
9218 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
9221 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9223 * Makefile.in (specs.ready): New target.
9224 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
9226 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9228 * fixinc.irix: Use unique filenames for writing into /tmp,
9229 * fixinc.ptx: Likewise.
9230 * fixinc.sco: Likewise.
9231 * fixinc.svr4: Likewise.
9232 * fixinc.winnt: Likewise.
9234 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9236 * tsystem.h: New file.
9238 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
9239 s-crtS): Depend on tsystem.h.
9241 * crtstuff.c: Include tsystem.h.
9242 * frame.c: Likewise.
9243 * libgcc2.c: Likewise.
9245 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
9247 * builtins.c (expand_builtin_memset): Expand for variable sized
9250 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
9252 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
9255 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
9257 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
9259 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
9261 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
9263 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
9264 case 3->2 combining (combining with splitting) in which 2 is CC0
9265 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
9266 checked at the begining of the function with the aid of calling
9267 function 'can_combine_p'.
9269 2000-01-31 Dave Brolley <brolley@redhat.com>
9271 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
9273 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
9275 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
9278 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9280 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
9282 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
9285 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
9287 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
9288 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
9289 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
9290 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
9291 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
9292 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
9293 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
9294 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
9295 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
9296 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
9298 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
9299 Add %(cpp_cpu) to CPP_SPEC.
9301 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
9302 Add %(cc1_cpu) to CC1_SPEC.
9304 2000-01-28 Ulrich Drepper <drepper@redhat.com>
9306 * c-decl.c (c_decode_option): Accept optional numeric argument to
9307 -Wformat and set warn_format.
9308 * c-common.c: Don't emit warning about non-constant printf format
9309 string unless warn_format > 1.
9311 2000-01-30 Richard Henderson <rth@cygnus.com>
9313 * alpha.md (return_internal): Allow after reload only.
9315 2000-01-30 Richard Henderson <rth@cygnus.com>
9317 * i386.c (ix86_compute_frame_size): Omit padding1 if the
9318 local frame size is zero.
9320 2000-01-30 Richard Henderson <rth@cygnus.com>
9322 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
9323 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
9324 * alpha.md (return): Turn into an expander.
9325 (return_internal): Don't use $26.
9326 (epilogue): Emit the return insn.
9328 2000-01-30 Richard Henderson <rth@cygnus.com>
9330 * alpha.md (negtf2, abstf2): Fix word order thinko.
9332 (trunctfsf2): Avoid intermediate rounding errors.
9334 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
9336 * cppfiles.c (find_position): Drop 'colp' argument, return the
9338 (read_and_prescan): Adjust to match. Don't ever manipulate
9339 line or line_base except via find_position.
9341 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
9343 * c-parse.in: Apply Ulrich's changes from c-parse.y.
9344 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
9347 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
9349 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
9350 just print "<command line>". If 'filename' is null or an
9351 empty string, print "<stdin>" for the filename.
9352 * cpplib.c (do_define): Don't print the 'location of the
9353 previous definition' message if we're still parsing the
9355 (cpp_pedwarn_with_file_and_line): Always call
9356 cpp_file_line_for_message.
9358 2000-01-29 Mark Mitchell <mark@codesourcery.com>
9360 * flow.c (mark_regs_live_at_end): Fix typo.
9362 2000-01-28 Ulrich Drepper <drepper@redhat.com>
9364 * c-common.c: Adjust variable names, comments, help strings to c99.
9365 * c-lex.c: Likewise.
9366 * c-parse.y: Likewise.
9367 * c-tree.h: Likewise.
9369 * cpplib.h: Likewise.
9370 * c-decl.c: Likewise. Recognize options with names "*99" as well.
9371 * cppinit.c: Likewise.
9373 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9375 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
9376 * c4x.c: Define the optab rtx values.
9377 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
9378 (c4x_emit_libcall): Use new optab rtx values.
9379 (c4x_emit_libcall3): Likewise.
9380 (c4x_emit_libcall_mulhi): Likewise.
9381 * c4x-protos.h: Add prototypes for optab rtx values and change
9382 prototypes for above c4x_emit_libcall functions.
9384 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9386 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
9388 (c4x_function_prologue): Use regnames intead of float_reg_names when
9390 (c4x_function_epilogue): Likewise.
9391 (c4x_print_operand): Likewise.
9392 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
9393 * c4x.md (set_high): Disable for TARGET_TI.
9395 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9397 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
9398 of framepointer + constant to ADDR_REGS class.
9399 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
9400 * c4x.c (std_or_reg_operand): New function.
9401 * c4x-protos.h (std_or_reg_operand): Prototype it.
9403 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9405 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
9406 object names as libgcc2.c.
9407 * libgcc.S: Use newly defined names.
9409 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
9410 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
9412 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
9413 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
9414 (FLOW_LOOP_LAST_BLOCK): Likewise.
9416 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9418 * basic-block.h (struct loop): New fields 'first' and 'last'.
9419 * flow.c (flow_loops_find): Compute loop->first and loop->last.
9420 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
9421 and loop->last to check for NOTE_INSN_LOOP_END.
9423 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
9425 * predict.c (estimate_probability): Use the new FIRST and LAST fields
9426 of the loop descriptor rather than HEADER and LATCH. Also added
9427 missing break statements as well making some coding style modifications
9428 as suggested by Michael Hayes.
9430 2000-01-28 Richard Henderson <rth@cygnus.com>
9432 * flow.c (find_basic_blocks): Remove do_cleanup argument.
9433 Break out that code ...
9434 (cleanup_cfg): ... here.
9435 (commit_one_edge_insertion): Detect a return instruction being
9436 emitted to an edge. Emit a barrier following; clear fallthru.
9437 (commit_edge_insertions): Verify CFG consistency.
9438 * function.c (expand_function_start): Kill unused variable.
9439 (expand_function_end): Likewise.
9440 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
9441 to insert the epilogue.
9443 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
9444 (delete_null_pointer_checks): Likewise.
9445 * output.h: Likewise.
9446 * reg-stack.c (reg_to_stack): Likewise.
9447 * toplev.c (rest_of_compilation): Likewise. Run
9448 thread_prologue_and_epilogue_insns after rebuilding the CFG.
9450 2000-01-28 Richard Henderson <rth@cygnus.com>
9452 * Makefile.in (flow.o): Revert 24 Jan change.
9453 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
9454 FUNCTION_VALUE result to DECL_RESULT's mode.
9456 * haifa-sched.c (schedule_insns): Don't recompute reg info
9459 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
9461 * configure.in: Make --enable-cpplib the default.
9462 * configure: Regenerate.
9463 * gcc.dg/990119-1.c: No longer expected to fail.
9465 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
9467 * jump.c (jump_optimize_1): Delete an optimization that is also done
9468 by merge_blocks in flow.
9470 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9472 * diagnostic.c (build_message_string, output_printf,
9473 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
9474 (build_location_prefix): Fix non-literal format string.
9476 2000-01-27 Richard Henderson <rth@cygnus.com>
9478 * alpha.md (trunctfsf2): New.
9480 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
9482 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
9484 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
9486 * cppinit.c (cpp_handle_option): Recognize C++ comments under
9488 * cpplib.c (skip_block_comment, skip_line_comment): Split code
9490 (skip_comment) ... here. Permit C++ comments in system
9491 headers always. Warn about C++ comments in user code under
9492 -std=gnu89 -pedantic.
9493 (copy_comment): Use skip_comment.
9494 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
9496 (consider_directive_while_skipping, do_else, do_endif): Call
9497 validate_else unconditionally.
9498 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
9499 text after the conditional in a system header.
9500 * cpplib.h (struct cpp_buffer): Add flag
9501 warned_cplusplus_comments.
9503 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
9505 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
9506 Use unshare_all_rtl_1.
9507 (unshare_all_rtl_again): New function.
9508 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
9510 * function.c (purge_addressof_1): Use unshare_all_rtl_again
9511 rather than resetting the 'used' flags ourself.
9513 * toplev.c (rest_of_compilation): Add current_function_decl
9514 to the unshare_all_rtl call.
9515 * tree.h: Prototype unshare_all_rtl.
9516 * rtl.h: Prototype unshare_all_rtl_again here.
9518 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
9520 * genoutput.c (output_prologue): Include ggc.h in generated
9522 * Makefile.in (insn-output.o): Depends on ggc.h.
9524 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
9525 Hans-Peter Nilsson <hp@bitrange.com>
9527 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
9528 Remove redundant include of xm-ns32k.h.
9529 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
9530 Remove redundant include of xm-ns32k.h.
9531 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
9532 Remove redundant include of xm-ns32k.h.
9533 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
9535 * ns32k/ns32k.h: Update comment on multiply-add instructions.
9536 (TARGET_SWITCHES): Add documentation strings.
9537 (DWARF_FRAME_REGNUM): Override default definition.
9538 (REG_CLASS_CONTENTS): Add comments.
9539 (SUBSET_P): Format to reduce line length.
9540 (SMALL_REGISTER_CLASSES): Make a run time option.
9541 (GO_IF_NONINDEXED_ADDRESS): Reformat.
9542 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
9543 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
9544 (regclass_map): fix typo in comment.
9545 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
9546 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
9547 (trace, reg_or_mem_operand): Delete, unused function.
9548 (calc_address_cost): Small offsets are cheaper than large ones.
9549 (expand_block_move): Generate more efficient code when bytes is a
9550 known at compile time.
9551 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
9552 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
9553 instead of reg_or_mem_operand.
9555 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
9556 not general_operand. Similarly use "=rm" or stricter, not "=g".
9557 For input operands, use stricter constraints than "g" if not
9558 general_operand. Similarly use stricter predicate than
9559 "general_operand" when stricter constraints than "g" are present,
9560 except for matching constraints.
9561 (movstrsi): Use "memory_operand" for operands 0 and 1.
9562 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
9563 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
9564 not reg_or_mem_operand.
9565 (udivmoddisi4): Ditto.
9566 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
9567 Use nonimmediate_operand for operand 3, not register_operand.
9568 (udivmoddiqi4_internal): Use register_operand for operand 1, not
9571 2000-01-27 Fred Fish <fnf@be.com>
9573 * gthr-posix.h: Fix typo; compatibily -> compatibility.
9574 * gthr-single.h: Likewise.
9575 * gthr-solaris.h: Likewise.
9576 * gthr-vxworks.h: Likewise.
9577 * gthr-win32.h: Likewise.
9580 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
9582 * cppinit.c: Add " (cpplib)" to end of string printed by
9585 2000-01-27 Richard Henderson <rth@cygnus.com>
9587 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
9588 testing for a signed comparison.
9589 (alpha_emit_floatuns): New.
9590 * alpha-protos.h: Declare it.
9591 * alpha.md (floatunsdisf2, floatunsdidf2): New.
9592 (extendsfdf2): Tidy.
9594 2000-01-27 Jakub Jelinek <jakub@redhat.com>
9596 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
9597 no -g option specifying debugging format, default to -gstabs+.
9599 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9601 * calls.c (special_function_p): New argument fork_or_exec.
9602 (expand_call): When profile_arc_flag is set and the function
9603 is in the fork_or_exec group, call __bb_fork_func first.
9604 * libgcc2.c, _bb module (__bb_fork_func): New function.
9605 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
9607 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
9608 * tree.h (special_function_p): Update prototype.
9610 2000-01-26 Richard Henderson <rth@cygnus.com>
9612 * alpha.c (alpha_split_tfmode_pair): New.
9613 * alpha-protos.h: Declare it.
9614 * alpha.md (abstf2, negtf2): New.
9615 (movtf insn): Add input G constraint.
9616 (movtf splitter): Use alpha_split_tfmode_pair.
9618 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9620 * i386/cygwin.h: PROTO -> PARAMS.
9622 2000-01-26 Jakub Jelinek <jakub@redhat.com>
9624 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
9625 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
9626 using _Qp_cmp/_Q_cmp and testing the return value.
9627 (print_operand): Call reverse_condition_maybe_unordered if
9628 we are handling CCFPmode or CCFPEmode.
9629 Handle ORDERED, UN* and LTGT comparisons.
9630 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
9631 if not TARGET_HARD_QUAD.
9632 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
9633 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
9634 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
9635 Adjust gen_b* calls so that they reflect return comparison of
9636 sparc_emit_float_lib_cmp.
9638 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9640 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
9641 incoming operands array is large enough for one more operand.
9642 (alpha_emit_xfloating_arith): Likewise.
9644 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
9646 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
9647 file with one line and no trailing newline.
9648 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
9649 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
9650 checking if the match is on the line.
9651 * fixinc/gnu-regex.c: Provide regerror not __regerror.
9653 2000-01-25 Richard Henderson <rth@cygnus.com>
9655 * sparc.c (output_cbranch): Fix accidental squashing of the
9656 fp branch pre-delay nop.
9658 2000-01-25 Richard Henderson <rth@cygnus.com>
9660 * tree.def (UNNE_EXPR): Remove.
9661 * c-typeck.c (build_binary_op): Don't handle it.
9662 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
9664 * rtl.def (UNNE): Remove.
9666 * jump.c (reverse_condition): Update accordingly.
9667 (swap_condition): Likewise.
9668 (comparison_dominates_p): Handle unordered comparisons.
9669 (reverse_condition_maybe_unordered): New.
9670 * rtl.h (reverse_condition_maybe_unordered): Declare.
9672 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
9673 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
9674 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
9675 * sparc.md (bltgt): New.
9677 2000-01-25 Nick Clifton <nickc@redhat.com>
9679 * emit-rtl.c (emit_insn): Only check machine class insns for
9680 improper emission of a RETURN.
9682 2000-01-25 Richard Henderson <rth@cygnus.com>
9684 * Makefile.in (flow.o): Depend on $(EXPR_H).
9685 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
9686 duplicate the structure of diddle_return_value for keeping regs live.
9688 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9690 * loop.c (current_loop_info): Delete.
9691 (consec_sets_invariant_p): Add loop argument, update callers.
9692 (get_condition_for_loop): Likewise.
9693 (count_nonfixed_reads, update_giv_derive): Likewise.
9694 (simplify_giv_expr, general_induction_var): Likewise.
9695 (consec_sets_giv, recombine_givs): Likewise.
9696 (move_movables): Delete loop_start and loop_end arguments,
9697 add loop argument, and update callers.
9698 (find_mem_givs, check_final_value): Likewise.
9699 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
9700 (loop_invariant_p): Rename from invariant_p, add loop argument, and
9702 (basic_induction_var): Add loop argument, delete loop_level argument,
9704 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
9705 add loop argument, and update callers.
9706 (find_splittable_regs, find_splittable_givs): Likewise.
9707 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
9708 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
9709 (biv_total_increment): Delete loop_start and loop_end arguments;
9711 (precondition_loop_p): Delete loop_start and loop_info arguments;
9713 * loop.h (get_condition_for_loop): Add loop argument.
9714 (biv_total_increment): Delete loop_start and loop_end arguments.
9715 (precondition_loop_p): Delete loop_start and loop_info arguments;
9717 (final_biv_value): Delete loop_start and loop_end arguments;
9719 (final_giv_value, back_branch_in_range_p): Likewise.
9721 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
9723 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
9725 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
9727 * Makefile.in (c-gperf.h) : Change the "See" pointer to
9728 point to the new "generated_files" doc.
9730 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
9732 * config/fp-bit.c (_unord_f2): Fix typo.
9734 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
9736 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
9737 c-typeck.c, objc/objc-act.c: Remove all references to obstack
9738 functions obsoleted by GC, such as push_obstacks_nochange,
9739 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
9740 and code which existed only to decide whether or not to call
9741 them. Remove now-unused NESTED argument from start_function;
9742 all callers changed. Do not change behavior based on ggc_p.
9743 The use of the ixp_obstack in c-iterate.c and the util_obstack
9744 in objc/objc-act.c remain; these are not obsoleted by garbage
9746 * c-tree.h: Update prototype for start_function.
9748 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
9750 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
9752 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
9755 2000-01-25 Richard Henderson <rth@cygnus.com>
9757 * sparc-protos.h (select_cc_mode): Declare.
9758 * sparc.c (select_cc_mode): New. Handle unordered compares.
9759 (output_cbranch): Always reverse via code change. Handle
9760 unordered compares. Factor tests and string updates.
9761 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
9762 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
9763 * sparc.md (bunordered, bordered): New.
9764 (bungt, bunlt, buneq, bunge, bunle): New.
9766 2000-01-25 Richard Henderson <rth@cygnus.com>
9768 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
9769 * ggc-common.c (ggc_add_rtx_varray_root): New.
9770 (ggc_mark_rtx_varray): New.
9771 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
9772 functions down below ggc_mark_foo.
9773 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
9775 2000-01-25 Richard Henderson <rth@cygnus.com>
9777 * alpha.c (secondary_reload_class): Don't allocate a secondary
9778 for integral mode memories into FLOAT_REGS. Rearrange the more
9779 complicated memory expression inward.
9781 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
9783 * inclhack.def: Fixes to play nicer with FreeBSD, and
9784 corrections to comments.
9785 (cxx_unready): Add select expression.
9786 (irix_sockaddr): Add bypass expression.
9787 (machine_ansi_h_va_list): New fix.
9788 (stdio_va_list): No need to edit _BSD_VA_LIST_.
9789 Split out addition of "#include <stdarg.h>" to...
9790 (stdio_stdarg_h): ... here.
9791 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
9792 to stdlib.h also. Do not munge _BSD_SIZE_T_.
9793 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
9795 (ultrix_ifdef): Tighten up select expression.
9797 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
9798 re_ct and max_mach to avoid use of shell. Make printed names
9799 match names in inclhack.def. Use static copyright date.
9800 Don't count c_test and test expressions as requiring regex_t
9801 slots. Add some commentary.
9802 * inclhack.tpl: Do not include the 'This script contains N
9803 fixup scripts' line if PROGRAM is defined. Use static
9806 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
9808 * dwarf2out.c: include "varray.h", not dyn-string.h.
9809 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
9810 (addr_const_to_string, addr_to_string): Lose.
9811 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
9812 (struct dw_val_struct): val_addr is now an rtx.
9813 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
9814 (used_rtx_varray): New varray.
9815 (dwarf2out_init): Initialize it.
9817 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
9819 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
9820 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
9821 * Makefile.in (dwarf2out.o): Update dependencies.
9823 2000-01-24 Richard Henderson <rth@cygnus.com>
9825 * i386.c (i386_dwarf_output_addr_const): New.
9826 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
9828 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
9830 * dwarfout.c (output_mem_loc_descriptor): Likewise.
9831 * i386.c (i386_simplify_dwarf_addr): New.
9832 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
9834 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
9836 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
9837 TYPE_STUB_DECL is NULL.
9839 2000-01-24 Richard Henderson <rth@cygnus.com>
9841 * builtins.c (expand_tree_builtin): Move ...
9842 * c-common.c (expand_tree_builtin): ... here.
9844 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9846 * loop.h (LOOP_INFO): New accessor macro.
9847 * basic-block.h (struct loop): Rename field `info' to `aux'.
9848 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
9849 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
9850 * unroll.c (loop_iterations, unroll_loop): Likewise.
9852 2000-01-24 Christopher Faylor <cgf@cygnus.com>
9854 * config/i386/t-cygwin: Accomodate new winsup directory layout
9855 when searching for include files.
9857 2000-01-24 Richard Henderson <rth@cygnus.com>
9859 * rtl.def: Add unordered fp comparisions.
9860 * tree.def: Likewise.
9861 * tree.h: Add ISO C 9x unordered fp comparision builtins.
9863 * builtins.c (expand_tree_builtin): New function.
9864 * c-typeck.c (build_function_call): Use it.
9865 (build_binary_op): Support unordered compares.
9866 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
9868 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
9869 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
9870 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
9871 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
9872 * jump.c (reverse_condition): Don't abort for UNLE etc, but
9874 (swap_condition): Handle unordered compares.
9875 (thread_jumps): Check can_reverse before reversing.
9876 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
9879 * optabs.c (can_compare_p): New argument CODE. Verify branch or
9880 setcc is present before acking for cmp_optab. Update all callers.
9881 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
9882 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
9883 * expr.c (expand_expr): Likewise. Support unordered compares.
9884 (do_jump, do_store_flag): Likewise.
9885 * expr.h (enum libfunc_index): Add unordered compares.
9887 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
9888 (DPBIT_FUNCS): Add _unord_df.
9889 * config/fp-bit.c (_unord_f2): New.
9890 * fp-test.c (main): Try unordered compare builtins.
9892 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
9893 * alpha.c (alpha_comparison_operator): Check mode properly.
9894 (alpha_swapped_comparison_operator): Likewise.
9895 (signed_comparison_operator): Likewise.
9896 (alpha_fp_comparison_operator): New.
9897 (alpha_emit_conditional_branch): Handle unordered compares.
9898 * alpha.h (PREDICATE_CODES): Update.
9899 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
9900 (bunordered, bordered): New.
9902 2000-01-24 Richard Henderson <rth@cygnus.com>
9904 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
9905 * alpha.md (movtf): New expander, insn, and splitter.
9907 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
9909 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
9912 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
9914 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
9915 (FIXED_REGISTERS, CALL_USED_REGISTERS,
9916 REG_ALLOC_ORDER): Add frame pointer
9917 (FRAME_POINTER_REGNUM): Set to 20
9918 (HARD_FRAME_POINTER_REGNUM): New macro.
9919 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
9920 to HARD_FRAME_POINTER.
9921 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
9922 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
9923 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
9924 (HI_REGISTER_NAMES): Add "frame".
9925 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
9926 (debug_reg): Handle FRAME_POINTER_REGNUM.
9927 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
9928 GENERAL_REGS and INDEX_REGS.
9929 * i386.c (SAVED_REGS_FIRST): new macro.
9930 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
9931 (ix86_decompose_address, memory_address_length): Likewise.
9932 (regclass_map): Add frame pointer.
9933 (call_insn_operand): Handle frame_pointer_rtx.
9934 (reg_no_sp_operand): Likewise.
9935 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
9936 (print_operand, legitimize_pic_address): Fix formating.
9937 (ix86_compute_frame_size): Make static, update prototype, new
9938 parameters padding1, padding2, use ix86_nsaved_regs, use
9939 stack_alignment_needed.
9940 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
9941 to HARD_FRAME_POINTER_REGNUM conversions.
9942 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
9943 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
9944 (print_reg): Abort on FRAME_POINTER_REGNUM
9946 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
9948 * i386.h (PREDICATE_CODES): Add aligned_operand.
9949 * i386.c (aligned_operand): New function.
9950 (ix86_aligned_p): Kill.
9951 * i386.md (movhi_1): Emit mov for aligned operands.
9952 (promoting peep2s): Use aligned_operand.
9954 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
9956 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
9957 expression to allow underscores in macro names.
9958 (fix_char_macro_defines): Increment scanning pointer.
9960 2000-01-23 Richard Henderson <rth@cygnus.com>
9962 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
9963 * alpha/osf5.h: New file.
9964 * configure.in (alpha-*-osf5): Add it to tm_file.
9966 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
9968 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
9969 (alpha_emit_xfloating_cvt, function_arg): Declare.
9970 * alpha.c (alpha_emit_conditional_branch): Call
9971 alpha_emit_xfloating_compare for TFmode compares.
9972 (alpha_lookup_xfloating_lib_func): New.
9973 (alpha_compute_xfloating_mode_arg): New.
9974 (alpha_emit_xfloating_libcall): New.
9975 (alpha_emit_xfloating_arith): New.
9976 (alpha_emit_xfloating_compare): New.
9977 (alpha_emit_xfloating_cvt): New.
9978 (print_operand): Add default abort case.
9979 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
9980 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
9981 (BIGGEST_ALIGNMENT): Increase to 128 bits.
9982 (RETURN_IN_MEMORY): True for TF/TCmode.
9983 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
9984 (FUNCTION_ARG): Move to function_arg.
9985 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
9986 (ASM_OUTPUT_LONG_DOUBLE): New.
9987 (ASM_OUTPUT_DOUBLE): Always output bits.
9988 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
9989 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
9990 (extenddftf2, trunctfdf2): New.
9992 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9994 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
9995 * config/sparc/sol2.h: ... here.
9997 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9999 * basic-block.h (struct loops): New field `levels'.
10000 * flow.c (flow_loops_level_compute): Traverse all outer loops.
10001 (flow_loop_level_compute): Initialise level to 1.
10002 (flow_loops_find): Set loops->levels.
10003 (flow_loops_dump): Print loops->levels.
10005 2000-01-23 Richard Henderson <rth@cygnus.com>
10007 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
10008 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
10010 2000-01-23 Richard Henderson <rth@cygnus.com>
10012 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
10013 * i386.h (DBX_REGISTER_NUMBER): Use them.
10014 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
10015 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
10016 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
10017 * i386/sequent.h: Kill incorrect comment.
10019 2000-01-23 Mark Mitchell <mark@codesourcery.com>
10021 * ggc-page.c (struct page_entry): Make `context_depth' an
10023 (struct globals): Likewise.
10025 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
10027 * loop.c (check_dbra_loop): When checking a loop for
10028 reversability, check the source of any stores to ensure
10029 they don't depend on an initial value.
10031 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10033 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
10035 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
10037 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
10038 'pz_scan' into scope of entire function. Only affects
10039 compiles with -DDEBUG.
10041 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
10043 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
10044 section naming to that prior to 2000-01-07 patch.
10045 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
10046 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
10047 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
10048 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
10049 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
10051 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
10053 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
10056 2000-01-21 Jim Wilson <wilson@cygnus.com>
10058 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
10059 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
10061 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
10063 * cpphash.c (change_newlines): Delete function.
10064 (struct argdata): Delete 'newlines' and 'use_count' fields.
10065 (macroexpand): Remove code referencing those fields.
10067 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10069 * loop.c (loops_info): New variable.
10070 (loop_optimize): Allocate loops->array and free it on exit.
10071 Allocate memory for loops_info and assign to each loop,
10073 (find_and_verify_loops): Do not allocate loops->array.
10075 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
10077 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
10079 2000-01-21 Jakub Jelinek <jakub@redhat.com>
10081 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
10082 pseudos if expanded after first flow.
10083 (movdi_pic_label_ref): Likewise.
10085 2000-01-20 Richard Henderson <rth@cygnus.com>
10087 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
10089 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
10091 * Makefile.in (fixinc.sh): Depend on specs.
10092 * fixinc/Makefile.in: Add rule to create machname.h.
10093 (fixlib.o): Depend on machname.h.
10094 * fixinc/fixtests.c (machine_name): New test.
10095 * fixinc/fixfixes.c (machine_name): New fix.
10096 * fixinc/fixlib.c (mn_get_regexps): New helper function for
10097 the machine_name test and fix.
10098 * fixinc/fixlib.h: Prototype it.
10099 * fixinc/inclhack.def (machine_name): Use the C test and fix.
10100 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
10102 * gcc.c (do_spec_1) [case P]: Take care not to create
10103 identifiers with three leading or trailing underscores.
10105 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
10106 (fixincl): Don't specify libraries twice on link line.
10107 (gnu-regex.o): Remove special rule.
10108 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
10109 defined by config.h. Do not define _REGEX_RE_COMP.
10110 (regcomp): Allocate and initialize a fastmap.
10111 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
10113 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
10115 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
10117 2000-01-19 Richard Henderson <rth@cygnus.com>
10119 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
10120 arguments with BB. Update all callers. Tidy line wrapping.
10122 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
10124 * emit-rtl.c (try_split): Return last_insn if we split the
10127 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
10129 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
10130 (ix86_initial_elimination_offset): Declare.
10131 * i386.c (ix86_nsaved_regs): Break out from ...
10132 (ix86_can_use_return_insn_p): ... here.
10133 (ix86_emit_save_regs): Break out from ...
10134 (ix86_expand_prologue): ... here.
10135 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
10137 (ix86_expand_epilogue): ... here.
10138 (ix86_compute_frame_size): Make static, add prototype.
10139 (ix86_initial_elimination_offset): Break out from ...
10140 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
10142 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10144 * recog.h (OUT_FCN): Delete.
10146 * vax.md: Call `get_insn_template' instead of OUT_FCN.
10148 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10150 * cppalloc.c: PROTO -> PARAMS.
10151 * cpperror.c: Likewise.
10152 * cppfiles.c: Likewise.
10153 * cpplib.c: Likewise.
10154 * cpplib.h: Likewise.
10156 * config/arm/arm-protos.h: PROTO -> PARAMS.
10157 * config/arm/arm.c: Likewise.
10158 * config/c4x/c4x.c: Likewise.
10159 * config/fr30/fr30-protos.h: Likewise.
10160 * config/nextstep.c: Likewise.
10161 * config/pa/pa.c: Likewise.
10162 * config/pj/pj.c: Likewise.
10163 * config/rs6000/rs6000.c: Likewise.
10164 * config/v850/v850-protos.h: Likewise.
10165 * config/v850/v850.c: Likewise.
10167 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10169 * i370-protos.h: New file.
10171 * i370.c: Include tm_p.h. Fix compile time warnings.
10173 * i370.h: Move prototypes to i370-protos.h. Fix compile time
10176 * i370.md: Likewise.
10178 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10180 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
10181 (target_isinf, target_isnan, eisnan): Mark parameter with
10183 (eiisinf): Wrap in INFINITY.
10184 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
10185 (ibmtoe): Remove unused variable `rndsav'.
10187 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10189 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
10190 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
10192 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
10194 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
10195 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
10196 (fix_char_macro_defines, fix_char_macro_uses): New functions.
10198 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
10199 Recognize Emacs mode markers also.
10200 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
10201 C++ comments in C++ headers. Call is_cxx_header only if
10204 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
10205 bypass for ncurses.
10206 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
10207 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
10208 ... these, which use the new C fixes.
10209 (math_exception): Escape literal '+' in bypass expression.
10211 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
10214 2000-01-19 Geoff Keating <geoffk@cygnus.com>
10216 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
10219 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10221 * loop.c (loop_optimize): Allocate loop_info structure for each loop
10222 prior to calling scan_loop.
10224 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10226 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
10227 (split_branches, calc_live_regs): Likewise.
10229 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10231 * sh.md (fpu_single, fp_mode): New attributes.
10233 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10235 * loop.c (current_loop_info): Renamed from loop_info_data
10236 and changed to a pointer.
10237 (loop_optimize): Allocate loop_info structure for each loop
10238 and initialise to zero.
10239 (scan_loop): Set current_loop_info.
10241 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
10244 2000-01-19 Richard Henderson <rth@cygnus.com>
10246 * stupid.c: Die die die.
10247 * Makefile.in (OBJS): Remove stupid.o.
10248 (stupid.o): Likewise.
10250 * except.c (emit_eh_context): Don't emit USEs for stupid.
10251 * explow.c (probe_stack_range): Likewise.
10252 * flags.h (obey_regdecls): Remove.
10253 * flow.c (find_basic_blocks): Don't run try_merge_blocks
10254 when not optimizing.
10255 (life_analysis): Limit data collection when not optimizing.
10256 (mark_regs_live_at_end): Always mark the return value registers.
10257 (mark_used_regs): Remove dummy RETURN case.
10258 (print_rtl_with_bb): Don't consult obey_regdecls.
10259 * function.c (use_variable, use_variable_after): Remove.
10260 (assign_parms): Consult optimize not obey_regdecls.
10261 (expand_function_start): Don't emit USEs for stupid.
10262 (expand_function_end): Likewise.
10263 * global.c (build_insn_chain): Export.
10264 * integrate.c (expand_inline_function): Kill return-value USE
10266 * jump.c (jump_optimize_1): Do simple jump optimizations and
10267 dead code elimination.
10268 (calculate_can_reach_end): Remove check_deleted argument.
10269 (delete_insn): Patch out insns even when not optimizing.
10270 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
10271 * rtl.h (use_variable, use_variable_after): Remove declarations.
10272 (build_insn_chain): Declare.
10273 * stmt.c (expand_value_return): Don't emit USEs for stupid.
10274 (expand_end_bindings): Likewise.
10275 (expand_decl): Likewise. Consult optimize not obey_regdecls.
10276 * toplev.c (obey_regdecls): Remove.
10277 (rest_of_compilation): Don't set it. Kill stupid in favour of
10278 flow1, local-alloc, and reload.
10279 (main): Don't set obey_regdecls.
10281 * config/nextstep.c (handle_pragma): Likewise.
10283 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
10285 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
10287 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10289 * alpha-protos.h: PROTO -> PARAMS.
10290 * alpha.c: Likewise.
10292 * h8300.c: Likewise.
10293 * i386-protos.h: Likewise.
10294 * i386.c: Likewise.
10295 * m32r-protos.h: Likewise.
10296 * m32r.c: Likewise.
10297 * mips.c: Likewise.
10298 * mips.md: Likewise.
10299 * gmon-sol2.c: Likewise.
10300 * sparc.c: Likewise.
10302 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10304 * ns32k-protos.h: New file.
10306 * ns32k.c: Fix compile time warnings.
10308 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
10311 * ns32k.md: Likewise.
10313 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10315 * vax-protos.h: New file.
10317 * vax.c: Fix compile time warnings.
10319 * vax.h: Move prototypes to vax-protos.h. Fix compile time
10322 * vax.md: Likewise.
10324 * vaxv.md: Likewise.
10326 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10328 * romp-protos.h: New file.
10330 * romp.c: Fix compile time warnings.
10332 * romp.h: Move prototypes to romp-protos.h. Fix compile time
10335 * romp.md: Likewise.
10337 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10339 * we32k-protos.h: New file.
10341 * we32k.c: Fix compile time warnings.
10343 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
10346 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10348 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
10350 * except.c (eh_regs): Likewise.
10352 * final.c (output_operand): Likewise.
10354 * fold-const.c (target_isinf, target_isnan): Likewise.
10356 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
10358 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
10359 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
10361 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
10362 when optimize_size.
10363 (clrstrsi): Rewrite.
10364 (strsethi, strsetqi): New expanders.
10365 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
10366 (cmpstrsi): Emit compare insn before cmpstrsi_1
10367 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
10368 (strlensi_1): Likewise.
10369 (cmpstrsi_1): Likewise; do not output compare.
10370 (strlen expander): Do not unroll when optimizing for size.
10371 (*subsi3_carry): Rename to subsi3_carry
10372 (addqi3_cc): New pattern.
10373 * i386.h (processor_costs): Add move_ratio field.
10374 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
10375 * i386.c (*_cost): Set move_ratio.
10376 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
10377 (x86_expand_strlensi_1): Rewrite the main loop.
10379 2000-01-17 Richard Henderson <rth@cygnus.com>
10381 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
10382 * cse.c (find_comparison_args, fold_rtx): Likewise.
10383 * integrate.c (subst_constants): Likewise.
10384 * loop.c (get_condition): Likewise.
10386 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
10388 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
10390 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
10392 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
10393 (RESTORE_WARN_FLAGS): Unpack it.
10394 Change semantic type of extension to ttype.
10395 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
10396 * c-parse.y, c-parse.c, objc/objc-parse.y,
10397 objc/objc-parse.c: Regenerate.
10399 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
10401 * fixinc/fixlib.c: Add copyright notice.
10402 (compile_re): New function.
10403 * fixinc/fixlib.h: Prototype compile_re.
10405 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
10406 Use compile_re to compile regular expressions.
10408 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
10409 where the pattern matched.
10411 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
10413 (ultrix_ansi_compat): Likewise.
10414 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
10416 (interactv_add2, interactv_add3): Delete.
10417 (x11_sprintf): Don't use filename glob.
10418 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
10421 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10423 * print-rtl.c: PROTO -> PARAMS.
10424 * real.c: Likewise.
10425 * reg-stack.c: Likewise.
10426 * resource.c: Likewise.
10427 * sdbout.h: Likewise.
10428 * simplify-rtx.c: Likewise.
10429 * stor-layout.c: Likewise.
10430 * stupid.c: Likewise.
10431 * xcoffout.c: Likewise.
10432 * xcoffout.h: Likewise.
10434 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10436 * toplev.c: PROTO -> PARAMS.
10437 * toplev.h: Likewise.
10438 * tree.c: Likewise.
10439 * tree.h: Likewise.
10440 * unroll.c: Likewise.
10441 * varasm.c: Likewise.
10442 * varray.c: Likewise.
10443 * varray.h: Likewise.
10445 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10447 * reload.c: PROTO -> PARAMS.
10448 * reload.h: Likewise.
10449 * reload1.c: Likewise.
10450 * reorg.c: Likewise.
10451 * resource.h: Likewise.
10454 * rtlanal.c: Likewise.
10455 * sbitmap.h: Likewise.
10456 * sdbout.c: Likewise.
10457 * stack.h: Likewise.
10458 * stmt.c: Likewise.
10459 * system.h: Likewise.
10461 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10463 * machmode.h: PROTO -> PARAMS.
10464 * mbchar.h: Likewise.
10465 * mips-tdump.c: Likewise.
10466 * mips-tfile.c: Likewise.
10467 * optabs.c: Likewise.
10468 * output.h: Likewise.
10469 * prefix.c: Likewise.
10470 * profile.c: Likewise.
10471 * protoize.c: Likewise.
10472 * real.h: Likewise.
10473 * recog.c: Likewise.
10474 * recog.h: Likewise.
10475 * regclass.c: Likewise.
10476 * regmove.c: Likewise.
10477 * regs.h: Likewise.
10479 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10481 * ggc-common.c: PROTO -> PARAMS.
10482 * ggc-page.c: Likewise.
10483 * ggc-simple.c: Likewise.
10485 * global.c: Likewise.
10486 * graph.c: Likewise.
10487 * gthr-win32.h: Likewise.
10488 * haifa-sched.c: Likewise.
10489 * halfpic.h: Likewise.
10490 * integrate.c: Likewise.
10491 * integrate.h: Likewise.
10492 * jump.c: Likewise.
10494 * local-alloc.c: Likewise.
10495 * loop.c: Likewise.
10496 * loop.h: Likewise.
10498 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10500 * genattr.c: PROTO -> PARAMS.
10501 * genattrtab.c: Likewise.
10502 * gencheck.c: Likewise.
10503 * gencodes.c: Likewise.
10504 * genconfig.c: Likewise.
10505 * genemit.c: Likewise.
10506 * genextract.c: Likewise.
10507 * genflags.c: Likewise.
10508 * gengenrtl.c: Likewise.
10509 * genopinit.c: Likewise.
10510 * genoutput.c: Likewise.
10511 * genpeep.c: Likewise.
10512 * genrecog.c: Likewise.
10514 2000-01-16 Mark Mitchell <mark@codesourcery.com>
10516 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
10518 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10520 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
10521 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
10522 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
10523 * configure, config.in: Rebuilt.
10525 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
10527 * config/i386/i386.md: Add peephole to merge successive stack
10530 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
10532 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
10533 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
10534 when walking backwards to find all the parameter loads when
10535 the basic block ends in a call.
10537 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10539 * loop.c (this_loop_info): Delete.
10540 (uid_loop): Add in place of uid_loop_num. All uses updated.
10541 (loop_number_exit_count): Delete and replace with entry in loop
10542 structure. All uses updated.
10543 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
10544 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
10545 (loop_outer_loop): Likewise.
10546 (loop_invalid, loop_number_exit_labels): Likewise.
10547 (loop_used_count_register): Delete and replace with entry in
10548 loop_info structure.
10549 (find_and_verify_loops): Add loops argument.
10550 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
10551 loop_end, etc. arguments with loop structure pointer. All callers
10553 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
10554 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
10555 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
10556 (insert_bct): Likewise.
10557 (basic_induction_var): New argument level.
10558 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
10559 vtop, and cont. Add used_count_register.
10560 (uid_loop): Delete declaration.
10561 (loop_number_exit_count): Likewise.
10562 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
10563 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
10564 (loop_outer_loop, loop_used_count_register): Likewise.
10565 (loop_invalid, loop_number_exit_labels): Likewise.
10566 (unroll_loop): Replace loop_start and loop_end arguments
10567 with loop structure pointer.
10568 (loop_precondition_p, loop_iterations): Likewise.
10569 Include basic-block.h.
10570 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
10571 with loop structure pointer.
10572 (loop_precondition_p, loop_iterations): Likewise.
10573 * basic-block.h (struct loop): New entries vtop, cont,
10574 cont_dominator, start, end, top, scan_start, exit_labels,
10576 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
10578 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
10580 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
10582 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
10584 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
10586 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10588 * pdp11-protos.h: New file.
10590 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
10593 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
10596 * pdp11.md: Likewise.
10598 * 2bsd.h: Likewise.
10600 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10602 * mn10300-protos.h: New file.
10604 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
10607 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
10610 * mn10300.md: Likewise.
10612 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10614 * mn10200-protos.h: New file.
10616 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
10619 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
10622 * mn10200.md: Likewise.
10624 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10626 * h8300-protos.h: New file.
10628 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
10631 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
10634 * h8300.md: Likewise.
10636 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10638 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
10639 (asm_emit_uninitialised): Likewise.
10641 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
10643 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
10644 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
10646 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
10648 * config/mips/mips.c (override_options): Don't turn on extra
10649 alignment for mips16.
10651 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
10653 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
10654 eabi, and make sure queued POSTINCREMENT rtl is emitted at
10657 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
10659 * builtins.c (PAD_VARARGS_DOWN): Define.
10660 (std_expand_builtin_va_arg): Use the above macro.
10661 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
10662 * tm.texi (Register Arguments): Document the above macro.
10664 2000-01-14 Nick Clifton <nickc@cygnus.com>
10666 * emit-rtl.c (emit_insn): If checking is enabled, make sure
10667 that this function has not been used to emit a jump
10670 * jump.c (return_jump_1): Cope with being passed a null rtx.
10672 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10674 * eh-common.h: PROTO -> PARAMS.
10675 * emit-rtl.c: Likewise.
10676 * errors.c: Likewise.
10677 * errors.h: Likewise.
10678 * except.c: Likewise.
10679 * except.h: Likewise.
10680 * explow.c: Likewise.
10681 * expmed.c: Likewise.
10682 * expr.c: Likewise.
10683 * expr.h: Likewise.
10684 * final.c: Likewise.
10685 * fix-header.c: Likewise.
10686 * flow.c: Likewise.
10687 * fold-const.c: Likewise.
10688 * function.c: Likewise.
10689 * function.h: Likewise.
10691 * gcov-io.h: Likewise.
10692 * gcov.c: Likewise.
10693 * gcse.c: Likewise.
10695 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10697 * sh-protos.h: New file.
10699 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
10700 Add static prototypes. Fix compile time warnings.
10702 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
10706 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10708 * arc-protos.h: New file.
10710 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
10713 * arc.h: Move prototypes to arc-protos.h. Fix compile time
10716 * arc.md: Likewise.
10718 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10720 * dsp16xx-protos.h: New file.
10722 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
10725 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
10728 * dsp16xx.md: Likewise.
10730 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10732 * convex-protos.h: New file.
10734 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
10737 * convex.h: Move prototypes to convex-protos.h. Fix compile time
10740 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10742 * elxsi-protos.h: New file.
10744 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
10747 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
10750 * elxsi.md: Likewise.
10752 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
10754 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
10755 case for moving from HI/LO/HI_LO_REG. This makes the behavior
10756 match the comment for MIPS16.
10758 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
10760 * flow.c (split_edge): Do not call set_block_for_insn if we
10761 do not have a basic_block_for_insn structure.
10763 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
10764 and destination functions are 32bit aligned within the trampoline.
10765 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
10766 (TRAMPOLINE_ALIGNMENT): Define.
10768 * cse.c (cse_insn): When changing (set (pc) (reg)) to
10769 (set (pc) (label_ref)), verify the change creates a valid insn.
10771 * fr30.c (call_operand): Tighten and rework to match rules for
10772 call RTL expressions.
10773 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
10774 * fr30.md (call patterns): Improve constraints.
10776 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
10778 * fr30.c (fr30_expand_epilogue): Revert last change.
10779 Use emit_jump_insn for the return insn.
10781 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
10782 Stan Cox <scox@cygnus.com>
10784 * predict.c: New file. Preliminary infrastructure work for static
10785 branch prediction and basic block reordering.
10786 * basic-block.h: Add prototype for estimate_probability.
10787 * Makefile.in: Add rules for predict.o.
10789 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
10791 * fixincludes (va_list): Use __not_va_list__ for the dummy.
10792 * fixinc/*: Likewise.
10794 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10796 * cccp.c: PROTO -> PARAMS.
10797 * cexp.y: Likewise.
10798 * collect2.c: Likewise.
10799 * combine.c: Likewise.
10800 * convert.h: Likewise.
10802 * dbxout.c: Likewise.
10803 * dbxout.h: Likewise.
10804 * diagnostic.c: Likewise.
10805 * doprint.c: Likewise.
10806 * dwarf2out.c: Likewise.
10807 * dwarf2out.h: Likewise.
10808 * dwarfout.c: Likewise.
10809 * dwarfout.h: Likewise.
10810 * dyn-string.h: Likewise.
10812 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10814 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
10815 macro conditionals guarding use.
10817 * dwarf2out.c: Include "tm_p.h".
10819 * function.c (locate_and_pad_parm): Mark parameter with
10821 (expand_function_end): Likewise for variable `context'.
10823 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
10825 2000-01-13 Nick Clifton <nickc@cygnus.com>
10827 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
10828 register to prevent compile time warnings.
10830 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
10832 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
10833 to avoid -Wtraditional warning.
10835 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10837 * 1750a-protos.h: New file.
10839 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
10842 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
10845 * 1750a.md: Likewise.
10847 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10849 * a29k-protos.h: New file.
10851 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
10854 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
10857 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10859 * clipper-protos.h: New file.
10861 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
10864 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
10867 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10869 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
10871 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
10873 * configure.in (--enable-new-gxx-abi): New option.
10874 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
10875 * Makefile.in (GXX_ABI_FLAG): New variable.
10876 * configure: Regenerate.
10878 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10880 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
10881 * tm.texi (FORCE_STRUCT_BLK): Document.
10882 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
10884 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
10886 * config/ns32k/ns32k.md: Revert Jan 9 change.
10888 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
10889 to a mode-test, if the predicate is address_operand.
10891 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
10893 * combine.c (if_then_else_cond): Be careful about what kinds
10894 of RTL expressions are passed to operand_subword.
10896 * flow.c (split_edge): If we have to insert a new jump, make
10897 sure to associate it with a basic block.
10899 * flow.c (commit_one_edge_insertion): A block with one successor
10900 can end in a JUMP_INSN that is not a simplejump.
10902 2000-01-12 Robert Lipe <robertl@sco.com>
10904 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
10905 (BUILD_VA_LIST_TYPE): Define.
10906 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
10909 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
10911 * cccp.c (do_pragma): Add cast to (char *).
10913 2000-01-12 Richard Henderson <rth@cygnus.com>
10914 Fred Fish <fnf@be.com>
10915 Jason Merrill <jason@cygnus.com>
10917 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
10918 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
10919 * i386/beos-elf.h, i386/beos-pe.h: New files.
10921 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
10922 * cross-make (SYSTEM_HEADER_DIR): Define using
10923 CROSS_SYSTEM_HEADER_DIR.
10925 * gcc.c (LIBRARY_PATH_ENV): Provide default.
10926 (process_command): Use it.
10927 (main): Likewise. Kill trailing = from env vars.
10928 (build_search_list): Put it back.
10929 * collect2.c (main): Use LIBRARY_PATH_ENV.
10931 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
10932 * toplev.c: Use NEED_DECLARATION_ENVIRON.
10934 * tm.texi (Frame Layout): Document SMALL_STACK.
10935 * c-common.c (c_common_nodes_and_builtins): Check it.
10937 * system.h: Undef alloca after including glibc's <stdlib.h>,
10938 if USE_C_ALLOCA is defined.
10940 * gcc.c (set_input): New fn.
10941 (main): After all input files are compiled, reset the input file
10944 * aclocal.m4 (rindex, index): If already defined, don't attempt
10947 * ginclude/varargs.h: (__va_list__): Define ifndef.
10948 * ginclude/stdarg.h: Likewise.
10950 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
10951 instead of unsigned char.
10953 * hash.h (true, false, boolean): Undef before enum.
10955 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
10956 proper type of "HOST_WIDE_INT *", rather than their natural type of
10957 "unsigned HOST_WIDE_INT *".
10959 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10961 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
10963 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
10965 * regclass.c (choose_hard_reg_mode): Likewise.
10967 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
10969 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
10971 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10973 * c-common.c: PROTO -> PARAMS.
10974 * c-common.h: Likewise.
10975 * c-decl.c: Likewise.
10976 * c-iterate.c: Likewise.
10977 * c-lang.c: Likewise.
10978 * c-lex.c: Likewise.
10979 * c-lex.h: Likewise.
10980 * c-parse.in: Likewise.
10981 * c-pragma.c: Likewise.
10982 * c-pragma.h: Likewise.
10983 * c-tree.h: Likewise.
10984 * c-typeck.c: Likewise.
10985 * objc/objc-act.c: Likewise.
10986 * objc/objc-act.h: Likewise.
10988 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10990 * m88k-protos.h: New file.
10992 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
10995 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
10997 * m88k.md: Likewise.
10999 * tekXD88.h: Likewise.
11001 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11003 * m68k-protos.h: New file.
11005 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
11008 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
11010 * mot3300.h: Likewise.
11012 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
11014 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
11016 (extract_bitlist): Declare bitlen.
11018 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
11020 * cccp.c: Accept and ignore -lang-fortran.
11022 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
11023 qualifiers don't match at any level of pointerness.
11025 2000-01-12 Robert Lipe <robertl@sco.com>
11027 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
11029 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
11031 * reload1.c (reload_reg_unavailable): New static variable.
11032 (reload_reg_free_p): Test it.
11033 (reload_reg_free_for_value_p): Test it instead of
11035 (choose_reload_regs_init): Compute it.
11037 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
11039 * reorg.c (fill_slots_from_thread): Check modified_in_p
11042 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
11044 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
11045 these nodes even if INTERNALS is not set.
11047 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
11049 * gcse.c (delete_null_pointer_checks_1): Cope when
11050 get_condition cannot determine the condition.
11052 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
11054 * toplev.h (set_message_length): Declare.
11056 * diagnostic.c (obstack_chunk_alloc): Define macro.
11057 (obstack_chunk_free): Likewise.
11058 (struct output_buffer): New data structure.
11059 (vmessage): Remove.
11060 (output_maximum_width): New variable.
11061 (doing_line_wrapping, set_message_length, init_output_buffer,
11062 get_output_prefix, output_space_left, emit_output_prefix,
11063 output_newline, output_append, output_puts, dump_output,
11064 vbuild_message_string, build_message_string, build_location_prefix,
11065 voutput_notice, output_printf, line_wrapper_printf,
11066 vline_wrapper_message_with_location): New functions. Implement
11067 automatic line wrapping.
11068 (v_message_with_decl): Make it handle automatic line wrapping.
11069 (v_error_with_file_and_line): Likewise.
11070 (v_warning_with_file_and_line): Likewise.
11071 (announce_function): Likewise.
11072 (default_print_error_function): Likewise.
11074 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
11076 * cpplib.h (struct cpp_options): Change lang_asm to char.
11078 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
11079 done in cpp_handle_option now.
11080 (initialize_builtins): Take out special case code used only by
11082 (cpp_handle_option): Turn off trigraphs and trigraph warnings
11083 if -traditional. Recognize -lang-fortran and set
11084 lang_fortran, also turn off cplusplus_comments.
11085 (print_help): Document -lang-fortran.
11086 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
11087 lang_asm. Ignore all directives other than `# 123 "file"' if
11089 (cpp_get_token): If -traditional, don't recognize directives
11090 unless the # is in column 1.
11091 (parse_string): If lang_fortran or lang_asm, silently
11092 terminate strings ('' or "") at end of line.
11093 Remove unnecessary braces.
11095 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11096 Richard Henderson <rth@cygnus.com>
11098 * resource.c (mark_referenced_resources): Mark a set strict_low_part
11100 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
11101 strict_low_part when possible.
11103 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11105 * alias.c: PROTO -> PARAMS.
11106 * basic-block.h: Likewise.
11107 * bitmap.c: Likewise.
11108 * bitmap.h: Likewise.
11109 * builtins.c: Likewise.
11110 * c-aux-info.c: Likewise.
11111 * caller-save.c: Likewise.
11112 * calls.c: Likewise.
11114 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11116 * Makefile.in (toplev.o): Depend on regs.h.
11118 * output.h (tdesc_section): Prototype.
11120 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
11122 * sdbout.c: Include "tm_p.h".
11124 * toplev.c: Include "regs.h".
11126 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
11128 * unroll.c (unroll_loop): Add EH support.
11130 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11132 * pa-protos.h: New file.
11134 * pa.c: Include recog.h and tm_p.h.
11135 (compute_zdepwi_operands, compute_movstrsi_length,
11136 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
11137 find_addr_reg, import_milli): Add static prototypes.
11138 (pa_cpu_string, pa_arch_string): Constify a char*.
11139 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
11140 (read_only_operand): Add argument `mode'.
11141 (singlemove_string, output_move_double, output_fp_move_double,
11142 output_block_move, output_and, output_ior, output_ascii,
11143 remove_useless_addtr_insns, milli_names, output_mul_insn,
11144 output_div_insn, output_mod_insn, output_arg_descriptor,
11145 output_cbranch, output_bb, output_bvb, output_dbra, ,
11146 output_millicode_call, output_call, hppa_encode_label,
11147 output_parallel_movb, output_parallel_addb): Constify a char*.
11148 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
11149 (output_parallel_addb): Remove extra arg to `constrain_operands'
11151 * pa.h: Move all prototypes to pa-protos.h.
11152 (pa_cpu_string, pa_arch_string): Constify a char*.
11153 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
11155 * pa.md: Call `function_label_operand' with mode argument.
11156 Likewise for `read_only_operand'.
11157 Fix nesting of parens in call to `symbolic_operand'.
11159 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11161 * i860-protos.h: New file.
11163 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
11166 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
11168 * i860.md: Likewise.
11170 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
11172 * i386.md (movstrsi expander): Rewrite.
11173 (movstrsi_1 insn): Deleted.
11174 (strmovhi, strmovqi expander): New expanders.
11175 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
11176 * i386.c (x86_single_stringop): New global variable.
11177 * i386.h (x86_single_stringop): Declare.
11178 (TARGET_SINGLE_STRINGOP): New macro.
11180 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
11182 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
11183 integer vararg POSTINCREMENT before the destination of the jump
11184 for the hard fp case.
11185 (function_arg_pass_by_reference): Pass a copy of CUM to
11188 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
11189 for CONSTANT_ADDRESS_P above while loop for subreg.
11191 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
11193 * flow.c (propagate_block): When a prologue/epilogue insn
11194 is marked dead, unconditionally clear libcall_is_dead and
11195 insn_is_dead, and only dump rtl if warnings aren't being
11198 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
11200 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
11201 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
11202 (FIXED_REGISTERS): Set dirflag as fixed.
11203 (CALL_USED_REGISTERS): Set dirflag as used.
11204 (REG_ALLOC_ORDER): Set dirflag as last one.
11205 (DIRFLAG_REG): New macro.
11206 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
11207 (HI_REGISTER_NAMES): Add dirflag.
11208 (DEBUF_PRINT_REG): Handle dirflag.
11209 * i386.md (type attribute): New cld and str types.
11210 (length_opcode attribute): Set cld and str to 1.
11211 (memory attribute): Set str to unknown - it is not clear from the
11213 (pent_np function unit): Prefixed string operations takes 12 cycles
11214 minimally; cld takes 2 cycles.
11215 (ppro_uops attribute): Str is "many" and cld is "few".
11216 (ppro_p0 unit): Handle cld here.
11217 (k6_alux unit): Handle cld and str types.
11218 (k6_load unit): It is ocupied by str opcodes.
11219 (k6_store unit): It is ocupied by str opcodes.
11220 (athlon_decode): Str is vector decoded.
11221 (athlon_ieu): Handle str and cld.
11222 (cld pattern): New.
11223 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
11224 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
11225 cmpstrsi_nz_1 insn): Do not output cld instruction
11227 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
11229 * gcc.texi (G++ and GCC): Add Java and Chill.
11230 (Bug Critera): Don't list languages.
11232 * gcc.texi (Incompatibilities): No longer claim most C compilers
11235 * gcc.texi (G++ and GCC): Update other front-ends list.
11237 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
11239 * i386.c (ix86_expand_setcc): Fix typo.
11240 (ix86_expand_movcc): Similarly.
11242 * Band-aid until haifa's bitset implementation is nuked.
11243 * haifa-sched.c (extract_bitlst): New parameter for size of the
11244 bitset in bits. All callers changed. Avoid looking at undefined
11245 bits in the bitset.
11246 (edgeset_bitsize): New variable.
11247 (schedule_region): Initialize edgeset_bitsize.
11249 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11251 * Makefile.in (optabs.o): Depend on real.h
11252 (resource.o): Depend on insn-attr.h
11254 * builtins.c (result_vector): Wrap prototype in macro conditions
11255 governing definition and use.
11257 * c-common.c: Include tm_p.h.
11259 * c-lex.c: Likewise.
11261 * elfos.h: Constify a char*.
11263 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
11264 (get_attr_length, shorten_branches, profile_after_prologue): Mark
11265 parameter with ATTRIBUTE_UNUSED.
11267 * fold-const.c (exact_real_inverse): Wrap variable `i' in
11270 * haifa-sched.c (schedule_insns): Mark parameter with
11273 * optabs.c: Include real.h.
11275 * real.h (ereal_atof): Add prototype arguments.
11277 * resource.c: Include insn-attr.h.
11279 * sdbout.c (sdbout_queue_anonymous_type,
11280 sdbout_dequeue_anonymous_types): Wrap in macro
11281 SDB_ALLOW_FORWARD_REFERENCES.
11282 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
11285 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
11287 * stupid.c: Include tm_p.h.
11289 * tree.c (real_value_from_int_cst): Mark parameter with
11292 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11294 * i960-protos.h: New file.
11296 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
11299 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
11301 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11303 * combine.c (expand_field_assignment): Do not discard SUBREGs
11304 while computing nonzero_bits.
11306 2000-01-09 Nick Clifton <nickc@cygnus.com>
11308 * config/arm/arm.c: Fix compile time warnings about signed vs
11309 unsigned constants.
11310 * config/arm/arm.h: Fix compile time warnings about signed vs
11311 unsigned constants.
11313 2000-01-09 Philip Blundell <philb@gnu.org>
11315 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
11316 than `ldm' with only one register.
11317 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
11320 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
11323 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
11325 * config/ns32k/ns32k.md (load or push effective address): Operand 1
11328 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11330 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
11331 assignment used as truth value.
11333 * function.c (assign_temp): Mark parameter `dont_promote' with
11334 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
11335 PROMOTE_FOR_CALL_ONLY.
11337 * genrecog.c (write_subroutine): Mark variable `operands' with
11340 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
11343 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
11344 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
11346 * toplev.c (note_deferral_of_defined_inline_function): Likewise
11349 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11351 * config/c4x.h: Tidy up comments.
11352 * config/c4x.c: Likewise.
11354 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
11356 * fold-const.c (lshift_double, rshift_double): Handle
11357 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
11359 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11361 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
11362 in prepare_function_start().
11364 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
11366 * config/v850/v850.c (expand_epilogue): Interrupt functions no
11367 longer allocate extra stack for function calls.
11369 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11371 * config/c4x/c4x.md (*subqf3_set): Fix typo.
11373 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11375 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
11377 2000-01-07 David Edelsohn <edelsohn@gnu.org>
11379 * rs6000.c (processor_target_table): Add power3 as alias for 630.
11380 * aix43.h: Revert Aug 2 change.
11381 (HAS_INIT_SECTION): Define, not visible yet.
11382 (LD_INIT_SWITCH): Define, not visible yet.
11383 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
11385 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
11387 * collect2.c (main): Expand ld2 size further.
11388 (export_object_lst): Cast assignment to avoid warning.
11389 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
11390 (scan_prog_file, COFF): Do not collect initialization or
11391 finalization functions generated for entire shared object if
11392 init/fini support present.
11394 2000-01-07 Nick Clifton <nickc@cygnus.com>
11396 * config/elfos.h: Tidy up formatting of marcos. Make sure
11397 that .section directives are always prefixed by a tab.
11399 * config/svr4.h: Add #include "elfos.h" and remove duplicate
11402 2000-01-07 Matt Austern <austern@sgi.com>
11404 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
11407 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
11409 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
11411 (crtbegin.o, s-crtS): Likewise.
11413 2000-01-06 Richard Henderson <rth@cygnus.com>
11415 * alpha.md (adddi_2+1): Limit offset such that it will be
11416 loadable with a single ldah+lda pair.
11417 (adddi_2+2): Explicitly fail split if we can't make it work.
11419 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
11421 * protoize.c: Conditionally include unistd.h.
11422 (IS_SAME_PATH_CHAR): New macro.
11423 (IS_SAME_PATH): New macro.
11424 (CPLUS_FILE_SUFFIX): New macro.
11425 (cplus_suffix): New static variable.
11426 (is_abspath): New static function.
11427 (in_system_include_dir): Handle DOS style pathnames.
11428 (file_could_be_converted): Likewise.
11429 (file_normally_convertible): Likewise.
11430 (directory_specified_p): Likewise.
11431 (file_excluded_p): Likewise.
11432 (abspath): Likewise.
11433 (shortpath): Likewise.
11434 (referenced_file_is_newer): Likewise.
11435 (save_def_or_dec): Likewise.
11436 (do_processing): Likewise.
11438 (edit_file): Likewise. Use rename instead of link.
11439 (rename_c_file): Likewise. Don't rename syscalls file.
11440 (munge_compile_params): Define null device for DOS based systems.
11441 (process_aux_info_file): Use binary mode if appliable.
11442 (edit_file): Likewise.
11443 * invoke.texi (Running Protoize): Document C++ suffixes used.
11445 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
11446 IS_DIR_SEPARATOR macros.
11447 * collect2.c: Likewise.
11448 * cppinit.c: Likewise.
11449 * dwarf2out.c: Likewise.
11451 * gcov.c: Likewise.
11452 * prefix.c: Likewise.
11454 * toplev.c: Likewise.
11455 * system.h: And move to here.
11457 * prefix.c (update_path): Fix typo in variable name.
11459 2000-01-06 Richard Henderson <rth@cygnus.com>
11461 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
11462 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
11463 (count_reg_sets_1, count_reg_references): Likewise.
11464 (flow_loops_level_compute): Start counting actual loop depth at 1.
11465 (flow_loops_find): Likewise.
11466 * local-alloc.c (update_equiv_regs): Likewise.
11467 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
11469 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
11471 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
11472 FIRST_PSEUDO_REGISTER
11473 * dwarf2out.c: Don't include frame.h
11474 * dwarfout.c: Likewise
11475 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
11478 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
11480 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
11483 * i386.c (movsf splitter): Fix typo in my last checkin.
11485 2000-01-05 Nick Clifton <nickc@cygnus.com>
11487 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
11488 own definition of this macro.
11489 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
11490 flag_data_sections or UNIQUE_SECTION_P are true.
11492 * tm.texi (UNIQUE_SECTION): Document that it can be called for
11493 unitialised data decls.
11495 * config/i386/winnt.c (i386_pe_unique_section): Cope with
11496 being called for uninitialised data.
11498 * config/i386/interix.c (i386_pe_unique_section): Cope with
11499 being called for uninitialised data.
11501 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
11502 for uninitialised data.
11504 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
11505 for uninitialised data.
11507 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
11508 for uninitialised data.
11510 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
11511 (UNIQUE_SECTION_P): Always generate a unique section if
11512 flag_data_sections is true.
11513 (UNIQUE_SECTION): Also generate unique sections for
11514 uninitialised data.
11515 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
11516 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
11519 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11521 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
11524 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11526 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
11527 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
11528 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
11529 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
11530 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
11532 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
11534 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
11536 * c-decl.c (finish_enum): Simplify code to determine minimum and
11537 maximum values of the enum, and calculate the type. Remove check
11538 for FUNCTION_DECLs in the values list, which cannot happen. Replace
11539 the DECL_INITIAL of each enumeration constant with a copy converted
11540 to the enumeration type. When updating variant types, don't bother
11541 updating the type itself.
11543 * c-typeck.c (build_binary_op): Simplify conditional expressions
11544 when weeding out spurious signed-unsigned warnings. Add new
11545 spurious warning category: if the unsigned quantity is an enum
11546 and its maximum value fits in signed_type(result_type). Update
11548 (build_conditional_expr): Warn here if one alternative is signed
11549 and the other is unsigned.
11551 2000-01-05 Nick Clifton <nickc@cygnus.com>
11553 * config/fr30/fr30.h: Remove extraneous comments.
11555 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
11557 * reload1.c (choose_reload_regs): When disabling a reload, also
11558 set reload_spill_index to -1.
11560 2000-01-04 Joel Sherrill (joel@OARcorp.com>
11562 * configure.in (m68*-*-rtemscoff*): New target, formal name for
11564 (m68*-*-rtemself*): New target.
11565 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
11566 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
11567 (sparc*-*-rtemself*): New target.
11568 (sparc*-*-rtems*): Now elf not a.out.
11569 * config/i386/rtems.h: Include config/rtems.h.
11570 * config/i386/rtemself.h: Include config/rtems.h.
11571 * config/i960/rtems.h: Include config/rtems.h.
11572 * config/m68k/rtems.h: Include config/rtems.h.
11573 * config/m68k/rtemself.h: Include config/rtems.h.
11574 * config/mips/rtems64.h: Include config/rtems.h.
11575 * config/pa/rtems.h: Include config/rtems.h.
11576 * config/rs6000/rtems.h: Include config/rtems.h.
11577 * config/sh/rtems.h: Include config/rtems.h.
11578 * config/sh/rtemself.h: Include config/rtems.h.
11579 * config/sparc/rtems.h: Include config/rtems.h.
11580 * config/sparc/rtemself.h: Include config/rtems.h
11582 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
11584 * final.c (shorten_branches): Correctly compute length of
11585 asms without operands.
11587 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
11589 * configure.in: Add pj target.
11590 * configure: Regenerate.
11591 * config/pj: New directory.
11592 * config/pj/lib1funcs.S: New file.
11593 * config/pj/linux.h: New file.
11594 * config/pj/pj.c: New file.
11595 * config/pj/pj.md: New file.
11596 * config/pj/pjl.h: New file.
11597 * config/pj/t-pj: New file.
11598 * config/pj/xm-pj.h: New file
11600 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
11602 * toplev.c (rest_of_compilation): Run shorten-branches before
11605 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11607 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
11608 macros so that they're consistent with their names.
11609 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
11610 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
11612 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11614 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
11615 modified inadvertently.
11617 2000-01-04 Joel Sherrill <joel@OARcorp.com>
11619 * configure.in (v850*-*-rtems*): New target.
11620 * configure: Regenerate.
11621 * config/v850/rtems.h: New file.
11623 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
11625 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
11626 (__gthread_key_create): Likewise.
11627 (__gthread_key_dtor): Likewise.
11628 (__gthread_once): Fix logic.
11629 (__gthread_key_delete): Cast away constness.
11631 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
11632 * invoke.texi: Document.
11633 * i386/mingw32.h (CPP_SPEC): Use.
11634 (LIBGCC_SPEC): Likewise.
11635 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
11637 2000-01-04 David Edelsohn <edelsohn@gnu.org>
11639 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
11640 (HANDLE_PRAGMA_PACK): Undefine.
11641 (SLOW_UNALIGNED_ACCESS): Define.
11643 2000-01-04 David Edelsohn <edelsohn@gnu.org>
11645 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
11646 to default definition.
11647 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
11648 (store_fixed_bit_field): Call macro with word_mode and alignment.
11649 (extract_bit_field): Call macro with relevant mode and alignment.
11650 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
11651 to default definition.
11652 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
11654 (move_by_pieces_ninsns): Likewise.
11655 (clear_by_pieces): Likewise.
11656 (emit_push_insn): Likewise.
11657 (store_field): Call macro with relevant mode and alignment.
11658 (expand_expr): Likewise.
11659 (expand_expr_unaligned): Likewise.
11661 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
11662 (SLOW_UNALIGNED_ACCESS): Define.
11663 (CASE_VECTOR_MODE): Always use 32-bit offsets.
11664 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
11665 (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
11666 (toc_section): Likewise and .toc pseudo-op.
11667 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
11669 (TEXT_SECTION_ASM_OP): Likewise.
11670 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
11673 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
11674 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
11675 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
11676 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
11677 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
11679 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
11681 * regclass.c: Revert my Jan 4 change to loop cost computation.
11683 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
11685 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
11688 2000-01-04 Stan Cox <scox@cygnus.com>
11690 * haifa-sched.c (build_control_flow): Change unreachable simple
11691 loop test to check if current block has only one predecessor.
11692 (find_rgns): Initialize degree. Use dest as degree index, not src.
11694 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11696 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
11698 * calls.c (expand_call): Likewise for
11699 `old_stack_arg_under_construction'.
11701 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
11703 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
11706 * gcc.c (execute): Likewise for `ut' and `st'.
11708 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
11710 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
11712 * jump.c (jump_optimize_1): Likewise for `temp2'.
11714 * local-alloc.c (block_alloc): Likewise for `r1'.
11716 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
11718 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
11719 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
11721 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
11724 * reload.c (find_reloads): Likewise for `goal_alternative_number'
11725 and `goal_earlyclobber'.
11727 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
11729 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
11731 * stupid.c (stupid_life_analysis): Likewise for `chain'.
11733 * unroll.c (copy_loop_body): Likewise for `copy'.
11735 * varasm.c (output_constructor): Likewise for `byte'.
11737 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
11739 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
11740 all FP constants for constant->reg moves.
11741 (ix86_split_to_parts): Try to convert memory address into immediate
11742 when available in the constant pool.
11743 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
11745 (LEGITIMATE_CONSTANT_P): Return 1.
11746 * i386.md (pushsf): New splitter to convert constant pool memory
11747 reference to immediate.
11748 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
11751 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
11753 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
11754 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
11755 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
11756 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
11757 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
11759 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
11761 * ginclude/stdbool.h: Support compilation as C++.
11763 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11765 * fold-const.c (make_range): Don't try to reverse an unbounded range.
11767 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
11769 * regclass.c (regclass): Properly compute loop_cost. Adjust
11772 * regclass.c: Fix minor whitespace problems.
11774 2000-01-03 Anthony Green <green@cygnus.com>
11776 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
11777 Restore the pic register if required.
11779 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
11781 * c-common.c (format_char_info): Update comment.
11782 (check_format_info): Recognize 'z' modifier in the same way 'Z'
11783 was recognized. Emit warning for formats new in ISO C99 only
11784 if flag_isoc9x is not set.
11786 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
11788 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
11790 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
11792 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
11793 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
11794 (make_compound_operation): Choose cheaper alternative between
11795 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
11797 * regclass.c (op_costs): Remove global variable.
11798 (record_reg_classes): New parameter "op_costs" and "reg_pref".
11799 (record_operand_costs): Break out from ...
11800 (scan_one_insn): ... here.
11801 (dump_regclass): Make dumps nicer.
11802 (regclass): Dump preferrences choosed and changes done during passes.
11804 2000-01-03 Jakub Jelinek <jakub@redhat.com>
11806 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
11808 2000-01-03 Jakub Jelinek <jakub@redhat.com>
11810 * config/sparc/sparc.c (gen_df_reg): New function.
11811 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
11812 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
11813 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
11814 movtf_cc_reg_sp64+1): Use it.
11816 2000-01-02 Mark Mitchell <mark@codesourcery.com>
11818 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
11819 copied LABEL_DECLs.
11821 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
11823 * config/i386/i386.c (ix86_expand_unary_operator): Function
11824 definition made void.
11825 (ix86_expand_binary_operator): Update outdated preceding comment.
11826 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
11829 * config/i386/i386.c (override_options): Fix option-name typo.
11831 2000-01-02 Mark Mitchell <mark@codesourcery.com>
11833 * system.h (CEIL): Define.
11834 * builtins.c (CEIL): Remove.
11835 * expmed.c (CEIL): Likewise.
11836 * expr.c (CEIL): Likewise.
11837 * stor-layout.c (CEIL): Likewise.
11839 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11841 * expr.c (store_constructor_field): Fix typo introduced with last
11844 2000-01-01 Mark Mitchell <mark@codesourcery.com>
11846 * tree.h (BINFO_N_BASETYPES): New macro.
11848 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
11850 * expmed.c (emit_store_flag): Prevent losing a pending stack
11851 adjust the same way we prevent losing queued increments.
11853 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11855 * function.c (update_temp_slot_address): Handle case where sum of
11856 temporary address plus offset in register is a valid address.
11858 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11860 * genrecog.c (change_state) Corrected typo.
11862 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11864 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
11865 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
11866 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
11868 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
11870 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
11871 case, expand GT comparisons correctly. Fix a comment before this
11874 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
11876 * dwarfout.c: Include "frame.h"
11877 * dwarf2out.c: Likewise.
11878 * Makefile.in (dwarfout.o): Depend on frame.h
11879 (dwarf2out.o): Likewise.
11881 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
11883 Restore i386 binary compatibility in Dwarf EH info.
11884 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
11885 value of FIRST_PSEUDO_REGISTER.
11886 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
11887 (struct frame_state): Use DWARF_FRAME_REGISTERS.
11888 * dwarfout.c (output_reg_number): Ditto.
11889 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
11890 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
11892 1999-12-29 Bruce Korb <autogen@linuxbox.com>
11894 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
11895 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
11896 (<hack>_RE_CT): not needed
11897 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
11898 rewritten to scan the file text once only
11899 "template<..." test added
11900 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
11901 (is_cxx_header): declaration added
11902 * fixinc/fixtests.c(is_cxx_header): removed
11903 (apply_fix_p_t): removed
11904 (double_slash_test): is_cxx_header is only called once now
11905 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
11906 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
11907 within the templates.
11908 The borken spelling of "broken" was fixed.
11909 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
11910 The default level depends on FIXINC_DEBUG.
11912 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11914 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
11915 Otherwise provide a declaration for atexit.
11916 (init_dummy): Make sure dummy call to atexit is nevertheless
11917 called with correct number of args.
11919 * frame.c: Update comments referring to other files.
11921 * libgcc2.c: Likewise.
11923 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11925 * cse.c (free_element, get_element): Remove unused prototypes.
11927 * fold-const.c (extract_muldiv): Initialize variables `op0' and
11930 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
11933 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
11935 * configure.in,configure: case arm for mn10200-*-* now sets
11936 float_format=i32 so that float.h will correctly claim "double"
11937 to be 32 bits. Ran autoconf to generate configure from .in file.
11939 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
11941 * pa.md (conditional zero): If op1 is a register, force it into
11942 the same register as op0.
11944 1999-12-28 Mark Mitchell <mark@codesourcery.com>
11946 * tree.h (BINFO_BASETYPES): Improve documentation.
11948 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11950 * configure.in (--enable-checking): Use a more portable `for'
11953 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11955 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
11956 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
11958 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
11961 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
11962 Delete descriptions.
11964 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
11965 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
11966 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
11967 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
11968 xm-svr4.h: Remove all instances of sys_siglist handling.
11970 1999-12-27 Jakub Jelinek <jakub@redhat.com>
11972 * config/sparc/sparc.md (cmp_zero_qi,
11973 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
11974 cmp_zero_extendqidi2_andcc_set): New patterns.
11976 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
11978 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
11979 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
11980 (fpgnulib.c, xfgnulib.c): Add rules.
11981 * m68k/t-mot3300-gas: Likewise.
11983 1999-12-27 Ian Lance Taylor <ian@zembu.com>
11985 * configure.in: Avoid [[ by using test and changequote. Add
11986 changequote required by 1999-12-14 change.
11987 * configure: Rebuild.
11989 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
11991 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
11993 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
11995 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
11996 * flow.c (find_use_as_address): Likewise.
11997 * function.c (fixup_var_refs_1): Likewise.
11998 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
11999 * jump.c (invert_exp, redirect_exp): Likewise.
12000 * loop.c (replace_call_address): Likewise.
12001 (count_nonfixed_reads): Likewise.
12002 * rtlanal.c (modified_between_p): Likewise.
12003 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
12004 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
12005 * unroll.c (remap_split_bivs): Likewise.
12007 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12009 * diagnostic.c (v_message_with_decl): Use .* format specifier
12010 instead of building the format specifier width manually.
12012 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
12013 determining whether to provide a prototype. Remove the
12014 sys_siglist clause in the conditional.
12016 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
12018 * fold-const.c (operand_equal_p): Use memcmp to compare string
12020 Suggested by D. J. Bernstein
12022 1999-12-17 Jakub Jelinek <jakub@redhat.com>
12024 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
12025 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
12027 * config/mips/mips.h (TARGET_64BIT): Likewise.
12028 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
12029 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
12030 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
12031 dsps. Give routines proper names if SI/DI modes are not used.
12032 * longlong.h: Use DWunion instead of DIunion.
12034 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
12036 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
12037 GC_CHECKING, GC_ALWAYS_COLLECT.
12038 * configure.in: Allow --enable-checking with an argument
12039 listing check modes to enable.
12040 * config.in, configure: Rebuilt.
12041 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
12042 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
12043 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
12044 ENABLE_GC_ALWAYS_COLLECT.
12045 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
12047 * tree.h, tree.c: Change ENABLE_CHECKING to
12048 ENABLE_TREE_CHECKING throughout.
12050 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12052 * fold-const.c (fold_truthop): Properly check for FP RHS.
12054 1999-12-24 Mark Mitchell <mark@codesourcery.com>
12056 * toplev.h (note_deferall_of_defined_inline_function): Declare.
12057 * toplev.c (note_deferral_of_defined_inline_function): New
12058 function, split out from ...
12059 (rest_of_compilation): ... here. Use it.
12061 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12063 * expr.c (store_constructor): Don't call clear_storage if size is
12066 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12068 * Makefile.in (toplev.o): Depend on loop.h.
12070 * dwarfout.c: Include tm_p.h.
12072 * emit-rtl.c (restore_emit_status): Mark parameter with
12075 * final.c (final_scan_insn): Likewise.
12077 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
12078 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
12079 flow_depth_first_order_compute, flow_loop_pre_header_find,
12080 flow_loop_tree_node_add, flow_loops_tree_build,
12081 flow_loop_level_compute, flow_loops_level_compute,
12082 flow_loop_outside_edge_p): Add prototypes.
12083 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
12085 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
12086 Mark with ATTRIBUTE_NORETURN.
12088 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
12090 * local-alloc.c (no_conflict_p): Likewise.
12092 * loop.c (insert_bct): Hide definitions of variables with hidden
12094 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
12096 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
12097 with ATTRIBUTE_UNUSED.
12098 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
12099 (reg_scan): Likewise.
12101 * reload.c (find_reloads): Remove unused variables `changed'.
12103 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
12105 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
12106 Remove unused variable `insn'.
12108 * toplev.c: Include loop.h.
12109 (report_file_and_line): Remove unnecessary prototype.
12111 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
12113 * unroll.c (biv_total_increment): Likewise.
12115 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12117 * reload1.c (emit_input_reload_insns): Restore old behaviour
12118 wrt. 'special' reloads.
12120 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
12122 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
12123 hash.h. (cse.c): Don't depend on hashtab.h.
12125 * cse.c: Don't include hashtab.h.
12126 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
12128 * ggc-simple.c: Don't include hash.h.
12130 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
12132 * dwarf2out.c (add_abstract_origin_attribute): Call
12133 gen_abstract_function on our function context.
12135 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
12137 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
12139 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12141 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
12144 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12146 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
12147 constraints to "a!r".
12149 1999-12-21 Mark Mitchell <mark@codesourcery.com>
12151 * Makefile.in (calls.o): Depend on function.h.
12152 (alias.o): Likewise.
12154 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
12156 * reload1.c (emit_reload_insns): Break out code and variables into...
12157 (input_reload_insns, other_input_address_reload_insns,
12158 other_input_reload_insns, input_address_reload_insns,
12159 inpaddr_address_reload_insns, output_reload_insns,
12160 output_address_reload_insns, outaddr_address_reload_insns,
12161 operand_reload_insns, other_operand_reload_insns,
12162 other_output_reload_insns): ... new static variables, and...
12163 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
12164 do_output_reload): ... new functions.
12166 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12168 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
12170 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12172 * md.texi: Add c4x constraints documentation.
12174 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
12176 * config/i386/dgux.c (struct option): Rename to
12177 lang_independent_option.
12178 (struct m_options): Add description field.
12179 (output_options): Rename option type, add sep declaration, output
12180 ix86_cpu_string and ix86_arch_string only if set.
12181 (output_file_start): Rename option type.
12183 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
12185 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
12187 (libgcc2.a): Similarly.
12189 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
12191 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
12192 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
12193 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
12195 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
12197 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
12198 Remove redundant initialization of "frexpon" and "expon".
12200 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12202 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
12204 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
12205 (store_constructor_field, expand_expr): Pass new arg.
12207 1999-12-20 Mark Mitchell <mark@codesourcery.com>
12209 * Makefile.in (explow.o): Depend on function.h.
12211 * stor-layout.c (set_sizetype): Fix typo.
12213 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
12215 * function.c (cfun): Renamed from current_function. All users
12217 * function.h (cfun): Rename declaration as well.
12219 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
12220 to be of type regset_head, not regset. All users changed by adding
12222 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
12224 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12226 * config/c4x/rtems.h: New file.
12228 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
12230 * reload1.c (spill_failure): Take class of failed reload as argument
12231 and print it. Caller changed.
12233 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12235 * rs6000.h (SUBTARGET_DEFAULT): New macro.
12236 (TARGET_SWITCHES): Allow subtargets to default switches.
12237 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
12239 1999-12-18 Mark Mitchell <mark@codesourcery.com>
12241 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
12244 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
12246 * cccp.c (main): Define __STDC_VERSION__ as necessary.
12247 * cppinit.c (cpp_handle_option): Likewise.
12249 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
12250 determine when to define.
12252 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
12254 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
12255 cmove with mismatched test and data modes.
12257 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
12259 * c-typeck.c (c_expand_start_case): Don't warn for long switch
12262 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12264 * alias.c: Minor reformatting.
12265 * flow.c: Likewise.
12266 * regs.h: Likewise.
12267 * stor-layout.c: Likewise.
12268 * fold-const.c: Likewise.
12269 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
12270 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
12272 (size_int_wide): Cache nodes even if garbage collecting.
12273 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
12274 of SAVE_EXPR has no side effects.
12275 * cse.c: Move a comment.
12276 * tree.c: Minor reformatting.
12277 (int_size_in_bytes): Return -1 if constant overflows.
12279 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12281 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
12283 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
12285 * objc/objc-parse.c: Regenerate. This file must be rebuilt
12286 after any change to c-parse.in, even if objc-parse.y didn't
12289 1999-12-18 David S. Miller <davem@redhat.com>
12291 * toplev.c (rest_of_compilation): Restore BLOCK tree
12292 reconstruction and branch shortening changes lost in
12293 December 18th change.
12295 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
12297 * config/arm/linux-elf.h: Change all instances of
12298 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
12299 * config/arm/uclinux-elf.h: Likewise.
12301 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
12303 * toplev.c (notice, vmessage, v_message_with_file_and_line,
12304 v_message_with_decl, file_and_line_for_asm,
12305 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
12306 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
12307 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
12308 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
12309 pfatal_with_name, fatal_io_error, need_error_newline,
12310 last_error_function, last_error_tick, announce_function,
12311 default_print_error_function, print_error_function,
12312 report_error_function, fnotice, error_with_file_and_line,
12313 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
12314 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
12315 warning_with_decl, warning_for_asm, warning, pedwarn,
12316 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
12318 (compile_file): Use fnotice instead of notice. Adjust call.
12320 * diagnostic.c: New file.
12322 * Makefile.in (OBJS): Include diagnostic.o
12323 (diagnostic.o): Define dependence.
12325 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12327 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
12330 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12332 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
12334 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
12336 * fixtests.c (is_cxx_header): New fn, split out of
12338 (else_endif_label): Allow "#endif // comment" in C++ headers,
12339 as determined by is_cxx_header.
12340 * fixfixes.c (else_endif_label_fix): Update comment.
12341 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
12343 * genfixes: Correct double thinko in commandline parsing.
12344 * hackshell.tpl: Generate correct sh syntax for bypass
12347 * inclhack.def (all): Whenever an inserted preprocessor
12348 conditional is split over multiple lines, use double
12349 backslashes in this file so the fixed header will be readable.
12351 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
12352 and add bypass entry for correct version of this header.
12353 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
12354 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
12356 (hpux8_bogus_inlines): New fix, split from...
12357 (ultrix_atof_param) ... here.
12358 (math_expression): Add bypass entry keyed to glibc comment
12359 indicating the problem has been dealt with; disable
12360 unnecessary sed operations; update commentary.
12361 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
12362 add select and bypass entries, simplify shell operation.
12363 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
12365 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
12366 ultrix_atof_param): Add select entry.
12367 (stdio_va_list, sunos_mather_decl): Add bypass entry.
12368 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
12369 comments with the fixes they describe.
12371 * c-parse.in (string action): Do not warn about ANSI string
12372 concatenation in system headers. Affects C parser only.
12373 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
12375 1999-12-16 Jakub Jelinek <jakub@redhat.com>
12377 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
12378 compiling libgcc2 the macro depends always on arch cpp defines.
12380 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
12382 * loop.c (insert_loop_mem): Don't record MEMs from inside
12385 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
12387 * regclass.c (regclass): Do not use flowgraph when not optimizing.
12389 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
12390 notes too, create one when replacement failed, attempt to simplify
12392 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
12393 or REG_EQUIV notes.
12395 1999-12-16 Mark Mitchell <mark@codesourcery.com>
12397 * crtstuff.c (__dso_handle): Declare.
12398 (__cxa_finalize): Likewise.
12399 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
12402 * invoke.texi: Document -fuse-cxa-atexit.
12404 * tree.h (ptr_type_node): Document.
12405 (const_ptr_type_node): Likewise.
12407 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12409 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
12410 (optimize_reg_copy_2): Likewise.
12411 (optimize_reg_copy_3): Likewise.
12412 (fixup_match_2): Likewise.
12413 (regmove_optimize): Likewise.
12414 (fixup_match_1): Liekwise.
12416 * i386.md (HI to SImode promoting splitters): Rewrite.
12417 (pushsf mem peep2): New.
12418 (testhi to andhi peep2): Remove.
12419 * i386.h (x86_promote_QImode): New.
12420 (TARGET_PROMOTE_QImode): New.
12421 (PREDICATE_CODES): Add promotable_binary_operator.
12422 * i386.c (x86_promote_QImode0: New.
12423 (promotable_binary_operator): New.
12424 * i386-protos.h (promotable_binary_operator): New.
12426 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
12428 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
12430 1999-12-16 Mark Mitchell <mark@codesourcery.com>
12432 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
12433 * function.c (insert_block_after_note): Remove.
12434 (retrofit_block): Likewise.
12435 (identify_blocks): Fix indentation.
12436 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
12437 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
12438 * function.h (insert_block_after_note): Remove prototype.
12439 (retrofit_block): Likewise.
12440 * integrate.c (expand_inline_function): Don't call
12441 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
12442 just expand_start_bindings. Use the block_map to remap old
12443 NOTE_BLOCKs to new ones.
12444 (integrate_decl_tree): Keep track of remapped blocks.
12445 * integrate.h (struct inline_remap): Add block_map.
12446 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
12447 NOTE_BLOCK on the notes.
12448 (expand_start_bindings): Rename to ...
12449 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
12450 (expand_end_bindings): Set NOTE_BLOCK.
12451 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
12452 reconstruct the BLOCK tree.
12453 * tree.h (expand_start_bindings): Macroize. Call ...
12454 (expand_start_bindings_and_block): New function.
12456 1999-12-16 Jakub Jelinek <jakub@redhat.com>
12458 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
12459 to match the format.
12461 1999-12-16 David S. Miller <davem@redhat.com>
12463 * expr.c (emit_move_insn_1): Only emit clobbers if one of
12464 the outputs is a SUBREG.
12465 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
12468 * config/sparc/sparc.c (epilogue_renumber): Add default case
12471 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12473 * toplev.c (rest_of_compilation): Run branch shortening after
12476 * regclass.c (loop_depth): Remove
12477 (scan_one_insn): Do not handle LOOP_NOTE insns.
12478 (regclass): Go through basic blocks and set loop_cost
12480 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
12482 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
12484 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12486 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
12487 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
12488 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
12490 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
12492 * loop.c (insert_loop_mem): Ignore memory clobbers.
12494 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
12497 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
12499 * profile.c: Remove redundant #include "output.h".
12501 * h8300.md (HImode preinc peephole): Fix typo.
12503 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
12505 * function.c (retrofit_block): Abort if we don't find a suitable insn.
12506 (insert_block_after_note): Abort if we don't have a previous block.
12507 Remove FN parameter.
12508 * function.h: Adjust.
12510 1999-12-15 Mark Mitchell <mark@codesourcery.com>
12512 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
12513 argument more than once.
12515 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
12517 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
12519 1999-12-15 Jakub Jelinek <jakub@redhat.com>
12521 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
12523 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12525 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
12526 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
12527 update stack_alignment_needed.
12528 (prepare_function_start): Initialize stack_alignment_needed
12529 * function.h (struct function): Add field stack_alignment_needed.
12531 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12533 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
12534 Handle live_throughout / dead_or_set instead of live_before /
12536 (save_call_clobbered_regs): Get register livenessinformation from
12537 chain->live_throughout.
12538 (add_stored_regs): New function.
12539 (insert_restore, insert_save): Add restored / saved registers to
12541 * global.c (reg_dies): New parameter chain.
12542 (reg_becomes_live): Third parameter is regs_set now.
12543 Changed all callers.
12544 (reg_dies): New parameter chain. Changed all callers.
12545 (build_insn_chain): Set live_throughout instead of
12546 live_before / live_after.
12547 * reload.h (struct insn_chain): Replace members live_before /
12548 live_after with live_throughout / dead_or_set.
12549 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
12550 instead of live_before / live_after.
12551 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
12552 (order_regs_for_reload, find_reg, finish_spills): Likewise.
12553 (choose_reload_regs_init): Likewise.
12554 * stupid.c (current_chain, find_clobbered_regs): Delete.
12555 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
12556 instead of chain->live_before / chain->live_after.
12557 (mark_hard_ref): New function.
12558 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
12560 1999-12-15 David S. Miller <davem@redhat.com>
12562 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
12564 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12566 * flow.c (calculate_loop_depth): Make global, remove prototype,
12567 rewrite to use new loop infrastructure.
12568 (find_basic_block): Remove calculate_loop_depth call.
12569 * toplev.c (rest_of_compilation): Call find_basic_block.
12570 * output.h (calculate_loop_depth): Declare.
12572 * flow.c (dump_flow_info): Dump loop_depth.
12573 (flow_loops_nodes_find): Increase loop_depth for basic block in the
12575 (flow_loops_find): Initialize the loop_depth for each basic block.
12577 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
12579 * tree.c (decl_function_context): Handle virtual functions.
12581 * tlink.c (scan_linker_output): Don't look in demangled name when
12582 looking for linker output keywords.
12584 * dwarfout.c (output_type): We can defer namespace-scope classes.
12586 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
12588 * regclass.c (record_reg_classes): Update comment for merging
12589 register class preferences in reg->reg copies. Tighten conditions
12590 for merging register class preferences in reg->reg copies.
12592 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
12594 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
12596 1999-12-14 Geoff Keating <geoffk@cygnus.com>
12598 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
12599 (INIT_SECTION_ASM_OP): Delete.
12600 (FINI_SECTION_ASM_OP): Delete.
12601 (STARTFILE_SPEC): Define to hold just crtbegin.o.
12603 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
12605 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
12606 the abstract origin wasn't emitted.
12608 * dwarf2out.c (class_scope_p): New fn.
12609 (gen_subprogram_die): Use it.
12610 (gen_variable_die): Use it. Tweak logic.
12611 (gen_struct_or_union_type_die): Check context_die to determine
12612 if we're function-local.
12613 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
12615 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
12617 * loop.c (check_dbra_loop): Can't reverse a biv that has
12618 maybe_multiple set.
12620 1999-12-14 Nick Clifton <nickc@cygnus.com>
12622 * config/arm/arm.c: Add support for -mcpu=arm720 command line
12625 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12627 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
12628 for givs made from biv increments.
12630 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
12632 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
12633 * alpha.c (override_options): Recognize -mcpu=ev67.
12634 * alpha.h (CPP_CPU_EV67_SPEC): New.
12635 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
12636 (EXTRA_SPECS): Update.
12638 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
12640 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
12641 appropriate for -lang-c89 and -std=*.
12642 * cppinit.c (cpp_handle_option): Likewise.
12643 (new_pending_define): New, split out from cpp_handle_option.
12644 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
12645 or enable trigraphs for -ansi/-std=*.
12647 * ginclude/stdarg.h (__va_copy): New.
12648 (va_copy): Don't define for C89.
12650 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
12652 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
12653 for long long multiply-accumulate.
12655 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12657 * regclass.c (scan_one_insn): Set loop_cost to 1 when
12658 optimizing for size.
12660 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
12662 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
12663 if something changed. Back out that part of yesterday's changes.
12665 * loop.c (loop_max_reg): New static variable.
12666 (loop_optimize): Initialize it. Eliminate one unnecessary call to
12668 (scan_loop): Call reg_scan_update whenever we may have added new
12669 registers, and update loop_max_reg.
12671 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12673 * regclass.c (record_reg_classes): Do not do the copying preferrencing
12674 when source does not die.
12676 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
12678 1999-12-14 Jakub Jelinek <jakub@redhat.com>
12680 * config/sparc/linux64.h (TARGET_LIVE_G0,
12681 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
12683 * config/sparc/linux.h (TARGET_LIVE_G0,
12684 TARGET_BROKEN_SAVERESTORE): Likewise.
12685 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
12686 TARGET_BROKEN_SAVERESTORE): Likewise.
12688 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
12689 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
12691 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
12692 as sparc64 block profiling register.
12693 * config/sparc/sparc.c (sparc_override_options): Allow block
12694 profiling with -m32.
12695 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
12696 profiling register.
12697 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
12698 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
12699 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
12701 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
12703 * config/sparc/sparc.h: Likewise.
12704 * config/sparc/xm-sysv4-64.h: Likewise.
12705 * config/float-sparc.h: Likewise.
12706 * glimits.h: Likewise.
12707 * longlong.h: Likewise.
12709 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
12710 (ASM_IDENTIFY_GCC): Remove.
12712 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
12714 * combine.c (combine_simplify_rtx): Don't make shared rtl.
12715 (simplify_logical): Likewise.
12717 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
12719 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
12720 * cppfiles.c (INO_T_EQ): Likewise.
12722 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
12724 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
12725 * i386/mingw32.h (LIB_SPEC): Likewise.
12726 (STARTFILE_SPEC): Likewise.
12727 * i386/uwin.h (LIB_SPEC): Likewise.
12728 (STARTFILE_SPEC): Likewise.
12730 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
12731 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
12733 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
12735 * combine.c (combine_simplify_rtx): Fix order of checks for
12736 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
12738 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
12740 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
12741 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
12743 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
12745 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
12747 * regclass.c (inv_reg_alloc_order): New array.
12748 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
12750 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
12751 counted_for_groups, counted_for_nongroups. Add fields rld and
12753 * reload.c (push_secondary_reload): Don't set nongroup field of
12755 (push_reload): Likewise.
12756 (find_reloads): Delete code to compute nongroup fields.
12757 * reload1.c (reload_insn_firstobj): New static variable.
12758 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
12760 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
12761 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
12762 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
12764 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
12766 (struct hard_reg_n_uses): Deleted.
12767 (potential_reload_regs): Deleted.
12768 (init_reload): Initialize spilled_pseudos and pseudos_counted.
12769 (reload): Don't try to allocate reload registers if we already know
12770 we have to make another pass. Call select_reload_regs. Free memory
12771 starting with reload_firstobj when starting another pass.
12772 Don't allocate spilled_pseudos.
12773 (calculate_needs_all_insns): Call copy_reloads for an insn that
12774 needs reloads; don't call calculate_needs.
12775 (spill_cost): New static array.
12776 (used_spill_regs_local): New static variable.
12777 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
12778 to compute potential_reload_regs.
12779 (find_reload_regs): Completely rewritten to use find_reg.
12780 (allocate_reload_reg): Don't test counted_for_groups or
12781 counted_for_nongroups. Lose NOERROR arg and code to give an error;
12782 all cllers changed.
12783 (choose_reload_regs): Add fallback code that uses the existing
12784 register allocation from find_reload_regs.
12786 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
12788 * flow.c (create_edge_list): Cast xmalloc return value.
12790 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
12792 * doprnt.c: Remove incorrect comment closure.
12794 * cse.c: Fix a few minor whitespace goofs.
12796 1999-12-13 Don Bowman <don@pixstream.com>
12798 * mips/vxworks.h: Fix problem with comment termination.
12799 (EXTRA_SECTIONS): Add in_sbss.
12800 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
12802 1999-12-12 David S. Miller <davem@redhat.com>
12804 * cse.c (struct cse_reg_info): Add hash_next member,
12805 reorder rest of struct for better packing on 64-bit
12807 (cse_reg_info_tree): Kill.
12808 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
12809 REGHASH_FN): New custom pow2 hash mechanism.
12811 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
12812 use a pow2 hash table.
12813 (get_cse_reg_info): Rework to use new REGHASH.
12814 (new_basic_block): Likewise, use HASH_SIZE, and inline
12816 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
12817 and inline free_element call.
12818 (lookup_as_function, insert, flush_hash_table, invalidate,
12819 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
12820 invalidate_for_call, use_related_value, find_comparison_args,
12821 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
12822 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
12823 get_element): Kill.
12825 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
12827 * cse.c (cse_basic_block): Free qty_table consistently.
12829 1999-12-12 David S. Miller <davem@redhat.com>
12830 Jakub Jelinek <jakub@redhat.com>
12832 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
12833 SUBREGs by hand, gen the appropriate hard reg directly.
12834 (movtf reg/mem split): Likewise and alter_subreg on destination
12836 (movtf mem/reg split): Similarly.
12837 (movdf_cc_sp64): Rename from hidden pattern.
12838 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
12839 (movtf_cc_sp64, following split): New pattern and splitter.
12840 (movdf_cc_reg_sp64): Rename from hidden pattern.
12841 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
12843 (movtf_cc_reg_sp64, following split): New pattern and splitter.
12845 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
12847 * loop.c (load_mems): Don't hoist written floating point mem
12850 1999-12-12 Mark Mitchell <mark@codesourcery.com>
12852 * except.h (struct eh_queue): Add `next' pointer.
12853 (struct eh_status): Make x_ehqueue a pointer.
12854 (push_ehqueue): Declare.
12855 (pop_ehqueue): Likewise.
12856 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
12858 (expand_fixup_region_end): Likewise.
12859 (expand_leftover_cleanups): Likewise.
12860 (push_ehqueue): Define.
12861 (pop_ehqueue): Likewise.
12862 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
12863 than doing it inline.
12864 (expand_start_all_catch): Adjust now that ehqueue is a
12866 (mark_eh_queue): Mark all level of the queue.
12867 (mark_eh_status): Adjust now that ehqueue is a
12869 (init_eh_for_function): Allocate ehqueue.
12870 (free_eh_status): Free it.
12871 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
12872 expansion for a fixup.
12874 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12876 * gthr-single.h (__gthread_active_p): Add prototype arguments.
12878 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
12879 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
12880 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
12881 function_ptr, getpagesize, __enable_execute_stack,
12882 __enable_execute_stack, __clear_insn_cache,
12883 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
12884 _cleanup, _exit, __default_terminate, __terminate_func,
12885 __terminate, __empty, __throw, new_eh_context,
12886 eh_context_initialize, eh_context_static, eh_context_specific,
12887 get_eh_context, __get_eh_context, __get_eh_info,
12888 init_reg_size_table, eh_threads_initialize,
12889 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
12890 __unwinding_cleanup, throw_helper, __throw, __rethrow,
12891 __pure_virtual): Add prototype arguments.
12892 (__bb_exit_func): Cast a sizeof to long when comparing against one.
12893 Cast a signed value to unsigned long when comparing against one.
12894 (new_eh_context): Wrap in _GTHREADS macro.
12895 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
12897 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
12898 (throw_helper): Initialize variables `handler_p' and `pc_p'.
12900 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12902 * combine.c (record_promoted_value): Remove unused variable
12905 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
12907 * global.c (record_conflicts): Likewise for `j'.
12909 * genoutput.c (output_insn_data): Don't unnecessarily cast away
12912 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12914 * i386-protos.h (output_387_binary_op, output_fix_trunc,
12915 output_fp_compare): Constify a char*.
12917 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
12919 (override_options, ix86_comp_type_attributes, print_operand,
12920 output_387_binary_op, output_fix_trunc, output_fp_compare):
12922 (ix86_sched_reorder): Mark parameter `clock_var' with
12925 * i386.h (DEBUG_PRINT_REG): Constify a char*.
12927 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
12929 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
12930 operand, for use in the Java front-end.
12932 1999-12-10 Ben Collins <bcollins@debian.org>
12934 * configure.in: Fix typo for "-64" in 64bit as check.
12935 * configure: Rebuilt.
12937 1999-12-10 Jakub Jelinek <jakub@redhat.com>
12939 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
12942 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12944 * c-parse.in (string): With -Wtraditional, warn if ANSI string
12945 concatenation is utilized.
12947 * invoke.texi (-Wtraditional): Document it.
12949 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12951 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
12952 Cast a ptrdiff_t to long and pass it to printf with %ld.
12954 1999-12-10 Geoff Keating <geoffk@cygnus.com>
12956 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
12957 68881, we have no 68881 registers at all.
12958 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
12959 value in a 68881 register if it is available.
12961 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
12963 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
12964 for long long multiply-accumulate.
12966 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
12968 * loop.c (insert_loop_mem): Undo last change.
12970 1999-12-10 David S. Miller <davem@redhat.com>
12972 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
12974 * config/sparc/sparc-protos.h: Add them.
12975 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
12976 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
12977 constraints which use those helpers.
12978 (EXTRA_CONSTRAINT): Use this new macro.
12979 * md.texi: Update sparc target constraints documentation.
12980 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
12981 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
12982 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
12983 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
12984 (movsf high/lo_sum split): Rework for new patterns.
12985 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
12987 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
12989 * c-common.c (c_common_nodes_and_builtins):
12990 Create __builtin_ptrdiff_t and __builtin_size_t.
12992 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
12994 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
12996 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12998 * regclass.c (globalize_reg): Re-instate test that allows
12999 fixed registers to be declared as a variable even after functions
13002 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
13004 * i386.md (cpu attribute): Add "athlon".
13005 (athlon_decode): New attribute.
13006 (Athlon scheduling units definitions): New.
13007 (fcmp and shld patterns): Set athlon_decode to "vector".
13008 * i386.c (athlon_cost): New.
13010 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
13011 x86_use_sahf): Set for Athlon.
13012 (x86_use_fiop): Unset for Athlon.
13013 (override_options): Define Athlon alignments and "athlon" name.
13014 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
13015 * i386.h (TARGET_ATHLON): New.
13016 (enum processor_type): Add PROCESSOR_ATHLON.
13017 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
13019 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
13021 1999-12-09 Andreas Jaeger <aj@suse.de>
13023 * loop.c (record_biv): Declare parameter as int.
13025 * config/i386/i386-protos.h: Declare long_memory_operand.
13027 1999-12-09 Mark Mitchell <mark@codesourcery.com>
13029 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
13030 EXPR_WITH_FILE_LOCATION.
13032 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
13034 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
13037 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
13039 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
13042 1999-12-09 Jakub Jelinek <jakub@redhat.com>
13044 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
13045 default on linux64 again.
13046 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
13047 models for multilibing.
13048 * genmultilib: Accept | as alternative separator within a set in
13051 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
13053 * calls.c (precompute_arguments): Make sure initial_value contains
13054 value pseudo which CSE expects.
13055 * cse.c (struct set): New entry orig_src.
13056 (cse_insn): Set it early on entry, use it for libcall EQUIV note
13059 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
13061 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
13063 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
13065 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
13067 1999-12-08 Jakub Jelinek <jakub@redhat.com>
13069 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
13070 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
13072 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
13075 * longlong.h: Merge in changes from glibc.
13076 Also don't clobber %g2 register in 32bit SPARC assembly, so that
13077 -mno-app-regs libgcc can be compiled.
13078 * libgcc2.c: Add defines so that the updated longlong.h
13079 can be used in libgcc2.a. Also, make sure on most architectures
13080 (at least on all which have optimized code in longlong.h defined
13081 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
13083 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13085 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
13086 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
13087 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
13089 * configure: Rebuilt.
13091 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
13093 * alpha.c (secondary_reload_class): For !BWX, sub-simode
13094 outputs require a register.
13096 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
13098 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
13099 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
13100 functions like dptoul will be resolved.
13101 (libgcc2.a): Make sure that the object files from DPBIT are named
13102 differently (prefix `_dp') from those that would be coming from
13105 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
13107 * configure.in: When target is sparc* and tm_file contains 64,
13108 test for 64bit support in assembler. If not supported, remove
13109 sparc/t-sol2-64 from target-dependent Makefile fragments.
13110 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
13111 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
13112 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
13113 * acconfig.h (AS_SPARC64_FLAG): Added.
13114 * configure, config.in: Rebuilt.
13115 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
13116 support. Use AS_SPARC64_FLAG.
13118 1999-12-07 Jakub Jelinek <jakub@redhat.com>
13120 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
13121 suitable for holding OFmode values so that gcc works with complex
13123 (hard_64bit_mode_classes): Likewise.
13125 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
13126 so that it is actually matched.
13127 (sethi_di_medlow): Likewise.
13129 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
13130 as legitimate constant if -mvis.
13131 * config/sparc/sparc.md (movtf): Likewise.
13132 (clear_sf): Use const_double_operand.
13133 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
13135 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
13136 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
13137 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
13138 routines, _Qp_* cannot be handled like that now.
13139 (INIT_TARGET_OPTABS): Likewise.
13140 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
13141 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
13142 sparc_emit_float_lib_cmp if ARCH64 and soft float.
13143 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
13144 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
13145 divtf3, sqrttf3): New expanders.
13146 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
13147 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
13148 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
13151 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
13152 * configure: Rebuilt.
13153 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
13154 -mcpu is given and we're doing 64bit compiles.
13156 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
13158 * loop.h (struct induction): Add multi_insn_incr.
13159 * loop.c (basic_induction_var): New multi_insn_incr argument.
13160 Set it if we search back through previous insns for the biv.
13161 (record_biv): New multi_insn_incr argument; fill in struct induction.
13162 (strength_reduce): Discard an iv with multiple bivs, any of
13163 which require multiple insns to increment.
13165 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
13167 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
13170 1999-12-06 David S. Miller <davem@redhat.com>
13172 * combine.c (check_promoted_subreg): Do not conditionalize this upon
13173 PROMOTE_FUNCTION_RETURN.
13175 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
13177 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
13178 and handle REG_UNUSED note on insn.
13180 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
13181 inner_mask instead of mask.
13183 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
13185 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
13186 zero if there was an error.
13188 1999-12-06 Jakub Jelinek <jakub@redhat.com>
13190 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
13193 * longlong.h: Fix clobbers in SPARC asm statements.
13195 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
13196 valid sethi operations when TARGET_ARCH64.
13198 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
13199 always use move_by_pieces to avoid infinite recursion.
13200 (restore_fixed_argument_area): Likewise.
13202 * combine.c (check_promoted_subreg, record_promoted_value): New
13204 (combine_instructions): Use them to retain nonzero and sign bit
13205 information after SUBREGs are eliminated by optimizations in
13206 this pass if PROMOTE_FUNCTION_RETURN.
13208 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
13209 .register declaration. Don't use variables with __ prefixes.
13211 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13213 * fold-const.c (optimize_bit_field_compare): Only use one mode
13214 for both RHS and LHS in non-constant case.
13216 1999-12-06 Nathan Sidwell <nathan@acm.org>
13218 * frame.c (start_fde_sort): Only allocate erratic array, if
13219 linear one was allocated. Return allocated flag.
13220 (fde_insert): Only insert, if there's a valid array.
13221 (fde_end_sort): Split, sort and merge if linear and erratic
13222 arrays exist, else just sort linear one.
13223 (search_fdes): New function. Linear search through original fde
13225 (frame_init): Permit multiple initializations. Cope with
13227 (find_fde): Fallback on linear search, if failed to sort array.
13228 (__deregister_frame_info): Only free sorted array, if we
13231 1999-12-06 Jakub Jelinek <jakub@redhat.com>
13233 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
13235 1999-12-05 Jakub Jelinek <jakub@redhat.com>
13237 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
13239 1999-12-05 Mark Mitchell <mark@codesourcery.com>
13241 * tree.h (special_function_p): Declare.
13242 * calls.c (special_function_p): Make it global. Don't take `name'
13243 as a parameter. Fix typo in 1999-11-28 change.
13244 (expand_cal): Adjust.
13246 1999-12-04 Mark Mitchell <mark@codesourcery.com>
13248 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
13249 * tree.h (EXPR_WFL_FILENAME): Define in terms of
13250 EXPR_WFL_FILENAME_NODE.
13251 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
13253 * print-tree.c (print_note): Print TREE_PRIVATE and
13256 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
13257 the original die cannot be found.
13259 * varray.h (varray_head_tag): Add elements_used.
13260 (VARRAY_PUSH): New macro.
13261 (VARRAY_POP): Likewise.
13262 (VARRAY_TOP): Likewise.
13263 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
13265 * varray.c (varray_init): Initialize elements_used.
13266 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
13267 (INTEGRATE_H): New variable.
13268 (integrate.o): Depend on INTEGRATE_H.
13269 (unroll.o): Likewise.
13271 * function.h (insert_block_after_note): Declare.
13272 * function.c (insert_block_after_note): Split out from ...
13273 (retrofit_block): ... here.
13275 * stmt.c (expand_fixup): Fix typo in comment.
13277 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
13279 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
13280 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
13281 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
13282 (regmove_optimize, fixup_match_1): Likewise.
13284 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13286 * flow.c (flow_loops_dump): Add missing argument when calling
13287 flow_loop_nested_p.
13289 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
13290 Greg McGary <gkm@gnu.org>
13292 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
13293 (init_attributes): Add A_NO_LIMIT_STACK.
13294 (decl_attributes): Handle A_NO_LIMIT_STACK.
13295 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
13296 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
13297 Handle stack bounds checking.
13298 * flags.h (flag_stack_check): Use the word 'probe' rather than
13299 'check', because the flag doesn't actually cause any checking to
13301 * function.c (expand_function_start): Set
13302 current_function_limit_stack.
13303 * function.h (struct function): Add limit_stack.
13304 (current_function_limit_stack): Define.
13305 * invoke.texi (Code Gen Options): Document new options.
13306 * rtl.h: Declare stack_limit_rtx.
13307 * toplev.c (stack_limit_rtx): New variable.
13308 (decode_f_option): Handle new options -fstack-limit-register=REG,
13309 -fstack-limit-symbol=IDENT, -fno-stack-limit.
13310 (main): Add stack_limit_rtx as GC root.
13311 * tree.h (DECL_NO_LIMIT_STACK): New macro.
13312 (struct tree_decl): New member no_limit_stack.
13314 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
13316 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
13317 (conditional_trap+1): Get new mnemonic correct.
13318 (conditional_trap+2): New pattern for DImode traps.
13320 * config/m68k/m68k.c (output_function_prologue): Handle
13322 * config/m68k/m68k.md (trap): New insn.
13323 (conditional_trap): New insn.
13324 * md.texi (Standard Names): Document `trap' and
13325 `conditional_trap'.
13326 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
13327 so a cc0 setter doesn't get emitted at some random place in the
13330 * config/i960/i960.md (trap): New insn.
13331 (conditional_trap): New expander.
13332 (conditional_trap+1, conditional_trap+2): New insns for signed
13333 and unsigned cases.
13334 * config/i960/i960.c (i960_function_prologue): Use
13335 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
13337 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
13338 Geoffrey Keating <geoffk@cygnus.com>
13340 * flags.h (warn_padded, warn_packed): Add global var decls.
13341 * toplev.c (warn_padded, warn_packed): Add global var defns.
13342 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
13343 * stor-layout.c (layout_record): Add local variable `type'
13344 to hold often-used TREE_TYPE (field). Add local variable
13345 `unpacked_align' to hold alignment that would be in force
13346 if no `packed' attribute were present. Warn if `packed' attribute
13347 is unnecessary, or even harmful. Warn when gcc inserts padding
13348 to satisfy alignment requirements of members. Use NULL_TREE
13349 when checking whether var_size is set.
13350 * invoke.texi: Document new flags.
13352 1999-12-03 Nathan Sidwell <nathan@acm.org>
13354 * frame.c (fde_split): Reimplement to avoid variable sized array.
13356 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13358 * combine.c (try_combine): Before fixing up LOG_LINKS for the
13359 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
13361 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
13363 * invoke.texi: Document the mips option -mno-crt0
13365 1999-12-02 Mike Karr <mkarr@mathworks.com>
13367 * cccp.c (argdata): Added free_ptr member.
13368 (macroexpand): Initialize free_ptr of each argument. When an
13369 argument's buffers are freed, if the argument's free_ptr corresponds
13370 to a buffer on the input stack, then return the free_ptr to that stack
13371 frame, otherwise, free it.
13372 (macarg): If an argument begins and ends on the same input stack level,
13373 then transfer the free_ptr of that buffer to the argument in case
13374 the stack is popped during the processing of a subsequent argument.
13376 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
13378 * loop.c (note_reg_stored): New function.
13379 (struct note_reg_stored_arg): New structure.
13380 (try_copy_prop): Change to be more conservative; only replace within
13381 one extended basic block and stop replacing if a store to the
13382 replacement reg is seen.
13384 1999-12-02 Nick Clifton <nickc@cygnus.com>
13386 * config/fp-bit.c: Initialise all fields of the NAN
13389 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
13392 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
13394 * i386.md (extend?f?f2): Force the input into a register, not
13397 1999-12-01 Jakub Jelinek <jakub@redhat.com>
13399 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
13401 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
13402 alternative because setting up 64bit constant is usually costly,
13403 especially when reload is in progress or completed.
13404 (movdf_const_intreg_sp64): Likewise.
13405 (movdf_const_intreg split): Fix building up constants when
13406 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
13408 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
13410 * combine.c (if_then_else_cond): Use const_true_rtx instead of
13411 const1_rtx for return values in EQ/NE comparison against (const_int 0)
13414 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
13415 (asm_file_start): Emit .am33 into assembly file when compiling for
13417 (print_operand_address): Handle POST_INC addresses.
13418 (can_use_return_insn, initial_offset): Check AM33 registers too.
13419 (expand_prologue): Check & save AM33 registers too.
13420 (expand_epilogue): Similarly.
13421 (secondary_reload_class): Handle AM33 specific secondary reloads.
13422 (output_tst): Emit efficient code for the AM33 too.
13423 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
13424 (TARGET_SWITCHES): Add -mam33 switch.
13425 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
13426 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
13427 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
13428 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
13429 (enum reg_class, REG_CLASS_NAMES): Likewise.
13430 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
13431 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
13432 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
13433 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
13434 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
13435 (HAVE_POST_INCREMENT): Define.
13436 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
13437 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
13438 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
13439 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
13440 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
13441 (zero_extend to SI from QI/HI): Likewise.
13442 (sign_extend to SI from QI/HI): Likewise.
13443 (mulsidi3, umulsidi3): New patterns for the AM33.
13444 (tstsi with zero extension from QI/HI): Add AM33 variants.
13445 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
13446 (return_internal_regs, store_movm): Handle new AM33 registers.
13447 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
13448 (LIBGCC, INSTALL_LIBGCC): Likewise.
13449 * invoke.texi: Document new flags.
13451 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
13453 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
13454 (addsi3_carry): Likewise.
13455 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
13456 (sbbsi3_carry): Likewise.
13457 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
13458 (mulhi3): Likewise.
13459 (test?i_1): Ensure that only one operand is memory.
13460 (conditional move patterns): likewise.
13461 (shift and rotate patterns): Rewrite to expander, add
13462 "binary_operator_ok" to the condition.
13464 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
13465 * i386.h (procesor_costs): Add movzbl_load field.
13466 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
13467 non-Q registers, accept DImode registers anywhere.
13469 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
13470 * i386.c (*_cost): Set value for movxbl_load field.
13472 * (addsi): New add to lea splitter.
13473 (ashlsi): Likewise.
13474 (lea to add/shift peep2): New.
13476 1999-12-01 Mark Salter <msalter@cygnus.com>
13478 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
13479 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
13480 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
13482 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
13484 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
13485 * i386.md (movsi_xor): New.
13487 (movsi_1, movhi_1, movqi_1): Remove.
13488 (movsi_2): Rename to movsi_1.
13489 (movhi_2): Rename to movhi_1.
13490 (movqi_2): Rename to movqi_1.
13491 (movdi_1): Remove; remove splitter.
13492 (movdi_2): Rename to movdi_1.
13493 (divmodsi4 splitter): Do not emit clobbers for move patterns.
13494 (long move peep2): Do not create QI or HI mode mov0s
13495 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
13497 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
13500 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
13501 (abs?f2_if): Likewise.
13503 1999-11-30 Alex Samuel <samuel@codesourcery.com>
13505 * ggc.h (ggc_test_and_set_mark): New macro.
13506 (ggc_mark_rtx): Use ggc_test_and_set_mark.
13507 (ggc_mark_tree): Likewise.
13508 (ggc_mark_rtvec): Likewise.
13509 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
13511 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
13513 * dwarf2out.c (scope_die_for): Only handle types. Only search for
13515 (decl_scope_table): Just an array of trees now.
13516 (push_decl_scope): Simplify.
13517 (dwarf2out_init): Adjust.
13518 (local_scope_p): New fn.
13519 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
13520 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
13521 (gen_typedef_die): Likewise.
13522 (gen_lexical_block_die): Don't call push/pop_decl_scope.
13523 (gen_inlined_subroutine_die): Likewise.
13524 (gen_abstract_function): Set current_function_decl temporarily.
13525 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
13526 Handle block extern declarations. Don't call push/pop_decl_scope.
13527 (gen_decl_die): Fix logic for block externs.
13529 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13531 * calls.c (special_function_p): Remove `realloc' and add `strdup'
13532 to the list of functions which have attribute malloc by default.
13534 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13536 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
13537 integer constant does not match the traditional type, limit the
13538 warnings to cases where the base of the type is ten.
13540 * invoke.texi (-Wtraditional): Document it.
13542 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13544 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
13545 * rs6000.md: Only access a CONST_INT with INTVAL
13547 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
13549 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
13550 (compute_nearerout): Likewise.
13551 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
13552 size_t to unsigned long for formatting.
13554 1999-11-30 Jakub Jelinek <jakub@redhat.com>
13556 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
13557 Allow the user to override call-used/fixed state of %g2-5
13558 registers from the command line (with the exception of %g4 for
13560 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
13561 there is a higher chance of having a leaf function.
13562 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
13563 for ARCH64 which has %ccr register.
13564 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
13566 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
13567 insn accept into delay slot any insn which does not use %[ol]
13568 registers. Accept some LO_SUM and shift left by 1 for the normal
13570 (output_function_epilogue): Likewise.
13571 (epilogue_renumber): Added argument which inhibits any renumbering
13572 and just tests if the rtx does not use any %[ol] registers.
13573 (output_return): Reflect above change.
13575 1999-11-30 Jakub Jelinek <jakub@redhat.com>
13577 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
13578 aggregate passing for sizes <= 16 bytes.
13580 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
13582 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
13583 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
13584 * reload.c (find_dummy_reload): Likewise.
13585 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
13586 * reload1.c (reload_as_needed): Likewise.
13587 * stupid.c (stupid_find_reg): Likewise.
13588 * tm.texi (Obsolete Register Macros): Delete section.
13589 * gmicro.h: Remove all traces of the two macros.
13590 * i386.h: Likewise.
13591 * m88k.h: Likewise.
13592 * mips.h: Likewise.
13594 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
13596 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
13597 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
13598 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
13599 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
13600 units for the sparclite86x chip.
13601 (flush): Revert October 14th change; add SImode specifically.
13602 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
13603 * invoke.texi: Document it.
13605 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
13607 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
13608 psimode_truncation_operand.
13610 * config/mn10200/mn10200.c (psimode_truncation_operand): New
13611 function. Return true if the operand is either a MEM valid
13612 for a PSImode address or not a MEM at all.
13614 * config/mn10200/mn10200.md (truncsipsi2): Use
13615 psimode_truncation_operand.
13617 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13619 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
13620 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
13621 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
13622 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
13623 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
13624 (flow_loop_level_compute, low_loops_level_compute): Likewise.
13625 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
13626 * basic-block.h: Protect from multiple inclusion.
13627 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
13628 (struct loops, struct loop): Define structures.
13629 * sbitmap.c (sbitmap_a_subset_b_p): New function.
13630 * sbitmap.h: Protect from multiple inclusion.
13631 (sbitmap_a_subset_b_p): Add prototype.
13632 * Makefile.in (LOOP_H): New macro.
13633 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
13635 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
13637 * cppinit.c (CAT): The argument list of this macro may not contain
13640 1999-11-29 David S. Miller <davem@redhat.com>
13642 Move quantity tables and register equivalence chains into
13643 per-qty and per-register structure arrays respectively.
13644 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
13645 qty_const_insn, qty_comparison_code, qty_comparison_const,
13646 qty_comparison_qty): Delete, replace with...
13647 (qty_table): this structure table.
13648 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
13649 (reg_eqv_table): this structure table.
13650 (make_new_qty): Add argument MODE. Caller updated.
13651 Update to use qty_table and reg_eqv_table.
13652 (make_regs_eqv, delete_reg_equiv, insert_regs,
13653 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
13654 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
13655 cse_process_notes, cse_main, cse_basic_block): Likewise.
13657 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13659 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
13660 operation if C is negative.
13661 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
13662 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
13663 law for some divisions if constant is negative and change other
13664 divisions to the opposite rounding.
13666 * expr.c (store_constructor_field): If bit position is not multiple
13667 of alignment of TARGET's mode, use BLKmode.
13669 * expr.c (expand_expr_unaligned): Add more code from full case
13670 that is needed when OP0 is in a register.
13672 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13674 * dwarfout.c (field_byte_offset): Size can be zero if there was
13677 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
13679 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
13680 (associate_trees): Delete unused var TEM.
13681 (extract_muldiv): Delete unused var CANCEL_P.
13683 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
13684 (target_isinf, target_isnan, target_negative): Add return types to
13685 function definitions.
13687 1999-11-29 Bruce Korb <autogen@linuxbox.com>
13689 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
13690 * fixinc/hackshell.tpl: ditto
13691 * fixinc/fixtests.c(double_slash_test): more C++ header testing
13692 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
13694 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
13696 * reload.c (push_reload): When looking for a register to put into
13697 reg_rtx, make sure all hard regs in a multi-reg register are in the
13698 right class and nonfixed.
13700 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
13701 pending_read_insns, pending_write_insns, pending_read_mems,
13702 pending_write_mems, pending_list_length, last_pending_memory_flush,
13703 last_function_call, sched_before_next_call): Move static variables
13705 (bb_ prefixed versions): Replace with single array bb_deps.
13706 (struct deps): New structure.
13707 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
13708 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
13709 argument of type "struct deps *"; use that instead of global
13710 variables. All callers changed.
13711 (init_rgn_data_dependencies): Delete function.
13712 (init_rtx_vector): Delete function.
13713 (init_deps): New function.
13715 (free_pending_lists): Simplify, we always use the bb_deps array even
13716 if only one basic block.
13717 (compute_block_backward_dependences): Likewise.
13718 (schedule_region): Likewise.
13720 (propagate_deps): New function, broken out of
13721 compute_block_backward_dependences.
13722 (compute_block_backward_dependences): Use it.
13724 * alpha.md: Delete useless patterns that tried to work around
13725 register elimination problems.
13727 * unroll.c (loop_iterations): Don't abort if iteration variable
13730 From Joern Rennecke:
13731 * reload1.c (reloads_conflict): Reverse test comparing operand
13732 numbers when testing for conflict between output/outaddr reloads.
13734 1999-11-29 David S. Miller <davem@redhat.com>
13736 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
13738 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
13740 1999-11-28 Robert Lipe <robertl@cygnus.com>
13742 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
13743 table from .fini into .dtor.
13745 1999-11-28 Anthony Green <green@cygnus.com>
13747 * tree.h (struct tree_decl): Add malloc_flag.
13748 (DECL_IS_MALLOC): Define.
13749 * c-common.c (attrs): Add A_MALLOC attribute.
13750 (init_attributes): Add this attribute to the table.
13751 (decl_attributes): Handle malloc attribute.
13752 * calls.c (special_function_p): Check for the malloc attribute.
13753 * extend.texi (Function Attributes): Document malloc attribute.
13755 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
13757 * pa.md (reload shift-add patterns): Remove.
13759 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13761 * reorg.c (dbr_schedule) Print more statistics. Corrected
13762 problem when printing info when 3 delay slots are filled.
13764 1999-11-28 Jakub Jelinek <jakub@redhat.com>
13766 * combine.c (setup_incoming_promotions): Pass an outgoing
13767 regno to FUNCTION_ARG_REGNO_P which it expects.
13769 1999-11-28 Andreas Jaeger <aj@suse.de>
13771 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
13773 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
13775 * cccp.c (do_include): Avoid initialization of automatic variable.
13777 * integrate.c (mark_stores): Function definition made void, to match
13778 previous declaration.
13779 * regclass.c (dump_regclass): Ditto.
13780 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
13782 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13784 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
13785 known to be multiple of divisor.
13787 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
13789 * combine.c (try_combine): Add code to try to merge a set of a
13790 two-word pseudo to a constant with a setting of one of those words
13793 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
13794 (split_tree): Completely rework to make more general.
13795 (make_range, fold): Call negate_expr.
13796 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
13797 (fold, associate): Call new split_tree and associate_trees.
13798 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
13800 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
13802 * loop.c (try_copy_prop): Avoid GNU C extension.
13804 1999-11-25 Mark Mitchell <mark@codesourcery.com>
13806 * except.c (init_eh_for_function): Still zero eh_return_context,
13807 eh_return_stack_adjust, and eh_return_handler.
13809 * except.h (eh_status): Adjust documentation for x_protect_list.
13810 (begin_protect_partials): New function.
13811 * except.c (enqueue_eh_entry): Fix formatting.
13812 (get_first_handler): Add consistency check.
13813 (add_partial_entry): Adjust usage of protect_list.
13814 (emit_cleanup_handler): Save and restore ehqueue.
13815 (expand_start_all_catch): Add comment.
13816 (begin_protect_partials): New function.
13817 (end_protect_partials): Adjust usage of protect_list.
13818 (init_eh_for_function): Use xcalloc.
13820 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13822 * c-common.c (check_format_info): Don't call a variadic function
13823 with a non-literal format string.
13825 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
13827 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
13828 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
13831 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
13834 * collect2.c (collect_wait): Likewise.
13836 * dbxout.c (dbxout_type): Likewise.
13838 * gcc.c (do_spec_1): Likewise.
13840 * genemit.c (gen_insn, gen_expand): Likewise.
13842 * genrecog.c (write_switch, write_subroutine): Likewise.
13844 * mips-tfile.c (catch_signal, botch): Likewise.
13846 * print-rtl.c (print_rtx): Likewise.
13848 * toplev.c (default_print_error_function, report_error_function,
13849 _fatal_insn): Likewise.
13851 1999-11-25 Mark Mitchell <mark@codesourcery.com>
13853 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
13855 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
13857 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
13858 operations when needed.
13859 * i386.md (fop_?f_comm): New.
13860 (fop_?f_1): Do not accept commutative operands.
13862 1999-11-25 Andreas Jaeger <aj@suse.de>
13864 * config/mips/mips.md (casesi_internal): Add missing brace.
13866 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
13868 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
13869 (splice_child_die): Handle moving a child DIE from the declaration
13870 DIE of a class to its specification.
13871 (gen_struct_or_union_type_die): Use 'complete' consistently.
13872 (gen_decl_die): Generate the virtual context DIE first.
13873 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
13875 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
13877 * config/mips/mips.md (call_value_multiple_interanal1): New.
13879 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
13881 * dwarf2out.c (free_AT, free_die): New fns.
13882 (remove_children): Call them.
13883 (output_line_info): Disable removal of duplicate notes.
13885 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
13886 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
13887 means pretend the type isn't defined.
13888 Don't defer emitting types.
13889 (gen_type_die_for_member): New fn.
13890 (gen_decl_die): Call it.
13891 (splice_child_die): New fn.
13892 (gen_member_die): Call it rather than generate duplicate dies.
13894 Defer emitting information for the abstract instance of an inline
13895 until we either inline it or emit an out-of-line copy.
13896 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
13897 from output_inline_function if DECL_ABSTRACT is also set.
13898 (block_ultimate_origin): Likewise.
13899 (gen_abstract_function): New fn.
13900 (gen_decl_die, gen_inlined_subroutine_die): Call it.
13901 (gen_subprogram_die): An abstract instance is not a declaration
13902 just because it doesn't match current_function_decl. Don't abort
13903 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
13904 has an abstract origin.
13905 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
13906 abstract instance here.
13908 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
13910 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
13911 where we need to reload fpul from a system register.
13913 1999-11-24 Andreas Jaeger <aj@suse.de>
13915 * config/mips/linux.h (CPP_PREDEFINES): Added.
13916 (LINK_SPEC): Remove -Y since this is only needed on sparc.
13918 1999-11-24 Andreas Jaeger <aj@suse.de>
13920 * config/mips/linux.h (TARGET_VERSION): Added.
13921 (HANDLE_SYSV_PRAGMA): Added.
13922 (DEFAULT_VTABLE_THUNKS): Added.
13924 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
13926 * local-alloc.c (qty): New structure and static variable.
13927 (qty_phys_reg): Remove, all references changed to qty.
13928 (qty_n_refs): Likewise.
13929 (qty_min_class): Likewise.
13930 (qty_birth): Likewise.
13931 (qty_death): Likewise.
13932 (qty_size): Likewise.
13933 (qty_mode): Likewise.
13934 (qty_n_calls_crossed): Likewise.
13935 (qty_alternate_class): Likewise.
13936 (qty_changes_size): Likewise.
13937 (qty_first_reg): Likewise.
13938 (alloc_qty): Rename variable QTY to QTYNO.
13939 (finf_free_reg): Likewise.
13940 (local_alloc): Allocate qty, do not allocate the removed variables.
13942 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
13944 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
13945 when -membedded-pic is passed.
13947 * config/mips/mips.md (casesi): Handle 64-bit case too.
13948 (casesi_internal_di): New insn.
13950 * config/mips/mips.c (embedded_pic_offset): Always make the
13951 embedded-pic subtractions relative to the name of the current
13952 function by use of the magic string "..CURRENT_FUNCTION".
13953 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
13955 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
13957 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
13958 of (const_int 0), when what we really care about is
13959 whether it's a zero constant anyway.
13960 (div_trap_mips16): Likewise.
13962 1999-11-23 Mark Mitchell <mark@codesourcery.com>
13964 * loop.c (loop_optimize): Always find_loop_tree_blocks and
13965 unroll_block_trees when generating debuggable code.
13967 * tree.h (unsave_expr_1): New function.
13968 (lang_unsave): New variable.
13969 (get_callee_fndecl): New function.
13970 * tree.c (unsave_expr_now_r): New function.
13971 (lang_unsave): Define.
13972 (unsave_expr_1): Likewise.
13973 (unsave_expr_now_r): Split out from unsave_expr_now.
13974 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
13975 call unsave_expr_now_r.
13976 (get_callee_fndecl): Define.
13978 * Makefile.in (gencheck): Don't depend on lang_tree_files.
13979 (gencheck.o): Do depend on lang_tree_files.
13981 * integrate.h (copy_decl_for_inlining): New declaration.
13982 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
13983 (copy_decl_for_inlining): New function.
13984 (integrate_parm_decls): Use it.
13985 (integrate_decl_tree): Likewise.
13987 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
13989 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
13990 the second two from the first.
13991 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
13992 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
13993 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
13995 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
13996 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
13999 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
14001 * pa.md (call_internal_symref, call_value_internal_symref): No mode
14002 needed on the address operand.
14003 * pa.c (call_operand_address): Check for the correct mode.
14005 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
14007 * loop.c: Include "basic-block.h".
14008 (try_copy_prop, replace_loop_reg): New functions.
14009 (load_mems): Detect registers that just hold copies of the hoisted
14010 mem, and call try_copy_prop to eliminate them.
14011 * Makefile.in (loop.o): Update dependencies.
14013 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
14015 * Makefile.in (gencheck.o): Depend on gencheck.h.
14016 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
14017 (insn-peep.o): Depend on except.h and function.h.
14018 (insn-attrtab.o): Depend on RECOG_H.
14019 (insn-output.o): Depend on toplev.h and flags.h.
14020 (gengenrtl.o): Depend on real.h.
14021 (gen-protos.o): Depend on cpplib.h and cpphash.h.
14022 Unify all dependencies to be on RECOG_H rather than recog.h.
14024 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14026 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
14027 * configure.in: Try building a bi-arch 32/64-bit compiler on
14028 sparc-*-solaris2.7 and higher.
14029 * configure: Rebuild.
14031 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
14033 * config/freebsd.h: New, FreeBSD architecture independent file.
14034 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
14035 independent pieces.
14036 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
14037 directly by i386/freebsd.h.
14038 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
14039 independent configuration file.
14040 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
14041 directly by i386/freebsd.h.
14042 * configure: Rebuilt.
14044 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
14045 which is in the user's namespace.
14046 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
14047 `i386' which is not in our namespace.
14049 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
14051 * invoke.texi (ARM Options): Add in -mno-alignment-traps
14053 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
14055 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
14056 (add_dwarf_attr, add_child_die): Just push onto the front.
14057 (reverse_die_lists): New fn.
14058 (add_sibling_attributes): Use it.
14059 (push_decl_scope): Reorganize.
14060 (add_name_and_src_coords_attributes): Don't set file and line for
14061 an artificial decl.
14062 (gen_subprogram_die): An artificial function doesn't need to match
14064 (gen_compile_unit_die): Return the generated die. Only add
14065 AT_comp_dir if the filename is relative.
14066 (remove_AT): Simplify loop. Also free string values.
14067 (output_die): A DIE ref can't be null.
14068 (output_value_format, value_format): Take a dw_attr_ref.
14069 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
14070 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
14071 AT_addr, AT_lbl): New fns.
14072 (various): Use them.
14073 (various): Constify.
14075 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14077 * combine.c (combine_simplify_rtx): When handling a SUBREG,
14078 take SUBREG_WORD into account.
14079 (if_then_else_cond): Likewise.
14081 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
14083 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
14084 clause from BSD license, pursuant with
14086 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
14088 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
14090 * loop.c (load_mems): Reformat slightly.
14091 * basic-block.h (regset_head): New typedef.
14092 (INIT_REG_SET): New macro.
14094 1999-11-22 Bruce Korb <autogen@linuxbox.com
14096 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
14097 (mips-dec-bsd*): non-functional code
14098 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
14100 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
14101 added three replacement fixes
14102 (no_double_slash): removed comments that are not (any longer) pertinent
14103 (bad_lval): this fix currently runs against many files.
14104 The comment seems to indicate that we should select for files
14105 containing 'pragma extern_prefix'.
14107 * fixinc/fixinc.x86-linux-gnu: deleted
14108 * fixinc/inclhack.sh: regen
14109 * fixinc/fixincl.x: regen
14110 * fixinc/fixincl.sh: regen
14112 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
14114 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
14115 its code is INSN and it has no notes.
14117 1999-11-22 Andrew Haley <aph@cygnus.com>
14119 * varasm.c (function_defined): Remove.
14120 (make_function_rtl): Don't set function_defined.
14121 (make_decl_rtl): Remove global register warning.
14122 * regclass.c (no_global_reg_vars): New variable.
14123 (globalize_reg): Warn if function has already been defined.
14124 (regclass_init): Set no_global_reg_vars.
14126 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14128 * regclass.c (reg_pref): New structure and static variable
14129 (prefclass): Delete.
14130 (altclass): Delete.
14131 (all uses of prefclass and altclass): Use reg_pref instead.
14133 1999-11-21 Nick Clifton <nickc@cygnus.com>
14135 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
14137 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
14138 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
14139 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
14141 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
14143 * varasm.c (output_constructor): Solve problem with long long
14144 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
14146 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
14148 * global.c (allocno): New structure and static variable.
14149 (allocno_reg): Remove, all references replaced by allocno.
14150 (allocno_size): Likewise.
14151 (hard_reg_conflicts): Likewise.
14152 (hard_reg_preferences): Likewise.
14153 (hard_reg_copy_preferences): Likewise.
14154 (hard_reg_full_preferences): Likewise.
14155 (regs_someone_prefers): Likewise.
14156 (allocno_calls_crossed): Likewise.
14157 (allocno_n_refs): Likewise.
14158 (allocno_live_length): Likewise.
14159 (find_reg): Rename ALLOCNO to NUM.
14161 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
14162 references updated.
14163 (may_move_out_cost): New variable.
14164 (init_reg_sets_1): Initialize may_move_out_cost.
14165 (record_reg_classes): Use may_move_out_cost.
14167 * regclass.c (dump_regclass): New function.
14168 (regclass): New parameter DUMP, call DUMP_REGCLASS.
14169 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
14170 pass rtl_dump_file to regclass.
14171 * rtl.h (regclass): Update prototype.
14173 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
14175 * i386.md (neg, not and abs patterns): Revmap to use
14176 ix86_expand_unary_operator and ix86_unary_operator_ok.
14177 (add?f and sub?f expanders): Force operand 1 to register.
14178 * i386.c (ix86_expand_unary_operator): Rewrite.
14179 (ix86_unary_operator_ok): Ensure that memory operands
14181 (ix86_binary_operator_ok): Do not allow operand 1 to
14182 come into memory and operand 0 not.
14183 (ix86_expand_binary_operator): Ensure that
14184 src1 is not non-matching memory.
14186 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
14187 to support integer registers and memory.
14188 (abss?2_integer): Likewise.
14190 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
14191 (REG_CLASS_NAMES): Likewise.
14192 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
14194 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
14195 (movsf): Likewise; unify 4th and 5th alternative.
14196 (pushdf): Likewise.
14197 (movdf_1): Likewise; rename to movdf_integer.
14198 (pushxf): Likewise; rename to pushxf_integer; fix output template;
14199 remove redundant splitter.
14200 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
14201 (movdf_nointeger): New.
14202 (movxf_nointeger): New.
14203 (pushxf_nointeger): New.
14205 * i386.md (extend?f?f): Split to expander and pattern, refuse two
14206 memory operands in patterns.
14207 (fop*): Refuse two memory operands.
14209 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
14210 on !TARGET_USE_CLTD CPUs.
14212 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
14214 * extend.texi: Document C++ restricted pointers and references.
14216 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
14218 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
14219 (invalidate_skipped_set): Call it unconditionally.
14220 (cse_set_around_loop): Likewise.
14222 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
14224 * rtl.texi (mem): Add documentation for alias-set argument
14227 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
14229 * i386.h (struct_processor_costs): New fields int_load, int_store,
14230 fp_move, fp_load and fp_store
14231 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
14233 (MEMORY_MOVE_COST): New macro.
14234 * i386.c (386_cost): Define new fields.
14235 (i486_cost): Likewise.
14236 (pentium_cost): Likewise.
14237 (pentiumpro_cost): Likewise.
14238 (k6_cost): Likewise.
14240 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
14241 Geoffrey Keating <geoffk@cygnus.com>
14243 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
14245 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
14248 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
14249 (TARGET_STRICT_ALIGNMENT): New macro.
14250 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
14251 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
14252 * invoke.texi (M680x0 Options): Document -mstrict-align.
14254 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
14255 Richard Henderson <rth@cygnus.com>
14257 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
14258 (ix86_split_long_move): Declare.
14259 * i386.c (split_xf, ix86_split_movdi): Remove.
14260 (ix86_split_to_parts, ix86_split_long_move): New.
14261 * i386.md (dimode move splitters): Use ix86_split_long_move.
14262 (dfmode move splitters): Likewise.
14263 (xfmode move splitters): Likewise.
14264 (movsf_1): Allow F->r.
14265 (movdf_1, movxf_1): Allow F->ro.
14267 1999-11-17 Mark Mitchell <mark@codesourcery.com>
14269 * except.h (struct eh_entry): Add goto_entry_p.
14270 (eh_region_from_symbol): Remove prototype.
14271 * except.c (find_func_region_from_symbol): New function.
14272 (emit_cleanup_handler): Likewise.
14273 (eh_region_from_symbol): Make it static.
14274 (add_new_handler): Verify the argument.
14275 (find_func_region): Update comment.
14276 (expand_eh_region_end): Expand handlers here, rater than waiting
14277 until expand_leftover_cleanups or start_all_catch.
14278 (expand_leftover_cleanups): Don't expand here.
14279 (expand_start_all_catch): Or here.
14280 (expand_rethrow): Check the return value from find_func_region.
14281 * function.c (expand_function_end): Emit the catch_clauses.
14283 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
14285 * integrate.c (expand_inline_function): Add necessary check for NULL.
14287 1999-11-18 Nick Clifton <nickc@cygnus.com>
14289 * toplev.c (main): Correctly detect an unrecognised option.
14291 * cppinit.c (cpp_handle_option): Do not claim to have consumed
14292 a -f option if it has not been recognised.
14294 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
14296 * basic-block.h (update_life_extent): Remove trailing comma on
14297 enumeration type list.
14299 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14301 * varasm.c (output_constructor) Solved problem with long long
14302 bitfields. Corrected calculating this_time and shift. Also
14303 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
14305 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
14307 * flow.c (split_edge): Take looping structure into account when
14308 determining where to put the new block note.
14310 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
14312 * Makefile.in (ggc-none.o): Provide host specific version if
14315 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
14317 * cse.c (delete_trivially_dead_insns): Identify no-op insns
14318 containing subregs too.
14320 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
14322 * invoke.texi: Add documentation for -muninit-const-in-rodata.
14323 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
14324 (TARGET_UNINIT_CONST_IN_RODATA): Define.
14325 (text_section): Add switches -munint-const-in-rodata and
14326 -mno-uninit-const-in-rodata.
14327 (ASM_OUTPUT_COMMON): Remove.
14328 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
14329 const objects should be placed in read-only data. Otherwise declare
14332 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
14334 * jump.c (jump_optimize_1): Revert last change.
14336 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
14338 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
14339 test if optimizing for size.
14341 1999-11-17 Mark Mitchell <mark@codesourcery.com>
14343 * Makefile.in (toplev.o): Depend on except.h.
14344 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
14346 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
14348 * i386.md (divmodsi4): Rewrite to expander.
14349 (*divmodsi4_nocltd): New.
14350 (*divmodsi4_cltd): New.
14351 (divmodsi4 splitter): Handle the case when input comes in edx.
14352 (udivmodhi4): Do not use constraints in exander.
14353 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
14355 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
14357 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
14358 for the common case.
14360 1999-11-16 Jakub Jelinek <jakub@redhat.com>
14362 * explow.c (hard_function_value): Add outgoing argument.
14363 * expr.h (hard_function_value): Declare it.
14364 * calls.c (expand_call, emit_library_call_value): Update callers.
14365 * function.c (aggregate_value_p): Ditto.
14366 (diddle_return_value): Must look at the outgoing registers
14367 on archs with register windows.
14369 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
14371 * alpha.c (alpha_build_va_list): Use make_lang_type and
14372 initialize TYPE_NAME for the va_list record.
14374 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
14376 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
14378 * ggc.h (struct ggc_statistics): Rearrange elements for better
14379 packing on 64-bit hosts.
14380 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
14381 (compute_nearerout): Likewise.
14383 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
14385 * config/rs6000/rs6000.c (first_reg_to_save): Save
14386 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
14388 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
14390 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
14391 notion of nesting to find the DIE for a type or function.
14392 DIEs can go in limbo even if we got a context_die.
14393 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
14394 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
14396 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
14397 (gen_type_die): Writing out the context doesn't cause member class
14398 template instantiations to be written out as well.
14400 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
14402 * rs6000.h (ASM_OUTPUT_DEF): New.
14403 Based on proposed addition from David Edelsohn.
14405 1999-11-15 Robert Lipe <RobertLipe@usa.net>
14406 Bruce Korb <autogen@linuxbox.com>
14408 * fixinc/inclhack.def
14409 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
14410 (unixware7_byteorder_fix): added. Removes conflicts for new defs
14412 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
14413 (svr4_endian): enabled with SVR5
14414 (svr4_mkdev): simplified syntax and enabled with SVR5
14416 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
14418 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
14419 * configure: Rebuilt.
14420 * config/t-freebsd-thread: New file.
14422 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
14424 * i386.c (ix86_decompose_address): Verify the base is a REG
14425 before trying to examine its register number.
14427 * basic-block.h: Remove all #defines and prototypes related to
14429 (free_bb_mem, compute_preds_succs): Remove prototype.
14430 * rtl.h (free_bb_mem): Remove prototype.
14431 * flow.c (alloc_int_list_node); Remove function.
14432 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
14433 (compute_preds_succs, free_bb_mem): Likewise.
14434 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
14435 * toplev.c (rest_of_compilation): Likewise.
14436 * haifa-sched.c (build_control_flow): Use flow generated edge
14437 list to build the haifa specific edge list.
14438 (find_rgns): Use new CFG data structures instead of pred/succ lists.
14439 (schedule_insns): Do not build pred/succ lists anymore. Instead
14440 build the edge table.
14442 * basic-block.h (dump_bb_data): Remove declaration.
14443 * flow.c (dump_bb_data): Remove function.
14444 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
14445 (sbitmap_union_of_predsucc): Likewise.
14447 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
14448 argument. All callers changed.
14449 (delete_null_pointer_checks_1): No longer need to compute the
14452 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
14453 All callers changed.
14454 (pre_expr_reaches_here_p_work): Likewise.
14455 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
14456 * lcm.c (compute_laterin): Fix initialization of LATER.
14457 (compute_nearerout): Similarly for NEARER.
14459 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14461 * cse.c (set_nonvarying_address_components): Delete unused function.
14462 (refers_to_p): Likewise.
14464 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
14466 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
14469 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14471 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
14472 definition in do while (0).
14474 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
14476 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
14478 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
14480 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
14482 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
14484 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
14485 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
14486 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
14487 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
14489 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
14490 saved on the stack. Output more accurate stack frame statistics
14491 into assembler file.
14493 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
14495 * genextract.c (record_insn_name): New function.
14496 (get_insn_name): No longer a stub.
14497 (main): Call record_insn_name for each insn. After each label
14498 written, print the insn name in a comment.
14500 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14502 * output.h (const_section, init_section, fini_section): Add
14505 * alpha/elf.h (const_section): Delete declaration.
14507 * svr4.h (const_section): Likewise.
14509 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
14511 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
14512 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
14513 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
14515 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
14516 variable-sized array bounds.
14518 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
14520 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
14523 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14525 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
14526 addresses the same way GO_IF_LEGITIMATE_INDEX does.
14528 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14530 * cse.c (hash_arg_in_struct): Delete.
14531 (struct table_elt): Delete elt in_struct.
14532 (struct set): Delete elt src_in_struct.
14533 (merge_equiv_classes): Don't set either hash_arg_in_struct or
14534 the corresponding in_struct elts.
14535 (canon_hash): Likewise.
14536 (safe_hash): Likewise.
14537 (find_best_addr): Likewise.
14538 (record_jump_cond): Likewise.
14539 (cse_insn): Likewise.
14541 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
14543 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
14545 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
14548 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
14550 * function.c (diddle_return_value): Put back check that the DECL_RTL
14551 for the function is a register.
14553 * function.c (diddle_return_value): Use hard_function_value to
14554 get an rtx suitable for use in the USE/CLOBBER insn.
14556 * global.c (global_conflicts): Update comments.
14557 (record_conflicts): No need to record conflicts between pseudos here.
14559 1999-11-11 Bruce Korb <autogen@linuxbox.com>
14561 * fixinc/fixincl.c: Added verbose levels for status messages
14563 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14565 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
14566 operand as argument to expand_and or expand_binop.
14568 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
14570 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
14571 gcc_add_string_root.
14573 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
14575 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
14577 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
14579 * flow.c (compute_flow_dominators): Initially put all blocks on
14581 * lcm.c (compute_antinout_edge, compute_available): Similarly.
14582 * gcse.c (compute_cprop_avinout): Remove.
14583 (compute_cprop_data): Use compute_available.
14584 (delete_null_pointer_checks_1): Use compute_available.
14586 * basic-block.h (compute_available): Returns a void now.
14587 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
14588 to return a value anymore.
14589 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
14590 worklists. Fix boundary cases. Compute maximal solutions.
14591 (compute_laterin, compute_nearerout): Similarly.
14593 * dwarf2out.c (add_AT_location_description): Allow
14594 (mem (plus (pseudo) (...)) too.
14596 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
14598 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
14600 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
14601 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14603 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
14605 * gansidecl.h: Likewise.
14611 * toplev.h: Likewise.
14613 * tree.c: Likewise.
14615 * tree.h: Likewise.
14617 * varray.c: Likewise.
14619 * varray.h: Likewise.
14621 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
14623 * gcov.c (struct arcdata): Add hits and total, remove prob.
14624 (output_branch_counts): New.
14625 (process_args): Set output_branch_counts if -c.
14626 (calculate_branch_probs): Store hits and total instead of
14628 (output_data): Emit counts if output_branch_counts is true.
14629 * gcov.texi (Invoking Gcov): Document -c switch..
14631 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
14633 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
14634 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
14636 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
14638 * invoke.texi (C Dialect Options): Add missing builtins from
14639 c-common.c to list.
14640 * extend.texi (Other Builtins): Copy to this list.
14642 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14644 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
14645 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
14646 redundant bitmap.h.
14648 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
14650 * flow.c (compute_flow_dominators): No longer treat basic block 0
14651 or (n_basic_blocks - 1) specially. Clear the AUX field before
14652 starting computation of doms/pdoms. Fix initial state for pdoms.
14654 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14656 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
14657 match rtl.o's: added ggc.h and toplev.h
14658 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
14659 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
14660 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
14662 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
14664 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
14665 from HAVE_DOS_BASED_FILESYSTEM.
14666 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
14667 HAVE_DOS_BASED_FILESYSTEM.
14669 (split_directories): Only special-case DOS file names if
14670 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
14671 instead of explicit tests. Conditionalize on !VMS.
14672 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
14673 tests. Conditionalize on !VMS.
14674 (process_command): Only use make_relative_prefix if !VMS.
14675 (free_split_directories): Conditionalize on !VMS.
14676 (DIR_UP): Conditionalize on !VMS.
14678 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
14680 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
14682 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
14684 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
14687 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
14689 * invoke.texi (Environment Variables): Document relative path
14691 * gcc.c (DIR_UP): If not defined, define as "..".
14692 (standard_bindir_prefix): New static, holds target location to
14694 (split_directories): New function to split a filename into
14695 component directories.
14696 (free_split_directories): New function, release memory allocated
14697 by split_directories.
14698 (make_relative_prefix): New function, make a relative pathname if
14699 the compiler is not in the expected location.
14700 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
14701 can figure out an appropriate prefix from argv[0].
14702 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
14703 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
14704 STANDARD_BINDIR_PREFIX.
14706 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14708 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
14710 * config/c4x/c4x.h: Moved prototypes to c4x.h.
14711 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
14712 c4x_secondary_memory_needed) Delete.
14713 (fp_zero_operand): Add mode argument.
14715 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
14717 * reload1.c (reload_reg_free_for_value_p): Don't use a register
14718 that is in reload_reg_used.
14720 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
14722 * config/arm/arm-protos.h: New file: Prototypes for functions
14723 defined in arm.c and pe.c.
14724 * config/arm/arm.h: Fix compile time warnings.
14725 * config/arm/arm.c: Fix compile time warnings.
14726 * config/arm/pe.h: Fix compile time warnings.
14727 * config/arm/aout.h: Fix compile time warnings.
14729 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
14731 * config/m32r/m32r-protos.h: New file: Prototypes for functions
14734 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
14735 Add support for subtargets.
14736 Add prototypes for new predicates.
14737 Add scheduling macros.
14739 * config/m32r/m32r.c: Fix compile time warnings.
14740 (int8_operand): New predicate function.
14741 (reg_or_cmp_int16_operand): New predicate function.
14742 (extend_operand): New predicate function.
14743 (m32r_adjust_code): New scheduling function.
14744 (m32r_adjust_priorty): New scheduling function.
14745 (m32r_sched_init): New scheduling function.
14746 (m32r_sched_reorder): New scheduling function.
14747 (m32r_sched_variable_issue): New scheduling function.
14748 (direct_return): New codegen function.
14749 (m32r_not_same_reg): New rtl testsing function.
14751 * config/m32r/m32r.md: Fix compile time warnings.
14752 Add support for pre decrement and post increment memory
14754 Add S<cc> patterns.
14757 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14759 * global.c (EXECUTE_IF_CONFLICT): Don't define.
14760 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
14761 (find_reg): Likewise.
14763 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
14765 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
14766 to avoid assembler errors.
14768 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
14770 * config/v850/v850-protos.h: New file: Prototypes for functions
14772 * config/v850/v850.h: Move prototypes to v850-protos.h
14773 * config/v850/v850.c: Move prototypes to v850-protos.h
14774 * config/v850/v850.md: Fix compile time warnings.
14776 * config/fr30/fr30-protos.h: New file: Prototypes for functions
14778 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
14779 * config/fr30/fr30.c: Fix compile time warnings.
14780 * config/fr30/fr30.md: Fix compile time warnings.
14782 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
14784 * tree.h (get_containing_scope): Declare it.
14785 * tree.c (get_containing_scope): New fucntion.
14786 (decl_function_context): Use it.
14787 * toplev.c (rest_of_compilation): Use get_containing_scope.
14789 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14791 * Makefile.in (rtl.o): Depend on toplev.h.
14793 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
14795 * cse.c (delete_trivially_dead_insns): Replace alloca with
14797 * except.c (update_rethrow_references): Likewise.
14798 (init_eh_nesting_info): Likewise.
14799 * function.c (identify_blocks): Likewise.
14800 * gcse.c (dump_hash_table): Likewise.
14801 * graph.c (print_rtl_graph_with_bb): Likewise.
14802 * loop.c (combine_movables): Likewise.
14803 (move_movables): Likewise.
14804 (count_loop_regs_set): Likewise.
14805 (strength_reduce): Likewise.
14806 * profile.c (compute_branch_probabilities): New function, split
14808 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
14809 * regclass.c (regclass): Likewise.
14810 * regmove.c (regmove_optimize): Likewise.
14811 * toplev.c (compile_file): Likewise.
14812 (main): Don't mess with the stack rlimit.
14814 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
14816 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
14817 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
14819 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
14821 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
14823 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
14825 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
14826 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
14829 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
14831 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
14833 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
14835 * gcse.c (post_dominators): Kill.
14836 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
14837 (compute_code_hoist_data): Use compute_flow_dominators. Do not
14838 pass in a pdom array since we do not need pdoms.
14839 * haifa-sched.c (schedule_insns): Similarly.
14840 * flow.c (compute_dominators): Remove dead function.
14841 (compute_flow_dominators): Do not compute doms or pdoms if the
14842 caller does not request them. Split up loop to build doms and
14843 pdoms. Use a worklist to compute doms and pdoms.
14844 * basic-block.h (compute_dominators): Remove prototype.
14846 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
14848 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
14849 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
14850 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
14851 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
14852 (cant_move, fed_by_spec_load, is_load_insn): Remove.
14853 (schedule_region): Remove unused variable.
14854 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
14856 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
14858 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
14859 (update_equiv_regs): Likewise.
14860 (block_alloc): Likewise.
14861 * reg-stack.c (reg_to_stack): Likewise.
14862 (convert_regs_2): Likewise.
14863 * reload1.c (reload_as_needed): Likewise.
14865 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
14867 * Makefile.in (dbxout.o): Depend on ggc.h.
14868 (dwarf2out.o): Likewise.
14869 (xcoffout.o): Likewise.
14870 * dbxout.c: Include ggc.h.
14871 (dbxout_init): Register lastfile as a root.
14872 * dwarf2out.c: Include ggc.h.
14873 (dwarf2out_line): Register lastfile as a root.
14874 * xcoffout.c: Include ggc.h.
14875 (xcoffout_source_line): Register xcoff_lastfile as a root.
14877 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
14879 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
14881 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
14883 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
14885 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
14887 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14889 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
14890 (EXECUTE_IF_CONFLICT): Likewise.
14891 (ALLOCNO_LIVE_P): Avoid signed division.
14892 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
14893 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
14894 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
14896 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
14898 * haifa-sched.c (schedule_block): Don't crash if there's no
14899 next insn for an interblock movement.
14900 (add_branch_dependences): Don't allow clobber insns to move either.
14902 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
14904 * i386.c (split_xf): New.
14905 * i386-protos.h: Declare it.
14906 * i386.md (movxf_1): Add general regs alternatives.
14907 (movxf_1+1): New splitter for same.
14909 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
14911 * function.c (purge_addressof_1): Add missing return values.
14913 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
14915 * function.c (is_addressof): New function. Returns true if
14916 the given piece of RTL is an ADDRESSOF.
14917 (purge_addressof_1): Make boolean. Return false if the
14918 ADDRESSOFs could not be purged.
14919 (purge_addressof): If ADDRESSOFs could not be purged from the
14920 notes attached to an insn, remove the offending note(s),
14921 unless they are attached to a libcall.
14923 1999-11-05 Andreas Jaeger <aj@suse.de>
14925 * genoutput.c (null_operand =): Initialize all fields.
14927 * errors.h: Add extern to prototypes.
14929 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
14931 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
14932 * configure: Rebuilt.
14934 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14936 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
14937 (mirror_conflicts): New function.
14938 (global_alloc): Call it.
14939 (expand_preferences): Remove redundant CONFLICTP test.
14940 (find_reg, dump_conflicts): Likewise.
14941 (prune_preferences): Process conflicts one word at a time.
14943 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
14945 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
14946 instead of an explicit loop.
14948 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
14950 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
14951 if REG_RETVAL check succeeds, then put classp in src_elt.
14953 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
14955 * function.c (pad_to_arg_alignment): Only update argument_pad
14956 if the argument's alignment is greater than STACK_BOUNDARY.
14958 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
14960 * bitmap.h (BITMAP_XFREE): New.
14961 * flow.c (life_analysis): Use it.
14962 (life_analysis_1): Free blocks.
14964 * combine.c (undo_commit): New.
14965 (try_combine): Use it. Don't zap undobuf.undos.
14966 (combine_instructions): Don't zap undobuf.undos; free the
14967 undobuf.frees list.
14969 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
14971 * stmt.c (cost_table_): New.
14972 (estimate_case_costs): Use it instead of xmalloc.
14974 * toplev.c (compile_file): Reuse dumpname memory instead
14977 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
14979 * reg-stack.c (convert_regs_1): Initialize target_stack->top
14980 after verifying an EH edge.
14982 * haifa-sched.c (init_rgn_data_dependences): Correctly
14983 size bb_pending_lists_length when zeroing.
14985 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
14987 * function.c (diddle_return_value): New.
14988 (expand_function_end): Use it.
14989 * stmt.c (expand_null_return): Likewise.
14990 (expand_value_return): Likewise.
14992 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
14994 * reload1.c (reload): Don't remove return value clobbers.
14996 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
14998 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
15000 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
15002 * cse.c (cse_main): Use xmalloc, not alloca.
15003 (cse_basic_block): Likewise.
15004 * local-alloc.c (local_alloc): Likewise.
15006 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
15007 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15009 * rtl.c: Include toplev.h.
15010 (fatal): Remove declaration.
15012 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
15014 * haifa-sched.c (schedule_block): Fix thinko.
15016 1999-11-03 James McKelvey <mckelvey@fafnir.com>
15018 * fixinc/fixincl.c(create_file): Allow for systems that do not have
15019 S_IR* defined values
15021 1999-11-03 Philippe De Muyter <phdm@macqel.be>
15023 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
15024 call `malloc' instead.
15026 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
15028 * flags.h (flag_renumber_insns): Declare.
15029 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
15031 * rtl.h (renumber_insns): Change prototype.
15032 * toplev.c (flag_renumber_insns): Define.
15033 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
15035 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
15037 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
15038 and fpsqrtd. Use them and create fdiv function unit to more
15039 accurately represent fpu sqrt pipeline semantics on UltraSparc.
15040 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
15042 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
15044 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
15046 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
15047 insn into ready list, do not use just a raw swap.
15049 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
15051 * rtl.h (renumber_insns): New function.
15052 (remove_unnecessary_notes): Likewise.
15053 * emit-rtl.c (renumber_insns): Define.
15054 (remove_unncessary_notes): Likewise.
15055 * toplev.c (rest_of_compilation): Remove dead code.
15056 Use renumber_insns and remove_unncessary_notes.
15058 * gcse.c (struct null_pointer_info): New type.
15059 (get_bitmap_width): New function.
15060 (current_block): Remove.
15061 (nonnull_local): Likewise.
15062 (nonnull_killed): Likewise.
15063 (invalidate_nonnull_info): Take a null_pointer_info as input.
15064 (delete_null_pointer_checks_1): New function.
15065 (delete_null_pointer_checks): Use it.
15067 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
15068 (split_edges): Likewise.
15069 (schedule_block): Likewise.
15070 (compute_block_backward_dependencies): Likewise.
15071 (schedule_region): Likewise.
15072 (schedule_insns): Likewise.
15074 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
15076 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
15077 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
15078 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
15079 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
15080 * jump.c (delete_unreferenced_labels): Don't delete if
15081 LABEL_ALTERNATE_NAME is set.
15082 * print-rtl.c (print_rtx): Dump alternate name.
15083 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
15084 * rtl.h (LABEL_ALTERNATE_NAME): Define.
15085 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
15086 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
15088 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15090 * fix-header.c (recognized_extern, recognized_function): Constify
15093 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
15094 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
15095 (compute_available): Remove unused variable `last'.
15096 (compute_nearerout): Remove unused variable `temp_bitmap'.
15097 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
15098 Remove unused variable `x'.
15100 * scan.h (recognized_function, recognized_extern): Constify a
15103 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
15105 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15107 * varasm.c (decode_rtx_const): Use XSTR to access the string
15110 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
15112 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
15114 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15116 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
15118 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
15120 * pa.c (ireg_operand): New function.
15121 * pa.h (PREDICATE_CODES): Handle ireg_operand.
15122 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
15123 Fix out of date comment.
15125 * pa.md (negdi2): Turn into expander + anonymous pattern.
15127 * reload.c (find_reloads): Fix typos in recent change.
15129 * dwarf2out.c: Do not include ctype.h.
15131 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15133 * regclass.c (record_reg_classes): Always use may_move_cost when
15134 seeing how operand fits with various register classes.
15136 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
15138 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
15139 * toplev.c: Revert Nov 1 13:22 change.
15141 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
15143 * config/pa/pa.md (height reduction patterns): Add checks for
15144 overlapping operands to avoid semantic-destroying splits for
15145 height reduction patterns.
15147 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15149 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
15150 have been an hyphen, fixed.
15151 * configure: Rebuilt.
15153 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
15155 * config/arm/tpe.h: Add prototypes for exported functions.
15156 * config/arm/pe.c: Fix compile time warnings.
15157 * config/arm/semi.h: Fix compile time warnings.
15158 * config/arm/arm.c: Fix compile time warnings.
15159 * config/arm/arm.h: Fix compile time warnings.
15160 * config/arm/arm.md: Fix compile time warnings.
15161 * config/arm/thumb.c: Fix compile time warnings.
15162 * config/arm/thumb.h: Fix compile time warnings.
15163 * config/arm/thumb.md: Fix compile time warnings.
15165 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
15167 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
15170 * unroll.c (unroll_loop): Remove LOOP notes when loop is
15171 completely unrolled.
15173 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15175 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
15177 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
15179 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
15180 * rtl.h (rtx_equal_p): Move prototype.
15181 * rtl.c (rtx_equal_function_value_matters): Move from
15183 (rtx_equal_p): Likewise.
15184 * rtlanal.c (rtx_equal_function_value_matters): Delete.
15185 (rtx_equal_p): Likewise.
15187 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
15189 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
15190 ! HAS_INIT_SECTION.
15192 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
15194 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
15196 * pa.h (ADDR_VEC_ALIGN): Define.
15198 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
15199 notes when presented with "if (foo) break; end_of_loop" and
15200 the break sequence gets moved out of the loop.
15202 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
15203 Remove explicit zero initializations of entries within MAP.
15205 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
15207 * reg-stack.c (convert_regs_1): Handle EH edges specially.
15209 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
15211 * bitmap.h (BITMAP_XMALLOC): New macro.
15212 * flow.c (CLEAN_ALLOCA): Remove.
15213 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
15214 (life_analysis): Likewise.
15215 (update_life_info): Don't use CLEAN_ALLOCA.
15216 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
15217 (calculate_global_regs_live): Likewise.
15218 (print_rtl_with_bb): Likewise.
15219 (verify_flow_info): Likewise.
15220 * global.c (global_alloc): Likewise.
15221 (global_conflicts): Likewise.
15222 * integrate.c (save_for_inline_nocopy): Likewise.
15223 (expand_inline_function): Likewise.
15224 * jump.c (jump_optimize_1): Likewise.
15225 (duplicate_loop_exit_test): Likewise.
15226 (thread_jumps): Likewise.
15227 * loop.c (loop_optimize): Likewise.
15228 (combine_givs): Likewise.
15229 (recombine_givs): Likewise.
15230 * reorg.c (dbr_schedule): Likewise.
15231 * unroll.c (unroll_loop): Likewise.
15233 * combine.c (combine_instructions): Use xmalloc instead of alloca.
15235 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
15237 * toplev.c (rest_of_compilation): Don't optimize the CFG
15238 when rebuilding, just before dbr.
15240 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15242 * output.h (assemble_end_function, assemble_destructor,
15243 assemble_constructor, assemble_gc_entry, assemble_global,
15244 assemble_label, output_constant_pool) Constify a char*.
15246 * varasm.c (assemble_destructor, assemble_constructor,
15247 assemble_gc_entry, assemble_end_function, assemble_global,
15248 assemble_label, output_constant_pool): Likewise.
15250 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
15252 * config/arm/thumb.c (thumb_expand_prologue): Add comments
15253 explaining what is goin on in this function.
15255 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15257 * regclass.c (record_reg_classes): In matching case, recompute
15258 costs since the direction of movement is different.
15260 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
15262 * resource.c (mark_target_live_regs): For unconditional branches,
15263 the resources found at the branch target should be added to the
15264 resources found so far, not intersected.
15266 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
15268 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
15270 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
15271 (sys/mman.h): Include this file only if #HAVE_MMAP.
15272 (run_compiles): Initialize `esac_fmt' with one old KR string, not
15273 with automatically concatenated ANSI strings.
15275 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
15277 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
15278 (DIV_ROUND_UP): Robustify.
15279 (ggc_recalculate_in_use_p): New function.
15280 (release_pages): Don't inline it.
15281 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
15283 (ggc_pop_context): Use ggc_recalculate_in_use_p.
15284 (clear_marks): Always save in_use_p.
15285 (sweep_pages): Use ggc_recalculate_in_use_p.
15286 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
15287 Release pages before counting statistics.
15289 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
15291 * toplev.c (rest_of_compilation): Fix thinko in this change:
15293 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
15295 (rest_of_compilation): If inside an inlined external function,
15296 pretend we are just being declared.
15298 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
15300 * flow.c (calculate_global_regs_live): Fix thinko.
15302 * integrate.c (expand_inline_function): Fix bugs in previous
15303 change from Oct 28, 1999.
15305 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
15307 * stmt.c (expand_value_return): Fix typo in this change:
15309 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15310 (expand_value_return): Correctly convert VAL when promoting function
15311 return; support RETURN_REG being a PARALLEL.
15313 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
15315 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
15317 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15319 * hard-reg-set.h (reg_names): Constify a char*.
15321 * regclass.c (reg_names): Likewise.
15323 * regs.h (reg_names): Likewise
15325 * a29k/a29k.c (reg_names): Delete declaration.
15327 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
15329 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
15330 arc_output_function_epilogue): Likewise.
15332 * elxsi/elxsi.c (reg_names): Likewise.
15334 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
15336 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
15339 * m88k/m88k.c (output_function_profiler): Likewise.
15341 * sparc/sparc.c (sparc_flat_output_function_prologue,
15342 sparc_flat_output_function_epilogue): Likewise.
15344 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
15346 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
15347 warning from -Wuninitialized and put it under -W.
15348 * function.c (uninitialized_vars_warning): Warn only when the
15349 corresponding flag is set.
15351 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
15353 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
15354 is nonzero and the single set does not have an elt, then assign
15357 * simplify-rtx.c: New file.
15358 * Makefile.in (OBJS): Add simplify-rtx.o
15359 (simplify-rtx.o): Add dependencies.
15360 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
15361 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
15362 (cse_gen_binary, simplify_unary_operation): Delete.
15363 (simplify_binary_operation, simplify_plus_minus): Likewise.
15364 (check_fold_consts, simplify_relation_operation): Likewise.
15365 (simplify_ternary_operation): Likewise.
15366 (delete_trivially_dead_insns): Simplify the contents of the
15367 REG_EQUAL note before trying to substitute it into the source
15368 of the reg-reg copy at the end of a libcall sequence.
15370 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
15371 references/callers changed.
15373 * mn10200.c (mn10200_va_arg): Force the return value into a
15376 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
15378 * cccp.c (macroexpand): Avoid out of range accesses for omitted
15381 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
15383 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
15385 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
15387 * fold-const.c (fold): Fix thinko when optimizing comparisons
15390 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
15392 * gcc.texi (Passes): Update front-end files to their current
15395 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
15397 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
15398 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
15399 (PREDICATE_CODES): Add addition_operation.
15400 * alpha-protos.h (addition_operation): Declare.
15401 (secondary_reload_class): Likewise.
15402 * alpha.c (addition_operation): New.
15403 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
15404 * alpha.md (adddi3): Turn into expander.
15405 (*lda, *adddi_2): New.
15406 (movsf, movdf patterns): Don't preference integer regs.
15407 (movsi, movdi patterns): Don't preference fp regs.
15409 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
15411 * genrecog.c (write_switch): Check for duplicate CODE cases.
15413 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
15415 * ggc-common.c: Update pre-function commentary.
15416 * ggc-page.c: Likewise.
15418 (poison_pages): Use memset directly.
15419 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
15420 (ggc_collect): Poison before sweeping.
15421 * ggc-simple.c: Update pre-function commentary.
15422 (ggc_alloc_obj): Poison non-zeroed memory.
15424 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
15426 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
15427 match format string, even on 64-bit hosts.
15428 * gcc-page.c (ggc_page_print_statistics): Likewise.
15430 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
15432 * config/i386/i386.c (ix86_cpu): Revert last patch.
15433 * config/i386/i386.h (ix86_cpu): Ditto.
15435 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
15437 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
15438 TYPE_SIZE, convert type of result to sizetype.
15440 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
15442 * flow.c (count_or_remove_death_notes): Equate NULL with the
15445 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
15446 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
15449 * i386.c (pic_label_no): Delete.
15450 (ix86_attr_length_default): Don't use single_set to peek
15453 * recog.c (peephole2_optimize): Allow recog_next_insn to index
15454 the first insn after bb->end.
15455 * i386.md (push mem peeps): Scratch is live after evaluation
15457 (cmp mem peep): Similarly.
15459 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
15461 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
15462 * function.c (pad_to_arg_alignment): Add missing braces.
15464 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15466 * alpha/alpha-protos.h (literal_section): Add prototype.
15467 (alpha_need_linkage, alpha_start_function,alpha_end_function):
15470 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
15472 (alpha_start_function, alpha_end_function, float_strings,
15473 alpha_need_linkage): Constify a char*
15475 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
15477 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
15479 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
15481 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
15483 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15485 * flow.c (debug_flow_info): Add prototype.
15487 * gcc.c (main): Likewise.
15489 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
15492 * reload1.c (failed_reload, set_reload_reg): Likewise.
15494 * mips-tfile.c (main): Likewise.
15495 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
15496 with ATTRIBUTE_NORETURN.
15498 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
15500 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
15501 DECL is not a memory ref.
15503 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
15505 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
15506 * config/i386/i386.c (ix86_cpu): Add extern attribute.
15508 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
15510 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
15511 * config/mips/elf64.h: ditto.
15513 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
15515 * expr.c (emit_push_insn): New argument alignment_pad.
15516 Update all callers. Adjust stack pointer based on alignment pad.
15517 * function.c (pad_to_arg_alignment): New argument alignment_pad.
15518 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
15519 (locate_and_pad_parm): New argument alignment_pad. Update all
15521 * expr.h (emit_push_insn): Update prototype.
15522 (locate_and_pad_parm): Update prototype.
15523 * calls.c (arg_data): Add new field alignment_pad.
15524 (initialize_argument_information): Initialize alignment_pad.
15526 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
15528 * except.c (free_eh_nesting_info): Free the info itself.
15529 * function.c (free_after_compilation): Don't free NULL.
15530 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
15531 (pre_edge_insert): Free inserted.
15532 * stmt.c (free_stmt_status): Don't free NULL.
15534 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
15536 * gcov.c (DIR_SEPARATOR): Provide default.
15537 (output_data): Add test for MS-DOS format absolute filename.
15538 (fancy_abort): Correct program name.
15539 (open_files): Open all files in binary mode.
15540 * libgcc2.c (__bb_exit_func): Likewise.
15542 * profile.c (init_branch_prob): Specify binary when opening files.
15544 * flags.h (flag_unwind_tables): New decl.
15545 * toplev.c (flag_unwind_table): New definition.
15546 (f_options): Add -funwind-tables.
15547 (decode_g_option): Clarify warning when unknown -g option is given.
15548 (rest_of_compilation): If inside an inlined external function,
15549 pretend we are just being declared.
15551 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
15552 (dwarf2out_frame_finish): Likewise.
15554 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
15556 * fold-const.c (merge_ranges): If not in0, but in1, handle
15557 upper bounds equal like subset case.
15559 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
15561 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
15562 passed in a register but moved to the stack.
15564 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
15566 * gcc.c (pass_exit_codes, greatest_status): New variables.
15567 (struct option_map): Add entry for "--pass-exit-codes".
15568 (execute): Update greatest_status if error.
15569 (display_help): Add documentation for -pass-exit-codes.
15570 (process_command): Handle -pass-exit-codes.
15571 (main): Look at pass_exit_codes and greatest_status on call to exit.
15573 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15575 * reload.c (find_reloads): Refine test for no input reload
15576 case to not includes reloads emitted after insn.
15578 * function.c (find_temp_slots_from_address): Handle sum involving
15579 a register that points to a temp slot.
15580 (update_temp_slot_address): Make recursive call if both old and
15581 new are PLUS with a common operand.
15582 * calls.c (expand_call): Mark temp slot for result as having
15585 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
15587 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
15588 component as well as "BINUTILS".
15590 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
15591 * integrate.c (copy_rtx_and_substitute): Likewise.
15592 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
15593 All callers changed.
15594 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
15596 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
15597 gdb extensions, write size of type; also be more consistent
15598 in using references when this is a subtype.
15600 * pa.md (extv, extzv, insv): Use define_expand to reject constant
15601 that is out of range.
15603 * loop.c (unknown_constant_address_altered): New variable.
15604 (prescan_loop): Initialize it.
15605 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
15606 (invariant_p, case MEM): Remove handling for volatile and readonly;
15607 check new variable if readonly.
15608 (check_dbra_loop): Chdeck unknown_constant_address_altered.
15610 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
15611 (addr_affects_sp_p): Removed from note_mem_written and only
15612 define #ifdef AUTO_INC_DEC.
15614 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
15616 * regclass.c (record_reg_classes): Properly handle register move
15619 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
15620 Don't think valid if both operands are invalid.
15621 (struct constant_descriptor): New field RTL.
15622 (mark_const_hash_entry): Mark it.
15623 (record_constant{,_rtx}): Initialize it.
15624 (output_constant_def): Allocate RTL in permanent obstack and
15626 ({record,compare}_constant_1): Modes must match for
15627 CONSTRUCTOR of ARRAY_TYPE.
15629 * c-common.h (initializer_constant_valid_p): Delete decl from here.
15630 * output.h (initializer_constant_valid_p): Move decl to here.
15631 * c-common.c (initializer_constant_valid_p): Delete function from here.
15632 * varasm.c (initializer_constant_valid_p): Move function to here.
15634 * tree.h (STRIP_SIGN_NOPS): New macro.
15635 * fold-const.c (optimize_minmax_comparison): New function.
15636 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
15637 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
15638 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
15639 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
15640 widening conversions.
15641 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
15642 to look at size of mode, not precision of type; also add missing cases.
15643 (optimize_bit_field_compare, decode_field_reference): Don't try to
15644 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
15646 * dwarf2out.c (ctype.h): Include.
15647 (dwarf2out_set_demangle_name_func): New function.
15648 (size_of_line_info): Deleted.
15649 (output_line_info): Compute size of line info table from difference
15651 (base_type_die, add_name_attribute): Call demangle function, if any.
15652 (field_byte_offset): Use bits per word for variable length fields.
15653 (gen_array_type_die): Add array name.
15654 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
15655 (dwarf2out_add_library_unit_info): New function.
15657 * explow.c (set_stack_check_libfunc): New function.
15658 (stack_check_libfunc): New static variable.
15659 (probe_stack_range): Allow front-end to set up a libfunc to call.
15661 * combine.c (simplify_comparison): When making comparison in wider
15662 mode, check for having commuted an AND and a SUBREG.
15663 (contains_muldiv): New function.
15664 (try_combine): Call it when dividing a PARALLEL.
15665 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
15666 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
15668 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
15669 use one of the CLOBBERs instead.
15670 (if_then_else_cond): If comparing against zero, just return thing
15673 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
15674 Don't generate shifts and subtract if have conditional arithmetic.
15676 * rtl.h (delete_barrier): New declaration.
15677 * jump.c (jump_optimize): Set up to handle conditional call.
15678 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
15679 (delete_barrier): New function.
15681 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
15683 * recog.c (nonmemory_operand): Accept ADDRESSOF.
15685 * tree.c (build_type_attribute_variant): Push to obstack of
15686 ttype around type_hash_canon call.
15688 * expr.c (placeholder_list): Move decl to file scope.
15689 (expand_expr): Don't force access to volatile just because its
15691 If ignoring reference operations, just expand the operands.
15692 (expand_expr, case COMPONENT_REF): Propagate
15693 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
15694 Refine test for using bitfield operations vs pointer punning.
15695 (expand_expr, case CONVERT_EXPR): If converting to
15696 BLKmode UNION_TYPE from BLKmode, just return inner object.
15697 Use proper mode in store_field call.
15698 Properly set sizes of object to store and total size in store_field
15699 call for convert to union.
15700 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
15701 memory (like for ADDR_EXPR). Also, don't put constant in register if
15702 we'll want it in memory.
15703 (readonly_fields_p): New function.
15704 (expand_expr, case INDIRECT_REF): Call it if LHS.
15705 (expand_assignment): Handle a RESULT_DECL where
15706 DECL_RTL is a PARALLEL.
15707 (do_jump, case WITH_RECORD_EXPR): New case.
15708 (get_inner_reference): Always go inside a CONVERT_EXPR
15709 and NOP_EXPR if both modes are the same.
15710 (store_field): Use bitfield operations if size of bitsize is not same
15711 as size of RHS's type.
15712 Check for bitpos not a multiple of alignment in BLKmode case.
15713 Do block move in largest possible alignment.
15714 (store_constructor): Set BITSIZE to -1 for variable size and properly
15715 in case of array of BLKmode.
15716 (expand_expr_unaligned): New function.
15717 (do_compare_and_jump): Call it.
15719 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
15720 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
15721 does not include 'o'.
15723 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
15724 both SET_DEST and SET_SRC reference a virtual register.
15725 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
15727 * integrate.c (expand_inline_function): Handle case of setting
15728 virtual stack vars register (from built in setjmp); when parameter
15729 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
15730 (subst_constant): Add new parm, MEMONLY.
15731 (expand_inline_function, integrate_parm_decls): Pass new parm.
15732 (integrate_decl_tree): Likewise.
15733 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
15734 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
15735 (copy_rtx_and_substitute, case SET): Add explicit calls to
15736 copy_rtx_and_substitute for both sides.
15738 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
15740 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
15741 within INDEX_TYPE, instead of before.
15742 (fixup_gotos): Use f->target_rtl, not the next insn,
15743 since latter may be from a later fixup.
15744 (expand_value_return): Correctly convert VAL when promoting function
15745 return; support RETURN_REG being a PARALLEL.
15746 (expand_return): When checking for result in regs and having
15747 cleanup, consider PARALLEL in DECL_RTL as being in regs.
15749 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
15751 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
15752 last_nominal_fname): Mark const.
15753 (struct include_hash: name, nshort, control_macro): Mark
15755 (struct macrodef: symnam): Mark const.
15756 (struct if_stack: fname): Mark const.
15757 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
15758 (IStable): New character-syntax array which encompasses all
15759 the old is_foo arrays.
15760 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
15761 is_space): New macros for interrogating IStable.
15762 (check_macro_name): Kill last argument. All callers changed.
15764 * cppinit.c (initialize_char_syntax): Delete.
15765 (is_idchar, is_idstart, is_hor_space, is_space,
15766 trigraph_table): Delete.
15767 (IStable): New. Initialize with clever macros to avoid
15768 information duplication.
15769 (builtin_array): Table of builtins to get rid of explicit list
15770 in initialize_builtins.
15771 (initialize_builtins): Use builtins_array.
15772 (cpp_start_read): Call init_IStable, and set IStable['$'] if
15773 opts->dollars_in_ident.
15775 * cppexp.c: Change all refs to is_xyz[] arrays to use new
15777 (cpp_parse_expr): Avoid 'format string is not constant'
15778 warning. Use ISGRAPH to identify printable chars.
15779 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
15781 (read_and_prescan): Map trigraphs to chars with open-coded
15782 if-else-if-... sequence, not a lookup table.
15783 * cpphash.c: Change all refs to is_xyz[] arrays to use new
15785 * cpplib.c: Change all refs to is_xyz[] arrays to use new
15786 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
15787 (check_macro_name): Remove ability to report an invalid
15788 assertion name, which is never used.
15789 (do_line): Constify a couple of char *'s.
15790 * cppmain.c (main): Call cpp_cleanup before returning.
15792 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
15794 * ggc.h (struct ggc_statistics): New type.
15795 (ggc_get_size): New function.
15796 (ggc_print_statistics): Likewise.
15797 * ggc-common.c (ggc_stats): New variable.
15798 (ggc_mark_rtx_children): Keep statistics.
15799 (ggc_mark_tree_children): Likewise.
15800 (ggc_print_statistics): New function.
15801 * ggc-page.c (struct globals): Add bytes_mapped field.
15802 (alloc_anon): Update it.
15803 (release_pages): Likewise.
15804 (ggc_get_size): New function.
15805 (ggc_page_print_statistics): New function.
15806 * ggc-simple.c (ggc_get_size): New function.
15808 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
15810 * flow.c (propagate_block): When the last reference to a label
15811 before an ADDR_VEC is deleted because the reference is a dead
15812 store, delete the ADDR_VEC.
15814 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
15816 * resource.c (find_free_register): Don't use the frame pointer
15817 if frame_pointer_needed.
15819 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
15821 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
15822 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
15824 * config/i960/i960.c (i960_va_start): New locals base, num.
15825 Use INDIRECT_REF instead of ARRAY_REF on valist.
15826 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
15828 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
15830 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
15832 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
15834 * tree.def (PLACEHOLDER_EXPR): Update comments.
15836 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15838 * c-common.c (check_format_info): Avoid non-literal format string
15839 warnings when `first_arg_num' is zero.
15841 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15843 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
15845 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
15847 * arm.md (casesi_insn): Add a clobber of the condition code
15850 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
15852 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
15853 used by both cc1 and cc1plus.
15855 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
15857 * config/arm/arm.c: Initialise arm_structure_size_boundary to
15858 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
15859 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
15860 to the value 32 if it has not already been defined.
15861 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
15862 Override definition in arm.h with a value of 8.
15864 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
15866 * c-pragma.c (push_alignment): Don't check the return value
15869 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
15871 * sparc.h (ADJUST_COST): Fix thinko.
15873 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
15875 * cccp.c (rescan): Fixed obp pointer handling around call to
15876 check_expand subroutine.
15878 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
15880 * gcse.c (delete_null_pointer_checks): Only record non-null info
15881 for pseudos when examining stores.
15883 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
15884 splitters for these patterns. Use "#" for output templates.
15885 (addsi3_carryin_shift): New pattern.
15887 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
15889 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
15890 of the function return register into a plain REG until
15891 after function inlining is done.
15893 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
15895 * jump.c (jump_optimize_1): If we did cross-jumping, and
15896 the data will matter, rebuild the CFG.
15897 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
15898 not optimizing. Don't run shorten_branches.
15899 * toplev.c (rest_of_compilation): Run shorten_branches after
15902 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
15904 * rtl.h (note_stores): Add additional paramter.
15905 * rtlanal.c (reg_set_p_1): Take additional paramter.
15906 (reg_set_last_1): Likewise.
15907 (reg_set_p): Adjust call to note_stores.
15908 (reg_set_last): Likewise.
15909 (note_stores): Pass data parameter to worker function.
15910 * alias.c (record_set): Take additional parameter.
15911 (init_alias_analysis): Pass it.
15912 * caller-save.c (mark_set_regs): Take additional parameter.
15913 (save_call_clobbered_regs): Pass NULL to note_stores.
15914 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
15916 (record_dead_and_set_regs_1): Likewise.
15917 (reg_dead_at_p_1): Likewise.
15918 (combine_instructions): Adjust calls to note_stores.
15919 (try_combine): Likewise.
15920 (record_dead_insn): Remove.
15921 (record_dead_and_set_regs): Adjust calls to note_stores.
15922 (reg_dead_at_p): Likewise.
15923 * cse.c (invalidate_skipped_set): Take additional parameter.
15924 (cse_check_loop_start): Likewise.
15925 (cse_check_loop_start_value): Remove.
15926 (cse_set_around_loop): Adjust calls to note_stores.
15927 * flow.c (notice_stack_pointer_modification): Take additional
15928 parameter. Remove duplicate declaration.
15929 (record_volatile_insns): Adjust calls to note_stores.
15930 * gcse.c (record_set_info): Take additional parameter.
15931 (record_last_set_info): Likewise.
15932 (invalidate_nonnull_info): Likewise.
15933 (record_set_insn): Remove.
15934 (compute_sets): Adjust calls to note_stores.
15935 (last_set_insn): Remove.
15936 (compute_hash_table): Adjust calls to note_stores.
15937 (insert_insn_end_bb): Likewise.
15938 (delete_null_pointer_checks): Likewise.
15939 * global.c (mark_reg_store): Take additional parameter.
15940 (mark_reg_clobber): Likewise.
15941 (reg_becomes_live): Likewise.
15942 (global_conflicts): Adjust calls to note_stores.
15943 (build_insn_chain): Likewise.
15944 * integrate.c (note_modified_parmregs): Take additional parameter.
15945 (mark_stores): Likewise. Make it static.
15946 (save_for_inline_nocopy): Adjust calls to note_stores.
15947 (try_constants): Likewise.
15948 * integrate.h (mark_stores): Remove declaration.
15949 * jump.c (mark_modified_reg): Take additional parameter.
15950 (thread_jumps): Adjust calls to note_stores.
15951 * local-alloc.c (validate_equiv_mem_from_store): Take additional
15953 (no_equiv): Likewise.
15954 (reg_is_set): Likewise.
15955 (validate_equiv_mem): Adjust calls to note_stores.
15956 (update_equiv_regs): Likewise.
15957 (block_alloc): Likewise.
15958 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
15959 (note_addr_stored): Take additional parameter.
15960 (note_set_pseudo_multiple_uses): Likewise.
15961 (record_initial): Likewise.
15962 (prescan_loop): Adjust calls to note_stores.
15963 (strength_reduce): Likewise.
15964 (check_dbra_loop): Likewise.
15965 * regmove.c (flags_set_1): Take additional paramter.
15966 (mark_flags_life_zones): Adjust calls to note_stores.
15967 * reload1.c (mark_not_eliminable): Take additional parameter.
15968 (forget_old_reloads_1): Likewise.
15969 (reload_cse_invalidate_rtx): Likewise.
15970 (reload_cse_check_clobber): Likewise.
15971 (reload_combine_note_store): Likewise.
15972 (move2add_note_store): Likewise.
15973 (reload): Adjust calls to note_stores.
15974 (reload_as_needed): Likewise.
15975 (emit_reload_insns): Likewise.
15976 (reload_cse_regs_1): Likewise.
15977 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
15978 (reload_combine): Adjust calls to note_stores.
15979 * resource.c (update_live_status): Take additional paramter.
15980 (mark_target_live_regs): Adjust calls to note_stores.
15981 * stupid.c (find_clobbered_regs): Take additional parameter.
15982 (stupid_life_analysis): Adjust calls to note_stores.
15984 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
15986 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
15989 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
15992 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
15993 of the variable arm_structure_size_boundary.
15995 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
15997 * alias.c (init_alias_analysis): Allocate reg_known_value and
15998 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
16000 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
16001 * cse.c (cse_main): Call end_alias_analysis.
16002 * haifa-sched.c (schedule_insns): Likewise.
16003 * local-alloc. (update_equiv_regs): Likewise.
16004 * reload1.c (reload_cse_regs): Likewise.
16006 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16008 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
16009 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
16010 mapping from MASK_FPU.
16012 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
16014 * sparc.md (call): Don't bound structure return size to 0xfff.
16016 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
16018 * resource.c (mark_target_live_regs): Check that the target
16019 insn wasn't created after compute_bb_for_insn.
16021 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
16023 * ggc-page.c (poison_pages): Don't be overzealous.
16025 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
16027 * alias.c: Update comments for ADDRESS.
16028 (nonlocal_reference_p): Look inside the ADDRESS to determine if
16029 it is a local memory reference.
16031 * c-typeck.c (build_function_call): Check that the built-in
16032 function is of class BUILT_IN_NORMAL before trying to recongize
16033 it as BUILT_IN_ABS.
16034 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
16035 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
16037 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
16039 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
16041 (pre_gcse): Likewise.
16042 (hoist_expr_reaches_here_p): Likewise.
16043 (hoist_code): Likewise.
16044 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
16046 (pre_expr_reaches_here_p_work): ... here.
16047 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
16049 (expr_reaches_here_p_work): ... here.
16051 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
16053 * resource.c (find_basic_block): Delete.
16054 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
16055 (init_resource_info): Call compute_bb_for_insn.
16057 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
16059 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
16060 with already adjacent blocks, but no fallthru.
16061 (merge_blocks_move_successor_nojumps): Simplify.
16062 (debug_flow_info): New.
16064 * toplev.c (rest_of_compilation): Open jump1 dump file before
16065 jump and close after, as opposed to just using dump_rtl.
16067 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16069 * reload.h (earlyclobber_operand_p): Declare.
16070 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
16071 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
16072 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
16073 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
16075 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
16076 Richard Henderson <rth@cygnus.com>
16078 * emit-rtl.c (emit_block_insn_before): New.
16079 (emit_block_insn_after): New.
16080 * basic-block.h: Declare them.
16082 * bitmap.h: Protect from multiple inclusion.
16084 * recog.c (scratch_operand): Handle VOIDmode correctly.
16086 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
16088 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
16089 * function.c (assign_parms): Likewise.
16090 * global.c (global_conflicts): Clarify STACK_REGS commentary.
16092 * reg-stack.c (max_uid): Remove.
16093 (blocks, block_begin, block_end, block_drops_in): Remove.
16094 (block_stack_in, block_out_reg_set, block_number): Remove.
16095 (struct block_info_def, BLOCK_INFO): New.
16096 (enum emit_where): New.
16097 (current_block): New.
16098 (BLOCK_NUM): Remove.
16099 (mark_regs_pat, record_label_references): Remove.
16100 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
16102 (goto_block_pat, print_blocks, dump_stack_info): Remove.
16103 (reg_to_stack): Simplified test for existance of fp code. Use
16104 flow.c code. Call shorten_branches after cross-jump opt.
16105 (check_asm_stack_operands): Renamed from record_asm_reg_life.
16106 Return false if the asm doesn't use stack regs. Don't do life
16107 analysis on the asm.
16108 (emit_pop_insn): Replace function pointer arg `when' with
16109 enum `where'. Update all callers.
16110 (change_stack): Likewise. Update basic block end.
16111 (emit_swap_insn): Use current_block->head to limit reverse search
16112 for start of block. Use emit_block_insn_after.
16113 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
16114 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
16115 structure assignment instead of bcopy.
16116 (print_stack): New.
16117 (convert_regs_entry, convert_regs_exit): New.
16118 (convert_regs_1, convert_regs_2): Split out from convert_regs.
16119 Work on basic blocks and the CFG.
16120 (convert_regs): Use them.
16122 * i386.c (output_fix_trunc): Remove code for DImode input operand
16123 not at top-of-stack.
16124 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
16126 (fix_truncdi_1): Allow any mode scratch.
16128 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
16130 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
16131 * linux.h, netbsd.h, vms.h: Not here.
16133 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
16135 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
16136 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
16137 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
16138 CONDITIONAL_REGISTER_USEAGE): Use them.
16139 * config/mips/mips.c (mips_move_1word,mips_move_2words,
16140 gen_conditional_branch,override_options) : Use them.
16141 * config/mips/mips.md : Use them.
16143 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
16145 * i386.md (zero_extendqihi2): Use SImode register name with andl.
16147 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
16149 * integrate.c (function_cannot_inline_p): Don't allow inlining
16152 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16154 * c-parse.in (cast_expr): Constify.
16156 * cccp.c (special_symbol): Likewise.
16158 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
16160 * dwarf2out.c (base_type_die): Likewise.
16162 * global.c (allocno_compare): Likewise.
16164 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
16166 * regclass.c (fix_register): Likewise.
16168 * rtl.h (fix_register): Likewise.
16170 * stupid.c (stupid_reg_compare): Likewise.
16172 * toplev.c (decode_f_option): Likewise.
16174 * tree.c (build_complex_type): Likewise.
16176 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
16178 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
16180 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16182 * reload.c (find_reloads): Compute mode and nregs fields of all
16184 * reload1.c (calculate_needs_all_insns): Simplify a bit.
16185 (calculate_needs): Use precomputed mode/nregs values.
16186 (allocate_reload_reg): Likewise.
16188 (failed_reload, set_reload_reg): ... new functions.
16189 (choose_reload_regs_init): New function, mostly broken out from...
16190 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
16191 Also lose one #if 0 block.
16193 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
16195 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
16198 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
16200 * tree.h (BLOCK_TYPE_TAGS): Remove.
16201 (BLOCK_END_NOTE): Likewise.
16202 (BLOCK_LIVE_RANGE_FLAG): Likewise.
16203 (BLOCK_LIVE_RANGE_START): Likewise.
16204 (BLOCK_LIVE_RANGE_END): Likewise.
16205 (tree_block): Remove live_range_flag, live_range_var_flag, and
16206 type_tags. Remove end_note, live_range_start, and live_range_end.
16207 (remember_end_note): Remove prototype.
16208 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
16209 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
16211 * ggc-common.c (ggc_mark_tree_children): Don't mark
16212 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
16213 * integrate.c (adjust_copied_decl_tree): Remove.
16214 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
16215 * stmt.c (last_block_end_note): Remove.
16216 (init_stmt): Don't add a GC root for it.
16217 (expand_fixup): Don't set it.
16218 (remember_end_note): Remove.
16219 (expand_end_bindings): Don't set last_block_end_note.
16221 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16223 * reload1.c (reload_reg_free_for_value_p): Show
16224 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
16227 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
16229 * expmed.c (extract_bit_field): Allow for the case of non-integer
16230 objects that are smaller than a word (like SFmode on a 64-bit
16233 * loop.c (basic_induction_var): A non-integer variable which is
16234 being set by a paradoxical subreg is probably not a biv.
16236 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16238 * prefix.c (translate_name) Check for empty prefix string.
16240 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
16242 * Makefile.in (CPP_CROSS_NAME): New variable.
16243 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
16245 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
16246 names of the files to be uninstalled.
16248 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
16250 * collect2.c (IS_DIR_SEPARATOR): Define.
16251 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
16253 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
16256 * haifa-sched.c (add_dependence): Update the true dependency
16257 cache the first time we add a true dependence to the LOG_LINKS chain.
16259 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
16261 * fold-const.c (fold): Fix comment.
16263 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16265 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
16266 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
16267 dbxout_start_new_source_file, dbxout_source_file,
16268 dbxout_source_line, dbxout_finish, dbxout_type_fields,
16269 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
16271 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
16272 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
16273 (dbxout_block): Initialize variable `blocknum'.
16275 * dbxout.h (dbxout_init, dbxout_finish,
16276 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
16277 dbxout_args, dbxout_source_line): Constify a char*.
16279 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
16280 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
16281 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
16282 low_pc_attribute, high_pc_attribute, body_begin_attribute,
16283 body_end_attribute, comp_dir_attribute, sf_names_attribute,
16284 src_info_attribute, mac_info_attribute, producer_attribute,
16285 lookup_filename, generate_macinfo_entry, fundamental_type_code,
16286 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
16287 dwarfout_undef): Constify a char*.
16288 (add_incomplete_type, retry_incomplete_types): Add prototypes.
16290 * dwarfout.h (dwarfout_define, dwarfout_undef,
16291 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
16293 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
16295 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
16296 (MULTILIB_ISA_DEFAULT): New.
16297 (MULTILIB_DEFAULTS): Use it.
16298 * config/mips/mips.c (): Remove the now unnecessary definition
16299 of MIPS_ISA_DEFAULT.
16300 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
16301 unnecessary definition.
16303 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
16305 * arm.md (pic_load_addr): Add constraints to operand 1.
16307 1999-10-25 Bruce Korb <autogen@linuxbox.com>
16309 * fixinc/genfixes: Provide a means for specifying -D options to
16312 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
16314 * arm.c (arm_override_options): Correct initialization of
16315 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
16316 arm_is_strong, and arm_is_6_or_7.
16318 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
16319 (note_set_pseudo_multiple_uses): New function.
16320 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
16321 if a pseudo set in the loop exit is used elsewhere.
16323 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
16325 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
16327 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
16329 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
16330 a single load-address pattern.
16332 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
16334 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
16335 depending on whether or not line-number notes are present.
16337 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16339 * cccp.c (progname, file_buf, default_include, include_file,
16340 macrodef, definition, hashval, wchar_type, user_label_prefix,
16341 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
16342 expand_to_temp_buffer, is_system_include, base_name,
16343 absolute_filename, read_name_map, open_include_file,
16344 record_control_macro, check_precompiled, check_preconditions,
16345 pcfinclude, pass_thru_directive, create_definition,
16346 check_macro_name, comp_def_part, collect_expansion,
16347 check_assertion, read_token_list, assertion_install,
16348 assertion_lookup, eval_if_expression, conditional_skip,
16349 validate_else, skip_quoted_string, quote_string, macarg1,
16350 error_from_errno, install, lookup, hashf, dump_defn_1,
16351 perror_with_name, pfatal_with_name, main, trigraph_pcp,
16352 check_white_space, rescan, handle_directive, monthnames,
16353 special_symbol, do_include, remap_include_file, write_output,
16354 arglist, do_assert, do_unassert, do_line, do_error, do_once,
16355 do_ident, do_sccs, do_xifdef, skip_if_group,
16356 output_line_directive, macroexpand, macarg, change_newlines,
16357 initialize_builtins, make_definition): Constify a char*.
16359 * pcp.h (stringdef): Likewise.
16361 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
16363 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
16366 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
16367 Richard Henderson <rth@cygnus.com>
16369 * alias.c: Include ggc.h.
16370 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
16371 (record_set): Verify enough room in reg_base_value.
16372 (init_alias_analysis): Allocate reg_base_value with xcalloc.
16373 Register it as a GC root.
16374 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
16375 * Makefile.in (alias.o): Depend on ggc.h.
16377 * unroll.c (unroll_loop): Verify the insn before a barrier
16378 is a JUMP_INSN before checking JUMP_LABEL.
16380 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16382 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
16383 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
16384 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
16385 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
16386 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
16387 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
16389 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16391 * output.h (ctors_section, dtors_section, bss_section): Prototype.
16393 * alpha/alpha-interix.h (text_section): Delete prototype.
16394 * alpha/elf.h (text_section): Likewise.
16395 * arm/linux-elf.h (text_section): Likewise.
16396 * arm/linux-telf.h (text_section): Likewise.
16397 * c4x/c4x.h (text_section): Likewise.
16398 * dsp16xx/dsp16xx.h (bss_section): Likewise.
16399 * elfos.h (text_section): Likewise.
16400 * i386/aix386ng.h (text_section): Likewise.
16401 * i386/i386-interix.h (text_section): Likewise.
16402 * i386/sco5.h (text_section): Likewise.
16403 * i386/svr3gas.h (text_section): Likewise.
16404 * nextstep.h (text_section): Likewise.
16405 * psos.h (text_section): Likewise.
16406 * ptx4.h (text_section): Likewise.
16407 * svr3.h (text_section): Likewise.
16408 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
16410 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16412 * final.c (peephole): Delete prototype.
16414 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
16415 (pre_insert_copies): Remove unused variable `bb'.
16417 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
16420 * output.h (peephole): Add prototype.
16422 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
16424 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
16427 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
16429 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
16430 for inlined declarations.
16432 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
16434 * arm.c (logical_binary_operator): New fucntion.
16435 * arm.h (logical_binary_operator): Declare it.
16436 (PREDICATE_CODES): Handle logical_binary_operator.
16437 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
16438 output constraints. Add appropriate splitters.
16439 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
16440 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
16441 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
16443 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16445 * genoutput.c (struct operand_data): New elt eliminable.
16446 (output_operand_data): Write it.
16447 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
16448 (compare_operands): Take it into account.
16449 * recog.h (struct insn_operand_data): New elt eliminable.
16450 * reload1.c (check_eliminable_occurrences, elimination_effects): New
16452 (old_asm_operands_vec, new_asm_operands_vec): Delete.
16453 (eliminate_regs): Move code that detects changes to elimination
16454 target regs into new function elimination_effects.
16455 Delete one #if 0 block.
16456 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
16457 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
16458 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
16459 Only call eliminate_regs for real operands of the insn, not for parts
16460 of its structure or parts matched by things like match_operator.
16461 Use elimination_effects and check_eliminable_occurrences. Use
16462 copy_insn to duplicate the pattern when not in the final pass.
16464 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
16466 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
16469 1999-10-22 Bruce Korb <autogen@linuxbox.com>
16471 * fixinc/README: document the "mach" machine matching test
16472 * fixinc/fixfixes.c: Implement the #else/#endif label fix
16473 * fixinc/fixtests.c: Implement the #else/#endif label test
16474 * fixinc/inclhack.def: utilize these tests and fixes
16475 * fixinc/inclhack.sh: regen
16476 * fixinc/fixincl.x: regen
16477 * fixinc/fixincl.sh: regen
16479 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
16481 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
16484 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
16486 * gcc.1: Document exit codes.
16488 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16490 * calls.c: Include tm_p.h later, so everything we need is defined.
16491 * expr.c: Likewise.
16492 * function.c: Likewise.
16494 * except.c: Include tm_p.h.
16496 * sparc.c: Likewise.
16497 (dwarf2out_cfi_label): Don't prototype.
16498 (check_return_regs, epilogue_renumber,
16499 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
16500 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
16501 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
16502 ultra_schedule_insn): Add static prototype.
16503 (data_segment_operand, text_segment_operand): Call itself with the
16504 proper number of arguments.
16505 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
16507 * sparc.h: Move all declarations to sparc-protos.h.
16508 (SELECT_RTX_SECTION): Pass a missing MODE argument to
16511 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
16513 * config/svr4.h (text_section, ctors_section, dtors_section): Add
16515 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
16516 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
16517 ASM_OUTPUT_ASCII): Constify a char*.
16519 * sparc-protos.h: New file for sparc prototypes.
16521 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16523 * function.c (record_insns, contains): Always declare and define.
16524 (record_insns): Mark with ATTRIBUTE_UNUSED.
16526 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
16528 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
16529 to .section when outputting a .bss section to deal with multiple
16530 .bss input sections (as happens with -fdata-sections)
16531 Also output %progbits, not @progbits so the assembler doesn't treat as
16533 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
16535 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
16536 thumb parts even when building with non-thumb CPUs, by forcing
16539 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
16541 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
16542 (movdf_const_intreg_sp64): Similarly.
16544 * local-alloc.c (update_equiv_regs): Check the correct insn
16545 for pre-existing REG_EQUIV notes.
16547 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
16549 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
16550 block reached by a branch if we're not going to actually process
16553 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
16555 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
16556 a local extern function declaration.
16558 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
16560 * i386.c (ix86_expand_prologue): Properly wrap USE around
16561 reg for CALL_INSN_FUNCTION_USAGE.
16563 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
16565 * config/mips/mips.md (movdf_internal1a): Allow floating-point
16566 move between GP_REGs.
16568 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
16570 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
16571 the mode size when finding out if an offset is legal.
16573 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
16575 * basic-block.h (PROP_*): Move constants from ...
16576 * flow.c: ... here.
16577 (compute_bb_for_insn): Free the array before reallocating.
16578 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
16579 (allocate_reg_life_data): Reset all reg variables collected by
16581 (get_block_head_tail): Don't convert from bb to block.
16582 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
16583 (find_insn_reg_weight): Take block not bb.
16584 (schedule_block): Don't set block num for moved insns.
16585 (schedule_region): Don't update_life_info or find_insn_reg_weight.
16586 (schedule_insns): Do it here instead.
16587 * combine.c (combine_instructions): Invoke compute_bb_for_insn
16588 before update_life_info.
16589 * recog.c (split_all_insns, peephole2_optimize): Update for
16590 new arg to update_life_info.
16591 * rtlanal.c (remove_note): Cope with NULL note.
16592 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
16595 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
16597 * jump.c (jump_optimize_1): More accurately detect casesi insns.
16599 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
16600 block records so that merge_blocks_nomove will clean up correctly.
16601 (split_edge): Handle casesi insns.
16603 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
16605 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
16607 * pa.md (call, call_value): Do not emit a blockage after restoring
16610 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
16612 * c-typeck.c (c_expand_asm_operands): Fix typo.
16614 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16616 * arm.c (fpu_rhs_operand): Verify modes.
16617 (fpu_add_operand): Likewise.
16618 (di_operand): Likewise.
16619 (soft_df_operand): Likewise.
16621 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
16623 * arm.c (arm_return_in_memory): APCS rules state that the elements
16624 of a structure returned in a register must be 'integer-like'.
16626 1999-10-19 Bruce Korb <autogen@linuxbox.com>
16628 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
16629 in the source tree when the generated targets are out of date
16630 * fixinc/genfixes: Alter it to run individual fixes for make.
16631 * fixinc/README: rewrite
16632 * fixinc/inclhack.def: moved initial comments to README
16634 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
16636 * toplev.c (main): Do not generate an error message if an
16637 unrecognised command line switch is recognisable by another
16638 language. If extra_warnings are enabled, then generate a
16639 warning message instead.
16641 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
16643 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
16644 (insert_pack_attributes): Delete prototype.
16646 * c-pragma.c (default_alignment): New static variable.
16647 (push_alignment): Initialize to current effective alignment.
16648 (pop_alignment): Use to set new alignment.
16649 (insert_pack_attributes): Delete function.
16650 (handle_pragma_token): Set default_alignment as well each time
16651 a #pragma pack(<n>) is encountered.
16653 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
16655 * reg-stack.c (stack_result): Aggregates are not returned in
16658 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
16660 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
16662 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
16664 * basic-block.h (set_block_num): Declare.
16665 * flow.c (update_life_info): Don't call compute_bb_for_insn
16666 or free_basic_block_vars.
16667 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
16668 (insn_orig_block): Remove.
16669 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
16670 (schedule_block): Keep BLOCK_NUM up-to-date.
16671 (schedule_insns): Use compute_bb_for_insn.
16672 * recog.c (split_all_insns): Likewise.
16673 (peephole2_optimize): Likewise.
16675 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
16677 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
16678 if the pic register is used.
16680 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16682 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
16683 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
16684 if that tests TREE_PERMANENT.
16686 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
16688 * cse.c (invalidate_for_call): Do not remove memory references from
16689 the table here. It's handled elsewhere.
16691 * haifa-sched.c (add_dependence): Protect references to the
16692 true dependency cache with #ifdef INSN_SCHEDULING.
16693 (remove_dependence): Similarly.
16695 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
16696 to the cfg code that this is a return instruction.
16697 * mn10300.md (return_internal): Similarly.
16699 * combine.c (get_last_value): If the last set of a register
16700 is after subst_low_cuid, then we can not use it to determine
16701 the register's last value.
16703 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
16705 * Makefile.in: Back out previous change.
16707 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
16709 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
16711 * haifa-sched.c (add_dependence): Only check/update the cache
16713 (remove_dependence): Likewise.
16714 (schedule_insns): Only create the true_dependency_cache if the
16715 average number of instructions in a basic block is very large.
16717 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
16719 * Makefile.in (ggc-common.o): Depend on genrtl.h.
16720 (ggc-simple.o): Likewise.
16721 (ggc-page.o): Likewise.
16723 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
16725 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
16726 Prototype for exported functions.
16727 (pre_lcm, pre_rev_lcm): Remove prototypes.
16728 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
16729 (compute_available): Move to lcm.c, and change parameter order.
16730 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
16731 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
16732 (gcse_main): No longer call compute_preds_succs. Rebuild the
16733 set table after reach pre pass.
16734 (pre_insert_map, pre_delete_map, edge_list): New.
16735 (alloc_pre_mem): Allocate edge vectors.
16736 (free_pre_mem): Delete edge vectors.
16737 (compute_pre_data): Call new edge based lcm routines.
16738 (process_insert_insn): New function.
16739 (insert_insn_end_bb): Use it.
16740 (pre_edge_insert): New function.
16741 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
16743 (pre_insert_copies): Revamp using new edge based lcm outputs.
16744 (pre_delete): Likewise.
16745 (one_pre_gcse_pass): Insert & remove fake edges to the exit
16747 (compute_code_hoist_vbeinout): New new edge based routines.
16748 * lcm.c: Remove all the old LCM functions. Replace with new ones
16749 that work with the new cfg datastructures and work with edges
16752 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16754 * reload.h (struct reload): Add new fields "mode" and "nregs".
16755 * reload1.c: Change all occurrences of reload_mode and reload_nregs
16756 to reference the "mode" and "nregs" field within struct reload.
16758 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
16760 * haifa-sched.c (true_dependency_cache): New.
16761 (add_dependence): Use the true dependency cache to avoid expensive
16762 walks down the LOG_LINKS dependency list. Add entries to the
16763 cache as necessary.
16764 (remove_dependence): Remove entries from the true dependency cache
16766 (schedule_insns): Allocate and initialize and free the true
16769 * haifa-sched.c (schedule_insns): Do not remove inter-block
16770 dependencies anymore.
16772 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
16774 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
16775 * i386/t-winnt: Likewise.
16777 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
16779 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
16781 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
16783 * Makefile.in (LANGUAGES): Omit "proto".
16784 (clean): Remove stale comment about removing unprotoize.c.
16786 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16788 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
16789 using arithmetic on void pointers.
16791 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
16793 * haifa-sched.c (compute_block_forward_dependencies): Only check
16794 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
16796 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
16798 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
16799 (expr_equiv_p): Reject memories with different alias sets.
16801 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
16803 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
16804 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
16805 (f_options): Add "bounded-pointers" and "bounds-check" entries.
16806 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
16807 (lang_init): Set default for flag_bounds_check if still "unspecified".
16809 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16811 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
16813 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16815 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
16818 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16820 * config/c4x/c4x.md (*db_noclobber,
16821 *decrement_and_branch_until_zero_noclobber): New patterns and
16822 associated splitters.
16824 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16826 * config/c4x/c4x.md (parallel instruction patterns): Rework
16827 constraints to keep reload happy.
16829 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16831 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
16832 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
16833 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
16834 Add new patterns and associated post-reload splitters.
16836 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16838 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
16840 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16842 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
16844 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
16846 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16848 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
16851 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
16853 * pa.c (move_operand): Rely on memory_address_p to determine the
16854 validity of non-indexed memory addresses.
16855 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
16856 operand in DFmode and SFmode when generating PA2.0 code.
16858 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
16860 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
16862 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
16864 * mips.c (function_prologue): Fix argument types.
16865 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
16866 (casesi_internal): Write to the scratch register.
16868 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
16870 * cppexp.c (cpp_parse_escape): Make static. Change second arg
16872 (parse_charconst): Delete unnecessary cast when calling
16874 (cpplib.h): Kill prototype of cpp_parse_escape.
16876 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
16878 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
16879 * unroll.c (unroll_loop): Cast return value of alloca.
16880 * i370/i370.c: Include function.h and toplev.h.
16881 (i370_label_scan): Remove c++ commented abort.
16882 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
16883 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
16884 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
16885 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
16887 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
16889 * config/t-freebsd: Do not override USER_H.
16890 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
16892 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
16893 Mumit Khan <khan@xraylith.wisc.edu>
16895 * c-parse.in (component_decl): Support anonymous struct/union.
16897 * c-parse.y: Regenerate.
16898 * c-parse.c: Likewise.
16899 * objc/objc-parse.y: Likewise.
16900 * objc/objc-parse.c: Likewise.
16901 * c-decl.c (finish_struct): Don't sort the fields.
16902 (field_decl_cmp): Delete unused function.
16904 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
16906 * sparc.md (movsf_const_intreg): Revert last constraint change.
16907 (movdf_const_intreg_sp32): Likewise.
16909 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
16911 * cse.c: Include hashtab.h instead of splay-tree.h
16912 (struct cse_reg_info): No longer use variant union. Add new
16913 field "regno". All references changed to avoid union.
16914 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
16915 (free_cse_reg_info): Remove.
16916 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
16917 (get_cse_reg_info): Revamp to use expandable hash tables instead
16918 of splay trees. Initialize new fields in cse_reg_info structure.
16919 (new_basic_block): Similarly.
16921 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
16923 * genrecog.c (message_with_line): Prototype.
16924 (validate_pattern): Pass along the set for the dest, not a flag.
16925 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
16926 Check for PC/CC0 as sources.
16927 (nodes_identical): Check for children position match before
16928 allowing the combination.
16930 * rtl.c (read_rtx): Track line number across \\\n.
16932 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
16934 * mips.h (SPECIAL_MODE_PREDICATES): New.
16935 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
16936 (movdi+1, movsi+1): Add output reload constraint.
16937 (casesi_internal): Likewise. Fix commentary.
16938 (return_internal): Use pmode_register_operand.
16940 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
16942 * 1750a.md (movstrqi): Add missing output reload constraint.
16943 (call_value): Likewise.
16944 * a29k.md (cpxxx patterns): Add missing match_operator mode.
16945 (jmpfdec): Add missing inout reload constraint.
16946 * elxsi.md (addsi patterns): Add missing output reload constraint.
16947 (move from sp): Use @ alternates.
16948 (call_value): No constraint on output.
16949 * fr30.md (movsi_pop): Add missing output reload constraint.
16950 (movsf_constant_store): Likewise.
16951 (splits): Remove constraints.
16952 (subsi3): Add missing mode.
16953 * i370.md (cmpstrsi+1): Add missing output reload constraint.
16954 (call_value): Likewise.
16955 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
16956 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
16957 * m32r.md (movsicc_internal): Add output reload constraint.
16958 (movstrsi_internal): Add inout reload constraints.
16959 * m88k.h (reg_names): Don't declare.
16960 (SPECIAL_MODE_PREDICATES): New.
16961 * m88k.md (*): Use register_operand not reg_or_0_operand
16963 * mn10200.h (PREDICATE_CODES): New.
16964 * ns32k.md (ffs pattern): Add output reload constraint.
16965 * pdp11.md (sob pattern): Add inout reload constraint.
16966 * sh.md (splits): Remove constraints.
16967 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
16968 * v850.md (pattern_is_ok_for_epilogue): Likewise.
16969 * vax.md (jgequ pattern): Add inout reload constraint.
16971 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
16973 * configure.in (djgpp): Revert previous patch.
16974 * configure: Rebuit.
16975 * config/i386/djgpp.h: Revert previous patch.
16977 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
16979 * fixinc/inclhack.def: Restore patch lost during last merge of
16980 "no_bogosity" branch.
16981 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
16983 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
16985 * fixincludes: Add a HPUX 11 fix for inttypes.h.
16986 * fixinc/inclhack.def: Same.
16987 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
16989 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
16991 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
16992 as the base of a PLUS.
16994 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16996 * config/c4x/c4x.md: Define mode for remaining unspec operators.
16997 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
16999 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
17001 * pa.md (post_stw+1): Use pmode_register_operand.
17002 (dcacheflush, icacheflush): Likewise.
17004 * i386.md (movstricthi_1): Allow r/r.
17006 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
17008 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
17009 to (not (and (arg0) (arg1))). Similary for and.
17011 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
17012 fallthrough to associate code.
17013 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
17016 * combine.c (simplify_logical): Convert XOR to IOR if operands have
17017 no bits in common; remove XOR to ROTATE conversion.
17019 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17021 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
17023 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17025 * config/c4x/c4x.c (dst_operand): New.
17026 (PREDICATE_CODES): Update.
17027 * config/c4x/c4x.h (dst_operand): Declare it.
17028 * config/c4x/c4x.md: Define mode for each unspec usage.
17029 (move patterns): Use dst_operand predicate instead of src_operand.
17030 (movqi_update, movqf_update): Delete.
17032 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
17034 * recog.c (pmode_register_operand): New.
17035 * recog.h: Declare it.
17036 * genrecog.c (pred_codes): Likewise.
17037 (special_mode_pred_table): Likewise.
17038 (validate_pattern): Don't warn no mode for address_operand.
17040 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
17041 if the operand is not insn-like.
17043 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
17044 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
17046 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
17048 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
17050 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
17051 instead of general_operand in a SET_DEST. Use const_double_operand
17052 instead of an explicit test against CONST_DOUBLE.
17053 (movsf_const_lo): Add missing register mode.
17054 (goto_handler_and_restore): Add auxiliary test for Pmode.
17055 (flush): Adjust to use address_operand.
17056 (return_sf_no_fpu): Add missing output constraint.
17058 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
17060 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
17061 for call return value.
17062 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
17064 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
17066 * toplev.c (main): Only warn about options for other languages.
17067 * collect2.c (main): Pass -w to sub-gcc.
17069 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
17071 * flow.c (propagate_block): Add call-clobbered registers to
17074 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
17075 zapping mem_set_list.
17076 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
17077 (mark_set_1, mark_used_regs): Likewise.
17079 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
17081 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
17083 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
17085 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
17086 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
17087 options. Also add a new item "C-only Warning Options" to the
17090 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
17092 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
17093 from multiple calls.
17095 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
17097 * i386.md (call value patterns): Move to the end of the file.
17098 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
17100 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
17102 * configure.in (djgpp configuration): Define extra_objects..
17103 * configure: Rebuilt.
17104 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
17105 (DTORS_SECTION_ASM_OP): Define.
17106 (INIT_SECTION_ASM_OP): Define.
17107 (FINI_SECTION_ASM_OP): Define.
17108 (DATA_SECTION_ASM_OP): Define.
17109 (TEXT_SECTION_ASM_OP): Define.
17110 (EH_FRAME_SECTION_ASM_OP): Define.
17111 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
17112 (STARTFILE_SPEC): Add crtbegin.o.
17113 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
17114 to here from LINK_COMMAND_SPEC.
17115 (DO_GLOBAL_CTORS_BODY): Define.
17116 (CRTSTUFF_USE_FINI_SECTION): Define
17117 (HAS_INIT_SECTION): Delete.
17119 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
17121 * Makefile.in (all.cross): Depend on xcpp$(exeext).
17123 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
17125 * pa.h (PREDICATE_CODES): New.
17127 * genrecog.c (validate_pattern): Condense the destination
17128 non-lvalue message.
17130 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
17132 * alpha.md (call-1): Supply missing mode for operator.
17133 (*): Add missing output reload constraints. Remove constraints
17134 from define_splits.
17136 * i386.h (SPECIAL_MODE_PREDICATES): New.
17137 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
17138 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
17139 (addsi_lea_3): Add missing mode for op 3.
17140 (prologue_set_got, prologue_get_pc): Add missing modes.
17141 (*) Add missing output reload constraints.
17143 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
17145 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
17146 check for member bit-size overflow and use var_size if it occurs.
17147 (layout_record): Use bitsize_int() to define the type size in bits.
17148 Likewise for computation and assignment to DECL_FIELD_BITPOS.
17149 (layout_decl): Likewise when assigning to DECL_SIZE.
17151 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
17153 * genrecog.c (validate_pattern): Typo last change. Verify
17154 that output operands have output reloads.
17156 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
17158 * genrecog.c (special_mode_pred_table): New.
17159 (NUM_SPECIAL_MODE_PREDS): New.
17160 (find_operand): New.
17161 (validate_pattern): New argument `insn'. Warn for assignment to
17162 any predicate accepting non-lvalues. Conditionaly warn for
17163 match_operand without a mode. Try much harder to match source
17164 and destination modes on a set.
17165 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
17167 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
17169 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
17171 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
17173 * combine.c (simplify_logical): Recognize xor pattern that encodes
17176 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17178 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
17181 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
17183 * ggc-page.c (MAP_FAILED): Provide default.
17185 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
17187 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
17188 * sparc.h (PREDICATE_CODES): Update.
17190 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
17192 * alpha.c (some_ni_operand): New.
17193 * alpha-protos.h: Declare it.
17194 * alpha.h (PREDICATE_CODES): Update.
17195 * alpha.md (sXaddq reload insns): Use some_ni_operand
17196 for SET_DEST instead of some_operand.
17198 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
17199 Jim Wilson <wilson@cygnus.com>
17201 * genrecog.c (maybe_both_true_2): Don't compare modes of
17203 (process_tree): Elide peephole2_insns. Invoke simplify_tests
17204 after find_afterward.
17205 (debug_decision_1): Dump next and afterward codes.
17207 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
17209 * rtl.c (dump_and_abort): Remove.
17210 (fatal_with_file_and_line): New.
17211 (fatal_expected_char): New.
17212 (read_rtx_lineno, read_rtx_filename): New.
17213 (read_skip_spaces): Track line number.
17214 (read_name): Use fatal_with_file_and_line.
17215 (read_rtx): Use fatal_expected_char. Track line number.
17216 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
17218 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
17219 if it isn't a CODE_LABEL.
17221 * genattr.c (main): Set read_rtx_filename.
17222 * genattrtab.c (main): Likewise.
17223 * gencodes.c (main): Likewise.
17224 * genconfig.c (main): Likewise.
17225 * genemit.c (main): Likewise.
17226 * genextract.c (main): Likewise.
17227 * genflags.c (main): Likewise.
17228 * genopinit.c (main): Likewise.
17229 * genoutput.c (main): Likewise.
17230 * genpeep.c (main): Likewise.
17232 * genrecog.c (decision_test.u.insn): Add `lineno'.
17233 (pattern_lineno, error_count): New variables.
17234 (message_with_line): New.
17235 (add_to_sequence): Break out checking code to ...
17236 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
17237 (merge_insn): Use message_with_line.
17238 (make_insn_sequence): Use validate_pattern. Record insn lineno.
17239 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
17241 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17243 * expr.c (store_constructor): Clear union if constructor is empty.
17245 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
17247 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
17248 Add !endian checks. Change %{...} to %(...).
17250 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
17252 * i386.md (*addsi3_cc): Renamed from addcsi3.
17253 (*addsi3_carry): Renamed from addxsi3.
17254 (*subsi3_cc): Renamed from subcsi3.
17255 (*subsi3_carry): Renamed from subxsi3.
17256 (*xorqi_cc_1): Renamed from xorcqi_1.
17257 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
17258 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
17260 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
17262 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
17263 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
17265 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
17267 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
17268 climb up the chain of insns.
17270 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
17272 * genrecog.c (write_subroutine): Careful for null trees.
17273 (process_tree): Don't elide empty functions.
17275 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
17277 * Makefile.in (genrtl.o): Depend on ggc.h.
17278 * configure.in (valloc): Probe for it.
17279 (with-gc): Use ggc-page if valloc present.
17280 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
17281 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
17282 (ggc_alloc_string): Moved from ggc-page.c.
17283 * ggc-none.c (ggc_alloc_obj): New.
17284 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
17285 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
17286 (struct globals): Likewise for dev_zero_fd.
17287 (init_ggc): Likewise for it's initialization.
17288 (ggc_allocated_p): Move careful dereference from ...
17289 (ggc_lookup_page_table): ... here. Delete.
17290 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
17291 (alloc_anon): Use valloc if no mmap.
17292 (release_pages): Use free if using valloc.
17293 (ggc_alloc_obj): Renamed from alloc_obj.
17294 (ggc_set_mark): Renamed from mark_obj.
17295 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
17296 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
17297 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
17298 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
17299 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
17300 (ggc_collect): Use fp printing instead of our own rounding.
17301 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
17302 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
17303 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
17304 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
17305 (struct ggc_string, struct ggc_any): Delete.
17306 (offsetof): Provide default definition.
17307 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
17309 (struct ggc_mem): New, from corpse of ggc_any.
17310 (struct ggc_status): Delete.
17311 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
17312 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
17313 (n_strings_collected, n_anys_collected): Delete.
17314 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
17315 (ggc_alloc_string, ggc_alloc): Delete.
17316 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
17317 (ggc_free_string, ggc_free_any): Delete.
17318 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
17319 (ggc_compare_addresses, ggc_mark_string): Delete.
17320 (ggc_mark_string_if_gcable, ggc_mark): Delete.
17321 (search_data): Delete.
17322 (struct globals): New.
17323 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
17324 (tree_insert, tree_lookup): New.
17325 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
17326 (clear_marks, sweep_objs): New.
17327 (ggc_collect): Gut. Use clear_marks, sweep_objs.
17328 (init_ggc): Set allocated_last_gc.
17329 (ggc_push_context): Gut. Use G.context.
17330 (ggc_pop_context): Likewise.
17331 (ggc_pop_context_1): New.
17332 (debug_ggc_tree): New.
17333 (debug_ggc_balance, tally_leaves): New.
17334 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
17335 (ggc_mark_string_if_gcable): Remove decl.
17336 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
17337 (ggc_mark_rtvec_children): New.
17338 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
17339 (ggc_mark_if_gcable): New decl.
17340 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
17341 (ggc_alloc_tree, ggc_alloc): Likewise.
17342 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
17343 (ggc_alloc_obj): New decl.
17344 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
17345 (ggc_alloc_tree, ggc_alloc): Likewise.
17346 (ggc_set_mark): New decl.
17347 * rtl.h (struct rtx_def): Remove gc_mark.
17348 (struct rtvec_def): Likewise.
17349 * tree.h (struct tree_common): Likewise.
17351 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
17353 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
17354 float_format and thread_file definitions.
17355 * configure: Rebuilt.
17357 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
17359 * extend.texi (Function Names): Document types of function names.
17361 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17363 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
17364 an earlyclobbered output conflict with RELOAD_INPUT reloads.
17366 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17368 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
17370 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17372 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
17374 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
17376 * collect2.c (main): Do prelimnary link on AIX if rflag.
17378 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
17380 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
17381 __CTOR_LIST__ in opposite order, which is the correct order for sorted
17383 (__do_global_dtors): similarly for __DTOR_LIST__.
17385 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17386 Diego Novillo <dnovillo@cygnus.com>
17388 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
17391 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
17393 * fixincl/*: Merged "no_bogosity" branch
17394 * fixincl/fixlib.h: protect against doubly defining t_bool
17395 * fixincl/server.h: protect against doubly defining t_bool
17397 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
17399 * genoutput.c: Include toplev.h.
17401 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
17403 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
17405 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
17406 * configure: Regenerate.
17408 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
17410 * gcse.c (delete_null_pointer_checks): Returns void.
17412 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17414 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
17415 * emit-rtl.c (copy_insn_1): Likewise.
17417 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
17419 * config/mips/mips.c (mips_build_va_list): Correct
17420 TREE_CHAIN setting when hard-float.
17421 (mips_va_start): Use corrected setting.
17422 (mips_va_arg): Likewise. Also pass a tree to build of
17423 POSTINCREMENT_EXPR rather than a naked 'int'.
17425 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
17427 * ggc.h (ggc_push_context): Fix comment.
17428 (ggc_pop_context): Likewise.
17429 (mark_string_if_gcable): Likewise.
17430 * ggc-common.c (ggc_mark_rtx_children): Use
17431 ggc_mark_string_if_gcable.
17432 * ggc-page.c (ggc_lookup_page_table): New function.
17433 (ggc_allocated_p): Likewise.
17434 (mark_obj): Fix formatting.
17435 (ggc_mark_string_if_gcable): New function.
17436 * ggc-simple.c (ggc_allocated_strings): New variable.
17437 (ggc_strings_used): Likewise.
17438 (ggc_compare_addresses): New function.
17439 (ggc_pop_context): Pop the `any' memory too.
17440 (ggc_mark_string_if_gcable): New function.
17441 (ggc_collect): Initialize and tear down ggc_allocated_strings.
17443 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
17445 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
17446 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
17447 * rs6000.c (expand_block_move): Match movstrsi_?reg register
17450 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
17452 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
17453 (sched_reg_live_length, sched_reg_basic_block): Delete.
17454 (current_block_num, bb_live_regs, old_live_regs): Delete.
17455 (dead_notes, struct sometimes): Delete.
17456 (sched_note_set, birthing_insn_p): Delete.
17457 (adjust_priority): Gut useless reg lifetime code.
17458 (create_reg_dead_note, attach_deaths): Delete.
17459 (attach_deaths_insn, new_sometimes_live): Delete.
17460 (finish_sometimes_live): Delete.
17461 (find_pre_sched_live, find_post_sched_live): Delete.
17462 (update_reg_usage): Delete.
17463 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
17464 (schedule_insns): Delete reg lifetime code.
17465 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
17466 (unlink_other_notes): Adjust REG_NOTE commentary.
17467 (reemit_notes): Use REG_SAVE_NOTE.
17468 (schedule_block): Likewise.
17469 (schedule_region): Allocate bitmap of blocks in region. Use
17470 count_or_remove_death_notes. Use update_life_info.
17472 * rtl.h (REG_SAVE_NOTE): New.
17473 * rtl.c (reg_note_name): Update.
17475 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
17477 * combine.c (refresh_blocks, need_refresh): New.
17478 (combine_instructions): Allocate refresh_blocks. Invoke
17479 update_life_info if needed.
17480 (distribute_notes): Mark refresh_blocks instead of installing
17482 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
17483 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
17485 * Makefile.in (recog.o): Depend on basic-block.h.
17487 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
17489 * genrecog.c (add_to_sequence): Thinko last change: delete
17490 shadowing allow_const_int variable.
17492 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17494 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
17495 __GNUC__ and __GNUC_MINOR__.
17497 * gansidecl.h: Likewise.
17503 * toplev.h: Likewise.
17505 * tree.c: Likewise.
17507 * tree.h: Likewise.
17509 * varray.c: Likewise.
17511 * varray.h: Likewise.
17513 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17515 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
17516 use one before a jump table.
17518 * rtl.def (ADDRESS): Change documentation to match reality.
17519 * md.texi: Don't document it.
17520 * gmicro.md (load address pattern): Use 'p' constraint, delete use
17523 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
17525 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
17527 * genrecog.c (add_to_sequence): Move allow_const_int test outside
17528 known predicate block; default allow_const_int true.
17529 (debug_decision_list): New.
17531 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
17533 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
17535 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
17537 * gcse.c (gcse_main): Avoid global optimizations if we have a
17538 large number of basic blocks and the ratio of edges to blocks
17540 (delete_null_pointer_checks): Likewise.
17542 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
17544 * c-common.c (check_format_info): Warn if format string isn't a
17547 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
17549 * configure.in (arm*-*-*): Don't let autoconf remove brackets
17550 * configure: regenerate
17552 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
17554 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
17555 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
17556 (peepholes): Re-enable.
17558 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
17560 * Makefile.in (flow.o): Depend on TREE_H.
17561 * basic-block.h (REG_SET_EQUAL_P): New.
17562 (XOR_REG_SET): New.
17563 (n_edges): Declare.
17564 (free_regset_vector): Remove declaration.
17565 (flow_delete_insn_chain): Declare.
17566 (enum update_life_extent): New.
17567 (update_life_info, count_or_remove_death_notes): Declare.
17568 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
17569 Verify register live at bb->global_live_at_start before adding USE.
17570 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
17571 (CLEAN_ALLOCA): New.
17573 (PROP_*): New flags.
17574 (find_basic_blocks_1): Use alloc_EXPR_LIST.
17575 (clear_edges): Zero n_edges.
17576 (make_edge): Increment n_edges.
17577 (split_edge): Don't allocate bb->local_set. Increment n_edges.
17578 (flow_delete_insn_chain): Export.
17579 (delete_block): Decrement n_edges.
17580 (merge_blocks_nomove): Likewise.
17581 (life_analysis): Give life_analysis_1 PROP flags.
17582 (verify_wide_reg_1, verify_wide_reg): New.
17583 (verify_local_live_at_start): New.
17584 (update_life_info): Rewrite to call into propogate_block.
17586 (mark_regs_live_at_end): After reload, if epilogue as rtl,
17587 always mark stack pointer. Conditionally mark PIC register.
17588 After reload, mark call-saved registers, return regsiters.
17589 (life_analysis_1): Accept PROP flags not remove_dead_code.
17590 Call mark_regs_live_at_end before zeroing regs_ever_live.
17591 Use calculate_global_regs_live. Copy global_live_at_end before
17592 calling final propagate_block. Zero reg_next_use on exit.
17593 (calculate_global_regs_live): New.
17594 (allocate_bb_life_data): Don't allocate bb->local_set.
17595 (init_regset_vector, free_regset_vector): Remove.
17596 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
17597 Test flags before every operation. Warn if prologue/epilogue insn
17598 would have been deleted.
17599 (mark_set_regs, mark_set_1): Accept and use FLAGS.
17600 Use alloc_EXPR_LIST.
17601 (mark_used_regs): Accept and use FLAGS, not FINAL.
17602 Remove special handling for RETURN.
17603 (try_pre_increment): Use alloc_EXPR_LIST.
17604 (dump_flow_info): Dump n_edges.
17605 (unlink_insn_chain, split_hard_reg_notes): Remove.
17606 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
17607 (find_insn_with_note, new_insn_dead_notes): Remove.
17608 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
17609 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
17610 (replace_insns): Remove.
17611 (count_or_remove_death_notes): New.
17612 (verify_flow_info): Abort on error after all checks.
17613 (remove_edge): Decrement n_edges.
17614 (remove_fake_edges): Tweak format.
17615 * haifa-sched.c (schedule_insns): Use split_all_insns.
17616 * output.h (update_life_info): Remove declaration.
17617 * recog.c (split_all_insns): From the corpse of split_block_insns,
17618 do the whole function block by block. Use update_life_info.
17619 (recog_last_allowed_insn): New.
17620 (recog_next_insn): Mind it.
17621 (peephole2_optimize): Set it. Walk backwards through blocks.
17622 Use update_life_info.
17623 * rtl.h (update_flow_info, replace_insns): Remove declarations.
17624 (split_all_insns): Declare.
17625 * toplev.c (rest_of_compilation): Thread prologue before flow2.
17626 Use split_all_insns.
17628 * i386.md (or -1 peep2s): Disable.
17630 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
17632 * config/mips/mips.md (movstrsi+[123]) : Combine these into
17633 a single pattern. Scrap the 'd' versions as unnecessary.
17635 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
17636 tablejump_mips162,tablejump_internal4): The operands to a
17637 label_ref must be VOIDmode.
17639 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17641 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
17643 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
17645 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
17647 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
17649 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
17650 cache every function if ggc_p.
17652 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17654 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
17655 instead of copy_rtx. Accept sequences that contain asm statements.
17656 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
17657 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
17658 orig_asm_operands_vector, copy_asm_operands_vector,
17659 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
17661 * rtl.h (copy_insn, copy_insn_1): Declare.
17663 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17665 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
17667 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
17668 arguments to `current_file_function_operand'.
17670 * genrecog.c: Include hard-reg-set.h and resource.h in the
17671 generated output file.
17673 * real.c: Include tm_p.h.
17675 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17677 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
17680 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
17682 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
17683 before the fctiwz insn.
17685 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17686 Mark Mitchell <mark@codesourcery.com>
17688 * tree.c (make_lang_type_fn): New funtion pointer.
17689 (make_lang_type): Call it.
17690 * tree.h (make_lang_type): Declare.
17691 (make_lang_type_fn): Likewise.
17692 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
17694 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
17696 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
17697 make sure that HIGH instructions are copied into BASE_REGS.
17699 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
17701 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
17703 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
17705 * c-decl.c (finish_struct): Use simpler method of
17706 removing elements of a singly-linked list.
17708 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
17710 * alpha.md (peephole2's): Comment out peephole2's that generate
17713 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
17715 * genrecog.c (add_to_sequence): Disable mode check for
17718 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17720 * ggc-simple.c (init_ggc): Set empty_string.
17722 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
17724 * configure.in: Detect mmap. Add --with-gc=foo to select
17725 garbage collector; default to page if mmap available.
17726 * Makefile.in (GGC): Substitute.
17728 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
17730 * c-decl.c (ggc_p): Enable.
17732 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17734 * flow.c (verify_flow_info): Make it extern & unconditionally define.
17736 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
17738 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
17739 string for little-endian-data.
17741 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
17743 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
17744 case somebody tries to compile --enable-checking code with gcc
17747 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
17749 * genrecog.c (add_to_sequence): Verify operand to label_ref is
17752 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
17754 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
17755 * jump.c (jump_optimize_1): Document why.
17757 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17759 * collect2.c (scan_prog_file, scan_libraries): Prototype function
17760 pointers and casts for `int_handler' and `quit_handler'.
17762 * flow.c (verify_flow_info, split_hard_reg_notes,
17763 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
17764 remove_edge, remove_fake_successors): Add static prototypes.
17765 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
17766 (mark_set_1): Initialize variable `regno'.
17767 (unlink_insn_chain): Likewise for variable `curr'.
17768 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
17770 * loop.c (strength_reduce): Initialize variable
17771 `unrolled_insn_copies'.
17772 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
17773 prototypes. Change these functions to take const PTR parameters
17774 to avoid prototype conflict when used as the comparson argument
17776 (check_dbra_loop): Initialize variable `comparison_val'.
17778 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
17779 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
17780 (find_valid_class): Initialize variable `best_class'.
17781 (find_reloads): Call memcpy, not bcopy.
17783 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
17784 (hard_reg_use_compare): Don't needlessly cast away const.
17785 (reload_reg_class_lower): Likewise.
17786 (choose_reload_regs): Initialize variable `regno'.
17788 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
17790 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
17792 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
17794 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
17795 ({,d}discard): Add forward declarations. Declare parameter as
17797 (main_without_main): Explicitly declare return type to be int.
17798 (memcpy): Properly declare.
17800 * libgcc2.c (toplevel): If inhibit_libc is defined and not
17801 building the trampoline support, declare malloc, free, and
17803 (__clear_cache): Mark arguments as potentially unused.
17805 * frame.c (toplevel): If inhibit_libc is defined, declare
17808 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
17810 * flow.c (make_edge): Accept an optional 2D bitmap in which
17811 to cache edge existence. Update all callers.
17812 (make_label_edge, make_eh_edge): Pass through the edge cache.
17813 (make_edges): Provide the cache.
17815 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17817 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
17819 (local_mbtowc): Change the type of variable `i' from int to size_t.
17821 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
17822 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
17824 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
17826 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
17827 after other includes that define the appropriate types. Include
17828 tm_p.h for getting user prototypes.
17829 * ggc-callbacks.c (toplevel): Ditto.
17830 * ggc-none.c (toplevel): Ditto.
17831 * gcc-page.c (toplevel): Ditto.
17832 * ggc-simple.c (toplevel): Ditto.
17834 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
17835 Jonathan Larmour <jlarmour@cygnus.co.uk>
17837 * config/mips/mips.c (mips_move_2words): Split doubles if
17838 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
17840 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
17842 * genrecog.c (struct decision_test): New.
17843 (struct decision): Remove test-related members, sort the rest by size.
17844 (IS_SPLIT): Simplify.
17845 (new_decision, new_decision_test): New.
17846 (add_to_sequence): Use them. No special handling for args of
17848 (maybe_both_true): Renamed from not_both_true; return sense changed.
17849 (maybe_both_true_1, maybe_both_true_2): New. Broken out
17850 of maybe_both_true and adjusted for decision_test.
17851 (position_merit): Remove.
17852 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
17853 (merge_accept_insn): New, broken out of merge_trees.
17854 (merge_trees): Use them. No special case for c_test; no node
17855 splitting; use test type instead of position_merit.
17856 (factor_tests): New.
17857 (simplify_tests): New.
17858 (break_out_subroutines): Don't write code now.
17859 (find_afterward): New.
17860 (write_afterward, write_switch, write_cond): New.
17861 (write_action, is_unconditional): New.
17862 (write_node): New. Use them.
17863 (write_tree_1): Rewrite. Use the new functions above.
17864 (write_tree): Remove afterward processing.
17865 (write_subroutine): Simplify function variant emission.
17866 (write_subroutines): New.
17867 (same_codes, clear_codes): Remove.
17868 (same_modes, clear_modes): Remove.
17869 (write_header): New, broken out of main.
17870 (make_insn_sequence): Use new_decision and new_decision_test.
17871 (process_tree): New, broken out of main.
17872 (main): Adjust for merge_trees interface change.
17873 Don't #define operands in the output file.
17874 (record_insn_name): New, broken out of make_insn_sequence.
17875 (debug_decision_2, debug_decision_1, debug_decision_0): New.
17876 (debug_decision): New.
17878 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
17880 * resource.c (find_free_register): Mark class_str argument const.
17881 * resource.h: Update prototype to match.
17883 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
17884 * i386.md: Give all anonymous insns names.
17886 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
17888 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
17891 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
17893 * toplev.c (dbr_sched_time): Unconditional.
17894 (peephole2_time): New.
17895 (compile_file): Add pass numbers to all of the dump file suffixes.
17896 Dump peephole2_time. Don't dump times for non-applicable passes.
17897 (rest_of_compilation): Add pass numbers to dump file suffixes.
17898 Conditionalize calls to the scheduler.
17899 * invoke.texi: Update.
17901 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
17903 * flow.c (make_edges): Fix insn iteration.
17904 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
17905 (find_basic_blocks_1): Fix spelling mistake.
17907 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
17909 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
17910 always have side-effects. Use memset not bzero.
17911 (make_node): Likewise.
17913 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
17915 * stmt.c (expand_anon_union_decl): When any of the elements of the
17916 union is addressable, so is the entire union.
17918 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
17920 * sbitmap.c (sbitmap_ones): Don't set too many bits.
17922 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
17923 * bitmap.c (bitmap_operation): Return true iff TO changed.
17924 (bitmap_equal_p): New.
17925 (bitmap_bit_p): Tidy arithmetic.
17926 (debug_bitmap_file): Likewise.
17928 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
17930 * toplev.c (rest_of_compilation): Turn on cse_not_expected
17931 before cse2 instead of after.
17933 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
17935 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
17938 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17940 * cppinit.c (is_idchar initializer): Loosen tests to accept
17943 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
17945 * mips.md: Define conditional move patterns for floating point
17946 operands and DI mode conditions.
17948 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
17950 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
17951 always have side-effects.
17953 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
17955 * mn10200.c (asm_file_start): Fix typo.
17957 * cppinit.c (is_idchar initializer): Tighten tests for when
17958 to put the table into initialized memory.
17960 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
17961 not an array of rtunion.
17962 * gcc-page.c (ggc_alloc_rtvec): Similarly.
17963 * gcc-simple (ggc_free_rtvec): Similarly.
17965 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
17968 * mbchar.h: Add missing #endif.
17970 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
17971 (FPBIT, DPBIT): Define.
17973 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17975 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
17977 * profile.c (instrument_arcs, output_gcov_string,
17978 tablejump_entry_p): Add static prototypes.
17979 (output_gcov_string): Constify a char*.
17981 * regmove.c (replacement_quality, fixup_match_2): Add static
17984 * resource.h (reg_dead_p): Add extern prototype.
17986 * rtl.c (trim_filename): Add static prototype.
17988 * scan-decls.c (skip_to_closing_brace): Likewise.
17990 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
17991 (expand_end_case): Initialize variable `range'.
17992 (emit_case_nodes): Remove unused prototype `rtx_fn'.
17994 * varasm.c (asm_emit_uninitialised): Add static prototype.
17995 (asm_emit_uninitialised, assemble_variable): Mark parameter with
17998 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18000 * cpplib.c (if_directive_nameo): Add static prototype.
18002 * cse.c (cse_insn): Remove unused variable `p'.
18004 * except.c (create_rethrow_ref, push_entry,
18005 receive_exception_label, new_eh_region_entry, find_func_region,
18006 clear_function_eh_region, process_nestinfo): Add static prototypes.
18007 (get_reg_for_handler): Hide definition.
18008 (process_nestinfo): Initialize variable `extra_handlers'.
18010 * expr.h (expand_builtin_longjmp): Add extern prototype.
18012 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
18014 * function.c (prepare_function_start): Likewise.
18015 (pop_function_context_from): Mark parameter `context' with
18017 (push_temp_slots_for_block, flush_addressof): Hide definition.
18019 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
18020 solve_program_flow_graph, calculate_branch_probs,
18021 function_summary, main, fancy_abort): Add prototypes.
18023 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
18024 (add_hash): Constify a char*.
18026 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
18027 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
18028 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
18030 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
18032 * lists.c (free_list, zap_lists): Likewise.
18034 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18036 * alias.c (nonlocal_reference_p): Add static prototype.
18038 * bitmap.c (bitmap_element_allocate): Prototype args in function
18041 * builtins.c (stabilize_va_list): Add static prototype.
18042 (expand_builtin_va_arg): Constify a char*.
18044 * c-lex.c (getch, put_back, extend_token_buffer_to,
18045 read_line_number, token_getch, token_put_back): Add static
18048 * c-parse.gperf (hash, is_reserved_word): Likewise.
18050 * cccp.c (is_dir_separator): Likewise.
18052 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18054 * graph.h: New file to prototype functions exported by graph.c.
18056 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
18058 * graph.c: Include graph.h.
18060 * toplev.c: Likewise. Remove redundant prototypes.
18062 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
18064 * invoke.texi: Removed duplicated description for -Q.
18066 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
18068 * extend.texi: Grammar fix in __extension__ text.
18070 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
18072 * md.texi (define_peephole2): New section.
18074 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
18076 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
18077 (mov $-1 to or peepholer): Enable for pentium when optimizing for
18080 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
18082 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
18084 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
18086 * i386.md (ffs expander): Emit Pentium friendly code for
18089 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
18091 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
18093 (build1): Likewise.
18095 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18097 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
18099 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
18101 * config/m68k/m68k.c (use_return_insn): Return false if the pic
18102 register is in use.
18104 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18106 * md.texi (No Constraints): Delete section.
18107 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
18108 * final.c (final_scan_insn): We always have register constraints.
18109 * genattrtab.c: Don't include "insn-config.h".
18110 (write_attr_case): We always have register constraints.
18111 * genconfig.c (register_constraint_flag): Delete.
18112 (walk_insn_part): Don't check whether we have register constraints.
18113 (main): Don't write out "#define REGISTER_CONSTRAINTS".
18114 * genoutput.c (have_constraints): Delete.
18115 (main): Don't set it.
18116 (output_operand_data): We always have constraints.
18117 (scan_operands): Likewise.
18118 (compare_operands): Likewise.
18119 * local-alloc.c (block_alloc): We always have constraints.
18120 (requires_inout): Always compile this function.
18121 * recog.c (extract_insn): We always have constraints.
18122 (constrain_operands, reg_fits_class_p): Always compile these
18124 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
18126 (struct insn_operand_data): Likewise.
18127 * regclass.c (regclass): We always have constraints.
18128 (record_reg_classes, copy_cost, record_address_regs,
18129 auto_inc_dec_reg_p): Always compile these functions.
18130 * regmove.c (regmove_optimize): We always have constraints.
18131 * reload.c (find_reloads): Likewise.
18132 * reload1.c (reload): Likewise.
18133 (reload_cse_simplify_operands): Likewise.
18134 * i860.c (output_delay_insn): Likewise.
18136 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
18138 * iris6.h (BUILD_VA_LIST_TYPE): Define.
18140 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18142 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
18143 for the va_list record.
18145 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
18147 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
18150 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
18152 * alias.c: Include insn-flags.h.
18153 * Makefile.in (alias.o): Update.
18155 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
18157 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
18158 to LTU and GEU. Handle more cases using sbb.
18160 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
18162 * i386.md (truncatexfdf splitters): Do not use subreg.
18163 (fop XFmode patterns): Fix mode in operand testing.
18165 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
18167 * jump.c (jump_optimize_1): Amend last change to test only the
18168 form of the operand, not the insn.
18170 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
18171 not register_operand to determine when B may need preloading.
18173 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
18175 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
18176 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
18177 (call-value patterns): Move to end of file.
18178 (*): Remove mode from label_ref in (pc) context.
18179 (movstrqi): Use memory not general_operand for BLKmode operands.
18180 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
18181 to register_operand operands.
18182 (peep2 patterns): Convert from commented-out peephole patterns.
18184 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18186 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
18187 to BUILT_IN_INIT_DWARF_REG_SIZES.
18188 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
18189 Renamed from BUILT_IN_DWARF_REG_SIZE; call
18190 expand_builtin_init_dwarf_reg_sizes.
18191 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
18192 with __builtin_init_dwarf_reg_size_table.
18193 * dwarf2out.c (struct reg_size_range): Delete.
18194 (expand_builtin_init_dwarf_reg_sizes): New function.
18195 (expand_builtin_dwarf_reg_size): Delete.
18196 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
18197 (expand_builtin_dwarf_reg_size): Don't declare.
18198 * libgcc2.c (dwarf_reg_size_table_initialized): New.
18199 (dwarf_reg_size_table): New.
18200 (init_reg_size_table): New function.
18201 (copy_reg): Use dwarf_reg_size_table.
18202 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
18205 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
18207 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
18208 Correctly build argument list to constructor and destructor functions.
18210 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
18212 * c-tree.h (warn_float_equal): Declare.
18213 * c-decl.c (warn_float_equal): Define.
18214 (c_decode_option): Recognize -W[no-]float-equal.
18215 * c-typeck.c (build_binary_op): Conditionally warn
18216 about equality tests of floating point types.
18217 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
18218 * invoke.texi: Add docs for -Wfloat-equal warning.
18220 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
18222 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
18223 generating RTL directly.
18224 * mips.h (INIT_TARGET_OPTABS): Likewise.
18225 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
18227 * expr.h (init_mov_optab): Delete declaration
18229 * h8300.c (WORD_REG_USED): Update to avoid useless register
18230 saves in interrupt functions and functions which never return.
18232 * cse.c (struct set): Delete inner_dest_loc field.
18233 (cse_insn): Remove assignments to inner_dest_loc field.
18235 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
18237 * ggc-page.c: Don't include <unistd.h> etc taken care of
18238 by "system.h". Include <sys/mman.h> afterward.
18240 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
18242 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
18245 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
18247 * xcoffout.c (xcoffout_declare_function): Add documentation.
18248 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
18249 TARGET_64BIT. Compare constant to -1, not bit pattern.
18250 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
18251 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
18254 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
18256 * dwarf2out.c (add_abstract_origin_attribute): Abort if
18257 origin_die is NULL.
18258 (gen_inlined_enumeration_type_die): Do not abort if the type has
18259 not been writeen out.
18260 (gen_inlined_structure_type_die): Do not abort if the type has
18261 not been writeen out.
18262 (gen_inlined_union_type_die): Do not abort if the type has
18263 not been writeen out.
18264 (gen_tagged_type_instantiation_die): Do not abort if the type
18265 has not been written out.
18267 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18269 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
18271 * reg-stack.c (straighten_stack): Copy hard reg set with
18274 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
18276 * builtins.c (stabilize_va_list): Stabilize array type va_list
18277 to a pointer type, not the base record type.
18278 (expand_builtin_va_copy): Dereference the pointers explicitly;
18279 use the correct size for the copy.
18281 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
18282 (rs6000_va_arg): Likewise.
18284 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
18286 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
18288 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
18290 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
18292 (DECL_BUILT_IN_CLASS): Adjust accordingly.
18294 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
18296 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
18297 (init_ggc): Use it instead of a constant.
18298 (ggc_collect): Bound allocated_last_gc by it.
18300 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
18302 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
18305 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
18307 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
18308 (mips*-*-openbsd*): Let big endian configuration be a fragment.
18309 * configure: Regen.
18310 * config/mips/openbsd.h: New, OpenBSD little endian target.
18311 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
18312 * config/mips/xm-openbsd.h: New, OpenBSD host.
18314 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
18316 * config/m68k/m68k.c (output_function_prologue,
18317 output_function_epilogue): Use
18318 current_function_uses_pic_offset_table instead of regs_ever_live
18319 to decide whether to save/restore pic register.
18320 (legitimize_pic_address): Don't modify regs_ever_live any more.
18322 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
18324 * function.h (struct function): Add x_dont_save_pending_sizes_p.
18325 * stor-layout.c (variable_size): Don't add sizes to the pending
18326 sizes list if x_dont_save_pending_sizes_p is set.
18328 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
18330 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
18331 for symbolic_operand().
18332 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
18334 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18336 * combine.c (gen_rtx_combine): Add missing call to va_end().
18338 * final.c (asm_fprintf): Likewise.
18340 * genattrtab.c (attr_rtx): Likewise.
18342 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
18344 * cse.c: Update comments.
18345 (cse_insn): When converting a conditional/computed jump into
18346 an unconditional jump, always make sure a BARRIER immediately
18347 follows the converted jump. Do not delete unreachable code.
18348 (cse_basic_block): Do not delete unreachable code.
18349 * toplev.c (rest_of_compilation): Move call to
18350 delete_trivially_dead_insns after the conditional call to
18353 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18355 * collect2.c (make_temp_file): Don't prototype.
18357 * gcc.c (make_temp_file): Likewise.
18359 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
18361 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
18363 * varasm.c (asm_emit_uninitialised): New function: Generate
18364 the assembler statements necessary to declare an uninitialised
18366 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
18368 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
18369 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
18371 (assemble_variable): Use asm_emit_uninitialised to emit an
18372 uninitialised variable.
18374 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
18376 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
18377 constant on a 64 bit host. Patch supplied by Geoffrey Keating
18378 <geoffk@cygnus.com>.
18380 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18382 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
18383 * c-common.h (builtin_function): Don't declare.
18385 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
18387 (pushdecl): Likewise.
18388 (finish_decl): Likewise.
18389 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
18390 int. All callers changed.
18391 Set the builtin's DECL_BUILT_IN_CLASS.
18392 * tree.h (enum built_in_class): New.
18393 (enum built_in_function): Delete NOT_BUILT_IN.
18394 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
18396 (DECL_SET_FUNCTION_CODE): Likewise.
18397 (DECL_BUILT_IN_CLASS): New macro.
18398 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
18399 (struct tree_decl): Split builtin function code field into a
18401 (builtin_function): Declare.
18403 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
18405 * optabs.c (init_traps): Fix typo in last change.
18407 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
18409 * toplev.c (rest_of_decl_compilation): Update comment.
18411 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
18413 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
18414 in .sbss if appropriate.
18415 (EXTRA_SECTION_FUNCTIONS): Add sbss.
18416 (SBSS_SECTION_ASM_OP): New macro.
18417 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
18418 (EXTRA_SECTIONS): Add in_sbss.
18419 * config/mips/mips.h: Prototype sbss_section.
18421 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
18423 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
18426 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
18428 * optabs.c (init_traps): Register trap_rtx as a GC root.
18430 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
18432 * config/mips/mips.c (function_arg_pass_by_reference): Define
18433 unconditionally, since it's called unconditionally.
18435 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
18437 * toplev.c (documented_lang_options): Add -fshort-wchar.
18438 * c-decl.c (c_decode_option): Likewise.
18439 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
18441 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
18442 * gcc.c (default_compilers): If -fshort-wchar,
18443 override __WCHAR_TYPE__.
18444 * tm.texi (C Dialect Options): Add -fshort-wchar.
18446 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
18447 symbol for a variable.
18449 * cpplib.h (CPP_PREPROCESSED): New macro.
18450 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
18451 we're seeing this input for a second time.
18453 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
18455 * emit-rtl.c (init_emit_once): Initialize modes first.
18457 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
18459 * config/i386/i386.c (pic_label_name): Change to char pointer.
18460 (global_offset_table): New variable.
18461 (load_pic_register): Fill global_offset_table if it hasn't
18462 already been done. Allocate pic_label_name dynamically.
18463 * ggc.h (empty_string): New variable.
18464 * ggc-simple.c (empty_string): Likewise.
18465 (init_ggc): Allocate empty_string and add as root.
18466 * stmt.c (digit_strings): New variable.
18467 (init_stmt): Add last_block_end_note as root. Allocate and
18468 initialize digit_strings.
18469 (expand_asm_operands): Use empty_string instead of string
18470 constant. Use digit_strings instead of string constants.
18471 * profile.c (init_arc_profiler): Allocate string with
18472 ggc_alloc_string instead of xmalloc.
18473 (output_func_start_profiler): Likewise.
18474 * c-typeck.c (digest_init): Check if init is error_mark_node.
18476 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
18477 Richard Henderson <rth@cygnus.com>
18479 * ggc-page.c: New file.
18480 * Makefile.in (ggc-page.o): New.
18482 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
18484 * invoke.texi: Document -fdelete-null-pointer-checks
18485 * toplev.c (flag_delete_null_pointer_checks): New.
18486 (f_options): Add entry for -fdelete-null-pointer-checks.
18487 (rest_of_compilation): Conditionalize null pointer check
18488 elimination on flag_delete_null_pointer_checks.
18489 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
18491 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
18493 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
18494 copyright notice and special exception to GPL.
18496 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18498 * abi64.h (mips_function_value): Add prototype arguments.
18500 * mips-protos.h: New file with mips prototypes.
18502 * mips.c: Include "tm_p.h".
18503 (mktemp, lookup_name): Add prototype arguments.
18504 (extern_list, string_constant, mips_fill_delay_slot,
18505 mips_output_external, mips_output_external_libcall,
18506 mips_output_filename, mips_declare_object, function_prologue,
18507 mips_expand_prologue, function_epilogue, mips16_constant,
18508 build_mips16_function_stub, mips_output_conditional_branch):
18510 (mips_va_start): Remove unused variable `u'.
18511 (mips_va_arg): Cast value to unsigned when comparing against one.
18513 (save_restore_insns, mips_expand_prologue): Add missing arg in
18514 call to `large_int'.
18516 * mips.h: Move prototypes to mips-protos.h.
18517 (data_section, memory_address_p, rdata_section,
18518 readonly_data_section, simple_epilogue_p, text_section): Delete
18519 prototypes delcared elsewhere.
18520 (mips_epilogue_delay_slots, print_options): Delete unused decls.
18522 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
18524 * mips.md: Delete extra args in call to `mips_move_2words'.
18526 * xm-iris6.h (alloca): Add prototype argument.
18528 * genpeep.c: Include "tm_p.h" in generated output file.
18530 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
18532 * basic-block.h (find_edge_index): Change parameters.
18533 * flow.c (verify_edge_list): Pass basic_block parameters to
18534 find_edge_index instead of integers.
18536 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
18538 * combine.c (simplify_comparison): Use an unsigned shift to adjust
18541 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
18543 * gcc.1: Fix a formatting error.
18545 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
18547 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
18548 i786, mn10200, mn10300, pdp11, v850.
18550 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
18552 * libgcc2.c (num_digits): Add prototype with
18553 __attribute__((const)).
18554 (__terminate): Add prototype.
18556 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
18558 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
18560 * alpha/alpha.c (print_operand): Fix type of `code'.
18561 (alpha_output_filename): Constify.
18562 * alpha/alpha.h: Move all function declarations ...
18563 * alpha/alpha-protos.h: ... here. New file.
18564 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
18565 (SECTION_FUNCTION_TEMPLATE): Likewise.
18567 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18569 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
18570 * expr.c (expand_expr): Likewise.
18571 (do_jump): Likewise.
18572 (do_store_flag): Pass ccp_store_flag to can_compare_p.
18573 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
18575 (enum can_compare_purpose): New.
18576 (can_compare_p): Adjust prototype.
18577 (prepare_cmp_insn, prepare_operand): Declare.
18578 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
18579 * optabs.c (cmp_available_p): Deleted.
18580 (expand_abs): Pass ccp_jump to can_compare_p.
18581 (can_compare_p): New arg PURPOSE. Check for combined optabs.
18582 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
18583 Call can_compare_p rather than cmp_available_p.
18584 (prepare_operand): No longer static.
18585 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
18586 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
18587 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
18588 sequence to use emit_cmp_and_jump_insns.
18589 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
18591 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
18593 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
18594 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
18595 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
18596 (plus (reg) (const_int 0))
18597 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
18599 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
18601 * rs6000.c (expand_block_move): DImode loads and stores require
18602 word-aligned displacements. Increment address registers with
18603 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
18605 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
18607 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
18608 is no name for the base type, rather than segfault. If we are
18609 writing out a complex integer type, use DW_ATE_lo_user.
18611 * expr.c (emit_move_insn_1): If we are copying a complex that fits
18612 in one word or less (complex char, complex short, or on 64 bit
18613 systems complex float) to/from a hard register, copy it through
18614 memory instead of dying in gen_{real,imag}part. If we have a
18615 short complex type, prevent inlining since it allocates stack
18618 * tree.c (build_complex_type): If we are writing dwarf2 output,
18619 generate a name for complex integer types.
18621 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
18623 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
18624 * flow.c (remove_edge): Remove extra whitespace.
18625 (remove_fake_edges): Fix comment.
18626 (add_noreturn_fake_exit_edges): Use the correct name.
18628 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
18630 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
18631 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
18632 (clean): Depend on INTL_CLEAN.
18633 (maintainer-clean): Adjust.
18635 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18637 * configure.in (AC_PREREQ): Bump to 2.13.
18638 (AC_C_STRINGIZE): Call this instead of using a custom macro.
18640 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
18642 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
18644 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
18646 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
18647 (HAVE_STRINGIZE): Define.
18649 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
18651 * c-parse.in: save and restore warn_pointer_arith on __extension__
18652 along with pedantic.
18653 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
18654 Set the type of extension to itype rather than $<itype>1 kludge.
18655 * extend.texi (Alternate Keywords): Adjust documentation.
18656 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
18658 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
18660 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
18661 most assembler templates.
18663 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
18664 FP loads and stores.
18665 (following_call): Always return zero for the PA8000.
18666 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
18667 FP loads and stores.
18668 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
18670 * pa.h (BRANCH_COST): Define.
18672 * pa.md (return, return_internal): Use bve for PA2.0.
18674 * pa.md (fused multiply): Add variants which reduce height for the
18675 fused multiply, but which still generate 2 insns.
18676 (fnegabs): Similarly.
18678 * pa.md (subsi3): Turn into an expander. Create two anonymous
18679 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
18680 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
18682 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
18684 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
18686 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
18687 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
18689 * regclass.c (init_regs): Add "top_of_stack" as a garbage
18692 * flow.c (record_active_eh_regions): Terminate loop after finding
18693 the last insn in the last basic block.
18695 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18697 * config/c4x/c4x.md: Delete parallel instruction peepholes.
18699 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18701 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
18703 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18705 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
18706 splitting to not use output template.
18708 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18710 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
18711 * config/c4x/c4x.c (c4x_va_start): New function.
18713 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
18715 * genrecog.c (not_both_true): Handle correctly cases when called for
18716 tests with different positions in the insn.
18718 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18720 * machmode.h (HOST_PTR_PRINTF): Move from here ...
18722 * system.h (HOST_PTR_PRINTF): ... to here.
18724 * mips-tfile.c: Don't include machmode.h.
18726 * Makefile.in (MACHMODE_H): New variable. Update to use it.
18727 (mips-tfile.o): Don't depend on machmode.h.
18729 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18731 * haifa-sched.c (sched_analyze): Rename local variable `region' to
18732 avoid conflicts with typedef struct `region' at the top level scope.
18734 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
18736 * basic-block.h (basic_block): Add eh_beg, eh_end.
18737 * flow.c (entry_exit_blocks): Update.
18738 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
18739 Call new functions.
18740 (find_basic_blocks_1): Don't record eh_list at each bb. Use
18741 lists.c functions to allocate insn lists.
18742 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
18744 (make_eh_edge): ... here. New.
18745 (move_stray_eh_region_notes): New.
18746 (record_active_eh_regions): New.
18747 (delete_unreachable_blocks): Split out block merging ...
18748 (try_merge_blocks): ... here. New.
18749 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
18750 Dump debugging data.
18751 (merge_blocks_move_successor_nojumps): Likewise.
18752 (merge_blocks): Use eh_beg+eh_end to validate block movement.
18754 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
18756 * extend.texi (Bound member functions): Document unbound pmf
18759 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
18761 * flow.c (split_edge): Handle insertion on a fallthrough edge which
18762 has the EXIT_BLOCK as a dest.
18764 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
18766 * flow.c (remove_edge): New function to remove an edge from the
18768 (remove_fake_successors): New function to remove fake successor edges.
18769 (remove_fake_edges): New function to remove all fake edges from the
18771 (add_fake_exit_edges): New function to add fake edges from all blocks
18772 with no successors to the exit block.
18773 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
18774 prototypes for new functions.
18776 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
18778 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
18779 Use Pmode to determine whether to output .dword or .word.
18781 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
18783 * tree.c (built_in_filename): New variable.
18784 (BUILT_IN_FILENAME): New macro.
18785 (init_tree_codes): Allocate built_in_filename.
18786 (make_node): Use built_in_filename instead of string constant.
18788 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
18790 * configure.in: Add fr30 target.
18791 * configure: Regenerate.
18792 * config/fr30: New directory.
18793 * config/fr30/crti.asm: New file.
18794 * config/fr30/fr30.c: New file.
18795 * config/fr30/crtn.asm: New file.
18796 * config/fr30/fr30.h: New file.
18797 * config/fr30/fr30.md: New file.
18798 * config/fr30/lib1funcs.asm: New file.
18799 * config/fr30/t-fr30: New file.
18800 * config/fr30/xm-fr30.h: New file.
18802 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
18804 * flow.c (merge_blocks_move_successor_nojumps): Delete the
18805 BARRIER at the end of the successor, not the BARRIER before
18808 * pa.c (pa_add_gc_roots): Fix thinko in last change.
18810 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
18812 * stmt.c (any_pending_cleanups): Don't crash when
18813 current_function->stmt is unset.
18815 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
18817 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
18818 other initializations that may use it for relative offsets.
18820 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
18822 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
18823 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
18824 * config/i386/sol2dbg.h: Removed.
18825 * config/i386/sol2gas.h: New file, to enable gas work-around.
18826 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
18827 Don't use sol2dbg.h.
18828 * configure: Rebuilt.
18830 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
18832 * invoke.texi (-fthis-is-variable): Remove documentation.
18834 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
18836 * basic-block.h (compute_bb_for_insn): Declare.
18837 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
18838 to use; set size of basic_block_for_insn directly.
18839 (find_basic_blocks): Update.
18841 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18843 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
18845 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18847 * crtstuff.c (ON_EXIT): Delete empty macro definition.
18848 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
18850 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
18852 * c-decl.c (c_decode_option): Extend comment.
18854 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
18856 * toplev.c (progname): Make 'const char *'
18857 (flag_print_mem): Move out of main.
18858 (version_flag): Move out of main.
18859 (filename): Move out of main.
18860 (debug_args): Remove g prefix from options.
18861 (documented_lang_options): Remove cpplib specific options.
18862 (display_help): Add g prefix to debug options.
18863 (check_lang_option): Delete this function.
18864 (decode_d_option): New function: Decode -d... option.
18865 (decode_f_option): New function: Decode -f... option.
18866 (decode_W_option): New function: Decode -W... option.
18867 (decode_g_option): New function: Decode -g... option.
18868 (independent_decode_option): New function: Decode a language
18869 independent command line option.
18870 (main): Invoke lang_decode_option and then
18871 independent_decode_option on each command line option in
18874 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
18876 Revert this change. Gavin's patch to operand_equal_p is a better fix.
18877 * fold-const.c (fold_range_test): Do not try to fold the range
18878 test if the rhs or lhs has side effects.
18880 * basic-block.h (compute_flow_dominators): Declare.
18882 * gcse.c (alloc_code_hoist_mem): New function.
18883 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
18884 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
18885 (hoist_code, one_code_hoisting_pass): Likewise.
18886 (gcse_main): If optimizing for size, then hoist expressions
18887 computed in multiple dominated basic blocks.
18889 * gcse.c (invalid_nonnull_info): New function.
18890 (delete_null_pointer_checks): Likewise.
18891 * rtl.h (delete_null_pointer_checks): Declare.
18892 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
18894 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
18895 (merge-blocks_move_successor_nojumps): Likewise.
18896 (merge_blocks): Allow merging of some blocks, even if it requires
18897 physical movement of the blocks, but not if it requires new jumps.
18899 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
18900 Callers and prototype changed.
18901 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
18903 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
18905 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
18906 -YP when both -p and -pg are present. From i386/sol2.h.
18908 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18910 * Makefile.in (distclean): Delete tm_p.h.
18911 * configure.in: Create a new file, "tm_p.h", from a list in
18912 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
18913 "i386/i386-protos.h".
18915 * alias.c: Include "tm_p.h".
18916 * c-typeck.c: Likewise.
18917 * calls.c: Likewise.
18919 * emit-rtl.c: Likewise.
18920 * explow.c: Likewise.
18921 * expmed.c: Likewise.
18922 * expr.c: Likewise.
18923 * final.c: Likewise.
18924 * flow.c: Likewise.
18925 * fold-const.c: Likewise.
18926 * function.c: Likewise.
18927 * gcse.c: Likewise.
18928 * global.c: Likewise.
18929 * haifa-sched.c: Likewise.
18930 * integrate.c: Likewise.
18931 * jump.c: Likewise.
18932 * local-alloc.c: Likewise.
18933 * loop.c: Likewise.
18934 * optabs.c: Likewise.
18935 * recog.c: Likewise.
18936 * reg-stack.c: Likewise.
18937 * regclass.c: Likewise.
18938 * regmove.c: Likewise.
18939 * reload.c: Likewise.
18940 * reload1.c: Likewise.
18941 * reorg.c: Likewise.
18942 * resource.c: Likewise.
18943 * stmt.c: Likewise.
18944 * stor-layout.c: Likewise.
18945 * toplev.c: Likewise.
18946 * tree.c: Likewise.
18947 * unroll.c: Likewise.
18948 * genattrtab.c (main): Make generated file include "tm_p.h".
18949 * genemit.c (main): Likewise.
18950 * genoutput.c (main): Likewise.
18951 * genrecog.c (main): Likewise.
18953 * i386.h: Delete all prototypes.
18954 * i386.c: Include "tm_p.h".
18955 (ix86_attr_length_default): Call constant_call_address_operand
18956 with correct number of arguments.
18957 * i386-protos.h: New file.
18958 * i386.md (unnamed patterns): Call constant_call_address_operand
18959 with correct number of arguments.
18960 (exception_receiver): Call load_pic_register with correct number
18963 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
18965 * c-pragma.c (mark_align_stack): Dereference the void* properly.
18967 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
18969 * rtl.h (insns_safe_to_move_p): New function.
18970 * loop.c (find_and_verify_loops): Use it.
18971 * rtlanal.c (insns_safe_to_move_p): Define it.
18973 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
18975 * c-pragma.c: Include ggc.h.
18976 * Makefile.in (c-pragma.o): Update.
18978 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
18980 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
18981 (LIB_SPEC): Likewise.
18982 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
18983 Reindent -YP/-p/-pg.
18984 Copied from config/sparc/sol2.h.
18986 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
18988 * c-pragma.c (mark_align_stack): New.
18989 (init_pragma): New.
18990 * c-pragma.h (init_pragma): Declare it.
18991 * c-lex.c (init_parse): Call it.
18993 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
18995 * configure.in: Pick up thread library on Solaris/x86 just
18996 like on Solaris/sparc.
18997 * configure: Rebuilt.
18999 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
19001 * rtl.h (global_rtx_index): New enum.
19002 (global_rtl): Change to array of rtx.
19003 (pc_rtx, cc0_rtx): Redefine accordingly.
19004 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
19005 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
19006 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
19007 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
19008 (const_int_rtx): Change to array of rtx.
19009 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
19011 * emit-rtl.c (global_rtl): Change to array of rtx.
19012 (const_int_rtx): Change to aray of rtx.
19013 (gen_rtx_CONST_INT): Redefine accordingly.
19014 (init_emit_once): Allocate and initialize global_rtl. Likewise
19015 for const_int_rtx. Add both as GC roots.
19016 * genattrtab.c (global_rtl): Update declaration.
19018 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
19020 * Makefile (USER_H): Add iso646.h back.
19022 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
19024 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
19025 zapping the LOG_LINKS of sched_before_next_call.
19027 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
19028 * pa.c (insn_refs_are_delayed): Renamed from
19029 insn_sets_and_refs_are_delayed.
19031 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
19033 * functiion.h (struct function): Add x_whole_function_mode_p.
19034 (retrofit_block): Declare.
19035 * function.c (retrofit_block): New function.
19036 (identify_blocks): Add assertions. Allow an incomplete set of
19037 block notes if we're still generating code for the function.
19038 * integrate.c: Include loop.h.
19039 (expand_inline_function): Call find_loop_tree_blocks to map block
19040 notes to blocks when in whole-function mode. Use retrofit_block
19041 to insert new BLOCKs for the inlined function, rather than
19043 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
19044 * Makefile.in (integrate.o): Depend on loop.h.
19046 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
19048 * tree.h (warn_about_unused_variables): Declare.
19049 * stmt.c (warn_about_unused_variables): New function, split out
19051 (expand_end_bindings): Here.
19053 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
19055 * stmt.c (preserve_subexpressions_p): Don't crash when
19056 current_function->stmt is unset.
19058 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
19060 * stmt.c (expand_start_bindings): Allow callers to pass a flag
19061 indicating that no NOTE_INSN_BLOCK_BEG note is required.
19062 (expand_start_target_temps): Use it.
19063 * except.c (expand_eh_region_start_for_decl): Likewise.
19064 * expr.c (expand_expr): Likewise.
19066 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
19068 * fold-const.c (operand_equal_p): Pay attention to side effects.
19070 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
19072 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
19073 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
19075 * tlink.c (scan_linker_output): Look for keywords before accepting
19076 a mangled name in quotes.
19078 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
19080 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
19081 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
19083 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
19085 * alpha.md: Revert Thu Nov 26 change that came in through the
19086 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
19087 Avoid earlyclobber when possible.
19089 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19091 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
19093 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
19094 Define HAVE_ON_EXIT.
19096 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19098 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
19099 CTYPE_CONV in all ctype macros.
19101 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
19104 * cexp.y (initialize_random_junk): Likewise.
19106 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
19108 * i370.c (handle_pragma): Likewise.
19110 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
19112 * v850.c (override_options): Likewise.
19114 * doprint.c (_doprnt): Likewise.
19116 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
19119 * fixinc/server.c (load_data): Likewise.
19121 * fold-const.c (real_hex_to_f): Likewise.
19123 * genattr.c (write_upcase, gen_attr): Likewise.
19125 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
19126 write_upcase): Likewise.
19128 * genemit.c (print_code): Likewise.
19130 * genopinit.c (gen_insn): Likewise.
19132 * genpeep.c (print_code): Likewise.
19134 * genrecog.c (print_code): Likewise.
19136 * optabs.c (init_libfuncs): Likewise.
19138 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
19140 * haifa-sched.c (sched_analyze): Keep the list of notes organized
19142 (reemit_notes): Likewise.
19144 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
19146 * ggc.h (ggc_root): Move to ggc-common.c.
19148 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
19149 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
19150 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
19151 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
19152 * ggc-common.c (ggc_root): Move from ggc.h.
19153 (roots): Declare, static.
19154 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
19155 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
19156 null or check/set mark bit.
19157 (ggc_mark_roots): New.
19158 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
19160 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
19162 * m32r.c: Include toplev.h.
19163 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
19164 (gen_compare): Rename swap_p to must_swap to match uses.
19165 Add default abort case.
19166 (m32r_output_function_epilogue): Remove unused variables.
19167 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
19168 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
19169 define to empty parameter list. Update all uses.
19170 (predicate decls): Use enum machine_mode not int.
19171 * m32r.md (movsi): Call abort, not fatal_insn.
19172 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
19174 1999-09-14 Andrew Haley <aph@cygnus.com>
19176 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
19177 use $0 instead of 0.
19179 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19181 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
19182 computation out of loop over hard regs.
19184 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
19186 * function.c (identify_blocks): Don't shadow a variable in an
19188 * integrate.c (integrate_decl_tree): Don't use pushlevel,
19189 pushdecl, or poplevel to build up the new BLOCK tree.
19190 (expand_inline_function): Likewise.
19191 (integrate_parm_decls): Likewise.
19193 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
19195 * c-typeck.c (qualify_type): Merge qualifiers from both types.
19197 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
19199 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
19200 * invoke.texi: Document this change.
19202 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
19204 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
19206 (mark_emit_status): Renamed from mark_emit_state.
19207 * except.c (mark_eh_status): Renamed from mark_eh_state.
19208 Check not null before marking.
19209 (free_eh_status): New.
19210 * expr.c (mark_expr_status, free_expr_status): New.
19211 * function.c (free_machine_status): New.
19212 (free_after_parsing): New.
19213 (free_after_compilation): Move bits to free_after_parsing; call
19214 free_eh_status, free_expr_status; zero the marked members of the
19216 (prepare_function_start): No can_garbage_collect.
19217 Call init_eh_for_function.
19218 (expand_dummy_function_end): Free up current_function state.
19219 (mark_function_status): Renamed from mark_function_state.
19220 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
19221 * function.h (struct function): No can_garbage_collect.
19222 (free_machine_status, free_after_parsing): Declare.
19223 (free_eh_status, free_expr_status): Declare.
19224 * ggc.h (mark_expr_status): Declare.
19225 * stmt.c (free_stmt_status): Free the struct.
19226 (mark_stmt_status): Renamed from mark_stmt_state.
19227 (init_stmt): Don't call init_eh.
19228 (init_stmt_for_function): Don't call init_eh_for_function.
19229 * toplev.c (compile_file): Call init_eh.
19230 (rest_of_compilation): Free basic block info before ggc_collect.
19231 Call free_after_parsing; conditionally call free_after_compilation.
19232 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
19233 Check not null before marking.
19234 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
19236 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
19238 * c-lex.c (yylex): Initialize warn.
19240 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
19242 * pa.c (emit_move_sequence): Properly set the mode of the scratch
19243 register when performing secondary reloads for the SAR register.
19245 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
19247 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
19248 (NOTE_BLOCK): New macro.
19249 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
19250 * function.h (identify_blocks): Change prototype.
19251 * function.c (identify_blocks): Simplify.
19252 (reorder_blocks): Likewise.
19253 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
19254 NOTE_INSN_BLOCK_{BEG,END}.
19255 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
19256 the list of saved notes if the note isn't a
19257 NOTE_INSN_BLOCK_{BEG,END}.
19258 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
19260 (reemit_notes): Adjust recreation of notes to reflect new saved
19262 * print-rtl.c (print_rtx): Print the address of the BLOCK when
19263 printing a block note.
19264 * stmt.c (block_vector): Remove.
19265 (find_loop_tree_blocks): Simplify.
19266 (unroll_block_trees): Likewise.
19267 * tree.h (reorder_block): Change prototype.
19269 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
19271 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
19272 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
19273 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
19274 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
19275 (atexit, exit): Simplify.
19276 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
19277 * config/lots: Remove defns of HAVE_ATEXIT.
19279 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
19281 * calls.c (precompute_arguments): Fix typo in comment.
19282 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
19285 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
19287 * dsp16xx.c (override_options): Fix typos in GC root registration.
19289 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
19291 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
19292 from config/svr4.h.
19293 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
19294 (FUNCTION_PROFILER): Redefine appropriately for Linux.
19295 (CC1_SPEC): Likewise.
19297 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19299 * genattr.c (main): Add extern prototype. Call return, not exit.
19300 * genattrtab.c (main): Likewise.
19301 * gencheck.c (main): Likewise.
19302 * gencodes.c (main): Likewise.
19303 * genconfig.c (main): Likewise.
19304 * genemit.c (main): Likewise.
19305 * genextract.c (main): Likewise.
19306 * genflags.c (main): Likewise.
19307 * gengenrtl.c (main): Likewise.
19308 * genopinit.c (main): Likewise.
19309 * genoutput.c (main): Likewise.
19310 * genpeep.c (main): Likewise.
19311 * genrecog.c (main): Likewise.
19313 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
19314 * genattrtab.c (get_insn_name): Likewise.
19315 * gencodes.c (get_insn_name): Likewise.
19316 * genconfig.c (get_insn_name): Likewise.
19317 * genemit.c (get_insn_name): Likewise.
19318 * genextract.c (get_insn_name): Likewise.
19319 * genflags.c (get_insn_name): Likewise.
19320 * genopinit.c (get_insn_name): Likewise.
19321 * genpeep.c (get_insn_name): Likewise.
19323 * gencheck.c (usage): Add static prototype.
19324 * genextract.c (print_path): Constify a char*.
19325 * genopinit.c (optabs): Likewise.
19326 * genoutput.c (operand_data, data, output_predicate_decls,
19327 compare_operands): Likewise.
19328 * genrecog.c (write_tree): Add default case in switch.
19330 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19332 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
19334 * print-rtl.c (get_insn_name): Remove prototype.
19336 * toplev.h (progname): Declare const.
19338 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
19339 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
19340 dump_sched_info, dump_local_alloc, regset_release_memory,
19341 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
19342 error_with_file_and_line, error_with_decl, error_for_asm, error,
19343 fatal, warning_with_file_and_line, warning_with_decl, warning,
19344 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
19345 Remove redundant prototypes.
19347 (notice, check_lang_option, report_file_and_line, vnotice,
19348 mark_file_stack): Add static prototype.
19349 (set_fatal_function): Add prototype.
19350 (vnotice, report_file_and_line, set_fatal_function,
19351 check_lang_option): Constify a char*.
19352 (main): Prototype. Call return, not exit.
19354 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19356 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
19358 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
19360 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
19362 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
19364 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19366 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
19367 behave as if it's zero in all cases.
19368 (expand_function_start): Adjust call to assign_parms.
19369 * tree.h (assign_parms): Adjust prototype.
19370 * objc/objc-act.c (hack_method_prototype): Adjust call to
19373 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
19375 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
19376 arg_pointer_rtx fixed if the argument pointer register is
19378 (NONZERO_BASE_PLUS_P): Likewise.
19380 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
19382 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
19383 match_insn2 to match_insn.
19384 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
19386 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
19388 * Makefile.in (USER_H): Remove va-foo.h.
19390 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
19391 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
19392 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
19393 va-spur.h,va-v850.h}: Remove.
19395 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
19397 * sparc/sparc.md (eligible_for_return_delay): New attribute.
19398 (in_return_delay): Use it instead of match_insn.
19400 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
19402 * config/alpha/va_list.h (va-alpha.h): Do not include.
19403 (__gnuc_va_list): Typedef as in varargs.h.
19405 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
19407 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
19408 DECL_LIVE_RANGE_RTL.
19410 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
19412 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
19413 not NOTE_BLOCK_NUMBER.
19414 (expand_eh_region_end): Likewise.
19415 (find_exception_handler_labels): Likewise.
19416 (scan_region): Likewise.
19417 (exception_optimize): Likewise.
19418 (update_rethrow_references): Likewise.
19419 (set_insn_eh_region): Likewise.
19420 * final.c (final_scan_insn): Likewise.
19421 * flow.c (make_edges): Likewise.
19422 * integrate.c (expand_inline_function): Likewise.
19423 * print-rtl.c (print_rtx): Likewise.
19425 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
19427 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
19428 terms of builtin functions and types.
19430 * mips.c (mips_build_va_list): New.
19431 (mips_va_start, mips_va_arg): New.
19432 * mips.h (BUILD_VA_LIST_TYPE): New.
19433 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
19435 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
19436 (sh_build_va_list, sh_va_start, sh_va_arg): New.
19437 * sh.h (BUILD_VA_LIST_TYPE): New.
19438 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
19440 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
19442 * recog.h (struct recog_data): Make dup_num, operand_address_p,
19443 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
19444 (struct insn_data): Likewise with n_operands, n_dups,
19445 n_alternatives, output_format.
19446 * regclass.c (scan_one_insn): Cast n_operands to int before
19447 arithmetic inside comparison.
19449 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
19451 * toplev.c (compile_function): Unconditionally emit nop.
19453 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19455 * haifa-sched.c (actual_hazard): Move declaration of variable
19456 `this_cost' into the scope where it is used.
19458 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19460 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
19461 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
19462 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
19464 * genrecog.c (make_insn_sequence): Call memset, not bzero.
19466 * jump.c (find_insert_position): Don't declare or define unless
19467 !HAVE_conditional_arithmetic.
19468 (returnjump_p_1, delete_prior_computation): Add static prototypes.
19470 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
19472 * recog.c (offsettable_address_p): Prototype function pointer.
19473 (preprocess_constraints): Call memset, not bzero.
19475 * tree.c (tree_node_kind_names): Constify a char*. Make static.
19476 (gcc_obstack_init): Don't declare.
19477 (fix_sizetype): Add static prototype.
19478 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
19479 (tree_cons): Call memset, not bzero.
19481 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
19482 definition in macro ASM_WEAKEN_LABEL.
19483 (mark_const_hash_entry): Add static prototype.
19485 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19487 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
19489 * unroll.c (find_common_reg_term, subtract_reg_term,
19490 loop_find_equiv_value): Add static prototypes.
19491 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
19492 (copy_loop_body): Remove unreachable break statement.
19494 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
19496 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
19498 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19500 Undo some changes from the gcc2 merge:
19501 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
19502 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
19506 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
19507 * emit-rtl.c (gen_lowpart_common): Disable optimization of
19508 initialized float-int union if the value is a NaN.
19510 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
19512 * gthr-win32.h: New file.
19514 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
19515 shared as a valid attribute.
19516 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
19517 * extend.texi: Document `shared' variable attribute.
19519 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
19521 * configure.in: Handle --enable-threads on FreeBSD.
19522 * configure: Rebuit.
19524 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
19526 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
19528 * configure: Rebuilt.
19530 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
19531 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
19532 Rosimildo DaSilva <rdasilva@connecttel.com>
19534 * configure.in (m68k-*-rtemscoff*): Added.
19535 * configure.in (mips64orion-*-rtems*): Converted to ELF.
19536 * configure.in (sparc-*-rtemsaout*): Added as alias for old
19537 sparc-rtems configuration.
19538 * configure.in (sparc-*-rtemself*): Added.
19539 * configure.in (sparc-*-rtems*): Now ELF not a.out.
19540 * config/i386/rtems.h: Added comment.
19541 * config/sparc/rtemself.h: New file.
19543 * configure.in (m68k-rtemself): Added.
19544 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
19545 and DWARF_DEBUGGING_INFO.
19546 * config/m68k/crti.s: New file.
19547 * config/m68k/crtn.s: New file.
19548 * config/m68k/t-crtstuff: New file.
19549 * config/m68k/rtemself.h: New file.
19551 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
19552 global ctor/dtor and C++ exception handling.
19553 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
19554 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
19556 * config/i386/t-rtems-i386: New File.
19558 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
19560 * stmt.c (expand_end_case): Return right away if the case stack is
19563 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
19565 * Makefile.in (version.c): Remove rule incorrectly brought in from
19568 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
19570 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
19571 * msdos/top.sed: Take into account a prepended $(SHELL) to
19573 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
19575 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
19577 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19579 * regmove.c (fixup_match_1): Don't change an unchanging register.
19580 (stable_but_for_p): Renamed to:
19581 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
19582 Changed all callers.
19584 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
19586 * loop.c (strength_reduce): Don't call reg_used_between_p if the
19587 insn from BL2 is after the insn from BL.
19589 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
19591 * recog.h (INSN_OUTPUT_FORMAT_*): New.
19592 (struct insn_data): Merge `template' and `outfun' into `output'.
19593 Add `output_format'.
19594 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
19595 (struct data): Remove `outfun'; add `output_format'.
19596 (name_for_index): Remove declaration.
19597 (output_insn_data): Handle output formats.
19598 (process_template): Emit the bare array for @.
19599 (gen_expand, gen_split): Set output_format to NONE.
19600 * output.h (get_insn_template): Declare.
19601 * final.c (get_insn_template): New.
19602 (final_scan_insn): Use it.
19603 * toplev.c (compile_file): Likewise.
19605 * c4x/c4x.c (c4x_process_after_reload): Likewise.
19606 * i860/i860.c (output_delayed_branch): Likewise.
19607 (output_delay_insn): Likewise.
19609 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
19611 * rtl.c (obstack_alloc_rtx): Removed.
19613 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
19615 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
19617 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
19619 * i386.c (call_insn_operand): Reject const_int.
19620 (expander_call_insn_operand): Use call_insn_operand.
19622 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19624 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
19626 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
19628 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
19629 Use DImode operation.
19631 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
19633 * gcc.c: Include sys/resource.h.
19634 (report_times): New flag.
19635 (execute): If report_times is set, calculate and report the
19636 CPU time consumed by each subprocess.
19638 (rus, prus): New globals.
19639 (option_map): Add --time.
19640 (display_help): Document -time.
19641 (process_command): Set report_times if -time is given.
19642 Turn off -pipe if -time is given.
19644 * invoke.texi: Document new option -time.
19646 * configure.in: Check for getrusage. Check if we have to
19647 prototype getrusage.
19648 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
19649 * configure: Regenerate.
19650 * config.in: Regenerate.
19652 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
19654 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
19657 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
19659 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
19660 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
19661 (nan): Return _thenan_sf or _thenan_df as appropriate.
19662 (L_thenan_sf): Define _thenan_sf.
19663 (L_thenan_df): Define _thenan_df.
19665 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
19666 (DPBIT_FUNCS): Add _thenan_df.
19668 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
19670 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
19673 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19675 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
19678 (lang_specific_driver): Don't take a function pointer parameter.
19679 All callers changed.
19681 * gcc.c: Include gcc.h.
19682 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
19683 lang_specific_extra_outfiles, fatal): Don't declare.
19684 (multilib_defaults_raw): Constify.
19685 (read_specs): Call memset, rather than bzero.
19686 (main): Call return, not exit.
19687 (lookup_compiler): Call memcpy, not bcopy.
19688 (fatal): Make extern.
19690 * cppspec.c: Include gcc.h.
19691 (lang_specific_driver): Initialize variable `quote'. Constify a
19692 char*. All calls to the function pointer parameter now
19693 explicitly call `fatal'.
19695 * gccspec.c (lang_specific_driver): Include gcc.h.
19697 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
19699 * arm.c (note_invalid_constants): Use recog_data.operand_type
19702 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19704 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
19707 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
19708 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
19709 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
19710 reload_secondary_in_reload, reload_secondary_out_reload,
19711 reload_secondary_in_icode, reload_secondary_out_icode,
19712 reload_reg_rtx, reload_when_needed): Delete declarations.
19713 (struct reload): New structure.
19714 (rld): Declare new array.
19715 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
19716 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
19717 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
19718 reload_secondary_in_reload, reload_secondary_out_reload,
19719 reload_secondary_in_icode, reload_secondary_out_icode,
19720 reload_reg_rtx, reload_when_needed): Delete definitions.
19722 (whole file): Replace uses of the deleted arrays with uses of rld.
19723 * reload1.c (whole file): Replace uses of the deleted arrays with
19725 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
19726 explicit loops, not with bcopy.
19728 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
19730 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
19731 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
19732 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
19733 insn_name): Delete and consolidate into new structures.
19734 (insn_operand_predicate_fn): New.
19735 (insn_output_fn): New.
19736 (insn_gen_fn): New.
19737 (struct insn_operand_data): New.
19738 (struct insn_data): New.
19740 (OUT_FCN): Update for insn_data change.
19741 * builtins.c (expand_builtin_strlen): Likewise.
19742 (expand_builtin_memcmp): Likewise.
19743 * combine.c (make_extraction, simplify_comparison): Likewise.
19744 * cse.c (canon_reg, cse_insn): Likewise.
19745 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
19746 * expmed.c (store_bit_field, extract_bit_field): Likewise.
19747 (emit_store_flag): Likewise.
19748 * expr.c (convert_move, emit_block_move): Likewise.
19749 (clear_storage, emit_push_insn, expand_increment): Likewise.
19750 (do_store_flag): Likewise.
19751 * expr.h (GEN_FCN): Likewise.
19752 (insn_gen_function): Die.
19753 * final.c (final_scan_insn): Update for insn_data change.
19754 (output_asm_name): Likewise.
19755 * function.c (fixup_var_refs_1): Likewise.
19756 * loop.c (check_dbra_loop): Likewise.
19757 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
19758 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
19759 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
19760 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
19761 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
19762 * regmove.c (gen_add3_insn): Likewise.
19763 * reload.c (push_secondary_reload, combine_reloads): Likewise.
19764 (find_reloads, find_reloads_address_1): Likewise.
19765 (debug_reload_to_stream): Likewise.
19766 * reload1.c (emit_reload_insns, gen_reload): Likewise.
19767 * stmt.c (expand_end_case): Likewise.
19768 * toplev.c (compile_file): Likewise.
19770 * c4x/c4x.c (c4x_process_after_reload): Likewise.
19771 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
19773 * print-rtl.c (insn_name_ptr): Remove declaration.
19774 (get_insn_name): Declare.
19775 (print_rtx): Use it.
19776 * genoutput.c (insn_name_ptr): Remove.
19777 (next_operand_number): New.
19778 (struct operand_data): New.
19779 (null_operand, odata, odata_end): New.
19780 (struct data): Use struct operand_data.
19781 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
19782 (get_insn_name): Renamed from name_for_index.
19783 (output_prologue): Define NO_MD_PROTOTYPES.
19784 (output_predicate_decls): Break out from output_epilogue.
19785 Iterate over the operands list.
19786 (output_operand_data): Break out from output_epilogue. Emit
19787 just the operands list.
19788 (output_insn_data): Break out from output_epilogue. Emit just
19790 (output_epilogue): Remove.
19791 (output_get_insn_name): New.
19792 (constraints, op_n_alternatives, predicates, address_p): Die.
19793 (modes, strict_low, seen): Die.
19794 (scan_operands): Take new param `d' instead of writing to
19795 seven global variables.
19796 (compare_operands): New.
19797 (place_operands): New.
19798 (validate_insn_alternatives): Update for struct data change.
19799 (gen_insn): Don't zero or copy 7 global arrays. Update for
19800 scan_operands; call place_operands.
19801 (gen_peephole, gen_expand, gen_split): Likewise.
19802 (main): Update for new output routines.
19804 * genattr.c (insn_name_ptr): Remove.
19805 (get_insn_name): New function.
19806 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
19807 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
19808 * genrecog.c: Likewise.
19810 * alpha.md (adddi3): Make `pattern' array static.
19812 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19814 * config/c4x/c4x.h (c4x_rpts_cycles_string,
19815 c4x_cpu_version_string): Constify char *.
19816 * config/c4x/c4x.c (c4x_rpts_cycles_string,
19817 c4x_cpu_version_string): Likewise.
19819 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
19821 * tree.c (save_tree_status): Revert 10 Sep change.
19822 (restore_tree_status): Likewise. Call obstack_free with NULL
19823 before freeing the obstack proper.
19825 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
19827 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
19829 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
19830 surrounding context.
19832 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
19834 * tree.c (type_hash_canon): Put all types in the hash-table, when
19837 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
19839 * recog.h (struct recog_data, recog_data): New.
19840 (recog_foo variables): Kill.
19841 * recog.c (recog_operand, recog_operand_loc): Kill.
19842 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
19843 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
19844 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
19845 (recog_data): Define.
19846 (extract_insn): Update all recog_foo references to use recog_data.
19847 (preprocess_constraints, constrain_operands): Likewise.
19848 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
19849 * genattrtab.c (main): Likewise.
19850 * genextract.c (main): Likewise.
19851 * genoutput.c: Likewise.
19852 * genrecog.c (write_subroutine, main): Likewise.
19853 * local-alloc.c (block_alloc): Likewise.
19854 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
19855 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
19856 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
19857 * reload.c (find_reloads, find_reloads_toplev): Likewise.
19858 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
19859 (reload_cse_simplify_operands): Likewise.
19861 * arc/arc.c (arc_final_prescan_insn): Likewise.
19862 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
19863 * h8300/h8300.c (notice_update_cc): Likewise.
19864 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
19865 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
19866 * mn10200/mn10200.c (notice_update_cc): Likewise.
19867 * mn10300/mn10300.c (notice_update_cc): Likewise.
19868 * romp/romp.c (update_cc): Likewise.
19869 * sparc/sparc.c (check_pic): Likewise.
19870 * v850/v850.c (notice_update_cc): Likewise.
19872 * genemit.c (main): Don't declare recog_operand.
19874 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
19876 * ggc.h (rtvec_def): Forward declare.
19877 (tree_node): Likewise.
19878 (ggc_root): Define.
19880 (ggc_set_mark_rtx): Add prototype.
19881 (ggc_set_mark_rtvec): Likewise.
19882 (ggc_set_mark_tree): Likewise.
19883 * ggc-simple.c (ggc_root): Don't define.
19884 (roots): Don't declare.
19885 (ggc_mark_rtx): Remove.
19886 (ggc_mark_rtvec): Likewise.
19887 (ggc_mark_tree): Likewise.
19888 (ggc_mark_varray): Likewise.
19889 (ggc_mark_tree_hash_table_entry): Likewise.
19890 (ggc_mark_tree_hash_table): Likewise.
19891 (ggc_set_mart_rtx): New function.
19892 (ggc_set_mark_rtvec): Likewise.
19893 (ggc_set_mark_tree): Likewise.
19894 (ggc_add_root): Remove.
19895 (ggc_add_rtx_root): Likewise.
19896 (ggc_remove_tree_root): Likewise.
19897 (ggc_add_string_root): Likewise.
19898 (ggc_add_tree_varray_root): Likewise.
19899 (ggc_add_tree_hash_table_root): Likewise.
19900 (ggc_del_root): Likewise.
19901 (ggc_mark_rtx_ptr): Likewise.
19902 (ggc_mark_tree_ptr): Likewise.
19903 (ggc_mark_string_ptr): Likewise.
19904 (ggc_mark_tree_varray_ptr): Likewise.
19905 (ggc_mark_tree_hash_table_ptr): Likewise.
19906 * ggc-common.c: New file.
19907 * Makefile.in (OBJS): Add ggc-common.o.
19908 (ggc-common.o): List dependencies.
19910 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
19912 * cppalloc.c (xstrdup): Use memcpy.
19913 * cpperror.c (cpp_print_containing_files): Don't use
19915 * cpplib.c (conditional_skip): Set temp->lineno.
19916 (do_endif): Make error message less obscure.
19917 (if_directive_name): New function.
19918 (cpp_get_token [case EOF]): Unwind the if stack and generate
19919 error messages for each unterminated conditional in this file.
19920 (parse_string): Do not behave differently if -traditional.
19922 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
19924 * builtins.c (expand_builtin_va_arg): Cope with an array-type
19925 va_list decomposing to pointer-type.
19926 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
19927 (rs6000_va_arg): Likewise.
19929 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
19931 * except.c (start_dynamic_handler): Compute size using
19932 STACK_SAVEAREA_MODE.
19934 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19936 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
19937 include directory headers. Don't define strrchr. Don't provide
19938 my_* replacement functions. Prefer PTR over `pointer_type'.
19939 Don't prototype system functions. Don't redefine getopt.
19941 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
19942 safe_read, safe_write, save_pointers, restore_pointers,
19943 is_id_char, in_system_include_dir, directory_specified_p,
19944 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
19945 find_corresponding_lparen, referenced_file_is_newer,
19946 save_def_or_dec, munge_compile_params, gen_aux_info_file,
19947 process_aux_info_file, identify_lineno, check_source,
19948 seek_to_line, forward_to_next_token_char, output_bytes,
19949 output_string, output_up_to, other_variable_style_function,
19950 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
19951 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
19952 find_static_definition, connect_defs_and_decs, add_local_decl,
19953 add_global_decls, needs_to_be_converted, visit_each_hash_node,
19954 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
19955 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
19956 scan_for_missed_items, edit_file, string_list_cons): Add static
19958 (standard_exec_prefix, target_machine, target_version,
19959 default_syscalls_dir, string_list, string_list_cons, find_file,
19960 do_cleaning): Constify a char*.
19961 (safe_read, safe_write): Use PTR, not a char*.
19962 (is_id_char): Take an int, not a char.
19963 (main): Add prototype. Call return, not exit.
19965 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
19967 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
19968 when comparing types.
19970 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
19972 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
19973 (strength_reduce): Release the varrays from the no-bivs early exit.
19975 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
19976 the loop over the registers.
19978 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
19980 (restore_tree_status): Check that instead when freeing the obstack.
19982 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
19984 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
19987 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19989 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
19990 operand size modifiers.
19992 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19994 * c-common.c (c_common_nodes_and_builtins): Don't build
19996 * c-common.h (enum c_tree_index and related accesor macros): Remove
19997 everything now declared in tree.h.
19998 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
19999 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
20000 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
20001 (error_mark_node, void_type_node, char_type_node, integer_type_node,
20002 unsigned_type_node, ptr_type_node, va_list_type_node,
20003 integer_zero_node, null_pointer_node, integer_one_node): Delete.
20004 (init_decl_processing): Call build_common_tree_nodes and
20005 build_common_tree_nodes_2 instead of building their nodes here.
20006 Don't add roots for these nodes.
20007 * stor-layout.c (size_zero_node, size_one_node): Delete.
20008 (set_sizetype): Make a new node for bitsizetype each time.
20009 * tree.c (global_trees): New variable.
20010 (init_obstacks): Add a gc root for it.
20011 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
20012 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
20013 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
20014 (build_common_tree_nodes): New function.
20015 (fix_sizetype): New function.
20016 (build_common_tree_nodes_2): New function.
20017 * tree.h (enum tree_index): New.
20018 (global_trees): Declare.
20019 Add accessor macros for all nodes now moved to global_trees.
20020 Delete their declarations.
20022 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
20024 * c-decl.c (finish_function): When processing a nested function,
20025 push and pop GC context around rest_of_compilation.
20027 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
20029 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
20030 Default ix86_arch to PROCESSOR_I386.
20031 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
20032 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
20033 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
20034 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
20035 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
20036 (EXTRA_SPECS): Remove deleted specs.
20038 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
20040 * function.c (assign_stack_local_1): Allocate from
20041 function->x_frame_offset, not frame_offset.
20043 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
20045 * ggc.h (lang_cleanup_tree): Remove.
20046 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
20047 * ggc-callbacks.c (lang_cleanup_tree): Remove.
20049 * c-decl.c (finish_struct): Use ggc_alloc to allocate
20050 TYPE_LANG_SPECIFIC when garbage collecting.
20051 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
20052 (lang_cleanup_tree): Remove.
20054 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
20056 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
20057 * crtstuff.c: Not here.
20058 * dwarf2out.c: Or here.
20059 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
20062 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
20064 * function.h (free_after_compilation): Remove decl parameter.
20065 (free_varasm_status0: Likewise.
20066 (free_emit_status): Likewise.
20067 (free_stmt_status): Likewise.
20068 (free_after_compilation): Likewise.
20069 (init_lang_status): New variable.
20070 (free_lang_status): Likewise.
20071 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
20072 * function.c (init_lang_status): New variable.
20073 (free_lang_status): Likewise.
20074 (push_function_context_to): Don't set function::decl here.
20075 (free_after_copmilation): Make decl parameter implicit. Call
20076 free_lang_status if defined.
20077 (prepare_function_start): Call init_lang_status if defined.
20078 (init_function_start): Set function::decl here.
20079 * profile.c (output_func_start_profiler): Don't call pushdecl
20080 until we've actually started the function.
20081 * stmt.c (free_stmt_status): Make decl parameter implicit.
20082 * toplev.c (rest_of_compilation): Don't pass decl to
20083 free_after_compilation.
20084 * varasm.c (free_varasm_status): Likewise.
20086 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20088 * except.c (call_get_eh_context): Add root when allocating static
20091 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
20093 * arm.c: Include "ggc.h".
20094 (arm_add_gc_roots): New function.
20095 (arm_override_options): Call it.
20096 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
20098 * arm.md (define_asm_attributes): Add a pool_range attribute.
20100 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
20102 * extend.texi (Volatiles): New node.
20104 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
20106 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
20107 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
20108 (struct ggc_any): Replace `mark' with `magic_mark'.
20109 (ggc_alloc_string): Use memcpy, not bcopy.
20110 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
20111 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
20112 (ggc_free_any): New.
20113 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
20114 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
20115 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
20116 Use IS_MARKED. Use ggc_free_any.
20118 1999-09-09 Scott Bambrough <scottb@netwinder.org>
20120 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
20122 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
20124 * toplev.c (main): Always init_ggc.
20126 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
20128 * except.c (find_all_handler_type_matches): Free the list if
20129 we found no matches.
20131 * combine.c (SUBST): Break out to a real function do_SUBST.
20132 (SUBST_INT): Likewise.
20133 * gcse.c (free_pre_mem): Free `temp_bitmap'.
20134 (pre_insert): Free `inserted'.
20135 * loop.c (basic_induction_var): Always set `location'.
20137 * function.c (expand_function_end): Add initial_trampoline as a root.
20138 * rtl.h (init_varasm_once): Declare.
20139 * toplev.c (compile_file): Call it.
20140 * ggc-simple.c (ggc_mark_string_ptr): New.
20141 (ggc_add_string_root): New.
20142 (ggc_collect): Disable collection avoidance temporarily.
20143 * ggc.h (ggc_add_string_root): Declare.
20144 * except.c (create_rethrow_ref): Use ggc_alloc_string.
20145 * optabs.c (init_libfuncs): Likewise.
20146 * varasm.c (named_section): Use ggc_alloc_string.
20147 (make_function_rtl): Likewise.
20148 (make_decl_rtl): Likewise.
20149 (assemble_static_space): Likewise.
20150 (assemble_trampoline_template): Likewise.
20151 (output_constant_def): Likewise.
20152 (force_const_mem): Likewise.
20153 (mark_const_hash_entry): New.
20154 (mark_pool_sym_hash_table): New.
20155 (mark_varasm_state): Use it.
20156 (init_varasm_once): New.
20158 * expr.h (init_one_libfunc): Declare.
20159 * optabs.c (init_one_libfunc): New.
20160 (init_optabs): Use it.
20161 * config/gofast.h: Likewise.
20162 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
20163 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
20165 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
20167 * Makefile.in (cppexp.o): Depend on cpphash.h.
20168 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
20170 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
20171 * cpplib.c (do_define): Generalise to handle poisoned definitions,
20172 redefining poisoned identifiers, etc.
20173 (do_undef): Don't allow poisoned identifiers to be undefined.
20174 (do_pragma): Add #pragma poison.
20175 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
20177 * cccp.c: Add T_POISON node type.
20178 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
20180 (do_define): Generalise to handle poisoned definitions,
20181 redefining poisoned identifiers, etc.
20182 (do_undef): Don't allow poisoned identifiers to be undefined.
20183 (do_pragma): Add #pragma poison.
20184 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
20186 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
20187 * c-pragma.h: Add ps_poison state. We now always have generic
20190 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
20192 * ggc.h (ggc_alloc): New function.
20193 (ggc_mark): Likewise.
20194 * ggc-simple.c (ggc_any): New structure.
20195 (ggc_status): Add anys.
20196 (n_anys_collected): New variable.
20197 (ggc_alloc): Define.
20198 (ggc_mark): Likewise.
20199 (ggc_collect): Collect the anys.
20201 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20203 * c-decl.c (mark_binding_level): Make static to match prototype.
20205 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
20207 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
20209 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
20211 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
20212 will use into account. Expand the max width to 5.
20215 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
20217 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
20218 for the rtx length.
20220 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
20222 * alpha.md (call value patterns): Remove the result predicates.
20224 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
20226 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
20229 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20231 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
20232 changed from extern char *, to extern PTR. Also fix typo in
20233 NEED_DECLARATION_REALLOC test.
20235 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
20237 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20239 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
20240 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
20241 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
20242 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
20244 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
20246 * cccp.c (pcfinclude): Likewise.
20248 * global.c (allocno_compare): Likewise.
20250 * haifa-sched.c (rank_for_schedule): Likewise.
20252 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
20254 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
20256 * stupid.c (stupid_reg_compare): Likewise.
20258 * tree.c (_obstack_allocated_p): Likewise.
20260 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
20262 1999-09-08 Bruce Korb autogen@linuxbox.com
20264 * Makefile.in: Give the hapless gperf user a hint about
20265 why "gperf -F" fails.
20267 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
20269 * lists.c: Include ggc.h.
20271 (init_EXPR_INSN_LIST_cache): Install it.
20273 * ggc-simple.c (init_ggc): Absorb the old init.
20274 (ggc_push_context): Use xcalloc.
20275 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
20276 (ggc_collect): Add [rvts] tags to the collection stats.
20278 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
20280 * cccp.c (main): Fix handling of -include and -imacros options.
20282 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
20284 * cpplib.c (cpp_push_buffer): Fix order of arguments.
20286 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
20288 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
20291 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
20293 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
20294 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
20295 and SET_DEST. Update comment.
20297 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20299 * config/c4x/c4x.c: Include ggc.h.
20300 (c4x_add_gc_roots): New function.
20301 (c4x_override_options): Call c4x_add_gc_roots.
20303 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
20305 * defaults.h (TARGET_ESC): Move ...
20306 * system.h: ... here, where Linas had it in the first place. Silly me.
20308 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
20310 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
20311 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
20312 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
20313 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
20314 * defaults.h (TARGET_ESC): Add default.
20316 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
20318 * configure.in: add i370-*-openedition, i370-*-mvs and
20319 i370-*-linux targets
20321 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
20323 * dsp16xxx.c: Include ggc.h
20324 (override_options): Mark GC roots.
20325 * mn10200.c: Include ggc.h.
20326 (asm_file_start): Mark GC roots.
20327 * tahoe.c: Include ggc.h.
20328 (extensible_operand): Mark GC roots.
20330 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
20332 * README: Add section discussing status of ELF ABI.
20333 * i370.c: Fix misc spelling mistakes.
20334 (i370_label_scan): Updated notes, exception handling.
20335 (i370_function_prolog): Simplify ELF stack handling.
20336 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
20337 (STACK_GROWS_DOWNWARD): ELF stack grows down.
20338 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
20339 * i370.md: (movdi): Add notes.
20340 (floatsidf2): Use stack not rtca for scratch float area.
20341 (iorsi3): Correct operand constraints.
20342 * x-oe: Restore TAROUTOPTS which are used by pax.
20344 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
20346 * rs6000.c: Include ggc.h.
20347 (rs6000_add_gc_roots): New function.
20348 (override_options): Call it.
20350 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
20352 * alpha.h (alpha_compare): New.
20353 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
20354 * alpha.c: Likewise for the definitions.
20355 (alpha_emit_conditional_branch): Update for alpha_compare.
20356 (alpha_emit_conditional_move): Likewise.
20357 * alpha.md (cmpdf, cmpdi): Likewise.
20358 (setcc patterns): Likewise. Zero alpha_compare after use.
20359 (sne): Optimize (x != 0) into (0U < x).
20361 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
20363 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
20364 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
20365 (INIT_EXPANDERS): Remove.
20366 * alpha.c: Include ggc.h.
20367 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
20368 (alpha_init_machine_status, alpha_mark_machine_status): New.
20369 (override_options): Install them.
20370 (struct machine_function): Moved to alpha.h.
20371 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
20372 (alpha_init_expanders): Remove.
20373 (alpha_return_addr): Adjust to use current_function->machine.
20374 (alpha_ra_ever_killed): Likewise.
20375 (alpha_expand_epilogue): Likewise.
20376 * alpha.md (eh_epilogue): Likewise.
20378 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
20379 Melissa O'Neill <oneill@cs.sfu.ca>
20380 Geoffrey Keating <geoffk@cygnus.com>
20382 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
20383 call-used registers (call-saved registers must still be contiguous
20384 and end with r31, of course).
20386 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
20388 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
20389 (self_promoting_type_p): Delete.
20390 (self_promoting_args_p): Move ...
20391 * c-common.c: ... here.
20392 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
20393 (simple_type_promotes_to): New.
20394 * builtins.c (lang_type_promotes_to): New.
20395 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
20396 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
20397 * c-common.h: ... here.
20398 (self_promoting_args_p, simple_type_promotes_to): Declare.
20399 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
20400 (grokdeclarator): Likewise.
20401 * tree.h (lang_type_promotes_to): Declare.
20403 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
20405 Add some machine-dependent GC roots.
20406 * sparc.c: Include ggc.h.
20407 (sparc_add_gc_roots): New function.
20408 (mark_ultrasparc_pipeline_state): Likewise.
20409 (override_options): Call sparc_add_gc_roots.
20410 * pa.c: Include ggc.h.
20411 (pa_add_gc_roots): New function.
20412 (mark_deferred_plabels): Likewise.
20413 (override_options): Call pa_add_gc_roots.
20414 * mips.c: Include ggc.h.
20415 (mips_add_gc_roots): New function.
20416 (override_options): Use it.
20418 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20420 * cpperror.c (cpp_file_line_for_message): Constify a char*.
20422 * cppexp.c (parse_number, parse_charconst, cpp_lex,
20423 cpp_parse_expr): Add static prototypes.
20424 (parse_charconst): Don't cast away const-ness.
20425 (token): Constify a char*.
20427 * cppfiles.c (file_name_list, include_hash, find_include_file,
20428 finclude, initialize_input_buffer): Constify a char*.
20429 (file_cleanup, find_position): Add static prototypes.
20431 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
20432 collect_expansion): Add static prototypes.
20433 (cpp_install, create_definition, monthnames): Constify a char*.
20435 * cpphash.h (cpp_install): Likewise.
20437 * cppinit.c (known_suffixes, default_include,
20438 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
20439 (base_name, dump_special_to_buffer, initialize_dependency_output):
20440 Add static prototypes.
20442 * cpplib.c (my_strerror): Constify a char*.
20443 (null_underflow, null_cleanup, skip_comment, copy_comment,
20444 copy_rest_of_line, handle_directive, pass_thru_directive,
20445 get_directive_token, read_line_number, cpp_print_file_and_line,
20446 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
20447 v_cpp_warning_with_line, detect_if_not_defined,
20448 consider_directive_while_skipping): Add static prototypes.
20449 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
20450 cpp_pedwarn_with_file_and_line): Constify a char*.
20452 * cpplib.h (cpp_options, include_hash, progname, definition,
20453 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
20454 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
20455 find_include_file, deps_output, include_hash): Constify a char*.
20457 * cppmain.c (progname): Constify.
20458 (main): Add prototype. Use return, not exit.
20460 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
20461 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
20462 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
20463 check_protection): Add static prototype.
20465 (progname, recognized_macrom, recognized_extern): Constify a char*.
20466 (main): Add prototype.
20468 * gen-protos.c (progname): Constify a char*.
20470 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
20472 * emit-rtl.c (free_emit_status): Take decl as a parameter.
20473 (init_emit_once): Add more GC roots.
20474 * except.c (mark_func_eh_entry): New function.
20475 (mark_eh_node): Mark false_label and rethrow_label.
20476 (init_eh): Add more GC roots.
20477 * function.c (free_after_compilation): Take decl as a paramter.
20478 Call free_stmt_status.
20479 (mark_function_state): Don't assume x_parm_reg_stack_loc is
20481 * function.h (free_after_compilation): Change prototype.
20482 (free_varasm_status): Likewise.
20483 (free_emit_status): Likewise.
20484 (free_stmt_status): New function.
20485 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
20486 Remove, replacing with ...
20487 (ggc_status): New structure.
20488 (ggc_chain): New variable.
20489 (init_gcc): Define.
20490 (ggc_push_context): New function.
20491 (ggc_pop_context): Likewise.
20492 (ggc_alloc_rtx): Adjust for use of ggc_chain.
20493 (ggc_alloc_rtvec): Likewise.
20494 (ggc_alloc_tree): Likewise.
20495 (ggc_alloc_string): Likewise.
20496 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
20497 (ggc_mark_tree): Give language-dependent code a chance to mark
20499 (ggc_mark_tree_varray): Handle empty arrays.
20500 (ggc_collect): Adjust for use of ggc_chain. Clear
20501 bytes_alloced_since_last_gc.
20502 * ggc.h (ggc_pop_context): New function.
20503 (ggc_push_context): Likewise.
20504 * print-tree.c (print_node): Don't print obstacks when GC'ing.
20505 * stmt.c (free_stmt_status): New function.
20506 (init_stmt_for_function): Clear last_expr_value.
20507 * toplev.c (rest_of_compilation): Always call free_after_compilation.
20508 Conditionalize call to ggc_collect.
20509 (main): Call init_ggc.
20510 * tree.c (push_obstacks): Do the push, even when GC'ing.
20511 (push_obstacks_nochange): Likewise.
20512 (pop_obstacks): Liekwise.
20513 * varasm.c (free_varasm_status): Take decl as a parameter.
20515 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
20517 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
20518 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
20519 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
20520 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
20522 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
20524 * pa/x-pa-mpeix: New file for the MPE port.
20526 * pa/quadlib.asm: New file for long double support.
20528 * configure.in: Add hppa1.0-*-mpeix for MPE port.
20529 * configure: Rebuilt.
20531 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
20533 * final.c (shorten_branches): Fix last change.
20535 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
20537 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
20539 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
20541 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
20544 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20546 * c-aux-info.c (concat): Don't define.
20548 * cccp.c (my_strerror): Likewise. All callers changed to use
20550 (do_include): Call xstrdup, not xmalloc/strcpy.
20551 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
20552 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
20554 * collect2.c (my_strsignal): Likewise. All callers changed to use
20556 (locatelib): Call xstrdup, not xmalloc/strcpy.
20558 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
20560 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
20562 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
20564 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
20566 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
20568 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
20570 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
20572 (find_all_handler_type_matches): Likewise. Don't check return
20574 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
20575 xmalloc, not malloc.
20576 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
20578 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
20579 (init_spec): Call xcalloc, not xmalloc/bzero.
20580 (set_spec): Call xstrdup, not save_string.
20581 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
20582 (find_a_file): Call xstrdup, not xmalloc/strcpy.
20583 (process_command): Call xstrdup, not save_string.
20584 (main): Call xcalloc, not xmalloc/bzero.
20586 * gcov.c (xmalloc): Don't define.
20587 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
20588 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
20589 (output_data): Call xcalloc, not xmalloc/bzero.
20591 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
20593 * mips-tdump.c (xmalloc): Don't define.
20594 (print_symbol): Call xmalloc, not malloc.
20595 (read_tfile): Call xcalloc, not calloc.
20597 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
20598 Don't define. All callers of xfree/my_strsignal changed to use
20599 free/strsignal instead.
20600 (allocate_cluster): Call xcalloc, not calloc.
20602 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
20603 Fix memory leak, free allocated memory.
20605 * prefix.c (translate_name): Call xstrdup, not save_string.
20606 (update_path): Likewise.
20608 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
20610 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
20611 Don't define. Callers of xfree/savestring2 changed to use
20612 free/concat instead.
20614 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
20615 (init_elim_table): Likewise.
20617 * resource.c (init_resource_info): Likewise.
20619 * stupid.c (stupid_life_analysis): Likewise.
20621 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
20622 (open_dump_file): Call concat, not xmalloc/strcpy/...
20623 (clean_dump_file): Likewise.
20624 (compile_file): Call xstrdup, not xmalloc/strcpy.
20626 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
20628 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
20629 * v850.c (v850_va_arg): New.
20631 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20633 * haifa-sched.c: Tidy comments.
20635 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20637 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
20638 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
20639 $(out_object_file)): Depend on ggc.h.
20640 * c-common.c: Include "ggc.h".
20641 (combine_strings): If doing GC, use ggc_alloc_string.
20642 * c-decl.c: Include "ggc.h".
20643 (ggc_p): Define with value 0.
20644 (mark_binding_level): New function.
20645 (init_decl_processing): Add GC roots.
20646 (mark_c_function_context): New function.
20647 (lang_mark_false_label_stack): New function.
20648 (lang_mark_tree): New function.
20649 (lang_cleanup_tree): New function.
20650 * c-lang.c: Include "ggc.h".
20651 (lang_init): Call c_parse_init.
20652 * c-lex.c: Include "ggc.h".
20653 (check_linenum): If doing GC, don't copy filenames to permanent
20655 * c-parse.in: Include "ggc.h".
20656 (c_parse_init): New function.
20657 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
20658 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
20660 * except.c (mark_eh_state): Mark more state.
20661 * function.c (mark_function_state): Likewise.
20662 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
20663 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
20664 * toplev.c (mark_file_stack): New function.
20665 (compile_file): If doing GC, use ggc_alloc_string on input filename.
20666 (main): Add root for input_file_stack.
20668 * i386.c: Include "ggc.h".
20669 (ix86_mark_machine_status): New function.
20670 (override_options): Set mark_machine_status.
20672 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20674 * tree.c (copy_node): Copy node contents also if doing GC.
20676 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
20678 * collect2.c (scan_libraries): Fix double-thinko :-).
20680 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
20682 * collect2.c (scan_libraries): Fix thinko.
20684 * cse.c (delete_trivially_dead_insns): Do not skip the last
20685 insn if it is a real insn.
20687 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
20689 * Makefile.in (ggc-simple.o): Depend on hash.h.
20690 * ggc.h (ggc_add_tree_hash_table_root): Declare.
20691 (ggc_mark_tree_varray): Likewise.
20692 (ggc_mark_tree_hash_table): Likewise.
20693 * ggc-simple.c: Include hash.h.
20694 (ggc_mark_tree_hash_table_ptr): New function.
20695 (ggc_mark_tree_hash_table_entry): Likewise.
20696 (ggc_mark_tree_hash_table): Likewise.
20697 (ggc_add_tree_hash_table_root): Likewise.
20698 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
20699 rtx, when defining fields.
20701 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
20703 * profile.c (output_func_start_profiler): Remove apparently
20704 nonsensical call to start_sequence.
20706 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
20708 * clipper/clipper.c (clipper_va_start): Fix typos.
20710 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
20711 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
20712 (spur_va_arg): New stub.
20714 * configure.in: Comment out pyramid.
20716 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
20718 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
20719 don't conflict with the bits that win32, cygwin, and dgux
20722 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
20723 Bernd Schmidt <bernds@cygnus.co.uk>
20725 * integrate.c (function_cannot_inline_p): Do not inline
20726 functions with forced labels.
20728 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
20729 Bernd Schmidt <bernds@cygnus.co.uk>
20730 Mark Mitchell <mark@codesourcery.com>
20732 * Makefile.in (ggc-simple.o): Depend on varray.h.
20733 (rtl.o): Depend on ggc.h.
20734 (genattrtab.o): Depend on ggc.h.
20735 (print-tree.o): Likewise.
20736 (fold-const.o): Likewise.
20737 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
20738 (make_insn_raw): Don't cache insns when GC'ing.
20739 (emit_insn_before): Likewise.
20740 (emit_insn_after): Likewise.
20741 (emit_insn): Likewise.
20742 (start_sequence): Use xmalloc to allocate the sequence_stack.
20743 (end_sequence): Add free to free it.
20744 (gen_sequence): Don't cache insns when GC'ing.
20745 (clear_emit_caches): Don't use sequence_element_free_list.
20746 (init_emit): Use xcalloc, not xmalloc+bzero.
20747 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
20748 * function.c (pop_function_context_from): Use free to free the
20749 fixup_var_refs_queue.
20750 (put_reg_into_stack): Allocate it with xmalloc.
20751 * genattrtab.c: Include ggc.h.
20752 (operate_exp): Don't use obstack_free when GC'ing.
20753 (simplify_cond): Likewise.
20754 (simplify_text_exp): Likewise.
20755 (optimize_attrs): Likewise.
20756 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
20758 (gencode): Generate a #include for ggc.h.
20759 * ggc-callbacks.c (ggc_p): Define it to zero.
20760 * ggc-none.c (ggc_p): Likewise.
20761 * ggc-simple.c: Include varray.h.
20762 (ggc_mark_tree_varray): New function.
20763 (ggc_add_tree_varray_root): Likewise.
20764 (ggc_mark_tree_varray_ptr): Likewise.
20765 * ggc.h (ggc_p): Declare.
20766 (varray_head_tag): Likewise.
20767 (ggc_add_tree_varray_root): Declare.
20768 * print-tree.c (print_node): Don't check for TREE_PERMANENT
20769 inconsistencies when GC'ing.
20770 * rtl.c: Include ggc.h.
20771 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
20772 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
20773 (rtx_free): Don't call obstack_free when GC'ing.
20774 * toplev.c (rest_of_compilation): Call ggc_collect after every
20776 * tree.c (push_obstacks): Do nothing, if GC'ing.
20777 (pop_obstacks_nochange): Likewise.
20778 (pop_obstacks): Likewise.
20779 (make_node): Use ggc_alloc_tree when GC'ing.
20780 (copy_node): Likewise.
20781 (get_identifier): Use ggc_alloc_string when GC'ing.
20782 (build_string): Likewise.
20783 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
20784 (tree_cons): Likewise.
20785 (build1): Likewise.
20786 (type_hash_canon): Don't call obstack_free when GC'ing.
20788 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
20790 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
20791 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
20793 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
20794 Bernd Schmidt <bernds@cygnus.co.uk>
20795 Mark Mitchell <mark@codesourcery.com>
20797 * Makefile.in (stor-layout.o): Depend on ggc.h.
20798 (expr.o): Depend on ggc.h.
20799 (profile.o): Depend on ggc.h.
20800 (stor-layout.o): Depend on ggc.h.
20801 * emit-rtl.c (init_emit_once): Add gc roots.
20802 * expr.c: Include ggc.h.
20803 (emit_block_move): Add gc roots.
20804 (clear_storage): Likewise.
20805 * expr.h (init_stor_layout_once): New function.
20806 * profile.c: Include ggc.h.
20807 (init_arc_profiler): profiler_label is a root.
20808 * scan.c (make_sstring_space): Trust xrealloc to function
20809 correctly with first parameter NULL.
20810 * stor-layout.c: Include ggc.h.
20811 (set_sizetype): Add gc root.
20812 (init_stor_layout_once): New function.
20813 * toplev.c (compile_file): Call it.
20815 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
20816 Bernd Schmidt <bernds@cygnus.co.uk>
20817 Mark Mitchell <mark@codesourcery.com>
20819 * Makefile.in (tree.o): Depend on ggc.h.
20820 (varasm.o): Likewise.
20821 (function.o): Likewise.
20822 (stmt.o): Likewise.
20823 (except.o): Likewise.
20824 (optabs.o): Likewise.
20825 (emit-rtl.o): Likewise.
20826 * emit-rtl.c: Include ggc.h.
20827 (sequence_element_free_list): Remove, and all references.
20828 (mark_sequence): New functions.
20829 (mark_emit_state): New function.
20830 * except.c: Include ggc.h.
20831 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
20832 (mark_tree_label_node): New functions.
20833 (mark_eh_state): New function.
20834 * function.c: Include ggc.h.
20835 (mark_temp_slot, mark_function_chain): New functions.
20836 (mark_function_state): New function.
20837 (init_function_once): New function.
20838 * function.h (init_function_once): New function.
20839 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
20840 * ggc.h (label_node): Declare.
20841 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
20842 (lang_mark_false_label_stack): New function.
20843 (mark_temp_slot): Remove declaration.
20844 (mark_function_chain): Likewise.
20845 (mark_eh_state): Adjust prototype.
20846 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
20848 * optabs.c: Include ggc.h.
20849 (mark_optab): New function.
20850 (init_optabs): Add gc roots.
20851 * stmt.c: Include ggc.h.
20852 (mark_cond_nesting, mark_loop_nesting): New functions.
20853 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
20854 (mark_stmt_state): New function.
20855 * toplev.c (compile_file): Call init_function_once.
20856 * tree.c: Include ggc.h.
20857 (type_hash): Move declaration earlier in file.
20858 (TYPE_HASH_SIZE, type_hash_table): Likewise.
20859 (init_obstacks): Add gc roots.
20860 (mark_type_hash): New function.
20861 * varasm.c: Include ggc.h.
20862 (mark_pool_constant): New function.
20863 (mark_varasm_state): New function.
20865 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20867 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
20869 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20871 * c-decl.c (struct language_function): Renamed from struct c_function.
20873 (c_function_chain): Delete.
20874 (push_c_function_context): New arg F. Don't warn about nested
20875 functions here. Fill LANGUAGE elt of F. Delete code to update
20876 c_function_chain. Don't call push_function_context.
20877 (pop_c_function_context): New arg F. Restore from there instead of
20878 from c_function_chain. Don't call pop_function_context. Clear out
20879 LANGUAGE field of F when done.
20880 * c-lang.c: Include "function.h"
20881 (lang_init): Initialize save_lang_status and restore_lang_status.
20882 * c-parse.in (nested_function, nested_function_notype): Warn about
20883 nested functions. Call push_function_context/pop_function_context
20884 instead of the _c_ variants.
20885 * c-tree.h (push_c_function_context, pop_c_function_context): Update
20887 * Makefile.in (c-lang.o): Update dependencies.
20889 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
20890 regno_pointer_flag, regno_pointer_align.
20891 (gen_reg_rtx): Use xrealloc to enlarge them.
20892 (free_emit_status): New function.
20893 * function.c (mark_machine_status, mark_lang_status): New variables.
20894 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
20895 in some bits from assign_stack_local. All callers changed to use new
20897 (assign_stack_local): Just call assign_stack_local_1.
20898 (free_after_compilation): New function.
20899 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
20900 (trampoline_address): Likewise.
20901 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
20902 (prepare_function_start): Explicitly clear some more variables.
20903 * function.h (struct function): New elt can_garbage_collect.
20904 (mark_machine_status, mark_lang_status): Declare variables.
20905 (free_after_compilation, free_emit_status, free_varasm_status,
20906 init_varasm_status): Declare functions.
20907 * toplev.c (rest_of_compilation): Call free_after_compilation when
20908 done with the current function.
20909 * varasm.c (free_varasm_status): New function.
20911 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
20913 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
20914 (EXPAND_BUILTIN_VA_ARG): Define.
20915 * sparc.c (sparc_va_start): New.
20916 (sparc_va_arg): New.
20918 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20920 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
20922 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20924 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
20926 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
20928 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
20929 (OBJS): Add $(GGC).
20930 (ggc-callbacks.o): New target.
20931 * ggc-callbacks.c: New file.
20933 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20935 * expr.h: Collapse individual optab and libfunc vars to arrays.
20936 (optab_index, libfunc_index): New enumerations.
20937 (optab_table, libfunc_table): New arrays.
20938 Add accessor macros for both.
20940 * optabs.c (optab_table, libfunc_table): New.
20941 Delete declarations for individual optab and libfunc vars.
20943 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
20945 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
20947 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
20949 * Makefile.in (GGC, GGC_LIB): New.
20950 (HOST_RTL): Include ggc-none.o.
20951 (ggc-simple.o): New target.
20952 (ggc-none.o): Likewise.
20953 * tree.h (tree_common): Add gc_mark.
20954 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
20955 (struct rtvec_def): Add gc_mark.
20956 * emit-rtl.c (global_rtl): Update static initializers to contain
20957 enough initializers.
20958 * ggc.h, ggc-none.c, ggc-simple.c: New files.
20959 * toplev.c (gc_time): New variable.
20960 (all_time): New variable.
20961 (compile_file): Print gc time.
20962 (print_time): Calculate percentage of the whole.
20964 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20966 Change obstack memory management and varasm constant pool handling so
20967 that nested functions are treated like any other functions.
20968 * function.c (init_machine_status): New variable.
20969 (push_function_context_to): Set contains_functions for the outer
20970 function. Don't call save_varasm_status.
20971 (pop_function_context_from): Don't call restore_varasm_status. Don't
20972 set current_function_contains_functions.
20973 (prepare_function_start): Call init_varasm_status rather than
20974 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
20976 * function.h (struct function) Add field varasm. Delete fields
20977 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
20978 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
20979 (init_machine_status): Declare.
20980 (save_varasm_status, restore_varasm_status): Delete declarations.
20981 (save_tree_status, restore_tree_status): Delete last argument.
20982 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
20983 code. All callers changed.
20984 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
20985 save_constants_in_decl_trees, restore_constants, save_constants,
20986 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
20988 (inlining): New variable.
20989 (reg_map, label_map, insn_map, orig_asm_operands_vector,
20990 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
20992 (save_for_inline_nocopy): Don't save constants.
20993 Don't set inl_emit field in current_function.
20994 (expand_inline_function): Use emit field, not inl_emit, of the inlined
20995 function. Set new variable inlining before
20996 calling copy_rtx_and_substitute.
20997 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
20998 constant pool references if inlining is nonzero.
20999 Delete ADDRESS and (most of the) CONST cases.
21000 (output_inline_function): Save and restore current_function/
21001 current_function_decl. Delete restore_constants code. Don't call
21002 init_const_rtx_hash_table.
21003 * output.h (init_const_rtx_hash_table): Don't declare.
21004 * rtl.h (struct function): Declare.
21005 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
21006 * toplev.c (rest_of_compilation): Don't treat nested functions or
21007 functions containing them specially. Delete all code to deal with
21008 save_for_inline_copying.
21009 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
21010 inline_obstacks): Delete variables.
21011 (save_tree_status): Lose arg CONTEXT. All callers changed.
21012 Simply allocate a new function_maybepermanent_obstack for the new
21013 function, delete all the special cases.
21014 Don't save inline_obstacks.
21015 (restore_tree_status): Lose arg CONTEXT. All callers changed.
21016 Delete special handling for function_maybepermanent_obstack; simply
21018 Don't restore inline_obstacks.
21019 (permanent_allocation): Delete code that frees inline_obstacks.
21020 (print_inline_obstack_statistics): Delete function.
21021 (dump_tree_statistics): Don't call it.
21022 * varasm.c (struct varasm_status): New.
21023 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
21024 last_pool, pool_offset, const_double_chain): Delete global
21025 variables, replace with accessor macros.
21026 (immed_double_const): Don't walk const_double_chain outside a
21027 function, but don't treat nested functions specially anymore.
21028 (immed_real_const_1): Likewise.
21029 (clear_const_double_mem): Don't treat nested functions specially.
21030 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
21031 (save_varasm_status, restore_varasm_status): Delete functions.
21032 (init_varasm_status): New function.
21033 (force_const_mem): Don't treat nested functions specially.
21034 (find_pool_constant): Accept new arg F, search for constants in
21035 that function's pool rather than the current one. All callers
21037 (get_pool_constant_for_function, get_pool_mode_for_function): New
21040 * i386.c (init_386_machine_status): New function, mostly from
21041 clear_386_stack_locals.
21042 (struct machine_functions): Rename element names to avoid name
21044 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
21045 macros, replacing global variables.
21046 (clear_386_stack_locals, save_386_machine_status,
21047 restore_386_machine_status): Delete functions.
21048 (override_options): Initialize init_machine_status.
21049 * i386.h (INIT_EXPANDERS): Delete macro.
21050 (save_386_machine_status, restore_386_machine_status,
21051 clear_386_stack_locals): Delete declarations.
21053 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21055 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
21056 (doloop_begin): Simplify pattern and use emit_jump_insn.
21057 (doloop_end): Simplify pattern, switch operand order,
21058 and use emit_jump_insn.
21060 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
21062 * function.h (struct function): Add new element LANGUAGE.
21063 (save_lang_status): Declare new variable.
21064 (restore_lang_status): Likewise.
21065 * function.c (save_lang_status): Define.
21066 (restore_lang_status): Likewise.
21067 (push_function_context_to): Call language-specific save function.
21068 (pop_function_context_from): Call language-specific restore function.
21070 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
21072 * i386.md (movsf_1): Check REG_P before use of REGNO.
21073 (movdf_1): Likewise.
21074 (movxf_1): Likewise.
21075 (extendsfdf2): Likewise.
21076 (extendsfxf2): Likewise.
21077 (extenddfxf2): Likewise.
21079 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21081 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
21082 constants into memory.
21083 (c4x_shiftable_constant): New function.
21084 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
21085 (c4x_shiftable_constant): Declare.
21086 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
21087 ashlqi3_noclobber): Add new patterns and associated splitters.
21089 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
21091 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
21092 * dwarf2out.c (dwarf2out_frame_init): Likewise.
21093 * final.c (shorten_branches): Likewise.
21094 * global.c (global_alloc): Likewise.
21095 * haifa-sched.c (build_control_flow): Likewise.
21096 * stmt.c (check_for_full_enumeration_handling): Likewise.
21097 (estimate_case_costs): Likewise.
21099 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
21101 * rtl.h (RTL_CHECKC2): Fix typo in last change.
21103 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
21105 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
21106 (recompute_reg_usage): Likewise.
21107 * rtlanal.c (find_regno_fusage): Likewise.
21109 * rtl.c (rtl_check_failed_code1): New function.
21110 (rtl_check_failed_code2): New.
21111 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
21112 (RTL_CHECKC1, RTL_CHECKC2): New.
21113 (XC*): New accessor macros.
21114 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
21115 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
21116 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
21117 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
21118 (TRAP_*, RANGE_INFO_*): Likewise.
21120 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21122 * Makefile.in (tlink.o): Don't depend on toplev.h.
21124 * collect2.c (c_file, o_file, export_file, import_file, ldout,
21125 output_file, nm_file_name, ldd_file_name, strip_file_name,
21126 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
21127 add_prefix, prefix_from_env, prefix_from_string, do_wait,
21128 fork_execute, maybe_unlink, add_to_list,
21129 extract_init_priority, write_list, dump_list,
21130 dump_prefix_list, write_list_with_asm, write_c_file,
21131 write_c_file_stat, write_c_file_glob, scan_prog_file,
21132 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
21133 ignore_library, extract_string, notice, dump_file, target_machine,
21134 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
21135 read_file, print_load_command): Constify a char*.
21136 (fdopen, error, fatal, fatal_perror): Don't prototype.
21137 (my_strerror): Remove. All callers use xstrerror instead.
21138 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
21139 (main): Add prototype. Constify lots of char* ptrs. Change calls
21140 to xcalloc/strcpy/strcat/... to one call to concat.
21141 (main, scan_prog_file, scan_libraries): Use an intermediate
21142 `const char **' to build an argv array.
21143 (mapfile, libselect, libcompare, locatelib): Add prototypes.
21145 * collect2.h (collect_execute, collect_wait, dump_file,
21146 file_exists): Constify a char*.
21147 (ldout, c_file_name, temporary_obstack, permanent_obstack,
21148 temporary_firstobj, vflag, debug): Add extern declarations.
21149 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
21151 * tlink.c: Don't include toplev.h.
21152 (vflag, debug, ldout, c_file_name, temporary_obstack,
21153 permanent_obstack, temporary_firstobj): Don't declare.
21154 (tlink_execute, frob_extension, symbol_hash_lookup,
21155 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
21156 recompile_files, read_repo_files, demangle_new_symbols,
21157 scan_linker_output): Constify a char*.
21158 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
21159 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
21161 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
21163 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
21164 (relative) rather than jsr (absolute) subroutine call insns.
21165 * config/m68k/m68k-coff.h: Ditto.
21167 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
21169 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
21170 now rework these too.
21171 (arm_reorg): If an insn can't reach the end of the current pool,
21172 ensure that we emit that pool before the insn.
21174 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
21176 * tlink.c (scan_linker_output): Skip the initial underscore in
21177 a mangled name if appropriate.
21179 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21181 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
21182 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
21183 error_with_ivar, gen_declarator, create_builtin_decl,
21184 my_build_string, generate_descriptor_table, generate_ivars_list,
21185 generate_dispatch_table, check_protocols, TAG_GETCLASS,
21186 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
21187 dump_base_name, lang_decode_option, build_encode_expr,
21188 start_class, finish_class, encode_pointer, really_start_method,
21189 gen_declaration, dump_interface, handle_class_ref, handle_impent):
21191 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
21192 Add static prototypes.
21193 (build_objc_string_decl, build_selector_reference_decl,
21194 encode_bitfield, build_class_reference_decl): Remove unused
21195 parameter, all callers changed.
21196 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
21197 (objc_printable_name): Likewise. Change second parameter to type int.
21198 (init_objc): Use memcpy, not bcopy, to avoid casts.
21200 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
21202 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
21203 reg notes on a deleted insn.
21204 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
21206 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
21208 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
21210 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21212 * stmt.c (expand_asm_operands): Fix index into inout_mode when
21215 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
21217 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
21218 * tm.texi (MD_ASM_CLOBBERS): Document it.
21220 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
21222 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
21223 * except.c (expand_rethrow): Remove unused variable.
21224 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
21225 * flow.c (replace_insns): Likewise.
21226 (create_edge_list, verify_edge_list): Likewise.
21227 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
21229 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
21230 is special code to run.
21231 (main): Don't define operands to emit_operand.
21232 * genrecog.c (main): Don't emit an empty peephole2_insn function.
21234 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
21236 * alpha/alpha.h (normal_memory_operand): Declare.
21237 (reg_no_subreg_operand): Declare.
21238 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
21240 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
21242 * c-parse.in (compstmt_primary_start): New, broken out of first
21243 part of compstmt handling in primary.
21244 (primary): Use it. Add an error clause.
21245 (compstmt_nostart): Renamed from compstmt; remove all
21246 initial invocations of compstmt_start.
21249 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
21251 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
21254 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
21256 * combine.c (simplify_shift_const): Remove extra semicolon.
21257 * dwarf2out.c (remove_AT): Likewise.
21258 * expmed.c (expand_mult): Likewise.
21259 * gcov.c (create_program_flow_graph): Likewise.
21260 * reorg.c (mostly_true_jump): Likewise.
21262 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
21264 * fold-const.c (fold_range_test): Do not try to fold the range
21265 test if the rhs or lhs has side effects.
21267 * combine.c (simplify_rtx): Recognize another case of a synthesized
21270 * varasm.c (mark_constant_pool): When marking indirect references,
21271 only look at SYMBOL_REFs.
21273 * except.c (expand_fixup_region_end): Do not peek at
21274 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
21276 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
21278 * flags.h: New variables align_loops, align_loops_log,
21279 align_jumps, align_jumps_log, align_labels, align_labels_log,
21280 align_functions, align_functions_log.
21281 * toplev.c: Define them.
21282 (f_options): Handle -falign-* when they have no argument.
21283 (main): Add logic to set variables for -falign-functions,
21284 -falign-jumps, -falign-labels, -falign-loops.
21285 Make it -fsched-verbose=<n> and -finline-limit=<n>.
21286 (display_help): Change help to match options.
21287 * final.c (LABEL_ALIGN): Default to align_labels_log.
21288 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
21289 (LOOP_ALIGN): Default to align_loops_log.
21290 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
21291 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
21292 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
21293 * varasm.c (assemble_start_function): Handle align_functions.
21295 * config/sparc/sparc.h: Don't declare sparc_align_*.
21296 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
21297 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
21299 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
21301 * config/sparc/sparc.c: Delete sparc_align_loops,
21302 sparc_align_jumps, sparc_align_funcs and the corresponding string
21304 (sparc_override_options): Default align_functions on ultrasparc.
21305 Delete -malign-* handling.
21307 * config/mips/mips.c (override_options): On 64-bit targets,
21308 try to align code to 64-bit boundaries.
21309 (print_operand): New substitution, %~,
21310 which aligns labels to align_labels_log.
21311 * config/mips/mips.md (div_trap_normal): Use %~.
21312 (div_trap_mips16): Likewise.
21314 (absdi2): Likewise.
21315 (ffssi2): Likewise.
21316 (ffsdi2): Likewise.
21317 (ashldi3_internal): Likewise.
21318 (ashrdi3_internal): Likewise.
21319 (lshrdi3_internal): Likewise.
21320 (casesi_internal): Likewise.
21322 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
21324 Merge new ia32 backend from the branch!
21326 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
21327 See ChangeLog.P2 on new_ia32_branch for details.
21329 * rtl.h (stack_regs_mentioned_p): Delete prototype.
21330 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
21331 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
21332 * i386/gas.h (ASM_FILE_START): Define.
21333 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
21334 for name change of ix86_valid_decl_attribute_p.
21335 (i386_pe_valid_type_attribute_p): Similarly.
21337 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
21339 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
21340 to step through CC modes.
21342 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21344 * regmove.c (fixup_match_1): Don't move INSN in front of P if
21345 it would end up in the shadow of a live flags regsiter.
21347 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21349 * reload1.c: Fix many indentation problems.
21350 * reload.c: Likewise.
21352 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
21354 * alias.c (non_local_reference_p): Constify fmt.
21356 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
21358 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
21360 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
21362 * cse.c (delete_trivially_dead_insns): Do not delete stores to
21363 the internal_arg_pointer.
21365 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
21367 Merge peephole2 from new_ia32_branch:
21368 * Makefile.in (STAGESTUFF): Add *.peephole2.
21369 (mostlyclean): Likewise.
21370 (recog.o): Depend on resource.h.
21372 * final.c (peephole): Conditionalize decl on HAVE_peephole.
21373 (final_scan_insn): Likewise for the invocation of peephole.
21374 * genconfig.c (main): Look for peephole and peephole2 patterns.
21375 Emit HAVE_peephole* accordingly.
21376 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
21377 * flags.h (flag_peephole2): Declare.
21378 * toplev.c: New pass peephole2. New flag -fpeephole2.
21380 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
21381 * gencodes.c (main): Likewise.
21382 * genextract.c (main): Likewise.
21383 * genoutput.c (main): Likewise.
21384 * genemit.c (max_operand_1): Look for the max scratch operand.
21385 (gen_rtx_scratch): New.
21386 (gen_exp): Use it, and pass on new arg subroutine_type.
21387 (gen_expand): Take max scratch into account.
21388 (gen_split): Emit peephole2 functions.
21389 (output_peephole2_scratch): New.
21390 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
21391 * genrecog.c (routine_type): Add PEEPHOLE2.
21393 (make_insn_sequence): Match outer parallel for peep2. Discard
21394 top level scratches and dups.
21395 (add_to_sequence): New args insn_type and top. Update all callers.
21396 Handle toplevel peep2 matching insns.
21397 (write_subroutine): Handle peep2.
21398 (write_tree_1): Likewise.
21399 (write_tree): Likewise.
21401 (change_state): New arg afterward. Update all callers.
21402 Handle matching separate insns.
21403 * recog.c (recog_next_insn): New.
21404 (peephole2_optimize): New.
21405 * rtl.def (DEFINE_PEEPHOLE2): New.
21406 * resource.c (find_free_register): New argument last_insn. Use it
21407 to find a register available through the entire span.
21408 * resource.h (find_free_register): Update prototype.
21410 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
21412 * i386.c (output_strlen_unroll): Don't write xops[7]
21413 label if it wasn't set.
21415 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
21417 * cpplib.c (struct directive): Const-ify name pointer and
21418 function pointer prototype.
21419 (validate_else, do_define, do_line, do_include, do_undef,
21420 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
21421 do_elif, do_endif, do_sccs, do_assert, do_unassert,
21422 do_warning): Const-ify second arg.
21423 (directive_table): Mark const. Reorder entries by frequency
21424 of usage, record statistics.
21426 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
21428 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
21429 bounds- check RTL accesses if --enable-checking.
21430 (RTVEC_ELT): Bounds check if --enable-checking.
21431 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
21432 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
21433 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
21435 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
21436 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
21438 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
21439 (NOTE_SOURCE_FILE): Use X0STR.
21440 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
21441 MEM_ALIAS_SET): Use X0INT.
21442 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
21443 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
21445 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
21446 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
21447 (rtl_check_failed_bounds, rtl_check_failed_type1,
21448 rtl_check_failed_type2, rtvec_check_failed_bounds): New
21450 (fancy_abort): Fix comment.
21452 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
21453 (cse_insn): Decrement LABEL_NUSES for jump target before
21454 deleting jump insn.
21455 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
21456 * final.c (alter_subreg): Compute regno before changing x to
21457 REG; set REGNO(x) after changing it.
21458 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
21459 notes containing CONST_INTs.
21460 (delete_eh_regions): Use NOTE_EH_HANDLER.
21461 * function.c (put_reg_into_stack): Make reg a MEM before
21463 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
21465 (gen_mem_addressof): Make reg a MEM before initializing it.
21466 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
21468 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
21469 deleting an insn, not after.
21470 (block_alloc): Only look at PATTERN(insn) if we have to, and
21471 only if it's format class 'i'.
21472 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
21473 CONST_INT before using its INTVAL.
21474 * print-rtl.c (print_rtx): Use X0STR.
21475 * regmove.c (fixup_match_1): Don't look at PATTERN of
21476 non-class-'i' insn chain elements.
21477 * reload.c (loc_mentioned_in_p): Take address of
21478 in->fld[1].rtx directly.
21479 * reload1.c (reload): Change reg to a MEM before initializing
21481 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
21483 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
21485 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
21487 * config/mips/mips.c (machine_dependent_reorg): Force a
21488 barrier to output the local constant pool if a barrier hasn't
21489 been found at a natural point in the instruction stream.
21491 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21493 * c-parse.in (language_string): Constify.
21495 * dwarf2out.c (language_string): Remove declaration.
21497 * dwarfout.c (language_string): Likewise.
21499 * toplev.c (language_string, init_parse, finish_parse): Likewise.
21501 * tree.h (language_string, init_parse, finish_parse): Declare.
21503 * i386/sun386.h (language_string): Remove declaration.
21505 * mips.h (language_string): Likewise.
21507 * nextstep.h (language_string): Likewise.
21509 * nextstep21.h (language_string): Likewise.
21511 * rs6000.c (language_string): Likewise.
21513 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21515 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
21516 (getpwd.o): Remove target.
21518 * getpwd.c: Delete file. Its in libiberty now.
21520 * dbxout.c (getpwd): Don't prototype.
21521 * dwarf2out.c (getpwd): Likewise
21522 * dwarfout.c (getpwd): Likewise
21523 * final.c (getpwd): Likewise.
21524 * protoize.c (getpwd): Likewise.
21526 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21528 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
21530 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
21532 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
21533 mark_set_resources.
21535 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
21537 * fixinc/Makefile.in (subdir): New.
21538 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
21541 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
21543 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
21544 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
21547 * invoke.texi: Fix typo.
21549 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
21550 changed. Handle autoincrement addressing modes.
21552 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
21553 just like we would the virtual incoming args register when
21556 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
21558 * rs6000.h (ASM_FILE_START): Specify complete filename, including
21559 path, in .file directive.
21561 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
21563 * gcc.texi (External Bugs): Remove obsolete note about Perl on
21566 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
21568 * stdbool.h: Make the typedef name _Bool, with bool a #defined
21571 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21573 * tree.c (tree_code_name): Constify a char*.
21575 * tree.h (tree_code_name, decl_printable_name): Likewise.
21577 * function.h (struct function): Likewise.
21579 * toplev.c (decl_name, decl_printable_name): Likewise.
21581 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
21583 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
21584 (init_objc): Remove function pointer cast.
21586 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
21588 * pa.md (interspace_jump): New pattern.
21589 (builtin_longjmp): New expander.
21591 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
21593 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
21594 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
21595 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
21597 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
21599 * jump.c (delete_prior_computation): Also check calls
21600 to constant functions. Don't bother checking for a
21601 REG_UNUSED note before adding it.
21602 (delete_computation): Handle multi-word hard registers
21603 when synthesizing missing REG_DEAD notes for a register
21604 which is both set and used by an insn.
21606 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21608 * loop.c (this_loop_info): New variable.
21609 (loop_has_call, loop_has_volatile, loop_has_tablejump,
21610 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
21612 (prescan_loop, strength_reduce): New argument loop_info. All callers
21614 (scan_loop): New variable loop_info, initialise to address of
21616 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
21617 Delete variable loop_has_multiple_exit targets and replace with
21618 field in this_loop_info.
21619 (find_and_verify_loops): Rename this_loop to this_loop_num.
21620 (strength_reduce): Delete loop_iteration_info. Replace variable
21621 loop_info with function argument of same name.
21622 (insert_bct): Rework test for loop being completely unrolled.
21624 * loop.h (struct loop_info): New fields num, loops_enclosed,
21625 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
21626 has_indirect_jump, and cont. Redefine use of unroll_number.
21627 (loop_unroll_number): Delete.
21629 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
21630 field of loop_info.
21631 (loop_iterations): Delete variable vtop and instead use
21632 loop_info->vtop computed in prescan_loop.
21634 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
21636 * fix-header.c (main): Do not pass a null pointer to strcmp.
21638 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
21640 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
21642 * configure: Rebuilt.
21644 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
21646 * jump.c (jump_optimize_1): Do not delete assignments to
21647 internal_arg_pointer.
21648 * cse.c (delete_trivially_dead_insns): Always consider a set of
21649 the internal_arg_pointer live.
21651 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
21653 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
21654 (update_life_info) [REG_WAS_0]: Search the original insns rather
21655 than the new insns for the note. Fix typos finding note_dest.
21656 If no dest found, discard the note rather than abort.
21657 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
21658 (replace_insns): Remove the old insn list after update_life_info
21661 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
21663 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
21664 sched_analyze_insn.
21665 (sched_analyze_1): Let add_dependence care for not adding dups.
21666 (sched_analyze_2): Likewise.
21667 (add_branch_dependences): Likewise.
21669 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
21671 * i386/winnt.c (export_list): New type.
21672 (exports_head): Rename to
21673 (export_head): this.
21674 (i386_pe_record_exported_symbol): Add is_data flag.
21675 (i386_pe_asm_file_end): Emit directive for exported variables.
21676 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
21678 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
21679 (ASM_DECLARE_OBJECT_NAME): Likewise.
21680 (ASM_DECLARE_FUNCTION_NAME): Likewise.
21681 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
21683 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
21685 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
21687 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
21690 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
21692 * config/openbsd.h: Define SET_ASM_OP.
21693 * tm.texi: cross-reference SET_ASM_OP in the index.
21695 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
21697 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
21698 for a CONST_DOUBLE, at compile time. Initialize rtx_length
21699 and class_narrowest_mode at compile time. Kill init_rtl.
21700 Mark rtx_length, mode_class, mode_size, mode_unit_size,
21701 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
21702 rtx_format as const. Kill all references to EXTRA_CC_MODES or
21704 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
21706 * rtl.h: Declare rtx_length and rtx_format as const.
21707 * machmode.def: Define CC(). Use CC() to define CCmode. If
21708 EXTRA_CC_MODES is defined, expand it here.
21709 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
21710 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
21711 const. Kill all references to EXTRA_CC_MODES.
21713 * toplev.c: Don't prototype or call init_rtl.
21714 * optabs.c: Don't call init_mov_optab.
21715 * genemit.c: Don't generate init_mov_optab. Don't call
21717 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
21719 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
21720 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
21721 genrecog.c: Don't call init_rtl.
21723 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
21724 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
21725 definition of EXTRA_CC_MODES.
21727 * md.texi: Kill ref to EXTRA_CC_NAMES.
21728 * tm.texi: Document new way to define EXTRA_CC_MODES.
21730 * genrecog.c: Do not look up the name of a define_split.
21731 (Unrelated bugfix.)
21733 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
21735 * config/v850/v850.md: Fix typo introduced by previous delta.
21737 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21739 * gcc.c (fatal): Make definition static to match prototype.
21741 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21743 * combine.c (get_last_value): Don't look for earlier sets if the last
21744 known set is somewhere in between the insns being combined.
21746 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
21748 * configure.in: Don't use shell ! to negate exit codes
21749 * configure: Regenerate
21751 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
21753 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
21754 the fact that ALIGN is measured in bits, not bytes.
21756 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
21758 * errors.c: New file; defines functions error, warning, and
21759 fatal, variables have_error and progname.
21760 * errors.h: New file; prototypes and decls for stuff in errors.c.
21762 * Makefile: Add rules to build errors.o and
21763 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
21764 genopinit, genrecog, genextract, genpeep, genattr, and
21765 genoutput with errors.o. Add errors.h to deps of genconfig.o,
21766 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
21767 genpeep.o, genattr.o, and genoutput.o.
21769 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
21770 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
21771 define or prototype fatal. Set progname at beginning of main.
21772 * genoutput.c: Likewise, and don't define or prototype error
21775 * c-typeck.c (c_expand_start_case): Return immediately if exp
21777 * fold-const.c (operand_equal_p): Return immediately if arg1
21778 or arg0 are ERROR_MARKs.
21779 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
21780 fields of type ERROR_MARK when calculating if the record can
21783 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
21784 with much help from Jeffrey A Law and Richard Henderson
21786 * i386.md: In the 6 insns which call output_fix_trunc,
21787 earlyclobber operands[0].
21789 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
21791 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
21792 creating new registers.
21794 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
21796 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
21797 i386_reg_alloc_order, i386_regparm_string,
21798 i386_align_loops_string, i386_align_jumps_string,
21799 i386_align_funcs_string, i386_preferred_stack_boundary_string,
21800 and i386_branch_cost_string as type "const char *".
21801 * i386.c: Define all above strings as type "const char *".
21803 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
21805 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
21806 when emitting alignment padding. Emit padding byte of 0 instead of 4.
21808 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
21810 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
21811 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
21813 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
21815 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
21816 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
21817 (dwarf2out_line, dwarf2out_finish): Likewise.
21818 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
21820 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
21822 * tree.c (lang_unsave_expr_now) : Correct return type.
21823 * tree.h (lang_unsave_expr_now) : Same.
21825 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
21827 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
21828 instead of duplicating code.
21830 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21832 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
21834 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
21836 * tree.h: fancy_abort always takes three args.
21837 * resource.c: Move include of system.h before toplev.h.
21839 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
21841 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
21844 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
21846 * system.h: Don't redefine abort or trim_filename.
21847 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
21848 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
21849 whether or not __FUNCTION__ is available.
21850 * tree.h: Duplicate rtl.h's definition of abort, for files
21851 that don't include rtl.h. Delete all code to perform type
21852 checking with a compiler other than GCC.
21853 * varray.h: Delete all code to perform type checking with a
21854 compiler other than GCC. Make VARRAY_CHECK() always evaluate
21855 its arguments exactly once, using a statement expression.
21856 Adjust the VARRAY_<type> accessor macros to match.
21857 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
21858 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
21859 caller's location. Define fatal_insn and fatal_insn_not_found
21860 as macros that use _fatal_insn and _fatal_insn_not_found.
21861 (fancy_abort, trim_filename): Kill prototypes.
21863 * rtl.c (trim_filename): Move here from toplev.c.
21864 (fancy_abort): New function.
21865 (DIR_SEPARATOR): Provide default definition.
21866 * tree.c (tree_check_failed, tree_class_check_failed): Go
21867 through fancy_abort.
21868 (tree_check, tree_class_check, cst_or_constructor_check,
21869 expr_check): Delete.
21870 * varray.c (varray_check_failed): New function.
21871 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
21872 _fatal_insn and _fatal_insn_not_found. Go through
21874 (trim_filename, fancy_abort): Delete.
21876 * builtins.c (expand_builtin_args_info): Report ICE with abort.
21877 * except.c (start_catch_handler): Report ICE with error/abort
21879 * final.c (output_operand_lossage): Likewise.
21880 * flow.c (verify_flow_info): Likewise.
21882 * gcc.c: Prototype fatal.
21883 * gengenrtl.c: Undef abort after including rtl.h not system.h.
21884 * genattr.c, genattrtab.c, genemit.c, genextract.c,
21885 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
21886 Don't define fancy_abort.
21888 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
21890 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
21893 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
21895 * m88k.h (VERSION_INFO2): Kill.
21896 (VERSION_STRING): Kill.
21898 (VERSION_INFO1): Tidy.
21899 (TARGET_VERSION): Update.
21900 * m88k/dgux.h (VERSION_INFO2): Kill.
21901 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
21902 * m88k/luna.h (VERSION_INFO1): Tidy.
21903 * m88k/sysv4.h (VERSION_INFO1): Likewise.
21904 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
21905 (output_file_start): Adjust for death of VERSION_STRING.
21907 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
21909 * cpplib.c (detect_if_not_defined): New function.
21910 (do_if): Use it to detect potential once-only headers.
21912 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
21914 * c-common.c (combine_strings): Always set TREE_CONSTANT.
21916 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
21918 * combine.c (nonzero_bits) : Allow single-ly set registers to be
21919 anywere in the function only if they are pseudos and set before
21920 being used (not live at the start of the function).
21921 (num_sign_bit_copies) : Same.
21922 (get_last_value_validate) : Same.
21923 (get_last_value) : Same.
21925 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
21927 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
21928 where N and M are constant and N is an integer multiple of M.
21930 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21932 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
21933 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
21934 sbitmap_union_of_preds): Add prototypes.
21935 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
21936 the intersection of successors with the new flow graph structures.
21937 (sbitmap_intersection_of_preds): New function to compute the
21938 intersection of predecessors with the new flow graph structures.
21939 (sbitmap_union_of_succs): New function to compute the union of
21940 successors with the new flow graph structures.
21941 (sbitmap_union_of_preds): New function to compute the union of
21942 predecessors with the new flow graph structures.
21943 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
21944 (expr_reaches_here_p): Use edge and basic_block structures instead
21945 of s_preds and s_succs.
21946 (compute_cprop_avinout): Use new sbitmap routines.
21947 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
21948 of s_preds and s_succs.
21949 * flow.c (compute_flow_dominators): Compute dominators using
21950 edges and basic blocks instead of s_preds and s_succs.
21952 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21954 * lists.c (unused_insn_list, unused_expr_list): New file for
21955 maintaining various types of lists. New statics for maintaining a
21956 cache of available INSN_LIST and EXPR_LIST nodes.
21957 (free_list): Static function for freeing a list of INSN/EXPR nodes.
21958 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
21959 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
21960 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
21961 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
21962 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
21963 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
21964 (free_INSN_LIST_node): Free an individual INSN_LIST node.
21965 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
21966 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
21967 (remove_dependence, free_pending_lists): Use new global routines.
21968 (flush_pending_lists, sched_analyze_insn): Use new global routines.
21969 (sched_analyze, compute_block_backward_dependences): Use new routines.
21970 (sched_analyze_1, sched_analyze_2): Use new routines.
21971 (schedule_insns): Use new global routines.
21972 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
21974 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
21975 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
21977 * toplev.c (rest_of_compilation): Initialize node cache.
21978 * Makefile.in (OBJS): Add lists.o to list of object files.
21979 (lists.o): Add dependancies.
21981 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
21983 * config/v850/v850.md: Fix compile time warning messages.
21984 * config/v850/v850.c: Fix compile time warning messages.
21985 * config/v850/v850.h: Fix compile time warning messages.
21987 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21989 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
21990 Remove unused prototype for `init_lengths'.
21992 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21994 * calls.c (emit_call_1): Mark parameter `stack_size' with
21996 (expand_call): Initialize variable `insn'.
21997 (emit_library_call): Likewise for variable `high_to_save'.
21998 (emit_library_call_value): Likewise.
21999 (store_one_arg): Likewise for variables `lower_bound' and
22002 * combine.c (try_combine): Likewise for variables `i2_code_number'
22003 and `other_code_number'.
22004 (find_split_point): Likewise for variables `pos', `unsignedp' and
22006 (simplify_if_then_else): Likewise for variables `op' and `c1'.
22007 (simplify_and_const_int): Remove unused variable `width'.
22008 (merge_outer_ops): Likewise.
22010 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
22011 HOST_WIDE_INT' when comparing against one.
22012 (simplify_relational_operation): Likewise.
22013 (cse_insn): Initialize variables `src_eqv_volatile',
22014 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
22016 * final.c (init_final): Constify parameter `filename'.
22017 (final_start_function): Mark parameter `optimize' with
22019 (profile_function): Likewise for parameters `first' and `optimize'.
22020 (output_source_line): Likewise for parameter `file'.
22022 * integrate.c (subst_constants): Cast a value to `size_t' when
22023 comparing against one.
22024 (mark_stores): Initialize variable `mode'. Cast a value to
22025 `size_t' when comparing against one.
22027 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
22029 * loop.c (move_movables): Initialize variable `first'.
22030 (strength_reduce): Likewise for variable `increment'.
22031 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
22032 value to `size_t' when comparing against one.
22033 (load_mems): Initialize variable `end_label'.
22035 * output.h (init_final): Constify parameter.
22037 * reload.c (decompose): Initialize variable `base'.
22039 * reload1.c (reload): Likewise for variable `is_scalar'.
22040 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
22041 (choose_reload_regs): Initialize variable `mode'.
22042 (emit_reload_insns): Likewise for variable `store_insn'.
22043 (reload_cse_noop_set_p): Mark parameter `insn' with
22045 (reload_combine): Initialize variable `set'.
22047 * unroll.c (unroll_loop): Likewise for variable `local_label'.
22048 (copy_loop_body): Cast a value to `size_t' when comparing against
22051 * varasm.c (assemble_variable): Initialize variable `size_tree'.
22052 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
22053 (remove_from_pending_weak_list): Mark parameter `name' with
22056 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22058 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
22061 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
22063 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
22064 (ASM_DECLARE_FUNCTION_NAME): Define.
22065 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
22066 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
22067 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
22068 not already defined.
22070 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
22072 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
22073 of n_popped when call/call_value are not defined.
22075 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
22077 * tm.texi: GNU CC -> GCC conversion.
22078 (CC1_SPEC): Indicate it is used for all language front ends.
22080 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
22082 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
22083 NOTE_INSN_EH_REGION_END correctly.
22085 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
22086 Jeff Law <law@cygnus.com>
22088 * loop.c (strength_reduce): Automatically unroll loops if the
22089 unrolled loop size is smaller than the rolled loop size.
22091 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
22092 and delete comment that code should be rewritten.
22094 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
22096 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
22099 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
22101 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
22103 * fixinc/mkfixinc.sh: Don't fix uwin headers.
22104 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
22105 (LINK_SPEC): Add -u _main when building executables.
22106 (ASM_DECLARE_FUNCTION): Update from Cygwin.
22107 (ASM_FILE_END): Use the default for ix86-pe.
22108 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
22110 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
22112 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
22113 and ASM_CLOSE_PAREN are empty strings.
22115 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
22116 Geoffrey Keating <geoffk@cygnus.com>
22118 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
22119 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
22120 (unprotoize.o): Ditto.
22121 (test-protoize-simple): Don't define STD_PROTO_DIR.
22122 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
22123 changes to make 'test-protoize-simple' pass.
22124 (STD_PROTO_DIR): Remove define.
22125 (STANDARD_EXEC_PREFIX): Supply default define.
22126 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
22127 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
22128 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
22129 (GET_ENV_PATH_LIST): New macro.
22130 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
22131 (do_processing): Initialize default_syscalls_dir using new
22132 macros. Use it to initialize syscalls_absolute_filename.
22134 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
22136 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
22137 B into a register before emit_conditional_move.
22139 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
22141 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
22142 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
22143 multiplicand out of (+ (* a b) (* c d)).
22145 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
22146 Richard Henderson <rth@cygnus.com>
22148 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
22149 (new_insn_dead_notes): Likewise.
22150 (update_n_sets): Likewise.
22151 (update_flow_info): Move to flow.c, renamed to update_life_info;
22152 extend to handle multiple source insns.
22153 * flow.c: Include resource.h
22154 (unlink_insn_chain): New.
22155 (split_hard_reg_notes): New.
22156 (maybe_add_dead_note): New.
22157 (maybe_add_dead_note_use): New.
22158 (find_insn_with_note): New.
22159 (new_insn_dead_notes): New.
22160 (update_n_sets): New.
22161 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
22162 (maybe_remove_dead_notes): New.
22163 (update_life_info): New.
22164 (prepend_reg_notes): New.
22165 (replace_insns): New.
22166 * output.h (update_life_info): Declare.
22167 * recog.c (split_block_insns): Use update_life_info.
22168 * resource.c (find_free_register): Use reg_alloc_order, don't use
22169 fixed regs, make sure the mode is supported, don't use new regs.
22171 * rtl.h (replace_insns): Declare.
22173 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
22175 * expr.c (expand_expr): Cope with COND_EXPRs with one
22176 non-returning branch.
22178 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
22180 * expr.c (store_expr): Always pass down the target, even when not
22183 1999-08-24 Nick Clifton <nickc@cygnus.com>
22185 * configure.in: Define target_cpu_default for v850 targets.
22186 * configure: Regenerate
22188 * config/v850/v850.h (TARGET_CPU_generic): Define.
22189 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
22190 addresses are 4 byte aligned.
22192 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
22195 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22197 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
22198 (main): Add prototypes.
22200 * genattrtab.c (substitute_address, write_const_num_delay_slots,
22201 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
22202 (write_attr_get): Emit prototypes along with function definition.
22203 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
22204 (write_complex_function): Emit static prototype along with
22205 function definition.
22207 * genemit.c (gen_split): Emit prototypes along with function
22210 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
22211 Likewise for predicates and `insn_operand_predicate'.
22212 (process_template): Emit static prototype along with function
22215 * genrecog.c (make_insn_sequence): Constify a char*. Add
22216 prototypes for get_split_*().
22217 (write_subroutine): Emit prototypes along with function
22220 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22222 * gcse.c (find_avail_set): Follow chains of register-register copies.
22223 Use oprs_not_set_p to guarantee that the returned value can be
22225 (cprop_insn): Don't verify the return value of find_avail_set with
22228 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
22229 (cprop_cc0_jump): New function.
22230 (cprop_insn): Break out new function cprop_jump and use it.
22231 Also use cprop_cc0_jump for machines with CC0.
22232 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
22234 * tree.h (current_function_calls_setjmp,
22235 current_function_calls_longjmp): Delete declarations.
22236 * dsp16xx.c: Include "function.h".
22237 * elxsi.c: Likewise.
22238 * gmicro.c: Likewise.
22239 * h8300.c: Likewise.
22240 * i370.c: Likewise.
22241 * m32r.c: Likewise.
22242 * mn10200.c: Likewise.
22243 * mn10300.c: Likewise.
22244 * ns32k.c: Likewise.
22245 * spur.c: Likewise.
22246 * v850.c: Likewise.
22248 * rtl.h (rtx_equal_function_value_matters): Declare.
22249 * toplev.c (rtx_equal_function_value_matters): Don't declare.
22251 * function.c: Likewise.
22252 * emit-rtl.c: Likewise.
22254 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
22256 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
22259 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
22261 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
22264 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
22266 * cpp.texi: Add a node documenting macro varargs (copied
22269 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
22271 * cppspec.c: Put a null pointer at the end of the new argv.
22273 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
22275 * configure.in: Remove code to select/de-select the haifa
22276 scheduler. Every scheduled port gets haifa now.
22277 * configure: Rebuilt.
22278 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
22280 * Makefile.in: Corresponding changes.
22282 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22284 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
22285 All callers changed.
22286 (prepare_float_lib_cmp): Likewise.
22287 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
22288 * expr.h (emit_float_lib_cmp): Delete declaration.
22289 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
22290 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
22291 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
22293 (cmptf): Now conditional on TARGET_HARD_QUAD.
22295 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
22297 * resource.c (mark_target_live_regs): Use
22298 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
22300 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22302 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
22304 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
22306 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
22308 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22310 * rtl.h (rtx_format): Constify a char*.
22312 * rtl.c (rtx_format): Likewise.
22313 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
22314 (init_rtl): Use accessor macro, not `rtx_format'.
22316 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
22319 * caller-save.c (mark_referenced_regs): Likewise.
22321 * combine.c (subst, make_compound_operation, known_cond,
22322 gen_rtx_combine, update_table_tick, get_last_value_validate,
22323 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
22325 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
22326 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
22327 count_reg_usage): Likewise.
22329 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
22332 * final.c (leaf_renumber_regs_insn): Likewise.
22334 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
22335 dump_edge_info, count_reg_references): Likewise.
22337 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
22338 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
22341 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
22342 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
22343 add_label_notes): Likewise.
22345 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
22346 clear_struct_flag, count_sub_rtxs, count_alternatives,
22347 compares_alternatives_p, contained_in_p, walk_attr_value,
22348 write_expr_attr_cache): Likewise.
22350 * genconfig.c (walk_insn_part): Likewise.
22352 * genemit.c (max_operand_1, gen_exp): Likewise.
22354 * genextract.c (walk_rtx): Likewise.
22356 * genflags.c (num_operands): Likewise.
22358 * genoutput.c (scan_operands): Likewise.
22360 * genpeep.c (match_rtx): Likewise.
22362 * genrecog.c (add_to_sequence): Likewise.
22364 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
22367 * integrate.c (save_constants, copy_for_inline,
22368 copy_rtx_and_substitute, subst_constants, restore_constants):
22371 * jump.c (mark_jump_label, invert_exp, redirect_exp,
22372 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
22374 * local-alloc.c (contains_replace_regs, memref_referenced_p):
22377 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
22378 add_label_notes, replace_call_address, count_nonfixed_reads,
22379 invariant_p, find_single_use_in_loop, find_mem_givs,
22380 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
22383 * print-rtl.c (reg_names, print_rtx): Likewise.
22385 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
22387 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
22388 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
22389 print_blocks): Likewise.
22391 * regclass.c (fix_register, record_address_regs,
22392 reg_scan_mark_refs): Likewise.
22394 * regmove.c (stable_but_for_p): Likewise.
22396 * reload.c (loc_mentioned_in_p, operands_match_p,
22397 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
22398 copy_replacements, refers_to_regno_for_reload_p,
22399 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
22400 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
22403 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
22404 delete_address_reloads_1, count_occurrences,
22405 reload_cse_mem_conflict_p, reload_combine_note_use,
22406 add_auto_inc_notes): Likewise.
22408 * resource.c (mark_referenced_resources, mark_set_resources):
22411 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
22412 reg_mentioned_p, regs_set_between_p, modified_between_p,
22413 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
22414 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
22415 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
22416 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
22418 * sched.c (sched_analyze_2, attach_deaths): Likewise.
22420 * stupid.c (stupid_mark_refs): Likewise.
22422 * unroll.c (remap_split_bivs): Likewise.
22424 * varasm.c (mark_constants): Likewise.
22426 * a29k/a29k.c (uses_local_reg_p): Likewise.
22428 * alpha/alpha.c (summarize_insn): Likewise.
22430 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
22431 eliminate_lr2ip): Likewise.
22433 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
22435 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
22436 reg_mentioned_in_mem): Likewise.
22438 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
22439 symbolic_reference_mentioned_p): Likewise.
22441 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
22443 * sh/sh.c (regs_used, mark_use): Likewise.
22445 * vax/vax.c (vax_rtx_cost): Likewise.
22447 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22449 * machmode.h (mode_name): Constify a char*.
22451 * rtl.c (mode_name): Likewise.
22453 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
22455 * optabs.c (init_libfuncs): Constify a char*.
22457 * print-tree.c (mode_name): Remove redundant declaration.
22458 (print_node): Use accessor macro, not `mode_name'.
22460 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
22462 (new_spill_reg): Constify a char*.
22464 * tree.c (mode_name): Remove redundant declaration.
22466 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22468 * rtl.c (rtx_name): Constify a char*.
22470 * rtl.h (rtx_name, fix_sched_param): Likewise.
22472 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
22473 (mypr): Use accessor macro, not `rtx_name'.
22475 * genemit.c (print_code): Constify a char*.
22477 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
22479 * genpeep.c (print_code): Constify a char*.
22481 * genrecog.c (print_code): Likewise.
22483 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
22484 end_bb): Add static prototype.
22485 (draw_edge): Constify a char*.
22486 (end_bb): Remove unused parameter.
22488 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
22489 print_block_visualization): Constify a char*.
22491 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
22493 * c-common.c (c_get_alias_set): Update comment.
22495 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
22497 * linux.h (LIB_SPEC): Added.
22499 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22501 * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
22503 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
22505 * tree.c (expr_check): Fix typo in last change.
22507 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
22509 * rtl.def (NOTE): Change format to "iuu0n".
22510 (ADDR_DIFF_VEC): Change format to "eEee0".
22511 (ADDRESSOF): Change format to "eit".
22513 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
22514 (RTVEC_ELT): Change to match.
22515 (XVECEXP): Use XVEC and RTVEC_ELT.
22516 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
22517 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
22518 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
22519 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
22520 TRAP_CONDITION, TRAP_CODE): Use XEXP.
22521 (INTVAL): Use XWINT.
22522 (ADDRESSOF_DECL): Use XTREE.
22523 (SET_ADDRESSOF_DECL): Delete.
22524 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
22525 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
22526 ifdefed out since 2.6 at least.
22527 (gen_rtvec_vv): Delete prototype.
22529 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
22531 (copy_most_rtx): Handle 't' format letter.
22532 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
22533 (gen_rtvec_vv): Delete function. All callers changed to use
22534 gen_rtvec_v instead.
22535 * print-rtl.c (print_rtx): Move special casing of NOTEs to
22536 the '0' format letter.
22538 * function.c (gen_mem_addressof): Don't use
22539 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
22541 * integrate.c (copy_rtx_and_substitute): Likewise.
22542 Copy 't' slots with XTREE.
22543 (subst_constants): Treat 't' slots like '[swi]' slots.
22544 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
22545 * jump.c (rtx_equal_for_thread_p): Likewise.
22546 * rtlanal.c (rtx_equal_p): Likewise.
22547 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
22548 only four arguments.
22549 * gengenrtl.c (type_from_format): Provide correct types for
22553 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
22554 If a recent gcc is in use (always in stage2 and beyond), use
22555 statement expressions, so we don't make a function call unless
22556 the check fails. Evaluate arguments exactly once.
22557 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
22558 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
22560 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
22561 they evaluate their arguments exactly once, irrespective of
22562 the compiler in use.
22564 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
22565 is used by the currently-enabled check macros. This is:
22566 (tree_check_failed, tree_class_check_failed): For gcc.
22567 (tree_check, tree_class_check, cst_or_constructor_check,
22568 expr_check): For other compilers.
22570 * gencheck.c: Do not define any *_CHECK1 macros.
22572 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
22573 Mark Mitchell <mark@codesourcery.com>
22575 * c-common.c (c_get_alias_set): Fix support for poitners and
22578 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
22580 * alias.c: Include tree.h.
22581 (nonlocal_reference_p, mark_constant_function): New functions.
22582 * flow.c (life_analysis): Call mark_constant_function.
22583 * rtl.h (mark_constant_function): Declare it.
22585 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
22587 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
22588 unrecognisable switches.
22590 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22592 * loop.c (recombine_givs): Set ix field after sorting.
22593 (recombine_givs): Remove bogus index / giv lockstep looping.
22595 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22597 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
22599 (emit_store_flag_force): Use do_compare_rtx_and_jump.
22600 (do_cmp_and_jump): Formatting fixes.
22601 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
22602 do_compare_rtx_and_jump instead of compare_from_rtx.
22603 (do_compare_rtx_and_jump): New function; mostly copied from
22605 (do_jump_for_compare): Delete.
22606 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
22608 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
22609 of compare/do_jump_for_compare pairs.
22610 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
22611 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
22612 compare_from_rtx/do_jump_for_compare pairs.
22613 (do_jump_by_parts_equality): Likewise.
22614 (do_jump_by_parts_equality_rtx): Likewise.
22615 * expr.h (do_compare_rtx_and_jump): Declare.
22616 * optabs.c (prepare_cmp_insn): New function, contains most of the code
22617 that used to be in emit_cmp_insn.
22618 (cmp_available_p): New function.
22619 (prepare_operand): New function.
22620 (emit_cmp_and_jump_insn_1): New function, contains some code that used
22621 to be in emit_cmp_insn.
22622 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
22623 parameters to be pointers; don't emit final compare but modify some of
22624 the values pointed to by the args so the caller can perform the
22625 correct comparison.
22626 (expand_binop): Call emit_store_flag_force with signed forms of
22628 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
22629 emit_jump_insn pair.
22630 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
22631 emit_cmp_and_jump_insn_1. Call emit_queue.
22632 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
22634 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
22635 jump sets cc0 before deleting it.
22636 * integrate.c (expand_inline_function): Likewise.
22637 * unroll.c (unroll_loop): Similar changes in several places.
22638 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
22639 before deleting it.
22641 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22643 * Makefile.in (insn-recog.o): Update dependencies.
22644 * genrecog.c (main): Make generated file include "function.h".
22646 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
22648 * cse.c (cse_insn): Call never_reached_warning when a jump is
22649 changed to be unconditional.
22650 * flags.h: Declare warn_notreached.
22651 * flow.c (delete_block): Call never_reached_warning when
22652 a block is deleted.
22653 * jump.c (delete_barrier_successors): Call never_reached_warning
22654 when we delete everything after a BARRIER.
22655 (never_reached_warning): New function.
22656 * rtl.h: Declare never_reached_warning.
22657 * toplev.c (warn_notreached): New variable.
22658 (lang_independent_options): Set warn_notreached
22659 when -Wunreachable-code.
22660 (compile_file): We need line numbers for -Wunreachable-code.
22662 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
22664 * haifa-sched.c (insn_unit): Fix typo on out of range test.
22665 * sched.c (insn_unit): Likewise.
22667 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
22669 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
22671 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
22673 * flow.c (create_edge_list): Use xmalloc, not malloc.
22675 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
22677 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
22678 C-style comments. Do not lose the character before double slash.
22680 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
22682 * basic-block.h (struct edge_list): Stucture to maintain a vector
22684 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
22685 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
22686 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
22687 New function prototypes.
22688 * flow.c (create_edge_list): Function to create an edge list.
22689 (free_edge_list): Discards memory used by an edge list.
22690 (print_edge_list): Debug output showing an edge list.
22691 (verify_edge_list): Internal consistency check for an edge list.
22692 (find_edge_index): Function to find an edge index for a pred and succ.
22694 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
22696 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
22699 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
22701 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
22703 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
22705 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
22707 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
22709 * toplev.c (rest_of_compilation): Allow machine dependent
22710 reorganisation pass to place information into the RTL dump
22711 file if it so wishes.
22713 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
22715 * explow.c (hard_function_value): Use VOIDmode instead of
22717 * stmt.c (expand_return): Likewise.
22718 * stor-layout.c (get_best_mode): Likewise.
22720 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
22721 emit call instead of emit_insn call.
22723 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
22725 * configure.in: Handle --disable/enable-win32-registry.
22726 * install.texi: Document --disable/enable-win32-registry.
22727 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
22728 (WIN32_REGISTRY_KEY): New macro.
22729 * prefix.c: Use to enable/disable win32-specific code.
22730 (lookup_key): Use versioned key.
22731 * configure: Regenerate.
22732 * config.in: Likewise.
22734 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
22736 * cpplib.c (read_line_number): New fn, split out of...
22739 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
22741 tree.c (lang_unsave_expr_now) : New.
22742 (unsave_expr_now): Call lang_unsave_expr_now.
22743 tree.h (lang_unsave_expr_now) : New.
22745 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
22747 * toplev.c (flag_new_exceptions): On by default.
22749 1999-08-13 Michael Meissner <meissner@cygnus.com>
22751 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
22753 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
22755 * dwarfout.c (fundamental_type_code): Return FT_boolean for
22756 INTEGER_TYPE with precision==1, it's __java_boolean.
22758 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22760 * global.c (prune_preferences): Move some invariants out of the
22763 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
22765 * configure.in (alpha*-dec-osf*): Add osf5.
22767 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
22769 * configure.in: Rework handling of ARM GNU/Linux slightly.
22770 (arm*-*-linux-gnuoldld): New target.
22771 * configure: Regenerate.
22772 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
22773 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
22774 * config/arm/linux-oldld.h: New file.
22775 * config/arm/linux-elf26.h: Don't include linux-elf.h.
22776 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
22778 * config/arm/linux-elf.h (ASM_SPEC): Define.
22779 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
22780 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
22781 for 26-bit APCS and old linker.
22782 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
22784 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
22785 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
22786 don't define `arm' or `arm_elf'.
22787 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
22788 MULTILIB_DIRNAMES): Define. Fix typo in comment.
22790 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
22792 * rtl.texi: Fix typo.
22794 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
22796 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
22798 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
22800 * extend.texi (C++ Signatures): Remove node.
22801 * invoke.texi: Remove discussion of -fhandle-signatures,
22802 signature, sigof, __signature__, and __sigof__.
22804 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
22806 * Makefile.in (JAVAGC): Removed.
22808 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
22810 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
22812 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
22814 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
22816 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
22818 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
22819 a register that is already known to be a pointer.
22821 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
22823 * fixinc/inclhack.tpl: Only install assert.h conditionally.
22824 * fixinc/inclhack.sh: Regenerated.
22825 * fixinc/fixincl.sh: Regenerated.
22827 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
22829 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
22830 Fix documentation of -ansi flag to describe its C++ behavior.
22831 Remove bogus reference to GCC 2.9.
22833 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
22835 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
22836 note if it is non-NULL.
22838 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
22840 * except.h (eh_nesting_info): Add new structure defintion.
22841 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
22842 (reachable_handlers, update_rethrow_references): Add function
22844 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
22845 a rethrow symbol instead of an integer exception region number.
22846 * flow.c (Make_edges): Use new exception nesting routines to determine
22847 which handlers are reachable from a CALL or asynchronous insn.
22848 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
22850 (delete_eh_regions): Update rethrow labels, and don't delete
22851 regions which are the target of a rethrow.
22852 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
22853 avoid overloading the SYMBOL_REF_USED flag.
22854 (rethrow_symbol_map): Use new rethrow_ref field.
22855 (rethrow_used): Use new rethrow_ref field.
22856 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
22857 of an integer. Fix formatting.
22858 (output_exception_table_entry): Use new rethrow_ref field.
22859 (can_throw): Check for EH_REGION_NOTE before deciding
22860 whether a CALL can throw or not.
22861 (scan_region): Call rethrow_used() instead of accessing data structure.
22862 (update_rethrow_references): New function to make sure only regions
22863 which are still targets of a rethrow are flagged as such.
22864 (process_nestinfo): New static function to initialize a handler
22865 list for a specific region.
22866 (init_eh_nesting_info): New function to allocate and initialize
22867 the list of all EH handlers reachable from all regions.
22868 (reachable_handlers): New function to retrieve the list of handlers
22869 reachable from a specific region and insn.
22870 (free_eh_nesting_info): New function to dispose of a list of
22871 reachable handlers.
22873 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
22875 * flow.c (split_edge): Set JUMP_LABEL field.
22876 (commit_one_edge_insertion): Set head correctly for insert_before.
22877 When inserting insns, update insn block numbers if allocated.
22879 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22881 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
22882 retry_incomplete_types): Add static prototype.
22883 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
22884 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
22885 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
22886 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
22887 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
22890 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
22891 dwarf2out_start_source_file, dwarf2out_line): Likewise.
22893 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22895 * output.h (assemble_name): Constify a char*.
22897 * varasm.c (UNIQUE_SECTION, assemble_start_function,
22898 assemble_variable, assemble_name): Likewise.
22900 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
22902 * arm/pe.c (arm_pe_unique_section): Likewise.
22904 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
22906 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
22908 * i386/interix.c (i386_pe_unique_section): Likewise.
22910 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
22912 * i386/winnt.c (i386_pe_unique_section): Likewise.
22914 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
22916 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
22918 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
22920 * pa/pa.c (output_call): Likewise.
22922 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
22924 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
22926 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
22929 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
22932 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
22934 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
22935 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
22937 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
22939 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22941 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
22943 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22945 * tree.h (lang_identify): Constify a char*.
22946 (print_error_function): Add extern prototype. Constify a char*.
22948 * c-lang.c (lang_identify): Constify a char*.
22950 * objc/objc-act.c (lang_identify): Constify a char*.
22952 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22954 * genpeep.c (main): Make generated file include "function.h".
22955 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
22957 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22959 * Makefile.in: Update dependencies.
22960 * alias.c: Include "function.h"
22961 * c-decl.c: Likewise.
22962 * caller-save.c: Likewise.
22963 * calls.c: Likewise.
22964 * combine.c: Likewise.
22966 * explow.c: Likewise.
22967 * final.c: Likewise.
22968 * global.c: Likewise.
22969 * graph.c: Likewise.
22970 * local-alloc.c: Likewise.
22971 * loop.c: Likewise.
22972 * optabs.c: Likewise.
22973 * profile.c: Likewise.
22974 * recog.c: Likewise.
22975 * regclass.c: Likewise.
22976 * regmove.c: Likewise.
22977 * reload.c: Likewise.
22978 * reorg.c: Likewise.
22979 * resource.c: Likewise.
22980 * sched.c: Likewise.
22981 * stupid.c: Likewise.
22982 * config/1750a/1750a.c: Likewise.
22983 * config/a29k/a29k.c: Likewise.
22984 * config/arc/arc.c: Likewise.
22985 * config/arm/arm.c: Likewise.
22986 * config/arm/thumb.c: Likewise.
22987 * config/c4x/c4x.c: Likewise.
22988 * config/clipper/clipper.c: Likewise.
22989 * config/convex/convex.c: Likewise.
22990 * config/fx80/fx80.c: Likewise.
22991 * config/i860/i860.c: Likewise.
22992 * config/m68k/m68k.c: Likewise.
22993 * config/m88k/m88k.c: Likewise.
22994 * config/mips/mips.c: Likewise.
22995 * config/pdp11/pdp11.c: Likewise.
22996 * config/pyr/pyr.c: Likewise.
22997 * config/romp/romp.c: Likewise.
22998 * config/sh/sh.c: Likewise.
22999 * config/tahoe/tahoe.c: Likewise.
23000 * config/vax/vax.c: Likewise.
23001 * config/we32k/we32k.c: Likewise.
23002 * config/sparc/sparc.c: Include "function.h".
23003 (mem_min_alignment): Test current_function rather than
23004 regno_pointer_align.
23005 * config/pa/pa.c: Likewise.
23006 (compute_frame_size): Delete declaration of
23007 current_function_outgoing_args_size.
23008 * config/arc/arc.h (current_function_varargs): Delete declaration.
23009 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
23011 * config/i370/i370.h (current_function_outgoing_args_size): Delete
23013 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
23014 current_function_uses_pic_offset_table.
23015 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
23016 of current_function_returns_pointer.
23017 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23018 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23019 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23020 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23021 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23022 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23023 * config/m88k/m88k.c: Include "function.h"
23024 (call_used_regs, current_function_pretend_args_size,
23025 current_function_outgoing_args_size, frame_pointer_needed): Delete
23027 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
23029 * config/mips/mips.h (current_function_calls_alloca): Delete
23031 * config/mn10200/mn10200.h (current_function_needs_context,
23032 rtx_equal_function_value_matters): Delete declarations.
23033 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
23034 flag_pic): Delete declarations.
23035 * config/pa/pa.h (current_function_pretend_args_size,
23036 current_function_decl): Delete declarations.
23037 * config/pa/som.h (current_function_varargs): Delete declaration.
23038 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
23040 * config/pyr/pyr.h (current_function_pretend_args_size,
23041 current_function_args_size, current_function_calls_alloca): Delete
23043 * config/sh/sh.h (current_function_varargs): Delete declaration.
23044 * config/sparc/sparc.h (current_function_outgoing_args_size,
23045 current_function_calls_alloca, current_function_decl): Delete
23047 * config/spur/spur.h (current_function_pretend_args_size,
23048 current_function_calls_alloca): Delete declarations.
23049 * config/v850/v850.c (current_function_outgoing_args_size): Delete
23051 * config/vax/vms.h (current_function_name): Delete declaration.
23052 * gcse.c: Include "function.h".
23053 (current_function_name, current_function_calls_setjmp): Delete
23055 * haifa-sched.c: Include "function.h".
23056 (forced_labels): Delete declaration.
23057 * jump.c: Likewise.
23058 * reg-stack.c: Likewise.
23059 * reload1.c: Likewise.
23060 * genemit.c (main): Make generated file include function.h.
23061 * genoutput.c (output_prologue): Likewise.
23063 * builtins.c (saveregs_value, apply_args_value): Delete variables.
23064 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
23065 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
23066 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
23067 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
23068 macros for some of them.
23069 (emit_filename, emit_lineno): Delete declarations.
23070 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
23071 regno_pointer_* variables through current_function.
23072 (gen_inline_header_rtx): Delete function.
23073 (save_emit_status): Delete function.
23074 (set_new_last_label_num): New function.
23075 (clear_emit_caches): New function.
23076 (restore_emit_status): Just clear last_labelnum and call
23078 (get_last_insn_anywhere): Variable sequence_stack is now accessed
23079 through macro seq_stack.
23080 (add_insn_after): Likewise.
23081 (add_insn_before): Likewise.
23082 (remove_insn): Likewise.
23083 (pop_topmost_sequence): Likewise.
23084 (in_sequence_p): Likewise.
23085 (start_sequence_for_rtl_expr): Likewise.
23086 (start_sequence): Likewise, and likewise for
23087 sequence_rtl_expr/seq_rtl_expr.
23088 (push_topmost_sequence): Likewise.
23089 (end_sequence): Likewise.
23090 (init_virtual_regs): Now takes a "struct emit_status *" argument.
23091 All callers changed. Store into that pointer instead of globals.
23092 (init_emit): Allocate emit elt of current_function.
23093 Changes for sequence_rtl_expr/sequence_stack renaming.
23094 Call clear_emit_caches instead of doing it in-line.
23095 Access regno_pointer_* variables through current_function.
23096 (init_emit_once) Don't clear sequence_stack.
23098 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
23100 (arg_pointer_save_area): Delete declaration.
23101 (finish_expr_for_function): Renamed from init_queue; no longer static.
23102 (init_expr): Don't call init_queue.
23103 (save_expr_status, restore_expr_status): Delete functions.
23104 (expand_expr): Changes to reflect new layout of struct function.
23105 Don't access current_function_check_memory_usage when current_function
23107 * expr.h (forced_labels, save_expr_regs, saveregs_value,
23108 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
23109 current_function_outgoing_args_size, current_function_arg_offset_rtx,
23110 current_function_uses_const_pool, function_call_count,
23111 current_function_uses_pic_offset_table, nonlocal_labels,
23112 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
23113 current_function_check_memory_usage, nonlocal_goto_handler_slots,
23114 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
23116 (finish_expr_for_function): Declare.
23117 * flags.h (current_function_has_nonlocal_label,
23118 current_function_has_nonlocal_goto, current_function_is_thunk,
23119 current_function_has_computed_jump): Delete declarations.
23120 * flow.c (forced_labels): Delete declaration.
23121 * function.c (current_function_pops_args,
23122 current_function_returns_struct, current_function_returns_pcc_struct,
23123 current_function_needs_context, current_function_calls_setjmp,
23124 current_function_calls_longjmp, current_function_has_nonlocal_label,
23125 current_function_has_nonlocal_goto, current_function_is_thunk,
23126 current_function_has_computed_jump, current_function_calls_alloca,
23127 current_function_contains_functions, current_function_returns_pointer,
23128 current_function_epilogue_delay_list, current_function_args_size,
23129 current_function_pretend_args_size, current_function_arg_offset_rtx,
23130 current_function_outgoing_args_size, current_function_varargs,
23131 current_function_stdarg, current_function_args_info, cleanup_label,
23132 current_function_name, current_function_uses_const_pool,
23133 current_function_instrument_entry_exit, current_function_return_rtx,
23134 current_function_uses_pic_offset_table, nonlocal_labels,
23135 current_function_internal_arg_pointer, current_function_cannot_inline,
23136 current_function_check_memory_usage, function_call_count,
23137 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
23138 nonlocal_goto_stack_level, return_label, save_expr_regs,
23139 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
23140 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
23141 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
23142 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
23143 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
23145 (push_function_context_to): Don't save them. Don't call
23146 save_storage_status, save_emit_status or save_expr_status.
23147 (pop_function_context_from): Don't restore them. Don't call
23148 restore_storage_status or restore_expr_status.
23149 (get_func_frame_size): New function.
23150 (get_frame_size): Use it.
23151 (assign_outer_stack_local): Reflect some member name changes in struct
23153 (put_reg_into_stack): Likewise.
23154 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
23156 (fixup_var_refs): Likewise.
23157 (fix_lexical_addr): Likewise.
23158 (trampoline_address): Likewise.
23159 (prepare_function_start): Clear field inlinable of current_function.
23160 (init_function_for_compilation): New function.
23161 (expand_dummy_function_end): New function.
23162 (expand_function_end): Call finish_expr_for_function.
23163 * function.h (struct emit_status): New; fields moved here from struct
23164 function and from global variables. Add accessor macros for some of
23166 (struct expr_status): Likewise.
23167 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
23168 (struct function): Add fields expr and emit, inlinable, inl_emit,
23169 original_arg_vector, original_decl_initial, inl_last_parm_insn,
23170 inl_max_label_num. Add many comments.
23171 Add accessor macros for all elts of struct function that no longer
23172 have a global variable.
23173 (cleanup_label, return_label, frame_offset, tail_recursion_label,
23174 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
23175 stack_slot_list): Delete declarations.
23176 (get_func_frame_size): Declare.
23177 (save_expr_status, restore_expr_status, save_emit_status,
23178 save_storage_status, restore_storage_status): Delete declarations.
23179 (init_virtual_regs): Declare.
23180 * output.h (current_function_pops_args,
23181 current_function_returns_struct, current_function_returns_pcc_struct,
23182 current_function_needs_context, current_function_calls_setjmp,
23183 current_function_calls_longjmp, current_function_calls_alloca,
23184 current_function_has_nonlocal_label, current_function_varargs,
23185 current_function_has_computed_jump, current_function_returns_pointer,
23186 current_function_contains_functions, current_function_args_size,
23187 current_function_pretend_args_size, current_function_stdarg,
23188 current_function_outgoing_args_size, current_function_args_info,
23189 current_function_name, current_function_return_rtx,
23190 current_function_epilogue_delay_list,
23191 current_function_uses_const_pool, current_function_cannot_inline):
23192 Delete declarations.
23193 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
23194 regno_reg_rtx): Delete declaration.
23195 (REGNO_POINTER_FLAG): Delete macro.
23196 * stmt.c (expand_goto): Changes to reflect that some fields in struct
23197 function were renamed.
23198 * stor-layout.c (save_storage_status, restore_storage_status): Delete
23200 * toplev.c: Include "function.h".
23201 (current_function_decl): Delete declaration.
23202 (compile_file): Call init_dummy_function_start and
23203 expand_dummy_function_end around some initializations that need to
23205 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
23206 Call init_function_for_compilation.
23207 * unroll.c: Include "function.h"
23208 (unroll_loop): Access regno_pointer_* variables through
23211 * tree.h (struct tree_decl): Add elt f to saved_insns member.
23212 (DECL_SAVED_INSNS): use it.
23213 (expand_dummy_function_end): Declare.
23214 (init_function_for_compilation): Declare.
23215 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
23216 that it's no longer an INLINE_HEADER.
23217 (expand_call): Likewise.
23218 * integrate.c (finish_inline): Delete function.
23219 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
23220 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
23221 args. Don't generate an INLINE_HEADER rtx, just return the arg
23222 vector. All callers changed.
23223 (save_for_inline_copying): Create a duplicate struct emit_status to
23224 hold the emit state for compiling the current function. Use this and
23225 the other new fields in struct function that are for integration
23226 instead of an INLINE_HEADER.
23227 Use memcpy instead of bcopy.
23228 Store the current struct function in DECL_SAVED_INSNS of fndecl.
23229 (save_for_inline_nocopy): Similar changes, except no new emit_status
23231 (expand_inline_function): Get information from function structure,
23232 not from an inline header rtx.
23233 (output_inline_function): Lose code to extract the necessary
23234 information from an inline header; simply put back the function
23235 structure into current_function. Clear its inlinable elt.
23236 * rtl.def (INLINE_HEADER): Delete.
23237 * rtl.h: Delete all accessors for an INLINE_HEADER.
23238 (gen_inline_header_rtx): Delete declaration.
23239 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
23240 Delete declarations.
23241 (REGNO_POINTER_ALIGN): Delete.
23242 (clear_emit_caches): Declare.
23243 (set_new_last_label_num): Declare.
23245 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
23247 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
23249 * except.c (expand_eh_region_start_for_decl): Always start a new block.
23250 * stmt.c (is_eh_region): Make sure current_function is present, too.
23252 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
23254 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
23255 for 64bit PA targets.
23257 * pa.h (SELECT_SECTION): Define.
23258 * som.h (SELECT_SECTION): Delete.
23260 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23262 * alias.c (init_alias_analysis): Wrap call to
23263 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
23265 1999-08-07 Bruce Korb <autogen@linuxbox.com>
23267 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
23268 <sys/asm.h> contains an asm comment with an apostrophe
23269 * fixinc/inclhack.sh: regen
23270 * fixinc/fixincl.x: regen
23272 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
23274 * function.c (init_function_start): Clear prologue & epilogue.
23275 (prologue_epilogue_contains): New function.
23276 * alias.c (init_alias_analysis): Use it.
23277 * rtl.h (prologue_epilogue_contains): Declare it.
23279 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
23281 * jump.c (onlyjump_p): New function.
23282 * rtl.h: Declare it.
23283 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
23284 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
23286 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
23288 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
23289 to invert loops. Simplify block scanning.
23291 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23293 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
23294 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
23296 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
23298 * config/sparc/liteelf.h: New file to support sparclite-elf target
23299 * config/sparc/t-sp86x: New file to support sparc86x targets
23300 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
23301 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
23302 * configure.in: Support above target triplets
23303 * configure: Regenerated
23305 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
23307 * fixinc/server.c (server_setup): Do not prefix function used as
23308 parameter with `&'.
23310 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
23312 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
23313 Remove fp reg alternatives.
23315 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
23317 * Makefiin (TAROUTOPTS): Kill.
23318 (install-headers-tar): Use "xpf" for tar headerfile extraction
23319 * i370/x-oe (TAROUTOPTS): Delete.
23320 * m68k/x-apollo68 (TAROUTOPTS): Delete.
23321 * m68k/x-hp320 (TAROUTOPTS): Delete.
23322 * m68k/x-hp320g (TAROUTOPTS): Delete.
23323 * gcc.texi: Update bug reporting text.
23325 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
23327 * reg-stack.c (change_stack) Fixed problem with negative array index.
23329 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
23331 * extend.texi, install.texi: Fix spelling mistakes.
23333 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
23334 (s-attrtab); No longer try to use pre-made insn-attrtab file.
23335 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
23336 PREMADE_ATTRTAB_MD.
23337 * mips/t-ecoff: Likewise.
23338 * mips/t-elf: Likewise.
23339 * mips/t-mips: Likewise.
23340 * mips/t-osfrose: Likewise.
23341 * mips/t-r3900: Likewise.
23342 * mips/t-svr3: Likewise.
23343 * mips/t-svr4: Likewise.
23344 * mips/t-ultrix: Likewise.
23346 * gcc.texi: Document recommend means to provide software floating
23347 point libraries in libgcc.a
23349 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
23351 * c-lex.c (yylex): We can have a number with no digits.
23353 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
23355 * jump.c (delete_prior_computation): New function, broken
23356 out of delete_computation. Check for side effects with
23357 side_effects_p instead of FIND_REG_INC_NOTE. Handle
23358 multi-word hard registers.
23359 (delete_computation): Use it. Check for side effects with
23360 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
23361 missing REG_DEAD note for a register which is both set and
23364 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
23366 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
23367 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
23368 (ASM_FILE_START): Import _mcount with the right type.
23369 (ASM_DECLARE_FUNCTION_NAME): Define.
23370 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
23371 * pa.c (output_function_prologue): Always emit the function's label
23373 * pa.h (TEXT_SPACE_P): Define.
23374 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
23375 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
23376 * som.h (TEXT_SPACE_P): Delete.
23377 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
23378 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
23380 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
23382 * expr.c (emit_group_load): Allow src to be a CONCAT.
23384 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23386 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
23387 (___mulsi3): Use '!' comment character.
23389 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23391 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
23393 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
23395 * gcc.c: Update URLs and mail addresses.
23396 * gcc.texi: Likewise.
23398 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
23400 * rs6000.c (current_file_function_operand): Return zero for
23402 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
23404 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
23407 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
23409 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
23410 allocate space in the stack frame for the PIC register.
23412 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
23414 * m68k.md (xordi3, anddi3): These patterns are not available on
23417 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
23419 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
23420 (PUT_REAL): Likewise.
23422 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23424 * final.c (shorten_branches): Don't add an alignment for loops
23425 that have no label inside.
23427 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23429 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
23430 prototypes in macro HAVE_cmpstrsi.
23432 * cpplib.c (cpp_get_token): Remove unused label `op3'.
23434 * emit-rtl.c (operand_subword): Remove unused variable
23437 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
23439 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
23441 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
23443 * cpphash.c (macroexpand): Delete leading whitespace when arg
23444 is concatenated before.
23445 (unsafe_chars): Correct test for whether + and - can extend a
23448 * cppinit.c (cpp_start_read): Do dependencies for
23449 -include/-imacros files also.
23451 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
23452 tokenizing non-directive lines.
23453 (cpp_expand_to_buffer): Temporarily disable no-output mode.
23454 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
23457 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
23459 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
23461 * c-lex.c: Sync with C++ frontend.
23462 (linemode): New variable.
23463 (parse_float): imag, conversion_errno, and type are output only.
23464 (yylex): Adjust. Move initial '.' case into main switch.
23466 (handle_generic_pragma): Just deal with tokens.
23467 (readescape): Use ISXDIGIT and ISGRAPH.
23468 * c-parse.in: Add END_OF_LINE token.
23470 * c-lex.c (lang_init): Generalize.
23471 (nextchar): Remove. Replace uses with UNGETC.
23472 (skip_white_space): Handle linemode here. Optimize for cpplib.
23473 (skip_white_space_on_line): Remove.
23474 (extend_token_buffer_to): New fn.
23475 (extend_token_buffer): Use it.
23476 (read_line_number, check_newline): Just deal with tokens.
23477 (token_getch, token_put_back): New fns.
23478 (yylex): Use them. More cpplib optimizations. Simplify.
23480 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
23481 Jason Merrill <jason@yorick.cygnus.com>
23483 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
23484 (consume_string): Make this smart about USE_CPPLIB.
23485 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
23486 (yylex): Rewrite to be intelligent about USE_CPPLIB.
23487 Also, clean up cases where we redundantly set token_buffer[0].
23488 (read_line_number): New fn.
23489 (ignore_escape_flag): New variable.
23491 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
23493 * a29k/t-a29kbare: Fix some comments.
23494 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
23495 (FPBIT, DPBIT): Define.
23496 * a29k/t-vx29k: Likewise.
23497 * arc/t-arc: Likewise.
23498 * arm/t-arm-elf: Likewise.
23499 * arm/t-bare: Likewise.
23500 * arm/t-pe: Likewise.
23501 * arm/t-pe-thumb: Likewise.
23502 * arm/t-semi: Likewise.
23503 * arm/t-thumb: Likewise.
23504 * arm/t-thumb-elf: Likewise.
23505 * arm/t-thumb-linux: Likewise.
23506 * h8300/t-h8300: Likewise.
23507 * i960/t-i960: Likewise.
23508 * i960/t-vxworks960: Likewise.
23509 * m32r/t-m32r: Likewise.
23510 * mips/t-ecoff: Likewise.
23511 * mips/t-elf: Likewise.
23512 * mips/t-r3900: Likewise.
23513 * pa/t-pro: Likewise.
23514 * rs6000/t-aix43: Likewise.
23515 * rs6000/t-beos: Likewise.
23516 * rs6000/t-newas: Likewise.
23517 * rs6000/t-ppccomm: Likewise.
23518 * rs6000/t-rs6000: Likewise.
23519 * rs6000/t-winnt: Likewise.
23520 * rs6000/t-xnewas: Likewise.
23521 * rs6000/t-xrs6000: Likewise.
23522 * sh/t-sh: Likewise.
23523 * sparc/t-elf: Likewise.
23524 * sparc/t-sparcbare: Likewise.
23525 * sparc/t-sparclite: Likewise.
23526 * sparc/t-splet: Likewise.
23527 * v850/t-v850: Likewise.
23528 * mn10200/t-mn10200: Fix comments.
23529 * mn10300/t-mn10300: Likewise.
23531 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
23532 dummy operand. Allocate a new pseudo for the dummy operand.
23533 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
23535 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
23537 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
23539 * configure: Rebuilt.
23540 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
23542 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
23544 * recog.c (preproces_constraints): Zero recog_op_alt before
23545 processing the constraints.
23547 * arm.c (typedef minipool_node): Renamed from pool_node.
23548 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
23549 (add_minipool_constant): New function.
23550 (dump_minipool): New function.
23551 (find_barrier): Remove special case for getting the insn size of
23552 an insn that references the constant pool.
23553 (minipool_fixup): New structure.
23554 (push_minipool_barrier): New function.
23555 (push_minipool_fix): New function.
23556 (note_invalid_constants): New function.
23557 (add_pool_constant, dump_table, fixit, broken_move): Delete.
23558 (arm_reorg): Rewrite code to fix up the constant pool into a
23559 series of mini-pools embedded in the insn stream.
23560 (arm_output_epilogue): New function, made mainly from the body
23561 of output_func_epilogue.
23562 (output_func_epilogue): Move insn generation part of epilogue code
23563 to arm_output_epilogue.
23564 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
23565 * arm.md (pool_range): New attribute.
23566 (zero_extendqidi2): Add attribute pool_range.
23567 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
23568 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
23569 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
23570 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
23571 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
23572 (epilogue): New expand.
23573 (epilogue_insn): New insn. Call arm_output_epilogue.
23575 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
23576 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
23578 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
23580 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
23582 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
23584 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
23586 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
23588 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
23590 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
23592 * global.c: Fix comment.
23594 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
23596 * gcc.c (access_check): New static function.
23597 (find_a_file): Use it when searching a directory list.
23598 * collect2.c (find_a_file): Don't accept directories found when
23599 searching a directory list.
23601 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
23603 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
23604 function parameters with `&'.
23605 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
23607 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
23609 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
23610 or tidy_fallthru_edge if the last insn in the block is not
23611 an unconditional jump or a simple conditional jump.
23613 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23615 * Makefile.in (c-decl.o): Depends on defaults.h.
23617 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
23619 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
23621 (CLASS_MAX_NREGS): Likewise.
23623 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
23625 * cse.c (cse_insn): Fix dumb thinko in last change.
23627 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23629 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
23632 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
23634 * dwarf2out.c (add_location_or_const_value_attribute): Correct
23635 test for sizes of passed and declared parameter types.
23637 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23639 * fixincludes: Fix the return type of bsearch, char* -> void*.
23641 * fixinc/inclhack.def: Likewise.
23643 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
23645 * invoke.texi (-fdump-translation-unit): New option.
23647 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
23649 * expr.h (PROMOTE_PROTOTYPES): Move ...
23650 * defaults.h: ... to here.
23651 * c-decl.c: Include defaults.h instead of expr.h.
23652 * c-typeck.c: Include defaults.h.
23654 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
23656 * toplev.h (errorcount): Declare.
23657 (warningcount): Likewise.
23658 (sorrycount): Likewise.
23659 * c-lex.c (errorcount): Don't declare.
23660 * dwarf2out.c (errorcount): Don't declare.
23662 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
23664 * config/libgloss.h: Add a note discouraging use with ELF.
23665 * configure.in: Don't use libgloss.h for ELF targets.
23666 Always use_collect2 on a.out targets.
23668 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
23670 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
23671 (force_to_mode, case ASHIFTRT): Add shiftrt label.
23673 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23675 * loop.c (strength_reduce): When doing biv->giv conversion, update
23676 reg note of NEXT->insn.
23678 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
23680 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
23682 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
23684 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
23685 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
23686 Ensure expr.h is included.
23687 * c-typecheck.c (convert_arguments): Ditto.
23689 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
23691 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
23692 * config/convex/convex.h: Ditto.
23693 * config/dsp16xx/dsp16xx.h: Ditto.
23694 * config/fx80/fx80.h: Ditto.
23695 * config/gmicro/gmicro.h: Ditto.
23696 * config/i370/i370.h: Ditto.
23697 * config/i386/i386.h: Ditto.
23698 * config/m32r/m32r.h: Ditto.
23699 * config/m68k/m68k.h: Ditto.
23700 * config/m88k/m88k.h: Ditto.
23701 * config/mips/mips.h: Ditto.
23702 * config/pa/pa.h: Ditto.
23703 * config/pyr/pyr.h: Ditto.
23704 * config/tahoe/tahoe.h: Ditto.
23705 * config/we32k/we32k.h: Ditto.
23707 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
23708 based on arch size.
23710 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
23712 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
23715 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
23717 1999-08-02 Richard Henderson <rth@cygnus.com>
23719 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
23720 for the register spill block.
23721 (m32r_va_arg): New.
23722 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
23723 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
23725 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
23726 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
23727 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
23729 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
23731 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
23732 MAX_WCHAR_TYPE defined in sparc.h.
23733 * config/sparc/linuxaout.h: Likewise.
23734 * config/sparc/linux64.h: Likewise.
23735 Also default to -mvis if CPU is UltraSPARC.
23737 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
23739 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
23740 (RTX_OK_FOR_OLO10): Likewise.
23741 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
23742 %lo(), allow it in addresses...
23743 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
23744 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
23745 does not make sense.
23746 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
23747 (sparc_output_scratch_registers): New function.
23748 (output_function_prologue, sparc_flat_output_function_prologue): Use
23750 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
23752 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
23753 * configure.in: Add check for .register pseudo-op support in as and
23754 check for offsetable %lo().
23755 * acconfig.h: Add templates for the above checks.
23756 * configure: Regenerate.
23758 1999-08-02 Richard Henderson <rth@cygnus.com>
23760 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
23761 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
23762 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
23764 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23766 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23769 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
23771 * config/float-sparc.h: New file.
23772 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
23773 sparc-*-linux-gnu and sparc64-*-linux*.
23775 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
23777 * rs6000.c (rs6000_va_list): Type is an array.
23778 (rs6000_va_start): Don't doubly adjust for varargs.
23779 (rs6000_va_arg): Evaluate long long GPR adjustment.
23781 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
23783 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
23784 -maix64 and -maix32.
23785 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
23786 LINK_SPEC): Change appropriately.
23787 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
23788 (u_short_cint_operand): Likewise.
23789 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
23791 * rs6000/t-aix43 (MULTILIB): Change to -m64.
23793 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
23795 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
23797 * rs6000/rs6000.c (num_insns_constant_wide): Correct
23798 for type promotion.
23799 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
23800 (non_add_cint_operand): Likewise.
23801 (logical_operand): Likewise.
23802 (non_logical_cint_operand): Likewise.
23803 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
23804 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
23805 (rs6000_select_rtx_section): Suppress warning.
23806 (small_data_operand): Suppress warning.
23807 (rs6000_got_register): Suppress warning.
23808 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
23809 type, so `J' is generally the wrong constraint for a SImode value;
23811 (andsi3_internal2): Likewise.
23812 (andsi3_internal3): Likewise.
23813 (iorsi3_internal1): Likewise.
23814 (xorsi3_internal1): Likewise.
23816 (movsf_softfloat): Likewise.
23817 (scc insns): Likewise.
23818 (movsi+2): Preserve sign bits of SImode constant.
23819 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
23820 (movdf+1): Sign-extend properly.
23821 (movdi_32+1): Sign-extend properly.
23822 (scc insns): Sign-extend properly.
23824 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
23827 1999-08-02 Richard Henderson <rth@cygnus.com>
23829 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
23830 -mcpu parsing code.
23831 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
23832 * alpha.md (all fp insns): Likewise.
23834 1999-08-02 Nick Clifton <nickc@cygnus.com>
23836 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
23839 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
23841 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
23842 pic_load_label generator directly.
23843 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
23844 No longer a named pattern.
23846 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
23848 * explow.c (force_reg): Call force_operand if X does not
23849 satisfy general_operand.
23851 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
23853 * fix-header.c (main): When testing for CONTINUED, use string
23854 equality, not pointer equality.
23856 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
23858 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
23860 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
23862 * cse.c (cse_insn): Fix loop which deletes insns after a jump
23863 that has become an unconditional jump.
23865 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
23866 (output_function_epilogue): Similarly.
23868 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23870 * tree.h (init_dummy_function_start): Declare.
23872 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23874 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
23875 last_expr_type, last_expr_value, block_start_count, block_stack,
23876 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
23877 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
23878 dynamically in stmt elt of struct function for each function.
23879 (struct nesting): Rename function_call_count elt to n_function_calls,
23880 target_temp_slot_level to block_target_temp_slot_level. All users
23882 (struct stmt_status): New structure definition.
23883 Add many accessor macros for stmt_status elements which previously
23884 were global variables.
23885 (init_stmt_for_function): Allocate stmt elt for current_function.
23886 Reflect that block_start_count was renamed to
23887 current_block_start_count.
23888 (save_stmt_status, restore_stmt_status): Delete functions.
23889 (preserve_subexpressions_p): Don't access loop_stack when outside
23891 (expand_start_bindings): Reflect that block_start_count was renamed to
23892 current_block_start_count.
23893 (expand_fixup): Likewise.
23894 (expand_decl): Don't access block_stack when outside a function.
23895 (expand_decl_cleanup): Likewise.
23896 (expand_dcc_cleanup): Likewise.
23897 (expand_dhc_cleanup): Likewise.
23898 (expand_anon_union_decl): Likewise.
23899 (set_file_and_line_for_stmt): New function.
23900 (in_control_zone_p): New function.
23902 * function.h (struct function): Add new elt stmt.
23903 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
23904 case_stack, nesting_stack, nesting_depth, block_start_count,
23905 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
23906 emit_lineno, goto_fixup_chain.
23907 (save_eh_status, restore_eh_status, save_stmt_status,
23908 restore_stmt_status): Delete declarations.
23909 * function.c (push_function_context_to): Don't call save_stmt_status.
23910 (pop_function_context_to): Don't call restore_stmt_status.
23911 * tree.h (in_control_zone_p): Declare.
23912 * rtl.h (set_file_and_line_for_stmt): Declare.
23914 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
23915 call set_file_and_line_for_stmt.
23917 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
23919 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
23920 Also update copyright.
23922 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23924 * c-pragma.c: Don't include "except.h".
23925 * emit-rtl.c: Likewise.
23926 * stor-layout.c: Likewise.
23927 * tree.c: Likewise.
23928 * varasm.c: Likewise.
23930 * flow.c: Include "function.h".
23931 * tree.h (init_dummy_function_start): Declare new function.
23933 * except.h (struct eh_status): New structure.
23934 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
23936 (eh_return_stub_label, ehstack, catchstack, ehqueue,
23937 catch_clauses, false_label_stack, caught_return_label_stack,
23938 protect_list, current_function_ehc): Add accessor macros for the
23939 corresponding fields in current_function->eh; delete declarations
23940 for all items that used to be declared here.
23941 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
23942 catch_clauses, false_label_stack, caught_return_label_stack,
23943 protect_list, current_function_ehc): Delete variables.
23944 (init_eh_for_function): Allocate current_function->eh.
23945 (save_eh_status, restore_eh_status): Delete functions.
23947 * function.h (struct function): Add fields next_global and eh.
23948 Delete all exception handling related fields.
23949 * function.c (current_function): New variable.
23950 (all_functions): New variable.
23951 (push_function_context_to): Don't allocate a struct function,
23952 use current_function instead. Call init_dummy_function_start when
23953 outside a function. Clear current_function before returning.
23954 (pop_function_context_from): Restore current_function.
23955 Don't free the restored struct function.
23956 (prepare_function_start): New function.
23957 (init_dummy_function_start): New function.
23958 (init_function_start): Break out some code into prepare_function_start
23961 * stmt.c (save_stmt_status): Don't call save_eh_status.
23962 (restore_stmt_status): Don't call restore_eh_status.
23964 * Makefile.in: Update dependencies.
23966 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
23968 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
23969 of depending on a magic constant value. Update comments.
23970 (hppa_expand_prologue): Similarly.
23972 * pa.md (reload_indi, reload_outdi): Allow any register for the
23973 original reload register.
23975 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
23977 * cccp.c (print_help): Change marcos to macros.
23979 1999-07-30 Richard Henderson <rth@cygnus.com>
23981 * c-typeck.c (initializer_constant_valid_p): Move ...
23982 * c-common.c (initializer_constant_valid_p): ... here. Use
23983 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
23984 of label addresses.
23985 * c-common.h (initializer_constant_valid_p): Declare.
23986 * c-tree.h (initializer_constant_valid_p): Remove.
23988 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
23990 * config/i386/sol2-c1.asm: Align the stack.
23991 * config/i386/sol2-gc1.asm: Likewise.
23993 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
23995 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
23996 -Asparclite for sparc86x.
23997 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
23999 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
24001 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
24003 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
24004 the user if using the non-default arch size in BI_ARCH configuration.
24005 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
24007 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
24008 Fix patterns so that they actually match.
24009 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
24010 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
24011 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
24013 (mulsidi3): Reflect this in the expand.
24014 (smulsi3_highpart): Only on TARGET_ARCH32.
24015 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
24016 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
24017 (umulsidi3): Reflect this in the expand.
24018 (umulsi3_highpart): Only on TARGET_ARCH32.
24019 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
24020 don't require g0 to be zero.
24021 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
24022 ({,u}divsi3): New expands.
24023 ({,u}divsi3_sp64): New patterns.
24024 (after lshrdi3_v8plus): Four new patterns to help combiner
24025 optimizing nested mixed mode shifts.
24027 * config/sparc/sparc.c (sparc_override_options): Use deprecated
24028 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
24029 speed things up. Don't use them by default on plain v9 in 64bit
24030 mode, according to what SPAMv9 sais.
24032 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
24033 top 32 bits of %[og][0-7] in signal handlers.
24034 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
24036 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
24038 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
24039 (ashlsi3): Corresponding changes.
24041 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
24043 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
24045 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
24047 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24049 * arm.h (Hint): Delete macro.
24050 Substitute HOST_WIDE_INT for Hint in some prototypes.
24051 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
24053 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
24055 * builtins.c (expand_builtin_setjmp): Use force_operand to
24056 make sure that the buffer address is in a suitable form to be
24057 passed to force_reg.
24059 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
24061 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
24064 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
24066 * pa.md (indirect_jump): Remove mode from match_operand. Verify
24067 proper mode in the condition string.
24068 (icacheflush, dcacheflush): Remove modes from match_operands.
24070 * pa.c (emit_move_sequence): Always convert scratch_reg to the
24071 proper mode before using it.
24073 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
24076 * pa.c (store_reg): Do not call add_high_const generator directly.
24077 (load_reg, set_reg_plus_d): Likewise.
24078 * pa.md (add_high_const): No longer a named pattern.
24080 * pa.c (legitimize_address): Consistently use Pmode rather than
24081 SImode. Do not call gen_pic2_highpart directly anymore.
24082 * pa.md (pic2_highpart): No longer a named pattern.
24083 (pic2_lo_sum): Similarly. Reformat to make more readable.
24085 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
24090 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24092 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
24094 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
24096 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
24097 and tag the spill mems.
24098 (hppa_va_start): New.
24099 (hppa_va_arg): New.
24100 * pa.h (EXPAND_BUILTIN_VA_START): New.
24101 (EXPAND_BUILTIN_VA_ARG): New.
24103 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
24105 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
24106 and tag the spill mems.
24107 (mn10300_va_start): New.
24108 (mn10300_va_arg): New.
24109 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
24110 (EXPAND_BUILTIN_VA_ARG): New.
24112 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
24114 * mn10200.c (mn10200_va_arg): New.
24115 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
24117 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
24119 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
24120 rather than play with TREE_INT_CST_LOW.
24122 1999-07-27 Philip Blundell <pb@nexus.co.uk>
24124 * config/arm/telf.h: Include dbxelf.h.
24125 (CPP_PREDEFINES): Only define if not already defined.
24126 (ASM_IDENTIFY_GCC): Likewise.
24127 (SUBTARGET_EXTRA_SECTIONS): Likewise.
24128 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
24129 * config/arm/thumb.h (LINK_SPEC): Only define if not already
24131 (DBX_DEBUGGING_INFO): Don't define.
24132 * config/arm/linux-telf.h: New file.
24133 * config/arm/linux-tgas.h: New file.
24134 * config/arm/t-thumb-linux: New file.
24135 * config/arm/uclinux-elf.h: New file.
24136 * config/arm/uclinux-telf.h: New file.
24137 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
24138 thumb-*-uclinux): New targets.
24139 * configure: Regenerate.
24141 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
24143 * pa.md (post_store, pre_load): New expanders.
24144 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
24145 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
24146 need to directly generate RTL for them.
24147 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
24150 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
24152 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
24153 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
24154 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
24155 (secndary_reload_class): Make TARGET_ELF conditional compile.
24156 (print_operand_address): Similar.
24157 (output_toc): Print all values as hex.
24158 (get_issue_rate): Rearrange and add RS64A and PPC630.
24159 * rs6000.h (processor_type): Add RS64A and PPC630.
24160 (PROCESSOR_POWERPC64): New.
24161 (PROMOTE_MODE): Use word_mode.
24162 (RTX_COSTS): Add RS64A and PPC630.
24163 * rs6000.md (scheduling information): Add lmul and ldiv
24164 representing 64-bit integer multiply and divide. Add rs64a and
24165 PPC630 information.
24166 (ashldi3): Add support for "rldic" instruction.
24167 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
24169 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
24171 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
24172 instead of V8 for sparclite86x in cpu_table.
24174 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24176 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
24177 output_file_directive.
24179 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
24181 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
24182 tree for op1, not the rtl.
24184 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
24186 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
24187 to m88k_va_start, leaving only the register spill.
24188 (m88k_build_va_list): New.
24189 (m88k_va_start): New.
24190 (m88k_va_arg): New.
24191 * m88k.h (BUILD_VA_LIST_TYPE): New.
24192 (EXPAND_BUILTIN_VA_START): New.
24193 (EXPAND_BUILTIN_VA_ARG): New.
24195 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
24197 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
24198 Rename from expand_builtin_saveregs.
24199 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
24201 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
24203 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
24204 for the register spill block.
24205 (i960_build_va_list): New.
24206 (i960_va_start): New.
24207 (i960_va_arg): New.
24208 * i960.h (BUILD_VA_LIST_TYPE): New.
24209 (EXPAND_BUILTIN_VA_START): New.
24210 (EXPAND_BUILTIN_VA_ARG): New.
24211 * i960.md (store_multiple): Use change_address on individul mems.
24213 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
24215 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
24217 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
24218 (expand_builtin_va_end): Evaluate arg for side effects.
24219 * c-common.c (c_common_nodes_and_builtins): Construct a
24220 va_list_arg_type_node to handle array decomposition to pointer.
24222 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
24224 * except.c (st_dynamic_cleanup): Use force_operand on the
24227 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
24229 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
24230 * c4x.c (c4x_va_arg): New.
24232 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
24234 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
24235 has manual_pop set.
24237 1999-07-26 Nathan Sidwell <nathan@acm.org>
24239 * eh-common.h (__eh_matcher): Prototype correctly.
24241 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
24243 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
24244 (TARGET_SINGLE_PIC_BASE): Likewise.
24245 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
24247 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
24248 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
24249 (TARGET_OPTIONS): Add -mpic-register=N.
24250 (OUTPUT_INT_ADDR_CONST): New macro.
24251 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
24252 LEGITIMATE_PIC_OPERAND_P): Likewise.
24253 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
24254 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
24255 output_addr_const directly.
24256 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
24258 (thumb_pic_register, thumb_pic_register_string): Declare.
24260 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
24262 (label_mentioned_p): New function: Imported from arm.c.
24263 (legitimize_pic_address): New function: Imported from arm.c.
24264 (is_pic):New function: Imported from arm.c.
24265 (thumb_finalize_pic):New function: Imported from arm.c.
24266 (add_constant): Cope with PIC constants.
24267 (fixit): Cope with PIC constants.
24268 (output_return): Do not treat the PIC register as live if
24269 TARGET_SINGLE_PIC_BASE is true.
24270 (thumb_function_prologue): Do not treat the PIC register as live if
24271 TARGET_SINGLE_PIC_BASE is true.
24272 (thumb_expand_prologue): Do not treat the PIC register as live if
24273 TARGET_SINGLE_PIC_BASE is true.
24274 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
24275 TARGET_SINGLE_PIC_BASE is true.
24276 (thumb_print_operand): Accept '|'.
24277 (thumb_override_options): Process PIC options.
24279 * config/arm/thumb.md (movsi): Support PIC.
24280 (call_insn): Change "i" constraint to "X".
24281 (call_value_insn): Likewise.
24282 (consttable_4, consttable_8, consttable_end): Set and clear
24283 "making_const_table" as appropriate.
24284 (pic_load_addr, pic_add_dot_plus_four): New insns.
24286 * invoke.texi (Thumb Options): Fix spelling. Document new
24287 options -msingle-pic-base and -mpic-register=.
24289 1999-07-26 Andrew Haley <aph@cygnus.com>
24291 * config/m32r/initfini.c (__init): Use a full word immediate for
24292 __fini: this allows it to be placed in any memory region.
24294 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
24295 -mmodel=medium. This is OK for all memory models.
24297 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
24299 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
24300 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
24302 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
24304 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
24307 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
24309 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
24311 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
24312 (BUILD_VA_LIST_TYPE): New.
24313 (EXPAND_BUILTIN_VA_START): New.
24314 (EXPAND_BUILTIN_VA_ARG): New.
24315 * i860.c (output_delayed_branch): Disable.
24316 (output_delay_insn): Likewise.
24317 (i860_saveregs): New.
24318 (i860_build_va_list): New.
24319 (i860_va_start): New.
24320 (i860_va_arg): New.
24321 * i860.md: Disable all peepholes using output_delayed_branch.
24322 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
24324 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
24326 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
24327 (BUILD_VA_LIST_TYPE): New.
24328 (EXPAND_BUILTIN_VA_START): New.
24329 (EXPAND_BUILTIN_VA_ARG): New.
24330 * clipper.c (clipper_builtin_saveregs): Only dump registers.
24331 Return the address of the save area.
24332 (clipper_build_va_list): New.
24333 (clipper_va_start): New.
24334 (clipper_va_arg): New.
24336 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
24338 * arc.h (EXPAND_BUILTIN_VA_START): New.
24339 (EXPAND_BUILTIN_VA_ARG): New.
24340 * arc.c (arc_setup_incoming_varargs): Set alias set of
24342 (arc_va_start): New.
24345 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
24347 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
24348 (BUILD_VA_LIST_TYPE): New.
24349 (EXPAND_BUILTIN_VA_START): New.
24350 (EXPAND_BUILTIN_VA_ARG): New.
24351 * alpha.c (alpha_builtin_saveregs): Delete.
24352 (alpha_build_va_list): New.
24353 (alpha_va_start): New.
24354 (alpha_va_arg): New.
24356 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
24358 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
24360 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
24361 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
24363 * gcc.texi: More changes related to list conversion.
24364 * invoke.texi: Likewise.
24366 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
24368 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
24369 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
24370 (expand_builtin_next_arg): Accept ARGLIST not EXP.
24371 (stabilize_va_list): New function.
24372 (std_expand_builtin_va_start): New function.
24373 (expand_builtin_va_start): New function.
24374 (get_varargs_alias_set): New function.
24375 (std_expand_builtin_va_arg): New function.
24376 (expand_builtin_va_arg): New function.
24377 (expand_builtin_va_end): New function.
24378 (expand_builtin_va_copy): New function.
24379 (expand_builtin): Call them.
24380 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
24381 __builtin_{varargs_start,stdarg_start,end,copy}.
24382 (build_va_arg): New function.
24383 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
24384 (build_va_arg): Declare.
24385 * c-decl.c (ptr_type_node, va_list_type_node): New.
24386 * c-parse.gperf (__builtin_va_arg): New.
24387 * c-parse.in (VA_ARG): New token.
24388 (unary_expr): Recognize it.
24389 * expr.c (expand_expr): Expand VA_ARG_EXPR.
24390 * expr.h (std_expand_builtin_va_start): Declare.
24391 (std_expand_builtin_va_arg): Declare.
24392 (expand_builtin_va_arg): Declare.
24393 (get_varargs_alias_set): Declare.
24394 * tree.def (VA_ARG_EXPR): New.
24395 * tree.h (BUILT_IN_VARARGS_START): New.
24396 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
24397 (ptr_type_node, va_list_type_node): Declare.
24398 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
24399 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
24400 * m88k.h, m88k.c: Likewise.
24401 * mn10300.h, mn10300.c: Likewise.
24402 * pa.h, pa.c: Likewise.
24403 * rs6000.h, rs6000.c: Likewise.
24404 * sh.h, sh.c: Likewise.
24405 * sparc.h, sparc.c: Likewise.
24407 * emit-rtl.c (operand_subword): Copy alias set.
24408 (change_address): Likewise.
24410 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
24412 * pa.c (compute_frame_size): Scan all the used callee saved registers,
24413 not just the first one.
24415 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
24417 * config/arm/arm.h (TARGET_SWITCHES): Add
24418 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
24419 (TARGET_OPTIONS): Add -mpic-register=.
24420 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
24421 (arm_pic_register_string): Declare.
24422 (NEED_PLT_GOT): Delete, replace with ...
24423 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
24424 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
24425 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
24426 * config/arm/arm.c (arm_override_options): Add new option
24428 (arm_pic_register_string): New variable.
24429 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
24430 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
24431 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
24432 (output_return_instruction): Likewise.
24433 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
24434 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
24435 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
24437 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
24438 mention of -msched-prolog. Document new options -msingle-pic-base
24439 and -mpic-register=.
24441 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
24443 * haifa-sched.c (reemit_notes): Tidy.
24444 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
24447 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
24449 * explow.c (trunc_int_for_mode): New function.
24450 (plus_constant_wide): Use it.
24451 * combine.c (simplify_and_const_int): Likewise.
24452 (merge_outer_ops): Likewise.
24453 (simplify_shift_const): Likewise.
24454 * cse.c (simplify_unary_operation): Likewise.
24455 (simplify_binary_operation): Likewise.
24456 * emit-rtl.c (operand_subword): Likewise.
24457 * rtl.h: Declare it.
24459 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24461 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
24462 (use NUM_REGS instead of NUM_INTS).
24464 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24466 * builtins.c: New file.
24467 * expr.c (saveregs_value, apply_args_value): Delete definition,
24468 moved into builtins.c.
24469 (string_constant): No longer static.
24470 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
24471 apply_args_size, apply_result_size, result_vector,
24472 expand_builtin_apply_args, expand_builtin_apply,
24473 expand_builtin_return): Delete functions, moved into builtins.c.
24474 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
24475 * expr.h (saveregs_value, apply_args_value): Declare variables.
24476 (expand_builtin, string_constant): Declare functions.
24477 * Makefile.in: Update to build builtin.o.
24479 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
24481 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
24482 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
24483 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
24484 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
24486 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
24489 1999-07-21 Michael Meissner <meissner@cygnus.com>
24491 * print-rtl.c (print_rtx): Print the names of the virtual
24494 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
24496 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
24497 introduced in previous delta.
24499 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24501 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
24502 to avoid name clash.
24504 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
24506 * c-lex.c (yylex) : Correct the test for overflow when lexing
24509 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
24511 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
24512 (adjust_priority): Always call ADJUST_PRIORITY.
24513 (schedule_insn): Only put insns into the ready at cost 0.
24514 (schedule_block): Remove redundant initial sort. Give clock_var
24515 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
24517 * tm.texi (MD_SCHED_REORDER): Update docs.
24519 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
24520 * sparc.c (ultra_reorder_called_this_block): Delete.
24521 (ultrasparc_sched_init): Don't set it.
24522 (ultrasparc_sched_reorder): Don't check it.
24524 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
24526 * rs6000.h (struct rs6000_args): Add sysv_gregno.
24527 * rs6000.c (init_cumulative_args): Init sysv_gregno.
24528 (function_arg_boundary): Align DFmode.
24529 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
24530 to get fp reg and stack overflow correct.
24531 (function_arg): Likewise.
24532 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
24533 (setup_incoming_varargs): Restructure for ABI_V4; use
24534 function_arg_advance to skip final named argument.
24535 (expand_builtin_saveregs): Properly unskip the last integer arg
24536 when doing varargs. Adjust overflow location calculation.
24538 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
24539 explicitly unsigned.
24540 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
24541 (__VA_GP_REGSAVE): Similarly.
24542 (__va_longlong_p): Delete.
24543 (__va_arg_type_violation): New declaration.
24544 (va_arg): Restructure. Flag promotion errors. Align double.
24545 TFmode passed by reference.
24547 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
24548 in the HOST_BITS_PER_WIDE_INT > 32 case.
24550 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
24552 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
24554 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
24556 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
24557 * toplev.c (documented_lang_options): Add -fpreprocessed.
24558 * cpplib.h (struct cpp_buffer): Add preprocessed.
24559 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
24560 (cpp_start_read): Don't expand macros or emit an initial #line
24561 directive if -fpreprocessed.
24563 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
24565 * cpplib.h (struct cpp_buffer): Added manual_pop for
24566 better C++ tokenization.
24567 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
24568 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
24569 * c-common.c (cpp_token): Make non-static.
24571 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24573 * c-common.h: New file.
24574 * c-common.c (permanent_obstack): Delete unused declaration.
24575 (c_global_trees): New array.
24576 (c_common_nodes_and_builtins): New function; split off common code
24577 from init_decl_processing in both c-decl.c and cp/decl.c.
24578 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
24579 c_global_trees and accessor macros defined in c-common.h.
24580 Include c-common.h.
24581 * c-decl.c: Delete definitions for tree nodes that were replaced by
24583 (init_decl_processing): Build void_list_node.
24584 Call c_common_nodes_and_builtins; delete code to generate the common
24586 * objc/objc-act.c (build_module_descriptor): Rename variable
24587 void_list_node to avoid clash with c-common.h.
24589 * Makefile.in: Update dependencies.
24590 * objc/Make-lang.in: Likewise.
24592 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
24594 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
24595 (UNIQUE_SECTION_P): Likewise.
24596 (UNIQUE_SECTION): Likewise.
24598 1999-07-19 Linas Vepstas <linas@linas.org>
24600 * config/i370/README: New file.
24601 * config/i370/linux.h: New file.
24602 * config/i370/mvs.h: New file.
24603 * config/i370/oe.h: New file.
24604 * config/i370/t-linux: New file.
24605 * config/i370/t-mvs: New file.
24606 * config/i370/t-oe: New file.
24607 * config/i370/x-oe: New file.
24608 * config/i370/xm-linux.h: New file.
24609 * config/i370/xm-mvs.h: New file.
24610 * config/i370/xm-oe.h: New file.
24612 * i370.c (label_node_t): Add first_ref_page, label_addr,
24613 label_first_ref, label_last_ref members.
24614 (mvs_need_base_reload): Renamed from mvs_label_emitted.
24615 (MAX_MVS_LABEL_SIZE): Define.
24616 (MAX_LONG_LABEL_SIZE): Define.
24617 (alias_node_t, alias_anchor, alias_number): New.
24618 (mvs_function_table): Reorder for EBCDIC.
24619 (ascebc, ebcasc): Unconditionally define.
24620 (i370_branch_dest, i370_branch_length): New functions.
24621 (i370_short_branch, i370_label_scan): New functions.
24622 (mvs_get_label): Renamed from mvs_add_label. Search for
24623 an existing label before creating a new one.
24624 (mvs_add_label): New function.
24625 (mvs_get_label_page): New function.
24626 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
24627 over the entire list.
24628 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
24629 (mvs_check_page) [TARGET_ELF_ABI]: New function.
24630 (mvs_add_alias, mvs_need_alias): New functions.
24631 (mvs_get_alias, mvs_check_alias): New functions.
24632 (handle_pragma): New function.
24633 (mvs_function_check): New function.
24634 (unsigned_jump_follows_p): Search harder.
24635 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
24636 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
24637 * i370.h (TARGET_VERSION): Delete.
24638 (CPP_SPEC, CPP_PREDEFINES): Delete.
24639 (mvs_label_emitted): Delete.
24640 (TARGET_EBCDIC): Delete.
24641 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
24642 (HANDLE_PRAGMA): Define.
24643 (HARD_REGNO_NREGS): Handle complex modes.
24644 (HARD_REGNO_MODE_OK): Likewise.
24645 (CLASS_MAX_NREGS): Likewise.
24646 (RET_REG): Likewise.
24647 (EXTRA_CONSTRAINT): Define.
24648 (RETURN_IN_MEMORY): True for DImode.
24649 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
24650 (FUNCTION_PROFILER): Delete.
24651 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
24652 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
24653 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
24654 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
24655 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
24656 (ASM_FILE_START): Add "RMODE ANY".
24657 (ASM_OUTPUT_EXTERNAL): Check for aliases.
24658 (ASM_GLOBALIZE_LABEL): Likewise.
24659 (ASM_OUTPUT_LABELREF): Likewise.
24660 (ASM_OUTPUT_COMMON): Likewise.
24661 (PRINT_OPERAND): Handle 'K', 'W', default.
24662 (PRINT_OPERAND_ADDRESS): New.
24663 (Lots of defines): Add support for TARGET_ELF_ABI.
24664 * i370.md (attr length): New. Define for all patterns.
24665 (*): Lots of tweeks to assembly output and constraints.
24667 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
24669 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
24670 Disable patterns performing SImode comparisons with SImode values
24671 if TARGET_POWERPC64 and instruction does not sign-extend or does
24672 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
24673 differ for signed quantities.
24674 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
24675 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
24676 (decrement_and_branch_on_count): Add 64-bit variant.
24678 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24680 * final.c (output_asm_insn): When searching for the matching string
24681 for a given dialect, don't run past the end of the list of
24682 alternatives if there are fewer alternatives in the template than
24685 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
24687 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
24688 Removed paragraph about compression of files and size limitation,
24689 duplicated in the FAQ. Use gcc-patches for posting patches.
24690 * gcc.c (main): Updated URL with bug reporting instructions to
24691 gcc.gnu.org. Removed e-mail address.
24692 * system.h (abort): Likewise.
24694 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24696 * Makefile.in (stmp-multilib-sub): Make the files extracted
24697 from $(LIBGCC1) writable.
24699 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
24701 * config/arm/aout.h: Reformat for improved readability.
24703 * config/arm/arm.h: Reformat for improved readability.
24704 Replace uses of fprintf with asm_fprintf where appropriate.
24705 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
24706 function declaration assembler actions.
24707 (NUM_INTS): New macro: Convert from bytes to words.
24708 (NUM_REGS): New macro: Compute number of registers required to
24709 hold a quanitity of tyep MODE.
24710 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
24712 (NUM_ARG_REGS): New macro: The number of argument registers
24714 (ARG_REGISTER): New macro: Compute the register number of the Nth
24716 (LAST_ARG_REGNUM): New macro: The number of the last argument
24718 (SP_REGNUM): New macro: Register number of the stack pointer.
24719 (FP_REGNUM): New macro: Register number of the frame pointer.
24720 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
24721 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
24722 CUMULATIVE_ARGS so that it counts registers not bytes.
24724 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
24726 Replace uses of fprintf with asm_fprintf where appropriate.
24727 (output_ascii_pseudo_op): Replace with version from thumb.c
24729 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
24731 * config/arm/elf.h (CPP_PREDEFINES): Replace with
24732 SUBTARGET_CPP_SPEC.
24733 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
24734 (ASM_FILE_START): Emit ASM_APP_OFF.
24736 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
24738 * pa.c (compute_frame_size): Round frame according to
24739 STACK_BOUNDARY rather than a hardwired value.
24741 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
24743 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
24745 * configure: Rebuilt.
24747 * configure.in (hppa*-*-linux*): New configuration.
24748 * configure: Rebuilt.
24749 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
24750 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
24751 * pa/pa-linux.h: New file.
24752 * pa/t-linux: New file.
24753 * pa/xm-linux.h: New file.
24755 * pa.c (hppa_legitimize_address): Change references from SImode to
24756 either Pmode or word_mode as appropriate.
24757 (emit_move_sequence, store_reg, load_reg): Likewise.
24758 (set_reg_plus_d, hppa_expand_prologue): Likewise.
24759 (output_mul_insn): Likewise.
24760 * pa.h (PROMOTE_MODE): Likewise.
24761 (INITIALZE_TRAMPOLINE): Likewise.
24762 (Pmode): Define to word_mode.
24764 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
24765 value of 4. Allocate 8 bytes for each FP register save.
24766 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
24768 (hppa_expand_prologue): Likewise.
24769 * pa.h (PROMOTE_MODE): Likewise.
24770 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
24771 (FUNCTION_ARG_BOUNDARY): Likewise.
24773 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
24775 * pa.c (out_of_line_prologue_epilogue): Delete.
24776 (override_options): Remove -mspace related code.
24777 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
24778 (compute_frame_size): Only allocate space for register that
24779 actually need to be saved.
24780 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
24781 (TARGET_SWITCHES): Remove -mspace, -mno-space
24782 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
24783 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
24784 * pa/ee.asm, pa/ee_fp.asm: Delete.
24786 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
24788 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
24789 directive in column zero.
24791 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
24793 * m68k.c (output_function_prologue): Fix computation of save mask
24794 when generating PIC code.
24796 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
24798 * tree.c (build_type_attribute_variant): Move current_obstack restore
24799 after build_qualified_type call.
24801 1999-07-15 Mark Mitchell <mark@codesourcery.com>
24803 * configure.in: Use t-iris6, even with GNU LD.
24804 * config/mips/iris6gld.h: Fix typo in linker spec.
24805 * config/mips/t-iris6gld: Remove.
24807 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
24809 * rs6000.md (insv, extzv): Remove SImode dependence in named
24810 patterns. Explicitly generate DImode RTL if PowerPC64 and
24812 (insvdi): Reverse start and size in instruction template.
24814 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
24816 * invoke.texi: Typo fixes.
24818 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
24820 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
24821 handle at this time instead of silently generating incorrect code.
24822 (gen_imagpart): Likewise.
24824 * reload.c (find_reloads): Emit a USE for a pseudo register without
24825 a hard register if we could not create an optional reload for the
24828 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24830 * c-typeck.c (output_init_element, process_init_element):
24831 When advancing constructor_unfilled_fields for a RECORD_TYPE,
24832 check for nameless bit fields.
24834 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
24836 * regclass.c (scan_one_insn): Notice subregs that change the
24837 size of their operand.
24838 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
24840 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
24842 * configure.in (alpha*-*-*): Include alpha/t-ieee.
24843 * configure: Rebuilt.
24844 * alpha/t-ieee: New file.
24846 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
24848 * rs6000.c (find_addr_reg): Do not select r0 as an address
24851 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
24853 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
24855 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
24857 * rs6000.md (movsf): Do not force easy FP constants into memory.
24859 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
24860 immed_double_const to ensure they are properly truncated then
24863 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
24865 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
24866 always unless NO_DEBUG is used. Compile this code
24868 (replace_symbols_in_block): Compile it unconditionally.
24870 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
24872 * configure.in (i?86-*-elf*): New target.
24873 * configure: Rebuilt.
24874 * i386/i386elf.h, i386/t-i386elf: New files.
24876 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
24878 * toplev.c (main): Don't complain about saying -gdwarf.
24879 (rest_of_compilation): Remove redundant code.
24881 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
24883 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
24885 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
24887 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
24888 "Li960R:", to avoid name clash.
24890 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24892 * loop.c (check_dbra_loop): When reversing a loop, delete all
24893 REG_EQUAL notes referencing the reversed biv except those which are
24894 for a giv based on it.
24896 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
24898 * version.c: Drop "gcc-" prefix from version #.
24900 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
24902 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
24903 the label if we're being verbose.
24905 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
24907 * m68k.c (output_function_prologue): Add pic register to mask
24908 if live and flag_pic.
24909 (output_function_epilogue): Likewise.
24911 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
24913 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
24914 directives in column zero.
24916 * pa/elf.h (ASM_FILE_START): Define.
24917 * pa/som.h (ASM_FILE_START): Include .level directives.
24918 * pa/hpux10.h (ASM_FILE_START): Delete.
24919 * pa/hpux11.h (ASM_FILE_START): Delete.
24921 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
24923 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24925 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
24926 when reload_out equals reload_in.
24928 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
24930 * invoke.texi (Spec Files): New node: Describe the contents of
24933 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
24935 * invoke.texi (DEC Alpha Options): Put @end table at
24936 beginning of line, to avoid confusing texi2html.
24938 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
24940 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
24941 introduced in previous delta.
24943 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24945 * reload1.c (gen_reload): When synthesizing a 3 operand add
24946 sequence, improve test for when to reload OP1 into the reload
24947 register instead of OP0.
24949 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
24951 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
24953 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
24955 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
24958 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
24960 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
24961 (va_dcl): Use __builtin_va_alist_t.
24963 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
24965 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
24966 on the permanent_obstack.
24967 * dwarfout.c (output_type): Likewise.
24969 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
24971 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
24972 Merged from c-typeck.c and cp/typeck.c.
24973 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
24974 Merged into c-common.
24976 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
24978 * c-lex.c (errorcount): Declare it.
24979 (finish_parse): Update errorcount when using CPPLIB.
24981 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
24983 * fixinc/inclhack.def(end_else_label): Double the backslash so
24984 sed gets a chance to see it.
24985 * fixinc/inclhack.sh: regen
24986 * fixinc/fixincl.x: regen
24988 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
24990 Add framework to support armv5 architecture when it becomes
24993 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
24994 (arm_arch5): New variable.
24995 (all_architectures): Add armv5 line.
24996 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
24997 -march=armv5 is specified on the command line.
24998 (arm_arch5): Export this variable.
24999 * invoke.texi: Document new string accepted by -march= switch for
25002 * config/arm/arm.h: Replace use of constant 12 as a register
25003 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
25004 * config/arm/arm.c: Replace use of constant 12 as a register
25005 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
25007 * config/arm/elf.h: Tidy up.
25008 * config/arm/coff.h: Tidy up.
25010 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
25012 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
25013 * gcc/config/mips/t-iris6gld: New file.
25014 * gcc/config/mips/iris6gld.h: Likewise.
25016 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
25018 * c-decl.c (widest_integer_literal_type_node,
25019 widest_unsigned_literal_type) : New.
25020 (init_decl_processing): Handle/use the two new types.
25021 * c-common.c (type_for_size,type_for_mode) : Same.
25022 * c-lex.c (yylex) : Same.
25023 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
25025 * c-tree.h (widest_integer_literal_type_node,
25026 widest_unsigned_literal_type) : New.
25028 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
25030 * dwarfout.c (field_byte_offset): Correctly compute the object's
25031 byte offset for the first bit of a field which crosses an alignment
25032 boundary on a !BYTES_BIG_ENDIAN target.
25034 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
25036 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
25039 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
25040 Jeff Law <law@cygnus.com>
25042 * ginclude/varargs.h (va_dcl): Use word_mode for type of
25045 * except.c: Include intl.h.
25046 (expand_eh_return): Set current_function_cannot_inline.
25047 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
25048 * function.h (struct function): Add eh_return_stub_label.
25049 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
25050 * Makefile.in (except.o): Depend on intl.h.
25052 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
25054 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
25055 same as offsettable in cases 1 and 2.
25057 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
25059 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
25060 (extlh, extwh): Likewise.
25062 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
25064 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
25066 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
25068 * configure.in: Add arm-pe and thumb-pe targets.
25069 * configure: Regenerate.
25071 * thumb.c (arm_naked_function_p): New function: Determines if
25072 a function is naked (has no gcc generated prologue/epilogue).
25073 (is_called_in_ARM_mode): Return true if the func has the
25074 interfacearm attribute.
25075 (output_return): Do not generate a return for naked functions.
25076 (thumb_function_prologue): Do not generate a prologue for
25078 (thumb_expand_prologue): Do not generate a prologue for naked
25080 (thumb_expand_epilogue): Do not generate an epilogue for naked
25082 (arm_valid_machine_decl_attribute): New function, copied from
25083 arm.c: Permit naked and interfacearm attributes.
25085 * config/arm/pe.c: New file: Support code for arm-pe target.
25086 * config/arm/pe.h: New file: Header file for arm-pe target.
25087 * config/arm/tpe.h: New file: Header file for thumb-pe target.
25088 * config/arm/t-thumb-pe: New file: Makefile fragment for
25091 1999-07-01 Mark Kettenis <kettenis@gnu.org>
25093 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
25094 -fPIC or -fpic is specified.
25096 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
25098 * expr.c (emit_block_move): Use copy_to_mode_reg for
25099 !TARGET_MEM_FUNCTIONS case too.
25101 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
25103 * configure: Rebuilt.
25104 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
25105 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
25106 definitions made redundant by dbxelf.h inclusion. Delete
25107 lots of definitions related to assembly output that are
25108 specific to the SOM object format.
25109 * pa.c (output_function_prologue): Do not emit the function's
25111 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
25112 * pa-pro.h: Deleted.
25113 * som.h: New file with SOM specific definitions.
25114 * elf.h: New file with ELF specific definitions.
25116 * elfos.h (const_section): Output a tab before assembler directives.
25117 (ctors_section, dtors_section): Likewise.
25118 (ASM_OUTPUT_SECTION_NAME): Likewise.
25120 * pa/pa1.h: Delete unused file.
25122 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
25124 * configure.in (hppa*-hp-hpux11*): New configuration.
25125 * configure: Rebuilt.
25126 * pa/pa-hpux11.h: New file.
25127 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
25130 * mips.md (leasi, leadi): New patterns.
25132 * expr.c (emit_block_move): Properly handle case where one of the
25133 block move arguments has a queued increment or decrement.
25134 (clear_storage): Similarly. Fix formatting goof.
25136 1999-06-28 "David O'Brien" <obrien@NUXI.com>
25138 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
25139 semicolon from the BSD VA_LIST replacement expression.
25141 * fixinc/inclhack.sh: regen
25142 * fixinc/fixincl.x: regen
25144 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
25145 now use the fixincl program.
25147 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
25149 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
25150 case. Also make the PIC register call_used.
25152 * m68k.h (FINALIZE_PIC): Delete.
25153 * m68k.c (finalize_pic): Delete.
25155 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
25157 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
25160 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
25162 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
25164 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
25166 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
25168 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
25170 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
25172 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
25174 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
25176 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
25178 * rs6000.c (output_toc): Always use hex values for floating-point
25179 constants. Store single-precision values in upper-half of TOC
25180 entry in 64-bit mode.
25181 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
25182 to final constraints.
25183 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
25184 (fctiwz): Improve accuracy of RTL for pattern.
25186 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
25188 * expr.c (expand_expr): Allow RTL_EXPR's through the
25189 MAX_INTEGER_COMPUTATION_MODE checks.
25191 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
25193 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
25194 such that MASK_SUPPORT_ARCH is not negative.
25196 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
25198 * loop.c (verify_dominator): Properly handle ADDR_VEC and
25199 ADDR_DIFF_VEC insns that appear inside loops.
25201 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
25202 Jeff Law <law@cygnus.com>
25204 * rs6000.md (movdf_hardfloat32): Revert previous patch.
25205 Handle LO_SUM the same as offsettable in cases 1 and 2.
25206 * rs6000.c (find_addr_reg): Revert previous patch.
25208 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
25210 * system.h (strstr): New external function declaration.
25211 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
25212 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
25213 * config.in, configure: Rebuilt.
25215 1999-06-24 Tom Tromey <tromey@cygnus.com>
25217 * gcc.c (main): Read user-specified specs files after computing
25218 additional startfile_prefixes.
25220 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
25222 Revert these two patches:
25224 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25225 * loop.c (strength_reduce): When doing biv->giv conversion, update
25226 reg note of NEXT->insn.
25228 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25229 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
25231 (recombine_givs): Set ix field after sorting.
25233 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25235 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
25236 for the parts of an UNSPEC / UNSPEC_VOLATILE.
25238 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
25240 *fixinc/inclhack.def: Add fix development commentary
25241 (read_ret_type): reactivate and add selection clause
25242 (zzz_*): tweak output file name to match what is used in hackshell.tpl
25243 *fixinc/{fixincl.x|inclhack.sh}: regen
25245 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
25247 * expr.c (expand_expr): STRIP_NOPS before checking against
25248 MAX_INTEGER_COMPUTATION_MODE
25249 (check_max_integer_computation_mode): Likewise.
25251 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
25253 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
25255 1999-06-22 Jim Wilson <wilson@cygnus.com>
25257 * expr.c (store_expr): When target is a promoted subreg, return a
25258 promoted subreg as a result.
25260 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
25262 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
25264 (dwarf2out_define): Mark unused parameters appropriately.
25265 (gen_unspecified_parameters_die): Ditto.
25266 (gen_subprogram_die): Fix signed/unsigned warnings.
25267 (gen_variable_die): Ditto.
25269 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
25271 * fixinc/inclhack.def(end_else_label): combined else_label
25272 and endif_label and fixed the sed expression.
25273 *fixinc/{fixincl.x|inclhack.sh}: regen
25275 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
25277 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
25278 'x' when handling non-offsettable addresses
25280 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
25282 * final.c (shorten_branches): Don't try to split an insn that has
25285 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
25287 * config/mips/mips.c (symbolic_expression_p): New function.
25288 (mips_select_rtx_section): Put symbolic expressions in the
25289 data section, not the read-only data section.
25291 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
25293 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
25295 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
25297 * collect2.c (main): Log frame table count.
25298 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
25299 (scan_prog_file) [COFF]: Handle frame tables.
25301 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
25302 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
25303 * alpha/elf.h: Undef them again.
25304 * alpha/vms.h: Remove their definitions.
25306 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25308 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
25309 remove the clobber of r0 and change the REG_UNUSED note to
25312 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
25314 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
25315 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
25316 fits in HOST_WIDE_INT and one uses union to access a long constant
25319 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
25321 * sparc.c (sparc_override_options): Don't allow profiling for
25322 code models other than medlow.
25323 (sparc_function_profiler): New function from old FUNCTION_PROFILER
25324 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
25325 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
25326 (sparc_block_profiler): Likewise.
25327 (sparc_function_block_profiler_exit): Likewise.
25328 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
25329 (FUNCTION_BLOCK_PROFILER): Likewise.
25330 (BLOCK_PROFILER): Likewise.
25331 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
25332 (MCOUNT_FUNCTION): New.
25333 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
25334 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
25335 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
25336 (MCOUNT_FUNCTION): New.
25337 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
25338 (BLOCK_PROFILER): Delete.
25339 (MCOUNT_FUNCTION): New.
25341 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
25343 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
25345 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
25347 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
25350 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
25353 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
25356 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
25359 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
25361 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
25364 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
25366 * i386/djgpp.h (LIB_SPEC): New.
25367 (STARTFILE_SPEC): New.
25369 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
25371 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
25373 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
25376 * system.h (WSTOPSIG): New macro.
25378 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
25380 * c-pragma.c (push_alignment): Don't ignore alignments greater than
25382 (insert_pack_attributes): Take into account member natural
25385 * i386/winnt.c (exports_head): New static variable.
25386 (i386_pe_record_exported_symbol): New function.
25387 (i386_pe_asm_file_end): Use.
25388 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
25389 symbols to be emitted at end of assembly.
25390 (ASM_DECLARE_OBJECT_NAME): Likewise.
25391 (ASM_DECLARE_FUNCTION_NAME): Likewise.
25393 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
25396 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
25398 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
25401 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
25403 * haifa-sched.c (sched_analyze_1): Use free_list instead of
25404 zapping reg_last_uses directly.
25405 (sched_analyze_2, sched_analyze_insn): Likewise.
25406 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
25408 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
25410 * rs6000.md (movdf_hardfloat32): Use worst case insn length
25411 attributes for cases 1 and 2.
25413 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
25415 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
25418 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
25420 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
25422 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
25424 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
25425 PIC_OFFSET_TABLE_REGNUM for general alloaction.
25426 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
25427 must be stacked if it is used for PIC accesses.
25428 * arm.c (use_return_insn): Handle PIC register specially.
25429 (output_return_instruction): Likewise.
25430 (output_func_{prologue,epilogue}): Likewise.
25431 (output_expand_prologue): Likewise.
25433 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
25434 (*strsi_predec): Renamed from *strqi_predec.
25435 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
25436 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
25438 * arm.c (arm_override_options): Remove warning about PIC code
25439 not being supported.
25441 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
25443 * rs6000.c (find_addr_reg): New function.
25444 * rs6000.h (find_addr_reg): Declare.
25445 (offsettable_addr_operand): Delete.
25446 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
25447 from and stores to GPRs.
25449 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
25451 * alpha.c (alpha_expand_block_move): Use get_insns rather than
25452 gen_sequence as argument to emit_no_conflict_block.
25454 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
25456 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
25457 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
25458 *fixinc/fixincl.x: regen
25459 *fixinc/inclhack.sh: regen
25461 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
25463 * added support for -mpcrel (PC relative addressing for m68k)
25464 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
25465 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
25466 * m68k.c (print_operand_address): Handle 32-bit PIC case.
25467 (comments for general_src_operand): Add some explanation
25468 about EXTRA_CONSTRAINTS.
25469 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
25470 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
25471 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
25472 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
25473 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
25474 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
25475 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
25476 if not already set.
25477 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
25478 * m68k.h (TARGET_PCREL): New target flag.
25479 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
25480 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
25481 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
25482 contains a SYMBOL_REF. Relax this constraint during reload, since
25483 we want to use the predicates, not reload's built-in concept of a
25484 valid memory address, to control what insns need reloading.
25485 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
25486 operands (essentially 'g', 'm', and 's' under normal circumstances).
25487 * m68k.c (print_operand): Cause printing of pc-relative addresses
25488 to include pc register.
25489 (print_operand_address): Ditto.
25490 (general_src_operand): Accept operands that are not only
25491 general_operands, but are also valid when used as a pc-relative
25493 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
25494 (memory_src_operand): Similar, for memory_operands.
25495 (pcrel_address): New predicate to accept the special case of a
25496 pc-relative address.
25497 * m68k.md (many patterns): Rewrite common SImode, HImode, and
25498 QImode insns to accept *_src_operand instead of *_operand where
25499 pc-relative operands can fit. For example, a pc-relative operand
25500 can be used as a memory source operand for addsi3, but not as a
25501 memory destination.
25502 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
25504 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
25506 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
25507 .thumb_set pseudo op to mark aliases of thumb functions.
25509 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
25511 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
25512 preference to ASM_OUTPUT_DEF, if it is defined.
25514 * tm.texi: Document new, optional target macro
25515 ASM_OUTPUT_DEF_FROM_DECLS.
25517 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
25519 * fixincludes: ISCNTL patch
25520 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
25521 (dgux_int_varargs): new for DG/UX
25522 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
25524 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
25526 * invoke.texi (ia32 options): Fix typo.
25528 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25530 * loop.c (strength_reduce): When doing biv->giv conversion, update
25531 reg note of NEXT->insn.
25533 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
25535 * loop.c (move_movables): Note issues with replacing REGs with
25537 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
25539 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
25541 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
25543 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
25544 the reference to `mcount' was not correct for the ELF on FreeBSD.
25546 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25548 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
25551 (recombine_givs): Set ix field after sorting.
25553 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
25555 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
25556 to safe to extract a subword out of a REG.
25558 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25560 * sh.md (mulsi3): Don't add a no-op move at the end.
25562 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25564 * cse.c (cse_insn): Don't put hard register source into tables for
25565 the last insn of a libcall.
25567 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25569 * loop.c (strength_reduce): Insert sets of derived givs at every
25570 biv increment, even if it's the only one.
25572 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
25574 * dwarfout.c (add_incomplete_type): New fn.
25575 (output_type): Call it.
25576 (retry_incomplete_types): New fn.
25577 (dwarfout_finish): Call it.
25579 From Eric Raskin <ehr@listworks.com>:
25580 (output_type): Output types for bases.
25582 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
25584 * mips.c (mips_output_conditional_branch): Add `break'
25585 between `default' label and `close braces'.
25587 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
25589 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
25590 specifications and make it realistic.
25591 (LIB_SPEC): Likewise.
25593 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
25595 * config/mips/mips.c (mips_secondary_reload_class): Check for
25596 (PLUS (SP) (REG)) and return appropriate register class.
25597 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
25598 Handle (PLUS (SP) (REG)).
25599 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
25600 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
25601 of emit_insn for tablejump.
25603 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
25605 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
25606 asm_fprintf format string by itself.
25607 (output_function_profiler): Likewise.
25609 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
25611 * combine.c (simplify_logical, case AND): Only call
25612 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
25613 or the constant is positive.
25615 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
25617 * configure.in: Fix typo in rs6000-ibm-aix4 case.
25618 * configure: Regenerate.
25620 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
25622 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
25623 require a sub-version #.
25624 * configure: Rebuilt.
25626 1999-06-14 Robert Lipe (robertlipe@usa.net)
25628 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
25630 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
25632 * c-typeck.c (process_init_element): Detect excess elements in
25633 char array initializer.
25635 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
25637 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
25639 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
25641 * invoke.texi (Option Summary): Add -fpermissive flag.
25643 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
25645 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
25646 that require PIC code sequences.
25648 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
25650 * configure.in: Add new target: thumb-elf.
25651 * configure: Regenerate.
25652 * config/arm/t-thumb-elf: New file: Makefile fragment for
25654 * config/arm/telf.h: New file: Header file for thumb-elf
25657 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
25659 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
25660 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
25661 initializers is some circumstances.
25663 * fixinc/inclhack.def (endif_label): Add additional selector for
25664 more bogus stuff after #endif statements.
25665 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
25667 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
25669 * i386/cygwin.h (SET_ASM_OP): Define.
25671 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
25673 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
25675 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25677 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
25680 * sh.md (ic_invalidate_line_i): Remove second alternative.
25682 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
25684 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
25685 test for the presence of valid prototypes. Delete bypass expr.
25686 (ioctl_fix_ctrl): Correct the selection expression.
25687 (no_double_slash): Correct quoting rules
25688 *fixinc/fixincl.x: regen
25689 *fixinc/inclhack.sh: regen
25691 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
25693 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
25695 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25697 * rs6000.md (movsi_got_internal_mem): Delete.
25698 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
25699 (GOT_TOC_REGNUM): Delete.
25700 (PIC_OFFSET_TABLE_REGNUM): Define.
25701 (FINALIZE_PIC): Disable.
25702 * rs6000.c (rs6000_got_register): New code for fixed pic register.
25703 (rs6000_replace_regno): Delete.
25704 (rs6000_finalize_pic): Likewise.
25705 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
25707 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25709 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
25710 is a note; use <= for the compare; advance P while it is
25713 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
25715 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
25716 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
25718 * varasm.c (remove_from_pending_weak_list): Verify t->name
25719 is non-NULL before passing it to strcmp.
25721 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
25723 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
25724 the typed arguments are not part of a comment
25725 (ioctl_fix_ctrl): Added a purpose comment
25726 *fixinc/fixincl.x: regenerate
25727 *fixinc/inclhack.sh: regenerate
25729 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
25731 * invoke.texi: Add C4x invocation docs.
25733 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
25735 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
25737 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
25739 (c4x_legitimize_reload_address): New function.
25740 * config/c4x/c4x.md: Update docs.
25742 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
25744 * fixincludes: Avoid removing '.'.
25745 * fixinc/fixinc.svr4: Likewise.
25746 * fixinc/fixinc.winnt: Likewise.
25747 * fixinc/inclhack.tpl: Likewise.
25748 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
25750 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25752 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
25754 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
25756 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
25758 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
25761 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
25763 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
25764 * configure: Regenerate.
25766 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
25768 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
25771 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
25773 * fixinc/inclhack.def (avoid_bool): Also catch
25774 "typedef [unsigned] int bool".
25775 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
25777 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
25778 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
25779 * configure: Rebuilt.
25781 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
25783 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
25784 such that we can override its definitions if necessary.
25785 (CPP_SPEC): New define. Support processor specific predefines via
25787 (CC1_SPEC): New define. Support processor specific compiler
25788 options via %(cc1_cpu).
25789 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
25792 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25794 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
25795 between sed's -e flag, and the open-quote following it.
25796 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
25798 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
25799 Jeffrey A Law (law@cygnus.com)
25801 * varasm.c (assemble_start_function): Remove the function
25802 from the pending weak decls list when we define a function.
25803 (assemble_variable): Similarly for variables.
25804 (weak_finish): Ignore items on the list with a NULL name.
25805 (remove_from_ending_weak_list); New function to "remove" an item
25806 from the pending weak declarations list.
25808 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
25810 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
25812 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
25814 * c-lex.c (GETC): Redefine to call getch.
25815 (UNGETC): Redefine to call put_back.
25816 (putback_buffer): New structure type.
25817 (putback): New static structure.
25818 (getch): New function.
25819 (put_back): New function.
25820 (yylex): Replace unused bytes from bad multibyte character.
25822 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
25824 * cpplib.c (do_define): Cast `alloca' return value.
25825 (do_include, do_undef, do_pragma): Likewise.
25826 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
25828 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
25829 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
25831 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
25833 * sparc.md (abstf2): This should be an expand.
25834 (split after abstf2_notv9): Fix mode.
25835 (abstf2_hq_v9): New pattern.
25836 (abstf2_v9): Only use when no hard quad.
25837 (absdf2_v9): Fix if target is not the same as source.
25838 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
25839 Add correct output constraints.
25841 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
25843 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
25844 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
25846 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
25848 * mips.h (mips_output_conditional_branch): New function.
25849 (mips_adjust_insn_length): Likewise.
25850 (ASSEMBLER_SCRATCH_REGNUM): New macro.
25851 (ADJUST_INSN_LENGTH): Likewise.
25852 * mips.c (print_operand): Add `F' and `W' for floating-point
25853 comparison opcodes.
25854 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
25856 (mips_adjust_insn_length): New function.
25857 (mips_output_conditional_branch): New function.
25858 * mips.md (length): Adjust attribute definition to handle
25859 conditional branches. Change lengths to bytes, rather than
25860 instructions throughout. Remove length attribute from
25861 instructions whose length is four bytes, and rely on the default
25863 (dslot): Fix typo in comment.
25864 Reword conditional branch patterns to use
25865 mips_output_conditional_branch.
25867 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
25869 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
25870 (LIB_SPEC): Likewise.
25871 Link with -lprof1_r for -g/-pg.
25873 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
25875 * loop.c (check_dbra_loop): Fix change of Jan 19.
25877 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
25879 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
25880 (STARTFILE_SPEC): Define, override the svr4.h version.
25881 (ENDFILE_SPEC): Likewise.
25883 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
25885 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
25886 * fixinc/fixincl.x: Regenerated.
25887 * fixinc/inclhack.sh: Regenerated.
25889 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25891 * sh.c (barrier_align): Don't return early for normal branch/barrier
25892 when optimizing for SH2.
25894 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
25896 * i386/udk.h (LINK_SPEC): Correct linker search path for
25899 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25901 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
25902 (braf_label_ref_operand): Delete.
25903 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
25904 * sh.md (casesi_jump_2): Operand1 is now the inside of a
25905 label_ref, and has no predicate.
25906 The patten has a predicate to guard against invalid substitutions.
25907 (dummy_jump): Delete.
25908 (casesi): Update use of casesi_jump_2.
25910 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
25912 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
25913 *fixinc/fixincl.x: regenerate
25914 *fixinc/inclhack.sh: regenerate
25916 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
25918 * dwarf2out.c (add_incomplete_type): New fn.
25919 (gen_struct_or_union_type_die): Call it.
25920 (retry_incomplete_types): New fn.
25921 (dwarf2out_finish): Call it.
25923 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
25925 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
25926 current block starts with a CODE_LABEL and ends with a CALL and
25927 we can not find all the argument setup instructions for the CALL.
25929 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
25931 Revert this change:
25932 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
25933 something is a candidate for optimize_bit_field_compare.
25935 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25937 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
25939 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
25941 * alpha.c (override_options): Thinko in last patch.
25943 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
25944 (LIB_SPEC): Recognize -pthread.
25946 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
25948 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
25949 definition in config/arm/coff.h
25950 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
25952 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
25954 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
25955 fixes that need "file=xxx\n" prepended before invocation
25956 (start_fixer - new): starting the fixer process is complex enough
25957 to warrent its own routine. It prepends the "file=xxx\n" stuff.
25958 (process): uses the new routine; omit usage of putenv()
25959 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
25960 * fixinc/fixincl.x: regenerate
25962 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
25964 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
25965 and version #s (1.1 -> 2.96) as needed.
25966 * README.g77: Kill way out of date file in the toplevel directory.
25968 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
25970 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
25971 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
25972 * configure: Rebuilt.
25973 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
25974 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
25975 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
25976 (SWITCH_TAKES_ARG): Likewise.
25977 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
25978 * config/t-freebsd: Moved from config/i386/ so it can used for all
25981 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
25983 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
25985 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
25987 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
25988 * configure: Rebuilt.
25990 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
25992 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
25993 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
25994 * rs6000/rs6000.c (rs6000_file_start): Use putc.
25995 (rs6000_output_load_toc_table): Same.
25996 (output_prolog, output_mi_thunk): Same.
25997 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
25998 (ASM_GLOBALIZE_LABEL): Use putc.
26000 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
26002 * alpha.md (reload_*_help): New patterns and splitters.
26003 (reload_*): Use them.
26004 (mov[qh]i): Likewise.
26006 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
26008 * cccp.c (handle_directive): Handle backslash-newlines in quoted
26011 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
26013 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
26015 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
26017 * flow.c (mark_regs_live_at_end, insn_dead_p,
26018 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
26019 and HARD_FRAME_POINTER_REGNUM special treatment if reload
26020 hasn't run or the frame pointer is needed.
26021 * haifa-sched.c (attach_deaths): Likewise.
26022 * sched.c (attach_deaths): Likewise.
26024 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
26026 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
26027 calculate_can_reach_end returns nonzero.
26029 * configure.in (native gas tests): Search for an assembler in the
26030 same manner that the installed compiler will.
26031 * configure: Rebuilt.
26032 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
26034 * alias.c (find_base_term): Improve handling of addresses
26035 constructed from binary operations.
26037 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
26039 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
26041 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
26043 * function.h (cleanup_label, frame_offset): Declare.
26044 (tail_recursion_label, tail_recursion_reentry): Likewise.
26045 (arg_pointer_save_area, rtl_expr_chain): Likewise.
26046 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
26047 (tail_recursion_label, tail_recursion_reentry): Likewise.
26048 (arg_pointer_save_area, rtl_expr_chain): Likewise.
26050 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
26052 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
26054 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
26055 (MAX_OFILE_ALIGNMENT): Define.
26057 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
26059 * fixincl.c: Replace local include scheme with #includes of
26060 gansidecl.h and system.h.
26061 * procopen.c: Likewise.
26062 * server.c: Likewise.
26064 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
26066 * i386/t-dgux (EXTRA_PARTS): Add crti.o
26067 (crti.o): Add build rule and dependencies.
26068 * fixinc/fixinc.dgux: Use modified _int_varargs.h
26070 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26072 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
26073 (LIB_LINUX_SPEC): Likewise.
26074 (LIB_LINUX_SPEC): Add support for -pthread
26075 (CPP_OS_LINUX_SPEC): Likewise.
26076 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
26079 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
26081 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
26083 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
26084 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
26085 for IEEE math and CC_FCOMI.
26086 (put_jump_code): No IEEE if CC_FCOMI is set.
26088 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
26090 * fold-const.c (fold_truthop): Make the field reference unsigned
26091 when converting a single bit compare.
26093 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26095 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
26097 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
26099 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
26100 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
26103 * reload.c (push_reload): Do not call remove_address_replacements
26104 when presented with identical optional reloads.
26106 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
26108 * alpha.h (MASK_FIX, TARGET_FIX): New.
26109 (MASK_*): Reorganize constants.
26110 (CPP_AM_FIX_SPEC): New.
26111 (TARGET_SWITCHES): Add FIX.
26112 (EXTRA_SPECS): Likewise.
26113 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
26114 (SECONDARY_MEMORY_NEEDED): Likewise.
26115 (REGISTER_MOVE_COST): Likewise.
26116 * alpha.c (override_options): Add FIX support. Always use
26117 ALPHA_TP_PROG for ev6.
26118 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
26119 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
26120 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
26122 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
26124 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
26125 something is a candidate for optimize_bit_field_compare.
26127 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
26129 * gcc.texi (Passes): Document branch-shortening.
26130 * invoke.texi (Debugging Options): Document the fact that `-dp'
26131 outputs length information for instructions.
26133 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
26135 * flow.c: Revert previous delta.
26137 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
26139 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
26140 FRAME_POINTER_REGNUM.
26141 (mark_set_1): Ditto.
26142 (mark_used_regs): Ditto.
26144 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
26146 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
26147 (GOT_PCREL): New macro. Define to 1 if not already defined.
26148 * arm/elf.h (GOT_PCREL): Define to 0.
26149 * arm.c (arm_finalize_pic): Take into account the setting of
26152 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
26154 * output.h (STRIP_NAME_ENCODING): Provide default definition.
26155 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
26157 * flow.c (mark_set_1): Do not record BLKmode stores as dead
26158 store elimination candidates.
26160 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
26162 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
26165 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
26167 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
26168 Add use of x-aix41-gld.
26170 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
26172 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
26173 (ASM_OUTPUT_DESTRUCTOR): Define.
26175 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
26177 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
26178 last CODE_LABEL in a loop if we have previously passed a jump
26179 to the top of the loop.
26181 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
26183 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
26184 applying Philip's patch.
26186 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
26188 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
26191 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
26193 * loop.c (strength_reduce): Grow reg_single_usage as needed.
26195 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
26197 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
26198 Also remove a useless comment.
26200 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
26202 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
26204 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
26206 * collect2.c (main): Only generate import or export file and add
26207 to link arguments if non-empty. Use xmalloc not alloca.
26208 (write_{export,import}_file): Delete.
26209 (write_aix_file): New function.
26210 (locatelib): Use xmalloc not malloc.
26211 (GCC_OK_SYMBOL): Do not check type if aix64.
26213 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
26215 Based on patch by Scott Bambrough and Pat Beirne:
26216 * config/arm/arm.c (making_const_table): New variable.
26217 * config/arm/arm.h (making_const_table): Declare.
26218 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
26220 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
26221 Keep track of when we are building the constant table.
26223 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
26225 * config/arm/arm.c (arm_override_options): Fix erroneous warning
26228 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
26230 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
26233 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
26235 * tm.texi (FUNCTION_ARG): Correct description of a stack element
26238 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
26240 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
26242 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26244 * rs6000.c (output_mi_thunk): Enable full support again.
26246 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26248 * sh.h (BRANCH_COST): Define.
26250 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
26252 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
26254 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
26256 * function.c (assign_stack_local): Align stack slot propertly.
26257 (assign_outer_stack_local): Likewise.
26259 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
26261 * expr.h (lang_expand_constant): Declare.
26262 * toplev.c (lang_expand_constant): Define it.
26263 * varasm.c (output_constant): Use it.
26265 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
26267 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
26268 Change function definitions to K&R style.
26270 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
26272 * fixinc/fixincl.c: We must not ignore SIGCLD now.
26274 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
26276 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
26277 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
26278 (several places): omit static initialization
26279 (process): use single fd, since only the read fd is used
26280 * fixinc/gnu-regex.c: define 'const' away, if not supported
26281 * fixinc/procopen.c(several places): omit static initialization
26282 * fixinc/server.c: define 'volitile' away, if not supported
26284 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
26286 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
26287 asm_fprintf and %L to generate the label name.
26288 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
26289 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
26291 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
26293 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
26294 insn for a conditional jump can not be found.
26296 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
26298 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
26299 on variables in specific sections other than .sbss and .sdata.
26301 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
26303 * stmt.c (expand_return): Call start_cleanup_deferral and
26304 end_cleanup_deferral around conditional code.
26306 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
26308 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
26309 filename lists. Utilizes new "krstr" AutoGen function.
26310 * fixinc/fixincl.x: Rebuilt.
26312 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
26314 * i386.c (output_float_compare): Avoid GNU-C extensions.
26316 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
26318 * version.c: Bump to distinguish mainline tree from the
26321 See ChangeLog.1 for earlier changes.