1 1999-11-23 Mark Mitchell <mark@codesourcery.com>
3 * tree.h (unsave_expr_1): New function.
4 (lang_unsave): New variable.
5 (get_callee_fndecl): New function.
6 * tree.c (unsave_expr_now_r): New function.
8 (unsave_expr_1): Likewise.
9 (unsave_expr_now_r): Split out from unsave_expr_now.
10 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
11 call unsave_expr_now_r.
12 (get_callee_fndecl): Define.
14 * Makefile.in (gencheck): Don't depend on lang_tree_files.
15 (gencheck.o): Do depend on lang_tree_files.
17 * integrate.h (copy_decl_for_inlining): New declaration.
18 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
19 (copy_decl_for_inlining): New function.
20 (integrate_parm_decls): Use it.
21 (integrate_decl_tree): Likewise.
23 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
25 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
26 the second two from the first.
27 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
28 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
29 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
31 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
32 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
35 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
37 * pa.md (call_internal_symref, call_value_internal_symref): No mode
38 needed on the address operand.
39 * pa.c (call_operand_address): Check for the correct mode.
41 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
43 * loop.c: Include "basic-block.h".
44 (try_copy_prop, replace_loop_reg): New functions.
45 (load_mems): Detect registers that just hold copies of the hoisted
46 mem, and call try_copy_prop to eliminate them.
47 * Makefile.in (loop.o): Update dependencies.
49 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
51 * Makefile.in (gencheck.o): Depend on gencheck.h.
52 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
53 (insn-peep.o): Depend on except.h and function.h.
54 (insn-attrtab.o): Depend on RECOG_H.
55 (insn-output.o): Depend on toplev.h and flags.h.
56 (gengenrtl.o): Depend on real.h.
57 (gen-protos.o): Depend on cpplib.h and cpphash.h.
58 Unify all dependencies to be on RECOG_H rather than recog.h.
60 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
62 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
63 * configure.in: Try building a bi-arch 32/64-bit compiler on
64 sparc-*-solaris2.7 and higher.
67 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
69 * config/freebsd.h: New, FreeBSD architecture independent file.
70 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
72 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
73 directly by i386/freebsd.h.
74 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
75 independent configuration file.
76 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
77 directly by i386/freebsd.h.
80 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
81 which is in the user's namespace.
82 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
83 `i386' which is not in our namespace.
85 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
87 * invoke.texi (ARM Options): Add in -mno-alignment-traps
89 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
91 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
92 (add_dwarf_attr, add_child_die): Just push onto the front.
93 (reverse_die_lists): New fn.
94 (add_sibling_attributes): Use it.
95 (push_decl_scope): Reorganize.
96 (add_name_and_src_coords_attributes): Don't set file and line for
98 (gen_subprogram_die): An artificial function doesn't need to match
100 (gen_compile_unit_die): Return the generated die. Only add
101 AT_comp_dir if the filename is relative.
102 (remove_AT): Simplify loop. Also free string values.
103 (output_die): A DIE ref can't be null.
104 (output_value_format, value_format): Take a dw_attr_ref.
105 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
106 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
107 AT_addr, AT_lbl): New fns.
111 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
113 * combine.c (combine_simplify_rtx): When handling a SUBREG,
114 take SUBREG_WORD into account.
115 (if_then_else_cond): Likewise.
117 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
119 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
120 clause from BSD license, pursuant with
122 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
124 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
126 * loop.c (load_mems): Reformat slightly.
127 * basic-block.h (regset_head): New typedef.
128 (INIT_REG_SET): New macro.
130 1999-11-22 Bruce Korb <autogen@linuxbox.com
132 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
133 (mips-dec-bsd*): non-functional code
134 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
136 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
137 added three replacement fixes
138 (no_double_slash): removed comments that are not (any longer) pertinent
139 (bad_lval): this fix currently runs against many files.
140 The comment seems to indicate that we should select for files
141 containing 'pragma extern_prefix'.
143 * fixinc/fixinc.x86-linux-gnu: deleted
144 * fixinc/inclhack.sh: regen
145 * fixinc/fixincl.x: regen
146 * fixinc/fixincl.sh: regen
148 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
150 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
151 its code is INSN and it has no notes.
153 1999-11-22 Andrew Haley <aph@cygnus.com>
155 * varasm.c (function_defined): Remove.
156 (make_function_rtl): Don't set function_defined.
157 (make_decl_rtl): Remove global register warning.
158 * regclass.c (no_global_reg_vars): New variable.
159 (globalize_reg): Warn if function has already been defined.
160 (regclass_init): Set no_global_reg_vars.
162 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
164 * regclass.c (reg_pref): New structure and static variable
167 (all uses of prefclass and altclass): Use reg_pref instead.
169 1999-11-21 Nick Clifton <nickc@cygnus.com>
171 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
173 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
174 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
175 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
177 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
179 * varasm.c (output_constructor): Solve problem with long long
180 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
182 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
184 * global.c (allocno): New structure and static variable.
185 (allocno_reg): Remove, all references replaced by allocno.
186 (allocno_size): Likewise.
187 (hard_reg_conflicts): Likewise.
188 (hard_reg_preferences): Likewise.
189 (hard_reg_copy_preferences): Likewise.
190 (hard_reg_full_preferences): Likewise.
191 (regs_someone_prefers): Likewise.
192 (allocno_calls_crossed): Likewise.
193 (allocno_n_refs): Likewise.
194 (allocno_live_length): Likewise.
195 (find_reg): Rename ALLOCNO to NUM.
197 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
199 (may_move_out_cost): New variable.
200 (init_reg_sets_1): Initialize may_move_out_cost.
201 (record_reg_classes): Use may_move_out_cost.
203 * regclass.c (dump_regclass): New function.
204 (regclass): New parameter DUMP, call DUMP_REGCLASS.
205 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
206 pass rtl_dump_file to regclass.
207 * rtl.h (regclass): Update prototype.
209 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
211 * i386.md (neg, not and abs patterns): Revmap to use
212 ix86_expand_unary_operator and ix86_unary_operator_ok.
213 (add?f and sub?f expanders): Force operand 1 to register.
214 * i386.c (ix86_expand_unary_operator): Rewrite.
215 (ix86_unary_operator_ok): Ensure that memory operands
217 (ix86_binary_operator_ok): Do not allow operand 1 to
218 come into memory and operand 0 not.
219 (ix86_expand_binary_operator): Ensure that
220 src1 is not non-matching memory.
222 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
223 to support integer registers and memory.
224 (abss?2_integer): Likewise.
226 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
227 (REG_CLASS_NAMES): Likewise.
228 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
230 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
231 (movsf): Likewise; unify 4th and 5th alternative.
233 (movdf_1): Likewise; rename to movdf_integer.
234 (pushxf): Likewise; rename to pushxf_integer; fix output template;
235 remove redundant splitter.
236 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
237 (movdf_nointeger): New.
238 (movxf_nointeger): New.
239 (pushxf_nointeger): New.
241 * i386.md (extend?f?f): Split to expander and pattern, refuse two
242 memory operands in patterns.
243 (fop*): Refuse two memory operands.
245 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
246 on !TARGET_USE_CLTD CPUs.
248 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
250 * extend.texi: Document C++ restricted pointers and references.
252 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
254 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
255 (invalidate_skipped_set): Call it unconditionally.
256 (cse_set_around_loop): Likewise.
258 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
260 * rtl.texi (mem): Add documentation for alias-set argument
263 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
265 * i386.h (struct_processor_costs): New fileds int_load, int_store,
266 fp_move, fp_load and fp_store
267 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
269 (MEMORY_MOVE_COST): New macro.
270 * i386.c (386_cost): Define new fields.
271 (i486_cost): Likewise.
272 (pentium_cost): Likewise.
273 (pentiumpro_cost): Likewise.
276 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
277 Geoffrey Keating <geoffk@cygnus.com>
279 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
281 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
284 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
285 (TARGET_STRICT_ALIGNMENT): New macro.
286 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
287 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
288 * invoke.texi (M680x0 Options): Document -mstrict-align.
290 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
291 Richard Henderson <rth@cygnus.com>
293 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
294 (ix86_split_long_move): Declare.
295 * i386.c (split_xf, ix86_split_movdi): Remove.
296 (ix86_split_to_parts, ix86_split_long_move): New.
297 * i386.md (dimode move splitters): Use ix86_split_long_move.
298 (dfmode move splitters): Likewise.
299 (xfmode move splitters): Likewise.
300 (movsf_1): Allow F->r.
301 (movdf_1, movxf_1): Allow F->ro.
303 1999-11-17 Mark Mitchell <mark@codesourcery.com>
305 * except.h (struct eh_entry): Add goto_entry_p.
306 (eh_region_from_symbol): Remove prototype.
307 * except.c (find_func_region_from_symbol): New function.
308 (emit_cleanup_handler): Likewise.
309 (eh_region_from_symbol): Make it static.
310 (add_new_handler): Verify the argument.
311 (find_func_region): Update comment.
312 (expand_eh_region_end): Expand handlers here, rater than waiting
313 until expand_leftover_cleanups or start_all_catch.
314 (expand_leftover_cleanups): Don't expand here.
315 (expand_start_all_catch): Or here.
316 (expand_rethrow): Check the return value from find_func_region.
317 * function.c (expand_function_end): Emit the catch_clauses.
319 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
321 * integrate.c (expand_inline_function): Add necessary check for NULL.
323 1999-11-18 Nick Clifton <nickc@cygnus.com>
325 * toplev.c (main): Correctly detect an unrecognised option.
327 * cppinit.c (cpp_handle_option): Do not claim to have consumed
328 a -f option if it has not been recognised.
330 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
332 * basic-block.h (update_life_extent): Remove trailing comma on
333 enumeration type list.
335 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
337 * varasm.c (output_constructor) Solved problem with long long
338 bitfields. Corrected calculating this_time and shift. Also
339 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
341 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
343 * flow.c (split_edge): Take looping structure into account when
344 determining where to put the new block note.
346 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
348 * Makefile.in (ggc-none.o): Provide host specific version if
351 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
353 * cse.c (delete_trivially_dead_insns): Identify no-op insns
354 containing subregs too.
356 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
358 * invoke.texi: Add documentation for -muninit-const-in-rodata.
359 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
360 (TARGET_UNINIT_CONST_IN_RODATA): Define.
361 (text_section): Add switches -munint-const-in-rodata and
362 -mno-uninit-const-in-rodata.
363 (ASM_OUTPUT_COMMON): Remove.
364 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
365 const objects should be placed in read-only data. Otherwise declare
368 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
370 * jump.c (jump_optimize_1): Revert last change.
372 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
374 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
375 test if optimizing for size.
377 1999-11-17 Mark Mitchell <mark@codesourcery.com>
379 * Makefile.in (toplev.o): Depend on except.h.
380 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
382 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
384 * i386.md (divmodsi4): Rewrite to expander.
385 (*divmodsi4_nocltd): New.
386 (*divmodsi4_cltd): New.
387 (divmodsi4 splitter): Handle the case when input comes in edx.
388 (udivmodhi4): Do not use constraints in exander.
389 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
391 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
393 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
396 1999-11-16 Jakub Jelinek <jakub@redhat.com>
398 * explow.c (hard_function_value): Add outgoing argument.
399 * expr.h (hard_function_value): Declare it.
400 * calls.c (expand_call, emit_library_call_value): Update callers.
401 * function.c (aggregate_value_p): Ditto.
402 (diddle_return_value): Must look at the outgoing registers
403 on archs with register windows.
405 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
407 * alpha.c (alpha_build_va_list): Use make_lang_type and
408 initialize TYPE_NAME for the va_list record.
410 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
412 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
414 * ggc.h (struct ggc_statistics): Rearrange elements for better
415 packing on 64-bit hosts.
416 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
417 (compute_nearerout): Likewise.
419 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
421 * config/rs6000/rs6000.c (first_reg_to_save): Save
422 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
424 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
426 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
427 notion of nesting to find the DIE for a type or function.
428 DIEs can go in limbo even if we got a context_die.
429 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
430 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
432 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
433 (gen_type_die): Writing out the context doesn't cause member class
434 template instantiations to be written out as well.
436 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
438 * rs6000.h (ASM_OUTPUT_DEF): New.
439 Based on proposed addition from David Edelsohn.
441 1999-11-15 Robert Lipe <RobertLipe@usa.net>
442 Bruce Korb <autogen@linuxbox.com>
444 * fixinc/inclhack.def
445 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
446 (unixware7_byteorder_fix): added. Removes conflicts for new defs
448 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
449 (svr4_endian): enabled with SVR5
450 (svr4_mkdev): simplified syntax and enabled with SVR5
452 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
454 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
455 * configure: Rebuilt.
456 * config/t-freebsd-thread: New file.
458 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
460 * i386.c (ix86_decompose_address): Verify the base is a REG
461 before trying to examine its register number.
463 * basic-block.h: Remove all #defines and prototypes related to
465 (free_bb_mem, compute_preds_succs): Remove prototype.
466 * rtl.h (free_bb_mem): Remove prototype.
467 * flow.c (alloc_int_list_node); Remove function.
468 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
469 (compute_preds_succs, free_bb_mem): Likewise.
470 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
471 * toplev.c (rest_of_compilation): Likewise.
472 * haifa-sched.c (build_control_flow): Use flow generated edge
473 list to build the haifa specific edge list.
474 (find_rgns): Use new CFG data structures instead of pred/succ lists.
475 (schedule_insns): Do not build pred/succ lists anymore. Instead
476 build the edge table.
478 * basic-block.h (dump_bb_data): Remove declaration.
479 * flow.c (dump_bb_data): Remove function.
480 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
481 (sbitmap_union_of_predsucc): Likewise.
483 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
484 argument. All callers changed.
485 (delete_null_pointer_checks_1): No longer need to compute the
488 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
490 (pre_expr_reaches_here_p_work): Likewise.
491 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
492 * lcm.c (compute_laterin): Fix initialization of LATER.
493 (compute_nearerout): Similarly for NEARER.
495 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
497 * cse.c (set_nonvarying_address_components): Delete unused function.
498 (refers_to_p): Likewise.
500 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
502 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
505 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
507 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
508 definition in do while (0).
510 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
512 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
514 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
516 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
518 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
520 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
521 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
522 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
523 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
525 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
526 saved on the stack. Output more accurate stack frame statistics
529 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
531 * genextract.c (record_insn_name): New function.
532 (get_insn_name): No longer a stub.
533 (main): Call record_insn_name for each insn. After each label
534 written, print the insn name in a comment.
536 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
538 * output.h (const_section, init_section, fini_section): Add
541 * alpha/elf.h (const_section): Delete declaration.
543 * svr4.h (const_section): Likewise.
545 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
547 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
548 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
549 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
551 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
552 variable-sized array bounds.
554 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
556 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
559 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
561 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
562 addresses the same way GO_IF_LEGITIMATE_INDEX does.
564 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
566 * cse.c (hash_arg_in_struct): Delete.
567 (struct table_elt): Delete elt in_struct.
568 (struct set): Delete elt src_in_struct.
569 (merge_equiv_classes): Don't set either hash_arg_in_struct or
570 the corresponding in_struct elts.
571 (canon_hash): Likewise.
572 (safe_hash): Likewise.
573 (find_best_addr): Likewise.
574 (record_jump_cond): Likewise.
575 (cse_insn): Likewise.
577 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
579 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
581 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
584 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
586 * function.c (diddle_return_value): Put back check that the DECL_RTL
587 for the function is a register.
589 * function.c (diddle_return_value): Use hard_function_value to
590 get an rtx suitable for use in the USE/CLOBBER insn.
592 * global.c (global_conflicts): Update comments.
593 (record_conflicts): No need to record conflicts between pseudos here.
595 1999-11-11 Bruce Korb <autogen@linuxbox.com>
597 * fixinc/fixincl.c: Added verbose levels for status messages
599 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
601 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
602 operand as argument to expand_and or expand_binop.
604 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
606 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
609 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
611 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
613 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
615 * flow.c (compute_flow_dominators): Initially put all blocks on
617 * lcm.c (compute_antinout_edge, compute_available): Similarly.
618 * gcse.c (compute_cprop_avinout): Remove.
619 (compute_cprop_data): Use compute_available.
620 (delete_null_pointer_checks_1): Use compute_available.
622 * basic-block.h (compute_available): Returns a void now.
623 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
624 to return a value anymore.
625 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
626 worklists. Fix boundary cases. Compute maximal solutions.
627 (compute_laterin, compute_nearerout): Similarly.
629 * dwarf2out.c (add_AT_location_description): Allow
630 (mem (plus (pseudo) (...)) too.
632 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
634 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
636 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
637 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
639 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
641 * gansidecl.h: Likewise.
647 * toplev.h: Likewise.
653 * varray.c: Likewise.
655 * varray.h: Likewise.
657 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
659 * gcov.c (struct arcdata): Add hits and total, remove prob.
660 (output_branch_counts): New.
661 (process_args): Set output_branch_counts if -c.
662 (calculate_branch_probs): Store hits and total instead of
664 (output_data): Emit counts if output_branch_counts is true.
665 * gcov.texi (Invoking Gcov): Document -c switch..
667 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
669 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
670 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
672 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
674 * invoke.texi (C Dialect Options): Add missing builtins from
676 * extend.texi (Other Builtins): Copy to this list.
678 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
680 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
681 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
684 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
686 * flow.c (compute_flow_dominators): No longer treat basic block 0
687 or (n_basic_blocks - 1) specially. Clear the AUX field before
688 starting computation of doms/pdoms. Fix initial state for pdoms.
690 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
692 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
693 match rtl.o's: added ggc.h and toplev.h
694 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
695 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
696 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
698 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
700 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
701 from HAVE_DOS_BASED_FILESYSTEM.
702 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
703 HAVE_DOS_BASED_FILESYSTEM.
705 (split_directories): Only special-case DOS file names if
706 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
707 instead of explicit tests. Conditionalize on !VMS.
708 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
709 tests. Conditionalize on !VMS.
710 (process_command): Only use make_relative_prefix if !VMS.
711 (free_split_directories): Conditionalize on !VMS.
712 (DIR_UP): Conditionalize on !VMS.
714 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
716 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
718 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
720 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
723 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
725 * invoke.texi (Environment Variables): Document relative path
727 * gcc.c (DIR_UP): If not defined, define as "..".
728 (standard_bindir_prefix): New static, holds target location to
730 (split_directories): New function to split a filename into
731 component directories.
732 (free_split_directories): New function, release memory allocated
733 by split_directories.
734 (make_relative_prefix): New function, make a relative pathname if
735 the compiler is not in the expected location.
736 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
737 can figure out an appropriate prefix from argv[0].
738 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
739 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
740 STANDARD_BINDIR_PREFIX.
742 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
744 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
746 * config/c4x/c4x.h: Moved prototypes to c4x.h.
747 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
748 c4x_secondary_memory_needed) Delete.
749 (fp_zero_operand): Add mode argument.
751 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
753 * reload1.c (reload_reg_free_for_value_p): Don't use a register
754 that is in reload_reg_used.
756 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
758 * config/arm/arm-protos.h: New file: Prototypes for functions
759 defined in arm.c and pe.c.
760 * config/arm/arm.h: Fix compile time warnings.
761 * config/arm/arm.c: Fix compile time warnings.
762 * config/arm/pe.h: Fix compile time warnings.
763 * config/arm/aout.h: Fix compile time warnings.
765 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
767 * config/m32r/m32r-protos.h: New file: Prototypes for functions
770 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
771 Add support for subtargets.
772 Add prototypes for new predicates.
773 Add scheduling macros.
775 * config/m32r/m32r.c: Fix compile time warnings.
776 (int8_operand): New predicate function.
777 (reg_or_cmp_int16_operand): New predicate function.
778 (extend_operand): New predicate function.
779 (m32r_adjust_code): New scheduling function.
780 (m32r_adjust_priorty): New scheduling function.
781 (m32r_sched_init): New scheduling function.
782 (m32r_sched_reorder): New scheduling function.
783 (m32r_sched_variable_issue): New scheduling function.
784 (direct_return): New codegen function.
785 (m32r_not_same_reg): New rtl testsing function.
787 * config/m32r/m32r.md: Fix compile time warnings.
788 Add support for pre decrement and post increment memory
793 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
795 * global.c (EXECUTE_IF_CONFLICT): Don't define.
796 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
797 (find_reg): Likewise.
799 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
801 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
802 to avoid assembler errors.
804 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
806 * config/v850/v850-protos.h: New file: Prototypes for functions
808 * config/v850/v850.h: Move prototypes to v850-protos.h
809 * config/v850/v850.c: Move prototypes to v850-protos.h
810 * config/v850/v850.md: Fix compile time warnings.
812 * config/fr30/fr30-protos.h: New file: Prototypes for functions
814 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
815 * config/fr30/fr30.c: Fix compile time warnings.
816 * config/fr30/fr30.md: Fix compile time warnings.
818 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
820 * tree.h (get_containing_scope): Declare it.
821 * tree.c (get_containing_scope): New fucntion.
822 (decl_function_context): Use it.
823 * toplev.c (rest_of_compilation): Use get_containing_scope.
825 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
827 * Makefile.in (rtl.o): Depend on toplev.h.
829 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
831 * cse.c (delete_trivially_dead_insns): Replace alloca with
833 * except.c (update_rethrow_references): Likewise.
834 (init_eh_nesting_info): Likewise.
835 * function.c (identify_blocks): Likewise.
836 * gcse.c (dump_hash_table): Likewise.
837 * graph.c (print_rtl_graph_with_bb): Likewise.
838 * loop.c (combine_movables): Likewise.
839 (move_movables): Likewise.
840 (count_loop_regs_set): Likewise.
841 (strength_reduce): Likewise.
842 * profile.c (compute_branch_probabilities): New function, split
844 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
845 * regclass.c (regclass): Likewise.
846 * regmove.c (regmove_optimize): Likewise.
847 * toplev.c (compile_file): Likewise.
848 (main): Don't mess with the stack rlimit.
850 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
852 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
853 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
855 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
857 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
859 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
861 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
862 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
865 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
867 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
869 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
871 * gcse.c (post_dominators): Kill.
872 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
873 (compute_code_hoist_data): Use compute_flow_dominators. Do not
874 pass in a pdom array since we do not need pdoms.
875 * haifa-sched.c (schedule_insns): Similarly.
876 * flow.c (compute_dominators): Remove dead function.
877 (compute_flow_dominators): Do not compute doms or pdoms if the
878 caller does not request them. Split up loop to build doms and
879 pdoms. Use a worklist to compute doms and pdoms.
880 * basic-block.h (compute_dominators): Remove prototype.
882 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
884 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
885 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
886 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
887 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
888 (cant_move, fed_by_spec_load, is_load_insn): Remove.
889 (schedule_region): Remove unused variable.
890 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
892 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
894 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
895 (update_equiv_regs): Likewise.
896 (block_alloc): Likewise.
897 * reg-stack.c (reg_to_stack): Likewise.
898 (convert_regs_2): Likewise.
899 * reload1.c (reload_as_needed): Likewise.
901 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
903 * Makefile.in (dbxout.o): Depend on ggc.h.
904 (dwarf2out.o): Likewise.
905 (xcoffout.o): Likewise.
906 * dbxout.c: Include ggc.h.
907 (dbxout_init): Register lastfile as a root.
908 * dwarf2out.c: Include ggc.h.
909 (dwarf2out_line): Register lastfile as a root.
910 * xcoffout.c: Include ggc.h.
911 (xcoffout_source_line): Register xcoff_lastfile as a root.
913 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
915 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
917 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
919 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
921 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
923 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
925 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
926 (EXECUTE_IF_CONFLICT): Likewise.
927 (ALLOCNO_LIVE_P): Avoid signed division.
928 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
929 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
930 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
932 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
934 * haifa-sched.c (schedule_block): Don't crash if there's no
935 next insn for an interblock movement.
936 (add_branch_dependences): Don't allow clobber insns to move either.
938 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
940 * i386.c (split_xf): New.
941 * i386-protos.h: Declare it.
942 * i386.md (movxf_1): Add general regs alternatives.
943 (movxf_1+1): New splitter for same.
945 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
947 * function.c (purge_addressof_1): Add missing return values.
949 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
951 * function.c (is_addressof): New function. Returns true if
952 the given piece of RTL is an ADDRESSOF.
953 (purge_addressof_1): Make boolean. Return false if the
954 ADDRESSOFs could not be purged.
955 (purge_addressof): If ADDRESSOFs could not be purged from the
956 notes attached to an insn, remove the offending note(s),
957 unless they are attached to a libcall.
959 1999-11-05 Andreas Jaeger <aj@suse.de>
961 * genoutput.c (null_operand =): Initialize all fields.
963 * errors.h: Add extern to prototypes.
965 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
967 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
968 * configure: Rebuilt.
970 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
972 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
973 (mirror_conflicts): New function.
974 (global_alloc): Call it.
975 (expand_preferences): Remove redundant CONFLICTP test.
976 (find_reg, dump_conflicts): Likewise.
977 (prune_preferences): Process conflicts one word at a time.
979 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
981 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
982 instead of an explicit loop.
984 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
986 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
987 if REG_RETVAL check succeeds, then put classp in src_elt.
989 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
991 * function.c (pad_to_arg_alignment): Only update argument_pad
992 if the argument's alignment is greater than STACK_BOUNDARY.
994 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
996 * bitmap.h (BITMAP_XFREE): New.
997 * flow.c (life_analysis): Use it.
998 (life_analysis_1): Free blocks.
1000 * combine.c (undo_commit): New.
1001 (try_combine): Use it. Don't zap undobuf.undos.
1002 (combine_instructions): Don't zap undobuf.undos; free the
1005 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
1007 * stmt.c (cost_table_): New.
1008 (estimate_case_costs): Use it instead of xmalloc.
1010 * toplev.c (compile_file): Reuse dumpname memory instead
1013 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
1015 * reg-stack.c (convert_regs_1): Initialize target_stack->top
1016 after verifying an EH edge.
1018 * haifa-sched.c (init_rgn_data_dependences): Correctly
1019 size bb_pending_lists_length when zeroing.
1021 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
1023 * function.c (diddle_return_value): New.
1024 (expand_function_end): Use it.
1025 * stmt.c (expand_null_return): Likewise.
1026 (expand_value_return): Likewise.
1028 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
1030 * reload1.c (reload): Don't remove return value clobbers.
1032 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
1034 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
1036 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
1038 * cse.c (cse_main): Use xmalloc, not alloca.
1039 (cse_basic_block): Likewise.
1040 * local-alloc.c (local_alloc): Likewise.
1042 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
1043 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1045 * rtl.c: Include toplev.h.
1046 (fatal): Remove declaration.
1048 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
1050 * haifa-sched.c (schedule_block): Fix thinko.
1052 1999-11-03 James McKelvey <mckelvey@fafnir.com>
1054 * fixinc/fixincl.c(create_file): Allow for systems that do not have
1055 S_IR* defined values
1057 1999-11-03 Philippe De Muyter <phdm@macqel.be>
1059 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
1060 call `malloc' instead.
1062 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
1064 * flags.h (flag_renumber_insns): Declare.
1065 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
1067 * rtl.h (renumber_insns): Change prototype.
1068 * toplev.c (flag_renumber_insns): Define.
1069 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
1071 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
1073 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
1074 and fpsqrtd. Use them and create fdiv function unit to more
1075 accurately represent fpu sqrt pipeline semantics on UltraSparc.
1076 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
1078 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
1080 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
1082 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
1083 insn into ready list, do not use just a raw swap.
1085 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
1087 * rtl.h (renumber_insns): New function.
1088 (remove_unnecessary_notes): Likewise.
1089 * emit-rtl.c (renumber_insns): Define.
1090 (remove_unncessary_notes): Likewise.
1091 * toplev.c (rest_of_compilation): Remove dead code.
1092 Use renumber_insns and remove_unncessary_notes.
1094 * gcse.c (struct null_pointer_info): New type.
1095 (get_bitmap_width): New function.
1096 (current_block): Remove.
1097 (nonnull_local): Likewise.
1098 (nonnull_killed): Likewise.
1099 (invalidate_nonnull_info): Take a null_pointer_info as input.
1100 (delete_null_pointer_checks_1): New function.
1101 (delete_null_pointer_checks): Use it.
1103 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
1104 (split_edges): Likewise.
1105 (schedule_block): Likewise.
1106 (compute_block_backward_dependencies): Likewise.
1107 (schedule_region): Likewise.
1108 (schedule_insns): Likewise.
1110 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
1112 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
1113 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
1114 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
1115 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
1116 * jump.c (delete_unreferenced_labels): Don't delete if
1117 LABEL_ALTERNATE_NAME is set.
1118 * print-rtl.c (print_rtx): Dump alternate name.
1119 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
1120 * rtl.h (LABEL_ALTERNATE_NAME): Define.
1121 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
1122 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
1124 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1126 * fix-header.c (recognized_extern, recognized_function): Constify
1129 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
1130 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
1131 (compute_available): Remove unused variable `last'.
1132 (compute_nearerout): Remove unused variable `temp_bitmap'.
1133 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
1134 Remove unused variable `x'.
1136 * scan.h (recognized_function, recognized_extern): Constify a
1139 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
1141 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1143 * varasm.c (decode_rtx_const): Use XSTR to access the string
1146 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
1148 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
1150 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1152 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
1154 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
1156 * pa.c (ireg_operand): New function.
1157 * pa.h (PREDICATE_CODES): Handle ireg_operand.
1158 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
1159 Fix out of date comment.
1161 * pa.md (negdi2): Turn into expander + anonymous pattern.
1163 * reload.c (find_reloads): Fix typos in recent change.
1165 * dwarf2out.c: Do not include ctype.h.
1167 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1169 * regclass.c (record_reg_classes): Always use may_move_cost when
1170 seeing how operand fits with various register classes.
1172 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
1174 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
1175 * toplev.c: Revert Nov 1 13:22 change.
1177 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
1179 * config/pa/pa.md (height reduction patterns): Add checks for
1180 overlapping operands to avoid semantic-destroying splits for
1181 height reduction patterns.
1183 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1185 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
1186 have been an hyphen, fixed.
1187 * configure: Rebuilt.
1189 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
1191 * config/arm/tpe.h: Add prototypes for exported functions.
1192 * config/arm/pe.c: Fix compile time warnings.
1193 * config/arm/semi.h: Fix compile time warnings.
1194 * config/arm/arm.c: Fix compile time warnings.
1195 * config/arm/arm.h: Fix compile time warnings.
1196 * config/arm/arm.md: Fix compile time warnings.
1197 * config/arm/thumb.c: Fix compile time warnings.
1198 * config/arm/thumb.h: Fix compile time warnings.
1199 * config/arm/thumb.md: Fix compile time warnings.
1201 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
1203 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
1206 * unroll.c (unroll_loop): Remove LOOP notes when loop is
1207 completely unrolled.
1209 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1211 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
1213 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
1215 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
1216 * rtl.h (rtx_equal_p): Move prototype.
1217 * rtl.c (rtx_equal_function_value_matters): Move from
1219 (rtx_equal_p): Likewise.
1220 * rtlanal.c (rtx_equal_function_value_matters): Delete.
1221 (rtx_equal_p): Likewise.
1223 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
1225 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
1228 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
1230 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
1232 * pa.h (ADDR_VEC_ALIGN): Define.
1234 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
1235 notes when presented with "if (foo) break; end_of_loop" and
1236 the break sequence gets moved out of the loop.
1238 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
1239 Remove explicit zero initializations of entries within MAP.
1241 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
1243 * reg-stack.c (convert_regs_1): Handle EH edges specially.
1245 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
1247 * bitmap.h (BITMAP_XMALLOC): New macro.
1248 * flow.c (CLEAN_ALLOCA): Remove.
1249 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
1250 (life_analysis): Likewise.
1251 (update_life_info): Don't use CLEAN_ALLOCA.
1252 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
1253 (calculate_global_regs_live): Likewise.
1254 (print_rtl_with_bb): Likewise.
1255 (verify_flow_info): Likewise.
1256 * global.c (global_alloc): Likewise.
1257 (global_conflicts): Likewise.
1258 * integrate.c (save_for_inline_nocopy): Likewise.
1259 (expand_inline_function): Likewise.
1260 * jump.c (jump_optimize_1): Likewise.
1261 (duplicate_loop_exit_test): Likewise.
1262 (thread_jumps): Likewise.
1263 * loop.c (loop_optimize): Likewise.
1264 (combine_givs): Likewise.
1265 (recombine_givs): Likewise.
1266 * reorg.c (dbr_schedule): Likewise.
1267 * unroll.c (unroll_loop): Likewise.
1269 * combine.c (combine_instructions): Use xmalloc instead of alloca.
1271 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
1273 * toplev.c (rest_of_compilation): Don't optimize the CFG
1274 when rebuilding, just before dbr.
1276 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1278 * output.h (assemble_end_function, assemble_destructor,
1279 assemble_constructor, assemble_gc_entry, assemble_global,
1280 assemble_label, output_constant_pool) Constify a char*.
1282 * varasm.c (assemble_destructor, assemble_constructor,
1283 assemble_gc_entry, assemble_end_function, assemble_global,
1284 assemble_label, output_constant_pool): Likewise.
1286 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
1288 * config/arm/thumb.c (thumb_expand_prologue): Add comments
1289 explaining what is goin on in this function.
1291 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1293 * regclass.c (record_reg_classes): In matching case, recompute
1294 costs since the direction of movement is different.
1296 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
1298 * resource.c (mark_target_live_regs): For unconditional branches,
1299 the resources found at the branch target should be added to the
1300 resources found so far, not intersected.
1302 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
1304 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
1306 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
1307 (sys/mman.h): Include this file only if #HAVE_MMAP.
1308 (run_compiles): Initialize `esac_fmt' with one old KR string, not
1309 with automatically concatenated ANSI strings.
1311 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
1313 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
1314 (DIV_ROUND_UP): Robustify.
1315 (ggc_recalculate_in_use_p): New function.
1316 (release_pages): Don't inline it.
1317 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
1319 (ggc_pop_context): Use ggc_recalculate_in_use_p.
1320 (clear_marks): Always save in_use_p.
1321 (sweep_pages): Use ggc_recalculate_in_use_p.
1322 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
1323 Release pages before counting statistics.
1325 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
1327 * toplev.c (rest_of_compilation): Fix thinko in this change:
1329 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
1331 (rest_of_compilation): If inside an inlined external function,
1332 pretend we are just being declared.
1334 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
1336 * flow.c (calculate_global_regs_live): Fix thinko.
1338 * integrate.c (expand_inline_function): Fix bugs in previous
1339 change from Oct 28, 1999.
1341 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
1343 * stmt.c (expand_value_return): Fix typo in this change:
1345 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1346 (expand_value_return): Correctly convert VAL when promoting function
1347 return; support RETURN_REG being a PARALLEL.
1349 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
1351 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
1353 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1355 * hard-reg-set.h (reg_names): Constify a char*.
1357 * regclass.c (reg_names): Likewise.
1359 * regs.h (reg_names): Likewise
1361 * a29k/a29k.c (reg_names): Delete declaration.
1363 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
1365 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
1366 arc_output_function_epilogue): Likewise.
1368 * elxsi/elxsi.c (reg_names): Likewise.
1370 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
1372 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
1375 * m88k/m88k.c (output_function_profiler): Likewise.
1377 * sparc/sparc.c (sparc_flat_output_function_prologue,
1378 sparc_flat_output_function_epilogue): Likewise.
1380 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
1382 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
1383 warning from -Wuninitialized and put it under -W.
1384 * function.c (uninitialized_vars_warning): Warn only when the
1385 corresponding flag is set.
1387 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
1389 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
1390 is nonzero and the single set does not have an elt, then assign
1393 * simplify-rtx.c: New file.
1394 * Makefile.in (OBJS): Add simplify-rtx.o
1395 (simplify-rtx.o): Add dependencies.
1396 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
1397 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
1398 (cse_gen_binary, simplify_unary_operation): Delete.
1399 (simplify_binary_operation, simplify_plus_minus): Likewise.
1400 (check_fold_consts, simplify_relation_operation): Likewise.
1401 (simplify_ternary_operation): Likewise.
1402 (delete_trivially_dead_insns): Simplify the contents of the
1403 REG_EQUAL note before trying to substitute it into the source
1404 of the reg-reg copy at the end of a libcall sequence.
1406 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
1407 references/callers changed.
1409 * mn10200.c (mn10200_va_arg): Force the return value into a
1412 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
1414 * cccp.c (macroexpand): Avoid out of range accesses for omitted
1417 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
1419 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
1421 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
1423 * fold-const.c (fold): Fix thinko when optimizing comparisons
1426 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
1428 * gcc.texi (Passes): Update front-end files to their current
1431 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
1433 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
1434 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
1435 (PREDICATE_CODES): Add addition_operation.
1436 * alpha-protos.h (addition_operation): Declare.
1437 (secondary_reload_class): Likewise.
1438 * alpha.c (addition_operation): New.
1439 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
1440 * alpha.md (adddi3): Turn into expander.
1441 (*lda, *adddi_2): New.
1442 (movsf, movdf patterns): Don't preference integer regs.
1443 (movsi, movdi patterns): Don't preference fp regs.
1445 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
1447 * genrecog.c (write_switch): Check for duplicate CODE cases.
1449 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
1451 * ggc-common.c: Update pre-function commentary.
1452 * ggc-page.c: Likewise.
1454 (poison_pages): Use memset directly.
1455 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
1456 (ggc_collect): Poison before sweeping.
1457 * ggc-simple.c: Update pre-function commentary.
1458 (ggc_alloc_obj): Poison non-zeroed memory.
1460 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
1462 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
1463 match format string, even on 64-bit hosts.
1464 * gcc-page.c (ggc_page_print_statistics): Likewise.
1466 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
1468 * config/i386/i386.c (ix86_cpu): Revert last patch.
1469 * config/i386/i386.h (ix86_cpu): Ditto.
1471 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
1473 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
1474 TYPE_SIZE, convert type of result to sizetype.
1476 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
1478 * flow.c (count_or_remove_death_notes): Equate NULL with the
1481 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
1482 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
1485 * i386.c (pic_label_no): Delete.
1486 (ix86_attr_length_default): Don't use single_set to peek
1489 * recog.c (peephole2_optimize): Allow recog_next_insn to index
1490 the first insn after bb->end.
1491 * i386.md (push mem peeps): Scratch is live after evaluation
1493 (cmp mem peep): Similarly.
1495 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
1497 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
1498 * function.c (pad_to_arg_alignment): Add missing braces.
1500 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1502 * alpha/alpha-protos.h (literal_section): Add prototype.
1503 (alpha_need_linkage, alpha_start_function,alpha_end_function):
1506 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
1508 (alpha_start_function, alpha_end_function, float_strings,
1509 alpha_need_linkage): Constify a char*
1511 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
1513 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
1515 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1517 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
1519 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1521 * flow.c (debug_flow_info): Add prototype.
1523 * gcc.c (main): Likewise.
1525 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
1528 * reload1.c (failed_reload, set_reload_reg): Likewise.
1530 * mips-tfile.c (main): Likewise.
1531 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
1532 with ATTRIBUTE_NORETURN.
1534 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
1536 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
1537 DECL is not a memory ref.
1539 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
1541 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
1542 * config/i386/i386.c (ix86_cpu): Add extern attribute.
1544 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
1546 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
1547 * config/mips/elf64.h: ditto.
1549 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
1551 * expr.c (emit_push_insn): New argument alignment_pad.
1552 Update all callers. Adjust stack pointer based on alignment pad.
1553 * function.c (pad_to_arg_alignment): New argument alignment_pad.
1554 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
1555 (locate_and_pad_parm): New argument alignment_pad. Update all
1557 * expr.h (emit_push_insn): Update prototype.
1558 (locate_and_pad_parm): Update prototype.
1559 * calls.c (arg_data): Add new field alignment_pad.
1560 (initialize_argument_information): Initialize alignment_pad.
1562 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
1564 * except.c (free_eh_nesting_info): Free the info itself.
1565 * function.c (free_after_compilation): Don't free NULL.
1566 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
1567 (pre_edge_insert): Free inserted.
1568 * stmt.c (free_stmt_status): Don't free NULL.
1570 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
1572 * gcov.c (DIR_SEPARATOR): Provide default.
1573 (output_data): Add test for MS-DOS format absolute filename.
1574 (fancy_abort): Correct program name.
1575 (open_files): Open all files in binary mode.
1576 * libgcc2.c (__bb_exit_func): Likewise.
1578 * profile.c (init_branch_prob): Specify binary when opening files.
1580 * flags.h (flag_unwind_tables): New decl.
1581 * toplev.c (flag_unwind_table): New definition.
1582 (f_options): Add -funwind-tables.
1583 (decode_g_option): Clarify warning when unknown -g option is given.
1584 (rest_of_compilation): If inside an inlined external function,
1585 pretend we are just being declared.
1587 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
1588 (dwarf2out_frame_finish): Likewise.
1590 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
1592 * fold-const.c (merge_ranges): In not in0, but in1, handle
1593 upper bounds equal like subset case.
1595 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
1597 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
1598 passed in a register but moved to the stack.
1600 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
1602 * gcc.c (pass_exit_codes, greatest_status): New variables.
1603 (struct option_map): Add entry for "--pass-exit-codes".
1604 (execute): Update greatest_status if error.
1605 (display_help): Add documentation for -pass-exit-codes.
1606 (process_command): Handle -pass-exit-codes.
1607 (main): Look at pass_exit_codes and greatest_status on call to exit.
1609 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1611 * reload.c (find_reloads): Refine test for no input reload
1612 case to not includes reloads emitted after insn.
1614 * function.c (find_temp_slots_from_address): Handle sum involving
1615 a register that points to a temp slot.
1616 (update_temp_slot_address): Make recursive call if both old and
1617 new are PLUS with a common operand.
1618 * calls.c (expand_call): Mark temp slot for result as having
1621 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
1623 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
1624 component as well as "BINUTILS".
1626 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
1627 * integrate.c (copy_rtx_and_substitute): Likewise.
1628 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
1629 All callers changed.
1630 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
1632 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
1633 gdb extensions, write size of type; also be more consistent
1634 in using references when this is a subtype.
1636 * pa.md (extv, extzv, insv): Use define_expand to reject constant
1637 that is out of range.
1639 * loop.c (unknown_constant_address_altered): New variable.
1640 (prescan_loop): Initialize it.
1641 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
1642 (invariant_p, case MEM): Remove handling for volatile and readony;
1643 check new variable if readonly.
1644 (check_dbra_loop): Chdeck unknown_constant_address_altered.
1646 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
1647 (addr_affects_sp_p): Removed from note_mem_written and only
1648 define #ifdef AUTO_INC_DEC.
1650 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
1652 * regclass.c (record_reg_classes): Properly handle register move
1655 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
1656 Don't think valid if both operands are invalid.
1657 (struct constant_descriptor): New field RTL.
1658 (mark_const_hash_entry): Mark it.
1659 (record_constant{,_rtx}): Initialize it.
1660 (output_constant_def): Allocate RTL in permanent obstack and
1662 ({record,compare}_constant_1): Modes must match for
1663 CONSTRUCTOR of ARRAY_TYPE.
1665 * c-common.h (initializer_constant_valid_p): Delete decl from here.
1666 * output.h (initializer_constant_valid_p): Move decl to here.
1667 * c-common.c (initializer_constant_valid_p): Delete function from here.
1668 * varasm.c (initializer_constant_valid_p): Move function to here.
1670 * tree.h (STRIP_SIGN_NOPS): New macro.
1671 * fold-const.c (optimize_minmax_comparison): New function.
1672 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
1673 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
1674 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
1675 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
1676 widening conversions.
1677 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
1678 to look at size of mode, not precision of type; also add missing cases.
1679 (optimize_bit_field_compare, decode_field_reference): Don't try to
1680 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
1682 * dwarf2out.c (ctype.h): Include.
1683 (dwarf2out_set_demangle_name_func): New function.
1684 (size_of_line_info): Deleted.
1685 (output_line_info): Compute size of line info table from difference
1687 (base_type_die, add_name_attribute): Call demangle function, if any.
1688 (field_byte_offset): Use bits per word for variable length fields.
1689 (gen_array_type_die): Add array name.
1690 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
1691 (dwarf2out_add_library_unit_info): New function.
1693 * explow.c (set_stack_check_libfunc): New function.
1694 (stack_check_libfunc): New static variable.
1695 (probe_stack_range): Allow front-end to set up a libfunc to call.
1697 * combine.c (simplify_comparison): When making comparison in wider
1698 mode, check for having commuted an AND and a SUBREG.
1699 (contains_muldiv): New function.
1700 (try_combine): Call it when dividing a PARALLEL.
1701 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
1702 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
1704 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
1705 use one of the CLOBBERs instead.
1706 (if_then_else_cond): If comparing against zero, just return thing
1709 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
1710 Don't generate shifts and subtract if have conditional arithmetic.
1712 * rtl.h (delete_barrier): New declaration.
1713 * jump.c (jump_optimize): Set up to handle conditional call.
1714 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
1715 (delete_barrier): New function.
1717 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
1719 * recog.c (nonmemory_operand): Accept ADDRESSOF.
1721 * tree.c (build_type_attribute_variant): Push to obstack of
1722 ttype around type_hash_canon call.
1724 * expr.c (placeholder_list): Move decl to file scope.
1725 (expand_expr): Don't force access to volatile just because its
1727 If ignoring reference operations, just expand the operands.
1728 (expand_expr, case COMPONENT_REF): Propagate
1729 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
1730 Refine test for using bitfield operations vs pointer punning.
1731 (expand_expr, case CONVERT_EXPR): If converting to
1732 BLKmode UNION_TYPE from BLKmode, just return inner object.
1733 Use proper mode in store_field call.
1734 Properly set sizes of object to store and total size in store_field
1735 call for convert to union.
1736 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
1737 memory (like for ADDR_EXPR). Also, don't put constant in register if
1738 we'll want it in memory.
1739 (readonly_fields_p): New function.
1740 (expand_expr, case INDIRECT_REF): Call it if LHS.
1741 (expand_assignment): Handle a RESULT_DECL where
1742 DECL_RTL is a PARALLEL.
1743 (do_jump, case WITH_RECORD_EXPR): New case.
1744 (get_inner_reference): Always go inside a CONVERT_EXPR
1745 and NOP_EXPR if both modes are the same.
1746 (store_field): Use bitfield operations if size of bitsize is not same
1747 as size of RHS's type.
1748 Check for bitpos not a multiple of alignment in BLKmode case.
1749 Do block move in largest possible alignment.
1750 (store_constructor): Set BITSIZE to -1 for variable size and properly
1751 in case of array of BLKmode.
1752 (expand_expr_unaligned): New function.
1753 (do_compare_and_jump): Call it.
1755 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
1756 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
1757 does not include 'o'.
1759 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
1760 both SET_DEST and SET_SRC reference a virtual register.
1761 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
1763 * integrate.c (expand_inline_function): Handle case of setting
1764 virtual stack vars register (from built in setjmp); when parameter
1765 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
1766 (subst_constant): Add new parm, MEMONLY.
1767 (expand_inline_function, integrate_parm_decls): Pass new parm.
1768 (integrate_decl_tree): Likewise.
1769 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
1770 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
1771 (copy_rtx_and_substitute, case SET): Add explicit calls to
1772 copy_rtx_and_substitute for both sides.
1774 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
1776 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
1777 within INDEX_TYPE, instead of before.
1778 (fixup_gotos): Use f->target_rtl, not the next insn,
1779 since latter may be from a later fixup.
1780 (expand_value_return): Correctly convert VAL when promoting function
1781 return; support RETURN_REG being a PARALLEL.
1782 (expand_return): When checking for result in regs and having
1783 cleanup, consider PARALLEL in DECL_RTL as being in regs.
1785 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
1787 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
1788 last_nominal_fname): Mark const.
1789 (struct include_hash: name, nshort, control_macro): Mark
1791 (struct macrodef: symnam): Mark const.
1792 (struct if_stack: fname): Mark const.
1793 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
1794 (IStable): New character-syntax array which encompasses all
1795 the old is_foo arrays.
1796 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
1797 is_space): New macros for interrogating IStable.
1798 (check_macro_name): Kill last argument. All callers changed.
1800 * cppinit.c (initialize_char_syntax): Delete.
1801 (is_idchar, is_idstart, is_hor_space, is_space,
1802 trigraph_table): Delete.
1803 (IStable): New. Initialize with clever macros to avoid
1804 information duplication.
1805 (builtin_array): Table of builtins to get rid of explicit list
1806 in initialize_builtins.
1807 (initialize_builtins): Use builtins_array.
1808 (cpp_start_read): Call init_IStable, and set IStable['$'] if
1809 opts->dollars_in_ident.
1811 * cppexp.c: Change all refs to is_xyz[] arrays to use new
1813 (cpp_parse_expr): Avoid 'format string is not constant'
1814 warning. Use ISGRAPH to identify printable chars.
1815 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
1817 (read_and_prescan): Map trigraphs to chars with open-coded
1818 if-else-if-... sequence, not a lookup table.
1819 * cpphash.c: Change all refs to is_xyz[] arrays to use new
1821 * cpplib.c: Change all refs to is_xyz[] arrays to use new
1822 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
1823 (check_macro_name): Remove ability to report an invalid
1824 assertion name, which is never used.
1825 (do_line): Constify a couple of char *'s.
1826 * cppmain.c (main): Call cpp_cleanup before returning.
1828 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
1830 * ggc.h (struct ggc_statistics): New type.
1831 (ggc_get_size): New function.
1832 (ggc_print_statistics): Likewise.
1833 * ggc-common.c (ggc_stats): New variable.
1834 (ggc_mark_rtx_children): Keep statistics.
1835 (ggc_mark_tree_children): Likewise.
1836 (ggc_print_statistics): New function.
1837 * ggc-page.c (struct globals): Add bytes_mapped field.
1838 (alloc_anon): Update it.
1839 (release_pages): Likewise.
1840 (ggc_get_size): New function.
1841 (ggc_page_print_statistics): New function.
1842 * ggc-simple.c (ggc_get_size): New function.
1844 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
1846 * flow.c (propagate_block): When the last reference to a label
1847 before an ADDR_VEC is deleted because the reference is a dead
1848 store, delete the ADDR_VEC.
1850 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
1852 * resource.c (find_free_register): Don't use the frame pointer
1853 if frame_pointer_needed.
1855 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
1857 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
1858 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
1860 * config/i960/i960.c (i960_va_start): New locals base, num.
1861 Use INDIRECT_REF instead of ARRAY_REF on valist.
1862 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
1864 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
1866 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
1868 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
1870 * tree.def (PLACEHOLDER_EXPR): Update comments.
1872 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1874 * c-common.c (check_format_info): Avoid non-literal format string
1875 warnings when `first_arg_num' is zero.
1877 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1879 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
1881 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
1883 * arm.md (casesi_insn): Add a clobber of the condition code
1886 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
1888 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
1889 used by both cc1 and cc1plus.
1891 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
1893 * config/arm/arm.c: Initialise arm_structure_size_boundary to
1894 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
1895 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
1896 to the value 32 if it has not already been defined.
1897 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
1898 Override definition in arm.h with a value of 8.
1900 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
1902 * c-pragma.c (push_alignment): Don't check the return value
1905 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
1907 * sparc.h (ADJUST_COST): Fix thinko.
1909 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
1911 * cccp.c (rescan): Fixed obp pointer handling around call to
1912 check_expand subroutine.
1914 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
1916 * gcse.c (delete_null_pointer_checks): Only record non-null info
1917 for pseudos when examining stores.
1919 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
1920 splitters for these patterns. Use "#" for output templates.
1921 (addsi3_carryin_shift): New pattern.
1923 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
1925 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
1926 of the function return register into a plain REG until
1927 after function inlining is done.
1929 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
1931 * jump.c (jump_optimize_1): If we did cross-jumping, and
1932 the data will matter, rebuild the CFG.
1933 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
1934 not optimizing. Don't run shorten_branches.
1935 * toplev.c (rest_of_compilation): Run shorten_branches after
1938 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
1940 * rtl.h (note_stores): Add additional paramter.
1941 * rtlanal.c (reg_set_p_1): Take additional paramter.
1942 (reg_set_last_1): Likewise.
1943 (reg_set_p): Adjust call to note_stores.
1944 (reg_set_last): Likewise.
1945 (note_stores): Pass data parameter to worker function.
1946 * alias.c (record_set): Take additional parameter.
1947 (init_alias_analysis): Pass it.
1948 * caller-save.c (mark_set_regs): Take additional parameter.
1949 (save_call_clobbered_regs): Pass NULL to note_stores.
1950 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
1952 (record_dead_and_set_regs_1): Likewise.
1953 (reg_dead_at_p_1): Likewise.
1954 (combine_instructions): Adjust calls to note_stores.
1955 (try_combine): Likewise.
1956 (record_dead_insn): Remove.
1957 (record_dead_and_set_regs): Adjust calls to note_stores.
1958 (reg_dead_at_p): Likewise.
1959 * cse.c (invalidate_skipped_set): Take additional parameter.
1960 (cse_check_loop_start): Likewise.
1961 (cse_check_loop_start_value): Remove.
1962 (cse_set_around_loop): Adjust calls to note_stores.
1963 * flow.c (notice_stack_pointer_modification): Take additional
1964 parameter. Remove duplicate declaration.
1965 (record_volatile_insns): Adjust calls to note_stores.
1966 * gcse.c (record_set_info): Take additional parameter.
1967 (record_last_set_info): Likewise.
1968 (invalidate_nonnull_info): Likewise.
1969 (record_set_insn): Remove.
1970 (compute_sets): Adjust calls to note_stores.
1971 (last_set_insn): Remove.
1972 (compute_hash_table): Adjust calls to note_stores.
1973 (insert_insn_end_bb): Likewise.
1974 (delete_null_pointer_checks): Likewise.
1975 * global.c (mark_reg_store): Take additional parameter.
1976 (mark_reg_clobber): Likewise.
1977 (reg_becomes_live): Likewise.
1978 (global_conflicts): Adjust calls to note_stores.
1979 (build_insn_chain): Likewise.
1980 * integrate.c (note_modified_parmregs): Take additional parameter.
1981 (mark_stores): Likewise. Make it static.
1982 (save_for_inline_nocopy): Adjust calls to note_stores.
1983 (try_constants): Likewise.
1984 * integrate.h (mark_stores): Remove declaration.
1985 * jump.c (mark_modified_reg): Take additional parameter.
1986 (thread_jumps): Adjust calls to note_stores.
1987 * local-alloc.c (validate_equiv_mem_from_store): Take additional
1989 (no_equiv): Likewise.
1990 (reg_is_set): Likewise.
1991 (validate_equiv_mem): Adjust calls to note_stores.
1992 (update_equiv_regs): Likewise.
1993 (block_alloc): Likewise.
1994 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
1995 (note_addr_stored): Take additional parameter.
1996 (note_set_pseudo_multiple_uses): Likewise.
1997 (record_initial): Likewise.
1998 (prescan_loop): Adjust calls to note_stores.
1999 (strength_reduce): Likewise.
2000 (check_dbra_loop): Likewise.
2001 * regmove.c (flags_set_1): Take additional paramter.
2002 (mark_flags_life_zones): Adjust calls to note_stores.
2003 * reload1.c (mark_not_eliminable): Take additional parameter.
2004 (forget_old_reloads_1): Likewise.
2005 (reload_cse_invalidate_rtx): Likewise.
2006 (reload_cse_check_clobber): Likewise.
2007 (reload_combine_note_store): Likewise.
2008 (move2add_note_store): Likewise.
2009 (reload): Adjust calls to note_stores.
2010 (reload_as_needed): Likewise.
2011 (emit_reload_insns): Likewise.
2012 (reload_cse_regs_1): Likewise.
2013 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
2014 (reload_combine): Adjust calls to note_stores.
2015 * resource.c (update_live_status): Take additional paramter.
2016 (mark_target_live_regs): Adjust calls to note_stores.
2017 * stupid.c (find_clobbered_regs): Take additional parameter.
2018 (stupid_life_analysis): Adjust calls to note_stores.
2020 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
2022 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
2025 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
2028 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
2029 of the variable arm_structure_size_boundary.
2031 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
2033 * alias.c (init_alias_analysis): Allocate reg_known_value and
2034 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
2036 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
2037 * cse.c (cse_main): Call end_alias_analysis.
2038 * haifa-sched.c (schedule_insns): Likewise.
2039 * local-alloc. (update_equiv_regs): Likewise.
2040 * reload1.c (reload_cse_regs): Likewise.
2042 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2044 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
2045 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
2046 mapping from MASK_FPU.
2048 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
2050 * sparc.md (call): Don't bound structure return size to 0xfff.
2052 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
2054 * resource.c (mark_target_live_regs): Check that the target
2055 insn wasn't created after compute_bb_for_insn.
2057 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
2059 * ggc-page.c (poison_pages): Don't be overzealous.
2061 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
2063 * alias.c: Update comments for ADDRESS.
2064 (nonlocal_reference_p): Look inside the ADDRESS to determine if
2065 it is a local memory reference.
2067 * c-typeck.c (build_function_call): Check that the built-in
2068 function is of class BUILT_IN_NORMAL before trying to recongize
2070 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
2071 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
2073 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
2075 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
2077 (pre_gcse): Likewise.
2078 (hoist_expr_reaches_here_p): Likewise.
2079 (hoist_code): Likewise.
2080 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
2082 (pre_expr_reaches_here_p_work): ... here.
2083 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
2085 (expr_reaches_here_p_work): ... here.
2087 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
2089 * resource.c (find_basic_block): Delete.
2090 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
2091 (init_resource_info): Call compute_bb_for_insn.
2093 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
2095 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
2096 with already adjacent blocks, but no fallthru.
2097 (merge_blocks_move_successor_nojumps): Simplify.
2098 (debug_flow_info): New.
2100 * toplev.c (rest_of_compilation): Open jump1 dump file before
2101 jump and close after, as opposed to just using dump_rtl.
2103 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2105 * reload.h (earlyclobber_operand_p): Declare.
2106 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
2107 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
2108 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
2109 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
2111 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
2112 Richard Henderson <rth@cygnus.com>
2114 * emit-rtl.c (emit_block_insn_before): New.
2115 (emit_block_insn_after): New.
2116 * basic-block.h: Declare them.
2118 * bitmap.h: Protect from multiple inclusion.
2120 * recog.c (scratch_operand): Handle VOIDmode correctly.
2122 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
2124 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
2125 * function.c (assign_parms): Likewise.
2126 * global.c (global_conflicts): Clarify STACK_REGS commentary.
2128 * reg-stack.c (max_uid): Remove.
2129 (blocks, block_begin, block_end, block_drops_in): Remove.
2130 (block_stack_in, block_out_reg_set, block_number): Remove.
2131 (struct block_info_def, BLOCK_INFO): New.
2132 (enum emit_where): New.
2133 (current_block): New.
2134 (BLOCK_NUM): Remove.
2135 (mark_regs_pat, record_label_references): Remove.
2136 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
2138 (goto_block_pat, print_blocks, dump_stack_info): Remove.
2139 (reg_to_stack): Simplified test for existance of fp code. Use
2140 flow.c code. Call shorten_branches after cross-jump opt.
2141 (check_asm_stack_operands): Renamed from record_asm_reg_life.
2142 Return false if the asm doesn't use stack regs. Don't do life
2143 analysis on the asm.
2144 (emit_pop_insn): Replace function pointer arg `when' with
2145 enum `where'. Update all callers.
2146 (change_stack): Likewise. Update basic block end.
2147 (emit_swap_insn): Use current_block->head to limit reverse search
2148 for start of block. Use emit_block_insn_after.
2149 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
2150 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
2151 structure assignment instead of bcopy.
2153 (convert_regs_entry, convert_regs_exit): New.
2154 (convert_regs_1, convert_regs_2): Split out from convert_regs.
2155 Work on basic blocks and the CFG.
2156 (convert_regs): Use them.
2158 * i386.c (output_fix_trunc): Remove code for DImode input operand
2159 not at top-of-stack.
2160 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
2162 (fix_truncdi_1): Allow any mode scratch.
2164 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
2166 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
2167 * linux.h, netbsd.h, vms.h: Not here.
2169 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
2171 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
2172 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
2173 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
2174 CONDITIONAL_REGISTER_USEAGE): Use them.
2175 * config/mips/mips.c (mips_move_1word,mips_move_2words,
2176 gen_conditional_branch,override_options) : Use them.
2177 * config/mips/mips.md : Use them.
2179 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
2181 * i386.md (zero_extendqihi2): Use SImode register name with andl.
2183 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
2185 * integrate.c (function_cannot_inline_p): Don't allow inlining
2188 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2190 * c-parse.in (cast_expr): Constify.
2192 * cccp.c (special_symbol): Likewise.
2194 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
2196 * dwarf2out.c (base_type_die): Likewise.
2198 * global.c (allocno_compare): Likewise.
2200 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
2202 * regclass.c (fix_register): Likewise.
2204 * rtl.h (fix_register): Likewise.
2206 * stupid.c (stupid_reg_compare): Likewise.
2208 * toplev.c (decode_f_option): Likewise.
2210 * tree.c (build_complex_type): Likewise.
2212 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
2214 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
2216 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2218 * reload.c (find_reloads): Compute mode and nregs fields of all
2220 * reload1.c (calculate_needs_all_insns): Simplify a bit.
2221 (calculate_needs): Use precomputed mode/nregs values.
2222 (allocate_reload_reg): Likewise.
2224 (failed_reload, set_reload_reg): ... new functions.
2225 (choose_reload_regs_init): New function, mostly broken out from...
2226 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
2227 Also lose one #if 0 block.
2229 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
2231 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
2234 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
2236 * tree.h (BLOCK_TYPE_TAGS): Remove.
2237 (BLOCK_END_NOTE): Likewise.
2238 (BLOCK_LIVE_RANGE_FLAG): Likewise.
2239 (BLOCK_LIVE_RANGE_START): Likewise.
2240 (BLOCK_LIVE_RANGE_END): Likewise.
2241 (tree_block): Remove live_range_flag, live_range_var_flag, and
2242 type_tags. Remove end_note, live_range_start, and live_range_end.
2243 (remember_end_note): Remove prototype.
2244 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
2245 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
2247 * ggc-common.c (ggc_mark_tree_children): Don't mark
2248 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
2249 * integrate.c (adjust_copied_decl_tree): Remove.
2250 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
2251 * stmt.c (last_block_end_note): Remove.
2252 (init_stmt): Don't add a GC root for it.
2253 (expand_fixup): Don't set it.
2254 (remember_end_note): Remove.
2255 (expand_end_bindings): Don't set last_block_end_note.
2257 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2259 * reload1.c (reload_reg_free_for_value_p): Show
2260 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
2263 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
2265 * expmed.c (extract_bit_field): Allow for the case of non-integer
2266 objects that are smaller than a word (like SFmode on a 64-bit
2269 * loop.c (basic_induction_var): A non-integer variable which is
2270 being set by a paradoxical subreg is probably not a biv.
2272 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2274 * prefix.c (translate_name) Check for empty prefix string.
2276 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
2278 * Makefile.in (CPP_CROSS_NAME): New variable.
2279 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
2281 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
2282 names of the files to be uninstalled.
2284 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
2286 * collect2.c (IS_DIR_SEPARATOR): Define.
2287 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
2289 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
2292 * haifa-sched.c (add_dependence): Update the true dependency
2293 cache the first time we add a true dependence to the LOG_LINKS chain.
2295 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
2297 * fold-const.c (fold): Fix comment.
2299 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2301 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
2302 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
2303 dbxout_start_new_source_file, dbxout_source_file,
2304 dbxout_source_line, dbxout_finish, dbxout_type_fields,
2305 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
2307 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
2308 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
2309 (dbxout_block): Initialize variable `blocknum'.
2311 * dbxout.h (dbxout_init, dbxout_finish,
2312 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
2313 dbxout_args, dbxout_source_line): Constify a char*.
2315 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
2316 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
2317 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
2318 low_pc_attribute, high_pc_attribute, body_begin_attribute,
2319 body_end_attribute, comp_dir_attribute, sf_names_attribute,
2320 src_info_attribute, mac_info_attribute, producer_attribute,
2321 lookup_filename, generate_macinfo_entry, fundamental_type_code,
2322 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
2323 dwarfout_undef): Constify a char*.
2324 (add_incomplete_type, retry_incomplete_types): Add prototypes.
2326 * dwarfout.h (dwarfout_define, dwarfout_undef,
2327 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
2329 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
2331 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
2332 (MULTILIB_ISA_DEFAULT): New.
2333 (MULTILIB_DEFAULTS): Use it.
2334 * config/mips/mips.c (): Remove the now unnecessary definition
2335 of MIPS_ISA_DEFAULT.
2336 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
2337 unnecessary definition.
2339 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
2341 * arm.md (pic_load_addr): Add constraints to operand 1.
2343 1999-10-25 Bruce Korb <autogen@linuxbox.com>
2345 * fixinc/genfixes: Provide a means for specifying -D options to
2348 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
2350 * arm.c (arm_override_options): Correct initialization of
2351 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
2352 arm_is_strong, and arm_is_6_or_7.
2354 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
2355 (note_set_pseudo_multiple_uses): New function.
2356 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
2357 if a pseudo set in the loop exit is used elsewhere.
2359 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
2361 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
2363 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
2365 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
2366 a single load-address pattern.
2368 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
2370 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
2371 depending on whether or not line-number notes are present.
2373 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2375 * cccp.c (progname, file_buf, default_include, include_file,
2376 macrodef, definition, hashval, wchar_type, user_label_prefix,
2377 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
2378 expand_to_temp_buffer, is_system_include, base_name,
2379 absolute_filename, read_name_map, open_include_file,
2380 record_control_macro, check_precompiled, check_preconditions,
2381 pcfinclude, pass_thru_directive, create_definition,
2382 check_macro_name, comp_def_part, collect_expansion,
2383 check_assertion, read_token_list, assertion_install,
2384 assertion_lookup, eval_if_expression, conditional_skip,
2385 validate_else, skip_quoted_string, quote_string, macarg1,
2386 error_from_errno, install, lookup, hashf, dump_defn_1,
2387 perror_with_name, pfatal_with_name, main, trigraph_pcp,
2388 check_white_space, rescan, handle_directive, monthnames,
2389 special_symbol, do_include, remap_include_file, write_output,
2390 arglist, do_assert, do_unassert, do_line, do_error, do_once,
2391 do_ident, do_sccs, do_xifdef, skip_if_group,
2392 output_line_directive, macroexpand, macarg, change_newlines,
2393 initialize_builtins, make_definition): Constify a char*.
2395 * pcp.h (stringdef): Likewise.
2397 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
2399 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
2402 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
2403 Richard Henderson <rth@cygnus.com>
2405 * alias.c: Include ggc.h.
2406 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
2407 (record_set): Verify enough room in reg_base_value.
2408 (init_alias_analysis): Allocate reg_base_value with xcalloc.
2409 Register it as a GC root.
2410 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
2411 * Makefile.in (alias.o): Depend on ggc.h.
2413 * unroll.c (unroll_loop): Verify the insn before a barrier
2414 is a JUMP_INSN before checking JUMP_LABEL.
2416 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2418 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
2419 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
2420 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
2421 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
2422 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
2423 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
2425 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2427 * output.h (ctors_section, dtors_section, bss_section): Prototype.
2429 * alpha/alpha-interix.h (text_section): Delete prototype.
2430 * alpha/elf.h (text_section): Likewise.
2431 * arm/linux-elf.h (text_section): Likewise.
2432 * arm/linux-telf.h (text_section): Likewise.
2433 * c4x/c4x.h (text_section): Likewise.
2434 * dsp16xx/dsp16xx.h (bss_section): Likewise.
2435 * elfos.h (text_section): Likewise.
2436 * i386/aix386ng.h (text_section): Likewise.
2437 * i386/i386-interix.h (text_section): Likewise.
2438 * i386/sco5.h (text_section): Likewise.
2439 * i386/svr3gas.h (text_section): Likewise.
2440 * nextstep.h (text_section): Likewise.
2441 * psos.h (text_section): Likewise.
2442 * ptx4.h (text_section): Likewise.
2443 * svr3.h (text_section): Likewise.
2444 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
2446 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2448 * final.c (peephole): Delete prototype.
2450 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
2451 (pre_insert_copies): Remove unused variable `bb'.
2453 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
2456 * output.h (peephole): Add prototype.
2458 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
2460 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
2463 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
2465 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
2466 for inlined declarations.
2468 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
2470 * arm.c (logical_binary_operator): New fucntion.
2471 * arm.h (logical_binary_operator): Declare it.
2472 (PREDICATE_CODES): Handle logical_binary_operator.
2473 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
2474 output constraints. Add appropriate splitters.
2475 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
2476 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
2477 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
2479 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2481 * genoutput.c (struct operand_data): New elt eliminable.
2482 (output_operand_data): Write it.
2483 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
2484 (compare_operands): Take it into account.
2485 * recog.h (struct insn_operand_data): New elt eliminable.
2486 * reload1.c (check_eliminable_occurrences, elimination_effects): New
2488 (old_asm_operands_vec, new_asm_operands_vec): Delete.
2489 (eliminate_regs): Move code that detects changes to elimination
2490 target regs into new function elimination_effects.
2491 Delete one #if 0 block.
2492 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
2493 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
2494 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
2495 Only call eliminate_regs for real operands of the insn, not for parts
2496 of its structure or parts matched by things like match_operator.
2497 Use elimination_effects and check_eliminable_occurrences. Use
2498 copy_insn to duplicate the pattern when not in the final pass.
2500 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
2502 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
2505 1999-10-22 Bruce Korb <autogen@linuxbox.com>
2507 * fixinc/README: document the "mach" machine matching test
2508 * fixinc/fixfixes.c: Implement the #else/#endif label fix
2509 * fixinc/fixtests.c: Implement the #else/#endif label test
2510 * fixinc/inclhack.def: utilize these tests and fixes
2511 * fixinc/inclhack.sh: regen
2512 * fixinc/fixincl.x: regen
2513 * fixinc/fixincl.sh: regen
2515 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
2517 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
2520 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
2522 * gcc.1: Document exit codes.
2524 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2526 * calls.c: Include tm_p.h later, so everything we need is defined.
2528 * function.c: Likewise.
2530 * except.c: Include tm_p.h.
2532 * sparc.c: Likewise.
2533 (dwarf2out_cfi_label): Don't prototype.
2534 (check_return_regs, epilogue_renumber,
2535 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
2536 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
2537 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
2538 ultra_schedule_insn): Add static prototype.
2539 (data_segment_operand, text_segment_operand): Call itself with the
2540 proper number of arguments.
2541 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
2543 * sparc.h: Move all declarations to sparc-protos.h.
2544 (SELECT_RTX_SECTION): Pass a missing MODE argument to
2547 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
2549 * config/svr4.h (text_section, ctors_section, dtors_section): Add
2551 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
2552 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
2553 ASM_OUTPUT_ASCII): Constify a char*.
2555 * sparc-protos.h: New file for sparc prototypes.
2557 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2559 * function.c (record_insns, contains): Always declare and define.
2560 (record_insns): Mark with ATTRIBUTE_UNUSED.
2562 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
2564 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
2565 to .section when outputting a .bss section to deal with multiple
2566 .bss input sections (as happens with -fdata-sections)
2567 Also output %progbits, not @progbits so the assembler doesn't treat as
2569 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
2571 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
2572 thumb parts even when building with non-thumb CPUs, by forcing
2575 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
2577 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
2578 (movdf_const_intreg_sp64): Similarly.
2580 * local-alloc.c (update_equiv_regs): Check the correct insn
2581 for pre-existing REG_EQUIV notes.
2583 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
2585 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
2586 block reached by a branch if we're not going to actually process
2589 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
2591 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
2592 a local extern function declaration.
2594 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
2596 * i386.c (ix86_expand_prologue): Properly wrap USE around
2597 reg for CALL_INSN_FUNCTION_USAGE.
2599 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
2601 * config/mips/mips.md (movdf_internal1a): Allow floating-point
2602 move between GP_REGs.
2604 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
2606 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
2607 the mode size when finding out if an offset is legal.
2609 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
2611 * basic-block.h (PROP_*): Move constants from ...
2613 (compute_bb_for_insn): Free the array before reallocating.
2614 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
2615 (allocate_reg_life_data): Reset all reg variables collected by
2617 (get_block_head_tail): Don't convert from bb to block.
2618 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
2619 (find_insn_reg_weight): Take block not bb.
2620 (schedule_block): Don't set block num for moved insns.
2621 (schedule_region): Don't update_life_info or find_insn_reg_weight.
2622 (schedule_insns): Do it here instead.
2623 * combine.c (combine_instructions): Invoke compute_bb_for_insn
2624 before update_life_info.
2625 * recog.c (split_all_insns, peephole2_optimize): Update for
2626 new arg to update_life_info.
2627 * rtlanal.c (remove_note): Cope with NULL note.
2628 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
2631 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
2633 * jump.c (jump_optimize_1): More accurately detect casesi insns.
2635 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
2636 block records so that merge_blocks_nomove will clean up correctly.
2637 (split_edge): Handle casesi insns.
2639 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
2641 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
2643 * pa.md (call, call_value): Do not emit a blockage after restoring
2646 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
2648 * c-typeck.c (c_expand_asm_operands): Fix typo.
2650 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2652 * arm.c (fpu_rhs_operand): Verify modes.
2653 (fpu_add_operand): Likewise.
2654 (di_operand): Likewise.
2655 (soft_df_operand): Likewise.
2657 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
2659 * arm.c (arm_return_in_memory): APCS rules state that the elements
2660 of a structure returned in a register must be 'integer-like'.
2662 1999-10-19 Bruce Korb <autogen@linuxbox.com>
2664 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
2665 in the source tree when the generated targets are out of date
2666 * fixinc/genfixes: Alter it to run individual fixes for make.
2667 * fixinc/README: rewrite
2668 * fixinc/inclhack.def: moved initial comments to README
2670 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
2672 * toplev.c (main): Do not generate an error message if an
2673 unrecognised command line switch is recognisable by another
2674 language. If extra_warnings are enabled, then generate a
2675 warning message instead.
2677 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
2679 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
2680 (insert_pack_attributes): Delete prototype.
2682 * c-pragma.c (default_alignment): New static variable.
2683 (push_alignment): Initialize to current effective alignment.
2684 (pop_alignment): Use to set new alignment.
2685 (insert_pack_attributes): Delete function.
2686 (handle_pragma_token): Set default_alignment as well each time
2687 a #pragma pack(<n>) is encountered.
2689 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
2691 * reg-stack.c (stack_result): Aggregates are not returned in
2694 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
2696 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
2698 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
2700 * basic-block.h (set_block_num): Declare.
2701 * flow.c (update_life_info): Don't call compute_bb_for_insn
2702 or free_basic_block_vars.
2703 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
2704 (insn_orig_block): Remove.
2705 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
2706 (schedule_block): Keep BLOCK_NUM up-to-date.
2707 (schedule_insns): Use compute_bb_for_insn.
2708 * recog.c (split_all_insns): Likewise.
2709 (peephole2_optimize): Likewise.
2711 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
2713 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
2714 if the pic register is used.
2716 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2718 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
2719 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
2720 if that tests TREE_PERMANENT.
2722 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
2724 * cse.c (invalidate_for_call): Do not remove memory references from
2725 the table here. It's handled elsewhere.
2727 * haifa-sched.c (add_dependence): Protect references to the
2728 true dependency cache with #ifdef INSN_SCHEDULING.
2729 (remove_dependence): Similarly.
2731 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
2732 to the cfg code that this is a return instruction.
2733 * mn10300.md (return_internal): Similarly.
2735 * combine.c (get_last_value): If the last set of a register
2736 is after subst_low_cuid, then we can not use it to determine
2737 the register's last value.
2739 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
2741 * Makefile.in: Back out previous change.
2743 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
2745 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
2747 * haifa-sched.c (add_dependence): Only check/update the cache
2749 (remove_dependence): Likewise.
2750 (schedule_insns): Only create the true_dependency_cache if the
2751 average number of instructions in a basic block is very large.
2753 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
2755 * Makefile.in (ggc-common.o): Depend on genrtl.h.
2756 (ggc-simple.o): Likewise.
2757 (ggc-page.o): Likewise.
2759 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
2761 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
2762 Prototype for exported functions.
2763 (pre_lcm, pre_rev_lcm): Remove prototypes.
2764 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
2765 (compute_available): Move to lcm.c, and change parameter order.
2766 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
2767 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
2768 (gcse_main): No longer call compute_preds_succs. Rebuild the
2769 set table after reach pre pass.
2770 (pre_insert_map, pre_delete_map, edge_list): New.
2771 (alloc_pre_mem): Allocate edge vectors.
2772 (free_pre_mem): Delete edge vectors.
2773 (compute_pre_data): Call new edge based lcm routines.
2774 (process_insert_insn): New function.
2775 (insert_insn_end_bb): Use it.
2776 (pre_edge_insert): New function.
2777 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
2779 (pre_insert_copies): Revamp using new edge based lcm outputs.
2780 (pre_delete): Likewise.
2781 (one_pre_gcse_pass): Insert & remove fake edges to the exit
2783 (compute_code_hoist_vbeinout): New new edge based routines.
2784 * lcm.c: Remove all the old LCM functions. Replace with new ones
2785 that work with the new cfg datastructures and work with edges
2788 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2790 * reload.h (struct reload): Add new fields "mode" and "nregs".
2791 * reload1.c: Change all occurrences of reload_mode and reload_nregs
2792 to reference the "mode" and "nregs" field within struct reload.
2794 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
2796 * haifa-sched.c (true_dependency_cache): New.
2797 (add_dependence): Use the true dependency cache to avoid expensive
2798 walks down the LOG_LINKS dependency list. Add entries to the
2800 (remove_dependence): Remove entries from the true dependency cache
2802 (schedule_insns): Allocate and initialize and free the true
2805 * haifa-sched.c (schedule_insns): Do not remove inter-block
2806 dependencies anymore.
2808 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
2810 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
2811 * i386/t-winnt: Likewise.
2813 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
2815 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
2817 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
2819 * Makefile.in (LANGUAGES): Omit "proto".
2820 (clean): Remove stale comment about removing unprotoize.c.
2822 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2824 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
2825 using arithmetic on void pointers.
2827 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
2829 * haifa-sched.c (compute_block_forward_dependencies): Only check
2830 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
2832 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
2834 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
2835 (expr_equiv_p): Reject memories with different alias sets.
2837 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
2839 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
2840 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
2841 (f_options): Add "bounded-pointers" and "bounds-check" entries.
2842 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
2843 (lang_init): Set default for flag_bounds_check if still "unspecified".
2845 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2847 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
2849 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2851 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
2854 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2856 * config/c4x/c4x.md (*db_noclobber,
2857 *decrement_and_branch_until_zero_noclobber): New patterns and
2858 associated splitters.
2860 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2862 * config/c4x/c4x.md (parallel instruction patterns): Rework
2863 constraints to keep reload happy.
2865 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2867 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
2868 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
2869 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
2870 Add new patterns and associated post-reload splitters.
2872 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2874 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
2876 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2878 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
2880 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
2882 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2884 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
2887 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
2889 * pa.c (move_operand): Rely on memory_address_p to determine the
2890 validity of non-indexed memory addresses.
2891 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
2892 operand in DFmode and SFmode when generating PA2.0 code.
2894 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
2896 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
2898 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
2900 * mips.c (function_prologue): Fix argument types.
2901 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
2902 (casesi_internal): Write to the scratch register.
2904 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
2906 * cppexp.c (cpp_parse_escape): Make static. Change second arg
2908 (parse_charconst): Delete unnecessary cast when calling
2910 (cpplib.h): Kill prototype of cpp_parse_escape.
2912 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
2914 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
2915 * unroll.c (unroll_loop): Cast return value of alloca.
2916 * i370/i370.c: Include function.h and toplev.h.
2917 (i370_label_scan): Remove c++ commented abort.
2918 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
2919 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
2920 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
2921 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
2923 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
2925 * config/t-freebsd: Do not override USER_H.
2926 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
2928 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
2929 Mumit Khan <khan@xraylith.wisc.edu>
2931 * c-parse.in (component_decl): Support anonymous struct/union.
2933 * c-parse.y: Regenerate.
2934 * c-parse.c: Likewise.
2935 * objc/objc-parse.y: Likewise.
2936 * objc/objc-parse.c: Likewise.
2937 * c-decl.c (finish_struct): Don't sort the fields.
2938 (field_decl_cmp): Delete unused function.
2940 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
2942 * sparc.md (movsf_const_intreg): Revert last constraint change.
2943 (movdf_const_intreg_sp32): Likewise.
2945 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
2947 * cse.c: Include hashtab.h instead of splay-tree.h
2948 (struct cse_reg_info): No longer use variant union. Add new
2949 field "regno". All references changed to avoid union.
2950 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
2951 (free_cse_reg_info): Remove.
2952 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
2953 (get_cse_reg_info): Revamp to use expandable hash tables instead
2954 of splay trees. Initialize new fields in cse_reg_info structure.
2955 (new_basic_block): Similarly.
2957 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
2959 * genrecog.c (message_with_line): Prototype.
2960 (validate_pattern): Pass along the set for the dest, not a flag.
2961 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
2962 Check for PC/CC0 as sources.
2963 (nodes_identical): Check for children position match before
2964 allowing the combination.
2966 * rtl.c (read_rtx): Track line number across \\\n.
2968 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
2970 * mips.h (SPECIAL_MODE_PREDICATES): New.
2971 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
2972 (movdi+1, movsi+1): Add output reload constraint.
2973 (casesi_internal): Likewise. Fix commentary.
2974 (return_internal): Use pmode_register_operand.
2976 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
2978 * 1750a.md (movstrqi): Add missing output reload constraint.
2979 (call_value): Likewise.
2980 * a29k.md (cpxxx patterns): Add missing match_operator mode.
2981 (jmpfdec): Add missing inout reload constraint.
2982 * elxsi.md (addsi patterns): Add missing output reload constraint.
2983 (move from sp): Use @ alternates.
2984 (call_value): No constraint on output.
2985 * fr30.md (movsi_pop): Add missing output reload constraint.
2986 (movsf_constant_store): Likewise.
2987 (splits): Remove constraints.
2988 (subsi3): Add missing mode.
2989 * i370.md (cmpstrsi+1): Add missing output reload constraint.
2990 (call_value): Likewise.
2991 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
2992 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
2993 * m32r.md (movsicc_internal): Add output reload constraint.
2994 (movstrsi_internal): Add inout reload constraints.
2995 * m88k.h (reg_names): Don't declare.
2996 (SPECIAL_MODE_PREDICATES): New.
2997 * m88k.md (*): Use register_operand not reg_or_0_operand
2999 * mn10200.h (PREDICATE_CODES): New.
3000 * ns32k.md (ffs pattern): Add output reload constraint.
3001 * pdp11.md (sob pattern): Add inout reload constraint.
3002 * sh.md (splits): Remove constraints.
3003 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
3004 * v850.md (pattern_is_ok_for_epilogue): Likewise.
3005 * vax.md (jgequ pattern): Add inout reload constraint.
3007 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
3009 * configure.in (djgpp): Revert previous patch.
3010 * configure: Rebuit.
3011 * config/i386/djgpp.h: Revert previous patch.
3013 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
3015 * fixinc/inclhack.def: Restore patch lost during last merge of
3016 "no_bogosity" branch.
3017 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
3019 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
3021 * fixincludes: Add a HPUX 11 fix for inttypes.h.
3022 * fixinc/inclhack.def: Same.
3023 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
3025 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
3027 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
3028 as the base of a PLUS.
3030 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3032 * config/c4x/c4x.md: Define mode for remaining unspec operators.
3033 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
3035 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
3037 * pa.md (post_stw+1): Use pmode_register_operand.
3038 (dcacheflush, icacheflush): Likewise.
3040 * i386.md (movstricthi_1): Allow r/r.
3042 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
3044 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
3045 to (not (and (arg0) (arg1))). Similary for and.
3047 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
3048 falltrought to assocate code.
3049 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
3052 * combine.c (simplify_logical): Convert XOR to IOR if operands have
3053 no bits in common; remove XOR to ROTATE conversion.
3055 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3057 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
3059 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3061 * config/c4x/c4x.c (dst_operand): New.
3062 (PREDICATE_CODES): Update.
3063 * config/c4x/c4x.h (dst_operand): Declare it.
3064 * config/c4x/c4x.md: Define mode for each unspec usage.
3065 (move patterns): Use dst_operand predicate instead of src_operand.
3066 (movqi_update, movqf_update): Delete.
3068 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
3070 * recog.c (pmode_register_operand): New.
3071 * recog.h: Declare it.
3072 * genrecog.c (pred_codes): Likewise.
3073 (special_mode_pred_table): Likewise.
3074 (validate_pattern): Don't warn no mode for address_operand.
3076 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
3077 if the operand is not insn-like.
3079 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
3080 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
3082 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
3084 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
3086 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
3087 instead of general_operand in a SET_DEST. Use const_double_operand
3088 instead of an explicit test against CONST_DOUBLE.
3089 (movsf_const_lo): Add missing register mode.
3090 (goto_handler_and_restore): Add auxiliary test for Pmode.
3091 (flush): Adjust to use address_operand.
3092 (return_sf_no_fpu): Add missing output constraint.
3094 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
3096 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
3097 for call return value.
3098 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
3100 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
3102 * toplev.c (main): Only warn about options for other languages.
3103 * collect2.c (main): Pass -w to sub-gcc.
3105 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
3107 * flow.c (propagate_block): Add call-clobbered registers to
3110 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
3111 zapping mem_set_list.
3112 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
3113 (mark_set_1, mark_used_regs): Likewise.
3115 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
3117 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
3119 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3121 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
3122 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
3123 options. Also add a new item "C-only Warning Options" to the
3126 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
3128 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
3129 from multiple calls.
3131 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
3133 * i386.md (call value patterns): Move to the end of the file.
3134 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
3136 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
3138 * configure.in (djgpp configuration): Define extra_objects..
3139 * configure: Rebuilt.
3140 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
3141 (DTORS_SECTION_ASM_OP): Define.
3142 (INIT_SECTION_ASM_OP): Define.
3143 (FINI_SECTION_ASM_OP): Define.
3144 (DATA_SECTION_ASM_OP): Define.
3145 (TEXT_SECTION_ASM_OP): Define.
3146 (EH_FRAME_SECTION_ASM_OP): Define.
3147 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
3148 (STARTFILE_SPEC): Add crtbegin.o.
3149 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
3150 to here from LINK_COMMAND_SPEC.
3151 (DO_GLOBAL_CTORS_BODY): Define.
3152 (CRTSTUFF_USE_FINI_SECTION): Define
3153 (HAS_INIT_SECTION): Delete.
3155 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
3157 * Makefile.in (all.cross): Depend on xcpp$(exeext).
3159 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
3161 * pa.h (PREDICATE_CODES): New.
3163 * genrecog.c (validate_pattern): Condense the destination
3166 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
3168 * alpha.md (call-1): Supply missing mode for operator.
3169 (*): Add missing output reload constraints. Remove constraints
3172 * i386.h (SPECIAL_MODE_PREDICATES): New.
3173 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
3174 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
3175 (addsi_lea_3): Add missing mode for op 3.
3176 (prologue_set_got, prologue_get_pc): Add missing modes.
3177 (*) Add missing output reload constraints.
3179 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
3181 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
3182 check for member bit-size overflow and use var_size if it occurs.
3183 (layout_record): Use bitsize_int() to define the type size in bits.
3184 Likewise for computation and assignment to DECL_FIELD_BITPOS.
3185 (layout_decl): Likewise when assigning to DECL_SIZE.
3187 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
3189 * genrecog.c (validate_pattern): Typo last change. Verify
3190 that output operands have output reloads.
3192 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
3194 * genrecog.c (special_mode_pred_table): New.
3195 (NUM_SPECIAL_MODE_PREDS): New.
3196 (find_operand): New.
3197 (validate_pattern): New argument `insn'. Warn for assignment to
3198 any predicate accepting non-lvalues. Conditionaly warn for
3199 match_operand without a mode. Try much harder to match source
3200 and destination modes on a set.
3201 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
3203 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
3205 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
3207 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
3209 * combine.c (simplify_logical): Recognize xor pattern that encodes
3212 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3214 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
3217 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
3219 * ggc-page.c (MAP_FAILED): Provide default.
3221 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
3223 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
3224 * sparc.h (PREDICATE_CODES): Update.
3226 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
3228 * alpha.c (some_ni_operand): New.
3229 * alpha-protos.h: Declare it.
3230 * alpha.h (PREDICATE_CODES): Update.
3231 * alpha.md (sXaddq reload insns): Use some_ni_operand
3232 for SET_DEST instead of some_operand.
3234 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
3235 Jim Wilson <wilson@cygnus.com>
3237 * genrecog.c (maybe_both_true_2): Don't compare modes of
3239 (process_tree): Elide peephole2_insns. Invoke simplify_tests
3240 after find_afterward.
3241 (debug_decision_1): Dump next and afterward codes.
3243 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
3245 * rtl.c (dump_and_abort): Remove.
3246 (fatal_with_file_and_line): New.
3247 (fatal_expected_char): New.
3248 (read_rtx_lineno, read_rtx_filename): New.
3249 (read_skip_spaces): Track line number.
3250 (read_name): Use fatal_with_file_and_line.
3251 (read_rtx): Use fatal_expected_char. Track line number.
3252 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
3254 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
3255 if it isn't a CODE_LABEL.
3257 * genattr.c (main): Set read_rtx_filename.
3258 * genattrtab.c (main): Likewise.
3259 * gencodes.c (main): Likewise.
3260 * genconfig.c (main): Likewise.
3261 * genemit.c (main): Likewise.
3262 * genextract.c (main): Likewise.
3263 * genflags.c (main): Likewise.
3264 * genopinit.c (main): Likewise.
3265 * genoutput.c (main): Likewise.
3266 * genpeep.c (main): Likewise.
3268 * genrecog.c (decision_test.u.insn): Add `lineno'.
3269 (pattern_lineno, error_count): New variables.
3270 (message_with_line): New.
3271 (add_to_sequence): Break out checking code to ...
3272 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
3273 (merge_insn): Use message_with_line.
3274 (make_insn_sequence): Use validate_pattern. Record insn lineno.
3275 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
3277 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3279 * expr.c (store_constructor): Clear union if constructor is empty.
3281 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
3283 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
3284 Add !endian checks. Change %{...} to %(...).
3286 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
3288 * i386.md (*addsi3_cc): Renamed from addcsi3.
3289 (*addsi3_carry): Renamed from addxsi3.
3290 (*subsi3_cc): Renamed from subcsi3.
3291 (*subsi3_carry): Renamed from subxsi3.
3292 (*xorqi_cc_1): Renamed from xorcqi_1.
3293 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
3294 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
3296 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
3298 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
3299 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
3301 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
3303 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
3304 climb up the chain of insns.
3306 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
3308 * genrecog.c (write_subroutine): Careful for null trees.
3309 (process_tree): Don't elide empty functions.
3311 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
3313 * Makefile.in (genrtl.o): Depend on ggc.h.
3314 * configure.in (valloc): Probe for it.
3315 (with-gc): Use ggc-page if valloc present.
3316 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
3317 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
3318 (ggc_alloc_string): Moved from ggc-page.c.
3319 * ggc-none.c (ggc_alloc_obj): New.
3320 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
3321 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
3322 (struct globals): Likewise for dev_zero_fd.
3323 (init_ggc): Likewise for it's initialization.
3324 (ggc_allocated_p): Move careful dereference from ...
3325 (ggc_lookup_page_table): ... here. Delete.
3326 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
3327 (alloc_anon): Use valloc if no mmap.
3328 (release_pages): Use free if using valloc.
3329 (ggc_alloc_obj): Renamed from alloc_obj.
3330 (ggc_set_mark): Renamed from mark_obj.
3331 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
3332 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
3333 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
3334 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
3335 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
3336 (ggc_collect): Use fp printing instead of our own rounding.
3337 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
3338 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
3339 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
3340 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
3341 (struct ggc_string, struct ggc_any): Delete.
3342 (offsetof): Provide default definition.
3343 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
3345 (struct ggc_mem): New, from corpse of ggc_any.
3346 (struct ggc_status): Delete.
3347 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
3348 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
3349 (n_strings_collected, n_anys_collected): Delete.
3350 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
3351 (ggc_alloc_string, ggc_alloc): Delete.
3352 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
3353 (ggc_free_string, ggc_free_any): Delete.
3354 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
3355 (ggc_compare_addresses, ggc_mark_string): Delete.
3356 (ggc_mark_string_if_gcable, ggc_mark): Delete.
3357 (search_data): Delete.
3358 (struct globals): New.
3359 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
3360 (tree_insert, tree_lookup): New.
3361 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
3362 (clear_marks, sweep_objs): New.
3363 (ggc_collect): Gut. Use clear_marks, sweep_objs.
3364 (init_ggc): Set allocated_last_gc.
3365 (ggc_push_context): Gut. Use G.context.
3366 (ggc_pop_context): Likewise.
3367 (ggc_pop_context_1): New.
3368 (debug_ggc_tree): New.
3369 (debug_ggc_balance, tally_leaves): New.
3370 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
3371 (ggc_mark_string_if_gcable): Remove decl.
3372 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
3373 (ggc_mark_rtvec_children): New.
3374 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
3375 (ggc_mark_if_gcable): New decl.
3376 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
3377 (ggc_alloc_tree, ggc_alloc): Likewise.
3378 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
3379 (ggc_alloc_obj): New decl.
3380 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
3381 (ggc_alloc_tree, ggc_alloc): Likewise.
3382 (ggc_set_mark): New decl.
3383 * rtl.h (struct rtx_def): Remove gc_mark.
3384 (struct rtvec_def): Likewise.
3385 * tree.h (struct tree_common): Likewise.
3387 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
3389 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
3390 float_format and thread_file definitions.
3391 * configure: Rebuilt.
3393 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
3395 * extend.texi (Function Names): Document types of function names.
3397 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3399 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
3400 an earlyclobbered output conflict with RELOAD_INPUT reloads.
3402 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3404 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
3406 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3408 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
3410 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
3412 * collect2.c (main): Do prelimnary link on AIX if rflag.
3414 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
3416 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
3417 __CTOR_LIST__ in opposite order, which is the correct order for sorted
3419 (__do_global_dtors): similarly for __DTOR_LIST__.
3421 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3422 Diego Novillo <dnovillo@cygnus.com>
3424 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
3427 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
3429 * fixincl/*: Merged "no_bogosity" branch
3430 * fixincl/fixlib.h: protect against doubly defining t_bool
3431 * fixincl/server.h: protect against doubly defining t_bool
3433 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
3435 * genoutput.c: Include toplev.h.
3437 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
3439 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
3441 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
3442 * configure: Regenerate.
3444 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
3446 * gcse.c (delete_null_pointer_checks): Returns void.
3448 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3450 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
3451 * emit-rtl.c (copy_insn_1): Likewise.
3453 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
3455 * config/mips/mips.c (mips_build_va_list): Correct
3456 TREE_CHAIN setting when hard-float.
3457 (mips_va_start): Use corrected setting.
3458 (mips_va_arg): Likewise. Also pass a tree to build of
3459 POSTINCREMENT_EXPR rather than a naked 'int'.
3461 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
3463 * ggc.h (ggc_push_context): Fix comment.
3464 (ggc_pop_context): Likewise.
3465 (mark_string_if_gcable): Likewise.
3466 * ggc-common.c (ggc_mark_rtx_children): Use
3467 ggc_mark_string_if_gcable.
3468 * ggc-page.c (ggc_lookup_page_table): New function.
3469 (ggc_allocated_p): Likewise.
3470 (mark_obj): Fix formatting.
3471 (ggc_mark_string_if_gcable): New function.
3472 * ggc-simple.c (ggc_allocated_strings): New variable.
3473 (ggc_strings_used): Likewise.
3474 (ggc_compare_addresses): New function.
3475 (ggc_pop_context): Pop the `any' memory too.
3476 (ggc_mark_string_if_gcable): New function.
3477 (ggc_collect): Initialize and tear down ggc_allocated_strings.
3479 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
3481 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
3482 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
3483 * rs6000.c (expand_block_move): Match movstrsi_?reg register
3486 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
3488 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
3489 (sched_reg_live_length, sched_reg_basic_block): Delete.
3490 (current_block_num, bb_live_regs, old_live_regs): Delete.
3491 (dead_notes, struct sometimes): Delete.
3492 (sched_note_set, birthing_insn_p): Delete.
3493 (adjust_priority): Gut useless reg lifetime code.
3494 (create_reg_dead_note, attach_deaths): Delete.
3495 (attach_deaths_insn, new_sometimes_live): Delete.
3496 (finish_sometimes_live): Delete.
3497 (find_pre_sched_live, find_post_sched_live): Delete.
3498 (update_reg_usage): Delete.
3499 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
3500 (schedule_insns): Delete reg lifetime code.
3501 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
3502 (unlink_other_notes): Adjust REG_NOTE commentary.
3503 (reemit_notes): Use REG_SAVE_NOTE.
3504 (schedule_block): Likewise.
3505 (schedule_region): Allocate bitmap of blocks in region. Use
3506 count_or_remove_death_notes. Use update_life_info.
3508 * rtl.h (REG_SAVE_NOTE): New.
3509 * rtl.c (reg_note_name): Update.
3511 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
3513 * combine.c (refresh_blocks, need_refresh): New.
3514 (combine_instructions): Allocate refresh_blocks. Invoke
3515 update_life_info if needed.
3516 (distribute_notes): Mark refresh_blocks instead of installing
3518 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
3519 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
3521 * Makefile.in (recog.o): Depend on basic-block.h.
3523 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
3525 * genrecog.c (add_to_sequence): Thinko last change: delete
3526 shadowing allow_const_int variable.
3528 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3530 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
3531 __GNUC__ and __GNUC_MINOR__.
3533 * gansidecl.h: Likewise.
3539 * toplev.h: Likewise.
3545 * varray.c: Likewise.
3547 * varray.h: Likewise.
3549 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3551 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
3552 use one before a jump table.
3554 * rtl.def (ADDRESS): Change documentation to match reality.
3555 * md.texi: Don't document it.
3556 * gmicro.md (load address pattern): Use 'p' constraint, delete use
3559 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
3561 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
3563 * genrecog.c (add_to_sequence): Move allow_const_int test outside
3564 known predicate block; default allow_const_int true.
3565 (debug_decision_list): New.
3567 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
3569 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
3571 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
3573 * gcse.c (gcse_main): Avoid global optimizations if we have a
3574 large number of basic blocks and the ratio of edges to blocks
3576 (delete_null_pointer_checks): Likewise.
3578 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
3580 * c-common.c (check_format_info): Warn if format string isn't a
3583 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
3585 * configure.in (arm*-*-*): Don't let autoconf remove brackets
3586 * configure: regenerate
3588 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
3590 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
3591 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
3592 (peepholes): Re-enable.
3594 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
3596 * Makefile.in (flow.o): Depend on TREE_H.
3597 * basic-block.h (REG_SET_EQUAL_P): New.
3600 (free_regset_vector): Remove declaration.
3601 (flow_delete_insn_chain): Declare.
3602 (enum update_life_extent): New.
3603 (update_life_info, count_or_remove_death_notes): Declare.
3604 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
3605 Verify register live at bb->global_live_at_start before adding USE.
3606 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
3607 (CLEAN_ALLOCA): New.
3609 (PROP_*): New flags.
3610 (find_basic_blocks_1): Use alloc_EXPR_LIST.
3611 (clear_edges): Zero n_edges.
3612 (make_edge): Increment n_edges.
3613 (split_edge): Don't allocate bb->local_set. Increment n_edges.
3614 (flow_delete_insn_chain): Export.
3615 (delete_block): Decrement n_edges.
3616 (merge_blocks_nomove): Likewise.
3617 (life_analysis): Give life_analysis_1 PROP flags.
3618 (verify_wide_reg_1, verify_wide_reg): New.
3619 (verify_local_live_at_start): New.
3620 (update_life_info): Rewrite to call into propogate_block.
3622 (mark_regs_live_at_end): After reload, if epilogue as rtl,
3623 always mark stack pointer. Conditionally mark PIC register.
3624 After reload, mark call-saved registers, return regsiters.
3625 (life_analysis_1): Accept PROP flags not remove_dead_code.
3626 Call mark_regs_live_at_end before zeroing regs_ever_live.
3627 Use calculate_global_regs_live. Copy global_live_at_end before
3628 calling final propagate_block. Zero reg_next_use on exit.
3629 (calculate_global_regs_live): New.
3630 (allocate_bb_life_data): Don't allocate bb->local_set.
3631 (init_regset_vector, free_regset_vector): Remove.
3632 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
3633 Test flags before every operation. Warn if prologue/epilogue insn
3634 would have been deleted.
3635 (mark_set_regs, mark_set_1): Accept and use FLAGS.
3636 Use alloc_EXPR_LIST.
3637 (mark_used_regs): Accept and use FLAGS, not FINAL.
3638 Remove special handling for RETURN.
3639 (try_pre_increment): Use alloc_EXPR_LIST.
3640 (dump_flow_info): Dump n_edges.
3641 (unlink_insn_chain, split_hard_reg_notes): Remove.
3642 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
3643 (find_insn_with_note, new_insn_dead_notes): Remove.
3644 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
3645 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
3646 (replace_insns): Remove.
3647 (count_or_remove_death_notes): New.
3648 (verify_flow_info): Abort on error after all checks.
3649 (remove_edge): Decrement n_edges.
3650 (remove_fake_edges): Tweek format.
3651 * haifa-sched.c (schedule_insns): Use split_all_insns.
3652 * output.h (update_life_info): Remove declaration.
3653 * recog.c (split_all_insns): From the corpse of split_block_insns,
3654 do the whole function block by block. Use update_life_info.
3655 (recog_last_allowed_insn): New.
3656 (recog_next_insn): Mind it.
3657 (peephole2_optimize): Set it. Walk backwards through blocks.
3658 Use update_life_info.
3659 * rtl.h (update_flow_info, replace_insns): Remove declarations.
3660 (split_all_insns): Declare.
3661 * toplev.c (rest_of_compilation): Thread prologue before flow2.
3662 Use split_all_insns.
3664 * i386.md (or -1 peep2s): Disable.
3666 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
3668 * config/mips/mips.md (movstrsi+[123]) : Combine these into
3669 a single pattern. Scrap the 'd' versions as unnecessary.
3671 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
3672 tablejump_mips162,tablejump_internal4): The operands to a
3673 label_ref must be VOIDmode.
3675 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3677 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
3679 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
3681 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
3683 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
3685 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
3686 cache every function if ggc_p.
3688 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3690 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
3691 instead of copy_rtx. Accept sequences that contain asm statements.
3692 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
3693 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
3694 orig_asm_operands_vector, copy_asm_operands_vector,
3695 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
3697 * rtl.h (copy_insn, copy_insn_1): Declare.
3699 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3701 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
3703 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
3704 arguments to `current_file_function_operand'.
3706 * genrecog.c: Include hard-reg-set.h and resource.h in the
3707 generated output file.
3709 * real.c: Include tm_p.h.
3711 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3713 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
3716 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
3718 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
3719 before the fctiwz insn.
3721 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3722 Mark Mitchell <mark@codesourcery.com>
3724 * tree.c (make_lang_type_fn): New funtion pointer.
3725 (make_lang_type): Call it.
3726 * tree.h (make_lang_type): Declare.
3727 (make_lang_type_fn): Likewise.
3728 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
3730 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
3732 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
3733 make sure that HIGH instructions are copied into BASE_REGS.
3735 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
3737 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
3739 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
3741 * c-decl.c (finish_struct): Use simpler method of
3742 removing elements of a singly-linked list.
3744 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
3746 * alpha.md (peephole2's): Comment out peephole2's that generate
3749 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
3751 * genrecog.c (add_to_sequence): Disable mode check for
3754 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3756 * ggc-simple.c (init_ggc): Set empty_string.
3758 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
3760 * configure.in: Detect mmap. Add --with-gc=foo to select
3761 garbage collector; default to page if mmap available.
3762 * Makefile.in (GGC): Substitute.
3764 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
3766 * c-decl.c (ggc_p): Enable.
3768 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3770 * flow.c (verify_flow_info): Make it extern & unconditionally define.
3772 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
3774 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
3775 string for little-endian-data.
3777 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
3779 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
3780 case somebody tries to compile --enable-checking code with gcc
3783 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
3785 * genrecog.c (add_to_sequence): Verify operand to label_ref is
3788 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
3790 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
3791 * jump.c (jump_optimize_1): Document why.
3793 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3795 * collect2.c (scan_prog_file, scan_libraries): Prototype function
3796 pointers and casts for `int_handler' and `quit_handler'.
3798 * flow.c (verify_flow_info, split_hard_reg_notes,
3799 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
3800 remove_edge, remove_fake_successors): Add static prototypes.
3801 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
3802 (mark_set_1): Initialize variable `regno'.
3803 (unlink_insn_chain): Likewise for variable `curr'.
3804 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
3806 * loop.c (strength_reduce): Initialize variable
3807 `unrolled_insn_copies'.
3808 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
3809 prototypes. Change these functions to take const PTR parameters
3810 to avoid prototype conflict when used as the comparson argument
3812 (check_dbra_loop): Initialize variable `comparison_val'.
3814 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
3815 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
3816 (find_valid_class): Initialize variable `best_class'.
3817 (find_reloads): Call memcpy, not bcopy.
3819 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
3820 (hard_reg_use_compare): Don't needlessly cast away const.
3821 (reload_reg_class_lower): Likewise.
3822 (choose_reload_regs): Initialize variable `regno'.
3824 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
3826 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
3828 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
3830 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
3831 ({,d}discard): Add forward declarations. Declare parameter as
3833 (main_without_main): Explicitly declare return type to be int.
3834 (memcpy): Properly declare.
3836 * libgcc2.c (toplevel): If inhibit_libc is defined and not
3837 building the trampoline support, declare malloc, free, and
3839 (__clear_cache): Mark arguments as potentially unused.
3841 * frame.c (toplevel): If inhibit_libc is defined, declare
3844 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
3846 * flow.c (make_edge): Accept an optional 2D bitmap in which
3847 to cache edge existence. Update all callers.
3848 (make_label_edge, make_eh_edge): Pass through the edge cache.
3849 (make_edges): Provide the cache.
3851 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3853 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
3855 (local_mbtowc): Change the type of variable `i' from int to size_t.
3857 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
3858 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
3860 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
3862 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
3863 after other includes that define the appropriate types. Include
3864 tm_p.h for getting user prototypes.
3865 * ggc-callbacks.c (toplevel): Ditto.
3866 * ggc-none.c (toplevel): Ditto.
3867 * gcc-page.c (toplevel): Ditto.
3868 * ggc-simple.c (toplevel): Ditto.
3870 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
3871 Jonathan Larmour <jlarmour@cygnus.co.uk>
3873 * config/mips/mips.c (mips_move_2words): Split doubles if
3874 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
3876 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
3878 * genrecog.c (struct decision_test): New.
3879 (struct decision): Remove test-related members, sort the rest by size.
3880 (IS_SPLIT): Simplify.
3881 (new_decision, new_decision_test): New.
3882 (add_to_sequence): Use them. No special handling for args of
3884 (maybe_both_true): Renamed from not_both_true; return sense changed.
3885 (maybe_both_true_1, maybe_both_true_2): New. Broken out
3886 of maybe_both_true and adjusted for decision_test.
3887 (position_merit): Remove.
3888 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
3889 (merge_accept_insn): New, broken out of merge_trees.
3890 (merge_trees): Use them. No special case for c_test; no node
3891 splitting; use test type instead of position_merit.
3892 (factor_tests): New.
3893 (simplify_tests): New.
3894 (break_out_subroutines): Don't write code now.
3895 (find_afterward): New.
3896 (write_afterward, write_switch, write_cond): New.
3897 (write_action, is_unconditional): New.
3898 (write_node): New. Use them.
3899 (write_tree_1): Rewrite. Use the new functions above.
3900 (write_tree): Remove afterward processing.
3901 (write_subroutine): Simplify function variant emission.
3902 (write_subroutines): New.
3903 (same_codes, clear_codes): Remove.
3904 (same_modes, clear_modes): Remove.
3905 (write_header): New, broken out of main.
3906 (make_insn_sequence): Use new_decision and new_decision_test.
3907 (process_tree): New, broken out of main.
3908 (main): Adjust for merge_trees interface change.
3909 Don't #define operands in the output file.
3910 (record_insn_name): New, broken out of make_insn_sequence.
3911 (debug_decision_2, debug_decision_1, debug_decision_0): New.
3912 (debug_decision): New.
3914 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
3916 * resource.c (find_free_register): Mark class_str argument const.
3917 * resource.h: Update prototype to match.
3919 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
3920 * i386.md: Give all anonymous insns names.
3922 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
3924 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
3927 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
3929 * toplev.c (dbr_sched_time): Unconditional.
3930 (peephole2_time): New.
3931 (compile_file): Add pass numbers to all of the dump file suffixes.
3932 Dump peephole2_time. Don't dump times for non-applicable passes.
3933 (rest_of_compilation): Add pass numbers to dump file suffixes.
3934 Conditionalize calls to the scheduler.
3935 * invoke.texi: Update.
3937 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
3939 * flow.c (make_edges): Fix insn iteration.
3940 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
3941 (find_basic_blocks_1): Fix spelling mistake.
3943 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
3945 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
3946 always have side-effects. Use memset not bzero.
3947 (make_node): Likewise.
3949 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
3951 * stmt.c (expand_anon_union_decl): When any of the elements of the
3952 union is addressable, so is the entire union.
3954 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
3956 * sbitmap.c (sbitmap_ones): Don't set too many bits.
3958 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
3959 * bitmap.c (bitmap_operation): Return true iff TO changed.
3960 (bitmap_equal_p): New.
3961 (bitmap_bit_p): Tidy arithmetic.
3962 (debug_bitmap_file): Likewise.
3964 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
3966 * toplev.c (rest_of_compilation): Turn on cse_not_expected
3967 before cse2 instead of after.
3969 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
3971 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
3974 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3976 * cppinit.c (is_idchar initializer): Loosen tests to accept
3979 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
3981 * mips.md: Define conditional move patterns for floating point
3982 operands and DI mode conditions.
3984 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
3986 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
3987 always have side-effects.
3989 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
3991 * mn10200.c (asm_file_start): Fix typo.
3993 * cppinit.c (is_idchar initializer): Tighten tests for when
3994 to put the table into initialized memory.
3996 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
3997 not an array of rtunion.
3998 * gcc-page.c (ggc_alloc_rtvec): Similarly.
3999 * gcc-simple (ggc_free_rtvec): Similarly.
4001 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
4004 * mbchar.h: Add missing #endif.
4006 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
4007 (FPBIT, DPBIT): Define.
4009 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4011 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
4013 * profile.c (instrument_arcs, output_gcov_string,
4014 tablejump_entry_p): Add static prototypes.
4015 (output_gcov_string): Constify a char*.
4017 * regmove.c (replacement_quality, fixup_match_2): Add static
4020 * resource.h (reg_dead_p): Add extern prototype.
4022 * rtl.c (trim_filename): Add static prototype.
4024 * scan-decls.c (skip_to_closing_brace): Likewise.
4026 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
4027 (expand_end_case): Initialize variable `range'.
4028 (emit_case_nodes): Remove unused prototype `rtx_fn'.
4030 * varasm.c (asm_emit_uninitialised): Add static prototype.
4031 (asm_emit_uninitialised, assemble_variable): Mark parameter with
4034 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4036 * cpplib.c (if_directive_nameo): Add static prototype.
4038 * cse.c (cse_insn): Remove unused variable `p'.
4040 * except.c (create_rethrow_ref, push_entry,
4041 receive_exception_label, new_eh_region_entry, find_func_region,
4042 clear_function_eh_region, process_nestinfo): Add static prototypes.
4043 (get_reg_for_handler): Hide definition.
4044 (process_nestinfo): Initialize variable `extra_handlers'.
4046 * expr.h (expand_builtin_longjmp): Add extern prototype.
4048 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
4050 * function.c (prepare_function_start): Likewise.
4051 (pop_function_context_from): Mark parameter `context' with
4053 (push_temp_slots_for_block, flush_addressof): Hide definition.
4055 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
4056 solve_program_flow_graph, calculate_branch_probs,
4057 function_summary, main, fancy_abort): Add prototypes.
4059 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
4060 (add_hash): Constify a char*.
4062 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
4063 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
4064 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
4066 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
4068 * lists.c (free_list, zap_lists): Likewise.
4070 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4072 * alias.c (nonlocal_reference_p): Add static prototype.
4074 * bitmap.c (bitmap_element_allocate): Prototype args in function
4077 * builtins.c (stabilize_va_list): Add static prototype.
4078 (expand_builtin_va_arg): Constify a char*.
4080 * c-lex.c (getch, put_back, extend_token_buffer_to,
4081 read_line_number, token_getch, token_put_back): Add static
4084 * c-parse.gperf (hash, is_reserved_word): Likewise.
4086 * cccp.c (is_dir_separator): Likewise.
4088 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4090 * graph.h: New file to prototype functions exported by graph.c.
4092 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
4094 * graph.c: Include graph.h.
4096 * toplev.c: Likewise. Remove redundant prototypes.
4098 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
4100 * invoke.texi: Removed duplicated description for -Q.
4102 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
4104 * extend.texi: Grammar fix in __extension__ text.
4106 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
4108 * md.texi (define_peephole2): New section.
4110 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
4112 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
4113 (mov $-1 to or peepholer): Enable for pentium when optimizing for
4116 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
4118 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
4120 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
4122 * i386.md (ffs expander): Emit Pentium friendly code for
4125 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
4127 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
4131 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4133 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
4135 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
4137 * config/m68k/m68k.c (use_return_insn): Return false if the pic
4140 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4142 * md.texi (No Constraints): Delete section.
4143 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
4144 * final.c (final_scan_insn): We always have register constraints.
4145 * genattrtab.c: Don't include "insn-config.h".
4146 (write_attr_case): We always have register constraints.
4147 * genconfig.c (register_constraint_flag): Delete.
4148 (walk_insn_part): Don't check whether we have register constraints.
4149 (main): Don't write out "#define REGISTER_CONSTRAINTS".
4150 * genoutput.c (have_constraints): Delete.
4151 (main): Don't set it.
4152 (output_operand_data): We always have constraints.
4153 (scan_operands): Likewise.
4154 (compare_operands): Likewise.
4155 * local-alloc.c (block_alloc): We always have constraints.
4156 (requires_inout): Always compile this function.
4157 * recog.c (extract_insn): We always have constraints.
4158 (constrain_operands, reg_fits_class_p): Always compile these
4160 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
4162 (struct insn_operand_data): Likewise.
4163 * regclass.c (regclass): We always have constraints.
4164 (record_reg_classes, copy_cost, record_address_regs,
4165 auto_inc_dec_reg_p): Always compile these functions.
4166 * regmove.c (regmove_optimize): We always have constraints.
4167 * reload.c (find_reloads): Likewise.
4168 * reload1.c (reload): Likewise.
4169 (reload_cse_simplify_operands): Likewise.
4170 * i860.c (output_delay_insn): Likewise.
4172 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
4174 * iris6.h (BUILD_VA_LIST_TYPE): Define.
4176 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4178 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
4179 for the va_list record.
4181 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
4183 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
4186 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
4188 * alias.c: Include insn-flags.h.
4189 * Makefile.in (alias.o): Update.
4191 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
4193 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
4194 to LTU and GEU. Handle more cases using sbb.
4196 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
4198 * i386.md (truncatexfdf splitters): Do not use subreg.
4199 (fop XFmode patterns): Fix mode in operand testing.
4201 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
4203 * jump.c (jump_optimize_1): Amend last change to test only the
4204 form of the operand, not the insn.
4206 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
4207 not register_operand to determine when B may need preloading.
4209 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
4211 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
4212 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
4213 (call-value patterns): Move to end of file.
4214 (*): Remove mode from label_ref in (pc) context.
4215 (movstrqi): Use memory not general_operand for BLKmode operands.
4216 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
4217 to register_operand operands.
4218 (peep2 patterns): Convert from commented-out peephole patterns.
4220 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4222 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
4223 to BUILT_IN_INIT_DWARF_REG_SIZES.
4224 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
4225 Renamed from BUILT_IN_DWARF_REG_SIZE; call
4226 expand_builtin_init_dwarf_reg_sizes.
4227 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
4228 with __builtin_init_dwarf_reg_size_table.
4229 * dwarf2out.c (struct reg_size_range): Delete.
4230 (expand_builtin_init_dwarf_reg_sizes): New function.
4231 (expand_builtin_dwarf_reg_size): Delete.
4232 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
4233 (expand_builtin_dwarf_reg_size): Don't declare.
4234 * libgcc2.c (dwarf_reg_size_table_initialized): New.
4235 (dwarf_reg_size_table): New.
4236 (init_reg_size_table): New function.
4237 (copy_reg): Use dwarf_reg_size_table.
4238 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
4241 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
4243 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
4244 Correctly build argument list to constructor and destructor functions.
4246 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
4248 * c-tree.h (warn_float_equal): Declare.
4249 * c-decl.c (warn_float_equal): Define.
4250 (c_decode_option): Recognize -W[no-]float-equal.
4251 * c-typeck.c (build_binary_op): Conditionally warn
4252 about equality tests of floating point types.
4253 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
4254 * invoke.texi: Add docs for -Wfloat-equal warning.
4256 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
4258 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
4259 generating RTL directly.
4260 * mips.h (INIT_TARGET_OPTABS): Likewise.
4261 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
4263 * expr.h (init_mov_optab): Delete declaration
4265 * h8300.c (WORD_REG_USED): Update to avoid useless register
4266 saves in interrupt functions and functions which never return.
4268 * cse.c (struct set): Delete inner_dest_loc field.
4269 (cse_insn): Remove assignments to inner_dest_loc field.
4271 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
4273 * ggc-page.c: Don't include <unistd.h> etc taken care of
4274 by "system.h". Include <sys/mman.h> afterward.
4276 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
4278 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
4281 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
4283 * xcoffout.c (xcoffout_declare_function): Add documentation.
4284 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
4285 TARGET_64BIT. Compare constant to -1, not bit pattern.
4286 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
4287 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
4290 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
4292 * dwarf2out.c (add_abstract_origin_attribute): Abort if
4294 (gen_inlined_enumeration_type_die): Do not abort if the type has
4295 not been writeen out.
4296 (gen_inlined_structure_type_die): Do not abort if the type has
4297 not been writeen out.
4298 (gen_inlined_union_type_die): Do not abort if the type has
4299 not been writeen out.
4300 (gen_tagged_type_instantiation_die): Do not abort if the type
4301 has not been written out.
4303 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4305 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
4307 * reg-stack.c (straighten_stack): Copy hard reg set with
4310 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
4312 * builtins.c (stabilize_va_list): Stabilize array type va_list
4313 to a pointer type, not the base record type.
4314 (expand_builtin_va_copy): Dereference the pointers explicitly;
4315 use the correct size for the copy.
4317 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
4318 (rs6000_va_arg): Likewise.
4320 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
4322 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
4324 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
4326 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
4328 (DECL_BUILT_IN_CLASS): Adjust accordingly.
4330 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
4332 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
4333 (init_ggc): Use it instead of a constant.
4334 (ggc_collect): Bound allocated_last_gc by it.
4336 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
4338 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
4341 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
4343 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
4344 (mips*-*-openbsd*): Let big endian configuration be a fragment.
4346 * config/mips/openbsd.h: New, OpenBSD little endian target.
4347 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
4348 * config/mips/xm-openbsd.h: New, OpenBSD host.
4350 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
4352 * config/m68k/m68k.c (output_function_prologue,
4353 output_function_epilogue): Use
4354 current_function_uses_pic_offset_table instead of regs_ever_live
4355 to decide whether to save/restore pic register.
4356 (legitimize_pic_address): Don't modify regs_ever_live any more.
4358 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
4360 * function.h (struct function): Add x_dont_save_pending_sizes_p.
4361 * stor-layout.c (variable_size): Don't add sizes to the pending
4362 sizes list if x_dont_save_pending_sizes_p is set.
4364 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
4366 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
4367 for symbolic_operand().
4368 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
4370 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4372 * combine.c (gen_rtx_combine): Add missing call to va_end().
4374 * final.c (asm_fprintf): Likewise.
4376 * genattrtab.c (attr_rtx): Likewise.
4378 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
4380 * cse.c: Update comments.
4381 (cse_insn): When converting a conditional/computed jump into
4382 an unconditional jump, always make sure a BARRIER immediately
4383 follows the converted jump. Do not delete unreachable code.
4384 (cse_basic_block): Do not delete unreachable code.
4385 * toplev.c (rest_of_compilation): Move call to
4386 delete_trivially_dead_insns after the conditional call to
4389 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4391 * collect2.c (make_temp_file): Don't prototype.
4393 * gcc.c (make_temp_file): Likewise.
4395 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
4397 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
4399 * varasm.c (asm_emit_uninitialised): New function: Generate
4400 the assembler statements necessary to declare an uninitialised
4402 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
4404 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
4405 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
4407 (assemble_variable): Use asm_emit_uninitialised to emit an
4408 uninitialised variable.
4410 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
4412 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
4413 constant on a 64 bit host. Patch supplied by Geoffrey Keating
4414 <geoffk@cygnus.com>.
4416 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4418 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
4419 * c-common.h (builtin_function): Don't declare.
4421 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
4423 (pushdecl): Likewise.
4424 (finish_decl): Likewise.
4425 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
4426 int. All callers changed.
4427 Set the builtin's DECL_BUILT_IN_CLASS.
4428 * tree.h (enum built_in_class): New.
4429 (enum built_in_function): Delete NOT_BUILT_IN.
4430 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
4432 (DECL_SET_FUNCTION_CODE): Likewise.
4433 (DECL_BUILT_IN_CLASS): New macro.
4434 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
4435 (struct tree_decl): Split builtin function code field into a
4437 (builtin_function): Declare.
4439 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
4441 * optabs.c (init_traps): Fix typo in last change.
4443 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
4445 * toplev.c (rest_of_decl_compilation): Update comment.
4447 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
4449 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
4450 in .sbss if appropriate.
4451 (EXTRA_SECTION_FUNCTIONS): Add sbss.
4452 (SBSS_SECTION_ASM_OP): New macro.
4453 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
4454 (EXTRA_SECTIONS): Add in_sbss.
4455 * config/mips/mips.h: Prototype sbss_section.
4457 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
4459 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
4462 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
4464 * optabs.c (init_traps): Register trap_rtx as a GC root.
4466 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4468 * config/mips/mips.c (function_arg_pass_by_reference): Define
4469 unconditionally, since it's called unconditionally.
4471 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
4473 * toplev.c (documented_lang_options): Add -fshort-wchar.
4474 * c-decl.c (c_decode_option): Likewise.
4475 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
4477 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
4478 * gcc.c (default_compilers): If -fshort-wchar,
4479 override __WCHAR_TYPE__.
4480 * tm.texi (C Dialect Options): Add -fshort-wchar.
4482 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
4483 symbol for a variable.
4485 * cpplib.h (CPP_PREPROCESSED): New macro.
4486 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
4487 we're seeing this input for a second time.
4489 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
4491 * emit-rtl.c (init_emit_once): Initialize modes first.
4493 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
4495 * config/i386/i386.c (pic_label_name): Change to char pointer.
4496 (global_offset_table): New variable.
4497 (load_pic_register): Fill global_offset_table if it hasn't
4498 already been done. Allocate pic_label_name dynamically.
4499 * ggc.h (empty_string): New variable.
4500 * ggc-simple.c (empty_string): Likewise.
4501 (init_ggc): Allocate empty_string and add as root.
4502 * stmt.c (digit_strings): New variable.
4503 (init_stmt): Add last_block_end_note as root. Allocate and
4504 initialize digit_strings.
4505 (expand_asm_operands): Use empty_string instead of string
4506 constant. Use digit_strings instead of string constants.
4507 * profile.c (init_arc_profiler): Allocate string with
4508 ggc_alloc_string instead of xmalloc.
4509 (output_func_start_profiler): Likewise.
4510 * c-typeck.c (digest_init): Check if init is error_mark_node.
4512 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
4513 Richard Henderson <rth@cygnus.com>
4515 * ggc-page.c: New file.
4516 * Makefile.in (ggc-page.o): New.
4518 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
4520 * invoke.texi: Document -fdelete-null-pointer-checks
4521 * toplev.c (flag_delete_null_pointer_checks): New.
4522 (f_options): Add entry for -fdelete-null-pointer-checks.
4523 (rest_of_compilation): Conditionalize null pointer check
4524 elimination on flag_delete_null_pointer_checks.
4525 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
4527 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
4529 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
4530 copyright notice and special exception to GPL.
4532 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4534 * abi64.h (mips_function_value): Add prototype arguments.
4536 * mips-protos.h: New file with mips prototypes.
4538 * mips.c: Include "tm_p.h".
4539 (mktemp, lookup_name): Add prototype arguments.
4540 (extern_list, string_constant, mips_fill_delay_slot,
4541 mips_output_external, mips_output_external_libcall,
4542 mips_output_filename, mips_declare_object, function_prologue,
4543 mips_expand_prologue, function_epilogue, mips16_constant,
4544 build_mips16_function_stub, mips_output_conditional_branch):
4546 (mips_va_start): Remove unused variable `u'.
4547 (mips_va_arg): Cast value to unsigned when comparing against one.
4549 (save_restore_insns, mips_expand_prologue): Add missing arg in
4550 call to `large_int'.
4552 * mips.h: Move prototypes to mips-protos.h.
4553 (data_section, memory_address_p, rdata_section,
4554 readonly_data_section, simple_epilogue_p, text_section): Delete
4555 prototypes delcared elsewhere.
4556 (mips_epilogue_delay_slots, print_options): Delete unused decls.
4558 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
4560 * mips.md: Delete extra args in call to `mips_move_2words'.
4562 * xm-iris6.h (alloca): Add prototype argument.
4564 * genpeep.c: Include "tm_p.h" in generated output file.
4566 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
4568 * basic-block.h (find_edge_index): Change parameters.
4569 * flow.c (verify_edge_list): Pass basic_block parameters to
4570 find_edge_index instead of integers.
4572 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
4574 * combine.c (simplify_comparison): Use an unsigned shift to adjust
4577 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
4579 * gcc.1: Fix a formatting error.
4581 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4583 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
4584 i786, mn10200, mn10300, pdp11, v850.
4586 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
4588 * libgcc2.c (num_digits): Add prototype with
4589 __attribute__((const)).
4590 (__terminate): Add prototype.
4592 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
4594 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
4596 * alpha/alpha.c (print_operand): Fix type of `code'.
4597 (alpha_output_filename): Constify.
4598 * alpha/alpha.h: Move all function declarations ...
4599 * alpha/alpha-protos.h: ... here. New file.
4600 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
4601 (SECTION_FUNCTION_TEMPLATE): Likewise.
4603 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4605 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
4606 * expr.c (expand_expr): Likewise.
4607 (do_jump): Likewise.
4608 (do_store_flag): Pass ccp_store_flag to can_compare_p.
4609 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
4611 (enum can_compare_purpose): New.
4612 (can_compare_p): Adjust prototype.
4613 (prepare_cmp_insn, prepare_operand): Declare.
4614 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
4615 * optabs.c (cmp_available_p): Deleted.
4616 (expand_abs): Pass ccp_jump to can_compare_p.
4617 (can_compare_p): New arg PURPOSE. Check for combined optabs.
4618 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
4619 Call can_compare_p rather than cmp_available_p.
4620 (prepare_operand): No longer static.
4621 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
4622 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
4623 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
4624 sequence to use emit_cmp_and_jump_insns.
4625 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
4627 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
4629 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
4630 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
4631 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
4632 (plus (reg) (const_int 0))
4633 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
4635 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
4637 * rs6000.c (expand_block_move): DImode loads and stores require
4638 word-aligned displacements. Increment address registers with
4639 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
4641 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
4643 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
4644 is no name for the base type, rather than segfault. If we are
4645 writing out a complex integer type, use DW_ATE_lo_user.
4647 * expr.c (emit_move_insn_1): If we are copying a complex that fits
4648 in one word or less (complex char, complex short, or on 64 bit
4649 systems complex float) to/from a hard register, copy it through
4650 memory instead of dying in gen_{real,imag}part. If we have a
4651 short complex type, prevent inlining since it allocates stack
4654 * tree.c (build_complex_type): If we are writing dwarf2 output,
4655 generate a name for complex integer types.
4657 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
4659 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
4660 * flow.c (remove_edge): Remove extra whitespace.
4661 (remove_fake_edges): Fix comment.
4662 (add_noreturn_fake_exit_edges): Use the correct name.
4664 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
4666 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
4667 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
4668 (clean): Depend on INTL_CLEAN.
4669 (maintainer-clean): Adjust.
4671 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4673 * configure.in (AC_PREREQ): Bump to 2.13.
4674 (AC_C_STRINGIZE): Call this instead of using a custom macro.
4676 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
4678 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
4680 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
4682 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
4683 (HAVE_STRINGIZE): Define.
4685 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
4687 * c-parse.in: save and restore warn_pointer_arith on __extension__
4688 along with pedantic.
4689 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
4690 Set the type of extension to itype rather than $<itype>1 kludge.
4691 * extend.texi (Alternate Keywords): Adjust documentation.
4692 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
4694 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
4696 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
4697 most assembler templates.
4699 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
4700 FP loads and stores.
4701 (following_call): Always return zero for the PA8000.
4702 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
4703 FP loads and stores.
4704 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
4706 * pa.h (BRANCH_COST): Define.
4708 * pa.md (return, return_internal): Use bve for PA2.0.
4710 * pa.md (fused multiply): Add variants which reduce height for the
4711 fused multiply, but which still generate 2 insns.
4712 (fnegabs): Similarly.
4714 * pa.md (subsi3): Turn into an expander. Create two anonymous
4715 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
4716 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
4718 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
4720 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
4722 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
4723 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
4725 * regclass.c (init_regs): Add "top_of_stack" as a garbage
4728 * flow.c (record_active_eh_regions): Terminate loop after finding
4729 the last insn in the last basic block.
4731 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4733 * config/c4x/c4x.md: Delete parallel instruction peepholes.
4735 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4737 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
4739 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4741 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
4742 splitting to not use output template.
4744 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4746 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
4747 * config/c4x/c4x.c (c4x_va_start): New function.
4749 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
4751 * genrecog.c (not_both_true): Handle correctly cases when called for
4752 tests with different positions in the insn.
4754 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4756 * machmode.h (HOST_PTR_PRINTF): Move from here ...
4758 * system.h (HOST_PTR_PRINTF): ... to here.
4760 * mips-tfile.c: Don't include machmode.h.
4762 * Makefile.in (MACHMODE_H): New variable. Update to use it.
4763 (mips-tfile.o): Don't depend on machmode.h.
4765 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4767 * haifa-sched.c (sched_analyze): Rename local variable `region' to
4768 avoid conflicts with typedef struct `region' at the top level scope.
4770 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
4772 * basic-block.h (basic_block): Add eh_beg, eh_end.
4773 * flow.c (entry_exit_blocks): Update.
4774 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
4776 (find_basic_blocks_1): Don't record eh_list at each bb. Use
4777 lists.c functions to allocate insn lists.
4778 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
4780 (make_eh_edge): ... here. New.
4781 (move_stray_eh_region_notes): New.
4782 (record_active_eh_regions): New.
4783 (delete_unreachable_blocks): Split out block merging ...
4784 (try_merge_blocks): ... here. New.
4785 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
4786 Dump debugging data.
4787 (merge_blocks_move_successor_nojumps): Likewise.
4788 (merge_blocks): Use eh_beg+eh_end to validate block movement.
4790 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4792 * extend.texi (Bound member functions): Document unbound pmf
4795 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
4797 * flow.c (split_edge): Handle insertion on a fallthrough edge which
4798 has the EXIT_BLOCK as a dest.
4800 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
4802 * flow.c (remove_edge): New function to remove an edge from the
4804 (remove_fake_successors): New function to remove fake successor edges.
4805 (remove_fake_edges): New function to remove all fake edges from the
4807 (add_fake_exit_edges): New function to add fake edges from all blocks
4808 with no successors to the exit block.
4809 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
4810 prototypes for new functions.
4812 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
4814 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
4815 Use Pmode to determine whether to output .dword or .word.
4817 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
4819 * tree.c (built_in_filename): New variable.
4820 (BUILT_IN_FILENAME): New macro.
4821 (init_tree_codes): Allocate built_in_filename.
4822 (make_node): Use built_in_filename instead of string constant.
4824 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
4826 * configure.in: Add fr30 target.
4827 * configure: Regenerate.
4828 * config/fr30: New directory.
4829 * config/fr30/crti.asm: New file.
4830 * config/fr30/fr30.c: New file.
4831 * config/fr30/crtn.asm: New file.
4832 * config/fr30/fr30.h: New file.
4833 * config/fr30/fr30.md: New file.
4834 * config/fr30/lib1funcs.asm: New file.
4835 * config/fr30/t-fr30: New file.
4836 * config/fr30/xm-fr30.h: New file.
4838 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
4840 * flow.c (merge_blocks_move_successor_nojumps): Delete the
4841 BARRIER at the end of the successor, not the BARRIER before
4844 * pa.c (pa_add_gc_roots): Fix thinko in last change.
4846 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
4848 * stmt.c (any_pending_cleanups): Don't crash when
4849 current_function->stmt is unset.
4851 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4853 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
4854 other initializations that may use it for relative offsets.
4856 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4858 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
4859 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
4860 * config/i386/sol2dbg.h: Removed.
4861 * config/i386/sol2gas.h: New file, to enable gas work-around.
4862 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
4863 Don't use sol2dbg.h.
4864 * configure: Rebuilt.
4866 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
4868 * invoke.texi (-fthis-is-variable): Remove documentation.
4870 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
4872 * basic-block.h (compute_bb_for_insn): Declare.
4873 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
4874 to use; set size of basic_block_for_insn directly.
4875 (find_basic_blocks): Update.
4877 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4879 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
4881 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4883 * crtstuff.c (ON_EXIT): Delete empty macro definition.
4884 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
4886 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
4888 * c-decl.c (c_decode_option): Extend comment.
4890 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
4892 * toplev.c (progname): Make 'const char *'
4893 (flag_print_mem): Move out of main.
4894 (version_flag): Move out of main.
4895 (filename): Move out of main.
4896 (debug_args): Remove g prefix from options.
4897 (documented_lang_options): Remove cpplib specific options.
4898 (display_help): Add g prefix to debug options.
4899 (check_lang_option): Delete this function.
4900 (decode_d_option): New function: Decode -d... option.
4901 (decode_f_option): New function: Decode -f... option.
4902 (decode_W_option): New function: Decode -W... option.
4903 (decode_g_option): New function: Decode -g... option.
4904 (independent_decode_option): New function: Decode a language
4905 independent command line option.
4906 (main): Invoke lang_decode_option and then
4907 independent_decode_option on each command line option in
4910 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
4912 Revert this change. Gavin's patch to operand_equal_p is a better fix.
4913 * fold-const.c (fold_range_test): Do not try to fold the range
4914 test if the rhs or lhs has side effects.
4916 * basic-block.h (compute_flow_dominators): Declare.
4918 * gcse.c (alloc_code_hoist_mem): New function.
4919 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
4920 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
4921 (hoist_code, one_code_hoisting_pass): Likewise.
4922 (gcse_main): If optimizing for size, then hoist expressions
4923 computed in multiple dominated basic blocks.
4925 * gcse.c (invalid_nonnull_info): New function.
4926 (delete_null_pointer_checks): Likewise.
4927 * rtl.h (delete_null_pointer_checks): Declare.
4928 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
4930 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
4931 (merge-blocks_move_successor_nojumps): Likewise.
4932 (merge_blocks): Allow merging of some blocks, even if it requires
4933 physical movement of the blocks, but not if it requires new jumps.
4935 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
4936 Callers and prototype changed.
4937 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
4939 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4941 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
4942 -YP when both -p and -pg are present. From i386/sol2.h.
4944 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4946 * Makefile.in (distclean): Delete tm_p.h.
4947 * configure.in: Create a new file, "tm_p.h", from a list in
4948 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
4949 "i386/i386-protos.h".
4951 * alias.c: Include "tm_p.h".
4952 * c-typeck.c: Likewise.
4953 * calls.c: Likewise.
4955 * emit-rtl.c: Likewise.
4956 * explow.c: Likewise.
4957 * expmed.c: Likewise.
4959 * final.c: Likewise.
4961 * fold-const.c: Likewise.
4962 * function.c: Likewise.
4964 * global.c: Likewise.
4965 * haifa-sched.c: Likewise.
4966 * integrate.c: Likewise.
4968 * local-alloc.c: Likewise.
4970 * optabs.c: Likewise.
4971 * recog.c: Likewise.
4972 * reg-stack.c: Likewise.
4973 * regclass.c: Likewise.
4974 * regmove.c: Likewise.
4975 * reload.c: Likewise.
4976 * reload1.c: Likewise.
4977 * reorg.c: Likewise.
4978 * resource.c: Likewise.
4980 * stor-layout.c: Likewise.
4981 * toplev.c: Likewise.
4983 * unroll.c: Likewise.
4984 * genattrtab.c (main): Make generated file include "tm_p.h".
4985 * genemit.c (main): Likewise.
4986 * genoutput.c (main): Likewise.
4987 * genrecog.c (main): Likewise.
4989 * i386.h: Delete all prototypes.
4990 * i386.c: Include "tm_p.h".
4991 (ix86_attr_length_default): Call constant_call_address_operand
4992 with correct number of arguments.
4993 * i386-protos.h: New file.
4994 * i386.md (unnamed patterns): Call constant_call_address_operand
4995 with correct number of arguments.
4996 (exception_receiver): Call load_pic_register with correct number
4999 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
5001 * c-pragma.c (mark_align_stack): Dereference the void* properly.
5003 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
5005 * rtl.h (insns_safe_to_move_p): New function.
5006 * loop.c (find_and_verify_loops): Use it.
5007 * rtlanal.c (insns_safe_to_move_p): Define it.
5009 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
5011 * c-pragma.c: Include ggc.h.
5012 * Makefile.in (c-pragma.o): Update.
5014 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5016 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
5017 (LIB_SPEC): Likewise.
5018 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
5019 Reindent -YP/-p/-pg.
5020 Copied from config/sparc/sol2.h.
5022 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
5024 * c-pragma.c (mark_align_stack): New.
5026 * c-pragma.h (init_pragma): Declare it.
5027 * c-lex.c (init_parse): Call it.
5029 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5031 * configure.in: Pick up thread library on Solaris/x86 just
5032 like on Solaris/sparc.
5033 * configure: Rebuilt.
5035 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
5037 * rtl.h (global_rtx_index): New enum.
5038 (global_rtl): Change to array of rtx.
5039 (pc_rtx, cc0_rtx): Redefine accordingly.
5040 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
5041 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
5042 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
5043 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
5044 (const_int_rtx): Change to array of rtx.
5045 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
5047 * emit-rtl.c (global_rtl): Change to array of rtx.
5048 (const_int_rtx): Change to aray of rtx.
5049 (gen_rtx_CONST_INT): Redefine accordingly.
5050 (init_emit_once): Allocate and initialize global_rtl. Likewise
5051 for const_int_rtx. Add both as GC roots.
5052 * genattrtab.c (global_rtl): Update declaration.
5054 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
5056 * Makefile (USER_H): Add iso646.h back.
5058 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
5060 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
5061 zapping the LOG_LINKS of sched_before_next_call.
5063 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
5064 * pa.c (insn_refs_are_delayed): Renamed from
5065 insn_sets_and_refs_are_delayed.
5067 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
5069 * functiion.h (struct function): Add x_whole_function_mode_p.
5070 (retrofit_block): Declare.
5071 * function.c (retrofit_block): New function.
5072 (identify_blocks): Add assertions. Allow an incomplete set of
5073 block notes if we're still generating code for the function.
5074 * integrate.c: Include loop.h.
5075 (expand_inline_function): Call find_loop_tree_blocks to map block
5076 notes to blocks when in whole-function mode. Use retrofit_block
5077 to insert new BLOCKs for the inlined function, rather than
5079 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
5080 * Makefile.in (integrate.o): Depend on loop.h.
5082 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
5084 * tree.h (warn_about_unused_variables): Declare.
5085 * stmt.c (warn_about_unused_variables): New function, split out
5087 (expand_end_bindings): Here.
5089 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
5091 * stmt.c (preserve_subexpressions_p): Don't crash when
5092 current_function->stmt is unset.
5094 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
5096 * stmt.c (expand_start_bindings): Allow callers to pass a flag
5097 indicating that no NOTE_INSN_BLOCK_BEG note is required.
5098 (expand_start_target_temps): Use it.
5099 * except.c (expand_eh_region_start_for_decl): Likewise.
5100 * expr.c (expand_expr): Likewise.
5102 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
5104 * fold-const.c (operand_equal_p): Pay attention to side effects.
5106 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
5108 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
5109 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
5111 * tlink.c (scan_linker_output): Look for keywords before accepting
5112 a mangled name in quotes.
5114 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
5116 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
5117 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
5119 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
5121 * alpha.md: Revert Thu Nov 26 change that came in through the
5122 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
5123 Avoid earlyclobber when possible.
5125 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5127 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
5129 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
5130 Define HAVE_ON_EXIT.
5132 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5134 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
5135 CTYPE_CONV in all ctype macros.
5137 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
5140 * cexp.y (initialize_random_junk): Likewise.
5142 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
5144 * i370.c (handle_pragma): Likewise.
5146 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
5148 * v850.c (override_options): Likewise.
5150 * doprint.c (_doprnt): Likewise.
5152 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
5155 * fixinc/server.c (load_data): Likewise.
5157 * fold-const.c (real_hex_to_f): Likewise.
5159 * genattr.c (write_upcase, gen_attr): Likewise.
5161 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
5162 write_upcase): Likewise.
5164 * genemit.c (print_code): Likewise.
5166 * genopinit.c (gen_insn): Likewise.
5168 * genpeep.c (print_code): Likewise.
5170 * genrecog.c (print_code): Likewise.
5172 * optabs.c (init_libfuncs): Likewise.
5174 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
5176 * haifa-sched.c (sched_analyze): Keep the list of notes organized
5178 (reemit_notes): Likewise.
5180 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
5182 * ggc.h (ggc_root): Move to ggc-common.c.
5184 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
5185 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
5186 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
5187 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
5188 * ggc-common.c (ggc_root): Move from ggc.h.
5189 (roots): Declare, static.
5190 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
5191 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
5192 null or check/set mark bit.
5193 (ggc_mark_roots): New.
5194 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
5196 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
5198 * m32r.c: Include toplev.h.
5199 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
5200 (gen_compare): Rename swap_p to must_swap to match uses.
5201 Add default abort case.
5202 (m32r_output_function_epilogue): Remove unused variables.
5203 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
5204 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
5205 define to empty parameter list. Update all uses.
5206 (predicate decls): Use enum machine_mode not int.
5207 * m32r.md (movsi): Call abort, not fatal_insn.
5208 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
5210 1999-09-14 Andrew Haley <aph@cygnus.com>
5212 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
5213 use $0 instead of 0.
5215 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5217 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
5218 computation out of loop over hard regs.
5220 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
5222 * function.c (identify_blocks): Don't shadow a variable in an
5224 * integrate.c (integrate_decl_tree): Don't use pushlevel,
5225 pushdecl, or poplevel to build up the new BLOCK tree.
5226 (expand_inline_function): Likewise.
5227 (integrate_parm_decls): Likewise.
5229 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
5231 * c-typeck.c (qualify_type): Merge qualifiers from both types.
5233 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
5235 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
5236 * invoke.texi: Document this change.
5238 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
5240 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
5242 (mark_emit_status): Renamed from mark_emit_state.
5243 * except.c (mark_eh_status): Renamed from mark_eh_state.
5244 Check not null before marking.
5245 (free_eh_status): New.
5246 * expr.c (mark_expr_status, free_expr_status): New.
5247 * function.c (free_machine_status): New.
5248 (free_after_parsing): New.
5249 (free_after_compilation): Move bits to free_after_parsing; call
5250 free_eh_status, free_expr_status; zero the marked members of the
5252 (prepare_function_start): No can_garbage_collect.
5253 Call init_eh_for_function.
5254 (expand_dummy_function_end): Free up current_function state.
5255 (mark_function_status): Renamed from mark_function_state.
5256 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
5257 * function.h (struct function): No can_garbage_collect.
5258 (free_machine_status, free_after_parsing): Declare.
5259 (free_eh_status, free_expr_status): Declare.
5260 * ggc.h (mark_expr_status): Declare.
5261 * stmt.c (free_stmt_status): Free the struct.
5262 (mark_stmt_status): Renamed from mark_stmt_state.
5263 (init_stmt): Don't call init_eh.
5264 (init_stmt_for_function): Don't call init_eh_for_function.
5265 * toplev.c (compile_file): Call init_eh.
5266 (rest_of_compilation): Free basic block info before ggc_collect.
5267 Call free_after_parsing; conditionally call free_after_compilation.
5268 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
5269 Check not null before marking.
5270 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
5272 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
5274 * c-lex.c (yylex): Initialize warn.
5276 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
5278 * pa.c (emit_move_sequence): Properly set the mode of the scratch
5279 register when performing secondary reloads for the SAR register.
5281 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
5283 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
5284 (NOTE_BLOCK): New macro.
5285 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
5286 * function.h (identify_blocks): Change prototype.
5287 * function.c (identify_blocks): Simplify.
5288 (reorder_blocks): Likewise.
5289 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
5290 NOTE_INSN_BLOCK_{BEG,END}.
5291 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
5292 the list of saved notes if the note isn't a
5293 NOTE_INSN_BLOCK_{BEG,END}.
5294 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
5296 (reemit_notes): Adjust recreation of notes to reflect new saved
5298 * print-rtl.c (print_rtx): Print the address of the BLOCK when
5299 printing a block note.
5300 * stmt.c (block_vector): Remove.
5301 (find_loop_tree_blocks): Simplify.
5302 (unroll_block_trees): Likewise.
5303 * tree.h (reorder_block): Change prototype.
5305 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
5307 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
5308 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
5309 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
5310 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
5311 (atexit, exit): Simplify.
5312 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
5313 * config/lots: Remove defns of HAVE_ATEXIT.
5315 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
5317 * calls.c (precompute_arguments): Fix typo in comment.
5318 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
5321 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
5323 * dsp16xx.c (override_options): Fix typos in GC root registration.
5325 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
5327 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
5329 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
5330 (FUNCTION_PROFILER): Redefine appropriately for Linux.
5331 (CC1_SPEC): Likewise.
5333 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5335 * genattr.c (main): Add extern prototype. Call return, not exit.
5336 * genattrtab.c (main): Likewise.
5337 * gencheck.c (main): Likewise.
5338 * gencodes.c (main): Likewise.
5339 * genconfig.c (main): Likewise.
5340 * genemit.c (main): Likewise.
5341 * genextract.c (main): Likewise.
5342 * genflags.c (main): Likewise.
5343 * gengenrtl.c (main): Likewise.
5344 * genopinit.c (main): Likewise.
5345 * genoutput.c (main): Likewise.
5346 * genpeep.c (main): Likewise.
5347 * genrecog.c (main): Likewise.
5349 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
5350 * genattrtab.c (get_insn_name): Likewise.
5351 * gencodes.c (get_insn_name): Likewise.
5352 * genconfig.c (get_insn_name): Likewise.
5353 * genemit.c (get_insn_name): Likewise.
5354 * genextract.c (get_insn_name): Likewise.
5355 * genflags.c (get_insn_name): Likewise.
5356 * genopinit.c (get_insn_name): Likewise.
5357 * genpeep.c (get_insn_name): Likewise.
5359 * gencheck.c (usage): Add static prototype.
5360 * genextract.c (print_path): Constify a char*.
5361 * genopinit.c (optabs): Likewise.
5362 * genoutput.c (operand_data, data, output_predicate_decls,
5363 compare_operands): Likewise.
5364 * genrecog.c (write_tree): Add default case in switch.
5366 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5368 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
5370 * print-rtl.c (get_insn_name): Remove prototype.
5372 * toplev.h (progname): Declare const.
5374 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
5375 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
5376 dump_sched_info, dump_local_alloc, regset_release_memory,
5377 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
5378 error_with_file_and_line, error_with_decl, error_for_asm, error,
5379 fatal, warning_with_file_and_line, warning_with_decl, warning,
5380 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
5381 Remove redundant prototypes.
5383 (notice, check_lang_option, report_file_and_line, vnotice,
5384 mark_file_stack): Add static prototype.
5385 (set_fatal_function): Add prototype.
5386 (vnotice, report_file_and_line, set_fatal_function,
5387 check_lang_option): Constify a char*.
5388 (main): Prototype. Call return, not exit.
5390 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5392 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
5394 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
5396 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
5398 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
5400 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5402 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
5403 behave as if it's zero in all cases.
5404 (expand_function_start): Adjust call to assign_parms.
5405 * tree.h (assign_parms): Adjust prototype.
5406 * objc/objc-act.c (hack_method_prototype): Adjust call to
5409 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
5411 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
5412 arg_pointer_rtx fixed if the argument pointer register is
5414 (NONZERO_BASE_PLUS_P): Likewise.
5416 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
5418 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
5419 match_insn2 to match_insn.
5420 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
5422 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
5424 * Makefile.in (USER_H): Remove va-foo.h.
5426 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
5427 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
5428 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
5429 va-spur.h,va-v850.h}: Remove.
5431 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
5433 * sparc/sparc.md (eligible_for_return_delay): New attribute.
5434 (in_return_delay): Use it instead of match_insn.
5436 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5438 * config/alpha/va_list.h (va-alpha.h): Do not include.
5439 (__gnuc_va_list): Typedef as in varargs.h.
5441 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
5443 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
5444 DECL_LIVE_RANGE_RTL.
5446 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
5448 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
5449 not NOTE_BLOCK_NUMBER.
5450 (expand_eh_region_end): Likewise.
5451 (find_exception_handler_labels): Likewise.
5452 (scan_region): Likewise.
5453 (exception_optimize): Likewise.
5454 (update_rethrow_references): Likewise.
5455 (set_insn_eh_region): Likewise.
5456 * final.c (final_scan_insn): Likewise.
5457 * flow.c (make_edges): Likewise.
5458 * integrate.c (expand_inline_function): Likewise.
5459 * print-rtl.c (print_rtx): Likewise.
5461 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
5463 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
5464 terms of builtin functions and types.
5466 * mips.c (mips_build_va_list): New.
5467 (mips_va_start, mips_va_arg): New.
5468 * mips.h (BUILD_VA_LIST_TYPE): New.
5469 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
5471 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
5472 (sh_build_va_list, sh_va_start, sh_va_arg): New.
5473 * sh.h (BUILD_VA_LIST_TYPE): New.
5474 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
5476 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
5478 * recog.h (struct recog_data): Make dup_num, operand_address_p,
5479 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
5480 (struct insn_data): Likewise with n_operands, n_dups,
5481 n_alternatives, output_format.
5482 * regclass.c (scan_one_insn): Cast n_operands to int before
5483 arithmetic inside comparison.
5485 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
5487 * toplev.c (compile_function): Unconditionally emit nop.
5489 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5491 * haifa-sched.c (actual_hazard): Move declaration of variable
5492 `this_cost' into the scope where it is used.
5494 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5496 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
5497 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
5498 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
5500 * genrecog.c (make_insn_sequence): Call memset, not bzero.
5502 * jump.c (find_insert_position): Don't declare or define unless
5503 !HAVE_conditional_arithmetic.
5504 (returnjump_p_1, delete_prior_computation): Add static prototypes.
5506 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
5508 * recog.c (offsettable_address_p): Prototype function pointer.
5509 (preprocess_constraints): Call memset, not bzero.
5511 * tree.c (tree_node_kind_names): Constify a char*. Make static.
5512 (gcc_obstack_init): Don't declare.
5513 (fix_sizetype): Add static prototype.
5514 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
5515 (tree_cons): Call memset, not bzero.
5517 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
5518 definition in macro ASM_WEAKEN_LABEL.
5519 (mark_const_hash_entry): Add static prototype.
5521 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5523 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
5525 * unroll.c (find_common_reg_term, subtract_reg_term,
5526 loop_find_equiv_value): Add static prototypes.
5527 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
5528 (copy_loop_body): Remove unreachable break statement.
5530 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
5532 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
5534 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5536 Undo some changes from the gcc2 merge:
5537 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
5538 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
5542 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
5543 * emit-rtl.c (gen_lowpart_common): Disable optimization of
5544 initialized float-int union if the value is a NaN.
5546 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
5548 * gthr-win32.h: New file.
5550 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
5551 shared as a valid attribute.
5552 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
5553 * extend.texi: Document `shared' variable attribute.
5555 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
5557 * configure.in: Handle --enable-threads on FreeBSD.
5558 * configure: Rebuit.
5560 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5562 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
5564 * configure: Rebuilt.
5566 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
5567 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
5568 Rosimildo DaSilva <rdasilva@connecttel.com>
5570 * configure.in (m68k-*-rtemscoff*): Added.
5571 * configure.in (mips64orion-*-rtems*): Converted to ELF.
5572 * configure.in (sparc-*-rtemsaout*): Added as alias for old
5573 sparc-rtems configuration.
5574 * configure.in (sparc-*-rtemself*): Added.
5575 * configure.in (sparc-*-rtems*): Now ELF not a.out.
5576 * config/i386/rtems.h: Added comment.
5577 * config/sparc/rtemself.h: New file.
5579 * configure.in (m68k-rtemself): Added.
5580 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
5581 and DWARF_DEBUGGING_INFO.
5582 * config/m68k/crti.s: New file.
5583 * config/m68k/crtn.s: New file.
5584 * config/m68k/t-crtstuff: New file.
5585 * config/m68k/rtemself.h: New file.
5587 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
5588 global ctor/dtor and C++ exception handling.
5589 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
5590 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
5592 * config/i386/t-rtems-i386: New File.
5594 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
5596 * stmt.c (expand_end_case): Return right away if the case stack is
5599 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
5601 * Makefile.in (version.c): Remove rule incorrectly brought in from
5604 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
5606 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
5607 * msdos/top.sed: Take into account a prepended $(SHELL) to
5609 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
5611 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
5613 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5615 * regmove.c (fixup_match_1): Don't change an unchanging register.
5616 (stable_but_for_p): Renamed to:
5617 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
5618 Changed all callers.
5620 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
5622 * loop.c (strength_reduce): Don't call reg_used_between_p if the
5623 insn from BL2 is after the insn from BL.
5625 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
5627 * recog.h (INSN_OUTPUT_FORMAT_*): New.
5628 (struct insn_data): Merge `template' and `outfun' into `output'.
5629 Add `output_format'.
5630 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
5631 (struct data): Remove `outfun'; add `output_format'.
5632 (name_for_index): Remove declaration.
5633 (output_insn_data): Handle output formats.
5634 (process_template): Emit the bare array for @.
5635 (gen_expand, gen_split): Set output_format to NONE.
5636 * output.h (get_insn_template): Declare.
5637 * final.c (get_insn_template): New.
5638 (final_scan_insn): Use it.
5639 * toplev.c (compile_file): Likewise.
5641 * c4x/c4x.c (c4x_process_after_reload): Likewise.
5642 * i860/i860.c (output_delayed_branch): Likewise.
5643 (output_delay_insn): Likewise.
5645 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5647 * rtl.c (obstack_alloc_rtx): Removed.
5649 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
5651 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
5653 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
5655 * i386.c (call_insn_operand): Reject const_int.
5656 (expander_call_insn_operand): Use call_insn_operand.
5658 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5660 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
5662 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
5664 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
5665 Use DImode operation.
5667 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
5669 * gcc.c: Include sys/resource.h.
5670 (report_times): New flag.
5671 (execute): If report_times is set, calculate and report the
5672 CPU time consumed by each subprocess.
5674 (rus, prus): New globals.
5675 (option_map): Add --time.
5676 (display_help): Document -time.
5677 (process_command): Set report_times if -time is given.
5678 Turn off -pipe if -time is given.
5680 * invoke.texi: Document new option -time.
5682 * configure.in: Check for getrusage. Check if we have to
5683 prototype getrusage.
5684 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
5685 * configure: Regenerate.
5686 * config.in: Regenerate.
5688 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
5690 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
5693 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
5695 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
5696 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
5697 (nan): Return _thenan_sf or _thenan_df as appropriate.
5698 (L_thenan_sf): Define _thenan_sf.
5699 (L_thenan_df): Define _thenan_df.
5701 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
5702 (DPBIT_FUNCS): Add _thenan_df.
5704 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
5706 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
5709 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5711 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
5714 (lang_specific_driver): Don't take a function pointer parameter.
5715 All callers changed.
5717 * gcc.c: Include gcc.h.
5718 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
5719 lang_specific_extra_outfiles, fatal): Don't declare.
5720 (multilib_defaults_raw): Constify.
5721 (read_specs): Call memset, rather than bzero.
5722 (main): Call return, not exit.
5723 (lookup_compiler): Call memcpy, not bcopy.
5724 (fatal): Make extern.
5726 * cppspec.c: Include gcc.h.
5727 (lang_specific_driver): Initialize variable `quote'. Constify a
5728 char*. All calls to the function pointer parameter now
5729 explicitly call `fatal'.
5731 * gccspec.c (lang_specific_driver): Include gcc.h.
5733 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
5735 * arm.c (note_invalid_constants): Use recog_data.operand_type
5738 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5740 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
5743 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
5744 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
5745 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
5746 reload_secondary_in_reload, reload_secondary_out_reload,
5747 reload_secondary_in_icode, reload_secondary_out_icode,
5748 reload_reg_rtx, reload_when_needed): Delete declarations.
5749 (struct reload): New structure.
5750 (rld): Declare new array.
5751 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
5752 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
5753 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
5754 reload_secondary_in_reload, reload_secondary_out_reload,
5755 reload_secondary_in_icode, reload_secondary_out_icode,
5756 reload_reg_rtx, reload_when_needed): Delete definitions.
5758 (whole file): Replace uses of the deleted arrays with uses of rld.
5759 * reload1.c (whole file): Replace uses of the deleted arrays with
5761 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
5762 explicit loops, not with bcopy.
5764 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
5766 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
5767 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
5768 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
5769 insn_name): Delete and consolidate into new structures.
5770 (insn_operand_predicate_fn): New.
5771 (insn_output_fn): New.
5773 (struct insn_operand_data): New.
5774 (struct insn_data): New.
5776 (OUT_FCN): Update for insn_data change.
5777 * builtins.c (expand_builtin_strlen): Likewise.
5778 (expand_builtin_memcmp): Likewise.
5779 * combine.c (make_extraction, simplify_comparison): Likewise.
5780 * cse.c (canon_reg, cse_insn): Likewise.
5781 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
5782 * expmed.c (store_bit_field, extract_bit_field): Likewise.
5783 (emit_store_flag): Likewise.
5784 * expr.c (convert_move, emit_block_move): Likewise.
5785 (clear_storage, emit_push_insn, expand_increment): Likewise.
5786 (do_store_flag): Likewise.
5787 * expr.h (GEN_FCN): Likewise.
5788 (insn_gen_function): Die.
5789 * final.c (final_scan_insn): Update for insn_data change.
5790 (output_asm_name): Likewise.
5791 * function.c (fixup_var_refs_1): Likewise.
5792 * loop.c (check_dbra_loop): Likewise.
5793 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
5794 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
5795 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
5796 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
5797 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
5798 * regmove.c (gen_add3_insn): Likewise.
5799 * reload.c (push_secondary_reload, combine_reloads): Likewise.
5800 (find_reloads, find_reloads_address_1): Likewise.
5801 (debug_reload_to_stream): Likewise.
5802 * reload1.c (emit_reload_insns, gen_reload): Likewise.
5803 * stmt.c (expand_end_case): Likewise.
5804 * toplev.c (compile_file): Likewise.
5806 * c4x/c4x.c (c4x_process_after_reload): Likewise.
5807 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
5809 * print-rtl.c (insn_name_ptr): Remove declaration.
5810 (get_insn_name): Declare.
5811 (print_rtx): Use it.
5812 * genoutput.c (insn_name_ptr): Remove.
5813 (next_operand_number): New.
5814 (struct operand_data): New.
5815 (null_operand, odata, odata_end): New.
5816 (struct data): Use struct operand_data.
5817 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
5818 (get_insn_name): Renamed from name_for_index.
5819 (output_prologue): Define NO_MD_PROTOTYPES.
5820 (output_predicate_decls): Break out from output_epilogue.
5821 Iterate over the operands list.
5822 (output_operand_data): Break out from output_epilogue. Emit
5823 just the operands list.
5824 (output_insn_data): Break out from output_epilogue. Emit just
5826 (output_epilogue): Remove.
5827 (output_get_insn_name): New.
5828 (constraints, op_n_alternatives, predicates, address_p): Die.
5829 (modes, strict_low, seen): Die.
5830 (scan_operands): Take new param `d' instead of writing to
5831 seven global variables.
5832 (compare_operands): New.
5833 (place_operands): New.
5834 (validate_insn_alternatives): Update for struct data change.
5835 (gen_insn): Don't zero or copy 7 global arrays. Update for
5836 scan_operands; call place_operands.
5837 (gen_peephole, gen_expand, gen_split): Likewise.
5838 (main): Update for new output routines.
5840 * genattr.c (insn_name_ptr): Remove.
5841 (get_insn_name): New function.
5842 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
5843 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
5844 * genrecog.c: Likewise.
5846 * alpha.md (adddi3): Make `pattern' array static.
5848 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5850 * config/c4x/c4x.h (c4x_rpts_cycles_string,
5851 c4x_cpu_version_string): Constify char *.
5852 * config/c4x/c4x.c (c4x_rpts_cycles_string,
5853 c4x_cpu_version_string): Likewise.
5855 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
5857 * tree.c (save_tree_status): Revert 10 Sep change.
5858 (restore_tree_status): Likewise. Call obstack_free with NULL
5859 before freeing the obstack proper.
5861 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
5863 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
5865 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
5866 surrounding context.
5868 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
5870 * tree.c (type_hash_canon): Put all types in the hash-table, when
5873 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
5875 * recog.h (struct recog_data, recog_data): New.
5876 (recog_foo variables): Kill.
5877 * recog.c (recog_operand, recog_operand_loc): Kill.
5878 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
5879 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
5880 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
5881 (recog_data): Define.
5882 (extract_insn): Update all recog_foo references to use recog_data.
5883 (preprocess_constraints, constrain_operands): Likewise.
5884 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
5885 * genattrtab.c (main): Likewise.
5886 * genextract.c (main): Likewise.
5887 * genoutput.c: Likewise.
5888 * genrecog.c (write_subroutine, main): Likewise.
5889 * local-alloc.c (block_alloc): Likewise.
5890 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
5891 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
5892 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
5893 * reload.c (find_reloads, find_reloads_toplev): Likewise.
5894 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
5895 (reload_cse_simplify_operands): Likewise.
5897 * arc/arc.c (arc_final_prescan_insn): Likewise.
5898 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
5899 * h8300/h8300.c (notice_update_cc): Likewise.
5900 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
5901 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
5902 * mn10200/mn10200.c (notice_update_cc): Likewise.
5903 * mn10300/mn10300.c (notice_update_cc): Likewise.
5904 * romp/romp.c (update_cc): Likewise.
5905 * sparc/sparc.c (check_pic): Likewise.
5906 * v850/v850.c (notice_update_cc): Likewise.
5908 * genemit.c (main): Don't declare recog_operand.
5910 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
5912 * ggc.h (rtvec_def): Forward declare.
5913 (tree_node): Likewise.
5916 (ggc_set_mark_rtx): Add prototype.
5917 (ggc_set_mark_rtvec): Likewise.
5918 (ggc_set_mark_tree): Likewise.
5919 * ggc-simple.c (ggc_root): Don't define.
5920 (roots): Don't declare.
5921 (ggc_mark_rtx): Remove.
5922 (ggc_mark_rtvec): Likewise.
5923 (ggc_mark_tree): Likewise.
5924 (ggc_mark_varray): Likewise.
5925 (ggc_mark_tree_hash_table_entry): Likewise.
5926 (ggc_mark_tree_hash_table): Likewise.
5927 (ggc_set_mart_rtx): New function.
5928 (ggc_set_mark_rtvec): Likewise.
5929 (ggc_set_mark_tree): Likewise.
5930 (ggc_add_root): Remove.
5931 (ggc_add_rtx_root): Likewise.
5932 (ggc_remove_tree_root): Likewise.
5933 (ggc_add_string_root): Likewise.
5934 (ggc_add_tree_varray_root): Likewise.
5935 (ggc_add_tree_hash_table_root): Likewise.
5936 (ggc_del_root): Likewise.
5937 (ggc_mark_rtx_ptr): Likewise.
5938 (ggc_mark_tree_ptr): Likewise.
5939 (ggc_mark_string_ptr): Likewise.
5940 (ggc_mark_tree_varray_ptr): Likewise.
5941 (ggc_mark_tree_hash_table_ptr): Likewise.
5942 * ggc-common.c: New file.
5943 * Makefile.in (OBJS): Add ggc-common.o.
5944 (ggc-common.o): List dependencies.
5946 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
5948 * cppalloc.c (xstrdup): Use memcpy.
5949 * cpperror.c (cpp_print_containing_files): Don't use
5951 * cpplib.c (conditional_skip): Set temp->lineno.
5952 (do_endif): Make error message less obscure.
5953 (if_directive_name): New function.
5954 (cpp_get_token [case EOF]): Unwind the if stack and generate
5955 error messages for each unterminated conditional in this file.
5956 (parse_string): Do not behave differently if -traditional.
5958 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
5960 * builtins.c (expand_builtin_va_arg): Cope with an array-type
5961 va_list decomposing to pointer-type.
5962 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
5963 (rs6000_va_arg): Likewise.
5965 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
5967 * except.c (start_dynamic_handler): Compute size using
5968 STACK_SAVEAREA_MODE.
5970 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5972 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
5973 include directory headers. Don't define strrchr. Don't provide
5974 my_* replacement functions. Prefer PTR over `pointer_type'.
5975 Don't prototype system functions. Don't redefine getopt.
5977 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
5978 safe_read, safe_write, save_pointers, restore_pointers,
5979 is_id_char, in_system_include_dir, directory_specified_p,
5980 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
5981 find_corresponding_lparen, referenced_file_is_newer,
5982 save_def_or_dec, munge_compile_params, gen_aux_info_file,
5983 process_aux_info_file, identify_lineno, check_source,
5984 seek_to_line, forward_to_next_token_char, output_bytes,
5985 output_string, output_up_to, other_variable_style_function,
5986 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
5987 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
5988 find_static_definition, connect_defs_and_decs, add_local_decl,
5989 add_global_decls, needs_to_be_converted, visit_each_hash_node,
5990 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
5991 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
5992 scan_for_missed_items, edit_file, string_list_cons): Add static
5994 (standard_exec_prefix, target_machine, target_version,
5995 default_syscalls_dir, string_list, string_list_cons, find_file,
5996 do_cleaning): Constify a char*.
5997 (safe_read, safe_write): Use PTR, not a char*.
5998 (is_id_char): Take an int, not a char.
5999 (main): Add prototype. Call return, not exit.
6001 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
6003 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
6004 when comparing types.
6006 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
6008 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
6009 (strength_reduce): Release the varrays from the no-bivs early exit.
6011 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
6012 the loop over the registers.
6014 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
6016 (restore_tree_status): Check that instead when freeing the obstack.
6018 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
6020 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
6023 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6025 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
6026 operand size modifiers.
6028 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6030 * c-common.c (c_common_nodes_and_builtins): Don't build
6032 * c-common.h (enum c_tree_index and related accesor macros): Remove
6033 everything now declared in tree.h.
6034 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
6035 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
6036 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
6037 (error_mark_node, void_type_node, char_type_node, integer_type_node,
6038 unsigned_type_node, ptr_type_node, va_list_type_node,
6039 integer_zero_node, null_pointer_node, integer_one_node): Delete.
6040 (init_decl_processing): Call build_common_tree_nodes and
6041 build_common_tree_nodes_2 instead of building their nodes here.
6042 Don't add roots for these nodes.
6043 * stor-layout.c (size_zero_node, size_one_node): Delete.
6044 (set_sizetype): Make a new node for bitsizetype each time.
6045 * tree.c (global_trees): New variable.
6046 (init_obstacks): Add a gc root for it.
6047 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
6048 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
6049 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
6050 (build_common_tree_nodes): New function.
6051 (fix_sizetype): New function.
6052 (build_common_tree_nodes_2): New function.
6053 * tree.h (enum tree_index): New.
6054 (global_trees): Declare.
6055 Add accessor macros for all nodes now moved to global_trees.
6056 Delete their declarations.
6058 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
6060 * c-decl.c (finish_function): When processing a nested function,
6061 push and pop GC context around rest_of_compilation.
6063 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
6065 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
6066 Default ix86_arch to PROCESSOR_I386.
6067 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
6068 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
6069 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
6070 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
6071 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
6072 (EXTRA_SPECS): Remove deleted specs.
6074 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
6076 * function.c (assign_stack_local_1): Allocate from
6077 function->x_frame_offset, not frame_offset.
6079 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
6081 * ggc.h (lang_cleanup_tree): Remove.
6082 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
6083 * ggc-callbacks.c (lang_cleanup_tree): Remove.
6085 * c-decl.c (finish_struct): Use ggc_alloc to allocate
6086 TYPE_LANG_SPECIFIC when garbage collecting.
6087 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
6088 (lang_cleanup_tree): Remove.
6090 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
6092 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
6093 * crtstuff.c: Not here.
6094 * dwarf2out.c: Or here.
6095 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
6098 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
6100 * function.h (free_after_compilation): Remove decl parameter.
6101 (free_varasm_status0: Likewise.
6102 (free_emit_status): Likewise.
6103 (free_stmt_status): Likewise.
6104 (free_after_compilation): Likewise.
6105 (init_lang_status): New variable.
6106 (free_lang_status): Likewise.
6107 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
6108 * function.c (init_lang_status): New variable.
6109 (free_lang_status): Likewise.
6110 (push_function_context_to): Don't set function::decl here.
6111 (free_after_copmilation): Make decl parameter implicit. Call
6112 free_lang_status if defined.
6113 (prepare_function_start): Call init_lang_status if defined.
6114 (init_function_start): Set function::decl here.
6115 * profile.c (output_func_start_profiler): Don't call pushdecl
6116 until we've actually started the function.
6117 * stmt.c (free_stmt_status): Make decl parameter implicit.
6118 * toplev.c (rest_of_compilation): Don't pass decl to
6119 free_after_compilation.
6120 * varasm.c (free_varasm_status): Likewise.
6122 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6124 * except.c (call_get_eh_context): Add root when allocating static
6127 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
6129 * arm.c: Include "ggc.h".
6130 (arm_add_gc_roots): New function.
6131 (arm_override_options): Call it.
6132 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
6134 * arm.md (define_asm_attributes): Add a pool_range attribute.
6136 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
6138 * extend.texi (Volatiles): New node.
6140 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
6142 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
6143 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
6144 (struct ggc_any): Replace `mark' with `magic_mark'.
6145 (ggc_alloc_string): Use memcpy, not bcopy.
6146 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
6147 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
6148 (ggc_free_any): New.
6149 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
6150 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
6151 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
6152 Use IS_MARKED. Use ggc_free_any.
6154 1999-09-09 Scott Bambrough <scottb@netwinder.org>
6156 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
6158 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
6160 * toplev.c (main): Always init_ggc.
6162 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
6164 * except.c (find_all_handler_type_matches): Free the list if
6165 we found no matches.
6167 * combine.c (SUBST): Break out to a real function do_SUBST.
6168 (SUBST_INT): Likewise.
6169 * gcse.c (free_pre_mem): Free `temp_bitmap'.
6170 (pre_insert): Free `inserted'.
6171 * loop.c (basic_induction_var): Always set `location'.
6173 * function.c (expand_function_end): Add initial_trampoline as a root.
6174 * rtl.h (init_varasm_once): Declare.
6175 * toplev.c (compile_file): Call it.
6176 * ggc-simple.c (ggc_mark_string_ptr): New.
6177 (ggc_add_string_root): New.
6178 (ggc_collect): Disable collection avoidance temporarily.
6179 * ggc.h (ggc_add_string_root): Declare.
6180 * except.c (create_rethrow_ref): Use ggc_alloc_string.
6181 * optabs.c (init_libfuncs): Likewise.
6182 * varasm.c (named_section): Use ggc_alloc_string.
6183 (make_function_rtl): Likewise.
6184 (make_decl_rtl): Likewise.
6185 (assemble_static_space): Likewise.
6186 (assemble_trampoline_template): Likewise.
6187 (output_constant_def): Likewise.
6188 (force_const_mem): Likewise.
6189 (mark_const_hash_entry): New.
6190 (mark_pool_sym_hash_table): New.
6191 (mark_varasm_state): Use it.
6192 (init_varasm_once): New.
6194 * expr.h (init_one_libfunc): Declare.
6195 * optabs.c (init_one_libfunc): New.
6196 (init_optabs): Use it.
6197 * config/gofast.h: Likewise.
6198 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
6199 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
6201 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
6203 * Makefile.in (cppexp.o): Depend on cpphash.h.
6204 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
6206 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
6207 * cpplib.c (do_define): Generalise to handle poisoned definitions,
6208 redefining poisoned identifiers, etc.
6209 (do_undef): Don't allow poisoned identifiers to be undefined.
6210 (do_pragma): Add #pragma poison.
6211 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
6213 * cccp.c: Add T_POISON node type.
6214 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
6216 (do_define): Generalise to handle poisoned definitions,
6217 redefining poisoned identifiers, etc.
6218 (do_undef): Don't allow poisoned identifiers to be undefined.
6219 (do_pragma): Add #pragma poison.
6220 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
6222 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
6223 * c-pragma.h: Add ps_poison state. We now always have generic
6226 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
6228 * ggc.h (ggc_alloc): New function.
6229 (ggc_mark): Likewise.
6230 * ggc-simple.c (ggc_any): New structure.
6231 (ggc_status): Add anys.
6232 (n_anys_collected): New variable.
6233 (ggc_alloc): Define.
6234 (ggc_mark): Likewise.
6235 (ggc_collect): Collect the anys.
6237 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6239 * c-decl.c (mark_binding_level): Make static to match prototype.
6241 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
6243 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
6245 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
6247 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
6248 will use into account. Expand the max width to 5.
6251 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
6253 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
6256 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
6258 * alpha.md (call value patterns): Remove the result predicates.
6260 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
6262 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
6265 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6267 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
6268 changed from extern char *, to extern PTR. Also fix typo in
6269 NEED_DECLARATION_REALLOC test.
6271 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
6273 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6275 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
6276 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
6277 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
6278 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
6280 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
6282 * cccp.c (pcfinclude): Likewise.
6284 * global.c (allocno_compare): Likewise.
6286 * haifa-sched.c (rank_for_schedule): Likewise.
6288 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
6290 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
6292 * stupid.c (stupid_reg_compare): Likewise.
6294 * tree.c (_obstack_allocated_p): Likewise.
6296 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
6298 1999-09-08 Bruce Korb autogen@linuxbox.com
6300 * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
6301 why "gperf -F" fails.
6302 * gcc/cp/Makefile.in: ditto
6303 * gcc/Makefile.in: ditto
6304 * gcc/java/Makefile.in: ditto
6306 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
6308 * lists.c: Include ggc.h.
6310 (init_EXPR_INSN_LIST_cache): Install it.
6312 * ggc-simple.c (init_ggc): Absorb the old init.
6313 (ggc_push_context): Use xcalloc.
6314 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
6315 (ggc_collect): Add [rvts] tags to the collection stats.
6317 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
6319 * cccp.c (main): Fix handling of -include and -imacros options.
6321 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
6323 * cpplib.c (cpp_push_buffer): Fix order of arguments.
6325 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
6327 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
6330 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
6332 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
6333 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
6334 and SET_DEST. Update comment.
6336 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6338 * config/c4x/c4x.c: Include ggc.h.
6339 (c4x_add_gc_roots): New function.
6340 (c4x_override_options): Call c4x_add_gc_roots.
6342 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
6344 * defaults.h (TARGET_ESC): Move ...
6345 * system.h: ... here, where Linas had it in the first place. Silly me.
6347 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
6349 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
6350 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
6351 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
6352 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
6353 * defaults.h (TARGET_ESC): Add default.
6355 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
6357 * configure.in: add i370-*-openedition, i370-*-mvs and
6358 i370-*-linux targets
6360 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
6362 * dsp16xxx.c: Include ggc.h
6363 (override_options): Mark GC roots.
6364 * mn10200.c: Include ggc.h.
6365 (asm_file_start): Mark GC roots.
6366 * tahoe.c: Include ggc.h.
6367 (extensible_operand): Mark GC roots.
6369 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
6371 * README: Add section discussing status of ELF ABI.
6372 * i370.c: Fix misc spelling mistakes.
6373 (i370_label_scan): Updated notes, exception handling.
6374 (i370_function_prolog): Simplify ELF stack handling.
6375 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
6376 (STACK_GROWS_DOWNWARD): ELF stack grows down.
6377 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
6378 * i370.md: (movdi): Add notes.
6379 (floatsidf2): Use stack not rtca for scratch float area.
6380 (iorsi3): Correct operand constraints.
6381 * x-oe: Restore TAROUTOPTS which are used by pax.
6383 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
6385 * rs6000.c: Include ggc.h.
6386 (rs6000_add_gc_roots): New function.
6387 (override_options): Call it.
6389 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
6391 * alpha.h (alpha_compare): New.
6392 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
6393 * alpha.c: Likewise for the definitions.
6394 (alpha_emit_conditional_branch): Update for alpha_compare.
6395 (alpha_emit_conditional_move): Likewise.
6396 * alpha.md (cmpdf, cmpdi): Likewise.
6397 (setcc patterns): Likewise. Zero alpha_compare after use.
6398 (sne): Optimize (x != 0) into (0U < x).
6400 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
6402 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
6403 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
6404 (INIT_EXPANDERS): Remove.
6405 * alpha.c: Include ggc.h.
6406 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
6407 (alpha_init_machine_status, alpha_mark_machine_status): New.
6408 (override_options): Install them.
6409 (struct machine_function): Moved to alpha.h.
6410 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
6411 (alpha_init_expanders): Remove.
6412 (alpha_return_addr): Adjust to use current_function->machine.
6413 (alpha_ra_ever_killed): Likewise.
6414 (alpha_expand_epilogue): Likewise.
6415 * alpha.md (eh_epilogue): Likewise.
6417 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
6418 Melissa O'Neill <oneill@cs.sfu.ca>
6419 Geoffrey Keating <geoffk@cygnus.com>
6421 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
6422 call-used registers (call-saved registers must still be contiguous
6423 and end with r31, of course).
6425 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
6427 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
6428 (self_promoting_type_p): Delete.
6429 (self_promoting_args_p): Move ...
6430 * c-common.c: ... here.
6431 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
6432 (simple_type_promotes_to): New.
6433 * builtins.c (lang_type_promotes_to): New.
6434 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
6435 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
6436 * c-common.h: ... here.
6437 (self_promoting_args_p, simple_type_promotes_to): Declare.
6438 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
6439 (grokdeclarator): Likewise.
6440 * tree.h (lang_type_promotes_to): Declare.
6442 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
6444 Add some machine-dependent GC roots.
6445 * sparc.c: Include ggc.h.
6446 (sparc_add_gc_roots): New function.
6447 (mark_ultrasparc_pipeline_state): Likewise.
6448 (override_options): Call sparc_add_gc_roots.
6449 * pa.c: Include ggc.h.
6450 (pa_add_gc_roots): New function.
6451 (mark_deferred_plabels): Likewise.
6452 (override_options): Call pa_add_gc_roots.
6453 * mips.c: Include ggc.h.
6454 (mips_add_gc_roots): New function.
6455 (override_options): Use it.
6457 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6459 * cpperror.c (cpp_file_line_for_message): Constify a char*.
6461 * cppexp.c (parse_number, parse_charconst, cpp_lex,
6462 cpp_parse_expr): Add static prototypes.
6463 (parse_charconst): Don't cast away const-ness.
6464 (token): Constify a char*.
6466 * cppfiles.c (file_name_list, include_hash, find_include_file,
6467 finclude, initialize_input_buffer): Constify a char*.
6468 (file_cleanup, find_position): Add static prototypes.
6470 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
6471 collect_expansion): Add static prototypes.
6472 (cpp_install, create_definition, monthnames): Constify a char*.
6474 * cpphash.h (cpp_install): Likewise.
6476 * cppinit.c (known_suffixes, default_include,
6477 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
6478 (base_name, dump_special_to_buffer, initialize_dependency_output):
6479 Add static prototypes.
6481 * cpplib.c (my_strerror): Constify a char*.
6482 (null_underflow, null_cleanup, skip_comment, copy_comment,
6483 copy_rest_of_line, handle_directive, pass_thru_directive,
6484 get_directive_token, read_line_number, cpp_print_file_and_line,
6485 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
6486 v_cpp_warning_with_line, detect_if_not_defined,
6487 consider_directive_while_skipping): Add static prototypes.
6488 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
6489 cpp_pedwarn_with_file_and_line): Constify a char*.
6491 * cpplib.h (cpp_options, include_hash, progname, definition,
6492 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
6493 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
6494 find_include_file, deps_output, include_hash): Constify a char*.
6496 * cppmain.c (progname): Constify.
6497 (main): Add prototype. Use return, not exit.
6499 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
6500 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
6501 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
6502 check_protection): Add static prototype.
6504 (progname, recognized_macrom, recognized_extern): Constify a char*.
6505 (main): Add prototype.
6507 * gen-protos.c (progname): Constify a char*.
6509 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
6511 * emit-rtl.c (free_emit_status): Take decl as a parameter.
6512 (init_emit_once): Add more GC roots.
6513 * except.c (mark_func_eh_entry): New function.
6514 (mark_eh_node): Mark false_label and rethrow_label.
6515 (init_eh): Add more GC roots.
6516 * function.c (free_after_compilation): Take decl as a paramter.
6517 Call free_stmt_status.
6518 (mark_function_state): Don't assume x_parm_reg_stack_loc is
6520 * function.h (free_after_compilation): Change prototype.
6521 (free_varasm_status): Likewise.
6522 (free_emit_status): Likewise.
6523 (free_stmt_status): New function.
6524 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
6525 Remove, replacing with ...
6526 (ggc_status): New structure.
6527 (ggc_chain): New variable.
6529 (ggc_push_context): New function.
6530 (ggc_pop_context): Likewise.
6531 (ggc_alloc_rtx): Adjust for use of ggc_chain.
6532 (ggc_alloc_rtvec): Likewise.
6533 (ggc_alloc_tree): Likewise.
6534 (ggc_alloc_string): Likewise.
6535 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
6536 (ggc_mark_tree): Give language-dependent code a chance to mark
6538 (ggc_mark_tree_varray): Handle empty arrays.
6539 (ggc_collect): Adjust for use of ggc_chain. Clear
6540 bytes_alloced_since_last_gc.
6541 * ggc.h (ggc_pop_context): New function.
6542 (ggc_push_context): Likewise.
6543 * print-tree.c (print_node): Don't print obstacks when GC'ing.
6544 * stmt.c (free_stmt_status): New function.
6545 (init_stmt_for_function): Clear last_expr_value.
6546 * toplev.c (rest_of_compilation): Always call free_after_compilation.
6547 Conditionalize call to ggc_collect.
6548 (main): Call init_ggc.
6549 * tree.c (push_obstacks): Do the push, even when GC'ing.
6550 (push_obstacks_nochange): Likewise.
6551 (pop_obstacks): Liekwise.
6552 * varasm.c (free_varasm_status): Take decl as a parameter.
6554 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
6556 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
6557 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
6558 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
6559 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
6561 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
6563 * pa/x-pa-mpeix: New file for the MPE port.
6565 * pa/quadlib.asm: New file for long double support.
6567 * configure.in: Add hppa1.0-*-mpeix for MPE port.
6568 * configure: Rebuilt.
6570 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
6572 * final.c (shorten_branches): Fix last change.
6574 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
6576 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
6578 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
6580 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
6583 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6585 * c-aux-info.c (concat): Don't define.
6587 * cccp.c (my_strerror): Likewise. All callers changed to use
6589 (do_include): Call xstrdup, not xmalloc/strcpy.
6590 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
6591 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
6593 * collect2.c (my_strsignal): Likewise. All callers changed to use
6595 (locatelib): Call xstrdup, not xmalloc/strcpy.
6597 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
6599 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
6601 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
6603 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
6605 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
6607 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
6609 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
6611 (find_all_handler_type_matches): Likewise. Don't check return
6613 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
6614 xmalloc, not malloc.
6615 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
6617 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
6618 (init_spec): Call xcalloc, not xmalloc/bzero.
6619 (set_spec): Call xstrdup, not save_string.
6620 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
6621 (find_a_file): Call xstrdup, not xmalloc/strcpy.
6622 (process_command): Call xstrdup, not save_string.
6623 (main): Call xcalloc, not xmalloc/bzero.
6625 * gcov.c (xmalloc): Don't define.
6626 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
6627 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
6628 (output_data): Call xcalloc, not xmalloc/bzero.
6630 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
6632 * mips-tdump.c (xmalloc): Don't define.
6633 (print_symbol): Call xmalloc, not malloc.
6634 (read_tfile): Call xcalloc, not calloc.
6636 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
6637 Don't define. All callers of xfree/my_strsignal changed to use
6638 free/strsignal instead.
6639 (allocate_cluster): Call xcalloc, not calloc.
6641 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
6642 Fix memory leak, free allocated memory.
6644 * prefix.c (translate_name): Call xstrdup, not save_string.
6645 (update_path): Likewise.
6647 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
6649 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
6650 Don't define. Callers of xfree/savestring2 changed to use
6651 free/concat instead.
6653 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
6654 (init_elim_table): Likewise.
6656 * resource.c (init_resource_info): Likewise.
6658 * stupid.c (stupid_life_analysis): Likewise.
6660 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
6661 (open_dump_file): Call concat, not xmalloc/strcpy/...
6662 (clean_dump_file): Likewise.
6663 (compile_file): Call xstrdup, not xmalloc/strcpy.
6665 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
6667 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
6668 * v850.c (v850_va_arg): New.
6670 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6672 * haifa-sched.c: Tidy comments.
6674 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6676 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
6677 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
6678 $(out_object_file)): Depend on ggc.h.
6679 * c-common.c: Include "ggc.h".
6680 (combine_strings): If doing GC, use ggc_alloc_string.
6681 * c-decl.c: Include "ggc.h".
6682 (ggc_p): Define with value 0.
6683 (mark_binding_level): New function.
6684 (init_decl_processing): Add GC roots.
6685 (mark_c_function_context): New function.
6686 (lang_mark_false_label_stack): New function.
6687 (lang_mark_tree): New function.
6688 (lang_cleanup_tree): New function.
6689 * c-lang.c: Include "ggc.h".
6690 (lang_init): Call c_parse_init.
6691 * c-lex.c: Include "ggc.h".
6692 (check_linenum): If doing GC, don't copy filenames to permanent
6694 * c-parse.in: Include "ggc.h".
6695 (c_parse_init): New function.
6696 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
6697 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
6699 * except.c (mark_eh_state): Mark more state.
6700 * function.c (mark_function_state): Likewise.
6701 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
6702 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
6703 * toplev.c (mark_file_stack): New function.
6704 (compile_file): If doing GC, use ggc_alloc_string on input filename.
6705 (main): Add root for input_file_stack.
6707 * i386.c: Include "ggc.h".
6708 (ix86_mark_machine_status): New function.
6709 (override_options): Set mark_machine_status.
6711 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6713 * tree.c (copy_node): Copy node contents also if doing GC.
6715 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
6717 * collect2.c (scan_libraries): Fix double-thinko :-).
6719 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
6721 * collect2.c (scan_libraries): Fix thinko.
6723 * cse.c (delete_trivially_dead_insns): Do not skip the last
6724 insn if it is a real insn.
6726 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
6728 * Makefile.in (ggc-simple.o): Depend on hash.h.
6729 * ggc.h (ggc_add_tree_hash_table_root): Declare.
6730 (ggc_mark_tree_varray): Likewise.
6731 (ggc_mark_tree_hash_table): Likewise.
6732 * ggc-simple.c: Include hash.h.
6733 (ggc_mark_tree_hash_table_ptr): New function.
6734 (ggc_mark_tree_hash_table_entry): Likewise.
6735 (ggc_mark_tree_hash_table): Likewise.
6736 (ggc_add_tree_hash_table_root): Likewise.
6737 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
6738 rtx, when defining fields.
6740 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
6742 * profile.c (output_func_start_profiler): Remove apparently
6743 nonsensical call to start_sequence.
6745 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
6747 * clipper/clipper.c (clipper_va_start): Fix typos.
6749 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
6750 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
6751 (spur_va_arg): New stub.
6753 * configure.in: Comment out pyramid.
6755 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
6757 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
6758 don't conflict with the bits that win32, cygwin, and dgux
6761 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
6762 Bernd Schmidt <bernds@cygnus.co.uk>
6764 * integrate.c (function_cannot_inline_p): Do not inline
6765 functions with forced labels.
6767 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
6768 Bernd Schmidt <bernds@cygnus.co.uk>
6769 Mark Mitchell <mark@codesourcery.com>
6771 * Makefile.in (ggc-simple.o): Depend on varray.h.
6772 (rtl.o): Depend on ggc.h.
6773 (genattrtab.o): Depend on ggc.h.
6774 (print-tree.o): Likewise.
6775 (fold-const.o): Likewise.
6776 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
6777 (make_insn_raw): Don't cache insns when GC'ing.
6778 (emit_insn_before): Likewise.
6779 (emit_insn_after): Likewise.
6780 (emit_insn): Likewise.
6781 (start_sequence): Use xmalloc to allocate the sequence_stack.
6782 (end_sequence): Add free to free it.
6783 (gen_sequence): Don't cache insns when GC'ing.
6784 (clear_emit_caches): Don't use sequence_element_free_list.
6785 (init_emit): Use xcalloc, not xmalloc+bzero.
6786 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
6787 * function.c (pop_function_context_from): Use free to free the
6788 fixup_var_refs_queue.
6789 (put_reg_into_stack): Allocate it with xmalloc.
6790 * genattrtab.c: Include ggc.h.
6791 (operate_exp): Don't use obstack_free when GC'ing.
6792 (simplify_cond): Likewise.
6793 (simplify_text_exp): Likewise.
6794 (optimize_attrs): Likewise.
6795 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
6797 (gencode): Generate a #include for ggc.h.
6798 * ggc-callbacks.c (ggc_p): Define it to zero.
6799 * ggc-none.c (ggc_p): Likewise.
6800 * ggc-simple.c: Include varray.h.
6801 (ggc_mark_tree_varray): New function.
6802 (ggc_add_tree_varray_root): Likewise.
6803 (ggc_mark_tree_varray_ptr): Likewise.
6804 * ggc.h (ggc_p): Declare.
6805 (varray_head_tag): Likewise.
6806 (ggc_add_tree_varray_root): Declare.
6807 * print-tree.c (print_node): Don't check for TREE_PERMANENT
6808 inconsistencies when GC'ing.
6809 * rtl.c: Include ggc.h.
6810 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
6811 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
6812 (rtx_free): Don't call obstack_free when GC'ing.
6813 * toplev.c (rest_of_compilation): Call ggc_collect after every
6815 * tree.c (push_obstacks): Do nothing, if GC'ing.
6816 (pop_obstacks_nochange): Likewise.
6817 (pop_obstacks): Likewise.
6818 (make_node): Use ggc_alloc_tree when GC'ing.
6819 (copy_node): Likewise.
6820 (get_identifier): Use ggc_alloc_string when GC'ing.
6821 (build_string): Likewise.
6822 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
6823 (tree_cons): Likewise.
6825 (type_hash_canon): Don't call obstack_free when GC'ing.
6827 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
6829 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
6830 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
6832 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
6833 Bernd Schmidt <bernds@cygnus.co.uk>
6834 Mark Mitchell <mark@codesourcery.com>
6836 * Makefile.in (stor-layout.o): Depend on ggc.h.
6837 (expr.o): Depend on ggc.h.
6838 (profile.o): Depend on ggc.h.
6839 (stor-layout.o): Depend on ggc.h.
6840 * emit-rtl.c (init_emit_once): Add gc roots.
6841 * expr.c: Include ggc.h.
6842 (emit_block_move): Add gc roots.
6843 (clear_storage): Likewise.
6844 * expr.h (init_stor_layout_once): New function.
6845 * profile.c: Include ggc.h.
6846 (init_arc_profiler): profiler_label is a root.
6847 * scan.c (make_sstring_space): Trust xrealloc to function
6848 correctly with first parameter NULL.
6849 * stor-layout.c: Include ggc.h.
6850 (set_sizetype): Add gc root.
6851 (init_stor_layout_once): New function.
6852 * toplev.c (compile_file): Call it.
6854 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
6855 Bernd Schmidt <bernds@cygnus.co.uk>
6856 Mark Mitchell <mark@codesourcery.com>
6858 * Makefile.in (tree.o): Depend on ggc.h.
6859 (varasm.o): Likewise.
6860 (function.o): Likewise.
6862 (except.o): Likewise.
6863 (optabs.o): Likewise.
6864 (emit-rtl.o): Likewise.
6865 * emit-rtl.c: Include ggc.h.
6866 (sequence_element_free_list): Remove, and all references.
6867 (mark_sequence): New functions.
6868 (mark_emit_state): New function.
6869 * except.c: Include ggc.h.
6870 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
6871 (mark_tree_label_node): New functions.
6872 (mark_eh_state): New function.
6873 * function.c: Include ggc.h.
6874 (mark_temp_slot, mark_function_chain): New functions.
6875 (mark_function_state): New function.
6876 (init_function_once): New function.
6877 * function.h (init_function_once): New function.
6878 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
6879 * ggc.h (label_node): Declare.
6880 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
6881 (lang_mark_false_label_stack): New function.
6882 (mark_temp_slot): Remove declaration.
6883 (mark_function_chain): Likewise.
6884 (mark_eh_state): Adjust prototype.
6885 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
6887 * optabs.c: Include ggc.h.
6888 (mark_optab): New function.
6889 (init_optabs): Add gc roots.
6890 * stmt.c: Include ggc.h.
6891 (mark_cond_nesting, mark_loop_nesting): New functions.
6892 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
6893 (mark_stmt_state): New function.
6894 * toplev.c (compile_file): Call init_function_once.
6895 * tree.c: Include ggc.h.
6896 (type_hash): Move declaration earlier in file.
6897 (TYPE_HASH_SIZE, type_hash_table): Likewise.
6898 (init_obstacks): Add gc roots.
6899 (mark_type_hash): New function.
6900 * varasm.c: Include ggc.h.
6901 (mark_pool_constant): New function.
6902 (mark_varasm_state): New function.
6904 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6906 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
6908 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6910 * c-decl.c (struct language_function): Renamed from struct c_function.
6912 (c_function_chain): Delete.
6913 (push_c_function_context): New arg F. Don't warn about nested
6914 functions here. Fill LANGUAGE elt of F. Delete code to update
6915 c_function_chain. Don't call push_function_context.
6916 (pop_c_function_context): New arg F. Restore from there instead of
6917 from c_function_chain. Don't call pop_function_context. Clear out
6918 LANGUAGE field of F when done.
6919 * c-lang.c: Include "function.h"
6920 (lang_init): Initialize save_lang_status and restore_lang_status.
6921 * c-parse.in (nested_function, nested_function_notype): Warn about
6922 nested functions. Call push_function_context/pop_function_context
6923 instead of the _c_ variants.
6924 * c-tree.h (push_c_function_context, pop_c_function_context): Update
6926 * Makefile.in (c-lang.o): Update dependencies.
6928 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
6929 regno_pointer_flag, regno_pointer_align.
6930 (gen_reg_rtx): Use xrealloc to enlarge them.
6931 (free_emit_status): New function.
6932 * function.c (mark_machine_status, mark_lang_status): New variables.
6933 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
6934 in some bits from assign_stack_local. All callers changed to use new
6936 (assign_stack_local): Just call assign_stack_local_1.
6937 (free_after_compilation): New function.
6938 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
6939 (trampoline_address): Likewise.
6940 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
6941 (prepare_function_start): Explicitly clear some more variables.
6942 * function.h (struct function): New elt can_garbage_collect.
6943 (mark_machine_status, mark_lang_status): Declare variables.
6944 (free_after_compilation, free_emit_status, free_varasm_status,
6945 init_varasm_status): Declare functions.
6946 * toplev.c (rest_of_compilation): Call free_after_compilation when
6947 done with the current function.
6948 * varasm.c (free_varasm_status): New function.
6950 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
6952 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
6953 (EXPAND_BUILTIN_VA_ARG): Define.
6954 * sparc.c (sparc_va_start): New.
6955 (sparc_va_arg): New.
6957 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6959 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
6961 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6963 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
6965 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
6967 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
6969 (ggc-callbacks.o): New target.
6970 * ggc-callbacks.c: New file.
6972 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6974 * expr.h: Collapse individual optab and libfunc vars to arrays.
6975 (optab_index, libfunc_index): New enumerations.
6976 (optab_table, libfunc_table): New arrays.
6977 Add accessor macros for both.
6979 * optabs.c (optab_table, libfunc_table): New.
6980 Delete declarations for individual optab and libfunc vars.
6982 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
6984 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
6986 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
6988 * Makefile.in (GGC, GGC_LIB): New.
6989 (HOST_RTL): Include ggc-none.o.
6990 (ggc-simple.o): New target.
6991 (ggc-none.o): Likewise.
6992 * tree.h (tree_common): Add gc_mark.
6993 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
6994 (struct rtvec_def): Add gc_mark.
6995 * emit-rtl.c (global_rtl): Update static initializers to contain
6996 enough initializers.
6997 * ggc.h, ggc-none.c, ggc-simple.c: New files.
6998 * toplev.c (gc_time): New variable.
6999 (all_time): New variable.
7000 (compile_file): Print gc time.
7001 (print_time): Calculate percentage of the whole.
7003 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7005 Change obstack memory management and varasm constant pool handling so
7006 that nested functions are treated like any other functions.
7007 * function.c (init_machine_status): New variable.
7008 (push_function_context_to): Set contains_functions for the outer
7009 function. Don't call save_varasm_status.
7010 (pop_function_context_from): Don't call restore_varasm_status. Don't
7011 set current_function_contains_functions.
7012 (prepare_function_start): Call init_varasm_status rather than
7013 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
7015 * function.h (struct function) Add field varasm. Delete fields
7016 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
7017 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
7018 (init_machine_status): Declare.
7019 (save_varasm_status, restore_varasm_status): Delete declarations.
7020 (save_tree_status, restore_tree_status): Delete last argument.
7021 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
7022 code. All callers changed.
7023 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
7024 save_constants_in_decl_trees, restore_constants, save_constants,
7025 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
7027 (inlining): New variable.
7028 (reg_map, label_map, insn_map, orig_asm_operands_vector,
7029 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
7031 (save_for_inline_nocopy): Don't save constants.
7032 Don't set inl_emit field in current_function.
7033 (expand_inline_function): Use emit field, not inl_emit, of the inlined
7034 function. Set new variable inlining before
7035 calling copy_rtx_and_substitute.
7036 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
7037 constant pool references if inlining is nonzero.
7038 Delete ADDRESS and (most of the) CONST cases.
7039 (output_inline_function): Save and restore current_function/
7040 current_function_decl. Delete restore_constants code. Don't call
7041 init_const_rtx_hash_table.
7042 * output.h (init_const_rtx_hash_table): Don't declare.
7043 * rtl.h (struct function): Declare.
7044 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
7045 * toplev.c (rest_of_compilation): Don't treat nested functions or
7046 functions containing them specially. Delete all code to deal with
7047 save_for_inline_copying.
7048 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
7049 inline_obstacks): Delete variables.
7050 (save_tree_status): Lose arg CONTEXT. All callers changed.
7051 Simply allocate a new function_maybepermanent_obstack for the new
7052 function, delete all the special cases.
7053 Don't save inline_obstacks.
7054 (restore_tree_status): Lose arg CONTEXT. All callers changed.
7055 Delete special handling for function_maybepermanent_obstack; simply
7057 Don't restore inline_obstacks.
7058 (permanent_allocation): Delete code that frees inline_obstacks.
7059 (print_inline_obstack_statistics): Delete function.
7060 (dump_tree_statistics): Don't call it.
7061 * varasm.c (struct varasm_status): New.
7062 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
7063 last_pool, pool_offset, const_double_chain): Delete global
7064 variables, replace with accessor macros.
7065 (immed_double_const): Don't walk const_double_chain outside a
7066 function, but don't treat nested functions specially anymore.
7067 (immed_real_const_1): Likewise.
7068 (clear_const_double_mem): Don't treat nested functions specially.
7069 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
7070 (save_varasm_status, restore_varasm_status): Delete functions.
7071 (init_varasm_status): New function.
7072 (force_const_mem): Don't treat nested functions specially.
7073 (find_pool_constant): Accept new arg F, search for constants in
7074 that function's pool rather than the current one. All callers
7076 (get_pool_constant_for_function, get_pool_mode_for_function): New
7079 * i386.c (init_386_machine_status): New function, mostly from
7080 clear_386_stack_locals.
7081 (struct machine_functions): Rename element names to avoid name
7083 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
7084 macros, replacing global variables.
7085 (clear_386_stack_locals, save_386_machine_status,
7086 restore_386_machine_status): Delete functions.
7087 (override_options): Initialize init_machine_status.
7088 * i386.h (INIT_EXPANDERS): Delete macro.
7089 (save_386_machine_status, restore_386_machine_status,
7090 clear_386_stack_locals): Delete declarations.
7092 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7094 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
7095 (doloop_begin): Simplify pattern and use emit_jump_insn.
7096 (doloop_end): Simplify pattern, switch operand order,
7097 and use emit_jump_insn.
7099 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
7101 * function.h (struct function): Add new element LANGUAGE.
7102 (save_lang_status): Declare new variable.
7103 (restore_lang_status): Likewise.
7104 * function.c (save_lang_status): Define.
7105 (restore_lang_status): Likewise.
7106 (push_function_context_to): Call language-specific save function.
7107 (pop_function_context_from): Call language-specific restore function.
7109 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
7111 * i386.md (movsf_1): Check REG_P before use of REGNO.
7112 (movdf_1): Likewise.
7113 (movxf_1): Likewise.
7114 (extendsfdf2): Likewise.
7115 (extendsfxf2): Likewise.
7116 (extenddfxf2): Likewise.
7118 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7120 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
7121 constants into memory.
7122 (c4x_shiftable_constant): New function.
7123 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
7124 (c4x_shiftable_constant): Declare.
7125 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
7126 ashlqi3_noclobber): Add new patterns and associated splitters.
7128 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
7130 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
7131 * dwarf2out.c (dwarf2out_frame_init): Likewise.
7132 * final.c (shorten_branches): Likewise.
7133 * global.c (global_alloc): Likewise.
7134 * haifa-sched.c (build_control_flow): Likewise.
7135 * stmt.c (check_for_full_enumeration_handling): Likewise.
7136 (estimate_case_costs): Likewise.
7138 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
7140 * rtl.h (RTL_CHECKC2): Fix typo in last change.
7142 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
7144 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
7145 (recompute_reg_usage): Likewise.
7146 * rtlanal.c (find_regno_fusage): Likewise.
7148 * rtl.c (rtl_check_failed_code1): New function.
7149 (rtl_check_failed_code2): New.
7150 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
7151 (RTL_CHECKC1, RTL_CHECKC2): New.
7152 (XC*): New accessor macros.
7153 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
7154 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
7155 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
7156 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
7157 (TRAP_*, RANGE_INFO_*): Likewise.
7159 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7161 * Makefile.in (tlink.o): Don't depend on toplev.h.
7163 * collect2.c (c_file, o_file, export_file, import_file, ldout,
7164 output_file, nm_file_name, ldd_file_name, strip_file_name,
7165 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
7166 add_prefix, prefix_from_env, prefix_from_string, do_wait,
7167 fork_execute, maybe_unlink, add_to_list,
7168 extract_init_priority, write_list, dump_list,
7169 dump_prefix_list, write_list_with_asm, write_c_file,
7170 write_c_file_stat, write_c_file_glob, scan_prog_file,
7171 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
7172 ignore_library, extract_string, notice, dump_file, target_machine,
7173 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
7174 read_file, print_load_command): Constify a char*.
7175 (fdopen, error, fatal, fatal_perror): Don't prototype.
7176 (my_strerror): Remove. All callers use xstrerror instead.
7177 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
7178 (main): Add prototype. Constify lots of char* ptrs. Change calls
7179 to xcalloc/strcpy/strcat/... to one call to concat.
7180 (main, scan_prog_file, scan_libraries): Use an intermediate
7181 `const char **' to build an argv array.
7182 (mapfile, libselect, libcompare, locatelib): Add prototypes.
7184 * collect2.h (collect_execute, collect_wait, dump_file,
7185 file_exists): Constify a char*.
7186 (ldout, c_file_name, temporary_obstack, permanent_obstack,
7187 temporary_firstobj, vflag, debug): Add extern declarations.
7188 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
7190 * tlink.c: Don't include toplev.h.
7191 (vflag, debug, ldout, c_file_name, temporary_obstack,
7192 permanent_obstack, temporary_firstobj): Don't declare.
7193 (tlink_execute, frob_extension, symbol_hash_lookup,
7194 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
7195 recompile_files, read_repo_files, demangle_new_symbols,
7196 scan_linker_output): Constify a char*.
7197 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
7198 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
7200 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
7202 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
7203 (relative) rather than jsr (absolute) subroutine call insns.
7204 * config/m68k/m68k-coff.h: Ditto.
7206 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
7208 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
7209 now rework these too.
7210 (arm_reorg): If an insn can't reach the end of the current pool,
7211 ensure that we emit that pool before the insn.
7213 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
7215 * tlink.c (scan_linker_output): Skip the initial underscore in
7216 a mangled name if appropriate.
7218 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7220 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
7221 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
7222 error_with_ivar, gen_declarator, create_builtin_decl,
7223 my_build_string, generate_descriptor_table, generate_ivars_list,
7224 generate_dispatch_table, check_protocols, TAG_GETCLASS,
7225 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
7226 dump_base_name, lang_decode_option, build_encode_expr,
7227 start_class, finish_class, encode_pointer, really_start_method,
7228 gen_declaration, dump_interface, handle_class_ref, handle_impent):
7230 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
7231 Add static prototypes.
7232 (build_objc_string_decl, build_selector_reference_decl,
7233 encode_bitfield, build_class_reference_decl): Remove unused
7234 parameter, all callers changed.
7235 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
7236 (objc_printable_name): Likewise. Change second parameter to type int.
7237 (init_objc): Use memcpy, not bcopy, to avoid casts.
7239 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
7241 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
7242 reg notes on a deleted insn.
7243 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
7245 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
7247 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
7249 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7251 * stmt.c (expand_asm_operands): Fix index into inout_mode when
7254 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
7256 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
7257 * tm.texi (MD_ASM_CLOBBERS): Document it.
7259 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
7261 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
7262 * except.c (expand_rethrow): Remove unused variable.
7263 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
7264 * flow.c (replace_insns): Likewise.
7265 (create_edge_list, verify_edge_list): Likewise.
7266 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
7268 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
7269 is special code to run.
7270 (main): Don't define operands to emit_operand.
7271 * genrecog.c (main): Don't emit an empty peephole2_insn function.
7273 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
7275 * alpha/alpha.h (normal_memory_operand): Declare.
7276 (reg_no_subreg_operand): Declare.
7277 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
7279 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
7281 * c-parse.in (compstmt_primary_start): New, broken out of first
7282 part of compstmt handling in primary.
7283 (primary): Use it. Add an error clause.
7284 (compstmt_nostart): Renamed from compstmt; remove all
7285 initial invocations of compstmt_start.
7288 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
7290 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
7293 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
7295 * combine.c (simplify_shift_const): Remove extra semicolon.
7296 * dwarf2out.c (remove_AT): Likewise.
7297 * expmed.c (expand_mult): Likewise.
7298 * gcov.c (create_program_flow_graph): Likewise.
7299 * reorg.c (mostly_true_jump): Likewise.
7301 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
7303 * fold-const.c (fold_range_test): Do not try to fold the range
7304 test if the rhs or lhs has side effects.
7306 * combine.c (simplify_rtx): Recognize another case of a synthesized
7309 * varasm.c (mark_constant_pool): When marking indirect references,
7310 only look at SYMBOL_REFs.
7312 * except.c (expand_fixup_region_end): Do not peek at
7313 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
7315 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
7317 * flags.h: New variables align_loops, align_loops_log,
7318 align_jumps, align_jumps_log, align_labels, align_labels_log,
7319 align_functions, align_functions_log.
7320 * toplev.c: Define them.
7321 (f_options): Handle -falign-* when they have no argument.
7322 (main): Add logic to set variables for -falign-functions,
7323 -falign-jumps, -falign-labels, -falign-loops.
7324 Make it -fsched-verbose=<n> and -finline-limit=<n>.
7325 (display_help): Change help to match options.
7326 * final.c (LABEL_ALIGN): Default to align_labels_log.
7327 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
7328 (LOOP_ALIGN): Default to align_loops_log.
7329 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
7330 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
7331 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
7332 * varasm.c (assemble_start_function): Handle align_functions.
7334 * config/sparc/sparc.h: Don't declare sparc_align_*.
7335 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
7336 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
7338 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
7340 * config/sparc/sparc.c: Delete sparc_align_loops,
7341 sparc_align_jumps, sparc_align_funcs and the corresponding string
7343 (sparc_override_options): Default align_functions on ultrasparc.
7344 Delete -malign-* handling.
7346 * config/mips/mips.c (override_options): On 64-bit targets,
7347 try to align code to 64-bit boundaries.
7348 (print_operand): New substitution, %~,
7349 which aligns labels to align_labels_log.
7350 * config/mips/mips.md (div_trap_normal): Use %~.
7351 (div_trap_mips16): Likewise.
7356 (ashldi3_internal): Likewise.
7357 (ashrdi3_internal): Likewise.
7358 (lshrdi3_internal): Likewise.
7359 (casesi_internal): Likewise.
7361 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
7363 Merge new ia32 backend from the branch!
7365 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
7366 See ChangeLog.P2 on new_ia32_branch for details.
7368 * rtl.h (stack_regs_mentioned_p): Delete prototype.
7369 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
7370 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
7371 * i386/gas.h (ASM_FILE_START): Define.
7372 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
7373 for name change of ix86_valid_decl_attribute_p.
7374 (i386_pe_valid_type_attribute_p): Similarly.
7376 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
7378 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
7379 to step through CC modes.
7381 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7383 * regmove.c (fixup_match_1): Don't move INSN in front of P if
7384 it would end up in the shadow of a live flags regsiter.
7386 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7388 * reload1.c: Fix many indentation problems.
7389 * reload.c: Likewise.
7391 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
7393 * alias.c (non_local_reference_p): Constify fmt.
7395 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
7397 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
7399 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
7401 * cse.c (delete_trivially_dead_insns): Do not delete stores to
7402 the internal_arg_pointer.
7404 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
7406 Merge peephole2 from new_ia32_branch:
7407 * Makefile.in (STAGESTUFF): Add *.peephole2.
7408 (mostlyclean): Likewise.
7409 (recog.o): Depend on resource.h.
7411 * final.c (peephole): Conditionalize decl on HAVE_peephole.
7412 (final_scan_insn): Likewise for the invocation of peephole.
7413 * genconfig.c (main): Look for peephole and peephole2 patterns.
7414 Emit HAVE_peephole* accordingly.
7415 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
7416 * flags.h (flag_peephole2): Declare.
7417 * toplev.c: New pass peephole2. New flag -fpeephole2.
7419 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
7420 * gencodes.c (main): Likewise.
7421 * genextract.c (main): Likewise.
7422 * genoutput.c (main): Likewise.
7423 * genemit.c (max_operand_1): Look for the max scratch operand.
7424 (gen_rtx_scratch): New.
7425 (gen_exp): Use it, and pass on new arg subroutine_type.
7426 (gen_expand): Take max scratch into account.
7427 (gen_split): Emit peephole2 functions.
7428 (output_peephole2_scratch): New.
7429 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
7430 * genrecog.c (routine_type): Add PEEPHOLE2.
7432 (make_insn_sequence): Match outer parallel for peep2. Discard
7433 top level scratches and dups.
7434 (add_to_sequence): New args insn_type and top. Update all callers.
7435 Handle toplevel peep2 matching insns.
7436 (write_subroutine): Handle peep2.
7437 (write_tree_1): Likewise.
7438 (write_tree): Likewise.
7440 (change_state): New arg afterward. Update all callers.
7441 Handle matching separate insns.
7442 * recog.c (recog_next_insn): New.
7443 (peephole2_optimize): New.
7444 * rtl.def (DEFINE_PEEPHOLE2): New.
7445 * resource.c (find_free_register): New argument last_insn. Use it
7446 to find a register available through the entire span.
7447 * resource.h (find_free_register): Update prototype.
7449 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
7451 * i386.c (output_strlen_unroll): Don't write xops[7]
7452 label if it wasn't set.
7454 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
7456 * cpplib.c (struct directive): Const-ify name pointer and
7457 function pointer prototype.
7458 (validate_else, do_define, do_line, do_include, do_undef,
7459 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
7460 do_elif, do_endif, do_sccs, do_assert, do_unassert,
7461 do_warning): Const-ify second arg.
7462 (directive_table): Mark const. Reorder entries by frequency
7463 of usage, record statistics.
7465 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
7467 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
7468 bounds- check RTL accesses if --enable-checking.
7469 (RTVEC_ELT): Bounds check if --enable-checking.
7470 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
7471 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
7472 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
7474 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
7475 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
7477 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
7478 (NOTE_SOURCE_FILE): Use X0STR.
7479 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
7480 MEM_ALIAS_SET): Use X0INT.
7481 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
7482 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
7484 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
7485 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
7486 (rtl_check_failed_bounds, rtl_check_failed_type1,
7487 rtl_check_failed_type2, rtvec_check_failed_bounds): New
7489 (fancy_abort): Fix comment.
7491 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
7492 (cse_insn): Decrement LABEL_NUSES for jump target before
7494 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
7495 * final.c (alter_subreg): Compute regno before changing x to
7496 REG; set REGNO(x) after changing it.
7497 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
7498 notes containing CONST_INTs.
7499 (delete_eh_regions): Use NOTE_EH_HANDLER.
7500 * function.c (put_reg_into_stack): Make reg a MEM before
7502 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
7504 (gen_mem_addressof): Make reg a MEM before initializing it.
7505 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
7507 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
7508 deleting an insn, not after.
7509 (block_alloc): Only look at PATTERN(insn) if we have to, and
7510 only if it's format class 'i'.
7511 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
7512 CONST_INT before using its INTVAL.
7513 * print-rtl.c (print_rtx): Use X0STR.
7514 * regmove.c (fixup_match_1): Don't look at PATTERN of
7515 non-class-'i' insn chain elements.
7516 * reload.c (loc_mentioned_in_p): Take address of
7517 in->fld[1].rtx directly.
7518 * reload1.c (reload): Change reg to a MEM before initializing
7520 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
7522 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
7524 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
7526 * config/mips/mips.c (machine_dependent_reorg): Force a
7527 barrier to output the local constant pool if a barrier hasn't
7528 been found at a natural point in the instruction stream.
7530 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7532 * c-parse.in (language_string): Constify.
7534 * dwarf2out.c (language_string): Remove declaration.
7536 * dwarfout.c (language_string): Likewise.
7538 * toplev.c (language_string, init_parse, finish_parse): Likewise.
7540 * tree.h (language_string, init_parse, finish_parse): Declare.
7542 * i386/sun386.h (language_string): Remove declaration.
7544 * mips.h (language_string): Likewise.
7546 * nextstep.h (language_string): Likewise.
7548 * nextstep21.h (language_string): Likewise.
7550 * rs6000.c (language_string): Likewise.
7552 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7554 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
7555 (getpwd.o): Remove target.
7557 * getpwd.c: Delete file. Its in libiberty now.
7559 * dbxout.c (getpwd): Don't prototype.
7560 * dwarf2out.c (getpwd): Likewise
7561 * dwarfout.c (getpwd): Likewise
7562 * final.c (getpwd): Likewise.
7563 * protoize.c (getpwd): Likewise.
7565 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7567 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
7569 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
7571 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
7574 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
7576 * fixinc/Makefile.in (subdir): New.
7577 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
7580 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
7582 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
7583 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
7586 * invoke.texi: Fix typo.
7588 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
7589 changed. Handle autoincrement addressing modes.
7591 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
7592 just like we would the virtual incoming args register when
7595 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
7597 * rs6000.h (ASM_FILE_START): Specify complete filename, including
7598 path, in .file directive.
7600 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
7602 * gcc.texi (External Bugs): Remove obsolete note about Perl on
7605 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
7607 * stdbool.h: Make the typedef name _Bool, with bool a #defined
7610 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7612 * tree.c (tree_code_name): Constify a char*.
7614 * tree.h (tree_code_name, decl_printable_name): Likewise.
7616 * function.h (struct function): Likewise.
7618 * toplev.c (decl_name, decl_printable_name): Likewise.
7620 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
7622 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
7623 (init_objc): Remove function pointer cast.
7625 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
7627 * pa.md (interspace_jump): New pattern.
7628 (builtin_longjmp): New expander.
7630 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
7632 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
7633 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
7634 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
7636 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
7638 * jump.c (delete_prior_computation): Also check calls
7639 to constant functions. Don't bother checking for a
7640 REG_UNUSED note before adding it.
7641 (delete_computation): Handle multi-word hard registers
7642 when synthesizing missing REG_DEAD notes for a register
7643 which is both set and used by an insn.
7645 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7647 * loop.c (this_loop_info): New variable.
7648 (loop_has_call, loop_has_volatile, loop_has_tablejump,
7649 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
7651 (prescan_loop, strength_reduce): New argument loop_info. All callers
7653 (scan_loop): New variable loop_info, initialise to address of
7655 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
7656 Delete variable loop_has_multiple_exit targets and replace with
7657 field in this_loop_info.
7658 (find_and_verify_loops): Rename this_loop to this_loop_num.
7659 (strength_reduce): Delete loop_iteration_info. Replace variable
7660 loop_info with function argument of same name.
7661 (insert_bct): Rework test for loop being completely unrolled.
7663 * loop.h (struct loop_info): New fields num, loops_enclosed,
7664 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
7665 has_indirect_jump, and cont. Redefine use of unroll_number.
7666 (loop_unroll_number): Delete.
7668 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
7670 (loop_iterations): Delete variable vtop and instead use
7671 loop_info->vtop computed in prescan_loop.
7673 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
7675 * fix-header.c (main): Do not pass a null pointer to strcmp.
7677 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
7679 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
7681 * configure: Rebuilt.
7683 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
7685 * jump.c (jump_optimize_1): Do not delete assignments to
7686 internal_arg_pointer.
7687 * cse.c (delete_trivially_dead_insns): Always consider a set of
7688 the internal_arg_pointer live.
7690 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
7692 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
7693 (update_life_info) [REG_WAS_0]: Search the original insns rather
7694 than the new insns for the note. Fix typos finding note_dest.
7695 If no dest found, discard the note rather than abort.
7696 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
7697 (replace_insns): Remove the old insn list after update_life_info
7700 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
7702 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
7704 (sched_analyze_1): Let add_dependence care for not adding dups.
7705 (sched_analyze_2): Likewise.
7706 (add_branch_dependences): Likewise.
7708 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
7710 * i386/winnt.c (export_list): New type.
7711 (exports_head): Rename to
7712 (export_head): this.
7713 (i386_pe_record_exported_symbol): Add is_data flag.
7714 (i386_pe_asm_file_end): Emit directive for exported variables.
7715 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
7717 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
7718 (ASM_DECLARE_OBJECT_NAME): Likewise.
7719 (ASM_DECLARE_FUNCTION_NAME): Likewise.
7720 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
7722 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
7724 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
7726 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
7729 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
7731 * config/openbsd.h: Define SET_ASM_OP.
7732 * tm.texi: cross-reference SET_ASM_OP in the index.
7734 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
7736 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
7737 for a CONST_DOUBLE, at compile time. Initialize rtx_length
7738 and class_narrowest_mode at compile time. Kill init_rtl.
7739 Mark rtx_length, mode_class, mode_size, mode_unit_size,
7740 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
7741 rtx_format as const. Kill all references to EXTRA_CC_MODES or
7743 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
7745 * rtl.h: Declare rtx_length and rtx_format as const.
7746 * machmode.def: Define CC(). Use CC() to define CCmode. If
7747 EXTRA_CC_MODES is defined, expand it here.
7748 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
7749 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
7750 const. Kill all references to EXTRA_CC_MODES.
7752 * toplev.c: Don't prototype or call init_rtl.
7753 * optabs.c: Don't call init_mov_optab.
7754 * genemit.c: Don't generate init_mov_optab. Don't call
7756 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
7758 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
7759 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
7760 genrecog.c: Don't call init_rtl.
7762 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
7763 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
7764 definition of EXTRA_CC_MODES.
7766 * md.texi: Kill ref to EXTRA_CC_NAMES.
7767 * tm.texi: Document new way to define EXTRA_CC_MODES.
7769 * genrecog.c: Do not look up the name of a define_split.
7772 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
7774 * config/v850/v850.md: Fix typo introduced by previous delta.
7776 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7778 * gcc.c (fatal): Make definition static to match prototype.
7780 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7782 * combine.c (get_last_value): Don't look for earlier sets if the last
7783 known set is somewhere in between the insns being combined.
7785 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
7787 * configure.in: Don't use shell ! to negate exit codes
7788 * configure: Regenerate
7790 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
7792 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
7793 the fact that ALIGN is measured in bits, not bytes.
7795 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
7797 * errors.c: New file; defines functions error, warning, and
7798 fatal, variables have_error and progname.
7799 * errors.h: New file; prototypes and decls for stuff in errors.c.
7801 * Makefile: Add rules to build errors.o and
7802 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
7803 genopinit, genrecog, genextract, genpeep, genattr, and
7804 genoutput with errors.o. Add errors.h to deps of genconfig.o,
7805 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
7806 genpeep.o, genattr.o, and genoutput.o.
7808 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
7809 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
7810 define or prototype fatal. Set progname at beginning of main.
7811 * genoutput.c: Likewise, and don't define or prototype error
7814 * c-typeck.c (c_expand_start_case): Return immediately if exp
7816 * fold-const.c (operand_equal_p): Return immediately if arg1
7817 or arg0 are ERROR_MARKs.
7818 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
7819 fields of type ERROR_MARK when calculating if the record can
7822 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
7823 with much help from Jeffrey A Law and Richard Henderson
7825 * i386.md: In the 6 insns which call output_fix_trunc,
7826 earlyclobber operands[0].
7828 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
7830 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
7831 creating new registers.
7833 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
7835 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
7836 i386_reg_alloc_order, i386_regparm_string,
7837 i386_align_loops_string, i386_align_jumps_string,
7838 i386_align_funcs_string, i386_preferred_stack_boundary_string,
7839 and i386_branch_cost_string as type "const char *".
7840 * i386.c: Define all above strings as type "const char *".
7842 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
7844 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
7845 when emitting alignment padding. Emit padding byte of 0 instead of 4.
7847 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
7849 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
7850 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
7852 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
7854 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
7855 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
7856 (dwarf2out_line, dwarf2out_finish): Likewise.
7857 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
7859 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
7861 * tree.c (lang_unsave_expr_now) : Correct return type.
7862 * tree.h (lang_unsave_expr_now) : Same.
7864 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
7866 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
7867 instead of duplicating code.
7869 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7871 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
7873 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
7875 * tree.h: fancy_abort always takes three args.
7876 * resource.c: Move include of system.h before toplev.h.
7878 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
7880 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
7883 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
7885 * system.h: Don't redefine abort or trim_filename.
7886 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
7887 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
7888 whether or not __FUNCTION__ is available.
7889 * tree.h: Duplicate rtl.h's definition of abort, for files
7890 that don't include rtl.h. Delete all code to perform type
7891 checking with a compiler other than GCC.
7892 * varray.h: Delete all code to perform type checking with a
7893 compiler other than GCC. Make VARRAY_CHECK() always evaluate
7894 its arguments exactly once, using a statement expression.
7895 Adjust the VARRAY_<type> accessor macros to match.
7896 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
7897 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
7898 caller's location. Define fatal_insn and fatal_insn_not_found
7899 as macros that use _fatal_insn and _fatal_insn_not_found.
7900 (fancy_abort, trim_filename): Kill prototypes.
7902 * rtl.c (trim_filename): Move here from toplev.c.
7903 (fancy_abort): New function.
7904 (DIR_SEPARATOR): Provide default definition.
7905 * tree.c (tree_check_failed, tree_class_check_failed): Go
7906 through fancy_abort.
7907 (tree_check, tree_class_check, cst_or_constructor_check,
7908 expr_check): Delete.
7909 * varray.c (varray_check_failed): New function.
7910 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
7911 _fatal_insn and _fatal_insn_not_found. Go through
7913 (trim_filename, fancy_abort): Delete.
7915 * builtins.c (expand_builtin_args_info): Report ICE with abort.
7916 * except.c (start_catch_handler): Report ICE with error/abort
7918 * final.c (output_operand_lossage): Likewise.
7919 * flow.c (verify_flow_info): Likewise.
7921 * gcc.c: Prototype fatal.
7922 * gengenrtl.c: Undef abort after including rtl.h not system.h.
7923 * genattr.c, genattrtab.c, genemit.c, genextract.c,
7924 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
7925 Don't define fancy_abort.
7927 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
7929 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
7932 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
7934 * m88k.h (VERSION_INFO2): Kill.
7935 (VERSION_STRING): Kill.
7937 (VERSION_INFO1): Tidy.
7938 (TARGET_VERSION): Update.
7939 * m88k/dgux.h (VERSION_INFO2): Kill.
7940 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
7941 * m88k/luna.h (VERSION_INFO1): Tidy.
7942 * m88k/sysv4.h (VERSION_INFO1): Likewise.
7943 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
7944 (output_file_start): Adjust for death of VERSION_STRING.
7946 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
7948 * cpplib.c (detect_if_not_defined): New function.
7949 (do_if): Use it to detect potential once-only headers.
7951 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
7953 * c-common.c (combine_strings): Always set TREE_CONSTANT.
7955 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
7957 * combine.c (nonzero_bits) : Allow single-ly set registers to be
7958 anywere in the function only if they are pseudos and set before
7959 being used (not live at the start of the function).
7960 (num_sign_bit_copies) : Same.
7961 (get_last_value_validate) : Same.
7962 (get_last_value) : Same.
7964 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
7966 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
7967 where N and M are constant and N is an integer multiple of M.
7969 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
7971 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
7972 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
7973 sbitmap_union_of_preds): Add prototypes.
7974 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
7975 the intersection of successors with the new flow graph structures.
7976 (sbitmap_intersection_of_preds): New function to compute the
7977 intersection of predecessors with the new flow graph structures.
7978 (sbitmap_union_of_succs): New function to compute the union of
7979 successors with the new flow graph structures.
7980 (sbitmap_union_of_preds): New function to compute the union of
7981 predecessors with the new flow graph structures.
7982 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
7983 (expr_reaches_here_p): Use edge and basic_block structures instead
7984 of s_preds and s_succs.
7985 (compute_cprop_avinout): Use new sbitmap routines.
7986 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
7987 of s_preds and s_succs.
7988 * flow.c (compute_flow_dominators): Compute dominators using
7989 edges and basic blocks instead of s_preds and s_succs.
7991 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
7993 * lists.c (unused_insn_list, unused_expr_list): New file for
7994 maintaining various types of lists. New statics for maintaining a
7995 cache of available INSN_LIST and EXPR_LIST nodes.
7996 (free_list): Static function for freeing a list of INSN/EXPR nodes.
7997 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
7998 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
7999 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
8000 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
8001 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
8002 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
8003 (free_INSN_LIST_node): Free an individual INSN_LIST node.
8004 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
8005 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
8006 (remove_dependence, free_pending_lists): Use new global routines.
8007 (flush_pending_lists, sched_analyze_insn): Use new global routines.
8008 (sched_analyze, compute_block_backward_dependences): Use new routines.
8009 (sched_analyze_1, sched_analyze_2): Use new routines.
8010 (schedule_insns): Use new global routines.
8011 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
8013 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
8014 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
8016 * toplev.c (rest_of_compilation): Initialize node cache.
8017 * Makefile.in (OBJS): Add lists.o to list of object files.
8018 (lists.o): Add dependancies.
8020 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
8022 * config/v850/v850.md: Fix compile time warning messages.
8023 * config/v850/v850.c: Fix compile time warning messages.
8024 * config/v850/v850.h: Fix compile time warning messages.
8026 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8028 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
8029 Remove unused prototype for `init_lengths'.
8031 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8033 * calls.c (emit_call_1): Mark parameter `stack_size' with
8035 (expand_call): Initialize variable `insn'.
8036 (emit_library_call): Likewise for variable `high_to_save'.
8037 (emit_library_call_value): Likewise.
8038 (store_one_arg): Likewise for variables `lower_bound' and
8041 * combine.c (try_combine): Likewise for variables `i2_code_number'
8042 and `other_code_number'.
8043 (find_split_point): Likewise for variables `pos', `unsignedp' and
8045 (simplify_if_then_else): Likewise for variables `op' and `c1'.
8046 (simplify_and_const_int): Remove unused variable `width'.
8047 (merge_outer_ops): Likewise.
8049 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
8050 HOST_WIDE_INT' when comparing against one.
8051 (simplify_relational_operation): Likewise.
8052 (cse_insn): Initialize variables `src_eqv_volatile',
8053 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
8055 * final.c (init_final): Constify parameter `filename'.
8056 (final_start_function): Mark parameter `optimize' with
8058 (profile_function): Likewise for parameters `first' and `optimize'.
8059 (output_source_line): Likewise for parameter `file'.
8061 * integrate.c (subst_constants): Cast a value to `size_t' when
8062 comparing against one.
8063 (mark_stores): Initialize variable `mode'. Cast a value to
8064 `size_t' when comparing against one.
8066 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
8068 * loop.c (move_movables): Initialize variable `first'.
8069 (strength_reduce): Likewise for variable `increment'.
8070 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
8071 value to `size_t' when comparing against one.
8072 (load_mems): Initialize variable `end_label'.
8074 * output.h (init_final): Constify parameter.
8076 * reload.c (decompose): Initialize variable `base'.
8078 * reload1.c (reload): Likewise for variable `is_scalar'.
8079 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
8080 (choose_reload_regs): Initialize variable `mode'.
8081 (emit_reload_insns): Likewise for variable `store_insn'.
8082 (reload_cse_noop_set_p): Mark parameter `insn' with
8084 (reload_combine): Initialize variable `set'.
8086 * unroll.c (unroll_loop): Likewise for variable `local_label'.
8087 (copy_loop_body): Cast a value to `size_t' when comparing against
8090 * varasm.c (assemble_variable): Initialize variable `size_tree'.
8091 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
8092 (remove_from_pending_weak_list): Mark parameter `name' with
8095 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8097 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
8100 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
8102 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
8103 (ASM_DECLARE_FUNCTION_NAME): Define.
8104 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
8105 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
8106 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
8107 not already defined.
8109 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
8111 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
8112 of n_popped when call/call_value are not defined.
8114 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
8116 * tm.texi: GNU CC -> GCC conversion.
8117 (CC1_SPEC): Indicate it is used for all language front ends.
8119 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
8121 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
8122 NOTE_INSN_EH_REGION_END correctly.
8124 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
8125 Jeff Law <law@cygnus.com>
8127 * loop.c (strength_reduce): Automatically unroll loops if the
8128 unrolled loop size is smaller than the rolled loop size.
8130 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
8131 and delete comment that code should be rewritten.
8133 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
8135 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
8138 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
8140 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
8142 * fixinc/mkfixinc.sh: Don't fix uwin headers.
8143 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
8144 (LINK_SPEC): Add -u _main when building executables.
8145 (ASM_DECLARE_FUNCTION): Update from Cygwin.
8146 (ASM_FILE_END): Use the default for ix86-pe.
8147 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
8149 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
8151 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
8152 and ASM_CLOSE_PAREN are empty strings.
8154 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
8155 Geoffrey Keating <geoffk@cygnus.com>
8157 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
8158 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
8159 (unprotoize.o): Ditto.
8160 (test-protoize-simple): Don't define STD_PROTO_DIR.
8161 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
8162 changes to make 'test-protoize-simple' pass.
8163 (STD_PROTO_DIR): Remove define.
8164 (STANDARD_EXEC_PREFIX): Supply default define.
8165 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
8166 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
8167 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
8168 (GET_ENV_PATH_LIST): New macro.
8169 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
8170 (do_processing): Initialize default_syscalls_dir using new
8171 macros. Use it to initialize syscalls_absolute_filename.
8173 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
8175 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
8176 B into a register before emit_conditional_move.
8178 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
8180 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
8181 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
8182 multiplicand out of (+ (* a b) (* c d)).
8184 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
8185 Richard Henderson <rth@cygnus.com>
8187 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
8188 (new_insn_dead_notes): Likewise.
8189 (update_n_sets): Likewise.
8190 (update_flow_info): Move to flow.c, renamed to update_life_info;
8191 extend to handle multiple source insns.
8192 * flow.c: Include resource.h
8193 (unlink_insn_chain): New.
8194 (split_hard_reg_notes): New.
8195 (maybe_add_dead_note): New.
8196 (maybe_add_dead_note_use): New.
8197 (find_insn_with_note): New.
8198 (new_insn_dead_notes): New.
8199 (update_n_sets): New.
8200 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
8201 (maybe_remove_dead_notes): New.
8202 (update_life_info): New.
8203 (prepend_reg_notes): New.
8204 (replace_insns): New.
8205 * output.h (update_life_info): Declare.
8206 * recog.c (split_block_insns): Use update_life_info.
8207 * resource.c (find_free_register): Use reg_alloc_order, don't use
8208 fixed regs, make sure the mode is supported, don't use new regs.
8210 * rtl.h (replace_insns): Declare.
8212 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
8214 * expr.c (expand_expr): Cope with COND_EXPRs with one
8215 non-returning branch.
8217 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
8219 * expr.c (store_expr): Always pass down the target, even when not
8222 1999-08-24 Nick Clifton <nickc@cygnus.com>
8224 * configure.in: Define target_cpu_default for v850 targets.
8225 * configure: Regenerate
8227 * config/v850/v850.h (TARGET_CPU_generic): Define.
8228 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
8229 addresses are 4 byte aligned.
8231 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
8234 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8236 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
8237 (main): Add prototypes.
8239 * genattrtab.c (substitute_address, write_const_num_delay_slots,
8240 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
8241 (write_attr_get): Emit prototypes along with function definition.
8242 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
8243 (write_complex_function): Emit static prototype along with
8244 function definition.
8246 * genemit.c (gen_split): Emit prototypes along with function
8249 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
8250 Likewise for predicates and `insn_operand_predicate'.
8251 (process_template): Emit static prototype along with function
8254 * genrecog.c (make_insn_sequence): Constify a char*. Add
8255 prototypes for get_split_*().
8256 (write_subroutine): Emit prototypes along with function
8259 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8261 * gcse.c (find_avail_set): Follow chains of register-register copies.
8262 Use oprs_not_set_p to guarantee that the returned value can be
8264 (cprop_insn): Don't verify the return value of find_avail_set with
8267 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
8268 (cprop_cc0_jump): New function.
8269 (cprop_insn): Break out new function cprop_jump and use it.
8270 Also use cprop_cc0_jump for machines with CC0.
8271 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
8273 * tree.h (current_function_calls_setjmp,
8274 current_function_calls_longjmp): Delete declarations.
8275 * dsp16xx.c: Include "function.h".
8276 * elxsi.c: Likewise.
8277 * gmicro.c: Likewise.
8278 * h8300.c: Likewise.
8281 * mn10200.c: Likewise.
8282 * mn10300.c: Likewise.
8283 * ns32k.c: Likewise.
8287 * rtl.h (rtx_equal_function_value_matters): Declare.
8288 * toplev.c (rtx_equal_function_value_matters): Don't declare.
8290 * function.c: Likewise.
8291 * emit-rtl.c: Likewise.
8293 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
8295 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
8298 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8300 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
8303 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
8305 * cpp.texi: Add a node documenting macro varargs (copied
8308 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
8310 * cppspec.c: Put a null pointer at the end of the new argv.
8312 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
8314 * configure.in: Remove code to select/de-select the haifa
8315 scheduler. Every scheduled port gets haifa now.
8316 * configure: Rebuilt.
8317 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
8319 * Makefile.in: Corresponding changes.
8321 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8323 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
8324 All callers changed.
8325 (prepare_float_lib_cmp): Likewise.
8326 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
8327 * expr.h (emit_float_lib_cmp): Delete declaration.
8328 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
8329 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
8330 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
8332 (cmptf): Now conditional on TARGET_HARD_QUAD.
8334 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
8336 * resource.c (mark_target_live_regs): Use
8337 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
8339 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8341 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
8343 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
8345 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
8347 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8349 * rtl.h (rtx_format): Constify a char*.
8351 * rtl.c (rtx_format): Likewise.
8352 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
8353 (init_rtl): Use accessor macro, not `rtx_format'.
8355 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
8358 * caller-save.c (mark_referenced_regs): Likewise.
8360 * combine.c (subst, make_compound_operation, known_cond,
8361 gen_rtx_combine, update_table_tick, get_last_value_validate,
8362 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
8364 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
8365 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
8366 count_reg_usage): Likewise.
8368 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
8371 * final.c (leaf_renumber_regs_insn): Likewise.
8373 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
8374 dump_edge_info, count_reg_references): Likewise.
8376 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
8377 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
8380 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
8381 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
8382 add_label_notes): Likewise.
8384 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
8385 clear_struct_flag, count_sub_rtxs, count_alternatives,
8386 compares_alternatives_p, contained_in_p, walk_attr_value,
8387 write_expr_attr_cache): Likewise.
8389 * genconfig.c (walk_insn_part): Likewise.
8391 * genemit.c (max_operand_1, gen_exp): Likewise.
8393 * genextract.c (walk_rtx): Likewise.
8395 * genflags.c (num_operands): Likewise.
8397 * genoutput.c (scan_operands): Likewise.
8399 * genpeep.c (match_rtx): Likewise.
8401 * genrecog.c (add_to_sequence): Likewise.
8403 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
8406 * integrate.c (save_constants, copy_for_inline,
8407 copy_rtx_and_substitute, subst_constants, restore_constants):
8410 * jump.c (mark_jump_label, invert_exp, redirect_exp,
8411 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
8413 * local-alloc.c (contains_replace_regs, memref_referenced_p):
8416 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
8417 add_label_notes, replace_call_address, count_nonfixed_reads,
8418 invariant_p, find_single_use_in_loop, find_mem_givs,
8419 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
8422 * print-rtl.c (reg_names, print_rtx): Likewise.
8424 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
8426 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
8427 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
8428 print_blocks): Likewise.
8430 * regclass.c (fix_register, record_address_regs,
8431 reg_scan_mark_refs): Likewise.
8433 * regmove.c (stable_but_for_p): Likewise.
8435 * reload.c (loc_mentioned_in_p, operands_match_p,
8436 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
8437 copy_replacements, refers_to_regno_for_reload_p,
8438 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
8439 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
8442 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
8443 delete_address_reloads_1, count_occurrences,
8444 reload_cse_mem_conflict_p, reload_combine_note_use,
8445 add_auto_inc_notes): Likewise.
8447 * resource.c (mark_referenced_resources, mark_set_resources):
8450 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
8451 reg_mentioned_p, regs_set_between_p, modified_between_p,
8452 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
8453 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
8454 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
8455 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
8457 * sched.c (sched_analyze_2, attach_deaths): Likewise.
8459 * stupid.c (stupid_mark_refs): Likewise.
8461 * unroll.c (remap_split_bivs): Likewise.
8463 * varasm.c (mark_constants): Likewise.
8465 * a29k/a29k.c (uses_local_reg_p): Likewise.
8467 * alpha/alpha.c (summarize_insn): Likewise.
8469 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
8470 eliminate_lr2ip): Likewise.
8472 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
8474 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
8475 reg_mentioned_in_mem): Likewise.
8477 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
8478 symbolic_reference_mentioned_p): Likewise.
8480 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
8482 * sh/sh.c (regs_used, mark_use): Likewise.
8484 * vax/vax.c (vax_rtx_cost): Likewise.
8486 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8488 * machmode.h (mode_name): Constify a char*.
8490 * rtl.c (mode_name): Likewise.
8492 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
8494 * optabs.c (init_libfuncs): Constify a char*.
8496 * print-tree.c (mode_name): Remove redundant declaration.
8497 (print_node): Use accessor macro, not `mode_name'.
8499 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
8501 (new_spill_reg): Constify a char*.
8503 * tree.c (mode_name): Remove redundant declaration.
8505 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8507 * rtl.c (rtx_name): Constify a char*.
8509 * rtl.h (rtx_name, fix_sched_param): Likewise.
8511 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
8512 (mypr): Use accessor macro, not `rtx_name'.
8514 * genemit.c (print_code): Constify a char*.
8516 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
8518 * genpeep.c (print_code): Constify a char*.
8520 * genrecog.c (print_code): Likewise.
8522 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
8523 end_bb): Add static prototype.
8524 (draw_edge): Constify a char*.
8525 (end_bb): Remove unused parameter.
8527 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
8528 print_block_visualization): Constify a char*.
8530 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
8532 * c-common.c (c_get_alias_set): Update comment.
8534 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8536 * linux.h (LIB_SPEC): Added.
8538 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8540 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
8542 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
8544 * tree.c (expr_check): Fix typo in last change.
8546 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
8548 * rtl.def (NOTE): Change format to "iuu0n".
8549 (ADDR_DIFF_VEC): Change format to "eEee0".
8550 (ADDRESSOF): Change format to "eit".
8552 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
8553 (RTVEC_ELT): Change to match.
8554 (XVECEXP): Use XVEC and RTVEC_ELT.
8555 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
8556 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
8557 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
8558 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
8559 TRAP_CONDITION, TRAP_CODE): Use XEXP.
8560 (INTVAL): Use XWINT.
8561 (ADDRESSOF_DECL): Use XTREE.
8562 (SET_ADDRESSOF_DECL): Delete.
8563 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
8564 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
8565 ifdefed out since 2.6 at least.
8566 (gen_rtvec_vv): Delete prototype.
8568 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
8570 (copy_most_rtx): Handle 't' format letter.
8571 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
8572 (gen_rtvec_vv): Delete function. All callers changed to use
8573 gen_rtvec_v instead.
8574 * print-rtl.c (print_rtx): Move special casing of NOTEs to
8575 the '0' format letter.
8577 * function.c (gen_mem_addressof): Don't use
8578 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
8580 * integrate.c (copy_rtx_and_substitute): Likewise.
8581 Copy 't' slots with XTREE.
8582 (subst_constants): Treat 't' slots like '[swi]' slots.
8583 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
8584 * jump.c (rtx_equal_for_thread_p): Likewise.
8585 * rtlanal.c (rtx_equal_p): Likewise.
8586 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
8587 only four arguments.
8588 * gengenrtl.c (type_from_format): Provide correct types for
8592 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
8593 If a recent gcc is in use (always in stage2 and beyond), use
8594 statement expressions, so we don't make a function call unless
8595 the check fails. Evaluate arguments exactly once.
8596 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
8597 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
8599 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
8600 they evaluate their arguments exactly once, irrespective of
8601 the compiler in use.
8603 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
8604 is used by the currently-enabled check macros. This is:
8605 (tree_check_failed, tree_class_check_failed): For gcc.
8606 (tree_check, tree_class_check, cst_or_constructor_check,
8607 expr_check): For other compilers.
8609 * gencheck.c: Do not define any *_CHECK1 macros.
8611 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
8612 Mark Mitchell <mark@codesourcery.com>
8614 * c-common.c (c_get_alias_set): Fix support for poitners and
8617 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
8619 * alias.c: Include tree.h.
8620 (nonlocal_reference_p, mark_constant_function): New functions.
8621 * flow.c (life_analysis): Call mark_constant_function.
8622 * rtl.h (mark_constant_function): Declare it.
8624 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
8626 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
8627 unrecognisable switches.
8629 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8631 * loop.c (recombine_givs): Set ix field after sorting.
8632 (recombine_givs): Remove bogus index / giv lockstep looping.
8634 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8636 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
8638 (emit_store_flag_force): Use do_compare_rtx_and_jump.
8639 (do_cmp_and_jump): Formatting fixes.
8640 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
8641 do_compare_rtx_and_jump instead of compare_from_rtx.
8642 (do_compare_rtx_and_jump): New function; mostly copied from
8644 (do_jump_for_compare): Delete.
8645 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
8647 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
8648 of compare/do_jump_for_compare pairs.
8649 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
8650 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
8651 compare_from_rtx/do_jump_for_compare pairs.
8652 (do_jump_by_parts_equality): Likewise.
8653 (do_jump_by_parts_equality_rtx): Likewise.
8654 * expr.h (do_compare_rtx_and_jump): Declare.
8655 * optabs.c (prepare_cmp_insn): New function, contains most of the code
8656 that used to be in emit_cmp_insn.
8657 (cmp_available_p): New function.
8658 (prepare_operand): New function.
8659 (emit_cmp_and_jump_insn_1): New function, contains some code that used
8660 to be in emit_cmp_insn.
8661 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
8662 parameters to be pointers; don't emit final compare but modify some of
8663 the values pointed to by the args so the caller can perform the
8665 (expand_binop): Call emit_store_flag_force with signed forms of
8667 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
8668 emit_jump_insn pair.
8669 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
8670 emit_cmp_and_jump_insn_1. Call emit_queue.
8671 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
8673 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
8674 jump sets cc0 before deleting it.
8675 * integrate.c (expand_inline_function): Likewise.
8676 * unroll.c (unroll_loop): Similar changes in several places.
8677 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
8680 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8682 * Makefile.in (insn-recog.o): Update dependencies.
8683 * genrecog.c (main): Make generated file include "function.h".
8685 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
8687 * cse.c (cse_insn): Call never_reached_warning when a jump is
8688 changed to be unconditional.
8689 * flags.h: Declare warn_notreached.
8690 * flow.c (delete_block): Call never_reached_warning when
8692 * jump.c (delete_barrier_successors): Call never_reached_warning
8693 when we delete everything after a BARRIER.
8694 (never_reached_warning): New function.
8695 * rtl.h: Declare never_reached_warning.
8696 * toplev.c (warn_notreached): New variable.
8697 (lang_independent_options): Set warn_notreached
8698 when -Wunreachable-code.
8699 (compile_file): We need line numbers for -Wunreachable-code.
8701 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
8703 * haifa-sched.c (insn_unit): Fix typo on out of range test.
8704 * sched.c (insn_unit): Likewise.
8706 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
8708 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
8710 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8712 * flow.c (create_edge_list): Use xmalloc, not malloc.
8714 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
8716 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
8717 C-style comments. Do not lose the character before double slash.
8719 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8721 * basic-block.h (struct edge_list): Stucture to maintain a vector
8723 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
8724 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
8725 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
8726 New function prototypes.
8727 * flow.c (create_edge_list): Function to create an edge list.
8728 (free_edge_list): Discards memory used by an edge list.
8729 (print_edge_list): Debug output showing an edge list.
8730 (verify_edge_list): Internal consistency check for an edge list.
8731 (find_edge_index): Function to find an edge index for a pred and succ.
8733 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
8735 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
8738 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
8740 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
8742 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8744 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
8746 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
8748 * toplev.c (rest_of_compilation): Allow machine dependent
8749 reorganisation pass to place information into the RTL dump
8750 file if it so wishes.
8752 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
8754 * explow.c (hard_function_value): Use VOIDmode instead of
8756 * stmt.c (expand_return): Likewise.
8757 * stor-layout.c (get_best_mode): Likewise.
8759 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
8760 emit call instead of emit_insn call.
8762 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
8764 * configure.in: Handle --disable/enable-win32-registry.
8765 * install.texi: Document --disable/enable-win32-registry.
8766 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
8767 (WIN32_REGISTRY_KEY): New macro.
8768 * prefix.c: Use to enable/disable win32-specific code.
8769 (lookup_key): Use versioned key.
8770 * configure: Regenerate.
8771 * config.in: Likewise.
8773 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
8775 * cpplib.c (read_line_number): New fn, split out of...
8778 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
8780 tree.c (lang_unsave_expr_now) : New.
8781 (unsave_expr_now): Call lang_unsave_expr_now.
8782 tree.h (lang_unsave_expr_now) : New.
8784 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
8786 * toplev.c (flag_new_exceptions): On by default.
8788 1999-08-13 Michael Meissner <meissner@cygnus.com>
8790 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
8792 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
8794 * dwarfout.c (fundamental_type_code): Return FT_boolean for
8795 INTEGER_TYPE with precision==1, it's __java_boolean.
8797 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8799 * global.c (prune_preferences): Move some invariants out of the
8802 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
8804 * configure.in (alpha*-dec-osf*): Add osf5.
8806 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
8808 * configure.in: Rework handling of ARM GNU/Linux slightly.
8809 (arm*-*-linux-gnuoldld): New target.
8810 * configure: Regenerate.
8811 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
8812 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
8813 * config/arm/linux-oldld.h: New file.
8814 * config/arm/linux-elf26.h: Don't include linux-elf.h.
8815 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
8817 * config/arm/linux-elf.h (ASM_SPEC): Define.
8818 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
8819 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
8820 for 26-bit APCS and old linker.
8821 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
8823 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
8824 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
8825 don't define `arm' or `arm_elf'.
8826 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
8827 MULTILIB_DIRNAMES): Define. Fix typo in comment.
8829 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
8831 * rtl.texi: Fix typo.
8833 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
8835 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
8837 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
8839 * extend.texi (C++ Signatures): Remove node.
8840 * invoke.texi: Remove discussion of -fhandle-signatures,
8841 signature, sigof, __signature__, and __sigof__.
8843 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
8845 * Makefile.in (JAVAGC): Removed.
8847 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
8849 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
8851 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
8853 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
8855 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
8857 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
8858 a register that is already known to be a pointer.
8860 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
8862 * fixinc/inclhack.tpl: Only install assert.h conditionally.
8863 * fixinc/inclhack.sh: Regenerated.
8864 * fixinc/fixincl.sh: Regenerated.
8866 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
8868 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
8869 Fix documentation of -ansi flag to describe its C++ behavior.
8870 Remove bogus reference to GCC 2.9.
8872 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
8874 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
8875 note if it is non-NULL.
8877 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8879 * except.h (eh_nesting_info): Add new structure defintion.
8880 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
8881 (reachable_handlers, update_rethrow_references): Add function
8883 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
8884 a rethrow symbol instead of an integer exception region number.
8885 * flow.c (Make_edges): Use new exception nesting routines to determine
8886 which handlers are reachable from a CALL or asynchronous insn.
8887 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
8889 (delete_eh_regions): Update rethrow labels, and don't delete
8890 regions which are the target of a rethrow.
8891 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
8892 avoid overloading the SYMBOL_REF_USED flag.
8893 (rethrow_symbol_map): Use new rethrow_ref field.
8894 (rethrow_used): Use new rethrow_ref field.
8895 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
8896 of an integer. Fix formatting.
8897 (output_exception_table_entry): Use new rethrow_ref field.
8898 (can_throw): Check for EH_REGION_NOTE before deciding
8899 whether a CALL can throw or not.
8900 (scan_region): Call rethrow_used() instead of accessing data structure.
8901 (update_rethrow_references): New function to make sure only regions
8902 which are still targets of a rethrow are flagged as such.
8903 (process_nestinfo): New static function to initialize a handler
8904 list for a specific region.
8905 (init_eh_nesting_info): New function to allocate and initialize
8906 the list of all EH handlers reachable from all regions.
8907 (reachable_handlers): New function to retrieve the list of handlers
8908 reachable from a specific region and insn.
8909 (free_eh_nesting_info): New function to dispose of a list of
8912 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8914 * flow.c (split_edge): Set JUMP_LABEL field.
8915 (commit_one_edge_insertion): Set head correctly for insert_before.
8916 When inserting insns, update insn block numbers if allocated.
8918 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8920 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
8921 retry_incomplete_types): Add static prototype.
8922 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
8923 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
8924 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
8925 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
8926 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
8929 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
8930 dwarf2out_start_source_file, dwarf2out_line): Likewise.
8932 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8934 * output.h (assemble_name): Constify a char*.
8936 * varasm.c (UNIQUE_SECTION, assemble_start_function,
8937 assemble_variable, assemble_name): Likewise.
8939 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
8941 * arm/pe.c (arm_pe_unique_section): Likewise.
8943 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
8945 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
8947 * i386/interix.c (i386_pe_unique_section): Likewise.
8949 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
8951 * i386/winnt.c (i386_pe_unique_section): Likewise.
8953 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
8955 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
8957 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
8959 * pa/pa.c (output_call): Likewise.
8961 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
8963 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
8965 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
8968 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
8971 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
8973 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
8974 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
8976 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
8978 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8980 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
8982 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8984 * tree.h (lang_identify): Constify a char*.
8985 (print_error_function): Add extern prototype. Constify a char*.
8987 * c-lang.c (lang_identify): Constify a char*.
8989 * objc/objc-act.c (lang_identify): Constify a char*.
8991 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8993 * genpeep.c (main): Make generated file include "function.h".
8994 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
8996 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8998 * Makefile.in: Update dependencies.
8999 * alias.c: Include "function.h"
9000 * c-decl.c: Likewise.
9001 * caller-save.c: Likewise.
9002 * calls.c: Likewise.
9003 * combine.c: Likewise.
9005 * explow.c: Likewise.
9006 * final.c: Likewise.
9007 * global.c: Likewise.
9008 * graph.c: Likewise.
9009 * local-alloc.c: Likewise.
9011 * optabs.c: Likewise.
9012 * profile.c: Likewise.
9013 * recog.c: Likewise.
9014 * regclass.c: Likewise.
9015 * regmove.c: Likewise.
9016 * reload.c: Likewise.
9017 * reorg.c: Likewise.
9018 * resource.c: Likewise.
9019 * sched.c: Likewise.
9020 * stupid.c: Likewise.
9021 * config/1750a/1750a.c: Likewise.
9022 * config/a29k/a29k.c: Likewise.
9023 * config/arc/arc.c: Likewise.
9024 * config/arm/arm.c: Likewise.
9025 * config/arm/thumb.c: Likewise.
9026 * config/c4x/c4x.c: Likewise.
9027 * config/clipper/clipper.c: Likewise.
9028 * config/convex/convex.c: Likewise.
9029 * config/fx80/fx80.c: Likewise.
9030 * config/i860/i860.c: Likewise.
9031 * config/m68k/m68k.c: Likewise.
9032 * config/m88k/m88k.c: Likewise.
9033 * config/mips/mips.c: Likewise.
9034 * config/pdp11/pdp11.c: Likewise.
9035 * config/pyr/pyr.c: Likewise.
9036 * config/romp/romp.c: Likewise.
9037 * config/sh/sh.c: Likewise.
9038 * config/tahoe/tahoe.c: Likewise.
9039 * config/vax/vax.c: Likewise.
9040 * config/we32k/we32k.c: Likewise.
9041 * config/sparc/sparc.c: Include "function.h".
9042 (mem_min_alignment): Test current_function rather than
9043 regno_pointer_align.
9044 * config/pa/pa.c: Likewise.
9045 (compute_frame_size): Delete declaration of
9046 current_function_outgoing_args_size.
9047 * config/arc/arc.h (current_function_varargs): Delete declaration.
9048 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
9050 * config/i370/i370.h (current_function_outgoing_args_size): Delete
9052 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
9053 current_function_uses_pic_offset_table.
9054 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
9055 of current_function_returns_pointer.
9056 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9057 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9058 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9059 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9060 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9061 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9062 * config/m88k/m88k.c: Include "function.h"
9063 (call_used_regs, current_function_pretend_args_size,
9064 current_function_outgoing_args_size, frame_pointer_needed): Delete
9066 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
9068 * config/mips/mips.h (current_function_calls_alloca): Delete
9070 * config/mn10200/mn10200.h (current_function_needs_context,
9071 rtx_equal_function_value_matters): Delete declarations.
9072 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
9073 flag_pic): Delete declarations.
9074 * config/pa/pa.h (current_function_pretend_args_size,
9075 current_function_decl): Delete declarations.
9076 * config/pa/som.h (current_function_varargs): Delete declaration.
9077 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
9079 * config/pyr/pyr.h (current_function_pretend_args_size,
9080 current_function_args_size, current_function_calls_alloca): Delete
9082 * config/sh/sh.h (current_function_varargs): Delete declaration.
9083 * config/sparc/sparc.h (current_function_outgoing_args_size,
9084 current_function_calls_alloca, current_function_decl): Delete
9086 * config/spur/spur.h (current_function_pretend_args_size,
9087 current_function_calls_alloca): Delete declarations.
9088 * config/v850/v850.c (current_function_outgoing_args_size): Delete
9090 * config/vax/vms.h (current_function_name): Delete declaration.
9091 * gcse.c: Include "function.h".
9092 (current_function_name, current_function_calls_setjmp): Delete
9094 * haifa-sched.c: Include "function.h".
9095 (forced_labels): Delete declaration.
9097 * reg-stack.c: Likewise.
9098 * reload1.c: Likewise.
9099 * genemit.c (main): Make generated file include function.h.
9100 * genoutput.c (output_prologue): Likewise.
9102 * builtins.c (saveregs_value, apply_args_value): Delete variables.
9103 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
9104 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
9105 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
9106 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
9107 macros for some of them.
9108 (emit_filename, emit_lineno): Delete declarations.
9109 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
9110 regno_pointer_* variables through current_function.
9111 (gen_inline_header_rtx): Delete function.
9112 (save_emit_status): Delete function.
9113 (set_new_last_label_num): New function.
9114 (clear_emit_caches): New function.
9115 (restore_emit_status): Just clear last_labelnum and call
9117 (get_last_insn_anywhere): Variable sequence_stack is now accessed
9118 through macro seq_stack.
9119 (add_insn_after): Likewise.
9120 (add_insn_before): Likewise.
9121 (remove_insn): Likewise.
9122 (pop_topmost_sequence): Likewise.
9123 (in_sequence_p): Likewise.
9124 (start_sequence_for_rtl_expr): Likewise.
9125 (start_sequence): Likewise, and likewise for
9126 sequence_rtl_expr/seq_rtl_expr.
9127 (push_topmost_sequence): Likewise.
9128 (end_sequence): Likewise.
9129 (init_virtual_regs): Now takes a "struct emit_status *" argument.
9130 All callers changed. Store into that pointer instead of globals.
9131 (init_emit): Allocate emit elt of current_function.
9132 Changes for sequence_rtl_expr/sequence_stack renaming.
9133 Call clear_emit_caches instead of doing it in-line.
9134 Access regno_pointer_* variables through current_function.
9135 (init_emit_once) Don't clear sequence_stack.
9137 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
9139 (arg_pointer_save_area): Delete declaration.
9140 (finish_expr_for_function): Renamed from init_queue; no longer static.
9141 (init_expr): Don't call init_queue.
9142 (save_expr_status, restore_expr_status): Delete functions.
9143 (expand_expr): Changes to reflect new layout of struct function.
9144 Don't access current_function_check_memory_usage when current_function
9146 * expr.h (forced_labels, save_expr_regs, saveregs_value,
9147 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
9148 current_function_outgoing_args_size, current_function_arg_offset_rtx,
9149 current_function_uses_const_pool, function_call_count,
9150 current_function_uses_pic_offset_table, nonlocal_labels,
9151 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
9152 current_function_check_memory_usage, nonlocal_goto_handler_slots,
9153 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
9155 (finish_expr_for_function): Declare.
9156 * flags.h (current_function_has_nonlocal_label,
9157 current_function_has_nonlocal_goto, current_function_is_thunk,
9158 current_function_has_computed_jump): Delete declarations.
9159 * flow.c (forced_labels): Delete declaration.
9160 * function.c (current_function_pops_args,
9161 current_function_returns_struct, current_function_returns_pcc_struct,
9162 current_function_needs_context, current_function_calls_setjmp,
9163 current_function_calls_longjmp, current_function_has_nonlocal_label,
9164 current_function_has_nonlocal_goto, current_function_is_thunk,
9165 current_function_has_computed_jump, current_function_calls_alloca,
9166 current_function_contains_functions, current_function_returns_pointer,
9167 current_function_epilogue_delay_list, current_function_args_size,
9168 current_function_pretend_args_size, current_function_arg_offset_rtx,
9169 current_function_outgoing_args_size, current_function_varargs,
9170 current_function_stdarg, current_function_args_info, cleanup_label,
9171 current_function_name, current_function_uses_const_pool,
9172 current_function_instrument_entry_exit, current_function_return_rtx,
9173 current_function_uses_pic_offset_table, nonlocal_labels,
9174 current_function_internal_arg_pointer, current_function_cannot_inline,
9175 current_function_check_memory_usage, function_call_count,
9176 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
9177 nonlocal_goto_stack_level, return_label, save_expr_regs,
9178 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
9179 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
9180 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
9181 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
9182 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
9184 (push_function_context_to): Don't save them. Don't call
9185 save_storage_status, save_emit_status or save_expr_status.
9186 (pop_function_context_from): Don't restore them. Don't call
9187 restore_storage_status or restore_expr_status.
9188 (get_func_frame_size): New function.
9189 (get_frame_size): Use it.
9190 (assign_outer_stack_local): Reflect some member name changes in struct
9192 (put_reg_into_stack): Likewise.
9193 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
9195 (fixup_var_refs): Likewise.
9196 (fix_lexical_addr): Likewise.
9197 (trampoline_address): Likewise.
9198 (prepare_function_start): Clear field inlinable of current_function.
9199 (init_function_for_compilation): New function.
9200 (expand_dummy_function_end): New function.
9201 (expand_function_end): Call finish_expr_for_function.
9202 * function.h (struct emit_status): New; fields moved here from struct
9203 function and from global variables. Add accessor macros for some of
9205 (struct expr_status): Likewise.
9206 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
9207 (struct function): Add fields expr and emit, inlinable, inl_emit,
9208 original_arg_vector, original_decl_initial, inl_last_parm_insn,
9209 inl_max_label_num. Add many comments.
9210 Add accessor macros for all elts of struct function that no longer
9211 have a global variable.
9212 (cleanup_label, return_label, frame_offset, tail_recursion_label,
9213 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
9214 stack_slot_list): Delete declarations.
9215 (get_func_frame_size): Declare.
9216 (save_expr_status, restore_expr_status, save_emit_status,
9217 save_storage_status, restore_storage_status): Delete declarations.
9218 (init_virtual_regs): Declare.
9219 * output.h (current_function_pops_args,
9220 current_function_returns_struct, current_function_returns_pcc_struct,
9221 current_function_needs_context, current_function_calls_setjmp,
9222 current_function_calls_longjmp, current_function_calls_alloca,
9223 current_function_has_nonlocal_label, current_function_varargs,
9224 current_function_has_computed_jump, current_function_returns_pointer,
9225 current_function_contains_functions, current_function_args_size,
9226 current_function_pretend_args_size, current_function_stdarg,
9227 current_function_outgoing_args_size, current_function_args_info,
9228 current_function_name, current_function_return_rtx,
9229 current_function_epilogue_delay_list,
9230 current_function_uses_const_pool, current_function_cannot_inline):
9231 Delete declarations.
9232 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
9233 regno_reg_rtx): Delete declaration.
9234 (REGNO_POINTER_FLAG): Delete macro.
9235 * stmt.c (expand_goto): Changes to reflect that some fields in struct
9236 function were renamed.
9237 * stor-layout.c (save_storage_status, restore_storage_status): Delete
9239 * toplev.c: Include "function.h".
9240 (current_function_decl): Delete declaration.
9241 (compile_file): Call init_dummy_function_start and
9242 expand_dummy_function_end around some initializations that need to
9244 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
9245 Call init_function_for_compilation.
9246 * unroll.c: Include "function.h"
9247 (unroll_loop): Access regno_pointer_* variables through
9250 * tree.h (struct tree_decl): Add elt f to saved_insns member.
9251 (DECL_SAVED_INSNS): use it.
9252 (expand_dummy_function_end): Declare.
9253 (init_function_for_compilation): Declare.
9254 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
9255 that it's no longer an INLINE_HEADER.
9256 (expand_call): Likewise.
9257 * integrate.c (finish_inline): Delete function.
9258 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
9259 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
9260 args. Don't generate an INLINE_HEADER rtx, just return the arg
9261 vector. All callers changed.
9262 (save_for_inline_copying): Create a duplicate struct emit_status to
9263 hold the emit state for compiling the current function. Use this and
9264 the other new fields in struct function that are for integration
9265 instead of an INLINE_HEADER.
9266 Use memcpy instead of bcopy.
9267 Store the current struct function in DECL_SAVED_INSNS of fndecl.
9268 (save_for_inline_nocopy): Similar changes, except no new emit_status
9270 (expand_inline_function): Get information from function structure,
9271 not from an inline header rtx.
9272 (output_inline_function): Lose code to extract the necessary
9273 information from an inline header; simply put back the function
9274 structure into current_function. Clear its inlinable elt.
9275 * rtl.def (INLINE_HEADER): Delete.
9276 * rtl.h: Delete all accessors for an INLINE_HEADER.
9277 (gen_inline_header_rtx): Delete declaration.
9278 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
9279 Delete declarations.
9280 (REGNO_POINTER_ALIGN): Delete.
9281 (clear_emit_caches): Declare.
9282 (set_new_last_label_num): Declare.
9284 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
9286 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
9288 * except.c (expand_eh_region_start_for_decl): Always start a new block.
9289 * stmt.c (is_eh_region): Make sure current_function is present, too.
9291 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
9293 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
9294 for 64bit PA targets.
9296 * pa.h (SELECT_SECTION): Define.
9297 * som.h (SELECT_SECTION): Delete.
9299 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9301 * alias.c (init_alias_analysis): Wrap call to
9302 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
9304 1999-08-07 Bruce Korb <autogen@linuxbox.com>
9306 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
9307 <sys/asm.h> contains an asm comment with an apostrophe
9308 * fixinc/inclhack.sh: regen
9309 * fixinc/fixincl.x: regen
9311 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
9313 * function.c (init_function_start): Clear prologue & epilogue.
9314 (prologue_epilogue_contains): New function.
9315 * alias.c (init_alias_analysis): Use it.
9316 * rtl.h (prologue_epilogue_contains): Declare it.
9318 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
9320 * jump.c (onlyjump_p): New function.
9321 * rtl.h: Declare it.
9322 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
9323 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
9325 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
9327 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
9328 to invert loops. Simplify block scanning.
9330 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9332 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
9333 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
9335 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
9337 * config/sparc/liteelf.h: New file to support sparclite-elf target
9338 * config/sparc/t-sp86x: New file to support sparc86x targets
9339 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
9340 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
9341 * configure.in: Support above target triplets
9342 * configure: Regenerated
9344 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
9346 * fixinc/server.c (server_setup): Do not prefix function used as
9349 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
9351 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
9352 Remove fp reg alternatives.
9354 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
9356 * Makefile.in (TAROUTOPTS): Kill.
9357 (install-headers-tar): Use "xpf" for tar headerfile extraction
9358 * i370/x-oe (TAROUTOPTS): Delete.
9359 * m68k/x-apollo68 (TAROUTOPTS): Delete.
9360 * m68k/x-hp320 (TAROUTOPTS): Delete.
9361 * m68k/x-hp320g (TAROUTOPTS): Delete.
9362 * gcc.texi: Update bug reporting text.
9364 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9366 * reg-stack.c (change_stack) Fixed problem with negative array index.
9368 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
9370 * extend.texi, install.texi: Fix spelling mistakes.
9372 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
9373 (s-attrtab); No longer try to use pre-made insn-attrtab file.
9374 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
9376 * mips/t-ecoff: Likewise.
9377 * mips/t-elf: Likewise.
9378 * mips/t-mips: Likewise.
9379 * mips/t-osfrose: Likewise.
9380 * mips/t-r3900: Likewise.
9381 * mips/t-svr3: Likewise.
9382 * mips/t-svr4: Likewise.
9383 * mips/t-ultrix: Likewise.
9385 * gcc.texi: Document recommend means to provide software floating
9386 point libraries in libgcc.a
9388 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
9390 * c-lex.c (yylex): We can have a number with no digits.
9392 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
9394 * jump.c (delete_prior_computation): New function, broken
9395 out of delete_computation. Check for side effects with
9396 side_effects_p instead of FIND_REG_INC_NOTE. Handle
9397 multi-word hard registers.
9398 (delete_computation): Use it. Check for side effects with
9399 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
9400 missing REG_DEAD note for a register which is both set and
9403 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
9405 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
9406 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
9407 (ASM_FILE_START): Import _mcount with the right type.
9408 (ASM_DECLARE_FUNCTION_NAME): Define.
9409 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
9410 * pa.c (output_function_prologue): Always emit the function's label
9412 * pa.h (TEXT_SPACE_P): Define.
9413 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
9414 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
9415 * som.h (TEXT_SPACE_P): Delete.
9416 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
9417 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
9419 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
9421 * expr.c (emit_group_load): Allow src to be a CONCAT.
9423 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9425 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
9426 (___mulsi3): Use '!' comment character.
9428 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9430 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
9432 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
9434 * gcc.c: Update URLs and mail addresses.
9435 * gcc.texi: Likewise.
9437 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
9439 * rs6000.c (current_file_function_operand): Return zero for
9441 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
9443 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
9446 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
9448 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
9449 allocate space in the stack frame for the PIC register.
9451 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
9453 * m68k.md (xordi3, anddi3): These patterns are not available on
9456 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
9458 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
9459 (PUT_REAL): Likewise.
9461 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9463 * final.c (shorten_branches): Don't add an alignment for loops
9464 that have no label inside.
9466 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9468 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
9469 prototypes in macro HAVE_cmpstrsi.
9471 * cpplib.c (cpp_get_token): Remove unused label `op3'.
9473 * emit-rtl.c (operand_subword): Remove unused variable
9476 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
9478 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
9480 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
9482 * cpphash.c (macroexpand): Delete leading whitespace when arg
9483 is concatenated before.
9484 (unsafe_chars): Correct test for whether + and - can extend a
9487 * cppinit.c (cpp_start_read): Do dependencies for
9488 -include/-imacros files also.
9490 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
9491 tokenizing non-directive lines.
9492 (cpp_expand_to_buffer): Temporarily disable no-output mode.
9493 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
9496 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
9498 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
9500 * c-lex.c: Sync with C++ frontend.
9501 (linemode): New variable.
9502 (parse_float): imag, conversion_errno, and type are output only.
9503 (yylex): Adjust. Move initial '.' case into main switch.
9505 (handle_generic_pragma): Just deal with tokens.
9506 (readescape): Use ISXDIGIT and ISGRAPH.
9507 * c-parse.in: Add END_OF_LINE token.
9509 * c-lex.c (lang_init): Generalize.
9510 (nextchar): Remove. Replace uses with UNGETC.
9511 (skip_white_space): Handle linemode here. Optimize for cpplib.
9512 (skip_white_space_on_line): Remove.
9513 (extend_token_buffer_to): New fn.
9514 (extend_token_buffer): Use it.
9515 (read_line_number, check_newline): Just deal with tokens.
9516 (token_getch, token_put_back): New fns.
9517 (yylex): Use them. More cpplib optimizations. Simplify.
9519 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
9520 Jason Merrill <jason@yorick.cygnus.com>
9522 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
9523 (consume_string): Make this smart about USE_CPPLIB.
9524 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
9525 (yylex): Rewrite to be intelligent about USE_CPPLIB.
9526 Also, clean up cases where we redundantly set token_buffer[0].
9527 (read_line_number): New fn.
9528 (ignore_escape_flag): New variable.
9530 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
9532 * a29k/t-a29kbare: Fix some comments.
9533 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
9534 (FPBIT, DPBIT): Define.
9535 * a29k/t-vx29k: Likewise.
9536 * arc/t-arc: Likewise.
9537 * arm/t-arm-elf: Likewise.
9538 * arm/t-bare: Likewise.
9539 * arm/t-pe: Likewise.
9540 * arm/t-pe-thumb: Likewise.
9541 * arm/t-semi: Likewise.
9542 * arm/t-thumb: Likewise.
9543 * arm/t-thumb-elf: Likewise.
9544 * arm/t-thumb-linux: Likewise.
9545 * h8300/t-h8300: Likewise.
9546 * i960/t-i960: Likewise.
9547 * i960/t-vxworks960: Likewise.
9548 * m32r/t-m32r: Likewise.
9549 * mips/t-ecoff: Likewise.
9550 * mips/t-elf: Likewise.
9551 * mips/t-r3900: Likewise.
9552 * pa/t-pro: Likewise.
9553 * rs6000/t-aix43: Likewise.
9554 * rs6000/t-beos: Likewise.
9555 * rs6000/t-newas: Likewise.
9556 * rs6000/t-ppccomm: Likewise.
9557 * rs6000/t-rs6000: Likewise.
9558 * rs6000/t-winnt: Likewise.
9559 * rs6000/t-xnewas: Likewise.
9560 * rs6000/t-xrs6000: Likewise.
9561 * sh/t-sh: Likewise.
9562 * sparc/t-elf: Likewise.
9563 * sparc/t-sparcbare: Likewise.
9564 * sparc/t-sparclite: Likewise.
9565 * sparc/t-splet: Likewise.
9566 * v850/t-v850: Likewise.
9567 * mn10200/t-mn10200: Fix comments.
9568 * mn10300/t-mn10300: Likewise.
9570 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
9571 dummy operand. Allocate a new pseudo for the dummy operand.
9572 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
9574 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
9576 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
9578 * configure: Rebuilt.
9579 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
9581 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
9583 * recog.c (preproces_constraints): Zero recog_op_alt before
9584 processing the constraints.
9586 * arm.c (typedef minipool_node): Renamed from pool_node.
9587 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
9588 (add_minipool_constant): New function.
9589 (dump_minipool): New function.
9590 (find_barrier): Remove special case for getting the insn size of
9591 an insn that references the constant pool.
9592 (minipool_fixup): New structure.
9593 (push_minipool_barrier): New function.
9594 (push_minipool_fix): New function.
9595 (note_invalid_constants): New function.
9596 (add_pool_constant, dump_table, fixit, broken_move): Delete.
9597 (arm_reorg): Rewrite code to fix up the constant pool into a
9598 series of mini-pools embedded in the insn stream.
9599 (arm_output_epilogue): New function, made mainly from the body
9600 of output_func_epilogue.
9601 (output_func_epilogue): Move insn generation part of epilogue code
9602 to arm_output_epilogue.
9603 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
9604 * arm.md (pool_range): New attribute.
9605 (zero_extendqidi2): Add attribute pool_range.
9606 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
9607 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
9608 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
9609 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
9610 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
9611 (epilogue): New expand.
9612 (epilogue_insn): New insn. Call arm_output_epilogue.
9614 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
9615 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
9617 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
9619 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
9621 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
9623 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
9625 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
9627 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
9629 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
9631 * global.c: Fix comment.
9633 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
9635 * gcc.c (access_check): New static function.
9636 (find_a_file): Use it when searching a directory list.
9637 * collect2.c (find_a_file): Don't accept directories found when
9638 searching a directory list.
9640 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
9642 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
9643 function parameters with `&'.
9644 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
9646 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
9648 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
9649 or tidy_fallthru_edge if the last insn in the block is not
9650 an unconditional jump or a simple conditional jump.
9652 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9654 * Makefile.in (c-decl.o): Depends on defaults.h.
9656 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
9658 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
9660 (CLASS_MAX_NREGS): Likewise.
9662 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
9664 * cse.c (cse_insn): Fix dumb thinko in last change.
9666 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9668 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
9671 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
9673 * dwarf2out.c (add_location_or_const_value_attribute): Correct
9674 test for sizes of passed and declared parameter types.
9676 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9678 * fixincludes: Fix the return type of bsearch, char* -> void*.
9680 * fixinc/inclhack.def: Likewise.
9682 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
9684 * invoke.texi (-fdump-translation-unit): New option.
9686 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
9688 * expr.h (PROMOTE_PROTOTYPES): Move ...
9689 * defaults.h: ... to here.
9690 * c-decl.c: Include defaults.h instead of expr.h.
9691 * c-typeck.c: Include defaults.h.
9693 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
9695 * toplev.h (errorcount): Declare.
9696 (warningcount): Likewise.
9697 (sorrycount): Likewise.
9698 * c-lex.c (errorcount): Don't declare.
9699 * dwarf2out.c (errorcount): Don't declare.
9701 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
9703 * config/libgloss.h: Add a note discouraging use with ELF.
9704 * configure.in: Don't use libgloss.h for ELF targets.
9705 Always use_collect2 on a.out targets.
9707 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
9709 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
9710 (force_to_mode, case ASHIFTRT): Add shiftrt label.
9712 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9714 * loop.c (strength_reduce): When doing biv->giv conversion, update
9715 reg note of NEXT->insn.
9717 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
9719 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
9721 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
9723 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
9724 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
9725 Ensure expr.h is included.
9726 * c-typecheck.c (convert_arguments): Ditto.
9728 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
9730 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
9731 * config/convex/convex.h: Ditto.
9732 * config/dsp16xx/dsp16xx.h: Ditto.
9733 * config/fx80/fx80.h: Ditto.
9734 * config/gmicro/gmicro.h: Ditto.
9735 * config/i370/i370.h: Ditto.
9736 * config/i386/i386.h: Ditto.
9737 * config/m32r/m32r.h: Ditto.
9738 * config/m68k/m68k.h: Ditto.
9739 * config/m88k/m88k.h: Ditto.
9740 * config/mips/mips.h: Ditto.
9741 * config/pa/pa.h: Ditto.
9742 * config/pyr/pyr.h: Ditto.
9743 * config/tahoe/tahoe.h: Ditto.
9744 * config/we32k/we32k.h: Ditto.
9746 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
9749 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
9751 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
9754 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
9756 1999-08-02 Richard Henderson <rth@cygnus.com>
9758 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
9759 for the register spill block.
9761 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
9762 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
9764 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
9765 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
9766 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
9768 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
9770 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
9771 MAX_WCHAR_TYPE defined in sparc.h.
9772 * config/sparc/linuxaout.h: Likewise.
9773 * config/sparc/linux64.h: Likewise.
9774 Also default to -mvis if CPU is UltraSPARC.
9776 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
9778 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
9779 (RTX_OK_FOR_OLO10): Likewise.
9780 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
9781 %lo(), allow it in addresses...
9782 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
9783 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
9784 does not make sense.
9785 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
9786 (sparc_output_scratch_registers): New function.
9787 (output_function_prologue, sparc_flat_output_function_prologue): Use
9789 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
9791 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
9792 * configure.in: Add check for .register pseudo-op support in as and
9793 check for offsetable %lo().
9794 * acconfig.h: Add templates for the above checks.
9795 * configure: Regenerate.
9797 1999-08-02 Richard Henderson <rth@cygnus.com>
9799 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
9800 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
9801 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
9803 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9805 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
9808 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
9810 * config/float-sparc.h: New file.
9811 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
9812 sparc-*-linux-gnu and sparc64-*-linux*.
9814 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9816 * rs6000.c (rs6000_va_list): Type is an array.
9817 (rs6000_va_start): Don't doubly adjust for varargs.
9818 (rs6000_va_arg): Evaluate long long GPR adjustment.
9820 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
9822 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
9823 -maix64 and -maix32.
9824 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
9825 LINK_SPEC): Change appropriately.
9826 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
9827 (u_short_cint_operand): Likewise.
9828 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
9830 * rs6000/t-aix43 (MULTILIB): Change to -m64.
9832 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
9834 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
9836 * rs6000/rs6000.c (num_insns_constant_wide): Correct
9838 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
9839 (non_add_cint_operand): Likewise.
9840 (logical_operand): Likewise.
9841 (non_logical_cint_operand): Likewise.
9842 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
9843 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
9844 (rs6000_select_rtx_section): Suppress warning.
9845 (small_data_operand): Suppress warning.
9846 (rs6000_got_register): Suppress warning.
9847 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
9848 type, so `J' is generally the wrong constraint for a SImode value;
9850 (andsi3_internal2): Likewise.
9851 (andsi3_internal3): Likewise.
9852 (iorsi3_internal1): Likewise.
9853 (xorsi3_internal1): Likewise.
9855 (movsf_softfloat): Likewise.
9856 (scc insns): Likewise.
9857 (movsi+2): Preserve sign bits of SImode constant.
9858 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
9859 (movdf+1): Sign-extend properly.
9860 (movdi_32+1): Sign-extend properly.
9861 (scc insns): Sign-extend properly.
9863 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
9866 1999-08-02 Richard Henderson <rth@cygnus.com>
9868 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
9870 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
9871 * alpha.md (all fp insns): Likewise.
9873 1999-08-02 Nick Clifton <nickc@cygnus.com>
9875 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
9878 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
9880 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
9881 pic_load_label generator directly.
9882 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
9883 No longer a named pattern.
9885 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
9887 * explow.c (force_reg): Call force_operand if X does not
9888 satisfy general_operand.
9890 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
9892 * fix-header.c (main): When testing for CONTINUED, use string
9893 equality, not pointer equality.
9895 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
9897 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
9899 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
9901 * cse.c (cse_insn): Fix loop which deletes insns after a jump
9902 that has become an unconditional jump.
9904 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
9905 (output_function_epilogue): Similarly.
9907 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9909 * tree.h (init_dummy_function_start): Declare.
9911 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9913 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
9914 last_expr_type, last_expr_value, block_start_count, block_stack,
9915 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
9916 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
9917 dynamically in stmt elt of struct function for each function.
9918 (struct nesting): Rename function_call_count elt to n_function_calls,
9919 target_temp_slot_level to block_target_temp_slot_level. All users
9921 (struct stmt_status): New structure definition.
9922 Add many accessor macros for stmt_status elements which previously
9923 were global variables.
9924 (init_stmt_for_function): Allocate stmt elt for current_function.
9925 Reflect that block_start_count was renamed to
9926 current_block_start_count.
9927 (save_stmt_status, restore_stmt_status): Delete functions.
9928 (preserve_subexpressions_p): Don't access loop_stack when outside
9930 (expand_start_bindings): Reflect that block_start_count was renamed to
9931 current_block_start_count.
9932 (expand_fixup): Likewise.
9933 (expand_decl): Don't access block_stack when outside a function.
9934 (expand_decl_cleanup): Likewise.
9935 (expand_dcc_cleanup): Likewise.
9936 (expand_dhc_cleanup): Likewise.
9937 (expand_anon_union_decl): Likewise.
9938 (set_file_and_line_for_stmt): New function.
9939 (in_control_zone_p): New function.
9941 * function.h (struct function): Add new elt stmt.
9942 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
9943 case_stack, nesting_stack, nesting_depth, block_start_count,
9944 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
9945 emit_lineno, goto_fixup_chain.
9946 (save_eh_status, restore_eh_status, save_stmt_status,
9947 restore_stmt_status): Delete declarations.
9948 * function.c (push_function_context_to): Don't call save_stmt_status.
9949 (pop_function_context_to): Don't call restore_stmt_status.
9950 * tree.h (in_control_zone_p): Declare.
9951 * rtl.h (set_file_and_line_for_stmt): Declare.
9953 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
9954 call set_file_and_line_for_stmt.
9956 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
9958 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
9959 Also update copyright.
9961 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9963 * c-pragma.c: Don't include "except.h".
9964 * emit-rtl.c: Likewise.
9965 * stor-layout.c: Likewise.
9967 * varasm.c: Likewise.
9969 * flow.c: Include "function.h".
9970 * tree.h (init_dummy_function_start): Declare new function.
9972 * except.h (struct eh_status): New structure.
9973 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
9975 (eh_return_stub_label, ehstack, catchstack, ehqueue,
9976 catch_clauses, false_label_stack, caught_return_label_stack,
9977 protect_list, current_function_ehc): Add accessor macros for the
9978 corresponding fields in current_function->eh; delete declarations
9979 for all items that used to be declared here.
9980 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
9981 catch_clauses, false_label_stack, caught_return_label_stack,
9982 protect_list, current_function_ehc): Delete variables.
9983 (init_eh_for_function): Allocate current_function->eh.
9984 (save_eh_status, restore_eh_status): Delete functions.
9986 * function.h (struct function): Add fields next_global and eh.
9987 Delete all exception handling related fields.
9988 * function.c (current_function): New variable.
9989 (all_functions): New variable.
9990 (push_function_context_to): Don't allocate a struct function,
9991 use current_function instead. Call init_dummy_function_start when
9992 outside a function. Clear current_function before returning.
9993 (pop_function_context_from): Restore current_function.
9994 Don't free the restored struct function.
9995 (prepare_function_start): New function.
9996 (init_dummy_function_start): New function.
9997 (init_function_start): Break out some code into prepare_function_start
10000 * stmt.c (save_stmt_status): Don't call save_eh_status.
10001 (restore_stmt_status): Don't call restore_eh_status.
10003 * Makefile.in: Update dependencies.
10005 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
10007 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
10008 of depending on a magic constant value. Update comments.
10009 (hppa_expand_prologue): Similarly.
10011 * pa.md (reload_indi, reload_outdi): Allow any register for the
10012 original reload register.
10014 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
10016 * cccp.c (print_help): Change marcos to macros.
10018 1999-07-30 Richard Henderson <rth@cygnus.com>
10020 * c-typeck.c (initializer_constant_valid_p): Move ...
10021 * c-common.c (initializer_constant_valid_p): ... here. Use
10022 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
10023 of label addresses.
10024 * c-common.h (initializer_constant_valid_p): Declare.
10025 * c-tree.h (initializer_constant_valid_p): Remove.
10027 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
10029 * config/i386/sol2-c1.asm: Align the stack.
10030 * config/i386/sol2-gc1.asm: Likewise.
10032 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
10034 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
10035 -Asparclite for sparc86x.
10036 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
10038 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
10040 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
10042 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
10043 the user if using the non-default arch size in BI_ARCH configuration.
10044 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
10046 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
10047 Fix patterns so that they actually match.
10048 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
10049 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
10050 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
10052 (mulsidi3): Reflect this in the expand.
10053 (smulsi3_highpart): Only on TARGET_ARCH32.
10054 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
10055 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
10056 (umulsidi3): Reflect this in the expand.
10057 (umulsi3_highpart): Only on TARGET_ARCH32.
10058 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
10059 don't require g0 to be zero.
10060 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
10061 ({,u}divsi3): New expands.
10062 ({,u}divsi3_sp64): New patterns.
10063 (after lshrdi3_v8plus): Four new patterns to help combiner
10064 optimizing nested mixed mode shifts.
10066 * config/sparc/sparc.c (sparc_override_options): Use deprecated
10067 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
10068 speed things up. Don't use them by default on plain v9 in 64bit
10069 mode, according to what SPAMv9 sais.
10071 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
10072 top 32 bits of %[og][0-7] in signal handlers.
10073 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
10075 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
10077 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
10078 (ashlsi3): Corresponding changes.
10080 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
10082 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
10084 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
10086 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10088 * arm.h (Hint): Delete macro.
10089 Substitute HOST_WIDE_INT for Hint in some prototypes.
10090 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
10092 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
10094 * builtins.c (expand_builtin_setjmp): Use force_operand to
10095 make sure that the buffer address is in a suitable form to be
10096 passed to force_reg.
10098 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
10100 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
10103 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
10105 * pa.md (indirect_jump): Remove mode from match_operand. Verify
10106 proper mode in the condition string.
10107 (icacheflush, dcacheflush): Remove modes from match_operands.
10109 * pa.c (emit_move_sequence): Always convert scratch_reg to the
10110 proper mode before using it.
10112 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
10115 * pa.c (store_reg): Do not call add_high_const generator directly.
10116 (load_reg, set_reg_plus_d): Likewise.
10117 * pa.md (add_high_const): No longer a named pattern.
10119 * pa.c (legitimize_address): Consistently use Pmode rather than
10120 SImode. Do not call gen_pic2_highpart directly anymore.
10121 * pa.md (pic2_highpart): No longer a named pattern.
10122 (pic2_lo_sum): Similarly. Reformat to make more readable.
10124 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
10129 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10131 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
10133 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
10135 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
10136 and tag the spill mems.
10137 (hppa_va_start): New.
10138 (hppa_va_arg): New.
10139 * pa.h (EXPAND_BUILTIN_VA_START): New.
10140 (EXPAND_BUILTIN_VA_ARG): New.
10142 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
10144 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
10145 and tag the spill mems.
10146 (mn10300_va_start): New.
10147 (mn10300_va_arg): New.
10148 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
10149 (EXPAND_BUILTIN_VA_ARG): New.
10151 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
10153 * mn10200.c (mn10200_va_arg): New.
10154 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
10156 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
10158 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
10159 rather than play with TREE_INT_CST_LOW.
10161 1999-07-27 Philip Blundell <pb@nexus.co.uk>
10163 * config/arm/telf.h: Include dbxelf.h.
10164 (CPP_PREDEFINES): Only define if not already defined.
10165 (ASM_IDENTIFY_GCC): Likewise.
10166 (SUBTARGET_EXTRA_SECTIONS): Likewise.
10167 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
10168 * config/arm/thumb.h (LINK_SPEC): Only define if not already
10170 (DBX_DEBUGGING_INFO): Don't define.
10171 * config/arm/linux-telf.h: New file.
10172 * config/arm/linux-tgas.h: New file.
10173 * config/arm/t-thumb-linux: New file.
10174 * config/arm/uclinux-elf.h: New file.
10175 * config/arm/uclinux-telf.h: New file.
10176 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
10177 thumb-*-uclinux): New targets.
10178 * configure: Regenerate.
10180 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
10182 * pa.md (post_store, pre_load): New expanders.
10183 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
10184 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
10185 need to directly generate RTL for them.
10186 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
10189 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
10191 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
10192 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
10193 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
10194 (secndary_reload_class): Make TARGET_ELF conditional compile.
10195 (print_operand_address): Similar.
10196 (output_toc): Print all values as hex.
10197 (get_issue_rate): Rearrange and add RS64A and PPC630.
10198 * rs6000.h (processor_type): Add RS64A and PPC630.
10199 (PROCESSOR_POWERPC64): New.
10200 (PROMOTE_MODE): Use word_mode.
10201 (RTX_COSTS): Add RS64A and PPC630.
10202 * rs6000.md (scheduling information): Add lmul and ldiv
10203 representing 64-bit integer multiply and divide. Add rs64a and
10204 PPC630 information.
10205 (ashldi3): Add support for "rldic" instruction.
10206 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
10208 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
10210 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
10211 instead of V8 for sparclite86x in cpu_table.
10213 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10215 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
10216 output_file_directive.
10218 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
10220 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
10221 tree for op1, not the rtl.
10223 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
10225 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
10226 to m88k_va_start, leaving only the register spill.
10227 (m88k_build_va_list): New.
10228 (m88k_va_start): New.
10229 (m88k_va_arg): New.
10230 * m88k.h (BUILD_VA_LIST_TYPE): New.
10231 (EXPAND_BUILTIN_VA_START): New.
10232 (EXPAND_BUILTIN_VA_ARG): New.
10234 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
10236 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
10237 Rename from expand_builtin_saveregs.
10238 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
10240 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
10242 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
10243 for the register spill block.
10244 (i960_build_va_list): New.
10245 (i960_va_start): New.
10246 (i960_va_arg): New.
10247 * i960.h (BUILD_VA_LIST_TYPE): New.
10248 (EXPAND_BUILTIN_VA_START): New.
10249 (EXPAND_BUILTIN_VA_ARG): New.
10250 * i960.md (store_multiple): Use change_address on individul mems.
10252 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
10254 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
10256 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
10257 (expand_builtin_va_end): Evaluate arg for side effects.
10258 * c-common.c (c_common_nodes_and_builtins): Construct a
10259 va_list_arg_type_node to handle array decomposition to pointer.
10261 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
10263 * except.c (start_dynamic_cleanup): Use force_operand on the
10266 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
10268 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
10269 * c4x.c (c4x_va_arg): New.
10271 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
10273 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
10274 has manual_pop set.
10276 1999-07-26 Nathan Sidwell <nathan@acm.org>
10278 * eh-common.h (__eh_matcher): Prototype correctly.
10280 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
10282 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
10283 (TARGET_SINGLE_PIC_BASE): Likewise.
10284 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
10286 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
10287 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
10288 (TARGET_OPTIONS): Add -mpic-register=N.
10289 (OUTPUT_INT_ADDR_CONST): New macro.
10290 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
10291 LEGITIMATE_PIC_OPERAND_P): Likewise.
10292 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
10293 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
10294 output_addr_const directly.
10295 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
10297 (thumb_pic_register, thumb_pic_register_string): Declare.
10299 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
10301 (label_mentioned_p): New function: Imported from arm.c.
10302 (legitimize_pic_address): New function: Imported from arm.c.
10303 (is_pic):New function: Imported from arm.c.
10304 (thumb_finalize_pic):New function: Imported from arm.c.
10305 (add_constant): Cope with PIC constants.
10306 (fixit): Cope with PIC constants.
10307 (output_return): Do not treat the PIC register as live if
10308 TARGET_SINGLE_PIC_BASE is true.
10309 (thumb_function_prologue): Do not treat the PIC register as live if
10310 TARGET_SINGLE_PIC_BASE is true.
10311 (thumb_expand_prologue): Do not treat the PIC register as live if
10312 TARGET_SINGLE_PIC_BASE is true.
10313 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
10314 TARGET_SINGLE_PIC_BASE is true.
10315 (thumb_print_operand): Accept '|'.
10316 (thumb_override_options): Process PIC options.
10318 * config/arm/thumb.md (movsi): Support PIC.
10319 (call_insn): Change "i" constraint to "X".
10320 (call_value_insn): Likewise.
10321 (consttable_4, consttable_8, consttable_end): Set and clear
10322 "making_const_table" as appropriate.
10323 (pic_load_addr, pic_add_dot_plus_four): New insns.
10325 * invoke.texi (Thumb Options): Fix spelling. Document new
10326 options -msingle-pic-base and -mpic-register=.
10328 1999-07-26 Andrew Haley <aph@cygnus.com>
10330 * config/m32r/initfini.c (__init): Use a full word immediate for
10331 __fini: this allows it to be placed in any memory region.
10333 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
10334 -mmodel=medium. This is OK for all memory models.
10336 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
10338 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
10339 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
10341 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
10343 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
10346 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
10348 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
10350 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
10351 (BUILD_VA_LIST_TYPE): New.
10352 (EXPAND_BUILTIN_VA_START): New.
10353 (EXPAND_BUILTIN_VA_ARG): New.
10354 * i860.c (output_delayed_branch): Disable.
10355 (output_delay_insn): Likewise.
10356 (i860_saveregs): New.
10357 (i860_build_va_list): New.
10358 (i860_va_start): New.
10359 (i860_va_arg): New.
10360 * i860.md: Disable all peepholes using output_delayed_branch.
10361 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
10363 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
10365 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
10366 (BUILD_VA_LIST_TYPE): New.
10367 (EXPAND_BUILTIN_VA_START): New.
10368 (EXPAND_BUILTIN_VA_ARG): New.
10369 * clipper.c (clipper_builtin_saveregs): Only dump registers.
10370 Return the address of the save area.
10371 (clipper_build_va_list): New.
10372 (clipper_va_start): New.
10373 (clipper_va_arg): New.
10375 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
10377 * arc.h (EXPAND_BUILTIN_VA_START): New.
10378 (EXPAND_BUILTIN_VA_ARG): New.
10379 * arc.c (arc_setup_incoming_varargs): Set alias set of
10381 (arc_va_start): New.
10384 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
10386 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
10387 (BUILD_VA_LIST_TYPE): New.
10388 (EXPAND_BUILTIN_VA_START): New.
10389 (EXPAND_BUILTIN_VA_ARG): New.
10390 * alpha.c (alpha_builtin_saveregs): Delete.
10391 (alpha_build_va_list): New.
10392 (alpha_va_start): New.
10393 (alpha_va_arg): New.
10395 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
10397 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
10399 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
10400 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
10402 * gcc.texi: More changes related to list conversion.
10403 * invoke.texi: Likewise.
10405 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
10407 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
10408 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
10409 (expand_builtin_next_arg): Accept ARGLIST not EXP.
10410 (stabilize_va_list): New function.
10411 (std_expand_builtin_va_start): New function.
10412 (expand_builtin_va_start): New function.
10413 (get_varargs_alias_set): New function.
10414 (std_expand_builtin_va_arg): New function.
10415 (expand_builtin_va_arg): New function.
10416 (expand_builtin_va_end): New function.
10417 (expand_builtin_va_copy): New function.
10418 (expand_builtin): Call them.
10419 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
10420 __builtin_{varargs_start,stdarg_start,end,copy}.
10421 (build_va_arg): New function.
10422 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
10423 (build_va_arg): Declare.
10424 * c-decl.c (ptr_type_node, va_list_type_node): New.
10425 * c-parse.gperf (__builtin_va_arg): New.
10426 * c-parse.in (VA_ARG): New token.
10427 (unary_expr): Recognize it.
10428 * expr.c (expand_expr): Expand VA_ARG_EXPR.
10429 * expr.h (std_expand_builtin_va_start): Declare.
10430 (std_expand_builtin_va_arg): Declare.
10431 (expand_builtin_va_arg): Declare.
10432 (get_varargs_alias_set): Declare.
10433 * tree.def (VA_ARG_EXPR): New.
10434 * tree.h (BUILT_IN_VARARGS_START): New.
10435 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
10436 (ptr_type_node, va_list_type_node): Declare.
10437 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
10438 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
10439 * m88k.h, m88k.c: Likewise.
10440 * mn10300.h, mn10300.c: Likewise.
10441 * pa.h, pa.c: Likewise.
10442 * rs6000.h, rs6000.c: Likewise.
10443 * sh.h, sh.c: Likewise.
10444 * sparc.h, sparc.c: Likewise.
10446 * emit-rtl.c (operand_subword): Copy alias set.
10447 (change_address): Likewise.
10449 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
10451 * pa.c (compute_frame_size): Scan all the used callee saved registers,
10452 not just the first one.
10454 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
10456 * config/arm/arm.h (TARGET_SWITCHES): Add
10457 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
10458 (TARGET_OPTIONS): Add -mpic-register=.
10459 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
10460 (arm_pic_register_string): Declare.
10461 (NEED_PLT_GOT): Delete, replace with ...
10462 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
10463 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
10464 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
10465 * config/arm/arm.c (arm_override_options): Add new option
10467 (arm_pic_register_string): New variable.
10468 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
10469 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
10470 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
10471 (output_return_instruction): Likewise.
10472 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
10473 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
10474 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
10476 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
10477 mention of -msched-prolog. Document new options -msingle-pic-base
10478 and -mpic-register=.
10480 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
10482 * haifa-sched.c (reemit_notes): Tidy.
10483 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
10486 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
10488 * explow.c (trunc_int_for_mode): New function.
10489 (plus_constant_wide): Use it.
10490 * combine.c (simplify_and_const_int): Likewise.
10491 (merge_outer_ops): Likewise.
10492 (simplify_shift_const): Likewise.
10493 * cse.c (simplify_unary_operation): Likewise.
10494 (simplify_binary_operation): Likewise.
10495 * emit-rtl.c (operand_subword): Likewise.
10496 * rtl.h: Declare it.
10498 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10500 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
10501 (use NUM_REGS instead of NUM_INTS).
10503 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10505 * builtins.c: New file.
10506 * expr.c (saveregs_value, apply_args_value): Delete definition,
10507 moved into builtins.c.
10508 (string_constant): No longer static.
10509 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
10510 apply_args_size, apply_result_size, result_vector,
10511 expand_builtin_apply_args, expand_builtin_apply,
10512 expand_builtin_return): Delete functions, moved into builtins.c.
10513 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
10514 * expr.h (saveregs_value, apply_args_value): Declare variables.
10515 (expand_builtin, string_constant): Declare functions.
10516 * Makefile.in: Update to build builtin.o.
10518 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
10520 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
10521 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
10522 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
10523 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
10525 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
10528 1999-07-21 Michael Meissner <meissner@cygnus.com>
10530 * print-rtl.c (print_rtx): Print the names of the virtual
10533 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
10535 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
10536 introduced in previous delta.
10538 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10540 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
10541 to avoid name clash.
10543 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
10545 * c-lex.c (yylex) : Correct the test for overflow when lexing
10548 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
10550 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
10551 (adjust_priority): Always call ADJUST_PRIORITY.
10552 (schedule_insn): Only put insns into the ready at cost 0.
10553 (schedule_block): Remove redundant initial sort. Give clock_var
10554 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
10556 * tm.texi (MD_SCHED_REORDER): Update docs.
10558 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
10559 * sparc.c (ultra_reorder_called_this_block): Delete.
10560 (ultrasparc_sched_init): Don't set it.
10561 (ultrasparc_sched_reorder): Don't check it.
10563 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
10565 * rs6000.h (struct rs6000_args): Add sysv_gregno.
10566 * rs6000.c (init_cumulative_args): Init sysv_gregno.
10567 (function_arg_boundary): Align DFmode.
10568 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
10569 to get fp reg and stack overflow correct.
10570 (function_arg): Likewise.
10571 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
10572 (setup_incoming_varargs): Restructure for ABI_V4; use
10573 function_arg_advance to skip final named argument.
10574 (expand_builtin_saveregs): Properly unskip the last integer arg
10575 when doing varargs. Adjust overflow location calculation.
10577 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
10578 explicitly unsigned.
10579 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
10580 (__VA_GP_REGSAVE): Similarly.
10581 (__va_longlong_p): Delete.
10582 (__va_arg_type_violation): New declaration.
10583 (va_arg): Restructure. Flag promotion errors. Align double.
10584 TFmode passed by reference.
10586 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
10587 in the HOST_BITS_PER_WIDE_INT > 32 case.
10589 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
10591 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
10593 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
10595 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
10596 * toplev.c (documented_lang_options): Add -fpreprocessed.
10597 * cpplib.h (struct cpp_buffer): Add preprocessed.
10598 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
10599 (cpp_start_read): Don't expand macros or emit an initial #line
10600 directive if -fpreprocessed.
10602 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
10604 * cpplib.h (struct cpp_buffer): Added manual_pop for
10605 better C++ tokenization.
10606 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
10607 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
10608 * c-common.c (cpp_token): Make non-static.
10610 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10612 * c-common.h: New file.
10613 * c-common.c (permanent_obstack): Delete unused declaration.
10614 (c_global_trees): New array.
10615 (c_common_nodes_and_builtins): New function; split off common code
10616 from init_decl_processing in both c-decl.c and cp/decl.c.
10617 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
10618 c_global_trees and accessor macros defined in c-common.h.
10619 Include c-common.h.
10620 * c-decl.c: Delete definitions for tree nodes that were replaced by
10622 (init_decl_processing): Build void_list_node.
10623 Call c_common_nodes_and_builtins; delete code to generate the common
10625 * objc/objc-act.c (build_module_descriptor): Rename variable
10626 void_list_node to avoid clash with c-common.h.
10628 * Makefile.in: Update dependencies.
10629 * objc/Make-lang.in: Likewise.
10631 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
10633 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
10634 (UNIQUE_SECTION_P): Likewise.
10635 (UNIQUE_SECTION): Likewise.
10637 1999-07-19 Linas Vepstas <linas@linas.org>
10639 * config/i370/README: New file.
10640 * config/i370/linux.h: New file.
10641 * config/i370/mvs.h: New file.
10642 * config/i370/oe.h: New file.
10643 * config/i370/t-linux: New file.
10644 * config/i370/t-mvs: New file.
10645 * config/i370/t-oe: New file.
10646 * config/i370/x-oe: New file.
10647 * config/i370/xm-linux.h: New file.
10648 * config/i370/xm-mvs.h: New file.
10649 * config/i370/xm-oe.h: New file.
10651 * i370.c (label_node_t): Add first_ref_page, label_addr,
10652 label_first_ref, label_last_ref members.
10653 (mvs_need_base_reload): Renamed from mvs_label_emitted.
10654 (MAX_MVS_LABEL_SIZE): Define.
10655 (MAX_LONG_LABEL_SIZE): Define.
10656 (alias_node_t, alias_anchor, alias_number): New.
10657 (mvs_function_table): Reorder for EBCDIC.
10658 (ascebc, ebcasc): Unconditionally define.
10659 (i370_branch_dest, i370_branch_length): New functions.
10660 (i370_short_branch, i370_label_scan): New functions.
10661 (mvs_get_label): Renamed from mvs_add_label. Search for
10662 an existing label before creating a new one.
10663 (mvs_add_label): New function.
10664 (mvs_get_label_page): New function.
10665 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
10666 over the entire list.
10667 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
10668 (mvs_check_page) [TARGET_ELF_ABI]: New function.
10669 (mvs_add_alias, mvs_need_alias): New functions.
10670 (mvs_get_alias, mvs_check_alias): New functions.
10671 (handle_pragma): New function.
10672 (mvs_function_check): New function.
10673 (unsigned_jump_follows_p): Search harder.
10674 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
10675 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
10676 * i370.h (TARGET_VERSION): Delete.
10677 (CPP_SPEC, CPP_PREDEFINES): Delete.
10678 (mvs_label_emitted): Delete.
10679 (TARGET_EBCDIC): Delete.
10680 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
10681 (HANDLE_PRAGMA): Define.
10682 (HARD_REGNO_NREGS): Handle complex modes.
10683 (HARD_REGNO_MODE_OK): Likewise.
10684 (CLASS_MAX_NREGS): Likewise.
10685 (RET_REG): Likewise.
10686 (EXTRA_CONSTRAINT): Define.
10687 (RETURN_IN_MEMORY): True for DImode.
10688 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
10689 (FUNCTION_PROFILER): Delete.
10690 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
10691 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
10692 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
10693 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
10694 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
10695 (ASM_FILE_START): Add "RMODE ANY".
10696 (ASM_OUTPUT_EXTERNAL): Check for aliases.
10697 (ASM_GLOBALIZE_LABEL): Likewise.
10698 (ASM_OUTPUT_LABELREF): Likewise.
10699 (ASM_OUTPUT_COMMON): Likewise.
10700 (PRINT_OPERAND): Handle 'K', 'W', default.
10701 (PRINT_OPERAND_ADDRESS): New.
10702 (Lots of defines): Add support for TARGET_ELF_ABI.
10703 * i370.md (attr length): New. Define for all patterns.
10704 (*): Lots of tweeks to assembly output and constraints.
10706 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
10708 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
10709 Disable patterns performing SImode comparisons with SImode values
10710 if TARGET_POWERPC64 and instruction does not sign-extend or does
10711 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
10712 differ for signed quantities.
10713 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
10714 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
10715 (decrement_and_branch_on_count): Add 64-bit variant.
10717 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10719 * final.c (output_asm_insn): When searching for the matching string
10720 for a given dialect, don't run past the end of the list of
10721 alternatives if there are fewer alternatives in the template than
10724 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
10726 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
10727 Removed paragraph about compression of files and size limitation,
10728 duplicated in the FAQ. Use gcc-patches for posting patches.
10729 * gcc.c (main): Updated URL with bug reporting instructions to
10730 gcc.gnu.org. Removed e-mail address.
10731 * system.h (abort): Likewise.
10733 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10735 * Makefile.in (stmp-multilib-sub): Make the files extracted
10736 from $(LIBGCC1) writable.
10738 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
10740 * config/arm/aout.h: Reformat for improved readability.
10742 * config/arm/arm.h: Reformat for improved readability.
10743 Replace uses of fprintf with asm_fprintf where appropriate.
10744 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
10745 function declaration assembler actions.
10746 (NUM_INTS): New macro: Convert from bytes to words.
10747 (NUM_REGS): New macro: Compute number of registers required to
10748 hold a quanitity of tyep MODE.
10749 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
10751 (NUM_ARG_REGS): New macro: The number of argument registers
10753 (ARG_REGISTER): New macro: Compute the register number of the Nth
10755 (LAST_ARG_REGNUM): New macro: The number of the last argument
10757 (SP_REGNUM): New macro: Register number of the stack pointer.
10758 (FP_REGNUM): New macro: Register number of the frame pointer.
10759 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
10760 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
10761 CUMULATIVE_ARGS so that it counts registers not bytes.
10763 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
10765 Replace uses of fprintf with asm_fprintf where appropriate.
10766 (output_ascii_pseudo_op): Replace with version from thumb.c
10768 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
10770 * config/arm/elf.h (CPP_PREDEFINES): Replace with
10771 SUBTARGET_CPP_SPEC.
10772 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
10773 (ASM_FILE_START): Emit ASM_APP_OFF.
10775 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
10777 * pa.c (compute_frame_size): Round frame according to
10778 STACK_BOUNDARY rather than a hardwired value.
10780 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
10782 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
10784 * configure: Rebuilt.
10786 * configure.in (hppa*-*-linux*): New configuration.
10787 * configure: Rebuilt.
10788 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
10789 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
10790 * pa/pa-linux.h: New file.
10791 * pa/t-linux: New file.
10792 * pa/xm-linux.h: New file.
10794 * pa.c (hppa_legitimize_address): Change references from SImode to
10795 either Pmode or word_mode as appropriate.
10796 (emit_move_sequence, store_reg, load_reg): Likewise.
10797 (set_reg_plus_d, hppa_expand_prologue): Likewise.
10798 (output_mul_insn): Likewise.
10799 * pa.h (PROMOTE_MODE): Likewise.
10800 (INITIALZE_TRAMPOLINE): Likewise.
10801 (Pmode): Define to word_mode.
10803 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
10804 value of 4. Allocate 8 bytes for each FP register save.
10805 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
10807 (hppa_expand_prologue): Likewise.
10808 * pa.h (PROMOTE_MODE): Likewise.
10809 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
10810 (FUNCTION_ARG_BOUNDARY): Likewise.
10812 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
10814 * pa.c (out_of_line_prologue_epilogue): Delete.
10815 (override_options): Remove -mspace related code.
10816 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
10817 (compute_frame_size): Only allocate space for register that
10818 actually need to be saved.
10819 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
10820 (TARGET_SWITCHES): Remove -mspace, -mno-space
10821 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
10822 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
10823 * pa/ee.asm, pa/ee_fp.asm: Delete.
10825 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
10827 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
10828 directive in column zero.
10830 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
10832 * m68k.c (output_function_prologue): Fix computation of save mask
10833 when generating PIC code.
10835 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
10837 * tree.c (build_type_attribute_variant): Move current_obstack restore
10838 after build_qualified_type call.
10840 1999-07-15 Mark Mitchell <mark@codesourcery.com>
10842 * configure.in: Use t-iris6, even with GNU LD.
10843 * config/mips/iris6gld.h: Fix typo in linker spec.
10844 * config/mips/t-iris6gld: Remove.
10846 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
10848 * rs6000.md (insv, extzv): Remove SImode dependence in named
10849 patterns. Explicitly generate DImode RTL if PowerPC64 and
10851 (insvdi): Reverse start and size in instruction template.
10853 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
10855 * invoke.texi: Typo fixes.
10857 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
10859 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
10860 handle at this time instead of silently generating incorrect code.
10861 (gen_imagpart): Likewise.
10863 * reload.c (find_reloads): Emit a USE for a pseudo register without
10864 a hard register if we could not create an optional reload for the
10867 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10869 * c-typeck.c (output_init_element, process_init_element):
10870 When advancing constructor_unfilled_fields for a RECORD_TYPE,
10871 check for nameless bit fields.
10873 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
10875 * regclass.c (scan_one_insn): Notice subregs that change the
10876 size of their operand.
10877 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
10879 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
10881 * configure.in (alpha*-*-*): Include alpha/t-ieee.
10882 * configure: Rebuilt.
10883 * alpha/t-ieee: New file.
10885 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
10887 * rs6000.c (find_addr_reg): Do not select r0 as an address
10890 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
10892 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
10894 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
10896 * rs6000.md (movsf): Do not force easy FP constants into memory.
10898 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
10899 immed_double_const to ensure they are properly truncated then
10902 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
10904 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
10905 always unless NO_DEBUG is used. Compile this code
10907 (replace_symbols_in_block): Compile it unconditionally.
10909 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
10911 * configure.in (i?86-*-elf*): New target.
10912 * configure: Rebuilt.
10913 * i386/i386elf.h, i386/t-i386elf: New files.
10915 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
10917 * toplev.c (main): Don't complain about saying -gdwarf.
10918 (rest_of_compilation): Remove redundant code.
10920 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
10922 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
10924 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
10926 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
10927 "Li960R:", to avoid name clash.
10929 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10931 * loop.c (check_dbra_loop): When reversing a loop, delete all
10932 REG_EQUAL notes referencing the reversed biv except those which are
10933 for a giv based on it.
10935 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
10937 * version.c: Drop "gcc-" prefix from version #.
10939 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
10941 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
10942 the label if we're being verbose.
10944 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
10946 * m68k.c (output_function_prologue): Add pic register to mask
10947 if live and flag_pic.
10948 (output_function_epilogue): Likewise.
10950 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
10952 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
10953 directives in column zero.
10955 * pa/elf.h (ASM_FILE_START): Define.
10956 * pa/som.h (ASM_FILE_START): Include .level directives.
10957 * pa/hpux10.h (ASM_FILE_START): Delete.
10958 * pa/hpux11.h (ASM_FILE_START): Delete.
10960 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
10962 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10964 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
10965 when reload_out equals reload_in.
10967 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
10969 * invoke.texi (Spec Files): New node: Describe the contents of
10972 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
10974 * invoke.texi (DEC Alpha Options): Put @end table at
10975 beginning of line, to avoid confusing texi2html.
10977 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
10979 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
10980 introduced in previous delta.
10982 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10984 * reload1.c (gen_reload): When synthesizing a 3 operand add
10985 sequence, improve test for when to reload OP1 into the reload
10986 register instead of OP0.
10988 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
10990 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
10992 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
10994 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
10997 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
10999 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
11000 (va_dcl): Use __builtin_va_alist_t.
11002 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
11004 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
11005 on the permanent_obstack.
11006 * dwarfout.c (output_type): Likewise.
11008 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
11010 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
11011 Merged from c-typeck.c and cp/typeck.c.
11012 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
11013 Merged into c-common.
11015 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
11017 * c-lex.c (errorcount): Declare it.
11018 (finish_parse): Update errorcount when using CPPLIB.
11020 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
11022 * fixinc/inclhack.def(end_else_label): Double the backslash so
11023 sed gets a chance to see it.
11024 * fixinc/inclhack.sh: regen
11025 * fixinc/fixincl.x: regen
11027 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
11029 Add framework to support armv5 architecture when it becomes
11032 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
11033 (arm_arch5): New variable.
11034 (all_architectures): Add armv5 line.
11035 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
11036 -march=armv5 is specified on the command line.
11037 (arm_arch5): Export this variable.
11038 * invoke.texi: Document new string accepted by -march= switch for
11041 * config/arm/arm.h: Replace use of constant 12 as a register
11042 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
11043 * config/arm/arm.c: Replace use of constant 12 as a register
11044 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
11046 * config/arm/elf.h: Tidy up.
11047 * config/arm/coff.h: Tidy up.
11049 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
11051 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
11052 * gcc/config/mips/t-iris6gld: New file.
11053 * gcc/config/mips/iris6gld.h: Likewise.
11055 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
11057 * c-decl.c (widest_integer_literal_type_node,
11058 widest_unsigned_literal_type) : New.
11059 (init_decl_processing): Handle/use the two new types.
11060 * c-common.c (type_for_size,type_for_mode) : Same.
11061 * c-lex.c (yylex) : Same.
11062 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
11064 * c-tree.h (widest_integer_literal_type_node,
11065 widest_unsigned_literal_type) : New.
11067 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
11069 * dwarfout.c (field_byte_offset): Correctly compute the object's
11070 byte offset for the first bit of a field which crosses an alignment
11071 boundary on a !BYTES_BIG_ENDIAN target.
11073 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
11075 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
11078 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
11079 Jeff Law <law@cygnus.com>
11081 * ginclude/varargs.h (va_dcl): Use word_mode for type of
11084 * except.c: Include intl.h.
11085 (expand_eh_return): Set current_function_cannot_inline.
11086 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
11087 * function.h (struct function): Add eh_return_stub_label.
11088 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
11089 * Makefile.in (except.o): Depend on intl.h.
11091 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
11093 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
11094 same as offsettable in cases 1 and 2.
11096 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
11098 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
11099 (extlh, extwh): Likewise.
11101 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
11103 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
11105 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
11107 * configure.in: Add arm-pe and thumb-pe targets.
11108 * configure: Regenerate.
11110 * thumb.c (arm_naked_function_p): New function: Determines if
11111 a function is naked (has no gcc generated prologue/epilogue).
11112 (is_called_in_ARM_mode): Return true if the func has the
11113 interfacearm attribute.
11114 (output_return): Do not generate a return for naked functions.
11115 (thumb_function_prologue): Do not generate a prologue for
11117 (thumb_expand_prologue): Do not generate a prologue for naked
11119 (thumb_expand_epilogue): Do not generate an epilogue for naked
11121 (arm_valid_machine_decl_attribute): New function, copied from
11122 arm.c: Permit naked and interfacearm attributes.
11124 * config/arm/pe.c: New file: Support code for arm-pe target.
11125 * config/arm/pe.h: New file: Header file for arm-pe target.
11126 * config/arm/tpe.h: New file: Header file for thumb-pe target.
11127 * config/arm/t-thumb-pe: New file: Makefile fragment for
11130 1999-07-01 Mark Kettenis <kettenis@gnu.org>
11132 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
11133 -fPIC or -fpic is specified.
11135 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
11137 * expr.c (emit_block_move): Use copy_to_mode_reg for
11138 !TARGET_MEM_FUNCTIONS case too.
11140 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
11142 * configure: Rebuilt.
11143 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
11144 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
11145 definitions made redundant by dbxelf.h inclusion. Delete
11146 lots of definitions related to assembly output that are
11147 specific to the SOM object format.
11148 * pa.c (output_function_prologue): Do not emit the function's
11150 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
11151 * pa-pro.h: Deleted.
11152 * som.h: New file with SOM specific definitions.
11153 * elf.h: New file with ELF specific definitions.
11155 * elfos.h (const_section): Output a tab before assembler directives.
11156 (ctors_section, dtors_section): Likewise.
11157 (ASM_OUTPUT_SECTION_NAME): Likewise.
11159 * pa/pa1.h: Delete unused file.
11161 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
11163 * configure.in (hppa*-hp-hpux11*): New configuration.
11164 * configure: Rebuilt.
11165 * pa/pa-hpux11.h: New file.
11166 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
11169 * mips.md (leasi, leadi): New patterns.
11171 * expr.c (emit_block_move): Properly handle case where one of the
11172 block move arguments has a queued increment or decrement.
11173 (clear_storage): Similarly. Fix formatting goof.
11175 1999-06-28 "David O'Brien" <obrien@NUXI.com>
11177 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
11178 semicolon from the BSD VA_LIST replacement expression.
11180 * fixinc/inclhack.sh: regen
11181 * fixinc/fixincl.x: regen
11183 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
11184 now use the fixincl program.
11186 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
11188 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
11189 case. Also make the PIC register call_used.
11191 * m68k.h (FINALIZE_PIC): Delete.
11192 * m68k.c (finalize_pic): Delete.
11194 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
11196 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
11199 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
11201 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
11203 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
11205 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
11207 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
11209 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
11211 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
11213 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
11215 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
11217 * rs6000.c (output_toc): Always use hex values for floating-point
11218 constants. Store single-precision values in upper-half of TOC
11219 entry in 64-bit mode.
11220 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
11221 to final constraints.
11222 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
11223 (fctiwz): Improve accuracy of RTL for pattern.
11225 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
11227 * expr.c (expand_expr): Allow RTL_EXPR's through the
11228 MAX_INTEGER_COMPUTATION_MODE checks.
11230 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
11232 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
11233 such that MASK_SUPPORT_ARCH is not negative.
11235 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
11237 * loop.c (verify_dominator): Properly handle ADDR_VEC and
11238 ADDR_DIFF_VEC insns that appear inside loops.
11240 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
11241 Jeff Law <law@cygnus.com>
11243 * rs6000.md (movdf_hardfloat32): Revert previous patch.
11244 Handle LO_SUM the same as offsettable in cases 1 and 2.
11245 * rs6000.c (find_addr_reg): Revert previous patch.
11247 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
11249 * system.h (strstr): New external function declaration.
11250 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
11251 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
11252 * config.in, configure: Rebuilt.
11254 1999-06-24 Tom Tromey <tromey@cygnus.com>
11256 * gcc.c (main): Read user-specified specs files after computing
11257 additional startfile_prefixes.
11259 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
11261 Revert these two patches:
11263 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11264 * loop.c (strength_reduce): When doing biv->giv conversion, update
11265 reg note of NEXT->insn.
11267 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11268 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
11270 (recombine_givs): Set ix field after sorting.
11272 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11274 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
11275 for the parts of an UNSPEC / UNSPEC_VOLATILE.
11277 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
11279 *fixinc/inclhack.def: Add fix development commentary
11280 (read_ret_type): reactivate and add selection clause
11281 (zzz_*): tweak output file name to match what is used in hackshell.tpl
11282 *fixinc/{fixincl.x|inclhack.sh}: regen
11284 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
11286 * expr.c (expand_expr): STRIP_NOPS before checking against
11287 MAX_INTEGER_COMPUTATION_MODE
11288 (check_max_integer_computation_mode): Likewise.
11290 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
11292 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
11294 1999-06-22 Jim Wilson <wilson@cygnus.com>
11296 * expr.c (store_expr): When target is a promoted subreg, return a
11297 promoted subreg as a result.
11299 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
11301 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
11303 (dwarf2out_define): Mark unused parameters appropriately.
11304 (gen_unspecified_parameters_die): Ditto.
11305 (gen_subprogram_die): Fix signed/unsigned warnings.
11306 (gen_variable_die): Ditto.
11308 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
11310 * fixinc/inclhack.def(end_else_label): combined else_label
11311 and endif_label and fixed the sed expression.
11312 *fixinc/{fixincl.x|inclhack.sh}: regen
11314 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
11316 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
11317 'x' when handling non-offsettable addresses
11319 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
11321 * final.c (shorten_branches): Don't try to split an insn that has
11324 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
11326 * config/mips/mips.c (symbolic_expression_p): New function.
11327 (mips_select_rtx_section): Put symbolic expressions in the
11328 data section, not the read-only data section.
11330 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
11332 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
11334 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
11336 * collect2.c (main): Log frame table count.
11337 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
11338 (scan_prog_file) [COFF]: Handle frame tables.
11340 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
11341 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
11342 * alpha/elf.h: Undef them again.
11343 * alpha/vms.h: Remove their definitions.
11345 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11347 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
11348 remove the clobber of r0 and change the REG_UNUSED note to
11351 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
11353 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
11354 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
11355 fits in HOST_WIDE_INT and one uses union to access a long constant
11358 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
11360 * sparc.c (sparc_override_options): Don't allow profiling for
11361 code models other than medlow.
11362 (sparc_function_profiler): New function from old FUNCTION_PROFILER
11363 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
11364 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
11365 (sparc_block_profiler): Likewise.
11366 (sparc_function_block_profiler_exit): Likewise.
11367 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
11368 (FUNCTION_BLOCK_PROFILER): Likewise.
11369 (BLOCK_PROFILER): Likewise.
11370 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
11371 (MCOUNT_FUNCTION): New.
11372 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
11373 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
11374 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
11375 (MCOUNT_FUNCTION): New.
11376 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
11377 (BLOCK_PROFILER): Delete.
11378 (MCOUNT_FUNCTION): New.
11380 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
11382 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
11384 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
11386 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
11389 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
11392 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
11395 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
11398 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
11400 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
11403 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
11405 * i386/djgpp.h (LIB_SPEC): New.
11406 (STARTFILE_SPEC): New.
11408 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
11410 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
11412 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
11415 * system.h (WSTOPSIG): New macro.
11417 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
11419 * c-pragma.c (push_alignment): Don't ignore alignments greater than
11421 (insert_pack_attributes): Take into account member natural
11424 * i386/winnt.c (exports_head): New static variable.
11425 (i386_pe_record_exported_symbol): New function.
11426 (i386_pe_asm_file_end): Use.
11427 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
11428 symbols to be emitted at end of assembly.
11429 (ASM_DECLARE_OBJECT_NAME): Likewise.
11430 (ASM_DECLARE_FUNCTION_NAME): Likewise.
11432 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
11435 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
11437 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
11440 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
11442 * haifa-sched.c (sched_analyze_1): Use free_list instead of
11443 zapping reg_last_uses directly.
11444 (sched_analyze_2, sched_analyze_insn): Likewise.
11445 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
11447 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
11449 * rs6000.md (movdf_hardfloat32): Use worst case insn length
11450 attributes for cases 1 and 2.
11452 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
11454 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
11457 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
11459 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
11461 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
11463 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
11464 PIC_OFFSET_TABLE_REGNUM for general alloaction.
11465 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
11466 must be stacked if it is used for PIC accesses.
11467 * arm.c (use_return_insn): Handle PIC register specially.
11468 (output_return_instruction): Likewise.
11469 (output_func_{prologue,epilogue}): Likewise.
11470 (output_expand_prologue): Likewise.
11472 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
11473 (*strsi_predec): Renamed from *strqi_predec.
11474 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
11475 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
11477 * arm.c (arm_override_options): Remove warning about PIC code
11478 not being supported.
11480 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
11482 * rs6000.c (find_addr_reg): New function.
11483 * rs6000.h (find_addr_reg): Declare.
11484 (offsettable_addr_operand): Delete.
11485 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
11486 from and stores to GPRs.
11488 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
11490 * alpha.c (alpha_expand_block_move): Use get_insns rather than
11491 gen_sequence as argument to emit_no_conflict_block.
11493 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
11495 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
11496 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
11497 *fixinc/fixincl.x: regen
11498 *fixinc/inclhack.sh: regen
11500 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
11502 * added support for -mpcrel (PC relative addressing for m68k)
11503 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
11504 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
11505 * m68k.c (print_operand_address): Handle 32-bit PIC case.
11506 (comments for general_src_operand): Add some explanation
11507 about EXTRA_CONSTRAINTS.
11508 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
11509 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
11510 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
11511 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
11512 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
11513 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
11514 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
11515 if not already set.
11516 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
11517 * m68k.h (TARGET_PCREL): New target flag.
11518 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
11519 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
11520 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
11521 contains a SYMBOL_REF. Relax this constraint during reload, since
11522 we want to use the predicates, not reload's built-in concept of a
11523 valid memory address, to control what insns need reloading.
11524 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
11525 operands (essentially 'g', 'm', and 's' under normal circumstances).
11526 * m68k.c (print_operand): Cause printing of pc-relative addresses
11527 to include pc register.
11528 (print_operand_address): Ditto.
11529 (general_src_operand): Accept operands that are not only
11530 general_operands, but are also valid when used as a pc-relative
11532 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
11533 (memory_src_operand): Similar, for memory_operands.
11534 (pcrel_address): New predicate to accept the special case of a
11535 pc-relative address.
11536 * m68k.md (many patterns): Rewrite common SImode, HImode, and
11537 QImode insns to accept *_src_operand instead of *_operand where
11538 pc-relative operands can fit. For example, a pc-relative operand
11539 can be used as a memory source operand for addsi3, but not as a
11540 memory destination.
11541 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
11543 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
11545 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
11546 .thumb_set pseudo op to mark aliases of thumb functions.
11548 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
11550 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
11551 preference to ASM_OUTPUT_DEF, if it is defined.
11553 * tm.texi: Document new, optional target macro
11554 ASM_OUTPUT_DEF_FROM_DECLS.
11556 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
11558 * fixincludes: ISCNTL patch
11559 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
11560 (dgux_int_varargs): new for DG/UX
11561 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
11563 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
11565 * invoke.texi (ia32 options): Fix typo.
11567 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11569 * loop.c (strength_reduce): When doing biv->giv conversion, update
11570 reg note of NEXT->insn.
11572 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
11574 * loop.c (move_movables): Note issues with replacing REGs with
11576 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
11578 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
11580 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
11582 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
11583 the reference to `mcount' was not correct for the ELF on FreeBSD.
11585 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11587 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
11590 (recombine_givs): Set ix field after sorting.
11592 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
11594 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
11595 to safe to extract a subword out of a REG.
11597 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11599 * sh.md (mulsi3): Don't add a no-op move at the end.
11601 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11603 * cse.c (cse_insn): Don't put hard register source into tables for
11604 the last insn of a libcall.
11606 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11608 * loop.c (strength_reduce): Insert sets of derived givs at every
11609 biv increment, even if it's the only one.
11611 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
11613 * dwarfout.c (add_incomplete_type): New fn.
11614 (output_type): Call it.
11615 (retry_incomplete_types): New fn.
11616 (dwarfout_finish): Call it.
11618 From Eric Raskin <ehr@listworks.com>:
11619 (output_type): Output types for bases.
11621 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
11623 * mips.c (mips_output_conditional_branch): Add `break'
11624 between `default' label and `close braces'.
11626 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
11628 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
11629 specifications and make it realistic.
11630 (LIB_SPEC): Likewise.
11632 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
11634 * config/mips/mips.c (mips_secondary_reload_class): Check for
11635 (PLUS (SP) (REG)) and return appropriate register class.
11636 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
11637 Handle (PLUS (SP) (REG)).
11638 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
11639 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
11640 of emit_insn for tablejump.
11642 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
11644 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
11645 asm_fprintf format string by itself.
11646 (output_function_profiler): Likewise.
11648 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
11650 * combine.c (simplify_logical, case AND): Only call
11651 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
11652 or the constant is positive.
11654 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
11656 * configure.in: Fix typo in rs6000-ibm-aix4 case.
11657 * configure: Regenerate.
11659 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
11661 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
11662 require a sub-version #.
11663 * configure: Rebuilt.
11665 1999-06-14 Robert Lipe (robertlipe@usa.net)
11667 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
11669 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
11671 * c-typeck.c (process_init_element): Detect excess elements in
11672 char array initializer.
11674 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11676 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
11678 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
11680 * invoke.texi (Option Summary): Add -fpermissive flag.
11682 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
11684 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
11685 that require PIC code sequences.
11687 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
11689 * configure.in: Add new target: thumb-elf.
11690 * configure: Regenerate.
11691 * config/arm/t-thumb-elf: New file: Makefile fragment for
11693 * config/arm/telf.h: New file: Header file for thumb-elf
11696 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
11698 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
11699 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
11700 initializers is some circumstances.
11702 * fixinc/inclhack.def (endif_label): Add additional selector for
11703 more bogus stuff after #endif statements.
11704 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
11706 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
11708 * i386/cygwin.h (SET_ASM_OP): Define.
11710 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
11712 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
11714 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11716 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
11719 * sh.md (ic_invalidate_line_i): Remove second alternative.
11721 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
11723 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
11724 test for the presence of valid prototypes. Delete bypass expr.
11725 (ioctl_fix_ctrl): Correct the selection expression.
11726 (no_double_slash): Correct quoting rules
11727 *fixinc/fixincl.x: regen
11728 *fixinc/inclhack.sh: regen
11730 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
11732 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
11734 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11736 * rs6000.md (movsi_got_internal_mem): Delete.
11737 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
11738 (GOT_TOC_REGNUM): Delete.
11739 (PIC_OFFSET_TABLE_REGNUM): Define.
11740 (FINALIZE_PIC): Disable.
11741 * rs6000.c (rs6000_got_register): New code for fixed pic register.
11742 (rs6000_replace_regno): Delete.
11743 (rs6000_finalize_pic): Likewise.
11744 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
11746 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11748 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
11749 is a note; use <= for the compare; advance P while it is
11752 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
11754 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
11755 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
11757 * varasm.c (remove_from_pending_weak_list): Verify t->name
11758 is non-NULL before passing it to strcmp.
11760 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
11762 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
11763 the typed arguments are not part of a comment
11764 (ioctl_fix_ctrl): Added a purpose comment
11765 *fixinc/fixincl.x: regenerate
11766 *fixinc/inclhack.sh: regenerate
11768 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11770 * invoke.texi: Add C4x invocation docs.
11772 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11774 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
11776 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
11778 (c4x_legitimize_reload_address): New function.
11779 * config/c4x/c4x.md: Update docs.
11781 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
11783 * fixincludes: Avoid removing '.'.
11784 * fixinc/fixinc.svr4: Likewise.
11785 * fixinc/fixinc.winnt: Likewise.
11786 * fixinc/inclhack.tpl: Likewise.
11787 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
11789 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11791 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
11793 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
11795 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
11797 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
11800 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
11802 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
11803 * configure: Regenerate.
11805 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
11807 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
11810 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
11812 * fixinc/inclhack.def (avoid_bool): Also catch
11813 "typedef [unsigned] int bool".
11814 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
11816 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
11817 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
11818 * configure: Rebuilt.
11820 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
11822 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
11823 such that we can override its definitions if necessary.
11824 (CPP_SPEC): New define. Support processor specific predefines via
11826 (CC1_SPEC): New define. Support processor specific compiler
11827 options via %(cc1_cpu).
11828 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
11831 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11833 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
11834 between sed's -e flag, and the open-quote following it.
11835 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
11837 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
11838 Jeffrey A Law (law@cygnus.com)
11840 * varasm.c (assemble_start_function): Remove the function
11841 from the pending weak decls list when we define a function.
11842 (assemble_variable): Similarly for variables.
11843 (weak_finish): Ignore items on the list with a NULL name.
11844 (remove_from_ending_weak_list); New function to "remove" an item
11845 from the pending weak declarations list.
11847 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
11849 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
11851 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
11853 * c-lex.c (GETC): Redefine to call getch.
11854 (UNGETC): Redefine to call put_back.
11855 (putback_buffer): New structure type.
11856 (putback): New static structure.
11857 (getch): New function.
11858 (put_back): New function.
11859 (yylex): Replace unused bytes from bad multibyte character.
11861 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
11863 * cpplib.c (do_define): Cast `alloca' return value.
11864 (do_include, do_undef, do_pragma): Likewise.
11865 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
11867 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
11868 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
11870 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
11872 * sparc.md (abstf2): This should be an expand.
11873 (split after abstf2_notv9): Fix mode.
11874 (abstf2_hq_v9): New pattern.
11875 (abstf2_v9): Only use when no hard quad.
11876 (absdf2_v9): Fix if target is not the same as source.
11877 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
11878 Add correct output constraints.
11880 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
11882 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
11883 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
11885 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
11887 * mips.h (mips_output_conditional_branch): New function.
11888 (mips_adjust_insn_length): Likewise.
11889 (ASSEMBLER_SCRATCH_REGNUM): New macro.
11890 (ADJUST_INSN_LENGTH): Likewise.
11891 * mips.c (print_operand): Add `F' and `W' for floating-point
11892 comparison opcodes.
11893 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
11895 (mips_adjust_insn_length): New function.
11896 (mips_output_conditional_branch): New function.
11897 * mips.md (length): Adjust attribute definition to handle
11898 conditional branches. Change lengths to bytes, rather than
11899 instructions throughout. Remove length attribute from
11900 instructions whose length is four bytes, and rely on the default
11902 (dslot): Fix typo in comment.
11903 Reword conditional branch patterns to use
11904 mips_output_conditional_branch.
11906 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11908 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
11909 (LIB_SPEC): Likewise.
11910 Link with -lprof1_r for -g/-pg.
11912 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11914 * loop.c (check_dbra_loop): Fix change of Jan 19.
11916 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
11918 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
11919 (STARTFILE_SPEC): Define, override the svr4.h version.
11920 (ENDFILE_SPEC): Likewise.
11922 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
11924 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
11925 * fixinc/fixincl.x: Regenerated.
11926 * fixinc/inclhack.sh: Regenerated.
11928 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11930 * sh.c (barrier_align): Don't return early for normal branch/barrier
11931 when optimizing for SH2.
11933 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
11935 * i386/udk.h (LINK_SPEC): Correct linker search path for
11938 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11940 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
11941 (braf_label_ref_operand): Delete.
11942 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
11943 * sh.md (casesi_jump_2): Operand1 is now the inside of a
11944 label_ref, and has no predicate.
11945 The patten has a predicate to guard against invalid substitutions.
11946 (dummy_jump): Delete.
11947 (casesi): Update use of casesi_jump_2.
11949 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
11951 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
11952 *fixinc/fixincl.x: regenerate
11953 *fixinc/inclhack.sh: regenerate
11955 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
11957 * dwarf2out.c (add_incomplete_type): New fn.
11958 (gen_struct_or_union_type_die): Call it.
11959 (retry_incomplete_types): New fn.
11960 (dwarf2out_finish): Call it.
11962 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
11964 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
11965 current block starts with a CODE_LABEL and ends with a CALL and
11966 we can not find all the argument setup instructions for the CALL.
11968 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
11970 Revert this change:
11971 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
11972 something is a candidate for optimize_bit_field_compare.
11974 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11976 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
11978 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
11980 * alpha.c (override_options): Thinko in last patch.
11982 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
11983 (LIB_SPEC): Recognize -pthread.
11985 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
11987 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
11988 definition in config/arm/coff.h
11989 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
11991 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
11993 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
11994 fixes that need "file=xxx\n" prepended before invocation
11995 (start_fixer - new): starting the fixer process is complex enough
11996 to warrent its own routine. It prepends the "file=xxx\n" stuff.
11997 (process): uses the new routine; omit usage of putenv()
11998 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
11999 * fixinc/fixincl.x: regenerate
12001 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
12003 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
12004 and version #s (1.1 -> 2.96) as needed.
12005 * README.g77: Kill way out of date file in the toplevel directory.
12007 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
12009 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
12010 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
12011 * configure: Rebuilt.
12012 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
12013 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
12014 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
12015 (SWITCH_TAKES_ARG): Likewise.
12016 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
12017 * config/t-freebsd: Moved from config/i386/ so it can used for all
12020 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
12022 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
12024 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
12026 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
12027 * configure: Rebuilt.
12029 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
12031 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
12032 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
12033 * rs6000/rs6000.c (rs6000_file_start): Use putc.
12034 (rs6000_output_load_toc_table): Same.
12035 (output_prolog, output_mi_thunk): Same.
12036 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
12037 (ASM_GLOBALIZE_LABEL): Use putc.
12039 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
12041 * alpha.md (reload_*_help): New patterns and splitters.
12042 (reload_*): Use them.
12043 (mov[qh]i): Likewise.
12045 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
12047 * cccp.c (handle_directive): Handle backslash-newlines in quoted
12050 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
12052 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
12054 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
12056 * flow.c (mark_regs_live_at_end, insn_dead_p,
12057 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
12058 and HARD_FRAME_POINTER_REGNUM special treatment if reload
12059 hasn't run or the frame pointer is needed.
12060 * haifa-sched.c (attach_deaths): Likewise.
12061 * sched.c (attach_deaths): Likewise.
12063 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
12065 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
12066 calculate_can_reach_end returns nonzero.
12068 * configure.in (native gas tests): Search for an assembler in the
12069 same manner that the installed compiler will.
12070 * configure: Rebuilt.
12071 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
12073 * alias.c (find_base_term): Improve handling of addresses
12074 constructed from binary operations.
12076 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
12078 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
12080 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
12082 * function.h (cleanup_label, frame_offset): Declare.
12083 (tail_recursion_label, tail_recursion_reentry): Likewise.
12084 (arg_pointer_save_area, rtl_expr_chain): Likewise.
12085 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
12086 (tail_recursion_label, tail_recursion_reentry): Likewise.
12087 (arg_pointer_save_area, rtl_expr_chain): Likewise.
12089 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
12091 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
12093 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
12094 (MAX_OFILE_ALIGNMENT): Define.
12096 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
12098 * fixincl.c: Replace local include scheme with #includes of
12099 gansidecl.h and system.h.
12100 * procopen.c: Likewise.
12101 * server.c: Likewise.
12103 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
12105 * i386/t-dgux (EXTRA_PARTS): Add crti.o
12106 (crti.o): Add build rule and dependencies.
12107 * fixinc/fixinc.dgux: Use modified _int_varargs.h
12109 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12111 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
12112 (LIB_LINUX_SPEC): Likewise.
12113 (LIB_LINUX_SPEC): Add support for -pthread
12114 (CPP_OS_LINUX_SPEC): Likewise.
12115 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
12118 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
12120 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
12122 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
12123 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
12124 for IEEE math and CC_FCOMI.
12125 (put_jump_code): No IEEE if CC_FCOMI is set.
12127 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12129 * fold-const.c (fold_truthop): Make the field reference unsigned
12130 when converting a single bit compare.
12132 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12134 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
12136 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
12138 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
12139 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
12142 * reload.c (push_reload): Do not call remove_address_replacements
12143 when presented with identical optional reloads.
12145 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
12147 * alpha.h (MASK_FIX, TARGET_FIX): New.
12148 (MASK_*): Reorganize constants.
12149 (CPP_AM_FIX_SPEC): New.
12150 (TARGET_SWITCHES): Add FIX.
12151 (EXTRA_SPECS): Likewise.
12152 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
12153 (SECONDARY_MEMORY_NEEDED): Likewise.
12154 (REGISTER_MOVE_COST): Likewise.
12155 * alpha.c (override_options): Add FIX support. Always use
12156 ALPHA_TP_PROG for ev6.
12157 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
12158 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
12159 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
12161 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
12163 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
12164 something is a candidate for optimize_bit_field_compare.
12166 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
12168 * gcc.texi (Passes): Document branch-shortening.
12169 * invoke.texi (Debugging Options): Document the fact that `-dp'
12170 outputs length information for instructions.
12172 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
12174 * flow.c: Revert previous delta.
12176 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
12178 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
12179 FRAME_POINTER_REGNUM.
12180 (mark_set_1): Ditto.
12181 (mark_used_regs): Ditto.
12183 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
12185 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
12186 (GOT_PCREL): New macro. Define to 1 if not already defined.
12187 * arm/elf.h (GOT_PCREL): Define to 0.
12188 * arm.c (arm_finalize_pic): Take into account the setting of
12191 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
12193 * output.h (STRIP_NAME_ENCODING): Provide default definition.
12194 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
12196 * flow.c (mark_set_1): Do not record BLKmode stores as dead
12197 store elimination candidates.
12199 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
12201 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
12204 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
12206 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
12207 Add use of x-aix41-gld.
12209 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
12211 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
12212 (ASM_OUTPUT_DESTRUCTOR): Define.
12214 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
12216 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
12217 last CODE_LABEL in a loop if we have previously passed a jump
12218 to the top of the loop.
12220 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
12222 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
12223 applying Philip's patch.
12225 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
12227 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
12230 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
12232 * loop.c (strength_reduce): Grow reg_single_usage as needed.
12234 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
12236 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
12237 Also remove a useless comment.
12239 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
12241 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
12243 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
12245 * collect2.c (main): Only generate import or export file and add
12246 to link arguments if non-empty. Use xmalloc not alloca.
12247 (write_{export,import}_file): Delete.
12248 (write_aix_file): New function.
12249 (locatelib): Use xmalloc not malloc.
12250 (GCC_OK_SYMBOL): Do not check type if aix64.
12252 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
12254 Based on patch by Scott Bambrough and Pat Beirne:
12255 * config/arm/arm.c (making_const_table): New variable.
12256 * config/arm/arm.h (making_const_table): Declare.
12257 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
12259 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
12260 Keep track of when we are building the constant table.
12262 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
12264 * config/arm/arm.c (arm_override_options): Fix erroneous warning
12267 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
12269 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
12272 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
12274 * tm.texi (FUNCTION_ARG): Correct description of a stack element
12277 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
12279 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
12281 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12283 * rs6000.c (output_mi_thunk): Enable full support again.
12285 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12287 * sh.h (BRANCH_COST): Define.
12289 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
12291 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
12293 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
12295 * function.c (assign_stack_local): Align stack slot propertly.
12296 (assign_outer_stack_local): Likewise.
12298 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
12300 * expr.h (lang_expand_constant): Declare.
12301 * toplev.c (lang_expand_constant): Define it.
12302 * varasm.c (output_constant): Use it.
12304 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12306 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
12307 Change function definitions to K&R style.
12309 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
12311 * fixinc/fixincl.c: We must not ignore SIGCLD now.
12313 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
12315 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
12316 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
12317 (several places): omit static initialization
12318 (process): use single fd, since only the read fd is used
12319 * fixinc/gnu-regex.c: define 'const' away, if not supported
12320 * fixinc/procopen.c(several places): omit static initialization
12321 * fixinc/server.c: define 'volitile' away, if not supported
12323 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12325 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
12326 asm_fprintf and %L to generate the label name.
12327 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
12328 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
12330 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
12332 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
12333 insn for a conditional jump can not be found.
12335 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
12337 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
12338 on variables in specific sections other than .sbss and .sdata.
12340 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
12342 * stmt.c (expand_return): Call start_cleanup_deferral and
12343 end_cleanup_deferral around conditional code.
12345 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
12347 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
12348 filename lists. Utilizes new "krstr" AutoGen function.
12349 * fixinc/fixincl.x: Rebuilt.
12351 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
12353 * i386.c (output_float_compare): Avoid GNU-C extensions.
12355 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
12357 * version.c: Bump to distinguish mainline tree from the
12360 See ChangeLog.1 for earlier changes.